:root { color-scheme: light; --ink: #182638; --muted: #667386; --accent: #2563a6; --line: #dce3eb; --bg: #f5f7fa; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
.site-header { min-height: 76px; background: #fff; border-bottom: 1px solid var(--line); padding: 16px max(24px, calc((100vw - 1120px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; font-size: 18px; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; background: #e8f0fa; color: var(--accent); border-radius: 9px; font-size: 24px; }
nav { display: flex; gap: 24px; } nav a { color: var(--muted); font-weight: 600; font-size: 14px; }
.page { max-width: 1168px; margin: 0 auto; padding: 36px 24px 60px; }
.page-heading { margin-bottom: 28px; } h1 { font-size: 32px; line-height: 1.2; margin: 12px 0; letter-spacing: -.6px; } h2 { font-size: 19px; line-height: 1.3; margin: 0 0 14px; } p { margin: 0 0 16px; } .page-heading p { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 1.3px; font-size: 11px; font-weight: 750; color: var(--muted); } .back-link { font-size: 13px; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 20px; }
.landing-menu { display: flex; justify-content: space-between; align-items: center; gap: 24px; } .landing-menu p { margin: 0; color: var(--muted); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; align-items: start; } .form-main { min-width: 0; } .form-sidebar { position: sticky; top: 24px; } .sidebar-panel { padding: 24px; } .sidebar-panel h2 { margin-top: 8px; } .step-list { padding-left: 20px; } .step-list li { padding: 7px 0; } hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.section-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; } .section-heading h2 { margin: 0; } .step { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; background: #eaf1f9; color: var(--accent); font-weight: 700; border-radius: 50%; font-size: 13px; }
.section-description, .muted { color: var(--muted); font-size: 13px; } .required { color: #a83636; }
.field-label { display: block; font-size: 13px; font-weight: 650; margin: 18px 0 7px; }
input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):not([type="file"]), select, textarea { display: block; width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 7px; color: var(--ink); background: #fff; min-height: 43px; }
textarea { resize: vertical; } input::placeholder, textarea::placeholder { color: #8794a5; font-size: 13px; } input:disabled { background: #f5f7fa !important; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; margin: 0; }
:focus-visible { outline: 3px solid #8fb8e9; outline-offset: 3px; }
fieldset { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; } legend { font-size: 13px; font-weight: 650; margin-bottom: 10px; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .choice { display: flex; align-items: center; gap: 9px; padding: 13px 11px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 13px; } .choice:has(input:checked) { background: #f0f6fd; border-color: #6698cd; } .choice strong { display: block; font-size: 13px; } .choice small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.check-line { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; margin-top: 16px; } .check-line input { margin-top: 3px; } .check-line small { display: block; color: var(--muted); margin-top: 3px; }
.classification-group { padding-top: 18px; margin-top: 24px; border-top: 1px solid var(--line); } .classification-group legend { padding-top: 12px; font-size: 15px; }
.chips, .new-chips { display: flex; flex-wrap: wrap; gap: 7px; } .chip { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px; cursor: pointer; font-size: 13px; } .chip:has(input:checked) { background: #eaf3ff; border-color: #7ba8d6; }
.inline-add { display: flex; gap: 8px; } .inline-add .button { flex-shrink: 0; } .new-chips { margin-top: 8px; } .new-chip, .badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 9px; border-radius: 5px; background: #edf2f7; color: #42566f; font-size: 12px; } .new-chip { background: #e5f1ea; color: #276247; } .new-chip button { border: 0; background: transparent; color: inherit; cursor: pointer; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; } .field-grid > label { font-size: 13px; margin-top: 14px; } .field-grid > label input { margin-top: 6px; }
.upload-zone { display: flex; flex-direction: column; gap: 8px; padding: 24px; margin-top: 18px; border: 1px dashed #93a8c1; border-radius: 9px; background: #f8fafc; } .upload-zone strong { font-size: 14px; } .upload-zone span { color: var(--muted); font-size: 12px; } .upload-zone input { max-width: 100%; font-size: 13px; } #file-info { margin-top: 10px; }
audio { display: block; width: 100%; margin: 16px 0; }
.technical { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); } summary { cursor: pointer; font-size: 13px; font-weight: 650; } details[open] summary { margin-bottom: 16px; }
.note { padding: 12px 14px; background: #f0f5fb; color: #49617e; font-size: 13px; border-radius: 7px; margin-top: 18px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; padding: 10px 17px; min-height: 43px; border-radius: 7px; font-size: 13px; font-weight: 650; border: 1px solid transparent; cursor: pointer; text-decoration: none; } .button:hover { text-decoration: none; filter: brightness(.97); } .button:disabled { opacity: .65; cursor: wait; } .primary { background: var(--accent); color: #fff; } .secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 4px; }
.message { padding: 18px 22px; border-radius: 9px; margin-bottom: 24px; font-size: 14px; } .message ul { margin-bottom: 0; } .error { background: #fff0ee; border: 1px solid #efc5bf; color: #96392b; } .success { background: #eaf6ef; border: 1px solid #b9dbc6; color: #276247; }
.sound-list { list-style: none; margin: 0; padding: 0; } .sound-list li { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding: 14px 0; } .sound-list li a { flex: 1; font-weight: 600; }
.metadata, .classification-summary { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px 20px; font-size: 13px; } dt { color: var(--muted); } dd { margin: 0; overflow-wrap: anywhere; } dd .badge { margin: 0 4px 4px 0; } .hash { font-family: monospace; font-size: 12px; }
[hidden] { display: none !important; }
.category-levels, [data-category-levels] { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 12px; }
.category-path { margin: 16px 0 12px; padding: 10px 12px; border-radius: 7px; background: #f0f5fb; font-size: 14px; overflow-wrap: anywhere; }
.category-selected { margin: 14px 0; } .category-selected .new-chip { padding: 8px 10px; }
.category-create { margin-top: 20px; padding-top: 2px; border-top: 1px solid var(--line); }
.category-create .muted { margin-top: 10px; }
.category-feedback { margin-top: 12px; font-size: 13px; color: #42566f; }
.category-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.login-card { max-width: 430px; margin: 50px auto; padding: 34px; }
.login-card h1 { font-size: 27px; margin-top: 10px; } .login-card form .button { width: 100%; margin: 25px 0; }
@media (max-width: 850px) { .form-layout { grid-template-columns: 1fr; } .form-sidebar { display: none; } }
@media (max-width: 560px) { .site-header { padding: 14px 18px; flex-wrap: wrap; gap: 12px; } .brand { font-size: 16px; } nav { gap: 20px; } .page { padding: 24px 16px 40px; } .panel { padding: 20px; } h1 { font-size: 28px; } .choices { grid-template-columns: 1fr; } .field-grid { grid-template-columns: 1fr; } .landing-menu { align-items: flex-start; flex-direction: column; } .metadata, .classification-summary { grid-template-columns: 1fr; gap: 5px; } dd { margin-bottom: 12px; } }
