/* AuraPier Website Builder (the signed-in app). Warm, calm, easy to read. Light or dark follows the device or the visitor's choice.
   Spacing steps: 4 8 12 16 24 32 48. Radii: 6 (controls), 10 (cards), 16 (dialogs). One accent (coral); colour elsewhere is for status only. */
:root {
  --bg: #f6f3ee; --surface: #ffffff; --surface-2: #f1ede6; --surface-3: #e9e3d9;
  --line: rgba(60, 40, 15, .13); --line-strong: rgba(60, 40, 15, .26);
  --text: #211b14; --text-2: #5c5347; --text-3: #6e6558;
  --acc: #c93f2a; --acc-hi: #b53623; --acc-ink: #ffffff; --acc-soft: #fbe7e1;
  --ok: #1d7448; --ok-soft: #e0f2e8; --warn: #8f5200; --warn-soft: #fcefd5; --bad: #b3261e; --bad-soft: #fbe3e0;
  --shadow: 0 1px 2px rgba(60, 40, 15, .06), 0 6px 20px rgba(60, 40, 15, .07);
  --r-s: 6px; --r-m: 10px; --r-l: 16px; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #15110d; --surface: #1e1914; --surface-2: #272019; --surface-3: #322a21; --line: rgba(255, 240, 225, .11); --line-strong: rgba(255, 240, 225, .24); --text: #f6efe4; --text-2: #c9bdab; --text-3: #a0937f; --acc: #fb8f55; --acc-hi: #ffa370; --acc-ink: #1c0f0a; --acc-soft: rgba(251, 143, 85, .15); --ok: #5dd391; --ok-soft: rgba(93, 211, 145, .13); --warn: #f2b14c; --warn-soft: rgba(242, 177, 76, .14); --bad: #ff8a80; --bad-soft: rgba(255, 138, 128, .14); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35); color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #15110d; --surface: #1e1914; --surface-2: #272019; --surface-3: #322a21; --line: rgba(255, 240, 225, .11); --line-strong: rgba(255, 240, 225, .24); --text: #f6efe4; --text-2: #c9bdab; --text-3: #a0937f; --acc: #fb8f55; --acc-hi: #ffa370; --acc-ink: #1c0f0a; --acc-soft: rgba(251, 143, 85, .15); --ok: #5dd391; --ok-soft: rgba(93, 211, 145, .13); --warn: #f2b14c; --warn-soft: rgba(242, 177, 76, .14); --bad: #ff8a80; --bad-soft: rgba(255, 138, 128, .14); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35); color-scheme: dark; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.hidden, [hidden] { display: none !important; }
a { color: var(--acc); } a:hover { color: var(--acc-hi); }
h1, h2, h3, h4 { margin: 0 0 8px; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: 28px; font-weight: 800; } h2 { font-size: 21px; font-weight: 750; } h3 { font-size: 16px; font-weight: 700; } h4 { font-size: 14px; }
p { margin: 0 0 12px; }
.muted { color: var(--text-2); } .small { font-size: 13.5px; } .mono { font-family: ui-monospace, Consolas, monospace; } .hint { display: block; font-size: 13px; color: var(--text-3); margin-top: 4px; } .pre { white-space: pre-wrap; margin: 8px 0; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 4px; }
.ic { flex: none; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .row.between { justify-content: space-between; } .row.end { justify-content: flex-end; } .row.center { justify-content: center; } .row.nowrap { flex-wrap: nowrap; }
.col { display: flex; flex-direction: column; gap: 8px; } .stack { display: flex; flex-direction: column; gap: 16px; } .stack-s { display: flex; flex-direction: column; gap: 8px; }
.pad { padding: 24px; } .pad-s { padding: 8px 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; } .grid3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0 16px; }
.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--r-s); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .12s, border-color .12s; }
.btn:hover { background: var(--surface-2); color: var(--text); } .btn:active { transform: translateY(1px); }
.btn.primary { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); } .btn.primary:hover { background: var(--acc-hi); border-color: var(--acc-hi); color: var(--acc-ink); }
.btn.primary.done { background: var(--surface-2); border-color: var(--line); color: var(--text-2); }
.btn.ghost { background: transparent; border-color: transparent; } .btn.ghost:hover { background: var(--surface-2); }
.btn.danger { color: var(--bad); } .btn.danger:hover { background: var(--bad-soft); }
.btn.sm { min-height: 32px; padding: 0 12px; font-size: 13.5px; } .btn.lg { min-height: 46px; padding: 0 24px; font-size: 16px; } .btn.wide { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; } .btn:disabled:hover { background: var(--surface); }
.ib { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: var(--r-s); background: transparent; color: var(--text-2); cursor: pointer; } .ib:hover { background: var(--surface-3); color: var(--text); } .ib.danger:hover { color: var(--bad); background: var(--bad-soft); }

