/* repeto component classes — st- prefix */

/* ── Base ── */

@font-face {
  font-display: swap;
  font-family: 'Ubuntu Mono';
  font-style: normal;
  font-weight: 400;
  src: url('/asset/font/ubuntu-mono-v19-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Ubuntu Mono';
  font-style: italic;
  font-weight: 400;
  src: url('/asset/font/ubuntu-mono-v19-latin_latin-ext-italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Ubuntu Mono';
  font-style: normal;
  font-weight: 700;
  src: url('/asset/font/ubuntu-mono-v19-latin_latin-ext-700.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Ubuntu Mono';
  font-style: italic;
  font-weight: 700;
  src: url('/asset/font/ubuntu-mono-v19-latin_latin-ext-700italic.woff2') format('woff2');
}

html body {
  font-size: 1rem;
  text-rendering: optimizeLegibility;
}

@media (min-width: 425px) {
  html body { font-size: 1.2rem; }
}

@media (min-width: 1024px) {
  html body { font-size: 1.25rem; }
}




body a {
  color: #000;
  text-decoration: none;
}

body a[href^="http"],
body a[target="_blank"] {
  color: #1d4ed8;
  text-decoration: none;
}

body p {
  margin-bottom: 1rem;
  line-height: 1.618;
}

body p a {
  color: #2563eb;
}

body h1 {
  margin-bottom: 1rem;
  font-family: 'Ubuntu Mono', monospace, sans-serif;
  color: inherit;
  font-size: 1.728rem;
  font-weight: 700;
}

body h2 {
  margin-bottom: 1rem;
  font-family: 'Ubuntu Mono', monospace, sans-serif;
  color: inherit;
  font-size: 1.44rem;
  font-weight: 700;
}

body h3, body h4 {
  margin-bottom: 1rem;
  font-family: 'Ubuntu Mono', monospace, sans-serif;
  color: inherit;
}

body pre, body code {
  margin-bottom: 1rem;
  font-family: monospace;
}

/* ── Buttons ── */

.st-btn {
  border: 1.5px solid #000;
  display: inline-block;
  padding: 0.382rem 1rem;
  text-align: center;
  white-space: nowrap;
  border-radius: 1.618rem;
  cursor: pointer;
  color: #000;
  line-height: 1;
  background-color: #fff;
  font-family: inherit;
  font-size: inherit;
}

.st-btn-default {
  background-color: #f0f0f0;
}
.st-btn-default:hover {
  background-color: #e4e4e4;
}

.st-btn-primary {
  background-color: #fff;
}
.st-btn-primary:hover {
  background-color: #f2f2f2;
}

.st-btn-accent {
  background-color: #f5f5a0;
}
.st-btn-accent:hover {
  background-color: #e9e98a;
}

.st-btn-error {
  background-color: #e07070;
  color: #fff;
}
.st-btn-error:hover {
  background-color: #d45a5a;
}

.st-btn-xs {
  padding: 0.236rem 1rem;
  font-size: 1.2rem;
}

.st-btn-sm {
  padding: 0.382rem 1rem;
  font-size: 1.44rem;
}

.st-btn.selected,
.st-btn.active {
  font-weight: bold;
  background-color: #f5f5a0;
}

/* ── Button Groups ── */

.st-btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.st-btn-group.right {
  display: flex;
  justify-content: flex-end;
}

.st-btn-group-fixed {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}

td .st-btn-group-fixed,
td .st-btn-group {
  vertical-align: middle;
}

/* ── Alerts ── */

.st-alert {
  margin-top: 0.618rem;
  margin-bottom: 1rem;
  padding: 1.618rem;
  position: relative;
  border-radius: 4px;
}

.st-alert:first-child {
  margin-top: 0;
}

.st-alert .button-close {
  padding: 0.618rem;
  position: absolute;
  top: 0.618rem;
  right: 0.618rem;
  font-size: 1.728rem;
  font-weight: bold;
  background-color: inherit;
  color: #6c757d;
  cursor: pointer;
  border: none;
}

.st-alert .button-close:hover {
  color: #000;
}

.st-alert p {
  margin-bottom: 0.618rem;
}

.st-alert-primary {
  background-color: #fff;
  border: 1px solid #d9d9d9;
}

.st-alert-error {
  background-color: #f9d4d4;
  border: 1px solid #e8b8b8;
}

.st-alert-accent {
  background-color: #fbfbe0;
  border: 1px solid #e8e8a0;
}

/* ── Callouts ── */

.st-callout {
  padding: 1.618rem 1rem;
  border: 1px solid #d4d4d4;
  border-left-width: 0.382rem;
  margin-bottom: 1rem;
}

.st-callout h4 {
  margin: 0 0 0.382rem 0;
}

.st-callout p {
  margin-bottom: 1rem;
}

.st-callout-primary {
  border-left-color: #000;
}

.st-callout-primary h4 {
  color: #000;
}

.st-callout-error {
  border-left-color: #e07070;
}

.st-callout-error h4 {
  color: #c05050;
}

.st-callout-accent {
  border-left-color: #f5f5a0;
}

/* ── Panels ── */

.st-panel {
  margin-top: 1rem;
}

.st-panel-heading {
  padding: 0;
  border: 1px solid transparent;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.st-panel-heading h3 {
  margin: 0;
  padding: 0.618rem;
  color: rgba(255, 255, 255, 0.8);
}

.st-panel-body {
  padding: 1rem 1.618rem 1.618rem 1.618rem;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

.st-panel-body p {
  margin-top: 1rem;
}

.st-panel-primary > .st-panel-heading {
  background-color: #000;
  border-color: #000;
}

.st-panel-primary .st-panel-body {
  border-color: #000;
}

.st-panel-error > .st-panel-heading {
  background-color: #e07070;
  border-color: #c05050;
}

.st-panel-error .st-panel-body {
  border-color: #c05050;
}

/* ── Labels (tags) ── */

.st-tag {
  display: inline-block;
  padding: 0.236rem 0.618rem;
  line-height: 1;
  font-size: 1.2rem;
  text-align: center;
  white-space: nowrap;
}

.st-tag-default {
  background-color: rgba(240, 240, 240, 0.3);
}

.st-tag-primary {
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid #d9d9d9;
}

.st-tag-accent {
  background-color: rgba(245, 245, 160, 0.3);
}

.st-tag-error {
  background-color: rgba(224, 112, 112, 0.3);
}

.st-tag-warning {
  background-color: rgba(224, 192, 96, 0.3);
}

.st-tag-success {
  background-color: rgba(112, 176, 112, 0.3);
}

.st-tag-xs {
  padding: 0.382rem 0.618rem;
  font-size: 1.2rem;
}

.st-tag-sm {
  padding: 0.382rem 1rem;
  font-size: 1.44rem;
}

/* ── Form ── */

.st-form-group {
  margin-top: 1.618rem;
}

.st-form-group:first-child {
  margin-top: 0;
}

.st-form-label {
  display: block;
  margin-bottom: 0.236rem;
  font-weight: 700;
}

.st-form-label.required::after {
  content: " *";
  color: #fff;
  font-size: 1.44rem;
}

.st-input,
.st-select,
.st-textarea {
  padding: 0.4rem 0.5rem;
  width: 100%;
  border: 1px solid #6c757d;
  border-radius: 6px;
  box-shadow: inset 0 1px 1px #ccc;
  transition: border-color 0.15s, box-shadow 0.15s;
  background-color: #fff;
  color: #000;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.4;
}

.st-select {
  font-size: 1.2rem;
}

.st-input:focus,
.st-select:focus,
.st-textarea:focus {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
  outline: none;
}

.st-textarea {
  resize: vertical;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.st-form-command {
  margin-top: 1.618rem;
}

/* ── Table ── */

.st-table {
  display: table;
  width: 100%;
  max-width: 100%;
  table-layout: auto;
  background-color: transparent;
  border-spacing: 0;
  border: none;
  border-collapse: collapse;
}

.st-table tr {
  border-bottom: 1px solid #ddd;
}

.st-table td,
.st-table th {
  padding: 0.5rem 0.75rem;
  border: none;
  text-align: left;
  vertical-align: middle;
}

.st-table th {
  font-weight: 700;
}

.st-table thead tr {
  border-bottom: 2px solid #000;
}

.st-table thead th {
  padding: 0.5rem 0.75rem;
  background-color: transparent;
  font-weight: 700;
}

.st-table tbody tr:hover {
  background-color: #f9f9f9;
}

.st-table td.right,
.st-table th.right {
  text-align: right;
}

.st-table td.center,
.st-table th.center {
  text-align: center;
}

.st-table caption {
  padding: 0 0 0.382rem 0;
  text-align: left;
  font-weight: bold;
  margin-top: 1.618rem;
}

/* ── Navigation ── */

.st-main-menu {
  margin-bottom: 2.618rem;
}

.st-menu-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.236rem;
  margin-bottom: 0.382rem;
}

.st-menu-row-hidden {
  display: none;
}

.st-menu-link {
  padding: 0.2rem 1rem;
  border: 1.5px solid #000;
  border-radius: 1.618rem;
  color: #000;
  cursor: pointer;
  font-size: 1.44rem;
}

.st-menu-link:hover {
  background-color: #f0f0f0;
}

.st-menu-link.active {
  background-color: #f5f5a0;
  font-weight: bold;
}

.st-profile-menu {
  margin-bottom: 1rem;
}

.st-profile-menu a {
  margin-right: 1rem;
  color: #000;
}

.st-profile-menu a:hover {
  color: #000;
}

.st-profile-menu a.active {
  font-weight: bold;
  background-color: #f5f5a0;
}

/* ── Header ── */

.st-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  background-color: #fff;
  margin-bottom: 1rem;
}

.st-site-title {
  font-family: 'Ubuntu Mono', monospace, sans-serif;
  font-size: 2.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.st-site-title a {
  color: #000;
}

.st-site-title .site-icon {
  margin-right: 0.618rem;
  font-size: 2.986rem;
}

.st-user-name {
  font-size: 1.44rem;
  color: #000;
  white-space: nowrap;
  padding-bottom: 1rem;
}

/* ── Pagination ── */

.st-pagination {
  display: block;
  margin-top: 2rem;
}

.st-pagination ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.236rem;
}

.st-pagination li button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.st-pagination li button:hover {
  background-color: #e6e6e6;
  color: #6c757d;
}

.st-pagination li.active button {
  background-color: #f5f5a0;
  font-weight: bold;
  cursor: default;
}

/* ── Footer ── */

.st-footer {
  margin-top: 3rem;
  color: #6c757d;
}

.st-footer-note {
  display: flex;
  justify-content: flex-start;
  border-top: 2px solid #b3b3b3;
  padding-top: 1.618rem;
}

.st-footer-note p {
  margin-top: 0;
  margin-bottom: 2rem;
}

/* ── Search ── */

.st-search {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.st-search input {
  padding: 0.382rem 1rem;
  border: 1.5px solid #000;
  border-radius: 1.618rem;
  width: 100%;
  max-width: 11.089rem;
  font-family: inherit;
  font-size: 1.44rem;
  line-height: 1;
}

.st-search input:focus {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
  outline: none;
}

/* ── Misc ── */

.find {
  background-color: #f5f5a0;
}


.go-to-top {
  display: none;
  position: fixed;
  bottom: 1.618rem;
  right: 1.618rem;
  font-size: 2.986rem;
  color: #000;
  opacity: 0.3;
}

.go-to-top:hover {
  opacity: 0.7;
}

.go-to-top.visible {
  display: block;
}

/* ── Memo ── */









