:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #e8edf5; background: #0b1220; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 12% 0%, #1e344b 0, transparent 32%), #0b1220; }
button, input, select { font: inherit; }
button { border: 0; border-radius: 10px; background: #41d3a2; color: #092b28; font-weight: 700; padding: 11px 16px; cursor: pointer; transition: transform .15s, background .15s; }
button:hover { background: #66e0b7; transform: translateY(-1px); }
button.secondary { background: #26394a; color: #d5e9eb; }
button.secondary:hover { background: #355065; }
button.tag { padding: 6px 9px; border-radius: 99px; background: #1d3542; color: #cdece5; font-size: .78rem; font-weight: 500; }
input, select { width: 100%; min-width: 0; color: #e8edf5; background: #111f30; border: 1px solid #35495b; border-radius: 10px; padding: 11px 12px; outline: none; }
input:focus, select:focus { border-color: #41d3a2; box-shadow: 0 0 0 3px #41d3a225; }
input[type="checkbox"] { width: auto; accent-color: #41d3a2; }
label { display: grid; gap: 7px; font-size: .86rem; color: #b7c7d4; }
label.check { display: flex; align-items: center; gap: 9px; }
h1 { margin: 4px 0 12px; font-size: clamp(1.65rem, 4vw, 2.3rem); line-height: 1.15; }
h2 { margin: 0 0 16px; font-size: 1.1rem; }
h3 { margin: 20px 0 12px; font-size: .85rem; color: #b8c9d3; }
p { line-height: 1.5; }
small, .muted { color: #90a6b6; }
.shell { max-width: 1160px; margin: auto; padding: 0 20px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 88px; border-bottom: 1px solid #27394a; }
.topbar > div:first-child { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar strong { font-size: 1.07rem; letter-spacing: -.02em; }
.topbar small { width: 100%; padding-left: 33px; margin-top: -8px; font-size: .73rem; }
.brand-mark { color: #41d3a2; font-size: 1.7rem; line-height: 1; }
.account { display: flex; align-items: center; gap: 12px; }
.notice { margin-top: 18px; border: 1px solid #2d6e59; border-radius: 12px; background: #183e35; padding: 13px 16px; }
.notice.error { border-color: #9c5252; background: #44282e; }
.login-card { width: min(100%, 440px); margin: 12vh auto; padding: 35px; border: 1px solid #324454; border-radius: 20px; background: #142131; box-shadow: 0 20px 65px #0005; }
.profile-card { max-width: 520px; }
.login-card form { display: grid; gap: 18px; margin-top: 26px; }
.eyebrow { color: #41d3a2; font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 25px 0; padding-bottom: 2px; }
.tabs button { flex: 0 0 auto; color: #b2c4d1; background: transparent; padding: 10px 17px; }
.tabs button.active { color: #092b28; background: #41d3a2; }
.panel { padding-bottom: 35px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 20px; }
.status { color: #a4b9c6; font-size: .82rem; border: 1px solid #3c5363; border-radius: 99px; padding: 7px 11px; white-space: nowrap; }
.status.online { color: #55dfb0; border-color: #287255; }
.card { border: 1px solid #304352; border-radius: 16px; background: #142131; padding: 20px; margin-bottom: 16px; }
.controls { display: flex; align-items: end; gap: 22px; }
.controls label { width: min(340px, 100%); }
.controls p { margin: 0 0 5px; color: #90a6b6; font-size: .82rem; }
.feed-items { display: grid; gap: 12px; }
.feed-card { border: 1px solid #304352; border-left: 4px solid #6b8ca3; border-radius: 12px; background: #142131; padding: 16px 20px; }
.feed-card.kind-start { border-left-color: #ff8f73; }
.feed-card.kind-end { border-left-color: #41d3a2; }
.feed-card.kind-update { border-left-color: #e8c86d; }
.feed-card p { margin: 12px 0 7px; overflow-wrap: anywhere; }
.feed-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.feed-head time { color: #90a6b6; font-size: .75rem; }
.pill { color: #d7f4e9; background: #22443d; padding: 5px 9px; border-radius: 99px; font-size: .75rem; }
.report-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 17px 0; }
.metric { display: grid; gap: 10px; }
.metric strong { font-size: 1.8rem; }
.metric span { color: #90a6b6; font-size: .81rem; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.admin-grid .card { min-width: 0; }
.stack-form { display: grid; gap: 9px; margin-bottom: 18px; }
.row-form { display: flex; gap: 7px; margin: 9px 0; }
.row-form button { white-space: nowrap; padding: 9px 12px; }
.row-form select { flex: 0 1 150px; }
.data-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #2a3c4b; }
.data-row > div { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.data-row small { font-size: .72rem; }
.data-row button { flex: 0 0 auto; font-size: .78rem; padding: 8px 10px; }
.config-block { padding: 7px 0 16px; border-top: 1px solid #2a3c4b; }
.config-block > .data-row { border: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 13px; }
.link-code { display: block; margin: 8px 0; padding: 10px; border-radius: 8px; background: #092d30; color: #6aebbf; overflow-wrap: anywhere; }
footer { border-top: 1px solid #27394a; color: #708b9c; font-size: .76rem; padding: 20px 0 30px; }
[hidden] { display: none !important; }
@media (max-width: 760px) { .admin-grid, .report-grid { grid-template-columns: 1fr; } .controls { display: grid; } .panel-heading { align-items: start; } .topbar { align-items: start; padding: 18px 0; } .account { flex-wrap: wrap; justify-content: end; } }
@media (max-width: 480px) { .shell { padding: 0 13px; } .login-card { padding: 23px; margin: 9vh auto; } .topbar small { display: none; } .row-form { flex-wrap: wrap; } .row-form button { width: 100%; } .row-form select { flex: 1 1 100%; } .card { padding: 16px; } }
