:root{--ink:#19334a;--muted:#64788b;--blue:#1764a6;--deep:#12395d;--line:#dfe8f1;--bg:#f7fafc;--white:#fff;--soft:#eef5fc;--warning:#b97826;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:var(--blue);text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}b,strong{font-weight:700}.shell{display:flex;min-height:100vh}
.sidebar{width:242px;background:#fff;border-right:1px solid var(--line);position:sticky;top:0;height:100vh;padding:26px 16px;display:flex;flex-direction:column;flex-shrink:0}
.logo{display:flex;align-items:center;gap:11px;color:var(--deep);margin:0 5px 49px}.logo span:last-child{display:flex;flex-direction:column;line-height:1.25;letter-spacing:.07em;font-size:17px}.logo small{font-weight:650;letter-spacing:.15em;font-size:9px;color:var(--muted);margin-top:3px}.logomark{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--deep);color:white;font-size:22px;font-weight:750}
.nav-label{font-size:10px;font-weight:760;letter-spacing:.14em;color:#8999aa;margin:0 15px 13px}.sidebar nav{display:grid;gap:5px}.nav{display:block;padding:12px 15px;border-radius:10px;color:#445b73;font-weight:580;font-size:13px}.nav:hover,.nav.on{background:var(--soft);color:#15558c}.nav.on{box-shadow:inset 3px 0 var(--blue)}
.aside-note{margin-top:auto;border-top:1px solid var(--line);padding:24px 13px 4px;font-size:11px;line-height:1.8;color:#4d6885}.aside-note span{color:#91a1af}
.main{flex:1;min-width:0;display:flex;flex-direction:column}
.top{padding:27px 40px 24px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px}
.eyebrow{color:#6887a6;font-size:10px;font-weight:770;letter-spacing:.16em}.top h1{font-size:24px;margin:5px 0 0;letter-spacing:-.045em;font-weight:740}
.topright{font-size:12px;color:#5b7084;display:flex;align-items:center;gap:12px;white-space:nowrap}.dot{width:7px;height:7px;background:#22a06b;border-radius:50%;box-shadow:0 0 0 4px #e4f5ec}
.logout{background:#f3f7fa;border:1px solid #e0e9f2;border-radius:9px;padding:9px 12px;color:#47637e;font-weight:640;font-size:12px}.logout:hover{background:#eaf1f7}
main{max-width:1500px;width:100%;margin:0 auto;padding:32px 40px 62px;flex:1}
footer{border-top:1px solid var(--line);font-size:11px;color:#8a9baa;padding:19px 40px;background:#fff;line-height:1.6}
.welcome{display:flex;justify-content:space-between;gap:30px;align-items:flex-start;margin-bottom:27px}.welcome h2{font-size:29px;letter-spacing:-.045em;margin:10px 0 6px}.welcome p{color:var(--muted);margin:0;max-width:660px;line-height:1.7;font-size:14px}.pill{color:#14629b;background:#e9f4fd;border:1px solid #d1e9fa;padding:8px 13px;border-radius:40px;font-weight:740;letter-spacing:.06em;font-size:10px;white-space:nowrap}
.card{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 4px 16px rgba(24,63,96,.026)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:19px 0 25px}.stats.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.stat{padding:22px 23px;min-height:136px}.stat-label{font-size:12px;color:#6b8398;font-weight:650}.stat-value{font-size:32px;letter-spacing:-.055em;font-weight:760;margin:14px 0 5px;overflow-wrap:anywhere}.stat-hint{font-size:11px;color:#92a0ae}
.card.info,.card.warning,.card.notice{padding:22px 26px;margin:20px 0}.info h3,.card h3{margin:0 0 14px;font-size:15px}.info h2{font-weight:690;letter-spacing:-.02em}.pairs{display:grid;grid-template-columns:minmax(170px,1fr) 2fr;row-gap:15px;column-gap:15px;align-items:center}.pairs span{color:var(--muted);font-size:12px}.pairs b{font-size:13px;overflow-wrap:anywhere}
.card p{font-size:13px;line-height:1.65;color:var(--muted)}.warning{border-left:3px solid #d8983b;background:#fffdf9}.warning b{color:#976525}.warning p{margin:10px 0 0}
.cardsplit{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.feature{padding:25px;transition:transform .15s,box-shadow .15s}.feature:hover{transform:translateY(-2px);box-shadow:0 9px 30px rgba(21,64,96,.07)}.feature b{font-size:17px}.feature p{margin-bottom:30px}.feature span{color:var(--blue);font-weight:700;font-size:12px}
.sectionhead{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin:0 0 18px}.sectionhead h2{font-size:21px;letter-spacing:-.035em;margin:0 0 7px}.sectionhead p{font-size:13px;color:var(--muted);margin:0;line-height:1.6}
.filters{padding:20px;display:flex;gap:15px;align-items:end;flex-wrap:wrap;margin:16px 0}.filters label{font-size:11px;color:#627b92;font-weight:700;display:flex;flex-direction:column;gap:7px;min-width:145px;flex:1}.filters input,.filters select{height:40px;border:1px solid #d6e2ed;background:#fff;border-radius:9px;padding:0 11px;color:var(--ink);width:100%;outline:none}.filters input:focus,.filters select:focus,.loginbox input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #dceefd}.primary,.lightbtn{border-radius:9px;padding:11px 16px;font-size:12px;font-weight:740;display:inline-block;white-space:nowrap}.primary{background:var(--deep);color:#fff;border:1px solid var(--deep)}.primary:hover{background:#18558b}.lightbtn{color:#285d8a;background:#fff;border:1px solid #d5e2ef}
.tablewrap{overflow:auto;width:100%;background:#fff;border:1px solid var(--line);border-radius:14px;margin:18px 0}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}th{padding:15px 16px;color:#536f87;background:#f3f7fa;border-bottom:1px solid var(--line);font-weight:770;font-size:11px}td{border-bottom:1px solid #edf1f5;padding:13px 16px;color:#38536b}tr:last-child td{border:0}tbody tr:hover{background:#f9fbfd}.empty{padding:40px;text-align:center;color:var(--muted)}.tablelink{font-weight:720}.small{font-size:11px;line-height:1.65}.muted{color:var(--muted)}.pager{display:flex;gap:18px;align-items:center;font-size:12px;margin:12px 0}.pager span{color:var(--muted)}.profile{padding:24px 27px;display:flex;justify-content:space-between;align-items:center;gap:30px}.profile h2{margin:10px 0;font-size:24px}.profile p{margin:0}.crumb{font-size:12px;display:inline-block;margin-bottom:13px}
.loginbody{background:linear-gradient(140deg,#eaf3fb,#f8fbfd 55%,#eef3f7);display:grid;place-items:center;min-height:100vh;padding:25px}.loginbox{width:min(440px,100%);padding:43px;background:#fff;border:1px solid #dce5ee;border-radius:23px;box-shadow:0 20px 65px rgba(24,64,91,.10)}.loginbox .logo{margin:0 0 44px}.loginbox h1{font-size:33px;letter-spacing:-.055em;line-height:1.13;margin:13px 0 12px}.loginbox>p{font-size:13px;line-height:1.75}.loginbox form{margin:29px 0;display:grid;gap:17px}.loginbox label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:680;color:#5f7690}.loginbox input{border:1px solid #d7e2eb;border-radius:10px;padding:12px 13px;outline:none}.loginbox .primary{padding:13px 16px;margin-top:6px}.loginbox .small{margin-bottom:0}
@media(max-width:1080px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:205px}.top{padding:25px 24px}main{padding:24px}.cardsplit{grid-template-columns:1fr 1fr}}
@media(max-width:730px){.shell{display:block}.sidebar{width:100%;height:auto;position:static;padding:12px 14px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .logo{margin:0 0 10px}.sidebar nav{display:flex;overflow-x:auto;gap:5px}.nav{white-space:nowrap;padding:9px 11px}.nav-label,.aside-note{display:none}.top{padding:17px 18px}.top h1{font-size:20px}.topright{font-size:0;gap:7px}.logout{font-size:11px;padding:8px}.topright .dot{display:none}main{padding:22px 15px}.welcome h2{font-size:24px}.welcome{display:block}.welcome .pill{display:inline-block;margin-top:17px}.stats{gap:10px}.stat{padding:17px;min-height:111px}.stat-value{font-size:25px}.stat-label{font-size:10px}.stat-hint{font-size:10px}.cardsplit{grid-template-columns:1fr}.filters{gap:12px}.filters label{min-width:125px}.sectionhead{display:block}.sectionhead .lightbtn{margin-top:10px}.pairs{grid-template-columns:1fr;gap:5px}footer{padding:20px 15px}.loginbox{padding:30px 24px}.profile{display:block}.profile .pill{display:inline-block;margin-top:15px}}

/* AIOTOR Office visual language: navy identity, white work surfaces, academic blue. */
:root{--ink:#182b43;--deep:#152a49;--blue:#2d75b8;--bg:#f1f4f8;--muted:#74869b;--line:#dce5ef;--soft:#eef4fa}
.sidebar{background:#fff;width:250px;padding-top:27px;box-shadow:2px 0 25px rgba(25,52,83,.016)}
.top{background:#fff;box-shadow:0 2px 18px rgba(21,42,73,.02)}
.logo{margin-left:4px;margin-right:4px;align-items:center}
.logomark{width:62px;height:44px;border-radius:10px;background:#152a49;flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:7px}
.logomark img{display:block;width:100%;height:auto;max-height:28px;object-fit:contain}
.logo span:last-child{font-size:14px;letter-spacing:.08em}
.logo small{letter-spacing:.13em;font-size:9px;color:#7991a7}
.sidebar nav{gap:6px}
.nav{font-size:13px;border-radius:9px}
.nav.on{background:#e9f2fa;box-shadow:inset 3px 0 #2d75b8}
.primary{background:#152a49;border-color:#152a49}
.primary:hover{background:#25456d}
.pill{color:#2d6594;background:#edf5fb;border-color:#d9e8f5}
.loginbody{background:#f1f4f8}
.loginbox{border-radius:19px;border-color:#dce5ef;box-shadow:0 24px 76px rgba(19,45,72,.13);max-width:440px}
.loginbox .logo{justify-content:center;margin-bottom:32px}
.loginbox .logomark{width:170px;height:45px;padding:10px;border-radius:10px}
.loginbox .logomark img{width:143px;max-height:30px}
.loginbox .logo span:last-child{display:none}
.loginbox h1{text-align:center;color:#182b43;font-size:27px;font-weight:760}
.loginbox .eyebrow{text-align:center;color:#4e7ba4}
.loginbox>p{text-align:center}
.loginbox label{color:#314760}
.card{border-color:#dce5ef}
.calendar{padding:18px 20px 22px;margin:18px 0}
.calendar-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 4px 22px}
.calendar-top strong{font-size:19px;letter-spacing:-.02em}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.calendar-head{text-align:center;background:#f3f6fa;color:#647c94;border-radius:7px;font-weight:750;font-size:11px;padding:10px 0}
.calendar-day,.calendar-blank{min-height:100px;border:1px solid #e7edf4;border-radius:9px;padding:11px 12px;background:#fff;display:flex;flex-direction:column}
.calendar-blank{background:#f9fbfd;border-style:dashed}
.calendar-day.has-events{background:#edf5fc;border-color:#cae2f5}
.calendar-day:hover{box-shadow:0 2px 14px rgba(29,90,137,.07)}
.date-num{font-size:12px;color:#668096;font-weight:720}
.day-value{font-size:22px;font-weight:760;color:#254f78;line-height:1.2;margin-top:auto}
.day-small{font-size:9px;color:#7a91a5;margin-top:3px}
.calendar-day.no-events .day-value{color:#a1afbd}
.settings-form{max-width:560px;padding:26px;display:grid;gap:17px;margin:18px 0}
.settings-form label{font-size:12px;color:#425e7a;font-weight:740;display:flex;flex-direction:column;gap:8px}
.settings-form input:not([type=checkbox]){height:44px;border:1px solid #cfdae6;background:white;border-radius:10px;padding:9px 12px;color:#182b43}
.settings-form .checkline{display:flex;flex-direction:row;align-items:center;gap:10px}
.settings-form .primary{justify-self:start}
.credential-once{overflow-wrap:anywhere;font-family:ui-monospace,monospace;background:#f3f8fc;border-radius:6px;padding:7px}
@media(max-width:840px){.sidebar{width:210px}.calendar-day,.calendar-blank{min-height:78px;padding:8px}.day-value{font-size:17px}.day-small{font-size:8px}}
@media(max-width:630px){.sidebar{width:100%}.calendar{padding:10px 7px}.calendar-grid{gap:3px}.calendar-day,.calendar-blank{min-height:60px;padding:5px;border-radius:5px}.date-num{font-size:10px}.day-value{font-size:13px}.day-small{font-size:7px}.calendar-top strong{font-size:15px}.calendar-top .lightbtn{font-size:10px;padding:8px 7px}}

/* Print-ready source-evidence reports; Office-style workbook presentation */
.report-filters{margin:18px 0 12px}
.report-filters label{min-width:145px}
.report-tools{display:flex;justify-content:space-between;margin:8px 0 19px}
.report-actions{display:flex;gap:11px;align-items:center;flex-wrap:wrap;margin:16px 0}
.report-sheet{background:white;border:1px solid #dce5ef;border-radius:15px;padding:30px 30px 18px;box-shadow:0 7px 23px rgba(24,44,69,.035);margin:17px 0}
.report-brand{font-size:13px;color:#152a49;font-weight:800;letter-spacing:.16em;border-bottom:2px solid #152a49;padding-bottom:13px}
.report-brand span{color:#7b8fa3;margin-left:10px;font-size:10px}
.report-sheet h2{font-size:23px;letter-spacing:-.04em;margin:23px 0 6px}
.report-subtitle{color:#76899e;margin:0 0 24px;font-size:12px;line-height:1.6}
.report-metrics{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0 22px}
.report-metrics>div{min-width:140px;flex:1;border:1px solid #e0e8f2;border-radius:10px;padding:14px;background:#f8fafc;display:flex;flex-direction:column;gap:4px}
.report-metrics small{color:#6d8296;font-size:10px;font-weight:700}
.report-metrics strong{font-size:21px;color:#152a49}
.report-metrics span{font-size:10px;color:#8394a5}
.report-note{border-left:3px solid #cc8b36;padding:12px 14px;background:#fffcf6;margin-bottom:22px}
.report-note b{color:#956b2a;font-size:11px}
.report-note p{font-size:11px;color:#7b6b57;line-height:1.65;margin:5px 0 0}
.report-scroll{overflow-x:auto;max-width:100%;border:1px solid #dfe6ed;border-radius:8px}
.report-table{border-collapse:separate;border-spacing:0;white-space:nowrap;table-layout:auto;font-size:11px}
.report-table th{position:sticky;top:0;background:#152a49;color:white;z-index:1;padding:11px 12px;min-width:47px;border-bottom:0}
.report-table td{border-right:1px solid #e9eef3;border-bottom:1px solid #e9eef3;padding:10px 12px;text-align:center}
.report-table td:nth-child(1),.report-table td:nth-child(2),.report-table td:nth-child(3),.report-table th:nth-child(1),.report-table th:nth-child(2),.report-table th:nth-child(3){text-align:left;position:sticky;z-index:2}
.report-table td:nth-child(1),.report-table td:nth-child(2),.report-table td:nth-child(3){background:#fff}
.report-table td:nth-child(1),.report-table th:nth-child(1){left:0}
.report-table td:nth-child(2),.report-table th:nth-child(2){left:94px}
.report-table td:nth-child(3),.report-table th:nth-child(3){left:240px}
.report-table th:nth-child(1){min-width:94px}.report-table th:nth-child(2){min-width:146px}.report-table th:nth-child(3){min-width:80px}
.report-table td.present-cell{color:#13633f;background:#e6f8ed;font-weight:800}
.report-table td.uncertain-cell{color:#a56b20;background:#fff1d6;font-weight:800}
.report-table td.unknown-cell{color:#b4bfca;background:#fbfcfd}
.report-foot{color:#8496a8;font-size:10px;line-height:1.6;margin:18px 0 0}
@media(max-width:720px){.report-sheet{padding:16px 11px}.report-sheet h2{font-size:19px}.report-table td,.report-table th{position:static!important}.report-metrics>div{min-width:100px}}
@page{size:A3 landscape;margin:12mm}
@media print{
 html,body{background:#fff!important;font:10pt Arial,sans-serif}
 .sidebar,.top,.report-filters,.report-actions,.report-tools,footer,.sectionhead,.aside-note,.report-scroll~*{display:none!important}
 .main{display:block}.shell{display:block}main{padding:0!important;margin:0;width:100%;max-width:none}
 .report-sheet{border:0!important;box-shadow:none!important;border-radius:0;padding:0;margin:0}
 .report-scroll{overflow:visible;border:0}
 .report-table{width:100%;font-size:6.2pt;white-space:normal}
 .report-table th{position:static!important;background:#152a49!important;color:#fff!important;padding:4px 3px;min-width:0!important}
 .report-table td{padding:3px 2px;position:static!important;word-break:break-word}
 .report-table .present-cell{background:#e6f8ed!important}.report-table .uncertain-cell{background:#fff1d6!important}
 .report-table thead{display:table-header-group}.report-table tr{break-inside:avoid;page-break-inside:avoid}
 .report-note{font-size:8pt;break-inside:avoid}
 .report-metrics{gap:7px}.report-metrics>div{padding:7px}
 .report-metrics strong{font-size:13pt}.report-brand{font-size:10pt}
}

/* HSE-inspired contextual report search — Rust renders all choices and queries. */
.report-search-hint{width:100%;font-size:12px;color:#536f88;font-weight:600;padding:3px 0 0}
.report-search-grid,.report-choice-grid{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}
.report-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:10px;border-top:1px solid #e5ecf3}
.report-search-grid label,.report-choice-grid label,.report-date-range label{min-width:0}
.report-search-grid input,.report-choice-grid select{width:100%}
.report-search-grid .lightbtn{text-align:center;height:40px;display:grid;place-items:center}
.report-choice-grid select{font-weight:600;color:#1a3853}
.report-date-range{display:flex;flex-wrap:wrap;width:100%;gap:12px;align-items:end;padding:13px 3px 3px;border-top:1px solid #e5ecf3}
.report-date-range label{min-width:140px;flex:0 1 190px}
.report-date-range>span{flex:1;padding:0 0 8px}
.report-search-controls{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:12px;border:1px solid #dce5ef;background:#fff;border-radius:12px;padding:12px 17px;margin:10px 0}
.report-search-controls label{display:grid;gap:5px;font-size:11px;font-weight:740;color:#526a82;flex:0 1 350px}
.report-search-controls input{width:100%;height:39px;border:1px solid #d2dfed;border-radius:9px;padding:9px 12px;font-size:13px}
.report-search-controls input:focus{outline:2px solid #c0dff8;border-color:#4282b7}
.report-table tr[hidden]{display:none!important}
@media(max-width:1000px){.report-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.report-choice-grid,.report-search-grid{grid-template-columns:1fr}.report-date-range label{flex:1}}
@media print{.report-search-controls{display:none!important}}
