
:root{--navy:#142c32;--ink:#17343a;--muted:#5c6c6e;--paper:#f6f5ef;--surface:#fffefa;--line:#d7dfda;--green:#186454;--pale:#e5eee7;--amber:#795717;--red:#9b403b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px 'Avenir Next',Avenir,'Segoe UI',sans-serif;line-height:1.5}button,input,select{font:inherit}button,select{cursor:pointer}button{min-height:44px;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:9px 16px;border-radius:5px;font-weight:600}button:hover{background:var(--pale)}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--green);color:white;border-color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c1882e;outline-offset:3px}.shell{display:grid;grid-template-columns:234px 1fr;min-height:100vh}aside{background:var(--navy);color:#f5f5e9;padding:32px 22px;display:flex;flex-direction:column;gap:35px}.brand{font:25px Georgia,serif;letter-spacing:.01em;line-height:1.12}.brand small{font:11px 'Avenir Next',sans-serif;text-transform:uppercase;letter-spacing:.18em;display:block;margin-bottom:10px;color:#adc9bd}.nav{display:grid;gap:6px}.nav button{background:transparent;border:0;color:#bfcecb;text-align:left;font-size:14px;border-radius:4px;padding:12px}.nav button.active{color:white;background:#2b494b}.nav .cap{font-size:10px;text-transform:uppercase;letter-spacing:.15em;color:#9db2ac;margin:23px 12px 6px}.aside-foot{margin-top:auto;font-size:12px;color:#b6c9c0}.aside-foot strong{display:block;color:white;font-size:13px}.workspace{min-width:0}.demo{padding:10px 35px;background:#e9eddf;border-bottom:1px solid #cbd3c4;font-size:12px;display:flex;gap:15px;align-items:center;justify-content:space-between}.demo b{text-transform:uppercase;letter-spacing:.1em;font-size:10px}.demo button{padding:3px 10px;min-height:32px;font-size:12px;background:transparent}header{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:23px 38px;border-bottom:1px solid var(--line);background:var(--surface)}.crumb{font-size:12px;color:var(--muted)}.profile{display:flex;align-items:center;gap:12px;font-size:13px}.avatar{width:35px;height:35px;display:grid;place-items:center;background:var(--pale);border-radius:50%;font-size:12px;font-weight:700}main{padding:34px 38px 60px;max-width:1550px}h1{font:34px Georgia,serif;line-height:1.2;margin:0 0 10px}h2{font-size:18px;margin:0 0 16px}h3{font-size:15px;margin:0 0 10px}p{margin:0 0 15px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);margin-bottom:9px}.heading{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:26px}.heading p{margin:0;font-size:14px}.split{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:24px}.panel{border:1px solid var(--line);background:var(--surface);padding:25px;border-radius:6px;margin-bottom:22px}.panel.flush{padding:0}.panel-title{padding:20px 23px 0}.panel-title h2{margin-bottom:5px}.pill{display:inline-block;padding:4px 9px;font-size:11px;font-weight:700;border-radius:3px;background:var(--pale);color:var(--green);white-space:nowrap}.pill.review{background:#f1e8d3;color:var(--amber)}.pill.hold{background:#f5e4df;color:var(--red)}.facts{display:flex;gap:30px;margin:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0}.facts strong{font-size:24px;font-weight:500;display:block;font-variant-numeric:tabular-nums}.facts span{font-size:12px;color:var(--muted)}.weekdays{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:18px 0}.day{padding:12px 5px;text-align:center;background:#edf2eb;border-radius:4px;font-size:12px}.day strong{display:block;font-size:18px;margin:5px 0;font-weight:600}.day.miss{background:#f3ead7;color:#71551e}.day small{font-size:10px}.note{font-size:12px;color:var(--muted)}.row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.row:last-child{border:0}.row span{font-size:13px}.row strong{font-size:13px}.progress{height:6px;background:#e1e7df;border-radius:2px;margin:12px 0}.progress i{display:block;height:100%;background:var(--green)}.num{font-variant-numeric:tabular-nums}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:600;background:#f6f7f1}td,th{padding:15px 20px;border-bottom:1px solid var(--line);white-space:nowrap}tr:last-child td{border:0}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:18px;flex-wrap:wrap}label{font-size:13px;font-weight:600;display:block}input,select{min-height:44px;border:1px solid #b6c5bf;background:var(--surface);border-radius:4px;padding:9px 12px;color:var(--ink);width:100%;margin:6px 0 4px}input[type=checkbox]{min-height:20px;width:20px;margin:0;accent-color:var(--green)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid small{font-size:11px;font-weight:400;color:var(--muted)}.check{display:flex;gap:12px;align-items:flex-start;margin:22px 0;font-size:13px;font-weight:400}.check input{flex-shrink:0;margin-top:3px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.message{padding:13px 16px;background:var(--pale);margin:16px 0;font-size:13px;border-radius:4px}.message.error{background:#f5e4df;color:var(--red)}[hidden]{display:none!important}.policy-list{padding-left:19px;font-size:14px}.policy-list li{margin-bottom:14px}.step{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.step b{font:23px Georgia,serif;color:#6c8479;min-width:24px}.step p{font-size:13px;margin:4px 0}.state-total{display:flex;justify-content:space-between;align-items:center;margin:18px 0;font-size:14px}.state-total strong{font-size:19px}.inline-select{width:auto;min-width:110px;margin:0}footer{font-size:11px;color:var(--muted);padding-top:20px}dialog{border:1px solid var(--line);border-radius:8px;padding:28px;max-width:570px;width:calc(100% - 32px);color:var(--ink);background:var(--surface)}dialog::backdrop{background:#122b3577}dialog h2{font:26px Georgia,serif}.empty{padding:24px;color:var(--muted);font-size:13px}.mobile-label{display:none}@media(max-width:1000px){.split{grid-template-columns:1fr}.shell{grid-template-columns:195px 1fr}main{padding:26px 23px}.demo,header{padding-left:23px;padding-right:23px}.facts{gap:24px}}@media(max-width:680px){.shell{display:block}aside{padding:19px 18px;gap:18px}.brand{font-size:23px}.brand small{font-size:9px;margin-bottom:5px}.aside-foot{display:none}.nav{display:flex;overflow-x:auto;gap:5px}.nav button{white-space:nowrap;padding:8px 12px}.nav .cap{display:none}.demo{padding:12px 18px;align-items:flex-start}.demo span{max-width:225px}header{padding:15px 18px}.crumb{font-size:11px}.profile{font-size:11px;gap:6px}.avatar{display:none}main{padding:25px 18px}h1{font-size:29px}.heading{align-items:flex-start;flex-direction:column;gap:14px}.panel{padding:19px}.form-grid{grid-template-columns:1fr}.facts{gap:20px}.facts strong{font-size:21px}.weekdays{gap:5px}.day strong{font-size:16px}td,th{padding:13px}.actions button{flex-grow:1}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Owner-only section shortcuts; existing design tokens and agent styles retained. */
.owner-jumps{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.owner-jumps a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:5px;color:var(--green);background:var(--surface);font-weight:600;text-underline-offset:3px}#owner-controls>summary:focus-visible{outline:3px solid #c1882e;outline-offset:3px}
/* Dashboard hierarchy additions; original approved design tokens retained. */
.production-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.production-cards .panel{min-width:0}.production-cards strong{font-size:26px;overflow-wrap:anywhere}.premium-progress{height:12px;background:var(--pale);border:1px solid var(--line);border-radius:6px;overflow:hidden;margin:16px 0}.premium-progress>span{display:block;height:100%;background:var(--green)}@media(max-width:900px){.production-cards{grid-template-columns:1fr}}
/* Authenticated integration additions; approved V4 rules above retained. */
pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.record{padding:16px 0;border-bottom:1px solid var(--line)}summary{cursor:pointer;min-height:44px;font-weight:600}#status:empty{display:none}#status{padding:12px 16px;background:var(--pale);border-radius:4px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}#metrics>label{margin:16px 0}#login{max-width:420px}#login label{margin:16px 0}.profile{flex-wrap:wrap}#identity{overflow-wrap:anywhere}.facts>div{min-width:0}.facts strong{overflow-wrap:anywhere}.check{max-width:100%}.day{min-width:0}.day>span{font-variant-numeric:tabular-nums}@media(max-width:680px){.day>span{font-size:9px;white-space:nowrap}.day{padding-left:2px;padding-right:2px}header{align-items:flex-start;flex-direction:column;gap:10px}.grid{grid-template-columns:1fr}.facts{flex-wrap:wrap}}