/* forms */
.f, label.f { display: block; margin: 0 0 16px; } .fl { display: block; font-size: 13.5px; font-weight: 650; color: var(--text-2); margin-bottom: 4px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=time], input[type=date], input:not([type]), select, textarea { display: block; width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-s); background: var(--surface); color: var(--text); font: inherit; }
textarea { resize: vertical; line-height: 1.45; } input[type=color] { width: 100%; height: 40px; padding: 2px; border: 1px solid var(--line-strong); border-radius: var(--r-s); background: var(--surface); cursor: pointer; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--acc); outline-offset: 0; border-color: var(--acc); }
input:disabled { opacity: .55; }
label.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 0 0 16px; } label.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.error { color: var(--bad); font-size: 14px; min-height: 0; margin: 0 0 8px; } .error:empty { display: none; }
.sw { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; margin: 4px 16px 4px 0; } .sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swt { width: 38px; height: 22px; border-radius: 99px; background: var(--surface-3); border: 1px solid var(--line-strong); position: relative; flex: none; transition: background .15s; }
.swt::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-3); transition: transform .15s, background .15s; }
.sw input:checked + .swt { background: var(--acc); border-color: var(--acc); } .sw input:checked + .swt::after { transform: translateX(16px); background: var(--acc-ink); } .sw input:focus-visible + .swt { outline: 2px solid var(--acc); outline-offset: 2px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r-s); overflow: hidden; } .seg.wide { display: flex; } .seg button { flex: 1; min-height: 34px; padding: 0 12px; border: 0; background: var(--surface); color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; } .seg button + button { border-left: 1px solid var(--line-strong); } .seg button.on { background: var(--acc-soft); color: var(--acc); }

/* chips and status */
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; font-weight: 650; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); } .pill.warn { background: var(--warn-soft); color: var(--warn); } .pill.bad { background: var(--bad-soft); color: var(--bad); }
.dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--acc); color: var(--acc-ink); font-size: 12px; font-weight: 700; }
.okline, .badline { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0; } .okline { color: var(--ok); } .badline { color: var(--bad); }
.callout, .banner { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-m); background: var(--surface-2); border: 1px solid var(--line); margin: 0 0 16px; } .callout.warn, .banner.warn { background: var(--warn-soft); border-color: transparent; color: var(--text); } .banner.bad { background: var(--bad-soft); border-color: transparent; }
.banner { align-items: center; } .banner > span, .callout > span { flex: 1; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 24px); background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--r-m); font-weight: 600; opacity: 0; pointer-events: none; transition: .2s; z-index: 100; max-width: calc(100vw - 32px); } .toast.show { opacity: 1; transform: translate(-50%, 0); }

/* dialogs */
dialog { border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); color: var(--text); padding: 0; max-width: calc(100vw - 32px); box-shadow: var(--shadow); } dialog::backdrop { background: rgba(20, 12, 5, .55); }
.sheet { padding: 24px; width: min(520px, calc(100vw - 32px)); max-height: 86vh; overflow: auto; } .sheet.wide { width: min(860px, calc(100vw - 32px)); }
.dh { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 16px; } .dh h2 { margin: 0 0 4px; } .dh p { margin: 0; }
.center-dlg { text-align: center; } .center-dlg .row { margin: 16px 0; } .big-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: var(--surface-3); } .big-ic.ok { background: var(--ok-soft); color: var(--ok); }
.linkbox { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface-2); word-break: break-all; } .linkbox.big { padding: 12px; } .center-dlg .linkbox { justify-content: center; }

