:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #0c1420; color: #eef3f7; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 85% 0, #273d5a 0, transparent 30rem), #0c1420; }
button, input { font: inherit; }
.admin-shell { width: min(1040px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0; }
.brand { color: #f6d89b; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
h1 { margin: 10px 0 6px; font-size: clamp(28px, 5vw, 44px); }
.muted { color: #aebbc9; line-height: 1.5; }
.topline { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 32px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { background: rgba(21, 34, 52, .92); border: 1px solid rgba(227, 184, 109, .24); border-radius: 16px; padding: 24px; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.metric { font-size: 48px; font-weight: 800; color: #f6d89b; margin: 10px 0 4px; }
.component { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.1); }
.component:first-of-type { margin-top: 12px; }
.status { color: #83e2b1; font-weight: 700; white-space: nowrap; }
.button { border: 1px solid rgba(227,184,109,.55); color: #f6d89b; border-radius: 9px; background: transparent; cursor: pointer; padding: 10px 13px; }
.button:hover { background: rgba(227,184,109,.12); }
.login { width: min(440px, calc(100% - 32px)); margin: 10vh auto; }
.login label { display: grid; gap: 7px; margin: 14px 0; color: #d6dee7; }
.login input { color: #fff; border: 1px solid #52657c; background: #111e2e; padding: 12px; border-radius: 8px; }
.login .button { width: 100%; margin-top: 10px; background: #d9ae62; color: #172332; font-weight: 800; }
.error { color: #ffadad; min-height: 24px; margin: 12px 0 0; }
.notice { margin-top: 16px; font-size: 13px; color: #aebbc9; }
.themes { margin-top: 16px; }
.themes h2 { margin: 8px 0; }
.theme-header { display: flex; justify-content: space-between; gap: 18px; align-items: start; }.theme-header h2 { margin: 8px 0; }
.theme-rows { display: grid; gap: 10px; margin-top: 22px; }
.theme-row { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(350px, 2fr) auto; gap: 14px; align-items: end; padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(10,20,32,.5); }
.theme-row.selected { border-color: #e3b86d; box-shadow: 0 0 0 1px rgba(227,184,109,.28); }.theme-title { display: flex; gap: 12px; align-items: start; }.theme-title > span { font-size: 27px; }.theme-title small { display: block; color: #aebbc9; line-height: 1.35; margin-top: 3px; }
.theme-schedule { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }.theme-schedule label { display: grid; gap: 5px; color: #d6dee7; font-size: 12px; }.theme-schedule input { min-height: 38px; border: 1px solid #52657c; border-radius: 8px; background: #111e2e; color: #fff; padding: 7px; }.theme-schedule .button, .theme-activate { min-height: 38px; font-size: 12px; }
@media (max-width: 850px) { .theme-row { grid-template-columns: 1fr; }.theme-header { display: block; }.theme-header .button { margin-top: 10px; } }
@media (max-width: 650px) { .admin-shell { padding-top: 30px; }.grid { grid-template-columns: 1fr; }.topline { display: block; }.topline .button { margin-top: 16px; } }
