.drapery-calculator-workbench{background:hsla(var(--bg-surface) / .95);border:1px solid hsla(var(--border-subtle) / .85);border-radius:var(--radius-xl, 16px);padding:clamp(1.25rem,3vw,2.5rem);box-shadow:var(--shadow-md, 0 10px 30px rgba(0, 0, 0, .2));margin:.75rem auto 2.5rem;position:relative;overflow:hidden}.workbench-container{max-width:1200px;margin:0 auto}.workbench-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;padding-bottom:.85rem;border-bottom:1px solid hsla(var(--border-subtle) / .6);margin-bottom:1rem}.workbench-eyebrow{display:inline-flex;align-items:center;gap:.6rem;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:hsl(var(--brand-primary))}.pulse-indicator{width:8px;height:8px;border-radius:50%;background:hsl(var(--brand-primary));box-shadow:0 0 10px hsl(var(--brand-primary))}.unit-select,.styled-select,.numeric-input,.room-input{min-height:48px;background:hsla(var(--bg-surface-elevated) / .9);border:1px solid hsla(var(--border-subtle) / .9);border-radius:var(--radius-md, 8px);color:hsl(var(--text-primary));font-family:inherit;font-size:.95rem;padding:.6rem .85rem;outline:none;transition:border-color .2s ease,box-shadow .2s ease}.unit-select:focus,.styled-select:focus,.numeric-input:focus,.room-input:focus{border-color:hsl(var(--brand-primary));box-shadow:0 0 0 3px hsla(var(--brand-primary) / .2)}.workbench-grid{display:grid;grid-template-columns:1fr;gap:1.75rem}@media(min-width:960px){.workbench-grid{grid-template-columns:1.15fr 1fr}}.inputs-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.25rem}.control-group,.input-group,.select-group{display:flex;flex-direction:column;gap:.4rem}.control-label{font-size:.85rem;font-weight:600;color:hsl(var(--text-secondary));display:flex;align-items:center;gap:.35rem}.hint-text{font-size:.75rem;color:hsl(var(--text-muted));font-weight:400}.numeric-input{width:100%;font-weight:700;font-size:1.1rem}.selectors-row{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.project-tag-row{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;padding-top:1rem;border-top:1px dashed hsla(var(--border-subtle) / .6)}.room-input-wrapper{flex:1 1 200px}.room-input{width:100%}.button-group{display:flex;gap:.5rem;flex-wrap:wrap}.btn-action-primary,.btn-action-secondary{min-height:48px;padding:0 1.25rem;border-radius:var(--radius-md, 8px);font-size:.88rem;font-weight:600;display:inline-flex;align-items:center;gap:.45rem;cursor:pointer;white-space:nowrap;transition:transform .15s ease,background .2s ease,border-color .2s ease}.btn-action-primary{background:hsl(var(--brand-primary));color:hsl(var(--text-on-primary, 220 25% 10%));border:1px solid hsl(var(--brand-primary))}.btn-action-primary:hover{filter:brightness(1.1);transform:translateY(-1px)}.btn-action-secondary{background:hsla(var(--bg-surface-elevated) / .8);color:hsl(var(--text-primary));border:1px solid hsla(var(--border-subtle) / .9)}.btn-action-secondary:hover{background:hsla(var(--bg-surface-elevated) / 1);border-color:hsl(var(--brand-primary))}.telemetry-card{background:hsla(var(--bg-surface-elevated) / .65);border:1px solid hsla(var(--border-subtle) / .85);border-radius:var(--radius-lg, 12px);padding:1.5rem;display:flex;flex-direction:column;justify-content:space-between}.telemetry-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:1px solid hsla(var(--border-subtle) / .5)}.telemetry-title{font-size:.88rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:hsl(var(--text-secondary))}.telemetry-sync-indicator{font-size:.72rem;font-weight:700;padding:.2rem .55rem;border-radius:var(--radius-full, 9999px);background:hsla(var(--brand-primary) / .15);color:hsl(var(--brand-primary));border:1px solid hsla(var(--brand-primary) / .3);white-space:nowrap}.specs-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1.25rem}.spec-cell{background:hsla(var(--bg-surface) / .7);border:1px solid hsla(var(--border-subtle) / .6);border-radius:var(--radius-md, 8px);padding:.85rem;display:flex;flex-direction:column;gap:.25rem}.primary-spec{border-color:hsla(var(--brand-primary) / .4);background:hsla(var(--brand-primary) / .05)}.accent-spec{border-color:hsla(var(--brand-secondary) / .4);background:hsla(var(--brand-secondary) / .05)}.spec-caption{font-size:.76rem;font-weight:600;color:hsl(var(--text-muted));text-transform:uppercase;letter-spacing:.04em}.spec-value-box .stat-value{font-size:1.35rem;font-weight:800;color:hsl(var(--text-primary));letter-spacing:-.02em;font-feature-settings:"tnum";display:block}.spec-subtext{font-size:.72rem;color:hsl(var(--text-muted))}.telemetry-footer{padding-top:.85rem;border-top:1px solid hsla(var(--border-subtle) / .5);font-size:.82rem;color:hsl(var(--text-secondary))}.cut-length-note strong{color:hsl(var(--brand-primary))}.calculator-toast{position:fixed;bottom:2rem;right:2rem;background:hsl(var(--text-primary));color:hsl(var(--bg-canvas));padding:.75rem 1.25rem;border-radius:var(--radius-md, 8px);font-size:.88rem;font-weight:600;box-shadow:0 10px 25px #0000004d;opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .25s ease,transform .25s ease;z-index:1000}.calculator-toast.visible{opacity:1;transform:translateY(0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.unit-segmented-group{display:inline-flex;background:hsla(var(--bg-surface-elevated) / .85);border:1px solid hsla(var(--border-subtle) / .9);border-radius:var(--radius-full, 9999px);padding:3px;gap:3px}.unit-seg-btn{min-height:40px;padding:0 1rem;border-radius:var(--radius-full, 9999px);border:none;background:transparent;color:hsl(var(--text-muted));font-size:.85rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .2s ease}.unit-seg-btn.active{background:hsl(var(--brand-primary));color:hsl(var(--text-on-primary, 220 25% 10%));box-shadow:0 2px 8px hsla(var(--brand-primary) / .3)}.instant-result-strip{display:flex;gap:.75rem;background:hsla(var(--brand-primary) / .08);border:1px solid hsla(var(--brand-primary) / .25);border-radius:var(--radius-md, 8px);padding:.65rem .85rem;margin-bottom:1.25rem;align-items:center;justify-content:space-around;flex-wrap:wrap}.instant-chip{display:flex;align-items:baseline;gap:.4rem}.chip-label{font-size:.75rem;font-weight:600;color:hsl(var(--text-muted));text-transform:uppercase;letter-spacing:.04em}.instant-chip .stat-value{font-size:1.15rem;font-weight:800;color:hsl(var(--brand-primary));font-feature-settings:"tnum"}.tactile-controls-stack{display:flex;flex-direction:column;gap:1.25rem;margin-bottom:1.5rem}.tactile-field-group{display:flex;flex-direction:column;gap:.5rem}.tactile-seg-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}@media(min-width:600px){.tactile-seg-grid{grid-template-columns:repeat(4,1fr)}.fullness-grid{grid-template-columns:repeat(3,1fr)}}.tactile-seg-btn{min-height:52px;background:hsla(var(--bg-surface-elevated) / .7);border:1px solid hsla(var(--border-subtle) / .8);border-radius:var(--radius-md, 8px);padding:.5rem .65rem;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;cursor:pointer;color:hsl(var(--text-primary));transition:all .18s ease}.tactile-seg-btn:hover{background:hsla(var(--bg-surface-elevated) / 1);border-color:hsl(var(--brand-primary))}.tactile-seg-btn.active{background:hsla(var(--brand-primary) / .12);border-color:hsl(var(--brand-primary));box-shadow:0 0 0 1px hsl(var(--brand-primary));color:hsl(var(--text-primary))}.tactile-seg-btn.active .seg-title{color:hsl(var(--brand-primary))}.seg-title{font-size:.85rem;font-weight:700;color:hsl(var(--text-primary));line-height:1.2}.seg-sub{font-size:.72rem;color:hsl(var(--text-muted));line-height:1.2;margin-top:2px}@media(max-width:768px){.drapery-calculator-workbench{padding:.65rem;margin:.25rem 0 1.5rem}.workbench-header{margin-bottom:.4rem;padding-bottom:.35rem;justify-content:center}.workbench-eyebrow{display:none}.unit-segmented-group{padding:2px}.unit-seg-btn{min-height:34px;padding:0 .75rem;font-size:.8rem}.inputs-row{margin-bottom:.4rem;gap:.5rem}.control-label{font-size:.75rem}.hint-text{display:none}.numeric-input{min-height:40px;font-size:1rem;padding:.4rem .6rem}.instant-result-strip{margin-bottom:.65rem;padding:.4rem .6rem}.chip-label{font-size:.7rem}.instant-chip .stat-value{font-size:1rem}}.header-actions-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.btn-print-sheet{min-height:40px;font-size:.82rem;padding:0 .85rem}.room-preset-chips{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;width:100%;margin-bottom:.5rem}.preset-label{font-size:.75rem;font-weight:700;color:hsl(var(--text-muted));text-transform:uppercase;letter-spacing:.04em}.room-preset-btn{background:hsla(var(--bg-surface-elevated) / .8);border:1px solid hsla(var(--border-subtle) / .9);border-radius:var(--radius-full, 9999px);color:hsl(var(--text-secondary));font-size:.76rem;font-weight:600;padding:.3rem .7rem;cursor:pointer;transition:all .15s ease}.room-preset-btn:hover{background:hsl(var(--brand-primary));color:hsl(var(--text-on-primary, 220 25% 10%));border-color:hsl(var(--brand-primary))}.multi-room-scratchpad-panel{margin-top:2rem;padding:1.25rem;background:hsla(var(--bg-surface-elevated) / .5);border:1px solid hsla(var(--border-subtle) / .8);border-radius:var(--radius-lg, 12px)}.scratchpad-header-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.65rem;border-bottom:1px solid hsla(var(--border-subtle) / .6)}.scratchpad-title-group{display:flex;align-items:center;gap:.5rem}.scratchpad-title{font-size:.92rem;font-weight:700;margin:0;color:hsl(var(--text-primary))}.scratchpad-badge{font-size:.72rem;font-weight:600;padding:.15rem .55rem;border-radius:var(--radius-full, 9999px);background:hsla(var(--brand-primary) / .15);color:hsl(var(--brand-primary))}.btn-clear-all{background:transparent;border:none;font-size:.75rem;color:hsl(var(--text-muted));cursor:pointer}.btn-clear-all:hover{color:#ef4444}.saved-rooms-grid{display:grid;grid-template-columns:1fr;gap:.75rem}@media(min-width:640px){.saved-rooms-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}.saved-room-card{background:hsla(var(--bg-surface) / .9);border:1px solid hsla(var(--border-subtle) / .8);border-radius:var(--radius-md, 8px);padding:.85rem;display:flex;flex-direction:column;gap:.65rem}.room-card-head{display:flex;justify-content:space-between;align-items:baseline}.saved-room-title{font-weight:700;font-size:.88rem;color:hsl(var(--text-primary))}.saved-room-dims{font-size:.75rem;color:hsl(var(--text-muted));font-feature-settings:"tnum"}.room-specs-inline{display:flex;flex-wrap:wrap;gap:.35rem}.spec-pill{font-size:.72rem;background:hsla(var(--bg-surface-elevated) / .8);padding:.2rem .45rem;border-radius:var(--radius-sm, 4px);color:hsl(var(--text-secondary))}.btn-delete-room{align-self:flex-end;background:transparent;border:1px solid hsla(var(--border-subtle) / .8);border-radius:var(--radius-sm, 4px);color:hsl(var(--text-muted));font-size:.72rem;padding:.25rem .5rem;display:inline-flex;align-items:center;gap:.25rem;cursor:pointer}.btn-delete-room:hover{background:#ef444415;border-color:#ef4444;color:#ef4444}.empty-scratchpad-text{font-size:.84rem;color:hsl(var(--text-muted));text-align:center;padding:1.5rem 0;margin:0}@media print{body *{visibility:hidden}#drapery-calculator,#drapery-calculator *{visibility:visible}#drapery-calculator{position:absolute;left:0;top:0;width:100%;margin:0;padding:1rem;box-shadow:none;border:none;background:#fff!important;color:#000!important}.header-actions-row,.button-group,.room-preset-chips,.room-input-wrapper,.btn-action-primary,.btn-action-secondary,.calculator-toast{display:none!important}}