/* sign in */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(700px 360px at 50% -80px, var(--acc-soft), transparent), var(--bg); }
.gate-card { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; box-shadow: var(--shadow); } .gate-card.wide { width: min(860px, 100%); }
.gate-card .logo { margin-bottom: 24px; } .gate-card .links { text-align: center; font-size: 13.5px; margin: 16px 0 0; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -.02em; color: var(--text); text-decoration: none; } .logo:hover { color: var(--text); } .logo small { font-weight: 500; color: var(--text-3); margin-left: 4px; }
.mk { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--acc); color: var(--acc-ink); font-size: 12px; font-weight: 800; letter-spacing: 0; }

/* top bar and page */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); } .top .in { display: flex; align-items: center; gap: 24px; padding: 0 24px; height: 56px; }
.topnav { display: flex; gap: 4px; margin-right: auto; } .topnav a { padding: 6px 12px; border-radius: var(--r-s); color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 14px; } .topnav a:hover { background: var(--surface-2); color: var(--text); }
.view { max-width: 1080px; margin: 0 auto; padding: 32px 24px 64px; } .view.wide { max-width: none; padding: 0; }
.pagehead { margin-bottom: 24px; } .pagehead h1 { margin-bottom: 4px; } .pagehead p { margin: 0; } .back { display: inline-flex; align-items: center; gap: 4px; color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 14px; margin-bottom: 8px; } .back:hover { color: var(--text); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; margin-bottom: 16px; } .card > h3:first-child { margin-bottom: 16px; } .stack > .card { margin-bottom: 0; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 32px 16px; border: 1px dashed var(--line-strong); border-radius: var(--r-m); } .empty .ei { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); margin-bottom: 8px; } .empty p { margin: 0 0 8px; max-width: 42ch; }

/* dashboard */
.sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin-bottom: 24px; }
.site { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .12s, box-shadow .12s; } .site:hover { border-color: var(--line-strong); box-shadow: var(--shadow); color: var(--text); }
.thumb { height: 96px; display: grid; place-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--p) 80%, #000), var(--p) 55%, color-mix(in srgb, var(--a) 70%, var(--p))); } .thumb span { font-weight: 800; font-size: 26px; color: #fff; letter-spacing: .02em; text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
.sbody { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.welcome { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); margin-bottom: 24px; } .wsteps { padding-left: 20px; margin: 0 0 24px; } .wsteps li { margin-bottom: 12px; color: var(--text-2); } .wsteps b { color: var(--text); }
.welcome-art { position: relative; height: 220px; } .welcome-art i { position: absolute; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface-2); } .welcome-art i:nth-child(1) { inset: 0 20% 30% 0; background: linear-gradient(135deg, var(--acc-soft), var(--surface-2)); } .welcome-art i:nth-child(2) { inset: 40% 0 0 30%; } .welcome-art i:nth-child(3) { inset: 12% 0 52% 62%; background: var(--acc); border: 0; opacity: .9; }
.custom { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 16px 24px; border: 1px dashed var(--line-strong); border-radius: var(--r-m); margin-top: 24px; } .custom p { margin: 4px 0 0; max-width: 62ch; font-size: 14px; }

