.admin-shell{max-width:1100px;margin:40px auto;padding:0 24px 80px}.admin-shell h1{font-size:clamp(36px,5vw,64px);margin:12px 0}.admin-shell p{line-height:1.65}.admin-card{background:white;border:1px solid #dbe5ed;border-radius:20px;padding:28px;margin:20px 0}.admin-shell label{display:flex;flex-direction:column;gap:8px;font-weight:600;margin:16px 0}.admin-shell input,.admin-shell textarea,.admin-shell select{font:inherit;padding:12px;border:1px solid #b8cbd9;border-radius:8px;min-width:0;width:100%;box-sizing:border-box;background:#fff;color:#172e47}.admin-shell textarea{min-height:100px;resize:vertical}.admin-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center}.admin-toolbar nav{display:flex;flex-wrap:wrap;gap:8px}.admin-toolbar button[aria-current="page"]{background:#1956a5;color:white}.admin-shell .checkbox-label{flex-direction:row;align-items:flex-start;font-weight:400}.admin-shell input[type="checkbox"]{width:20px;flex:none}.admin-shell #photo-preview{display:block;max-width:100%;max-height:300px;border-radius:12px;margin-top:20px}.review-entry,.section-editor,.audit-entry{padding:20px;background:#f5f8fb;border:1px solid #dbe5ed;border-radius:12px;margin:16px 0;overflow-wrap:anywhere}.review-entry h3{margin:0}.review-entry .actions{display:flex;gap:12px;flex-wrap:wrap}.review-entry small{display:block;line-height:1.8}.admin-shell button{cursor:pointer}.admin-shell button:disabled{opacity:.6;cursor:wait}.admin-shell .primary-button{margin-top:16px}#notice{position:sticky;top:8px;z-index:2;background:#eaf4ff;border-radius:10px;padding:12px;min-height:24px}#notice:empty{display:none}.admin-shell details{margin:20px 0}.admin-shell summary{font-size:20px;cursor:pointer;font-weight:700}.preserve-lines,.cms-text{white-space:pre-wrap}.cms-sections{display:grid;gap:18px;margin:24px 0}.cms-section,.rules-card{padding:28px;background:white;border:1px solid #dbe5ed;border-radius:16px}.rules-page{max-width:850px;margin:40px auto;padding:0 24px}.rules-page p{line-height:1.8}.cms-rules-link{display:block;margin:22px 0;font-weight:700}.admin-shell [hidden]{display:none!important}@media(max-width:600px){.admin-shell{padding:0 14px}.admin-card{padding:18px}.admin-shell .form-row{display:block}.site-header{gap:16px}}

.dashboard-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px;margin:24px 0}.dashboard-metric{border:1px solid #dbe5ed;background:#f5f8fb;padding:18px;border-radius:12px}.dashboard-metric strong{font-size:30px;display:block;color:#1956a5;margin-bottom:8px}.dashboard-table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}.dashboard-table th,.dashboard-table td{text-align:left;padding:10px;border-bottom:1px solid #dbe5ed}.dashboard-scroll{overflow:auto}.bot-setup{padding:18px;border-radius:12px;background:#fff3d5}.replay-board{display:grid;grid-template-columns:repeat(var(--replay-size),1fr);grid-template-rows:repeat(var(--replay-size),1fr);aspect-ratio:1;background:#d7e3ef;gap:1px;margin:16px 0;max-width:760px}.replay-cell{position:relative;overflow:hidden;min-width:0;min-height:0}.replay-cell span{position:absolute;inset:0;background-repeat:no-repeat}.replay-cell.replay-changed{outline:3px solid #ffcf35;outline-offset:-3px;z-index:1}.replay-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.replay-controls select{width:auto}.attempt-replay input[type=range]{padding:0;cursor:pointer}.attempt-replay{border-top:1px solid #b8cbd9;margin-top:20px;padding-top:12px}

#auth-screen{max-width:680px}#auth-screen details{border-top:1px solid #dbe5ed;padding-top:18px}#auth-screen #mfa-qr{width:220px;height:220px;max-width:100%}#auth-screen #mfa-secret,#recovery-codes{font-family:monospace}#signed-in-as{padding:12px;background:#eaf4ff;border-radius:10px}.admin-shell #auth-screen[hidden]{display:none!important}
