[hidden] { display: none !important; }
.sr-only, .trap { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.muted, .reg-secondary, .reg-date { color: var(--muted); }
.register-main { width: min(100%, 1110px); margin: auto; padding: clamp(38px, 6.4vw, 92px) 0; display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(44px, 9vw, 144px); align-items: center; }
.register-intro { min-width: 0; }
.register-title, .tool-heading { font-size: clamp(40px, 5vw, 78px); line-height: 1.06; letter-spacing: -.075em; font-weight: 450; margin: 0; }
.register-title i { font: italic 400 1.32em/.92 'Instrument Serif', Georgia, serif; color: var(--blue); letter-spacing: -.03em; }
:lang(zh-CN) .register-title, :lang(zh-CN) .tool-heading { font-size: clamp(36px, 4vw, 61px); line-height: 1.25; letter-spacing: -.065em; }
.tool-subtitle { max-width: 38ch; color: var(--muted); margin: 19px 0 0; font-size: 16px; line-height: 1.75; }
.register-art { width: min(90%, 350px); height: auto; margin: 25px 0 -8px -3%; display: block; }
.form-panel { padding: clamp(24px, 3.2vw, 46px); background: #fcfdff; border: 1px solid var(--rule); border-radius: 19px; }
.form-panel h2, .editor h2, .empty-state h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.055em; line-height: 1.4; }
.form-panel h2 { margin-bottom: 26px; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0 0 19px; }
.field label { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
.optional { font-size: 12px; font-weight: 400; color: var(--muted); padding-left: 4px; }
input, textarea, select { min-width: 0; width: 100%; min-height: 46px; color: var(--ink); background: #fff; border: 1px solid #abb5c7; border-radius: 7px; padding: 10px 12px; line-height: 1.4; font-size: 16px; }
textarea { resize: vertical; }
input::placeholder { color: #6a7588; }
.input-shell { display: flex; align-items: center; min-width: 0; border: 1px solid #abb5c7; padding-right: 12px; border-radius: 7px; background: #fff; }
.input-shell:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.input-shell input { border: none; background: transparent; flex: 1; min-height: 44px; }
.input-shell input:focus-visible { outline: none; }
.input-shell > span { color: var(--muted); font-size: 14px; }
.field-help, .privacy-note, .feedback, .empty-state p, .success-panel p { color: var(--muted); line-height: 1.65; }
.field-help { font-size: 13px; margin: 0; }
.privacy-note { font-size: 13px; margin: 23px 0; }
.primary-button, .secondary-button, .quiet-button, .close-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.3; min-height: 43px; padding: 10px 19px; }
.primary-button { color: white; background: var(--blue); }
.primary-button:hover:enabled { background: #182c9c; }
.secondary-button { color: var(--ink); border-color: var(--rule); background: #fff; }
.secondary-button:hover:enabled, .quiet-button:hover:enabled, .close-button:hover:enabled { background: #e6eafa; }
.quiet-button, .close-button { color: var(--blue); background: transparent; }
.feedback { font-size: 14px; margin: 13px 0 0; overflow-wrap: anywhere; }
.feedback:empty { display: none; }
.feedback[data-kind='error'] { color: #952531; }
.feedback[data-kind='success'] { color: #235d48; }
.success-panel { padding: 22px 0; }
.success-panel h2 { margin: 19px 0 10px; }
.success-mark { display: grid; place-items: center; width: 44px; height: 44px; background: #e3edff; color: var(--blue); border-radius: 50%; font-size: 22px; }
.text-link { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; color: var(--blue); font-weight: 550; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.admin-main { width: min(100%, 1280px); margin: 0 auto; padding: clamp(35px, 5.7vw, 85px) 0; }
.admin-main .tool-subtitle { max-width: none; }
.filters { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(144px, 210px) auto; gap: 15px; align-items: end; margin: 34px 0 24px; }
.filters .field, .form-grid .field { margin: 0; }
.filters button { border-radius: 7px; min-height: 46px; }
.reg-table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; font-size: 14px; line-height: 1.5; }
.reg-table th, .reg-table td { border-bottom: 1px solid var(--rule); padding: 15px 11px; overflow-wrap: anywhere; }
.reg-table th { padding-top: 10px; padding-bottom: 10px; color: var(--muted); font-size: 12px; }
.reg-table td:first-child, .reg-table th:first-child { padding-left: 0; }
.reg-table td:last-child, .reg-table th:last-child { padding-right: 0; text-align: right; }
.reg-table .person-cell { max-width: 260px; }
.reg-table .person-cell strong { display: block; }
.reg-secondary { font-size: 12px; }
.status-chip { padding: 4px 9px; border-radius: 100px; display: inline-flex; background: #e5e9f1; color: var(--ink); white-space: nowrap; font-size: 12px; }
.status-chip[data-status='pending'] { background: #fff0cf; color: #6d4b00; }
.status-chip[data-status='processing'] { background: #e3e8fd; color: #273c99; }
.status-chip[data-status='completed'] { background: #dceee5; color: #225842; }
.pagination { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 0; color: var(--muted); font-size: 13px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.empty-state { border-block: 1px solid var(--rule); padding: 35px 0; }
.empty-state p { margin-bottom: 0; }
.editor { width: min(570px, calc(100% - 28px)); max-height: 90svh; padding: clamp(21px, 3vw, 34px); border: 1px solid var(--rule); border-radius: 14px; color: var(--ink); background: #fcfdff; box-shadow: 0 20px 90px #17223932; }
.editor::backdrop { background: #15203d68; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; }
.close-button { width: 40px; min-height: 40px; padding: 0; font-weight: 400; font-size: 27px; }
.request-info { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 5px 16px; font-size: 13px; margin: 17px 0 22px; border-block: 1px solid var(--rule); padding: 14px 0; }
.request-info dt { color: var(--muted); }
.request-info dd { margin: 0; overflow-wrap: anywhere; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.details-form > .field-help { margin: 7px 0 16px; }
.details-form .button-row { margin-top: 15px; }
@media (max-width: 830px) {
  .register-main { gap: 30px; grid-template-columns: .84fr 1.16fr; }
  .reg-table { font-size: 13px; }
  .reg-table th, .reg-table td { padding-inline: 6px; }
}
@media (max-width: 660px) {
  .register-main { display: grid; grid-template-columns: 1fr; align-content: start; gap: 25px; width: min(100%, 480px); }
  .register-art { display: none; }
  .tool-subtitle { margin-top: 13px; }
  .register-intro .tool-subtitle { max-width: none; }
  .form-panel { border-radius: 13px; }
  .filters { display: grid; grid-template-columns: 1fr auto; }
  .filters .field:first-child { grid-column: 1 / -1; }
  .reg-table { display: block; }
  .reg-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .reg-table tbody { display: grid; gap: 14px; }
  .reg-table tr { background: #fcfdff; border: 1px solid var(--rule); padding: 16px; border-radius: 12px; display: grid; grid-template-columns: 1fr auto; }
  .reg-table td { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border: 0; padding: 4px 0; }
  .reg-table td::before { content: attr(data-label); flex-shrink: 0; color: var(--muted); font-size: 12px; }
  .reg-table td.person-cell { grid-column: 1; grid-row: 1; display: block; max-width: none; padding: 0 0 12px; }
  .reg-table td.person-cell::before, .reg-table td.edit-cell::before { display: none; }
  .reg-table td.edit-cell { grid-column: 2; grid-row: 1; align-self: start; padding: 0; }
  .edit-cell button { padding: 4px 8px; min-height: 32px; }
}
@media (max-width: 370px) { .form-panel { padding: 18px; } .form-grid { grid-template-columns: 1fr; } }