/* wizard and pick cards */
.wiz { max-width: 860px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; }
.wsteps2 { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0 0 24px; } .wsteps2 li { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-weight: 600; } .wsteps2 li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); font-size: 13px; } .wsteps2 li.on { color: var(--text); } .wsteps2 li.on span { background: var(--acc); color: var(--acc-ink); } .wsteps2 li.done span { background: var(--ok-soft); color: var(--ok); }
.cards3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 16px 0; } .cards3.tight { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: 0; }
.pick { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; } .pick:hover { border-color: var(--acc); background: var(--surface-2); } .pick.on { border-color: var(--acc); box-shadow: 0 0 0 2px var(--acc); } .pick .pill { margin-top: 4px; }
.tpl-ic { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 8px; } .tpl-ic .ic { color: #fff; } .tpl-ic i { position: absolute; right: -4px; bottom: -4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--surface); }
.addr { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-s); background: var(--surface); padding-left: 12px; font-family: ui-monospace, Consolas, monospace; } .addr input { border: 0; background: transparent; min-height: 38px; font-family: inherit; } .addr input:focus { outline: none; } .addr:focus-within { outline: 2px solid var(--acc); border-color: var(--acc); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 8px 0 16px; } .sw-pal { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-s); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; } .sw-pal.on { border-color: var(--acc); box-shadow: 0 0 0 2px var(--acc); } .chips { display: inline-flex; } .chips i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--surface); } .chips i + i { margin-left: -6px; }

/* billing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 16px 0; } .plan { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--surface); } .plan.feat { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc); } .plan .pill { align-self: flex-start; }
.plan .price b { font-size: 36px; letter-spacing: -.03em; } .plan ul { list-style: none; margin: 8px 0 16px; padding: 0; flex: 1; } .plan li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; color: var(--text-2); font-size: 14px; } .plan li .ic { color: var(--ok); margin-top: 3px; }

/* editor frame */
.ed { display: flex; flex-direction: column; height: calc(100dvh - 56px); }
.edbar { display: flex; align-items: center; gap: 16px; padding: 0 24px; height: 56px; flex: none; border-bottom: 1px solid var(--line); background: var(--surface); } .edbar .back { margin: 0; } .edname { display: flex; align-items: center; gap: 8px; min-width: 0; margin-right: auto; } .edname b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.savestate { font-size: 13px; color: var(--text-3); } .savestate.saving { color: var(--text-2); } .savestate.error { color: var(--bad); font-weight: 600; } .pvtoggle { display: none; }
.edbody { flex: 1; min-height: 0; display: grid; grid-template-columns: 208px minmax(0, 1fr); } .ed.has-pv .edbody { grid-template-columns: 208px minmax(0, 1fr) minmax(360px, 42%); }
.rail { display: flex; flex-direction: column; gap: 2px; padding: 16px 8px; border-right: 1px solid var(--line); background: var(--surface); overflow: auto; } .rail a { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: var(--r-s); color: var(--text-2); text-decoration: none; font-weight: 600; } .rail a:hover { background: var(--surface-2); color: var(--text); } .rail a.on { background: var(--acc-soft); color: var(--acc); } .rail .dot { margin-left: auto; }
.pane { overflow: auto; padding: 24px 24px 64px; min-width: 0; }
.pvwrap { display: none; flex-direction: column; border-left: 1px solid var(--line); background: var(--surface-2); min-width: 0; } .ed.has-pv .pvwrap { display: flex; }
.pvbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 16px; border-bottom: 1px solid var(--line); background: var(--surface); } .closepv { display: none; }
.pvframe { flex: 1; min-height: 0; padding: 16px; display: flex; justify-content: center; overflow: auto; } .pvframe.desk { overflow: hidden; display: block; } .pvframe iframe { transform-origin: 0 0; width: 100%; height: 100%; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: #fff; box-shadow: var(--shadow); } .pvframe.phone iframe { width: 390px; max-width: 100%; }
.statusrow { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; } .bar { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin: 8px 0 16px; } .bar i { display: block; height: 100%; width: 0; background: var(--ok); border-radius: 99px; transition: width .4s; }
.checklist .tip { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); } .checklist .tip p { margin: 2px 0 0; } .checklist .tip:last-of-type { border-bottom: 0; } h4.sub { margin: 16px 0 0; color: var(--text-2); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; } details.done { margin-top: 16px; color: var(--text-2); } details.done summary { cursor: pointer; font-weight: 600; }
.bigstat b { font-size: 34px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .spark { width: 100%; height: 90px; fill: var(--acc); margin: 8px 0; } .toplist { margin-top: 8px; }

/* pages editor */
.pages { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; align-items: start; } .side .card { padding: 16px; margin-bottom: 16px; } .side .card > h3 { margin-bottom: 12px; font-size: 14px; color: var(--text-2); text-transform: uppercase; letter-spacing: .05em; }
.plist, .slist { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.prow { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 8px; border: 0; border-radius: var(--r-s); background: transparent; color: var(--text); font: inherit; font-weight: 600; text-align: left; cursor: pointer; } .prow:hover { background: var(--surface-2); } .prow.on { background: var(--acc-soft); color: var(--acc); } .prow small { margin-left: auto; color: var(--text-3); font-weight: 500; }
.srow { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: var(--r-s); cursor: pointer; border: 1px solid transparent; } .srow:hover { background: var(--surface-2); } .srow.on { background: var(--acc-soft); border-color: var(--acc); } .sic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-s); background: var(--surface-3); color: var(--text-2); flex: none; } .stxt { display: flex; flex-direction: column; min-width: 0; flex: 1; } .stxt b { font-size: 14px; } .stxt .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sact { display: flex; }
.items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; } details.item { border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface-2); } details.item summary { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; cursor: pointer; list-style: none; min-height: 40px; } details.item summary::-webkit-details-marker { display: none; } details.item[open] > summary .ic:first-child { transform: rotate(180deg); } .ihead { flex: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .iact { display: flex; } .ibody { padding: 12px 16px 0; border-top: 1px solid var(--line); background: var(--surface); }
details.more { margin: 8px 0 16px; } details.more summary { cursor: pointer; font-weight: 600; color: var(--text-2); padding: 4px 0; } .rowcard { padding: 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface-2); } .rowcard .f { margin-bottom: 12px; } .prod-edit { display: grid; grid-template-columns: 140px 1fr; gap: 16px; }
.pf { display: flex; gap: 12px; align-items: center; } .pf img, .pf-none { width: 72px; height: 72px; border-radius: var(--r-s); object-fit: cover; background: var(--surface-3); border: 1px solid var(--line); flex: none; } .pf-none { display: grid; place-items: center; color: var(--text-3); } .pf-act { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-top: 16px; } .pbtn { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: var(--r-s); overflow: hidden; background: var(--surface-3); cursor: pointer; } .pbtn:hover { border-color: var(--acc); } .pbtn img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; } .pmeta { display: flex; justify-content: space-between; align-items: center; }
.fsample { font-size: 32px; line-height: 1.1; } .mini { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 56px; padding: 0 16px; border-radius: var(--r-s); border: 1px solid var(--line); font-size: 22px; } .mini i { width: 40px; height: 12px; border-radius: 99px; } .pick.mode { align-items: stretch; }

