/* Shared advanced pricing editor — contractor admin and Command Center. Keep this file identical in both apps. */
.pe{font:15px/1.5 inherit;color:inherit}
.pe *{box-sizing:border-box}
.pe-banner{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;margin:0 0 16px;border-radius:16px;border:1px solid rgba(0,159,173,.45);background:linear-gradient(135deg,rgba(0,159,173,.16),rgba(66,50,103,.28));box-shadow:0 18px 44px -28px rgba(0,159,173,.7)}
.pe-banner .pe-mark{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--teal,#009FAD),#5b4aa8);color:#fff;font-weight:800;letter-spacing:.04em;font-size:13px}
.pe-banner .pe-body{flex:1;min-width:0}
.pe-banner .pe-kicker{margin:0;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal2,#2fd3df)}
.pe-banner p{margin:4px 0 0;font-weight:600;font-size:15.5px;line-height:1.45}
.pe-banner .pe-x{flex:none;width:36px;height:36px;border-radius:10px;border:1px solid var(--line2,rgba(255,255,255,.16));background:rgba(0,0,0,.18);color:inherit;cursor:pointer;font-size:20px;line-height:1}
.pe-banner .pe-x:hover{border-color:var(--teal2,#2fd3df)}
.pe-lead{margin:0 0 14px}
.pe-cats{display:flex;flex-direction:column;gap:10px}
.pe details.ocat,.pe details.oopt{border:1px solid var(--line2,rgba(255,255,255,.16));border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.015));margin:0}
.pe details.ocat.off,.pe details.oopt.off{opacity:.72}
.pe details.ocat>summary,.pe details.oopt>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:14px 16px;flex-wrap:wrap}
.pe details.ocat>summary::-webkit-details-marker,.pe details.oopt>summary::-webkit-details-marker{display:none}
.pe details.ocat>summary small,.pe details.oopt>summary small{color:var(--mut,#b9b4cc);font-size:12.5px;white-space:nowrap}
/* collapsed rows: name on the left, Show switch + price/option count on the right; nothing overlaps at any width */
.pe .pe-nm{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;min-width:0;flex:1 1 160px}
.pe .pe-nm .onm,.pe .pe-nm .cnm{overflow-wrap:anywhere}
.pe .pe-end{display:flex;align-items:center;gap:10px;margin-left:auto;flex:0 1 auto;min-width:0;justify-content:flex-end;flex-wrap:wrap}
.pe .osum{font-weight:700;color:var(--teal2,#2fd3df)!important;font-size:13px!important;white-space:normal!important;text-align:right}
.pe .ccount{min-width:68px;text-align:right}
.pe .pe-tg{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:4px 10px 4px 5px;border-radius:99px;border:1px solid var(--line2,rgba(255,255,255,.16));background:rgba(0,0,0,.16);color:inherit;font:600 12.5px/1 inherit;cursor:pointer;white-space:nowrap;flex:none}
.pe .pe-tg:hover{border-color:var(--teal2,#2fd3df)}
.pe .pe-tg:focus-visible{outline:3px solid var(--teal2,#2fd3df);outline-offset:2px}
.pe .pe-tk{position:relative;display:inline-block;width:34px;height:20px;border-radius:99px;background:rgba(255,255,255,.16);transition:background .2s;flex:none}
.pe .pe-tk:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .2s}
.pe .pe-tg[aria-checked=true] .pe-tk{background:var(--teal,#009FAD)}
.pe .pe-tg[aria-checked=true] .pe-tk:after{transform:translateX(14px)}
.pe .pe-tg[aria-checked=false] .pe-tl{color:var(--warn,#ffd27a)}
/* in-body switches (choices, rules): self-contained so app CSS cannot collapse the track over the text */
.pe label.pe-sw{display:inline-flex;align-items:center;gap:8px;margin:0;flex:none;position:relative;cursor:pointer;color:inherit;font-size:13px}
.pe label.pe-sw input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.pe label.pe-sw>span{position:relative;display:inline-block;width:38px;height:22px;border-radius:99px;background:rgba(255,255,255,.14);border:1px solid var(--line2,rgba(255,255,255,.16));flex:none}
.pe label.pe-sw>span:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .2s}
.pe label.pe-sw input:checked+span{background:var(--teal,#009FAD)}
.pe label.pe-sw input:checked+span:after{transform:translateX(16px)}
.pe label.pe-sw input:disabled+span{opacity:.45}
.pe label.pe-sw input:focus-visible+span{outline:3px solid var(--teal2,#2fd3df);outline-offset:2px}
.pe .pe-swl{font-style:normal;white-space:nowrap}
.pe .vpr{font-weight:700;color:var(--teal2,#2fd3df);font-size:13px;white-space:nowrap}
.pe .vpr small{font-weight:500;color:var(--mut,#b9b4cc)}
.pe .grip{cursor:grab;color:var(--mut,#b9b4cc);letter-spacing:-2px;font-size:14px;padding:4px 2px;user-select:none;touch-action:none}
.pe .ocat[draggable=true]>.grip-src,.pe .oopt[draggable=true]{cursor:grab}
.pe .ocat.dragging,.pe .oopt.dragging{opacity:.45}
.pe .ocat.over,.pe .oopt.over{outline:2px dashed var(--teal2,#2fd3df);outline-offset:3px}
.pe .num{display:inline-grid;place-items:center;min-width:26px;height:26px;border-radius:8px;background:rgba(43,202,216,.14);color:var(--teal2,#2fd3df);font-weight:800;font-size:12.5px}
.pe .cbody,.pe .obody{padding:0 16px 16px}
.pe .olist{display:flex;flex-direction:column;gap:8px;margin:10px 0}
.pe .orow{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin:0 0 10px}
.pe .oacts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.pe .pacts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:16px}
.pe .vars{margin-top:10px}
.pe .vars h4{margin:0 0 8px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--teal2,#2fd3df)}
.pe .vrow2{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0;padding:8px;border:1px solid var(--line,rgba(255,255,255,.09));border-radius:12px}
.pe .vrow2.rule input[type=text],.pe .vrow2.rule select,.pe .vrow2 input[type=text],.pe .vrow2 input[type=number],.pe .vrow2 select{min-height:38px;flex:1;min-width:120px}
.pe .tagb{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:2px 8px;border-radius:99px;border:1px solid var(--line2,rgba(255,255,255,.16));color:var(--mut,#b9b4cc)}
.pe .tagb.offb{color:var(--warn,#ffd27a);border-color:rgba(255,210,122,.4)}
.pe h2{margin:18px 0 8px;font-size:18px}
.pe h3{margin:16px 0 6px;font-size:15px}
.pe .estsum{width:100%;border-collapse:collapse;margin-top:8px}
.pe .estsum th,.pe .estsum td{padding:8px 10px;border-bottom:1px solid var(--line,rgba(255,255,255,.09));text-align:left}
.pe .estsum td.r,.pe .estsum th.r{text-align:right}
.pe .estsum tfoot td{font-weight:600}
.pe .estsum tr.tot td{font-size:1.05em}
.pe .pbase{max-width:280px;margin:8px 0;display:block}
.pe label{display:block;font-size:13px;color:var(--mut,#b9b4cc)}
.pe .onm,.pe .cnm{font-weight:700;color:inherit}
.pe details.oopt.off .onm{text-decoration:line-through;opacity:.7}
/* Nov 15 2026 review fixes: slim pro-zone line, price typed in the row, Included chip, row arrows on touch, own chevron */
.pe-banner.slim{padding:10px 14px;gap:12px;align-items:center;border-radius:14px;margin:0 0 12px}
.pe-banner.slim .pe-mark{width:28px;height:28px;border-radius:9px;font-size:13px}
.pe-banner.slim p.pe-warn{margin:0;font-size:14px;line-height:1.4}
.pe-banner.slim .pe-kicker{display:inline;margin-right:6px;font-size:10.5px}
.pe-banner.slim p.pe-help{margin:2px 0 0;font-weight:500;font-size:12.5px;color:var(--mut,#b9b4cc)}
.pe-banner.slim .pe-x{width:30px;height:30px;font-size:17px}
.pe .pe-lead{font-size:12.5px}
.pe .pe-tools{display:flex;justify-content:flex-end;gap:4px;margin:0 0 6px}
.pe .pe-tools .btn{min-height:30px;padding:4px 8px;font-size:13px}
.pe .pe-qp{display:inline-flex;align-items:center;gap:3px;flex:none;font-weight:700;color:var(--teal2,#2fd3df);font-size:13px}
.pe .pe-qp input.pe-qpi{width:92px;min-height:32px;padding:4px 8px;font:inherit;font-weight:700;color:inherit;text-align:right;border-radius:10px}
.pe .pe-qu{white-space:nowrap;min-width:40px}
.pe .tagb.inc{color:var(--teal2,#2fd3df);border-color:rgba(43,202,216,.45)}
.pe .vsame{font-weight:500;color:var(--mut,#b9b4cc)}
.pe .vrow2 input[data-k=vprice]::placeholder{color:var(--mut,#b9b4cc);opacity:.9}
.pe .pe-mv{display:none;gap:4px;flex:none}
.pe .pe-mb{width:32px;height:32px;border-radius:9px;border:1px solid var(--line2,rgba(255,255,255,.16));background:rgba(0,0,0,.16);color:inherit;font-size:15px;line-height:1;cursor:pointer;padding:0}
.pe .pe-mb:disabled{opacity:.35;cursor:default}
.pe .pe-mb:focus-visible{outline:3px solid var(--teal2,#2fd3df);outline-offset:2px}
.pe details.ocat>summary:after,.pe details.oopt>summary:after{display:none!important}
.pe .pe-chev{flex:none;width:8px;height:8px;margin:0 4px 3px 4px;border-right:2px solid var(--mut,#b9b4cc);border-bottom:2px solid var(--mut,#b9b4cc);transform:rotate(45deg);transition:transform .2s}
.pe details[open]>summary>.pe-chev{transform:rotate(-135deg);margin-bottom:-3px}
.pe .pe-why{color:var(--mut,#b9b4cc);font-size:12.5px}
.pe .pe-more{margin-left:auto;position:relative}
.pe .pe-more>summary{list-style:none;cursor:pointer}
.pe .pe-more>summary::-webkit-details-marker{display:none}
.pe .pe-more>summary:after{display:none}
.pe .pe-menu{position:absolute;right:0;bottom:calc(100% + 6px);z-index:5;min-width:180px;padding:6px;border-radius:12px;border:1px solid var(--line2,rgba(255,255,255,.16));background:var(--card,var(--bg2,#1b1830));box-shadow:0 18px 44px -20px rgba(0,0,0,.6)}
.pe .pe-menu .btn{width:100%;justify-content:flex-start}
.pe .pe-pick{flex:2 1 220px}
.pe .pe-pick select{width:100%}
@media (hover:none),(max-width:820px){.pe .pe-mv{display:inline-flex}}
@media(max-width:520px){
  .pe .pe-end{flex-wrap:nowrap;gap:6px;order:3}
  .pe details.ocat>summary>.pe-chev,.pe details.oopt>summary>.pe-chev{order:2;margin-left:auto}
  .pe .pe-nm{flex:1 1 calc(100% - 70px)!important}
  .pe .pe-tg{padding:4px 8px 4px 4px}
  .pe .pe-qu{min-width:0}
  .pe .pe-end .osum{order:9;flex:1 0 100%;text-align:left;margin-top:-2px}
  .pe .pe-end .osum:empty{display:none}
  .pe .pe-end:has(.osum:not(:empty)){flex-wrap:wrap}
  .pe .pe-qp input.pe-qpi{width:62px;padding:4px 6px}
  .pe-banner{padding:14px}
  .pe .pe-end{width:100%;justify-content:space-between;margin-left:0}
  .pe details.ocat>summary .grip,.pe details.oopt>summary .grip{display:none}
  .pe .vrow2.rule,.pe .vrow2{padding:10px}
  .pe details.ocat>summary,.pe details.oopt>summary{padding:12px}
}
/* Nov 20 2026: option set details (Dan pt7036u) */
.pe .pe-adv{margin:10px 0 4px;border:1px dashed var(--line,rgba(127,127,127,.35));border-radius:12px;padding:0 12px}
.pe .pe-adv>summary{cursor:pointer;padding:10px 0;font-weight:600;list-style:none}
.pe .pe-adv>summary::-webkit-details-marker{display:none}
.pe .pe-adv>summary small{font-weight:400;margin-left:6px}
.pe .pe-advb{padding:0 0 12px;display:grid;gap:8px}
.pe .pe-mgl{margin:0;min-height:1em}
.pe .pe-mg{display:inline-block;font-size:12.5px;font-weight:600;padding:3px 9px;border-radius:999px;background:rgba(0,159,173,.12);color:var(--teal,#009FAD)}
.pe .pe-mg.neg{background:rgba(220,60,60,.12);color:#d64545}
.pe .vmore{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;padding:8px 10px 12px 38px;border-bottom:1px solid var(--line,rgba(127,127,127,.2))}
.pe .vmore[hidden]{display:none}
.pe .vmore label{font-size:12.5px}
.pe .pe-vmb{font-size:12.5px;white-space:nowrap}
.pe .tagb.whenb{background:rgba(124,92,255,.14);color:#7c5cff}
@media (max-width:560px){.pe .vmore{padding-left:6px;grid-template-columns:1fr 1fr}}

/* ===== Nov 21 2026 (edit3): ONE editor for pool and cage. Toolbar, bulk percent, estimate, sticky bar, pool rows ===== */
.pe [hidden]{display:none!important}
.pe-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pe .pe-note{margin:0 0 12px}
.pe .pe-hdr{margin:0 0 12px}
.pe .pe-hdr label{display:flex;flex-direction:column;gap:4px;font-size:13px;max-width:360px}
.pe select,.pe input[type=text],.pe input[type=number],.pe input[type=search],.pe textarea{font:inherit;color:inherit;background:rgba(127,127,127,.10);border:1px solid var(--line2,rgba(127,127,127,.35));border-radius:10px;padding:6px 10px;min-height:38px;max-width:100%}
.pe textarea{width:100%}
.pe input.bad{border-color:var(--bad,#c4273a);outline:1px solid var(--bad,#c4273a)}
/* sample estimate: one compact card for both builders */
.pe details.pe-estd{border:1px solid var(--line2,rgba(127,127,127,.3));border-radius:16px;padding:0 16px;margin:0 0 12px;background:var(--card,transparent)}
.pe details.pe-estd>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:12px 0}
.pe details.pe-estd>summary::-webkit-details-marker{display:none}
.pe .pe-esttot{margin-left:auto;font-weight:800;color:var(--teal2,#2fd3df);font-variant-numeric:tabular-nums}
.pe details.pe-estd[open]>summary>.pe-chev{transform:rotate(-135deg);margin-bottom:-3px}
.pe details.pe-estd>:not(summary){margin-left:0;margin-right:0}
.pe details.pe-estd #peest{padding-bottom:12px}
/* toolbar: search, filters, bulk percent, expand/collapse */
.pe .pe-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 10px;position:relative}
.pe .pe-search{flex:1 1 220px;min-width:0;margin:0}
.pe .pe-search input{width:100%}
.pe .pe-filters{display:inline-flex;gap:4px;flex:none}
.pe .pe-fl{min-height:34px;padding:4px 12px;border-radius:99px;border:1px solid var(--line2,rgba(127,127,127,.35));background:transparent;color:inherit;font:600 13px/1 inherit;cursor:pointer}
.pe .pe-fl.on{background:var(--teal,#009FAD);border-color:var(--teal,#009FAD);color:#fff}
.pe .pe-fl:focus-visible{outline:3px solid var(--teal2,#2fd3df);outline-offset:2px}
.pe .pe-tools{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:2px 4px;margin:0 0 0 auto}
.pe .pe-none{margin:0 0 10px}
.pe .pe-bulkp{border:1px solid var(--line2,rgba(127,127,127,.3));border-radius:16px;padding:14px 16px;margin:0 0 12px;background:var(--card,transparent)}
.pe .pe-bulkp h3{margin:0 0 4px}
.pe .pe-bulkp .orow label{display:flex;flex-direction:column;gap:4px;font-size:13px}
.pe .pe-bprev{margin:6px 0 10px;font-size:13.5px}
.pe .pe-bprev p{margin:0 0 4px}
.pe .pe-bprev ul{margin:0;padding-left:18px}
.pe .pe-bulku{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 14px;margin:0 0 12px;border-radius:12px;border:1px solid rgba(0,159,173,.45);background:rgba(0,159,173,.10);font-weight:600;font-size:14px}
/* last-edited marker */
.pe .tagb.ed{text-transform:none;letter-spacing:0;font-weight:600;color:var(--teal2,#2fd3df);border-color:rgba(43,202,216,.35)}
.pe .pe-edl{margin:2px 0 8px}
/* pool items: price summary under the name, price rows in the open panel */
.pe .pe-sub{flex:1 0 100%;display:block;font-size:12.5px;line-height:1.4;color:var(--mut,#b9b4cc);font-weight:500;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.pe .pe-sub:empty{display:none}
.pe .pe-prows{margin:10px 0}
.pe .pe-prows h4{margin:0 0 6px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--teal2,#2fd3df)}
.pe label.pe-prow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--line,rgba(127,127,127,.2));font-size:14px;color:inherit}
.pe label.pe-prow input{width:130px;text-align:right}
.pe .pe-prow small{margin-left:6px}
/* builder starts with (pool) */
.pe details.pe-start{border:1px solid var(--line2,rgba(127,127,127,.3));border-radius:16px;padding:0 16px;margin:14px 0 0;background:var(--card,transparent)}
.pe details.pe-start>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:12px 0}
.pe details.pe-start>summary::-webkit-details-marker{display:none}
.pe details.pe-start>summary small{color:var(--mut,#b9b4cc);margin-right:auto}
.pe details.pe-start[open]>summary>.pe-chev{transform:rotate(-135deg);margin-bottom:-3px}
.pe .pe-startb{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;padding:0 0 14px}
.pe .pe-startb label{display:flex;flex-direction:column;gap:4px;font-size:13px}
/* sticky Publish / Save draft / Undo bar, same on every screen */
.pe .pacts.pe-sticky{position:sticky;bottom:0;z-index:30;margin:18px -6px 0;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));border:1px solid var(--line2,rgba(127,127,127,.3));border-radius:16px 16px 0 0;background:var(--card,#fff);box-shadow:0 -14px 30px -22px rgba(0,0,0,.55)}
.pe .pacts .dirty{color:var(--mut,#b9b4cc);font-size:12.5px}
@media(max-width:520px){
  .pe .pe-search{flex:1 0 100%}
  .pe .pe-filters{flex:1 0 100%}
  .pe .pe-fl{flex:1}
  .pe .pe-tools{margin:0;flex:1 0 100%;justify-content:space-between}
  .pe .pe-end .pe-qp{margin-left:auto}
  .pe .pe-sub{-webkit-line-clamp:3}
  .pe label.pe-prow input{width:104px}
  .pe .pacts.pe-sticky{margin-left:-10px;margin-right:-10px;gap:6px}
  .pe .pacts.pe-sticky .btn{flex:1 1 auto;padding-left:12px;padding-right:12px}
  .pe .pe-more{margin-left:0}
  .pe .pacts.pe-compact .pe-sec{display:none}
  .pe .pacts.pe-compact .pe-msec{display:flex}
  .pe .pacts.pe-compact .pe-more{flex:0 0 auto}
  .pe .pacts.pe-compact .btn{flex:1 1 0;min-height:46px}
}
.pe .pe-msec{display:none;flex-direction:column;gap:2px;border-bottom:1px solid var(--line2,rgba(127,127,127,.3));margin-bottom:4px;padding-bottom:4px}
.pe .pe-sec{display:contents}

/* Pool | Cage switch used on the Builder editor screens (Command Center) */
.pe-switch { display: inline-flex; gap: 4px; padding: 4px; margin: 6px 0 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.pe-sw-b { appearance: none; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; padding: 10px 18px; min-height: 44px; border-radius: 9px; cursor: pointer; }
.pe-sw-b.on { background: #14b8a6; color: #04201c; }
.pe-sw-b:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Command Center phone layout has a fixed bottom tab bar (~70px). Sit the bar at the screen bottom and pad it so the buttons stay above the tab bar; that also closes the gap where page text used to peek through. */
@media(max-width:900px){
  .cc2 .pe .pacts.pe-sticky{
    bottom:0;
    margin-bottom:0;
    border-radius:16px 16px 0 0;
    padding-bottom:calc(78px + env(safe-area-inset-bottom,0px));
  }
}
/* Slightly tighter Pro zone on a phone so it can sit fully above the sticky bar */
@media(max-width:520px){
  .pe-banner.slim{padding:10px 12px;margin:0 0 10px}
  .pe-banner.slim p.pe-warn{font-size:13.5px}
  .pe-banner.slim p.pe-help{font-size:12px;line-height:1.35}
}
/* phones: Publish gets its own full-width row; Save draft and More share the next one */
@media(max-width:520px){
  .pe .pacts.pe-compact #pepub{flex:1 0 100%;white-space:normal;line-height:1.2}
  .pe .pacts.pe-compact .pe-more{flex:0 0 auto}
}

/* ---- Publish review (diff / guard / confirm) and Restore ---- */
.pe .pe-pubres{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:12px 14px;border-radius:14px;border:1px solid rgba(0,159,173,.5);background:rgba(0,159,173,.12);font-size:14px;line-height:1.45}
.pe .pe-pubres>span{flex:1 1 240px;min-width:0}
.pe .pe-pubres .pe-x2{flex:none;width:36px;height:36px;border-radius:10px;border:1px solid var(--line2,rgba(127,127,127,.3));background:transparent;color:inherit;font-size:20px;cursor:pointer}
body.pe-modal-open{overflow:hidden}
.pe-modal-bg{position:fixed;inset:0;z-index:2000;background:rgba(5,4,12,.62);display:flex;align-items:flex-end;justify-content:center;padding:0;overflow:auto}
.pe-modal{width:100%;max-width:720px;max-height:92vh;overflow:auto;background:var(--card,#fff);color:var(--ink,#151221);border:1px solid var(--line2,rgba(127,127,127,.3));border-radius:20px 20px 0 0;padding:20px 18px calc(18px + env(safe-area-inset-bottom,0px));box-shadow:0 -10px 40px rgba(0,0,0,.35);font:15px/1.5 "Rajdhani",system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.pe-modal h2{margin:0 0 4px;font-size:21px;line-height:1.25}
.pe-modal h3{margin:14px 0 6px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--mut,#667)}
.pe-modal .pe-msub{margin:4px 0 12px;color:var(--mut,#667);font-size:14px}
.pe-modal .pe-fine{font-size:12.5px;margin:10px 0 0}
.pe-modal .pe-push{display:flex;flex-direction:column;gap:6px;margin:10px 0 12px;padding:12px 14px;border-radius:14px;border:1px solid rgba(0,159,173,.55);background:rgba(0,159,173,.1)}
.pe-modal .pe-push b{font-size:16px}
.pe-modal .pe-block{margin:10px 0;padding:12px 14px;border-radius:14px;border:1px solid var(--bad,#c4273a);background:rgba(196,39,58,.1)}
.pe-modal .pe-block ul{margin:6px 0 0;padding-left:20px}
.pe-modal .pe-rows{border:1px solid var(--line,rgba(127,127,127,.2));border-radius:14px;padding:2px 12px 8px;margin:10px 0}
.pe-modal .pe-drow{display:flex;justify-content:space-between;align-items:center;gap:10px 14px;flex-wrap:wrap;padding:9px 0;border-top:1px solid var(--line,rgba(127,127,127,.2))}
.pe-modal h3+.pe-drow{border-top:0}
.pe-modal .pe-dl{flex:1 1 220px;min-width:0;display:flex;flex-direction:column}
.pe-modal .pe-dl b{font-weight:650;overflow-wrap:anywhere}
.pe-modal .pe-dl small{color:var(--mut,#667);font-size:12.5px}
.pe-modal .pe-dv{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-variant-numeric:tabular-nums}
.pe-modal .pe-old{color:var(--mut,#667);text-decoration:line-through}
.pe-modal .pe-new{font-size:16px}
.pe-modal .pe-pct{font-size:12.5px;color:var(--mut,#667)}
.pe-modal .pe-chip{font-size:12px;font-weight:700;padding:2px 8px;border-radius:99px}
.pe-modal .pe-chip.warn{background:#ffb02033;color:#a86500;border:1px solid #ffb020}
.pe-modal .pe-chip.bad{background:rgba(196,39,58,.15);color:var(--bad,#c4273a);border:1px solid var(--bad,#c4273a)}
.pe-modal .pe-drow.warn{background:rgba(255,176,32,.07)}
.pe-modal .pe-drow.block{background:rgba(196,39,58,.08)}
.pe-modal .pe-others{margin:4px 0 6px;padding-left:20px}
.pe-modal .pe-chk{display:flex;gap:10px;align-items:flex-start;margin:8px 0;font-size:14px;cursor:pointer}
.pe-modal .pe-chk input{width:20px;height:20px;flex:none;margin-top:1px}
.pe-modal .pe-mact{display:flex;gap:10px;justify-content:flex-end;margin-top:14px;position:sticky;bottom:-18px;padding:10px 0 2px;background:var(--card,#fff)}
.pe-modal .pe-mact .btn{min-height:46px;flex:1 1 0}
.pe-modal .pe-mact .btn[disabled]{opacity:.5;cursor:not-allowed}
@media(min-width:700px){.pe-modal-bg{align-items:center;padding:24px}.pe-modal{border-radius:20px;padding:24px;max-height:88vh}.pe-modal .pe-mact{bottom:-24px}.pe-modal .pe-mact .btn{flex:0 0 auto;min-width:170px}}

/* push1121b: option pictures */
.pe .vmore .pe-photo{grid-column:1/-1}
.pe .pe-photo{display:flex;align-items:center;gap:12px;margin:8px 0 10px;padding:10px 12px;border:1px solid var(--line,rgba(120,130,150,.35));border-radius:12px;background:rgba(127,127,127,.06)}
.pe .pe-ptx{display:flex;flex-direction:column;gap:2px;min-width:8em;flex:1 1 auto}
.pe .pe-ptx b{font-size:13px}
.pe .pe-ptx small{font-size:12.5px;color:var(--mut,#667);overflow-wrap:break-word}
.pe .pe-pbt{display:flex;align-items:center;gap:8px;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end}
.pe-pth{width:64px;height:64px;border-radius:10px;object-fit:cover;flex:0 0 64px;border:1px solid rgba(127,127,127,.4);background:#d9dde3;display:inline-flex;align-items:center;justify-content:center;font-size:11px;color:#556;text-align:center;line-height:1.1}
.pe-pth.ph{background:repeating-linear-gradient(45deg,#e3e6ea 0 6px,#d6dae0 6px 12px)}
.pe-pdrow .pe-dv{gap:8px}
.pe-pdrow .pe-pth{width:56px;height:56px;flex-basis:56px}
.pe-phm{max-width:640px}
.pe-phtabs{display:flex;gap:8px;margin:8px 0 12px}
.pe-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:140px;padding:18px;border:2px dashed rgba(0,159,173,.7);border-radius:14px;cursor:pointer;text-align:center;background:rgba(0,159,173,.06)}
.pe-drop input{max-width:100%}
.pe-phgrid{max-height:46vh;overflow:auto}
.pe-phrow{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
.pe-phc{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px;border:1px solid rgba(127,127,127,.4);border-radius:12px;background:transparent;color:inherit;cursor:pointer;font:inherit;font-size:12.5px;min-height:44px}
.pe-phc:hover,.pe-phc:focus-visible{border-color:#009FAD;outline:2px solid rgba(0,159,173,.45)}
.pe-phc .pe-pth{width:84px;height:84px;flex-basis:84px}
.pe-phst{min-height:1.4em}
.pe-phst.bad,.pe-msub.bad{color:#d33}
@media (max-width:560px){.pe .pe-photo{flex-wrap:wrap}.pe .pe-pbt{width:100%;justify-content:flex-start}}

/* t7282u: simple design surcharge fields in place of the Price variants builder. */
.pe #pesurcharge .pe-srow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:10px 0;font-size:14px}
.pe #pesurcharge .pe-srow>span:first-child{flex:1 1 180px;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.pe #pesurcharge .pe-sover{width:4.2em;min-height:38px}
.pe #pesurcharge select[data-k=sheighttype]{width:auto;min-width:5.5em;min-height:38px}

/* t7294u: frame and height extras in the Cage section, no Design surcharges box. */
.pe .pe-cagex{margin:14px 0 8px;padding:12px 12px 4px;border:1px solid var(--line,rgba(127,127,127,.28));border-radius:14px;background:var(--card,transparent)}
.pe .pe-cagexh{margin:12px 0 4px;font:700 14px var(--umb-head,"HiJO Umbare",system-ui,sans-serif)}
.pe .pe-cagex .mut.small{margin:0 0 8px}
.pe .pe-cagex .pe-srow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;font-size:14px}
.pe .pe-cagex .pe-srow>span:first-child{flex:1 1 180px;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.pe .pe-cagex select[data-k^="htype-"]{width:auto;min-width:11em;min-height:38px}

/* panel1123 item 4: pool Sell screen cage row */
.pe details.pe-sell{margin:10px 0}

/* paver-pricing: simple 1,000 sq ft rate card + collapsed Show advanced pricing toggle (Pool & Cage parity) */
.pe .pe-deck-simple{margin:14px 0 8px;padding:12px 14px;border:1px solid var(--line,rgba(127,127,127,.28));border-radius:14px;background:var(--card,transparent)}
.pe .pe-deck-simple h4{margin:0 0 4px;font:700 15px var(--umb-head,"HiJO Umbare",system-ui,sans-serif)}
.pe .pe-deck-sub{margin:0 0 10px}
.pe .pe-paver-list{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.pe .pe-paver-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 12px;border:1px solid var(--line,rgba(127,127,127,.25));border-radius:12px;background:rgba(127,127,127,.04)}
.pe .pe-paver-row.off{opacity:.65}
.pe .pe-paver-info{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:2px}
.pe .pe-paver-info b{font-size:14.5px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.pe .pe-paver-info small{font-size:12.5px;color:var(--mut,#667)}
.pe .pe-paver-ctl{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pe .pe-paver-unit{font-size:12.5px;color:var(--mut,#667)}
.pe details.pe-deckadv{margin:12px 0 6px}
.pe .pe-curve-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:4px 0 10px}
.pe .pe-curve-row label{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;font-weight:600}
.pe .pe-curve-row select{min-height:38px;width:auto;min-width:14em}
.pe details.pe-t28{border:1px solid var(--line,rgba(127,127,127,.25));border-radius:12px;margin:8px 0;padding:0 12px;background:rgba(127,127,127,.03)}
.pe details.pe-t28>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;cursor:pointer;list-style:none;font-weight:600;font-size:14px}
.pe details.pe-t28>summary::-webkit-details-marker{display:none}
.pe .pe-t28b{padding:4px 0 12px}
.pe .pe-t28bar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.pe .pe-t28bar label{display:flex;align-items:center;gap:6px;font-size:13px}
.pe .pe-t28bar select{min-height:34px;width:auto}
.pe .pe-t28grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px 12px}
.pe .pe-t28row{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:4px 6px;border-radius:8px;border:1px solid var(--line,rgba(127,127,127,.18))}
.pe .pe-t28row.pin{border-color:rgba(0,159,173,.65);background:rgba(0,159,173,.07)}
.pe .pe-t28lbl{font-size:12.5px;display:flex;flex-direction:column;line-height:1.25}
.pe .pe-t28lbl small{font-size:11px;color:var(--mut,#667)}
.pe .pe-t28in{display:flex;align-items:center;gap:4px}
.pe .pe-t28in input{width:5.4em;min-height:34px;padding:4px 6px}
.pe .pe-t28rst{font-size:11.5px;padding:2px 6px;min-height:28px}
.pe .pe-deck-hidden{margin-top:12px;padding-top:10px;border-top:1px solid var(--line,rgba(127,127,127,.22))}
.pe .pe-deck-hidden h4{margin:0 0 4px;font-size:13px}
/* pavered2 (Dan t388u, Nov 26 2026): Cage-style paver rows with a 3-point price-per-sq-ft curve */
.pe .pe-pvlist{display:flex;flex-direction:column;gap:10px;margin:0 0 12px}
.pe details.pe-pvm>summary{gap:12px}
.pe .pe-pvsw{flex:none;width:10px;height:34px;border-radius:99px;background:var(--pv,#2BCAD8);box-shadow:0 0 0 3px color-mix(in srgb,var(--pv,#2BCAD8) 18%,transparent)}
.pe details.pe-pvm .pe-nm .onm{font:700 16px var(--umb-head,"HiJO Umbare",system-ui,sans-serif);letter-spacing:.02em}
.pe details.pe-pvm .pe-sub{flex-basis:100%;font-size:12.5px;color:var(--mut,#b9b4cc)}
.pe details.pe-pvm[open]{border-color:color-mix(in srgb,var(--pv,#2BCAD8) 55%,transparent);box-shadow:0 18px 40px -30px color-mix(in srgb,var(--pv,#2BCAD8) 70%,transparent)}
.pe .pe-pvb{display:grid;gap:12px}
.pe .pe-pvk{margin:0 0 6px;font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal2,#2fd3df)}
.pe .pe-pvlooks .olist,.pe .pe-pvvars{display:flex;flex-direction:column;gap:8px}
.pe .pe-pvhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.pe .pe-pvhead p{margin:0;flex:1 1 260px}
.pe .pe-pvchip{display:inline-flex;align-items:center;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:4px 10px;border-radius:99px;background:rgba(0,159,173,.14);border:1px solid rgba(0,159,173,.45);color:var(--teal2,#2fd3df);white-space:nowrap}
.pe .pe-pvchip.off{background:rgba(127,127,127,.08);border-color:var(--line2,rgba(255,255,255,.16));color:var(--mut,#b9b4cc)}
.pe .pe-pvchart{--pe-pvbg:var(--bg,#0E0C17);position:relative;border-radius:14px;border:1px solid var(--line,rgba(127,127,127,.25));background:rgba(0,0,0,.22);overflow:hidden;min-height:200px;touch-action:none;user-select:none}
.pe .pe-pvchart svg{display:block;max-width:100%}
.pe .pe-pvchart text{font-family:var(--umb-body,"Rajdhani"),system-ui,sans-serif;font-weight:600}
.pe .pe-pvchart .pe-pvg{stroke:rgba(127,127,127,.18)}
.pe .pe-pvchart .pe-pvv{stroke:rgba(127,127,127,.35);stroke-dasharray:3 5}
.pe .pe-pvchart .pe-pvsh{fill:rgba(127,127,127,.07)}
.pe .pe-pvchart .pe-pvax{fill:var(--mut,#8E93A8)}
.pe .pe-pvchart .pe-pvlab{fill:var(--ink,currentColor);opacity:.85}
.pe .pe-pvchart .pe-pvval{fill:var(--ink,currentColor);font-weight:700}
.pe .pe-pvchart .pe-pvdrag{cursor:ns-resize}
.pe .pe-pvchart.dragging{cursor:ns-resize;border-color:var(--pv,#2BCAD8)}
.pe .pe-pvnote{margin:-4px 0 0}
.pe .pe-pv3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media(max-width:720px){.pe .pe-pv3{grid-template-columns:1fr}}
.pe .pe-pvpt{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:14px;border:1px solid var(--line2,rgba(255,255,255,.16));background:rgba(0,0,0,.12)}
.pe .pe-pvpt.mid{border-color:color-mix(in srgb,var(--pv,#2BCAD8) 55%,transparent)}
.pe .pe-pvlbl{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--mut,#b9b4cc)}
.pe .pe-pvin{display:flex;align-items:center;gap:6px;font-weight:700;color:var(--teal2,#2fd3df)}
.pe .pe-pvin input{flex:1;min-width:0;min-height:44px;padding:6px 10px;border-radius:10px;font:700 20px/1.2 var(--umb-body,"Rajdhani"),system-ui,sans-serif;text-align:right}
.pe .pe-pvu{font-size:12.5px;font-weight:600;color:var(--mut,#b9b4cc)}
.pe .pe-pvtot{font-size:12.5px;color:var(--mut,#b9b4cc)}
.pe .pe-pvtot b{color:var(--ink,inherit)}
.pe .pe-pvacts{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.pe details.pe-pvadv{border:1px dashed var(--line,rgba(127,127,127,.35));border-radius:12px;padding:0 12px;margin:0}
.pe details.pe-pvadv>summary{cursor:pointer;padding:11px 0;font-weight:600;list-style:none;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pe details.pe-pvadv>summary::-webkit-details-marker{display:none}
.pe details.pe-pvadv>summary small{font-weight:400}
.pe details.pe-pvadv>summary .pe-chev{margin-left:auto}
.pe .pe-pvadvb{padding:0 0 12px;display:grid;gap:8px}
.pe .pe-pvadvb p{margin:0}
.pe .pe-t28row.pe-pvanc{border-color:color-mix(in srgb,var(--pv,#2BCAD8) 45%,transparent)}
.pe .pe-pvbeam{margin:4px 0 12px}
.pe .pe-pvother{margin:4px 0 12px}
.pe .pe-pvhid{margin-top:4px}
@media(max-width:560px){.pe details.pe-pvm>summary .pe-end{width:100%;justify-content:space-between}.pe details.pe-pvm .osum{display:none}}
