
.nxb-rp{
  --green:#0f513f;
  --green-dark:#0a4032;
  --green-soft:#edf6f1;
  --ink:#17211e;
  --muted:#65716c;
  --line:#d9e4de;
  --paper:#fbfdfc;
  --shadow:0 22px 60px rgba(19,57,45,.12);
  box-sizing:border-box;
  width:min(1480px,calc(100vw - 48px)) !important;
  max-width:none !important;
  position:relative;
  left:50%;
  transform:translateX(-50%);
  margin:18px 0;
  padding:22px;
  color:var(--ink);
  background:linear-gradient(145deg,#fcfefd,#f4f9f6);
  border:1px solid #dce9e2;
  border-radius:28px;
  box-shadow:var(--shadow);
  font-family:Georgia,"Times New Roman",serif;
}
.nxb-rp *, .nxb-rp *::before, .nxb-rp *::after{box-sizing:border-box}
.nxb-rp button,.nxb-rp select,.nxb-rp input{font:inherit}
.nxb-rp button,.nxb-rp select,.nxb-rp input[type="search"],.nxb-rp input[type="text"]{
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--ink);
}
.nxb-rp button{cursor:pointer}
.nxb-rp button:focus-visible,.nxb-rp select:focus-visible,.nxb-rp input:focus-visible{
  outline:3px solid rgba(15,81,63,.22);
  outline-offset:2px;
}
.nxb-rp__loading,.nxb-rp__error{padding:40px;text-align:center}
.nxb-rp__header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:16px}
.nxb-rp__intro{min-width:0}
.nxb-rp__eyebrow{margin:0 0 7px;color:var(--green);font-family:Arial,sans-serif;font-size:.7rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.nxb-rp__header h2{margin:0;color:var(--green-dark);font-size:clamp(2rem,3vw,3.15rem);line-height:1}
.nxb-rp__header p:last-child{margin:10px 0 0;color:var(--muted);font-size:.96rem;line-height:1.45}
.nxb-rp__history{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;flex:0 0 auto}
.nxb-rp__quiet{min-height:42px;padding:8px 14px;background:#fff}
.nxb-rp__quiet:hover:not(:disabled){border-color:#9ab8aa}
.nxb-rp__quiet:disabled{opacity:.4;cursor:not-allowed}
.nxb-rp__workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,410px);gap:18px;align-items:stretch;min-width:0}
.nxb-rp__visual-column{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:10px;min-width:0;min-height:0}
.nxb-rp__scene{position:relative;justify-self:end;height:100%;width:auto;max-width:100%;aspect-ratio:3/2;overflow:hidden;border-radius:18px;background:#d7ddd9;box-shadow:0 12px 30px rgba(17,55,43,.12)}
.nxb-rp__canvas,.nxb-rp__after-wrap{position:absolute;inset:0;width:100%;height:100%}
.nxb-rp__canvas{display:block}
.nxb-rp__after-wrap{overflow:hidden}
.nxb-rp__compare-line{position:absolute;z-index:6;top:0;bottom:0;left:0;width:2px;transform:translateX(-1px);background:var(--green);box-shadow:0 0 0 1px rgba(255,255,255,.62),0 0 10px rgba(0,0,0,.14);pointer-events:none}
.nxb-rp__compare-handle{position:absolute;z-index:7;top:50%;left:0;width:44px;height:44px;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;padding:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;cursor:ew-resize!important;touch-action:none;user-select:none;overflow:visible;color:var(--green)}
.nxb-rp__compare-icon{display:block;width:44px;height:44px;pointer-events:none;overflow:visible;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 1px rgba(255,255,255,.95)) drop-shadow(0 2px 2px rgba(0,0,0,.24));transition:transform .14s ease}
.nxb-rp__compare-handle:hover .nxb-rp__compare-icon,.nxb-rp__compare-handle:focus-visible .nxb-rp__compare-icon{transform:scale(1.07)}
.nxb-rp__scene-label{position:absolute;top:10px;padding:7px 11px;border-radius:999px;background:rgba(24,54,45,.86);color:#fff;font-family:Arial,sans-serif;font-size:.65rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.nxb-rp__scene-label--before{left:10px}
.nxb-rp__scene-label--after{right:10px}
.nxb-rp__hint{margin:0;color:var(--muted);font-size:.72rem;line-height:1.35}
.nxb-rp__panel{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 28px rgba(17,55,43,.08)}
.nxb-rp__panel-sticky{position:relative;z-index:5;flex:0 0 auto;background:#fff;box-shadow:0 10px 18px rgba(17,55,43,.06)}
.nxb-rp__selection-summary{padding:14px 16px;color:#fff;background:linear-gradient(135deg,var(--green),#176b53)}
.nxb-rp__selection-summary span{display:block;font-family:Arial,sans-serif;font-size:.62rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.nxb-rp__selection-summary strong{display:block;margin-top:4px;font-size:1.22rem}
.nxb-rp__selection-summary small{display:block;margin-top:3px;font-size:.74rem}
.nxb-rp__select-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:11px 12px 9px}
.nxb-rp__select-grid label{display:grid;gap:4px;color:#4d5b55;font-family:Arial,sans-serif;font-size:.6rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.nxb-rp__select-grid select,.nxb-rp__select-grid input{width:100%;min-width:0;height:36px;padding:6px 8px;font-family:Georgia,"Times New Roman",serif;font-size:.76rem;font-weight:400;letter-spacing:0;text-transform:none}
.nxb-rp__search-label,.nxb-rp__finish-label{grid-column:1/-1}
.nxb-rp__finish-field{position:relative;display:grid;gap:4px;color:#4d5b55;font-family:Arial,sans-serif;font-size:.6rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.nxb-rp__field-label{display:block}
.nxb-rp__finish-trigger{width:100%;min-height:42px;padding:5px 9px!important;display:grid;grid-template-columns:30px minmax(0,1fr) 18px;gap:8px;align-items:center;text-align:left;text-transform:none;font-family:Georgia,"Times New Roman",serif;font-size:.78rem;font-weight:400;letter-spacing:0}
.nxb-rp__finish-trigger-swatch,.nxb-rp__finish-option-swatch{display:block;border:1px solid rgba(0,0,0,.14);border-radius:7px;background-position:center;background-size:cover}
.nxb-rp__finish-trigger-swatch{width:30px;height:28px}
.nxb-rp__finish-trigger-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nxb-rp__finish-trigger-arrow{font:700 16px/1 Arial,sans-serif;color:#52625b;text-align:center}
.nxb-rp__finish-menu[hidden]{display:none!important}
.nxb-rp__finish-menu{position:absolute;z-index:40;top:calc(100% + 4px);left:0;right:0;max-height:min(360px,52vh);overflow:auto;padding:5px;border:1px solid #b9cec4;border-radius:12px;background:#fff;box-shadow:0 16px 36px rgba(13,54,42,.20);text-transform:none;letter-spacing:0}
.nxb-rp__finish-option{width:100%;min-height:47px;display:grid;grid-template-columns:36px minmax(0,1fr);gap:9px;align-items:center;padding:5px 7px!important;border:1px solid transparent!important;border-radius:8px!important;background:#fff!important;text-align:left}
.nxb-rp__finish-option:hover,.nxb-rp__finish-option:focus-visible{background:#f0f7f3!important;border-color:#c4d9cf!important}
.nxb-rp__finish-option[aria-selected="true"]{background:#e7f3ed!important;border-color:#9abdab!important}
.nxb-rp__finish-option-swatch{width:36px;height:34px}
.nxb-rp__finish-option-text strong,.nxb-rp__finish-option-text small{display:block;text-transform:none;letter-spacing:0}
.nxb-rp__finish-option-text strong{color:var(--ink);font:700 .76rem/1.15 Georgia,"Times New Roman",serif}
.nxb-rp__finish-option-text small{margin-top:2px;color:var(--muted);font:400 .60rem/1.1 Arial,sans-serif}
.nxb-rp__finish-empty{margin:0;padding:12px;color:var(--muted);font:400 .72rem/1.3 Arial,sans-serif;text-transform:none}
.nxb-rp__selected-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:center;margin:0 12px 11px;padding:8px;border:1px solid #cdded5;border-radius:12px;background:var(--green-soft)}
.nxb-rp__selected-swatch{display:block;width:52px;height:38px;border:1px solid rgba(0,0,0,.12);border-radius:8px;background-position:center;background-size:cover}
.nxb-rp__selected-card strong,.nxb-rp__selected-card small{display:block}
.nxb-rp__selected-card strong{font-size:.82rem}
.nxb-rp__selected-card small{margin-top:2px;color:var(--muted);font-size:.65rem;line-height:1.2}
.nxb-rp__panel-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.nxb-rp__custom{padding:14px}
.nxb-rp__custom-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.nxb-rp__custom-header span,.nxb-rp__custom-header strong{display:block}
.nxb-rp__custom-header span{color:var(--muted);font-family:Arial,sans-serif;font-size:.62rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.nxb-rp__custom-header strong{margin-top:3px;font-size:1rem}
.nxb-rp__custom-swatch{width:56px;height:42px;border:1px solid rgba(0,0,0,.15);border-radius:10px}
.nxb-rp__custom label{display:grid;grid-template-columns:1fr auto;gap:5px 10px;align-items:center;margin:10px 0;color:#46544e;font-size:.75rem;font-weight:700}
.nxb-rp__custom label input[type="range"]{grid-column:1/-1;width:100%;accent-color:var(--green)}
.nxb-rp__custom label input[type="text"]{grid-column:1/-1;height:38px;padding:7px 10px;font-family:Arial,sans-serif;font-weight:700;letter-spacing:.05em}
.nxb-rp__custom-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
.nxb-rp__custom-actions button{min-height:38px;padding:7px 12px}
.nxb-rp__custom-actions .is-primary{border-color:var(--green);background:var(--green);color:#fff}
.nxb-rp__status{min-height:1.2em;padding:0 14px 12px;color:var(--muted);font-size:.68rem}
.nxb-rp[aria-busy="true"]{opacity:.75}

@media(min-width:1081px){
  .nxb-rp{
    height:min(780px,calc(100svh - 220px));
    min-height:510px;
    max-height:780px;
    margin:12px auto;
    padding:16px 18px;
    display:flex;
    flex-direction:column;
    overflow:hidden;
  }
  .nxb-rp__header{flex:0 0 auto;margin-bottom:12px}
  .nxb-rp__header h2{font-size:clamp(1.8rem,2.8vw,2.65rem)}
  .nxb-rp__header p:last-child{margin-top:7px;font-size:.86rem}
  .nxb-rp__workspace{flex:1 1 auto;min-height:0}
  .nxb-rp__panel{height:100%}
  .nxb-rp__scene{justify-self:end}
}

@media(max-width:1080px){
  .nxb-rp{width:min(960px,calc(100vw - 20px)) !important;max-width:none !important;padding:18px}
  .nxb-rp__workspace{grid-template-columns:1fr}
  .nxb-rp__scene{width:100%;height:auto}
  .nxb-rp__panel{overflow:visible}
  .nxb-rp__panel-sticky{position:sticky;top:0}
  .nxb-rp__panel-scroll{overflow:visible}
}

@media(max-width:720px){
  .nxb-rp{width:calc(100vw - 12px) !important;max-width:none !important;margin:10px 0;padding:14px;border-radius:20px}
  .nxb-rp__header{align-items:flex-start;flex-direction:column;gap:14px}
  .nxb-rp__header h2{font-size:2rem}
  .nxb-rp__history{justify-content:flex-start}
  .nxb-rp__quiet{min-height:44px}
  .nxb-rp__workspace{gap:16px}
  .nxb-rp__scene{border-radius:14px}
  .nxb-rp__select-grid{grid-template-columns:1fr}
  .nxb-rp__search-label,.nxb-rp__finish-label{grid-column:auto}
  .nxb-rp__panel-sticky{position:relative}
  .nxb-rp__scene-label{top:8px}
}

@media(max-width:420px){
  .nxb-rp__header h2{font-size:1.7rem}
  .nxb-rp__history{gap:6px}
  .nxb-rp__quiet{padding:7px 10px}
}

@media(prefers-reduced-motion:reduce){
  .nxb-rp *{scroll-behavior:auto!important;transition:none!important}
}


/* 0.4.2 — dedicated full-screen planner page and persistent custom-color editor */
body.nexybay-room-planner-page .site-header,
body.nexybay-room-planner-page #masthead,
body.nexybay-room-planner-page .wp-site-blocks > header,
body.nexybay-room-planner-page header.wp-block-template-part,
body.nexybay-room-planner-page .entry-header,
body.nexybay-room-planner-page .page-header,
body.nexybay-room-planner-page .page-title,
body.nexybay-room-planner-page .entry-title,
body.nexybay-room-planner-page .wp-block-post-title,
body.nexybay-room-planner-page .site-footer,
body.nexybay-room-planner-page .wp-site-blocks > footer,
body.nexybay-room-planner-page footer.wp-block-template-part{display:none!important}
body.nexybay-room-planner-page,
body.nexybay-room-planner-page #page,
body.nexybay-room-planner-page #content,
body.nexybay-room-planner-page .site-content,
body.nexybay-room-planner-page main,
body.nexybay-room-planner-page .site-main,
body.nexybay-room-planner-page .content-area,
body.nexybay-room-planner-page article,
body.nexybay-room-planner-page .entry-content,
body.nexybay-room-planner-page .wp-block-post-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.nxb-rp__custom[hidden]{display:none!important}
.nxb-rp.is-custom-mode .nxb-rp__select-grid label:not(:first-child):not(.nxb-rp__finish-label){display:none}
.nxb-rp.is-custom-mode .nxb-rp__selected-card{display:none}
.nxb-rp.is-custom-mode .nxb-rp__custom{display:block;background:#f7fbf9;border-top:1px solid var(--line);padding:10px 12px 12px}
.nxb-rp.is-custom-mode .nxb-rp__custom-header{margin-bottom:6px}
.nxb-rp.is-custom-mode .nxb-rp__custom label{margin:6px 0}
.nxb-rp.is-custom-mode .nxb-rp__custom-actions{margin-top:9px}

@media(min-width:1081px){
  html:has(body.nexybay-room-planner-page),body.nexybay-room-planner-page{height:100%;overflow:hidden!important}
  body.nexybay-room-planner-page .nxb-rp{
    width:100vw!important;height:100dvh!important;min-height:0!important;max-height:none!important;
    left:50%;transform:translateX(-50%);margin:0!important;padding:10px 14px 12px;
    border-radius:0;border-width:0;display:flex;flex-direction:column;overflow:hidden;
  }
  body.nexybay-room-planner-page .nxb-rp__header{flex:0 0 48px;min-height:48px;align-items:center;margin:0 0 8px}
  body.nexybay-room-planner-page .nxb-rp__eyebrow{display:none}
  body.nexybay-room-planner-page .nxb-rp__header h2{font-size:clamp(1.7rem,2.3vw,2.25rem);line-height:1}
  body.nexybay-room-planner-page .nxb-rp__header p:last-child{margin:4px 0 0;font-size:.78rem;line-height:1.15}
  body.nexybay-room-planner-page .nxb-rp__quiet{min-height:34px;padding:5px 11px}
  body.nexybay-room-planner-page .nxb-rp__workspace{flex:1 1 auto;min-height:0;grid-template-columns:minmax(0,1fr) minmax(370px,420px);gap:12px}
  body.nexybay-room-planner-page .nxb-rp__visual-column{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:7px;min-height:0;align-items:center}
  body.nexybay-room-planner-page .nxb-rp__scene{width:min(100%,calc((100dvh - 82px) * 1.5));height:auto;max-height:100%;justify-self:center;align-self:center}
  body.nexybay-room-planner-page .nxb-rp__hint{display:none}
  body.nexybay-room-planner-page .nxb-rp__panel{height:100%;max-height:100%}
  body.nexybay-room-planner-page .nxb-rp__selection-summary{padding:10px 14px}
  body.nexybay-room-planner-page .nxb-rp__selection-summary strong{font-size:1.05rem}
  body.nexybay-room-planner-page .nxb-rp__select-grid{gap:6px;padding:8px 10px 7px}
  body.nexybay-room-planner-page .nxb-rp__select-grid select,
  body.nexybay-room-planner-page .nxb-rp__select-grid input{height:33px;padding:5px 7px;font-size:.72rem}
  body.nexybay-room-planner-page .nxb-rp__selected-card{margin:0 10px 8px;padding:6px}
  body.nexybay-room-planner-page .nxb-rp__selected-swatch{width:46px;height:32px}
}
@media(max-width:1080px){
  body.nexybay-room-planner-page{margin:0!important}
  body.nexybay-room-planner-page .nxb-rp{margin:0!important;border-radius:0}
}


/* 0.4.3 — visible utility bar, starting themes, selection codes, and calibrated colors */
.nxb-rp__toolbar{display:flex;align-items:flex-end;justify-content:flex-end;gap:12px;min-width:0}
.nxb-rp__theme-control{display:grid;gap:3px;min-width:180px;color:#4d5b55;font-family:Arial,sans-serif;font-size:.58rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.nxb-rp__theme-control select{height:36px;min-width:180px;padding:5px 30px 5px 9px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-family:Georgia,"Times New Roman",serif;font-size:.78rem;text-transform:none}
.nxb-rp__design-summary{display:flex;align-items:center;gap:10px;min-width:0;padding:5px 7px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.94)}
.nxb-rp__design-summary>strong{flex:0 0 auto;color:#42524b;font-family:Arial,sans-serif;font-size:.61rem;letter-spacing:.06em;text-transform:uppercase}
.nxb-rp__design-chips{display:flex;gap:6px;min-width:0;overflow-x:auto;scrollbar-width:thin;padding:1px 0}
.nxb-rp__design-empty{color:var(--muted);font-size:.68rem;white-space:nowrap}
.nxb-rp__design-chip{display:grid;grid-template-columns:24px max-content;gap:6px;align-items:center;min-height:34px;padding:4px 7px;border:1px solid #d5e2dc;border-radius:8px;background:#fff;color:var(--ink);text-align:left;white-space:nowrap}
.nxb-rp__design-chip:hover,.nxb-rp__design-chip:focus-visible{border-color:var(--green);box-shadow:0 0 0 2px rgba(15,81,63,.08)}
.nxb-rp__design-chip-swatch{width:24px;height:24px;border:1px solid rgba(0,0,0,.12);border-radius:6px;background-position:center;background-size:cover}
.nxb-rp__design-chip strong,.nxb-rp__design-chip small{display:block}
.nxb-rp__design-chip strong{font-size:.65rem}
.nxb-rp__design-chip small{margin-top:1px;color:var(--muted);font-size:.55rem}

@media(min-width:1081px){
  body.nexybay-room-planner-page{--nxb-admin-offset:0px}
  body.admin-bar.nexybay-room-planner-page{--nxb-admin-offset:32px}
  html:has(body.nexybay-room-planner-page){height:100%}
  body.nexybay-room-planner-page{height:calc(100dvh - var(--nxb-admin-offset));overflow:hidden!important}
  body.nexybay-room-planner-page .nxb-rp{
    height:calc(100dvh - var(--nxb-admin-offset))!important;
    padding:8px 12px 10px!important;
  }
  body.nexybay-room-planner-page .nxb-rp__header{
    flex:0 0 44px;min-height:44px;display:flex!important;align-items:center;justify-content:flex-end;
    margin:0 0 7px!important;padding:0 2px;overflow:visible!important;
  }
  body.nexybay-room-planner-page .nxb-rp__intro{display:none!important}
  body.nexybay-room-planner-page .nxb-rp__toolbar{width:100%;justify-content:space-between;align-items:center}
  body.nexybay-room-planner-page .nxb-rp__theme-control{grid-template-columns:auto minmax(190px,260px);align-items:center;gap:8px}
  body.nexybay-room-planner-page .nxb-rp__theme-control select{height:34px}
  body.nexybay-room-planner-page .nxb-rp__history{flex:0 0 auto}
  body.nexybay-room-planner-page .nxb-rp__quiet{min-height:34px!important;height:34px;padding:5px 11px}
  body.nexybay-room-planner-page .nxb-rp__workspace{min-height:0;grid-template-columns:minmax(0,1fr) minmax(370px,420px);gap:12px}
  body.nexybay-room-planner-page .nxb-rp__visual-column{grid-template-rows:minmax(0,1fr) 46px!important;gap:6px!important;min-height:0}
  body.nexybay-room-planner-page .nxb-rp__scene{width:min(100%,calc((100dvh - var(--nxb-admin-offset) - 111px) * 1.5));max-height:100%}
  body.nexybay-room-planner-page .nxb-rp__design-summary{width:min(100%,calc((100dvh - var(--nxb-admin-offset) - 111px) * 1.5));justify-self:center;box-sizing:border-box}
  body.nexybay-room-planner-page .nxb-rp__panel{height:100%;max-height:100%}
}

@media(min-width:1081px) and (max-height:760px){
  body.nexybay-room-planner-page .nxb-rp__header{flex-basis:40px;min-height:40px}
  body.nexybay-room-planner-page .nxb-rp__visual-column{grid-template-rows:minmax(0,1fr) 26px 42px!important}
  body.nexybay-room-planner-page .nxb-rp__design-chip{min-height:30px}
}

@media(max-width:1080px){
  .nxb-rp__toolbar{width:100%;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
  .nxb-rp__theme-control{min-width:min(100%,240px)}
  .nxb-rp__theme-control select{width:100%}
  .nxb-rp__design-summary{align-items:flex-start;flex-direction:column}
  .nxb-rp__design-chips{width:100%}
}

@media(max-width:782px){
  body.admin-bar.nexybay-room-planner-page{--nxb-admin-offset:46px}
}

@media(max-width:720px){
  .nxb-rp__toolbar{gap:8px}
  .nxb-rp__theme-control{width:100%;max-width:none}
  .nxb-rp__history{width:100%}
  .nxb-rp__design-summary{padding:6px}
}


/* 0.5.0 — two-room selector and bathroom support */
.nxb-rp__planner-selects{display:flex;align-items:flex-end;gap:10px;min-width:0}
.nxb-rp__room-control{display:grid;gap:3px;min-width:145px;color:#4d5b55;font-family:Arial,sans-serif;font-size:.58rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.nxb-rp__room-control select{height:36px;min-width:145px;padding:5px 30px 5px 9px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-family:Georgia,"Times New Roman",serif;font-size:.78rem;text-transform:none}
@media(min-width:1081px){
  body.nexybay-room-planner-page .nxb-rp__room-control{grid-template-columns:auto minmax(120px,155px);align-items:center;gap:8px}
  body.nexybay-room-planner-page .nxb-rp__room-control select{height:34px}
  body.nexybay-room-planner-page .nxb-rp__planner-selects{gap:12px}
}
@media(max-width:1080px){
  .nxb-rp__planner-selects{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:8px}
  .nxb-rp__room-control,.nxb-rp__theme-control{min-width:0;width:100%}
  .nxb-rp__room-control select,.nxb-rp__theme-control select{width:100%;min-width:0}
}
@media(max-width:560px){
  .nxb-rp__planner-selects{grid-template-columns:1fr}
}

.nxb-rp select[data-finish][hidden]{display:none!important}

@media(min-width:1081px){
  body.nexybay-room-planner-page .nxb-rp__finish-trigger{min-height:38px;height:38px;font-size:.72rem}
  body.nexybay-room-planner-page .nxb-rp__finish-trigger-swatch{width:28px;height:26px}
  body.nexybay-room-planner-page .nxb-rp__finish-menu{max-height:min(390px,55vh)}
}

/* 0.8.0 — site-integrated Room Planner page.
   Do not lock the document viewport. The theme owns the site header,
   page intro, footer, and normal vertical scrolling. */
body.nexybay-room-planner-embedded-page{
  height:auto!important;
  min-height:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
html:has(body.nexybay-room-planner-embedded-page){
  height:auto!important;
  min-height:100%!important;
  overflow-y:auto!important;
}
body.nexybay-room-planner-embedded-page .nxb-rp__intro{
  display:none!important;
}
body.nexybay-room-planner-embedded-page .nxb-rp__header{
  align-items:center;
  margin-bottom:8px;
}
body.nexybay-room-planner-embedded-page .nxb-rp__toolbar{
  width:100%;
  justify-content:space-between;
  align-items:center;
}
@media(min-width:1081px){
  body.nexybay-room-planner-embedded-page .nxb-rp{
    width:min(1480px,calc(100vw - 48px))!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:18px auto 28px!important;
    padding:16px 18px 18px!important;
    border-width:1px!important;
    border-radius:28px!important;
    overflow:visible!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__header{
    min-height:42px;
    margin-bottom:10px!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__workspace{
    grid-template-columns:minmax(0,1fr) minmax(360px,410px)!important;
    gap:18px!important;
    align-items:stretch!important;
    min-height:0!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__visual-column{
    grid-template-rows:auto auto!important;
    gap:10px!important;
    min-height:0!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__scene{
    width:100%!important;
    height:auto!important;
    max-width:none!important;
    max-height:none!important;
    aspect-ratio:3/2!important;
    justify-self:stretch!important;
    align-self:start!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__design-summary{
    width:100%!important;
    justify-self:stretch!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__panel{
    height:auto!important;
    min-height:100%!important;
    max-height:none!important;
    align-self:stretch!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__planner-selects{
    gap:12px;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__room-control{
    grid-template-columns:auto minmax(120px,155px);
    align-items:center;
    gap:8px;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__theme-control{
    grid-template-columns:auto minmax(190px,260px);
    align-items:center;
    gap:8px;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__room-control select,
  body.nexybay-room-planner-embedded-page .nxb-rp__theme-control select{
    height:34px;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__quiet{
    min-height:34px;
    height:34px;
    padding:5px 11px;
  }
}
@media(max-width:1080px){
  body.nexybay-room-planner-embedded-page{
    overflow-y:auto!important;
  }
}



/* 0.8.1 — restore the approved wide room viewport on normal scrolling pages.
   The visual column now owns the available desktop width instead of being
   constrained by viewport height. */

/* 0.8.2 — compact site-tool layout.
   The dedicated site page now behaves like a working tool rather than a
   marketing page: compact title in the toolbar, selected finishes above the
   room, normal document scrolling, and a slightly shorter desktop viewport. */
.nxb-rp__tool-title{
  color:var(--green-dark);
  font-family:Arial,sans-serif;
  font-size:1rem;
  font-weight:800;
  letter-spacing:-.01em;
  line-height:1.1;
  white-space:nowrap;
}
.nxb-rp>.nxb-rp__design-summary{
  margin:0 0 10px;
}

@media(min-width:1081px){
  body.nexybay-room-planner-embedded-page .nxb-rp{
    width:min(1200px,calc(100vw - 48px))!important;
    max-width:none!important;
    position:relative!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    margin:10px 0 22px!important;
    padding:13px 15px 15px!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__header{
    min-height:38px!important;
    margin-bottom:7px!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__toolbar{
    display:grid!important;
    grid-template-columns:auto minmax(150px,1fr) auto!important;
    gap:16px!important;
    align-items:center!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__tool-title{
    justify-self:center;
    text-align:center;
    font-size:.96rem;
  }
  body.nexybay-room-planner-embedded-page>.nxb-rp__design-summary{
    margin:0 0 9px!important;
    min-height:36px!important;
    padding:4px 7px!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__design-chips{
    min-height:28px!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__design-chip{
    min-height:28px!important;
    padding:3px 7px!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__workspace{
    grid-template-columns:minmax(0,1fr) minmax(340px,360px)!important;
    gap:14px!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__visual-column{
    display:block!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__scene{
    width:100%!important;
    aspect-ratio:3/2!important;
  }
  body.nexybay-room-planner-embedded-page .nxb-rp__hint{
    display:none!important;
  }
}

@media(max-width:1080px){
  .nxb-rp__tool-title{
    flex:1 1 100%;
    width:100%;
    order:-1;
    text-align:left;
    font-size:1rem;
  }
  .nxb-rp>.nxb-rp__design-summary{
    margin-bottom:10px;
  }
}

@media(max-width:720px){
  .nxb-rp__tool-title{
    font-size:.95rem;
  }
}



/* 0.8.3 — live-page centering and viewport balance.
   The shortcode can be wider than the WordPress content container, so center
   it from the parent's midpoint instead of relying on auto margins. */
@media(min-width:1081px){
  body.nexybay-room-planner-embedded-page .nxb-rp__scene{
    max-width:100%!important;
  }
}


/* 0.8.4 — transparent split-circle comparison handle.
   At the far-left comparison position the scene clips the left half, matching
   the requested before/after affordance. */

/* 0.8.5 — comparison divider now uses the exact same NexyBay green as
   the split-circle handle, so divider and handle read as one control. */
