:root{font-family:Inter,Arial,sans-serif;color:#151412;background:#e9e8e3;font-synthesis:none;font-size:13px}*{box-sizing:border-box}body{margin:0}button,a,input,textarea{font:inherit}button{color:inherit;cursor:pointer}button{border:0;background:none}button:hover{background-color:var(--si-button-hover,#f3f2ef)}button:focus-visible,a:focus-visible{outline:2px solid #394eeb;outline-offset:3px}button:disabled{opacity:.45;cursor:wait}i{display:inline-flex;flex:none}svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}button svg{pointer-events:none}[hidden]{display:none!important}.app{height:calc(100dvh - 48px);min-height:620px;max-width:1600px;margin:24px auto;display:flex;background:white;border:1px solid #e2e1dd;border-radius:19px;overflow:hidden}.sidebar{width:258px;flex-shrink:0;border-right:1px solid #ecebea;background:#fefdfc;display:flex;flex-direction:column;padding:14px 13px 12px}.brand-row{display:flex;align-items:center;height:34px;margin:0 3px 12px;gap:3px}.brand{display:flex;align-items:center;gap:7px;font-size:17px;font-weight:600;letter-spacing:-.8px;color:#111;text-decoration:none;margin-right:auto}.sun{display:inline-block;width:24px;height:24px;flex-shrink:0;background:repeating-conic-gradient(from 0deg,#151412 0deg 7deg,transparent 7deg 30deg);border-radius:50%;mask:radial-gradient(circle,transparent 0 15%,#000 17%)}.sun.colored{width:22px;height:22px;background:repeating-conic-gradient(from 0deg,#38cfe4 0deg 7deg,transparent 7deg 30deg)}.icon-button{height:28px;width:28px;padding:6px;border-radius:5px;color:#777772;display:inline-flex;align-items:center;justify-content:center}.icon-button svg{width:14px;height:14px}.workspace{display:flex;align-items:center;gap:8px;border:1px solid #e8e5e3;border-radius:7px;padding:8px;width:100%;background:white;box-shadow:0 2px 3px #00000003;font-size:12px}.workspace>i{margin-left:auto;color:#85847f}.workspace-logo{background:#4c1aea;border-radius:4px;color:white;width:19px;height:19px;display:grid;place-items:center;font-size:15px;font-weight:600;line-height:1}.primary{margin-top:13px}.nav-item{width:100%;display:flex;align-items:center;gap:9px;text-align:left;border-radius:5px;padding:8px 9px;min-height:33px;font-size:12px}.nav-item i{color:#54544e}.nav-item.active,.text-item.selected{background:#f2f0ee}.sidebar-scroll{overflow:auto;scrollbar-width:thin;flex:1}.nav-section{margin-top:24px}.nav-section h2,.suggestions h2{font:10px 'Geist Mono',monospace;font-weight:400;color:#82817a;margin:0 9px 9px;display:flex;align-items:center;gap:4px}.nav-section h2 svg{width:11px;height:11px}.text-item{display:block;width:100%;padding:9px;border-radius:5px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11.5px}.project-children{border-left:1px solid #e4e2df;margin-left:18px;padding-left:6px;margin-bottom:5px}.sidebar-footer{padding-top:16px}.profile{display:flex;align-items:center;gap:9px;width:100%;padding:8px 9px;text-align:left;font-size:12px}.avatar{width:17px;height:17px;border-radius:50%;background:radial-gradient(circle at 50% 36%,#5b4124 0 19%,transparent 20%),radial-gradient(ellipse at 50% 90%,#3a493c 0 32%,transparent 33%),#f7d659;color:transparent}.profile>i{margin-left:auto}main{flex:1;min-width:0;position:relative;overflow:hidden;background:white}.hero-art{position:absolute;inset:0 0 auto;height:370px;background:url('aurora.svg') center top/100% 100% no-repeat;pointer-events:none}.home{position:relative;width:min(740px,calc(100% - 120px));margin:145px auto 0}.hero-sun{width:31px;height:31px;margin-bottom:14px}h1{font:400 30px/1.3 'PT Serif',Georgia,serif;letter-spacing:-1.15px;margin:0 0 32px}.composer{position:relative;background:#ffffffed;border:1px solid #d5d4d0;border-radius:12px;box-shadow:0 2px 5px #00000003;padding:14px 13px 12px;min-height:148px}.composer textarea{display:block;width:100%;resize:none;border:0;outline:0;background:transparent;color:#151412;font-size:13px;line-height:1.65;min-height:77px;padding:0}.composer:focus-within{border-color:#a4a49f}.composer textarea::placeholder{color:#8e8d87}.composer-controls,.composer-left,.composer-right{display:flex;align-items:center;gap:9px}.composer-controls{justify-content:space-between;margin-top:8px}.small-button{border:1px solid #e6e5e1;border-radius:6px;box-shadow:0 2px 3px #00000003;background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;padding:5px 9px;font-size:11.5px}.square{width:30px;padding:5px}.model{gap:8px}.model svg{width:12px;height:12px;color:#96948e}.model-mark{color:#cd987d;font-size:17px;line-height:1}.send{width:30px;height:30px;border-radius:7px;background:linear-gradient(#41423e,#22231f);color:white;box-shadow:inset 0 0 0 1px #ffffff26;display:grid;place-items:center}.send:hover{background:#151412}.suggestions{margin-top:33px}.suggestions h2{margin:0 0 12px}.chips{display:flex;gap:9px;flex-wrap:wrap}.chips button{display:flex;align-items:center;gap:7px;border:1px solid #e6e4e1;background:#fff;border-radius:6px;padding:6px 9px;box-shadow:0 2px 4px #00000003;font-size:11.5px}.chips button:hover{background:#f6f6ff;border-color:#c7c9f0}.chips svg{color:#7774ca;width:15px;height:15px}.disclaimer{position:absolute;bottom:14px;left:30px;right:30px;text-align:center;font-size:10px;color:#93918b;margin:0}.chat-header{position:absolute;inset:0 0 auto;z-index:2;height:55px;border-bottom:1px solid #ebeae7;display:flex;align-items:center;justify-content:space-between;background:#fff;padding:0 28px}.chat-title{display:flex;align-items:center;gap:7px;font-size:12px}.chat-title svg{width:12px;color:#96938d}.header-actions{display:flex;align-items:center;gap:10px}.upgrade{display:flex;align-items:center;gap:6px;border-radius:7px;padding:6px 10px;color:white;background:linear-gradient(155deg,#ecdc84,#63d9e7 48%,#607cef);border:1px solid #8bd7dd;box-shadow:0 2px 8px #54cdda25;font-size:12px;text-shadow:0 1px 2px #577e9455}.upgrade:hover{filter:brightness(1.05)}.conversation{height:100%;padding:55px 0 220px;display:flex;flex-direction:column}.messages{overflow:auto;padding:22px max(40px,calc((100% - 740px)/2)) 35px;scrollbar-width:thin;flex:1}.timestamp{text-align:center;font:10px 'Geist Mono',monospace;color:#94928c;margin:3px 0 30px}.user-message{margin:0 0 28px auto;background:#f7f7f5;border-radius:7px;padding:9px 12px;width:fit-content;max-width:90%;font-size:12px;line-height:1.6}.assistant-message{font-size:13px;line-height:1.7;margin-bottom:25px}.assistant-message>p{margin:0 0 19px}.assistant-message hr{border:0;border-top:1px solid #e9e7e3;margin:20px 0}.assistant-message h3{font-size:13px;font-weight:500;margin:18px 0 10px}.chart-card{border:1px solid #e8e6e2;border-radius:12px;padding:21px;background:#fff}.chart-card h4{font-weight:500;margin:0 0 6px;font-size:12px}.chart-card p{font-size:11px;margin:0 0 20px}.bar-chart{position:relative;background:repeating-linear-gradient(to right,transparent 0,transparent calc(20% - 1px),#f1f0ed calc(20% - 1px),#f1f0ed 20%)}.bar-row{margin:11px 0}.bar-row label{font-size:10px;display:block;margin-bottom:4px}.bar{height:19px;background:#38cde4;border:1px solid #2bc2d9;border-radius:4px;width:var(--size);transition:opacity .2s}.bar-row:nth-child(2) .bar{opacity:.85}.bar-row:nth-child(3) .bar{opacity:.7}.bar-row:nth-child(4) .bar{opacity:.55}.bar-row:hover .bar{opacity:1}.axis{display:flex;justify-content:space-between;font:9px 'Geist Mono',monospace;color:#99958f;margin-top:14px}.answer-note{font-size:10px;color:#8b877f;margin-top:12px}.bottom-composer{position:absolute;bottom:48px;left:50%;transform:translateX(-50%);width:min(740px,calc(100% - 80px))}.in-chat .hero-art{top:auto;bottom:0;height:165px;opacity:.35;transform:rotate(180deg)}.thinking{display:flex;gap:9px;align-items:center;color:#8a8881;font-size:12px}.thinking .sun{width:19px;height:19px;animation:spin 3s linear infinite}.sidebar-reopen{display:none;position:absolute;top:14px;left:14px;z-index:4}.collapsed .sidebar{display:none}.collapsed .sidebar-reopen{display:flex}.collapsed .chat-header{padding-left:52px}.collection{position:relative;padding:90px 60px}.collection h1{margin-bottom:15px}.collection p{color:#777}.document-row{width:100%;border:1px solid #e5e3de;border-radius:9px;padding:18px;margin-top:12px;display:flex;align-items:center;gap:12px;text-align:left;background:#fff}.document-row span{margin-left:auto;color:#888;font-size:11px}dialog{border:1px solid #e3e1dc;border-radius:14px;padding:24px;width:min(440px,calc(100vw - 32px));box-shadow:0 25px 100px #0002}dialog::backdrop{background:#15141235;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-heading h2{font:24px 'PT Serif',serif;margin:0}.dialog-heading p{line-height:1.7}dialog input{width:100%;padding:12px;border:1px solid #ccc;border-radius:7px;margin-bottom:10px}dialog .option{display:block;padding:12px;width:100%;text-align:left;border-radius:6px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#24241f;color:white;z-index:20;padding:12px 20px;border-radius:8px;font-size:12px;box-shadow:0 5px 25px #0002}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#attachment{font-size:11px;color:#63615d}#attachment:not(:empty){padding-bottom:8px}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1700px){.app{margin:35px auto;height:calc(100dvh - 70px)}}@media(max-width:1100px){.app{margin:0;height:100dvh;min-height:0;border-radius:0;border:0}.sidebar{width:235px}.home{width:calc(100% - 80px);margin-top:125px}h1{font-size:27px}.chips{gap:7px}.chips button{font-size:10px;padding:6px}.hero-art{height:320px}}@media(max-width:700px){.sidebar{position:absolute;z-index:10;height:100dvh;width:250px;box-shadow:15px 0 45px #0002}.app:not(.collapsed) main::after{content:'';position:absolute;inset:0;background:#0003;z-index:5;pointer-events:none}.home{width:calc(100% - 40px);margin-top:120px}h1{font-size:27px;max-width:330px}.hero-art{height:290px}.chips{max-width:330px}.chips button{font-size:11px;padding:8px}.disclaimer{font-size:9px;bottom:13px;left:20px;right:20px;line-height:1.5}.chat-header{padding-right:12px}.header-actions{gap:5px}.chat-title{max-width:155px;font-size:11px}.chat-title span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.upgrade{display:none}.messages{padding:22px 20px}.bottom-composer{width:calc(100% - 32px);bottom:53px}.conversation{padding-bottom:225px}.collection{padding:80px 24px}.nav-item,.text-item{min-height:36px}.small-button,.send{min-height:34px}.small-button.square,.send{width:34px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.hero-art{mask-image:linear-gradient(to bottom,#000 0%,#000 28%,transparent 100%)}
:root{background:#fff}
.app{width:100%;max-width:none;height:100dvh;min-height:0;margin:0;border:0;border-radius:0}
.brand-logo{display:block;width:158px;height:auto;max-height:30px;object-fit:contain}
.brand-row{margin-left:3px;margin-right:0;gap:0}
.brand-row .icon-button{width:25px;flex-shrink:0}
.municipality-logo{display:block;position:relative;width:20px;height:24px;overflow:hidden;flex-shrink:0}
.municipality-logo img{display:block;position:absolute;max-width:none;width:63px;height:24px;left:0;top:0}
.workspace{min-height:40px}
.hero-art{background:none;height:350px;mask-image:linear-gradient(to bottom,#000 0%,#000 25%,transparent 100%)}
#pixel-art{display:block;width:100%;height:100%}
.in-chat .hero-art{height:190px;opacity:.55}
@media(min-width:1700px){.app{margin:0;height:100dvh}}
@media(max-width:1100px){.brand-logo{width:137px}.hero-art{height:320px}}
@media(max-width:700px){.brand-logo{width:150px}.hero-art{height:290px}}
/* Sidebar sizing refinement. */
.brand-logo{width:140px;max-height:27px}
.brand-row{gap:2px}
.brand-row .icon-button{width:32px;height:32px;padding:7px}
.brand-row .icon-button svg{width:18px;height:18px}
.workspace{min-height:34px;padding:6px 8px;gap:8px;font-size:13px;font-weight:500}
.municipality-logo{width:16px;height:20px}
.municipality-logo img{width:52.52px;height:20px}
.nav-item,.text-item,.profile{font-size:13px}
.nav-item svg,.profile svg{width:18px;height:18px}
@media(max-width:1100px){.brand-logo{width:127px}.brand-row{margin-left:0;gap:0}}
@media(max-width:700px){.brand-logo{width:137px}}
/* Insights: four illustrated module cards, matching the reference tiles. */
.in-insights .disclaimer{display:none}
.in-insights .hero-art{display:block}
.in-insights .collection{padding:30px 24px;max-height:100dvh;overflow:auto}
.insight-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;width:100%}
.insight-card{position:relative;height:258px;border:1px solid #e2e2e2;border-radius:18px;background:linear-gradient(145deg,#f8f8f8,#f5f5f5);overflow:hidden;box-shadow:inset 0 0 0 1px #00000002}
.insight-art{height:171px;display:flex;align-items:flex-start;justify-content:center;padding-top:47px;position:relative;overflow:hidden}
.mini-panel{position:relative;width:136px;height:79px;border:1px solid #dedede;border-radius:6px;background:#fff;box-shadow:0 4px 9px #00000007,0 1px 2px #00000004;flex-shrink:0;z-index:1}
.ghost-panel{position:absolute;top:47px;width:136px;height:79px;border:1px solid #e4e4e4;border-radius:6px;background:#ffffffa6;box-shadow:0 3px 7px #00000003}
.ghost-left{right:calc(50% + 82px)}.ghost-right{left:calc(50% + 82px)}
.insight-caption{position:absolute;bottom:7px;left:9px;right:9px;padding:19px 16px 17px;background:#fff;border:1px solid #f6f6f6;border-radius:14px;box-shadow:0 2px 3px #0000000c}
.insight-caption h2{font-size:15px;line-height:1.35;letter-spacing:-.4px;font-weight:500;margin:0 0 8px}
.insight-meta{display:flex;align-items:center;gap:5px;color:#77777c;font-size:11px;letter-spacing:-.25px;white-space:nowrap}
.insight-meta>svg{width:15px;height:15px;flex:none;stroke:#86868e;stroke-width:1.2;margin-right:1px}
.meta-dot{color:#d1d1d3;font-weight:600}
.mini-bars{position:absolute;inset:19px 11px 9px;display:flex;gap:5px;align-items:flex-end}
.mini-bars span{width:12px;border-radius:2px;background:linear-gradient(110deg,#e7e7e7,#dddddd);box-shadow:inset 1px 0 0 #ffffff55}
.mini-bars .accent{background:linear-gradient(120deg,#d3b5fc,#ac7fe8)}
.energy-badge{position:absolute;right:-7px;top:-8px;width:21px;height:21px;display:grid;place-items:center;background:#f2eafa;border:2px solid #f8f8f8;border-radius:50%;color:#a577d6}
.energy-badge svg{width:12px;height:12px;fill:#ac7fe8;stroke-width:0}
.interest-line{width:100%;height:100%;stroke:none}
.interest-badge{position:absolute;left:10px;bottom:8px;background:#fff1f0;color:#df8a8f;border-radius:3px;padding:1px 7px;font-size:10px;font-weight:500}
.mini-document{position:absolute;width:42px;height:51px;left:45px;top:16px;background:linear-gradient(130deg,#f2f4ff,#e7eafc);border:1px solid #d4daf4;border-radius:3px;transform:rotate(5deg);padding:16px 7px 5px}
.back-document{left:36px;top:14px;transform:rotate(-8deg);background:#fafaff}
.document-fold{position:absolute;top:0;right:0;width:11px;height:11px;background:linear-gradient(45deg,#c5cdf2 50%,#fff 51%);border-radius:0 2px 0 3px}
.document-line{display:block;height:3px;margin-bottom:5px;background:#bcc6ec;border-radius:1px}.document-line.short{width:65%}
.agreement-check{position:absolute;left:76px;top:49px;width:20px;height:20px;border:2px solid white;border-radius:50%;background:#7799df;display:grid;place-items:center;color:white}.agreement-check svg{width:13px;height:13px;stroke-width:2}
.renewal-dot{position:absolute;left:19px;top:25px;color:#b8c5e9}.renewal-dot svg{width:17px;height:17px}
.invoice-sheet{position:absolute;top:18px;left:39px;width:57px;height:59px;padding:6px;background:linear-gradient(110deg,#fff8df,#fff0c3);border:1px solid #fae9b6;border-radius:5px 5px 0 0;overflow:hidden}
.invoice-heading{display:block;height:23px;background:linear-gradient(135deg,#ffd146,#edb01c);border-radius:1px 1px 18px 1px;box-shadow:0 3px 4px #bfa64c22;margin-bottom:6px}
.invoice-line{display:block;height:4px;margin-bottom:4px;border-radius:1px;background:#ebd99d}
.invoice-total{display:block;height:4px;width:70%;margin-left:auto;background:#ebd99d}
.invoice-scan{position:absolute;left:12px;bottom:13px;width:17px;height:17px;border-radius:50%;background:#f4c047;color:white;display:grid;place-items:center}.invoice-scan svg{width:12px;height:12px;stroke-width:2}
.invoice-clock{position:absolute;right:10px;top:10px;width:16px;height:16px;border-radius:50%;background:#f4bd2c;color:white;display:grid;place-items:center}.invoice-clock svg{width:12px;height:12px;stroke-width:1.8}
@media(min-width:1600px){.insight-card{height:274px}.insight-art{padding-top:49px}}
@media(max-width:1250px){.insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-meta{font-size:12px}}
@media(max-width:700px){.in-insights .collection{padding:64px 20px 24px}.insight-grid{grid-template-columns:1fr;gap:16px}.insight-card{height:258px}}

/* Shared heading and spacing on every module / project page. */
.in-subpage .collection{padding:90px 32px 40px;max-height:100dvh;overflow:auto}
.in-subpage .disclaimer{display:none}
.page-heading{margin-bottom:36px}
.page-heading h1{margin:0 0 12px;font-size:30px;line-height:1.3}
.page-heading p{margin:0;max-width:650px;color:#64645f;font-size:13px;line-height:1.7}
@media(max-width:700px){.in-subpage .collection{padding:80px 20px 28px}.page-heading{margin-bottom:28px}.page-heading h1{font-size:27px}}
/* Agreement portfolio: upload, the existing six KPIs, and compact document rows. */
.agreements-content{display:flex;flex-direction:column;gap:26px}
.agreement-section-heading,.agreement-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}
.agreement-section-heading h2,.agreement-list-heading h2{font-size:14px;font-weight:500;margin:0;letter-spacing:-.25px}
.agreement-section-heading>span,.agreement-list-heading>div>span{font-size:11px;color:#85837f}
.agreement-list-heading>div{display:flex;align-items:center;gap:12px}
.agreement-upload{display:flex;align-items:center;gap:18px;width:100%;min-height:110px;padding:24px;border:1px dashed #ceccd1;border-radius:12px;background:#ffffffed;text-align:left;transition:background .2s,border-color .2s}
.agreement-upload:hover,.agreement-upload.dragging{background:#f8f7ff;border-color:#a99bd7}
.upload-copy{display:flex;flex-direction:column;gap:7px}
.upload-copy strong{font-weight:500;font-size:13px}.upload-copy>span{font-size:11px;color:#85827c}
.upload-select{margin-left:auto;display:flex;gap:13px;white-space:nowrap;background:white;border:1px solid #e4e1e7;border-radius:6px;box-shadow:0 2px 3px #00000004;padding:9px 12px;font-size:12px}
.agreement-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));background:#ffffffed;border:1px solid #e6e4e1;border-radius:12px;padding:19px 0}
.agreement-metric{padding:0 17px;border-right:1px solid #eeece9}.agreement-metric:last-child{border-right:0}
.agreement-metric h3{margin:0 0 12px;font-weight:400;font-size:11px;color:#73706b;white-space:nowrap}
.agreement-metric>strong{font-size:23px;font-weight:500;letter-spacing:-.8px;white-space:nowrap}
.agreement-metric p{margin:8px 0 0;font-size:10px;color:#908c86;line-height:1.4}
.demo-indicator{font-size:10px;color:#827c8c;border:1px solid #e8e4ed;border-radius:5px;background:#faf9fc;padding:4px 7px;white-space:nowrap}
.agreement-filters{display:flex;gap:10px;margin-bottom:15px}.agreement-search{display:flex;align-items:center;gap:9px;flex:1;padding:10px 12px;border:1px solid #e6e3df;border-radius:7px;background:#fff;color:#8b8780}.agreement-search input{border:0;outline:0;width:100%;font-size:12px;background:none;min-width:0}.agreement-search:focus-within{border-color:#a99bd7}.agreement-filters select{font:12px Inter,sans-serif;border:1px solid #e6e3df;border-radius:7px;background:#fff;padding:0 12px;color:#605c56}
#agreement-records{display:flex;flex-direction:column;gap:10px}
.agreement-record{display:flex;align-items:center;gap:14px;width:100%;min-height:76px;padding:16px 18px;border:1px solid #e5e3de;border-radius:9px;text-align:left;background:#fff;transition:background .15s,border-color .15s}
.agreement-record:hover{background:#fcfbfe;border-color:#cfc5df}
.agreement-doc-icon{display:grid;place-items:center;flex:none;width:33px;height:37px;border:1px solid #e9e5ef;border-radius:7px;background:#faf9fc;color:#9b8abf}.agreement-doc-icon svg{width:18px;height:18px}
.agreement-record-copy{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}.agreement-record-copy>strong{font-weight:500;font-size:13px}.agreement-record-copy>span{font-size:11px;color:#89847e;line-height:1.5}.record-dot{margin:0 8px;color:#ccc7c0}
.agreement-expiry{display:flex;flex-direction:column;gap:6px;margin-left:auto;min-width:100px}.agreement-expiry>span{font-size:10px;color:#9a948c}.agreement-expiry>strong{font-size:11px;font-weight:400;color:#67615a}
.agreement-status{font-size:10px;border-radius:5px;padding:5px 8px;min-width:87px;text-align:center;border:1px solid transparent;white-space:nowrap}.agreement-status.valid{color:#57766b;background:#f1f7f3;border-color:#e3ede6}.agreement-status.expiring{color:#a28344;background:#fcf8ef;border-color:#f2e9d4}.agreement-status.expired{color:#8f8981;background:#f4f3f1;border-color:#e9e6e2}.agreement-chevron{width:14px;height:14px;color:#aaa29a;flex:none}
.agreement-demo-note{font-size:10px!important;line-height:1.6;color:#96918b!important;margin:16px 0 0}
.queued-agreement{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e6e1ed;border-radius:7px;margin-top:8px;background:#fff}.queued-agreement>span{font-size:12px;overflow-wrap:anywhere;min-width:0}.queued-agreement small{margin-left:auto;color:#948c9c;font-size:10px;white-space:nowrap}.queued-agreement button{width:28px;height:28px;border-radius:5px;font-size:18px;flex:none}
.agreement-empty{padding:30px;text-align:center;font-size:12px;border:1px solid #e6e3df;border-radius:9px;color:#817b72;background:#fff}
.agreement-detail dl{margin:22px 0}.agreement-detail dl>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #eeece9;font-size:12px}.agreement-detail dt{color:#8c857c}.agreement-detail dd{margin:0;text-align:right}
@media(max-width:1250px){.agreement-metrics{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:22px}.agreement-metric:nth-child(3){border-right:0}}
@media(max-width:700px){.agreement-upload{padding:17px;gap:12px;flex-wrap:wrap}.upload-copy{flex:1}.upload-copy strong{line-height:1.5}.upload-copy>span{line-height:1.5}.upload-select{margin-left:55px}.agreement-section-heading{gap:8px}.agreement-section-heading>span{font-size:10px}.agreement-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.agreement-metric:nth-child(3){border-right:1px solid #eeece9}.agreement-metric:nth-child(even){border-right:0}.agreement-metric>strong{font-size:21px}.agreement-filters{flex-wrap:wrap}.agreement-search{flex-basis:100%}.agreement-filters select{height:35px}.agreement-record{padding:14px 12px;gap:10px;flex-wrap:wrap}.agreement-record-copy{flex-basis:calc(100% - 43px)}.agreement-record-copy>span{font-size:10px}.agreement-expiry{margin-left:43px;flex-direction:row;align-items:center;flex:1;gap:8px;min-width:0}.agreement-status{min-width:0}.agreement-chevron{display:none}.record-dot{margin:0 4px}.queued-agreement{flex-wrap:wrap}.queued-agreement small{margin-left:0}.queued-agreement button{margin-left:auto}}
/* File-type silhouettes and explicit price-list linkage. */
.file-type-icon{--file-color:#344155;display:inline-flex;align-items:flex-end;justify-content:center;position:relative;width:31px;height:41px;padding-bottom:6px;flex-shrink:0;border-radius:5px;background:var(--file-color);clip-path:polygon(0 0,56% 0,100% 33%,100% 100%,0 100%);color:#fff;vertical-align:middle}
.file-type-icon::before{content:'';position:absolute;top:0;right:0;width:44%;height:33%;background:#ffffff80;border-bottom-left-radius:4px}
.file-type-icon>span{font:600 10px/1 Inter,sans-serif;color:white;letter-spacing:-.15px}
.file-type-doc{--file-color:#3971ff}.file-type-pdf,.file-type-ppt{--file-color:#ff2117}.file-type-xls,.file-type-csv{--file-color:#0bb56a}
.agreement-price-link{display:flex;align-items:center;gap:6px;min-width:146px;font-size:11px;white-space:nowrap;color:#6c8177;margin:0 10px}
.agreement-price-link svg{width:15px;height:15px;stroke-width:1.3}
.agreement-price-link.missing{color:#9a9184}
.agreement-detail dd:has(.file-type-icon){display:flex;align-items:center;gap:10px}
.agreement-detail dd .file-type-icon,.queued-agreement .file-type-icon{width:25px;height:33px;padding-bottom:5px}
.agreement-detail dd .file-type-icon>span,.queued-agreement .file-type-icon>span{font-size:8px}
.linked-price-files h3{font-size:12px;font-weight:500;margin:0 0 12px}
.linked-price-file{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e8e5e0;border-radius:8px;margin-top:8px;font-size:11px;overflow-wrap:anywhere}
.linked-price-file .file-type-icon{width:27px;height:36px}.linked-price-file .file-type-icon>span{font-size:9px}
.price-empty{font-size:12px;color:#92887c;background:#faf8f4;padding:13px;border-radius:7px}
@media(max-width:1100px) and (min-width:701px){.agreement-record{gap:10px}.agreement-price-link{min-width:0;font-size:10px;margin:0 4px}.agreement-expiry{min-width:80px}.agreement-record-copy>strong{line-height:1.4}.agreement-record-copy>span{font-size:10px}}
@media(max-width:700px){.agreement-price-link{order:2;margin:0 0 0 41px;flex-basis:calc(100% - 41px);font-size:11px}.agreement-expiry{order:3;margin-left:41px}.agreement-status{order:4}.agreement-record-copy{flex-basis:calc(100% - 41px)}.agreement-record{row-gap:12px}}
/* Stronger agreement status contrast. */
.agreement-status{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:500;padding:6px 9px;min-width:96px}
.agreement-status::before{content:'';width:6px;height:6px;flex:none;border-radius:50%;background:currentColor}
.agreement-status.valid{color:#17633d;background:#d9f4e4;border-color:#a8dfbe}
.agreement-status.expiring{color:#93470c;background:#ffebc7;border-color:#f2c477}
.agreement-status.expired{color:#a02c35;background:#ffe0e3;border-color:#efadb5}
@media(max-width:700px){.agreement-status{min-width:0}}
/* Softer status badges, retaining readable labels. */
.agreement-status{font-size:10px;font-weight:500;padding:5px 8px;min-width:87px}
.agreement-status::before{display:none}
.agreement-status.valid{color:#527561;background:#edf6f0;border-color:#dcebe1}
.agreement-status.expiring{color:#97743b;background:#fcf5e8;border-color:#eee1c7}
.agreement-status.expired{color:#99656b;background:#faf0f1;border-color:#eedde0}
@media(max-width:700px){.agreement-status{min-width:0}}
/* Slightly smaller document icons in the agreement list. */
.agreement-record>.file-type-pdf,.agreement-record>.file-type-doc{width:26px;height:35px;padding-bottom:5px;border-radius:4px}
.agreement-record>.file-type-pdf>span,.agreement-record>.file-type-doc>span{font-size:9px}
/* Municipal dashboard: restrained, action-oriented overview. */
.in-dashboard .hero-art{left:40%;height:240px;opacity:.5;transform:scaleX(-1);mask-image:linear-gradient(to bottom,#000,transparent 95%);border-bottom-left-radius:70%}
.in-dashboard .collection{padding:65px 32px 32px}
.dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:36px;position:relative}
.dashboard-eyebrow{font:10px 'Geist Mono',monospace;letter-spacing:1.6px;color:#8a867e;margin-bottom:17px}
.dashboard-heading h1{font-size:34px;margin:0 0 12px;letter-spacing:-1px}.dashboard-heading p{font-size:12px;line-height:1.7;margin:0;color:#7d7972}
.dashboard-period{display:flex;flex-direction:column;gap:10px;align-items:flex-end;font-size:11px;color:#78756f;padding-bottom:3px}.dashboard-period .demo-indicator{background:#ffffffb3}
.dashboard-body{display:flex;flex-direction:column;gap:22px}
.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e8e5e0;border-radius:12px;background:#ffffffeb;padding:22px 0}
.dashboard-kpi{display:flex;flex-direction:column;text-align:left;padding:0 23px;border-right:1px solid #ece9e5}.dashboard-kpi:last-child{border:0}.dashboard-kpi>span{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#7e7971;margin-bottom:15px}.dashboard-kpi>span svg{width:12px;height:12px;color:#b1a99e}.dashboard-kpi>strong{font-size:29px;font-weight:500;letter-spacing:-1.1px;white-space:nowrap}.dashboard-kpi>strong small{font-size:16px;font-weight:400;letter-spacing:-.5px;color:#777068}.dashboard-kpi p{font-size:10px;color:#969087;margin:10px 0 0;line-height:1.5}.dashboard-small-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#c9ad71;margin-right:4px}
.dashboard-main-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:22px}.dashboard-panel{background:#fff;border:1px solid #e8e5e0;border-radius:12px;padding:23px}.dashboard-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:23px}.dashboard-panel h2{font-size:14px;font-weight:500;letter-spacing:-.3px;margin:0 0 7px}.dashboard-panel-heading p{font-size:11px;margin:0;color:#928b82;line-height:1.5}.dashboard-unit{font:9px 'Geist Mono',monospace;color:#a49d92;white-space:nowrap}
.spend-chart{height:176px;display:flex;gap:13px;padding-bottom:23px;margin-top:30px}.spend-axis{display:flex;flex-direction:column;justify-content:space-between;font:9px 'Geist Mono',monospace;color:#a69f96;min-width:10px}.spend-columns{flex:1;display:flex;align-items:flex-end;gap:15px;background:repeating-linear-gradient(to top,#f1efec 0,#f1efec 1px,transparent 1px,transparent 33.333%)}.spend-column{height:100%;flex:1;position:relative;display:flex;align-items:flex-end;justify-content:center;padding:0;min-width:0}.spend-column:hover{background:transparent}.spend-bar{position:relative;display:block;width:100%;max-width:33px;height:var(--bar-height);border-radius:4px 4px 0 0;background:linear-gradient(to bottom,#d1d6ef,#e6e9f7);border:1px solid #c9d0ec;border-bottom:0}.spend-bar.latest{background:linear-gradient(to bottom,#8b8bc9,#b7b7df);border-color:#9292ce}.spend-month{position:absolute;bottom:-22px;font-size:9px;color:#9b958b}.spend-tooltip{display:none;position:absolute;bottom:calc(100% + 7px);left:50%;transform:translateX(-50%);font-size:10px;white-space:nowrap;background:#34312d;color:#fff;padding:5px 7px;border-radius:4px;z-index:2}.spend-column:hover .spend-tooltip,.spend-column:focus-visible .spend-tooltip{display:block}.spend-summary{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#979086;border-top:1px solid #f0ede9;padding-top:16px;margin-top:18px}.chart-key{display:inline-block;width:7px;height:7px;border-radius:2px;background:#bdc5e7;margin-right:5px}.spend-summary strong{font-weight:500;color:#6d665b;margin-left:7px}
.attention-count{background:#f5f2eb;color:#a08e6d;border:1px solid #eae3d7;border-radius:7px;padding:5px 8px;font-size:11px}.attention-row{display:flex;align-items:center;gap:12px;padding:15px 0;width:100%;text-align:left;border-bottom:1px solid #f0ede9}.attention-row>span:nth-child(2){flex:1}.attention-row strong{display:block;font-size:12px;font-weight:500;line-height:1.5}.attention-row>span>span{display:block;font-size:10px;color:#979086;margin-top:5px;line-height:1.6}.attention-icon{display:grid;place-items:center;width:32px;height:34px;border-radius:8px;flex:none}.attention-icon.amber{color:#b5a071;background:#f9f5ec}.attention-icon.violet{color:#a394bd;background:#f5f2fa}.attention-row>i{transform:rotate(-90deg);color:#bbb3a8}.attention-row>i svg{width:12px;height:12px}.dashboard-text-link{font-size:11px;color:#81766a;display:inline-flex;align-items:center;gap:15px;padding:0;white-space:nowrap}.attention-panel>.dashboard-text-link{margin-top:19px}.dashboard-text-link:hover{background:transparent;color:#383128}
.dashboard-bottom-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:22px}.dashboard-costs{display:grid;grid-template-columns:1fr 1fr;gap:17px}.dashboard-costs>button{display:flex;align-items:center;gap:10px;text-align:left;min-width:0;padding:0}.dashboard-costs>button+button{border-left:1px solid #eeeae5;padding-left:17px}.cost-icon{display:grid;place-items:center;width:32px;height:36px;border-radius:8px;flex:none;font-size:20px}.cost-icon.energy{color:#a698bd;background:#f5f1fa}.cost-icon.interest{color:#c8aa69;background:#faf6eb;font-size:16px}.dashboard-costs strong{font-size:12px;font-weight:500}.dashboard-costs small{display:block;font-size:9px;color:#9b9388;line-height:1.5;margin-top:6px}.cost-value{margin-left:auto;text-align:right;font-size:12px;white-space:nowrap}.dashboard-assistant{background:linear-gradient(125deg,#fff 20%,#f6f5fc);position:relative;padding-right:55px}.dashboard-assistant>.sun{position:absolute;top:25px;right:23px;width:22px;height:22px;opacity:.65}.dashboard-assistant p{font-size:11px;line-height:1.7;color:#8b8379;margin:9px 0 17px}.dashboard-assistant .small-button{font-size:11px;gap:15px}.dashboard-note{font-size:10px;color:#a39c91!important;margin:0;line-height:1.6}
@media(max-width:1250px){.dashboard-kpi{padding:0 15px}.dashboard-main-grid{grid-template-columns:1fr 1fr;gap:16px}.dashboard-bottom-grid{grid-template-columns:1fr}.dashboard-heading{align-items:flex-start}.spend-columns{gap:10px}.dashboard-panel{padding:19px}.dashboard-kpi>strong{font-size:25px}}
@media(max-width:850px){.dashboard-main-grid{grid-template-columns:1fr}.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:25px}.dashboard-kpi:nth-child(2){border:0}.dashboard-heading{flex-direction:column;gap:18px}.dashboard-period{flex-direction:row;align-items:center;gap:12px}}
@media(max-width:700px){.in-dashboard .collection{padding:68px 20px 28px}.in-dashboard .hero-art{left:15%;height:210px;opacity:.35}.dashboard-heading h1{font-size:29px}.dashboard-heading{margin-bottom:26px}.dashboard-kpi{padding:0 13px}.dashboard-kpi>strong{font-size:24px}.dashboard-kpi>strong small{font-size:13px}.dashboard-kpi p{font-size:9px}.dashboard-kpi>span{font-size:10px}.dashboard-body{gap:16px}.dashboard-costs{grid-template-columns:1fr}.dashboard-costs>button+button{border-left:0;border-top:1px solid #eeeae5;padding:16px 0 0}.dashboard-panel-heading{gap:10px}.dashboard-panel h2{font-size:13px}}
/* Shared first-version dashboard for municipal finance, procurement and leadership. */
.dashboard-result{margin-top:23px;padding:18px;background:#f7faf8;border:1px solid #e8eee9;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.dashboard-result>span{display:flex;align-items:center;gap:7px;font-size:11px;color:#6f8076}.dashboard-result>span svg{width:14px;height:14px}.dashboard-result>strong{font-size:17px;font-weight:500;letter-spacing:-.4px;color:#50685a}.dashboard-result>p{margin:0;flex-basis:100%;font-size:10px;line-height:1.6;color:#8b968e}
.in-dashboard .attention-row{padding:12px 0}.in-dashboard .attention-panel .dashboard-panel-heading{margin-bottom:10px}
@media(max-width:700px){.dashboard-period{flex-wrap:wrap}.dashboard-kpi p{line-height:1.6}}
/* Minimal dashboard: full-width artwork and stable surfaces on hover. */
.in-dashboard .hero-art{left:0;right:0;width:100%;height:260px;border-radius:0;opacity:.45}
.in-dashboard .dashboard-kpi:hover,.in-dashboard .attention-row:hover,.in-dashboard .dashboard-costs>button:hover{background:transparent}
.in-dashboard .dashboard-kpi>span{margin-bottom:12px}
.in-dashboard .dashboard-panel-heading{margin-bottom:20px}
.in-dashboard .dashboard-panel-heading h2{margin-bottom:0}
.in-dashboard .dashboard-kpis{padding:23px 0}
.in-dashboard .dashboard-result{margin-top:25px}
@media(max-width:700px){.in-dashboard .hero-art{left:0;width:100%;height:230px;opacity:.35}}
/* Sidebar hierarchy: primary navigation, expandable modules, chat history. */
.modules-section{margin-top:30px}
.modules-section+ .nav-section{margin-top:30px}
.module-toggle .module-chevron{margin-left:auto;color:#99958e;transition:transform .18s}
.module-toggle .module-chevron svg{width:13px;height:13px}
.module-toggle[aria-expanded="false"] .module-chevron{transform:rotate(-90deg)}
.module-children{border-left:1px solid #e7e3dd;margin:3px 0 9px 17px;padding-left:12px}
.module-children .text-item{font-size:13px;color:#77716a;min-height:33px}
.module-children .text-item.active{background:#f2f0ee;color:#151412}
/* Light account popover, anchored above the sidebar profile. */
.profile-popover{position:fixed;inset:auto;margin:0;width:292px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);overflow:auto;padding:0;border:1px solid #dedbd6;border-radius:13px;background:#fffefd;color:#282620;box-shadow:0 12px 40px #24201b18,0 2px 7px #24201b0a;font-family:Inter,sans-serif}
.profile-popover::backdrop{background:transparent}
.profile-menu-identity{display:flex;align-items:center;gap:11px;padding:19px 17px 18px;border-bottom:1px solid #eeebe6}
.profile-initials{width:39px;height:39px;flex:none;display:grid;place-items:center;border-radius:50%;background:linear-gradient(140deg,#efe7bd,#d3eeeb 60%,#dfdef3);border:1px solid #fff;color:#637071;font-size:12px;font-weight:500;letter-spacing:.3px}
.profile-menu-identity>div{display:flex;flex-direction:column;gap:5px}.profile-menu-identity strong{font-size:14px;font-weight:500}.profile-menu-identity>div>span{font-size:11px;color:#918b81}.profile-identity-mark{margin-left:auto;color:#9d978d}.profile-identity-mark svg{width:15px;height:15px}
.profile-menu-group{padding:8px;border-bottom:1px solid #eeebe6}.profile-menu-group button{display:flex;align-items:center;gap:11px;text-align:left;width:100%;height:37px;padding:0 11px;border-radius:6px;font-size:13px;font-weight:400;background:transparent}.profile-menu-group button>i{color:#8c877f}.profile-menu-group button svg{width:18px;height:18px;stroke-width:1.4}.profile-menu-group button:hover,.profile-workspace>button:hover{background:#f3f1ee}.profile-menu-group button:focus-visible,.profile-workspace>button:focus-visible{outline:2px solid #aaa0cb;outline-offset:-2px}
.profile-workspace{padding:16px 17px;border-bottom:1px solid #eeebe6}.profile-workspace h2{font:9px 'Geist Mono',monospace;letter-spacing:.6px;color:#a09a90;margin:0 0 12px}.profile-workspace>button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:6px;border-radius:7px;margin-left:-5px}.profile-workspace>button>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.profile-workspace strong{font-size:13px;font-weight:500}.profile-workspace small{font-size:10px;color:#979083}.profile-workspace>button>i{margin-left:auto;color:#87a396}.profile-workspace>button>i svg{width:15px;height:15px}
.profile-municipality{width:31px;height:35px;display:block;position:relative;overflow:hidden;flex:none;background:#f2f7fa;border:1px solid #e6edf1;border-radius:6px}.profile-municipality img{position:absolute;left:5px;top:5px;max-width:none;width:63px;height:24px}
.profile-logout{border-bottom:0;padding:9px 8px}.profile-logout button{color:#79635c}.profile-logout button>i{color:#a18c83}.profile[aria-expanded="true"]{background:#f2f0ee;border-radius:6px}
.profile-account{display:flex;align-items:center;flex-direction:column;gap:12px;padding:12px 0}.profile-account .profile-initials{width:52px;height:52px;font-size:16px}.profile-account>strong{font-size:15px;font-weight:500}.profile-account p{font-size:12px;color:#8a8176;margin:0}
.profile-setting{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #eeebe6;font-size:12px}.profile-setting>span{color:#8b8175}.profile-setting strong{font-weight:500}.support-copy h3{font-size:14px;font-weight:500}.support-copy p,.logout-description{font-size:12px;line-height:1.7;color:#81786d}
/* Match account-menu rows to the sidebar navigation. */
.profile-menu-group button{min-height:34px;height:auto;padding:8px 9px;gap:9px;border-radius:5px;font-size:13px;line-height:normal;font-weight:400}
.profile-menu-group button>i{color:#54544e}
.profile-menu-group button svg{width:18px;height:18px;stroke-width:1.25}
.profile-menu-group{padding:8px}
.profile-menu-group button:hover{background:#f3f2ef}
.profile-logout button{color:#79635c}
.profile-logout button>i{color:#a18c83}
.avatar.profile-initials,.profile-initials{display:grid;place-items:center;width:30px;height:30px;flex:none;padding:0;border-radius:50%;background:linear-gradient(140deg,#efe7bd,#d3eeeb 60%,#dfdef3);border:1px solid #fff;color:#637071;font:500 10px/1 Inter,sans-serif;letter-spacing:.3px}
.profile-menu-identity{gap:9px;padding:16px 17px}
.profile-menu-identity strong{font-size:13px;font-weight:500}
.profile-account .profile-initials{width:30px;height:30px;font-size:10px}
@media(max-width:700px){.profile-menu-group button{min-height:36px}}
/* Workspace switcher: same visual language as the profile popover. */
.workspace-popover{width:292px}
.workspace-menu-heading{display:flex;align-items:flex-start;gap:10px;padding:17px;border-bottom:1px solid #eeebe6}.workspace-menu-heading>div{display:flex;min-width:0;flex-direction:column;gap:5px}.workspace-menu-heading strong{font-size:14px;font-weight:500}.workspace-menu-heading span{font-size:11px;line-height:1.45;color:#918b81}.workspace-connect-heading .icon-button{width:30px;height:30px;flex:none;margin:-5px 0 0 -5px}.workspace-connect-heading .icon-button svg{width:16px;transform:rotate(180deg)}
.workspace-menu-list{padding:8px;border-bottom:1px solid #eeebe6}.workspace-menu-list>button,.workspace-connect-results>button{display:flex;width:100%;min-height:52px;align-items:center;gap:10px;padding:7px 9px;border-radius:7px;text-align:left}.workspace-menu-list>button:hover,.workspace-connect-results>button:hover{background:#f3f1ee}.workspace-menu-list>button:focus-visible,.workspace-connect-results>button:focus-visible,.workspace-menu-connect>button:focus-visible{outline:2px solid #aaa0cb;outline-offset:-2px}.workspace-menu-list>button>span:nth-child(2),.workspace-connect-results>button>span:nth-child(2){display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.workspace-menu-list strong,.workspace-connect-results strong,.workspace-menu-connect strong{overflow:hidden;font-size:13px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.workspace-menu-list small,.workspace-connect-results small,.workspace-menu-connect small{font-size:10px;color:#979083}.workspace-menu-list>button>i{margin-left:auto;color:#55826d}.workspace-menu-list>button>i svg{width:16px;height:16px}
.workspace-menu-mark{position:relative;display:grid;width:34px;height:34px;flex:none;place-items:center;overflow:hidden;border:1px solid #e6edf1;border-radius:7px;background:#f2f7fa}.workspace-menu-mark img{position:absolute;left:5px;top:5px;width:63px;max-width:none;height:24px}.workspace-menu-initials{background:#f1f0ed;color:#6f6b63;font-size:10px;font-weight:600;letter-spacing:.3px}
.workspace-menu-connect{padding:8px}.workspace-menu-connect>button{display:flex;width:100%;min-height:52px;align-items:center;gap:10px;padding:7px 9px;border-radius:7px;text-align:left}.workspace-menu-connect>button:hover{background:#f3f1ee}.workspace-menu-connect>button>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:4px}.workspace-connect-icon{display:grid;width:34px;height:34px;flex:none;place-items:center;border:1px dashed #c9c4bc;border-radius:7px;color:#706b63}.workspace-connect-icon svg{width:17px;height:17px}
.workspace-menu-search{position:relative;display:block;margin:12px 12px 8px}.workspace-menu-search>i{position:absolute;left:11px;top:50%;z-index:1;display:grid;transform:translateY(-50%);color:#8f8a82}.workspace-menu-search svg{width:16px;height:16px}.workspace-menu-search input{box-sizing:border-box;width:100%;height:40px;margin:0;padding:0 12px 0 36px;border:1px solid #dedbd6;border-radius:8px;background:#fff;font:13px Inter,sans-serif;outline:0}.workspace-menu-search input:focus{border-color:#aaa0cb;box-shadow:0 0 0 3px #aaa0cb22}.workspace-connect-results{min-height:76px;padding:0 8px 8px}.workspace-connect-results>p{margin:0;padding:15px 12px;color:#8b857d;font-size:11px;line-height:1.5}.workspace-add-label{display:flex;align-items:center;gap:4px;margin-left:auto;color:#5d567f;font-size:11px;font-weight:500}.workspace-add-label svg{width:14px;height:14px}
.workspace[aria-expanded="true"]{background:#f2f0ee;border-radius:7px}
@media(max-width:700px){.workspace-menu-list>button,.workspace-menu-connect>button,.workspace-connect-results>button{min-height:56px}}
/* Smartin welcome and task-oriented chat selector. */
.smartin-hero{display:block;width:62px;height:62px;object-fit:contain;margin:0 0 15px -10px}
.smartin-thinking{width:30px;height:30px;object-fit:contain}
.model>i svg{width:14px;height:14px;color:#998bb8}
.chat-modes{position:fixed;inset:auto;margin:0;width:315px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);overflow:auto;border:1px solid #e2ded8;border-radius:11px;padding:8px;background:#fffefd;box-shadow:0 9px 30px #30271e14;color:#29261f}
.chat-modes::backdrop{background:transparent}
.chat-modes h2{font:9px 'Geist Mono',monospace;letter-spacing:.7px;color:#a19a8f;margin:10px 10px 9px}
.chat-modes button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px;border-radius:6px;background:transparent}
.chat-modes button:hover{background:#f5f3f0}.chat-modes button>i{color:#8d8496}.chat-modes button svg{width:17px;height:17px}.chat-modes button>span:nth-child(2){flex:1;min-width:0}.chat-modes strong{font-size:12px;font-weight:500;display:block}.chat-modes small{display:block;font-size:10px;color:#938a7e;line-height:1.5;margin-top:4px}.mode-selected{font-size:12px;color:#9d91b7;visibility:hidden}.chat-modes [aria-pressed="true"] .mode-selected{visibility:visible}.chat-modes button:focus-visible{outline:2px solid #b6aad1;outline-offset:-2px}
/* Categorized suggestions beneath the chat composer. */
.topic-chips{gap:9px}
.topic-chips button{min-height:35px;padding:8px 11px;font-size:12px;gap:8px}
.topic-chips button svg{width:16px;height:16px;color:#817d77}
.topic-chips button .topic-arrow svg{width:12px;height:12px;color:#9a958d}
.topic-chips button[aria-expanded="true"]{background:#f5f4f2;border-color:#e1ded9}
.topic-chips button[aria-expanded="true"] .topic-arrow{transform:rotate(180deg)}
.topic-chips button:hover{background:#f7f6f4;border-color:#e1ded9}
.topic-suggestions{position:fixed;inset:auto;margin:0;padding:10px;width:374px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;background:#fff;border:1px solid #e6e3de;border-radius:16px;box-shadow:0 6px 20px #28201708}
.topic-suggestions::backdrop{background:transparent}
.topic-suggestions>button{display:block;width:100%;text-align:left;padding:11px 12px;border-radius:7px;font:400 13px/1.65 Inter,sans-serif;color:#36322b;background:transparent}
.topic-suggestions>button:hover{background:#f6f5f2}
.topic-suggestions>button:focus-visible{outline:2px solid #c2b8db;outline-offset:-2px;background:#faf9fc}
@media(max-width:700px){.topic-chips{max-width:none;gap:7px}.topic-chips button{font-size:11px;padding:8px;gap:6px}.topic-suggestions>button{font-size:12px}}
/* Smartin peeks over the upper-right edge of the new-chat composer. */
.home{margin-top:190px}
.home>h1{padding-right:165px;position:relative;z-index:1}
#home-composer{position:relative;isolation:isolate}
.smartin-peek{position:absolute;width:170px;height:170px;object-fit:contain;right:22px;top:-141px;z-index:0;pointer-events:none;user-select:none}
#home-composer>.composer{z-index:1;background:#fff}
@media(max-width:1100px){.home{margin-top:175px}.home>h1{padding-right:130px}.smartin-peek{width:145px;height:145px;right:14px;top:-120px}}
@media(max-width:700px){.home{margin-top:160px}.home>h1{padding-right:85px;font-size:25px;max-width:none}.smartin-peek{width:110px;height:110px;right:5px;top:-92px}}
/* Cached pixel layers: compositor animation, no per-frame JavaScript drawing. */
.pixel-shimmer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;animation:pixel-shimmer 7s ease-in-out infinite alternate;will-change:opacity}
.pixel-shimmer-1{animation-duration:9s;animation-delay:-4s}
.pixel-shimmer-2{animation-duration:11s;animation-delay:-7s}
@keyframes pixel-shimmer{from{opacity:.05}to{opacity:.8}}
.pixels-paused .pixel-shimmer{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.pixel-shimmer{animation:none!important;opacity:0;will-change:auto}}
/* Compact insights, sharing the dashboard's quiet surfaces and typography. */
.insight-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.insight-tile{--tone:#899e91;--tint:#edf3ef;display:block;min-width:0;min-height:163px;text-align:left;padding:18px 17px 20px;border:1px solid #e6e3de;border-radius:11px;background:#ffffffed;color:#282620}
.insight-tile:hover{background:#ffffffed;border-color:#c9c3bb}
.insight-tile:focus-visible{outline:2px solid #b7aaca;outline-offset:3px}
.insight-tile.tone-sand{--tone:#b29d78;--tint:#f6f1e7}.insight-tile.tone-lavender{--tone:#a092bc;--tint:#f1edf7}.insight-tile.tone-rose{--tone:#b49197;--tint:#f7edef}.insight-tile.tone-blue{--tone:#8b9fba;--tint:#edf2f8}
.insight-tile-art{height:64px;position:relative;margin-bottom:13px;display:flex;align-items:center}
.insight-tile-art>svg{width:124px;height:56px;max-width:calc(100% - 20px);stroke:var(--tone);stroke-width:1.5;fill:none;overflow:visible}
.insight-tile-art .art-soft{fill:var(--tint);stroke:none}.insight-tile-art .art-guide{stroke:#e6e3df;stroke-width:1}.insight-tile-art .art-fill{fill:var(--tone);stroke:none}
.insight-tile-arrow{position:absolute;top:0;right:0;font-size:13px;color:#b0a89c}
.insight-tile h2{margin:0 0 7px;font-size:13px;font-weight:500;letter-spacing:-.2px;line-height:1.4}
.insight-tile p{margin:0;font-size:10px;line-height:1.5;color:#948b7f}
.insight-module-intro{font-size:13px;line-height:1.7;color:#736a5e}
@media(max-width:1200px){.insight-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.insight-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.insight-tile{padding:14px;min-height:154px}.insight-tile h2{font-size:12px}.insight-tile p{font-size:10px}}
@media(max-width:360px){.insight-tiles{grid-template-columns:1fr}}
/* Inbox: compact queue and a focused case workspace. */
.ib-shell{background:#ffffffee;border:1px solid #e7e3dd;border-radius:12px;padding:0 20px}
.ib-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eeebe7;padding:8px 0 0}
.ib-tabs{display:flex;gap:20px}.ib-tabs button{font-size:12px;color:#91897e;padding:15px 0;border-bottom:2px solid transparent;background:none}.ib-tabs button[aria-pressed=true]{color:#29251f;border-color:#aa9ebf}.ib-tabs button span{font:9px 'Geist Mono',monospace;margin-left:6px;color:#a59b8e}
.ib-tools{display:flex;align-items:center;gap:9px;padding:17px 0;flex-wrap:wrap}.ib-search{display:flex;align-items:center;gap:8px;flex:1;min-width:180px;border:1px solid #e6e1da;background:#fff;border-radius:7px;padding:9px 11px;color:#a29688}.ib-search input{border:0;outline:0;background:none;width:100%;font-size:12px}.ib-search:focus-within{border-color:#b1a3c6}
.ib-tools select,.ib-filters select,.ib-workflow select{font:11px Inter,sans-serif;color:#71685d;border:1px solid #e6e1da;border-radius:6px;background:#fff;padding:9px}.ib-tools .small-button{min-height:34px}.ib-tools [aria-pressed=true]{background:#f5f1f8;border-color:#ddd3e8}
.ib-filters{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;padding:0 0 17px}.ib-filters label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#9a8f82;flex:1}.ib-filters select{width:100%}
.ib-row{display:flex;align-items:center;gap:13px;width:100%;text-align:left;border-top:1px solid #eeeae5;padding:20px 0;background:transparent;min-height:89px}.ib-row:hover{background:#fcfaf7}.ib-read-dot{width:5px;height:5px;flex:none;background:transparent;border-radius:50%}.ib-row.unread .ib-read-dot{background:#a298c1}.ib-supplier-avatar{width:34px;height:34px;border:1px solid #eae5de;border-radius:8px;background:#f7f5f1;display:grid;place-items:center;flex:none;font:10px 'Geist Mono',monospace;color:#9a8c7a}.ib-row-copy{flex:1;min-width:0}.ib-row-copy>strong{font-size:12px;font-weight:400;line-height:1.5;display:block}.ib-row.unread .ib-row-copy>strong{font-weight:500}.ib-row-copy small{display:flex;gap:7px;flex-wrap:wrap;font-size:10px;color:#9a8f80;margin-top:6px;line-height:1.5}.ib-row-copy small>span{color:#c3b8aa}.ib-flag{color:#ac9672;margin-left:5px}
.ib-row-amount{font-size:12px;min-width:105px;text-align:right;color:#6e6254}.ib-row-amount small{display:block;margin-top:7px;font-size:9px;color:#a19585}.ib-status{display:inline-flex;white-space:nowrap;align-items:center;font-size:10px;padding:5px 8px;border:1px solid #e8e0d3;border-radius:5px;background:#faf6ee;color:#9b865c}.ib-status.s-working{background:#f3eff8;color:#9786af;border-color:#e4ddeb}.ib-status.s-resolved{background:#edf5f0;color:#789282;border-color:#dce9e1}.ib-status.s-dismissed{background:#f3f1ee;color:#9b9286;border-color:#e7e2db}.ib-row-date{font:9px 'Geist Mono',monospace;color:#a89b8a;width:39px;text-align:right}
.ib-list-footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #eeeae5;padding:16px 0;font-size:10px;color:#a59988}.ib-group summary{cursor:pointer;padding:13px 0;font-size:12px;color:#7e7060}.ib-group summary span{float:right;font-size:10px;color:#a69885}.ib-empty{padding:40px 10px;color:#988a79;display:flex;align-items:center;justify-content:center;gap:15px;font-size:12px}
.ib-detail-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:29px}.ib-detail-toolbar>div{display:flex;gap:7px}.ib-detail-heading{margin-bottom:28px}.ib-case-meta{font:10px 'Geist Mono',monospace;color:#8c7f70;margin-bottom:13px}.ib-case-meta span,.ib-detail-heading p span{margin:0 7px;color:#b4a793}.ib-detail-heading h1{font-size:28px;margin:0 0 12px;letter-spacing:-.7px;line-height:1.35}.ib-detail-heading p{font-size:12px;margin:0;color:#918372}
.ib-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;align-items:start}.ib-evidence,.ib-workflow{border:1px solid #e6e0d7;border-radius:11px;background:#fff}.ib-detail-tabs{display:flex;gap:23px;border-bottom:1px solid #eee8e0;padding:0 23px}.ib-detail-tabs button{font-size:12px;color:#978976;padding:17px 0;background:none;border-bottom:2px solid transparent}.ib-detail-tabs button[aria-pressed=true]{border-color:#ae9cbf;color:#3b3228}.ib-detail-tabs span{font-size:10px;margin-left:5px}.ib-tab-content{padding:25px}.ib-tab-content h2,.ib-workflow h2{font-size:14px;font-weight:500;margin:0 0 13px}.ib-tab-content p{font-size:12px;line-height:1.8;color:#857560;margin:0 0 17px}.ib-finding-summary>strong{display:block;font-size:30px;font-weight:500;letter-spacing:-.8px;margin:16px 0}.ib-finding-summary>.ib-status{font-size:9px}.ib-basis{padding-top:21px;border-top:1px solid #eee8df;margin-top:23px}.ib-reference{display:flex;gap:25px;font-size:10px;color:#a08f78;flex-wrap:wrap}.ib-reference strong{font-weight:400;color:#796951;margin-left:6px}.ib-context{margin-top:24px;border:1px solid #eee8df;border-radius:7px;padding:13px}.ib-context summary{font-size:11px;color:#8c7b63;cursor:pointer}.ib-context p{margin:12px 0 0;font-size:11px}.ib-comments{margin-top:28px}.ib-comments textarea,.ib-field textarea{width:100%;border:1px solid #e5dccf;border-radius:7px;padding:12px;font:12px/1.7 Inter,sans-serif;resize:vertical;background:#fff;min-height:80px}.ib-comments form{text-align:right}.ib-comments form button{margin-top:9px}.ib-note{padding:13px;background:#faf8f4;border-radius:7px;margin-bottom:12px}.ib-note strong{font-size:10px;font-weight:500;color:#9a896e}.ib-note p{white-space:pre-wrap;margin:6px 0 0;font-size:12px}
.ib-workflow{padding:21px}.ib-workflow>label{display:flex;flex-direction:column;gap:7px;font-size:10px;color:#9a896f;margin-top:18px}.ib-workflow select{width:100%}.ib-side-meta{display:flex;justify-content:space-between;font-size:10px;margin:18px 0;color:#9b8a70}.ib-side-meta strong{font-weight:500;color:#967b53}.ib-checklist{border-top:1px solid #eee5d9;padding-top:18px;margin-top:20px}.ib-workflow h3{font-size:11px;font-weight:500;margin:0 0 12px}.ib-checklist label{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.6;color:#8c7a5f;margin-bottom:13px}.ib-checklist input{margin:3px 0 0;accent-color:#a393b7}.ib-tag-area{margin:23px 0}.ib-tag-area>div{display:flex;flex-wrap:wrap;gap:6px}.ib-tag{font-size:9px;padding:5px 7px;border:1px solid #e9e1d6;border-radius:5px;background:#faf8f4;color:#988367}.ib-primary{background:#37352f;color:#fff;border-radius:6px;padding:10px 15px;font:12px Inter,sans-serif}.ib-primary:hover{background:#49463f}.ib-workflow>.ib-primary,.ib-email{width:100%;justify-content:center}.ib-email{margin-top:9px}.ib-demo{font-size:10px!important;color:#a49783!important;margin:19px 0 0}.ib-document{display:flex;align-items:center;gap:12px;width:100%;padding:14px;border:1px solid #e7dfd3;border-radius:8px;margin:10px 0;text-align:left;background:#fff}.ib-document>span:nth-child(2){flex:1}.ib-document strong{font-size:12px;font-weight:400;display:block;overflow-wrap:anywhere}.ib-document small{display:block;font-size:10px;color:#a08e73;margin-top:6px}.ib-document>.file-type-icon{width:26px;height:35px}.ib-document>.file-type-icon>span{font-size:9px}.ib-activity>div{display:flex;gap:12px;margin-bottom:18px}.ib-activity>div>span{width:6px;height:6px;border-radius:50%;background:#b8a9c5;flex:none;margin-top:8px}.ib-activity p{margin:0;font-size:12px}.ib-activity small{display:block;font-size:9px;color:#aa9980;margin-top:4px}.ib-field{display:flex;flex-direction:column;gap:9px;font-size:12px;margin:16px 0}.ib-field input{margin:0}
@media(max-width:1100px){.ib-row-date{display:none}.ib-supplier-avatar{display:none}.ib-detail-grid{grid-template-columns:minmax(0,1fr) 230px}.ib-workflow{padding:16px}.ib-tabs{gap:12px}.ib-tools select{max-width:140px}}
@media(max-width:800px){.ib-detail-grid{grid-template-columns:1fr}.ib-detail-toolbar{flex-wrap:wrap}.ib-workflow{max-width:none}.ib-detail-heading h1{font-size:25px}.ib-topline{flex-wrap:wrap}.ib-shell{padding:0 13px}.ib-row{flex-wrap:wrap;gap:10px;padding:16px 0}.ib-row-copy{flex-basis:calc(100% - 18px)}.ib-row-amount{margin-left:15px;text-align:left;flex:1}.ib-row-amount small{display:inline;margin-left:10px}.ib-status{font-size:9px}.ib-list-footer{font-size:9px;flex-wrap:wrap}.ib-group summary span{float:none;display:block;margin:7px 0 0}.ib-tools{gap:7px}.ib-search{flex-basis:100%}.ib-filters label{min-width:40%}.ib-detail-tabs{padding:0 17px;gap:18px}.ib-tab-content{padding:18px}.ib-detail-toolbar .small-button{font-size:10px}.ib-topline>.demo-indicator{margin-bottom:8px}}
@media print{.sidebar,.hero-art,.ib-detail-toolbar,.ib-workflow,.ib-comments form,.ib-detail-tabs{display:none!important}.app,main,.collection{height:auto!important;overflow:visible!important}.in-inbox .collection{padding:0!important}.ib-detail-grid{display:block}.ib-evidence{border:0}.ib-demo{display:block}}
.ib-comparison{overflow:auto;margin:20px 0}.ib-comparison table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}.ib-comparison caption{text-align:left;font-size:10px;color:#9b8a72;margin-bottom:9px}.ib-comparison th,.ib-comparison td{padding:10px 12px;border-bottom:1px solid #eee8df;white-space:nowrap}.ib-comparison thead th{font-weight:400;color:#9a896f;background:#faf8f5}.ib-comparison tbody th{font-weight:400;color:#8b795f}.ib-comparison td{color:#5f5140}
/* Persistent 30/70 inbox: independent queue and reader scrolling. */
.in-inbox .collection{padding:32px 24px 24px;height:100dvh;max-height:100dvh;overflow:hidden;display:flex;flex-direction:column}
.in-inbox .hero-art{height:210px;opacity:.35}
.ib-split-heading{flex:none;margin-bottom:22px}.ib-split-heading h1{font:28px 'PT Serif',serif;margin:0 0 7px;letter-spacing:-.6px}.ib-split-heading p{font-size:11px;margin:0;color:#8b8174}
.ib-split{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,7fr);flex:1;min-height:0;border:1px solid #e5e0d9;border-radius:12px;background:#fff;overflow:hidden}
.ib-queue{min-width:0;min-height:0;overflow:auto;border-right:1px solid #e9e4de;background:#fdfcfb;scrollbar-width:thin}
.ib-queue .ib-shell{border:0;border-radius:0;padding:0 14px;background:transparent}
.ib-queue .ib-topline{position:relative;flex-wrap:wrap;padding-top:3px;gap:0}
.ib-queue .ib-topline>.demo-indicator{display:none}
.ib-queue .ib-tabs{gap:13px;flex-wrap:wrap}.ib-queue .ib-tabs button{font-size:11px;padding:14px 0}.ib-queue .ib-tabs button span{font-size:9px;margin-left:4px}
.ib-queue .ib-tools{gap:6px;padding:12px 0}.ib-queue .ib-search{flex-basis:100%;min-width:0;padding:9px;font-size:11px}.ib-queue .ib-search input{font-size:11px}.ib-queue .ib-tools .small-button,.ib-queue .ib-tools select{font-size:10px;min-height:30px;padding:6px 7px}.ib-queue .ib-tools select{flex:1;min-width:0}.ib-queue [data-ib=group]{width:100%;justify-content:flex-start;border:0;box-shadow:none;background:none;padding:3px 0!important;min-height:24px!important;color:#9b8b75}
.ib-queue .ib-filters{gap:8px}.ib-queue .ib-filters label{min-width:40%;font-size:9px}.ib-queue .ib-filters select{font-size:10px;min-width:0;padding:7px}
.ib-queue .ib-row{display:grid;grid-template-columns:5px minmax(0,1fr) auto;gap:8px;min-height:115px;padding:16px 5px;align-items:start;position:relative}
.ib-queue .ib-row[aria-current=true]{background:#f1eef6;border-radius:6px;border-top-color:transparent;box-shadow:inset 2px 0 #afa0c4}
.ib-queue .ib-read-dot{grid-column:1;margin-top:6px}.ib-queue .ib-supplier-avatar{display:none}.ib-queue .ib-row-copy{grid-column:2/4}.ib-queue .ib-row-copy>strong{font-size:12px;line-height:1.5}.ib-queue .ib-row-copy small{font-size:9px;gap:4px;line-height:1.6}.ib-queue .ib-row-amount{grid-column:2;font-size:11px;text-align:left;min-width:0;margin:0}.ib-queue .ib-row-amount small{font-size:9px;display:block;margin:5px 0 0}.ib-queue .ib-status{grid-column:3;font-size:9px;padding:4px 6px}.ib-queue .ib-row-date{display:none}
.ib-queue .ib-list-footer{font-size:9px;flex-wrap:wrap;line-height:1.6}.ib-queue .ib-list-footer>span:nth-child(2){display:none}.ib-queue .ib-group summary{font-size:11px}.ib-queue .ib-group summary span{float:none;display:block;font-size:9px;line-height:1.6;margin-top:5px}.ib-queue .ib-empty{font-size:11px;flex-direction:column;line-height:1.7}
.ib-reader{min-width:0;min-height:0;overflow:auto;padding:24px;scrollbar-width:thin;background:#fff}
.ib-reader-empty{display:grid;place-items:center;height:100%;font-size:13px;color:#a49988}
.ib-reader .ib-detail-toolbar{margin-bottom:24px}.ib-reader .ib-detail-toolbar>[data-ib=back]{display:none}.ib-reader .ib-detail-toolbar>div{width:100%;justify-content:flex-end}
.ib-reader .ib-detail-heading h1{font-size:25px;line-height:1.35}.ib-reader .ib-detail-heading{margin-bottom:22px}.ib-reader .ib-detail-heading p{font-size:11px}.ib-reader .ib-case-meta{font-size:9px;line-height:1.8}
.ib-reader .ib-detail-grid{grid-template-columns:1fr;gap:20px}.ib-reader .ib-evidence{border:0;border-radius:0}.ib-reader .ib-detail-tabs{padding:0}.ib-reader .ib-tab-content{padding:23px 0 0}.ib-reader .ib-finding-summary>strong{font-size:27px}
.ib-reader .ib-workflow{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px;padding:20px;background:#fdfcfb}.ib-reader .ib-workflow>h2{grid-column:1/-1;margin:0}.ib-reader .ib-workflow>label{margin:0}.ib-reader .ib-side-meta{grid-column:1/-1;margin:0;justify-content:flex-start;gap:12px}.ib-reader .ib-checklist{margin:0;padding-top:15px;grid-column:1/-1}.ib-reader .ib-tag-area{grid-column:1/-1;margin:0}.ib-reader .ib-email{margin:0}.ib-reader .ib-demo{font-size:9px!important}
@media(max-width:1000px) and (min-width:701px){.in-inbox .collection{padding:26px 12px 12px}.ib-queue .ib-shell{padding:0 9px}.ib-queue .ib-tabs{gap:8px}.ib-queue .ib-tabs button{font-size:10px}.ib-queue .ib-tabs button span{display:none}.ib-reader{padding:18px}.ib-reader .ib-detail-heading h1{font-size:22px}}
@media(max-width:700px){.in-inbox .collection{padding:60px 12px 12px}.ib-split{display:block;position:relative}.ib-queue{height:100%;border:0}.ib-reader{display:none;height:100%;padding:18px}.ib-split.show-reader .ib-queue{display:none}.ib-split.show-reader .ib-reader{display:block}.ib-reader .ib-detail-toolbar>[data-ib=back]{display:inline-flex}.ib-reader .ib-detail-toolbar>div{width:auto;flex-wrap:wrap}.ib-reader .ib-detail-toolbar{gap:12px}.ib-reader .ib-detail-heading h1{font-size:23px}.ib-reader .ib-workflow{padding:16px;gap:14px}.ib-queue .ib-row{min-height:110px}.ib-queue .ib-tabs{gap:20px}}
@media print{.ib-split-heading,.ib-queue{display:none!important}.ib-split{display:block;border:0;overflow:visible}.ib-reader{display:block;height:auto;overflow:visible;padding:0}.in-inbox .collection{display:block;height:auto}.ib-reader .ib-workflow{display:none}}
/* Inbox refinement: readable compact rows and a sliding segmented control. */
.ib-queue .ib-topline{padding:12px 0;border-bottom:0}
.ib-queue .ib-tabs{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:100%;padding:3px;background:#f0eeeb;border:1px solid #e9e5df;border-radius:8px}
.ib-queue .ib-tabs button{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:4px;margin:0;padding:8px 2px;min-height:33px;border:0;border-radius:5px;font:400 12px/1.3 Inter,sans-serif;color:#898279;background:transparent;white-space:nowrap}
.ib-queue .ib-tabs button[aria-pressed=true]{color:#302b24;font-weight:500;border:0;background:transparent}
.ib-queue .ib-tabs button span{font:400 10px/1 Inter,sans-serif;margin:0;color:#a49b90}
.ib-tab-indicator{position:absolute;left:0;top:3px;bottom:3px;background:#fff;border-radius:5px;box-shadow:0 1px 3px #30271c12;z-index:0;pointer-events:none;transition:transform 180ms ease,width 180ms ease}
.ib-queue .ib-row{min-height:0;padding:12px 7px;grid-template-columns:5px minmax(0,1fr) auto;gap:6px 8px;border-top:1px solid #eeeae5}
.ib-queue .ib-row[aria-current=true]{background:#f2f0ed;border-radius:6px;border-top-color:transparent;box-shadow:none}
.ib-queue .ib-row:hover{background:#f7f5f2}
.ib-queue .ib-row[aria-current=true]:hover{background:#f2f0ed}
.ib-queue .ib-row-copy>strong{font-size:13px;line-height:1.4;font-weight:400;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ib-queue .ib-row.unread .ib-row-copy>strong{font-weight:500}
.ib-queue .ib-row-copy small{font-size:11px;line-height:1.4;margin-top:4px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ib-queue .ib-row-copy small>span{margin:0 5px}
.ib-queue .ib-row-amount{font-size:12px;line-height:1.4;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ib-queue .ib-row-amount small{display:none}
.ib-queue .ib-status{font-size:11px;padding:3px 6px;line-height:1.3}
.ib-queue .ib-tools{padding:0 0 10px}.ib-queue .ib-search input{font-size:12px}.ib-queue .ib-tools .small-button,.ib-queue .ib-tools select{font-size:11px}.ib-queue [data-ib=group]{font-size:11px}
@media(max-width:1000px) and (min-width:701px){.ib-queue .ib-tabs button{font-size:11px}.ib-queue .ib-tabs button span{display:none}.ib-queue .ib-row{padding:11px 5px}.ib-queue .ib-row-copy>strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ib-tab-indicator{transition:none}}
/* Readable case detail: primary content 15px, secondary content at least 13px. */
.ib-reader .ib-detail-heading h1{font-size:28px;line-height:1.35}
.ib-reader .ib-case-meta,.ib-reader .ib-detail-heading p{font-size:13px;line-height:1.6;color:#746d64}
.ib-reader .ib-detail-toolbar .small-button,.ib-reader .ib-detail-toolbar .dashboard-text-link{font-size:13px;min-height:36px}
.ib-reader .ib-detail-tabs button{font-size:14px;padding:15px 0;min-height:44px}
.ib-reader .ib-detail-tabs button span{font-size:13px}
.ib-reader .ib-tab-content h2,.ib-reader .ib-workflow h2{font-size:17px;line-height:1.5}
.ib-reader .ib-tab-content p{font-size:15px;line-height:1.75;color:#625d55}
.ib-reader .ib-finding-summary>strong{font-size:32px;line-height:1.3}
.ib-reader .ib-finding-summary>.ib-status{font-size:13px;padding:6px 9px;color:#786139}
.ib-reader .ib-reference{font-size:13px;line-height:1.6;color:#777064}
.ib-reader .ib-reference strong{color:#514b43}
.ib-reader .ib-comparison table{font-size:14px}
.ib-reader .ib-comparison caption{font-size:13px;color:#787165}
.ib-reader .ib-comparison th,.ib-reader .ib-comparison td{padding:12px}
.ib-reader .ib-comparison thead th,.ib-reader .ib-comparison tbody th{color:#70685b}
.ib-reader .ib-context summary{font-size:14px;color:#6f6555;line-height:1.6}
.ib-reader .ib-context p{font-size:14px}
.ib-reader .ib-workflow>label,.ib-reader .ib-side-meta{font-size:13px;color:#776d5d}
.ib-reader .ib-workflow select{font-size:14px;padding:10px;min-height:42px;color:#4d473e}
.ib-reader .ib-workflow h3{font-size:14px}
.ib-reader .ib-checklist label{font-size:14px;line-height:1.65;color:#655e52;gap:11px}
.ib-reader .ib-checklist input{width:17px;height:17px;flex:none;margin-top:3px}
.ib-reader .ib-tag{font-size:13px;min-height:32px;padding:6px 9px;color:#776954}
.ib-reader .ib-primary,.ib-reader .ib-email,.ib-reader .ib-comments form button{font-size:14px;min-height:42px}
.ib-reader .ib-comments textarea{font-size:15px;line-height:1.65;min-height:110px}
.ib-reader .ib-note strong{font-size:13px;color:#756b5d}
.ib-reader .ib-note p{font-size:15px}
.ib-reader .ib-activity p{font-size:14px}.ib-reader .ib-activity small{font-size:13px;color:#82796a}
.ib-reader .ib-document strong{font-size:14px}.ib-reader .ib-document small{font-size:13px;color:#827664}
.ib-reader .ib-demo{font-size:13px!important;line-height:1.6;color:#82786a!important}
@media(max-width:1000px){.ib-reader .ib-detail-heading h1{font-size:25px}}
/* One case workspace: fixed identity, scrollable evidence, fixed actions. */
.ib-reader{padding:0;overflow:hidden}
.ib-case-layout{height:100%;min-height:0;display:flex;flex-direction:column;background:#fff}
.ib-case-top{flex:none;padding:20px 24px 0;border-bottom:1px solid #e9e5df;background:#fff}
.ib-case-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}
.ib-case-id{font-size:13px;color:#80786d;line-height:1.5}
.ib-case-nav{display:flex;gap:7px;align-items:center}.ib-case-nav .small-button{font-size:13px;min-height:36px}
.ib-case-top h1{font:400 25px/1.35 'PT Serif',serif;letter-spacing:-.45px;margin:0 0 9px}
.ib-case-supplier{font-size:14px!important;line-height:1.5;color:#70695e!important;margin:0 0 18px}
.ib-case-controls{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:12px}
.ib-case-controls label{display:flex;align-items:center;gap:9px;font-size:13px;color:#807769}
.ib-case-controls select{font:14px Inter,sans-serif;color:#433d34;background:#fcfbf9;border:1px solid #e7e1d8;border-radius:6px;padding:8px 28px 8px 10px;min-height:38px;max-width:210px}
.ib-reader .ib-case-top .ib-detail-tabs{border:0;padding:0;gap:25px}
.ib-reader .ib-case-top .ib-detail-tabs button{font-size:14px;min-height:44px;padding:13px 0}
.ib-case-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}
.ib-reader .ib-case-scroll .ib-tab-content{padding:25px}
.ib-reader .ib-case-scroll h2{font-size:17px;font-weight:500;margin:0 0 12px;line-height:1.5}
.ib-reader .ib-case-scroll p{font-size:15px;line-height:1.75;color:#625d55}
.ib-effect{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:14px;flex-wrap:wrap}.ib-effect>span{font-size:13px;color:#82796c}.ib-effect>strong{font-size:29px;letter-spacing:-.6px;font-weight:500}
.ib-next-action{margin:21px 0 0;padding:17px 19px;border-radius:9px;background:#f7f5fa}
.ib-reader .ib-next-action h2{font-size:14px;margin:0 0 6px;color:#766a88}.ib-reader .ib-next-action p{margin:0;font-size:15px;color:#514c59}
.ib-case-evidence{border-top:1px solid #eae5de;margin-top:25px;padding-top:24px}
.ib-reader .ib-reference{gap:10px 18px}.ib-reference button{padding:6px 0;font-size:13px;color:#766582;text-align:left;text-decoration:underline;text-decoration-color:#d4c9df;text-underline-offset:4px;background:transparent}
.ib-followup{margin-top:26px;border:1px solid #e9e3da;border-radius:9px}
.ib-followup>summary{cursor:pointer;padding:16px;font-size:15px;line-height:1.5;color:#5e5548}
.ib-followup>summary>span:last-child{font-size:13px;color:#8c8274;margin-left:12px}
.ib-followup-body{padding:0 18px 19px}.ib-reader .ib-followup .ib-side-meta{font-size:13px;color:#746a5c;margin:0 0 18px}.ib-reader .ib-followup h3{font-size:14px;font-weight:500}.ib-reader .ib-followup .ib-checklist{padding:0;border:0;margin:0}
.ib-action-bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #e8e3dc;background:#fff;padding:15px 24px}
.ib-action-bar .small-button,.ib-action-bar .ib-primary{font-size:14px;min-height:42px;padding:10px 16px}.ib-action-bar .small-button{gap:8px}
.ib-mobile-back{display:none}
.ib-reader .ib-readable-note{font-size:13px!important;line-height:1.6;color:#887f70!important;margin:20px 0 0}
.ib-note-input{display:block;width:100%;resize:vertical;min-height:130px;border:1px solid #dfd7ca;border-radius:8px;padding:13px;font:15px/1.65 Inter,sans-serif;margin-bottom:17px}
#ib-resolve .ib-field,#ib-resolve textarea,#ib-resolve .ib-primary{font-size:15px;line-height:1.6}
.ib-document-sheet{margin-top:20px;border:1px solid #e6e0d7;border-radius:9px;padding:25px;background:#fdfcf9}.ib-document-sheet h2{margin-top:17px!important;overflow-wrap:anywhere}.ib-document-sheet dl{font-size:14px}.ib-document-sheet dl>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #eae4da}.ib-document-sheet dt{color:#8a7d68}.ib-document-sheet dd{margin:0;text-align:right;overflow-wrap:anywhere}
.ib-inline-document .dashboard-text-link{font-size:14px;min-height:36px}
@media(max-width:1100px){.ib-case-top{padding:16px 18px 0}.ib-case-topline{flex-wrap:wrap}.ib-case-controls{gap:10px}.ib-case-controls label{flex-direction:column;align-items:flex-start;gap:5px}.ib-reader .ib-case-scroll .ib-tab-content{padding:20px}.ib-case-top h1{font-size:23px}.ib-action-bar{padding:13px 18px}}
@media(max-width:700px){.ib-reader{padding:0;height:100%}.ib-mobile-back{display:inline-flex;font-size:13px;min-height:34px}.ib-case-id{display:none}.ib-case-topline{gap:7px;flex-wrap:nowrap;margin-bottom:12px}.ib-case-nav{gap:5px}.ib-case-nav .small-button{font-size:12px;padding:6px 7px}.ib-case-top{padding:12px 15px 0}.ib-case-top h1{font-size:21px;margin-bottom:7px}.ib-case-supplier{font-size:13px!important;margin-bottom:12px}.ib-case-controls label{flex:1;min-width:0}.ib-case-controls select{font-size:13px;width:100%;max-width:none;padding:8px 6px}.ib-case-controls{margin-bottom:4px}.ib-reader .ib-case-scroll .ib-tab-content{padding:19px 16px}.ib-action-bar{padding:12px 15px}.ib-action-bar .small-button,.ib-action-bar .ib-primary{font-size:13px;padding:10px}.ib-action-bar .small-button i{display:none}.ib-case-layout .ib-comparison th,.ib-case-layout .ib-comparison td{white-space:normal;min-width:90px}.ib-case-top .ib-detail-tabs{gap:22px!important}.ib-followup>summary>span:last-child{display:block;margin-left:16px}.ib-document-sheet{padding:17px}}
@media print{.ib-case-layout,.ib-case-scroll{display:block;height:auto;overflow:visible}.ib-case-top{padding:0}.ib-case-nav,.ib-action-bar,.ib-case-controls,.ib-detail-tabs,.ib-mobile-back{display:none!important}.ib-reader .ib-case-scroll .ib-tab-content{padding:0}}

/* Unread inbox count, aligned with the sidebar typography. */
.sidebar .inbox-unread-badge{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:18px;padding:0 5px;border-radius:999px;background:#eeebf6;color:#665582;font:500 11px/1 Inter,Arial,sans-serif;font-variant-numeric:tabular-nums;flex-shrink:0}


/* Shared dropdowns and assignee avatars */
.user-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:26px;height:26px;border-radius:50%;font:500 10px/1 Inter,Arial,sans-serif;letter-spacing:.2px;color:#476779;background:#e1ebed}
.avatar-blue{background:linear-gradient(135deg,#e8ebca,#d0e9f9);color:#467689}.avatar-purple{background:#eee6f5;color:#76578d}.avatar-green{background:#e1eee7;color:#4e7660}.avatar-gold{background:#f3ead7;color:#856a3e}.avatar-neutral{background:#eceae6;color:#80796e}
.custom-select-trigger{display:inline-flex;align-items:center;gap:8px;justify-content:space-between;min-height:38px;padding:7px 10px;background:#fff;border:1px solid #e7e2dc;border-radius:7px;color:#433d34;font:400 14px/1.35 Inter,Arial,sans-serif;text-align:left;min-width:0}
.custom-select-trigger>span:not(.user-avatar){flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-select-trigger>svg{width:16px;height:16px;flex-shrink:0;color:#867f76}.custom-select-trigger:hover,.custom-select-trigger[aria-expanded=true]{background:#f7f5f9;border-color:#cfc5dd}
.custom-select-menu{position:fixed;z-index:1000;overflow:auto;padding:5px;border:1px solid #e7e2dc;border-radius:11px;background:#fff;box-shadow:0 8px 28px #29213618;color:#433d34;font:400 14px/1.4 Inter,Arial,sans-serif}
.custom-select-option{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:9px 10px;border-radius:6px;text-align:left;font:inherit}.custom-select-option:hover,.custom-select-option:focus-visible{background:#f4f1f8;outline:none}.custom-select-option[aria-selected=true]{background:#f1edf6}.custom-option-label{flex:1;min-width:0}.custom-option-label small{display:block;margin-top:3px;font-size:12px;color:#82798a}.custom-option-check{width:16px;color:#796092}.user-select-menu .user-avatar{width:32px;height:32px;font-size:11px}
.ib-case-controls .custom-select-trigger{min-width:142px;max-width:230px}.ib-case-controls [data-select-id=ib-owner]{min-width:184px}
.ib-queue .ib-tools .custom-select-trigger{flex:1;font-size:13px;min-height:34px}.ib-filters label .custom-select-trigger{width:100%;margin-top:5px;font-size:13px}
.ib-queue .ib-row-amount{align-items:flex-start;flex-direction:column;gap:7px}.ib-queue .ib-row-amount .ib-row-owner{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;color:#6d665c}.ib-row-owner .user-avatar{width:22px;height:22px;font-size:9px}.ib-queue .ib-status{align-self:end}
@media(max-width:700px){.ib-case-controls .custom-select-trigger,.ib-case-controls [data-select-id=ib-owner]{width:100%;min-width:0;font-size:13px}.ib-case-controls .user-avatar{width:22px;height:22px}}
.ib-reader-empty{padding:24px;font-size:15px;color:#71695f}.ib-queue [aria-busy=true]{opacity:.7}.nav-item[aria-busy=true]{cursor:progress}#ib-pagination{display:flex;align-items:center;gap:6px;font-size:12px}.hero-art{background-image:url('aurora.svg');background-size:100% 100%}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.ib-tab-indicator{transition:none!important}}
.hero-art.pixels-painted{background-image:none}

/* Collapsible icon rail: the sidebar remains present in both states. */
.sidebar{transition:width 280ms cubic-bezier(.22,1,.36,1),padding 280ms cubic-bezier(.22,1,.36,1);overflow:hidden}
.sidebar .nav-item{white-space:nowrap;position:relative;flex-shrink:0;min-height:38px}
.sidebar .nav-label,.sidebar #workspace-name,.sidebar .profile>span:not(.avatar){transition:opacity 160ms ease,transform 220ms ease;white-space:nowrap}
.sidebar .nav-label{overflow:hidden}.sidebar .brand-row{flex-shrink:0;transition:height 280ms cubic-bezier(.22,1,.36,1)}
.app.collapsed .sidebar{display:flex;width:68px;padding:14px 10px 12px}
.app.collapsed .sidebar-reopen{display:none}
.app.collapsed .brand-row{height:72px;margin:0 0 12px;flex-direction:column;justify-content:center;gap:6px}
.app.collapsed .brand-row .brand{display:none}.app.collapsed .brand-row [data-action=collapse]{order:-1}
.app.collapsed .sidebar .nav-item{width:48px;padding:10px 15px;gap:0}
.app.collapsed .sidebar .nav-label,.app.collapsed #workspace-name,.app.collapsed .profile>span:not(.avatar){opacity:0;transform:translateX(-5px);width:0;overflow:hidden;pointer-events:none}
.app.collapsed .workspace{width:48px;padding:7px 15px;gap:0;justify-content:center;background:transparent;border-color:transparent;box-shadow:none}
.app.collapsed .workspace>i,.app.collapsed .module-chevron,.app.collapsed .profile>i{display:none}
.app.collapsed .module-children,.app.collapsed .nav-section:not(.modules-section){display:none}
.app.collapsed .modules-section{margin-top:22px;padding-top:15px;border-top:1px solid #ecebea}.app.collapsed .modules-section h2{display:none}
.app.collapsed .sidebar-scroll{overflow-x:hidden}.app.collapsed .profile{width:48px;padding:9px;justify-content:center;gap:0}.app.collapsed .profile .avatar{flex-shrink:0}
.app.collapsed .inbox-unread-badge{position:absolute;right:1px;top:1px;font-size:9px;min-width:14px;max-width:29px;height:16px;line-height:16px;padding:0 3px}
.app.collapsed .chat-header{padding-left:28px}
@media(max-width:700px){.app main{margin-left:68px}.app.collapsed .sidebar{box-shadow:none}.app:not(.collapsed) .sidebar{width:250px}.app:not(.collapsed) main::after{pointer-events:auto}.app.collapsed .home{width:calc(100% - 28px)}.app.collapsed .collection{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){.sidebar,.sidebar *{transition:none!important}}

.hero-art.pixels-entering .pixel-shimmer{animation:none}.hero-art:not(.pixels-painted):not(.pixels-entering) .pixel-shimmer{visibility:hidden}

/* One opacity animation per placeholder group; no timers or per-cell effects. */
.skeleton{width:100%;min-width:0;pointer-events:none}.sk-visual{display:flex;flex-direction:column;gap:24px;animation:sk-breathe 1.7s ease-in-out infinite}.sk-block{display:block;flex-shrink:0;max-width:100%;border-radius:5px;background:#eae9e7}.sk-surface{border:1px solid #eeedeb;border-radius:12px;background:#fff;padding:24px;display:flex;flex-direction:column;gap:16px;overflow:hidden}.sk-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:24px 0;background:#fff;border:1px solid #eeedeb;border-radius:12px}.sk-metrics>div{display:flex;flex-direction:column;gap:18px;padding:0 24px}.sk-metrics>div+div{border-left:1px solid #eeedeb}.sk-toolbar{display:flex;justify-content:space-between;gap:24px}.sk-row{display:grid;grid-template-columns:repeat(var(--sk-cols),minmax(0,1fr));gap:24px;padding:21px 0}.sk-row+.sk-row{border-top:1px solid #f1f0ef}.sk-card{display:flex;flex-direction:row;gap:18px;align-items:center;min-height:94px}.sk-card>div{flex:1;display:flex;flex-direction:column;gap:12px}.sk-cards{display:flex;flex-direction:column;gap:12px}.sk-columns{display:grid;grid-template-columns:1.12fr 1fr;gap:24px}.sk-chart{height:240px;display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding-top:24px}.sk-upload{min-height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.sk-reader{padding:24px;display:flex;flex-direction:column;gap:24px}.sk-reader .sk-metrics{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}.sk-chat{display:flex;flex-direction:column;gap:30px}.sk-chat>.sk-block{align-self:flex-end}.sk-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@keyframes sk-breathe{0%,100%{opacity:.6}50%{opacity:1}}
@media(max-width:1050px){.sk-metrics{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px}.sk-columns{grid-template-columns:1fr}.sk-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.sk-row{gap:12px}.sk-surface{padding:16px}.sk-metrics>div{padding:0 14px}.sk-tiles{grid-template-columns:1fr}.sk-card{gap:12px}}
@media(prefers-reduced-motion:reduce){.sk-visual{animation:none;opacity:.8}}

.sk-inbox{display:grid;grid-template-columns:3fr 7fr;gap:24px}.sk-inbox>div{min-width:0;display:flex;flex-direction:column;gap:16px}.ib-queue .sk-card{min-height:94px;padding:16px}.ib-reader>.skeleton{overflow:hidden}@media(max-width:800px){.sk-inbox{grid-template-columns:1fr}.sk-inbox>.sk-reader{display:none}}

/* Inbox: compact queue and quiet case reader. */
.in-inbox .collection{padding:44px 28px 24px}.in-inbox .hero-art{height:250px;opacity:.5}.ib-split-heading{margin-bottom:24px}.ib-split-heading h1{font-size:30px}.ib-split-heading p{font-size:15px;color:#625f59}
.ib-split{grid-template-columns:minmax(320px,3fr) minmax(0,7fr);border-color:#e6e5e2}.ib-queue{overflow:hidden;background:#fff;border-color:#e6e5e2}.ib-queue .ib-shell{height:100%;display:flex;flex-direction:column;padding:0;background:#fff}.ib-queue .ib-tools{flex:none;flex-wrap:nowrap;padding:16px 16px 0;gap:8px}.ib-queue .ib-search{flex:1;min-width:0;min-height:44px;border-color:#e6e5e2;background:#fafaf9;border-radius:8px;padding:10px}.ib-queue .ib-search input{font-size:15px;min-width:0}.ib-queue .ib-tools .small-button{min-height:44px;padding:10px;font-size:14px;gap:6px}.ib-queue .ib-topline{flex:none;padding:12px 16px 16px}.ib-queue .ib-tabs{border:0;background:#f4f3f1;border-radius:8px;overflow:hidden}.ib-queue .ib-tabs button{font-size:14px;min-height:40px;color:#68645d}.ib-queue .ib-tabs button span{font-size:12px;color:#68645d}.ib-queue #ib-records{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}
.ib-queue .ib-row{display:flex;align-items:flex-start;gap:12px;padding:16px;min-height:110px;border-top:1px solid #eeedea;border-radius:0;background:#fff;box-shadow:none}.ib-queue .ib-row[aria-current=true],.ib-queue .ib-row[aria-current=true]:hover{background:#f1f0f7;border-radius:0;box-shadow:none;border-color:#eeedea}.ib-queue .ib-row:hover{background:#f8f8f7}.ib-queue .ib-row:focus-visible{outline:2px solid #394eeb;outline-offset:-3px}.ib-queue .ib-supplier-avatar{display:grid;width:32px;height:32px;border-radius:9px;border:0;background:#eeedf3;color:#625b7e;font:500 12px Inter,sans-serif;flex:none;margin-top:2px}.ib-queue .ib-row-copy{display:block;flex:1;min-width:0}.ib-row-heading{display:flex;align-items:center;gap:10px;margin-bottom:5px}.ib-row-supplier{font-size:14px;color:#625f59;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.ib-queue .ib-row-date{display:flex;gap:7px;align-items:center;flex:none;width:auto;font:13px Inter,sans-serif;color:#737069;white-space:nowrap}.ib-queue .ib-read-dot{display:inline-block;width:6px;height:6px;margin:0;border-radius:50%;background:transparent}.ib-queue .unread .ib-read-dot{background:#394eeb}.ib-queue .ib-row-copy>strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:15px;line-height:1.45;font-weight:400;color:#282723}.ib-queue .ib-row.unread .ib-row-copy>strong{font-weight:500}.ib-row-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.ib-queue .ib-row-amount{display:block;font-size:14px;line-height:1.4;color:#625f59}.ib-queue .ib-row-owner{display:flex;margin:0;align-items:center}.ib-row-owner .user-avatar{width:24px;height:24px;font-size:10px}.ib-queue .ib-list-footer{flex:none;padding:12px 16px;border-top:1px solid #e6e5e2;gap:8px;color:#68645d;font-size:13px}.ib-queue .ib-list-footer>span:nth-child(2){display:flex}#ib-pagination{flex-wrap:wrap;font-size:13px}.ib-queue .ib-filters{flex:none;max-height:40%;overflow:auto;padding:0 16px 14px;margin:0;gap:10px}.ib-queue .ib-filters label{font-size:14px;min-width:calc(50% - 5px)}.ib-queue [data-ib=group]{width:auto!important;font-size:14px!important;min-height:40px!important;padding:8px!important}.ib-queue .ib-filters .custom-select-trigger{font-size:14px;min-height:40px}.ib-queue .ib-empty{font-size:15px;padding:30px 20px}
.ib-case-top{padding:0;border:0}.ib-reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;border-bottom:1px solid #eeedea;flex-wrap:wrap}.ib-case-controls{margin:0;gap:12px}.ib-case-controls label{font-size:13px;color:#68645d;gap:8px;flex-direction:row;align-items:center}.ib-case-controls .custom-select-trigger{font-size:14px;min-height:40px;max-width:230px;background:#fff;border-color:#e6e5e2}.ib-case-nav{margin-left:auto}.ib-case-nav .small-button{min-width:40px;min-height:40px;padding:10px}.ib-case-nav .small-button svg{width:18px;height:18px}.ib-case-identity{padding:22px 24px 18px;border-bottom:1px solid #eeedea}.ib-case-id{font-size:13px;color:#737069}.ib-case-top h1{font:500 23px/1.4 Inter,sans-serif;letter-spacing:-.4px;margin:8px 0}.ib-case-supplier{margin:0;font-size:15px!important;color:#625f59!important}.ib-reader .ib-case-scroll .ib-tab-content{padding:24px}.ib-reader .ib-case-scroll p{font-size:16px;line-height:1.75;color:#45443f;white-space:pre-wrap}.ib-effect{margin-bottom:16px}.ib-effect>span{font-size:14px;color:#68645d}.ib-effect>strong{font-size:26px}.ib-reader-section{border-top:1px solid #eeedea;margin-top:24px}.ib-reader-section>summary{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:52px;font-size:15px;font-weight:500;list-style:none}.ib-reader-section>summary::after{content:'+';font-size:20px;margin-left:auto;color:#68645d}.ib-reader-section[open]>summary::after{content:'−'}.ib-reader-section>summary::-webkit-details-marker{display:none}.ib-reader-section>div{padding:8px 0 16px}.ib-reader-section>div>h2{display:none}.ib-reader-section svg{width:18px;height:18px}.ib-reader-section summary:focus-visible{outline:2px solid #394eeb;outline-offset:2px}
.ib-action-bar{display:flex;align-items:flex-end;gap:16px;padding:16px 24px;border-color:#e6e5e2}.ib-note-compose{flex:1;min-width:0}.ib-note-compose>label{font-size:14px;display:block;margin-bottom:8px;color:#625f59}.ib-note-compose textarea{display:block;width:100%;min-height:68px;max-height:140px;border:1px solid #e6e5e2;border-radius:8px;background:#fafaf9;resize:vertical;padding:10px 12px;font:15px/1.5 Inter,sans-serif}.ib-note-compose textarea:focus{outline:2px solid #394eeb;outline-offset:2px}.ib-note-actions{display:flex;justify-content:flex-end;margin-top:8px}.ib-note-actions [data-ib=note]{display:none}.ib-action-bar .ib-primary,.ib-action-bar .small-button{font-size:14px;min-height:40px;padding:9px 12px;white-space:nowrap}
@media(max-width:1200px){.ib-split{grid-template-columns:minmax(300px,4fr) minmax(0,6fr)}.ib-reader-toolbar{padding:12px 18px}.ib-case-controls label{flex-direction:column;align-items:flex-start;gap:5px}.ib-case-identity{padding:18px}.ib-action-bar{padding:14px 18px}.ib-case-top h1{font-size:21px}}
@media(max-width:900px){.in-inbox .collection{padding:36px 16px 16px}.ib-split{grid-template-columns:minmax(270px,4fr) minmax(0,6fr)}.ib-queue .ib-row{padding:14px 12px;gap:8px}.ib-queue .ib-tabs button{font-size:13px}.ib-queue .ib-tabs button span{display:none}.ib-action-bar{flex-wrap:wrap}.ib-note-compose{flex-basis:100%}.ib-action-bar>.ib-primary{margin-left:auto}.ib-reader .ib-case-scroll .ib-tab-content{padding:18px}.ib-case-controls{width:100%}.ib-case-controls label{flex:1;min-width:0}.ib-case-controls .custom-select-trigger{max-width:100%}.ib-case-nav{position:absolute;right:16px;bottom:10px}.ib-reader-toolbar{position:relative;padding-bottom:58px}}
@media(max-width:700px){.in-inbox .collection{padding:62px 12px 12px}.ib-split-heading{margin-bottom:16px}.ib-split-heading h1{font-size:28px}.ib-split-heading p{font-size:14px}.ib-split{display:block;border:1px solid #e6e5e2}.ib-queue .ib-row{padding:16px;min-height:110px}.ib-queue .ib-tabs button{font-size:14px}.ib-queue .ib-tabs button span{display:inline}.ib-reader-toolbar{padding:12px 16px;gap:10px}.ib-mobile-back{display:flex;width:100%}.ib-case-controls{width:100%}.ib-case-nav{position:static;margin-left:auto}.ib-case-id{display:block}.ib-action-bar{padding:12px 16px}.ib-note-compose textarea{min-height:60px}.ib-case-top h1{font-size:21px}.ib-reader .ib-case-scroll p{font-size:16px}}
@media print{.ib-reader-toolbar,.ib-action-bar{display:none!important}.ib-reader-section>div{display:block!important}.ib-reader-section{border:0}.ib-case-identity{padding:0}}

.ib-queue .ib-tabs button:not([aria-pressed=true]) span{display:none}.ib-queue .ib-tabs button[aria-pressed=true] span{display:inline;font-variant-numeric:tabular-nums}.ib-queue .ib-row{min-height:100px;padding-top:14px;padding-bottom:14px}.ib-evidence-invoices{display:flex;flex-direction:column}.ib-evidence-invoice{display:flex;align-items:center;gap:12px;text-align:left;border-bottom:1px solid #eeedea;min-height:56px;padding:12px 0;background:#fff;font:15px Inter,sans-serif}.ib-evidence-invoice strong{margin-left:auto;white-space:nowrap;font-weight:400}.ib-evidence-invoice:hover{color:#394eeb}.ib-evidence-invoice .file-type-icon{width:24px;height:30px;flex:none}.ib-evidence-invoice:focus-visible{outline:2px solid #394eeb;outline-offset:2px}

@media(max-width:900px){.ib-action-bar{display:grid;grid-template-columns:1fr auto;gap:8px}.ib-note-compose{display:contents}.ib-note-compose>label,.ib-note-compose>textarea{grid-column:1/-1}.ib-note-actions{grid-column:1;justify-content:flex-start;margin:0}.ib-action-bar>.ib-primary{grid-column:2;grid-row:3}}

/* Conversation history: separate keyboard-accessible open and delete actions. */
.chat-history-row{display:flex;align-items:center;gap:4px;min-width:0;border-radius:7px}.chat-history-row:hover,.chat-history-row:focus-within{background:#f3f2ef}.chat-history-row .text-item{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:2px}.chat-history-delete{flex:none;width:30px;height:30px;opacity:0;color:#736f68;transition:opacity 150ms ease}.chat-history-row:hover .chat-history-delete,.chat-history-row:focus-within .chat-history-delete{opacity:1}.chat-history-delete svg{width:16px;height:16px}.chat-history-delete:hover{background:#f8eaea;color:#b64141}.chat-delete-copy{font-size:15px;line-height:1.65;overflow-wrap:anywhere}.chat-delete-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.chat-delete-actions button{min-height:42px;padding:10px 16px;font-size:14px;border-radius:7px}.chat-delete-confirm{background:#b64141;color:#fff}.chat-delete-confirm:hover{background:#a33636}#chat-delete-status{font-size:14px;color:#a33636}.chat-delete-confirm:disabled{opacity:.6;cursor:wait}@media(hover:none){.chat-history-delete{opacity:1}}

.app.compact-tables .data-table td{padding-top:9px;padding-bottom:9px}.app.settings-reduced-motion *,.app.settings-reduced-motion *::before,.app.settings-reduced-motion *::after{animation:none!important;transition:none!important}

/* Shared back navigation across details, settings and insight workspaces. */
.data-back,[data-savings-back],[data-ib="back"]{display:inline-flex;align-items:center;justify-content:center;gap:8px;align-self:flex-start;width:fit-content;min-height:40px;padding:10px 14px;border-radius:9px;font:400 14px/1.4 Inter,sans-serif;color:#635e58;background:transparent;transition:background-color 150ms ease,color 150ms ease}.data-back:hover,[data-savings-back]:hover,[data-ib="back"]:hover{background:#f1f0ed;color:#242322}.data-back:focus-visible,[data-savings-back]:focus-visible,[data-ib="back"]:focus-visible{outline:2px solid #394eeb;outline-offset:2px}

.ib-row>.supplier-logo{width:36px;height:36px;align-self:flex-start}.ib-case-supplier{display:flex;align-items:center;gap:10px}.ib-case-supplier .supplier-logo{width:32px;height:32px;flex:none}

/* Supplied folder assets; papers are concealed by the front until the whole upload area is hovered. */
.upload-folder{position:relative;display:block;flex:none;width:84px;height:66px;perspective:240px;pointer-events:none}.upload-folder img{position:absolute;display:block;max-width:none;user-select:none;transition:transform 320ms cubic-bezier(.22,1,.36,1)}.upload-folder-back{width:67.5px;height:48.0938px;left:8.25px;top:8px;z-index:0}.upload-folder-sheet{width:60px;height:6px;left:12px;top:24px}.upload-folder .sheet-back{z-index:1;opacity:.5}.upload-folder .sheet-middle{z-index:2;opacity:.75}.upload-folder .sheet-front{z-index:3;opacity:1}.upload-folder-front{width:77.0237px;height:42px;left:3.48815px;top:18px;z-index:4;transform-origin:50% 100%;transition:transform 300ms cubic-bezier(.22,1,.36,1)}.agreement-upload:is(:hover,:focus-visible,.dragging):not(:disabled) .upload-folder-back{transform:translateY(-2px)}.agreement-upload:is(:hover,:focus-visible,.dragging):not(:disabled) .sheet-back{transform:translateY(-14px);transition-delay:40ms}.agreement-upload:is(:hover,:focus-visible,.dragging):not(:disabled) .sheet-middle{transform:translateY(-10px);transition-delay:20ms}.agreement-upload:is(:hover,:focus-visible,.dragging):not(:disabled) .sheet-front{transform:translateY(-6px)}.agreement-upload:is(:hover,:focus-visible,.dragging):not(:disabled) .upload-folder-front{transform:translateY(4px) rotateX(-12deg)}.settings-reduced-motion .upload-folder img{transition:none}

/* The plot and date row have separate space; the plot stretches with its dashboard card. */
.spend-widget{display:flex;flex-direction:column;min-height:360px;--spend-gap:12px}.spend-widget .dashboard-panel-heading{flex:none}.spend-controls{display:flex;align-items:center;gap:6px}.spend-controls .dashboard-unit{margin-right:8px}.spend-controls .icon-button{display:grid;place-items:center;width:36px;height:36px;font:24px/1 Inter,sans-serif;border:1px solid var(--si-border);border-radius:8px;color:var(--si-muted)}.spend-controls .icon-button:disabled{opacity:.35;cursor:default}.spend-controls .icon-button:disabled:hover{background:transparent}.spend-widget .spend-chart{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;flex:1;min-height:270px;height:auto;padding:0;margin:12px 0 0}.spend-widget .spend-axis{height:calc(100% - 48px);font-size:11px;color:var(--si-muted)}.spend-viewport{position:relative;min-width:0;overflow:hidden}.spend-viewport::before{content:'';position:absolute;inset:0 0 48px;pointer-events:none;background:repeating-linear-gradient(to top,var(--si-border) 0,var(--si-border) 1px,transparent 1px,transparent 33.333%);opacity:.55}.spend-widget .spend-columns{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--spend-count) - 1)*var(--spend-gap))/var(--spend-count));gap:var(--spend-gap);height:100%;width:100%;align-items:stretch;background:none;transform:translateX(calc((100% + var(--spend-gap)) / (0 - var(--spend-count))))}.spend-widget .spend-column{display:grid;grid-template-rows:minmax(0,1fr) 36px;gap:12px;height:100%;align-items:stretch}.spend-widget .spend-bar{align-self:end;justify-self:center;max-width:40px;width:100%;height:var(--bar-height);box-sizing:border-box}.spend-widget .spend-bar.is-empty{border:0;background:none}.spend-widget .spend-month{position:static;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;font-size:12px;line-height:18px;color:var(--si-muted)}.spend-widget .spend-tooltip{font-size:12px;bottom:7px;left:50%;z-index:3}.spend-widget .spend-column:focus-visible{outline:2px solid #394eeb;outline-offset:-2px;border-radius:4px}@media(max-width:700px){.spend-widget{min-height:330px;--spend-gap:10px}.spend-widget .spend-chart{grid-template-columns:35px minmax(0,1fr);gap:9px;min-height:240px}.spend-controls .dashboard-unit{font-size:10px}.spend-controls .icon-button{width:34px;height:34px}}

.ib-note-actions{gap:8px;flex-wrap:wrap}
.ib-queue .ib-tabs{display:flex;flex-wrap:nowrap;gap:0;overflow-x:auto;scrollbar-width:thin;max-width:100%;min-width:0}.ib-queue .ib-tabs button{flex:1 0 auto;padding-left:10px;padding-right:10px;white-space:nowrap;font-size:14px}.ib-queue .ib-topline{min-width:0}
