/* Virtuelle Review: native brand asset, clear register, touch-sized controls. */
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;--ink:#18372f;--text:#43544e;--quiet:#63736c;--rule:#d9dfdb;--surface:#f8faf8;--paper:#fff;--selected:#edf3ef;--brand:#193d35;--gold:#b3a168;--accent:#245e4d;color:var(--ink);background:var(--brand)}
[data-palette=sand]{--brand:#463c31;--ink:#332d26;--selected:#f4f0e8;--accent:#785937}
[data-palette=olive]{--brand:#313d2a;--ink:#2d3828;--selected:#eef1e8;--accent:#576b3f}
[data-palette=plum]{--brand:#493541;--ink:#41313e;--selected:#f3edf1;--accent:#835875}
[data-palette=graphite]{--brand:#292e2c;--ink:#252b28;--selected:#edf0ee;--accent:#526057}
body{overflow:hidden;background:var(--brand)}button,a,input,select,textarea{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#app{display:grid;grid-template-columns:216px minmax(0,1fr);height:100dvh;min-width:0}
.rail{height:100dvh;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:30px 20px;background:linear-gradient(165deg,#ffffff08,transparent),var(--brand);border:0;border-right:1px solid #ffffff1b;color:#fff;backdrop-filter:blur(14px)}
.brand{padding:0 0 32px;display:flex;flex-direction:column;align-items:flex-start;gap:13px;width:100%;min-height:44px}
.brand-logo{display:block;width:172px;max-width:100%;height:auto;object-fit:contain}
.brand-caption{font-size:11px;letter-spacing:2px;font-weight:400;color:#c3d4cc}
.rail-label{display:block;color:#b5c9c0;font-size:10px;letter-spacing:1px;margin:26px 10px 12px}
.nav{min-height:44px;display:flex;align-items:center;gap:10px;font-size:14px;color:#e4ece7;padding:8px 10px}
.nav>span{font-size:20px}.projects-label{display:flex;align-items:center;justify-content:space-between;margin-top:22px}
.projects-label{order:0}.projects-label button{min-width:44px;min-height:44px;font-size:25px;color:#d6e5dd}
.project-list{display:flex;flex-direction:column;align-items:stretch;height:auto;gap:6px;margin:0}
.project{min-height:48px;padding:12px;font-size:13px;text-align:left;border-radius:4px;border:1px solid transparent;color:#d3e0d9;line-height:1.4}
.project.active{color:#fff;background:#ffffff10;border-color:#ffffff17;border-left:3px solid var(--gold)}.project:hover{background:#ffffff0b}
.project-dot{display:inline-block;width:6px;height:6px;background:var(--gold);border-radius:50%;margin-right:9px}
.rail-bottom{margin:auto 0 0;padding:20px 10px 0;border-top:1px solid #ffffff20;display:flex;gap:9px;color:#e1eae4;font-size:12px;line-height:1.5}.rail-bottom small{display:block;color:#a6beb1;font-size:11px}.small-avatar{display:none}
main{margin:0;max-width:none;min-width:0;min-height:0;display:flex;flex-direction:column;padding:0 30px;background:var(--surface);overflow:hidden}
header{height:66px;min-height:66px;border-bottom:1px solid var(--rule);gap:16px}.breadcrumb{font-size:12px;color:var(--quiet)}.breadcrumb b{font-weight:600;color:var(--ink)}
.top-actions{display:flex;align-items:center;gap:20px}.avatar{display:none}.preview-pill{font-size:11px;color:var(--quiet)}
.palette-setting{display:flex;align-items:center;gap:8px;color:var(--quiet);font-size:11px}.palette-setting select{margin:0;width:auto;min-height:44px;padding:9px 25px 9px 10px;font-size:13px;border:0;background:none;color:var(--ink)}
.title-row{padding:26px 0 22px;min-height:122px;gap:24px;flex-shrink:0}.project-heading{min-width:0;flex:1}.eyebrow{font-family:inherit;font-size:10px;letter-spacing:1px;color:var(--quiet);margin-bottom:8px}.title-row h1{font-family:inherit;font-size:32px;line-height:1.15;font-weight:650;letter-spacing:-1px;color:var(--ink)}.title-row p{font-family:inherit;font-size:13px;color:var(--text);margin-top:10px}
.title-actions{display:flex;gap:10px;min-width:0}.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 18px;font-size:14px;line-height:1.4;font-weight:600;border:1px solid #b9c7bf;border-radius:5px;background:var(--paper);color:var(--ink);box-shadow:none;white-space:normal}.button:hover{background:var(--selected);border-color:var(--accent)}.button.primary,.button.approve{background:var(--brand);border-color:var(--brand);color:#fff}.button.primary:hover,.button.approve:hover{filter:brightness(1.13)}
.review-signal{margin:0;align-self:center}.signal-graphic{width:64px;height:64px}.signal-count strong{font-family:inherit;font-size:19px;color:var(--ink);letter-spacing:-.5px}.signal-count strong small{font-size:12px;color:var(--quiet)}.signal-count>span{font-family:inherit;font-size:6px;letter-spacing:.4px;color:var(--quiet)}.review-signal>button{min-height:44px;font-size:11px;color:var(--text);border:0;padding:5px 8px}
.status-ribbon{margin:0 0 20px;display:flex;flex-wrap:wrap;gap:0 20px;border:0;border-bottom:1px solid var(--rule);flex-shrink:0}.status-tile,.status-tile:first-child,.status-tile:last-child{flex:0 1 auto;min-height:48px;padding:10px 0;gap:9px;border:0;background:none}.status-tile:hover{background:none}.status-title{font-size:12px;font-weight:500;color:var(--text)}.status-tile strong{font-family:inherit;font-size:13px;color:var(--ink);margin:0;font-variant-numeric:tabular-nums}.status-tile.active .status-title{font-weight:650;color:var(--ink)}.status-tile.active:after{background:var(--brand);height:3px}.status-dot{display:none}
.review-panel{display:flex;flex-direction:column;flex:1;min-height:0;border:0;background:none;overflow:hidden}.sheet-top{padding:0 0 10px;gap:12px;flex-shrink:0}.sheet-name{font-size:16px;font-weight:600;color:var(--ink)}.sheet-name b{font-weight:600}.sheet-count{font-family:inherit;font-size:11px;border:0;background:none;color:var(--quiet);padding:0}.sheet-actions{gap:12px}.text-button{min-height:44px;padding:9px 8px;font-size:12px;color:var(--text)}.text-button:hover{color:var(--ink);text-decoration:underline}
.view-bar{border-bottom:1px solid var(--rule);flex-shrink:0;gap:12px}.view-switch{gap:24px}.view-switch button{min-height:48px;font-size:13px;font-weight:500;padding:12px 0}.view-switch button.active{color:var(--ink);border-color:var(--brand);font-weight:650}.view-bar>span{font-family:inherit;font-size:9px;color:var(--quiet)}
.toolbar{padding:14px 0;gap:10px;border-bottom:1px solid var(--rule);flex-shrink:0}.search{min-width:180px;max-width:none;flex:1}.search input,.toolbar select{min-height:44px;height:44px;border:1px solid #c9d2cc;background:var(--paper);border-radius:4px;color:var(--ink);font-size:13px;padding:10px 26px 10px 12px}.search input{padding-left:36px}.search>span{left:11px;top:6px;color:var(--quiet)}.search input::placeholder{color:var(--quiet)}.toolbar select{max-width:190px;width:auto}.group-control{min-height:44px;font-size:12px;color:var(--text);gap:8px;margin:0}.group-control input{width:18px;height:18px;accent-color:var(--brand)}.refresh{width:44px;height:44px;font-size:24px;color:var(--text)}
.sheet-help{padding:9px 0;font-size:10px;color:var(--quiet);border:0;flex-shrink:0}.sheet-help>span:last-child{font-family:inherit;font-size:11px;color:var(--text)}
.visual-columns,.review-card{grid-template-columns:40px minmax(180px,1fr) 140px 132px 136px;gap:20px}.visual-columns{display:grid;min-height:42px;align-items:center;padding:10px 14px;background:#edf1ee;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);font-size:11px;font-weight:600;flex-shrink:0}.review-panel:has(.visual-grid[hidden]) .visual-columns{display:none}
.visual-grid{flex:1;min-height:0;overflow:auto;background:var(--paper);scrollbar-width:thin;scrollbar-color:#adbcb2 transparent}
.review-card{display:grid;align-items:center;min-height:118px;padding:20px 14px;margin:0;border:0;border-bottom:1px solid var(--rule);background:var(--paper);text-align:left;width:100%;border-radius:0;--project-color:#53798b}.review-card:hover{background:#f5f8f5}.review-card.selected{background:var(--selected);box-shadow:inset 3px 0 var(--brand)}
.review-card.tabuk{--project-color:#8a651f}.review-card.shared{--project-color:#756086}.review-card.durrat{--project-color:#3c7080}.review-card.iwan{--project-color:#4e733a}.review-card.mashriqiya{--project-color:#9b5f4e}
.card-ref{grid-column:1;grid-row:1;font-family:inherit;font-size:13px;font-weight:700;border:0;padding:9px 3px;width:36px;border-radius:3px;background:color-mix(in srgb,var(--project-color) 14%,white);color:var(--ink)}
.card-body{grid-column:2;grid-row:1;min-width:0}.card-kicker{font-family:inherit;color:var(--quiet);font-size:10px;margin-bottom:7px;gap:8px}.card-kicker .development-tag{display:none}.card-kicker>span:last-child{border:0;padding:0}.card-body h3{font-size:15px;font-weight:650;letter-spacing:-.2px;color:var(--ink);line-height:1.4;margin-bottom:6px}.card-body>p{font-size:12px;line-height:1.55;color:var(--text);max-width:none}.card-source{font-family:inherit;font-size:10px;color:var(--quiet);margin-top:8px}
.card-development{grid-column:3;grid-row:1;font-size:12px;line-height:1.5;color:var(--text);overflow-wrap:anywhere}
.card-end{grid-column:4;grid-row:1;gap:14px;align-items:flex-start}.badge{font-size:11px;border:0;border-radius:0;padding:0;background:none;color:var(--text);font-weight:500;white-space:normal;line-height:1.45}.badge i{height:7px;width:7px;border-radius:50%;flex-shrink:0}.card-open{font-size:11px;color:var(--text);font-weight:500}.card-open b{font-size:14px;color:var(--quiet)}
.card-media{grid-column:5;grid-row:1;display:block;border:0;border-radius:3px;background:#fff;box-shadow:none;width:100%;height:86px;padding:0;position:relative;overflow:hidden}.card-media img{display:block;width:100%;height:100%;object-fit:contain}.image-label{display:none}.no-image-label{grid-column:5;grid-row:1;font-family:inherit;color:var(--quiet);font-size:10px}.visual-group{padding:14px;background:var(--selected);border-bottom:1px solid var(--rule)}
.sheet-footer{min-height:54px;padding:10px 0;border:0;border-top:1px solid var(--rule);color:var(--quiet);font-size:10px;flex-shrink:0}.sheet-tab{min-height:44px;font-size:12px;color:var(--ink)}.sheet-footer>span:not(.footer-save){display:none}.footer-save{font-size:10px}main>footer{display:none}
.table-scroll{flex:1;min-height:0;max-height:none;overflow:auto;scrollbar-width:thin}.sheet{min-width:1240px}.column-labels th{background:#edf1ee;border-color:var(--rule)}.column-labels th button{min-height:44px;color:var(--ink);font-size:12px;font-weight:600}.sheet td{font-size:12px;color:var(--text);background:#fff;border-color:var(--rule)}.sheet-row:hover td{background:var(--selected)}.item-title{font-size:14px;font-weight:600;color:var(--ink)}.open-item{min-height:80px}.item-meta,.updated-cell{color:var(--quiet)!important}.development,.owner{color:var(--text)}.cell-input,.cell-status{font-size:13px;min-height:44px;border-radius:3px;color:var(--ink)}.cell-status{background:#fff}.cell-input:focus{background:#fff}.sheet-thumbnail{border-radius:2px}.group-row td{background:var(--selected)}
.drawer-open{overflow:hidden}#drawer-host{display:contents}.drawer-scrim{position:fixed;inset:0;background:#102d2540;z-index:20}.drawer{position:fixed;inset:0 0 0 auto;z-index:21;width:min(560px,100vw);border:0;border-left:1px solid var(--rule);background:var(--paper);box-shadow:-10px 0 40px #0c201f15;display:flex;flex-direction:column;border-radius:0;color:var(--ink)}
.drawer-top{height:64px;min-height:64px;padding:0 22px;display:flex;border-bottom:1px solid var(--rule);font-family:inherit;color:var(--text);font-size:13px}.drawer-top button{height:48px;width:48px;font-size:28px;color:var(--ink)}.drawer-top i{color:var(--quiet)}.drawer-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:26px 28px 40px;scrollbar-width:thin}.detail-label{font-family:inherit;color:var(--quiet);font-size:11px;text-transform:none;letter-spacing:0;line-height:1.5}.drawer h2{font-size:26px;line-height:1.25;font-weight:650;letter-spacing:-.7px;color:var(--ink);overflow-wrap:anywhere}.detail-status{margin:0 0 20px}.source-question{border-color:var(--rule);margin:20px 0;padding-top:20px}.source-question .eyebrow{color:var(--quiet);font-size:10px}.source-question p{font-size:15px;line-height:1.65;color:var(--ink)}.source-question .question-context{font-size:13px;color:var(--text)}.description{color:var(--text)}
.reference-panel{margin:22px 0;border:1px solid var(--rule);border-radius:4px;background:#fff;overflow:hidden}.reference-panel>button{padding:10px;min-height:44px}.reference-panel img{min-height:90px;max-height:380px}.reference-panel button>span{font-family:inherit;min-height:44px;display:flex;align-items:center;justify-content:flex-end;font-size:12px;padding-top:4px;color:var(--ink)}.reference-panel figcaption{padding:10px 12px;font-size:11px;color:var(--text);border-color:var(--rule)}.reference-panel small{font-family:inherit;font-size:10px;color:var(--quiet)}
.next-action{padding:16px 0;border-color:var(--rule);margin:22px 0}.next-action .eyebrow{font-size:10px;color:var(--quiet)}.next-action p{font-size:13px;color:var(--ink)}.next-action small{font-size:11px;color:var(--text)}.workflow{font-size:13px;border-color:var(--rule);color:var(--text)}.workflow summary,.source summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.workflow input,.workflow textarea,.workflow select{background:#fff;color:var(--ink);border-color:#bfcac2;min-height:46px;border-radius:4px;font-size:14px}
.conversation-heading{margin:26px 0 20px}.conversation-heading h3{font-size:17px;font-weight:600;color:var(--ink)}.conversation-heading>span{font-family:inherit;font-size:11px;color:var(--quiet)}.event-avatar{border-radius:50%;background:var(--selected);color:var(--text);font-family:inherit}.event-by,.event-by time{font-family:inherit;font-size:10px;color:var(--quiet)}.event-by strong{color:var(--ink);font-weight:600}.event p{font-size:13px;line-height:1.6;color:var(--text)}.attachment{font-size:12px;min-height:44px;padding:10px;border-color:var(--rule);color:var(--text);border-radius:4px;word-break:break-word}
.reply-form{padding:20px 0;border:0;border-top:1px solid var(--rule);background:none}.reply-form label{font-size:13px;color:var(--ink);font-weight:500}.reply-form input,.reply-form textarea{min-height:48px;padding:12px;font-size:15px;background:#fff;border:1px solid #bfcac2;border-radius:4px;color:var(--ink)}.reply-form textarea{min-height:130px}.reply-form textarea::placeholder{color:var(--quiet)}.upload-label{min-height:44px;display:flex;align-items:center;font-size:13px;color:var(--text);cursor:pointer}.upload-label:focus-within{outline:2px solid var(--accent);outline-offset:3px}.upload-label input[type=file]{display:block;position:absolute;width:1px;height:1px;opacity:0;min-height:0;padding:0;overflow:hidden}.file-name{color:var(--quiet);font-size:11px}.decision-actions{border-color:var(--rule)}.decision-actions p{color:var(--text);font-size:13px}.source{color:var(--quiet);font-family:inherit;font-size:12px}
dialog{border:1px solid var(--rule);border-radius:8px;padding:30px;width:min(620px,calc(100vw - 32px));background:var(--paper);color:var(--ink);max-height:calc(100dvh - 32px)}dialog::backdrop{background:#102d2570}dialog h2{font-size:26px;font-weight:650;color:var(--ink)}dialog p,dialog label{font-size:13px;color:var(--text)}dialog input,dialog select,dialog textarea{min-height:48px;border-radius:4px;border-color:#bfcac2;color:var(--ink);font-size:15px;background:#fff}.modal-close{width:48px;height:48px;top:8px;right:8px;color:var(--ink);font-size:28px}.image-dialog{width:min(1450px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:24px}.image-dialog-top{margin-right:42px}.image-dialog h2{color:var(--ink);overflow-wrap:anywhere}.image-tools .button{min-height:46px;font-size:13px}.image-stage{height:65dvh;border-color:var(--rule)}.image-dialog .image-hint{color:var(--quiet);font-size:12px}.access-screen{grid-column:1/-1;color:#fff}.access-screen .brand-logo{width:220px}.access-screen p{color:#d9e6df}.loading{color:#fff}#toast{background:var(--brand);color:white;font-size:14px;border-radius:4px}
@media(min-width:1440px){body.drawer-open #app{padding-right:460px}.drawer{width:460px}body.drawer-open .drawer-scrim{display:none}body.drawer-open .visual-columns,body.drawer-open .review-card{grid-template-columns:34px minmax(160px,1fr) 110px 116px;gap:14px}body.drawer-open .visual-columns>span:nth-child(3),body.drawer-open .card-development{display:none}body.drawer-open .card-end{grid-column:3}body.drawer-open .card-media,body.drawer-open .no-image-label{grid-column:4}body.drawer-open .card-kicker .development-tag{display:inline}body.drawer-open .card-kicker{flex-wrap:wrap}body.drawer-open .card-kicker>span:last-child{display:none}body.drawer-open .title-row{gap:15px}body.drawer-open .review-signal{display:none}body.drawer-open .status-ribbon{gap:0 14px}}
@media(max-width:1250px){#app{grid-template-columns:180px minmax(0,1fr)}.rail{padding:26px 14px}.brand-logo{width:150px}main{padding:0 22px}.visual-columns,.review-card{grid-template-columns:34px minmax(180px,1fr) 122px 122px;gap:16px}.visual-columns>span:nth-child(3),.card-development{display:none}.card-end{grid-column:3}.card-media,.no-image-label{grid-column:4}.card-kicker .development-tag{display:inline}.card-kicker{flex-wrap:wrap}.review-signal{display:none}.status-ribbon{gap:0 16px}.toolbar select{max-width:180px}.view-bar>span{display:none}}
@media(max-width:820px){body{overflow:auto}#app{display:block;height:auto;min-height:100dvh}.rail{height:auto;min-height:76px;padding:18px 20px;flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px 18px;border:0}.brand{width:auto;padding:0;min-height:44px;justify-content:center}.brand-logo{width:170px}.brand-caption,.rail-label,.nav,.projects-label,.rail-bottom{display:none}.project-list{margin-left:auto;flex-direction:row;gap:8px;max-width:100%;overflow:auto}.project{font-size:12px;min-height:44px;white-space:nowrap;padding:9px 10px}.project-dot{display:none}main{padding:0 20px;min-height:calc(100dvh - 76px);overflow:visible}header{height:58px;min-height:58px}.preview-pill{display:none}.top-actions{width:auto}.title-row{padding:24px 0 18px;min-height:0;flex-wrap:wrap;gap:18px}.title-row h1{font-size:30px}.title-row p{font-size:12px;line-height:1.5}.title-row .eyebrow{font-size:10px;margin-bottom:8px}.project-heading{min-width:160px}.title-actions{width:100%;flex-direction:row;margin:0}.title-actions .button{flex:1;min-height:48px;font-size:14px}.status-ribbon{gap:0 18px;margin-bottom:20px}.status-tile,.status-tile:first-child,.status-tile:last-child{flex:0 1 auto;min-height:48px;padding:10px 0;border:0}.status-title{font-size:12px;white-space:normal}.status-tile strong{font-size:13px}.review-panel{display:block;overflow:visible}.sheet-top{padding:0 0 8px;flex-wrap:wrap}.sheet-name{font-size:16px}.sheet-actions{gap:8px}.sheet-actions .text-button{font-size:12px;min-height:44px}.sheet-actions #source-pdf{max-width:none;text-align:left}.view-bar{gap:12px}.view-switch button{font-size:14px;min-height:48px}.toolbar{gap:10px;padding:14px 0}.toolbar .search{flex:1 1 100%;min-width:0;max-width:100%}.search input,.toolbar select{font-size:16px;min-height:48px;height:48px}.toolbar select{flex:1 1 42%;max-width:100%;width:calc(50% - 5px)}.group-control{font-size:12px;flex:1;min-height:48px}.refresh{width:48px;height:48px}.sheet-help{padding:9px 0;align-items:center;gap:12px}.sheet-help>span:first-child{font-size:10px;max-width:72%}.sheet-help>span:last-child{font-size:11px}.visual-columns{display:none}.visual-grid{overflow:visible}.review-card{grid-template-columns:38px minmax(0,1fr);gap:12px;padding:20px 10px;min-height:0}.card-ref{grid-column:1;grid-row:1;align-self:start;width:34px;font-size:13px}.card-body{grid-column:2;grid-row:1}.card-body h3{font-size:18px;line-height:1.35}.card-body>p{font-size:14px;line-height:1.6;-webkit-line-clamp:3}.card-kicker{font-size:11px;line-height:1.5;gap:6px;margin-bottom:8px}.card-kicker>span:first-child{width:auto}.card-kicker>span:last-child{border:0;padding:0}.card-source{font-size:10px}.card-development{display:none}.card-media{grid-column:2;grid-row:2;height:160px;border:1px solid var(--rule);border-radius:3px;padding:5px}.card-end{grid-column:2;grid-row:3;flex-direction:row;justify-content:space-between;align-items:center;gap:12px}.card-end .badge{font-size:12px}.card-open{font-size:12px;min-height:44px;display:flex;align-items:center;gap:10px}.no-image-label{display:none}.review-card.no-reference .card-end{grid-row:2}.sheet-footer{gap:12px;padding:8px 0}.sheet-tab{font-size:12px;min-height:48px}.table-scroll{max-height:65dvh}.drawer{inset:0;width:100%;height:100dvh;border:0;border-radius:0}.drawer-top{padding:0 16px;height:64px;min-height:64px}.drawer-scroll{padding:22px 20px calc(30px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}.drawer h2{font-size:25px}.source-question p{font-size:16px}.source-question .question-context{font-size:14px}.reply-form input,.reply-form textarea,.workflow input,.workflow select,.workflow textarea,dialog input,dialog select,dialog textarea{font-size:16px;min-height:48px}.reply-form{padding:20px 0}.reply-bottom{align-items:stretch;flex-wrap:wrap}.reply-bottom .button{flex:1;min-height:48px}.upload-label{min-height:48px}.event-by{flex-wrap:wrap}.event-by time{font-size:10px}.event p{font-size:14px}.form-grid{grid-template-columns:1fr}.image-dialog{padding:20px 14px;max-height:calc(100dvh - 16px)}.image-dialog-top{flex-wrap:wrap;gap:12px;margin:0 40px 14px 0}.image-dialog h2{font-size:16px}.image-tools{gap:8px;flex-wrap:wrap}.image-tools .button{min-height:48px;font-size:14px}.image-stage{height:55dvh}.image-dialog .image-hint{font-size:12px}.modal-upload input[type=file]{position:static;opacity:1;width:100%;height:auto;min-height:48px}.modal-upload{display:block}dialog{padding:24px 20px}dialog h2{font-size:24px}.decision-actions .button{min-height:48px}.source summary,.workflow summary{min-height:48px}}
@media(max-width:380px){main{padding:0 14px}.rail{padding:14px}.brand-logo{width:150px}.project-list{margin-left:0;width:100%}.project{flex:1}.title-row h1{font-size:28px}.card-body h3{font-size:17px}.sheet-count{display:none}.sheet-actions{gap:0}.status-ribbon{gap:0 14px}.reply-bottom{flex-direction:column}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.filter-toggle{display:none}
@media(max-width:820px){
  .title-row .eyebrow{display:none}.title-row{padding:20px 0 16px}.title-row p{margin-top:8px}
  .status-ribbon{flex-wrap:nowrap;overflow-x:auto;gap:20px;scrollbar-width:thin;margin-bottom:16px}.status-tile,.status-tile:first-child,.status-tile:last-child{flex:0 0 auto}.status-title{white-space:nowrap}
  .toolbar .search{flex:1 1 0;min-width:0}.filter-toggle{display:inline-flex;min-height:48px;flex-shrink:0;font-size:14px;padding:10px 15px}
  .toolbar:not(.filters-open)>select,.toolbar:not(.filters-open)>.group-control,.toolbar:not(.filters-open)>.refresh{display:none}
  .toolbar.filters-open>select{flex:1 1 100%;width:100%}.toolbar.filters-open .filter-toggle{background:var(--selected);border-color:var(--accent)}
  .sheet-help>span:first-child{display:none}.sheet-help{justify-content:flex-end;padding:6px 0}.sheet-top{padding-bottom:0}
}
