.keyboard-hud{position:fixed;bottom:0;left:0;right:0;height:36px;background:#0f1117eb;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 16px;font-family:var(--font-mono);font-size:.75rem;z-index:200;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.keyboard-hud-left{color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.keyboard-hud-right{display:flex;gap:12px;align-items:center;flex-shrink:0;overflow-x:auto}.keyboard-hud-binding{display:flex;align-items:center;gap:4px;white-space:nowrap}.keyboard-hud-binding kbd{display:inline-block;padding:1px 6px;border-radius:3px;background:var(--surface);border:1px solid var(--border);color:var(--primary);font-family:var(--font-mono);font-size:.7rem;font-weight:600;line-height:1.4}.keyboard-hud-binding span{color:var(--text-muted)}.keyboard-hud-muted{color:var(--text-muted);font-style:italic}*{box-sizing:border-box;margin:0;padding:0}:root{--bg: #0f1117;--surface: #1a1d27;--surface-hover: #222632;--border: #2e3345;--text: #e4e7ef;--text-muted: #8b90a0;--primary: #6c8cff;--primary-hover: #5a7af0;--danger: #ff5c5c;--danger-hover: #e04848;--success: #4cdb8a;--warning: #ffb84d;--radius: 8px;--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono: "SF Mono", "Cascadia Code", "Consolas", monospace}*{scrollbar-width:thin;scrollbar-color:var(--border) transparent}*::-webkit-scrollbar{width:6px;height:6px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}*::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}html,body{font-family:var(--font);background:var(--bg);color:var(--text);min-height:100vh;font-size:16px;line-height:1.5}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}button{font-family:var(--font);cursor:pointer;border:none;border-radius:var(--radius);padding:10px 20px;font-size:1rem;font-weight:500;transition:background .15s}button.primary{background:var(--primary);color:#fff}button.primary:hover{background:var(--primary-hover)}button.danger{background:var(--danger);color:#fff}button.danger:hover{background:var(--danger-hover)}button.secondary{background:var(--surface);color:var(--text);border:1px solid var(--border)}button.secondary:hover{background:var(--surface-hover)}button:disabled{opacity:.5;cursor:not-allowed}input,select,textarea{font-family:var(--font);font-size:1rem;padding:10px 14px;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:var(--text);outline:none;transition:border-color .15s}input:focus,select:focus,textarea:focus{border-color:var(--primary)}textarea{resize:vertical;line-height:1.5}.layout{max-width:960px;margin:0 auto;padding:16px 16px 52px}.layout-header{display:flex;align-items:center;justify-content:space-between;padding:12px 0;margin-bottom:24px;border-bottom:1px solid var(--border)}.layout-header h1{font-size:1.5rem;font-weight:700}.layout-header h1 a{color:var(--text)}.layout-header h1 a:hover{text-decoration:none;color:var(--primary)}.header-user{display:flex;align-items:center;gap:12px}.header-username{color:var(--text-muted);font-size:.9rem}.header-admin-link{font-size:.85rem;color:var(--primary)}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:16px;flex-wrap:wrap}.page-header h2{font-size:1.3rem;font-weight:600}.spot-sheet-desktop tr[style*="cursor: pointer"]:hover td,.spot-card[style*="cursor: pointer"]:hover{background:var(--surface-hover)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;transition:border-color .15s}.card:hover{border-color:var(--primary)}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--border)}th{color:var(--text-muted);font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}tr:hover td{background:var(--surface-hover)}.height{font-family:var(--font-mono);font-size:1.2rem;font-weight:600;color:var(--success)}.height-na{color:var(--text-muted);font-style:italic}.form-row{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:16px}.form-group{display:flex;flex-direction:column;gap:4px}.form-group label{font-size:.85rem;color:var(--text-muted);font-weight:500}.checkbox-label{display:flex;align-items:center;gap:6px;font-size:.9rem;cursor:pointer;color:var(--text)}.checkbox-label input[type=checkbox]{width:18px;height:18px;padding:0;cursor:pointer;accent-color:var(--primary);outline:none}.checkbox-label input[type=checkbox]:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.checkbox-label:has(input:focus-visible){color:var(--primary)}.toggle-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;-webkit-user-select:none;user-select:none}.toggle-switch-track{position:relative;width:44px;height:24px;background:var(--border);border-radius:12px;transition:background .2s;flex-shrink:0}.toggle-switch-track:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;background:var(--text-muted);border-radius:50%;transition:transform .2s,background .2s}.toggle-switch input{position:absolute;opacity:0;width:0;height:0;pointer-events:none}.toggle-switch input:checked+.toggle-switch-track{background:var(--primary)}.toggle-switch input:checked+.toggle-switch-track:after{transform:translate(20px);background:#fff}.toggle-switch input:focus-visible+.toggle-switch-track{outline:2px solid var(--primary);outline-offset:2px}.status-badge{display:inline-block;font-size:.7rem;font-weight:600;padding:2px 6px;border-radius:4px;margin-right:6px;vertical-align:middle;text-transform:uppercase;letter-spacing:.03em}.badge-auto{background:#6c8cff26;color:#6c8cff}.badge-dead{background:#8b90a033;color:#8b90a0}.badge-muled{background:#ffb84d33;color:var(--warning)}.badge-in-wt{background:#4cdb8a33;color:var(--success)}.badge-out-wt{background:#ff5c5c26;color:var(--danger)}.badge-chain{background:#ff9f4326;color:#ff9f43}.badge-manual{background:#64c8dc33;color:#64c8dc}.dropdown{position:relative;display:inline-block}.dropdown-toggle{display:flex;align-items:center;justify-content:center;width:40px;height:40px;font-size:1.4rem;line-height:1;padding:0}.dropdown-menu{position:absolute;right:0;top:100%;margin-top:4px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:4px 0;min-width:160px;z-index:50;box-shadow:0 4px 12px #0000004d}@media(max-width:600px){.dropdown-menu{right:auto;left:0}}.dropdown-menu button{display:block;width:100%;text-align:left;padding:8px 16px;font-size:.9rem;border-radius:0;background:transparent;color:var(--text);border:none}.dropdown-menu button:hover{background:var(--surface-hover)}.role-badge{display:inline-block;font-size:.75rem;font-weight:600;padding:2px 8px;border-radius:4px;text-transform:uppercase}.role-admin{background:#6c8cff33;color:var(--primary)}.role-user{background:#8b90a033;color:var(--text-muted)}.history-list{display:flex;flex-direction:column;gap:8px}.history-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 16px;display:flex;justify-content:space-between;align-items:center;gap:16px}.history-item.current{border-color:var(--primary)}.history-meta{color:var(--text-muted);font-size:.85rem}.reverted-badge{font-size:.75rem;background:var(--warning);color:#000;padding:2px 8px;border-radius:4px;font-weight:600}.breadcrumb{font-size:.9rem;color:var(--text-muted);margin-bottom:16px}.breadcrumb a{color:var(--text-muted)}.breadcrumb a:hover{color:var(--primary)}.loading{text-align:center;padding:40px;color:var(--text-muted)}.error{background:#ff5c5c1a;border:1px solid var(--danger);border-radius:var(--radius);padding:12px 16px;color:var(--danger);margin-bottom:16px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:100}.modal{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;max-width:480px;width:90%;max-height:85vh;overflow-y:auto}.modal h3{margin-bottom:12px}.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:20px}.search-bar{display:flex;align-items:center;gap:8px;margin-bottom:16px}.search-bar input{flex:1;padding:8px 14px}.search-bar kbd{display:inline-block;padding:1px 6px;border-radius:3px;background:var(--surface);border:1px solid var(--border);color:var(--text-muted);font-family:var(--font-mono);font-size:.7rem}.card.selected{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}tr.selected td{background:var(--surface-hover);box-shadow:inset 3px 0 0 var(--primary)}.help-modal{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;max-width:640px;width:90%;max-height:80vh;overflow-y:auto}.help-modal h2{font-size:1.3rem}.help-sections{display:grid;grid-template-columns:1fr 1fr;gap:20px}.help-section h3{font-size:.9rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px;padding-bottom:4px;border-bottom:1px solid var(--border)}.help-bindings{display:flex;flex-direction:column;gap:4px}.help-binding-row{display:flex;align-items:center;gap:10px;font-size:.9rem}.help-binding-row kbd{display:inline-block;min-width:48px;text-align:center;padding:2px 8px;border-radius:3px;background:var(--bg);border:1px solid var(--border);color:var(--primary);font-family:var(--font-mono);font-size:.75rem;font-weight:600;flex-shrink:0}.help-binding-row span{color:var(--text)}.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:32px;width:100%;max-width:400px}.login-card h1{font-size:2rem;font-weight:700;color:var(--primary);margin-bottom:4px}.login-card input{width:100%}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}.dashboard-card{display:flex;align-items:center;gap:16px;padding:20px;text-decoration:none!important;color:var(--text)}.dashboard-card:hover{border-color:var(--primary)}.dashboard-card-icon{font-size:2rem;flex-shrink:0}.dashboard-card-content h3{font-size:1.1rem;font-weight:600;margin-bottom:2px}.dashboard-card-content p{font-size:.85rem;color:var(--text-muted)}.theater-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.theater-info-item{display:flex;flex-direction:column;gap:2px}.theater-info-label{font-size:.8rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em}.theater-info-value{font-family:var(--font-mono);font-size:1.1rem;font-weight:600;color:var(--success)}.notes-editor{display:flex;flex-direction:column;gap:8px}.notes-toolbar{display:flex;align-items:center;gap:2px;padding:6px 8px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius) var(--radius) 0 0}.notes-toolbar button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:transparent;color:var(--text-muted);border-radius:4px;transition:background .15s,color .15s}.notes-toolbar button:hover{background:var(--surface-hover);color:var(--text)}.notes-toolbar button.active{background:var(--primary);color:#fff}.notes-toolbar-sep{width:1px;height:20px;background:var(--border);margin:0 4px}.notes-content{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.notes-toolbar+.notes-content{border-top:none;border-radius:0 0 var(--radius) var(--radius)}.notes-content .tiptap{width:100%;min-height:400px;padding:16px;outline:none;color:var(--text);font-family:var(--font);font-size:1rem;line-height:1.6}.notes-content .tiptap p{margin:0 0 .5em}.notes-content .tiptap h1{font-size:1.5rem;font-weight:600;margin:.8em 0 .4em}.notes-content .tiptap h2{font-size:1.25rem;font-weight:600;margin:.6em 0 .3em}.notes-content .tiptap ul,.notes-content .tiptap ol{padding-left:1.5em;margin:.4em 0}.notes-content .tiptap li{margin:.15em 0}.notes-content .tiptap li p{margin:0}.notes-content .tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--text-muted);pointer-events:none;float:left;height:0}.notes-status{font-size:.85rem;text-align:right}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.file-card{display:flex;flex-direction:column;gap:8px}.file-preview{height:140px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:4px;background:var(--bg)}.file-preview img{max-width:100%;max-height:100%;object-fit:contain}.file-pdf-icon{display:flex;align-items:center;justify-content:center;width:80px;height:100px;background:#ff5c5c1a;border:2px solid var(--danger);border-radius:8px;font-weight:700;font-size:1.2rem;color:var(--danger);text-decoration:none!important}.file-info{flex:1}.file-name{font-size:.85rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-meta{font-size:.75rem;color:var(--text-muted)}.limits-inline{margin-top:4px}.limits-strip{display:flex;align-items:center;gap:16px;font-size:.8rem;color:var(--text-muted)}.limits-label{font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);flex-shrink:0}.limits-item{white-space:nowrap}.limit-ok{color:var(--success);font-weight:700}.limit-no{color:var(--danger);font-weight:700}.limit-val{font-family:var(--font-mono);color:var(--text);font-weight:500}.add-set-btn{display:flex;align-items:center;justify-content:center;width:100%;margin-top:4px;padding:6px 0;font-size:1.2rem;font-weight:300;color:var(--text-muted);background:transparent;border:1px dashed var(--border);border-radius:var(--radius);cursor:pointer;transition:all .15s}.add-set-btn:hover{color:var(--primary);border-color:var(--primary);background:#6c8cff0d}.add-set-form{margin-top:4px;margin-bottom:0}.set-badges{display:flex;gap:4px;margin-bottom:4px}.set-badges .status-badge{font-size:.65rem;padding:1px 6px;margin-right:0}.set-title-row{display:flex;align-items:baseline;gap:10px}.set-title-number{font-size:1.4rem;font-weight:700;font-family:var(--font-mono);color:var(--text-muted);flex-shrink:0}.set-title-name{font-size:1.3rem;font-weight:600}.set-title-name.editable{cursor:pointer;border-bottom:1px dashed var(--border);padding-bottom:1px}.set-title-name.editable:hover{color:var(--primary);border-color:var(--primary)}.set-title-input{font-size:1.3rem;font-weight:600;padding:2px 8px;border:1px solid var(--primary);background:var(--bg);color:var(--text);border-radius:var(--radius);flex:1;min-width:0}.set-name-cell{line-height:1.3}.set-name-top{display:flex;align-items:center;gap:4px}.set-name-link{font-size:1rem;font-weight:500;margin-left:4px}.set-name-sub{display:flex;align-items:center;gap:4px;margin-top:2px}.set-weight{font-size:.8rem;color:var(--text-muted);white-space:nowrap}.row-badge{display:inline-block;font-size:.6rem;font-weight:600;padding:1px 5px;border-radius:3px;text-transform:uppercase;letter-spacing:.03em;line-height:1.4;flex-shrink:0}.set-number{font-family:var(--font-mono);font-weight:600;font-size:.9rem;color:var(--text-muted);white-space:nowrap;padding-right:4px}.fuzzy-finder{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:90%;max-width:480px;max-height:70vh;display:flex;flex-direction:column;box-shadow:0 8px 32px #00000080;overflow:hidden}.fuzzy-title{padding:12px 16px 0;font-size:.85rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.fuzzy-input{margin:12px 16px;padding:10px 14px;font-size:1rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);outline:none}.fuzzy-input:focus{border-color:var(--primary)}.fuzzy-results{flex:1;overflow-y:auto;padding:0 8px 8px;max-height:50vh}.fuzzy-item{display:flex;align-items:center;gap:12px;padding:8px 12px;border-radius:6px;cursor:pointer;transition:background .1s}.fuzzy-item:hover,.fuzzy-item.active{background:var(--surface-hover)}.fuzzy-item.active{box-shadow:inset 3px 0 0 var(--primary)}.fuzzy-item-label{font-weight:500;color:var(--text)}.fuzzy-item-sub{font-size:.85rem;color:var(--text-muted)}.fuzzy-item mark{background:transparent;color:var(--primary);font-weight:700}.fuzzy-empty{padding:20px 16px;text-align:center;color:var(--text-muted);font-size:.9rem}.fuzzy-hint{padding:8px 16px;border-top:1px solid var(--border);font-size:.75rem;color:var(--text-muted);display:flex;align-items:center;gap:8px}.fuzzy-hint kbd{display:inline-block;padding:1px 5px;border-radius:3px;background:var(--bg);border:1px solid var(--border);color:var(--text-muted);font-family:var(--font-mono);font-size:.7rem}input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.spot-sheet-plot-container{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;width:100vw;max-width:1600px;position:relative;left:50%;transform:translate(-50%);box-sizing:border-box;min-height:300px}.spot-sheet-plot-compact{height:calc(100vh - 37px)}@media(max-width:768px){.spot-sheet-plot-compact{height:75vh;min-height:200px;touch-action:pan-y}.plot-page .plot-page-breadcrumb,.plot-page .plot-page-header{display:none}}.plot-resize-handle{position:absolute;top:0;left:0;right:0;height:6px;cursor:ns-resize;z-index:10;background:transparent}.plot-resize-handle:hover,.plot-resize-handle:active{background:var(--primary);opacity:.5}.point-info-box{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 16px;margin-bottom:12px}.point-info-row{display:flex;align-items:center;gap:12px;margin-bottom:8px}.point-info-label{font-size:.95rem}.point-info-details{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:.85rem}.point-info-field{display:flex;align-items:flex-start;gap:6px}.point-info-field-label{color:var(--text-muted);font-size:.8rem;white-space:nowrap}.spot-sheet-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}.spot-sheet-legend-item{display:flex;align-items:center;gap:6px;font-size:.8rem;color:var(--text-muted)}.spot-sheet-legend-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.spot-sheet-legend-item.clickable{cursor:pointer;transition:opacity .15s}.spot-sheet-legend-item.clickable:hover{opacity:.8!important}.filter-bar{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;border:1px solid var(--border);border-radius:8px;padding:8px 12px}.filter-bar-header{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:.85rem;font-weight:600;color:var(--text-muted);-webkit-user-select:none;user-select:none}.filter-bar-header:hover{color:var(--text)}.filter-bar-caret{font-size:.75rem;width:12px}.filter-bar-summary{font-weight:400;font-size:.75rem;color:var(--text-muted);opacity:.7;margin-left:4px}.filter-section{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.filter-section-label{font-size:.75rem;color:var(--text-muted);min-width:48px}.filter-section-actions{display:inline-flex;gap:4px;margin-left:4px}.filter-action-btn{background:none;border:none;color:var(--text-muted);font-size:.7rem;cursor:pointer;padding:2px 6px;border-radius:4px;opacity:.7}.filter-action-btn:hover{opacity:1;color:var(--text);background:var(--border)}tr.editing{background:var(--primary-bg, rgba(108, 140, 255, .08))!important}tr.inline-edit-row>td{background:transparent!important}tr.inline-edit-row .card{margin:0;border-radius:0 0 8px 8px;border-top:1px solid var(--border)}.filter-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;font-size:.78rem;cursor:pointer;border:1px solid var(--border);background:transparent;color:var(--text);transition:opacity .15s,border-color .15s;-webkit-user-select:none;user-select:none}.filter-chip:hover{border-color:var(--text-muted)}.filter-chip.active{border-color:var(--primary)}.filter-chip.dimmed{opacity:.35}.filter-chip-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.rp-badge{display:inline-flex;align-items:center;flex-wrap:wrap;gap:2px 4px;font-size:.78rem;font-weight:600;padding:3px 8px;border-radius:6px}.rp-badge-label{display:inline-flex;align-items:center;gap:5px;font-size:.85rem;font-weight:600;padding:3px 10px;border-radius:6px;white-space:nowrap}.rp-badge-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.rp-badge-sub{font-weight:500;opacity:.7;font-size:.72rem;width:100%}.direction-toggle{display:inline-flex;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.direction-toggle button{padding:6px 12px;font-size:.85rem;font-weight:600;border-radius:0;background:var(--surface);color:var(--text-muted);border:none;border-right:1px solid var(--border)}.direction-toggle button:last-child{border-right:none}.direction-toggle button.active{background:var(--primary);color:#fff}.dxf-drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:60px 24px;border:2px dashed var(--border);border-radius:var(--radius);background:var(--surface);cursor:pointer;transition:border-color .15s,background .15s}.dxf-drop-zone:hover,.dxf-drop-zone.drag-over{border-color:var(--primary);background:#6c8cff0d}.dxf-drop-icon{font-size:3rem;color:var(--text-muted)}.dxf-drop-title{font-size:1.2rem;font-weight:600}.dxf-drop-hint{font-size:.9rem;color:var(--text-muted)}.dxf-viewer-wrap{position:relative;width:100%;height:100%}.dxf-viewer-wrap svg{background:var(--bg)}.dxf-controls{position:absolute;bottom:12px;right:12px;display:flex;gap:6px}.dxf-controls button{padding:6px 14px;font-size:.85rem}.dxf-controls button.active{background:var(--primary);color:#fff;border-color:var(--primary)}.dxf-coords{position:absolute;bottom:12px;left:12px;font-family:var(--font-mono);font-size:.8rem;color:var(--text);background:#0f1117bf;padding:4px 10px;border-radius:4px;pointer-events:none;white-space:nowrap}.dxf-info-bar{position:absolute;top:0;left:0;right:0;display:flex;flex-direction:column;padding:8px 16px;background:#111318eb;border-bottom:1px solid var(--border);font-size:.85rem;pointer-events:none;z-index:15}.dxf-info-row{display:flex;align-items:center;gap:20px}.dxf-info-picks{display:flex;gap:20px;flex-shrink:0}.dxf-info-note-row{color:var(--text-muted);font-style:italic;font-size:.82rem;margin-top:4px}.dxf-info-set{color:var(--text-muted);font-family:var(--font-mono);font-weight:600;min-width:20px}.dxf-info-label{font-size:1rem;font-weight:700}.dxf-info-type{font-weight:600}.dxf-info-sub{display:block;font-size:.75rem;font-weight:500;opacity:.7}.dxf-info-field{display:flex;flex-direction:column;gap:1px;color:var(--success);font-family:var(--font-mono);font-size:.82rem}.dxf-info-dim{font-family:var(--font);font-size:.7rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.dxf-info-note{color:var(--text-muted);font-style:italic}@media(max-width:768px){.dxf-info-row{flex-wrap:wrap;gap:8px 16px}.dxf-info-picks{width:100%;gap:16px}}.dxf-pick-popup{position:absolute;pointer-events:none;z-index:20;background:#111318eb;border:1px solid var(--border);border-radius:var(--radius);padding:4px 10px;font-family:var(--font-mono);font-size:.82rem;color:var(--success);white-space:nowrap;box-shadow:0 4px 12px #0006;display:flex;gap:12px}.dxf-pick-pl{color:var(--text-muted)}.dxf-layers-panel{position:absolute;top:8px;left:8px;bottom:8px;width:220px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);z-index:20;display:flex;flex-direction:column;box-shadow:0 4px 12px #0000004d}.dxf-layers-header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--border);flex-shrink:0}.dxf-layers-list{overflow-y:auto;padding:8px;flex:1}.dxf-layer-item{display:flex;align-items:center;gap:8px;padding:4px 6px;border-radius:4px;cursor:pointer;font-size:.85rem}.dxf-layer-item:hover{background:var(--surface-hover)}.dxf-layer-item input[type=checkbox]{width:16px;height:16px;padding:0;flex-shrink:0;accent-color:var(--primary)}.dxf-layer-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.dxf-layer-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dxf-layer-name.muted{color:var(--text-muted);text-decoration:line-through}.dxf-layer-section{margin-bottom:4px}.dxf-layer-section-header{display:flex;align-items:center;gap:6px;padding:5px 6px;border-radius:4px;cursor:pointer;font-size:.85rem;font-weight:600;color:var(--text);background:#ffffff08;-webkit-user-select:none;user-select:none}.dxf-layer-section-header:hover{background:var(--surface-hover)}.dxf-layer-section-caret{width:12px;text-align:center;flex-shrink:0;color:var(--text-muted)}.dxf-layer-section-actions{display:flex;gap:4px;padding:2px 6px 2px 24px}.dxf-layer-section-actions button{padding:1px 8px;font-size:.75rem;background:transparent;color:var(--text-muted);border:1px solid var(--border);border-radius:3px}.dxf-layer-section-actions button:hover{color:var(--text);border-color:var(--text-muted);background:var(--surface-hover)}.dxf-layer-section .dxf-layer-item{padding-left:18px}.dxf-tabs{display:flex;gap:2px;margin-bottom:4px}.dxf-tab{padding:6px 16px;font-size:.85rem;background:var(--surface);border:1px solid var(--border);border-bottom:none;border-radius:var(--radius) var(--radius) 0 0;color:var(--text-muted);cursor:pointer;transition:background .15s,color .15s}.dxf-tab:hover{background:var(--surface-hover);color:var(--text)}.dxf-tab.active{background:var(--bg);color:var(--text);border-bottom:2px solid var(--primary)}.dxf-drop-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#6c8cff1a;border:2px dashed var(--primary);border-radius:var(--radius);color:var(--primary);font-size:1.1rem;font-weight:600;z-index:30;pointer-events:none}@media(max-width:600px){.layout{padding:12px}.page-header{flex-direction:column;align-items:stretch}.form-row{flex-wrap:wrap}th,td{padding:10px 8px;white-space:nowrap}td.note-cell{white-space:normal;min-width:120px}.help-sections,.dashboard-grid{grid-template-columns:1fr}.header-user{gap:8px}}.show-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;vertical-align:middle}.badge-sample{background:#6c8cff26;color:var(--primary)}.badge-shared-read{background:#ffb84d26;color:var(--warning)}.badge-shared-write{background:#4cdb8a26;color:var(--success)}.trig-tabs{display:flex;gap:2px;margin-bottom:20px}.trig-tab{padding:8px 20px;font-size:.9rem;background:var(--surface);border:1px solid var(--border);border-bottom:none;border-radius:var(--radius) var(--radius) 0 0;color:var(--text-muted);cursor:pointer;transition:background .15s,color .15s}.trig-tab:hover{background:var(--surface-hover);color:var(--text)}.trig-tab.active{background:var(--surface);color:var(--text);border-bottom:2px solid var(--primary)}.trig-desc{color:var(--text-muted);font-size:.9rem;margin-bottom:16px}.trig-form{margin-bottom:20px}.trig-results-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.trig-result-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.trig-result-label{font-size:.8rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.trig-result-value{font-family:var(--font-mono);font-size:1.3rem;font-weight:600;color:var(--success)}.trig-result-unit{font-size:.9rem;color:var(--text-muted);font-weight:400}.bridle-calc-layout{display:flex;gap:24px;align-items:flex-start}.bridle-calc-inputs{flex:1;min-width:0}.bridle-svg{flex:0 0 400px;max-width:400px}.bridle-svg-el{width:100%;height:auto;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius)}@media(max-width:700px){.bridle-calc-layout{flex-direction:column}.bridle-svg{flex:none;max-width:100%;width:100%}}.book-cover{max-width:100%;max-height:140px;object-fit:contain;border-radius:4px}canvas.book-cover{display:block}.book-cover-loading{display:flex;align-items:center;justify-content:center;width:80px;height:100px;color:var(--text-muted);font-size:.8rem}@media(max-width:600px){.trig-results-grid{grid-template-columns:1fr 1fr}}.layout-page{max-width:600px;margin:0 auto;padding-bottom:32px}.layout-progress{margin-bottom:12px}.layout-progress-bar{height:8px;background:var(--border);border-radius:4px;overflow:hidden;margin-bottom:6px}.layout-progress-fill{height:100%;background:var(--success);border-radius:4px;transition:width .3s ease}.layout-progress-text{font-size:.85rem;color:var(--text-muted)}.layout-toggle{display:flex;align-items:center;gap:8px;font-size:.9rem;color:var(--text-muted);margin-bottom:16px;cursor:pointer;-webkit-user-select:none;user-select:none}.layout-toggle input{width:18px;height:18px}.layout-card{margin-bottom:12px;padding:12px 16px;overflow:hidden}.layout-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.layout-card-header strong{font-size:1rem}.layout-type-badge{display:inline-block;font-size:.7rem;padding:2px 8px;border-radius:10px;background:var(--border);color:var(--text-muted);margin-left:8px;vertical-align:middle}.layout-dc-toggle{display:inline-flex;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border)}.layout-dc-btn{padding:6px 16px;font-size:.85rem;background:var(--surface);color:var(--text-muted);border-radius:0;transition:background .15s,color .15s}.layout-dc-btn.active{background:var(--primary);color:#fff}.layout-smart-path-index{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--primary);color:#fff;font-size:.75rem;font-weight:700;flex-shrink:0}.layout-card-count{font-size:.85rem;color:var(--text-muted);font-variant-numeric:tabular-nums}.layout-pick-col-headers{display:flex;gap:10px;padding:6px 4px 2px 38px;border-top:1px solid var(--border)}.layout-pick-col-label{font-size:.75rem;color:var(--text-muted);flex:1}.layout-pick-row{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 4px;border-top:1px solid var(--border);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:pan-y;transition:transform .2s ease,opacity .2s ease,background .2s ease}.layout-pick-row:active{background:var(--surface-hover)}.layout-pick-row.laid-out{opacity:.5}.layout-pick-check{font-size:1.2rem;flex-shrink:0;width:28px;text-align:center}.layout-pick-label{font-weight:500;flex-shrink:0}.layout-pick-pos{color:var(--text-muted);font-size:.85rem;white-space:nowrap;flex:1}.spot-sheet-mobile{display:none}.spot-card{background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--primary);border-radius:var(--radius);padding:12px 14px;margin-bottom:10px}.spot-card-title{font-weight:700;font-size:1rem;margin-bottom:6px}.spot-card-badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.spot-card-columns{display:grid;grid-template-columns:1fr 1fr;gap:6px 16px}.spot-card-col{display:flex;flex-direction:column;gap:2px;font-size:.9rem;line-height:1.4}.spot-card-row{display:flex;gap:10px;font-size:.9rem;line-height:1.4}.spot-card-label{color:var(--text-muted);font-size:.8rem;flex-shrink:0}.spot-card-value{color:var(--text)}.spot-card-build-motors{margin-top:10px;padding-top:10px;border-top:1px dashed rgba(255,159,67,.4)}.spot-card-build-header{color:#ff9f43;font-weight:600;font-size:.85rem;margin-bottom:6px}.spot-card-note{margin-top:8px;font-size:.85rem;color:var(--text-muted);font-style:italic}.spot-card-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px;padding-top:8px;border-top:1px solid var(--border)}@media(max-width:768px){.spot-sheet-desktop{display:none}.spot-sheet-mobile{display:block}.form-row{gap:8px;margin-bottom:10px}.form-group{gap:2px}.direction-toggle button{min-height:40px;min-width:40px}.form-group input,.form-group select{min-height:40px}}.trims-mobile{display:none}.trim-card{display:block;margin-bottom:8px;padding:12px}.trim-card-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.trim-card-number{color:var(--text-muted);font-weight:600;font-size:.85rem}.trim-card-trims{display:flex;gap:16px;flex-wrap:wrap}.trim-card-col{display:flex;flex-direction:column;gap:2px;min-width:50px}.trim-card-label{font-size:.7rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}.winch-mobile{display:none}.winch-card{margin-bottom:8px;padding:12px}.winch-card-header{display:flex;justify-content:space-between;align-items:center;gap:8px}.winch-card-limits{display:flex;gap:16px;flex-wrap:wrap;margin-top:8px}.winch-card-limit{display:flex;flex-direction:column;gap:2px;min-width:50px}.winch-card-limit-label{font-size:.7rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}@media(max-width:768px){.trims-desktop{display:none}.trims-mobile{display:block}.winch-desktop{display:none}.winch-mobile{display:block}}
