.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: var(--control-height);
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-page);
  color: var(--color-ink);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  transition: transform var(--motion-fast) ease-out;
}
.button:hover { background: var(--color-hover); border-color: var(--color-muted); }
.button:active { transform: scale(.99); }
.button:disabled { color: var(--color-muted); background: var(--color-faint); cursor: not-allowed; transform: none; }
.button--full { width: 100%; }
.button--primary { color: var(--color-on-photo); background: var(--color-brand); border-color: var(--color-brand); }
.button--primary:hover { background: var(--color-brand-hover); border-color: var(--color-brand-hover); }
.field { margin-bottom: var(--space-5); }
.field label { display: block; margin-bottom: var(--space-2); font-size: var(--text-sm); font-weight: 600; }
.input { display: block; width: 100%; min-height: var(--control-height); border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; padding: var(--space-3) var(--space-1); background: transparent; color: var(--color-ink); font-size: var(--text-base); }
.input::placeholder { color: var(--color-muted); }
.input:hover { border-color: var(--color-muted); }
.input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 0; background: transparent; }
.input[aria-invalid="true"] { border-color: var(--color-brand); }
.select-control { position: relative; display: block; min-width: 0; }
.select-control > select.input { appearance: none; width: 100%; padding-inline-end: var(--space-10); }
.select-control::after { content: ""; position: absolute; inset-inline-end: var(--space-5); top: calc(50% - var(--space-1)); width: var(--space-2); height: var(--space-2); border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.input-wrap { position: relative; }
.input-wrap .input { padding-inline-end: var(--space-16); }
.password-toggle { display: grid; place-items: center; position: absolute; inset-inline-end: var(--space-1); top: var(--space-1); width: var(--space-12); height: var(--space-12); color: var(--color-muted); background: transparent; border: 0; border-radius: var(--space-1); }
.password-toggle:hover { color: var(--color-ink); background: var(--color-faint); }
.password-toggle[aria-pressed="true"] .eye-open, .password-toggle[aria-pressed="false"] .eye-closed { display: none; }
.field-error { font-size: var(--text-sm); color: var(--color-brand); margin-top: var(--space-2); }
.form-divider { display: flex; align-items: center; gap: var(--space-4); margin-block: var(--space-5); color: var(--color-muted); font-size: var(--text-xs); }
.form-divider::before, .form-divider::after { content: ""; height: 1px; flex: 1; background: var(--color-divider); }
.button--small { min-height: var(--tap-size); padding: var(--space-2) var(--space-4); font-size: var(--text-sm); }
.button.button--search { min-height: var(--tap-size); height: var(--tap-size); padding: var(--space-2) var(--space-4); border-radius: var(--radius-control); border-color: var(--color-brand); background: var(--color-brand); color: var(--color-on-photo); font-size: var(--text-sm); font-weight: 700; white-space: nowrap; }
.button.button--search:hover { background: var(--color-brand-hover); border-color: var(--color-brand-hover); }
.button.button--search:disabled { color: var(--color-muted); background: var(--color-faint); border-color: var(--color-border); }
.text-link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap-size); font-size: var(--text-sm); }
.text-link:hover { text-decoration: underline; text-underline-offset: var(--space-1); }
.text-link:active { opacity: .75; }
.language-control { position: relative; flex: 0 0 auto; color: var(--color-muted); z-index: 2; }
.language-control .icon { width: var(--space-4); height: var(--space-4); }
.language-trigger { display: flex; align-items: center; gap: var(--space-2); min-height: var(--tap-size); padding: var(--space-2); border-radius: var(--radius-control); color: var(--color-ink); font-size: var(--text-sm); cursor: pointer; list-style: none; white-space: nowrap; }
.language-trigger::-webkit-details-marker { display: none; }
.language-trigger:hover, .language-control[open] .language-trigger { background: var(--color-faint); }
.language-control[open] .chevron { transform: rotate(180deg); }
.language-options { position: absolute; inset-inline-end: 0; top: calc(100% + var(--space-2)); min-width: 9rem; padding: var(--space-1); border: 1px solid var(--color-border); border-radius: var(--radius-control); background: var(--color-page); color: var(--color-ink); }
.language-options a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: var(--tap-size); padding: var(--space-2) var(--space-3); border-radius: var(--space-1); font-size: var(--text-sm); white-space: nowrap; }
.language-options a:hover { background: var(--color-hover); }
.language-options a[aria-current="page"] { background: var(--color-brand-soft); color: var(--color-brand); font-weight: 600; }
.language-options a:focus-visible { outline-offset: -2px; }
.preference-actions { display: flex; align-items: center; gap: var(--space-1); }
.theme-control { position: relative; flex: 0 0 auto; z-index: 3; }
.theme-trigger { list-style: none; cursor: pointer; display: grid; place-items: center; width: var(--tap-size); height: var(--tap-size); border-radius: var(--radius-control); color: var(--color-muted); }
.theme-trigger::-webkit-details-marker { display: none; }
.theme-trigger:hover, .theme-control[open] .theme-trigger { color: var(--color-ink); background: var(--color-faint); }
.theme-control .icon { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-options { position: absolute; right: 0; top: calc(100% + var(--space-2)); min-width: 11rem; padding: var(--space-1); border: 1px solid var(--color-border); border-radius: var(--radius-control); background: var(--color-page); }
.theme-options button { display: flex; gap: var(--space-3); align-items: center; width: 100%; min-height: var(--tap-size); padding: var(--space-2) var(--space-3); background: transparent; border: 0; border-radius: var(--space-1); color: var(--color-ink); font-size: var(--text-sm); text-align: start; }
.theme-options button:hover { background: var(--color-hover); }
.theme-options button[aria-pressed="true"] { background: var(--color-brand-soft); color: var(--color-brand); font-weight: 600; }
.theme-selected { visibility: hidden; margin-left: auto; }
.theme-options button[aria-pressed="true"] .theme-selected { visibility: visible; }
.theme-options button:focus-visible { outline-offset: -2px; }
.notice { padding: var(--space-4); background: var(--color-brand-soft); border-inline-start: 3px solid var(--color-brand); border-radius: var(--space-1); font-size: var(--text-sm); line-height: 1.7; }
.notice strong { display: block; margin-bottom: var(--space-1); font-weight: 650; }
.account-note { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-control); background: var(--color-faint); }
.account-note .icon { margin-top: var(--space-1); color: var(--color-muted); }
.account-note strong { display: block; margin-bottom: var(--space-1); font-size: var(--text-sm); font-weight: 650; }
.account-note p { color: var(--color-muted); font-size: var(--text-sm); line-height: 1.7; }
.help-details { font-size: var(--text-sm); }
.help-details summary { display: flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--tap-size); cursor: pointer; list-style: none; color: var(--color-muted); }
.help-details summary::-webkit-details-marker { display: none; }
.help-details summary:hover { color: var(--color-ink); text-decoration: underline; text-underline-offset: var(--space-1); }
.help-details summary .icon { width: var(--space-4); height: var(--space-4); }
.help-details[open] summary .chevron { transform: rotate(180deg); }
.help-details .help-content { margin-top: var(--space-3); padding: var(--space-5); border: 1px solid var(--color-divider); border-radius: var(--radius-control); }
.help-content strong { display: block; margin-bottom: var(--space-1); }
.help-content p { color: var(--color-muted); line-height: 1.7; }
.help-content p + strong { margin-top: var(--space-4); }
.skip-link { position: absolute; left: var(--space-6); top: var(--space-4); z-index: 5; padding: var(--space-3) var(--space-4); background: var(--color-page); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.error-page { min-height: 100svh; display: grid; place-items: center; padding: var(--space-6); }
.error-content { width: min(100%, var(--content-width)); text-align: center; }
.error-content img { width: var(--logo-width); margin: 0 auto var(--space-12); }
.error-content h1 { margin: var(--space-4) 0; font-size: var(--text-title); letter-spacing: -.04em; line-height: 1.3; }
.error-content p { color: var(--color-muted); margin-bottom: var(--space-8); }
.error-code { color: var(--color-brand); font-size: var(--text-lg); font-weight: 650; }
.showcase { max-width: 42rem; margin: auto; padding: var(--space-6); display: grid; gap: var(--space-6); }

.list-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.list-pagination > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-1); }
.list-pagination .pagination-page { min-width: var(--tap-size); padding-inline: var(--space-2); }
.list-pagination .pagination-page[aria-current="page"] { background: var(--color-brand); border-color: var(--color-brand); color: var(--color-on-photo); font-weight: 700; }
.list-pagination .pagination-gap { padding-inline: var(--space-1); color: var(--color-muted); }
