/* Veyra3D: full-page app layout (kitchen-designer.html). Builds on the .cd designer styles in site.css. */
html.kda-page, html.kda-page body { height: 100%; overflow: hidden; overscroll-behavior: none; background: var(--ground); }
html.kda-page body::before { display: none; }
.kda-boot { position: fixed; inset: 0; display: grid; place-items: center; font: 600 1rem var(--font-body); color: var(--ink-soft); }

.cd.cd--app { position: fixed; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); border: 0; border-radius: 0; box-shadow: none; overflow: hidden; background: var(--ground); }

/* ---------- top bar ---------- */
.kda-top { display: flex; align-items: center; gap: 10px; padding: calc(8px + env(safe-area-inset-top)) 12px 8px; background: var(--navy); color: #fff; min-height: 60px; }
.kda-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; padding-right: 10px; border-right: 1px solid rgba(255,255,255,.14); margin-right: 2px; }
.kda-brand img { width: 34px; height: 34px; border-radius: 8px; background: #fff; padding: 4px; }
.kda-brand span { display: flex; flex-direction: column; line-height: 1.15; }
.kda-brand b { font: 800 .98rem var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.kda-brand small { font-size: .72rem; color: rgba(255,255,255,.66); }
.kda-top__name input { width: clamp(120px, 18vw, 240px); background: rgba(255,255,255,.08); border: 1px solid transparent; color: #fff; font: 700 .95rem var(--font-body); padding: 8px 10px; border-radius: 8px; }
.kda-top__name input:hover { border-color: rgba(255,255,255,.2); }
.kda-top__name input:focus { outline: none; border-color: var(--ember); background: rgba(255,255,255,.12); }
.kda-top__name input::placeholder { color: rgba(255,255,255,.5); }
.kda-top__hist { display: flex; gap: 2px; }
.kda-top__sp { flex: 1; }
.kda-saved { font-size: .78rem; color: rgba(255,255,255,.6); display: inline-flex; align-items: center; gap: 6px; }
.kda-saved::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5fbf8a; }
.kda-saved.is-busy::before { background: var(--ember); }
.kda-ico { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; padding: 0; text-decoration: none; }
.kda-ico svg { width: 21px; height: 21px; }
.kda-top .kda-ico:hover { background: rgba(255,255,255,.1); }
.kda-top .kda-ico:disabled { opacity: .35; cursor: default; background: none; }
.kda-pill { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; border: 0; background: var(--ember); color: var(--navy); border-radius: 12px; padding: 7px 14px; cursor: pointer; font: inherit; min-height: 44px; justify-content: center; }
.kda-pill small { font-size: .68rem; font-weight: 600; opacity: .8; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kda-pill b { font: 800 1.02rem var(--font-display); }
.kda-pill:hover { background: #e39a48; }

/* ---------- body: rail | panel | stage ---------- */
.cd--app .cd__main { display: grid; grid-template-columns: 84px auto minmax(0, 1fr); min-height: 0; height: 100%; }
.kda-rail { display: flex; flex-direction: column; gap: 4px; padding: 10px 8px; background: var(--paper); border-right: 1px solid var(--line); overflow-y: auto; }
.kda-rail button { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; border-radius: 12px; padding: 10px 2px; font: 700 .7rem/1.1 var(--font-body); color: var(--ink-soft); cursor: pointer; text-align: center; }
.kda-rail button svg { width: 24px; height: 24px; }
.kda-rail button:hover { background: var(--ground); color: var(--ink); }
.kda-rail button.is-on { background: var(--sky); color: var(--blue); }
.kda-rail button[data-open="price"] { margin-top: auto; }
.kda-rail button[data-open="price"].is-on { background: #fbe9d4; color: var(--ember-dark); }

.kda-panel { width: 0; overflow: hidden; background: var(--paper); border-right: 1px solid var(--line); min-height: 0; }
.kda--panel .kda-panel { width: 348px; overflow-y: auto; overscroll-behavior: contain; }
.kda--wide .kda-panel { width: 480px; }
.kda-sec__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.kda-sec__head h2 { margin: 0; font: 800 1.12rem var(--font-display); }
.kda-sec__x { color: var(--ink-soft); }
.kda-sec__x:hover { background: var(--ground); color: var(--ink); }
.kda-sec__body { padding: 14px 16px 28px; }
.kda-block { margin-bottom: 22px; }
.kda-block h3 { margin: 0 0 4px; font: 800 .82rem var(--font-display); text-transform: uppercase; letter-spacing: .05em; }
.kda-hint { margin: 0 0 10px; font-size: .8rem; color: var(--ink-soft); line-height: 1.45; }
.kda-link { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--blue); text-decoration: underline; cursor: pointer; }
.kda-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 10px; font-size: .88rem; }
.kda-roomdims { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9rem; margin-bottom: 10px; }
.kda-roomdims .cd__lbl { flex-basis: 100%; font-weight: 700; font-size: .82rem; color: var(--ink-soft); }
.cd--app .kda-block input[type="number"], .cd--app .kda-block select { font: inherit; font-size: 16px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.cd--app .kda-block input[type="number"] { width: 62px; }
.cd--app .kda-block > label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; margin-bottom: 10px; }
.cd--app #cdCutWrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; font-size: .88rem; }
.cd--app #cdCutWrap[hidden] { display: none; }
.cd--app #cdClear { width: 100%; padding: 10px; border-radius: 10px; }
.kda-find { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; margin-bottom: 8px; background: var(--ground); }
.kda-find:focus { outline: none; border-color: var(--blue); background: #fff; }
.cd--app .cd__grp { margin-bottom: 18px; }
.cd--app .cd__grp[hidden] { display: none; }
.cd--app .cd__chips { gap: 6px; }
.cd--app .cd__chip { padding: 9px 12px; font-size: .82rem; border-radius: 10px; min-height: 38px; }
.cd--app .cd__chip[hidden] { display: none; }
.cd--app .cd__chip--tpl { padding: 12px 14px; font-size: .88rem; }
.cd--app .cd__grp--custom { border-top: 0; padding: 14px; background: var(--ground); border-radius: 12px; }
.cd--app .cd__customrow select, .cd--app .cd__customrow input { font-size: 16px; padding: 8px; border-radius: 8px; }
.cd--app .cd__customrow .cd__mini { padding: 8px 14px; border-radius: 8px; }
.cd--app .cd__list { max-height: none; }
.cd--app .cd__actions .btn { border-radius: 10px; }

/* price panel: the quote tool without its card chrome */
.cd--app .cq { border: 0; padding: 0; box-shadow: none; border-radius: 0; background: none; }
.cd--app .cq__head h2 { display: none; }
.cd--app .cq__kick { display: none; }
.cd--app .cq__head p { font-size: .85rem; margin-bottom: 12px; }
.cd--app .cq__brands { gap: 6px; }
.cd--app .cq__brand { padding: 10px; }
.cd--app .cq__brand b { font-size: .9rem; }
.cd--app .cq__brand small { font-size: .72rem; display: block; line-height: 1.3; }
.cd--app .cq__lines { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.cd--app .cq__table table { min-width: 0; font-size: .8rem; }
.cd--app .cq__table th, .cd--app .cq__table td { padding: 7px 8px; }
.cd--app .cq__btns .btn { flex: 1 1 100%; }
.cd--app .cq__browse-head input { flex: 1 1 100%; }
.cd--app .cq__toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; }

/* ---------- stage ---------- */
.cd--app .cd__stage { position: relative; display: block; padding: 0; min-width: 0; min-height: 0; overflow: hidden; background: #fff; }
.cd--app #cdCanvas { display: block; border: 0; border-radius: 0; box-shadow: none; max-width: none; }
.cd--app .cd__views { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 6; box-shadow: 0 4px 16px -6px rgba(16,34,47,.35); }
.cd--app .cd__views button { padding: 9px 18px; white-space: nowrap; }
.cd--app .cd__alt { position: absolute; inset: 64px 14px 12px; z-index: 4; }
.cd--app .cd__alt[hidden] { display: none; }
.cd--app .k3__cv { box-shadow: none; border: 1px solid var(--line-soft); }
.cd--app .cd__hint { position: absolute; left: 14px; bottom: 12px; z-index: 3; text-align: left; max-width: 34ch; font-size: .72rem; background: rgba(255,255,255,.85); padding: 6px 9px; border-radius: 8px; pointer-events: none; }
.cd--app .cd__sel { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 5; width: auto; max-width: calc(100% - 150px); border-radius: 14px; padding: 10px 14px; box-shadow: 0 10px 30px -10px rgba(16,34,47,.45); border-color: var(--line-soft); }
.cd--app .cd__sel .cd__mini { padding: 8px 12px; border-radius: 8px; }
.cd--app .cd__sel input { font-size: 16px; width: 60px; border-radius: 6px; }
.cd--app .cd__stage:has(.cd__sel:not([hidden])) .cd__hint { display: none; }
.kda-zoom { position: absolute; right: 14px; bottom: 16px; z-index: 5; display: flex; flex-direction: column; background: #fff; border-radius: 12px; box-shadow: 0 6px 20px -8px rgba(16,34,47,.4); overflow: hidden; }
.kda-zoom .kda-ico { border-radius: 0; color: var(--ink); width: 44px; height: 44px; }
.kda-zoom .kda-ico + .kda-ico { border-top: 1px solid var(--line-soft); }
.kda-zoom .kda-ico:hover { background: var(--ground); }
.cd--app .cd__stage:has(.cd__alt:not([hidden])) .kda-zoom, .cd--app .cd__stage:has(.cd__alt:not([hidden])) .kda-hello { display: none; }

/* welcome card */
.kda-hello { position: absolute; inset: 0; z-index: 7; display: grid; place-items: center; padding: 20px; background: rgba(243,241,236,.78); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); overflow-y: auto; }
.kda-hello[hidden] { display: none; }
.kda-hello__card { background: #fff; border-radius: 20px; padding: clamp(20px, 3vw, 34px); max-width: 680px; width: 100%; box-shadow: 0 30px 60px -30px rgba(16,34,47,.5); text-align: center; }
.kda-hello__kick { margin: 0 0 6px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-dark); }
.kda-hello__card h2 { margin: 0 0 6px; font: 800 clamp(1.4rem, 3vw, 1.9rem) var(--font-display); }
.kda-hello__card > p { margin: 0 auto 18px; color: var(--ink-soft); max-width: 44ch; }
.kda-hello__tpls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kda-hello__tpls button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.kda-hello__tpls button:hover { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,102,140,.15); }
.kda-hello__tpls b { font-size: .92rem; }
.kda-hello__tpls small { font-size: .74rem; color: var(--ink-soft); }
.kda-hello__foot { margin: 16px 0 0 !important; font-size: .78rem; color: var(--ink-soft); }
/* little plan icons for each starter layout */
.kda-shape { position: relative; width: 64px; height: 48px; border: 2px solid var(--ink); border-radius: 3px; margin-bottom: 6px; background: var(--ground); }
.kda-shape::before, .kda-shape::after { content: ""; position: absolute; background: #cdb58f; }
.kda-shape--one-wall::before { left: 4px; right: 4px; top: 3px; height: 9px; }
.kda-shape--galley::before { left: 4px; right: 4px; top: 3px; height: 9px; }
.kda-shape--galley::after { left: 4px; right: 4px; bottom: 3px; height: 9px; }
.kda-shape--l-island::before { left: 3px; top: 3px; bottom: 3px; width: 9px; box-shadow: 0 0 0 0 transparent; }
.kda-shape--l-island::after { left: 3px; right: 3px; bottom: 3px; height: 9px; }
.kda-shape--l-island { background: linear-gradient(#cdb58f, #cdb58f) 60% 42% / 24px 10px no-repeat, var(--ground); }
.kda-shape--blank { border-style: dashed; }
.kda-shape--open-plan::before { left: 4px; right: 20px; top: 3px; height: 9px; }
.kda-shape--suite::before { right: 3px; top: 3px; bottom: 3px; width: 2px; background: var(--ink); }

/* ---------- phones and small tablets: bottom tabs + sheet ---------- */
@media (max-width: 899px) {
  .kda-top { gap: 6px; padding-left: 8px; padding-right: 8px; min-height: 54px; }
  .kda-brand { border: 0; padding: 0; margin: 0; }
  .kda-brand span, .kda-saved, .kda-top [data-full] { display: none; }
  .kda-brand img { width: 32px; height: 32px; }
  .kda-top__name { flex: 1; min-width: 0; }
  .kda-top__name input { width: 100%; font-size: 16px; padding: 7px 8px; }
  .kda-top__sp { display: none; }
  .kda-pill { padding: 5px 10px; min-height: 40px; }
  .kda-pill small { display: none; }
  .kda-pill b { font-size: .92rem; }
  .kda-top .kda-ico { width: 38px; height: 38px; }
  .cd--app .cd__main { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .cd--app .cd__stage { grid-row: 1; grid-column: 1; }
  .kda-rail { grid-row: 2; flex-direction: row; justify-content: space-around; gap: 0; padding: 4px 2px calc(4px + env(safe-area-inset-bottom)); border-right: 0; border-top: 1px solid var(--line); overflow: visible; z-index: 20; }
  .kda-rail button { flex: 1; height: 50px; justify-content: center; padding: 0; font-size: .6rem; letter-spacing: -.01em; gap: 3px; min-width: 0; }
  .kda-rail button svg { width: 22px; height: 22px; }
  .kda-rail button[data-open="price"] { margin-top: 0; }
  .kda-panel, .kda--panel .kda-panel, .kda--wide .kda-panel { position: absolute; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); width: auto; max-height: 62%; z-index: 15; border: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -18px 40px -20px rgba(16,34,47,.45); transform: translateY(105%); transition: transform .22s ease; overflow-y: auto; }
  .kda--panel .kda-panel { transform: none; }
  .kda--wide .kda-panel { max-height: 80%; }
  .cd--app .cd__main { position: relative; }
  .kda-sec__head { padding-top: 16px; }
  .kda-sec__head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 38px; height: 4px; margin-left: -19px; border-radius: 2px; background: var(--line); }
  .cd--app .cd__hint { display: none; }
  .cd--app .cd__views { top: 8px; }
  .cd--app .cd__views button { padding: 8px 12px; font-size: .8rem; }
  .cd--app .cd__alt { inset: 56px 6px 6px; }
  .cd--app .cd__sel { left: 8px; right: 64px; bottom: 10px; transform: none; max-width: none; padding: 8px 10px; gap: 6px; font-size: .8rem; }
  .cd--app .cd__seldist { display: none; }
  .kda-zoom { right: 8px; bottom: 10px; }
  .kda-hello__tpls { grid-template-columns: repeat(2, 1fr); }
  .kda-hello { align-items: start; }
}
@media (max-width: 899px) and (prefers-reduced-motion: reduce) { .kda-panel { transition: none; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- our products ---------- */
.kda-pb__cats { display: flex; gap: 6px; margin: 0 -16px 10px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
.kda-pb__cats::-webkit-scrollbar { display: none; }
.kda-pb__cats button { flex: 0 0 auto; white-space: nowrap; }
.kda-pb__cats button, .kda-pb__w button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; font: 700 .78rem var(--font-body); color: var(--ink-soft); cursor: pointer; min-height: 36px; }
.kda-pb__cats button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.kda-pb__w { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 10px; }
.kda-pb__w button { padding: 6px 10px; min-height: 32px; }
.kda-pb__w button.is-on { background: var(--sky); border-color: var(--blue); color: var(--blue); }
.kda-pb__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.kda-pc { display: flex; flex-direction: column; gap: 3px; border: 1px solid var(--line-soft); border-radius: 12px; padding: 8px; background: #fff; min-width: 0; }
.kda-pc__img { position: relative; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #fff; }
.kda-pc__img img { width: 100%; height: 100%; object-fit: contain; }
.kda-pc__img i { position: absolute; left: 6px; top: 6px; font: 800 .68rem var(--font-body); font-style: normal; background: var(--navy); color: #fff; padding: 3px 7px; border-radius: 6px; }
.kda-pc small { font-size: .68rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; margin-top: 3px; }
.kda-pc__t { font-size: .78rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.kda-pc__row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.kda-pc__row b { font: 800 .95rem var(--font-display); }
.kda-pc__row em { font-style: normal; font-size: .66rem; color: var(--ember-dark); font-weight: 700; }
.kda-pc__go { margin-top: auto; border: 0; background: var(--blue); color: #fff; border-radius: 9px; padding: 9px 6px; font: 700 .78rem var(--font-body); cursor: pointer; min-height: 38px; }
.kda-pc__go:hover { background: var(--blue-700, #2d5373); }
.kda-pc__qty { margin-top: auto; display: flex; align-items: center; justify-content: space-between; background: var(--sky); border-radius: 9px; min-height: 38px; }
.kda-pc__qty button { width: 36px; height: 38px; border: 0; background: none; font: 800 1.1rem var(--font-body); color: var(--blue); cursor: pointer; }
.kda-pc__qty span { font-size: .74rem; font-weight: 700; color: var(--blue); }
.kda-generic { border-top: 1px solid var(--line-soft); padding-top: 12px; }
.kda-generic summary { cursor: pointer; font-weight: 700; font-size: .85rem; color: var(--ink-soft); padding: 6px 0; }
.kda-generic .cd__grp { margin-top: 10px; }
.kda-toast { position: absolute; left: 50%; top: 76px; transform: translate(-50%, -12px); z-index: 30; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: .86rem; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: min(92vw, 440px); text-align: center; }
.kda-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.kda-toast .kda-link { color: #ffcf96; }

/* products in the plan list and the selection card */
.cd__prods ul { list-style: none; padding: 0; }
.cd__prods li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "img t t" "img q p"; gap: 2px 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.cd__prods li img { grid-area: img; width: 40px; height: 40px; object-fit: contain; border-radius: 6px; background: #fff; border: 1px solid var(--line-soft); }
.cd__prods li a { grid-area: t; font-size: .78rem; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd__prods li b { grid-area: p; font-size: .82rem; }
.cd__pq { grid-area: q; display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; color: var(--ink-soft); }
.cd__pq button { width: 28px; height: 28px; border: 1px solid var(--line); background: #fff; border-radius: 7px; cursor: pointer; font-weight: 800; }
.cd__ptot { display: flex; justify-content: space-between; margin: 10px 0; font-size: .9rem; }
.cd__selprod { display: inline-flex; align-items: center; gap: 8px; max-width: 320px; text-decoration: none; color: var(--ink); background: var(--ground); border-radius: 10px; padding: 4px 10px 4px 4px; }
.cd__selprod img { width: 36px; height: 36px; object-fit: contain; background: #fff; border-radius: 7px; }
.cd__selprod span { font-size: .74rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd__selprod b { font-size: .8rem; white-space: nowrap; }
@media (max-width: 899px) { .cd__selprod span { display: none; } .kda-toast { top: 62px; } }

/* chosen cabinet line on top of the Cabinets panel */
.cd--app .cq--browse { border: 0; padding: 0; box-shadow: none; background: none; }
.cq__now { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--ground); border-radius: 12px; margin-bottom: 12px; }
.cq__now > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.cq__now small { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.cq__now b { font: 800 .95rem var(--font-display); }
.cq__now em { font-style: normal; font-size: .74rem; color: var(--ink-soft); }
.cq__chip { width: 40px; height: 48px; border-radius: 6px; background: var(--c); flex: 0 0 auto; box-shadow: inset 0 0 0 4px var(--c), inset 0 0 0 5px rgba(0,0,0,.14), inset 0 0 0 1px rgba(0,0,0,.12); }
.cd--app .cq--browse .cq__browse { margin: 0; padding: 0; border: 0; }
.cd--app .cq--browse .cq__browse-head h3 { display: none; }
.cd--app .cq--browse .cq__skus { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; overflow: visible; }
.cd--app .cq--browse .cq__tabs { gap: 5px; }
.cd--app .cq--browse .cq__tabs button { min-height: 34px; }
.k3p__line { display: flex; align-items: center; gap: 8px; font-size: .82rem; margin: 0 0 10px; }
.k3p__line span { width: 22px; height: 22px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }

/* store header only hosts the cart; the cart button lives in the top bar */
.kda-sfhost { display: none !important; }
.kda-cart { position: relative; color: #fff; background: transparent; border: 0; }
.kda-cart svg { width: 22px; height: 22px; }
.kda-cart .sf-cart-btn__count { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--ember); color: var(--navy); font: 800 .68rem/17px var(--font-body); text-align: center; padding: 0 4px; }
.kda-top .kda-cart:hover { background: rgba(255,255,255,.1); }
@media (max-width: 899px) {
  .cd--app .k3__bar, .cd--app .k3__actions { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .cd--app .k3__bar::-webkit-scrollbar, .cd--app .k3__actions::-webkit-scrollbar { display: none; }
  .cd--app .k3__bar .cd__mini, .cd--app .k3__actions .cd__mini { flex: 0 0 auto; }
  .cd--app .k3__tip { display: none; }
}
.kda-pb__cats button small { font-weight: 600; opacity: .6; margin-left: 2px; }
/* studio backdrop behind the transparent 3D render */
.k3__gl { background: radial-gradient(ellipse at 50% 42%, #fbfaf8 0%, #ece9e3 62%, #e1ddd6 100%) !important; }

.kda-present { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; border-radius: 12px; font: 700 .86rem var(--font-body); cursor: pointer; }
.kda-present svg { width: 20px; height: 20px; }
.kda-present:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.kda-present:disabled { opacity: .6; cursor: progress; }
@media (max-width: 899px) { .kda-present { padding: 0 9px; min-height: 40px; } .kda-present span { display: none; } }

/* ---------- premium finish ---------- */
.kda-top { background: linear-gradient(180deg, #14303f 0%, #0f212d 100%); box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 6px 18px -12px rgba(0,0,0,.6); position: relative; z-index: 12; }
.kda-brand b { letter-spacing: -.005em; }
.kda-brand small { letter-spacing: .04em; }
.kda-rail { background: #fbfaf8; }
.kda-rail button { position: relative; transition: background .15s, color .15s; }
.kda-rail button.is-on::before { content: ""; position: absolute; left: -8px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue); }
.kda-rail button[data-open="price"].is-on::before { background: var(--ember); }
.kda-panel { box-shadow: 8px 0 24px -20px rgba(16,34,47,.45); position: relative; z-index: 2; }
.kda-sec__head h2 { font-size: 1.2rem; letter-spacing: -.01em; }
.cd--app .cd__views { background: rgba(255,255,255,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(22,33,44,.1); }
.cd--app .cd__mini { border-radius: 10px; min-height: 36px; padding: 0 13px; font-weight: 700; border-color: rgba(22,33,44,.14); background: #fff; transition: border-color .15s, color .15s, box-shadow .15s; }
.cd--app .cd__mini:hover { box-shadow: 0 4px 12px -8px rgba(16,34,47,.5); }
.cd--app .k3__bar, .cd--app .k3__actions { gap: 6px; }
.kda-pc { transition: transform .15s, box-shadow .15s, border-color .15s; }
.kda-pc:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(16,34,47,.45); border-color: var(--line); }
.cd--app .cq__sku { transition: transform .15s, box-shadow .15s; }
.cd--app .cq__sku:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(16,34,47,.45); }
.kda-zoom { backdrop-filter: blur(8px); }
.kda-pill { box-shadow: 0 6px 16px -8px rgba(213,133,46,.7); }

/* ---------- feel: drag ghost, drop target, pick card, help, skeletons, motion ---------- */
.kda-ghost { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -14px rgba(16,34,47,.55); border: 2px solid transparent; max-width: 280px; transition: border-color .12s, box-shadow .12s; }
.kda-ghost img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #fff; }
.kda-ghost b { display: block; font-size: .84rem; line-height: 1.25; }
.kda-ghost small { display: block; font-size: .72rem; color: var(--ink-soft); }
.kda-ghost.is-over { border-color: var(--blue); box-shadow: 0 18px 40px -14px rgba(58,102,140,.6); }
.kda-ghost.is-over small::before { content: "Release to place \2022  "; color: var(--blue); font-weight: 700; }
.kda--dragging, .kda--dragging * { cursor: grabbing !important; user-select: none; }
.cd--app .cd__stage.kda-drop::after { content: ""; position: absolute; inset: 8px; border: 2px dashed var(--blue); border-radius: 14px; pointer-events: none; background: rgba(58,102,140,.04); }
.cd--app .kda-pc, .cd--app .cd__chip[data-cat] { cursor: grab; }
.kda-pick { position: absolute; z-index: 9; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px 12px; width: 290px; box-shadow: 0 18px 40px -16px rgba(16,34,47,.55); animation: kda-pop .16s ease-out; }
.kda-pick[hidden] { display: none; }
.kda-pick img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; flex: 0 0 auto; }
.kda-pick b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .84rem; line-height: 1.3; }
.kda-pick small { display: block; color: var(--ink-soft); font-size: .74rem; margin: 2px 0 4px; }
.kda-pick span { font-size: .8rem; }
.kda-help { position: absolute; inset: 0; z-index: 60; background: rgba(16,34,47,.42); display: grid; place-items: center; padding: 20px; animation: kda-fade .15s ease-out; }
.kda-help[hidden] { display: none; }
.kda-help__card { background: #fff; border-radius: 18px; width: min(720px, 100%); max-height: 90%; overflow: auto; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); animation: kda-pop .18s ease-out; }
.kda-help__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; padding: 16px 20px 22px; }
.kda-help__grid div { display: flex; gap: 12px; align-items: baseline; font-size: .86rem; }
.kda-help__grid kbd { flex: 0 0 150px; font: 700 .76rem var(--font-body); background: var(--ground); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 7px; padding: 4px 8px; text-align: center; }
.kda-helpbtn { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; border-radius: 12px; padding: 10px 2px; font: 700 .7rem/1.1 var(--font-body); color: var(--ink-soft); cursor: pointer; }
.kda-helpbtn svg { width: 22px; height: 22px; }
.kda-helpbtn:hover { background: var(--ground); color: var(--ink); }
.kda-pc--skel { pointer-events: none; }
.kda-pc--skel i, .kda-pc--skel b, .kda-pc--skel em { display: block; border-radius: 8px; background: linear-gradient(90deg, #efede8 0%, #f8f7f4 50%, #efede8 100%); background-size: 200% 100%; animation: kda-shimmer 1.1s linear infinite; }
.kda-pc--skel i { aspect-ratio: 1; }
.kda-pc--skel b { height: 11px; margin-top: 8px; }
.kda-pc--skel b + b { width: 70%; }
.kda-pc--skel em { height: 36px; margin-top: 10px; }
.cd--app .cq__toast { display: none !important; }
.kda-toast .kda-link { margin-left: 6px; }
@keyframes kda-shimmer { to { background-position: -200% 0; } }
@keyframes kda-pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes kda-fade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 900px) {
  .kda-sec:not([hidden]) { animation: kda-fade .18s ease-out; }
}
@media (max-width: 899px) {
  .kda-help__grid { grid-template-columns: 1fr; }
  .kda-help__grid kbd { flex-basis: 120px; }
  .kda-helpbtn { display: none; }
  .kda-pick { width: auto; left: 8px !important; right: 8px; top: auto !important; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .kda-pc--skel i, .kda-pc--skel b, .kda-pc--skel em, .kda-pick, .kda-help__card, .kda-sec { animation: none !important; } }

/* fill a wall */
.kda-fill { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.kda-fill button { min-height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font: 700 .82rem var(--font-body); color: var(--ink); cursor: pointer; }
.kda-fill button:hover { border-color: var(--blue); color: var(--blue); }
.kda-check { display: flex; align-items: center; gap: 8px; font-size: .85rem; }
.kda-check input { width: 18px; height: 18px; }
/* my designs */
.kda-libbtn { color: #fff; }
.kda-lib__card { width: min(920px, 100%); }
.kda-lib__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; padding: 16px 20px; }
.kda-lib__new { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 220px; border: 2px dashed var(--line); border-radius: 14px; background: var(--ground); color: var(--ink); cursor: pointer; font: inherit; }
.kda-lib__new svg { width: 30px; height: 30px; color: var(--blue); }
.kda-lib__new:hover { border-color: var(--blue); }
.kda-lib__new small { color: var(--ink-soft); }
.kda-lib__item { border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.kda-lib__item:hover { box-shadow: 0 14px 30px -18px rgba(16,34,47,.5); transform: translateY(-2px); }
.kda-lib__item.is-cur { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(58,102,140,.2); }
.kda-lib__open { border: 0; padding: 0; background: #f6f5f2; cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; }
.kda-lib__open img { width: 100%; height: 100%; object-fit: contain; display: block; }
.kda-lib__blank { display: block; width: 100%; height: 100%; }
.kda-lib__meta { padding: 10px 12px 4px; }
.kda-lib__meta b { display: block; font-size: .92rem; }
.kda-lib__meta small { color: var(--ink-soft); font-size: .74rem; }
.kda-lib__act { display: flex; gap: 4px; padding: 6px 8px 10px; flex-wrap: wrap; }
.kda-lib__act button { border: 0; background: none; color: var(--blue); font: 700 .76rem var(--font-body); padding: 6px; border-radius: 6px; cursor: pointer; }
.kda-lib__act button:hover { background: var(--sky); }
.kda-lib__act button[data-lib-del] { color: #a4372c; }
@media (max-width: 899px) { .kda-lib__grid { grid-template-columns: 1fr 1fr; padding: 12px; gap: 10px; } .kda-lib__new { min-height: 150px; } }
/* top bar shrinks gracefully on laptops and tablets */
.kda-top { min-width: 0; }
.kda-top > * { flex-shrink: 0; }
.kda-top__name { flex-shrink: 1; min-width: 90px; }
.kda-top__name input { width: clamp(90px, 16vw, 240px); }
@media (max-width: 1180px) { .kda-saved { display: none; } .kda-brand small { display: none; } }
@media (max-width: 1040px) { .kda-present span { display: none; } .kda-present { padding: 0 10px; } .kda-brand b { font-size: .88rem; } }
@media (min-width: 900px) and (max-width: 960px) { .kda-brand span { display: none; } }

/* overlays cover the whole app, top bar included */
.kda-help { position: fixed; z-index: 80; }
.k3__mood { background: #1c2b36 !important; color: #ffe2b0 !important; border-color: #1c2b36 !important; }
@media (max-width: 899px) { .kda-rail button { font-size: .69rem; letter-spacing: -.02em; } .kda-pc small { font-size: .72rem; } }

/* finish your kitchen */
.kda-finish { margin-bottom: 18px; }
.kda-finish:empty { display: none; }
.kda-finish__head { display: flex; justify-content: space-between; align-items: baseline; }
.kda-finish__head b { font: 800 1rem var(--font-display); }
.kda-finish__head span { font-size: .78rem; color: var(--ink-soft); font-weight: 700; }
.kda-finish__bar { height: 6px; border-radius: 3px; background: var(--ground); margin: 8px 0 10px; overflow: hidden; }
.kda-finish__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #5b8db5); border-radius: 3px; transition: width .4s ease; }
.kda-finish ul { list-style: none; margin: 0; padding: 0; }
.kda-finish li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.kda-finish li > div { flex: 1; min-width: 0; }
.kda-finish li b { display: block; font-size: .86rem; }
.kda-finish li em { font-style: normal; font-weight: 600; color: var(--ink-soft); font-size: .72rem; }
.kda-finish li small { display: block; font-size: .74rem; color: var(--ink-soft); }
.kda-finish__tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: 0 0 auto; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: #fff; }
.kda-finish li.is-done .kda-finish__tick { background: var(--ok, #1E7B4D); border-color: var(--ok, #1E7B4D); }
.kda-finish li.is-done b { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.kda-finish li button { border: 0; background: var(--sky); color: var(--blue); font: 700 .78rem var(--font-body); padding: 8px 12px; border-radius: 9px; cursor: pointer; min-height: 34px; }
.kda-finish li button:hover { background: var(--blue); color: #fff; }
.kda-badge { position: absolute; top: 4px; right: 12px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--ember); color: var(--navy); font: 800 .66rem/18px var(--font-body); font-style: normal; text-align: center; padding: 0 4px; }
.kda-badge[hidden] { display: none; }
.kda-rail button { position: relative; }
.kda-measure.is-on { background: var(--ember) !important; color: var(--navy) !important; }
.kda-sharebtn { color: #fff; }
@media (max-width: 899px) { .kda-badge { top: 2px; right: 6px; } .kda-sharebtn { display: none; } }

/* right-click menu */
.kda-ctx { position: fixed; z-index: 120; min-width: 230px; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 20px 44px -16px rgba(16,34,47,.55), 0 0 0 1px rgba(22,33,44,.06); animation: kda-pop .12s ease-out; }
.kda-ctx[hidden] { display: none; }
.kda-ctx p { margin: 0; padding: 6px 10px 8px; font-size: .74rem; font-weight: 700; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; }
.kda-ctx button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; border: 0; background: none; padding: 9px 10px; border-radius: 8px; font: 600 .86rem var(--font-body); color: var(--ink); cursor: pointer; text-align: left; }
.kda-ctx button:hover, .kda-ctx button:focus-visible { background: var(--sky); color: var(--blue); outline: none; }
.kda-ctx button.is-del { color: #a4372c; }
.kda-ctx button.is-del:hover { background: #fbeceb; }
.kda-ctx kbd { font: 600 .7rem var(--font-body); color: var(--ink-soft); background: var(--ground); border-radius: 5px; padding: 2px 6px; }

/* design it for me */
.kda-dfm__card { width: min(620px, 100%); }
.kda-dfm__form { padding: 14px 20px 20px; display: grid; gap: 14px; }
.kda-dfm__form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.kda-dfm__form legend { font: 800 .78rem var(--font-display); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; padding: 0; }
.kda-dfm__form label { font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.kda-dfm__form input[type=number], .kda-dfm__form select { font: inherit; font-size: 16px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; width: 74px; }
.kda-dfm__form select { width: 100%; }
.kda-dfm__opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: 100%; }
.kda-dfm__opts--3 { grid-template-columns: repeat(3, 1fr); }
.kda-dfm__opt { position: relative; display: flex !important; flex-direction: column; align-items: center; gap: 4px !important; padding: 12px 6px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; text-align: center; }
.kda-dfm__opt input { position: absolute; opacity: 0; pointer-events: none; }
.kda-dfm__opt:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,102,140,.15); background: var(--sky); }
.kda-dfm__opt b { font-size: .84rem; }
.kda-dfm__opt small { font-size: .72rem; color: var(--ink-soft); font-weight: 500; }
.kda-dfm__opt .kda-shape { width: 48px; height: 36px; margin: 0; }
.kda-dfm__cta { display: flex; width: 100%; align-items: center; gap: 12px; padding: 14px; margin-bottom: 18px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #10222F, #25475f); color: #fff; text-align: left; cursor: pointer; font: inherit; box-shadow: 0 12px 26px -16px rgba(16,34,47,.8); }
.kda-dfm__cta svg { width: 26px; height: 26px; color: #F5C27E; flex: 0 0 auto; }
.kda-dfm__cta b { display: block; font: 800 1rem var(--font-display); }
.kda-dfm__cta small { color: rgba(255,255,255,.72); font-size: .78rem; }
.kda-dfm__cta:hover { filter: brightness(1.08); }
.kda-hello__dfm { margin: 14px auto 0; display: inline-flex; align-items: center; gap: 8px; border: 0; background: #10222F; color: #fff; font: 700 .9rem var(--font-body); padding: 12px 18px; border-radius: 12px; cursor: pointer; }
.kda-hello__dfm svg { width: 18px; height: 18px; color: #F5C27E; }
/* budget dial */
.kda-dial { margin-bottom: 18px; }
.kda-dial:empty { display: none; }
.kda-dial__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.kda-dial__head b { font: 800 1rem var(--font-display); }
.kda-dial__head span { font-size: .76rem; color: var(--ink-soft); font-weight: 700; }
.kda-dial__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kda-dial__opts button { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 6px; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 2px; align-items: center; }
.kda-dial__opts button:hover { border-color: var(--blue); }
.kda-dial__opts b { font-size: .86rem; }
.kda-dial__opts small { font: 800 .9rem var(--font-display); color: var(--ember-dark); }
@media (max-width: 899px) { .kda-dfm__opts { grid-template-columns: repeat(3, 1fr); } }
/* tour + record */
.k3__tour { background: var(--blue) !important; color: #fff !important; border-color: var(--blue) !important; }
.k3__rec { color: #b3261e !important; }

.kda-drawbtn { color: #fff; }
@media (max-width: 899px) { .kda-drawbtn { display: none; } }

/* first-person walk */
.k3-walk[hidden] { display: none; }
.k3-walk__tip { position: absolute; left: 50%; top: 56px; transform: translateX(-50%); z-index: 6; margin: 0; background: rgba(16,34,47,.82); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: .8rem; white-space: nowrap; backdrop-filter: blur(6px); pointer-events: none; animation: kda-fade .3s ease-out; }
.k3-walk__tip b { color: #F5C27E; margin-right: 6px; }
.k3-walk__pad { position: absolute; left: 16px; bottom: 58px; z-index: 6; display: grid; grid-template-columns: repeat(3, 46px); grid-template-rows: repeat(2, 46px); gap: 6px; }
.k3-walk__pad button { border: 0; border-radius: 12px; background: rgba(255,255,255,.88); box-shadow: 0 6px 16px -8px rgba(16,34,47,.5); font-size: 1rem; color: var(--ink); cursor: pointer; touch-action: none; user-select: none; }
.k3-walk__pad button:active { background: var(--ember); }
.k3-walk__pad [data-k="w"] { grid-column: 2; grid-row: 1; }
.k3-walk__pad [data-k="a"] { grid-column: 1; grid-row: 2; }
.k3-walk__pad [data-k="s"] { grid-column: 2; grid-row: 2; }
.k3-walk__pad [data-k="d"] { grid-column: 3; grid-row: 2; }
.k3-walk__exit { position: absolute; right: 16px; top: 56px; z-index: 6; border: 0; background: #fff; border-radius: 10px; padding: 8px 14px; font: 700 .82rem var(--font-body); box-shadow: 0 6px 16px -8px rgba(16,34,47,.5); cursor: pointer; }
html.kda-walking .k3__gl { cursor: grab; }
@media (hover: hover) and (pointer: fine) { .k3-walk__pad { opacity: .75; } }
@media (max-width: 899px) { .k3-walk__tip span { display: none; } .k3-walk__tip { top: 10px; } .k3-walk__exit { top: 10px; } }

/* brand stone picker */
.kda-stone__card { width: min(980px, 100%); display: flex; flex-direction: column; max-height: 88%; }
.kda-stone__top { padding: 12px 20px 0; }
.kda-stone__top .kda-pb__cats { margin: 0 0 10px; padding: 0 0 4px; }
.kda-stone__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; padding: 6px 20px 12px; overflow-y: auto; }
.kda-stone__sw { border: 2px solid transparent; background: #fff; border-radius: 12px; padding: 5px; cursor: pointer; font: inherit; text-align: left; display: flex; flex-direction: column; gap: 5px; }
.kda-stone__sw i { display: block; aspect-ratio: 1; border-radius: 8px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .15s; }
.kda-stone__sw:hover i { transform: scale(1.03); }
.kda-stone__sw b { font-size: .8rem; line-height: 1.25; }
.kda-stone__sw small { font-size: .7rem; color: var(--ink-soft); margin-top: -3px; }
.kda-stone__sw.is-on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,102,140,.15); }
.kda-stone__foot { padding: 0 20px 16px; margin: 0; }
.k3p__brandstone { border: 1px dashed var(--blue); background: var(--sky); color: var(--blue); font: 700 .74rem var(--font-body); border-radius: 999px; padding: 6px 10px; cursor: pointer; margin-right: 4px; }
.k3p__brandstone:hover { background: var(--blue); color: #fff; }
@media (max-width: 899px) { .kda-stone__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 6px 12px 12px; } }

/* 3D edit card */
.kda-pick { display: block; width: 350px; padding: 12px; }
.kda-pick__head { display: flex; gap: 10px; align-items: center; }
.kda-pick__tools { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0 8px; }
.kda-pick__tools button { flex: 1 1 60px; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 1px solid var(--line-soft); background: #fff; border-radius: 10px; padding: 7px 4px; cursor: pointer; font: 700 .68rem var(--font-body); color: var(--ink); }
.kda-pick__tools button svg { width: 18px; height: 18px; }
.kda-pick__tools button:hover { background: var(--sky); color: var(--blue); border-color: var(--sky-line); }
.kda-pick__tools button.is-del { color: #a4372c; }
.kda-pick__tools button.is-del:hover { background: #fbeceb; }
.kda-pick__foot { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .74rem; color: var(--ink-soft); }
.kda-pick__foot span { flex: 1; }
@media (max-width: 899px) { .kda-pick { width: auto; } .kda-pick__tools button span { font-size: .62rem; } }

/* bath */
.kda-bathcats { display: flex; flex-wrap: wrap; gap: 6px; }
.kda-bathcats button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; font: 700 .78rem var(--font-body); color: var(--ink); cursor: pointer; min-height: 36px; }
.kda-bathcats button:hover { border-color: var(--blue); color: var(--blue); }
.kda-shape--primary-bath::before { left: 4px; right: 40%; top: 3px; height: 9px; }
.kda-shape--primary-bath::after { right: 4px; bottom: 3px; width: 26px; height: 18px; background: #bfe0dc; }

/* countertop take-off */
.kda-ctr { margin-bottom: 18px; }
.kda-ctr:empty { display: none; }
.kda-ctr__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.kda-ctr__head b { font: 800 1rem var(--font-display); }
.kda-ctr__head span { font: 800 .9rem var(--font-display); color: var(--ember-dark); }
.kda-ctr__pick { display: flex; align-items: center; gap: 10px; padding: 8px; background: var(--ground); border-radius: 12px; margin-bottom: 8px; }
.kda-ctr__pick i { width: 44px; height: 44px; border-radius: 8px; background-size: cover; background-position: center; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.kda-ctr__pick i.kda-ctr__none { background: repeating-linear-gradient(45deg, #e8e4dc 0 6px, #f4f1ea 6px 12px); }
.kda-ctr__pick > div { flex: 1; min-width: 0; }
.kda-ctr__pick b { display: block; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kda-ctr__pick small { font-size: .72rem; color: var(--ink-soft); }
.kda-ctr__rows { list-style: none; margin: 0 0 10px; padding: 0; font-size: .82rem; }
.kda-ctr__rows li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid var(--line-soft); }
.kda-ctr__quote { border-radius: 10px; }

/* phone: eight tools now, so the bottom bar scrolls sideways with a hint of the next tab */
@media (max-width: 899px) {
  .kda-rail { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .kda-rail::-webkit-scrollbar { display: none; }
  .kda-rail button { flex: 0 0 68px; scroll-snap-align: start; font-size: .64rem; letter-spacing: 0; }
  .kda-rail button span { white-space: nowrap; }
  .kda-rail::after { content: ""; position: sticky; right: 0; flex: 0 0 18px; margin-left: -18px; background: linear-gradient(90deg, transparent, var(--paper)); pointer-events: none; }
}

/* RK Parisi family of companies in the top bar */
.kda-brand img { background: #fff; padding: 3px; }
.kda-family { display: flex; align-items: center; gap: 14px; padding: 0 14px; border-left: 1px solid rgba(255,255,255,.14); }
.kda-family a { display: inline-flex; opacity: .72; transition: opacity .15s, transform .15s; }
.kda-family a:hover { opacity: 1; transform: scale(1.06); }
.kda-family img { height: 18px; width: auto; filter: brightness(0) invert(1); }
@media (max-width: 1360px) { .kda-family { gap: 10px; padding: 0 10px; } .kda-family img { height: 15px; } }
@media (max-width: 1180px) { .kda-family { display: none; } }

.kda-furnish { margin-top: 10px; border-radius: 10px; }

.cd--app .cq__brands { grid-template-columns: repeat(2, 1fr); }

/* family strip, take two: colour logos on a light plate */
.kda-family { background: #f1f3f5; border-radius: 12px; padding: 5px 12px 5px 10px; gap: 16px; border-left: 0; }
.kda-family span { font: 700 .62rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-right: -4px; }
.kda-family a { opacity: 1; }
.kda-family img { height: 24px; filter: none; }
.kda-brand img { background: #fff; padding: 4px; width: 38px; height: 38px; }
@media (max-width: 1360px) { .kda-family img { height: 20px; } .kda-family { gap: 12px; } }
/* product cards, take two */
.kda-pb__grid { gap: 12px; }
.kda-pc { padding: 0; overflow: hidden; border-radius: 14px; gap: 0; box-shadow: 0 1px 0 rgba(22,33,44,.04); }
.kda-pc__img { border-radius: 0; background: #fff; padding: 10px; }
.kda-pc__img img { object-fit: contain; transition: transform .25s ease; }
.kda-pc:hover .kda-pc__img img { transform: scale(1.04); }
.kda-pc__img i { left: auto; right: 8px; top: 8px; background: rgba(16,34,47,.85); }
.kda-pc__mk { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 10px 0; min-height: 30px; }
.kda-pc__logo { height: 22px; max-width: 70%; width: auto; object-fit: contain; object-position: left; }
.kda-pc__mk small { margin: 0; }
.kda-pc__mk em { font-style: normal; font-size: .62rem; color: var(--ember-dark); font-weight: 700; white-space: nowrap; }
.kda-pc__t { padding: 4px 10px 0; font-size: .8rem; }
.kda-pc__row { padding: 6px 10px 0; }
.kda-pc__row b { font-size: 1rem; }
.kda-pc__go, .kda-pc__qty { margin: 8px 10px 10px; }
.kda-pc__go { border-radius: 10px; }
/* brand tabs with logos (stone picker) */
.kda-pb__cats--logos button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: #fff; }
.kda-pb__cats--logos button img { height: 16px; width: auto; max-width: 110px; object-fit: contain; }
.kda-pb__cats--logos button.is-on { background: var(--ink); }
.kda-pb__cats--logos button.is-on img { filter: brightness(0) invert(1); }

/* product browser: category tiles, brand chips, sort */
.kda-find--big { padding: 14px 14px; font-size: 16px; border-radius: 12px; border-color: var(--line); background: #fff; box-shadow: 0 6px 18px -14px rgba(16,34,47,.5); margin-bottom: 14px; }
.kda-pb__gh { font: 800 .78rem var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin: 14px 0 8px; display: flex; justify-content: space-between; align-items: baseline; }
.kda-pb__gh .kda-link { font-size: .78rem; text-transform: none; letter-spacing: 0; }
.kda-pb__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kda-tile { border: 1px solid var(--line-soft); background: #fff; border-radius: 14px; padding: 8px; text-align: left; cursor: pointer; font: inherit; color: var(--ink); display: flex; flex-direction: column; gap: 4px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.kda-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(16,34,47,.45); border-color: var(--line); }
.kda-tile i { display: block; aspect-ratio: 4 / 3; border-radius: 9px; background: #fff center / contain no-repeat; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.kda-tile b { font-size: .8rem; line-height: 1.25; }
.kda-tile small { font-size: .7rem; color: var(--ink-soft); }
.kda-pb__crumb { display: flex; gap: 8px; align-items: center; font-size: .78rem; color: var(--ink-soft); margin-bottom: 4px; }
.kda-pb__crumb .kda-link { text-decoration: none; }
.kda-pb__crumb span::before { content: "/ "; opacity: .5; }
.kda-pb__title { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; }
.kda-pb__title h3 { margin: 0; font: 800 1.15rem var(--font-display); }
.kda-pb__title span { font-size: .78rem; color: var(--ink-soft); font-weight: 700; }
.kda-pb__brands { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 10px; padding: 0 16px 4px; }
.kda-pb__brands::-webkit-scrollbar { display: none; }
.kda-pb__brands button { flex: 0 0 auto; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 700 .76rem var(--font-body); color: var(--ink-soft); cursor: pointer; display: inline-flex; align-items: center; }
.kda-pb__brands button img { height: 18px; width: auto; max-width: 96px; object-fit: contain; }
.kda-pb__brands button.is-on { border-color: var(--blue); background: var(--sky); color: var(--blue); }
.kda-pb__bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.kda-pb__bar .kda-pb__w { margin: 0; flex: 1; }
.kda-pb__sort { font: 700 .76rem var(--font-body); padding: 7px 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-soft); flex: 0 0 auto; }
.kda-pb__rgrp { margin-bottom: 8px; }
.kda-pb__results .kda-pb__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 1500px) { .kda--wide .kda-panel { width: 620px; } .kda-pb__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kda-pb__tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1900px) { .kda--wide .kda-panel { width: 720px; } }
@media (max-width: 899px) { .kda-pb__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kda-pb__results .kda-pb__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kda-srchbtn { display: none; } }
.kda-srchbtn { color: #fff; }

/* quick view */
.kda-pc__img, .kda-pc__t { border: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.kda-pc__img { width: 100%; display: block; }
.kda-pc__t { background: none; display: block; width: 100%; }
.kda-pc__t:hover { color: var(--blue); }
.kda-qv__card { width: min(1040px, 100%); max-height: 92%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); position: relative; overflow: hidden; }
.kda-qv__x { position: absolute; top: 10px; right: 10px; z-index: 3; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.kda-qv__media { background: #fff; padding: 28px 24px 18px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line-soft); min-height: 0; }
.kda-qv__main { flex: 1; min-height: 300px; display: grid; place-items: center; }
.kda-qv__main img { max-width: 100%; max-height: 440px; object-fit: contain; }
.kda-qv__thumbs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.kda-qv__thumbs button { width: 56px; height: 56px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; padding: 3px; cursor: pointer; }
.kda-qv__thumbs button.is-on { border-color: var(--ink); }
.kda-qv__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.kda-qv__body { padding: 26px 26px 26px; overflow: auto; min-height: 0; }
.kda-qv__body .kda-pc__mk { padding: 0; min-height: 26px; }
.kda-qv__body .kda-pc__logo { height: 22px; }
.kda-qv__t { margin: 8px 0 6px; font: 800 1.15rem/1.3 var(--font-display); }
.kda-qv__price { display: flex; align-items: baseline; gap: 10px; }
.kda-qv__price b { font-size: 1.45rem; }
.kda-qv__price s { color: var(--ink-soft); }
.kda-qv__price em { font-style: normal; font-size: .72rem; color: var(--ember-dark); font-weight: 700; }
.kda-qv__facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.kda-qv__facts span { font-size: .72rem; font-weight: 700; color: var(--ink-soft); background: var(--ground); border-radius: 999px; padding: 4px 10px; }
.kda-qv__vars { display: flex; flex-wrap: wrap; gap: 6px; }
.kda-qv__vars button { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 6px 10px; font: 700 .76rem var(--font-body); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.kda-qv__vars button small { font-weight: 600; color: var(--ink-soft); }
.kda-qv__vars button.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.kda-qv__vars button.is-on small { color: rgba(255,255,255,.75); }
.kda-qv__vars button[data-out] { opacity: .55; }
.kda-qv__acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; align-items: center; }
.kda-qv__acts .btn { border-radius: 10px; }
.kda-qv__acts .kda-pc__qty { margin: 0; min-width: 190px; }
.kda-qv__copy { font-size: .84rem; line-height: 1.55; color: var(--ink); max-height: 7.8em; overflow: hidden; position: relative; }
.kda-qv__copy:not(.is-open)::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2.4em; background: linear-gradient(transparent, #fff); }
.kda-qv__copy.is-open { max-height: none; }
.kda-qv__copy p { margin: 0 0 .6em; } .kda-qv__copy ul { padding-left: 1.2em; margin: 0 0 .6em; } .kda-qv__copy h1, .kda-qv__copy h2, .kda-qv__copy h3, .kda-qv__copy h4 { font-size: .9rem; margin: .6em 0 .3em; } .kda-qv__copy table { font-size: .78rem; border-collapse: collapse; } .kda-qv__copy td, .kda-qv__copy th { border: 1px solid var(--line-soft); padding: 3px 6px; }
.kda-qv__row { display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.kda-qv__mini { border: 1px solid var(--line-soft); border-radius: 10px; background: #fff; padding: 6px; font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.kda-qv__mini:hover { border-color: var(--line); box-shadow: 0 8px 18px -14px rgba(16,34,47,.5); }
.kda-qv__mini img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.kda-qv__mini span { font-size: .68rem; line-height: 1.3; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kda-qv__mini b { font-size: .76rem; }
@media (max-width: 899px) {
  .kda-qv__card { grid-template-columns: 1fr; overflow: auto; max-height: 94%; }
  .kda-qv__media { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 20px 16px 12px; }
  .kda-qv__main { min-height: 200px; } .kda-qv__main img { max-height: 260px; }
  .kda-qv__body { padding: 18px 16px 24px; overflow: visible; }
}

/* favourites + compare + complete the look */
.kda-pc { position: relative; }
.kda-fav { position: absolute; top: 8px; left: 8px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink-soft); display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.12); opacity: 0; transition: opacity .15s, transform .15s; }
.kda-fav svg { width: 16px; height: 16px; }
.kda-pc:hover .kda-fav, .kda-fav.is-on, .kda-fav:focus-visible { opacity: 1; }
.kda-fav.is-on { color: #d63d57; } .kda-fav.is-on svg path { fill: currentColor; }
.kda-fav:hover { transform: scale(1.08); }
@media (hover: none) { .kda-fav { opacity: 1; } }
.kda-pb__favs { background: linear-gradient(180deg, #fff7f8, #fff); border: 1px solid #f3d7dc; border-radius: 14px; padding: 4px 12px 12px; margin-bottom: 8px; }
.kda-pb__favs .kda-pb__gh { margin-top: 10px; gap: 12px; flex-wrap: wrap; }
.kda-pb__favs .kda-pb__gh small { font-weight: 700; color: #d63d57; margin-left: 4px; }
.kda-pb__favs .kda-pb__gh .kda-link { margin-left: auto; }
.kda-qv__fav { position: absolute; top: 10px; right: 56px; z-index: 3; }
.kda-qv__fav .kda-fav { position: static; opacity: 1; width: 36px; height: 36px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.kda-qv__mini small { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--blue); }
.kda-cmp { overflow-x: auto; }
.kda-cmp table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .8rem; }
.kda-cmp th { width: 84px; text-align: left; font: 700 .7rem var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); padding: 8px 6px 8px 0; vertical-align: top; }
.kda-cmp td { padding: 8px 6px; border-top: 1px solid var(--line-soft); vertical-align: top; position: relative; min-width: 0; }
.kda-cmp tr:first-child td { border-top: 0; }
.kda-cmp__img { width: 100%; aspect-ratio: 1; border: 1px solid var(--line-soft); border-radius: 10px; background: #fff; padding: 6px; cursor: pointer; }
.kda-cmp__img img { width: 100%; height: 100%; object-fit: contain; }
.kda-cmp__x { position: absolute; top: 12px; right: 10px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink-soft); box-shadow: 0 1px 4px rgba(0,0,0,.15); cursor: pointer; display: grid; place-items: center; }
.kda-cmp__x svg { width: 12px; height: 12px; }
.kda-cmp__t { text-decoration: none; text-align: left; font-weight: 700; font-size: .78rem; line-height: 1.3; color: var(--ink); }
.kda-cmp td b { font-size: 1rem; } .kda-cmp td b.is-lo { color: #1a7f4b; } .kda-cmp td small { display: block; font-size: .66rem; color: #1a7f4b; font-weight: 700; }
.kda-cmp .ok { color: #1a7f4b; font-weight: 700; } .kda-cmp .so { color: var(--ember-dark); font-weight: 700; }
.kda-cmp .kda-pc__go { margin: 0; }

.kda-pb__recent { margin-bottom: 6px; }
.kda-pb__recent .kda-qv__mini { background: #fff; }

/* 3D bar: wall modes + grid */
.k3__seg { display: inline-flex; align-items: center; gap: 2px; border: 1px solid rgba(22,33,44,.14); border-radius: 10px; background: #fff; padding: 2px; min-height: 36px; }
.k3__seg b { font: 700 .68rem var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); padding: 0 6px 0 8px; }
.k3__seg button { border: 0; background: none; font: 700 .76rem var(--font-body); color: var(--ink-soft); padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.k3__seg button.is-on { background: var(--ink); color: #fff; }
.cd--app .k3__grid.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 899px) { .k3__seg b { display: none; } }

/* Veyra3D: the brand and its marble-green palette */
html.kda-page { --navy: #14261f; --blue: #2f5a47; --blue-dark: #1b352c; --sky: #e6efe9; --ink: #14201b; --ember: #4d6c59; --ember-dark: #2f5a47; --sand: #e8e3d9; }
.kda-top { background: linear-gradient(180deg, #1b352c 0%, #0f211a 100%); }
.kda-brand { gap: 8px; }
.kda-brand__logo { height: 36px; width: auto; border-radius: 8px; background: #fff; padding: 4px 8px; }
.kda-brand__mark { display: none; }
.kda-brand small { color: rgba(255,255,255,.72); }
.kda-pill { background: #e8e3d9; color: #14261f; box-shadow: 0 6px 16px -8px rgba(0,0,0,.5); }
.kda-pill:hover { background: #fff; }
.kda-rail button.is-on { background: #e6efe9; color: #1b352c; }
.kda-rail button.is-on::before { background: #2f5a47; }
.btn--primary, .kda-pc__go { background: #1b352c; border-color: #1b352c; }
.btn--primary:hover, .kda-pc__go:hover { background: #2f5a47; border-color: #2f5a47; }
.kda-tile:hover, .kda-pc:hover { border-color: #4d6c59; }
.kda-fav.is-on { color: #b5433c; }
.kda-family { background: #fff; }
@media (max-width: 1180px) { .kda-brand small { display: none; } }
@media (max-width: 899px) { .kda-brand__logo { display: none; } .kda-brand__mark { display: block; width: 34px; height: 34px; border-radius: 8px; background: #fff; padding: 2px; } .kda-brand span { display: none; } }

/* top bar, tidy: the wordmark at full size, the family strip inline only on wide screens, a dropdown elsewhere */
.kda-brand .kda-brand__logo { width: auto; height: 34px; padding: 4px 9px; border-radius: 9px; background: #fff; display: block; }
.kda-brand .kda-brand__mark { display: none; }
.kda-brand { border-right: 0; padding-right: 4px; }
.kda-brand small { font-size: .68rem; letter-spacing: .03em; color: rgba(255,255,255,.62); }
@media (max-width: 1180px) { .kda-brand span { display: none; } }
.kda-famdd { position: relative; margin-left: 2px; }
.kda-famdd summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 11px; border-radius: 9px; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.78); font: 700 .7rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.kda-famdd summary::-webkit-details-marker { display: none; }
.kda-famdd summary i { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.kda-famdd summary:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.kda-famdd .kda-family { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; flex-direction: column; align-items: flex-start; gap: 10px; background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.55); min-width: 200px; }
.kda-famdd .kda-family span { display: none; }
.kda-famdd .kda-family img { height: 22px; }
.kda-famdd.is-inline summary { display: none; }
.kda-famdd.is-inline .kda-family { position: static; flex-direction: row; align-items: center; gap: 12px; background: rgba(255,255,255,.94); border-radius: 9px; padding: 0 10px; height: 34px; box-shadow: none; min-width: 0; }
.kda-famdd.is-inline .kda-family span { display: inline; font-size: .58rem; letter-spacing: .12em; }
.kda-famdd.is-inline .kda-family img { height: 17px; }
@media (max-width: 899px) { .kda-famdd { display: none; } .kda-brand .kda-brand__logo { display: none; } .kda-brand .kda-brand__mark { display: block; width: 34px; height: 34px; padding: 2px; border-radius: 8px; background: #fff; } }
.kda-top__name input { background: rgba(255,255,255,.1); border-color: transparent; }
.kda-top__name input:focus { background: #fff; }
.kda-saved { font-size: .7rem; }

.kda-brand .kda-brand__logo { height: 42px; padding: 4px 10px; }
.kda-top { min-height: 62px; }
@media (max-width: 1040px) { .kda-brand .kda-brand__logo { height: 36px; } }

/* three ways to buy: PoshHaus (products), Shop Design Build (products + labour), Builders Fixtures (builder + homeowner pricing) */
.kda-ways { margin: 18px 0 8px; }
.kda-ways__grid { display: grid; gap: 10px; }
.kda-way { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 14px 14px 12px; border: 1px solid var(--line-soft); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.kda-way::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #1b352c; }
.kda-way--poshhaus::before { background: #3a668c; } .kda-way--buildersfixtures::before { background: #d5852e; }
.kda-way:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(16,34,47,.5); border-color: var(--line); }
.kda-way img { height: 22px; width: auto; align-self: flex-start; margin-bottom: 4px; }
.kda-way b { font: 800 .92rem var(--font-display); }
.kda-way span { font-size: .78rem; line-height: 1.45; color: var(--ink-soft); }
.kda-way em { font-style: normal; font-weight: 700; font-size: .8rem; color: #1b352c; margin-top: 4px; }
.kda-way--poshhaus em { color: #3a668c; } .kda-way--buildersfixtures em { color: var(--ember-dark); }
.kda-ways--pb { margin-top: 22px; padding-top: 6px; border-top: 1px solid var(--line-soft); }
.kda-ways--pb .kda-ways__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) { .kda-ways--pb .kda-ways__grid { grid-template-columns: 1fr; } }
@media (min-width: 1500px) { .kda--wide .kda-ways--pb .kda-ways__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 3D: the floating label under the pointer */
.k3__label { position: absolute; z-index: 8; pointer-events: none; background: rgba(20,32,27,.92); color: #fff; border-radius: 10px; padding: 7px 10px; font: 600 .74rem/1.35 var(--font-body); box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); max-width: 240px; backdrop-filter: blur(4px); }
.k3__label[hidden] { display: none; }
.k3__label b { display: block; font-weight: 800; margin-bottom: 1px; }
.k3__label small { display: block; margin-top: 3px; color: rgba(255,255,255,.62); font-size: .66rem; }

.kda-hello__kick { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 12px; color: var(--ink-soft); letter-spacing: .12em; }
.kda-hello__kick img { height: 52px; width: auto; }

/* audit fixes: readable active wall tab in elevations; rail keeps one lit tab */
.cd--app .cd__mini.cd__mini--go { background: var(--ink); color: #fff; border-color: var(--ink); }
.cd--app .cd__mini.cd__mini--go:hover { background: #2f5a47; border-color: #2f5a47; }
.cd__chip--gen { border-style: dashed; }

/* price panel: the chosen line folds the picker away */
.cq__pick { margin-bottom: 14px; }
.cq__pick > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cq__pick > summary::-webkit-details-marker { display: none; }
.cq__pick > summary small { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.cq__pick > summary b { font-size: .95rem; }
.cq__pick > summary em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--blue); text-decoration: underline; font-size: .82rem; white-space: nowrap; }
.cq__pick[open] > summary { border-radius: 12px 12px 0 0; border-bottom-color: transparent; }
.cq__pick[open] > summary em::after { content: " \2191"; }
.cq__pick[open] > .cq__head, .cq__pick[open] > .cq__brands, .cq__pick[open] > .cq__lines, .cq__pick[open] > .cq__opts { margin-left: 0; }
.cq__pick[open] > :not(summary) { border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding-left: 14px; padding-right: 14px; }
.cq__pick[open] > :last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 12px 12px; padding-bottom: 12px; }
.k3__meas { pointer-events: none; }
.cd--app .k3__meas-btn.is-on { background: var(--ember); color: #fff; border-color: var(--ember); }

.cd--app .k3__photos.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.kda-hello__back { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line, #e2e2dc); text-align: center; }
.kda-hello__back p { margin: 0 0 8px !important; font-size: .82rem; color: var(--ink-soft); }
.kda-hello__sites { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; }
.kda-hello__sites a { display: inline-flex; opacity: .85; }
.kda-hello__sites a:hover { opacity: 1; }
.kda-hello__sites img { height: 26px; width: auto; max-width: 120px; object-fit: contain; }
.kda-hello__back .kda-hello__about { margin: 10px 0 0 !important; }
.kda-hello__about a { color: var(--blue); font-weight: 600; text-decoration: underline; }

.kda-pc .kda-fav { opacity: 1; width: 32px; height: 32px; top: 10px; left: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.16); }
.kda-pc .kda-fav:not(.is-on):hover { color: #b5433c; }
.kda-pc__row { padding: 0 10px; }
.kda-pc__stock { font-size: .68rem; font-weight: 700; color: var(--blue); background: var(--sky); border-radius: 999px; padding: 2px 8px; margin-left: auto; }
.kda-pc__go { margin: 8px 10px 0; }
.kda-pc__qty { margin: 8px 10px 0; }
.kda-pc__ph { display: block; text-align: center; margin: 2px 10px 10px; padding: 7px 4px 0; font: 600 .74rem var(--font-body); color: var(--blue); text-decoration: none; }
.kda-pc__ph:hover { text-decoration: underline; }

.kda-pb__shopbrands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kda-pb__shopbrands button { height: 52px; border: 1px solid var(--line-soft); border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 8px 10px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.kda-pb__shopbrands button:hover { border-color: var(--blue); box-shadow: 0 8px 18px -14px rgba(16,34,47,.5); }
.kda-pb__shopbrands img { max-width: 100%; max-height: 30px; object-fit: contain; }
.kda-pb__shopbrands span { font: 700 .74rem var(--font-body); color: var(--ink); text-align: center; }
.kda-pb__fins { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.kda-pb__fins button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px 6px 8px; font: 600 .76rem var(--font-body); color: var(--ink); cursor: pointer; }
.kda-pb__fins button i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.22); }
.kda-pb__fins button:hover { border-color: var(--blue); }
.kda-pb__fins button.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Settings and history panel */
.kda-hist{list-style:none;margin:8px 0 0;padding:0;max-height:46vh;overflow:auto}
.kda-hist li{margin:0}
.kda-hist button{display:block;width:100%;text-align:left;padding:8px 10px;border:0;border-bottom:1px solid rgba(0,0,0,.08);background:none;font:inherit;font-size:13px;cursor:pointer;color:inherit}
.kda-hist button:hover{background:rgba(47,90,71,.08)}
.kda-hist button.is-on{background:rgba(47,90,71,.16);font-weight:600}

/* ===== Veyra3D viewer redesign (2026): quiet glass controls, calm canvas card ===== */
.cd--app .cd__stage { background: #eef1ef; padding: 0; }
.cd--app .cd__views { top: 14px; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(255,255,255,.82); border: 1px solid rgba(22,40,32,.08); box-shadow: 0 10px 30px -14px rgba(16,34,27,.45); }
.cd--app .cd__views button { border: 0; background: none; border-radius: 999px; padding: 8px 18px; font: 650 .84rem/1 Inter, system-ui, sans-serif; color: #5b6a63; transition: background .15s, color .15s; }
.cd--app .cd__views button:hover { color: #16211c; }
.cd--app .cd__views button.is-on { background: #2f5a47; color: #fff; box-shadow: 0 4px 12px -6px rgba(47,90,71,.8); }
.cd--app .k3__bar, .cd--app .k3__actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 62px 14px 8px; padding: 6px; min-height: 46px; flex: 0 0 auto; border-radius: 16px; background: rgba(255,255,255,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(22,40,32,.07); box-shadow: 0 8px 24px -16px rgba(16,34,27,.45); }
.cd--app .k3__actions { margin-top: 0; }
.cd--app .k3__bar::-webkit-scrollbar, .cd--app .k3__actions::-webkit-scrollbar { display: none; }
.cd--app .k3__bar .cd__mini, .cd--app .k3__actions .cd__mini { flex: 0 0 auto; min-height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: #33423b; font: 600 .8rem/1 Inter, system-ui, sans-serif; box-shadow: none; }
.cd--app .k3__bar .cd__mini:hover, .cd--app .k3__actions .cd__mini:hover { background: rgba(47,90,71,.1); color: #1d3d2f; box-shadow: none; }
.cd--app .k3__bar .cd__mini.is-on, .cd--app .k3__grid.is-on, .cd--app .k3__photos.is-on { background: #2f5a47; color: #fff; border: 0; }
.cd--app .k3__tour { background: #2f5a47 !important; color: #fff !important; border: 0 !important; }
.cd--app .k3__rec { color: #b3372f !important; }
.cd--app .k3__mood { background: #1b2a23 !important; color: #f2e3c4 !important; border: 0 !important; }
.cd--app .k3__seg { border: 0; background: rgba(22,40,32,.06); border-radius: 10px; min-height: 34px; }
.cd--app .k3__seg button.is-on { background: #fff; color: #16211c; box-shadow: 0 2px 6px -3px rgba(16,34,27,.5); }
.cd--app .k3__seg b { color: #7a8981; }
.cd--app .k3__tip { margin-left: auto; padding: 0 8px; font: 500 .74rem Inter, system-ui, sans-serif; color: #7a8981; white-space: nowrap; }
.cd--app .k3__cv, .cd--app .k3__gl { border: 0 !important; border-top: 1px solid rgba(22,40,32,.07) !important; box-shadow: none; margin: 0; }
.k3__gl { background: radial-gradient(ellipse at 50% 38%, #fbfcfb 0%, #eef1ee 58%, #dfe5e1 100%) !important; }
@media (max-width: 899px) { .cd--app .k3__bar, .cd--app .k3__actions { margin-left: 8px; margin-right: 8px; } .cd--app .cd__views button { padding: 8px 12px; } }

/* ===== Veyra3D panel redesign (2026): calm fields, tidy rows, one accent ===== */
.kda-rail { background: #fff; border-right: 1px solid rgba(22,40,32,.08); }
.kda-rail button { border-radius: 14px; color: #6a766f; font-weight: 650; }
.kda-rail button:hover { background: #eef2ef; color: #16211c; }
.kda-rail button.is-on { background: #e5efe9; color: #245a40; }
.kda-panel { background: #fff; border-right: 1px solid rgba(22,40,32,.08); }
.kda-sec__head { border-bottom: 1px solid rgba(22,40,32,.07); }
.kda-sec__head h2 { font: 650 1.06rem/1.2 Inter, system-ui, sans-serif; letter-spacing: -.02em; color: #16211c; }
.kda-block h3 { font: 650 .7rem/1 Inter, system-ui, sans-serif; letter-spacing: .09em; text-transform: uppercase; color: #6a766f; margin: 22px 0 8px; }
.kda-hint { color: #6a766f; }
.kda-sec input[type="number"], .kda-sec input[type="text"], .kda-sec select { height: 38px; border: 1px solid #d9dfdb; border-radius: 10px; background: #fff; padding: 0 10px; font: 500 .92rem Inter, system-ui, sans-serif; color: #16211c; transition: border-color .12s, box-shadow .12s; }
.kda-sec input:hover, .kda-sec select:hover { border-color: #aab5ae; }
.kda-sec input:focus, .kda-sec select:focus { outline: none; border-color: #2f5a47; box-shadow: 0 0 0 3px #e5efe9; }
.kda-sec input[type="number"] { width: 62px; }
.kda-sec .cd__group-inline { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; color: #44524b; font-size: .9rem; margin: 4px 0; }
.kda-sec .cd__group-inline input[type="number"] { width: 58px; }
.kda-sec label.cd__lbl { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #44524b; margin: 8px 0; }
.kda-sec .cd__mini--go, .kda-sec #cdSetRoom { display: block; width: 100%; height: 42px; margin-top: 14px; border: 0; border-radius: 999px; background: #2f5a47; color: #fff; font: 650 .95rem Inter, system-ui, sans-serif; cursor: pointer; transition: background .12s, transform .08s; }
.kda-sec .cd__mini--go:hover, .kda-sec #cdSetRoom:hover { background: #244838; }
.kda-sec .cd__mini--go:active, .kda-sec #cdSetRoom:active { transform: scale(.985); }
.kda-sec .cd__chip { border: 1px solid #d9dfdb; background: #fff; color: #1f3a2e; border-radius: 999px; padding: 7px 14px; font: 600 .86rem Inter, system-ui, sans-serif; transition: background .12s, border-color .12s; }
.kda-sec .cd__chip:hover { background: #eef4f1; border-color: #2f5a47; }
.kda-sec .cd__chip--gen { background: #e5efe9; border-color: #cfe1d7; }
.kda-dfm, .kda-sec [data-dfm] { border-radius: 16px; }

.kda-sec .cd__dim { display: flex; align-items: center; gap: 8px; width: 100%; color: #44524b; }
.kda-sec .cd__dim em { font-style: normal; font-weight: 600; width: 52px; color: #6a766f; font-size: .86rem; }

/* import dialogs */
.kda-import .kda-row { display: flex; gap: 8px; flex-wrap: wrap; }
.kda-file { display: inline-flex; align-items: center; cursor: pointer; }
.kda-mymodels h3 { margin-top: 16px; }
.kda-mm { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(22,40,32,.08); }
.kda-mm div { flex: 1; min-width: 0; }
.kda-mm b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kda-mm small { color: #6a766f; }
.kda-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10,20,15,.5); backdrop-filter: blur(3px); }
.kda-modal__card { background: #fff; border-radius: 18px; width: min(460px, 100%); max-height: 92vh; overflow: auto; padding: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.kda-modal__card h2 { margin: 0 0 12px; font: 650 1.2rem Inter, system-ui, sans-serif; letter-spacing: -.02em; }
.kda-modal__body label { display: block; margin: 10px 0; font: 600 .84rem Inter, system-ui, sans-serif; color: #44524b; }
.kda-modal__body input, .kda-modal__body select { display: block; width: 100%; height: 42px; margin-top: 4px; border: 1px solid #d9dfdb; border-radius: 10px; padding: 0 12px; font: 500 16px Inter, system-ui, sans-serif; }
.kda-dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kda-dims label { margin: 10px 0 0; }
.kda-big { font: 650 1.5rem Inter, system-ui, sans-serif; margin: 6px 0; }
.kda-modal__foot { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.kda-modal__foot .cd__mini { min-height: 42px; padding: 0 18px; }

/* ===== phones: a compact top bar that fits ===== */
@media (max-width: 640px) {
  .kda-top { gap: 6px; padding-inline: 8px; }
  .kda-top__name, .kda-saved, [data-full], .kda-top .kda-ico[aria-label="Search"], .kda-top__hist .kda-ico:nth-child(2) { display: none !important; }
  .kda-present span { display: none; }
  .kda-present { padding: 0 10px; }
  .kda-pill { padding: 4px 10px; min-width: 0; }
  .kda-pill small { font-size: .62rem; }
  .kda-pill b { font-size: .95rem; }
  .kda-brand__logo { display: none; }
  .kda-modal__card { padding: 18px; }
  .kda-dims { grid-template-columns: 1fr 1fr 1fr; }
}

/* ===== Veyra3D simple designer (2026): less on screen, more room for the design ===== */
/* top bar: name, undo/redo, Presentation, price, and one menu for everything else */
.kda-pill small { display: none; }
.kda-pill { padding: 6px 16px; }
.kda-more { position: relative; display: flex; align-items: center; }
.kda-morebtn { color: #fff; }
.kda-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 90; min-width: 230px; background: #fff; color: #16211c; border-radius: 16px; padding: 6px; box-shadow: 0 24px 50px -18px rgba(8,24,16,.55); display: flex; flex-direction: column; }
.kda-menu[hidden] { display: none; }
.kda-menu > * { display: flex !important; align-items: center; justify-content: flex-start !important; gap: 12px; width: 100%; height: auto !important; min-height: 42px; padding: 8px 12px !important; border: 0 !important; border-radius: 10px !important; background: none !important; color: #16211c !important; font: 550 .92rem Inter, system-ui, sans-serif; text-decoration: none; text-align: left; cursor: pointer; }
.kda-menu > *:hover { background: #eef2ef !important; }
.kda-menu > * svg { width: 20px; height: 20px; flex: 0 0 auto; color: #44524b; }
.kda-menu > * .kda-badge, .kda-menu > * [data-count] { margin-left: auto; }
/* rail: five tools, the rest under More */
.kda-railmore { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; border-radius: 14px; padding: 10px 2px; font: 650 .7rem/1.1 Inter, system-ui, sans-serif; color: #6a766f; cursor: pointer; }
.kda-railmore svg { width: 24px; height: 24px; }
.kda-railmore:hover, .kda-railmore[aria-expanded="true"] { background: #eef2ef; color: #16211c; }
.kda-rmenu { position: fixed; z-index: 90; background: #fff; border-radius: 18px; padding: 8px; box-shadow: 0 24px 50px -18px rgba(8,24,16,.55); display: grid; grid-template-columns: repeat(3, 84px); gap: 4px; }
.kda-rmenu[hidden] { display: none; }
.kda-rmenu button { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; border-radius: 14px; padding: 12px 2px; font: 650 .72rem/1.1 Inter, system-ui, sans-serif; color: #44524b; cursor: pointer; margin: 0 !important; }
.kda-rmenu button svg { width: 24px; height: 24px; }
.kda-rmenu button:hover { background: #eef2ef; color: #16211c; }
.kda-rmenu button.is-on { background: #e5efe9; color: #245a40; }
/* welcome: four layouts, the rest on request */
.kda-hello__tpls:not(.is-open) [data-extra] { display: none; }
.kda-moretpl { display: block; margin: 10px auto 0; font-weight: 600; }
/* less explaining text: hints stay out of the way */
.kda-sec .kda-hint, .cd__hint, .k3__tip { display: none !important; }
/* 3D toolbar: camera, zoom, day or evening, and one View options popover */
.cd--app .k3__bar { overflow: visible !important; flex-wrap: wrap; position: relative; z-index: 7; }
.k3__grp { display: inline-flex; gap: 2px; padding: 3px; background: rgba(22,40,32,.06); border-radius: 12px; }
.cd--app .k3__grp .cd__mini { min-height: 32px; border-radius: 9px; }
.cd--app .k3__grp .cd__mini:hover { background: #fff; }
.k3__more { position: relative; margin-left: auto; }
.k3__more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; }
.k3__more > summary::-webkit-details-marker { display: none; }
.k3__more > summary::after { content: "\25BE"; margin-left: 6px; font-size: .7rem; }
.k3__more[open] > summary { background: rgba(47,90,71,.12); }
.k3__pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 300px; max-width: calc(100vw - 24px); background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 24px 50px -18px rgba(8,24,16,.55); border: 1px solid rgba(22,40,32,.07); }
.k3__lbl { font: 650 .68rem/1 Inter, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: #6a766f; margin: 12px 0 6px; }
.k3__lbl:first-child { margin-top: 0; }
.k3__row { display: flex; flex-wrap: wrap; gap: 6px; }
.k3__col { display: flex; flex-direction: column; gap: 6px; }
.k3__pop button { border: 1px solid #d9dfdb; border-radius: 10px; min-height: 36px; padding: 0 12px; background: #fff; color: #16211c; font: 600 .82rem Inter, system-ui, sans-serif; cursor: pointer; text-align: left; }
.k3__pop button:hover { background: #eef4f1; border-color: #2f5a47; }
.k3__pop button.is-on { background: #2f5a47 !important; color: #fff !important; border-color: #2f5a47 !important; }
.cd--app .k3__pop .k3__tour, .cd--app .k3__pop .k3__rec { background: #fff !important; color: #16211c !important; border: 1px solid #d9dfdb !important; }
.cd--app .k3__pop .k3__rec { color: #b3372f !important; }
/* the old second toolbar becomes a quiet status line */
.cd--app .k3__actions { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 6; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; min-height: 0 !important; backdrop-filter: none; }
.cd--app .k3__actions .cd__mini { display: none; }
.k3__msg:not(:empty) { display: inline-block; background: #16211c; color: #fff; padding: 8px 14px; border-radius: 999px; font: 600 .82rem Inter, system-ui, sans-serif; }
@media (max-width: 899px) { .kda-rmenu { grid-template-columns: repeat(4, 1fr); } .k3__more { margin-left: 0; } .k3__pop { right: auto; left: 0; } }

.kda-hello__tpls { grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)) !important; }
.kda-morebtn svg { stroke-width: 3.4; width: 22px; height: 22px; }
.kda-menu { min-width: 270px; }
.cd--app .k3__bar { margin-top: 56px; }
.kda-fold { border-top: 1px solid rgba(22,40,32,.08); }
.kda-fold > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; font: 650 .9rem Inter, system-ui, sans-serif; color: #16211c; }
.kda-fold > summary::-webkit-details-marker { display: none; }
.kda-fold > summary::after { content: "+"; color: #2f5a47; font-size: 1.3rem; line-height: 1; }
.kda-fold[open] > summary::after { content: "\2212"; }
.kda-fold > *:not(summary) { margin-bottom: 8px; }

/* ===== simpler left panel ===== */
.kda-fold { border-top: 1px solid rgba(22,40,32,.08); }
.kda-sec__body > .kda-fold:first-of-type { border-top: 0; }
.k3p__fold { border-top: 1px solid rgba(22,40,32,.08); margin-top: 6px; }
.k3p__fold > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px 2px; font: 650 .9rem Inter, system-ui, sans-serif; color: #16211c; }
.k3p__fold > summary::-webkit-details-marker { display: none; }
.k3p__fold > summary::after { content: "+"; color: #2f5a47; font-size: 1.3rem; line-height: 1; }
.k3p__fold[open] > summary::after { content: "\2212"; }
.kda-finish li.is-done { display: none; }
.kda-finish.show-done li.is-done { display: flex; }
.kda-finish [data-showdone] { margin-top: 8px; }
.kda-fold:has(> .cd__warn[hidden]), .kda-fold:has(> .kda-ctr[hidden]) { display: none; }
/* cabinet cards: two tight columns */
.cq__skus { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; }
.cq__skus > * { padding: 10px 12px !important; min-height: 0 !important; }
.cq__lines { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)) !important; gap: 8px !important; }
.cq__lines > * { padding: 6px !important; }
.cq__lines > * b, .cq__lines > * span { font-size: .72rem; }

/* import and export hub, traced plan controls */
.kda-hub .kda-modal__card { width: min(620px, 100%); }
.kda-tabs { display: inline-flex; padding: 3px; background: rgba(22,40,32,.07); border-radius: 999px; margin-bottom: 12px; }
.kda-tabs button { border: 0; background: none; padding: 8px 20px; border-radius: 999px; font: 650 .88rem Inter, system-ui, sans-serif; color: #5b6962; cursor: pointer; }
.kda-tabs button.is-on { background: #fff; color: #16211c; box-shadow: 0 2px 8px -3px rgba(16,34,27,.4); }
.kda-hrow { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(22,40,32,.08); }
.kda-hrow:first-of-type { border-top: 0; }
.kda-hrow > div { flex: 1; min-width: 0; }
.kda-hrow b { display: block; font: 650 .95rem Inter, system-ui, sans-serif; }
.kda-hrow small { display: block; color: #6a766f; font: 400 .82rem/1.4 Inter, system-ui, sans-serif; margin-top: 2px; }
.kda-hrow .cd__mini { min-width: 96px; justify-content: center; }
.kda-hint2 { color: #6a766f; font: 400 .82rem/1.45 Inter, system-ui, sans-serif; margin: 10px 0 0; }
.kda-hubbtn { display: block; width: 100%; margin: 14px 0 0; min-height: 42px; }
.kda-under { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 8; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: calc(100% - 24px); padding: 8px 10px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-radius: 16px; box-shadow: 0 14px 34px -16px rgba(8,24,16,.55); border: 1px solid rgba(22,40,32,.08); font: 600 .8rem Inter, system-ui, sans-serif; }
.kda-under[hidden] { display: none; }
.kda-under label { display: flex; align-items: center; gap: 6px; color: #5b6962; }
.kda-under input[type=range] { width: 90px; accent-color: #2f5a47; }
.kda-under .cd__mini.is-on { background: #2f5a47; color: #fff; border-color: #2f5a47; }
@media (min-width: 900px) { .kda-under { flex-wrap: nowrap; white-space: nowrap; } }
@media (max-width: 899px) { .kda-under { bottom: 74px; } .kda-hrow { flex-wrap: wrap; } }

.kda-renders { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.kda-renders figure { margin: 0; background: #f4f6f5; border-radius: 12px; overflow: hidden; }
.kda-renders img { display: block; width: 100%; height: auto; }
.kda-renders figcaption { display: flex; justify-content: space-between; padding: 8px 12px; font: 600 .84rem Inter, system-ui, sans-serif; }
.kda-renders a { color: #2f5a47; }

/* placeholder library */
.kda-lib__tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 10px; }
.kda-lib__tabs button { border: 1px solid #d9dfdb; background: #fff; border-radius: 999px; padding: 5px 12px; font: 600 .78rem Inter, system-ui, sans-serif; color: #44524b; cursor: pointer; }
.kda-lib__tabs button.is-on { background: #2f5a47; border-color: #2f5a47; color: #fff; }
.kda-lib__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.kda-lc { display: flex; flex-direction: column; text-align: left; gap: 2px; border: 1px solid #e1e6e3; background: #fff; border-radius: 12px; padding: 6px; cursor: pointer; transition: border-color .12s, transform .12s; }
.kda-lc:hover { border-color: #2f5a47; transform: translateY(-1px); }
.kda-lc img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #dde4e0; }
.kda-lc b { font: 650 .76rem/1.2 Inter, system-ui, sans-serif; color: #16211c; padding: 3px 2px 0; }
.kda-lc small { font: 400 .68rem Inter, system-ui, sans-serif; color: #6a766f; padding: 0 2px 2px; }

/* developer performance panel */
.v3d-perf { position: fixed; left: 10px; bottom: 10px; z-index: 95; width: 290px; max-width: calc(100vw - 20px); background: rgba(14,22,18,.9); color: #dfe9e3; border-radius: 12px; padding: 10px 12px; font: 11.5px/1.45 ui-monospace, Menlo, Consolas, monospace; box-shadow: 0 14px 34px -14px rgba(0,0,0,.7); pointer-events: none; }
.v3d-perf b { display: block; color: #7fd1ae; margin-bottom: 4px; font-size: 12px; }
.v3d-perf div { display: flex; justify-content: space-between; gap: 10px; }
.v3d-perf span { color: #98a89f; white-space: nowrap; }
.v3d-perf i { font-style: normal; text-align: right; }
.kda-lib__q { width: 100%; box-sizing: border-box; border: 1px solid #d9dfdb; border-radius: 10px; padding: 9px 12px; font: 500 .85rem Inter, system-ui, sans-serif; margin: 2px 0 4px; background: #fff; }
.kda-lib__q:focus { outline: 2px solid #2f5a47; outline-offset: 1px; }

/* 3D view: the scene fills the stage and the toolbar floats over it */
.cd--app .cd__alt.k3--float { inset: 0; }
.cd--app .k3--float .k3__cv, .cd--app .k3--float .k3__gl { border: 0 !important; border-radius: 0; }
.cd--app .k3--float .k3__bar { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0 !important; width: max-content; max-width: calc(100% - 24px); flex-wrap: nowrap; z-index: 7; background: rgba(255,255,255,.9); box-shadow: 0 14px 34px -18px rgba(16,34,27,.55); }
.cd--app .k3--float .k3__more { margin-left: 0; }
.cd--app .k3--float .k3__pop { top: auto; bottom: calc(100% + 10px); right: 0; left: auto; max-height: min(70vh, 560px); overflow: auto; }
.cd--app .k3--float .k3__actions { bottom: 80px; }
.cd--app .k3--float .k3-walk__pad { bottom: 84px; }
.k3__grp { display: inline-flex; gap: 2px; }
.k3__grp + .k3__grp, .k3__grp + .k3__mood, .k3__mood + .k3__more { position: relative; margin-left: 6px; }
.k3__grp + .k3__grp::before, .k3__grp + .k3__mood::before, .k3__mood + .k3__more::before { content: ""; position: absolute; left: -6px; top: 8px; bottom: 8px; width: 1px; background: rgba(22,40,32,.12); }
@media (max-width: 899px) {
  .cd--app .k3--float .k3__bar { bottom: 10px; max-width: calc(100% - 16px); overflow: visible !important; }
  .cd--app .k3--float .k3__pop { right: 0; left: auto; width: min(320px, calc(100vw - 24px)); }
}
/* phone: all six rail tabs fit without sideways scrolling; the 3D bar drops zoom (pinch does that) */
@media (max-width: 899px) {
  .kda-rail { justify-content: space-around; overflow-x: visible; }
  .kda-rail::after { display: none; }
  .kda-rail > button, .kda-rail .kda-railmore { flex: 1 1 0; min-width: 0; }
  .cd--app .k3--float .k3__bar .k3__grp[aria-label="Zoom"] { display: none; }
  .cd--app .k3--float .k3__bar .cd__mini { padding: 0 10px; }
}
@media (max-width: 899px) { .cd--app .k3--float .k3__mood span { display: none; } }
/* Room panel: centered primary button and a tidy cut-out row */
.kda-sec .cd__mini--go, .kda-sec #cdSetRoom { display: flex; align-items: center; justify-content: center; padding: 0 16px; line-height: 1; min-height: 44px; }
.kda-sec #cdCutWrap:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: #6a766f; }
.kda-sec #cdCutWrap .cd__lbl { flex: 0 0 54px; }
.kda-sec #cdCutWrap select { flex: 1 1 140px; min-width: 0; }
.kda-sec #cdCutWrap #cdCutW { margin-left: 62px; }
.kda-sec #cdCutWrap input { width: 64px; }
.k3__gl.is-eve { background: radial-gradient(ellipse at 50% 38%, #3a4552 0%, #252d36 60%, #1a2027 100%) !important; transition: background .4s; }
/* beta tag beside the logo */
.kda-brand { display: inline-flex; align-items: center; gap: 8px; }
.kda-beta { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; background: #7fd1ae; color: #0f3d2b; font: 750 .64rem/1 Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; flex: 0 0 auto; }
.kda-top .kda-brand { display: inline-flex !important; align-items: center; }
.kda-top .kda-brand .kda-beta { display: inline-flex !important; align-self: center; margin: 0; }
@media (max-width: 899px) { .kda-top .kda-brand .kda-beta { height: 18px; padding: 0 6px; font-size: .58rem; } }
.kda-top .kda-brand .kda-beta { flex-direction: row; justify-content: center; line-height: 1; }

/* flat pass: solid surfaces, hairline borders, no decorative gradients or heavy shadows */
.kda-top { background: #10261d !important; box-shadow: none !important; border-bottom: 1px solid rgba(255,255,255,.06); }
.kda-panel { box-shadow: none !important; }
.kda-rail { box-shadow: none; }
.kda-dfm__cta { background: #2f5a47 !important; box-shadow: none !important; }
.kda-dfm__cta:hover { background: #244838 !important; }
.kda-hello__card { box-shadow: none !important; border: 1px solid rgba(22,40,32,.1); }
.kda-hello__tpls button { box-shadow: none !important; }
.cd--app .cd__views { box-shadow: none !important; border: 1px solid rgba(22,40,32,.1); }
.cd--app .k3--float .k3__bar { box-shadow: none !important; border: 1px solid rgba(22,40,32,.1); background: rgba(255,255,255,.96) !important; }
.k3__pop, .kda-menu, .kda-rmenu { box-shadow: 0 16px 40px -24px rgba(8,24,16,.45) !important; border: 1px solid rgba(22,40,32,.08); }
.kda-zoom, .kda-zoom button { box-shadow: none !important; }
.kda-zoom { border: 1px solid rgba(22,40,32,.1); }
.cd__mini, .kda-pc, .kda-lc { box-shadow: none !important; }
@media (max-width: 899px) { .kda-panel, .kda--panel .kda-panel, .kda--wide .kda-panel { box-shadow: 0 -1px 0 rgba(22,40,32,.1), 0 -16px 40px -28px rgba(8,24,16,.45) !important; } }
.kda-hello__dfm { background: #2f5a47 !important; box-shadow: none !important; }
.kda-hello__dfm:hover { background: #244838 !important; }

/* CRM staff links and live sessions (crm-link.js) */
.crm-bar { position: fixed; z-index: 120; top: 70px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 24px); padding: 8px 8px 8px 16px; border-radius: 999px; background: #10261d; color: #fff; font: 500 .84rem/1.3 Inter, system-ui, sans-serif; box-shadow: 0 12px 30px -16px rgba(8,24,16,.6); }
.crm-bar b { color: #7fd1ae; margin-right: 6px; font-weight: 700; }
.crm-bar.is-own b { color: #F5C27E; }
.crm-bar.is-err { background: #5a1f1a; }
.crm-bar button { border: 0; border-radius: 999px; padding: 7px 14px; background: #fff; color: #10261d; font: 650 .8rem Inter, system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.crm-bar.is-nudge { animation: crm-nudge .45s ease; }
@keyframes crm-nudge { 0%, 100% { transform: translateX(-50%); } 25% { transform: translateX(calc(-50% - 6px)); } 75% { transform: translateX(calc(-50% + 6px)); } }
@media (max-width: 899px) { .crm-bar { top: 64px; border-radius: 16px; font-size: .78rem; } }
/* ==== skin: poshhaus ==== */
html.skin-poshhaus { --navy: #111111; --blue: #111111; --blue-dark: #000000; --sky: #f5f4f1; --ink: #111111; --ember: #767676; --ember-dark: #111111; --sand: #f5f4f1; --font-body: Jost, Inter, system-ui, sans-serif; --font-display: Jost, Inter, system-ui, sans-serif; }
html.skin-poshhaus body, html.skin-poshhaus button, html.skin-poshhaus input, html.skin-poshhaus select { font-family: Jost, Inter, system-ui, sans-serif; }
html.skin-poshhaus .kda-top { background: linear-gradient(180deg, #111111 0%, #000000 100%); }
html.skin-poshhaus .kda-pill { background: #f5f4f1; color: #111111; box-shadow: 0 6px 16px -8px rgba(0,0,0,.5); }
html.skin-poshhaus .kda-rail button.is-on { background: #f5f4f1; color: #111111; }
html.skin-poshhaus .kda-rail button.is-on::before { background: #111111; }
html.skin-poshhaus .btn--primary,html.skin-poshhaus .kda-pc__go { background: #F58426; border-color: #F58426; }
html.skin-poshhaus .btn--primary:hover,html.skin-poshhaus .kda-pc__go:hover { background: #F58426; border-color: #F58426; }
html.skin-poshhaus .kda-tile:hover,html.skin-poshhaus .kda-pc:hover { border-color: #767676; }
html.skin-poshhaus .kda-way::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #111111; }
html.skin-poshhaus .kda-way em { font-style: normal; font-weight: 700; font-size: .8rem; color: #111111; margin-top: 4px; }
html.skin-poshhaus .cd--app .cd__mini.cd__mini--go:hover { background: #F58426; border-color: #F58426; }
html.skin-poshhaus .kda-hist button:hover {background:rgba(17,17,17,.08)}
html.skin-poshhaus .kda-hist button.is-on {background:rgba(17,17,17,.16);font-weight:600}
html.skin-poshhaus .cd--app .cd__views button.is-on { background: #111111; color: #fff; box-shadow: 0 4px 12px -6px rgba(17,17,17,.8); }
html.skin-poshhaus .cd--app .k3__bar .cd__mini:hover,html.skin-poshhaus .cd--app .k3__actions .cd__mini:hover { background: rgba(17,17,17,.1); color: #1d3d2f; box-shadow: none; }
html.skin-poshhaus .cd--app .k3__bar .cd__mini.is-on,html.skin-poshhaus .cd--app .k3__grid.is-on,html.skin-poshhaus .cd--app .k3__photos.is-on { background: #111111; color: #fff; border: 0; }
html.skin-poshhaus .cd--app .k3__tour { background: #111111 !important; color: #fff !important; border: 0 !important; }
html.skin-poshhaus .kda-rail button.is-on { background: #f5f4f1; color: #245a40; }
html.skin-poshhaus .kda-sec input:focus,html.skin-poshhaus .kda-sec select:focus { outline: none; border-color: #111111; box-shadow: 0 0 0 3px #f5f4f1; }
html.skin-poshhaus .kda-sec .cd__mini--go,html.skin-poshhaus .kda-sec #cdSetRoom { display: block; width: 100%; height: 42px; margin-top: 14px; border: 0; border-radius: 999px; background: #F58426; color: #fff; font: 650 .95rem Inter, system-ui, sans-serif; cursor: pointer; transition: background .12s, transform .08s; }
html.skin-poshhaus .kda-sec .cd__chip:hover { background: #f5f4f1; border-color: #111111; }
html.skin-poshhaus .kda-sec .cd__chip--gen { background: #f5f4f1; border-color: #cfe1d7; }
html.skin-poshhaus .kda-rmenu button.is-on { background: #f5f4f1; color: #245a40; }
html.skin-poshhaus .k3__more[open] > summary { background: rgba(17,17,17,.12); }
html.skin-poshhaus .k3__pop button:hover { background: #f5f4f1; border-color: #111111; }
html.skin-poshhaus .k3__pop button.is-on { background: #111111 !important; color: #fff !important; border-color: #111111 !important; }
html.skin-poshhaus .kda-fold > summary::after { content: "+"; color: #111111; font-size: 1.3rem; line-height: 1; }
html.skin-poshhaus .k3p__fold > summary::after { content: "+"; color: #111111; font-size: 1.3rem; line-height: 1; }
html.skin-poshhaus .kda-under input[type=range] { width: 90px; accent-color: #111111; }
html.skin-poshhaus .kda-under .cd__mini.is-on { background: #111111; color: #fff; border-color: #111111; }
html.skin-poshhaus .kda-renders a { color: #111111; }
html.skin-poshhaus .kda-lib__tabs button.is-on { background: #111111; border-color: #111111; color: #fff; }
html.skin-poshhaus .kda-lc:hover { border-color: #111111; transform: translateY(-1px); }
html.skin-poshhaus .kda-lib__q:focus { outline: 2px solid #111111; outline-offset: 1px; }
html.skin-poshhaus .kda-dfm__cta { background: #F58426 !important; box-shadow: none !important; }
html.skin-poshhaus .kda-hello__dfm { background: #F58426 !important; box-shadow: none !important; }
html.skin-poshhaus.kda-page .kda-top { background: #111111 !important; }
html.skin-poshhaus .kda-brand__mark { display: none; }
html.skin-poshhaus .kda-brand__logo--skin { height: 30px !important; width: auto !important; max-width: none; border-radius: 0; background: none; padding: 0; filter: invert(1); }
html.skin-poshhaus .kda-skin__tag { font: 500 .78rem Jost, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-left: 2px; }
html.skin-poshhaus .kda-beta { background: #F58426; color: #fff; }
html.skin-poshhaus .kda-hello__kick { display: flex; align-items: center; gap: 10px; justify-content: center; }
html.skin-poshhaus .kda-hello__skin { height: 46px; width: auto; }
html.skin-poshhaus .kda-hello__kick span { font: 500 .85rem Jost, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #111; }
.kda-powered { margin: 10px 0 0; font-size: .8rem; color: #767676; }
