:root{--bg:#eef0f1;--surface:#ffffff;--line:#d5d9dc;--fg:#1d2327;--muted:#5d6870;--accent:#b25b26;--accent-fg:#ffffff;--head:#23292e;--bad:#b0303a;--ok:#2f7d4f;font-family:system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);font-size:15px;line-height:1.5}a{color:var(--accent)}.topbar{background:var(--head);color:#eef1f3;padding:12px 24px;display:flex;gap:16px;align-items:center}.topbar .brand{font-weight:700;letter-spacing:.06em;text-transform:uppercase}.topbar .brand span{color:#d9824a;margin-left:6px;font-weight:500}.topbar .grow{flex:1 1}.topbar a,.topbar button{color:#eef1f3}.page{max-width:1100px;margin:0 auto;padding:24px 16px 64px;display:flex;flex-direction:column;gap:20px}.card{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:18px}h1{margin:0;font-size:26px}h2{margin:0 0 12px;font-size:18px}.muted{color:var(--muted)}.small{font-size:13px}form.stack{flex-direction:column;max-width:420px}.row,form.stack{display:flex;gap:12px}.row{flex-wrap:wrap;align-items:end}label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted);font-weight:500}input,select{padding:8px 10px;background:#fff}.btn,button,input,select{font:inherit;border:1px solid var(--line);border-radius:6px;color:var(--fg)}.btn,button{background:#f5f6f7;padding:8px 14px;cursor:pointer;text-decoration:none;display:inline-block}.btn.primary,button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-fg);font-weight:600}button:disabled{opacity:.6;cursor:default}table{width:100%;border-collapse:collapse;font-size:14px}td,th{text-align:left;padding:7px 8px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.tablewrap{overflow-x:auto}.error{color:var(--bad)}.okmsg{color:var(--ok)}.pill{font-size:12px;border:1px solid var(--line);border-radius:999px;padding:1px 8px;color:var(--muted)}.mono{font-family:ui-monospace,Menlo,Consolas,monospace;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tk{display:grid;grid-template-columns:210px minmax(0,1fr) 390px;grid-gap:10px;gap:10px;padding:10px 16px 16px;height:calc(100vh - 92px);min-height:520px}.tk-panel,.tk-rail{background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow:auto;min-height:0}.tk-rail{padding:10px;gap:12px}.tk-grp,.tk-rail{display:flex;flex-direction:column}.tk-grp{gap:2px}.tk-grp h3,.tk-panel h4{margin:0 0 6px;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.tk-tool{display:flex;align-items:center;gap:8px;text-align:left;border:1px solid transparent;background:none;padding:5px 7px;font-size:13.5px}.tk-tool:hover{background:#f5f6f7}.tk-tool:disabled{opacity:.45;cursor:default;background:none}.tk-tool.on{background:#f6e6dc;border-color:var(--accent);font-weight:600}.tk-sw{width:14px;height:14px;border-radius:3px;flex:none;display:inline-block}.tk-sw.line{height:4px;border-radius:2px}.tk-sw.count{width:11px;height:11px;border-radius:50%}.tk-center{flex-direction:column;min-width:0;min-height:0}.tk-bar,.tk-center{display:flex;gap:8px}.tk-bar{flex-wrap:wrap;align-items:center}.tk-bar select{max-width:280px}.tk-pager,.tk-zoom{display:inline-flex;gap:4px;align-items:center;font-size:13px}.tk-pager input{width:44px;padding:4px 6px;text-align:center}.tk-pager button,.tk-zoom button{padding:4px 10px}.tk-status{font-size:12.5px;color:var(--muted);margin-left:auto}.tk-status.bad{color:var(--bad)}.tk-note{background:#f6e6dc;border:1px solid var(--line);border-radius:6px;padding:8px 12px;font-size:13px}.tk-note.bad{background:#fbe9ea;color:var(--bad)}.tk-stage{position:relative;flex:1 1;min-height:0;background:#dfe3e5;border:1px solid var(--line);border-radius:8px;overflow:hidden}.tk-stage canvas{position:absolute;inset:0;touch-action:none;display:block}.tk-stage.drawing canvas{cursor:crosshair}.tk-stage.select canvas{cursor:-webkit-grab;cursor:grab}.tk-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--muted);padding:24px;text-align:center}.tk-scalepill{position:absolute;top:10px;left:10px;background:#fff;border:1px solid var(--line);border-radius:5px;padding:3px 8px;font-size:12px}.tk-scalepill.unset{border-color:#a66a00;color:#a66a00;font-weight:600}.tk-float{position:absolute;left:12px;right:12px;bottom:12px;display:flex;justify-content:center;pointer-events:none}.tk-chip{pointer-events:auto;background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 8px 6px 14px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;box-shadow:0 2px 10px #0000002a;font-size:13px}.tk-chip button{border-radius:999px;padding:4px 11px}.tk-chip input{width:60px;padding:4px 6px}.tk-boxform{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.tk-panel{padding:12px;display:flex;flex-direction:column;gap:16px}.tk-chips{display:flex;flex-wrap:wrap;gap:6px}.tk-chips button{font-size:12.5px;padding:4px 9px}.tk-chips button.on{border-color:var(--accent);background:#f6e6dc}.tk-ai{background:#f6e6dc;border-radius:6px;padding:10px;gap:8px}.tk-ai,.tk-group{display:flex;flex-direction:column}.tk-row{display:grid;grid-template-columns:14px minmax(0,1fr) auto auto;grid-column-gap:6px;column-gap:6px;grid-row-gap:3px;row-gap:3px;align-items:center;padding:5px 4px;border-radius:5px;font-size:13px;border-bottom:1px solid var(--line)}.tk-row.sel{background:#f6e6dc}.tk-row select{font-size:12px;padding:1px 2px}.tk-name{background:none;border:none;padding:0;text-align:left;white-space:normal;overflow-wrap:anywhere;line-height:1.3;font-size:13px}.tk-q{text-align:right;white-space:nowrap}.tk-acts{display:inline-flex;gap:2px}.tk-acts button{background:none;border:none;padding:2px 5px;color:var(--muted);font-size:15px}.tk-acts button:hover{color:var(--fg)}.tk-pg{font-size:10.5px;border:1px solid var(--line);border-radius:3px;padding:0 4px;margin-left:5px;color:var(--muted)}.tk-pg.ai{border-color:var(--accent);color:var(--accent)}@media (max-width:1000px){.tk{grid-template-columns:minmax(0,1fr);height:auto}.tk-rail{flex-direction:row;overflow-x:auto}.tk-grp{flex:none}.tk-stage{height:65vh;flex:none}}.tk-sel{display:inline-flex;flex-wrap:wrap;gap:4px;grid-column:2/-1;grid-row:2}.tk-sel:empty{display:none}.tk-taper{border:1px solid var(--line);border-radius:8px;padding:10px;background:#f8fafc}.tk-taperform{display:flex;flex-direction:column;gap:8px}.tk-taperform label{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px}.tk-taperform select{min-width:130px}.tk-seg{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.tk-seg button.on{border-color:#1d4ed8;background:#dbeafe;font-weight:600}.tk-seg button,.tk-taperform>button{font-size:12.5px;padding:5px 10px}.tk-warn{color:#a66a00;margin:0}.tk-taperlist{width:100%;border-collapse:collapse;font-size:13px}.tk-taperlist th{text-align:left;font-weight:600;font-size:11.5px;color:var(--muted);padding:3px 4px}.tk-taperlist td,.tk-taperlist th{border-bottom:1px solid var(--line)}.tk-taperlist td{padding:4px}.tk-taperlist td:last-child,.tk-taperlist th:last-child{text-align:right}.tk-link{background:none;border:none;color:var(--muted);text-decoration:underline;font-size:12px;padding:0;align-self:flex-start}.taper-title{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-bottom:2px solid var(--fg);padding-bottom:10px}.taper-title h1{margin:0}.taper-title p{margin:2px 0 0}.taper-title dl{display:grid;grid-template-columns:auto auto;grid-gap:2px 12px;gap:2px 12px;margin:0;font-size:13px}.taper-title dt{color:var(--muted)}.taper-title dd{margin:0;font-weight:600}.taper-table{width:100%;border-collapse:collapse;font-size:13px;margin:6px 0 10px}.taper-table th{text-align:left;font-size:12px;color:var(--muted);padding:4px 6px}.taper-table td,.taper-table th{border-bottom:1px solid var(--line)}.taper-table td{padding:5px 6px;vertical-align:top}.taper-table .num{text-align:right;white-space:nowrap}.taper-sw{display:inline-block;width:16px;height:16px;border:1px solid #64748b;border-radius:3px;vertical-align:middle}.taper-svg{width:100%;height:auto;max-height:75vh;background:#fff;border:1px solid var(--line);border-radius:6px}.taper-legend{display:flex;flex-wrap:wrap;gap:6px 16px}.taper-legend i{display:inline-block;width:18px;height:5px;vertical-align:middle;margin-right:4px}.taper-legend i.round{width:10px;height:10px;border-radius:50%}@media print{.noprint{display:none!important}body{background:#fff}.taper-sheet{max-width:none;padding:0}.taper-sheet .card{border:none;box-shadow:none;padding:0;page-break-inside:avoid;break-inside:avoid}.taper-plan{page-break-before:always;break-before:page}.taper-svg{max-height:none;border:1px solid #999}}.taper-sf{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));grid-gap:10px;gap:10px;margin-bottom:10px}.taper-sf div{border:1px solid var(--line);border-radius:6px;padding:8px 12px;display:flex;flex-direction:column}.taper-sf small{font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.taper-sf b{font-size:24px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.taper-sf span{font-size:12px;color:var(--muted)}.taper-total td{border-top:2px solid var(--fg)}.taper-sf .taper-sf-total{border:2px solid var(--fg)}.matlist{width:100%;max-width:1320px;border-collapse:collapse}.matlist,.matlist th{border:1px solid var(--line)}.matlist th{text-align:left;font-size:12px;color:var(--muted);background:#f5f6f7;padding:6px 8px}.matlist td{padding:7px 8px;border:1px solid var(--line);vertical-align:top}.matlist .qty{text-align:right;white-space:nowrap;font-weight:700;width:120px;background:#fafafa}.matlist th.qty{background:#f5f6f7}.matlist .qty .unit{font-weight:400;color:var(--muted);font-size:12px}.matlist td.prod{width:36%}.matlist td.prod select{width:100%;max-width:100%;font-size:13px}.matlist tr.needs td:first-child{background:#fef3c7}.matpick{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:4px}.matedit{display:inline-block;margin-left:6px}.matedit summary{cursor:pointer;color:var(--muted);font-size:12px;list-style:none;display:inline}.matedit summary::-webkit-details-marker{display:none}.matedit[open] form{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:4px}.matedit input[name=name]{min-width:220px}@media (max-width:700px){.matlist .qty,.matlist td.prod{width:auto}}.panel-spec{display:grid;grid-template-columns:auto 1fr;grid-gap:4px 14px;gap:4px 14px;margin:0 0 12px;font-size:14px}.panel-spec dt{color:var(--muted)}.panel-spec dd{margin:0;font-weight:600}.panel-plane{margin-top:12px}.panel-plane h3{margin:6px 0}.cutlist td{font-size:14px}.tk-layer{display:flex;flex-wrap:wrap;gap:4px;align-items:center;padding:4px 0;border-bottom:1px solid var(--line)}.tk-layer select{font-size:12px;padding:2px}.tk-layer .tk-x{margin-left:auto;background:none;border:none;color:var(--muted);font-size:16px;padding:0 4px}.insul-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));grid-gap:12px;gap:12px;margin-top:10px}.insul-grid figure{margin:0}.insul-grid figcaption{margin-top:4px}.tk-rates{align-items:flex-start;gap:6px;flex-wrap:wrap}.tk-rate,.tk-rates{display:inline-flex}.tk-rate{flex-direction:column;align-items:center}.tk-rate small{font-size:11px;color:var(--muted,#64748b);line-height:1.2}.tk-rates>.muted{align-self:center}.tk-show{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:6px 10px;background:#fef9c3;border:1px solid #facc15;border-radius:8px;margin:0 0 6px;font-size:14px}.tk-show-dot{width:12px;height:12px;border-radius:50%;background:#facc15;box-shadow:0 0 0 3px rgba(250,204,21,.35)}.matshow{display:inline-block;margin-left:8px;font-size:12px;white-space:nowrap}.insul-zones{display:flex;gap:12px;flex-wrap:wrap;margin-top:4px}.insul-zones i{display:inline-block;width:10px;height:10px;border-radius:50%;vertical-align:-1px;margin-right:3px}.matadd{margin-top:4px}.matadd>summary{cursor:pointer;font-size:12px;color:var(--accent,#2563eb);list-style:none}.matadd>summary::-webkit-details-marker{display:none}.matadd-form{display:flex;flex-direction:column;gap:6px;margin:6px 0;padding:8px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;max-width:320px}.matadd-row{display:flex;align-items:center;gap:6px}.matadd-list{display:flex;flex-direction:column;gap:2px;margin-top:4px}.linkish{background:none;border:none;padding:0;color:#b91c1c;text-decoration:underline;cursor:pointer;font-size:12px}.matlist .money{white-space:nowrap;width:110px}.matlist .money,.matlist th.money{text-align:right}.matlist td.money .unit{font-weight:400;color:var(--muted);font-size:12px}.matlist td.total{font-weight:700}.matlist tfoot td{background:#f5f6f7}.mattotal{max-width:980px;text-align:right;font-size:16px;margin:8px 0 14px}.psearch{position:relative}.psearch-row{display:flex;gap:4px}.psearch-row input{flex:1 1;width:100%;font-size:13px;padding:6px 8px}.psearch-row input.has-pick::placeholder{color:#111827;font-weight:600}.psearch-clear{padding:2px 8px;font-size:12px}.psearch-list{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 2px);max-height:340px;overflow-y:auto;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.12)}.psearch-group{position:-webkit-sticky;position:sticky;top:0;background:#f1f5f9;font-size:11px;font-weight:700;text-transform:uppercase;color:#475569;padding:4px 8px}.psearch-item{display:flex;flex-direction:column;align-items:flex-start;gap:1px;width:100%;text-align:left;background:none;border:none;border-bottom:1px solid #f1f5f9;padding:6px 8px;cursor:pointer;font-size:13px}.psearch-item small{color:#64748b;font-size:11px}.psearch-item.hi{background:#fef3c7}.psearch-hint{padding:8px;font-size:12px;color:#64748b}.packform{flex-wrap:wrap;gap:4px;justify-content:flex-end;margin-top:4px;font-family:inherit;font-weight:400}.packform,.sizeform{display:flex;align-items:center}.sizeform{gap:6px;margin-bottom:4px}.sizeform select{width:auto;font-size:13px}.priceedit>summary{cursor:pointer;font-size:11px;color:var(--accent,#b45309);font-family:inherit;font-weight:400;list-style:none}.priceedit>summary::-webkit-details-marker{display:none}.matlist td.sugg{font-weight:400;color:var(--muted);background:#fff}.orderqty{display:flex;align-items:center;justify-content:flex-end;gap:4px}.orderqty input{width:70px;text-align:right;font-weight:700;padding:4px 6px}.orderqty input::placeholder{color:#111827;font-weight:700;opacity:.55}.orderqty input.set{background:#fef3c7}.matremove{display:inline}.matremove button{background:none;border:none;color:#b91c1c;cursor:pointer;font-size:12px;padding:0 4px}.matremove button:hover{text-decoration:underline}.matremove button.dup{color:#2563eb;font-size:14px}.pricebox{display:grid;grid-gap:6px;gap:6px;margin-top:6px;padding:8px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;font-family:inherit;font-weight:400;text-align:left;min-width:190px}.pricebox label{display:grid;grid-template-columns:78px 1fr auto;align-items:center;grid-gap:6px;gap:6px;font-size:12px}.pricebox input,.pricebox select{width:100%;font-size:13px;padding:4px 6px}.pricebox em{font-style:normal;color:#64748b}.pricebox small{color:#64748b;font-size:11px}.specrow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:3px 0}.specrow>span{flex:1 1 300px}.linedetails{margin-top:4px}.linedetails>summary{cursor:pointer;font-size:12px;color:#64748b;list-style:none}.linedetails>summary::-webkit-details-marker{display:none}.linedetails[open]>summary{font-weight:600;color:#334155}.linedetails textarea{width:100%;font-size:13px;padding:6px 8px;margin-top:3px;resize:vertical}.matlist .labor{background:#f0f9ff}.matlist th.labor{background:#e0f2fe}.sugtag{display:inline-block;margin-top:2px;font-size:10px;font-family:inherit;font-weight:600;color:#92400e;background:#fef3c7;border-radius:4px;padding:0 4px}.pricebox label.chk{display:flex;gap:6px}.pricebox label.chk input{width:auto}.jobtotals{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:10px;gap:10px;max-width:1100px;margin:10px 0 14px}.matlist td.marked,.matlist th.marked{background:#fff7ed}.jobtotals>div{border:1px solid var(--line,#e2e8f0);border-radius:8px;padding:8px 12px;background:#fff;display:flex;flex-direction:column}.jobtotals>div span{font-size:12px;color:#64748b}.jobtotals>div b{font-size:20px}.jobtotals>div small{font-size:11px;color:#64748b}.jobtotals>div.grand{background:#fff7ed;border-color:#fdba74}.jobtotals .crewrate{grid-column:1/-1;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.jobtotals .crewrate input{width:80px;padding:4px 6px}.matlist{max-width:1400px}.markup{display:grid;grid-gap:6px;gap:6px}.markup-row{display:flex;align-items:center;gap:10px}.markup-row input[type=range]{flex:1 1;accent-color:#b45309}.markup-num{width:70px;text-align:right;padding:4px 6px}.markup-sum{display:flex;flex-wrap:wrap;gap:14px;align-items:baseline;font-size:14px}.markup-sum b{font-size:18px}.helper{position:absolute;z-index:20;right:10px;top:10px;width:340px;min-width:240px;min-height:120px;max-width:calc(100% - 20px);max-height:calc(100% - 20px);display:flex;flex-direction:column;resize:both;overflow:hidden;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.18);font-size:13px}.helper-head{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:none;display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid #e2e8f0;background:#fffbeb;border-radius:10px 10px 0 0}.helper-tabs{display:flex;gap:2px;margin-left:auto}.helper-tabs button{font-size:12px;padding:3px 8px;border-radius:6px;background:none;border:1px solid transparent;cursor:pointer}.helper-tabs button.on{background:#fff;border-color:#fcd34d;font-weight:600}.helper-x{background:none;border:none;font-size:18px;line-height:1;cursor:pointer;padding:0 4px}.helper-body{padding:8px 10px;overflow-y:auto;display:flex;flex-direction:column;gap:6px;min-height:0}.helper-row{display:flex;align-items:center;gap:6px}.helper-row input:not([type=checkbox]){flex:1 1;font-size:12px;padding:3px 6px}.helper-busy{margin:4px 0;color:#92400e;font-size:12px}.helper-title{font-weight:700}.helper-tips{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.helper-tips button{display:flex;gap:8px;text-align:left;width:100%;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:6px;cursor:pointer}.helper-tips button:hover{background:#fef9c3}.helper-tips button>span:last-child{display:flex;flex-direction:column;gap:2px}.helper-n{flex:none;width:20px;height:20px;border-radius:50%;background:#facc15;color:#422006;font-weight:700;font-size:12px;display:grid;place-items:center}.helper-chat{display:flex;flex-direction:column;gap:8px;overflow-y:auto;max-height:50vh}.helper-msg{padding:6px 8px;border-radius:8px;white-space:pre-wrap}.helper-msg.user{background:#e0f2fe;align-self:flex-end;max-width:90%}.helper-msg.assistant{background:#f8fafc;border:1px solid #e2e8f0}.helper-refs{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.helper-refs button{display:flex;flex-direction:column;align-items:flex-start;font-size:12px;background:#fff;border:1px solid #fcd34d;border-radius:6px;padding:3px 6px;cursor:pointer;text-align:left}.helper-refs button small{color:#64748b;font-size:11px}.helper-sugg{display:block;width:100%;text-align:left;margin-top:4px;font-size:12px;background:#fff;border:1px dashed #cbd5e1;border-radius:6px;padding:4px 6px;cursor:pointer}.helper-ask{display:flex;gap:6px;padding-top:6px;border-top:1px solid #e2e8f0}.helper-ask input,.helper-ask textarea{flex:1 1;font-size:13px;padding:5px 8px;font-family:inherit;resize:vertical;min-height:34px}.helper-ask{align-items:flex-end;flex-wrap:wrap}.helper-open{position:absolute;z-index:20;right:10px;top:10px;background:#fffbeb;border:1px solid #fcd34d;border-radius:999px;padding:5px 12px;font-size:13px;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.12)}.helper-mic{border:1px solid #cbd5e1;background:#fff;border-radius:6px;padding:2px 8px;font-size:16px;cursor:pointer}.helper-mic.on{background:#fee2e2;border-color:#ef4444;animation:micpulse 1s ease-in-out infinite}@keyframes micpulse{50%{box-shadow:0 0 0 4px rgba(239,68,68,.25)}}.helper-speak{margin-left:auto;font-size:12px;border:1px solid #cbd5e1;background:#fff;border-radius:6px;padding:2px 8px;cursor:pointer;white-space:nowrap}.helper-msg .helper-speak{margin-top:4px}.helper-speak.on{background:#fef3c7;border-color:#f59e0b}.helper-grip{color:#b45309;font-size:14px;line-height:1}.helper-body{flex:1 1}.helper-chat{max-height:none;flex:1 1}.sheetbar{flex-wrap:wrap;gap:14px;padding:8px 10px;background:#fff;border:1px solid var(--line,#e2e8f0);border-radius:8px;margin-bottom:12px;position:-webkit-sticky;position:sticky;top:0;z-index:5}.sheetbar,.sheetbar label{display:flex;align-items:center}.sheetbar label{gap:6px;font-size:14px}.sheetbar label input:not([type=checkbox]){width:300px;max-width:60vw;padding:5px 8px}.sheetbar .chk input{width:auto}.sheetcount{margin-left:auto;font-size:14px}.sheetload{font-size:12px;color:#92400e}.sheetgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));grid-gap:14px;gap:14px}.sheetcard{display:flex;flex-direction:column;gap:6px;padding:8px;background:#fff;border:2px solid #e2e8f0;border-radius:8px;color:inherit;text-decoration:none;opacity:.55;transition:opacity .15s,border-color .15s}.sheetcard:hover{opacity:1;border-color:#94a3b8}.sheetcard.hit{opacity:1;border-color:#f59e0b;background:#fffbeb;box-shadow:0 0 0 3px rgba(245,158,11,.18)}.sheetthumb{aspect-ratio:3/2;display:grid;place-items:center;background:#f8fafc;border-radius:4px;overflow:hidden}.sheetthumb img{max-width:100%;max-height:100%;display:block}.sheettitle{font-size:13px;font-weight:700;text-transform:uppercase;line-height:1.2;min-height:2.4em}.sheetfoot{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sheetnum{background:#0ea5e9;color:#fff;font-weight:700;font-size:12px;padding:1px 6px;border-radius:4px}.sheethits{font-size:11px;color:#92400e;background:#fef3c7;border-radius:4px;padding:1px 5px}.sheetcard{position:relative}.sheetcard.picked{opacity:1}.sheetcheck{position:absolute;top:6px;left:6px;z-index:2;background:#fff;border-radius:4px;padding:2px;line-height:0;box-shadow:0 1px 3px rgba(0,0,0,.2)}.sheetcheck input{width:18px;height:18px;cursor:pointer}.sheetpickbtns{display:flex;align-items:center;gap:6px;font-size:13px}.sheetmodal{position:fixed;inset:0;z-index:60;background:rgba(15,23,42,.55);display:flex}.sheetmodal-box{margin:16px;flex:1 1;background:#f1f5f9;border-radius:12px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.sheetmodal-head{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#fff;border-bottom:1px solid #e2e8f0}.sheetmodal-head h2{margin:0;font-size:18px}.sheetmodal-body{padding:12px 14px;overflow-y:auto;flex:1 1}.tk-sheetsbtn{white-space:nowrap}.sheetfiles{flex-wrap:wrap;gap:10px;font-size:13px}.sheetfiles,.sheetfiles label{display:flex;align-items:center}.sheetfiles label{gap:4px}.sheetfiles input{width:auto}.guide-steps{list-style:none;margin:6px 0 8px;padding:0;gap:8px}.guide-steps,.guide-steps li{display:flex;flex-direction:column}.guide-steps li{border:1px solid var(--line,#d9dde2);border-radius:8px;padding:8px;gap:4px}.guide-steps li.done{opacity:.6}.guide-steps li.done b{text-decoration:line-through}.guide-steps li.missing{border-color:#d0435b;background:rgba(208,67,91,.06)}.guide-check{display:flex;gap:6px;align-items:flex-start;cursor:pointer}.guide-check input{margin-top:3px}.guide-acts{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.guide-here{border:1px solid #b7d3ea;background:#eef6fc;border-radius:8px;padding:8px;margin-bottom:8px}.guide-here.none{border-color:#c9d1d8;background:#f3f5f7}.guide-here .guide-steps{margin-bottom:0}.guide-ok{color:#15803d;font-weight:600}.tk-tally{display:flex;flex-direction:column;gap:4px;padding:6px 8px;margin:2px 0 6px;border-left:3px solid #be185d;background:rgba(190,24,93,.06);border-radius:4px}.tk-tally input{width:100%}.tk-tally-names{display:flex;flex-wrap:wrap;gap:4px}.tk-tally-names button{font-size:12px;padding:2px 8px;border-radius:999px}.tk-tally-names button.on{background:#be185d;color:#fff;border-color:#be185d}.guide-none{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tk-toolrow{display:flex;align-items:stretch;gap:2px}.tk-toolrow .tk-tool{flex:1 1;min-width:0}.tk-tooldup{border:0;background:transparent;color:#6b7280;padding:0 6px;cursor:pointer;opacity:0;font-size:13px}.tk-tooldup:focus,.tk-toolrow:hover .tk-tooldup{opacity:1}.tk-toolrow.mine{padding-left:12px}.tk-toolrow.mine .tk-tooldup{opacity:.7}.tk-note{border:2px solid #e11d48;border-radius:8px;padding:8px;background:#fff5f7;display:flex;flex-direction:column;gap:6px}.tk-note textarea{width:100%;resize:vertical;font:inherit}.tk-notelist{list-style:none;margin:4px 0;padding:0;display:flex;flex-direction:column;gap:2px}.tk-notelist button{text-align:left}.notes-list{margin:8px 0 0;padding-left:22px;display:flex;flex-direction:column;gap:6px}.notes-list li.done{opacity:.65}.tk-ruler{flex:none;display:inline-block;vertical-align:middle}.tk-colors{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.tk-colors button{width:18px;height:18px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #c9d1d8;padding:0;cursor:pointer}.tk-colors button.on{box-shadow:0 0 0 2px #111}.tk-colors input[type=color]{width:26px;height:20px;padding:0;border:1px solid #c9d1d8;border-radius:4px;background:none}.tk-kinds{display:flex;flex-wrap:wrap;gap:4px}.tk-kinds button{font-size:12px;padding:2px 8px;border-radius:999px}.tk-kinds button.on{background:#1f2937;color:#fff;border-color:#1f2937}.tk-hasaddon{color:#0f766e;font-weight:700}.tk-hasaddon small{font-size:10px;margin-left:1px}.tk-addon{margin:2px 0 8px 18px;padding:8px;border:1px solid #99d5cc;background:#effaf8;border-radius:6px;display:flex;flex-direction:column;gap:6px;font-size:13px}.tk-addon-head{display:flex;justify-content:space-between;align-items:center}.tk-addon ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}.tk-addon li{display:flex;justify-content:space-between;gap:6px;align-items:baseline}.tk-addon li button{border:0;background:none;color:#9ca3af;cursor:pointer}.tk-addon-form{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.tk-addon-scope{display:flex;flex-direction:column;gap:2px}.guide-here-tag{color:#1d4ed8;font-weight:600}.helper-refs button.on{border-color:#1d4ed8;background:#eef4ff}.helper-found{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:6px}.helper-make{display:inline-flex;gap:4px;align-items:center;font-size:12px}.sugform{margin-top:6px}.printonly{display:none}.printpick th{background:#fff!important;padding:2px 4px!important;border-bottom:0!important}.printpick button{font-size:10.5px;padding:1px 6px;border-radius:999px;border:1px solid #c9d1d8;background:#f8fafc;white-space:nowrap;cursor:pointer}.printpick button.off{background:#fee2e2;border-color:#fca5a5;color:#991b1b}@media print{body.pc-hide-1 .matlist tr>:first-child,body.pc-hide-10 .matlist tr>:nth-child(10),body.pc-hide-2 .matlist tr>:nth-child(2),body.pc-hide-3 .matlist tr>:nth-child(3),body.pc-hide-4 .matlist tr>:nth-child(4),body.pc-hide-5 .matlist tr>:nth-child(5),body.pc-hide-6 .matlist tr>:nth-child(6),body.pc-hide-7 .matlist tr>:nth-child(7),body.pc-hide-8 .matlist tr>:nth-child(8),body.pc-hide-9 .matlist tr>:nth-child(9),body.print-matlist .topbar,body.print-matlist main.page>:not(#order){display:none!important}body.print-matlist main.page{padding:0;max-width:none}body.print-matlist #order{border:none;box-shadow:none;padding:0;margin:0}body.print-matlist #order .crewrate,body.print-matlist #order .jobtotals>p,body.print-matlist #order .markup,body.print-matlist #order .matlist a,body.print-matlist #order .sugtag,body.print-matlist #order button,body.print-matlist #order datalist,body.print-matlist #order details,body.print-matlist #order h2{display:none!important}body.print-matlist #order input,body.print-matlist #order select,body.print-matlist #order textarea{border:none!important;background:none!important;box-shadow:none!important;padding:0!important;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:#000;font:inherit}body.print-matlist .printonly{display:block}body.print-matlist .printhead h1{margin:0 0 2px;font-size:20px}body.print-matlist .printhead{margin-bottom:10px;font-size:12px;color:#333}body.print-matlist .matlist{max-width:none;font-size:11px}body.print-matlist .matlist td,body.print-matlist .matlist th{padding:4px 5px}body.print-matlist .matlist tr{page-break-inside:avoid;break-inside:avoid}body.print-matlist .matlist td.marked,body.print-matlist .matlist th.marked{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.psearch{min-height:32px}.psearch.open .psearch-row{position:absolute;left:0;top:0;z-index:31;width:max(100%,300px);background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.12);border-radius:6px}.psearch.open .psearch-list{top:36px;right:auto;width:max(100%,380px)}.psearch.open .psearch-item span{white-space:normal}.addline{display:flex;align-items:center;gap:8px;margin:6px 0 4px;max-width:520px}.addline .psearch{flex:1 1}.dropzone{border:2px dashed #94a3b8;border-radius:10px;padding:18px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;cursor:pointer;background:#f8fafc;color:#334155}.dropzone.over,.dropzone:hover{border-color:var(--accent,#c8692f)}.dropzone.over{background:#fff7ed}.dropzone.busy{cursor:progress;opacity:.75}.guide-auto{margin-top:4px;padding:6px 8px;border-left:3px solid #ca8a04;background:#fefce8;border-radius:4px;display:flex;flex-direction:column;gap:4px}.tk-row.tk-total{border-top:2px solid #cbd5e1;font-weight:700;background:#f8fafc}.tk-row.tk-total .tk-name{cursor:default}.tk-row.tk-total small{font-weight:500;color:#64748b}.guide-back{border-color:#ca8a04;color:#854d0e;background:#fef9c3;font-weight:600}.tk-edithint{border:1px solid #fdba74;background:#fff7ed;border-radius:8px;padding:8px;display:flex;flex-direction:column;gap:6px}.tk-labels{display:inline-flex;align-items:center;gap:2px;font-size:12px;color:#475569}.tk-labels button{font-size:12px;padding:2px 8px;border:1px solid #cbd5e1;background:#fff}.tk-labels button:first-of-type{border-radius:999px 0 0 999px}.tk-labels button:last-of-type{border-radius:0 999px 999px 0}.tk-labels button.on{background:#1f2937;color:#fff;border-color:#1f2937}.tk-groupbar{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:4px 4px 2px}.tk-clear{display:inline-flex;gap:4px;align-items:center;flex-wrap:wrap}button.danger{background:#b91c1c;color:#fff;border-color:#b91c1c}.specacts{white-space:nowrap}.specacts form{display:inline-block;margin-right:4px}.subtable{width:100%;border-collapse:collapse;font-size:13px}.subtable td,.subtable th{border:1px solid var(--line,#e2e8f0);padding:6px 8px;text-align:left;vertical-align:top}.subtable th{background:#f5f6f7;font-size:12px}.subtable .chk{text-align:center;width:64px}.subtable tr.subsec td{background:#f1f5f9}.subsign{display:flex;gap:32px;flex-wrap:wrap;font-size:13px}@media print{.submittal .subtable tr{page-break-inside:avoid;break-inside:avoid}.submittal .subtable th,.submittal .subtable tr.subsec td{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.subpkg{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:10px 0;padding:10px;border:1px solid #fdba74;background:#fff7ed;border-radius:8px}.subdoccell{min-width:220px}.subdocs{display:flex;flex-direction:column;gap:3px;font-size:12.5px}.subdoc{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.subdoc-k{color:#64748b;min-width:78px}.subdoc-acts button,.subdoc-x{border:0;background:none;cursor:pointer;color:#64748b;padding:0 3px}.subdoc-link{display:flex;gap:4px;margin:3px 0}.subdoc-link input{flex:1 1;min-width:160px;font-size:12px}.pdfmark-bar{position:-webkit-sticky;position:sticky;top:0;z-index:5;flex-wrap:wrap;gap:8px;padding:8px;background:#fff;border-bottom:1px solid var(--line,#e2e8f0)}.pdfmark-bar,.pdfmark-pages{display:flex;align-items:center}.pdfmark-pages{flex-direction:column;gap:14px;padding:12px 0;background:#e5e7eb}.pdfmark-page{position:relative;background-size:100% 100%;background-color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.15);cursor:crosshair;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.pdfmark-hl{position:absolute;background:rgba(250,220,20,.45);mix-blend-mode:multiply;cursor:pointer}.pdfmark-hl.sel{outline:2px solid #b45309}.pdfmark-hl.live{pointer-events:none;outline:1px dashed #b45309}.pdfmark-x{top:-26px;font-size:12px;padding:2px 8px;background:#b91c1c;color:#fff;border:0;border-radius:4px;cursor:pointer;white-space:nowrap}.pdfmark-n,.pdfmark-x{position:absolute;right:0}.pdfmark-n{bottom:-18px;font-size:11px;color:#64748b}.subdoc-hl{text-decoration:none;font-size:13px;padding:0 3px}.specgroup-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.specgroup-acts{display:inline-flex;gap:10px;align-items:center}.specgroup-all summary{cursor:pointer;color:#b91c1c}.specgroup-all form{margin-top:4px}.speccheck{width:26px;text-align:center}.pdfmark-find{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px;background:#fefce8;border-bottom:1px solid #fde68a}.pdfmark-term{font-size:12px;padding:2px 8px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;cursor:pointer}.pdfmark-term.on{border-color:#ca8a04;background:#fef9c3}.subsec-row{display:flex;justify-content:space-between;align-items:center;gap:8px}.subtable .speccheck form{display:inline}.subtable tr.subused td{background:#bbf7d0;border-top-color:#86efac;border-bottom-color:#86efac}.subtable tr.subused td:first-child{box-shadow:inset 5px 0 0 #059669}.subused-tag{color:#047857;font-weight:600}.subused-dot{display:inline-block;width:12px;height:12px;border-radius:3px;background:#a7f3d0;border:1px solid #10b981;vertical-align:middle}.subsum{display:flex;gap:12px;align-items:center;flex-wrap:wrap}@media print{.subtable tr.subused td{background:none!important}}.tk-colors{max-width:230px}.tk-colors button.used{cursor:not-allowed;opacity:.55;background-image:linear-gradient(135deg,transparent 44%,#fff 0,#fff 56%,transparent 0)!important}.tk-colors button:disabled{box-shadow:0 0 0 1px #c9d1d8}.tk-dsfound{margin:4px 0 6px;padding:6px 8px;border:1px solid #93c5fd;background:#eff6ff;border-radius:6px}.tk-dsfound ul{margin:4px 0;padding-left:18px}.pdfmark-pens{display:inline-flex}.pdfmark-pens button{font-size:12px;padding:3px 10px;border:1px solid #cbd5e1;background:#fff;cursor:pointer}.pdfmark-pens button:first-child{border-radius:999px 0 0 999px}.pdfmark-pens button:last-child{border-radius:0 999px 999px 0}.pdfmark-pens button.on{background:#fde047;border-color:#ca8a04;font-weight:700}.tk-marks{display:flex;flex-wrap:wrap;gap:4px;margin:2px 0 6px 20px}.tk-mark{display:inline-flex;align-items:center;border:1.5px solid #94a3b8;border-radius:999px;background:#fff;font-size:11.5px;overflow:hidden}.tk-mark-go{border:0;background:none;padding:1px 6px;cursor:pointer}.tk-mark-go:hover{background:#f1f5f9}.tk-mark-x{border:0;border-left:1px solid #e2e8f0;background:none;color:#94a3b8;padding:1px 6px;cursor:pointer}.tk-mark-x:hover{color:#b91c1c;background:#fee2e2}.guide-steps-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.guide-hide{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer;padding:2px 8px;margin-left:6px;border-radius:6px;background:#fef3c7;border:1px solid #fcd34d;color:#78350f}.guide-hide.on{background:#fde047;border-color:#ca8a04}.guide-hide input{margin:0}.tk-rename{font-size:13px;padding:2px 6px;min-width:0;width:100%;max-width:220px;border:1px solid #b25b26;border-radius:4px}.settings h1{margin:6px 0 14px}.settings .card{margin-bottom:16px}.settings .card h2{margin:0 0 4px;font-size:18px}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px 14px;gap:10px 14px;margin-top:12px}.settings-grid .wide{grid-column:1/-1}.settings-grid input{width:100%}@media (max-width:720px){.settings-grid{grid-template-columns:1fr}}.settings-table-wrap{overflow-x:auto}.settings-suppliers input{width:100%;min-width:110px;padding:5px 7px}.logo-drop{display:flex;gap:16px;align-items:center;padding:12px;border:2px dashed var(--line);border-radius:8px;margin:10px 0 4px;flex-wrap:wrap}.logo-drop.over{border-color:#b25b26;background:#fff7ed}.logo-box{width:200px;height:90px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden}.logo-box img{max-width:100%;max-height:100%;object-fit:contain}.topbar-logo{height:26px;max-width:120px;object-fit:contain;background:#fff;border-radius:4px;padding:2px 4px}.topbar-link{color:#e5e7eb;text-decoration:none;padding:4px 8px;border-radius:6px}.topbar-link:hover{background:#ffffff1a}.printhead-co{display:flex;align-items:center;gap:12px;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #ccc}.printhead-co img{max-height:56px;max-width:200px;object-fit:contain}.settings-pick{min-width:220px}.settings-pick input,.settings-pick select{width:100%;padding:5px 7px}.settings-pick input{margin-top:4px;font-size:12px}.settings-welcome{background:#ecfdf5;border:1px solid #6ee7b7;padding:10px 12px;border-radius:8px}.topbar-trial{font-size:12px;color:#fde68a;border:1px solid #fde68a55;border-radius:999px;padding:2px 9px;white-space:nowrap}.topbar-trial.soon{color:#1f2933;background:#fbbf24;border-color:#fbbf24;font-weight:600}.admin h1{margin:6px 0 4px}.admin .card{margin-bottom:16px}.admin .card h2{margin:0 0 8px;font-size:18px}.admin-table td{vertical-align:top}.admin-table tr.off td,.admin-table tr.used td{opacity:.65}.admin-status{font-weight:600}.admin-status.soon{color:#b45309}.admin-status.bad{color:#b91c1c}.settings-layout{display:grid;grid-template-columns:220px minmax(0,1fr);grid-gap:18px;gap:18px;align-items:start;margin-top:8px}.settings-nav{display:flex;flex-direction:column;gap:2px;position:-webkit-sticky;position:sticky;top:12px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:8px}.settings-nav a{display:block;padding:8px 10px;border-radius:6px;color:var(--fg);text-decoration:none;font-size:14px}.settings-nav a small{display:block;font-size:11px;color:var(--muted);margin-left:24px}.settings-nav a small.ok{color:#15803d}.settings-nav a:hover{background:#f3f4f6}.settings-nav a.on{background:#fff7ed;color:#9a3412;font-weight:600;box-shadow:inset 3px 0 0 #b25b26}.settings-soon{border-top:1px solid var(--line);margin-top:8px;padding:8px 10px 2px;line-height:1.6}.settings-sub{margin:8px 0 4px;font-size:15px}.settings-body .card{margin-bottom:0}@media (max-width:760px){.settings-layout{grid-template-columns:1fr}.settings-nav{position:static;flex-direction:row;overflow-x:auto}.settings-nav a{white-space:nowrap}.settings-nav a small,.settings-soon{display:none}}.sendmodal{position:fixed;inset:0;background:#0f172a80;z-index:60;display:flex;align-items:flex-start;justify-content:center;padding:40px 16px;overflow-y:auto}.sendmodal-card{background:var(--surface);border-radius:10px;padding:18px 20px;width:100%;max-width:680px;box-shadow:0 20px 50px #0004}.sendmodal-card textarea{font:inherit;padding:8px 10px;border:1px solid var(--line);border-radius:6px;width:100%}.sendmodal-safe{background:#ecfdf5;border:1px solid #6ee7b7;color:#065f46;padding:6px 10px;border-radius:6px;margin:8px 0}.sendmodal-lines{max-height:260px;overflow-y:auto;border:1px solid var(--line);border-radius:6px}.sendmodal-line{flex-direction:row;align-items:center;gap:8px;padding:6px 10px;border-bottom:1px solid var(--line);color:var(--fg);font-weight:400;font-size:13px}.sendmodal-line:last-child{border-bottom:none}.sendmodal-line .grow{flex:1 1}.sendmodal-ways{display:grid;grid-gap:8px;gap:8px;margin:10px 0}.sendmodal-ways button{text-align:left;padding:10px 12px;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline}.sendmodal-ways button span{flex-basis:100%;font-size:12px;color:var(--muted)}.sentlist{margin:0 0 10px;font-size:13px}.sentlist summary{cursor:pointer;font-weight:600;padding:4px 0}.sentlist tr.off td{opacity:.55}.sendsheet{max-width:900px;margin:0 auto;padding:24px 20px 40px;background:#fff;color:#111}.sendsheet-bar{align-items:center;gap:10px;background:#f3f4f6;border-radius:8px;padding:8px 12px;margin-bottom:18px;font-size:14px}.sendsheet-bar,.sendsheet-head{display:flex;justify-content:space-between;flex-wrap:wrap}.sendsheet-head{align-items:flex-start;gap:16px;border-bottom:2px solid #111;padding-bottom:10px}.sendsheet-co{display:flex;gap:12px;align-items:center;font-size:13px}.sendsheet-co b{font-size:17px}.sendsheet-co img{max-height:64px;max-width:220px;object-fit:contain}.sendsheet-title{text-align:right;font-size:13px}.sendsheet-title h1{margin:0;font-size:24px}.sendsheet-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:8px 18px;gap:8px 18px;margin:14px 0;font-size:14px}.sendsheet-info span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#666}.sendsheet-notes{background:#fffbeb;border:1px solid #fcd34d;padding:8px 10px;border-radius:6px;font-size:14px}.sendsheet h2{font-size:16px;margin:16px 0 6px}.sendsheet-table{width:100%;border-collapse:collapse;font-size:13px}.sendsheet-table td,.sendsheet-table th{border-bottom:1px solid #ddd;padding:6px 8px;text-align:left;vertical-align:top}.sendsheet-table th{background:#f3f4f6;font-size:12px}.sendsheet-table .qty{text-align:right;white-space:nowrap}.sendsheet-foot{margin-top:18px}@media print{.sendsheet{padding:0}.sendsheet-table tr{page-break-inside:avoid;break-inside:avoid}}.topnav{display:flex;gap:2px;margin-left:8px}.topnav a{color:#e5e7eb;text-decoration:none;padding:4px 10px;border-radius:6px;font-size:14px}.topnav a:hover{background:#ffffff1a}.searchbar{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.searchbar input{min-width:300px}@media (max-width:600px){.searchbar input{min-width:0;flex:1 1}}.newbox{margin:14px 0}.newbox summary{cursor:pointer}.custhead{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin:6px 0 12px}.custinfo{display:grid;grid-gap:3px;gap:3px;text-align:right}@media (max-width:600px){.custinfo{text-align:left}}.custnotes{background:#fffbeb;border:1px solid #fcd34d;padding:8px 10px;border-radius:6px}.settings-grid textarea{font:inherit;padding:8px 10px;border:1px solid var(--line);border-radius:6px;width:100%}.jobcust{margin-top:4px}.jobcust summary{cursor:pointer;color:var(--muted)}.tophome{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;color:#e5e7eb;margin-left:2px}.tophome:hover{background:#ffffff1a;color:#fff}.pagehead{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:6px 0 12px}.pagehead h1{margin:0}.searchbar.wide{margin-bottom:12px}.searchbar.wide input{flex:1 1;max-width:520px}.formpage{max-width:860px}.custform{display:grid;grid-gap:14px;gap:14px}.custform fieldset{border:1px solid var(--line);border-radius:8px;padding:12px 14px 14px;margin:0}.custform legend{font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:#9a3412;padding:0 6px}.custform label em{color:#b91c1c;font-style:normal}.custform textarea{font:inherit;padding:8px 10px;border:1px solid var(--line);border-radius:6px;width:100%}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px 14px;gap:10px 14px}.form-grid input,.form-grid select{width:100%}.form-grid .span2{grid-column:1/-1}.form-pair{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}@media (max-width:640px){.form-grid{grid-template-columns:1fr}}.contacts-ed{display:grid;grid-gap:10px;gap:10px}.contact-card{border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:#fafaf9}.contact-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.contact-card-top select{font-weight:600}.formactions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}.custgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);grid-gap:16px;gap:16px}@media (max-width:760px){.custgrid{grid-template-columns:1fr}}.cardlabel{margin:0 0 8px;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.contactlist{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-gap:10px;gap:10px}.contactitem{border-left:3px solid #b25b26;padding:2px 0 2px 10px}.contactrole{text-transform:uppercase;letter-spacing:.04em;font-size:11px;color:#9a3412;font-weight:600}.num{text-align:right}.searchrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.livesearch{position:relative;flex:1 1;max-width:560px;min-width:240px}.livesearch>input{width:100%;padding:10px 12px;font-size:15px}.livesearch.picker>input{padding:8px 10px;font-size:14px}.livesearch-busy{position:absolute;right:10px;top:9px}.livesearch-list{position:absolute;z-index:40;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 30px #0002;max-height:380px;overflow-y:auto;padding:4px}.livesearch-head{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);padding:6px 8px 2px}.livesearch-list button{display:flex;flex-direction:column;align-items:flex-start;width:100%;text-align:left;background:none;border:none;padding:7px 8px;border-radius:6px;cursor:pointer}.livesearch-list button span{font-size:12px;color:var(--muted)}.livesearch-list button.on,.livesearch-list button:hover{background:#fff7ed}.livesearch-empty{padding:8px}.picker-chosen{display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--fg)}.optadd{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap}.optadd input{min-width:160px}.viewtabs{display:inline-flex;gap:2px;background:#f3f4f6;padding:3px;border-radius:8px;margin-bottom:10px}.viewtabs a{padding:5px 12px;border-radius:6px;color:var(--fg);text-decoration:none;font-size:13px}.viewtabs a.on{background:#fff;box-shadow:0 1px 2px #0002;font-weight:600}tr.archived td{color:var(--muted)}.archived-pill{background:#e5e7eb;color:#4b5563;margin-left:6px}.legalpage{max-width:820px}.legal h2{font-size:18px;margin:22px 0 6px}.legal li,.legal p{line-height:1.55}.legal table{width:100%;border-collapse:collapse;margin:8px 0;font-size:14px}.legal td,.legal th{border:1px solid var(--line);padding:6px 8px;text-align:left;vertical-align:top}.legal th{background:#f3f4f6}.sitefoot{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:center;padding:18px 16px 24px;font-size:12px;border-top:1px solid var(--line);margin-top:30px}.sitefoot,.sitefoot a{color:var(--muted)}.agree{flex-direction:row;align-items:flex-start;gap:8px;font-weight:400;color:var(--fg);font-size:13px}.agree input{margin-top:2px}body:has(.tk) .sitefoot{display:none}.qs{background:#F6F5F1;color:#14213D;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}.qs-wrap{max-width:1080px;margin:0 auto;padding:0 16px}.qs-head{background:#fff;border-bottom:1px solid #e5e3dc}.qs-headrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;padding-bottom:14px;flex-wrap:wrap}.qs-logo{height:44px;width:auto;display:block}.qs-nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.qs-nav a{color:#14213D;font-weight:500}.qs-btn,.qs-nav a{text-decoration:none}.qs-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:8px;font-weight:600}.qs-btn-primary{background:#14213D;color:#fff!important}.qs-btn-primary:hover{background:#22345A}.qs-btn-ghost{border:1.5px solid #14213d;color:#14213D!important;background:transparent}.qs-btn-ghost:hover{background:#14213D0d}.qs-hero{padding:72px 0 56px}.qs-hero h1{font-size:clamp(34px,6vw,56px);line-height:1.05;letter-spacing:-1px;margin:0 0 16px;max-width:760px}.qs-hero p{font-size:19px;line-height:1.55;color:#3A4659;max-width:680px;margin:0 0 24px}.qs-actions{display:flex;gap:10px;flex-wrap:wrap}.qs-section{padding:48px 0;border-top:1px solid #e5e3dc}.qs-section h2{font-size:28px;margin:0 0 18px;letter-spacing:-.5px}.qs-section p{font-size:17px;line-height:1.6;color:#3A4659;max-width:720px}.qs-section a{color:#A14F15}.qs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:18px;gap:18px}.qs-card{background:#fff;border:1px solid #e5e3dc;border-radius:12px;padding:24px}.qs-card h3{font-size:22px;margin:8px 0}.qs-card ul{margin:0 0 18px;padding-left:20px;line-height:1.7;color:#3A4659}.qs-card-soon{background:#FBFAF7}.qs-tag{display:inline-block;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#A14F15}.qs-tag-soon{color:#4A5568}.qs-small{font-size:14px!important;color:#5B6577!important}@media (max-width:760px){.helper{position:fixed;left:0!important;right:0!important;top:auto!important;bottom:0;width:auto!important;height:auto!important;max-width:none;max-height:45vh;min-width:0;resize:none;border-radius:12px 12px 0 0;z-index:60}.helper-head{cursor:default;flex-wrap:wrap;gap:6px}.helper-head .helper-grip{display:none}.helper-tabs button{padding:6px 10px;font-size:13px}.helper-x{font-size:24px;padding:2px 8px}.helper-open{position:fixed;top:auto;right:12px;bottom:16px;z-index:60;padding:8px 14px}}