:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#183148;background:#f4f7f8;font-synthesis:none}
[hidden]{display:none!important}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}h1{font-size:clamp(1.7rem,2vw,2.25rem)}h2{font-size:clamp(1.35rem,1.7vw,1.8rem)}h3{font-size:1.05rem}small,.muted,.hint{color:#698092}.skip{position:absolute;left:-9999px;top:0;z-index:100;padding:12px;background:#fff}.skip:focus{left:10px}*:focus-visible{outline:3px solid #19b9c8;outline-offset:2px}
.eyebrow{font-size:.67rem;line-height:1.3;letter-spacing:.16em;font-weight:800;color:#1b8191;margin-bottom:9px}.mark{width:40px;height:40px;border:1px solid #b5cad2;border-radius:50%;display:inline-grid;place-items:center;font-family:Georgia,serif;font-size:.91rem;font-weight:700;letter-spacing:.02em}.auth-brand,.brand{display:flex;align-items:center;gap:11px;font-family:Georgia,serif;font-weight:700;letter-spacing:.055em;text-decoration:none;white-space:nowrap}.auth-brand small,.brand small{display:block;font:600 .55rem Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:.19em;margin-top:4px}
.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:26px;background:radial-gradient(circle at 15% 10%,#235a70 0,#0b2b44 37%,#071b2e 100%)}.auth-card{width:min(100%,465px);padding:clamp(28px,5vw,46px);border-radius:20px;background:#fff;box-shadow:0 32px 90px #00182755}.auth-brand{color:#0b2b44;margin-bottom:44px}.auth-card h1{font-family:Georgia,serif;font-size:2.2rem;margin-bottom:12px}.auth-card .muted{line-height:1.55;margin-bottom:27px}.auth-card form{display:grid;gap:17px}.auth-card label,.filter-row label,#custom-range label{display:grid;gap:7px;color:#314e61;font-size:.81rem;font-weight:700}.auth-card input,.filter-row input,.filter-row select,#custom-range input,.detail-form input,.detail-form select,.detail-form textarea{width:100%;border:1px solid #cad7dc;border-radius:9px;padding:12px 13px;background:#fff;color:#14334a}.auth-card input:focus,.filter-row input:focus,.filter-row select:focus{border-color:#0999a9}.primary,.small-primary{border:0;background:#09334d;color:#fff;border-radius:9px;font-weight:700;padding:12px 19px}.primary:hover,.small-primary:hover{background:#0b526b}.wide{width:100%;margin-top:6px}.text-button,.link-button{border:0;background:none;color:#16798a;font-weight:700;padding:4px;text-align:left}.text-button{margin-top:20px}.message{padding:12px 14px;border-radius:9px;background:#e7f4f6;color:#185869;margin:15px 0}.message.error{background:#fbe9e7;color:#9a352e}
.workspace{min-height:100vh;display:grid;grid-template-columns:238px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;padding:25px 17px;background:#082941;color:#edf7f8;display:flex;flex-direction:column}.sidebar .brand{margin:2px 12px 49px;font-size:.9rem}.sidebar .mark{border-color:#538199}.sidebar .side-label{font-size:.62rem;letter-spacing:.18em;color:#7694a5;font-weight:800;margin:0 14px 11px}.side-nav{display:grid;gap:5px}.side-nav button{border:0;border-radius:9px;background:transparent;color:#c0d1d8;text-align:left;padding:12px 13px;display:flex;align-items:center;gap:12px;font-weight:600}.side-nav button:hover,.side-nav button[aria-current="page"]{background:#19425a;color:white}.nav-icon{display:inline-grid;place-items:center;width:20px;font-size:1.12rem;color:#83d4d9}.side-foot{margin-top:auto;padding:19px 13px 3px;border-top:1px solid #2b5368;font-size:.76rem;line-height:1.8;color:#b5cbd5}.side-foot small{color:#8faab6}.live-dot{display:inline-block;width:7px;height:7px;background:#49c3a4;border-radius:50%;margin-right:7px}
.main-shell{min-width:0}.topbar{height:108px;padding:22px clamp(22px,3.5vw,58px);display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border-bottom:1px solid #e2e9eb}.top-title h1{margin:0;font-size:1.45rem;color:#13354e}.top-title .eyebrow{margin-bottom:3px}.top-actions{display:flex;align-items:center;gap:17px}.today{font-size:.79rem;color:#647a8a}.ghost{background:#fff;border:1px solid #cbd9de;border-radius:8px;padding:9px 13px;color:#27536a;font-weight:700}main{padding:30px clamp(22px,3.5vw,58px) 65px;max-width:1700px;margin:auto}.range-bar{display:flex;align-items:center;gap:24px;flex-wrap:wrap;background:#fff;border:1px solid #e2eaed;border-radius:13px;padding:15px 19px;margin-bottom:32px;box-shadow:0 6px 22px #12384d08}.range-copy{display:grid;gap:2px;margin-right:auto}.range-copy strong{font-size:.8rem}.range-copy small{font-size:.73rem}.range-options{display:flex;gap:3px;background:#eef3f5;padding:4px;border-radius:9px}.range-options button{border:0;background:none;color:#547081;border-radius:7px;padding:8px 12px;font-size:.78rem;font-weight:700}.range-options button.selected{background:#fff;color:#143d54;box-shadow:0 1px 5px #11364a1c}#custom-range{display:flex;align-items:end;gap:9px;flex-wrap:wrap}#custom-range label{font-size:.7rem}#custom-range input{padding:7px 9px;font-size:.75rem}#custom-range button{padding:9px 12px;font-size:.75rem}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.section-heading h2{font-family:Georgia,serif;font-size:1.8rem;font-weight:600;color:#173a53;margin:0}.section-heading>p{color:#6d8492;font-size:.82rem;margin:0 0 5px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat{background:#fff;border:1px solid #e1eaed;border-radius:13px;padding:22px;box-shadow:0 7px 24px #12384d08;min-height:140px;text-align:left}.stat.clickable{cursor:pointer}.stat.clickable:hover{border-color:#7ccad0;transform:translateY(-1px)}.stat .k{display:block;text-transform:uppercase;letter-spacing:.12em;color:#73909f;font-size:.66rem;font-weight:800;margin-bottom:13px}.stat strong{display:block;font-size:2rem;line-height:1;color:#143b53;letter-spacing:-.05em}.stat .sub{display:block;color:#77909d;font-size:.76rem;margin-top:15px}.stat.emphasis{background:#0b354f;border-color:#0b354f}.stat.emphasis .k,.stat.emphasis .sub{color:#9dc4cf}.stat.emphasis strong{color:#fff}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(290px,1fr);gap:20px}.panel{background:#fff;border:1px solid #e0e9ec;border-radius:13px;padding:23px;box-shadow:0 7px 24px #12384d07;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.panel h3{margin:0;color:#193f56}.panel-head .eyebrow{margin-bottom:4px}.panel .hint{font-size:.77rem;line-height:1.55}.empty{color:#8297a3;padding:25px 0;text-align:center;font-size:.84rem}.simple-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #edf1f2;padding:14px 0;text-align:left}.simple-row:first-child{border-top:0}.simple-row strong{display:block;font-size:.82rem;color:#274b61}.simple-row small{font-size:.72rem}.simple-row button{border:0;background:none;color:#127d8c;font-weight:700;text-align:right}.mini-stats{display:flex;gap:13px;margin-bottom:20px;flex-wrap:wrap}.mini-stat{background:#e8f2f4;color:#1a5264;border-radius:8px;padding:9px 13px;font-size:.77rem;font-weight:700}.mini-stat strong{font-size:1.08rem;margin-right:6px}
.table-panel{padding:0;overflow:hidden}.filter-row{display:flex;align-items:end;gap:12px;padding:19px;flex-wrap:wrap;border-bottom:1px solid #e9eef0}.filter-row label{font-size:.72rem}.filter-row select,.filter-row input{min-width:145px;padding:9px 11px;font-size:.78rem}.search-label{flex:1;min-width:185px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.8rem}th{text-transform:uppercase;color:#8296a0;letter-spacing:.08em;font-size:.62rem;text-align:left;font-weight:800;background:#f9fbfb}th,td{padding:14px 18px;border-bottom:1px solid #edf1f2;white-space:nowrap}tr:last-child td{border-bottom:0}td{color:#466171}td strong{color:#193d54}td button{border:0;background:none;color:#157b8a;font-weight:700}.badge{display:inline-block;padding:5px 8px;border-radius:20px;background:#eaf3f4;color:#1b6978;font-size:.69rem;font-weight:800}.badge.quote{background:#eaf0fa;color:#3d62a0}.badge.Span{background:#fbeccf}.status{display:inline-block;border-radius:20px;background:#eaf1f3;padding:5px 8px;color:#547181;font-size:.68rem;font-weight:700}.status.New{background:#dff4f1;color:#167967}.status.Spam{background:#f8e8e5;color:#a34b40}.status.Closed{background:#edf0f2;color:#6a7780}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.bar-list{display:grid;gap:13px}.bar-row{display:grid;grid-template-columns:minmax(75px,1fr) minmax(80px,2fr) 36px;gap:12px;align-items:center;font-size:.76rem}.bar-row span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-track{height:8px;background:#eaf1f2;border-radius:8px;overflow:hidden}.bar-fill{height:100%;background:linear-gradient(90deg,#0e7888,#38c0c2);border-radius:8px}.bar-row strong{text-align:right;color:#244a5e}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.settings-grid .panel p{font-size:.85rem;line-height:1.55;color:#607887}.settings-grid dl{display:grid;grid-template-columns:auto 1fr;gap:13px;font-size:.78rem}.settings-grid dt{color:#8095a0}.settings-grid dd{margin:0;text-align:right;font-weight:700;color:#294d61}.download-list{display:grid;gap:8px}.download-list a{display:block;border:1px solid #d7e5e8;border-radius:9px;padding:12px;text-decoration:none;color:#167c8a;font-size:.8rem;font-weight:700}.download-list a:hover{background:#ecf6f7}
dialog{border:0;border-radius:15px;padding:0;width:min(760px,calc(100vw - 25px));max-height:min(90vh,900px);box-shadow:0 35px 100px #00152566;color:#183a50}dialog::backdrop{background:#03182499;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:start;padding:23px 28px;border-bottom:1px solid #e4ecef}.dialog-head h2{margin:0;font-family:Georgia,serif}.icon-button{border:0;background:#edf3f5;color:#2d5365;border-radius:50%;width:31px;height:31px;font-size:1.25rem}#dialog-body{padding:25px 28px;overflow:auto;max-height:calc(90vh - 95px)}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.detail-grid>div{background:#f5f9fa;border-radius:8px;padding:11px 12px;min-width:0}.detail-grid small{display:block;color:#7d94a1;font-size:.67rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}.detail-grid strong{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.82rem}.detail-section{margin-top:27px;padding-top:18px;border-top:1px solid #e2ebed}.detail-section h3{margin-bottom:13px}.detail-form{display:grid;gap:13px}.detail-form label{display:grid;gap:6px;font-size:.76rem;font-weight:700;color:#426073}.detail-form textarea{resize:vertical;min-height:85px}.detail-form .actions{display:flex;gap:9px;flex-wrap:wrap}.history-item{padding:10px 0;border-bottom:1px solid #eef2f3;font-size:.8rem;white-space:pre-wrap;overflow-wrap:anywhere}.history-item small{display:block;color:#879ba4}.file-item{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #eef2f3;font-size:.78rem}.file-item a{color:#137f8c}.danger{border:1px solid #c27068;background:white;color:#a4433c;border-radius:8px;padding:9px 13px;font-weight:700}.danger:hover{background:#fff0ef}
@media(max-width:1050px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}}
@media(max-width:720px){.workspace{display:block}.sidebar{position:relative;height:auto;padding:12px}.sidebar .brand{margin:3px 7px 12px}.sidebar .side-label,.side-foot{display:none}.side-nav{display:flex;overflow:auto;gap:3px}.side-nav button{white-space:nowrap;font-size:.72rem;padding:9px}.nav-icon{display:none}.topbar{height:auto;padding:17px 20px}.today{display:none}main{padding:20px}.section-heading{display:block}.section-heading>p{margin-top:7px}.report-grid{grid-template-columns:1fr}.range-bar{gap:10px;padding:12px}.range-copy{width:100%}.stats-grid{gap:10px}.stat{padding:16px;min-height:118px}.stat strong{font-size:1.7rem}.dialog-head,#dialog-body{padding:20px}.detail-grid{grid-template-columns:1fr}}
@media(max-width:430px){.stats-grid{grid-template-columns:1fr 1fr}.stat .sub{font-size:.66rem}.top-title h1{font-size:1.2rem}.filter-row>*{width:100%}.filter-row input,.filter-row select{width:100%}.range-options{width:100%;justify-content:space-between}.range-options button{flex:1;padding:8px 3px}}
.brand-seal{display:block;flex:none;width:76px;height:76px;object-fit:contain}.auth-brand{font-size:1.15rem;line-height:1.15}.auth-brand small,.brand small{white-space:nowrap}.sidebar .brand{margin:2px 6px 38px;font-size:.82rem;line-height:1.15}.sidebar .brand-seal{width:54px;height:54px}.site-return{text-decoration:none}.site-return:hover{text-decoration:underline;text-underline-offset:3px}.auth-return{display:inline-block;margin-top:15px;color:#16798a;font-size:.8rem;font-weight:700}.top-actions{flex-wrap:wrap}.top-actions .site-return{white-space:nowrap}
@media(max-width:600px){.topbar{align-items:flex-start;flex-direction:column}.top-actions{width:100%;justify-content:space-between}.sidebar .brand{margin:3px 7px 12px}}