/* add-ons, bookings, inbox, domain */
.addon { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 16px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); } .addon.on { border-color: color-mix(in srgb, var(--ok) 50%, var(--line)); } .addon p { margin: 2px 0 8px; } .ainfo { flex: 1; } .aswitch { padding-top: 4px; }
.hours { margin-bottom: 16px; } .hrow { display: grid; grid-template-columns: 150px 1fr auto 1fr; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); } .hday { display: flex; align-items: center; gap: 8px; font-weight: 600; } .hday input { width: 18px; height: 18px; }
.tabs2 { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--line); overflow-x: auto; } .tabs2 button { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; padding: 0 16px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--text-2); font: inherit; font-weight: 650; cursor: pointer; white-space: nowrap; } .tabs2 button.on { color: var(--acc); border-color: var(--acc); }
.msgcard { padding: 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); margin-bottom: 8px; } .msgcard.new { border-color: var(--acc); } .msgcard p { margin: 4px 0; }
.steps { display: flex; flex-direction: column; gap: 24px; } .step { display: flex; gap: 16px; } .stepn { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--acc-soft); color: var(--acc); font-weight: 800; font-size: 14px; } .stepb { flex: 1; min-width: 0; } .stepb > p { margin: 0 0 8px; }
.dns { border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; margin: 12px 0; } .dnsh, .dnsr { display: grid; grid-template-columns: 56px 1fr 1.4fr auto; gap: 12px; align-items: center; padding: 8px 12px; } .dnsh { background: var(--surface-3); font-size: 12.5px; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .05em; } .dnsr { border-top: 1px solid var(--line); }
.upsell.seo { cursor: pointer; border: 1px solid var(--line-strong); margin: 0 0 16px; align-items: flex-start; } .upsell.seo input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
details.guide { border-top: 1px solid var(--line); padding: 12px 0; } details.guide:first-of-type { border-top: 0; } details.guide summary { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; list-style: none; } details.guide summary::-webkit-details-marker { display: none; } details.guide[open] > summary .ic { transform: rotate(180deg); } details.guide summary .ic { margin-top: 4px; } details.guide ol { margin: 12px 0 0; padding-left: 28px; color: var(--text-2); } details.guide li { margin-bottom: 8px; }
.upsell { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px; border-radius: var(--r-m); background: var(--surface-2); } .upsell > div { flex: 1; min-width: 200px; } .upsell p { margin: 0; } .checkres { margin-top: 12px; }

