.admin-body{background:#f3f4f6;min-height:100vh}.admin-topbar{height:78px;padding:0 clamp(20px,6vw,80px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e6e8ec}.admin-top-actions{display:flex;align-items:center;gap:20px}.admin-top-actions>a{font-size:11px;color:#536175;font-weight:700}.admin-top-actions .button{padding:9px 13px}.admin-shell{max-width:1180px;margin:0 auto;padding:48px 24px 70px}.login-panel{max-width:490px;margin:40px auto;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:38px 38px 32px;box-shadow:0 20px 60px rgba(16,35,63,.07)}.login-panel h1,.dashboard-heading h1{font-family:var(--serif);font-size:38px;color:var(--navy);line-height:1.2;margin:14px 0}.login-panel h1 em,.dashboard-heading h1 em{color:#b58b44}.login-panel>p,.dashboard-heading p{font-size:12px;color:#6d7887;line-height:1.8}.mode-notice{font-size:11px;line-height:1.7;color:#785e2f;background:#fbf5e7;border:1px solid #efe2bf;padding:12px 14px;border-radius:4px;margin:21px 0}.admin-form{display:grid;gap:9px}.admin-form label{font-size:11px;font-weight:700;color:#465367;margin-top:5px}.admin-form input,.admin-form select,.admin-form textarea{width:100%;min-width:0;border:1px solid #dfe3e8;border-radius:4px;padding:11px 12px;background:#fff;color:#263448;font:inherit;font-size:12px;outline:none}.admin-form input:focus,.admin-form select:focus,.admin-form textarea:focus{border-color:#9b7b3f;box-shadow:0 0 0 3px rgba(216,182,110,.16)}.admin-form textarea{resize:vertical;line-height:1.65}.admin-form>.button{margin-top:11px;justify-self:start}.form-error{font-size:11px;color:#b42318;line-height:1.6;margin:2px 0 0}.login-footnote{border-top:1px solid #eceef0;padding-top:18px;margin-top:23px;font-size:10px!important;color:#8993a0!important}.dashboard-panel{background:transparent}.dashboard-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:27px}.dashboard-heading h1{font-size:39px}.dashboard-heading p{margin-bottom:0}.admin-status{background:#e8f3ea;color:#397449;font-size:10px;font-weight:700;padding:8px 12px;border-radius:30px;white-space:nowrap}.dashboard-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:28px}.stat-card{background:#fff;border:1px solid #e6e8ec;border-radius:6px;padding:19px 21px;display:flex;flex-direction:column}.stat-card>span{font-size:9px;color:#9b7b42;font-weight:700;letter-spacing:.14em}.stat-card strong{font-family:var(--serif);font-size:33px;color:var(--navy);margin:3px 0}.stat-card small{font-size:10px;color:#8892a0}.admin-tabs{display:flex;gap:7px;border-bottom:1px solid #dce0e6;margin-bottom:23px}.admin-tab{border:0;background:transparent;padding:13px 17px;color:#758091;font-size:11px;font-weight:700;border-bottom:2px solid transparent}.admin-tab.active{color:var(--navy);border-color:var(--gold)}.admin-content{background:#fff;border:1px solid #e5e8ed;border-radius:6px;padding:25px}.content-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.content-heading h2{font-family:var(--serif);font-size:25px;color:var(--navy);margin:0 0 5px}.content-heading p{font-size:11px;color:#7b8694;margin:0}.content-heading .button{white-space:nowrap;padding:11px 14px}.editor-panel{border:1px solid #e5e0d3;border-radius:5px;background:#fbfaf7;padding:20px;margin-bottom:24px}.editor-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.editor-title h3{font-family:var(--serif);font-size:20px;color:var(--navy);margin:0}.subtle-button{border:0;background:transparent;color:#7a8491;font-size:11px}.editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 15px}.field-span-2{grid-column:1/-1}.field-help{display:block;color:#8b94a0;font-size:10px;line-height:1.6;margin-top:3px}.editor-actions{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.editor-actions .button{padding:11px 15px}.button-light{background:#fff;border-color:#d9dee5;color:#425067}.table-wrap{overflow:auto;border:1px solid #e7e9ed;border-radius:5px}.admin-table{width:100%;border-collapse:collapse;min-width:640px}.admin-table th{background:#f6f7f8;text-align:left;padding:12px 13px;font-size:9px;letter-spacing:.08em;color:#7e8997;text-transform:uppercase}.admin-table td{padding:13px;border-top:1px solid #eceef1;font-size:11px;color:#4e5a6a;vertical-align:middle}.admin-table td:first-child{max-width:330px;color:#20334d;font-weight:600}.status-pill{display:inline-block;padding:4px 8px;border-radius:3px;font-size:9px;font-weight:700}.status-published,.status-active{background:#e6f3e8;color:#367448}.status-draft,.status-inactive{background:#f0f1f3;color:#6d7784}.table-actions{display:flex;gap:8px}.table-actions button{border:0;background:transparent;color:#35577e;font-size:10px;font-weight:700;padding:3px}.table-actions button.delete{color:#b54740}.admin-footer-note{background:#eaf0f6;border-left:3px solid #b58b44;padding:16px 18px;margin-top:22px}.admin-footer-note strong{font-size:11px;color:#203a5a}.admin-footer-note p{font-size:10px;line-height:1.8;color:#647185;margin:5px 0 0}.admin-body .toast{font-family:var(--sans)}.result-review{text-align:left;margin:22px 0;max-height:330px;overflow:auto;border-top:1px solid #ece7dc}.result-detail{padding:14px 0;border-bottom:1px solid #ece7dc}.result-detail strong{font-size:11px;color:var(--navy)}.result-detail p{font-size:10px;line-height:1.7;margin:6px 0 0}.result-correct{color:#397449!important}.result-wrong{color:#a1433d!important}
@media(max-width:700px){.admin-topbar{height:70px;padding:0 16px}.admin-top-actions{gap:10px}.admin-top-actions>a{font-size:10px}.admin-shell{padding:25px 14px 45px}.login-panel{margin:20px auto;padding:28px 22px}.login-panel h1,.dashboard-heading h1{font-size:32px}.dashboard-heading{display:block}.admin-status{display:inline-block;margin-top:15px}.dashboard-stats{gap:8px}.stat-card{padding:13px 11px}.stat-card strong{font-size:26px}.stat-card small{font-size:9px}.admin-content{padding:16px 12px}.content-heading{align-items:flex-start;flex-direction:column}.content-heading h2{font-size:23px}.editor-panel{padding:14px 11px}.editor-grid{grid-template-columns:1fr}.field-span-2{grid-column:auto}.editor-actions{align-items:center}.admin-tabs{gap:0}.admin-tab{padding:12px 11px}.admin-table{min-width:600px}}
