.owner-workspace .or-workspace{display:flex;flex-direction:column;gap:12px;min-width:0;color:var(--text)}
.owner-workspace .or-timecards{height:calc(100dvh - 128px);min-height:480px}
.owner-workspace .or-timecards>.or-time-panel{flex:1;min-height:150px;display:flex;flex-direction:column}
.owner-workspace .or-timecards .or-grid-scroll{flex:1;min-height:90px;max-height:none}
.owner-workspace .or-timecards>.or-controls,.owner-workspace .or-timecards>.or-health,.owner-workspace .or-timecards>.or-caption,.owner-workspace .or-timecards>.or-coverage,.owner-workspace .or-timecards>.or-panel:not(.or-time-panel){flex-shrink:0}
.owner-workspace .or-timecards:has(.or-matches),.owner-workspace .or-timecards:has(.or-details){height:auto}
.owner-workspace .or-operations{height:calc(100dvh - 128px);min-height:560px}
.owner-workspace .or-operations>.or-invoice-panel{flex:1;min-height:170px;display:flex;flex-direction:column}
.owner-workspace .or-operations .or-ledger-scroll{flex:1;min-height:70px;max-height:none}
.owner-workspace .or-operations>.or-controls,.owner-workspace .or-operations>.or-health,.owner-workspace .or-operations>.or-scorecards,.owner-workspace .or-operations>.or-charts,.owner-workspace .or-operations>.or-coverage{flex-shrink:0}
.owner-workspace .or-controls,.owner-workspace .or-date-controls,.owner-workspace .or-actions{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
.owner-workspace .or-controls{justify-content:space-between;min-height:42px}
.owner-workspace .or-controls label{display:grid;gap:4px;font-size:10px;color:var(--muted)}
.owner-workspace .or-controls input,.owner-workspace .or-controls select,.owner-workspace .or-match-row select{font:inherit;font-size:12px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);padding:7px 9px;min-height:34px;max-width:100%}
.owner-workspace .or-controls .btn{min-height:34px;font-size:11px}
.owner-workspace .or-health{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;border-block:1px solid var(--border);padding:9px 0;font-size:10px;color:var(--muted)}
.owner-workspace .or-health>span{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.owner-workspace .or-health small{font-size:10px;opacity:.8}
.owner-workspace .or-health>a{margin-left:auto}
.owner-workspace .or-workspace a{color:var(--accent);text-decoration:none;font-size:11px}
.owner-workspace .or-workspace a:hover{text-decoration:underline}
.owner-workspace .or-dot{height:6px;width:6px;border-radius:100%;background:#65724d;display:inline-block}
.owner-workspace .or-dot.or-warn{background:var(--accent)}
.owner-workspace .or-caption,.owner-workspace .or-coverage{font-size:11px;color:var(--muted);margin:0;line-height:1.5}
.owner-workspace .or-coverage{font-size:10px;max-width:1100px}
.owner-workspace .or-panel{border:1px solid var(--border);background:var(--surface);border-radius:10px;min-width:0;overflow:hidden}
.owner-workspace .or-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--border);min-height:46px;box-sizing:border-box}
.owner-workspace .or-panel-head strong{font-weight:500;font-size:13px}
.owner-workspace .or-panel-head small,.owner-workspace .or-panel-head>span{color:var(--muted);font-size:10px}
.owner-workspace .or-panel-head div>small{display:block;margin-top:4px;line-height:1.4}
.owner-workspace .or-grid-scroll{overflow:auto;max-height:calc(100dvh - 330px);min-height:220px;overscroll-behavior:contain}
.owner-workspace .or-table{width:100%;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;text-align:left;line-height:1.45}
.owner-workspace .or-table th,.owner-workspace .or-table td{padding:11px 13px;font-size:12px;border-bottom:1px solid var(--line);font-weight:400;vertical-align:middle}
.owner-workspace .or-table thead th{background:var(--surface2);color:var(--muted);font-size:10px;position:sticky;top:0;z-index:2;white-space:nowrap;border-bottom:1px solid var(--border)}
.owner-workspace .or-table small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:4px}
.owner-workspace .or-table strong{font-weight:500}
.owner-workspace .or-time-table{min-width:950px}
.owner-workspace .or-time-table tbody th{position:sticky;left:0;background:var(--surface);z-index:1;min-width:170px;font-weight:500}
.owner-workspace .or-time-table thead th:first-child{left:0;z-index:3}
.owner-workspace .or-time-table td{padding:3px;min-width:78px;border-left:1px solid var(--line)}
.owner-workspace .or-time-cell{display:block;border:0;border-radius:5px;background:none;color:var(--text);font:inherit;text-align:left;padding:8px 10px;width:100%;cursor:pointer;min-height:51px;white-space:nowrap}
.owner-workspace .or-time-cell:not(:disabled):hover{background:var(--surface2)}
.owner-workspace .or-time-cell:disabled{cursor:default;color:var(--muted)}
.owner-workspace .or-time-cell small{color:#73805d}
.owner-workspace .or-week-total{padding:10px 13px!important;background:var(--surface2);white-space:nowrap}
.owner-workspace .or-foot{border-top:1px solid var(--border);padding:10px 16px;font-size:10px;color:var(--muted);line-height:1.5}
.owner-workspace .or-empty{text-align:center;padding:28px!important;color:var(--muted);font-size:12px}
.owner-workspace .or-loading{display:grid;place-items:center;min-height:300px;color:var(--muted);font-size:13px}
.owner-workspace .or-error,.owner-workspace .or-message{border:1px solid #ac4c2633;border-radius:7px;background:#ac4c260a;padding:10px 13px;font-size:12px;line-height:1.5;margin:0;color:var(--accent)}
.owner-workspace .or-message{color:#64714d;background:#64714d0b;border-color:#64714d33}
.owner-workspace .or-match-scroll{max-height:290px;overflow:auto}
.owner-workspace .or-match-row{display:flex;align-items:center;gap:16px;padding:12px 16px;border-bottom:1px solid var(--line);font-size:12px}
.owner-workspace .or-match-row>div:first-child{min-width:240px;flex:1}
.owner-workspace .or-match-row strong{font-weight:500}
.owner-workspace .or-match-row small{display:block;font-size:10px;color:var(--muted);margin-top:4px}
.owner-workspace .or-match-row label{flex:1;max-width:330px;min-width:200px}
.owner-workspace .or-match-row select{width:100%}
.owner-workspace .or-match-actions{display:flex;gap:6px;flex-wrap:wrap}
.owner-workspace .or-match-actions .btn{font-size:10px;padding:7px 9px}
.owner-workspace .or-detail-scroll{max-height:260px;overflow:auto}
.owner-workspace .or-details article{padding:13px 16px;border-bottom:1px solid var(--line);font-size:12px}
.owner-workspace .or-details article>div{display:flex;justify-content:space-between;gap:12px}
.owner-workspace .or-details article strong{font-weight:500}
.owner-workspace .or-details article p{margin:7px 0;color:var(--muted);font-size:11px}
.owner-workspace .or-details article small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.owner-workspace .or-details article .or-warning{color:var(--accent)}
.owner-workspace .or-scorecards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.owner-workspace .or-scorecards>div{border:1px solid var(--border);border-radius:9px;background:var(--surface);padding:13px 16px;display:grid;gap:6px}
.owner-workspace .or-scorecards small{font-size:11px;color:var(--muted)}
.owner-workspace .or-scorecards strong{font-size:25px;line-height:1.1;font-weight:400;letter-spacing:-.6px}
.owner-workspace .or-scorecards span{font-size:10px;color:var(--muted)}
.owner-workspace .or-scorecards>div:first-child strong{color:var(--accent)}
.owner-workspace .or-charts{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.owner-workspace .or-trend{display:flex;align-items:flex-end;gap:14px;padding:20px 20px 12px;height:158px;box-sizing:border-box;overflow:auto}
.owner-workspace .or-trend>div{flex:1;min-width:56px;display:flex;flex-direction:column;align-items:center;gap:5px;height:126px;justify-content:flex-end;font-size:10px}
.owner-workspace .or-trend i{height:calc(var(--or-bar-ratio) * var(--or-chart-bar-height,100px));display:block;width:68%;max-width:70px;background:var(--accent);border-radius:3px 3px 0 0;flex-shrink:0;opacity:.82}
.owner-workspace .or-trend span{font-size:9px;white-space:nowrap;color:var(--muted)}
.owner-workspace .or-trend small{font-size:9px;color:var(--muted)}
.owner-workspace .or-service-mix{height:158px;overflow:auto;padding:7px 16px;box-sizing:border-box}
.owner-workspace .or-service-mix>div{position:relative;display:flex;justify-content:space-between;gap:10px;font-size:11px;padding:9px 0 12px}
.owner-workspace .or-service-mix strong{font-weight:500;white-space:nowrap}
.owner-workspace .or-service-mix i{position:absolute;left:0;bottom:5px;max-width:100%;height:3px;background:#71805b55;border-radius:3px}
.owner-workspace .or-ledger-scroll{overflow:auto;max-height:calc(100dvh - 515px);min-height:160px;overscroll-behavior:contain}
.owner-workspace .or-ledger-scroll .or-table{min-width:790px}
.owner-workspace .or-number{text-align:right;white-space:nowrap}
.owner-workspace .or-exclusions{border-top:1px solid var(--border);font-size:10px;color:var(--muted);padding:10px 16px;line-height:1.6}
.owner-workspace .or-exclusions summary{cursor:pointer}
.owner-workspace .or-exclusions[open]{max-height:220px;overflow:auto}
.owner-workspace .or-workspace button:focus-visible,.owner-workspace .or-workspace a:focus-visible,.owner-workspace .or-workspace select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.or-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1100px){.owner-workspace .or-health{gap:8px 12px}.owner-workspace .or-match-row{flex-wrap:wrap}.owner-workspace .or-grid-scroll{max-height:calc(100dvh - 360px)}.owner-workspace .or-charts{grid-template-columns:1fr 1fr}.owner-workspace .or-scorecards strong{font-size:21px}}
@media(min-width:701px) and (max-height:800px){.owner-workspace .or-trend,.owner-workspace .or-service-mix{height:120px}.owner-workspace .or-trend>div{height:90px}.owner-workspace .or-trend{--or-chart-bar-height:64px}}
@media(max-width:700px){.owner-workspace .or-operations{height:auto;min-height:0}.owner-workspace .or-operations .or-ledger-scroll{max-height:400px;flex:auto}}
@media(max-width:700px){.owner-workspace .or-controls{align-items:stretch}.owner-workspace .or-date-controls{gap:6px}.owner-workspace .or-date-controls input{max-width:135px}.owner-workspace .or-health>a{margin-left:0}.owner-workspace .or-scorecards{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-workspace .or-charts{grid-template-columns:1fr}.owner-workspace .or-ledger-scroll{max-height:400px}.owner-workspace .or-match-row>div:first-child{min-width:100%}.owner-workspace .or-match-row label{min-width:100%;max-width:none}.owner-workspace .or-grid-scroll{max-height:480px}.owner-workspace .or-panel-head{padding:10px 12px}.owner-workspace .or-coverage{font-size:10px}.owner-workspace .or-table td,.owner-workspace .or-table th{font-size:11px}.owner-workspace .or-time-table{min-width:890px}}
