/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:"Inter", "Segoe UI", Arial, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.relative{position:relative}.static{position:static}.sticky{position:sticky}.contents{display:contents}.grid{display:grid}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.rounded{border-radius:.25rem}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{font-family:var(--font-sans);color:var(--ink);background:var(--page);font-synthesis:none;-webkit-font-smoothing:antialiased;font-size:16px;font-weight:400}*{box-sizing:border-box}body{margin:0}button,a,input{font:inherit;-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;transition:background .15s,color .15s,border-color .15s;display:inline-flex}button:disabled{opacity:.35;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}a{color:inherit;text-decoration:none}input{outline:none;min-width:0}input:focus{box-shadow:0 0 0 3px #991b1b0d;border-color:var(--accent)!important}h1,h2,h3,h4,p{margin:0}svg{flex-shrink:0}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.site-header{z-index:20;background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0}html{scroll-padding-top:calc(var(--site-header-height,180px) + 12px)}.ecosystem-bar{max-width:1440px;padding:6px 40px;padding-top:calc(6px + env(safe-area-inset-top));border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;margin:auto;display:flex}.ecosystem-controls{--hub-bg:#edf3fb;--hub-line:#dce4ee;--hub-blue:#185ac3;--hub-muted:#586b83;flex-shrink:0;align-items:center;gap:8px;display:flex}:root[data-theme=dark] .ecosystem-controls{--hub-bg:#24344b;--hub-line:#405471;--hub-blue:#a6c8ff;--hub-muted:#bac8dc}.ecosystem-back{background:var(--hub-bg);border:1px solid var(--hub-line);min-height:44px;color:var(--hub-blue);font:600 13px/1.6 var(--font-sans);white-space:nowrap;border-radius:8px;align-items:center;padding:8px 12px;display:inline-flex}.ecosystem-themes{align-items:center;gap:4px;display:flex}.ecosystem-themes button{min-width:44px;min-height:44px;color:var(--hub-muted);border:1px solid #0000;border-radius:8px}.ecosystem-themes button[aria-pressed=true],.ecosystem-themes button:hover{background:var(--hub-bg);border-color:var(--hub-line);color:var(--hub-blue)}.ecosystem-controls a:focus-visible,.ecosystem-themes button:focus-visible{outline:3px solid var(--hub-blue);outline-offset:3px}.ecosystem-tool{color:var(--ink);font-size:.875rem;font-weight:600}@media(max-width:1199px){.ecosystem-bar{padding-inline:24px}}@media(max-width:639px){.ecosystem-bar{padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right));gap:8px}.ecosystem-back,.ecosystem-tool{font-size:.75rem}}@media(max-width:479px){.ecosystem-bar{flex-wrap:wrap}.ecosystem-tool{flex-basis:100%;padding-bottom:4px}}.header-inner{justify-content:space-between;align-items:center;gap:24px;max-width:1440px;min-height:84px;margin:auto;padding:0 40px;display:flex}.brand{letter-spacing:2.2px;flex-shrink:0;align-items:center;gap:12px;font-size:1.375rem;font-weight:800;display:flex}.brand-mark{background:var(--solid-brand);color:#fff;border-radius:10px;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.brand-caption{letter-spacing:1.4px;color:var(--muted);margin-top:4px;font-size:.5625rem;font-weight:600;display:block}.header-inner nav{align-self:stretch;gap:28px;display:flex}.header-inner nav button{min-height:60px;color:var(--muted);padding:12px 0;font-size:.875rem;font-weight:500;position:relative}.header-inner nav .nav-active{color:var(--accent)}.header-inner nav .nav-active:after{content:"";background:var(--accent);border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:0;left:0;right:0}.nav-count,.count-badge{background:var(--surface-muted);border:1px solid var(--line);border-radius:5px;padding:1px 6px;font-size:.75rem}.help-button{min-width:44px;min-height:44px;color:var(--muted);padding:8px;font-size:.875rem}.page-shell{max-width:1440px;margin:auto;padding:35px 40px 0}.page-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:29px;display:flex}.page-heading>div{min-width:0}.eyebrow{letter-spacing:1.8px;color:var(--accent);margin-bottom:9px;font-size:.625rem;font-weight:700}h1{letter-spacing:-1px;flex-wrap:wrap;align-items:center;gap:10px 15px;font-size:1.875rem;font-weight:650;line-height:1.3;display:flex}h1 span{background:var(--surface-muted);border:1px solid var(--line);color:var(--accent);letter-spacing:0;white-space:nowrap;border-radius:5px;padding:5px 9px;font-size:.75rem;font-weight:600}.page-heading p{color:var(--muted);margin-top:9px;font-size:.875rem;line-height:1.6}.heading-note{color:var(--muted);flex-shrink:0;align-items:center;gap:12px;font-size:.875rem;line-height:1.6;display:flex}.heading-note small{color:var(--muted);font-size:.75rem;display:block}.tiny-rulers{border:1px solid var(--line);background:var(--surface);width:40px;height:40px;color:var(--muted);border-radius:50%;justify-content:center;align-items:center;display:flex}.workspace-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:22px;display:grid}.workspace-grid>*,.bottom-grid>*,.result-grid>*{min-width:0}.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;min-width:0;box-shadow:0 2px 3px #252c3302}.measurement-card{scroll-margin-top:20px}.section-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}h2{flex-wrap:wrap;align-items:center;gap:9px;min-width:0;font-size:.9375rem;font-weight:650;line-height:1.5;display:flex}h2 svg{color:var(--muted)}.subtle-text{color:var(--muted);font-size:.75rem;line-height:1.6}.measurement-card>.section-title{padding:22px 24px 0}.controls{grid-template-columns:minmax(180px,1.15fr) minmax(200px,1fr) auto;align-items:end;gap:18px;padding:21px 24px 24px;display:grid}.dimension-control{min-width:0}.dimension-control label,.step-controls>span{color:var(--muted);margin-bottom:9px;font-size:.875rem;line-height:1.5;display:block}.dimension-input{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:center;gap:7px;min-height:60px;padding:5px 7px 5px 15px;display:flex}.dimension-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #991b1b09}.dimension-input input{letter-spacing:-.7px;font-variant-numeric:tabular-nums;background:0 0;border:0;width:100%;font-size:1.75rem;font-weight:600;box-shadow:none!important}.unit-toggle{background:var(--surface-muted);border-radius:6px;flex-shrink:0;gap:2px;padding:3px;display:flex}.unit-toggle button{min-width:40px;min-height:44px;color:var(--muted);border-radius:4px;padding:0 5px;font-size:.875rem}.unit-toggle .selected{color:var(--accent);background:var(--surface);font-weight:600;box-shadow:0 1px 4px #0000000b}.step-controls>span small{color:var(--muted);margin-left:4px;font-size:.75rem}.step-controls>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.step-controls button{border:1px solid var(--line);background:var(--surface-muted);border-radius:5px;gap:2px;min-width:0;min-height:44px;padding:4px;font-size:.875rem}.step-controls button:hover{background:var(--surface-muted);color:var(--accent);border-color:var(--accent-soft)}.save-button{background:var(--solid-brand);color:#fff;border-radius:6px;min-height:44px;padding:10px 13px;font-size:.875rem;font-weight:550;line-height:1.4}.save-button:hover,.primary-button:hover{background:var(--solid-brand)}.ruler-toolbar{background:var(--surface-muted);border-block:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:8px 20px;font-size:.75rem;display:flex}.ruler-toolbar>span,.ruler-toolbar>div{align-items:center;gap:7px;display:flex}.ruler-toolbar>span{min-width:0;line-height:1.5}.ruler-toolbar>div{flex-shrink:0;gap:6px}.ruler-toolbar button{border:1px solid var(--line);background:var(--surface);border-radius:6px;min-width:44px;min-height:44px;padding:8px}.ruler-toolbar>div>span:nth-of-type(2){text-align:center;min-width:22px;color:var(--muted);font-size:.75rem}.ruler-surface{min-width:0;padding:44px 0 7px;display:flex}.ruler-labels{background:var(--surface);flex-shrink:0;width:132px;padding-left:20px}.metric-label{letter-spacing:1px;height:54px;color:var(--muted);align-items:center;gap:8px;font-size:.625rem;display:flex}.metric-label small{color:var(--muted);letter-spacing:0}.ruler-label{flex-direction:column;justify-content:center;gap:5px;height:80px;display:flex}.ruler-label strong{font-variant-numeric:tabular-nums;letter-spacing:-.4px;font-size:1.125rem;font-weight:600}.ruler-label strong small{color:var(--muted);letter-spacing:0;font-size:.75rem;font-weight:400}.ruler-label>span{color:var(--muted);font-size:.75rem;line-height:1.4}.ruler-chart{flex:1;min-width:0;position:relative;overflow:visible}.ruler-viewport{touch-action:pan-y pinch-zoom;cursor:grab;outline:none;height:302px;position:relative;overflow:hidden}.ruler-viewport:active{cursor:grabbing}.ruler-viewport:focus-visible{box-shadow:inset 0 0 0 2px #991b1b}.ruler-viewport canvas{display:block}.ruler-indicator{pointer-events:none;position:absolute;top:0;bottom:8px;left:50%}.ruler-indicator span{border-left:6px solid #0000;border-right:6px solid #0000;border-top:8px solid var(--accent);z-index:1;width:0;height:0;display:block;position:absolute;top:-1px;left:-6px}.ruler-indicator i{background:var(--accent);width:2px;display:block;position:absolute;top:0;bottom:0;left:-1px;box-shadow:0 0 0 1px #ffffff70}.position-label{border:1px solid var(--line);color:var(--accent);background:var(--surface-muted);white-space:nowrap;font-variant-numeric:tabular-nums;border-radius:5px;padding:5px 10px;font-size:.875rem;font-weight:700;position:absolute;top:-34px;left:50%;transform:translate(-50%)}.position-label small{font-size:.75rem;font-weight:400}.ruler-footer{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:13px 20px 17px;font-size:.75rem;display:flex}.ruler-footer>div,.ruler-footer>span{align-items:center;gap:6px;display:flex}.legend-dot{border-radius:2px;width:8px;height:8px;display:inline-block}.legend-dot.good{background:var(--accent)}.legend-dot.bad{background:var(--ink);margin-left:10px}.presets-card{flex-direction:column;padding:22px 20px;display:flex}.mini-pill{border:1px solid var(--line);background:var(--surface-muted);color:var(--muted);letter-spacing:.4px;white-space:nowrap;border-radius:4px;padding:3px 6px;font-size:.6875rem}.preset-description{color:var(--muted);margin:11px 0 19px;font-size:.875rem;line-height:1.6}.preset-list{flex-direction:column;gap:12px;display:flex}.preset{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;padding:12px}.preset-active{border-color:var(--accent-line);background:var(--surface-muted)}.preset-main{text-align:left;justify-content:flex-start;gap:9px;width:100%;min-height:44px;padding:0;display:flex}.preset-main>span:nth-child(2){min-width:0}.preset-icon{background:var(--surface-muted);width:34px;height:34px;color:var(--muted);border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.preset-active .preset-icon{background:var(--surface-muted);color:var(--accent)}.preset-main strong{font-size:.875rem;font-weight:600;line-height:1.5;display:block}.preset-main small{color:var(--muted);margin-top:4px;font-size:.75rem;line-height:1.5;display:block}.preset-check{color:var(--accent);margin-left:auto}.preset-dimensions{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px;margin-top:6px;display:flex}.preset-dimensions button{min-width:52px;min-height:44px;color:var(--ink);letter-spacing:-.4px;border:1px solid #0000;border-radius:6px;padding:5px 7px;font-size:.9375rem;font-weight:550}.preset-dimensions .axis-selected{color:var(--accent);border-color:var(--line);background:var(--surface)}.preset-dimensions small{font-size:.75rem}.preset-tip{background:var(--surface-muted);color:var(--muted);border-radius:7px;gap:8px;margin-top:18px;padding:12px;font-size:.75rem;line-height:1.7;display:flex}.preset-tip svg{margin-top:2px}.results-section{margin-top:27px}.results-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:15px;display:flex}.results-heading h2{gap:10px}.results-heading h2 span{color:var(--muted);font-size:.875rem;font-weight:400}.result-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.result-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:19px 20px 0;position:relative;overflow:hidden}.result-card:before{content:"";height:3px;position:absolute;top:0;left:0;right:0}.result-top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.result-type{min-width:0;color:var(--muted);flex-wrap:wrap;align-items:center;gap:5px 8px;font-size:.875rem;display:flex}.result-type strong{font-weight:600}.result-type svg{color:var(--muted)}.result-type small{color:var(--muted);white-space:nowrap;font-size:.75rem}.status-tag{border-radius:4px;flex-shrink:0;align-items:center;gap:4px;padding:4px 6px;font-size:.75rem;font-weight:700;display:flex}.result-palace{flex-wrap:wrap;align-items:center;gap:7px 11px;margin-top:19px;display:flex}.result-palace h3{letter-spacing:-.7px;font-size:1.4375rem;font-weight:600;line-height:1.4}.result-good .result-palace h3,.result-good .result-palace strong{color:var(--accent)}.result-palace>span{color:var(--muted);font-size:1.25rem;font-weight:300}.result-palace strong{font-size:.875rem;font-weight:500}.result-card>p{min-height:47px;color:var(--muted);margin:13px 0 17px;font-size:.875rem;line-height:1.7}.result-bottom{border-top:1px solid var(--line);color:var(--muted);overflow-wrap:anywhere;flex-direction:column;gap:5px;padding:11px 0 12px;font-size:.75rem;line-height:1.6;display:flex}.bottom-grid{grid-template-columns:1.35fr 1fr;align-items:start;gap:20px;margin-top:24px;display:grid}.bottom-grid .panel{padding:21px 23px;scroll-margin-top:20px}.section-description{color:var(--muted);margin-top:10px;font-size:.875rem;line-height:1.6}.door-content{gap:24px;margin-top:21px;display:flex}.door-diagram{flex-direction:column;flex-shrink:0;align-items:center;width:100px;margin-top:4px;display:flex;position:relative}.dimension-line{border-bottom:1px solid var(--line);text-align:center;width:100%;color:var(--muted);margin-bottom:8px;padding-bottom:5px;font-size:.625rem;position:relative}.dimension-line:after,.dimension-line:before{content:"";background:var(--surface-muted);width:1px;height:7px;position:absolute;bottom:-4px}.dimension-line:before{left:0}.dimension-line:after{right:0}.door-frame{border:7px solid var(--accent-line);background:var(--surface-muted);border-bottom:0;border-radius:2px 2px 0 0;width:89px;height:128px;padding:4px;position:relative}.door-frame:before{content:"";background:var(--surface-muted);height:1px;position:absolute;bottom:0;left:-17px;right:-17px}.door-frame.has-bottom{border-bottom:7px solid var(--accent-line)}.door-clearance{border:1px dashed var(--accent-line);height:100%;color:var(--accent);flex-direction:column;justify-content:center;align-items:center;gap:9px;font-size:.6875rem;display:flex}.frame-caption{color:var(--muted);overflow-wrap:anywhere;text-align:center;margin-top:12px;font-size:.6875rem}.door-form{flex:1;min-width:0}.door-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.door-fields label{min-width:0;color:var(--muted);font-size:.875rem;line-height:1.5;position:relative}.door-fields input{border:1px solid var(--line);width:100%;min-height:46px;color:var(--ink);background:var(--surface);border-radius:6px;margin-top:7px;padding:8px 30px 8px 10px;font-size:1rem;display:block}.door-fields label>span{color:var(--muted);font-size:.6875rem;position:absolute;bottom:15px;right:8px}.checkbox-label{min-height:44px;color:var(--muted);cursor:pointer;align-items:center;gap:10px;margin-top:6px;font-size:.875rem;line-height:1.6;display:flex}.checkbox-label input{width:20px;height:20px;accent-color:var(--accent);flex-shrink:0;margin:0}.door-result{border:1px solid var(--line);background:var(--surface-muted);border-radius:7px;margin-top:10px;padding:13px}.door-result>span{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:5px;font-size:.875rem;line-height:1.5;display:flex}.door-result>span small{color:var(--muted);font-size:.75rem}.door-result>strong{color:var(--ink);letter-spacing:-.5px;overflow-wrap:anywhere;margin-top:6px;font-size:1.4375rem;font-weight:600;line-height:1.5;display:block}.door-result>strong span{color:var(--muted);margin:0 5px;font-weight:400}.door-result>strong small{color:var(--muted);letter-spacing:0;font-size:.75rem;font-weight:400}.door-result-actions{border-top:1px solid var(--line);flex-wrap:wrap;gap:6px 12px;margin-top:9px;padding-top:7px;display:flex}.door-result-actions button{min-height:44px;color:var(--muted);flex-wrap:wrap;justify-content:flex-start;gap:5px;padding:5px 0;font-size:.8125rem}.good-text{color:var(--accent)}.door-suggestions{background:var(--surface-muted);border:1px solid var(--line);border-radius:8px;margin-top:17px;padding:15px}.suggestions-heading{color:var(--accent);align-items:center;gap:7px;display:flex}.suggestions-heading h3{font-size:.875rem;font-weight:650;line-height:1.5}.door-suggestions>p{color:var(--accent);margin-top:7px;font-size:.8125rem;line-height:1.7}.suggestion-axis{margin-top:14px}.suggestion-axis h4{color:var(--ink);flex-wrap:wrap;gap:4px 9px;margin-bottom:9px;font-size:.875rem;font-weight:600;line-height:1.6;display:flex}.suggestion-axis h4>span{color:var(--accent);font-size:.8125rem;font-weight:400}.suggestion-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.suggestion-button{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:7px;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:6px;min-width:0;padding:12px;display:flex}.suggestion-button:hover{background:var(--surface-muted);border-color:var(--accent-line)}.suggestion-delta{color:var(--accent);align-items:center;gap:3px;font-size:.875rem;font-weight:600;display:flex}.suggestion-button>strong{color:var(--ink);letter-spacing:-.3px;overflow-wrap:anywhere;font-size:1.125rem;line-height:1.5}.suggestion-button>strong small{color:var(--muted);letter-spacing:0;font-size:.75rem;font-weight:400}.suggestion-palace{color:var(--accent);font-size:.8125rem;line-height:1.6}.suggestion-apply{color:var(--accent);align-self:stretch;margin-top:auto;padding:8px 0 2px;font-size:.875rem;font-weight:500}.suggestion-footnote{color:var(--accent);margin-top:12px;font-size:.8125rem;line-height:1.7}.suggestion-unavailable{border:1px dashed var(--line);color:var(--muted);border-radius:7px;padding:12px;font-size:.8125rem;line-height:1.7}.empty-saved{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:25px 0 14px;display:flex}.empty-icon{background:var(--surface-muted);width:48px;height:48px;color:var(--muted);border-radius:50%;justify-content:center;align-items:center;margin-bottom:13px;display:flex}.empty-saved h3{color:var(--muted);font-size:.875rem;font-weight:500;line-height:1.6}.empty-saved p{color:var(--muted);margin-top:8px;font-size:.875rem;line-height:1.7}.empty-saved button{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--accent);border-radius:6px;margin-top:19px;padding:8px 13px;font-size:.875rem}.count-badge{margin-left:1px;font-weight:400}.saved-list{max-height:360px;margin-top:14px;overflow:auto}.saved-item{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:12px 0;display:flex}.saved-item>button:first-child{text-align:left;grid-template-columns:minmax(72px,auto) minmax(0,1fr);justify-content:start;gap:5px 12px;width:100%;min-width:0;min-height:44px;padding:3px 0;display:grid}.saved-item strong{color:var(--accent);overflow-wrap:anywhere;grid-row:span 2;font-size:1rem;font-weight:600}.saved-item strong small{font-size:.75rem;font-weight:400}.saved-item span{overflow-wrap:anywhere;font-size:.875rem}.saved-item>button>small{color:var(--muted);font-size:.75rem}.delete-button{min-width:44px;min-height:44px;color:var(--muted);border-radius:6px;padding:7px}.delete-button:hover{color:var(--accent);background:var(--surface-muted)}.page-footer{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 20px;margin-top:28px;padding:20px 0;font-size:.75rem;line-height:1.7;display:flex}.page-footer>span:first-child{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.footer-credit{min-width:0;color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:.875rem;display:flex}.footer-credit strong{font-weight:600}.footer-version{background:var(--surface-muted);border-radius:5px;padding:3px 8px;font-size:.8125rem;display:inline-block}.footer-note{flex-basis:100%}.footer-separator{color:var(--muted);margin:0 4px}.field-error{color:var(--accent);margin-top:8px;font-size:.8125rem;line-height:1.6;display:block}.input-error{border-color:var(--accent)}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:40;background:#151b2d60;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;top:0;right:0;bottom:0;left:0}.modal{overscroll-behavior:contain;background:var(--surface);border-radius:15px;width:450px;max-width:100%;max-height:calc(100dvh - 48px);padding:30px;position:relative;overflow:auto;box-shadow:0 20px 80px #0002}.modal-close{min-width:44px;min-height:44px;color:var(--muted);padding:6px;position:absolute;top:10px;right:10px}.modal-icon{background:var(--surface-muted);width:50px;height:50px;color:var(--accent);border-radius:12px;justify-content:center;align-items:center;margin-bottom:18px;display:flex}.modal h2{letter-spacing:-.5px;font-size:1.4375rem}.modal-measurement{color:var(--accent);overflow-wrap:anywhere;margin-top:13px;font-size:2rem;font-weight:600}.modal-measurement small{font-size:.875rem;font-weight:400}.modal form{margin-top:23px}.modal label{color:var(--muted);margin-bottom:9px;font-size:.875rem;display:block}.modal form>input{border:1px solid var(--line);border-radius:7px;width:100%;min-height:48px;padding:10px 12px;font-size:1rem}.modal form>.subtle-text{margin-top:11px;display:block}.primary-button{background:var(--solid-brand);color:#fff;border-radius:7px;width:100%;min-height:48px;margin-top:23px;padding:12px;font-size:.875rem}.help-content{color:var(--muted);flex-direction:column;gap:15px;margin-top:20px;font-size:.875rem;line-height:1.7;display:flex}.help-content strong{color:var(--ink);font-weight:600}.toast{bottom:max(20px,env(safe-area-inset-bottom));color:#fff;overflow-wrap:anywhere;z-index:50;background:#283340;border-radius:9px;align-items:center;gap:9px;width:max-content;max-width:calc(100vw - 32px);padding:14px 19px;font-size:.875rem;line-height:1.6;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 5px 20px #0002}@media(max-width:1199px){.header-inner,.page-shell{padding-left:24px;padding-right:24px}.workspace-grid{grid-template-columns:minmax(0,1fr);gap:20px}.preset-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.preset-check{display:none}.preset-dimensions{justify-content:flex-start}.preset-tip{margin-top:16px}.heading-note{display:none}.bottom-grid{grid-template-columns:minmax(0,1fr)}.door-content{gap:30px}.door-diagram{width:125px}.saved-list{max-height:320px}}@media(max-width:1023px){.header-inner{flex-wrap:wrap;gap:12px;padding-top:16px}.help-button{margin-left:auto}.header-inner nav{order:3;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%;display:grid}.header-inner nav button{min-width:0;min-height:56px;padding:10px 4px}.controls{grid-template-columns:minmax(200px,1.2fr) minmax(200px,1fr);gap:16px}.save-button{grid-column:1/-1;justify-self:start}.desktop-only{display:none}.result-card{padding:18px 16px 0}.result-type small{flex-basis:100%;margin-left:26px}.results-heading>.subtle-text{display:none}}@media(max-width:767px){.header-inner{gap:10px;padding:14px 16px 0}.brand{gap:10px;font-size:1.25rem}.brand-caption{letter-spacing:1.2px;font-size:.5rem}.brand-mark{border-radius:8px;width:40px;height:40px}.help-button span{display:none}.header-inner nav{gap:4px}.header-inner nav button{text-align:center;flex-direction:column;gap:5px;min-height:64px;padding:10px 3px;font-size:.8125rem;line-height:1.4}.nav-count{padding:0 4px;font-size:.625rem;position:absolute;top:9px;right:8px}.page-shell{padding:24px max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left))}.page-heading{margin-bottom:22px}.eyebrow{letter-spacing:1.2px;font-size:.625rem}h1{letter-spacing:-.6px;gap:8px;font-size:1.5rem}h1 span{font-size:.6875rem}.page-heading p{font-size:.875rem}.measurement-card>.section-title{padding:18px 16px 0}.measurement-card>.section-title>.subtle-text{display:none}.controls{grid-template-columns:minmax(0,1fr);gap:16px;padding:18px 16px}.dimension-input{min-height:64px;padding-left:12px}.dimension-input input{font-size:2rem}.unit-toggle button{min-width:44px}.step-controls>div{gap:8px}.step-controls button{gap:4px;min-height:48px;font-size:1rem}.save-button{grid-column:auto;justify-self:stretch;min-height:48px}.ruler-toolbar{gap:8px;padding:8px 12px}.ruler-toolbar>span{flex:1;font-size:.75rem}.ruler-toolbar>div{gap:3px}.ruler-labels{width:92px;padding-left:12px}.metric-label{letter-spacing:.4px;gap:5px;font-size:.5625rem}.ruler-label strong{font-size:1.0625rem}.ruler-label strong small{font-size:.6875rem}.ruler-label>span{font-size:.75rem}.ruler-footer{padding:12px 14px 16px}.ruler-footer>span{flex-basis:100%}.presets-card{padding:18px 16px}.preset-list{grid-template-columns:minmax(0,1fr)}.preset{flex-wrap:wrap;align-items:center;gap:4px 12px;padding:10px 12px;display:flex}.preset-main{flex:140px;width:auto}.preset-main strong{font-size:.875rem}.preset-main small{font-size:.75rem}.preset-dimensions{flex:0 auto;margin-top:0}.preset-dimensions button{min-width:48px;padding-inline:5px}.result-grid{grid-template-columns:minmax(0,1fr);gap:14px}.results-section{margin-top:24px}.result-card{padding:19px 18px 0}.result-type small{flex-basis:auto;margin-left:0}.result-palace h3{font-size:1.5rem}.result-card>p{min-height:0;font-size:1rem}.result-bottom{font-size:.8125rem}.bottom-grid{gap:18px;margin-top:22px}.bottom-grid .panel{padding:19px 16px}.door-diagram{display:none}.door-content{margin-top:18px}.door-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.door-fields label:last-child{grid-column:1/-1}.door-fields label{font-size:.875rem}.door-fields input{min-height:48px;padding-left:12px;font-size:1rem}.door-fields label>span{font-size:.75rem;bottom:16px}.checkbox-label{min-height:48px;margin-top:10px}.door-result{padding:14px}.door-result>strong{font-size:1.5rem}.door-result-actions{grid-template-columns:minmax(0,1fr);gap:5px;display:grid}.door-result-actions button{min-height:44px;font-size:.875rem}.door-suggestions{padding:13px}.suggestion-options{grid-template-columns:minmax(0,1fr);gap:10px}.suggestion-button{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 10px;padding:13px;display:grid}.suggestion-delta{font-size:1rem}.suggestion-button>strong{grid-area:2/1;font-size:1.125rem}.suggestion-palace{grid-area:3/1/auto/-1;font-size:.875rem}.suggestion-apply{border:1px solid var(--line);background:var(--surface-muted);border-radius:6px;grid-area:1/2/3;align-self:center;margin:0;padding:10px;font-size:.875rem}.empty-saved{padding:22px 0 14px}.saved-list{max-height:none}.saved-item>button:first-child{grid-template-columns:minmax(65px,auto) minmax(0,1fr);gap:5px 9px}.page-footer{padding-bottom:max(20px,env(safe-area-inset-bottom));flex-direction:column;align-items:flex-start;gap:10px;margin-top:22px}.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px);padding:24px}.toast{padding:12px 14px;font-size:.8125rem}}@media(max-width:359px){.brand-caption{letter-spacing:.8px}.brand{font-size:1.125rem}.header-inner nav button{font-size:.75rem}h1{font-size:1.375rem}.ruler-labels{width:82px;padding-left:10px}.ruler-label>span{font-size:.6875rem}.ruler-toolbar>span>svg{display:none}.preset-dimensions{flex-basis:100%;padding-left:42px}.suggestion-button{grid-template-columns:minmax(0,1fr)}.suggestion-apply{text-align:center;grid-area:4/1}}@media(hover:none)and (pointer:coarse){.ruler-viewport{cursor:auto}button{transition:none}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.brand{max-width:100%}.brand>span:last-child{min-width:0}.brand-caption{overflow-wrap:anywhere}.suggestion-delta{flex-wrap:wrap}@media(max-width:767px){.brand{min-height:44px}.ruler-labels{width:max(92px,5.75rem)}}@media(max-width:359px){.ruler-labels{width:max(82px,5.125rem)}}:root{--color-brand:var(--accent)}.brand-mark,.save-button,.primary-button{background:var(--solid-brand)}.brand-caption{letter-spacing:0;font-size:.6875rem;font-weight:500;line-height:1.5}.brand-mark{color:#fff}.tiny-rulers,.modal-icon,.header-inner nav .nav-active{color:var(--accent)}.header-inner nav .nav-active:after,.legend-dot.good{background:var(--accent)}.legend-dot.bad{background:var(--muted)}.result-good:before{background:var(--accent)}.result-bad{border:1px solid var(--warning-line);background:var(--surface-muted)}.result-bad:before{background:var(--warning)}.tag-good{background:var(--surface-muted);color:var(--accent)}.tag-bad{background:var(--surface-muted);color:var(--warning)}.bad-text{color:var(--warning)}.result-advice{border:1px solid var(--line);background:var(--surface-muted);border-radius:7px;margin:0 0 14px;padding:11px}.result-advice>span{color:var(--warning);align-items:center;gap:6px;margin-bottom:5px;font-size:.8125rem;display:flex}.result-advice button{width:100%;min-height:44px;color:var(--warning);text-align:left;justify-content:flex-start;padding:6px 0;font-size:.8125rem;display:flex}.result-advice button:hover{color:var(--accent)}.ruler-options{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;padding:0 24px 15px;display:flex}.ruler-options .checkbox-label{min-height:44px;margin:0}.ruler-options>span{color:var(--muted);font-size:.75rem;line-height:1.6}.preset-selection{color:var(--accent);margin:0 20px 16px;font-size:.8125rem;line-height:1.6}.library-filter,.project-filter,.frame-picker>label,.sheet-project{color:var(--muted);margin:15px 0;font-size:.875rem;line-height:1.5;display:block}select{font:inherit;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:7px;outline:none;width:100%;max-width:100%;min-height:46px;padding:9px 30px 9px 11px;font-size:1rem}select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #932c3d10}.library-filter select,.project-filter select,.frame-picker select,.sheet-project select{margin-top:7px;display:block}.presets-card .preset-list{overscroll-behavior:contain;max-height:510px;padding-right:3px;overflow:auto}.preset-axes{width:100%}.preset-axes .preset-dimensions{gap:4px}.preset-dimensions>span{min-width:42px;color:var(--muted);font-size:.75rem}.preset-dimensions button{font-size:.875rem}.frame-picker>label{margin-bottom:9px}.frame-choices{flex-wrap:wrap;gap:7px;display:flex}.frame-choices button{border:1px solid var(--line);border-radius:6px;min-height:44px;padding:6px 12px;font-size:.875rem}.frame-choices .chosen{border-color:var(--accent-line);background:var(--surface-muted);color:var(--accent)}.sheet-project{margin-top:19px}.export-actions{flex-wrap:wrap;gap:9px;display:flex}.export-actions button{border:1px solid var(--accent-line);min-height:48px;color:var(--accent);background:var(--surface-muted);border-radius:7px;flex:150px;padding:10px;font-size:.875rem}.export-note{color:var(--muted);margin-top:10px;font-size:.75rem;line-height:1.7}.saved-card .saved-list{max-height:600px}.project-group{border:1px solid var(--line);border-radius:8px;margin:10px 0}.project-group summary{cursor:pointer;background:var(--surface-muted);align-items:center;gap:8px;min-height:48px;padding:10px 12px;font-size:.875rem;list-style:none;display:flex}.project-group summary:after{content:"−";color:var(--muted);margin-left:auto}.project-group:not([open]) summary:after{content:"+"}.project-group summary::-webkit-details-marker{display:none}.project-group summary>span{overflow-wrap:anywhere;min-width:0}.project-group summary small{color:var(--muted);white-space:nowrap;font-size:.75rem}.project-group .saved-item{padding:11px 12px}.project-empty{color:var(--muted);padding:12px;font-size:.8125rem;line-height:1.6}.saved-item-main{flex:1;min-width:0}.saved-recall{text-align:left;grid-template-columns:minmax(76px,auto) minmax(0,1fr);justify-content:start;gap:5px 10px;width:100%;min-height:44px;padding:4px 0;display:grid!important}.saved-recall>small{color:var(--muted);font-size:.75rem}.saved-move{margin-top:6px;display:block}.saved-move select{min-height:44px;font-size:.8125rem}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.modal form>select,.new-project{margin-bottom:18px}.new-project label{align-items:center;gap:7px;display:flex}.new-project input{border:1px solid var(--line);border-radius:7px;width:100%;min-height:48px;padding:10px 12px;font-size:1rem}.pwa-card{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px 24px;margin-top:24px;padding:20px 24px;display:flex}.pwa-card>div{min-width:0}.pwa-card p{color:var(--muted);align-items:center;gap:7px;margin-top:7px;font-size:.875rem;line-height:1.7;display:flex}.install-button{border:1px solid var(--accent-line);min-height:48px;color:var(--accent);border-radius:7px;padding:10px 14px;font-size:.875rem}.pwa-card .install-help{border-top:1px solid var(--line);flex-basis:100%;margin:0;padding-top:12px;font-size:.8125rem;display:block}.page-footer>span>svg path[stroke]{stroke:#fff}.page-footer>span>svg{color:var(--accent)}@media(max-width:1199px){.presets-card .preset-list{max-height:460px}.preset{display:block}.preset-main{width:100%}.preset-dimensions{margin-top:7px}.ruler-options{padding-inline:24px}}@media(max-width:767px){.brand{max-width:calc(100% - 58px)}.brand-caption{letter-spacing:0;font-size:.625rem}.ruler-options{padding:0 16px 15px}.ruler-options .checkbox-label{font-size:.8125rem}.presets-card .preset-list{max-height:440px}.preset-main{flex:none;width:100%}.preset-dimensions{flex-basis:auto;padding:0}.saved-card .saved-list{max-height:none}.project-group summary{flex-wrap:wrap}.project-group summary small{font-size:.6875rem}.ruler-options>span{flex-basis:100%}.pwa-card{padding:18px 16px}.install-button{width:100%}.saved-move select{font-size:1rem}.result-advice button{font-size:.875rem}.pwa-card p svg{display:none}}.door-presets{border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.door-presets h3{color:var(--ink);margin:0;font-size:1rem;font-weight:600;line-height:1.5}.door-preset-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.door-preset-list .preset{min-width:0}.suggested-presets .preset-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;display:grid;overflow:visible}.suggested-presets .preset-dimensions{margin-top:7px;padding-left:0}.suggested-presets .preset-dimensions>span{min-width:42px}.door-preset-options{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.door-preset-options button{border:1px solid var(--line);max-width:100%;min-height:44px;color:var(--ink);border-radius:6px;flex-wrap:wrap;padding:8px 10px;font-size:.875rem}.door-preset-options button small{color:var(--muted);font-size:.75rem}.door-preset-options .axis-selected{color:var(--accent);border-color:var(--accent-line);background:var(--surface-muted)}@media(max-width:767px){.door-preset-list,.suggested-presets .preset-list{grid-template-columns:minmax(0,1fr)}}.library-tabs{border-bottom:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin-top:16px;display:grid}.library-tabs button{min-width:0;min-height:46px;color:var(--muted);border-bottom:3px solid #0000;border-radius:5px 5px 0 0;gap:6px;padding:8px 5px;font-size:.875rem}.library-tabs button[aria-selected=true]{border-color:var(--accent);color:var(--accent);background:var(--surface-muted);font-weight:600}.library-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.preset-library [role=tabpanel]:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.preset-library .preset-description{margin:14px 0}.preset-library .preset-list{flex-direction:column;max-height:590px;display:flex}.preset-library .preset-dimensions{margin-top:7px;padding-left:0}.library-pair-list{flex-direction:column;gap:9px;margin-top:12px;display:flex}.library-pair{border:1px solid var(--line);text-align:left;background:var(--surface);border-radius:7px;flex-direction:column;align-items:flex-start;gap:5px;width:100%;min-height:68px;padding:10px}.library-pair.axis-selected{border-color:var(--accent-line);background:var(--surface-muted)}.pair-dimension{color:var(--ink);font-size:.9375rem;font-weight:600;line-height:1.5}.pair-dimension small{color:var(--muted);font-size:.75rem;font-weight:400}.pair-use{background:var(--surface-muted);color:var(--muted);border-radius:4px;padding:3px 7px;font-size:.75rem;line-height:1.5}.pair-status{align-items:center;gap:5px;font-size:.75rem;line-height:1.5;display:flex}.pair-cat{color:var(--accent)}.library-pair.pair-warning{border-color:var(--warning-line)}.pair-hung{color:var(--warning)}@media(min-width:768px)and (max-width:1199px){.preset-library .preset-list{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}}@media(max-width:767px){.preset-library .preset-list{max-height:none;padding-right:0;overflow:visible}}.page-shell{padding-top:24px}.page-heading{margin-bottom:18px}.controls{grid-template-columns:minmax(180px,1.15fr) minmax(200px,1fr);padding-bottom:12px}.input-hint{color:var(--muted);margin-top:6px;font-size:.75rem;line-height:1.5;display:block}.instant-analysis{flex-wrap:wrap;align-items:center;gap:12px;margin:0 24px 14px;display:flex}.instant-results{flex:440px;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;min-width:0;display:grid}.instant-result{border:1px solid var(--line);background:var(--surface-muted);border-radius:7px;flex-wrap:wrap;align-items:center;gap:3px 7px;min-width:0;padding:8px 10px;line-height:1.5;display:flex}.instant-result>span{color:var(--muted);font-size:.75rem}.instant-result>strong{color:var(--accent);font-size:.875rem}.instant-result>small{color:var(--muted);flex-basis:100%;font-size:.8125rem}.instant-result>b{color:var(--accent);order:-1;font-size:.75rem;font-weight:600}.instant-bad{border-color:var(--warning-line);background:var(--surface-muted)}.instant-bad>strong,.instant-bad>b{color:var(--warning)}.instant-analysis .save-button{background:var(--surface);border:1px solid var(--accent-line);min-height:44px;color:var(--accent);grid-column:auto;justify-self:auto}.ruler-preferences{border:1px solid var(--line);border-radius:7px;margin:0 24px 14px}.ruler-preferences summary{cursor:pointer;min-height:44px;color:var(--muted);padding:10px 12px;font-size:.8125rem}.ruler-preferences summary>span{vertical-align:middle;align-items:center;gap:6px;display:inline-flex}.ruler-preferences summary>small{color:var(--muted);margin-left:10px;font-size:.75rem}.feedback-options{flex-wrap:wrap;gap:8px;padding:0 12px 10px;display:flex}.feedback-options button{border:1px solid var(--line);border-radius:6px;min-height:44px;padding:8px 12px;font-size:.875rem}.feedback-options button[aria-pressed=true]:not(:disabled){background:var(--surface-muted);border-color:var(--accent-line);color:var(--accent)}.feedback-options p{color:var(--muted);flex-basis:100%;font-size:.8125rem;line-height:1.6}.ruler-preferences .ruler-options{padding:0 12px 10px}@media(max-width:1199px){.instant-results{flex-basis:100%}}@media(max-width:767px){.header-inner{gap:4px;padding-top:8px}.header-inner nav button{min-height:52px;padding-block:7px}.page-shell{padding-top:14px}.page-heading{margin-bottom:12px}.page-heading h1{font-size:1.25rem}.page-heading .heading-note{display:none}.measurement-card>.section-title{padding-top:14px}.controls{grid-template-columns:minmax(0,1fr);gap:12px;padding:12px 16px}.dimension-input{min-height:58px}.dimension-input input{font-size:1.875rem}.step-controls>span{margin-bottom:6px}.step-controls button{min-height:44px}.instant-analysis{gap:8px;margin:0 16px 12px}.instant-results{grid-template-columns:minmax(0,1fr);gap:5px}.instant-result{padding:5px 8px}.instant-result>small{flex-basis:auto}.instant-result>b{order:0;margin-left:auto}.instant-analysis .save-button{min-height:44px;padding:8px 12px}.ruler-preferences{margin:0 16px 12px}.ruler-preferences summary>small{margin:3px 0 0 18px;display:block}.ruler-toolbar{padding-block:4px}}.mobile-library-button,.library-disclosure>summary,.door-export>summary{display:none}.results-section>summary{list-style:none}.results-section>summary::-webkit-details-marker{display:none}.instant-result{text-align:left;justify-content:flex-start;min-height:44px}.header-inner nav button.nav-active{background:var(--surface-muted);color:var(--accent);border-radius:8px 8px 0 0;font-weight:700}@media(min-width:1200px){.header-inner nav button{padding-inline:12px}}@media(max-width:1199px){.site-header{z-index:20;position:sticky;top:0}.page-shell{flex-direction:column;gap:14px;display:flex}.page-heading{margin-bottom:0}.workspace-grid,.bottom-grid{flex-direction:column;gap:14px;width:100%;margin:0;display:flex}.workspace-grid>:not([hidden]),.bottom-grid>:not([hidden]){width:100%}.bottom-grid{order:1}.workspace-grid{order:2}.results-section{order:3;margin:0}.pwa-card{order:4;margin:0}.page-footer{order:5;margin-top:0}.page-shell:not([data-view=ruler]) .measurement-card,.page-shell:not([data-view=ruler]) .results-section,.page-shell:not([data-view=door]) .library-disclosure,.page-shell:not([data-view=door]) .door-card,.page-shell:not([data-view=saved]) .saved-card,.page-shell:not([data-view=saved]) .pwa-card,.page-shell[data-view=ruler] .bottom-grid,.page-shell[data-view=saved] .workspace-grid,.page-heading{display:none}.mobile-library-button{border:1px solid var(--line);min-height:44px;color:var(--muted);border-radius:6px;padding:8px 10px;font-size:.8125rem;display:inline-flex}.results-section,.library-disclosure{border:1px solid var(--line);background:var(--surface);border-radius:10px}.results-section>summary,.library-disclosure>summary,.door-export>summary{cursor:pointer;min-height:48px;color:var(--muted);align-items:center;gap:8px;padding:12px 14px;list-style:none;display:flex}.results-section>summary:after,.library-disclosure>summary:after,.door-export>summary:after{content:"+";margin-left:auto;font-size:1.25rem}.results-section[open]>summary:after,.library-disclosure[open]>summary:after,.door-export[open]>summary:after{content:"−"}.library-disclosure>summary::-webkit-details-marker{display:none}.door-export>summary::-webkit-details-marker{display:none}.results-section>summary h2{font-size:.875rem}.results-section>summary h2>span{display:none}.results-section .result-grid{padding:0 12px 12px}.result-card,.library-disclosure{scroll-margin-top:130px}.library-disclosure>summary{font-size:.875rem;font-weight:600}.library-disclosure>summary small{color:var(--muted);margin-top:3px;font-size:.75rem;font-weight:400;display:block}.library-disclosure .preset-library{box-shadow:none;border:0;padding-top:0}.library-disclosure .preset-library>.section-title{display:none}.door-export{border-top:1px solid var(--line);margin-top:16px}.door-export>summary{padding-inline:0;font-size:.875rem}.page-footer>span:first-child,.page-footer .footer-note{display:none}.page-footer{border:0;padding-top:0;padding-bottom:16px}.footer-credit{font-size:.6875rem}}@media(max-width:767px){.header-inner{padding-top:6px}.brand-mark{width:32px;height:32px}.brand{font-size:1.0625rem}.brand-caption{margin-top:1px;font-size:.5625rem}.header-inner nav button{gap:3px;min-height:48px;padding-block:5px}.page-shell{gap:10px;padding-top:10px}.measurement-card{flex-direction:column;display:flex}.measurement-card>.section-title{order:0;padding-top:10px}.measurement-card .controls{order:1;gap:8px;padding:10px 12px}.dimension-control label{margin-bottom:5px}.dimension-input{min-height:52px}.input-hint,.step-controls>span{display:none}.measurement-card .ruler-toolbar{order:2;padding:3px 10px}.ruler-toolbar>span{font-size:.6875rem}.measurement-card .ruler-surface{order:3;padding-top:38px;padding-bottom:0}.measurement-card .instant-analysis{order:4;margin:8px 12px 10px}.instant-result{min-height:44px}.measurement-card .ruler-footer{order:5;padding:0 12px 8px;font-size:.6875rem}.ruler-footer>span{display:none}.measurement-card .ruler-preferences{order:6;margin:0 12px 10px}.ruler-preferences summary>small{display:none}.measurement-card .preset-selection{order:7}.preset-library .preset{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:10px 0}.preset-library .preset-main small{display:none}.preset-library .preset-icon{width:28px;height:28px}.preset-library .library-pair-list{gap:6px;margin-top:6px}.preset-library .library-pair{gap:2px;min-height:52px;padding:7px 10px}.preset-library .preset-tip{margin-top:12px}.library-tabs{margin-top:0}.bottom-grid .panel{padding:14px 12px}.door-fields{gap:10px}.door-content{margin-top:12px}.door-form .frame-picker>label{margin-top:10px}.door-form .checkbox-label{margin-top:4px}.page-footer{padding-bottom:max(12px,env(safe-area-inset-bottom));align-items:center}.footer-credit{text-align:center;line-height:1.6}}.quick-presets{scroll-margin-top:140px}.quick-presets .dimension-category-tabs{margin-top:10px}.quick-presets .preset-library{box-shadow:none;border:0;padding:0!important}.quick-presets .preset-library>.section-title{display:none}.quick-presets .preset-list{max-height:none;padding-right:0;overflow:visible}.quick-presets .preset-main{display:none}.quick-presets .preset{border:0;margin-top:0;padding:0}.quick-presets .preset-description,.quick-presets .preset-tip{display:none}.quick-presets .preset-group-picker{margin-top:12px}.quick-presets .library-filter{margin-bottom:10px}.quick-presets .library-pair-list{margin-top:0}.quick-presets [role=tabpanel]:focus-visible{outline:2px solid var(--accent);outline-offset:4px}@media(max-width:1199px){.page-shell:not([data-view=door]) .quick-presets{display:none}}:root{--surface:#fff;--canvas:#fff;--page:#f6f7f9;--surface-muted:#f8f9fb;--ink:#252c33;--muted:#64707e;--line:#dce1e7;--accent:#932c3d;--accent-soft:#f8e5eb;--accent-line:#c5909d;--warning:#884812;--warning-soft:#fff8ed;--warning-line:#cf965e;--solid-brand:#932c3d;--ruler-good:#fae9eb;--ruler-good-heading:#e9c4cc;--ruler-good-text:#7f2435;--ruler-bad:#e6e9ee;--ruler-bad-heading:#cbd1da;--ruler-bad-text:#344150;--ruler-tick:#949ba4;--ruler-grid:#ffffffd0;color-scheme:light}:root[data-theme=dark]{--surface:#1e2632;--canvas:#1e2632;--page:#151b23;--surface-muted:#26303e;--ink:#edf0f5;--muted:#b8c1cd;--line:#414d5c;--accent:#ff9dac;--accent-soft:#442d3a;--accent-line:#976270;--warning:#f3c393;--warning-soft:#3a3026;--warning-line:#b48b60;--solid-brand:#932c3d;--ruler-good:#3c2934;--ruler-good-heading:#5b3545;--ruler-good-text:#ffc4cf;--ruler-bad:#2b3543;--ruler-bad-heading:#414d5d;--ruler-bad-text:#e1e7ef;--ruler-tick:#a3afbf;--ruler-grid:#66738580;color-scheme:dark}.header-actions{flex-shrink:0;align-items:center;gap:2px;margin-left:auto;display:flex}.header-actions .help-button{margin:0}.appearance-button{min-width:44px;min-height:44px;color:var(--muted);border-radius:8px}.appearance-button:hover{background:var(--surface-muted);color:var(--accent)}.theme-settings{margin-top:20px}.theme-settings fieldset{border:0;min-width:0;padding:0}.theme-settings legend{font-size:1rem;font-weight:650}.theme-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.theme-choices label{border:1px solid var(--line);background:var(--surface-muted);cursor:pointer;text-align:center;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:96px;padding:12px 4px;font-size:.875rem;line-height:1.5;display:flex;position:relative}.theme-choices input{width:16px;height:16px;accent-color:var(--accent);position:absolute;top:8px;right:8px}.theme-choices .theme-chosen{background:var(--accent-soft);color:var(--accent);border-color:var(--accent-line);font-weight:650}.theme-choices label:focus-within{outline:3px solid var(--accent);outline-offset:3px}.theme-settings>p{color:var(--muted);margin-top:14px;font-size:.875rem;line-height:1.7}@media(max-width:1023px){.header-inner .brand{flex:1 1 0;min-width:0;max-width:none}.header-inner .header-actions{margin-left:0}}.android-app .header-inner{flex-wrap:nowrap;gap:8px}.android-app .brand{letter-spacing:1px;flex:1 1 0;min-width:0;max-width:none}.android-app .brand-caption{font-size:.625rem;line-height:1.4}.android-app .ruler-labels{width:max(100px,6.25rem);padding-left:10px}.android-app .ruler-label>span{font-size:.6875rem;line-height:1.3}.android-app .ruler-label strong{font-size:1rem;line-height:1.2}.android-app .ruler-label strong small{font-size:.625rem}.android-app .ruler-label{gap:3px}.android-app .header-inner nav{background:var(--surface)}.android-app .header-inner nav button{font-size:.75rem}.android-app .page-shell{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.download-link{background:var(--solid-brand);color:#fff;text-align:center;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:48px;margin-top:16px;padding:12px 18px;font-size:.875rem;line-height:1.5;display:inline-flex}.header-inner nav button.nav-active,.library-tabs button[aria-selected=true],.theme-choices .theme-chosen,.unit-toggle .selected,.library-pair.axis-selected,.frame-choices .chosen,.feedback-options button[aria-pressed=true]:not(:disabled){background:var(--accent-soft)}.instant-result:not(.instant-bad){background:var(--accent-soft);border-color:var(--accent-line)}.tag-good,.tag-bad,.instant-bad,.result-advice{background:var(--warning-soft)}.result-advice{border-color:var(--warning-line)}.door-result-actions button.good-text{color:var(--accent)}.door-result-actions button.bad-text{color:var(--muted)}.header-download{border:1px solid var(--accent-line);background:var(--accent-soft);min-width:44px;min-height:44px;color:var(--accent);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:8px 10px;font-size:.8125rem;font-weight:600;line-height:1.4;display:inline-flex}.header-download:hover{border-color:var(--accent)}@media(min-width:1024px)and (max-width:1199px){.header-inner{flex-wrap:wrap;gap:12px;padding-top:12px}.header-inner .brand{flex:1 1 0;min-width:0;max-width:none}.header-inner nav{order:3;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%;display:grid}.header-inner .header-actions{margin-left:0}}@media(max-width:1023px){.header-download{flex-direction:column;gap:2px;padding:5px 6px;font-size:.625rem}}.header-actions .ecosystem-bar{border:0;gap:0;max-width:none;margin:0;padding:0}@media(min-width:1200px){.header-inner{gap:16px}.header-inner nav{gap:8px}.header-actions{gap:4px}}@media(max-width:1199px){.header-inner .header-actions{flex-wrap:wrap;flex-basis:100%;justify-content:flex-end;gap:6px}.header-actions .ecosystem-back{font-size:12px}.header-inner nav{order:3}}:root{--ink:#142d42;--muted:#526477;--page:#f4f6f8;--surface-muted:#eaf0f5;--line:#d8e1e8}:root[data-theme=dark]{--page:#0c1b29;--surface:#142a3b;--canvas:#142a3b;--ink:#eef5fb;--muted:#b3c3d0;--line:#365064;--surface-muted:#20394c}button,input,select,textarea{font-family:var(--font-sans)}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}:root{color-scheme:light;--hh-bg: #f6f8fc;--hh-surface: #ffffff;--hh-text: #152b42;--hh-muted: #56687a;--hh-border: #dce4ee;--hh-navy: #102d43;--hh-primary: #185ac3;--hh-soft: #edf3fb;--hh-gold: #f8c154;--hh-shadow: 0 8px 30px #12345808;--hh-danger: #b91c1c;--hh-focus: #185ac3;--hh-button-foreground: #ffffff;--hh-font: Inter, "Segoe UI", Arial, sans-serif;--hh-font-mono: Consolas, "SFMono-Regular", monospace;--hh-radius-sm: 7px;--hh-radius-button: 8px;--hh-radius-card: 12px;--hh-radius-feature: 16px;--hh-content-width: 1200px;--hh-space-1: 4px;--hh-space-2: 8px;--hh-space-3: 12px;--hh-space-4: 16px;--hh-space-5: 20px;--hh-space-6: 24px;--hh-space-8: 32px}:root[data-theme=dark]{color-scheme:dark;--hh-bg: #0c1724;--hh-surface: #142337;--hh-text: #eff5ff;--hh-muted: #acbfd5;--hh-border: #30445d;--hh-navy: #0b1928;--hh-primary: #8fbbff;--hh-soft: #1b3049;--hh-shadow: none;--hh-danger: #fda4af;--hh-focus: #8fbbff;--hh-button-foreground: #102b43}@media(prefers-color-scheme:dark){:root:not([data-theme=light]):not([data-theme=dark]){color-scheme:dark;--hh-bg: #0c1724;--hh-surface: #142337;--hh-text: #eff5ff;--hh-muted: #acbfd5;--hh-border: #30445d;--hh-navy: #0b1928;--hh-primary: #8fbbff;--hh-soft: #1b3049;--hh-shadow: none;--hh-danger: #fda4af;--hh-focus: #8fbbff;--hh-button-foreground: #102b43}}*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth;font-size:16px}body{margin:0;min-width:280px;background:var(--hh-bg);color:var(--hh-text);font-family:var(--hh-font);font-size:1rem;line-height:1.6}a{color:var(--hh-primary);text-underline-offset:3px}button,input,select,textarea{font:inherit}button{cursor:pointer}:focus-visible{outline:3px solid var(--hh-focus);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.02em;line-height:1.25}h1{font-size:clamp(1.85rem,2.8vw,2.4rem)}h2{font-size:clamp(1.25rem,2vw,1.5rem)}h3{font-size:1.2rem}.hh-container{width:min(var(--hh-content-width),calc(100% - 32px));margin-inline:auto}.hh-skip{position:fixed;inset:-100px auto auto 12px;padding:10px 14px;border-radius:6px;background:var(--hh-gold);color:#102d43;z-index:1000}.hh-skip:focus{top:12px}.hh-header{background:var(--hh-surface);border-bottom:1px solid var(--hh-border)}.hh-header-inner{display:flex;gap:16px;min-height:78px;justify-content:space-between;align-items:center}.hh-brand{display:flex;align-items:center;gap:12px;min-width:0;color:inherit;text-decoration:none;border-radius:10px}.hh-brand:hover .hh-brand-text strong{color:var(--hh-primary)}.hh-brand-mark{display:grid;place-items:center;position:relative;width:40px;height:40px;flex:none;border-radius:10px;background:var(--hh-text);color:var(--hh-surface);font-size:.85rem;font-weight:750}.hh-brand-mark:after{content:"";position:absolute;width:8px;height:8px;top:4px;right:4px;border-radius:2px;background:var(--hh-gold)}.hh-brand-text{display:flex;flex-direction:column;min-width:0}.hh-brand-text strong{line-height:1.2;font-size:1.1rem}.hh-brand-text small{color:var(--hh-muted);font-size:.75rem;margin-top:3px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.hh-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.hh-theme-toggle{display:flex;gap:2px;align-items:center}.hh-icon-button{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid transparent;border-radius:var(--hh-radius-button);background:transparent;color:var(--hh-muted);font-size:1.2rem}.hh-icon-button:hover,.hh-icon-button[aria-pressed=true]{background:var(--hh-soft);border-color:var(--hh-border);color:var(--hh-primary)}.hh-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--hh-border);border-radius:var(--hh-radius-button);padding:8px 15px;background:var(--hh-surface);color:var(--hh-text);font-size:.9375rem;font-weight:650;text-decoration:none}.hh-btn:hover{filter:brightness(.97)}.hh-btn-primary{background:var(--hh-primary);border-color:var(--hh-primary);color:var(--hh-button-foreground)}.hh-btn-muted{background:var(--hh-bg)}.hh-main{min-height:min(70vh,720px);padding-top:28px;padding-bottom:40px}.hh-hero{margin:0 0 26px}.hh-eyebrow{text-transform:uppercase;color:var(--hh-primary);font-weight:700;font-size:.75rem;letter-spacing:.12em}.hh-hero h1{margin:8px 0 12px}.hh-hero p{max-width:740px;color:var(--hh-muted);margin:0}.hh-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:18px}.hh-card{min-width:0;border-radius:var(--hh-radius-card);background:var(--hh-surface);border:1px solid var(--hh-border);padding:24px;box-shadow:var(--hh-shadow)}.hh-card h2{margin:0 0 12px}.hh-muted{color:var(--hh-muted)}.hh-caption{font-size:.875rem;color:var(--hh-muted)}.hh-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}.hh-field{display:flex;flex-direction:column;gap:6px;font-weight:650;font-size:.9rem}.hh-field input{width:100%;min-width:0;min-height:46px;border:1px solid var(--hh-border);background:var(--hh-bg);border-radius:var(--hh-radius-sm);padding:10px 12px;color:var(--hh-text)}.hh-field input:focus{border-color:var(--hh-primary)}.hh-actions{display:flex;gap:12px;margin-top:18px}.hh-result{background:var(--hh-soft)}.hh-result-label{color:var(--hh-muted);font-size:.9rem;font-weight:600;margin-top:20px}.hh-result-number{font-family:var(--hh-font-mono);font-size:clamp(2rem,4vw,3rem);font-weight:700;line-height:1.25;overflow-wrap:anywhere;color:var(--hh-primary);margin:10px 0 24px}.hh-result-number span{font-family:var(--hh-font);font-size:1.2rem}.hh-error{color:var(--hh-danger);font-weight:600;font-size:.875rem}.hh-guide{margin-top:20px;padding:4px 0;max-width:820px}.hh-guide h2{margin-bottom:8px}.hh-guide p{margin-bottom:10px}.hh-footer{background:var(--hh-surface);border-top:1px solid var(--hh-border);color:var(--hh-muted);font-size:.85rem}.hh-footer-inner{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-block:22px}@media(max-width:800px){.hh-workspace{grid-template-columns:1fr}}@media(max-width:640px){.hh-header-inner{padding-block:12px;align-items:stretch;flex-direction:column;min-height:0}.hh-brand-text strong{font-size:1.05rem}.hh-header-actions{justify-content:space-between;gap:6px}.hh-main{padding-top:24px}.hh-card{padding:18px}.hh-field-grid{grid-template-columns:1fr;gap:12px}.hh-footer-inner{flex-direction:column;gap:8px}}@media(min-width:361px)and (max-width:640px){.hh-header-actions{justify-content:flex-end;gap:6px}.hh-lang{font-size:.84rem;padding-inline:10px}}@media(max-width:360px){.hh-brand-mark{width:34px;height:34px;border-radius:8px}.hh-lang{padding-inline:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}:root{--accent:#932c3d;--accent-soft:#f8e5eb;--accent-line:#c5909d;--ruler-good:#fae9eb;--ruler-good-heading:#e9c4cc;--ruler-good-text:#7f2435;--ruler-bad:#e6e9ee;--ruler-bad-heading:#cbd1da;--ruler-bad-text:#344150;--ruler-tick:#949ba4;--ruler-grid:#ffffffd0}:root[data-theme=dark]{--accent:#ff9dac;--accent-soft:#442d3a;--accent-line:#976270;--ruler-good:#3c2934;--ruler-good-heading:#5b3545;--ruler-good-text:#ffc4cf;--ruler-bad:#2b3543;--ruler-bad-heading:#414d5d;--ruler-bad-text:#e1e7ef;--ruler-tick:#a3afbf;--ruler-grid:#66738580}:root,:root[data-theme=dark]{--font-sans:var(--hh-font);--ink:var(--hh-text);--muted:var(--hh-muted);--page:var(--hh-bg);--surface:var(--hh-surface);--canvas:var(--hh-surface);--surface-muted:var(--hh-soft);--line:var(--hh-border)}.site-header{padding-top:env(safe-area-inset-top)}.header-inner,.page-shell{max-width:var(--hh-content-width)}.header-inner{padding-inline:24px;gap:16px}.page-shell{padding-inline:24px}.hh-brand{flex-shrink:0;min-height:44px}.header-actions{gap:6px}.header-inner nav{gap:4px}.header-inner nav button{font-size:.8125rem;padding-inline:8px}.header-inner nav button.nav-active{background:var(--hh-soft);color:var(--hh-primary)}.header-inner nav .nav-active:after{background:var(--hh-primary)}.header-download,.install-button,.download-link{background:var(--hh-soft);color:var(--hh-primary);border-color:var(--hh-border)}.save-button,.primary-button{background:var(--hh-primary);color:var(--hh-button-foreground)}.help-button,.appearance-button,.ecosystem-themes button{color:var(--hh-muted)}.ecosystem-themes button[aria-pressed=true],.ecosystem-themes button:hover{background:var(--hh-soft);border-color:var(--hh-border);color:var(--hh-primary)}.ecosystem-themes button:focus-visible{outline-color:var(--hh-focus)}.panel,.measurement-card,.result-card{border-radius:var(--hh-radius-card)}.page-heading h1{font-size:clamp(1.8rem,2.8vw,2.3rem)}.page-heading h1>span{font-size:.75rem;background:var(--hh-soft);color:var(--hh-primary)}.page-footer{font-size:.8125rem}button,input,select,textarea{font-family:var(--hh-font)}input:not([type=checkbox]):not([type=radio]),select{min-height:46px}button:focus-visible,a:focus-visible{outline-color:var(--hh-focus)}input:focus{border-color:var(--hh-primary)!important}@media(max-width:1199px){.header-inner{flex-wrap:wrap}.header-inner .header-actions{flex-basis:auto;margin-left:auto}.header-inner nav{width:100%;order:3}.page-shell{padding-inline:16px}}@media(max-width:639px){.header-inner{padding:10px 16px 0;gap:8px}.hh-brand-text strong{font-size:1rem}.hh-brand-text small{font-size:.75rem}.hh-brand-mark{width:36px;height:36px}.header-inner .header-actions{width:100%;justify-content:flex-end;gap:8px}.header-inner nav button{font-size:.75rem;min-height:48px}.header-download{font-size:.75rem;flex-direction:row}.page-heading{padding-top:4px}.panel h2{font-size:1.125rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}button,a{transition:none}}@media(max-width:767px){body{font-size:16px;line-height:1.6}.page-heading h1{font-size:clamp(28px,6vw,32px)}.page-heading p,.preset-description,.section-description{font-size:16px;line-height:1.6}.panel h2,.results-heading h2{font-size:20px;line-height:1.35}.dimension-control label,.step-controls>span,.door-fields label,.preset-main strong,.result-type,.result-card>p{font-size:15px;line-height:1.5}.preset-main small,.heading-note small,.result-bottom,.preset-tip,.subtle-text{font-size:14px;line-height:1.6}.header-inner nav button,.save-button,.primary-button,.unit-toggle button,.step-controls button,.preset-dimensions button{font-size:15px;min-height:44px;line-height:1.45}.dimension-input input,.door-fields input:not([type=checkbox]),.input-wrap input,select{font-size:17px;min-height:46px}.ruler-toolbar{font-size:13px}.panel,.dimension-input,.door-fields{min-width:0}}.hh-header{position:sticky;top:0;z-index:50}.hh-eco-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid var(--hh-primary);border-radius:8px;background:var(--hh-soft);color:var(--hh-primary);font:700 15px/1.3 var(--hh-font);cursor:pointer;white-space:nowrap}.hh-eco-trigger:hover,.hh-eco-trigger[aria-expanded=true]{background:var(--hh-primary);color:var(--hh-button-foreground)}.hh-eco-trigger svg{width:18px;height:18px;flex:none}.hh-eco-chevron{font-size:12px}.hh-eco-panel{box-sizing:border-box;position:fixed;z-index:100;width:min(600px,calc(100vw - 32px));padding:18px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--hh-border);border-radius:14px;background:var(--hh-surface);color:var(--hh-text);box-shadow:0 18px 60px #06192b40;font-family:var(--hh-font)}.hh-eco-panel-title{display:flex;flex-wrap:wrap;gap:4px;align-items:baseline;margin-bottom:14px;font-size:18px;font-weight:800}.hh-eco-panel-title>span{color:var(--hh-primary)}.hh-eco-panel-title>small{flex-basis:100%;margin-top:4px;color:var(--hh-muted);font-size:13px;font-weight:500}.hh-eco-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hh-eco-tool{display:flex;align-items:flex-start;gap:10px;padding:12px;min-height:80px;box-sizing:border-box;border:1px solid var(--hh-border);border-radius:9px;color:var(--hh-text);background:var(--hh-bg);text-decoration:none}.hh-eco-tool:hover,.hh-eco-tool[aria-current=page]{border-color:var(--hh-primary);background:var(--hh-soft)}.hh-eco-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:8px;color:var(--hh-primary);background:var(--hh-soft)}.hh-eco-tool-copy{display:flex;align-items:flex-start;flex-direction:column;min-width:0}.hh-eco-tool strong{display:block;font-size:15px;line-height:1.4;font-weight:700;overflow-wrap:anywhere}.hh-eco-tool small{display:block;margin-top:4px;font-size:13px;line-height:1.5;color:var(--hh-muted)}.hh-eco-current{display:inline-block;margin-top:8px;padding:3px 7px;border-radius:5px;background:var(--hh-primary);color:var(--hh-button-foreground);font-size:12px;line-height:1.5;font-weight:700}.hh-eco-explore{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;min-height:44px;margin-top:14px;padding:12px;border-radius:8px;color:var(--hh-primary);background:var(--hh-soft);font-size:14px;font-weight:700;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}.hh-eco-panel a:focus-visible,.hh-eco-trigger:focus-visible{outline:3px solid var(--hh-focus);outline-offset:3px}.hh-eco-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:430px){.hh-eco-trigger{gap:6px;padding-inline:8px}.hh-eco-panel{padding:12px}.hh-eco-grid{gap:8px}.hh-eco-tool{flex-direction:column;gap:8px;padding:10px}.hh-eco-tool strong{font-size:15px}}@media print{.hh-eco-switcher,.hh-eco-panel{display:none!important}}.hh-eco-panel{display:flex;flex-direction:column;overflow:hidden}.hh-eco-panel-title,.hh-eco-explore{flex-shrink:0}.hh-eco-grid{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:3px;margin:-3px}.hh-eco-grid{grid-auto-rows:max-content;align-content:start}header.hh-eco-host{position:sticky;top:0;z-index:50;height:auto}.hh-eco-host.hh-eco-header-row,.hh-eco-host .hh-eco-header-row{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:12px 16px}.hh-eco-host .hh-eco-switcher{min-width:0}.hh-eco-host .hh-eco-actions{display:flex;flex-wrap:nowrap;align-items:center;width:auto;margin:0;gap:6px;justify-self:end;justify-content:flex-end}.hh-eco-host .hh-eco-actions .hh-eco-themes{display:flex;flex-wrap:nowrap;align-items:center;gap:2px}.hh-eco-host .hh-eco-actions .hh-eco-themes .hh-eco-theme{display:grid;place-items:center;box-sizing:border-box;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--hh-muted);font:400 20px/1 var(--hh-font)}.hh-eco-host .hh-eco-actions .hh-eco-themes .hh-eco-theme:hover,.hh-eco-host .hh-eco-actions .hh-eco-themes .hh-eco-theme[aria-pressed=true]{background:var(--hh-soft);border-color:var(--hh-border);color:var(--hh-primary)}.hh-eco-host .hh-eco-actions .hh-eco-theme svg{width:20px;height:20px;margin:0}.hh-eco-host .hh-eco-actions .hh-eco-language{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 68px;width:68px;min-width:68px;min-height:44px;padding:6px;border:1px solid var(--hh-border);border-radius:8px;background:var(--hh-bg);color:var(--hh-text);font:700 13px/1.3 var(--hh-font);white-space:nowrap}.hh-eco-host .hh-eco-actions button:focus-visible{outline:3px solid var(--hh-focus);outline-offset:2px}.hh-eco-host .hh-brand{min-width:0}.hh-eco-host .hh-eco-header-row>nav:not(.hh-eco-actions){grid-column:1 / -1;grid-row:2;width:100%;order:initial;justify-content:center}.hh-eco-host .hh-eco-loban-row{grid-template-columns:auto auto minmax(0,1fr) auto}.hh-eco-brand-row{display:contents}.hh-eco-host .hh-eco-loban-row .hh-brand{grid-column:1;grid-row:1}.hh-eco-brand-extras{display:flex;align-items:center;gap:4px;grid-column:4;grid-row:1}.hh-eco-host .hh-eco-loban-row>.hh-eco-switcher{grid-column:2;grid-row:1}.hh-eco-host .hh-eco-loban-row>.hh-eco-actions{grid-column:3;grid-row:1}@media(max-width:1000px){.hh-eco-host.hh-eco-header-row,.hh-eco-host .hh-eco-header-row{grid-template-columns:minmax(0,1fr) auto;gap:10px 8px;padding-block:12px}.hh-eco-host .hh-brand{grid-column:1 / -1;grid-row:1}.hh-eco-host .hh-eco-switcher,.hh-eco-host .hh-eco-loban-row>.hh-eco-switcher{grid-column:1;grid-row:2}.hh-eco-host .hh-eco-actions,.hh-eco-host .hh-eco-loban-row>.hh-eco-actions{grid-column:2;grid-row:2}.hh-eco-host .hh-eco-trigger{width:100%;max-width:160px;min-width:0;white-space:normal;padding:6px 8px;gap:6px}.hh-eco-host .hh-eco-trigger>span:not(.hh-eco-chevron){min-width:0}.hh-eco-host .hh-eco-header-row>nav:not(.hh-eco-actions){grid-row:3}.hh-eco-brand-row{display:flex;grid-column:1 / -1;grid-row:1;align-items:center;justify-content:space-between;gap:8px;min-width:0}.hh-eco-brand-extras{flex:none}.hh-eco-brand-extras .header-download,.hh-eco-brand-extras .help-button{display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0}.hh-eco-brand-extras span{display:none}}@media(max-width:340px){.hh-eco-host .hh-eco-actions{gap:2px}.hh-eco-host .hh-eco-actions .hh-eco-themes{gap:0}.hh-eco-host .hh-eco-actions .hh-eco-language{flex-basis:64px;width:64px;min-width:64px}.hh-eco-brand-row .hh-brand{gap:8px}.hh-eco-brand-row .hh-brand-text strong{font-size:15px}.hh-eco-brand-extras{gap:0}}
