/* LURPES: compact, product-focused planning interface. */
:root{--ink:#303a34;--muted:#68716b;--paper:#fafaf9;--line:#dedfdb;--warm:#f0f0ed;--gold:#767a70;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body{background:var(--paper)}header{height:65px;padding:0 28px;background:#fff}.logo{font-family:var(--font);font-size:23px;font-weight:550;letter-spacing:3px;gap:10px}.logo small{letter-spacing:1.7px;font-size:8px}.logo svg{width:25px;height:30px}.header-actions{gap:8px}.header-actions .quiet{font-size:12px;min-height:36px;padding:8px 10px}
main{padding:21px 28px 24px}.intro{margin-bottom:15px;gap:16px}h1,h2{font-family:var(--font);letter-spacing:0;font-weight:550}h1{font-size:25px}h2{font-size:21px;line-height:1.3}.save-status{font-size:11px;color:#757c75}.eyebrow{font-size:10px;letter-spacing:.7px;color:#70786f}.steps{max-width:900px;gap:24px;margin-bottom:20px}.steps button{font-size:12px;padding:10px 0;gap:9px;border-color:#e0e3de}.steps span{font-size:11px;letter-spacing:0;color:#899087}.steps [aria-current] span{color:var(--ink)}
.workspace{grid-template-columns:minmax(0,1fr) 390px;gap:18px}.preview{background:#f0f1ee;border-radius:5px}.board-toolbar{padding:9px 11px;background:#fff}.view-tabs{background:#f0f1ed;border-radius:4px;padding:2px}.view-tabs button{min-height:34px;font-size:11px}.view-tabs .active{box-shadow:none;border:1px solid #dedfda}.board-badge{font-size:9px;letter-spacing:.5px;color:#81877e}.empty-title{font-family:var(--font);font-size:18px;font-weight:500}.preview-footer{background:#fff;padding:0 13px}.preview-footer p{font-size:11px}.plan-legend{background:#fafbf8;font-size:10px;gap:13px;padding:9px 13px}.key.clearance{background:transparent}.sidebar{border-radius:5px}.sidebar-scroll{padding:22px 20px 28px}.step-help{font-size:12px;line-height:1.65;margin:10px 0 20px}.sidebar-footer{background:#fff;padding:14px 20px 12px}.price-line{margin-bottom:11px;font-size:12px}.price-line strong{font-size:21px;font-weight:550}.price-line small{font-size:10px}.footer-note{font-size:9px;text-align:left;line-height:1.5}.primary,.outline,.quiet,.icon-button{border-radius:4px}.primary{min-height:44px;font-size:12px}.outline{border-color:#d0d4cd;font-size:12px;background:#fff}.outline:hover,.quiet:hover,.icon-button:hover{background:#eff1ec}.text-button{font-size:12px;text-decoration:none;color:#526858}.text-button:hover{text-decoration:underline}.note{background:#f4f5f1;padding:11px 12px;border-radius:4px}.note p,.small{font-size:11px;line-height:1.65}.note i{color:#798472}label{font-size:12px}input:not([type=checkbox]):not([type=range]):not([type=file]),select{border-color:#d3d7ce;border-radius:4px}select{padding-right:42px}.field-row{gap:12px}summary{font-size:12px;padding:15px 0}.quantity-step{padding-bottom:15px}.quantity-step>label{font-size:13px;margin-bottom:15px}.quantity-control{height:68px;max-width:240px;grid-template-columns:44px 1fr 44px;gap:4px;padding:8px 8px 20px;border-radius:5px;box-shadow:none;margin:15px 0}.quantity-control input{font-size:26px!important;height:36px;min-height:36px;letter-spacing:0}.quantity-control button{height:36px;width:36px;min-height:36px;border-radius:4px;background:#f3f4ef}.quantity-unit{bottom:5px;font-size:9px}.quantity-step .small{margin-top:12px}#quantityFit,.fit-status{border-radius:4px;padding:12px;font-size:12px;background:#eef3ec;border-color:#d5dfd0}#quantityFit p{font-size:11px}.starter-summary{background:#fafbf8;border-radius:4px;padding:12px}.starter-product img{width:62px;height:62px;background:#f0f1eb}.starter-product strong{font-size:12px;font-weight:500}.starter-product p,.starter-product small{font-size:10px}.starter-summary .eyebrow{font-size:9px;letter-spacing:.3px}.item-row img{width:46px;height:46px}.item-copy strong{font-size:12px;font-weight:500}.item-copy small{font-size:10px}.inspector{background:#fafbf7;border-radius:4px}.inspector p{font-size:11px}
.product-grid{gap:14px 12px}.product-card{border-radius:4px;transition:border-color .15s}.product-card:hover{box-shadow:none;border-color:#8a9986}.product-card img{background:#f4f4ef}.product-card strong{font-size:12px;font-weight:500;min-height:36px}.product-card small{font-size:10px}.product-card .card-price{font-size:12px}.category-tabs{gap:6px}.category-tabs button{border-radius:4px;font-size:11px;padding:8px 10px}.section-head span{font-size:10px}.download-block{padding:14px;background:#fafbf8;border-radius:4px}.review-stats{background:#fafbf7;border-radius:4px}.review-stats strong{font-size:23px;font-weight:550}.review-stats small{font-size:10px}.purchase-row p{font-size:11px}.confirmation{font-size:12px}
dialog{background:#fff;border-radius:8px;max-height:90dvh;padding:22px;box-shadow:0 16px 80px #17241b33}dialog::backdrop{background:#202a2566;backdrop-filter:none}.modal-heading h2{font-size:22px}.modal-heading{align-items:center;margin-bottom:18px}.picker-image{height:210px;background:#f4f4ef}.picker-options label{font-size:12px}.picker-meta{background:#f5f6f2;font-size:12px;border-radius:4px}.picker-price{font-size:21px}.chair-selection{background:#fafbf8;border-radius:4px;padding:13px}.chair-parent{background:#f7f8f4;border-radius:4px}.chair-products{gap:12px}.chair-card{border-radius:4px;overflow:hidden}.chair-card strong{font-size:12px}.chair-selected-row strong{font-size:12px}.chair-selected-row small{font-size:11px}.chair-footer{background:#fff}.toast{background:#303a34;font-size:12px}.mobile-workspace-tabs{display:none}
@media(min-width:761px){main{height:calc(100dvh - 65px)}.workspace{min-height:0}.preview{position:relative;top:auto}.sidebar-scroll{scrollbar-color:#aeb5a9 #f5f6f1}}
@media(min-width:761px) and (max-width:1050px){header{padding:0 18px}main{padding:18px}.workspace{grid-template-columns:minmax(0,1fr) 340px;gap:14px}.tools .quiet{padding:8px}.tools .quiet span{display:none}.sidebar-scroll{padding:18px 16px}.sidebar-footer{padding:12px 16px}.steps{gap:16px}.board-toolbar{gap:4px}}
@media(max-width:760px){
 body{height:100dvh;overflow:hidden}header{height:58px;padding:0 14px;flex-shrink:0}.logo{font-size:19px;letter-spacing:2px}.logo small{font-size:7px;letter-spacing:1px}.logo svg{width:22px;height:26px}.header-actions{gap:0}.header-actions .quiet{width:42px;height:44px;min-height:44px;padding:10px}.header-actions .quiet span,.shop-link{display:none!important}main{height:calc(100dvh - 58px);display:flex;flex-direction:column;padding:0 12px;min-height:0}.intro{display:none}.steps{flex-shrink:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:8px 0 0;max-width:none}.steps button{font-size:10px;min-height:44px;gap:4px;line-height:1.35;padding:8px 0;white-space:normal}.steps span{font-size:10px}.mobile-workspace-tabs{display:flex;flex-shrink:0;gap:4px;background:#eceee8;padding:3px;margin:12px 0;border-radius:5px}.mobile-workspace-tabs button{flex:1;min-height:40px;padding:8px 12px;font-size:12px;border-radius:3px}.mobile-workspace-tabs [aria-pressed=true]{background:#fff;color:#2d3c31;font-weight:550;box-shadow:0 1px 2px #00000008}.workspace{display:flex;flex-direction:column;flex:1;height:auto;max-height:none;min-height:0;gap:0}.sidebar{display:contents}.sidebar-scroll{min-height:0;flex:1;overflow-y:auto;padding:6px 4px 24px;scrollbar-gutter:auto;overscroll-behavior:contain}.sidebar-scroll h2{font-size:21px}.sidebar-scroll #stepNumber{display:none}.step-help{margin:9px 0 20px}.sidebar-footer{order:3;flex-shrink:0;padding:11px 2px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #dce1d8;background:var(--paper)}.price-line{margin-bottom:9px;font-size:11px}.price-line strong{font-size:20px}.price-line small{font-size:10px;max-width:240px}.flow-buttons{gap:8px}.flow-buttons button{min-height:46px;font-size:12px}.footer-note{font-size:9px;margin-top:6px;line-height:1.4}.preview{display:none;position:relative;top:auto;flex:1;min-height:0;max-height:none;height:auto;margin:0 0 10px;border-radius:5px}body[data-mobile-view=layout] .preview{display:flex}body[data-mobile-view=layout] .sidebar-scroll{display:none}.board-toolbar{padding:6px;gap:3px;flex-wrap:wrap}.tools{gap:0}.tools .quiet{padding:8px;font-size:11px;min-height:40px}.tools .icon-button{min-width:38px;min-height:40px;padding:9px}.tools .quiet span{display:none}.view-tabs button{min-height:38px;padding:8px;font-size:11px}.board{min-height:100px}.board-badge{top:10px;left:10px;font-size:8px}.preview-footer{padding:0 9px;gap:8px;min-height:36px}.preview-footer p{font-size:10px;margin:7px 0}.preview-footer>span{font-size:9px}.plan-legend{padding:7px 9px;gap:10px;font-size:9px}.selection-toolbar{padding:6px;gap:4px}.selection-toolbar>span{width:100%;font-size:11px;margin:0 0 3px}.selection-toolbar button{min-height:42px;font-size:11px;padding:8px}.selection-toolbar .icon-button{min-width:42px}.empty-hint{bottom:20px}.empty-title{font-size:16px}.field-row{gap:10px}.field-row>*{min-width:0}input:not([type=checkbox]):not([type=range]):not([type=file]),select{font-size:16px;min-height:46px;padding:10px 12px}select{padding-right:36px;background-position:right 12px center}label{font-size:12px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.category-tabs button{white-space:nowrap;min-height:42px;flex-shrink:0}.button-row{flex-wrap:wrap}.button-row .outline{min-height:44px}.small,.note p{font-size:12px}.review-stats strong{font-size:22px}.review-stats small{font-size:11px}
 dialog,.catalog-modal,.chair-modal{width:100%;max-width:none;height:94dvh;max-height:94dvh;margin:auto 0 0;padding:18px 16px calc(20px + env(safe-area-inset-bottom));border-radius:10px 10px 0 0;overflow-y:auto}.modal-heading{position:sticky;top:-18px;margin:-18px -16px 18px;padding:14px 16px;background:#fff;border-bottom:1px solid var(--line);z-index:4}.modal-heading h2{font-size:20px}.modal-heading .icon-button{min-width:44px;min-height:44px}.catalog-modal .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.picker-image{height:180px}.chair-products{grid-template-columns:1fr}.chair-card{display:grid;grid-template-columns:90px minmax(0,1fr)}.chair-card>img{width:90px;height:100%;max-height:220px}.chair-card>div{padding:12px}.chair-card select{font-size:16px;max-width:100%}.chair-card-actions{flex-wrap:wrap}.chair-card-actions button{min-height:44px}.chair-card-actions label{max-width:80px}.chair-selected-row{gap:8px;flex-wrap:wrap}.chair-selected-row>div{min-width:130px}.chair-selected-row input{font-size:16px}.chair-footer{position:sticky;bottom:calc(-20px - env(safe-area-inset-bottom));margin:20px -16px calc(-20px - env(safe-area-inset-bottom));padding:12px 16px calc(12px + env(safe-area-inset-bottom));gap:8px;background:#fff;z-index:3}.chair-footer button{flex:1;min-height:46px;font-size:12px;padding:9px}.download-block .button-row{flex-wrap:wrap}.download-block .outline{min-height:44px;font-size:11px}.confirmation{font-size:12px}.toast{bottom:calc(125px + env(safe-area-inset-bottom));max-width:calc(100% - 24px);padding:12px 16px}
}
@media(max-width:360px){.steps{gap:5px}.steps button{font-size:9px;gap:3px}.steps span{font-size:9px}.price-line small{max-width:185px}.view-tabs button{font-size:10px;padding:7px}.tools .icon-button{min-width:34px;padding:7px}.flow-buttons button{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.intro h1{font-size:25px}
@media(max-width:760px){.intro{display:flex;flex-shrink:0;margin:7px 0 0;min-height:15px}.intro>div{display:none}.save-status{font-size:10px;margin:0;color:#70786f}.sidebar-footer{position:relative;bottom:auto;box-shadow:none}.sidebar-scroll .outline{min-height:44px}.sidebar-scroll .text-button{min-height:44px}.steps{padding-top:3px}}
/* Keep controls reachable on short screens and when the keyboard reduces space. */
@media(max-width:760px) and (max-height:480px){body{height:auto;overflow-y:auto}main{height:auto;min-height:calc(100dvh - 58px)}.intro{display:none}.workspace{min-height:380px}.sidebar-scroll{min-height:210px;max-height:55dvh}.preview{min-height:280px}.sidebar-footer{position:sticky;bottom:0;z-index:3}.mobile-workspace-tabs{margin:8px 0}.steps button{min-height:38px}}
