:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#faf8f5;font-synthesis:none;--ink:#faf8f5;--dark:#18191b;--muted:#bdbcc0;--line:#434347;--paper:#202124;--accent:#ff822f;--highlight:#ffac71;--radius:16px;--content:850px;background:#101112;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}*,:before,:after{box-sizing:border-box}body{min-width:280px;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.58;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:2px solid #ffac71}button svg,.empty svg,.address svg,.tile-place svg{flex:none;width:21px;height:21px}p{margin:0;line-height:1.55}h1,h2{letter-spacing:-.038em;overflow-wrap:anywhere;margin:0;line-height:1.13}h1{font-size:clamp(2rem,6vw,3.1rem);font-weight:780}h2{font-size:1.25rem}.app-shell{min-height:100dvh}header{border-bottom:1px solid var(--line);color:#fff;background:var(--dark);padding-top:env(safe-area-inset-top)}.topbar,.demo-bar,main,.bottom>div{max-width:var(--content);margin-inline:auto}.topbar{justify-content:space-between;align-items:center;gap:12px;min-height:76px;padding:12px 24px;display:flex}.brand{align-items:center;gap:11px;display:flex}.brand-mark{object-fit:contain;flex:none;width:92px;height:46px;display:block}.brand-section{color:#f5f3f0;border-left:1px solid #646265;padding-left:11px;font-size:.88rem;font-weight:650}.account{text-align:right;gap:2px;min-width:0;display:grid}.account span{color:#ffb37a;font-size:.73rem}.account strong{overflow-wrap:anywhere;font-size:.86rem}.demo-wrap{background:#202124;border-bottom:1px solid #3d3e40}.demo-bar{justify-content:space-between;align-items:center;gap:10px;padding:9px 24px;display:flex}.demo-bar>div:first-child{gap:1px;display:grid}.demo-bar strong{font-size:.83rem}.demo-bar span{color:var(--muted);font-size:.73rem}.role-switch{background:#303135;border-radius:11px;align-items:stretch;padding:3px;display:flex}.role-switch button{color:var(--ink);background:0 0;border:0;border-radius:8px;min-height:42px;padding-inline:11px;font-size:.81rem;font-weight:650}.role-switch button[aria-pressed=true]{color:#171310;background:var(--accent)}main{padding:29px 24px calc(104px + env(safe-area-inset-bottom))}.screen{gap:19px;display:grid}.screen:focus{outline:none}.page-heading{justify-content:space-between;align-items:start;gap:16px;display:flex}.page-heading p{color:var(--muted);margin-top:7px;font-size:.94rem}.page-heading>.status{margin-top:4px}.chat-order-heading{max-width:100%;min-height:44px;color:inherit;text-align:start;letter-spacing:inherit;overflow-wrap:anywhere;background:0 0;border:0;gap:7px;padding:0;display:inline-grid}.chat-order-heading svg{color:var(--accent);vertical-align:middle}.chat-order-heading:hover>span:first-child{color:var(--highlight)}.chat-order-district{letter-spacing:normal;color:var(--muted);font-size:.94rem;font-weight:400}.primary,.secondary,.back,.icon-button,.text-button{min-height:46px;color:var(--ink);text-align:center;border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:8px;padding:8px 15px;font-size:.94rem;font-weight:700;display:inline-flex}.primary{color:#171310;background:var(--accent);border-color:#ff9c5a}.primary:not(:disabled):hover{background:#ffa15a}.secondary{background:var(--paper);border-color:#666469}.secondary:not(:disabled):hover,.icon-button:hover{background:#36373a}.text-button,.back{color:#ffaf75;background:0 0}.text-button:hover,.back:hover{text-decoration:underline}.back{justify-self:start;margin-block:-9px -6px;padding-inline:0 10px}.icon-button{background:#323336;width:46px;padding:0}.create-button{flex-shrink:0}.actions{flex-wrap:wrap;gap:9px;display:flex}.actions>button{flex:1 0 max-content}.bottom{z-index:1;background:var(--dark);color:#ecebec;padding:6px 12px calc(6px + env(safe-area-inset-bottom));position:fixed;inset:auto 0 0}.bottom>div{gap:5px;display:flex}.bottom button{min-height:58px;color:inherit;background:0 0;border:0;border-radius:11px;flex:1;align-content:center;justify-items:center;gap:4px;padding:3px;font-size:.72rem;font-weight:650;display:grid}.bottom button[aria-current=page]{color:var(--dark);background:var(--accent)}.bottom button:focus-visible,.role-switch button:focus-visible{outline-offset:1px;outline-color:#ffc798}.panel,.order-tile,.empty{border:1px solid var(--line);border-radius:var(--radius);background:var(--paper)}.filters{border-radius:var(--radius);background:#202124;border:1px solid #434347;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:10px;padding:13px;display:grid}.filters .text-button{grid-column:1/-1;justify-self:start}.status-filter select{width:auto;min-width:150px}.list-heading{border-bottom:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:0 2px 9px;font-size:.83rem;display:flex}.list-heading>:first-child{color:var(--ink);font-weight:750}.order-grid,.stack{gap:12px;display:grid}.order-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-grid:empty{display:none}.order-tile{width:100%;color:inherit;text-align:left;gap:8px;min-width:0;padding:15px;display:grid}button.order-tile:hover{background:#2b2928;border-color:#ff9754}.tile-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 9px;display:flex}.tile-date{color:#ffb47d;font-size:.81rem;font-weight:750}.tile-title{letter-spacing:-.027em;overflow-wrap:anywhere;font-size:1.29rem;line-height:1.16}.tile-place,.tile-assignee,.tile-order-number{color:var(--muted);overflow-wrap:anywhere;font-size:.84rem}.tile-place{align-items:center;gap:4px;display:inline-flex}.tile-place svg{width:16px;height:16px}.tile-footer{border-top:1px solid #414144;align-items:center;column-gap:11px;margin-top:2px;padding-top:9px;font-size:.83rem;display:flex}.tile-footer>strong{color:var(--ink);font-size:1.05rem}.tile-footer>svg{color:var(--highlight);margin-left:auto}.status{color:#e4e2e4;background:#343539;border-radius:6px;flex:none;justify-self:start;align-items:center;padding:5px 8px;font-size:.73rem;font-weight:750;line-height:1.1;display:inline-flex}.status-open{color:#ffd4ab;background:#49301f}.status-assigned{color:#f8f5f1;background:#46454a}.status-completed{color:#c4e6d3;background:#253c32}.status-closed{color:#d8eee1;background:#304b3b}.status-urgent{color:#ffceb0;background:#582c23}.status-offer-invited{color:#d5f4de;background:#294637}.status-offer-waiting{color:#ffe1ad;background:#483723}.pool-controls{flex-wrap:wrap;gap:8px;display:flex}.pool-controls button{flex:auto}.role-switch{flex-wrap:wrap}.status-cancelled{color:#ffc3b8;background:#482d29}.detail-panel,.form-panel{overflow-wrap:anywhere;gap:15px;padding:clamp(14px,4vw,22px);display:grid}.people{color:var(--muted);flex-wrap:wrap;gap:8px 24px;font-size:.83rem;display:flex}.people strong{color:var(--ink);margin-top:3px;font-size:.97rem;display:block}.address{background:#303034;border-radius:11px;gap:10px;padding:12px 13px;display:flex}.address svg{color:var(--highlight);margin-top:1px}.address div{gap:3px;display:grid}.address span,.address small{color:var(--muted);font-size:.79rem}.address strong{font-size:1.05rem}.facts{gap:12px;margin:0;display:grid}.facts dt{color:var(--muted);margin-bottom:4px;font-size:.8rem}.facts dd{white-space:pre-wrap;margin:0;font-weight:650}.facts.metrics{border-bottom:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));padding-bottom:14px}.facts.conditions{grid-template-columns:repeat(2,minmax(0,1fr))}.section{gap:10px;display:grid}.preserve{white-space:pre-wrap}.confirmation p{color:var(--muted)}label,legend{color:var(--ink);font-size:.88rem;font-weight:650}label{gap:6px;min-width:0;display:grid}input,select,textarea{width:100%;min-width:0;min-height:44px;color:var(--ink);background:#151618;border:1px solid #666469;border-radius:8px;padding:8px 9px;font-size:1rem;font-weight:400}textarea{resize:vertical}input::placeholder{color:#afadb0}.field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}fieldset{border:1px solid var(--line);border-radius:9px;gap:4px;min-width:0;margin:0;padding:8px 12px;display:grid}legend{padding-inline:4px}.check{align-items:center;gap:7px;min-height:40px;font-weight:500;display:flex}.check input{accent-color:var(--highlight);width:18px;height:18px;min-height:0;margin:0;padding:0}.muted,.loading{color:var(--muted)}.week{gap:10px;padding:10px;display:grid}.week-title,.week-links{text-align:center;justify-content:space-between;align-items:center;gap:5px;display:flex}.week-title strong{font-size:.99rem}.week-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.week-days button{color:var(--ink);background:#303135;border:1px solid #0000;border-radius:8px;justify-items:center;gap:3px;padding:8px 1px;display:grid}.week-days button[aria-pressed=true]{background:#49301f;border-color:#ffac71}.week-days span{color:var(--muted);font-size:.75rem}.week-days strong{font-size:1.05rem}.day-dot{background:0 0;border-radius:50%;width:5px;height:5px}.day-dot.occupied{background:var(--highlight)}.week-links{flex-wrap:wrap}.week-links button{padding-inline:6px}.agenda{gap:8px;display:grid}.agenda h2{letter-spacing:-.01em;font-size:1.05rem}.empty{text-align:center;align-content:center;justify-items:center;gap:8px;min-height:145px;padding:17px;display:grid}.empty svg{color:var(--highlight)}.empty p{color:var(--muted);font-size:.87rem}.note{overflow-wrap:anywhere;border:1px solid;border-radius:10px;padding:11px 13px;font-size:.9rem;font-weight:600;line-height:1.5}.note.success{color:#d1ebd8;background:#28362e;border-color:#536a59}.note.error{color:#ffd3ca;background:#422b27;border-color:#875a50}.note .text-button{color:inherit;padding:0 4px}.note code,.note small{display:block}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=570px){.topbar,.demo-bar,main{padding-inline:15px}.topbar{min-height:62px}main{padding-top:21px}.screen{gap:15px}.order-grid{grid-template-columns:1fr;gap:9px}.page-heading:has(.create-button){flex-direction:column;gap:11px}.create-button{width:100%}.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.filters>label:last-of-type{grid-column:1/-1}.facts.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.facts.metrics>:first-child{grid-column:1/-1}.actions>button{flex-basis:100%}}@media (width<=410px){.field-row:has(input[type=datetime-local]){grid-template-columns:1fr}}.crew-summary{border-block:1px solid var(--line);gap:5px;padding-block:10px;display:grid}.crew-summary span{color:var(--muted);font-size:.87rem}.nav-label{position:relative}.unread{color:#151310;background:#ff9149;border-radius:20px;place-items:center;min-width:19px;height:19px;padding:0 4px;font:700 12px/1 system-ui;display:inline-grid}.nav-label .unread{border:1px solid #272628;position:absolute;bottom:90%;left:calc(100% - 3px)}.order-tile.has-unread,.question-row.has-unread,.form-panel.has-unread{border-inline-start:4px solid #ff6e79}.tile-unread,.question-row .unread{color:#ffe4e6;background:#792d38;justify-self:start;padding-inline:8px}.question-row{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:10px;gap:6px;padding:10px;display:grid}.question-actions{flex-wrap:wrap;gap:6px;display:flex}.question-actions button{min-height:44px}.bubble .chat-context-link{text-align:left;min-height:42px;padding-inline:0;font-size:.85rem}.file-picker{gap:8px;display:grid}.file-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;display:flex}.file-name{text-align:left;overflow-wrap:anywhere;min-width:0}.file-preview{object-fit:contain;max-width:100%;max-height:55vh}.message-list{flex-direction:column;gap:9px;min-height:88px;max-height:50dvh;padding:8px;display:flex;overflow:auto}.bubble{background:var(--paper);border:1px solid var(--line);overflow-wrap:anywhere;border-radius:12px;flex:none;align-self:flex-start;max-width:88%;padding:9px 13px}.bubble.mine{background:#3c2a20;border-color:#875135;align-self:flex-end}.bubble strong,.bubble time{color:var(--muted);font-size:.75rem;display:block}.bubble p{white-space:pre-wrap;margin:4px 0}.chat-bottom{flex-shrink:0;height:1px}
