.tk-room-review-bar{position:absolute;left:14px;right:36px;top:12px;z-index:9;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;background:#fff;border:1px solid #d7dfe7;border-radius:12px;color:#27313d;font:12px DM Sans,sans-serif;box-shadow:0 5px 16px #1f2c3b14}.tk-room-review-bar button{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #d7dfe7;background:#f8fafb;color:#27313d;border-radius:8px;font:inherit;cursor:pointer}.tk-room-review-bar button:disabled{opacity:.55;cursor:default}.tk-room-review-bar>button>span{font-size:10px;color:#56657a}.tk-room-review-bar .tk-room-hide{margin-left:auto}.tk-room-review-note{color:#56657a;flex:1;min-width:130px}.tk-room-progress{flex-basis:100%;min-width:0}.tk-room-progress-caption{font-size:12px;margin:4px 0 6px}.tk-room-tape-track{position:relative;height:30px;padding-left:20px}.tk-room-tape-extension{position:relative;height:30px;max-width:100%;transition:width .42s cubic-bezier(.16,1,.3,1)}.tk-room-tape-blade{position:absolute;left:0;right:0;bottom:3px;height:15px;background:#ffd451;border:1px solid #b39a42;border-radius:0 2px 2px 0}.tk-room-tape-blade:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(to right,transparent 0,transparent 8px,#514936 8px,#514936 9px) bottom/100% 5px no-repeat,repeating-linear-gradient(to right,transparent 0,transparent 44px,#514936 44px,#514936 45px) bottom/100% 10px no-repeat}.tk-room-tape-blade:after{content:"";position:absolute;right:-1px;top:-3px;bottom:-2px;width:3px;background:#68717a;border-radius:1px}.tk-room-tape-housing{position:absolute;left:0;top:0;width:30px;height:30px}.tk-room-overlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;z-index:3;overflow:visible}@media (prefers-reduced-motion:reduce){.tk-room-tape-extension{transition:none}}@media (max-width:700px){.tk-room-review-bar{left:8px;right:30px;padding:8px}.tk-room-review-note{flex:1 1 130px}}.tk-room-review-slot:empty{display:none}.tk-room-review-slot{padding:0 12px 8px}.tk-room-review-slot .tk-room-review-bar{position:relative;inset:auto;margin:0;display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:7px;box-shadow:none;padding:8px 12px}.tk-room-review-summary strong{color:inherit}.tk-room-review-summary{font-size:12px;color:#56657a;text-align:center}.tk-room-bulk-actions,.tk-room-click-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.tk-room-bulk-actions button,.tk-room-click-modes button{justify-content:center;min-height:34px;white-space:normal}.tk-room-individual-title,.tk-room-section-title{margin:0;font-size:12px;font-weight:600;color:#354354;text-align:center}.tk-room-click-modes button{min-width:0;justify-content:center;font-weight:600}.tk-room-click-modes button[aria-pressed=true]{background:#e9eef3;border-color:#8fa0b1;color:#243e5b}.tk-room-click-help{font-size:11px;color:#56657a;text-align:center}.tk-room-review-slot .tk-room-hide{margin:0;padding:2px 6px;border:0;background:transparent;font-size:11px}.tk-room-review-slot .tk-room-progress{width:100%}.tk-room-review-slot .tk-room-undo{display:flex;align-items:center;gap:8px;justify-content:center;flex-wrap:wrap}.tk-room-overlay path[role=button]{pointer-events:all;cursor:pointer}.tk-room-overlay path[role=button]:focus{outline:none}.tk-room-overlay path[role=button]:focus-visible{outline:none;stroke:#243e5b;stroke-width:2}.tk-room-approved-check{pointer-events:none}@media (max-width:700px){.tk-room-review-slot{padding:0 7px 7px}.tk-room-click-modes button{min-width:0}}.tk-room-action-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:min(100%,640px)}.tk-room-action-section{display:grid;gap:7px;min-width:0}.tk-room-review-footer{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}@media (max-width:700px){.tk-room-action-columns{gap:12px}.tk-room-action-columns button{padding:6px;font-size:11px}.tk-room-individual-title,.tk-room-section-title{font-size:11px}}.tk-room-review-bar .tk-room-exit{position:absolute;right:7px;top:7px;padding:5px;border:0;background:transparent;color:#56657a;line-height:0}.tk-room-review-bar .tk-room-exit:hover{background:#edf1f5;color:#27313d}.tk-room-review-summary{padding-inline:26px}.tk-detect-room-launcher:empty{display:none}.tk-detect-room-launcher{flex:0 0 auto}.tk-detect-room-launcher button{gap:6px;border:1px solid #d7dfe7;border-radius:8px;padding:7px 10px;background:#f8fafb}.tk-detect-room-launcher small{font-size:10px;color:#697789}.tk-canvas-toolbar .tk-detect-room-launcher .tk-room-detect-check{width:28px;height:28px;flex-shrink:0}.tk-detect-room-launcher{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.tk-detect-room-launcher .tk-room-saved-launcher{border:0;background:transparent;font:11px DM Sans,sans-serif;color:#56657a;cursor:pointer}.tk-room-review-source{font-size:11px;color:#66717f;text-align:center}.tk-room-warnings{width:100%;font-size:11px;color:#66717f}.tk-room-warnings p{margin-top:5px}.tk-room-finish-row{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;font-size:11px;color:#56657a}.tk-room-review-bar .tk-room-finish{background:#e9eef3;border-color:#8fa0b1;color:#243e5b;font-weight:600;font-size:12px}.tk-room-review-bar .tk-room-finish:hover:not(:disabled){background:#dde5ed}.tk-quick-add-help{padding:8px 12px;text-align:center;font:12px DM Sans,sans-serif;color:#354354;background:#f3f5f7;border-radius:8px}.tk-quick-add-edge{pointer-events:none}.tk-quick-add-overlay path[role=button]{cursor:copy}.tk-room-analysis-shield{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;cursor:progress}.tk-room-progress-caption{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-right:22px}.tk-room-progress-estimate{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.tk-room-progress-time{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;font-size:11px;color:#56657a;font-variant-numeric:tabular-nums;margin-bottom:5px}.tk-room-tape-track.is-working .tk-room-tape-blade:before{animation:tk-tape-working 3s linear infinite}@keyframes tk-tape-working{to{background-position:45px bottom,45px bottom}}@media (prefers-reduced-motion:reduce){.tk-room-tape-track.is-working .tk-room-tape-blade:before{animation:none}}.tk-drawing-workspace{display:flex;min-width:0;min-height:0;overflow:hidden}.tk-drawing-workspace>.tk-canvas-stage{flex:1;min-width:0;min-height:0}.tk-room-review-dock:empty{display:none}.tk-room-review-dock{width:190px;flex:0 0 190px;min-height:0;overflow-y:auto;background:#f8fafb;border-left:1px solid #dde1e6}.tk-room-review-dock:has(.is-collapsed){width:38px;flex-basis:38px}.tk-room-review-dock .tk-room-review-bar{position:relative;inset:auto;display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:0;padding:10px;border:0;border-radius:0;box-shadow:none;background:transparent;font-size:11px}.tk-room-panel-heading{display:flex;align-items:center;gap:4px;padding-right:20px;min-height:24px;font-size:12px;font-weight:600}.tk-room-panel-heading>span{flex:1}.tk-room-panel-heading .tk-room-collapse{padding:3px;border:0;background:transparent}.tk-room-review-sidebar .tk-room-review-source{display:none}.tk-room-review-sidebar .tk-room-review-summary{padding:0;font-size:11px;line-height:1.5;text-align:left}.tk-room-review-sidebar .tk-room-action-columns{display:flex;flex-direction:column;gap:12px;width:100%}.tk-room-review-sidebar .tk-room-action-section{gap:5px}.tk-room-review-sidebar .tk-room-section-title,.tk-room-review-sidebar .tk-room-individual-title{font-size:11px;text-align:left}.tk-room-review-sidebar .tk-room-bulk-actions,.tk-room-review-sidebar .tk-room-click-modes{gap:5px}.tk-room-review-sidebar .tk-room-bulk-actions button,.tk-room-review-sidebar .tk-room-click-modes button{min-height:30px;padding:5px 4px;font-size:11px}.tk-room-review-sidebar .tk-room-review-footer{gap:6px}.tk-room-review-sidebar .tk-room-click-help{font-size:10px}.tk-room-review-sidebar .tk-room-hide{margin:0;width:100%;justify-content:center;padding:5px;font-size:11px}.tk-room-review-sidebar .tk-room-finish-row>span{display:none}.tk-room-review-sidebar .tk-room-finish-row{display:block}.tk-room-review-sidebar .tk-room-finish{width:100%;justify-content:center}.tk-room-review-sidebar .tk-room-warnings{font-size:10px;line-height:1.5}.tk-room-review-sidebar .tk-room-undo{font-size:10px}.tk-room-review-sidebar.is-collapsed{padding:7px 3px}.tk-room-review-sidebar.is-collapsed>:not(.tk-room-panel-heading):not(.tk-room-exit){display:none}.tk-room-review-sidebar.is-collapsed .tk-room-panel-heading{padding:27px 0 0}.tk-room-review-sidebar.is-collapsed .tk-room-panel-heading>span{display:none}.tk-room-review-sidebar.is-collapsed .tk-room-collapse{flex-direction:column;gap:8px;font-size:10px}.tk-room-review-sidebar.is-collapsed .tk-room-collapse>span{writing-mode:vertical-rl}@media (max-width:700px){.tk-room-review-dock{width:148px;flex-basis:148px}.tk-room-review-dock .tk-room-review-bar{padding:8px;gap:8px}.tk-room-panel-heading{font-size:11px}.tk-room-review-sidebar .tk-room-bulk-actions,.tk-room-review-sidebar .tk-room-click-modes{grid-template-columns:1fr}.tk-room-review-sidebar .tk-room-review-source{display:none}}.tk-room-review-dock{position:relative;z-index:8}.tk-canvas-area:has(.tk-room-review-sidebar)>.tk-totals-toggle{right:190px!important}.tk-canvas-area:has(.tk-room-review-sidebar.is-collapsed)>.tk-totals-toggle{right:38px!important}@media (max-width:700px){.tk-canvas-area:has(.tk-room-review-sidebar)>.tk-totals-toggle{right:148px!important}.tk-canvas-area:has(.tk-room-review-sidebar.is-collapsed)>.tk-totals-toggle{right:38px!important}}.tk-group-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:7px 8px;border-bottom:1px solid #d6dde6}.tk-group-tools button{background:transparent;border:0;color:#1a2f5a;font:inherit;font-size:11px;font-weight:700;cursor:pointer;padding:2px 0}.tk-group-tools button:disabled,.tk-group-actions button:disabled{opacity:.5;cursor:default}.tk-group-heading{display:flex;align-items:center;background:#edf1f6;border-bottom:1px solid #d6dde6;min-height:30px;color:#1a2f5a}.tk-group-toggle{background:transparent;border:0;display:flex;align-items:center;gap:6px;min-width:0;flex:1;text-align:left;padding:6px 5px;font:inherit;color:inherit;cursor:pointer}.tk-group-expander{width:12px;height:12px;border:1px solid #7a879c;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:12px;line-height:1}.tk-group-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800}.tk-group-count{font-size:10px;color:#52647d;font-variant-numeric:tabular-nums}.tk-group-actions{display:flex;gap:2px;padding-right:4px}.tk-group-actions button{min-width:24px;min-height:24px;justify-content:center;align-items:center;background:transparent;border:0;padding:4px;color:#52647d;cursor:pointer;display:flex}.tk-group-actions svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.tk-group-actions button:last-child{color:#b91c1c}.tk-group-contents{padding-left:7px}.tk-group-contents .tk-group-item>button:not(.tk-group-drag){grid-template-columns:16px minmax(100px,1fr) 64px 64px 44px!important}.tk-group-empty,.tk-group-message{font-size:11px;color:#52647d;padding:8px;line-height:1.4}.tk-group-drop>.tk-group-heading{background:#fff1b8;outline:2px solid #c9a000;outline-offset:-2px}.tk-group-form{display:grid;gap:6px;background:#f0f4f8;color:#1a2f5a;padding:8px;border-bottom:1px solid #cbd5e1;font-size:12px}.tk-group-form label{display:grid;gap:4px;font-weight:700}.tk-group-form input,.tk-group-form select{min-width:0;width:100%;padding:5px;border:1px solid #94a3b8;border-radius:3px;font:inherit;background:#fff;color:#1a2f5a}.tk-group-form>div{display:flex;gap:6px}.tk-group-form button{border:1px solid #94a3b8;border-radius:3px;padding:4px 8px;background:#fff;color:#1a2f5a;font:inherit;cursor:pointer}.tk-group-form button[type=submit]{background:#fcd34d;border-color:#e3bb36;font-weight:700}.tk-item-group :focus-visible,.tk-group-form :focus-visible,.tk-group-tools :focus-visible{outline:2px solid #2563eb;outline-offset:1px}.tk-group-item{display:flex;min-width:0}.tk-group-item>button:not(.tk-group-drag){flex:1;min-width:0}.tk-group-item>.tk-group-drag{display:flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;min-width:24px;min-height:24px;padding:0;border:0;background:transparent;color:#64748b;cursor:grab}.tk-group-drag svg{width:8px;height:16px;fill:currentColor}.tk-group-drag:hover{color:#1a2f5a;background:#fef9e7}.project-shell{min-height:100vh;color:var(--text);background:var(--app-bg)}.hp-header{padding:16px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--surface-muted);border-bottom:1px solid var(--border)}.project-brand{min-width:0}.hp-logo{height:60px;width:auto;display:block;max-width:100%}.hp-new-btn,.project-create button{padding:10px 16px;border:1px solid #dec67f;background:var(--accent);color:var(--text);font-size:13px;font-weight:600;cursor:pointer;border-radius:9px}.projects{max-width:1200px;padding:32px;margin:0 auto}.project-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:24px}.projects h1{font-size:25px;font-weight:600;margin:0}.project-view-toggle{display:flex;padding:3px;gap:3px;background:#e9edf1;border-radius:10px}.project-view-toggle button{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--text-secondary);font-size:12px;min-height:34px}.project-view-toggle button[aria-pressed=true]{background:#fff;color:var(--text);border-color:var(--border)}.project-view-toggle svg,.project-actions svg,.tk-projects-back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.project-create-form{margin-bottom:28px;max-width:560px}.projects label{display:block;font-size:12px;font-weight:500;margin-bottom:6px;color:var(--text-secondary)}.project-create{display:flex;gap:8px}.project-create input{min-width:0;flex:1;border:1px solid var(--border);border-radius:8px;background:#fff;padding:10px 12px;color:var(--text);font:inherit;font-size:14px}.projects button{cursor:pointer;font-family:inherit}.projects button:disabled{opacity:.6;cursor:default}.project-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:20px;list-style:none;padding:0;margin:0}.project-list li{min-width:0;background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}.project-list li:hover{border-color:#aeb9c5}.project-card-link{display:block;color:var(--text);text-decoration:none}.project-thumbnail{height:180px;display:flex;align-items:center;justify-content:center;background:#e9edf1;padding:14px}.project-thumbnail canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;box-shadow:0 2px 8px #27313d18}.project-thumbnail canvas[hidden]{display:none}.project-thumbnail span{font-size:12px;color:var(--text-secondary)}.project-card-name{display:block;padding:14px 16px 4px;font-size:14px;font-weight:600;overflow-wrap:anywhere}.project-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px 12px 16px}.project-card-meta{font-size:11px;color:var(--text-secondary);margin:0}.project-card-meta strong{font-weight:500}.project-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:4px;flex-shrink:0}.project-actions button,.project-actions .project-recovery-link{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border:0;border-radius:7px;background:transparent;color:var(--text-secondary);padding:8px}.project-actions button:hover,.project-actions .project-recovery-link:hover{background:#edf0f3;color:var(--text);text-decoration:none}.project-actions :is(button,a):focus-visible{outline:2px solid #58799a;outline-offset:2px}.project-account{display:flex;align-items:center;gap:12px;min-width:0;font-size:13px}.project-account span{overflow-wrap:anywhere}.project-account button,.project-deleted>button{border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text);font:inherit;padding:10px 14px;cursor:pointer;white-space:nowrap}.project-access{font-size:11px;color:var(--text-secondary)}.project-table-mobile-meta{display:none}.project-deleted{margin-top:28px}.project-deleted section{margin-top:20px}.project-deleted h2{font-size:18px}.project-deleted ul{list-style:none;padding:0}.project-deleted li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--border)}.project-deleted a{color:var(--text);text-underline-offset:3px}.project-table-wrap{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}.project-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.project-table th{text-align:left;background:#edf0f3;font-weight:500;color:var(--text-secondary);font-size:11px}.project-table th,.project-table td{padding:12px 16px;border-bottom:1px solid var(--border)}.project-table th:first-child{width:auto}.project-table th:nth-child(2),.project-table th:nth-child(3){width:90px;text-align:right}.project-table th:last-child{width:94px}.project-table td:nth-child(2),.project-table td:nth-child(3){text-align:right}.project-table tr:last-child td{border-bottom:0}.project-table tbody tr:hover{background:#fafbfc}.project-table a{color:var(--text);font-weight:500;text-decoration:none;overflow-wrap:anywhere}.project-table a:hover{text-decoration:underline}.project-table .project-actions{justify-content:flex-end}.project-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}.projects-empty{padding:32px;background:#fff;border:1px solid var(--border);border-radius:12px;color:var(--text-secondary);font-size:14px}@media (max-width:600px){.hp-header{padding:12px 16px;gap:10px}.hp-logo{height:45px}.project-account{font-size:12px;flex-wrap:wrap;justify-content:flex-end}.project-account span{max-width:160px}.hp-new-btn{font-size:12px;padding:8px 10px;white-space:nowrap}.projects{padding:24px 16px}.project-heading{gap:12px}.project-create{flex-direction:column}.project-table th,.project-table td{padding:10px 8px}.project-table th:nth-child(2),.project-table th:nth-child(3){width:58px}.project-table th:last-child{width:76px}}.project-table th:last-child,.project-shell-account .project-table th:last-child{width:156px}.project-section+.project-section{margin-top:32px}.project-section h2{font-size:18px;font-weight:600;margin:0 0 16px}.project-actions button[aria-pressed=true]{background:var(--selected,#e9eef3);color:var(--text)}.project-actions button[aria-pressed=true] svg{fill:currentColor}.project-card-footer{flex-wrap:wrap}@media (max-width:600px){.project-actions button,.project-actions .project-recovery-link{flex-basis:44px;width:44px;height:44px}.project-table th:last-child,.project-shell-account .project-table th:last-child{width:188px}.project-table th:nth-child(2),.project-table th:nth-child(3),.project-table td:nth-child(2),.project-table td:nth-child(3){display:none}.project-table-mobile-meta{display:block;margin-top:4px;font-size:11px;color:var(--text-secondary)}}.tk-button,.tk-input,.tk-select{font:inherit}.tk-button{cursor:pointer}.tk-app-shell{min-height:100vh}.tk-topbar{align-items:center;background:#1a2f5a;color:#fff;display:flex;justify-content:space-between;min-height:74px;padding:16px 28px}.tk-brand{font-size:24px;font-weight:700}.tk-subtle{color:#64748b;font-size:13px}.tk-light{color:#dbeafe}.tk-home-main{margin:0 auto;max-width:1180px;padding:32px}.tk-project-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.tk-project-card,.tk-empty-card,.tk-modal,.tk-sidebar,.tk-canvas-toolbar{background:#fff;border:1px solid #e2e8f0;box-shadow:0 8px 24px #0f172a14}.tk-project-card{border-radius:8px;color:inherit;min-height:150px;padding:20px;text-align:left}.tk-project-card:hover{border-color:#fcd34d}.tk-project-card h2,.tk-empty-card h2,.tk-modal h2,.tk-sidebar h1,.tk-sidebar h2{margin:0}.tk-project-meta{display:flex;gap:14px;margin:22px 0 18px}.tk-empty-card{border-radius:8px;padding:28px}.tk-primary-button,.tk-gold-button,.tk-ghost-button,.tk-small-button,.tk-upload-control{align-items:center;border:0;border-radius:6px;display:inline-flex;font-weight:700;justify-content:center;min-height:38px;padding:0 14px;text-decoration:none}.tk-primary-button{background:#1a2f5a;color:#fff}.tk-primary-button:disabled{background:#94a3b8;cursor:not-allowed}.tk-gold-button{background:#fcd34d;color:#172033}.tk-ghost-button{background:#e2e8f0;color:#172033}.tk-small-button{background:#edf2f7;color:#1a2f5a;min-height:30px;padding:0 10px}.tk-full,.tk-export-button{width:100%}.tk-modal-backdrop{align-items:center;background:#0f172a80;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;position:fixed;z-index:20}.tk-modal{border-radius:8px;display:grid;gap:18px;min-width:min(420px,calc(100vw - 32px));padding:24px}.tk-modal label,.tk-condition-form{display:grid;gap:8px}.tk-modal input,.tk-modal select,.tk-modal textarea,.tk-condition-form input,.tk-condition-form select{border:1px solid #cbd5e1;border-radius:6px;min-height:38px;padding:8px 10px}.tk-modal textarea{font:inherit;resize:vertical}.tk-modal-actions{display:flex;gap:10px;justify-content:flex-end}.tk-distance-inputs{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.tk-takeoff-page{display:grid;grid-template-columns:var(--tk-sidebar-width, 340px) minmax(0,1fr);min-height:100vh;position:relative}.tk-sidebar{border-radius:0;display:flex;flex-direction:column;gap:18px;height:100vh;overflow:hidden;padding:18px;z-index:2}.tk-sidebar-logo{box-sizing:border-box;max-width:220px;width:100%}.tk-sidebar-fixed-action{box-sizing:border-box;max-width:308px}.tk-project-name-edit{align-items:center;background:transparent;border:0;border-radius:4px;color:#fcd34d;display:inline-flex;flex:0 0 24px;height:24px;justify-content:center;padding:3px;width:24px}.tk-project-name-edit:hover{background:#ffffff1f}.tk-project-name-edit:focus-visible{outline:2px solid #fcd34d;outline-offset:1px}.tk-project-name-edit svg{fill:none;height:15px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:15px}.tk-inline-icon{fill:none;height:14px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:14px}.tk-condition-columns{align-items:center;background:#e9eef5;border-bottom:1px solid #cbd5e1;color:#5b6b82;display:grid;font-size:9px;font-weight:800;grid-template-columns:16px minmax(120px,1fr) 64px 64px 44px;letter-spacing:.05em;min-height:22px;position:sticky;text-transform:uppercase;top:0;z-index:1}.tk-condition-columns span:nth-child(3),.tk-condition-columns span:nth-child(4){padding-right:4px;text-align:right}.tk-sidebar-resizer{background:transparent;border:0;bottom:0;cursor:col-resize;left:calc(var(--tk-sidebar-width, 340px) - 4px);padding:0;position:absolute;top:0;touch-action:none;width:8px;z-index:4}.tk-sidebar-resizer:after{background:#fcd34d8c;border-radius:999px;content:"";height:54px;left:3px;position:absolute;top:50%;transform:translateY(-50%);transition:background .12s ease,width .12s ease;width:2px}.tk-sidebar-resizer:hover:after,.tk-sidebar-resizer:focus-visible:after{background:#fcd34d;left:2px;width:4px}.tk-sidebar-resizer:focus-visible{outline:2px solid #fcd34d;outline-offset:-2px}.tk-sidebar-header{display:grid;gap:12px}.tk-sidebar h1{color:#1a2f5a;font-size:22px;line-height:1.2}.tk-sidebar h2{color:#334155;font-size:13px;letter-spacing:.04em;text-transform:uppercase}.tk-back-link{color:#1a2f5a;font-size:13px;font-weight:700;text-decoration:none}.tk-upload-control{background:#1a2f5a;color:#fff;position:relative}.tk-upload-control input{top:0;right:0;bottom:0;left:0;opacity:0;position:absolute}.tk-sidebar-section{border-top:1px solid #e2e8f0;display:grid;gap:10px;padding-top:16px}.tk-grow{flex:1}.tk-section-title-row{align-items:center;display:flex;justify-content:space-between}.tk-sheet-list,.tk-condition-list{display:grid;gap:8px}.tk-sheet-row,.tk-condition-row{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;color:#172033;display:grid;gap:8px;min-height:40px;padding:8px;text-align:left}.tk-sheet-row{grid-template-columns:minmax(0,1fr) auto}.tk-sheet-row.active,.tk-condition-row.active{background:#fff8d8;border-color:#fcd34d}.tk-ok-pill,.tk-warn-pill,.tk-type-badge{border-radius:999px;font-size:11px;font-weight:700;padding:3px 7px}.tk-ok-pill{background:#dcfce7;color:#166534}.tk-warn-pill{background:#ffedd5;color:#9a3412}.tk-scale-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:10px}.tk-scale-methods,.tk-scale-form{display:grid;gap:8px}.tk-scale-methods label{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;display:flex;gap:8px;padding:8px}.tk-scale-methods label.selected{background:#fff8d8;border-color:#fcd34d}.tk-scale-form select{border:1px solid #cbd5e1;border-radius:6px;min-height:38px;padding:8px 10px;width:100%}.tk-condition-row{grid-template-columns:14px minmax(0,1fr) auto;position:relative}.tk-swatch{border-radius:50%;height:14px;width:14px}.tk-condition-name{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tk-type-badge{background:#e0f2fe;color:#075985}.tk-quantity{color:#334155;font-size:13px;grid-column:2 / 3}.tk-trash{color:#b91c1c;font-weight:700;grid-column:3;grid-row:2;text-align:right}.tk-canvas-area{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0}.tk-canvas-toolbar{align-items:center;border-radius:0;display:flex;gap:8px;min-height:56px;padding:8px 12px;position:relative;z-index:10}.tk-sheet-toolbar{align-items:center;background:#f8fafc;border:1px solid #dbe3ed;border-radius:6px;display:grid;flex:0 1 250px;grid-template-columns:28px minmax(120px,1fr) 28px;min-width:180px;padding:2px}.tk-sheet-nav-button{align-items:center;background:transparent;border:1px solid transparent;border-radius:4px;color:#1a2f5a;display:flex;font-size:20px;height:32px;justify-content:center;padding:0}.tk-sheet-nav-button:hover:not(:disabled){background:#e8eef7;border-color:#cbd5e1}.tk-sheet-nav-button:disabled{color:#94a3b8;opacity:.55}.tk-sheet-menu,.tk-scale-menu{min-width:0;position:relative}.tk-sheet-picker{align-items:center;background:#fff;border:1px solid #dbe3ed;border-radius:4px;color:#1a2f5a;display:grid;font-size:11px;font-weight:700;grid-template-columns:minmax(0,1fr) 14px;height:32px;padding:0 7px;text-align:left;width:100%}.tk-sheet-picker>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tk-sheet-picker>span:last-child{color:#b45309;text-align:right}.tk-sheet-picker input{border:1px solid #f4c430;border-radius:3px;color:#1a2f5a;font:inherit;height:24px;min-width:0;padding:0 4px;width:100%}.tk-sheet-popover,.tk-scale-popover{background:#fff;border:1px solid #cbd5e1;border-radius:7px;box-shadow:0 12px 28px #0f172a33;left:0;position:absolute;top:calc(100% + 6px);z-index:12}.tk-sheet-popover{min-width:280px}.tk-sheet-list{display:grid;max-height:270px;overflow-y:auto;padding:5px}.tk-sheet-list-row{align-items:center;border-radius:4px;display:grid;grid-template-columns:minmax(0,1fr) 28px}.tk-sheet-select-button{background:transparent;border:0;border-radius:4px 0 0 4px;color:#334155;font-size:12px;min-height:30px;overflow:hidden;padding:5px 8px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.tk-sheet-list-row:hover,.tk-sheet-list-row.active{background:#eef3f9;color:#1a2f5a}.tk-sheet-list-row.active{box-shadow:inset 3px 0 #f4c430;font-weight:800}.tk-sheet-delete-button{align-items:center;align-self:stretch;background:transparent;border:0;border-radius:0 4px 4px 0;color:#b91c1c;display:flex;justify-content:center;padding:0}.tk-sheet-delete-button:hover:not(:disabled){background:#fee2e2}.tk-sheet-delete-button:disabled{cursor:wait;opacity:.45}.tk-sheet-delete-button .tk-inline-icon{height:13px;width:13px}.tk-sheet-actions{border-top:1px solid #e2e8f0;display:grid;gap:4px;grid-template-columns:1fr 1fr;padding:6px}.tk-sheet-actions button{align-items:center;background:#f8fafc;border:1px solid #dbe3ed;border-radius:4px;color:#1a2f5a;display:flex;font-size:11px;font-weight:700;gap:5px;justify-content:center;min-height:30px}.tk-upload-toolbar-button{cursor:pointer;position:relative}.tk-upload-toolbar-button input{height:1px;opacity:0;pointer-events:none;position:absolute;width:1px}.tk-scale-popover{display:grid;gap:10px;min-width:270px;padding:12px}.tk-scale-popover-header{display:grid;gap:2px}.tk-scale-popover-header strong{color:#1a2f5a;font-size:13px}.tk-scale-popover-header span{color:#64748b;font-size:11px}.tk-scale-popover label{align-items:center;color:#334155;display:flex;font-size:12px;gap:7px}.tk-scale-popover select{background:#fff;border:1px solid #cbd5e1;border-radius:5px;color:#1a2f5a;min-height:34px;padding:5px 7px}.tk-scale-popover>button{background:#fcd34d;border:0;border-radius:5px;color:#1a2f5a;font-weight:800;min-height:34px}.tk-scale-actions{display:grid;gap:6px;grid-template-columns:1fr 1fr}.tk-scale-actions button{background:#e8eef7;border:1px solid #cbd5e1;border-radius:5px;color:#1a2f5a;font-size:11px;font-weight:800;min-height:34px;padding:5px 8px}.tk-scale-actions .tk-scale-apply-all,.tk-scale-popover>.tk-scale-apply-all{background:#fcd34d;border-color:#eab308}.tk-scale-current-all{font-size:11px;padding:5px 8px}.tk-scale-actions button:disabled,.tk-scale-popover>button:disabled{cursor:not-allowed;opacity:.55}.tk-toolbar-context{align-items:center;display:flex;flex:1;gap:4px;min-width:0}.tk-toolbar-context>span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;color:#475569;font-size:11px;font-weight:700;max-width:132px;overflow:hidden;padding:5px 7px;text-overflow:ellipsis;white-space:nowrap}.tk-toolbar-context .tk-toolbar-zoom{color:#1a2f5a;flex-shrink:0;font-variant-numeric:tabular-nums;max-width:none;min-width:48px;text-align:center}.tk-toolbar-group{align-items:center;background:#f8fafc;border:1px solid #dbe3ed;border-radius:6px;display:inline-flex;flex-shrink:0;gap:2px;padding:2px}.tk-annotation-toolbar{border-color:#f0c95c;box-shadow:inset 3px 0 #f4c430;padding-left:5px}.tk-canvas-toolbar strong{color:#b45309;font-size:11px;line-height:1.2;max-width:180px}.tk-toolbar-button{align-items:center;background:transparent;border:1px solid transparent;border-radius:4px;color:#1a2f5a;display:inline-flex;font-weight:700;height:32px;justify-content:center;min-height:0;padding:0;width:32px}.tk-toolbar-button:hover:not(:disabled){background:#e8eef7;border-color:#cbd5e1}.tk-toolbar-button:disabled{color:#94a3b8;cursor:not-allowed;opacity:.62}.tk-toolbar-button.active{background:#fff8d8;border-color:#fcd34d}.tk-annotation-mode .tk-draw-canvas{cursor:crosshair}.tk-callout-drag-hint{background:#fff8d8;border:1px solid #e8b923;border-radius:5px;color:#7c4a03;font-size:10px;font-weight:800;line-height:26px;padding:0 7px;white-space:nowrap}.tk-view-menu{position:relative}.tk-view-menu-popover{background:#fff;border:1px solid #cbd5e1;border-radius:7px;box-shadow:0 12px 28px #0f172a33;display:grid;min-width:210px;padding:5px;position:absolute;right:0;top:calc(100% + 8px);z-index:20}.tk-view-menu-popover button{align-items:center;background:transparent;border:0;border-radius:5px;color:#1a2f5a;display:grid;font:inherit;font-size:12px;font-weight:700;gap:8px;grid-template-columns:20px minmax(0,1fr) auto;min-height:34px;padding:5px 8px;text-align:left}.tk-view-menu-popover button:hover,.tk-view-menu-popover button.active{background:#fff8d8}.tk-view-menu-popover button:disabled{color:#94a3b8;cursor:not-allowed}.tk-view-menu-popover button:disabled:hover{background:transparent}.tk-view-menu-popover .tk-toolbar-icon{height:18px;width:18px}.tk-menu-check{color:#b45309;font-size:13px}.tk-toolbar-icon{display:block;fill:none;height:18px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;width:18px}.tk-canvas-stage{background:#d9e2ec;overflow:hidden;position:relative;touch-action:none}.tk-canvas-stage canvas{left:0;position:absolute;top:0;transform-origin:0 0}.tk-pdf-canvas{background:#fff;box-shadow:0 8px 24px #0f172a33}.tk-draw-canvas{cursor:crosshair}.tk-select-mode .tk-draw-canvas{cursor:default}.tk-annotation-moving .tk-draw-canvas{cursor:move}.tk-dimension-mode .tk-draw-canvas,.tk-scale-zone-mode .tk-draw-canvas{cursor:crosshair}.tk-panning .tk-draw-canvas{cursor:grabbing}.tk-length-indicator{background:#fffffff0;border-radius:4px;color:#000;font-size:11px;font-weight:700;left:0;padding:4px;pointer-events:none;position:absolute;top:0;z-index:5}.tk-measurement-delete-button{background:#991b1b;border:0;border-radius:5px;color:#fff;font-size:12px;font-weight:700;left:0;min-height:28px;padding:0 9px;position:absolute;top:0;z-index:6}.tk-toast{background:#1a2f5af0;border-radius:6px;bottom:22px;color:#fff;font-weight:700;left:50%;padding:10px 14px;position:fixed;transform:translate(-50%);z-index:30}.tk-canvas-status{background:#ffffffeb;border:1px solid #e2e8f0;border-radius:6px;color:#334155;font-weight:700;left:50%;padding:12px 16px;position:absolute;top:70px;transform:translate(-50%);z-index:4}.tk-scale-warning{align-items:center;background:#fff8d8;border:2px solid #e8b923;box-shadow:0 12px 30px #0f214238;display:flex;gap:22px;max-width:min(720px,calc(100% - 40px));padding:16px 18px;width:max-content}.tk-scale-warning>div{display:grid;gap:3px}.tk-scale-warning strong{color:#9a5b00;font-size:15px;font-weight:900;letter-spacing:.08em}.tk-scale-warning span{color:#1a2f5a;font-size:16px;font-weight:800}.tk-scale-warning button{background:#1a2f5a;border:1px solid #1a2f5a;border-radius:6px;color:#fff;flex-shrink:0;font-weight:800;min-height:38px;padding:0 16px}.tk-scale-warning button:hover{background:#0f2142}@media (max-width: 820px){.tk-takeoff-page{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.tk-sidebar{height:auto;max-height:48vh;overflow-y:auto}.tk-sidebar-resizer{display:none}.tk-canvas-toolbar{flex-wrap:wrap}.tk-toolbar-context{flex-basis:100%}.tk-scale-warning{align-items:stretch;flex-direction:column;gap:10px}}@font-face{font-family:DM Sans;font-style:normal;font-weight:100 1000;font-display:swap;src:url(/fonts/dm-sans-variable.woff2) format("woff2")}:root{--surface:#fff;--surface-muted:#f3f4f6;--app-bg:#f6f7f8;--border:#dde1e6;--text:#27313d;--text-secondary:#66717f;--accent:#f3d16c;--selected:#e9eef3;--row-columns:24px minmax(0,1fr) 68px 64px 72px}html,body{font-family:DM Sans,system-ui,-apple-system,sans-serif!important;background:var(--app-bg);color:var(--text);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:inherit}button{font-weight:500}button:not(.tk-item-name-cell):not(.tk-group-toggle):not(.tk-group-drag),.tk-upload-control{border-radius:9px!important}input:not([type=radio]):not([type=checkbox]):not([type=color]),select,textarea{border-radius:8px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #6b869d;outline-offset:2px}::selection{background:#f6e4a8;color:var(--text)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{border:2px solid transparent;background:#c3c9d1;background-clip:padding-box;border-radius:8px}::-webkit-scrollbar-track{background:transparent}.tk-sidebar{background:var(--surface-muted)!important;color:var(--text)!important;border-right:1px solid var(--border)!important;padding:14px 12px!important;gap:14px!important;box-shadow:none!important}.tk-sidebar-heading{display:flex;flex-direction:column;gap:12px}.tk-sidebar-brand-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px}.tk-project-heading{background:var(--surface);border-radius:10px;padding:10px 12px;min-width:0}.tk-project-heading h1 span{overflow-wrap:anywhere}.tk-project-heading input{font-size:14px!important;font-weight:600!important;border:1px solid var(--border)!important;line-height:1.35!important}.tk-sidebar-brand-row .tk-projects-back{margin:0;align-self:center;flex-shrink:0}.tk-sidebar-logo{max-width:128px!important;flex:0 0 128px;border:0!important;background:transparent!important;padding:0!important}.tk-sidebar h1{font-size:14px!important;font-weight:600!important;line-height:1.35!important;min-width:0;flex:1}.tk-project-name-edit{color:var(--text-secondary);width:28px;height:28px;flex-basis:28px}.tk-sidebar-fixed-action{max-width:none;background:var(--surface)!important;border:1px solid var(--border);border-radius:10px!important;color:var(--text)!important;font-size:13px;font-weight:600!important;min-height:38px!important}.tk-sidebar-fixed-action:hover{background:#e9ecf0!important}.tk-items-section{display:flex;flex-direction:column;min-height:0;flex:1;gap:8px}.tk-items-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.tk-items-heading h2{text-transform:none;letter-spacing:0;font-size:13px;font-weight:600;color:var(--text)}.tk-add-item-button{padding:6px 10px;min-height:32px;background:var(--surface);border:1px solid var(--border);color:var(--text);font-size:12px;cursor:pointer}.tk-add-item-button:hover{background:#e9ecf0}.tk-new-item-form{padding:12px;display:grid;gap:10px;background:var(--surface);border:1px solid var(--border);border-radius:12px}.tk-new-item-form label{display:grid;gap:5px;font-size:12px;font-weight:500;color:var(--text-secondary);min-width:0}.tk-new-item-form input,.tk-new-item-form select{width:100%;min-width:0;min-height:34px;padding:6px 8px;color:var(--text);border:1px solid var(--border);background:#fafbfc;font-size:13px}.tk-new-item-options{display:flex;gap:8px}.tk-new-item-options>label{flex:1}.tk-new-item-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px}.tk-new-item-footer>div{display:flex;gap:6px}.tk-new-item-footer button{border:1px solid var(--border);background:var(--surface);padding:6px 10px;font-size:12px;color:var(--text);min-height:32px;cursor:pointer}.tk-new-item-footer button[type=submit]{background:var(--accent);border-color:#dcc06c;font-weight:600}.tk-new-item-footer button:disabled{opacity:.5;cursor:default}.tk-items-grid{flex:1;min-height:0;overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:9px}.tk-items-columns{display:grid;grid-template-columns:var(--row-columns);align-items:center;background:#edf0f3;border-bottom:1px solid var(--border);min-height:30px;font-size:10px;color:var(--text-secondary);font-weight:500;position:sticky;top:0;z-index:2}.tk-items-columns.has-groups{padding-left:28px}.tk-items-columns>span{padding:4px;min-width:0}.tk-items-columns>span:first-child{font-size:0}.tk-items-columns>span:nth-child(3),.tk-items-columns>span:nth-child(4){text-align:right}.tk-items-empty{font-size:12px;color:var(--text-secondary);padding:16px 10px}.tk-item-sheet-row{min-width:0;flex:1;background:var(--surface)}.tk-sheet-cells{display:grid;grid-template-columns:var(--row-columns);align-items:center;min-width:0;min-height:29px;border-bottom:1px solid #edf0f3}.tk-item-sheet-row:hover{background:#f7f8fa}.tk-item-sheet-row.is-active{background:var(--selected)}.tk-item-color{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;padding:0;border:0;background:transparent;cursor:pointer;justify-self:center;border-radius:4px;overflow:hidden}.tk-item-color::-webkit-color-swatch-wrapper{padding:0}.tk-item-color::-webkit-color-swatch{border:1px solid rgba(0,0,0,.13);border-radius:4px}.tk-item-name-cell{display:flex;align-items:center;gap:5px;min-width:0;height:28px;background:transparent;border:0;border-radius:0;padding:0 5px;color:var(--text);text-align:left;font-size:12px;font-weight:500;cursor:pointer}.tk-item-name-cell>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tk-item-name-cell small{font-size:10px;color:var(--text-secondary);flex-shrink:0}.tk-item-quantity{min-width:0;align-self:stretch;display:flex;align-items:center;justify-content:flex-end;border-left:1px solid #edf0f3;white-space:nowrap;font-size:11px;color:var(--text);padding:4px}.tk-secondary-quantity{color:var(--text-secondary)}.tk-item-actions{display:flex;align-items:center;justify-content:center;min-width:0;border-left:1px solid #edf0f3}.tk-item-actions button{display:flex;align-items:center;justify-content:center;background:transparent;border:0;width:24px;height:28px;min-width:24px;padding:3px;color:#727e8c;font-size:13px;cursor:pointer}.tk-item-actions button:hover{background:#e9ecf0;color:var(--text)}.tk-item-actions button:last-child:hover{background:#fceeee;color:#a13d3d}.tk-item-actions svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.tk-item-name-input{width:100%;min-width:0;height:26px;border:1px solid #c5ced8;background:#fff;color:var(--text);padding:3px 5px;font-size:12px}.tk-item-edit-details{display:flex;gap:10px;padding:8px;border-bottom:1px solid var(--border);background:#f7f8fa}.tk-item-edit-details label{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--text-secondary);min-width:0}.tk-item-edit-details select{width:100%;min-width:0;max-width:220px;min-height:28px;border:1px solid var(--border);background:#fff;color:var(--text);font-size:12px}.tk-item-edit-details input[type=color]{width:26px;height:26px;padding:2px;border:1px solid var(--border);border-radius:6px;background:#fff}.tk-group-tools{gap:10px;padding:5px 7px;border-color:var(--border);background:#fafbfc}.tk-group-tools button{font-size:10px;font-weight:500;color:var(--text-secondary);min-height:26px}.tk-group-heading{background:#f0f2f5;color:var(--text);border-color:var(--border);min-height:30px}.tk-group-name{font-size:11px;font-weight:600}.tk-group-toggle{padding:6px 5px}.tk-group-count{font-weight:400;color:var(--text-secondary)}.tk-group-actions button{color:var(--text-secondary)}.tk-group-actions button:last-child{color:#a16666}.tk-group-contents{padding-left:4px}.tk-group-empty{font-size:10px;color:var(--text-secondary)}.tk-group-item>.tk-group-drag{align-self:stretch;background:transparent;color:#a2aab5}.tk-group-item>.tk-group-drag:hover{background:#edf0f3;color:var(--text)}.tk-group-form{background:#f7f8fa;border-color:var(--border);color:var(--text);padding:10px}.tk-group-form button,.tk-group-form input,.tk-group-form select{border-color:var(--border);color:var(--text)}.tk-group-form button[type=submit]{background:var(--accent)}.tk-canvas-stage{background:#e9ecef}.tk-pdf-canvas{box-shadow:0 4px 16px #2d374121}.tk-canvas-toolbar{background:#f8f9fa;border-bottom:1px solid var(--border);gap:8px;padding:9px 12px}.tk-toolbar-group{background:var(--surface);border-color:var(--border);border-radius:11px;padding:3px}.tk-toolbar-button,.tk-sheet-nav-button{background:transparent;color:#5a6675;border-radius:8px!important}.tk-toolbar-button:hover,.tk-sheet-nav-button:hover{background:#edf0f3;color:var(--text)}.tk-toolbar-button.active,.tk-toolbar-button[aria-pressed=true]{background:var(--selected);color:var(--text);border-color:#c6d0db}.tk-toolbar-context,.tk-zoom-indicator{background:#edf0f3;color:var(--text-secondary);border-color:var(--border);font-size:11px;font-weight:500}.tk-sheet-toolbar,.tk-sheet-menu,.tk-sheet-select-button,.tk-scale-popover,.tk-view-menu-popover{border-color:var(--border);color:var(--text);border-radius:10px}.tk-sheet-menu,.tk-scale-popover,.tk-view-menu-popover{box-shadow:0 8px 24px #2d37411f;background:#fff}.tk-totals-toggle{background:#f8f9fa!important;border:1px solid var(--border)!important;color:var(--text-secondary)!important}.tk-totals-panel{background:var(--surface)!important;color:var(--text)!important;border-left:1px solid var(--border);box-shadow:-6px 0 20px #28324114!important;max-width:calc(100% - 12px)}.tk-totals-panel button{min-height:30px;color:var(--text-secondary)}.tk-modal{border:1px solid var(--border);border-radius:16px;box-shadow:0 12px 40px #28324124;color:var(--text)}.tk-modal-backdrop{background:#28324147}.tk-primary-button{background:#e9edf1;color:var(--text);border:1px solid var(--border)}.tk-ghost-button{background:#f0f2f5;color:var(--text-secondary)}.tk-scale-warning{border:1px solid #ead18c;box-shadow:0 4px 16px #2d37411f;border-radius:12px}.tk-scale-warning strong{letter-spacing:0;font-weight:600}.tk-scale-warning button{background:#f2df9d;color:#64521f;border-color:#e2ca80;border-radius:9px}.tk-measurement-delete-button{background:#fceeee;color:#9b4545;border:1px solid #efcece;border-radius:8px}.tk-toast{background:#fff;color:var(--text);border:1px solid var(--border);border-radius:12px;box-shadow:0 6px 24px #2d374121}.project-shell{color:var(--text);background:var(--app-bg)!important}.hp-header{background:var(--surface-muted)!important;border-bottom:1px solid var(--border)}.project-brand{background:transparent;border:0;padding:0}.hp-logo{height:60px}.projects h1{color:var(--text);font-size:25px;font-weight:600}.project-card-header{background:#f1f3f5!important;border-bottom:1px solid var(--border)}.project-card-header a{color:var(--text);font-weight:600}.project-actions button{color:var(--text-secondary);border-color:#d5dbe2;background:#fff}.project-actions button:hover{background:#e6eaee}.project-card-meta{color:var(--text-secondary)}.hp-new-btn,.project-create button{border-radius:10px!important;color:#63501e!important;background:#f5dea0!important}@media (max-width:820px){.tk-sidebar{max-height:49vh;padding:10px 12px!important;gap:9px!important}.tk-sidebar-logo{max-width:104px!important;flex-basis:104px}.tk-sidebar h1{font-size:13px!important}.tk-items-section{min-height:90px}.tk-items-grid{min-height:70px}.tk-canvas-toolbar{padding:7px;gap:6px}.tk-new-item-footer{flex-wrap:wrap}.hp-logo{height:45px}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}}.tk-totals-panel{z-index:25!important}.tk-totals-toggle{z-index:26!important}.tk-item-color{width:24px;height:24px;padding:4px}.tk-totals-panel [title="Close totals"]{width:32px!important;min-width:32px;background:var(--surface-muted)!important}.tk-canvas-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0!important;background:#fafbfc}.tk-header-document-row,.tk-header-tool-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 12px;min-width:0}.tk-header-document-row{border-bottom:1px solid var(--border)}.tk-header-document-row .tk-sheet-toolbar{flex:0 1 240px;min-width:180px;background:var(--surface);border-radius:9px}.tk-header-document-row .tk-toolbar-group[aria-label="View tools"]{margin-left:auto;flex-wrap:wrap;flex-shrink:1;min-width:0;max-width:100%}.tk-header-document-row .tk-toolbar-group,.tk-header-tool-row .tk-toolbar-group{border:0;background:transparent;border-radius:0;padding:0;box-shadow:none;gap:2px}.tk-header-document-row .tk-toolbar-group[aria-label="Plan tools"],.tk-header-tool-row .tk-annotation-toolbar{padding-left:8px;border-left:1px solid var(--border)}.tk-canvas-toolbar .tk-toolbar-button{width:auto;min-width:32px;height:32px;padding:0 8px;gap:6px;font-size:12px;font-weight:500;white-space:nowrap;border:1px solid transparent}.tk-control-label{line-height:1.2}.tk-canvas-toolbar .tk-toolbar-icon{width:17px;height:17px;flex-shrink:0}.tk-header-tool-row .tk-toolbar-context{margin-left:auto;flex:0 1 170px;background:transparent;min-width:0}.tk-header-tool-row .tk-toolbar-context>span{max-width:100%;border:0;background:transparent;padding:0;font-weight:500;color:var(--text-secondary)}.tk-canvas-toolbar>strong{max-width:none;margin:0;padding:6px 12px;background:#fff7dc}.tk-header-document-row .tk-scale-popover{left:auto;right:0}@media (max-width:1200px){.tk-header-tool-row .tk-annotation-toolbar .tk-control-label{display:none}.tk-header-tool-row .tk-toolbar-context{flex-basis:120px}}@media (max-width:700px){.tk-header-document-row,.tk-header-tool-row{padding:7px;gap:6px}.tk-header-document-row .tk-sheet-toolbar{flex:1 1 100%}.tk-header-document-row .tk-toolbar-group[aria-label="Plan tools"]{border:0;padding-left:0}.tk-header-document-row .tk-toolbar-group[aria-label="View tools"]{gap:0}.tk-canvas-toolbar .tk-toolbar-button{padding:0 6px;gap:4px}.tk-header-document-row .tk-toolbar-group[aria-label="Plan tools"] .tk-toolbar-button{padding:0 5px}.tk-header-document-row .tk-scale-menu .tk-control-label{max-width:80px;overflow:hidden;text-overflow:ellipsis}.tk-header-tool-row .tk-annotation-toolbar{border:0;padding-left:0}.tk-header-tool-row .tk-toolbar-context{flex:1 1 100%}.tk-header-document-row .tk-scale-menu{position:static}.tk-header-document-row .tk-scale-popover{position:absolute;top:calc(100% + 6px);left:auto;right:8px;width:min(300px,calc(100vw - 24px))}}.tk-canvas-toolbar .tk-more-view-button{min-width:36px;background:#e9edf2;color:var(--text);border-color:#b8c1cc;flex-shrink:0}.tk-canvas-toolbar .tk-more-view-button:hover{background:#dce2e9;border-color:#8d99a8}.tk-canvas-toolbar .tk-more-view-button .tk-toolbar-icon{width:20px;height:20px}.tk-annotation-toolbar{box-shadow:none!important;border-color:var(--border)!important}.tk-projects-back{display:flex;align-items:center;gap:7px;align-self:flex-start;padding:4px 6px;margin-top:-5px;border:0;border-radius:7px;background:transparent;color:var(--text-secondary);font-size:12px;cursor:pointer;min-height:28px}.tk-projects-back:hover{background:#e6eaef;color:var(--text)}.tk-toolbar-section-title{font-size:11px;font-weight:600;color:var(--text-secondary);padding:0 5px;white-space:nowrap}.tk-sheet-popover{width:min(360px,calc(100vw - 48px));min-width:0}.tk-sheet-list-row{grid-template-columns:minmax(0,1fr) 28px 28px 28px;gap:2px}.tk-sheet-row-action{display:flex;align-items:center;justify-content:center;width:28px;height:30px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--text-secondary);cursor:pointer}.tk-sheet-row-action:hover:not(:disabled){background:#e0e6ed;color:var(--text)}.tk-sheet-row-action:disabled{opacity:.4;cursor:wait}.tk-sheet-row-action .tk-inline-icon{width:14px;height:14px}.tk-sheet-name-input{min-width:0;width:100%;height:30px;padding:4px 8px;font-size:12px;background:#fff;color:var(--text);border:1px solid #8c9dad;border-radius:6px}.tk-sheet-list-row{transition:background-color .15s ease-out}.tk-sheet-list-row.active{box-shadow:none;background:#e9eef3;color:var(--text);font-weight:600}.tk-sheet-list-row:hover{background:#f0f3f6}.tk-sheet-list-row.active:hover{background:#e2e8ef}.tk-sheet-list-row.has-takeoffs{background:#fffbed}.tk-sheet-list-row.has-takeoffs:hover{background:#fff5d9}.tk-sheet-list-row.has-takeoffs.active{background:#fff3cf;outline:1px solid #b5c1ce;outline-offset:-1px}.tk-sheet-list-row.has-takeoffs.active:hover{background:#ffefbf}.tk-sidebar-resizer:after{background:#8f9baa;opacity:0;width:2px;transition:opacity .15s ease-out,background-color .15s ease-out}.tk-sidebar-resizer:hover:after,.tk-sidebar-resizer:focus-visible:after{background:#8f9baa;opacity:1;width:2px;left:3px}.tk-sidebar-resizer:focus-visible{outline:2px solid #8f9baa}.tk-group-drop>.tk-group-heading{background:#e2e9f0;outline:1px solid #a6b4c2;outline-offset:-1px}.tk-group-drag:hover{background:#e9eef3;color:var(--text)}.tk-group-form button[type=submit]{background:#e9eef3;border-color:#c4ced8}.tk-sheet-picker input{border-color:#a6b4c2}.tk-item-sheet-row,.tk-group-heading,.tk-group-actions button,.tk-item-actions button,.tk-toolbar-button,.tk-sheet-nav-button,.tk-sheet-row-action,.tk-projects-back,.project-actions button,.project-view-toggle button{transition:background-color .15s ease-out,color .15s ease-out,border-color .15s ease-out}.tk-toolbar-button:active:not(:disabled),.tk-sheet-row-action:active:not(:disabled),.project-view-toggle button:active{background:#dce4ec}.tk-sheet-popover,.tk-view-menu-popover,.tk-scale-popover{animation:tk-menu-open .15s cubic-bezier(.16,1,.3,1);transform-origin:top left}.tk-totals-panel{transition:transform .22s cubic-bezier(.16,1,.3,1)!important}.project-list li{transition:border-color .15s ease-out,box-shadow .18s ease-out}.project-list li:hover{box-shadow:0 4px 14px #27313d12}@keyframes tk-menu-open{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.tk-view-menu-popover button.active{background:var(--selected);color:var(--text)}.tk-view-menu-popover button:hover:not(:disabled){background:#e2e8ef}.tk-menu-check{color:var(--text-secondary)}.tk-sheet-menu-heading{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;border-bottom:1px solid var(--border);font-size:11px;color:var(--text-secondary)}.tk-sheet-menu-heading button{border:0;background:transparent;border-radius:6px;padding:5px 7px;color:var(--text);font-size:11px;cursor:pointer;transition:background-color .15s ease-out}.tk-sheet-menu-heading button:hover:not(:disabled){background:#e9eef3}.tk-sheet-menu-heading button:disabled{opacity:.5;cursor:wait}.tk-header-document-row .tk-sheet-toolbar{flex:0 1 auto;width:max-content;min-width:min(240px,100%);max-width:100%;grid-template-columns:28px minmax(0,1fr) 28px}.tk-sheet-picker{height:auto;min-height:32px;padding:6px 8px;line-height:1.4}.tk-sheet-picker>span:first-child{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}.tk-sheet-popover{width:max(100%,360px);max-width:calc(100vw - 48px)}.tk-sheet-select-button{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.4}@media (max-width:700px){.tk-header-document-row .tk-sheet-toolbar{flex:1 1 100%;width:100%;min-width:0}}.tk-header-tool-row{align-items:flex-end}.tk-labeled-tools{display:flex;flex-direction:column;align-items:stretch;gap:2px;flex-shrink:0;max-width:100%;padding:5px 4px 3px;background:#edf1f4;border-radius:10px}.tk-labeled-tools>.tk-toolbar-section-title{padding:0 4px;line-height:14px;font-size:10px;text-align:center}.tk-header-tool-row .tk-annotation-toolbar{background:transparent;border:0;border-radius:0;padding:0}.tk-header-tool-row .tk-toolbar-context{min-height:32px}@media (max-width:700px){.tk-header-tool-row .tk-toolbar-context{min-height:0}}.tk-selection-help{padding:5px 12px 8px;font-size:11px;line-height:1.5;color:var(--text-secondary)}.tk-toolbar-context select,.tk-callout-edit{min-width:0;max-width:100%;border:1px solid var(--border);border-radius:8px;padding:5px 7px;font:inherit;background:var(--surface);color:var(--text)}.tk-callout-edit{white-space:nowrap;cursor:pointer}.tk-selection-help{height:32px;min-height:32px;white-space:nowrap;overflow-x:auto}@media (max-width:700px){.tk-selection-help{height:48px;min-height:48px;white-space:normal;overflow:auto}}.tk-area-edit-help{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 12px;color:var(--text-secondary);font-size:12px;background:var(--surface-muted);border-radius:8px}.tk-area-edit-help label{display:flex;align-items:center;gap:6px;color:var(--text)}.tk-area-edit-help select,.tk-area-edit-help button{min-height:30px;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:4px 8px;font-size:12px}.tk-area-edit-help button:disabled{opacity:.45;cursor:default}.tk-header-tool-row .tk-area-tools{border:0;padding:0}.tk-shape-resize-frame{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:6}.tk-shape-scale-grip{pointer-events:all;cursor:nwse-resize}.tk-shape-scale-grip:hover{fill:#e5edf4}.tk-shape-scale-grip:nth-of-type(2n){cursor:nesw-resize}.tk-inline-callout{position:absolute;z-index:9;transform-origin:top left;outline:1px solid}.tk-inline-callout textarea{display:block;box-sizing:border-box;width:100%;height:100%;margin:0;border:0;border-radius:0;padding:2px;resize:none;outline:none;background:transparent;color:inherit;font:500 12px/16px DM Sans,sans-serif;overflow:auto}.tk-inline-callout-actions{position:absolute;top:calc(100% + 6px);left:0;display:flex;gap:4px;white-space:nowrap}.tk-inline-callout-actions button{border:1px solid var(--border);border-radius:7px;padding:4px 9px;background:var(--surface);color:var(--text);font:500 11px DM Sans,sans-serif;cursor:pointer}.tk-inline-callout-actions button:focus-visible{outline:2px solid #39566e;outline-offset:2px}.tk-inline-callout-actions button:disabled{opacity:.5;cursor:default}.tk-tape-overlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:6}.tk-tape-status{font-variant-numeric:tabular-nums}.tk-tape-logo-icon{width:24px;height:20px;flex-shrink:0}.tk-angle-shortcut-hint{position:absolute;bottom:12px;left:12px;z-index:8;max-width:calc(100% - 24px);box-sizing:border-box;padding:6px 10px;border:1px solid var(--border);border-radius:8px;background:#fffffff5;color:var(--text-secondary);font:500 11px/1.4 DM Sans,sans-serif;pointer-events:none}.tk-header-tool-row .tk-toolbar-group[aria-label="Drawing tools"]{flex-wrap:wrap;flex-shrink:1;max-width:100%;min-width:0}.tk-sheet-menu{display:grid}.tk-sheet-menu>.tk-sheet-picker,.tk-sheet-size-reference{grid-area:1 / 1}.tk-sheet-size-reference{visibility:hidden;pointer-events:none;display:grid;align-items:center;grid-template-columns:minmax(0,1fr) 14px;min-height:32px;padding:6px 8px;border:1px solid transparent;font-size:11px;font-weight:700;line-height:1.4;min-width:0}.tk-sheet-name-stack{display:grid}.tk-sheet-name-stack>span{grid-area:1 / 1;white-space:normal;overflow-wrap:anywhere}.tk-project-heading h1,.tk-project-heading input{font-size:20px!important;line-height:1.35!important}.tk-project-heading h1>span{flex:1}.tk-project-heading .tk-project-name-edit{margin-left:auto;flex-shrink:0}.tk-header-tool-row .tk-toolbar-context:empty{display:none}.tk-header-tool-row .tk-detect-room-launcher{margin-left:auto}.tk-item-name-cell>span{flex:1;min-width:0}.tk-item-name-cell .tk-item-type{margin-left:auto;flex-shrink:0;padding:1px 4px;border:1px solid #d7dfe7;border-radius:4px;background:#f5f7f9;color:#526170;font-size:10px;font-weight:500;line-height:15px}.tk-item-actions button:disabled{opacity:.45;cursor:default}.tk-room-quantities{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:8;overflow:hidden}.tk-room-quantity{position:absolute;transform:translate(-50%,-50%);background:#fffffff5;border-radius:4px;box-shadow:0 2px 6px #18273a1f;padding:3px 5px;color:var(--text);font-size:10px;line-height:1.25;white-space:nowrap;pointer-events:none}.tk-room-quantity strong{display:block;margin-bottom:1px;font-weight:600;max-width:120px;overflow:hidden;text-overflow:ellipsis}.tk-room-quantity b{font-weight:600;font-variant-numeric:tabular-nums}.tk-sheet-menu-heading button{display:inline-flex;align-items:center;gap:5px}.tk-sheet-menu-heading button .tk-inline-icon{width:13px;height:13px}.tk-sheet-menu-heading button[aria-pressed=true]{background:#fff3cf}.tk-sheet-filter-empty{margin:0;padding:16px 10px;color:var(--text-secondary);font-size:12px}.tk-item-edit-details{flex-wrap:wrap;align-items:center;gap:10px 12px}.tk-item-edit-details input[type=number]{width:84px;min-height:32px;border:1px solid var(--border);border-radius:6px;padding:5px;background:var(--surface);color:var(--text);font:inherit}.tk-item-dimension-note{flex:1 0 100%;margin:0;font-size:12px;line-height:1.5;color:var(--text-secondary)}.tk-new-item-form .tk-item-dimension-note{margin:8px 0}.tk-header-undo{margin-right:6px}.tk-item-quantity{white-space:pre-line;line-height:1.2;text-align:right}
