:root{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;color:#192b25;background:#f4f6f5;--pine:#16372e;--ink:#192b25;--text:#42534b;--muted:#61736a;--border:#dce3df;--lime:#d9ef90;--paper:#fff}
*{box-sizing:border-box}
body{margin:0}
[hidden]{display:none!important}
button,input,select,textarea{font:inherit}
button,a{touch-action:manipulation}
button{cursor:pointer}
button:disabled{opacity:.55;cursor:wait}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #65a98a;outline-offset:3px}
h1,h2,h3,p{margin:0}
h1{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(2.1rem,4vw,3rem);line-height:1.1;letter-spacing:-.055em;font-weight:650}
h2{font-size:1.25rem;line-height:1.28;letter-spacing:-.035em;font-weight:650}
h3{font-size:1rem}
.brand{display:flex;align-items:center;gap:.7rem;font-size:1.6rem;font-weight:650;line-height:1;letter-spacing:-.075em;color:#fff}
.brand-mark{width:1.83rem;height:1.75rem;position:relative;display:inline-block;flex:none}
.brand-mark i{position:absolute;background:var(--lime);width:.8rem;height:.75rem;transform:skewY(-9deg);border-radius:.12rem}
.brand-mark i:first-child{left:0;bottom:0}.brand-mark i:nth-child(2){right:0;bottom:.15rem}.brand-mark i:last-child{left:.5rem;top:0}
.entry{display:grid;grid-template-columns:1fr 1.12fr;min-height:100dvh;background:#fafcfb}
.entry-art{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-height:32rem;background:linear-gradient(150deg,#193f34 5%,#15372d 65%,#102e25);padding:clamp(2rem,4.5vw,5rem)}
.entry-art:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#d2f3d30d 1px,transparent 1px),linear-gradient(90deg,#d2f3d30d 1px,transparent 1px);background-size:3rem 3rem;mask-image:linear-gradient(135deg,transparent 5%,black)}
.entry-art .brand,.entry-domain{position:relative}
.entry-domain{font-size:.83rem;letter-spacing:.055em;color:#bfccc5}
.rack-scene{height:17.2rem;position:relative;width:min(90%,22rem);margin:3rem auto;transform:skewY(-7deg)}
.rack{height:100%;border-inline:.65rem solid #66947b;display:grid;grid-template-rows:repeat(3,1fr);gap:.1rem;padding-top:.6rem;box-shadow:.4rem .35rem 0 #112e24}
.shelf{display:flex;align-items:flex-end;gap:.25rem;padding-inline:.6rem;border-bottom:.45rem solid #73977f;box-shadow:0 .22rem 0 #112e24}
.carton{display:block;background:linear-gradient(90deg,#93af85 0 76%,#718e70 76%);height:67%;width:30%;position:relative;box-shadow:inset 0 2px #b0c3a0}
.carton:before{content:"";position:absolute;left:25%;top:0;width:11%;height:31%;background:#c9d9ab}.carton:after{content:"";position:absolute;bottom:12%;left:9%;width:22%;height:14%;background:repeating-linear-gradient(90deg,#56745c 0 1px,transparent 1px 3px)}
.carton.large{width:43%;height:85%}.carton.narrow{width:23%;height:56%}.carton.pale{background:linear-gradient(90deg,#d9eb9e 0 76%,#9aaf76 76%)}
.entry-body{display:grid;place-items:center;padding:2rem}.login-card{width:min(100%,24rem)}
.login-lead{color:var(--muted);margin:.85rem 0 2.1rem;line-height:1.55}
label,.field-label{font-size:.91rem;font-weight:600;display:block;margin-bottom:.4rem}
input,textarea,select{width:100%;color:var(--ink);background:white;border:1px solid #bccbc3;border-radius:.55rem;padding:.68rem .8rem;font-size:1rem;min-width:0}
input::placeholder,textarea::placeholder{color:#73827b}
.password-field{position:relative}.password-field input{padding-right:6rem}.password-field .text-action{position:absolute;right:.7rem;top:50%;transform:translateY(-50%)}
.text-action{border:0;background:transparent;color:#235942;padding:.3rem .2rem;font-size:.88rem;font-weight:600}
.text-action:hover{text-decoration:underline}
.button{border:1px solid #c6d2cb;border-radius:.55rem;padding:.68rem 1rem;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;line-height:1.2;background:#fff;color:var(--ink);font-weight:600;font-size:.9rem;min-height:2.6rem}
.button:hover{background:#f0f4f1}.button.primary{background:#214e3e;color:#fff;border-color:#214e3e}.button.primary:hover{background:#143a2c}
.button.full{width:100%;margin-top:1.4rem}.button.small{font-size:.87rem;padding:.4rem .75rem;min-height:2.15rem}
.error-line{color:#9b3527;margin-top:.75rem;font-size:.9rem;line-height:1.45}
.shell{min-height:100dvh;display:grid;grid-template-columns:14.75rem minmax(0,1fr)}
.sidebar{height:100dvh;position:sticky;top:0;display:flex;flex-direction:column;background:var(--pine);padding:2.1rem 1.05rem 1.15rem;color:#f8fbf8}
.sidebar .brand{padding-inline:.65rem}
nav{display:grid;gap:.36rem;margin-top:3.6rem}
nav a{display:flex;align-items:center;gap:.82rem;min-height:2.85rem;color:#c3d0c9;text-decoration:none;border-radius:.55rem;padding:.65rem .82rem;font-size:.94rem;font-weight:550}
nav a:hover{background:#23483d;color:#fff}
nav a[aria-current]{background:var(--lime);color:#213d29;font-weight:650}
.chat-activity{margin:.8rem .15rem;padding:.65rem .75rem;border:1px solid #527265;border-radius:.55rem;line-height:1.4}.chat-activity a{display:block;color:#edf3dc;font-size:.83rem;text-decoration:none;overflow-wrap:anywhere}.chat-activity a:hover{text-decoration:underline}
@media(max-width:760px){.chat-activity{grid-row:3;grid-column:1/-1;margin:0}}
.ico{display:inline-block;position:relative;flex:none;width:1.12rem;height:1.12rem;color:inherit;font-style:normal}
.ico.box{border:1.6px solid currentColor;border-radius:3px;height:.95rem;margin-block:.085rem}
.ico.box:before{content:"";position:absolute;top:3px;left:0;right:0;border-top:1.5px solid currentColor}
.ico.box:after{content:"";position:absolute;left:45%;top:4px;height:4px;border-left:1.5px solid currentColor}
.ico.receipt{width:.93rem;margin-inline:.095rem;border:1.5px solid currentColor;border-radius:2px}
.ico.receipt:before{content:"";position:absolute;left:3px;right:3px;top:4px;height:3px;border-top:1.4px solid;border-bottom:1.4px solid}
.ico.calc{width:.92rem;height:1.16rem;margin-inline:.1rem;border:1.5px solid currentColor;border-radius:3px;background:linear-gradient(currentColor,currentColor) center 29%/62% 1.5px no-repeat}
.ico.calc:after{content:"";width:2px;height:2px;background:currentColor;position:absolute;left:3px;bottom:3px;box-shadow:4px 0 currentColor,0 -3px currentColor,4px -3px currentColor}
.ico.speech{border:1.5px solid currentColor;border-radius:4px;height:.87rem;margin-bottom:.2rem}
.ico.speech:after{content:"";position:absolute;bottom:-.28rem;left:2px;width:4px;height:4px;border-left:1.5px solid currentColor;transform:skewX(-25deg)}
.ico.layers:before,.ico.layers:after{content:"";position:absolute;border:1.5px solid currentColor;width:.7rem;height:.7rem;border-radius:2px}.ico.layers:before{top:0;right:0}.ico.layers:after{left:0;bottom:0;background:var(--pine)}nav a[aria-current="page"] .ico.layers:after{background:var(--lime)}
.model-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:1rem}.model-grid>.panel{margin:0;align-self:start}.field a,.help a{color:#245c40}.chat-provider{display:flex;align-items:center;gap:.65rem;padding:.85rem 1.3rem;border-bottom:1px solid var(--border)}.chat-provider label{margin:0}.chat-provider select{width:auto;font-size:.9rem;padding:.42rem .65rem}
.ico.sliders{background:linear-gradient(currentColor,currentColor) center 26%/100% 1.5px no-repeat,linear-gradient(currentColor,currentColor) center 78%/100% 1.5px no-repeat}
.ico.sliders:before,.ico.sliders:after{content:"";position:absolute;background:currentColor;width:3px;height:7px;top:1px;left:4px;border-radius:1px}.ico.sliders:after{left:auto;right:4px;top:auto;bottom:1px}
.account{margin-top:auto;padding:.95rem .15rem 0;border-top:1px solid #3b594e;display:flex;align-items:center;gap:.65rem}
.avatar{width:2.1rem;height:2.1rem;border-radius:.6rem;background:#355749;color:#e0eddd;display:grid;place-items:center;font-size:.94rem;font-weight:650}
.account b,.account span{display:block}.account b{font-size:.85rem}.account span{color:#bacac0;font-size:.78rem;margin-top:.15rem}
#logout{margin-left:auto;background:transparent;color:#cad7cf;border:0;padding:.55rem;display:grid;place-items:center;border-radius:.4rem}#logout:hover{background:#345449}
.ico.exit{border:1.5px solid;border-right:0;width:.6rem;height:.97rem;margin-right:.4rem}.ico.exit:after{content:"";position:absolute;width:.66rem;top:.38rem;left:.32rem;border-top:1.5px solid}
.ico.exit:before{content:"";position:absolute;right:-.42rem;top:.23rem;width:.28rem;height:.28rem;border-top:1.5px solid;border-right:1.5px solid;transform:rotate(45deg)}
.workspace{width:100%;max-width:100rem;padding:clamp(1.5rem,3.8vw,4.2rem) clamp(1.1rem,4vw,4.5rem) 3.5rem;margin-inline:auto;min-width:0}
.ico.portfolio{border-bottom:1.5px solid currentColor;background:linear-gradient(currentColor,currentColor) left .06rem bottom 0/.2rem 38% no-repeat,linear-gradient(currentColor,currentColor) center bottom/.2rem 64% no-repeat,linear-gradient(currentColor,currentColor) right .06rem bottom/.2rem 92% no-repeat}
@media (min-width:641px) and (max-width:760px){.sidebar nav{display:flex;flex-wrap:wrap}.sidebar nav a{flex:1 0 auto}}
.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:2rem}
.page-date{color:var(--muted);font-size:.88rem;letter-spacing:.005em;margin-bottom:.65rem}.page-date:first-letter{text-transform:uppercase}
.head-actions,.panel-tools,.row-actions,.actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.notice{border:1px solid #c0d7c5;background:#e8f3e9;color:#285338;padding:.8rem 1rem;border-radius:.6rem;margin:0 0 1rem}
.notice.error{border-color:#e9c6be;background:#fff1ec;color:#943b2e}
.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;margin-bottom:1.5rem}
.metric{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:.9rem;background:white;padding:1.1rem 1.2rem 1.25rem;min-height:7rem}
.metric:first-child{background:#214a3a;border-color:#214a3a;color:white}
.metric:first-child:after{content:"";position:absolute;right:-1rem;bottom:-2.6rem;width:6.7rem;height:6.7rem;border:1px solid #ffffff28;box-shadow:0 0 0 .8rem #ffffff05,0 0 0 1.6rem #ffffff08,0 0 0 2.4rem #ffffff05;transform:rotate(-28deg)}
.metric span{position:relative;z-index:1;display:block;color:var(--muted);font-size:.88rem}.metric:first-child span{color:#d9e8d9}
.metric strong{position:relative;z-index:1;display:block;margin-top:.72rem;font-size:2.15rem;letter-spacing:-.065em;line-height:1;font-weight:620;font-variant-numeric:tabular-nums}
.panel{background:var(--paper);border:1px solid var(--border);border-radius:.9rem;min-width:0;overflow:hidden}
.panel+.panel{margin-top:1rem}.pad{padding:1.3rem}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.2rem 1.3rem;border-bottom:1px solid var(--border)}
.tabs{display:flex;gap:.28rem;align-items:center;background:#edf2ee;padding:.22rem;border-radius:.55rem}
.tabs button{border:0;background:transparent;color:var(--text);padding:.43rem .72rem;border-radius:.38rem;font-size:.87rem;font-weight:600}
.tabs button[aria-pressed="true"]{background:white;color:var(--pine);box-shadow:0 1px 4px #183a2924}
.search-wrap{position:relative;display:block;margin:0}.search-wrap:before{content:"";width:.6rem;height:.6rem;position:absolute;top:50%;left:.65rem;border:1.5px solid var(--muted);border-radius:100%;transform:translateY(-62%)}
.search-wrap:after{content:"";width:.35rem;background:var(--muted);height:1.5px;position:absolute;left:1.22rem;top:59%;transform:rotate(45deg)}
.search-wrap input{padding:.55rem .65rem .55rem 1.95rem;max-width:17rem;border-color:var(--border);font-size:.9rem;font-weight:400}
.table-wrap{width:100%;overflow-x:auto}
table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:.91rem}
th,td{text-align:left;padding:.84rem .95rem;border-bottom:1px solid #e8ece9}th:first-child,td:first-child{padding-left:1.3rem}th:last-child,td:last-child{padding-right:1.3rem}
th{font-size:.79rem;color:#52675c;background:#f8faf8;font-weight:600}
tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfa}
.numeric{text-align:right;font-variant-numeric:tabular-nums}.primary-cell{font-weight:650;white-space:normal;min-width:8rem}.sub-cell{font-weight:400;color:var(--muted);font-size:.8rem;margin-top:.22rem;overflow-wrap:anywhere}
.count{color:var(--muted);font-size:.86rem;font-weight:400}
.fbs-article{padding-block:.45rem}
.fbs-product{display:inline-flex;align-items:center;gap:.65rem;color:inherit;text-decoration:none;overflow-wrap:anywhere}
a.fbs-product:hover,a.fbs-product:focus-visible{color:#235942;text-decoration:underline}
.fbs-thumbnail{position:relative;display:grid;place-items:center;flex:none;width:44px;height:54px;border-radius:.45rem;overflow:hidden;background:#edf2ec;color:var(--muted)}
.fbs-thumbnail img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media(max-width:760px){.fbs-thumbnail{width:30px;height:39px}.fbs-product{gap:.45rem}}
.empty{padding:3.6rem 1.25rem 4rem;text-align:center;display:grid;justify-items:center;gap:.5rem}
.empty h3{font-size:1.02rem;letter-spacing:-.025em}.empty p,.help,.muted,.loading{color:var(--muted);line-height:1.5;font-size:.9rem}
.empty p{max-width:28rem}.empty-symbol{width:3.4rem;height:3.4rem;display:grid;place-items:center;background:#eaf1e7;border-radius:.95rem;color:#506e56;margin-bottom:.5rem}
.empty-symbol .ico{transform:scale(1.35)}
.badge{display:inline-flex;align-items:center;border-radius:2rem;background:#edf1ef;color:#52645a;font-size:.77rem;line-height:1.25;padding:.27rem .58rem;white-space:nowrap;font-weight:550}
.badge.good{color:#285440;background:#e2eedf}.badge.warn{color:#80552b;background:#fcf0d9}.badge.bad{color:#903c30;background:#fbeae5}
.order-tabs{width:fit-content;margin-bottom:1rem}.period,.period-controls,.order-tools{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.period{justify-content:space-between;margin-bottom:1rem}.period h2{margin-bottom:.38rem}.period .help{max-width:27rem}.period-controls{align-items:flex-end}.period-controls label{margin:0;min-width:7.5rem;flex:1}.period-controls input{display:block;margin-top:.28rem;padding:.48rem .55rem}.order-tools select{width:auto;font-size:.88rem;border-color:var(--border);padding:.5rem}.feed-note{padding:.8rem 1rem;background:#faf7ed}
.sync-line{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin-bottom:1.1rem}
.sync-line .help{font-size:.85rem}.sync-line .text-action{margin-left:auto}
.setting-card{max-width:44rem}.setting-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.setting-card form{margin-top:1.3rem}.field{margin-top:1rem}.field:first-child{margin-top:0}.field .help{margin-top:.4rem;font-size:.84rem}
.actions{margin-top:1.3rem}.help-block{margin:.8rem 0 .4rem}
dialog{width:min(32rem,calc(100% - 2rem));border:1px solid var(--border);border-radius:1rem;padding:1.6rem;color:var(--ink);box-shadow:0 1rem 6rem #0c261c28;max-height:calc(100dvh - 2rem)}
dialog::backdrop{background:#10241a64}dialog h2{padding-right:2rem;margin:0 0 1.25rem}
.dialog-x{float:right;margin:-.4rem -.4rem 0 0}.dialog-x button{border:0;background:#f1f5f2;color:var(--text);font-size:1.4rem;line-height:1;width:2rem;height:2rem;border-radius:50%}
details{margin-top:1rem}summary{cursor:pointer;font-size:.9rem;font-weight:600;color:var(--text)}
.loading{padding:1.1rem 0}.loading.panel{padding:1.2rem}
.chat-panel{display:flex;flex-direction:column;min-height:min(65dvh,40rem)}
.thread-bar{display:grid;grid-template-columns:auto minmax(0,25rem) auto;justify-content:start;align-items:center;gap:.65rem;margin-bottom:1rem}.thread-bar label{margin:0}.thread-bar select{min-width:0;text-overflow:ellipsis}.thread-bar button{white-space:nowrap}
.task-progress{padding:.85rem 1.3rem;border-bottom:1px solid var(--border);background:#fafcf8}.task-phase{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.task-phase h3{font-size:.95rem}.task-progress p{margin-top:.35rem;font-size:.85rem}.task-progress details{margin-top:.5rem}.task-progress ol{list-style:none;padding:0;max-height:15rem;overflow:auto}.task-progress li{padding:.35rem 0;display:flex;gap:.6rem;align-items:baseline;font-size:.82rem}.task-progress time{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.task-stale{color:#80552b}.message [data-action="retry-chat"]{font-size:.82rem;padding:.38rem .65rem;margin-top:.38rem}
@media(max-width:570px){.thread-bar{grid-template-columns:minmax(0,1fr) auto;gap:.35rem .5rem}.thread-bar label{grid-column:1/-1}.task-progress{padding:.8rem 1rem}.task-progress li{flex-wrap:wrap;gap:.15rem .5rem}}
.chat-log{padding:1.3rem;overflow:auto;max-height:52dvh;display:grid;gap:.95rem;flex:1;align-content:start}
.chat-log:has(.empty){place-content:center}.message{max-width:min(85%,50rem);justify-self:start;min-width:0}.message.user{justify-self:end}
.message-label{font-weight:600;font-size:.79rem;color:var(--muted);margin-bottom:.3rem}.message.user .message-label{text-align:right}
.bubble{padding:.82rem 1rem;background:#f1f5f1;border-radius:.72rem;font-size:.95rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.message.user .bubble{background:#e6efdc}.chat-form{border-top:1px solid var(--border);padding:1rem 1.3rem}.chat-form textarea{resize:vertical;min-height:4rem}
.composer-controls{margin-top:.65rem;display:flex;align-items:center;justify-content:space-between;gap:.6rem}.composer-controls select{width:auto;font-size:.88rem;padding:.55rem}
.proposal{margin-top:1rem}.proposal pre{max-height:22rem;overflow:auto;background:#142d24;color:#e3eddc;border-radius:.55rem;font: .83rem/1.5 Consolas,monospace;padding:.85rem;margin:.8rem 0;tab-size:4}
.proposal .help{overflow-wrap:anywhere}.error-panel{display:grid;gap:.65rem;justify-items:start}
.chat-provider{flex-wrap:wrap}.chat-provider label:not(:first-child){margin-inline-start:.6rem}
.mode-hint{padding:.62rem 1.3rem;background:#f7f9f6;border-bottom:1px solid var(--border);font-size:.85rem;color:var(--muted);line-height:1.45}
.codex-account{padding:.9rem 1.3rem 1rem;border-bottom:1px solid var(--border)}
.codex-prefs{display:grid;grid-template-columns:repeat(2,minmax(0,16rem));gap:.9rem}.codex-prefs select{padding:.45rem .55rem;font-size:.9rem}
.limits-header{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;margin:1rem 0 .45rem}.limits-header h3{font-size:.9rem}.limits-list{display:flex;flex-wrap:wrap;gap:.5rem}
.limit{padding:.55rem .75rem;border:1px solid var(--border);border-radius:.5rem;font-size:.83rem}.limit strong,.limit>span{display:block}.limit strong{font-size:.95rem;margin:.16rem 0}.limit span,.account-warning{color:var(--muted)}.account-warning{margin-top:.4rem}
.file-tools{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin:.65rem 0}.file-tools .help{font-size:.82rem}
.file-previews{display:flex;gap:.4rem;flex-wrap:wrap}.file-chip{border:1px solid var(--border);border-radius:.55rem;padding:.28rem .4rem;display:flex;align-items:center;gap:.4rem;max-width:100%}.file-chip img{object-fit:cover;border-radius:.3rem}.file-chip b,.file-chip span{display:block;font-size:.8rem;overflow-wrap:anywhere}.file-chip span,.history-files{color:var(--muted);font-size:.77rem}.history-files{margin:.3rem 0;overflow-wrap:anywhere}.file-delete{border:0;font-size:1.3rem;background:transparent;color:var(--text);padding:.25rem .4rem}
@media(max-width:480px){.codex-prefs{grid-template-columns:minmax(0,1fr)}.limit{flex:1 1 9rem}.codex-account{padding-inline:1rem}}
.ops-panel{margin-top:1rem}.ops-list{max-height:56rem;overflow:auto}.op{padding:1.1rem 1.3rem;border-bottom:1px solid var(--border)}.op:last-child{border:0}.op-heading{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap}.op-heading h3{overflow-wrap:anywhere}.op-date{margin-top:.3rem;color:var(--muted);font-size:.8rem}
.op-spec,.op-result{font-family:Consolas,monospace;font-size:.85rem;line-height:1.5;max-height:24rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.op-spec{background:#f1f5f1;border:1px solid var(--border);padding:.72rem .85rem;border-radius:.6rem}.op-result{margin-top:.85rem;color:#294b38}.op-result.error-line{color:#9b3527}
@media(max-width:570px){.chat-provider{display:grid;grid-template-columns:auto minmax(0,1fr);justify-content:start;justify-items:start}.chat-provider label:not(:first-child){margin-inline-start:0}.chat-provider select{max-width:100%}}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1550px){.workspace{padding-inline:5rem}}
@media(max-width:1000px){.shell{grid-template-columns:12.5rem minmax(0,1fr)}.sidebar{padding-inline:.8rem}.workspace{padding-inline:1.4rem}}
@media(max-width:760px){.entry{grid-template-columns:1fr;grid-template-rows:auto 1fr}.entry-art{padding:1.6rem 1.5rem;min-height:0}.entry-domain,.rack-scene{display:none}.entry-body{padding:2rem 1.2rem 15vh}.shell{display:flex;flex-direction:column}.sidebar{position:static;display:grid;grid-template-columns:1fr auto;height:auto;padding:.9rem 1rem .65rem;align-items:center;gap:.85rem}.sidebar .brand{padding:0;font-size:1.33rem}.sidebar .brand-mark{transform:scale(.82);transform-origin:left center;margin-right:-.25rem}.account{grid-column:2;grid-row:1;border:0;padding:0;margin:0}.account>.avatar,.account>div:not(.avatar){display:none}nav{grid-column:1/-1;grid-row:2;display:flex;margin:0;gap:.25rem}nav a{flex:1;justify-content:center;gap:.4rem;padding:.45rem .28rem;font-size:.85rem;min-height:2.35rem}.workspace{padding:1.4rem 1rem 3rem}.metrics{gap:.5rem}.metric{padding:.9rem .75rem;min-height:6.3rem}.metric strong{font-size:1.85rem}.page-head{margin-bottom:1.25rem}.panel-head{padding:.9rem 1rem;flex-wrap:wrap}.panel-tools{flex-wrap:wrap}.entry-art .brand{position:relative}.chat-log{max-height:50dvh}}
@media(max-width:450px){nav a .ico{display:none}.metrics{gap:.35rem}.metric{padding:.75rem .58rem;min-height:5.5rem}.metric span{font-size:.76rem}.metric strong{font-size:1.6rem}.page-head{align-items:center;gap:.4rem}.head-actions .button{padding:.6rem .68rem;font-size:.82rem}.page-date{font-size:.77rem}.search-wrap,.search-wrap input{width:100%;max-width:none}.panel-head .search-wrap{flex:1 1 100%}.pad,.chat-log,.chat-form{padding:1rem}.chat-log:has(.empty) .empty{padding-block:1.6rem}.message{max-width:95%}.composer-controls{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.cost-scopes{display:flex;flex-wrap:wrap;gap:.22rem;width:fit-content;background:#e8eee9;border:1px solid var(--border);padding:.22rem;border-radius:.65rem;margin-bottom:1rem}
.cost-scopes button{padding:.5rem .85rem;border:0;border-radius:.45rem;background:transparent;color:var(--text);font-size:.88rem;font-weight:600}.cost-scopes button[aria-pressed="true"]{color:var(--pine);background:white;box-shadow:0 1px 4px #183a2928}
.cost-metrics{margin-bottom:1rem}.cost-metrics .metric strong{font-size:clamp(1.45rem,2.7vw,2.15rem);overflow-wrap:anywhere}.cost-metrics .metric small{display:block;margin-top:.52rem;color:var(--muted);font-size:.8rem;line-height:1.35}.cost-metrics .metric:first-child small{color:#dbebd9}
.cost-sources{display:flex;flex-wrap:wrap}.cost-source{min-width:0;flex:1 1 14rem;padding:.82rem 1.2rem;border-inline-start:1px solid var(--border)}.cost-source:first-child{border:0}.cost-source-heading{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;font-size:.88rem}.cost-source .help,.cost-source .error-line{font-size:.8rem;margin-top:.25rem;overflow-wrap:anywhere}
.cost-source-actions{flex-basis:100%;padding:.55rem 1.2rem;border-top:1px solid var(--border)}.cost-source-actions .button{min-height:2rem;font-size:.82rem;padding:.4rem .65rem}
.cost-item-pager{padding:.7rem 1.2rem;border-top:1px solid var(--border)}
@media(max-width:390px){#workspace:has(.cost-view) .page-head{flex-wrap:wrap}}
.cost-filters{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;padding:.85rem 1.3rem;border-bottom:1px solid var(--border)}.cost-filters label{margin:0}.cost-filters select{width:auto;max-width:100%;padding:.5rem .68rem;border-color:var(--border);font-size:.9rem}.cost-check{display:inline-flex;gap:.4rem;align-items:center;font-size:.85rem;font-weight:500}.cost-check input{width:1rem;height:1rem;margin:0;accent-color:#245c40}
.cost-import-rows{max-height:35vh;overflow:auto;margin-top:.72rem}.cost-import-rows td{padding:.62rem}.cost-import-errors{margin:.1rem 0;padding-left:1.3rem;color:#953e31;font-size:.88rem;line-height:1.55}.cost-pager{display:flex;align-items:center;justify-content:space-between;gap:.48rem;margin-top:.6rem;font-size:.85rem}.cost-pager .button{min-height:2rem;padding:.32rem .6rem}dialog:has(#cost-preview){width:min(44rem,calc(100% - 2rem))}
@media(max-width:640px){.sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar nav a{min-width:0}.cost-scopes{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.cost-scopes button{min-height:2.4rem}.cost-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-metrics .metric:first-child{grid-column:1/-1}.cost-metrics .metric{min-height:5.3rem}.cost-sources{display:block}.cost-source{padding:.65rem .9rem;border:0;border-top:1px solid var(--border)}.cost-filters{padding:.7rem 1rem}.cost-filters .search-wrap,.cost-filters .search-wrap input{max-width:none;width:100%}.cost-filters select{max-width:12rem}.cost-view .table-wrap table,.cost-view .table-wrap tbody{display:block;white-space:normal}.cost-view .table-wrap thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.cost-view tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem .75rem;padding:.9rem 1rem;border-bottom:1px solid var(--border)}.cost-view tbody tr:last-child{border-bottom:0}.cost-view td,.cost-view td:first-child,.cost-view td:last-child{padding:0;border:0;text-align:left;min-width:0;overflow-wrap:anywhere}.cost-view td.primary-cell{grid-column:1/-1}.cost-view td[data-label]:before{content:attr(data-label);display:block;font-size:.74rem;font-weight:500;color:var(--muted);margin-bottom:.12rem}.cost-edit-cell{grid-column:1/-1}.cost-edit-cell .text-action{padding:.15rem 0}}
