:root {
  --blue: #1596d1; --blue-d: #0f7bb0; --red: #c1272d;
  --ink: #1f2430; --mut: #6a7180; --line: #e2e5ea; --bg: #f4f6f8; --card: #fff;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font: 14px/1.4 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); display: flex; flex-direction: column; overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 12px; }
button:hover { border-color: #c5cad3; }
button.primary { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
button.primary:hover { background: var(--blue-d); }
button.ghost { background: transparent; }
button.danger { color: var(--red); }
button:disabled { opacity: .45; cursor: default; }
kbd { font: 11px ui-monospace, Consolas, monospace; border: 1px solid #cfd4dc; border-bottom-width: 2px; border-radius: 4px; padding: 0 4px; background: #fff; }

.top { display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); flex: none; }
.brand { display: flex; align-items: baseline; gap: 12px; flex: 1; min-width: 0; }
.logo { height: 24px; width: auto; display: block; flex: none; }
.sub { color: var(--mut); white-space: nowrap; }
.sub em { font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; background: #fff3d6; color: #8a5a00; padding: 2px 6px; border-radius: 10px; margin-left: 4px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.seg button { border: 0; border-radius: 0; padding: 7px 14px; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--ink); color: #fff; }
.actions { display: flex; gap: 8px; flex: 1; justify-content: flex-end; }
.badge { background: rgba(255,255,255,.25); border-radius: 10px; padding: 1px 7px; margin-left: 4px; font-size: 12px; }

main { flex: 1; display: flex; min-height: 0; }
aside { background: #fff; overflow-y: auto; flex: none; }
#catalog { width: 272px; border-right: 1px solid var(--line); padding: 14px; }
#inspector { width: 292px; border-left: 1px solid var(--line); padding: 14px; }

h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--mut); margin: 18px 0 8px; }
h2:first-child { margin-top: 0; }
h3 { margin: 2px 0 2px; font-size: 18px; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--blue-d); font-weight: 600; }
.muted { color: var(--mut); font-size: 12.5px; }
label.f { display: block; font-size: 12px; font-weight: 600; color: var(--mut); margin: 14px 0 6px; }

.series { display: grid; gap: 6px; }
.series button { text-align: left; padding: 8px 10px; display: flex; gap: 10px; align-items: center; }
.series button.on { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(21,150,209,.18); }
.series .sw { width: 30px; height: 30px; border-radius: 6px; flex: none; border: 1px solid rgba(0,0,0,.12); }
.series b { display: block; }
.series small { color: var(--mut); font-size: 11.5px; line-height: 1.2; display: block; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.prod { padding: 0; text-align: left; overflow: hidden; display: flex; flex-direction: column; }
.prod:hover { border-color: var(--blue); }
.prod img, .prod .ph { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #f3f5f7; display: block; }
.prod span { padding: 6px 8px 8px; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.prod small { display: block; font-weight: 400; color: var(--mut); font-size: 11.5px; }

#stage { flex: 1; display: flex; min-width: 0; background: #e9edf1; }
.pane { position: relative; flex: 1; min-width: 0; min-height: 0; }
.p2d { background: #fbfcfd; }
.v-2d .p3d, .v-3d .p2d { display: none; }
.v-split .p2d { border-right: 1px solid var(--line); }
#plan, #gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; user-select: none; }
#plan .it { cursor: grab; }
#plan .it:active { cursor: grabbing; }
.tag { position: absolute; z-index: 2; top: 10px; left: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .8px; background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 12px; padding: 2px 9px; color: var(--mut); pointer-events: none; }
.hint { position: absolute; z-index: 2; bottom: 10px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; color: var(--mut); background: rgba(255,255,255,.85); border-radius: 12px; padding: 3px 10px; pointer-events: none; max-width: 96%; overflow: hidden; text-overflow: ellipsis; }
.cams { position: absolute; z-index: 2; top: 8px; right: 10px; display: flex; gap: 4px; }
.cams button { padding: 4px 9px; font-size: 12px; background: rgba(255,255,255,.9); }
.nogl { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; text-align: center; color: var(--mut); }
.nogl[hidden] { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { padding: 5px 9px; font-size: 12.5px; }
.chips button.on { border-color: var(--blue); background: #e8f5fc; color: var(--blue-d); font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatches button { width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.swatches button.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); }
.slot-h { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 6px; }
.slot-h b { font-size: 12px; color: var(--mut); }
.slot-h span { font-size: 12.5px; }
.link { border: 0; background: none; padding: 0; color: var(--blue-d); font-size: 12px; text-decoration: underline; margin-top: 6px; }
.row { display: flex; gap: 6px; flex-wrap: wrap; }
.row > * { flex: 1; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
input[type=number], input[type=text], input[type=tel], input[type=email], input[type=password], select, textarea { font: inherit; width: 100%; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: inherit; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
input[type=range] { width: 100%; accent-color: var(--blue); }
.op { border: 1px solid var(--line); border-radius: 8px; padding: 8px; margin-bottom: 6px; }
.op .hd { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.op .hd b { flex: 1; }
.op .hd select { width: auto; padding: 3px 6px; }
.op .hd button { padding: 2px 7px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

#modal { position: fixed; inset: 0; background: rgba(20,24,32,.5); z-index: 20; display: grid; place-items: center; padding: 20px; }
#modal[hidden] { display: none; }
.sheet { background: #fff; border-radius: 14px; width: min(920px, 100%); max-height: 100%; overflow: auto; padding: 22px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.sheet .hd { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.sheet .hd h3 { flex: 1; font-size: 20px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--mut); padding: 6px 8px; border-bottom: 1px solid var(--line); }
td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
td.q, th.q { text-align: right; font-variant-numeric: tabular-nums; }
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); vertical-align: -1px; margin-right: 4px; }
.fin { white-space: nowrap; margin-right: 10px; display: inline-block; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.form .full { grid-column: 1 / -1; }
.form label { font-size: 12px; font-weight: 600; color: var(--mut); display: block; margin-bottom: 4px; }
.note { background: #fff8e6; border: 1px solid #f1dfae; color: #6b4a00; border-radius: 8px; padding: 8px 10px; font-size: 12.5px; margin-top: 12px; }
.ok { background: #e9f7ee; border: 1px solid #b9e2c6; color: #1c5a31; border-radius: 8px; padding: 10px 12px; margin-top: 12px; }
.err { color: var(--red); font-size: 12.5px; margin-top: 8px; }
.foot { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }

#print { display: none; }
@media print {
  body { overflow: visible; display: block; background: #fff; }
  body > *:not(#print) { display: none !important; }
  #print { display: block; padding: 0; font-size: 12px; }
  #print h1 { font-size: 20px; margin: 0 0 4px; }
  #print .plogo { height: 34px; width: auto; display: block; margin: 0 0 10px; }
  #print .imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
  #print .imgs > * { width: 100%; height: 260px; border: 1px solid #ddd; object-fit: contain; }
  #print table { margin-top: 8px; }
  #print::after { content: "Powered by Social-Impact Innovations Pvt. Ltd."; display: block; margin-top: 18px; padding-top: 6px; border-top: 1px solid #ddd; font-size: 10px; color: #6a7180; text-align: center; }
}
@media (max-width: 1100px) {
  #catalog { width: 220px; padding: 10px; }
  #inspector { width: 250px; padding: 10px; }
  .sub { display: none; }
}

/* ---------- sign-in, projects, wizard ---------- */
body:not(.view-plan):not(.view-shared) > #planTop, body:not(.view-plan):not(.view-shared) > main { display: none; }
#auth, #home, #admin { display: none; flex: 1; min-height: 0; overflow: auto; }
.view-admin #admin { display: block; }
.view-auth #auth { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); }
.view-home #home { display: block; }
.pitch { background: linear-gradient(150deg, #0f7bb0, #1596d1 55%, #53b8e4); color: #fff; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.pitch .logo { height: 60px; width: auto; max-width: 100%; align-self: flex-start; object-fit: contain; padding: 10px 14px; background: #fff; border-radius: 8px; box-sizing: border-box; } /* white plate: the logo's blue would vanish on the blue panel */
.pitch h1 { font-size: 34px; line-height: 1.15; margin: 28px 0 14px; max-width: 16em; }
.pitch p { font-size: 16px; max-width: 34em; opacity: .95; margin: 0 0 16px; }
.pitch ul { margin: 0; padding-left: 20px; line-height: 1.9; opacity: .95; }
.authbox { display: flex; align-items: center; justify-content: center; padding: 32px 24px; background: #fff; }
#authForm { width: min(380px, 100%); }
#authForm label, #wizard label { display: block; font-size: 12px; font-weight: 600; color: var(--mut); margin: 14px 0 5px; }
.opt { font-weight: 400; opacity: .8; }
.tabs { display: flex; width: 100%; margin-bottom: 8px; }
.tabs button { flex: 1; }
button.big { padding: 10px 18px; font-size: 15px; }
#authForm button.big { width: 100%; margin-top: 14px; }
.homewrap { max-width: 1180px; margin: 0 auto; padding: 28px 24px 48px; }
.homehd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.homehd h1 { margin: 0; font-size: 26px; }
#homeUser { align-items: center; gap: 14px; }
#homeUser span { text-align: right; line-height: 1.25; }
#homeUser small { display: block; color: var(--mut); font-size: 12px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.pcard .thumb { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; background: #eef1f4; aspect-ratio: 3/2; display: block; }
.pcard .thumb img, .pcard .thumb svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.pcard .meta { padding: 12px 14px 4px; }
.pcard .meta b { display: block; font-size: 15px; }
.pcard .meta small { display: block; color: var(--mut); font-size: 12.5px; }
.pcard .row { padding: 10px 14px 14px; }
.empty { grid-column: 1 / -1; background: #fff; border: 1px dashed #c5cad3; border-radius: 14px; padding: 48px 24px; text-align: center; }
.empty p { color: var(--mut); max-width: 34em; margin: 6px auto 18px; }
.overlay { position: fixed; inset: 0; background: rgba(20,24,32,.5); z-index: 20; display: grid; place-items: center; padding: 20px; }
.overlay[hidden] { display: none; }
.sheet.wide { width: min(1040px, 100%); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 8px; }
.tcard { text-align: left; padding: 0 0 12px; overflow: hidden; display: flex; flex-direction: column; gap: 2px; }
.tcard:hover { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(21,150,209,.18); }
.tcard svg { width: 100%; aspect-ratio: 3/2; background: #f3f5f7; border-bottom: 1px solid var(--line); margin-bottom: 8px; pointer-events: none; }
.tcard b, .tcard small { padding: 0 12px; }
.tcard small { color: var(--mut); font-size: 12.5px; line-height: 1.3; }
.tcard small.dim { margin-top: 4px; font-variant-numeric: tabular-nums; }
#wizard .form { margin-top: 0; }
#wizard .form label { margin-top: 0; }
.pname { border: 1px solid transparent; background: transparent; font-weight: 600; font-size: 15px; padding: 5px 8px; width: 220px; min-width: 80px; flex: 0 1 220px; }
.pname:hover { border-color: var(--line); }
.brand { align-items: center; }
@media (max-width: 820px) {
  .view-auth #auth { grid-template-columns: 1fr; }
  .pitch { padding: 32px 24px; }
  .pitch h1 { font-size: 26px; margin-top: 18px; }
  .pitch ul { display: none; }
}
.top button { white-space: nowrap; }

/* ---------- floor plan upload ---------- */
.tcard.up { border-style: dashed; border-color: #9fb4c4; }
.upicon { display: grid; place-items: center; width: 100%; aspect-ratio: 3/2; background: #eaf5fb; color: var(--blue-d); font-size: 44px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.drop { display: block; border: 2px dashed #9fb4c4; border-radius: 12px; background: #f6fafc; padding: 44px 20px; text-align: center; cursor: pointer; margin-top: 14px; font-size: 15px; color: var(--ink) !important; font-weight: 400 !important; }
.drop:hover { border-color: var(--blue); background: #eaf5fb; }
.drop small { display: block; color: var(--mut); margin-top: 6px; font-size: 12.5px; }
.drop input { display: block; margin: 16px auto 0; width: auto; }
.steps { margin: 12px 0 8px; padding-left: 20px; color: var(--ink); line-height: 1.6; }
.plstage { background: #eef1f4; border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; }
.plwrap { position: relative; display: inline-block; line-height: 0; cursor: crosshair; touch-action: none; user-select: none; max-width: 100%; }
.plwrap img { max-width: 100%; max-height: 46vh; display: block; pointer-events: none; }
#pl_box { position: absolute; border: 2px solid var(--blue); background: rgba(21,150,209,.16); box-shadow: 0 0 0 9999px rgba(20,24,32,.28); pointer-events: none; }
.plwrap { overflow: hidden; }
.plrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.plrow label { margin: 0 !important; }
.plrow input { width: 110px; }

/* ---------- Dare to Dream branding ---------- */
.presents { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; opacity: .8; margin-top: 26px; }
.pitch h1.dtd { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; font-size: clamp(44px, 6vw, 72px); line-height: 1; margin: 8px 0 12px; letter-spacing: -1px; max-width: none; }
.pitch h1.dtd span { color: #ffd76a; }
.pitch .tagline { font-size: 19px; font-weight: 600; letter-spacing: .3px; opacity: 1; margin: 0 0 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.35); max-width: 30em; }
.dtdmark { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; color: var(--ink); font-size: 16px; }
@media (max-width: 820px) { .pitch .tagline { font-size: 16px; } }

/* ---------- sharing and the client's view-only page ---------- */
.pcard .row { flex-wrap: wrap; }
.sharedtag { color: var(--blue-d) !important; font-weight: 600; }
.linkrow { display: flex; gap: 8px; }
.linkrow input { flex: 1; min-width: 0; font: 12px ui-monospace, Consolas, monospace; color: var(--mut); }
#sharedInfo, #ownLink, #keepCopy { display: none; }
.view-shared.can-keep #keepCopy { display: inline-block; }
#sharedInfo { line-height: 1.2; min-width: 0; }
#sharedInfo b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sharedInfo small { color: var(--mut); font-size: 12px; }
.btnlink { align-self: center; color: var(--blue-d); font-weight: 600; text-decoration: none; padding: 7px 10px; white-space: nowrap; }
.btnlink:hover { text-decoration: underline; }
.view-shared #sharedInfo { display: block; }
.view-shared #ownLink { display: inline-block; }
.view-shared #catalog, .view-shared #inspector, .view-shared #undo, .view-shared #shareBtn, .view-shared #toProjects, .view-shared #projName, .view-shared .p2d .hint { display: none; }
.view-shared #plan .it { cursor: default; }
.view-shared .editonly { display: none; }

/* ---------- furniture recognition ---------- */
.chk { display: flex !important; align-items: center; gap: 8px; margin-top: 12px !important; font-size: 13.5px !important; font-weight: 400 !important; color: var(--ink) !important; cursor: pointer; }
.chk input { width: auto; }
.note ul { margin: 6px 0 0; padding-left: 18px; }

/* ---------- 3D navigation mode ---------- */
.cams .seg { display: flex; margin-right: 6px; }
.cams .seg button:first-child { border-radius: 8px 0 0 8px; }
.cams .seg button:last-child { border-radius: 0 8px 8px 0; margin-left: -1px; }
.cams button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- DWG: choose one drawing out of several ---------- */
.dwgpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 10px; max-height: 52vh; overflow: auto; }
.dwgpick button { display: flex; flex-direction: column; gap: 6px; padding: 8px; background: #fff; }
.dwgpick canvas { width: 100%; height: 130px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.dwgpick span { font-size: 12.5px; color: var(--mut); }

.savestate { font-size: 12px; color: var(--mut); white-space: nowrap; }
.savestate.error { color: #b42318; font-weight: 600; }
body.view-shared .savestate { display: none; }

/* One line at the bottom of every screen. */
.testbar { flex: none; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.2; padding: 5px 10px; color: #fff; background: #b45309; }
.testbar[hidden] { display: none; }
.powered { flex: none; text-align: center; font-size: 11px; line-height: 1; padding: 5px 10px; color: var(--mut); background: #fff; border-top: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.linkbtn { display: block; margin: 12px auto 0; border: 0; background: none; color: var(--mut); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 4px; }
.linkbtn:hover { color: var(--ink); }
.authh { margin: 0 0 8px; font-size: 18px; }

/* Administrators' area */
.admcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-top: 16px; }
.admcard h3 { margin: 0 0 4px; font-size: 16px; }
.admcard .muted { margin: 0 0 12px; }
.admrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admrow input[type=text], .admrow input[type=email] { flex: 1 1 260px; max-width: 420px; }
.btnlike { display: inline-block; border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; background: #fff; cursor: pointer; font-weight: 600; }
.btnlike:hover { border-color: var(--blue); }
.logoprev { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.logoprev .lp { border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px 8px; text-align: center; min-width: 220px; }
.logoprev .lp img { height: 44px; max-width: 260px; object-fit: contain; display: block; margin: 0 auto; }
.logoprev .lp small { display: block; margin-top: 12px; font-size: 11px; color: var(--mut); }
.logoprev .lp.blue { background: #1689c9; border-color: #1689c9; }
.logoprev .lp.blue span { display: inline-block; background: #fff; border-radius: 8px; padding: 8px 12px; }
.logoprev .lp.blue small { color: #e6f3fb; }
.admlink { display: inline-block; align-self: center; }
#admUser { align-items: center; gap: 14px; }
#admUser span { text-align: right; line-height: 1.25; }
#admUser small { display: block; color: var(--mut); font-size: 12px; }
#admin .ok { background: #eaf7ee; border: 1px solid #bfe3c9; color: #1d5b31; border-radius: 8px; padding: 10px 12px; font-size: 13px; }
#admin .err { background: #fdecea; border: 1px solid #f3c1bb; color: #8a1c13; border-radius: 8px; padding: 10px 12px; font-size: 13px; }
#admin .linkrow { display: flex; gap: 8px; }
#admin .linkrow input { flex: 1; }

.admcat { margin: 18px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--mut); }
.admprod td small { display: block; color: var(--mut); font-size: 12px; }
.admprod tr.off td:first-child, .admprod tr.off td:nth-child(2) { opacity: .5; }
.admprod td:first-child { width: 40%; }
.linepic { display: block; width: 72px; height: 54px; object-fit: contain; background: #f3f5f7; border-radius: 5px; }
td.pic { width: 72px; padding-right: 0; }
.stephd { margin: 2px 0; }
@media print { .linepic { background: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
.admpic { display: flex; align-items: center; gap: 12px; }
.admthumb { flex: none; width: 76px; height: 57px; padding: 0; border-radius: 6px; overflow: hidden; background: #f3f5f7; cursor: zoom-in; }
.admthumb.on { border-color: var(--blue); box-shadow: 0 0 0 2px #e8f5fc; }
.admthumb img, .admthumb .ph { display: block; width: 100%; height: 100%; object-fit: contain; }
.admser { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 0; }
.admprod tr.admview td { background: #fafbfc; }
.pv { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: start; padding: 6px 0; }
.pvimg { background: #f3f5f7; border: 1px solid var(--line); border-radius: 8px; aspect-ratio: 4/3; }
.pvimg img, .pvimg .ph { display: block; width: 100%; height: 100%; object-fit: contain; }
.pvopts h3 { margin: 2px 0; }
@media (max-width: 760px) { .pv { grid-template-columns: 1fr; } .admthumb { width: 60px; height: 45px; } }

.admhd { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.pform { display: grid; gap: 16px; margin-top: 10px; }
.pform label { display: block; font-size: 12px; font-weight: 600; color: var(--mut); margin: 0 0 5px; }
.pform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pform select { max-width: 360px; }
.pform .muted { margin: 6px 0 0; }
.pfsizes { max-width: 760px; }
.pfsizes th small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.pfsizes td { border-bottom: 0; padding: 4px 8px 4px 0; }
.pfsizes input[type=number] { width: 120px; }
@media (max-width: 700px) { .pform .two { grid-template-columns: 1fr; } }

/* A manufacturer other than Office Cube: no campaign wording, a plain heading. */
.pitch h1.dtd.plain { font-family: inherit; font-style: normal; font-weight: 700; font-size: 40px; letter-spacing: 0; line-height: 1.15; }
.series[hidden] { display: none; }
body.generic .dtdmark, body.generic .brand .sub em { display: none; }
.admcard a { color: var(--blue-d); }
