:root { --ink:#18241f; --pine:#174a36; --pine-dark:#0d3225; --paper:#f7f5ef; --warm:#eaf0e9; --orange:#ed7c28; --line:#d8ded8; --muted:#617068; --danger:#a93622; --shadow:0 14px 38px rgba(20,45,31,.11); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color:var(--ink); background:var(--paper); }
* { box-sizing:border-box; } body { margin:0; background:linear-gradient(125deg,#f7f5ef 0%,#eef2ed 45%,#f7f5ef 100%); } button,input,select { font:inherit; } button { cursor:pointer; }
.topbar { min-height:68px; padding:0 max(24px,calc((100vw - 1360px)/2)); display:flex; align-items:center; justify-content:space-between; gap:18px; color:#fff; background:var(--pine-dark); box-shadow:0 2px 7px rgba(0,0,0,.18); } .brand { display:flex; gap:10px; align-items:center; font-weight:800; letter-spacing:.2px; }.brand-mark { display:grid; place-items:center; height:33px; width:33px; color:#fff; background:var(--orange); border-radius:7px; font-size:12px; }.top-actions { display:flex; align-items:center; gap:14px; }.top-actions .muted { color:#c8d4ce; font-size:13px; }.active-job-control { display:flex; align-items:center; gap:9px; margin-left:auto; color:#bed0c6; font-size:10px; font-weight:800; letter-spacing:1px; }.active-job-control select { max-width:350px; padding:8px 28px 8px 10px; border:1px solid #668073; border-radius:5px; color:#fff; background:#174a36; font-size:12px; font-weight:700; }
main { max-width:1360px; padding:36px 24px 72px; margin:auto; }.hero { display:flex; justify-content:space-between; align-items:end; gap:30px; padding:0 4px 28px; }.eyebrow { margin:0 0 7px; color:var(--orange); font-size:11px; font-weight:800; letter-spacing:1.35px; }.hero h1 { max-width:700px; margin:0; font-size:clamp(28px,4vw,47px); line-height:1.04; letter-spacing:-1.8px; }.lede { max-width:690px; color:var(--muted); line-height:1.5; }.hero-total { min-width:220px; padding:18px 22px; border-left:5px solid var(--orange); background:#fff; box-shadow:var(--shadow); }.hero-total span,.hero-total small { display:block; color:var(--muted); font-size:13px; }.hero-total strong { display:block; margin:4px 0; color:var(--pine); font-size:31px; letter-spacing:-1px; }
.tabs { display:flex; gap:5px; margin-bottom:18px; border-bottom:1px solid var(--line); }.tab { padding:12px 18px; border:0; border-bottom:3px solid transparent; background:transparent; color:var(--muted); font-weight:700; }.tab.active { color:var(--pine); border-color:var(--orange); }.tab-panel { display:none; }.tab-panel.active { display:block; }.workspace-grid { display:grid; grid-template-columns:minmax(250px,.75fr) minmax(430px,1.55fr) minmax(250px,.75fr); gap:18px; align-items:start; }.card,.checks-section,.proposal-paper { background:#fff; border:1px solid var(--line); box-shadow:var(--shadow); }.card { padding:22px; }.card-heading { display:flex; justify-content:space-between; gap:14px; align-items:start; margin-bottom:18px; }.card h2,.checks-section h2,.catalog-heading h2 { margin:0; font-size:20px; letter-spacing:-.4px; }.muted { color:var(--muted); font-size:13px; line-height:1.42; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }.form-grid label,.scope-fields label { position:relative; display:flex; flex-direction:column; gap:5px; color:var(--muted); font-size:12px; font-weight:700; }.form-grid input,.scope-fields input,.scope-fields select { width:100%; padding:9px 10px; border:1px solid #c9d2cb; border-radius:6px; color:var(--ink); background:#fcfdfb; outline-color:var(--orange); }.form-grid .unit { position:absolute; right:10px; bottom:10px; color:var(--muted); }.span-2 { grid-column:span 2; }.notice { display:flex; gap:8px; margin-top:20px; padding:10px; border-radius:6px; color:#355a47; background:#e9f2e9; font-size:12px; line-height:1.4; }.notice span { display:grid; flex:0 0 18px; height:18px; place-items:center; border-radius:50%; color:#fff; background:#557c66; font-weight:800; }.notice p { margin:0; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }.form-grid label,.scope-fields label { position:relative; display:flex; flex-direction:column; gap:5px; color:var(--muted); font-size:12px; font-weight:700; }.form-grid input,.form-grid select,.scope-fields input,.scope-fields select { width:100%; padding:9px 10px; border:1px solid #c9d2cb; border-radius:6px; color:var(--ink); background:#fcfdfb; outline-color:var(--orange); }.form-grid input[readonly] { color:#516158; background:#f0f4f0; }.form-grid .unit { position:absolute; right:10px; bottom:10px; color:var(--muted); }.span-2 { grid-column:span 2; }.notice { display:flex; gap:8px; margin-top:20px; padding:10px; border-radius:6px; color:#355a47; background:#e9f2e9; font-size:12px; line-height:1.4; }.notice span { display:grid; flex:0 0 18px; height:18px; place-items:center; border-radius:50%; color:#fff; background:#557c66; font-weight:800; }.notice p { margin:0; }
.scope-list { display:grid; gap:10px; width:100%; }.scope { overflow:hidden; border:1px solid var(--line); border-radius:8px; width:100%; }.scope.active { border-color:#8aa794; }.scope-head { display:flex; align-items:center; gap:10px; padding:13px; background:#fbfcfa; }.scope-head .scope-icon { font-size:20px; }.scope-title { flex:1; }.scope-title strong,.scope-title small { display:block; }.scope-title small { margin-top:2px; color:var(--muted); font-size:12px; }.scope-cost { color:var(--pine); font-size:14px; }.switch { position:relative; display:inline-block; width:42px; height:24px; }.switch input { opacity:0; height:0; width:0; }.slider { position:absolute; inset:0; border-radius:20px; background:#c7d0c9; transition:.15s; }.slider:before { content:""; position:absolute; height:18px; width:18px; left:3px; bottom:3px; border-radius:50%; background:#fff; transition:.15s; }.switch input:checked + .slider { background:var(--pine); }.switch input:checked + .slider:before { transform:translateX(18px); }.scope-body { display:none; padding:14px; border-top:1px solid var(--line); }.scope.active .scope-body { display:block; }.line-items-section { margin-top:18px; padding-top:14px; border-top:1px solid var(--line); }.line-items-section .eyebrow { margin:0 0 10px; }.line-items-table { width:100%; border-collapse:collapse; font-size:12px; }.line-items-table th { padding:7px 5px; border-bottom:1px solid var(--line); color:var(--muted); font-weight:700; text-align:left; }.line-items-table td { padding:8px 5px; border-bottom:1px solid #f0f4f0; }.line-items-table input[type="checkbox"] { cursor:pointer; }.line-items-table tr:hover { background:#fafaf8; }.detail-layout { display:grid; gap:18px; }.detail-card { padding:22px; }.detail-banner { display:flex; gap:10px; margin:18px 0; padding:12px 14px; border-left:4px solid var(--orange); color:#355a47; background:#f6f3e9; font-size:13px; line-height:1.4; }.detail-banner span:first-child { font-size:18px; }.detail-table { width:100%; border-collapse:collapse; font-size:12px; margin:18px 0; }.detail-table th { padding:10px 8px; border-bottom:2px solid var(--pine); color:var(--muted); font-weight:700; text-align:left; }.detail-table td { padding:10px 8px; border-bottom:1px solid var(--line); }.detail-table input[type="checkbox"] { cursor:pointer; }.detail-table tr:hover { background:#f9f7f3; }.detail-summary { margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }.detail-summary .summary-row { display:flex; justify-content:space-between; gap:12px; font-size:14px; font-weight:700; }.scope-fields { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }.scope-computed { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:8px; margin-top:5px; }.chip { padding:5px 8px; border-radius:99px; color:#365645; background:#edf4ef; font-size:12px; }.chip strong { color:var(--ink); }
.job-workspace { display:grid; grid-template-columns:minmax(580px,2fr) minmax(310px,1fr); gap:18px; align-items:start; }.job-card.wide { padding:26px; }.job-log-card { position:sticky; top:15px; }.company-grid { grid-template-columns:repeat(4,1fr); }.job-fields { grid-template-columns:repeat(4,1fr); }.job-fields .span-2 { grid-column:span 2; }.section-rule { margin:22px 0; border-top:1px solid var(--line); }.flow-note,.estimate-banner { display:flex; gap:10px; margin-top:20px; padding:12px 14px; border-left:4px solid var(--orange); color:#355a47; background:#f6f3e9; font-size:13px; line-height:1.4; }.flow-note p { margin:0; }.flow-note span { color:var(--orange); font-size:20px; font-weight:800; }.job-log { display:grid; gap:7px; max-height:580px; overflow:auto; }.job-row { display:flex; justify-content:space-between; gap:10px; width:100%; padding:11px; border:1px solid var(--line); border-radius:6px; color:var(--ink); background:#fff; text-align:left; }.job-row:hover,.job-row.active { border-color:#8aa794; background:#edf4ef; }.job-row span { display:grid; gap:3px; }.job-row span:last-child { text-align:right; }.job-row small { color:var(--muted); font-size:11px; }.estimate-layout { display:grid; grid-template-columns:minmax(480px,2fr) minmax(265px,.8fr); gap:18px; align-items:start; }.estimate-banner { margin:0 0 18px; }.estimate-banner span:first-child { font-size:18px; }.ghost-dark { color:var(--pine); border-color:#8aa794; background:#fff; }.ghost-dark:hover { background:#edf4ef; }
.summary-card { position:sticky; top:15px; }.summary-lines { display:grid; gap:9px; min-height:42px; }.summary-line,.summary-row,.summary-total { display:flex; justify-content:space-between; gap:12px; font-size:13px; }.summary-line { color:var(--muted); }.summary-divider { margin:15px 0; border-top:1px solid var(--line); }.summary-row { margin:10px 0; }.summary-total { margin:18px -22px -22px; padding:17px 22px; color:#fff; background:var(--pine); font-size:16px; }.summary-total strong { font-size:22px; }.button { border:1px solid transparent; border-radius:6px; padding:10px 14px; font-weight:800; }.button.primary { color:#fff; background:var(--orange); }.button.primary:hover { background:#d96513; }.button.ghost { color:#fff; border-color:#668073; background:transparent; }.button.full { width:100%; margin-top:18px; }
.checks-section { display:grid; grid-template-columns:1fr 2fr; gap:22px; margin-top:18px; padding:23px; }.checks-section p { max-width:440px; }.checks-list { display:grid; gap:8px; }.check { display:flex; gap:10px; padding:11px; border:1px solid var(--line); border-left:4px solid #7aa488; background:#fbfcfa; }.check.warning { border-left-color:var(--orange); background:#fffaf5; }.check .check-icon { font-size:17px; }.check strong,.check small { display:block; }.check small { color:var(--muted); margin-top:2px; line-height:1.35; }
.proposal-paper { max-width:850px; min-height:780px; margin:10px auto; padding:54px; }.proposal-head,.proposal-meta { display:flex; justify-content:space-between; gap:18px; }.proposal-head { padding-bottom:24px; border-bottom:4px solid var(--pine); }.proposal-head h2 { margin:5px 0 0; color:var(--pine); text-transform:uppercase; letter-spacing:1.5px; }.proposal-company { margin:0; color:var(--orange); font-size:20px; font-weight:800; }.proposal-head div:last-child { text-align:right; }.proposal-head div:last-child p { margin:0 0 3px; color:var(--muted); font-size:11px; font-weight:800; letter-spacing:1px; }.proposal-meta { padding:24px 0; }.proposal-meta div { flex:1; }.proposal-meta span { display:block; margin-bottom:5px; color:var(--muted); font-size:11px; font-weight:800; }.proposal-meta strong { font-size:14px; }.proposal-paper table,.catalog { width:100%; border-collapse:collapse; }.proposal-paper th,.proposal-paper td,.catalog th,.catalog td { padding:12px 8px; border-bottom:1px solid var(--line); text-align:left; }.proposal-paper th:last-child,.proposal-paper td:last-child,.catalog th:last-child,.catalog td:last-child { text-align:right; }.proposal-paper th,.catalog th { color:var(--muted); font-size:11px; letter-spacing:.8px; text-transform:uppercase; }.proposal-paper tfoot td { font-weight:700; }.proposal-paper tfoot tr:last-child td { border-bottom:0; }.proposal-total td { color:#fff; background:var(--pine); font-size:18px; }.proposal-note { margin-top:35px; color:var(--muted); font-size:12px; line-height:1.5; }.signature { display:flex; justify-content:space-between; margin-top:70px; font-size:13px; }.catalog-heading { display:flex; justify-content:space-between; align-items:end; margin:24px 0 13px; }.catalog-heading input { width:min(300px,100%); padding:10px; border:1px solid var(--line); border-radius:6px; }.catalog-wrap { overflow:auto; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow); }.catalog td { font-size:13px; }.catalog td:nth-child(2),.catalog td:nth-child(3) { color:var(--muted); }
@media (max-width:1040px) { .workspace-grid { grid-template-columns:1fr 1fr; }.summary-card { grid-column:span 2; position:static; }.job-card { grid-row:span 2; }.checks-section { grid-template-columns:1fr; } } @media (max-width:700px) { .topbar { padding:0 16px; }.top-actions .muted,.top-actions .ghost { display:none; } main { padding:25px 15px 50px; }.hero { display:block; }.hero-total { margin-top:20px; }.workspace-grid { grid-template-columns:1fr; }.summary-card { grid-column:auto; }.job-card { grid-row:auto; }.scope-fields { grid-template-columns:1fr 1fr; }.proposal-paper { padding:25px; }.proposal-head,.proposal-meta,.signature { display:block; }.proposal-head div:last-child { margin-top:18px; text-align:left; }.proposal-meta div { margin-bottom:16px; }.signature span { display:block; margin:18px 0; } }
@media print { body { background:#fff; }.topbar,.hero,.tabs,#estimate,#prices { display:none!important; }.tab-panel { display:none!important; }.tab-panel#proposal { display:block!important; }.proposal-paper { margin:0; width:100%; max-width:none; border:0; box-shadow:none; } }
.price-book-layout { display:grid; gap:18px; }.price-book-card { background:#fff; border:1px solid var(--line); box-shadow:var(--shadow); padding:22px; }.price-book-card .card-heading { display:flex; justify-content:space-between; gap:14px; align-items:start; margin-bottom:18px; }.price-book-intro { margin-bottom:18px; color:var(--muted); line-height:1.5; font-size:14px; }.price-book-actions { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:20px; padding-bottom:18px; border-bottom:1px solid var(--line); }.actions-group { display:flex; flex-direction:column; gap:8px; }.actions-label { display:block; color:var(--muted); font-size:11px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; margin-bottom:3px; }.actions-group .button { width:100%; text-align:center; }
.scope-head { position:relative; }
.add-wall-btn { position:absolute; right:130px; top:13px; width:32px; height:32px; padding:0; font-size:18px; font-weight:800; border-radius:50%; }.price-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:18px 0; }.price-stat { padding:15px; border-top:4px solid var(--pine); background:#fff; box-shadow:var(--shadow); }.price-stat span,.price-stat strong { display:block; }.price-stat span { color:var(--muted); font-size:11px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; }.price-stat strong { margin-top:5px; color:var(--pine); font-size:22px; }.catalog td strong,.catalog td small { display:block; }.catalog td small { margin-top:3px; color:var(--muted); font-size:11px; }.price-input { width:92px; padding:8px; border:1px solid #b8c6bc; border-radius:5px; color:var(--ink); font-weight:700; }.increase { color:#a93622!important; font-weight:800; }.decrease { color:#23764b!important; font-weight:800; }.neutral { color:var(--muted)!important; }.catalog-disclaimer { max-width:850px; margin:14px 0; color:var(--muted); font-size:12px; line-height:1.5; }.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:1040px) { .job-workspace,.estimate-layout { grid-template-columns:1fr 1fr; }.job-workspace .job-card { grid-row:auto; }.company-grid,.job-fields { grid-template-columns:1fr 1fr; }.price-stats { grid-template-columns:1fr 1fr; } } @media (max-width:700px) { .topbar { padding:10px 16px; flex-wrap:wrap; }.active-job-control { order:3; width:100%; margin-left:0; }.active-job-control select { flex:1; max-width:none; }.job-workspace,.estimate-layout { grid-template-columns:1fr; }.company-grid,.job-fields { grid-template-columns:1fr 1fr; }.proposal-head,.proposal-meta,.signature,.price-book-intro { display:block; }.price-book-actions { margin-top:15px; flex-wrap:wrap; }.price-stats { grid-template-columns:1fr 1fr; }.catalog-heading { align-items:start; gap:10px; flex-direction:column; }.catalog-heading input { width:100%; } }
