:root{font-family:Inter,ui-sans-serif,system-ui,"Segoe UI",Arial,sans-serif;color:#344256;background:#f4f6fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:#6558d9;text-decoration:none}a:hover{text-decoration:underline}.app-shell{display:flex;min-height:100vh}.sidebar{background:#243a50;color:#e5eaf0;width:256px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;flex-shrink:0;padding:22px 14px;overflow-y:auto}.logo{font-weight:800;font-size:20px;letter-spacing:-.6px;padding:0 12px 23px;color:white}.logo small{display:block;color:#9fb5c9;font-size:11px;margin-top:4px;font-weight:500;letter-spacing:.4px}.side-label{font-size:10px;letter-spacing:1.5px;color:#9db1c3;text-transform:uppercase;padding:16px 13px 8px}.nav-btn{border:0;background:none;color:#cfdae6;text-align:left;padding:13px 14px;width:100%;border-radius:9px;margin:2px 0;font-weight:500;display:flex;align-items:center;gap:10px}.nav-btn span{font-size:17px}.nav-btn.active,.nav-btn:hover{background:#365572;color:#fff}.side-footer{margin-top:auto;padding:12px;color:#bbcbda;font-size:12px;line-height:1.6}.main{flex:1;min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid #e6eaf1;display:flex;align-items:center;justify-content:space-between;padding:0 30px;gap:10px}.topbar h2{font-size:18px;margin:0;color:#334357}.topbar .sub{font-size:12px;color:#8492a5;margin-top:3px}.topbar-right{display:flex;align-items:center;gap:12px}.page{padding:26px 30px 60px;max-width:1620px;margin:0 auto}.hero{border-radius:14px;background:linear-gradient(115deg,#fff 40%,#edeaff);padding:23px 25px;margin-bottom:20px;box-shadow:0 5px 20px rgba(31,54,87,.045);display:flex;justify-content:space-between;align-items:center;gap:16px}.hero h1{margin:0 0 8px;font-size:23px;color:#6860d9}.hero p{margin:0;color:#7d8899;font-size:13px;max-width:750px}.hero-mark{font-size:48px;opacity:.35}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.card,.panel{background:#fff;border:1px solid #eaedf3;border-radius:13px;box-shadow:0 3px 15px rgba(28,44,78,.035)}.card{padding:19px 18px}.card small{color:#8492a4;font-size:12px}.card strong{display:block;font-size:26px;letter-spacing:-.7px;margin:11px 0 4px;color:#344358}.card .tiny{font-size:11px;color:#8e9bad}.panel{padding:20px;margin-bottom:18px}.panel h3{font-size:16px;color:#40516a;margin:0 0 12px}.panel .hint{color:#8492a5;font-size:12px;line-height:1.65}.grid2{display:grid;grid-template-columns:1.5fr 1fr;gap:17px}.gridhalf{display:grid;grid-template-columns:1fr 1fr;gap:17px}.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:12px 0}.toolbar>*{flex-shrink:0}.field{display:flex;flex-direction:column;gap:6px;min-width:145px}.field.flex{flex:1}.field label{font-size:12px;color:#64758a;font-weight:600}.field input,.field select,.field textarea{border:1px solid #dce2eb;border-radius:8px;background:#fff;padding:10px 11px;color:#3a475b;outline-color:#766cf0;max-width:100%;width:100%;font-size:13px}.field textarea{min-height:76px;resize:vertical}.btn{background:#7165e9;border:1px solid #7165e9;color:#fff;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:650}.btn:hover{background:#5b51cb}.btn.outline{background:#fff;color:#6a62d6;border-color:#c9c4ff}.btn.soft{background:#eff0ff;color:#6860d9;border-color:#efefff}.btn.red{background:#b74755;border-color:#b74755}.btn:disabled{opacity:.45;cursor:not-allowed}.table-wrap{overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:12px;min-width:600px}.table th{font-weight:650;color:#7a8899;background:#f8f9fc;text-align:left;padding:12px}.table td{border-bottom:1px solid #edf0f4;padding:12px;color:#48566a;vertical-align:top}.table tr:hover td{background:#fcfcff}.pill{display:inline-block;padding:4px 9px;border-radius:100px;background:#f0edff;color:#756ad4;font-size:11px;font-weight:650}.pill.ok{color:#147b59;background:#e5f7f0}.pill.warn{color:#ab701d;background:#fff5dc}.pill.bad{color:#ad455b;background:#fff0f2}.muted{color:#8b98aa}.small{font-size:12px}.empty{padding:20px;color:#8d98a7;font-size:13px;background:#f9fbfd;border-radius:10px}.progress{height:9px;background:#edf0f6;border-radius:20px;overflow:hidden;margin:9px 0}.progress>span{background:#7066e9;height:100%;display:block;border-radius:20px}.slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.slot{border:1px solid #e3e9f2;border-radius:11px;padding:13px;background:#fcfdff;min-width:0}.slot h4{margin:0 0 12px;color:#52637a;font-size:13px}.contract{border:1px solid #e9ecf1;background:#fff;padding:10px;border-radius:9px;margin:8px 0}.contract strong{font-size:12px}.contract small{display:block;font-size:11px;color:#8c9aac;margin-top:5px}.actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.actions button{border:1px solid #e3e5f0;color:#7368d3;background:#f8f7ff;padding:6px 8px;border-radius:6px;font-size:11px}.todo{display:flex;gap:10px;align-items:flex-start;border-bottom:1px solid #edf0f3;padding:12px 2px}.todo input{margin-top:4px}.todo strong{font-size:13px;display:block}.todo p{font-size:12px;color:#8896a6;margin:4px 0}.auth-wrap{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 50% 0%,#e7e5ff,#f6f7fb 60%);padding:20px}.auth{width:min(440px,100%);background:#fff;border:1px solid #e6eafa;padding:32px;border-radius:17px;box-shadow:0 18px 70px rgba(61,73,106,.09)}.auth h1{font-size:25px;color:#354659;margin:0 0 8px}.auth p{color:#8290a2;font-size:13px;line-height:1.7}.auth .field{margin-bottom:14px}.auth .btn{width:100%;padding:13px}.notice{padding:13px;border-radius:9px;background:#fff7e5;border:1px solid #ffe2a4;color:#82631d;font-size:12px;line-height:1.65;margin:10px 0}.notice.red{background:#fff0f2;color:#a74456;border-color:#ffd6db}.toast{position:fixed;z-index:100;bottom:20px;right:20px;background:#273c56;color:#fff;padding:13px 18px;border-radius:10px;box-shadow:0 8px 22px #2336;max-width:380px;font-size:13px}.loading{margin:20vh auto;text-align:center;color:#777;max-width:500px}.rowflex{display:flex;justify-content:space-between;align-items:center;gap:10px}.month-note{font-size:12px;color:#8494a4}.dashed{border:1px dashed #cdd6e3;border-radius:10px;padding:12px}.summary{font-size:13px;color:#617084;line-height:1.65}.chart{display:flex;align-items:end;gap:10px;height:190px;border-bottom:1px solid #e7eaf2;margin-top:30px}.bar{display:flex;flex-direction:column;align-items:center;flex:1;gap:8px;min-width:0}.bar .fill{width:60%;border-radius:5px 5px 0 0;background:#756bee;min-height:3px}.bar label{font-size:10px;color:#8795a6}.alert{padding:9px 12px;border:1px solid #e4eaf2;background:#f8fafd;border-radius:8px;font-size:12px;margin:7px 0}.twolines{line-height:1.6}.badge-right{margin-left:auto}.nav-mobile{display:none}@media(max-width:1100px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.slots{grid-template-columns:repeat(2,minmax(0,1fr))}.grid2,.gridhalf{grid-template-columns:1fr}.sidebar{width:220px}}@media(max-width:750px){.sidebar{position:fixed;bottom:0;top:auto;width:100%;height:auto;z-index:90;padding:5px;flex-direction:row;overflow:auto;gap:2px}.sidebar .logo,.sidebar .side-label,.sidebar .side-footer{display:none}.nav-btn{white-space:nowrap;font-size:11px;padding:9px;margin:0}.nav-btn span{display:none}.page{padding:15px 12px 90px}.topbar{padding:0 14px;height:65px}.topbar h2{font-size:15px}.topbar-right{font-size:11px}.hero{padding:16px}.hero h1{font-size:18px}.hero-mark{display:none}.cards{gap:8px}.card{padding:12px}.card strong{font-size:21px}.slots{grid-template-columns:1fr}.panel{padding:14px}.field{min-width:110px}}

/* 4.1 contract followups, source channels and room comparison */
.compare-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.compare-grid>div{padding:15px;background:#f8faff;border:1px solid #e9eafa;border-radius:11px}.compare-grid small,.compare-grid .tiny{display:block;color:#8190a2;font-size:11px}.compare-grid strong{display:block;font-size:24px;color:#33445d;margin:5px 0}.channel-bars{display:grid;gap:9px}.channel-line{display:grid;grid-template-columns:110px minmax(80px,1fr) 115px;align-items:center;gap:11px;font-size:12px;color:#536377}.channel-line .progress{margin:0}.channel-line strong{text-align:right;font-size:11px}.delta-preview{border:1px solid #dcd8ff;background:#f7f6ff;border-radius:9px;padding:13px;margin:10px 0}.delta-preview strong{color:#574cba;font-size:13px}.delta-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.delta-stats span{font-size:12px;padding:7px 10px;background:#fff;border-radius:8px}.filter-select{font-size:12px;background:#fff;border:1px solid #dce2eb;border-radius:8px;padding:8px;color:#40516a;max-width:230px}.pill.bad{color:#aa354f;background:#fff0f2}.notice.red{background:#fff0f2;border-color:#ffd6db;color:#a74456}@media(max-width:850px){.compare-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.channel-line{grid-template-columns:73px minmax(65px,1fr) 91px;gap:5px;font-size:11px}.compare-grid strong{font-size:20px}}
/* IBB6 4.3 · Executive dashboard — compact on desktop, readable on mobile. */
.insight-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 18px;background:#fff;border:1px solid #e9edf4;border-radius:13px;margin:0 0 16px}.insight-bar h3{margin:0 0 5px;font-size:16px;color:#31435b}.insight-bar span{font-size:12px;color:#7b8c9f}.insight-controls{display:flex;gap:10px;flex-wrap:wrap}.insight-controls label{display:flex;align-items:center;gap:6px;font-size:12px;color:#75839a;white-space:nowrap}.insight-controls input,.insight-controls select{border:1px solid #dce3ee;background:#fff;color:#394b61;border-radius:8px;padding:9px;font:inherit;min-width:114px}
.insights-tiles{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.insight-card{padding:16px 15px;min-height:126px;transition:box-shadow .2s}.insight-card:hover{box-shadow:0 8px 26px #28425e12}.insight-card strong{font-size:25px;white-space:nowrap}.insight-card .tiny{line-height:1.5}.insight-card.alert{background:#fff9f6;border-color:#f8e0d3;margin:0}.insight-card.alert strong{color:#bb5e40}.insight-progress{padding:15px 18px;background:#fff;border:1px solid #e8edf4;border-radius:12px;margin-bottom:18px}.insight-progress .rowflex{font-size:13px;color:#3a5066}.insight-progress .rowflex span{font-size:12px;color:#78899d}.progress-wide{height:12px}.insight-sub{font-size:12px;color:#6c7e92;line-height:1.6}.insight-chart{display:block;width:100%;height:auto;max-height:275px;margin:12px 0}.chart-key{display:flex;gap:18px;font-size:11px;color:#72869a;margin-bottom:9px}.chart-key span{display:inline-flex;align-items:center;gap:6px}.chart-key i{display:inline-block;width:16px;height:3px;border-radius:4px}.team-row{border:1px solid #eff1f5;border-radius:10px;padding:13px;margin:10px 0}.team-row .rowflex{font-size:12px;color:#687a90}.team-row .rowflex b{font-size:13px;color:#35485f}.team-row .progress{margin:8px 0}.team-metric{font-weight:780;font-size:26px;color:#35445c;padding-top:6px}.team-metric span{font-size:11px;font-weight:400;color:#8796a8}.insight-stats{border-top:1px solid #f0f1f5;font-size:13px;color:#44566b;padding-top:10px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px}.daily-chart{display:flex;align-items:flex-end;gap:5px;height:168px;border-bottom:1px solid #e5e9f1;overflow-x:auto;padding:8px 0 0}.daily-col{display:flex;align-items:center;justify-content:flex-end;flex-direction:column;min-width:17px;flex:1;gap:7px;height:100%}.daily-bar{width:65%;min-width:8px;max-width:28px;background:#7367f0;border-radius:6px 6px 0 0}.daily-col small{font-size:10px;color:#8595a9}.hour-row{display:grid;grid-template-columns:104px 1fr 120px;align-items:center;gap:9px;margin:13px 0;font-size:12px;color:#53657d}.hour-row .progress{margin:0}.hour-row span{text-align:right;color:#718298}.insight-short{padding:12px;background:#f5f7fc;border-radius:9px;font-size:12px;color:#66788e}.source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.source-grid>div{padding:11px 13px;background:#f8faff;border-radius:8px;display:grid;grid-template-columns:10px 1fr;gap:5px 9px;align-items:start}.source-grid strong{font-size:12px;color:#3e5268;font-weight:600}.source-grid small{grid-column:2;font-size:11px;color:#8c9cb0}.source-dot{background:#d6a748;width:9px;height:9px;border-radius:50%;margin-top:4px}.source-dot.valid{background:#1ba878}
@media(max-width:1380px){.insights-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1000px){.insights-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:750px){.insight-bar{flex-direction:column;align-items:flex-start}.insights-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-card strong{font-size:21px}.source-grid{grid-template-columns:1fr}.hour-row{grid-template-columns:85px 1fr;gap:5px}.hour-row .progress{grid-column:1/-1}.insight-controls{width:100%}.insight-controls>*{flex:1}}@media(max-width:380px){.insights-tiles{grid-template-columns:1fr 1fr}.insight-card{padding:10px;min-height:108px}.insight-card strong{font-size:18px}}
.quality-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quality-cell{padding:15px;border:1px solid #e9edf4;border-radius:10px;background:#f9faff}.quality-cell span{font-size:12px;color:#8292a8}.quality-cell strong{display:block;font-size:23px;color:#354760;margin:10px 0}.quality-cell .progress{margin:5px 0}@media(max-width:760px){.quality-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:390px){.quality-grid{grid-template-columns:1fr}}