/* the Computer preview draws the site at 1200px and scales it, so its size must never feed back into the panel it sits in (that loop made it grow and flash) */
.edbody { grid-template-rows: minmax(0, 1fr); } .pvwrap { min-height: 0; } .pvframe.desk iframe { position: absolute; left: 16px; top: 16px; }
/* template gallery */
.tg-bar { margin: 4px 0 12px; } .tg-search { max-width: 360px; }
.tg-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { min-height: 34px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; } .chip:hover { border-color: var(--acc); color: var(--text); } .chip.on { background: var(--acc-soft); border-color: var(--acc); color: var(--acc); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.tcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); overflow: hidden; transition: border-color .12s, box-shadow .12s; } .tcard:hover { border-color: var(--acc); box-shadow: var(--shadow); }
.tpick { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.tbody { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; align-items: flex-start; } .tbody b { font-size: 15px; }
.tcard.blank { border-style: dashed; }
.tmini { height: 156px; display: flex; flex-direction: column; overflow: hidden; border-bottom: 1px solid var(--line); font-size: 10px; } .tmini .mb { display: block; height: 5px; border-radius: 3px; margin: 3px 0; }
.m-nav { display: flex; align-items: center; gap: 6px; padding: 7px 10px; } .m-nav i:first-child { width: 14px; height: 14px; border-radius: 4px; margin-right: auto; } .m-nav .mb { margin: 0; }
.m-hero { padding: 12px 12px 10px; } .m-title { display: block; font-size: 15px; line-height: 1.1; margin-bottom: 6px; } .m-btn { display: block; width: 36px; height: 10px; margin-top: 8px; }
.m-body { padding: 4px 12px 10px; flex: 1; } .m-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .m-tiles i { display: block; }
.m-cal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; } .m-cal i { display: block; height: 14px; border-radius: 4px; }
.tblank { align-items: center; justify-content: center; gap: 6px; background: var(--surface-2); color: var(--text-2); } .tblank .plus { font-size: 34px; line-height: 1; }
.tpv-wrap { border: 1px solid var(--line-strong); border-radius: var(--r-m); overflow: hidden; background: #fff; height: min(64vh, 640px); display: flex; justify-content: center; background: var(--surface-3); } .tpv { width: 100%; height: 100%; border: 0; background: #fff; } .tpv-wrap.phone .tpv { width: 390px; max-width: 100%; }

/* style panel */
.stylecard .sty { border-top: 1px solid var(--line); padding: 10px 0; } .stylecard .sty summary { display: flex; gap: 8px; align-items: center; cursor: pointer; list-style: none; min-height: 32px; } .stylecard .sty summary::-webkit-details-marker { display: none; } .stylecard .sty[open] > summary .ic { transform: rotate(180deg); }
.stylecard .sbody { padding: 8px 0 4px; display: flex; flex-direction: column; gap: 12px; }
.looks { display: grid; grid-template-columns: minmax(70px, 96px) repeat(6, minmax(0, 1fr)); gap: 6px; align-items: center; } .lk-head { font-size: 11px; font-weight: 700; text-align: center; color: var(--text-2); } .lk-row { font-size: 12px; color: var(--text-2); font-weight: 600; }
.tile { height: 34px; border-radius: 8px; border: 1px solid var(--line-strong); cursor: pointer; display: grid; place-items: center; color: #fff; padding: 0; mix-blend-mode: normal; } .tile:hover { transform: scale(1.06); } .tile.on { outline: 2px solid var(--acc); outline-offset: 2px; } .tile .ic { filter: drop-shadow(0 0 2px rgba(0, 0, 0, .7)); }
.crow { display: grid; gap: 4px; } .crow input[type=color] { width: 44px; height: 32px; padding: 2px; flex: none; }
textarea.code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; line-height: 1.5; white-space: pre; tab-size: 2; overflow: auto; }

/* tablet and phone */
@media (max-width: 1180px) {
  .ed.has-pv .edbody { grid-template-columns: 208px minmax(0, 1fr); } .pvtoggle { display: inline-flex; }
  .ed.pv-open .pvwrap { display: flex; position: fixed; inset: 56px 0 0 0; z-index: 40; border: 0; } .ed.pv-open .closepv { display: inline-grid; }
  .ed.has-pv:not(.pv-open) .pvwrap { display: none; }
}
@media (max-width: 900px) {
  .view { padding: 24px 16px 48px; } .top .in { padding: 0 16px; gap: 8px; } .topnav, .who { display: none; }
  .edbar { padding: 0 16px; gap: 8px; } .edbar .back span, #viewLink, .savestate { display: none; }
  .edbody, .ed.has-pv .edbody { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .rail { flex-direction: row; overflow-x: auto; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); } .rail a { flex: none; min-height: 40px; }
  .pane { padding: 16px 16px 64px; } .pages, .two, .welcome { grid-template-columns: 1fr; } .welcome-art { display: none; } .grid2, .grid3 { grid-template-columns: 1fr; } .hrow { grid-template-columns: 1fr 1fr; } .hday { grid-column: 1 / -1; } .hrow .muted { display: none; }
  .prod-edit { grid-template-columns: 1fr; } .wiz { padding: 24px 16px; } .addon { flex-direction: column; } .dnsh, .dnsr { grid-template-columns: 40px 1fr; } .dnsh span:nth-child(3), .dnsr .mono { grid-column: 1 / -1; } .gate-card { padding: 24px 16px; }
}
@media (max-width: 600px) {
  .looks { grid-template-columns: 62px repeat(6, minmax(0, 1fr)); gap: 4px; } .lk-head { font-size: 9.5px; } .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .tmini { height: 120px; } .tbody { padding: 10px; } .tpv-wrap { height: 60vh; }
  .top .in { gap: 6px; } .top .in > .row { flex-wrap: nowrap; margin-left: auto; gap: 4px; } .logo > span:last-child { display: none; }
  .top [data-theme-toggle] { width: 34px; padding: 0; font-size: 0; } .top [data-theme-toggle]::before { content: "\25D0"; font-size: 17px; }
  .top .btn.sm { padding: 0 8px; }
  .edbar .edname b { display: none; } .rail { scrollbar-width: none; } .rail::-webkit-scrollbar { display: none; } .edbar .btn { padding: 0 12px; }
  h1 { font-size: 24px; } .card { padding: 16px; } .addon { padding: 16px; } .sheet { padding: 16px; } .wsteps2 { gap: 12px; flex-wrap: wrap; }
  .pvbar { padding: 8px 12px; } .pvframe { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.pvframe { position: relative; }
.tg-search { display: block; width: 100%; max-width: 380px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-s); background: var(--surface); color: var(--text); font: inherit; } .tg-search:focus { outline: 2px solid var(--acc); border-color: var(--acc); }
.wiz { max-width: 1080px; }
.tpv-wrap { display: block; position: relative; } .tpv-wrap.phone { display: flex; justify-content: center; }
