/* DecalsHouse Custom Lettering Studio (product 23), version 2. Own class names only (dhs-*). */

/* ---- let the studio use the full page width (this stylesheet is loaded on this page only) ---- */
body#product .columns-container.container { max-width: none; width: 100%; padding-left: 0; padding-right: 0; }
body#product #center-column { padding: 0; margin: 0; max-width: none; }
body#product #wrapper { padding-top: 0; }
body#product .breadcrumb__wrapper { margin-bottom: 0; }

.dhs, .dhs-info {
  --dhs-bg: #eceFee; --dhs-ink: #15201e; --dhs-dark: #0d2b27; --dhs-yel: #e9dc76; --dhs-teal: #1d7468; --dhs-teal-d: #155a51;
  --dhs-soft: #f3faf8; --dhs-b1: #858f8b; --dhs-b2: #dde2e0; --dhs-b3: #e6eae8; --dhs-mute: #55605d; --dhs-mute2: #3b4643;
  --dhs-grey: #f6f8f7; --dhs-err: #a3262a; --dhs-warn-bg: #fff4d6; --dhs-warn-b: #e9c46a; --dhs-warn-t: #5a4300;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--dhs-ink); line-height: 1.45; font-size: 14px; text-align: left;
  -webkit-text-size-adjust: 100%;
}
.dhs *, .dhs-info * { box-sizing: border-box; }
.dhs { background: var(--dhs-bg); position: relative; overflow-anchor: none; }
.dhs [hidden] { display: none !important; }
:where(.dhs) button { font-family: inherit; cursor: pointer; color: inherit; margin: 0; text-transform: none; letter-spacing: normal; line-height: 1.2; }
.dhs button:disabled { cursor: default; }
:where(.dhs) input, :where(.dhs) textarea { font-family: inherit; color: var(--dhs-ink); margin: 0; box-shadow: none; }
:where(.dhs) label { margin: 0; }
.dhs :focus-visible, .dhs-info :focus-visible { outline: 3px solid #1d7468; outline-offset: 2px; border-radius: 4px; }
.dhs-bar :focus-visible, .dhs-bottom :focus-visible, .dhs-pay-in :focus-visible { outline-color: #e9dc76; }
/* controls inside clipped boxes keep their focus ring inside */
.dhs-rail button:focus-visible, .dhs-seg button:focus-visible, .dhs-zoom button:focus-visible, .dhs-surf button:focus-visible, .dhs-tpl:focus-visible, .dhs-font:focus-visible,
.dhs-step-in input:focus-visible, .dhs-hd:focus-visible { outline-offset: -3px; }
:where(.dhs) h2, :where(.dhs) h3, :where(.dhs) p { margin: 0; }
.dhs h2, .dhs h3, .dhs-info h3 { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-transform: none; letter-spacing: 0; }
.dhs svg { display: block; }
.dhs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }

/* ---- top bar (never wraps on desktop) ---- */
.dhs-bar { background: var(--dhs-dark); color: #fff; position: sticky; top: var(--dhs-top, 0px); z-index: 30; }
.dhs-bar-in { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px 16px; padding: 8px 20px; min-height: 60px; }
.dhs-h1 { font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif; font-weight: 400; font-size: 28px; line-height: 1.05; letter-spacing: .02em; color: #fff; margin: 0; flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.dhs-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.dhs-ib { width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; display: grid; place-items: center; padding: 0; }
.dhs-ib svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dhs-ib:disabled { opacity: .4; }
.dhs-ib:not(:disabled):hover, .dhs-tb:hover { background: rgba(255,255,255,.12); }
.dhs-tb { height: 44px; padding: 0 10px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: rgba(255,255,255,.9); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.dhs-proof { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #fff; white-space: nowrap; flex: none; }
.dhs-proof svg { width: 16px; height: 16px; fill: none; stroke: var(--dhs-yel); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dhs-price-sub { font-size: 13px; color: rgba(255,255,255,.82); }
.dhs-price-total { font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif; font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: .01em; color: #fff; }
.dhs-btn { height: 44px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; transition: background-color .15s, transform .1s; flex: none; }
.dhs-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.dhs-btn-ghost:hover { background: rgba(255,255,255,.12); }
.dhs-btn-cta { background: var(--dhs-yel); color: var(--dhs-dark); font-weight: 700; font-size: 15px; padding: 0 22px; }
.dhs-btn-cta:hover { background: #f2e88d; }
.dhs-btn-cta:active { transform: translateY(1px); }
.dhs-btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.dhs-btn-cta.is-off { background: #9aa39f; color: #1c2624; }
.dhs-btn-cta.is-off:hover { background: #9aa39f; }

/* ---- messages ---- */
.dhs-notes { position: fixed; left: 50%; transform: translateX(-50%); top: calc(var(--dhs-top, 0px) + 72px); z-index: 1090; width: min(560px, calc(100% - 24px)); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.dhs-note-c { pointer-events: auto; border-radius: 12px; padding: 12px 14px 12px 16px; font-size: 14px; line-height: 1.45; box-shadow: 0 10px 30px rgba(13,43,39,.28); display: flex; align-items: flex-start; gap: 10px; }
.dhs-note-c > span { flex: 1 1 auto; min-width: 0; }
.dhs-note-c > button { flex: none; width: 36px; height: 36px; margin: -6px -8px -6px 0; border: 0; background: transparent; font-size: 22px; line-height: 1; color: inherit; border-radius: 8px; }
.dhs-note-c > button:hover { background: rgba(0,0,0,.08); }
.dhs-toast { background: var(--dhs-teal-d); color: #fff; align-items: center; }
.dhs-note-c > button.dhs-toast-b { width: auto; height: 36px; margin: -6px 0; padding: 0 14px; font-size: 14px; font-weight: 700; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; }
.dhs-toast :focus-visible { outline-color: #e9dc76; }
.dhs-added { background: #fff; color: var(--dhs-ink); border: 2px solid var(--dhs-teal); padding: 14px; gap: 12px; }
.dhs-note-c > .dhs-added-th { flex: none; width: 84px; height: 64px; border-radius: 8px; border: 1px solid var(--dhs-b2); display: grid; place-items: center; padding: 6px; overflow: hidden; }
.dhs-added-th svg { max-width: 100%; max-height: 50px; width: auto; height: auto; }
.dhs-added-t { display: flex; flex-direction: column; gap: 4px; }
.dhs-added-t b { font-size: 16px; color: var(--dhs-teal-d); }
.dhs-added-t small { font-size: 12px; color: var(--dhs-mute2); }
.dhs-added-b { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dhs-added-b a, .dhs-added-b button { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--dhs-b1); background: #fff; color: var(--dhs-ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.dhs-added-b a.p { background: var(--dhs-dark); border-color: var(--dhs-dark); color: #fff; }
.dhs-added-b a:hover, .dhs-added-b button:hover { border-color: var(--dhs-teal); }
.dhs-err { background: #fdecec; color: var(--dhs-err); border: 1px solid #f1c4c5; font-weight: 600; }
.dhs-noscript { padding: 20px; font-size: 15px; background: #fff; }

/* ---- main grid ---- */
.dhs-main {
  display: grid;
  grid-template-columns: 76px minmax(280px, 340px) minmax(0, 1fr) minmax(320px, 360px);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "rail panel ctop right" "rail panel card right";
  height: clamp(520px, var(--dhs-h, calc(100vh - 205px)), 900px);
}
.dhs-stick { display: contents; }
.dhs-sent { display: none; }
.dhs-rail { grid-area: rail; background: var(--dhs-grey); border-right: 1px solid var(--dhs-b2); display: flex; flex-direction: column; }
.dhs-rail button { min-height: 66px; border: 0; background: transparent; color: var(--dhs-mute2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 6px 2px; text-align: center; }
.dhs-rail button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dhs-rail button:hover { color: var(--dhs-teal); }
.dhs-rail button[aria-pressed="true"] { background: #fff; color: var(--dhs-teal-d); box-shadow: inset 3px 0 0 var(--dhs-teal); }
.dhs-rail .dhs-rail-style { display: none; }

.dhs-panel { grid-area: panel; background: #fff; border-right: 1px solid var(--dhs-b2); padding: 20px; overflow-y: auto; min-height: 0; display: flex; flex-direction: column; gap: 16px; overscroll-behavior: contain; }
.dhs-right { grid-area: right; background: #fff; border-left: 1px solid var(--dhs-b2); padding: 0; overflow: hidden; min-height: 0; display: flex; flex-direction: column; }
.dhs-rs { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 18px; }
.dhs-rs.is-more { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 36px), rgba(0,0,0,.12)); mask-image: linear-gradient(180deg, #000 calc(100% - 36px), rgba(0,0,0,.12)); }
.dhs-rp { flex: none; }
.dhs-rp:empty { display: none; }
.dhs-ctop { grid-area: ctop; padding: 14px 20px 0; display: flex; align-items: center; gap: 10px; min-width: 0; }
.dhs-card { grid-area: card; position: relative; margin: 12px 20px 20px; background: #fff; border: 1px solid var(--dhs-b2); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-height: 0; min-width: 0; }

.dhs .dhs-h { font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--dhs-ink); }
.dhs-help { font-size: 13px; color: var(--dhs-mute); margin-top: 4px !important; }
.dhs-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--dhs-mute); display: block; margin: 0 0 8px; }
.dhs-label-v { text-transform: none; letter-spacing: 0; color: var(--dhs-ink); font-size: 13px; }
.dhs-label-2 { margin-top: 6px; }
.dhs-s { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dhs-s > .dhs-label { margin-bottom: 0; }
.dhs-s[data-s="whole"], .dhs-s[data-s="more"] { margin-bottom: -6px; }
.dhs-s:empty { display: none; }
.dhs-under:empty, .dhs-zoomwrap:empty { display: none; }
.dhs-small { font-size: 12px; color: var(--dhs-mute); }
.dhs-small:empty, .dhs-fnote:empty, .dhs-line-note:empty, .dhs-line-err:empty { display: none; }
.dhs-fnote { font-size: 13px; font-weight: 600; color: var(--dhs-warn-t); background: var(--dhs-warn-bg); border: 1px solid var(--dhs-warn-b); border-radius: 8px; padding: 8px 10px; }
.dhs-link { background: none; border: 0; padding: 0; color: var(--dhs-teal-d); font-weight: 600; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; text-align: left; align-self: flex-start; }
.dhs .dhs-grp { font-size: 15px; font-weight: 700; color: var(--dhs-ink); display: flex; align-items: baseline; gap: 8px; padding-bottom: 6px; border-bottom: 2px solid var(--dhs-ink); }
.dhs-grp span { font-size: 12px; font-weight: 500; color: var(--dhs-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dhs-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.35); flex: none; display: inline-block; }
.dhs-mini { min-height: 40px; border-radius: 10px; border: 1px solid var(--dhs-b1); background: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; color: var(--dhs-ink); display: inline-flex; align-items: center; gap: 7px; text-align: left; }
.dhs-mini svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dhs-mini svg[viewBox$=" 100"] { fill: currentColor; stroke: none; width: auto; height: 16px; max-width: 26px; }
.dhs-mini:hover { border-color: var(--dhs-teal); color: var(--dhs-teal-d); }
.dhs-mini[aria-pressed="true"], .dhs-mini[aria-expanded="true"] { border-color: var(--dhs-teal); background: var(--dhs-soft); box-shadow: inset 0 0 0 1px var(--dhs-teal); }
.dhs-mini-w { width: 100%; }
.dhs-mini-w span { flex: 1 1 auto; min-width: 0; }
.dhs-mini em, .dhs-curfont em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--dhs-teal-d); text-decoration: underline; text-underline-offset: 3px; flex: none; font-family: Inter, system-ui, sans-serif; }
.dhs-ok { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; font-weight: 600; color: var(--dhs-teal-d); background: var(--dhs-soft); border: 1px solid #b9ddd5; border-radius: 10px; padding: 9px 12px; }
.dhs-ok svg { width: 16px; height: 16px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---- text panel ---- */
.dhs-qs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dhs-qs button, .dhs-out { min-height: 44px; border-radius: 10px; border: 1px solid var(--dhs-b1); background: #fff; font-size: 13px; font-weight: 600; padding: 6px 10px; color: var(--dhs-ink); }
.dhs-qs button:hover, .dhs-out:hover { border-color: var(--dhs-teal); color: var(--dhs-teal-d); }
.dhs-out { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; }
.dhs-out svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dhs-next { min-height: 48px; width: 100%; border-radius: 999px; border: 0; background: var(--dhs-dark); color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; }
.dhs-next svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dhs-line { border: 1px solid var(--dhs-b2); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.dhs-line.is-on { border: 2px solid var(--dhs-teal); background: var(--dhs-soft); padding: 9px; }
.dhs-line-top { display: flex; align-items: center; gap: 8px; min-height: 22px; }
.dhs-line-top .dhs-label { margin: 0; flex: none; }
.dhs-line-meta { font-size: 12px; color: var(--dhs-mute); margin-left: auto; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.dhs-line-in { display: flex; align-items: center; gap: 4px; }
.dhs-line-in .dhs-in { flex: 1 1 auto; min-width: 0; }
.dhs-bin { width: 44px; height: 44px; margin-right: -6px; border: 0; background: transparent; color: var(--dhs-mute); display: grid; place-items: center; border-radius: 10px; flex: none; }
.dhs-bin:hover { color: var(--dhs-err); background: #fdecec; }
.dhs-bin svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dhs-in { width: 100%; min-height: 44px; border-radius: 10px; border: 1px solid var(--dhs-b1); background: #fff; font-size: 16px; font-weight: 500; padding: 8px 12px; }
.dhs-in:focus { border-color: var(--dhs-teal); outline: 2px solid var(--dhs-teal); outline-offset: 0; }
.dhs-in::placeholder, .dhs-ta::placeholder { color: #6b7672; opacity: 1; }
.dhs-line-note { font-size: 12px; color: var(--dhs-mute2); font-weight: 600; }
.dhs-line-err { font-size: 13px; font-weight: 600; color: var(--dhs-err); }
.dhs-line-err:empty + .dhs-line-fix { display: none; }
.dhs-line-tools { display: none; flex-wrap: wrap; gap: 6px; }
.dhs-line.is-on .dhs-line-tools { display: flex; }
.dhs-icp { border: 1px solid var(--dhs-b1); background: #fff; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.dhs-icp-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.dhs-icp-row { display: flex; flex-direction: column; gap: 4px; }
.dhs-x { width: 36px; height: 36px; border: 0; background: transparent; border-radius: 8px; display: grid; place-items: center; color: var(--dhs-mute2); }
.dhs-x:hover { background: var(--dhs-grey); }
.dhs-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dhs-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; max-height: 236px; overflow-y: auto; overscroll-behavior: contain; padding: 2px; }
.dhs-icons button { height: 44px; border: 1px solid var(--dhs-b2); background: #fff; border-radius: 8px; display: grid; place-items: center; padding: 0; color: var(--dhs-ink); }
.dhs-icons button svg { height: 22px; width: auto; max-width: 34px; fill: currentColor; }
.dhs-icons button:hover { border-color: var(--dhs-teal); color: var(--dhs-teal-d); }
.dhs-icons button[aria-pressed="true"] { border: 2px solid var(--dhs-teal); background: var(--dhs-soft); }
.dhs-icons p { grid-column: 1 / -1; }
.dhs-addline { min-height: 48px; border: 1.5px dashed var(--dhs-teal); background: var(--dhs-soft); border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--dhs-teal-d); width: 100%; }
.dhs-addline:hover { background: #e6f4f0; }
.dhs-box { background: var(--dhs-grey); border-radius: 12px; padding: 14px; font-size: 13px; color: var(--dhs-mute2); display: flex; flex-direction: column; gap: 8px; }
.dhs-box a { color: var(--dhs-teal-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dhs-spell { font-size: 12px; color: var(--dhs-mute); }

/* ---- fonts panel ---- */
.dhs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dhs-chip { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--dhs-b1); background: #fff; font-size: 12px; font-weight: 600; color: var(--dhs-ink); }
.dhs-chip:hover { border-color: var(--dhs-teal); }
.dhs-chip[aria-pressed="true"] { background: var(--dhs-dark); border-color: var(--dhs-dark); color: #fff; }
.dhs-chips-row { flex-wrap: nowrap; overflow-x: auto; padding: 2px 30px 6px 2px; scrollbar-width: thin; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); }
.dhs-chips-row .dhs-chip { flex: none; }
.dhs-chips-2 { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--dhs-b3); }
.dhs-chips-2 .dhs-chip[aria-pressed="true"] { background: var(--dhs-teal); border-color: var(--dhs-teal); }
.dhs-fonts { display: flex; flex-direction: column; gap: 6px; }
.dhs-font { min-height: 64px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--dhs-b2); background: #fff; text-align: left; display: flex; flex-direction: column; justify-content: center; gap: 2px; width: 100%; overflow: hidden; }
.dhs-font { content-visibility: auto; contain-intrinsic-size: auto 64px; }
.dhs-font:hover { border-color: var(--dhs-teal); }
.dhs-font.is-on { border: 2px solid var(--dhs-teal); background: var(--dhs-soft); }
.dhs-font-s { font-size: 26px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; color: var(--dhs-ink); min-height: 31px; }
.dhs-font-n { font-size: 12px; color: var(--dhs-mute); }

/* ---- logo panel ---- */
.dhs-drop { border: 1.5px dashed var(--dhs-teal); background: var(--dhs-soft); border-radius: 14px; padding: 26px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; width: 100%; color: var(--dhs-ink); }
.dhs-drop:hover, .dhs-drop.is-over { background: #e6f4f0; }
.dhs-drop svg { width: 28px; height: 28px; fill: none; stroke: var(--dhs-teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dhs-drop b { font-size: 15px; }
.dhs-drop span { font-size: 12px; color: var(--dhs-mute); }
.dhs-range { display: flex; flex-direction: column; gap: 4px; }
.dhs-range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; font-weight: 600; }
.dhs-range-top span { font-weight: 600; color: var(--dhs-mute2); font-size: 12px; text-align: right; }
.dhs-range input[type=range] { width: 100%; height: 32px; margin: 0; accent-color: var(--dhs-teal); background: transparent; }
.dhs-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 600; min-height: 44px; padding: 10px 0; cursor: pointer; margin: 0; }
.dhs-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--dhs-teal); flex: none; }
.dhs-check small { display: block; font-size: 12px; color: var(--dhs-mute); font-weight: 400; margin-top: 2px; }
.dhs-check-s { padding: 4px 0; min-height: 0; }
.dhs-danger { background: none; border: 0; color: var(--dhs-err); font-weight: 600; font-size: 13px; min-height: 44px; text-align: left; padding: 0; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }

/* ---- templates panel ---- */
.dhs-tpls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dhs-tpl { border: 1px solid var(--dhs-b1); border-radius: 12px; background: #fff; overflow: hidden; padding: 0; text-align: left; display: flex; flex-direction: column; content-visibility: auto; contain-intrinsic-size: auto 170px; }
.dhs-tpl:hover { border-color: var(--dhs-teal); box-shadow: 0 0 0 1px var(--dhs-teal); }
.dhs-tpl-th { display: block; aspect-ratio: 3 / 2; width: 100%; overflow: hidden; position: relative; }
.dhs-tpl-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dhs-tpl-a { display: none; position: absolute; inset: 0; padding: 8px; align-items: center; justify-content: center; text-align: center; font-size: 15px; font-weight: 700; line-height: 1.15; overflow: hidden; overflow-wrap: anywhere; }
.dhs-tpl-th.is-noimg img { display: none; }
.dhs-tpl-th.is-noimg .dhs-tpl-a, .dhs-tpl-a.is-show { display: flex; }
.dhs-tpl-a.is-show { font-size: 22px; font-weight: 400; }
.dhs-tpl-n { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--dhs-b3); flex: 1 1 auto; }
.dhs-tpl-n b { font-size: 13px; line-height: 1.25; }
.dhs-tpl-n small { font-size: 12px; color: var(--dhs-mute); line-height: 1.3; }
a.dhs-tpl { text-decoration: none; color: var(--dhs-ink); }

/* ---- canvas ---- */
.dhs-surf { display: flex; gap: 5px; flex-wrap: wrap; min-width: 0; flex: 1 1 auto; align-items: center; }
.dhs-surf-l { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--dhs-mute2); margin-right: 4px; white-space: nowrap; }
.dhs-surf-l::after { content: ":"; }
.dhs-surf button { min-height: 36px; padding: 0 10px 0 8px; border-radius: 999px; border: 1px solid var(--dhs-b1); background: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: var(--dhs-ink); }
.dhs-surf button i { width: 16px; height: 16px; border-radius: 4px; border: 1px solid rgba(0,0,0,.4); flex: none; }
.dhs-surf button:hover { border-color: var(--dhs-teal); }
.dhs-surf button[aria-pressed="true"] { background: var(--dhs-dark); border-color: var(--dhs-dark); color: #fff; }
.dhs-surf button[aria-pressed="true"] i { border-color: rgba(255,255,255,.75); }
.dhs-stagewrap { position: relative; flex: 1 1 auto; min-height: 0; display: flex; }
.dhs-zoomwrap { position: absolute; right: 10px; top: 10px; z-index: 3; }
.dhs-zoom { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--dhs-b1); border-radius: 999px; height: 38px; flex: none; overflow: hidden; }
.dhs-zoom button { width: 36px; height: 36px; border: 0; background: transparent; font-size: 20px; font-weight: 600; line-height: 1; color: var(--dhs-ink); }
.dhs-zoom button.dhs-zoom-v { width: auto; min-width: 58px; font-size: 13px; font-weight: 700; padding: 0 4px; white-space: nowrap; }
.dhs-zoom button:hover:not(:disabled) { background: var(--dhs-grey); }
.dhs-zoom button:disabled { opacity: .35; }
.dhs-ruler { height: 30px; background: #fafbfb; border-bottom: 1px solid var(--dhs-b3); position: relative; flex: none; overflow: hidden; }
.dhs-ruler i { position: absolute; bottom: 0; width: 1px; background: #7d8985; height: 10px; }
.dhs-ruler i.h { height: 5px; background: #a9b3af; }
.dhs-ruler b { position: absolute; top: 3px; font-size: 12px; font-weight: 600; color: var(--dhs-mute2); transform: translateX(4px); line-height: 1.2; }
.dhs-ruler em { position: absolute; right: 0; top: 0; bottom: 0; display: flex; align-items: center; font-size: 12px; font-weight: 700; font-style: normal; color: #fff; background: var(--dhs-mute2); padding: 0 8px; }
.dhs-stage { position: relative; flex: 1 1 auto; min-height: 0; min-width: 0; overflow: hidden; background: #f5f5f2; user-select: none; -webkit-user-select: none; touch-action: pan-y; background-size: cover; background-position: center; }
.dhs-stage[data-surface="white"] { background: #f5f5f2; }
.dhs-stage[data-surface="silver"] { background: linear-gradient(160deg, #c6cacd, #a9aeb2); }
.dhs-stage[data-surface="black"] { background: #131517; }
.dhs-stage[data-surface="glass"] { background-color: #2b3b40; background-image: linear-gradient(115deg, transparent 0%, transparent 22%, rgba(255,255,255,.10) 22%, rgba(255,255,255,.10) 30%, transparent 30%, transparent 36%, rgba(255,255,255,.06) 36%, rgba(255,255,255,.06) 40%, transparent 40%); }
.dhs-stage[data-surface="wall"] { background: #e8e1d5; }
.dhs-stage[data-surface="photo"] { background-color: #f1f3f2; background-size: 100% 100%; }
.dhs-design { position: absolute; transform: translate(-50%, -50%); cursor: pointer; touch-action: pan-y; }
.dhs-design.is-move { cursor: grab; touch-action: none; }
.dhs-design.is-drag { cursor: grabbing; }
.dhs-design > svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.28)); }
.dhs-stage.is-dark .dhs-design > svg { filter: drop-shadow(0 1px 1px rgba(0,0,0,.55)); }
.dhs-ghost { opacity: .5; cursor: text; }
.dhs-sel { position: absolute; inset: -4px; border: 1.5px dashed rgba(29,116,104,.95); border-radius: 2px; pointer-events: none; }
.dhs-stage.is-dark .dhs-sel { border-color: rgba(233,220,118,.9); }
.dhs-hd { position: absolute; width: 30px; height: 30px; display: grid; place-items: center; background: transparent; border: 0; padding: 0; touch-action: none; z-index: 2; }
.dhs-hd::after { content: ""; width: 13px; height: 13px; background: #fff; border: 2px solid var(--dhs-teal); border-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.dhs-hd[data-h="tl"] { left: -19px; top: -19px; cursor: nwse-resize; }
.dhs-hd[data-h="tr"] { right: -19px; top: -19px; cursor: nesw-resize; }
.dhs-hd[data-h="bl"] { left: -19px; bottom: -19px; cursor: nesw-resize; }
.dhs-hd[data-h="br"] { right: -19px; bottom: -19px; cursor: nwse-resize; }
.dhs-hd.dhs-hd-s { z-index: 1; }
.dhs-design.is-tiny .dhs-hd-s { display: none; }
.dhs-hd-s::after { border-radius: 4px; }
.dhs-hd[data-h="l"], .dhs-hd[data-h="r"] { top: 0; bottom: 0; height: auto; width: 16px; cursor: ew-resize; }
.dhs-hd[data-h="l"] { left: -12px; } .dhs-hd[data-h="r"] { right: -12px; }
.dhs-hd[data-h="l"]::after, .dhs-hd[data-h="r"]::after { width: 7px; height: min(22px, 60%); }
.dhs-hd[data-h="t"], .dhs-hd[data-h="b"] { left: 0; right: 0; width: auto; height: 16px; cursor: ns-resize; }
.dhs-hd[data-h="t"] { top: -12px; } .dhs-hd[data-h="b"] { bottom: -12px; }
.dhs-hd[data-h="t"]::after, .dhs-hd[data-h="b"]::after { height: 7px; width: min(22px, 40%); }
.dhs-badge { position: absolute; left: 10px; top: 10px; background: var(--dhs-dark); color: #fff; font-size: 13px; font-weight: 700; border-radius: 8px; padding: 6px 10px; line-height: 1.25; pointer-events: none; max-width: calc(100% - 150px); z-index: 3; }
.dhs-badge:empty { display: none; }
.dhs-empty { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); background: var(--dhs-dark); color: #fff; font-size: 14px; font-weight: 700; padding: 0 18px; min-height: 44px; border: 0; border-radius: 999px; max-width: 94%; z-index: 3; }
.dhs-empty:hover { background: var(--dhs-teal-d); }
.dhs-pills { position: absolute; left: 10px; bottom: 10px; display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 6px; max-width: calc(100% - 20px); z-index: 3; pointer-events: none; }
.dhs-pill { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 14px; pointer-events: none; line-height: 1.3; text-align: left; border: 0; }
.dhs-pill-hint { background: rgba(13,43,39,.85); color: #fff; }
.dhs-pill-mir { background: var(--dhs-yel); color: var(--dhs-dark); }
.dhs-pill-load { background: #fff; color: var(--dhs-ink); border: 1px solid var(--dhs-b1); }
.dhs-pill-warn { pointer-events: auto; background: var(--dhs-warn-bg); color: var(--dhs-warn-t); border: 1px solid #b98d1c; min-height: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-size: 13px; }
.dhs-pill-warn b { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; white-space: nowrap; }
.dhs-photo-ph { position: absolute; inset: 24px; border: 2px dashed #6f7b77; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px; color: var(--dhs-mute2); background: rgba(255,255,255,.7); cursor: pointer; width: auto; font-size: 13px; }
.dhs-photo-ph b { font-size: 15px; color: var(--dhs-ink); }
.dhs-photo-row { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; padding: 10px 14px; border-top: 1px solid var(--dhs-b3); font-size: 13px; flex: none; background: #fff; }
.dhs-photo-in { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.dhs-photo-row input { width: 86px; min-height: 44px; border-radius: 8px; border: 1px solid var(--dhs-b1); padding: 4px 8px; font-size: 16px; font-weight: 600; }
.dhs-photo-row .dhs-link { min-height: 44px; align-self: center; }
.dhs-nudge { display: flex; gap: 4px; margin-left: auto; }
.dhs-nudge button { width: 44px; height: 44px; border: 1px solid var(--dhs-b1); background: #fff; border-radius: 8px; padding: 0; display: grid; place-items: center; color: var(--dhs-ink); }
.dhs-nudge button:hover { border-color: var(--dhs-teal); color: var(--dhs-teal-d); }
.dhs-nudge button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- right column ---- */
.dhs-curfont { min-height: 52px; width: 100%; border-radius: 12px; border: 1px solid var(--dhs-b1); background: #fff; display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 14px; font-size: 22px; line-height: 1.2; overflow: hidden; color: var(--dhs-ink); }
.dhs-curfont span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1 1 auto; text-align: left; min-width: 0; }
.dhs-curfont svg { width: 18px; height: 18px; fill: none; stroke: var(--dhs-teal-d); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dhs-curfont:hover { border-color: var(--dhs-teal); }
.dhs-row2 { display: flex; gap: 12px; flex-wrap: wrap; }
.dhs-row2 > div { flex: 1 1 150px; min-width: 0; }
.dhs-row2 > .dhs-row2-s { flex: 0 1 132px; }
.dhs-seg { display: flex; border: 1px solid var(--dhs-b1); border-radius: 10px; overflow: hidden; background: #fff; }
.dhs-seg button { flex: 1 1 0; min-height: 44px; border: 0; background: #fff; font-size: 13px; font-weight: 700; padding: 0 6px; display: grid; place-items: center; color: var(--dhs-ink); min-width: 0; white-space: nowrap; }
.dhs-seg button + button { border-left: 1px solid var(--dhs-b1); }
.dhs-seg button:hover { background: var(--dhs-grey); }
.dhs-seg button[aria-pressed="true"] { background: var(--dhs-dark); color: #fff; }
.dhs-seg button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dhs-size-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dhs-size-top .dhs-label { margin: 0; }
.dhs-size-top .dhs-seg { flex: none; }
.dhs-size-top .dhs-seg button { min-height: 36px; min-width: 48px; padding: 0 12px; }
.dhs-szrow { display: flex; align-items: center; gap: 10px; }
.dhs-szl { flex: none; width: 58px; font-size: 14px; font-weight: 700; line-height: 1.2; }
.dhs-step { display: flex; align-items: stretch; gap: 6px; flex: 1 1 auto; min-width: 0; }
.dhs-step button { width: 44px; min-height: 46px; border-radius: 10px; border: 1px solid var(--dhs-b1); background: #fff; font-size: 22px; font-weight: 600; line-height: 1; flex: none; color: var(--dhs-ink); }
.dhs-step button:hover:not(:disabled) { border-color: var(--dhs-teal); color: var(--dhs-teal-d); }
.dhs-step button:disabled { opacity: .35; }
.dhs-step-in { flex: 1 1 auto; display: flex; align-items: center; gap: 4px; border: 2px solid var(--dhs-teal); border-radius: 10px; background: #fff; padding: 0 10px; min-width: 0; }
.dhs-step-in input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; font-size: 18px; font-weight: 700; padding: 8px 0; text-align: right; }
.dhs-step-in input::placeholder { font-weight: 500; color: #6b7672; opacity: 1; }
.dhs-step-in span { font-size: 15px; font-weight: 700; color: var(--dhs-mute2); flex: none; min-width: 22px; }
.dhs-step-in:focus-within { outline: 3px solid rgba(29,116,104,.35); }
.dhs-chipline { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; font-weight: 600; background: var(--dhs-soft); border: 1px solid #b9ddd5; border-radius: 10px; padding: 8px 10px; color: var(--dhs-teal-d); }
.dhs-chipline button { min-height: 36px; border-radius: 999px; border: 1px solid var(--dhs-teal-d); background: #fff; color: var(--dhs-teal-d); font-weight: 700; font-size: 13px; padding: 0 12px; white-space: nowrap; }
.dhs-warn { background: var(--dhs-warn-bg); border: 1px solid var(--dhs-warn-b); color: var(--dhs-warn-t); border-radius: 10px; padding: 10px 12px; font-size: 13px; display: flex; flex-direction: column; gap: 8px; }
.dhs-warn button { align-self: flex-start; min-height: 40px; border-radius: 999px; border: 1px solid var(--dhs-warn-t); background: #fff; color: var(--dhs-warn-t); font-weight: 700; font-size: 13px; padding: 0 14px; }
.dhs-warn.is-err { background: #fdecec; border-color: #e3a3a5; color: var(--dhs-err); }
.dhs-warn.is-err button { border-color: var(--dhs-err); color: var(--dhs-err); }
.dhs-colfor { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dhs-colfor-l { font-size: 13px; font-weight: 700; margin-right: 2px; }
.dhs-colfor-h { flex: 0 0 100%; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dhs-colfor-l::after { content: ":"; }
.dhs-colfor-n { font-size: 12px; font-weight: 700; color: var(--dhs-teal-d); background: var(--dhs-soft); border: 1px solid #b9ddd5; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.dhs-colfor + .dhs-cx { margin: 8px 0 10px; }
.dhs-colfor button { min-height: 36px; border-radius: 999px; border: 1px solid var(--dhs-b1); background: #fff; font-size: 13px; font-weight: 600; padding: 0 12px 0 8px; display: inline-flex; align-items: center; gap: 6px; color: var(--dhs-ink); white-space: nowrap; }
.dhs-colfor button:hover { border-color: var(--dhs-teal); }
.dhs-colfor button[aria-pressed="true"] { background: var(--dhs-dark); border-color: var(--dhs-dark); color: #fff; }
.dhs-colfor button[aria-pressed="true"] .dhs-dot { border-color: rgba(255,255,255,.8); }
.dhs-sw { display: grid; grid-template-columns: repeat(7, minmax(0, 44px)); gap: 6px; justify-content: space-between; }
.dhs-sw button { aspect-ratio: 1; width: 100%; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); padding: 0; display: grid; place-items: center; position: relative; }
.dhs-sw button.is-light { border-color: #6f7b77; }
.dhs-sw button:hover { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--dhs-b1); }
.dhs-sw button[aria-pressed="true"] { border: 3px solid #fff; box-shadow: 0 0 0 2px var(--dhs-teal) !important; }
.dhs-sw button svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; display: none; }
.dhs-sw button.is-light svg { stroke: #15201e; }
.dhs-sw button[aria-pressed="true"] svg { display: block; }
.dhs-cx { font-weight: 600; color: var(--dhs-mute2); font-size: 13px; }
.dhs-fin { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dhs-fin button { min-height: 44px; border-radius: 10px; border: 1px solid var(--dhs-b1); background: #fff; font-weight: 700; font-size: 13px; color: var(--dhs-ink); }
.dhs-fin button:hover { border-color: var(--dhs-teal); }
.dhs-fin button[aria-pressed="true"] { background: var(--dhs-dark); border-color: var(--dhs-dark); color: #fff; }
.dhs-qty { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.dhs-qty button { min-height: 54px; border-radius: 10px; border: 1px solid var(--dhs-b1); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 1px; color: var(--dhs-ink); min-width: 0; }
.dhs-qty button:hover { border-color: var(--dhs-teal); }
.dhs-qty button b { font-size: 17px; font-weight: 700; line-height: 1.1; }
.dhs-qty button small { font-size: 12px; font-weight: 600; color: var(--dhs-teal-d); line-height: 1.15; white-space: nowrap; }
.dhs-qty button[aria-pressed="true"] { background: var(--dhs-dark); border-color: var(--dhs-dark); color: #fff; }
.dhs-qty button[aria-pressed="true"] small { color: rgba(255,255,255,.9); }
.dhs-other { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--dhs-mute2); }
.dhs-other input { width: 84px; min-height: 44px; border-radius: 10px; border: 1px solid var(--dhs-b1); padding: 4px 10px; font-size: 16px; font-weight: 600; flex: none; }
.dhs-qline { font-size: 13px; font-weight: 600; color: var(--dhs-ink); background: var(--dhs-soft); border-radius: 8px; padding: 8px 10px; }
.dhs-adv-t { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; border: 1px solid var(--dhs-b1); border-radius: 10px; background: #fff; font-weight: 700; font-size: 14px; padding: 6px 14px; color: var(--dhs-ink); text-align: left; gap: 10px; }
.dhs-adv-t:hover { border-color: var(--dhs-teal); }
.dhs-adv-t svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; flex: none; }
.dhs-adv-t[aria-expanded="true"] svg { transform: rotate(90deg); }
.dhs-pd-t { min-height: 44px; border: 0; padding: 0; color: var(--dhs-teal-d); text-decoration: underline; text-underline-offset: 3px; justify-content: flex-start; font-size: 13px; }
.dhs-pd { width: 100%; border-collapse: collapse; font-size: 13px; margin: 0; }
.dhs-pd th, .dhs-pd td { padding: 6px 0; border-bottom: 1px solid var(--dhs-b3); text-align: left; font-weight: 500; vertical-align: top; background: none; color: var(--dhs-ink); }
.dhs-pd td { text-align: right; white-space: nowrap; font-weight: 600; padding-left: 10px; }
.dhs-pd tr.t th, .dhs-pd tr.t td { font-weight: 700; border-bottom: 0; }
.dhs-ta { width: 100%; min-height: 64px; border-radius: 10px; border: 1px solid var(--dhs-b1); padding: 8px 12px; font-size: 16px; resize: vertical; }
.dhs-sum { font-size: 13px; color: var(--dhs-mute2); display: flex; flex-direction: column; gap: 6px; background: var(--dhs-grey); border-radius: 12px; padding: 12px 14px; }
.dhs-sum b.t { color: var(--dhs-teal-d); font-size: 13px; }
.dhs-sum dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.dhs-sum dt { color: var(--dhs-mute); font-weight: 500; }
.dhs-sum dd { margin: 0; font-weight: 600; color: var(--dhs-ink); overflow-wrap: anywhere; }
.dhs-sum > span { font-size: 12px; }
.dhs-pay { position: relative; margin: 0; padding: 12px 16px 14px; background: #fff; border-top: 1px solid var(--dhs-b2); box-shadow: 0 -8px 20px rgba(13,43,39,.08); z-index: 2; gap: 8px; }
.dhs-pay-in { background: var(--dhs-dark); color: #fff; border-radius: 16px; padding: 12px 12px 12px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; }
.dhs-pay-p { min-width: 0; flex: 1 1 130px; display: flex; flex-direction: column; gap: 3px; }
.dhs-pay .dhs-price-total { display: block; font-size: 32px; white-space: nowrap; }
.dhs-pay .dhs-price-sub { font-size: 12px; display: block; line-height: 1.3; }
.dhs-pay .dhs-btn-cta { height: 52px; flex: 1 0 auto; }
.dhs-pay-proof { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--dhs-mute2); }
.dhs-pay-proof svg { width: 14px; height: 14px; fill: none; stroke: var(--dhs-teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---- bottom bar (phone) ---- */
.dhs-bottom { display: none; }

/* ---- save window ---- */
.dhs-modal { position: fixed; inset: 0; z-index: 1100; background: rgba(13,43,39,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dhs-dialog { background: #fff; border-radius: 18px; padding: 24px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,.3); display: flex; flex-direction: column; gap: 12px; }
.dhs .dhs-dialog h2 { font-size: 20px; font-weight: 700; color: var(--dhs-ink); }
.dhs-dialog p { font-size: 14px; color: var(--dhs-mute2); }
.dhs-dialog label { font-size: 13px; font-weight: 600; margin: 0; }
.dhs-dialog input[type=email] { min-height: 48px; border-radius: 10px; border: 1px solid var(--dhs-b1); padding: 8px 12px; font-size: 16px; width: 100%; }
.dhs-dialog input[aria-invalid="true"] { border: 2px solid var(--dhs-err); }
.dhs-dialog .dhs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dhs-dialog .dhs-ferr { color: var(--dhs-err); font-size: 13px; font-weight: 600; }
.dhs-dialog-b { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }
.dhs-dialog-b button { min-height: 44px; border-radius: 999px; padding: 0 18px; font-size: 14px; font-weight: 700; border: 1px solid var(--dhs-b1); background: #fff; color: var(--dhs-ink); }
.dhs-dialog-b button.p { background: var(--dhs-dark); border-color: var(--dhs-dark); color: #fff; }

/* ---- phone / tablet ---- */
@media (max-width: 999px) {
  .dhs-bar { position: static; }
  .dhs-bar-in { padding: 6px 12px 6px 14px; gap: 10px; min-height: 56px; }
  .dhs-h1 { font-size: 20px; flex: 1 1 0; white-space: normal; }
  .dhs-proof, .dhs-tools { display: none; }
  .dhs-bar .dhs-btn-ghost { padding: 0 14px; }
  .dhs-zoom-n { height: 46px; }
  .dhs-zoom-n button + button { border-left: 1px solid var(--dhs-b2); }
  .dhs-zoom-n button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto; }
  .dhs-zoom-n button.dhs-zoom-v { display: flex; align-items: center; gap: 4px; padding: 0 10px 0 8px; min-width: 0; }
  .dhs-zoom-n button.dhs-zoom-v svg { margin: 0; }
  .dhs-main { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .dhs-ctop { padding: 8px 0 8px 12px; flex-wrap: nowrap; }
  .dhs-surf { flex-wrap: nowrap; }
  .dhs-surf-l { flex: none; }
  .dhs-surf { overflow-x: auto; scrollbar-width: none; padding: 2px 34px 2px 2px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .dhs-surf::-webkit-scrollbar { display: none; }
  .dhs-surf button { min-height: 44px; flex: none; }
  .dhs-sent { display: block; height: 0; }
  .dhs-stick { display: block; position: sticky; top: var(--dhs-top, 0px); z-index: 20; background: var(--dhs-bg); box-shadow: 0 6px 14px rgba(13,43,39,.16); }
  .dhs-card { margin: 0; border-radius: 0; border-left: 0; border-right: 0; }
  .dhs-stagewrap { flex: none; }
  .dhs-stage { flex: 1 1 auto; height: clamp(170px, 52vw, 320px); }
  .dhs.is-stuck .dhs-stage { height: 150px; }
  .dhs.is-stuck .dhs-ruler, .dhs.is-stuck .dhs-photo-row { display: none; }
  .dhs-ubar { display: flex; flex-direction: column; gap: 4px; padding: 6px 8px; background: #fff; border-top: 1px solid var(--dhs-b3); }
  .dhs-ubar .dhs-pill { width: 100%; border-radius: 10px; pointer-events: auto; }
  .dhs-ubar .dhs-pill-warn { min-height: 44px; justify-content: space-between; }
  .dhs.is-kb .dhs-stage { height: 120px; }
  .dhs.is-kb .dhs-ruler, .dhs.is-kb .dhs-photo-row, .dhs.is-kb .dhs-bottom { display: none; }
  .dhs-empty { font-size: 13px; padding: 0 14px; bottom: 7%; white-space: nowrap; }
  .dhs-zoom { height: 46px; }
  .dhs-zoom button { width: 44px; height: 44px; }
  .dhs-zoom button.dhs-zoom-v { min-width: 56px; }
  .dhs-zoomwrap { right: 8px; top: 8px; }
  .dhs-badge { left: 8px; top: 8px; font-size: 12px; max-width: calc(100% - 196px); }
  .dhs-rail { flex-direction: row; border-right: 0; border-top: 0; border-bottom: 1px solid var(--dhs-b2); background: #fff; }
  .dhs-rail button { flex: 1 1 0; min-height: 58px; min-width: 0; line-height: 1.15; }
  .dhs-rail button[aria-pressed="true"] { box-shadow: inset 0 -3px 0 var(--dhs-teal); background: var(--dhs-soft); }
  .dhs-rail .dhs-rail-style { display: flex; }
  .dhs-panel, .dhs-right { border: 0; overflow: visible; padding: 12px 14px 24px; width: 100%; max-width: 640px; margin: 0 auto; background: transparent;
    min-height: calc(100vh - var(--dhs-top, 0px) - var(--dhs-stick-h, 270px) - 60px); }
  .dhs-main { background: #fff; }
  .dhs:not([data-tab="style"]) .dhs-right { display: none; }
  .dhs-rs, .dhs-rs.is-more { overflow: visible; padding: 0; -webkit-mask-image: none; mask-image: none; }
  .dhs[data-tab="style"] .dhs-panel { display: none; }
  .dhs-pay { display: none; }
  .dhs-hint-wide { display: none; }
  .dhs-chip, .dhs-colfor button, .dhs-mini, .dhs-link, .dhs-size-top .dhs-seg button, .dhs-chipline button { min-height: 44px; }
  .dhs-range input[type=range] { height: 44px; }
  .dhs-step button { width: 48px; min-height: 48px; }
  .dhs-x { width: 44px; height: 44px; }
  .dhs-note-c > button { width: 44px; height: 44px; margin: -8px -8px -8px 0; }
  .dhs-note-c > button.dhs-toast-b { height: 44px; margin: -8px 0; }
  .dhs-sw { gap: 4px; }
  .dhs-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: sticky; bottom: 0; z-index: 25; background: var(--dhs-dark); color: #fff; padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -6px 18px rgba(0,0,0,.18); }
  .dhs-bottom-price { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
  .dhs-bottom .dhs-price-total { font-size: 28px; white-space: nowrap; }
  .dhs-bottom .dhs-price-sub { font-size: 12px; line-height: 1.25; }
  .dhs-bottom .dhs-btn-cta { height: 48px; flex: none; }
  .dhs-notes { top: auto; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .dhs.is-kb .dhs-notes { bottom: 8px; }
  .dhs-added-th { display: none !important; }
  html { scroll-padding-top: calc(var(--dhs-top, 0px) + var(--dhs-stick-h, 270px) + 12px); scroll-padding-bottom: 90px; }
}
@media (max-width: 999px) and (max-height: 520px) {
  .dhs-stick, .dhs-bottom { position: static; }
  .dhs-panel, .dhs-right { min-height: 0; }
}
/* short phones: a smaller preview keeps the first text box on the first screen */
@media (max-width: 999px) and (max-height: 780px) {
  .dhs-stage { height: clamp(150px, 42vw, 320px); }
  .dhs-ctop { padding-top: 6px; padding-bottom: 6px; }
}
@media (max-width: 380px) {
  .dhs-rail button { font-size: 12px; padding: 6px 0; letter-spacing: -.01em; }
  .dhs-bottom .dhs-btn-cta { padding: 0 16px; }
}
@media (min-width: 600px) and (max-width: 999px) {
  .dhs-sw { grid-template-columns: repeat(10, minmax(0, 48px)); justify-content: flex-start; gap: 8px; }
  .dhs-tpls { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .dhs-bottom { padding-left: max(14px, calc(50% - 306px)); padding-right: max(14px, calc(50% - 306px)); }
}
@media (pointer: coarse) {
  .dhs-hd { width: 44px; height: 44px; }
  .dhs-hd[data-h="tl"], .dhs-hd[data-h="bl"] { left: -26px; }
  .dhs-hd[data-h="tr"], .dhs-hd[data-h="br"] { right: -26px; }
  .dhs-hd[data-h="tl"], .dhs-hd[data-h="tr"] { top: -26px; }
  .dhs-hd[data-h="bl"], .dhs-hd[data-h="br"] { bottom: -26px; }
  .dhs-hd.dhs-hd-s { display: none; }
}
@media (min-width: 1000px) {
  .dhs-hint-narrow { display: none !important; }
}
/* the six preview backgrounds stay on one row: below 1440 the label sits on its own line above them */
@media (min-width: 1000px) and (max-width: 1439px) {
  .dhs-surf-l { flex: 0 0 100%; margin: 0 0 -1px; }
  .dhs-ctop { padding-top: 10px; }
}
/* 1240-1439: slimmer side columns and tighter pills so all six backgrounds fit on one row */
@media (min-width: 1240px) and (max-width: 1439px) {
  .dhs-main { grid-template-columns: 76px minmax(280px, 300px) minmax(0, 1fr) minmax(320px, 340px); }
  .dhs-surf { display: grid; grid-template-columns: repeat(6, max-content); gap: 5px 4px; overflow-x: auto; scrollbar-width: none; }
  .dhs-surf::-webkit-scrollbar { display: none; }
  .dhs-surf-l { grid-column: 1 / -1; margin: 0; }
  .dhs-surf button { padding: 0 8px 0 6px; gap: 5px; font-size: 12.5px; }
  .dhs-surf button i { width: 14px; height: 14px; }
}
/* 1000-1239: the preview column is too narrow for six pills in a row: three equal columns on two rows, and one row
   again from 1150 where all six fit */
@media (min-width: 1000px) and (max-width: 1239px) {
  .dhs-surf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .dhs-surf-l { grid-column: 1 / -1; margin: 0; }
  .dhs-surf button { min-width: 0; padding: 0 8px 0 6px; gap: 6px; font-size: 12.5px; }
  .dhs-surf button i { width: 14px; height: 14px; }
}
@media (min-width: 1150px) and (max-width: 1239px) {
  .dhs-surf { grid-template-columns: repeat(6, max-content); gap: 5px 4px; }
}
@media (min-width: 1000px) and (max-width: 1239px) {
  .dhs-main { grid-template-columns: 68px minmax(248px, 280px) minmax(0, 1fr) minmax(292px, 304px); }
  .dhs-proof { display: none; }
  .dhs-h1 { font-size: 24px; }
  .dhs-panel { padding: 16px; }
  .dhs-rs { padding: 16px 16px 14px; }
  .dhs-pay { padding: 10px 12px 12px; }
  .dhs-ctop { padding: 12px 14px 0; }
  .dhs-card { margin: 10px 14px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .dhs *, .dhs-info * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---- static content below the editor ---- */
.dhs-info { background: #fff; }
:where(.dhs-info) h2, :where(.dhs-info) h3, :where(.dhs-info) p, :where(.dhs-info) ol, :where(.dhs-info) ul { margin: 0; }
.dhs-band { background: var(--dhs-dark); color: #fff; }
.dhs-band-in { max-width: 1280px; margin: 0 auto; padding: 28px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; position: relative; }
.dhs-info .dhs-band-item h3 { color: var(--dhs-yel); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.dhs-band-item p { font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.5; }
.dhs-wrap { max-width: 1180px; margin: 0 auto; padding: 56px 24px 64px; }
.dhs-info .dhs-h2, .dhs-info .dhs-intro h2 { font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif; font-weight: 400; font-size: 44px; line-height: 1.02; color: var(--dhs-dark); text-align: center; letter-spacing: .01em; margin: 72px 0 28px; text-wrap: balance; text-transform: uppercase; }
.dhs-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.dhs-info .dhs-intro h2 { text-align: left; margin: 0 0 16px; }
.dhs-info .dhs-intro p { font-size: 16px; line-height: 1.65; color: var(--dhs-mute2); margin-bottom: 14px; max-width: 64ch; }
.dhs-intro-img { width: 100%; height: auto; border-radius: 16px; display: block; }
.dhs-note { font-size: 14px !important; color: var(--dhs-mute) !important; }
.dhs-info a { color: var(--dhs-teal-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dhs-uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 899px) { .dhs-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .dhs-uses { grid-template-columns: 1fr; } }
.dhs-use { border: 1px solid var(--dhs-b3); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.dhs-info .dhs-use h3 { font-size: 17px; font-weight: 700; color: var(--dhs-ink); line-height: 1.3; }
.dhs-use p { font-size: 14px; line-height: 1.55; color: var(--dhs-mute2); flex: 1 1 auto; }
a.dhs-use-btn { display: inline-flex; align-items: center; text-decoration: none; }
.dhs-use-btn { align-self: flex-start; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--dhs-teal); background: #fff; color: var(--dhs-teal-d); font: 700 14px/1 Inter, system-ui, sans-serif; padding: 0 18px; cursor: pointer; margin-top: 6px; }
.dhs-use-btn:hover { background: var(--dhs-soft); }
.dhs-vanline { text-align: center; font-size: 15px; color: var(--dhs-mute2); margin-top: 20px !important; }
.dhs-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.dhs-steps li { border: 1px solid var(--dhs-b3); border-radius: 16px; padding: 20px; }
.dhs-step-n { font-family: "Bebas Neue", Impact, sans-serif; font-size: 34px; line-height: 1; color: var(--dhs-teal); display: block; margin-bottom: 8px; }
.dhs-info .dhs-steps h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--dhs-ink); }
.dhs-steps p { font-size: 14px; line-height: 1.55; color: var(--dhs-mute2); }
.dhs-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.dhs-spec { border: 1px solid var(--dhs-b3); border-radius: 16px; padding: 22px; }
.dhs-info .dhs-spec h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--dhs-ink); }
.dhs-info .dhs-spec p + h3 { margin-top: 20px; }
.dhs-spec p { font-size: 14px; line-height: 1.6; color: var(--dhs-mute2); }
.dhs-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.dhs-table caption { caption-side: top; text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--dhs-mute); padding: 0 0 8px; }
.dhs-table th, .dhs-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--dhs-b3); }
.dhs-table th { font-size: 12px; color: var(--dhs-mute); font-weight: 600; background: var(--dhs-grey); }
.dhs-table td:last-child { font-weight: 600; color: var(--dhs-ink); }
.dhs-colours { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px 10px; margin-bottom: 14px !important; }
.dhs-colours li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dhs-ink); }
.dhs-colours i { width: 20px; height: 20px; border-radius: 50%; flex: none; border: 1px solid rgba(0,0,0,.12); }
.dhs-colours i.dhs-light { border-color: #9aa5a1; }
.dhs-apply { max-width: 820px; margin: 0 auto !important; padding: 0; list-style: none; counter-reset: dhsa; display: flex; flex-direction: column; gap: 10px; }
.dhs-apply li { counter-increment: dhsa; position: relative; padding: 14px 16px 14px 60px; border: 1px solid var(--dhs-b3); border-radius: 14px; font-size: 15px; line-height: 1.55; color: var(--dhs-mute2); }
.dhs-apply li::before { content: counter(dhsa); position: absolute; left: 16px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--dhs-teal); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.dhs-apply strong { color: var(--dhs-ink); }
.dhs-surfaces { max-width: 820px; margin: 18px auto 0; background: var(--dhs-grey); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.dhs-surfaces p { font-size: 14px; line-height: 1.55; color: var(--dhs-mute2); }
.dhs-surfaces strong { color: var(--dhs-ink); }
.dhs-faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--dhs-b2); }
.dhs-faq details { border-bottom: 1px solid var(--dhs-b2); padding: 0 4px; }
.dhs-faq summary { font-weight: 700; font-size: 16px; padding: 16px 28px 16px 0; cursor: pointer; list-style: none; position: relative; color: var(--dhs-ink); min-height: 44px; }
.dhs-faq summary::-webkit-details-marker { display: none; }
.dhs-faq summary::after { content: ""; position: absolute; right: 6px; top: 22px; width: 9px; height: 9px; border-right: 2px solid var(--dhs-teal); border-bottom: 2px solid var(--dhs-teal); transform: rotate(45deg); transition: transform .15s; }
.dhs-faq details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.dhs-faq details p { font-size: 15px; line-height: 1.6; color: var(--dhs-mute2); padding: 0 0 18px; max-width: 70ch; }
@media (max-width: 767px) {
  .dhs-wrap { padding: 40px 16px 48px; }
  .dhs-band-in { padding: 24px 16px; }
  .dhs-info .dhs-h2, .dhs-info .dhs-intro h2 { font-size: 34px; margin: 52px 0 20px; }
  .dhs-info .dhs-intro h2 { margin: 0 0 14px; }
  .dhs-intro { grid-template-columns: 1fr; gap: 24px; }
  .dhs-intro-img { max-width: 420px; margin: 0 auto; display: block; }
}


/* ---------- crawlable template gallery (static section) ---------- */
.dhs-libintro { max-width: 760px; margin: 0 auto 8px !important; text-align: center; font-size: 16px; line-height: 1.6; color: var(--dhs-mute2); }
.dhs-libintro a { color: var(--dhs-teal-d); font-weight: 600; }
.dhs-libstatic { margin-top: 8px; }
.dhs-info .dhs-libstatic h3 { font-size: 22px; font-weight: 800; color: var(--dhs-ink); margin: 36px 0 4px; line-height: 1.25; }
.dhs-info .dhs-libstatic h4 { font: 700 15px/1.3 Inter, system-ui, sans-serif; text-transform: none; letter-spacing: 0; color: var(--dhs-mute2); margin: 18px 0 8px; }
.dhs-libstatic ul { list-style: none; margin: 0; padding: 2px 2px 12px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.dhs-libstatic li { flex: 0 0 168px; scroll-snap-align: start; margin: 0; padding: 0; }
.dhs-libstatic a { display: block; text-decoration: none; color: var(--dhs-ink); border: 1px solid var(--dhs-b3); border-radius: 12px; overflow: hidden; background: #fff; }
.dhs-libstatic a:hover, .dhs-libstatic a:focus-visible { border-color: var(--dhs-teal); }
.dhs-libstatic a:focus-visible { outline: 2px solid var(--dhs-teal); outline-offset: 2px; }
.dhs-libstatic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; background: var(--dhs-b3); }
.dhs-libstatic span { display: block; padding: 8px 10px 10px; font-size: 13px; line-height: 1.35; font-weight: 600; min-height: 54px; }
@media (max-width: 599px) { .dhs-libstatic li { flex-basis: 148px; } .dhs-info .dhs-libstatic h3 { font-size: 20px; margin-top: 28px; } }
