:root {
    --ink:#10252e;
    --muted:#60747c;
    --paper:#f2f5f3;
    --card:#ffffff;
    --line:#d8e1de;
    --navy:#173a46;
    --teal:#0f8078;
    --mint:#dff2eb;
    --amber:#f3b64a;
    --shadow:0 14px 40px rgba(17,49,58,.09);
}
* { box-sizing:border-box; }
html { background:var(--paper); }
body { margin:0; color:var(--ink); background:linear-gradient(180deg,#eaf0ed 0,#f6f8f7 440px); font-family:Inter,"Segoe UI",Arial,sans-serif; }
.site-header { position:relative; overflow:hidden; color:#fff; background:var(--navy); }
.site-header::after { content:""; position:absolute; width:420px; height:420px; right:-120px; top:-260px; border:70px solid rgba(76,190,169,.16); border-radius:50%; }
.header-inner { position:relative; z-index:1; width:min(1180px,calc(100% - 40px)); margin:auto; padding:54px 0 46px; display:flex; justify-content:space-between; align-items:flex-start; gap:24px; }
.eyebrow { margin:0 0 10px; color:#91d8cb; font-size:12px; font-weight:800; letter-spacing:.16em; }
h1 { margin:0; font-family:Georgia,"Times New Roman",serif; font-size:clamp(40px,6vw,68px); font-weight:500; letter-spacing:-.035em; }
.subtitle { max-width:660px; margin:14px 0 0; color:#cad8d7; font-size:17px; line-height:1.6; }
.status-pill { display:flex; align-items:center; gap:8px; white-space:nowrap; padding:10px 14px; border:1px solid rgba(255,255,255,.22); border-radius:999px; background:rgba(255,255,255,.07); font-size:13px; }
.status-pill span { width:8px; height:8px; border-radius:50%; background:#61d19a; box-shadow:0 0 0 5px rgba(97,209,154,.13); }
.header-actions { display:flex; align-items:center; gap:10px; }
.header-actions form { margin:0; }
.logout-button { min-height:39px; padding:0 13px; color:#fff; border:1px solid rgba(255,255,255,.22); border-radius:999px; background:transparent; cursor:pointer; font-weight:700; }
.logout-button:hover { background:rgba(255,255,255,.1); }
.login-shell { min-height:100vh; width:100%; padding:32px 20px; display:grid; place-items:center; background:radial-gradient(circle at 80% 10%,rgba(31,157,142,.2),transparent 32%),var(--navy); }
.login-card { width:min(460px,100%); padding:42px; background:#fff; border-top:5px solid var(--teal); box-shadow:0 26px 70px rgba(0,0,0,.28); }
.login-mark { width:48px; height:48px; margin-bottom:28px; display:grid; place-items:center; color:#fff; background:var(--teal); font-family:Georgia,"Times New Roman",serif; font-size:19px; }
.login-card .eyebrow { color:var(--teal); }
.login-card h1 { color:var(--navy); font-size:39px; }
.login-card > p:not(.eyebrow) { color:var(--muted); line-height:1.6; }
.login-card form { margin-top:24px; }
.login-card label { display:block; margin-bottom:7px; color:var(--navy); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.login-card input[type=password] { width:100%; min-height:48px; padding:0 13px; border:1px solid #c4d1ce; border-radius:3px; font-size:18px; outline:none; }
.login-card input[type=password]:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(15,128,120,.12); }
.login-card button { width:100%; min-height:48px; margin-top:13px; color:#fff; border:0; border-radius:3px; background:var(--teal); cursor:pointer; font-weight:800; }
.login-card button:hover { background:#0c6f68; }
.login-card small { display:block; margin-top:20px; color:#74868b; text-align:center; }
.login-error { margin:16px 0; padding:11px 13px; color:#852f2f; background:#fff0f0; border-left:3px solid #c94d4d; font-size:13px; }
main { width:min(1180px,calc(100% - 40px)); margin:-1px auto 0; padding:34px 0 70px; }
.summary-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:24px; }
.summary-grid article { display:flex; flex-direction:column; gap:5px; padding:22px 24px; background:var(--card); border:1px solid var(--line); box-shadow:var(--shadow); }
.summary-grid strong { color:var(--navy); font-family:Georgia,"Times New Roman",serif; font-size:31px; font-weight:500; }
.summary-grid span { color:var(--muted); font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.toolbar { display:grid; grid-template-columns:1fr 280px; gap:14px; padding:18px; margin-bottom:20px; border:1px solid var(--line); background:rgba(255,255,255,.72); }
.toolbar label { display:flex; flex-direction:column; gap:7px; color:var(--navy); font-size:12px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.toolbar input,.toolbar select { width:100%; min-height:44px; padding:0 13px; border:1px solid #c8d4d1; border-radius:3px; color:var(--ink); background:#fff; font:500 14px/1 "Segoe UI",Arial,sans-serif; outline:none; }
.toolbar input:focus,.toolbar select:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(15,128,120,.12); }
.change-list { display:flex; flex-direction:column; gap:16px; }
.change-card { display:grid; grid-template-columns:62px 1fr; overflow:hidden; border:1px solid var(--line); background:var(--card); box-shadow:var(--shadow); }
.change-rail { display:flex; justify-content:center; padding-top:25px; color:#fff; background:var(--navy); }
.change-rail span { width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.3); border-radius:50%; font:700 12px/1 monospace; }
.change-content { padding:24px 28px 25px; }
.change-topline { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:12px; }
.change-topline > div { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.system-name { color:var(--teal); font-size:13px; font-weight:850; text-transform:uppercase; letter-spacing:.07em; }
time { color:var(--muted); font-size:13px; }
.change-type { padding:6px 10px; color:#6d4b0e; background:#fff0cf; border:1px solid #f2d490; border-radius:2px; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
h2 { margin:0 0 9px; color:var(--navy); font-family:Georgia,"Times New Roman",serif; font-size:clamp(23px,3vw,31px); font-weight:500; }
.change-summary { max-width:900px; margin:0; color:#485e66; font-size:15px; line-height:1.65; }
details { margin-top:18px; border-top:1px solid var(--line); padding-top:15px; }
summary { width:max-content; max-width:100%; color:var(--teal); cursor:pointer; font-size:13px; font-weight:800; }
details ul { margin:15px 0; padding-left:20px; color:#40565e; line-height:1.65; }
details li + li { margin-top:6px; }
.verification,.backup { margin-top:10px; padding:11px 13px; color:#365049; background:var(--mint); border-left:3px solid var(--teal); font-size:13px; line-height:1.5; }
.backup { background:#f3f5f4; border-left-color:#8ca29c; }
code { overflow-wrap:anywhere; color:#29443d; font-family:"Cascadia Mono",Consolas,monospace; }
.tag-row { display:flex; flex-wrap:wrap; gap:7px; margin-top:18px; }
.tag-row span { padding:5px 8px; color:#4f646b; background:#f0f4f2; border:1px solid #dce5e2; font-size:11px; font-weight:700; }
.empty-state { padding:38px; text-align:center; color:var(--muted); border:1px dashed #bccbc6; background:#fff; }
.hidden { display:none !important; }
footer { width:min(1180px,calc(100% - 40px)); margin:auto; padding:24px 0 34px; display:flex; justify-content:space-between; gap:20px; color:#6d7f84; border-top:1px solid var(--line); font-size:12px; text-transform:uppercase; letter-spacing:.07em; }
@media (max-width:760px) {
    .header-inner { padding:38px 0; flex-direction:column; }
    .header-actions { flex-wrap:wrap; }
    .login-card { padding:30px 24px; }
    .summary-grid { grid-template-columns:1fr; }
    .toolbar { grid-template-columns:1fr; }
    .change-card { grid-template-columns:42px 1fr; }
    .change-rail span { width:27px; height:27px; }
    .change-content { padding:20px 18px; }
    .change-topline { align-items:flex-start; }
    footer { flex-direction:column; }
}
