/* Mirsi identity. Layout and accessible controls extend the existing dashboard. */
:root{--bg:#0d1020;--sidebar:#111426;--surface:#171b30;--surface-raised:#202640;--input:#11162a;--border:#2b324e;--text:#f0f2ff;--muted:#b1b8d1;--subtle:#939cb9;--accent:#b0a7ff;--accent-ink:#171239;--accent-soft:#2b2551;--shadow:0 8px 30px #05071824;font-family:Inter,'Segoe UI',system-ui,sans-serif}
:root[data-theme=light]{--bg:#f5f6fc;--sidebar:#fff;--surface:#fff;--surface-raised:#f0f1fb;--input:#f8f9fe;--border:#dfe3f0;--text:#20243e;--muted:#59617d;--subtle:#69728f;--accent:#5c49cc;--accent-ink:#fff;--accent-soft:#eeeafd;--shadow:0 8px 28px #35407506}
body{background-image:radial-gradient(ellipse at 80% 0%,#8170f409,transparent 50%)}
aside{padding-top:30px;background:var(--sidebar)}
.brand{gap:13px;padding:0 10px}.mirsi-logo{width:44px;height:44px;flex:none;filter:drop-shadow(0 5px 9px #5c43d32b)}.mirsi-wordmark{font-size:30px;letter-spacing:-1.3px;font-weight:750;line-height:1.1}.brand small{font-size:8px;letter-spacing:1.55px;margin-top:8px;font-weight:600}.nav-caption{margin-top:44px;font-size:9px}
aside nav{gap:6px}aside nav button{border-radius:12px;min-height:48px}aside nav button.active{box-shadow:none;background:var(--accent-soft);position:relative}aside nav button.active:after{content:'';width:5px;height:5px;border-radius:50%;background:var(--accent);margin-left:auto}aside nav button:hover:not(.active){background:var(--surface-raised);border-color:transparent}.aside-note{border-radius:16px;background:var(--surface);padding:17px 14px}.server-dot{background:#82dcb8;box-shadow:0 0 0 4px #82dcb80c}.avatar{border-radius:12px;background:var(--accent-soft);color:var(--accent)}header{height:88px;margin-bottom:26px}.header-parent{font-weight:600}.badge{border-radius:20px;background:#76dcb412;color:#85dfbf}:root[data-theme=light] .badge{background:#e7f7ef;color:#24694d}
h1{font-weight:720;letter-spacing:-1.3px}h2{letter-spacing:-.5px}.heading{margin-top:30px}.primary{background:#6956d9;color:#fff;border-color:#8170ec;box-shadow:0 4px 15px #7d66ee20}.primary:hover:not(:disabled){background:#735fdd;color:#fff}button{border-radius:11px;font-weight:600}button:disabled{filter:saturate(.3)}
.metrics{gap:14px}.metric{padding:20px 23px;border-radius:17px;background:var(--surface);box-shadow:none}.metric:before{top:22px;height:20px;width:3px}.metric span{text-transform:uppercase;font-size:9px;letter-spacing:1.2px;font-weight:650}.metric strong{font-size:24px;font-weight:650}.metric:after{content:'';position:absolute;right:18px;top:20px;width:6px;height:6px;border-radius:50%;background:var(--border)}
.mirsi-hero{position:relative;isolation:isolate;overflow:hidden;min-height:230px;border:1px solid #9383e742;border-radius:24px;background:linear-gradient(115deg,#27234c,#232641 65%,#153d40);padding:34px 36px;margin-top:8px;align-items:flex-start;color:#f4f1ff;gap:20px}.mirsi-hero:after{content:'';position:absolute;z-index:-1;width:310px;height:310px;border:1px solid #c3b7ff14;border-radius:50%;right:-60px;top:-95px;box-shadow:0 0 0 38px #b6a8ff05,0 0 0 76px #b6a8ff04}.mirsi-hero>div{z-index:1;max-width:75%}.mirsi-hero .eyebrow{color:#bcb1ff;font-size:9px}.mirsi-hero h1{font-size:clamp(27px,2.7vw,40px);margin:10px 0 12px}.mirsi-hero p:not(.eyebrow){color:#c7c7e3}.hero-logo{position:absolute;right:46px;top:78px;width:106px;height:106px;transform:rotate(-9deg);opacity:.9;filter:drop-shadow(0 16px 24px #080d2c4d)}.hero-refresh{position:absolute;top:20px;right:22px;color:#d8d3f7;border-color:#bcb2ef30;background:#16172b50;font-size:11px;min-height:36px;padding:7px 12px;z-index:2}.mirsi-shortcuts{display:flex;flex-wrap:wrap;gap:9px;margin-top:23px}.mirsi-shortcuts button{display:flex;align-items:center;gap:20px;min-height:37px;padding:8px 13px;border:1px solid #bab0f53d;background:#d0c8ff0b;color:#eae7ff;font-size:11px}.mirsi-shortcuts button:hover{background:#c8bfff20;border-color:#beb0ff}.mirsi-shortcuts span{color:#a89be8}
.overview-updated{font-size:10px;letter-spacing:.15px;margin-top:-8px}.overview-counts{gap:16px}.overview-count{border-radius:18px;position:relative;overflow:hidden;padding:23px;border-color:var(--border);box-shadow:var(--shadow)}.overview-count:before{content:'';height:3px;position:absolute;inset:0 0 auto;background:#8b7aea}.overview-count:nth-child(2):before{background:#70b9dc}.overview-count:nth-child(3):before{background:#7ccfb7}.overview-count strong{font-size:34px;font-weight:650;letter-spacing:-1px}.overview-count>span:first-child{font-weight:600}.overview-link{padding-top:12px;border-top:1px solid var(--border);width:100%;font-weight:600}.overview-panel{border-radius:18px;padding:23px}.overview-panel-heading h2{font-size:17px}.overview-resource{border-radius:15px;padding:19px 22px;transition:border-color .18s,background .18s}.overview-resource:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--border))}.overview-resource .eyebrow{font-size:9px;letter-spacing:1px}.overview-state,.pill{border-radius:20px;font-weight:600}.overview-state.good{background:#78d8b312;color:#8edec1}:root[data-theme=light] .overview-state.good{background:#e6f6ed;color:#256a49}
.card{border-radius:20px;padding:25px;box-shadow:var(--shadow)}.card h2{font-size:21px;margin-top:20px}.card>.buttons{padding-top:18px;margin-top:18px;border-top:1px solid var(--border)}.card>.buttons button{font-size:11px;min-height:38px;padding:9px 12px}.icon{background:var(--accent-soft);border:0;border-radius:14px}.note{border-radius:15px;background:var(--surface);border-color:var(--border);font-size:12px}.toolbar,.tablewrap{border-radius:16px}thead th{font-size:10px;text-transform:uppercase;letter-spacing:.8px}tbody td{padding-top:17px;padding-bottom:17px}pre{border-radius:16px;background:#080d19;color:#c5e5db;line-height:1.8;font-size:12px}
dialog{max-width:calc(100% - 32px);border-radius:22px;box-shadow:0 32px 100px #03061470}dialog::backdrop{background:#070b1bb0;backdrop-filter:blur(6px)}dialog h2{font-size:24px;letter-spacing:-.7px}dialog form>label{font-size:12px;font-weight:600}dialog input,dialog select{font-weight:400}dialog .buttons{padding-top:18px;border-top:1px solid var(--border);margin-top:24px}input,select,textarea{border-radius:11px}input:focus,select:focus,textarea:focus{box-shadow:0 0 0 3px #8974ec13}
#login{position:relative;border-radius:26px;border:1px solid var(--border);background:var(--surface);padding:42px;max-width:520px;box-shadow:var(--shadow);margin:48px auto}#login .login-logo{margin-bottom:24px;filter:drop-shadow(0 8px 18px #6550ce30)}#login h1{font-size:48px;line-height:1.08}#login .eyebrow{margin-top:0}#login form{margin-top:30px}#login .primary{width:100%;margin-top:10px}
@media(min-width:1400px){main{padding-left:52px;padding-right:52px}.mirsi-hero{min-height:245px;padding:38px 40px}.hero-logo{right:65px;width:124px;height:124px}}
@media(max-width:980px){header{height:76px}.mirsi-hero{padding:28px;min-height:224px}.hero-logo{right:27px;width:90px;height:90px;top:100px}.mirsi-hero>div{max-width:78%}.brand .mirsi-wordmark{font-size:28px}}
@media(max-width:600px){.mirsi-hero{padding:25px 21px;border-radius:20px;min-height:240px}.mirsi-hero>div{max-width:100%}.mirsi-hero h1{font-size:29px;max-width:260px;margin-top:16px}.mirsi-hero .eyebrow{font-size:8px;letter-spacing:1.3px}.mirsi-hero p:not(.eyebrow){font-size:12px;max-width:240px}.hero-logo{display:none}.hero-refresh{position:static;align-self:flex-end;margin-top:15px}.mirsi-hero{display:block}.mirsi-shortcuts{gap:7px;margin-top:20px}.mirsi-shortcuts button{padding:8px 10px;gap:8px;min-height:40px}.metric{padding:15px 17px}.metric strong{font-size:21px}.metric span{font-size:8px;letter-spacing:.7px}.overview-count{padding:20px}.overview-count strong{font-size:28px}.overview-link{margin-top:9px}.overview-panel{padding:19px}.overview-resource{padding:18px}.card{padding:21px}#login{padding:28px 23px;margin:25px auto}#login h1{font-size:39px}#login .login-logo{width:60px;height:60px}dialog{border-radius:19px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
.install-mirsi{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:14px;background:var(--accent-soft);color:var(--accent);border-color:transparent;font-size:12px}.install-instructions{margin:20px 0;padding:18px 20px;border:1px solid var(--border);border-radius:14px;background:var(--input)}.install-instructions h3{margin:12px 0;font-size:14px}.install-instructions ol{padding-left:20px;color:var(--muted);font-size:13px;line-height:1.8}.install-instructions li+li{margin-top:6px}#installMirsiDialog{width:560px}#installMirsiDialog>p{font-size:13px}#mirsiInstallNow{width:100%}
