.workspace-mode>.demo-nav,.workspace-mode>.demo-mast { display:none; }
#workspace { padding-top:clamp(18px,4vw,44px); }
.workspace-heading { padding:0 0 17px; background:none; display:flex; justify-content:flex-start; align-items:center; gap:13px; flex-wrap:nowrap; margin-bottom:20px; }
.workspace-heading h2 { font-size:clamp(1.9rem,5vw,3.6rem); margin:0; }
.workspace-heading .eyebrow { margin:0 0 4px; font-size:.72rem; }
.workspace-menu-button,.remove-line { display:grid; place-items:center; width:44px; min-width:44px; height:44px; color:var(--ink); background:#12283f; border:1px solid var(--line); border-radius:10px; }
.workspace-menu-button:hover,.remove-line:hover { border-color:var(--gold); color:var(--gold); }
#workspaceMenu { position:fixed; inset:0 auto 0 0; margin:0; width:min(320px,87vw); max-width:none; height:100%; max-height:none; border:0; border-right:1px solid var(--line); border-radius:0; background:#0d2036; color:var(--ink); padding:0; }
#workspaceMenu::backdrop { background:#020915b5; }
.drawer-head { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:17px; border-bottom:1px solid var(--line); }
.drawer-head h3 { margin:0; font-size:1.35rem; }
.drawer-head button { font-size:1.5rem; }
.workspace-links { display:grid; gap:3px; padding:10px; }
.workspace-links a { display:block; border-radius:8px; padding:11px 12px; min-height:44px; }
.workspace-links a:hover,.workspace-links [aria-current=page] { background:#19354f; color:var(--gold); }
#workspace .dashboard-board { display:block; }
.inquiry-inbox,.estimate-lines,.estimate-summary { background:#0f243a; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.inbox-header,.estimate-lines-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; padding:15px 16px; }
.inbox-header h3,.estimate-lines-heading h3 { margin:0; font-size:1.35rem; }
.inbox-header p { margin:3px 0 0; color:var(--muted); font-size:.88rem; }
#workspace .button { border-radius:8px; }
.inbox-header .button,.estimate-lines-heading .button { font-size:.84rem; padding:7px 12px; }
.inbox-empty { padding:12px 16px; color:var(--muted); }
.job-card.inquiry-row { display:grid; grid-template-columns:38px minmax(0,1fr) auto; gap:10px; align-items:center; margin:0; padding:13px 16px; border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; }
.job-card.inquiry-row:hover { background:#142f49; }
.inquiry-avatar { width:38px; height:38px; display:grid; place-items:center; border-radius:10px; background:#1e3b54; color:#f0c992; font-weight:800; }
.inquiry-person { display:grid; min-width:0; gap:3px; line-height:1.25; }
.inquiry-person .job-name { color:var(--ink); }
.inquiry-person span { color:var(--muted); }
.inquiry-row .job-state { padding:4px 7px; border-radius:5px; background:#1d344b; text-align:right; }
.inquiry-row .is-unread { background:#e2bc7d22; color:#ffdb9a; }
.pipeline-groups { display:grid; gap:14px; }
.estimate-editor { display:grid; grid-template-columns:minmax(0,1fr) minmax(245px,.46fr); gap:14px; align-items:start; }
.estimate-client { display:flex; align-items:center; gap:10px; padding:14px 16px; border-bottom:1px solid var(--line); }
.estimate-client img { flex:none; border-radius:50%; }
.estimate-client div { flex:1; min-width:0; }
.estimate-client p { margin:0; color:var(--muted); font-size:.83rem; }
.estimate-client>span { color:var(--gold); font-size:.82rem; }
#estimateRows { padding:0 12px 12px; display:grid; gap:8px; }
#estimateRows .estimate-row { display:grid; grid-template-columns:minmax(0,1fr) 44px; gap:8px; align-items:start; margin:0; padding:12px; background:#0a192c; border:1px solid var(--line); border-radius:10px; }
#estimateRows .estimate-row label,.deposit-field,.line-amount span { color:var(--muted); font-size:.85rem; }
#estimateRows textarea { resize:vertical; min-height:54px; field-sizing:content; }
#estimateRows textarea,#estimateRows input,.deposit-field input { font-size:1rem; }
#estimateRows .remove-line { grid-column:2; margin-top:16px; justify-self:end; background:transparent; }
#estimateRows .remove-line:disabled { opacity:.35; cursor:default; }
.line-pricing { grid-column:1/-1; display:grid; grid-template-columns:.65fr 1fr 1fr; gap:8px; align-items:end; }
.line-amount { display:grid; justify-items:end; gap:8px; text-align:right; padding-bottom:7px; }
.line-amount strong,.estimate-calculations dd { font-variant-numeric:tabular-nums; }
.estimate-summary { padding:16px; }
.estimate-summary h3 { font-size:1.35rem; }
.estimate-summary small { display:block; margin-top:5px; }
.estimate-calculations { margin:13px 0; }
.estimate-calculations div { display:flex; justify-content:space-between; align-items:baseline; gap:8px; padding:8px 0; border-top:1px solid var(--line); }
.estimate-calculations dd { margin:0; font-weight:800; color:var(--gold); }
.estimate-summary .button { width:100%; }
.estimate-summary>p { margin:8px 0 0; font-size:.8rem; }
@media(max-width:760px){.estimate-editor {grid-template-columns:minmax(0,1fr);}}
@media(max-width:450px){
 .job-card.inquiry-row {grid-template-columns:34px minmax(0,1fr); gap:5px 10px;}
 .inquiry-avatar {grid-row:span 2;width:34px;height:34px;}
 .inquiry-row .job-state {grid-column:2;justify-self:start;}
}
.line-category { grid-column:1/-1; max-width:13rem; }
.line-category select { font-size:1rem; }
.estimate-adjustments { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:12px; }
.estimate-adjustments label,.estimate-tax-note { font-size:.85rem; color:var(--muted); }
.estimate-adjustments input { font-size:1rem; }
.estimate-summary>.estimate-tax-note { margin-top:6px; }
.booking-options { margin:16px 0; padding:12px; border:1px solid var(--line); border-radius:8px; min-width:0; }
.booking-options legend { padding:0 4px; color:var(--gold); font-weight:750; }
.booking-options label { display:block; margin:5px 0 8px; font-size:.85rem; }
.booking-options input,.booking-options select { font-size:1rem; }
.booking-options p { margin:8px 0 0; color:var(--muted); font-size:.82rem; }
