/* Simple estimator: project, rooms, other options, side-by-side summary. Uses the Everest palette from estimator.css. */
.icon-btn{min-width:44px;min-height:44px;border:1px solid #b3bdc7;background:#fff;border-radius:9px;color:var(--blue);font-size:18px;line-height:1;cursor:pointer;padding:0}
.icon-btn.small{min-width:44px}
.icon-btn.danger{color:#9b2c2c;border-color:#d9b3b3}
.field-label{font-size:12px;font-weight:650;color:var(--muted)}
.rooms-panel input.num{width:8ch;min-width:0;min-height:44px;padding:6px 8px;border:1px solid #bdcbd5;border-radius:8px;font:inherit;font-size:16px;text-align:center;background:#fff}
.seg{display:inline-flex;border:1px solid #b3bdc7;border-radius:9px;overflow:hidden;background:#fff}
.seg-btn{min-height:44px;padding:8px 14px;border:0;border-right:1px solid #d4dde4;background:#fff;color:var(--ink);font:inherit;font-size:14px;font-weight:650;cursor:pointer;white-space:nowrap}
.seg-btn:last-child{border-right:0}
.seg-btn.active{background:var(--blue);color:#fff}
.dims{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
.dims .times{padding-bottom:12px;color:var(--muted)}
.dims-ft{padding-bottom:12px;font-size:13px;color:var(--muted);white-space:nowrap}
.unit{font-size:13px;color:var(--muted)}
.small-btn{min-height:44px;padding:8px 14px}
.style-grid{position:relative;display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px;max-height:216px;overflow-y:auto;padding:2px 4px 2px 2px;border:1px solid var(--line);border-radius:10px;background:#fafbfb;scrollbar-width:thin;scroll-snap-type:y proximity;overscroll-behavior:contain}
.stylecard{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;min-height:92px;padding:6px 4px 5px;border:1px solid #d4dfe5;border-radius:10px;background:#fff;color:var(--ink);font:inherit;cursor:pointer;scroll-snap-align:start}
.stylecard img{width:64px;height:48px;object-fit:contain;background:#f8f9f7;border-radius:6px}
.stylecard span{font-size:12px;line-height:1.15;font-weight:650;text-align:center;overflow-wrap:anywhere}
.stylecard:hover{border-color:#7895a6}
.stylecard.selected{border:2px solid var(--blue);background:#f0f6f9;padding:5px 3px 4px;box-shadow:0 0 0 2px #c9dbe6}
.stylecard.selected::after{content:'✓';position:absolute;top:3px;right:5px;width:18px;height:18px;border-radius:50%;background:var(--blue);color:#fff;font-size:12px;line-height:18px;text-align:center}
.size-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sizechoices{display:flex;flex-wrap:wrap;gap:6px}
.sizechoices .sizechoice{min-height:44px;min-width:56px;padding:6px 10px}
.hint{font-size:13px;color:var(--muted)}
.btn.danger{color:#9b2c2c;border-color:#d9b3b3}
.langswitch{text-align:right;margin:-6px 0 6px}
.langlink{display:inline-block;padding:10px 14px;min-height:44px;line-height:24px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--blue);font-weight:650;text-decoration:none}
.langlink:hover{border-color:#7895a6}
.seg{max-width:100%}
.seg-btn{min-height:44px;padding:8px 12px;border:0;border-right:1px solid #d4dde4;background:#fff;color:var(--ink);font:inherit;font-size:14px;font-weight:650;cursor:pointer;line-height:1.15;text-align:center}
.seg-btn:last-child{border-right:0}
.seg-btn.active{background:var(--blue);color:#fff}
.seg{max-width:100%}
.panel label.field{display:grid;gap:3px;font-size:13px;font-weight:650;color:var(--muted)}
.panel input.num,.proj-name input{min-height:44px;padding:6px 8px;border:1px solid #bdcbd5;border-radius:8px;font:inherit;font-size:16px;background:#fff;color:var(--ink)}
.panel input.num{width:8ch;min-width:0;text-align:center}
.proj-name input{width:100%;max-width:420px}
.picker{display:grid;gap:10px;justify-items:start;max-width:100%}
.proj-panel .style-grid,.own .style-grid,.compare-panel .style-grid{width:100%;max-width:760px}
.intro{margin:0 0 10px;font-size:15px;color:var(--ink);max-width:62ch}
.room-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:10px 0;align-items:start}
.room{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.room-head{display:flex;align-items:center;gap:6px;padding:4px 6px;background:var(--blue2)}
.room-name{flex:1 1 auto;min-width:0;max-width:26ch;min-height:44px;padding:6px 10px;border:1px solid #bdcbd5;border-radius:8px;font:inherit;font-size:16px;font-weight:650;background:#fff}
.room-head .icon-btn:first-of-type{margin-left:auto}
.icon-btn{min-width:44px;min-height:44px;border:1px solid #b3bdc7;background:#fff;border-radius:9px;color:var(--blue);font-size:18px;line-height:1;cursor:pointer;padding:0}
.icon-btn.danger{color:#9b2c2c;border-color:#d9b3b3}
.room-body{display:grid;gap:6px;padding:8px 12px 2px;justify-items:start}
.chk{display:flex;align-items:center;gap:8px;min-height:44px;font-size:15px;cursor:pointer}
.chk input{width:22px;height:22px;flex:none}
.dims{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
.dims .times{padding-bottom:12px;color:var(--muted)}
.wall-line{display:flex;align-items:flex-end;gap:8px}
.wall-line .icon-btn{align-self:flex-end}
.room-tools{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}
.room-summary{margin:0;font-size:14px;font-weight:650;color:var(--blue);min-height:1.3em}
.linklike{margin:0 12px 6px;padding:10px 2px;min-height:44px;border:0;background:none;color:var(--blue);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}
.own{margin:0 12px 10px;padding:12px;border:1px dashed #9fb6c4;border-radius:10px;display:grid;gap:10px;justify-items:start;background:#fafcfd}
.est-heading{font-size:20px;line-height:1.35;margin:0 0 10px;color:var(--ink);font-weight:700;cursor:default;-webkit-user-select:text;user-select:text}
.compare-panel{display:grid;gap:10px;justify-items:start}
.compare-panel h2,.compare-panel h3{margin:0}
.compare-panel .sizechoice[aria-disabled=true]{opacity:.75;cursor:default}
.stylecard .yours{font-style:normal;font-size:10px;color:var(--blue);font-weight:700}
.sizechoices .sizechoice{min-height:44px;min-width:56px;padding:6px 10px}
.summary-panel .opt-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;font-size:14px!important;align-items:start}
.summary-panel .opt-card{width:auto!important;margin:0!important}
.summary-panel table{max-width:100%}
.summary-panel .est-title{overflow-wrap:anywhere}
.job-report h3{font-size:15px;margin:20px 0 8px}
@media(max-width:600px){
 .style-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));max-height:200px}
 .summary-panel .opt-grid{grid-template-columns:minmax(0,1fr)}
 .summary-panel table{font-size:12px}
}

.extra-grid input{min-height:44px}

.chk-hint{margin:-6px 0 0 30px;font-size:12px;line-height:1.3;color:var(--muted)}
.own .own-back{margin:0;padding:6px 2px}

/* page cleanup: one gap size between sections and cards, a tighter top, the language link level with the brand name, a slim help banner */
:root{--gap:14px}
@media(max-width:600px){:root{--gap:10px}}
.wrap{position:relative;padding-top:12px}
.langswitch{position:absolute;top:12px;right:18px;margin:0;z-index:2}
@media(max-width:700px){.langswitch{right:12px}}
header{padding:0 0 var(--gap)}
.eyebrow{display:flex;align-items:center;justify-content:center;min-height:46px;padding:0 100px}
.h1{margin:0;line-height:1.12}
.sub{margin:6px 0 0}
.steps{margin:0 0 var(--gap);gap:var(--gap)}
.panel{margin-bottom:var(--gap)}
.room-list{gap:var(--gap)}
@media(max-width:380px){.eyebrow{letter-spacing:2px;padding:0 92px}}
.helpbar{margin:0 0 var(--gap);border-radius:10px;background:var(--blue);color:#fff;box-shadow:0 2px 8px #223b4d14}
.helpbar summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 14px;cursor:pointer;list-style:none;font-weight:650;font-size:15px;line-height:1.25}
.helpbar summary::-webkit-details-marker{display:none}
.helpbar summary:focus-visible{outline:3px solid #e3cda6;outline-offset:2px;border-radius:10px}
.helpbar-title{flex:1}
.helpbar-chev{flex:none;transition:transform .15s}
.helpbar[open] .helpbar-chev{transform:rotate(180deg)}
.helpbar ul{margin:0;padding:2px 16px 14px 36px;display:grid;gap:6px;font-size:14px;line-height:1.4}
.helpbar li::marker{color:#e3cda6}

.ll-short{display:none}
/* phones: brand name at the very top and centred, a small FR / EN link level with it; one compact gap everywhere; 44 px targets kept */
@media(max-width:600px){
 .wrap{padding:0 12px 56px}
 .langswitch{top:0;right:4px}
 .langlink{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 10px;border:0;background:transparent;box-shadow:none;font-size:14px;letter-spacing:.5px}
 .ll-full{display:none}.ll-short{display:inline;font-weight:750}
 .eyebrow{min-height:44px;padding:0 56px}
 main.wrap>header{padding:0 0 var(--gap)}
 .panel{padding:14px}
 .panel h2{margin:0 0 4px}
 .proj-panel .proj-name .hint{margin:0}
 .picker{gap:6px}
 .proj-panel .small{margin:0}
 .size-row{gap:6px 10px}
 .sizechoices{margin:0;gap:6px}
 .proj-panel .field-label,.compare-panel .field-label{margin:0}
 .intro{margin:0 0 6px}
 .room-list{margin:6px 0}
 .room-body{gap:4px;padding:6px 12px 0}
 .room-tools{gap:8px;align-items:flex-end}
 .room-summary{min-height:0}
 .chk{min-height:44px}
 .chk-hint{margin:-8px 0 0 30px}
 .linklike{margin:0 12px;padding:0 2px;min-height:44px;display:flex;align-items:center}
 .own{margin:0 12px 8px;padding:10px;gap:6px}
 .own .own-back{margin:0}
 .helpbar summary{padding:6px 12px}
 .panel h2[data-content="text50"]{margin:0 0 2px}
 .panel h2[data-content="text50"]+p{margin:0 0 8px}
 .panel > a.btn{margin:4px 8px 0 0!important}
 .panel > p.small:empty{display:none}
 #estimator-faq p{margin:0 0 8px}
 #estimator-faq h2{margin:10px 0 2px}
 #estimator-faq h2:first-child{margin-top:0}
}
@media(min-width:700px){.room-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.room-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
.room-name{max-width:none}
.room .dims{gap:6px}
.room-tools{gap:10px}
.room-tools .small-btn{padding:8px 12px;white-space:nowrap}

/* missing measurements (shown only after the customer has left the room): red outline, and a short message in a line whose space is always reserved, so nothing moves */
.num.invalid{border-color:#b3261e;box-shadow:0 0 0 1px #b3261e;background:#fff8f7}
.room-miss{margin:6px 0 0;font-size:13px;line-height:1.3;color:#b3261e;font-weight:600}
.room-miss[hidden]{display:none}
.miss-note{margin:0 0 var(--gap,14px);padding:10px 14px;border:1px solid #e0b4b0;border-radius:12px;background:#fdeeed;color:#8a1f17;font-weight:600;font-size:14px}
.miss-note[hidden]{display:none}

/* units switch, feet + inches boxes, one tidy room-card grid (same small gap between every row) */
.units-row{margin:0 0 8px}
.units-row .seg-btn{min-height:40px;padding:6px 14px;font-size:13.5px}
.rooms-panel input.num{-moz-appearance:textfield;appearance:textfield}
.rooms-panel input.num::-webkit-outer-spin-button,.rooms-panel input.num::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.rooms-panel input.num::placeholder{color:#a9b3bb;opacity:1}
.rooms-panel input.num.big{width:calc(3ch + 20px)}
.rooms-panel input.num.small{width:calc(4ch + 20px)}
.rooms-panel input.num.hgtbox{width:calc(4ch + 20px)}
.rooms-panel input.num{padding:6px 4px;box-sizing:border-box;min-width:44px}
.meas{display:grid;gap:3px;justify-items:start;align-content:start;font-size:12px;font-weight:650;color:var(--muted)}
.meas-label{display:block;line-height:1.2;white-space:nowrap}
.meas-boxes{display:flex;gap:4px}
.room-body{display:grid;gap:8px;padding:8px 12px 8px;justify-items:start}
.chk-block{display:grid;gap:0;justify-items:start}
.chk{min-height:36px}
.chk-hint{margin:-2px 0 0 30px;font-size:12px;line-height:1.3}
.dims{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 12px}
.room-summary{margin:0;min-height:0}
.room-summary:empty{display:none}
.room-miss{margin:0}
.linklike{margin:0;padding:0 2px;min-height:36px;display:flex;align-items:center}
.own{margin:0;padding:10px;gap:8px;width:100%;box-sizing:border-box}
.own .own-back{margin:0}
.small-btn{min-height:44px;padding:8px 14px}
@media(max-width:600px){.room-body{gap:8px;padding:8px 12px}.chk-hint{margin:-2px 0 0 30px}.linklike{margin:0;padding:0 2px;min-height:36px}.own{margin:0;padding:10px;gap:8px}}
.room-list{align-items:start}
/* the Add room card: last card of the grid, same footprint as a room card */
.room-add.add-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;align-self:stretch;min-height:200px;padding:16px;border:2px dashed #9fb6c4;border-radius:12px;background:#fafcfd;color:var(--blue);font:inherit;font-size:24px;font-weight:700;cursor:pointer;box-shadow:none}
.room-add.add-card:hover,.room-add.add-card:focus-visible{background:#f0f6f9;border-color:var(--blue)}
@media(max-width:699px){.room-add.add-card{min-height:130px}}
/* light cove wording line and picture cards: same small gap as the rest of the page */
.picker{gap:8px}
.picker .hint,.compare-panel .hint{margin:0}
.cardwrap{position:relative;display:flex}
.cardwrap .stylecard{flex:1;min-width:0}
.stylecard .dim{font-size:11px;line-height:1.15;color:var(--muted);text-align:center}
.zoom-btn{position:absolute;top:3px;left:3px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid #c5d2db;border-radius:50%;background:rgba(255,255,255,.94);color:var(--blue);cursor:pointer}
.zoom-btn:hover,.zoom-btn:focus-visible{border-color:var(--blue);background:#fff}
.zoom-btn::after{content:'';position:absolute;inset:-7px}
html.zoom-open{overflow:hidden}
.zoom-overlay{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(20,32,42,.74)}
.zoom-overlay[hidden]{display:none}
.zoom-panel{display:flex;flex-direction:column;width:min(760px,100%);max-height:100%;background:#fff;border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.35);overflow:hidden}
.zoom-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:10px 10px 8px 16px}
.zoom-head h3{margin:6px 0 0;font-size:20px;line-height:1.2}
.zoom-dim{margin:2px 0 0;font-size:14px;color:var(--muted)}
.zoom-close{flex:none;font-size:20px}
.zoom-img{overflow:auto;touch-action:pinch-zoom pan-x pan-y;padding:0 12px 14px;-webkit-overflow-scrolling:touch}
.zoom-img img{display:block;width:100%;height:auto;border-radius:8px;background:#f8f9f7}
@media(max-width:600px){.zoom-overlay{padding:0;align-items:flex-end}.zoom-panel{width:100%;border-radius:14px 14px 0 0}}
/* cards are wide enough for Length, Width and Ceiling height on one row; narrower screens get one column and the ceiling drops to its own row */
.room-list{grid-template-columns:repeat(auto-fill,minmax(min(370px,100%),1fr))}
.chk input{margin:0}
.rooms-panel input.num{padding:6px 3px}
.rooms-panel input.num.big{width:calc(3ch + 14px)}
.rooms-panel input.num.small,.rooms-panel input.num.hgtbox{width:calc(4ch + 14px)}
.dims{gap:8px 10px}
.wall-line{display:flex;align-items:flex-end;gap:8px}

/* "Length × Width   Ceiling height": tight feet/inches pairs, a clear × between Length and Width, a wider gap before the ceiling; no × when walls are entered separately */
.meas-boxes{gap:2px}
.dims .times{align-self:flex-end;display:flex;align-items:center;height:44px;padding:0;font-size:20px;line-height:1;color:var(--muted)}
.dims.sized{gap:8px 8px}
.dims.sized .hgt{margin-left:8px}
@media(max-width:440px){.dims.sized .hgt{margin-left:0}.dims.sized{gap:8px 6px}}

/* bolder style names and sizes; selected size in the brand colour */
.stylecard span{font-weight:800;font-size:12.5px;color:var(--ink)}
.sizechoices .sizechoice{font-size:15px;font-weight:800;color:#18262f;border-color:#8ea4b3}
.sizechoices .sizechoice.active,.sizechoices .sizechoice[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#fff}
/* the comparison question: a bold dark panel; the options open inside a white box within it */
.compare-panel{background:var(--blue);color:#fff;border:0;border-radius:16px;box-shadow:0 6px 18px rgba(36,77,104,.28);padding:16px 18px;margin:calc(var(--gap) * .5) 0 calc(var(--gap) * 1.2);gap:8px}
.compare-panel h2{display:flex;align-items:center;gap:10px;margin:0;color:#fff;font-size:22px;font-weight:800;line-height:1.2}
.compare-panel .cmp-ico{flex:none;display:inline-flex}
.compare-panel>.small{margin:0;color:#e6eef3}
.compare-panel .btn.cmp-btn{background:#fff;color:var(--blue);border:0;font-weight:800;min-height:44px;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.compare-panel .btn.cmp-btn:hover{background:#eaf2f6}
.cmp-body{background:#fff;color:var(--ink);border-radius:12px;padding:12px;display:grid;gap:10px;justify-items:start;width:100%;box-sizing:border-box;margin-top:4px}
.cmp-body h3{color:var(--ink);margin:0}
@media(max-width:600px){.compare-panel{padding:14px;margin:calc(var(--gap) * .5) 0 var(--gap)}.compare-panel h2{font-size:20px}.cmp-body{padding:10px}}
/* help banner: a bolder label and a clear info badge */
.helpbar{box-shadow:0 3px 10px rgba(36,77,104,.3)}
.helpbar summary{font-weight:800;font-size:16px}
.helpbar summary>svg:first-child{flex:none;width:26px;height:26px;padding:2px;border-radius:50%;background:#fff;color:var(--blue)}
.compare-panel .sizechoice[aria-disabled=true].active{opacity:1}
.compare-panel h2{align-items:flex-start}
.compare-panel .cmp-ico{margin-top:1px}
