/* Bobok Tech (OPC) Private Limited — website + client workspace
   Purple brand, premium depth. Light / dark / device themes, three font moods, motion toggle.
   No web fonts, no build step. */

:root {
  color-scheme: light;
  --bg: light-dark(#f7f5fc, #110f1b);
  --panel: light-dark(#ffffff, #1c1929);
  --panel-2: light-dark(#fbf9ff, #221e32);
  --ink: light-dark(#242037, #f3effd);
  --sub: light-dark(#5f5873, #b9b1cc);
  --faint: light-dark(#8a83a0, #8d85a3);
  --edge: light-dark(#ebe5f6, #332d45);
  --edge-strong: light-dark(#ddd3ee, #443c5a);
  --primary: light-dark(#6a35c9, #b48bff);
  --primary-2: light-dark(#8a4cf5, #c6a4ff);
  --primary-ink: light-dark(#5b2fb0, #d8c6ff);
  --soft: light-dark(#f2ecfd, #2a2240);
  --soft-2: light-dark(#e6dbfb, #352b52);
  --deep: #2b1d52;
  --deeper: #1b1435;
  --on-deep: #ffffff;
  --on-deep-muted: #cfc4e6;
  --on-deep-accent: #cdb8ff;
  --good: light-dark(#1d6a52, #87ddba);
  --good-bg: light-dark(#e6f5ee, #183329);
  --warn: light-dark(#8a5200, #ffcf7f);
  --warn-bg: light-dark(#fff3dc, #3a2c14);
  --bad: light-dark(#a33b2e, #ffb4a5);
  --bad-bg: light-dark(#fff0eb, #3c2425);
  --gold: #f5b52e;
  --radius-s: 12px;
  --radius: 18px;
  --radius-l: 26px;
  --shadow-s: 0 6px 16px light-dark(rgb(54 35 83 / .07), rgb(0 0 0 / .25));
  --shadow: 0 18px 40px light-dark(rgb(54 35 83 / .08), rgb(0 0 0 / .3)), 0 2px 6px light-dark(rgb(54 35 83 / .04), rgb(0 0 0 / .2));
  --shadow-l: 0 40px 80px light-dark(rgb(54 35 83 / .14), rgb(0 0 0 / .45));
  --shadow-primary: 0 12px 26px light-dark(rgb(106 53 201 / .32), rgb(0 0 0 / .4));
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --heading-font: var(--font);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --rail-w: 76px;
  --rail-open-w: 264px;
}
html[data-theme=dark] { color-scheme: dark; }
html[data-theme=auto] { color-scheme: light dark; }
html[data-font=humanist] { --font: 'Trebuchet MS', 'Segoe UI', Candara, sans-serif; --heading-font: var(--font); }
html[data-font=editorial] { --heading-font: Georgia, 'Times New Roman', serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 17px/1.6 var(--font);
  background:
    radial-gradient(1100px 620px at 92% -8%, color-mix(in srgb, var(--primary-2) 14%, transparent), transparent 70%),
    radial-gradient(900px 600px at -10% 26%, color-mix(in srgb, var(--primary) 7%, transparent), transparent 70%),
    radial-gradient(color-mix(in srgb, var(--primary) 6%, transparent) .7px, transparent .9px) 0 0 / 11px 11px,
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--heading-font); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 750; }
h2 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 680; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-ink); }
img { max-width: 100%; }
code { font-size: .9em; background: var(--soft); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary-2) 70%, transparent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--panel); box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--sub); }
.hint { color: var(--sub); font-size: 14px; margin: 4px 0 0; }
.small-text { font-size: 14px; }
.preserve { white-space: pre-wrap; overflow-wrap: anywhere; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 750; letter-spacing: .12em; color: var(--primary); text-transform: uppercase; }
.lead { font-size: 19px; line-height: 1.6; color: var(--sub); }
.icon { flex: none; display: inline-block; vertical-align: -0.2em; }
.empty { color: var(--sub); text-align: center; padding: 28px 12px; margin: 0; }
.desktop-only { display: initial; }
.mobile-only { display: none !important; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 20px;
  border: 0; border-radius: 13px; cursor: pointer; font: inherit; font-size: 16px; font-weight: 650; line-height: 1.2; text-align: center;
  color: #fff; background: linear-gradient(180deg, #8a4cf5, #6a35c9); box-shadow: var(--shadow-primary), inset 0 1px 0 rgb(255 255 255 / .22);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s;
}
.button:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.05); }
.button:active { transform: translateY(0); }
.button:disabled, .button[aria-disabled=true] { opacity: .6; cursor: not-allowed; transform: none; }
.button.is-busy { opacity: .85; }
.button.small { min-height: 40px; padding: 9px 14px; font-size: 14.5px; border-radius: 11px; }
.button.large { min-height: 54px; padding: 15px 26px; font-size: 17px; border-radius: 15px; }
.button.block { width: 100%; }
.button.outline, .button.ghost, .button.secondary { color: var(--ink); background: var(--panel); border: 1px solid var(--edge-strong); box-shadow: var(--shadow-s); }
.button.outline:hover, .button.ghost:hover, .button.secondary:hover { color: var(--primary-ink); border-color: var(--primary-2); filter: none; }
.button.dark { background: linear-gradient(180deg, #2f2745, #1c1630); box-shadow: 0 12px 26px rgb(28 22 48 / .3), inset 0 1px 0 rgb(255 255 255 / .16); }
.button.light, .button.white { color: #241a3f; background: #fff; box-shadow: 0 10px 24px rgb(0 0 0 / .25); }
.button.light:hover, .button.white:hover { color: #241a3f; }
.button.danger, .button.danger-solid { background: #a33b2e; box-shadow: 0 10px 22px rgb(163 59 46 / .3); }
.button.danger-outline { color: var(--bad); background: var(--bad-bg); border: 1px solid color-mix(in srgb, var(--bad) 30%, transparent); box-shadow: none; }
.button.danger-outline:hover { color: var(--bad); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.text-button { background: none; border: 0; padding: 6px 0; color: var(--primary); font: inherit; font-weight: 600; cursor: pointer; }
.icon-button {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; flex: none;
  border: 1px solid var(--edge-strong); background: var(--panel); color: var(--ink); box-shadow: var(--shadow-s); cursor: pointer; position: relative;
}
.icon-button:hover { color: var(--primary); border-color: var(--primary-2); }
.icon-button.dark { border: 0; color: #fff; background: linear-gradient(180deg, #2f2745, #1c1630); }
.icon-button.small { width: 38px; height: 38px; border-radius: 11px; box-shadow: none; }
.icon-button:disabled { opacity: .35; cursor: not-allowed; }
.spinner { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .4); border-top-color: currentColor; animation: spin .7s linear infinite; }
.button.outline .spinner, .button.ghost .spinner, .button.secondary .spinner { border-color: color-mix(in srgb, var(--primary) 30%, transparent); border-top-color: var(--primary); }
@keyframes spin { to { transform: rotate(360deg); } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- Badges & notices ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; white-space: nowrap;
  font-size: 12.5px; font-weight: 700; line-height: 1.5; color: var(--primary-ink); background: var(--soft);
}
.badge.large { padding: 7px 14px; font-size: 14px; }
.badge.good { color: var(--good); background: var(--good-bg); }
.badge.warn { color: var(--warn); background: var(--warn-bg); }
.badge.bad { color: var(--bad); background: var(--bad-bg); }
.badge.dark { color: #e4d6ff; background: var(--deep); }
.badge.on-dark { color: #e4d6ff; background: rgb(180 139 255 / .22); }
.badge.status-completed { color: var(--good); background: var(--good-bg); }
.badge.status-on-hold { color: var(--warn); background: var(--warn-bg); }
.notice {
  margin: 0 0 18px; padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--edge); background: var(--panel);
  box-shadow: var(--shadow-s); color: var(--ink); font-weight: 500;
}
.notice.success { color: var(--good); background: var(--good-bg); border-color: color-mix(in srgb, var(--good) 22%, transparent); }
.notice.error { color: var(--bad); background: var(--bad-bg); border-color: color-mix(in srgb, var(--bad) 25%, transparent); }
.notice.warn { color: var(--warn); background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.notice a { font-weight: 700; text-decoration: underline; }
.chat-note { padding: 14px 16px; border-radius: var(--radius-s); background: var(--soft); color: var(--ink); }
.chat-note small { display: block; color: var(--sub); }

/* ---------- Forms ---------- */
label { display: flex; flex-direction: column; gap: 7px; margin: 0 0 16px; font-size: 14.5px; font-weight: 650; color: color-mix(in srgb, var(--ink) 82%, var(--sub)); }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-s); border: 1px solid var(--edge-strong);
  background: var(--panel); color: var(--ink); font: inherit; font-size: 16px; font-weight: 450;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-2) 18%, transparent); }
input:user-invalid, textarea:user-invalid, select:user-invalid { border-color: var(--bad); }
input[readonly] { background: var(--panel-2); }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: var(--primary); flex: none; }
input[type=range] { padding: 0; min-height: 36px; border: 0; box-shadow: none; accent-color: var(--primary); background: transparent; }
select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--sub) 50%), linear-gradient(135deg, var(--sub) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.check-label { flex-direction: row; align-items: center; gap: 10px; font-weight: 550; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; align-items: start; }
.form-grid .full, .form-grid > button, .form-grid > fieldset { grid-column: 1 / -1; }
.form-grid > button { justify-self: start; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
legend { font-size: 14.5px; font-weight: 650; margin-bottom: 8px; padding: 0; }
.client-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 8px; }
.client-check { margin: 0; padding: 12px 14px; border-radius: var(--radius-s); border: 1px solid var(--edge); background: var(--panel-2); }
.client-check:has(input:checked) { border-color: var(--primary-2); background: var(--soft); }
.client-check span { display: flex; flex-direction: column; min-width: 0; }
.client-check small { color: var(--sub); font-weight: 450; overflow-wrap: anywhere; }
output { font-weight: 750; color: var(--primary); }
.range-labels { display: flex; justify-content: space-between; color: var(--sub); font-size: 13px; margin: -8px 0 14px; }
.copy-link-row { display: flex; gap: 10px; }
.copy-link-row input { font-size: 14px; }
.counter { text-align: right; font-weight: 500; }
.switches { display: flex; flex-direction: column; margin: 4px 0 18px; border-top: 1px solid var(--edge); }
.switch-row { flex-direction: row; justify-content: space-between; align-items: center; margin: 0; padding: 13px 0; border-bottom: 1px solid var(--edge); font-size: 15.5px; color: var(--ink); cursor: pointer; }
input.switch { appearance: none; width: 48px; height: 28px; min-height: 0; padding: 0; border-radius: 999px; border: 0; background: var(--edge-strong); position: relative; cursor: pointer; transition: background .2s; box-shadow: inset 0 1px 2px rgb(0 0 0 / .12); }
input.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgb(0 0 0 / .2); transition: transform .2s var(--ease); }
input.switch:checked { background: linear-gradient(180deg, #8a4cf5, #6a35c9); }
input.switch:checked::after { transform: translateX(20px); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.swatches legend { width: 100%; }
.swatch { margin: 0; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; border: 1px solid rgb(0 0 0 / .06); position: relative; }
.swatch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.swatch:has(input:checked) { box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px var(--primary); }
.swatch:has(input:focus-visible) { outline: 3px solid var(--primary-2); outline-offset: 4px; }

/* Card tints (Selected Work) */
.tint-purple { --tint-a: #f3ecff; --tint-b: #e2d4ff; }
.tint-blue { --tint-a: #e9f3ff; --tint-b: #d1e4ff; }
.tint-green { --tint-a: #e8f7ef; --tint-b: #cbecd9; }
.tint-amber { --tint-a: #fff3e3; --tint-b: #ffdfb5; }
.tint-pink { --tint-a: #ffeef3; --tint-b: #ffd5e2; }
.tint-gold { --tint-a: #fff4d8; --tint-b: #ffe39b; }
.swatch[class*=tint-], .work-thumb[class*=tint-], .upload-preview[class*=tint-] { background: linear-gradient(160deg, var(--tint-a), var(--tint-b)); }

/* ---------- Site header ---------- */
.site-header { width: min(1200px, 100% - 40px); margin: 0 auto; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; z-index: 20; }
.brand { display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.brand-logo { width: 128px; height: auto; display: block; }
.brand-caption { font-size: 12.5px; color: var(--sub); letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: color-mix(in srgb, var(--panel) 78%, transparent); border: 1px solid var(--edge); box-shadow: var(--shadow-s); backdrop-filter: blur(12px); }
.site-nav a { padding: 10px 16px; border-radius: 999px; color: var(--ink); font-size: 15.5px; font-weight: 550; }
.site-nav a:hover { background: var(--soft); color: var(--primary-ink); }
.site-nav .nav-cta { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 650; background: linear-gradient(180deg, #2f2745, #1c1630); box-shadow: 0 8px 18px rgb(28 22 48 / .28), inset 0 1px 0 rgb(255 255 255 / .16); }
.site-nav .nav-cta:hover { color: #fff; background: linear-gradient(180deg, #3a3155, #221b3a); }
.header-controls { display: flex; gap: 10px; }
.appearance-panel {
  width: min(1200px, 100% - 40px); margin: 0 auto 18px; padding: 18px 20px; display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 16px; align-items: end;
  border-radius: var(--radius); background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); position: relative; z-index: 15;
}
.appearance-panel > div { display: flex; flex-direction: column; }
.appearance-panel small { color: var(--sub); }
.appearance-panel label { margin: 0; }

/* ---------- Homepage ---------- */
.section { padding: 96px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; margin: 0; }
.section-heading > p { max-width: 380px; margin: 0; color: var(--sub); font-size: 17px; }
.section-heading.centered { justify-content: center; text-align: center; }
.section-heading.compact { margin-bottom: 18px; align-items: baseline; }
.section-heading.compact h2 { font-size: 22px; }
.section-heading.compact p { margin: 0; font-size: 14px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 64px 0 96px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; background: var(--panel); border: 1px solid var(--edge); box-shadow: 0 6px 18px rgb(117 64 211 / .1); font-size: 13.5px; font-weight: 650; color: var(--primary-ink); }
.hero-chip b { padding: 4px 10px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #914cff, #6a35c9); font-size: 12px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 62px); line-height: 1.02; letter-spacing: -.035em; margin: 0; }
.hero h1 em, .auth-story h1 em { font-style: normal; background: linear-gradient(100deg, #914cff 10%, #5b2fb0 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme=dark] .hero h1 em, html[data-theme=dark] .auth-story h1 em { background-image: linear-gradient(100deg, #d4bbff, #a676ff); }
.hero .lead { max-width: 520px; margin: 0; font-size: 20px; }
.hero-art { position: relative; height: 470px; }
.hero-stage { position: absolute; inset: 20px 0 0 40px; border-radius: 40px; background: linear-gradient(145deg, color-mix(in srgb, var(--primary-2) 16%, var(--panel)), var(--panel-2)); border: 1px solid var(--edge); box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), var(--shadow-l); }
.hero-card { position: absolute; left: 72px; top: 62px; width: min(370px, 78%); padding: 22px; border-radius: 22px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-l); transform: rotate(-2deg); display: flex; flex-direction: column; gap: 16px; animation: float 7s ease-in-out infinite; }
.hero-card-body { display: flex; align-items: center; gap: 18px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--sub); }
.hero-card li::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--edge-strong); margin-right: 8px; vertical-align: -1px; }
.hero-card li.done { color: var(--good); }
.hero-card li.done::before { display: none; }
.hero-card li.now { color: var(--ink); font-weight: 650; }
.hero-card li.now::before { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 0 3px var(--soft); }
.mini-ring { flex: none; width: 78px; height: 78px; border-radius: 50%; background: conic-gradient(var(--primary) 0 68%, var(--soft) 68% 100%); display: grid; place-items: center; }
.mini-ring span { width: 60px; height: 60px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.bar { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.bar span { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #914cff, #6a35c9); }
.hero-chat { position: absolute; right: 6px; top: 252px; width: 280px; padding: 18px; border-radius: 20px; color: #fff; background: linear-gradient(160deg, #3b2a63, #241a3f); box-shadow: 0 30px 60px rgb(36 26 63 / .35); transform: rotate(2.5deg); animation: float 8s ease-in-out -2s infinite; }
.hero-chat small { display: block; font-size: 12px; font-weight: 650; letter-spacing: .06em; color: var(--on-deep-accent); }
.hero-chat p { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: rgb(255 255 255 / .1); font-size: 14.5px; line-height: 1.5; }
.hero-tick { position: absolute; left: 44px; top: 340px; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #ffd66b, var(--gold)); box-shadow: 0 18px 30px rgb(245 181 46 / .35); animation: float 6s ease-in-out -1s infinite; }
.hero-tick .icon { width: 30px; height: 30px; stroke-width: 2.6; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 8px; }
.service { padding: 28px; border-radius: 24px; background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--edge); box-shadow: var(--shadow); }
.service h2 { font-size: 21px; margin: 14px 0 8px; }
.service p { margin: 0; color: var(--sub); font-size: 16px; }
.service-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: var(--primary); background: linear-gradient(145deg, var(--soft), var(--soft-2)); }
.service-icon .icon { width: 23px; height: 23px; }

/* Selected Work */
.browser { border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: 0 18px 40px rgb(54 35 83 / .16); border: 1px solid var(--edge); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--panel-2); border-bottom: 1px solid var(--edge); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--edge-strong); }
.browser-bar i:nth-child(1) { background: #f08a7e; } .browser-bar i:nth-child(2) { background: #f5c451; } .browser-bar i:nth-child(3) { background: #6fcf8f; }
.browser-bar span { margin-left: 8px; font-size: 12.5px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-view { aspect-ratio: 16 / 10; background: linear-gradient(160deg, var(--tint-a, #f3ecff), var(--tint-b, #e2d4ff)); overflow: hidden; }
.browser-view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot-empty { height: 100%; display: grid; place-items: center; }
.shot-empty span { font-family: var(--heading-font); font-size: clamp(22px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; color: rgb(36 32 55 / .55); }
.work-featured { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 30px; overflow: hidden; margin-bottom: 24px; color: #fff; background: radial-gradient(700px 400px at 100% 0%, rgb(166 118 255 / .35), transparent 70%), linear-gradient(140deg, var(--deep), var(--deeper) 72%); box-shadow: 0 40px 80px rgb(36 26 63 / .28); }
.work-featured-copy { padding: 52px 48px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: center; }
.work-featured-copy h3 { font-size: clamp(30px, 3.4vw, 40px); margin: 0; letter-spacing: -.025em; }
.work-featured-copy p { margin: 0; font-size: 17.5px; color: var(--on-deep-muted); max-width: 440px; }
.pill { font-size: 12px; font-weight: 750; letter-spacing: .1em; padding: 6px 12px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .25); color: #dccbff; }
.work-featured-art { padding: 40px; display: grid; place-items: center; perspective: 1400px; }
.browser.tilt { width: 100%; max-width: 520px; transform: rotateY(-9deg) rotateX(3deg); box-shadow: 0 34px 70px rgb(0 0 0 / .4); border: 0; transition: transform .5s var(--ease); }
.work-featured:hover .browser.tilt { transform: rotateY(-3deg) rotateX(1deg) translateY(-4px); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work-card { border-radius: 26px; overflow: hidden; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.work-card-art { padding: 22px 22px 0; background: linear-gradient(160deg, var(--tint-a), var(--tint-b)); }
.work-card-art .browser { border-radius: 14px 14px 0 0; border-bottom: 0; box-shadow: 0 -6px 30px rgb(54 35 83 / .12); }
.work-card-copy { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 8px; }
.work-card h3 { margin: 0; font-size: 22px; }
.work-card h3 a { color: var(--ink); }
.work-card h3 a::after { content: ''; position: absolute; inset: 0; }
.work-card:has(h3 a) { position: relative; }
.work-card p { margin: 0; color: var(--sub); font-size: 16px; }
.work-host { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--primary); }
.work-next { justify-content: center; gap: 14px; padding: 40px; background: linear-gradient(150deg, var(--soft), var(--soft-2)); border: 1.5px dashed color-mix(in srgb, var(--primary-2) 45%, transparent); box-shadow: none; }
.work-next h3 { font-size: 28px; margin: 0; }
.work-next p { margin: 0; color: var(--sub); }
.work-next .button { align-self: flex-start; }

.process { background: linear-gradient(180deg, color-mix(in srgb, var(--soft) 85%, transparent), color-mix(in srgb, var(--soft) 40%, transparent)); border-block: 1px solid var(--edge); }
.process .section-heading h2 { font-size: clamp(28px, 3.6vw, 42px); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps article { padding: 26px; border-radius: 22px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-s); }
.steps span { display: block; font-size: 32px; font-weight: 800; background: linear-gradient(135deg, #914cff, #6a35c9); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.steps h3 { margin: 0 0 6px; }
.steps p { margin: 0; color: var(--sub); font-size: 15.5px; }
.portal-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.portal-promo h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.03em; }
.promo-card { padding: 26px; border-radius: 28px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-l); display: flex; flex-direction: column; gap: 12px; }
.promo-top { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--sub); margin-bottom: 4px; }
.promo-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; font-size: 15px; font-weight: 600; color: var(--sub); background: var(--panel-2); border: 1px solid var(--edge); }
.promo-row span:first-child { display: inline-flex; gap: 8px; align-items: center; }
.promo-row.done { color: var(--good); background: var(--good-bg); border-color: transparent; }
.promo-row.now { color: var(--primary-ink); background: var(--soft); border-color: transparent; }
.promo-quote { padding: 14px 16px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--deep), var(--deeper)); font-size: 15px; }
.promo-quote small { color: var(--on-deep-accent); }
.cta-band { margin-bottom: 96px; padding: 72px 40px; border-radius: 34px; text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 14px; background: radial-gradient(600px 300px at 50% 0%, #a676ff, transparent 70%), linear-gradient(160deg, #3b2a63, var(--deeper)); box-shadow: 0 40px 80px rgb(36 26 63 / .3); }
.cta-band .eyebrow { color: #dccbff; margin: 0; }
.cta-band h2 { font-size: clamp(30px, 4.2vw, 48px); margin: 0; letter-spacing: -.03em; }
.cta-band p { margin: 0 0 8px; color: var(--on-deep-muted); font-size: 18px; }

/* Footer */
.site-footer { width: min(1200px, 100% - 40px); margin: 0 auto; padding: 32px 0 44px; border-top: 1px solid var(--edge); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-brand .brand-logo { width: 104px; }
.footer-brand p { margin: 0; color: var(--sub); font-size: 14.5px; }
.footer-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; font-size: 14.5px; }
.footer-links span { color: var(--sub); }

/* Contact, auth, prose */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding: 48px 0 96px; }
.contact-intro h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.03em; }
.contact-card { margin-top: 28px; padding: 24px; border-radius: var(--radius-l); background: linear-gradient(150deg, var(--soft), var(--soft-2)); }
.contact-card h2 { font-size: 20px; }
.contact-card p { color: var(--sub); }
.panel { padding: 28px; border-radius: var(--radius-l); background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); margin-bottom: 22px; min-width: 0; }
.contact-form { padding: 34px; box-shadow: var(--shadow-l); }
.auth-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 48px 0 96px; }
.auth-story h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.035em; line-height: 1.05; }
.auth-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; font-weight: 600; }
.auth-points li { display: flex; align-items: center; gap: 12px; }
.auth-points .icon { width: 28px; height: 28px; padding: 5px; border-radius: 9px; color: var(--good); background: var(--good-bg); }
.auth-card { padding: 36px; box-shadow: var(--shadow-l); margin: 0; }
.auth-card h2 { font-size: 26px; }
.auth-wrap { width: min(520px, 100% - 40px); margin: 40px auto 96px; }
.page-narrow { max-width: 820px; padding: 48px 0 96px; }
.prose h1 { font-size: clamp(32px, 4.5vw, 48px); }
.prose-panel { margin-top: 24px; }

/* ---------- Portal shell ---------- */
.portal-body { background: radial-gradient(900px 500px at 100% -10%, color-mix(in srgb, var(--primary-2) 12%, transparent), transparent 70%), var(--bg); }
.portal-shell { display: flex; min-height: 100vh; }
.rail {
  position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--rail-w); padding: 16px 14px; display: flex; flex-direction: column; gap: 6px;
  color: var(--on-deep-accent); background: linear-gradient(180deg, var(--deep), var(--deeper)); box-shadow: 8px 0 30px rgb(27 20 53 / .18);
  overflow: hidden; transition: width .22s var(--ease), box-shadow .22s var(--ease);
}
.rail:hover, .rail:focus-within { width: var(--rail-open-w); box-shadow: 18px 0 50px rgb(27 20 53 / .35); }
.rail-brand { display: flex; align-items: center; gap: 12px; min-height: 48px; margin-bottom: 14px; padding-left: 2px; }
.rail-mark { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 21px; background: linear-gradient(145deg, #a676ff, #6a35c9); box-shadow: 0 8px 18px rgb(106 53 201 / .45); }
.rail-logo { width: 108px; height: auto; filter: brightness(0) invert(1); opacity: 0; transition: opacity .2s; }
.rail-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.rail-link {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 48px; padding: 0 0 0 2px; border: 0; border-radius: 14px;
  background: transparent; color: var(--on-deep-accent); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; white-space: nowrap;
}
.rail-link:hover { color: #fff; background: rgb(255 255 255 / .08); }
.rail-link.active { color: #fff; background: rgb(255 255 255 / .14); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12); }
.rail-icon { flex: none; position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.rail-icon .icon { width: 22px; height: 22px; }
.rail-badge, .dot-badge { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #241a3f; background: var(--gold); box-shadow: 0 0 0 2px var(--deep); }
.dot-badge { top: -4px; right: -4px; box-shadow: 0 0 0 2px var(--panel); }
.rail-label { opacity: 0; transition: opacity .15s; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rail-section { margin: 14px 0 4px 14px; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: rgb(205 184 255 / .6); white-space: nowrap; opacity: 0; height: 0; transition: opacity .15s; }
.rail:hover :is(.rail-label, .rail-logo, .rail-section), .rail:focus-within :is(.rail-label, .rail-logo, .rail-section) { opacity: 1; }
.rail:hover .rail-section, .rail:focus-within .rail-section { height: auto; }
.rail-user { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .1); white-space: nowrap; }
.rail-user .avatar { margin-left: 2px; width: 40px; height: 40px; }
.rail-user strong { display: block; color: #fff; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; }
.rail-user small { color: var(--on-deep-accent); }
.rail-signout { grid-column: 1 / -1; margin: 0; }
.rail-backdrop { display: none; }
.portal-main { flex: 1; min-width: 0; margin-left: var(--rail-w); display: flex; flex-direction: column; }
.portal-topbar { display: flex; align-items: center; gap: 14px; padding: 18px clamp(18px, 3vw, 40px); }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--sub); min-width: 0; }
.crumbs span[aria-current] { color: var(--ink); font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topbar-logo img { width: 96px; height: auto; display: block; }
.user-chip { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-s); }
.user-chip span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.user-chip strong { font-size: 14px; }
.user-chip small { font-size: 12px; color: var(--sub); }
.portal-main .appearance-panel { width: auto; margin: 0 clamp(18px, 3vw, 40px) 18px; }
.portal-content { flex: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 4px clamp(18px, 3vw, 40px) 40px; }
.portal-footer { padding: 18px clamp(18px, 3vw, 40px) 28px; font-size: 13px; color: var(--faint); text-align: center; }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; color: var(--primary-ink); background: linear-gradient(145deg, var(--soft), var(--soft-2)); }
.avatar.small { width: 34px; height: 34px; font-size: 14px; }
.avatar.client { color: #1d5a8f; background: linear-gradient(145deg, #e7f4ff, #cfe6ff); }
.page-enter { animation: enter .35s var(--ease); }
@keyframes enter { from { opacity: .4; transform: translateY(4px); } }

/* ---------- Portal components ---------- */
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin: 8px 0 24px; }
.page-heading h1 { margin: 0 0 4px; }
.page-heading p { margin: 0; }
.back-link { margin: 6px 0 16px; }
.empty-state { text-align: center; padding: 44px 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.empty-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: var(--primary); background: linear-gradient(145deg, var(--soft), var(--soft-2)); margin-bottom: 8px; flex: none; }
.empty-icon .icon { width: 26px; height: 26px; }
.disclosure > summary, .inline-disclosure > summary, .add-milestone > summary, .admin-navigation > summary, .review-history > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
.disclosure { padding: 0; }
.disclosure > summary { padding: 20px 24px; font-size: 16.5px; }
.disclosure > summary .icon { color: var(--primary); }
.disclosure > summary::after, .inline-disclosure > summary::after { content: ''; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--sub); border-bottom: 2px solid var(--sub); transform: rotate(45deg); transition: transform .2s; }
.disclosure[open] > summary::after, .inline-disclosure[open] > summary::after { transform: rotate(-135deg); }
.disclosure > :not(summary) { margin-inline: 24px; }
.disclosure > :last-child:not(summary) { margin-bottom: 24px; }
.disclosure[open] > summary { border-bottom: 1px solid var(--edge); margin-bottom: 20px; }
.summary-meta { font-weight: 500; color: var(--sub); font-size: 14px; }
.inline-disclosure { margin: 14px 0 0; border-top: 1px solid var(--edge); }
.inline-disclosure > summary { padding: 13px 2px; font-size: 15px; color: var(--primary-ink); }
.inline-disclosure > summary .icon { width: 18px; height: 18px; }
.inline-disclosure[open] > summary { margin-bottom: 8px; }
.inline-disclosure form { padding: 4px 0 14px; }
.workspace-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.workspace-columns > .panel { margin: 0; }
.record-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--edge); }
.record-row > div { display: flex; flex-direction: column; min-width: 0; }
.record-row small { color: var(--sub); }
.record-row form { margin: 0; }
.inline-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.inline-form label { margin: 0; }
.message { padding: 16px 0; border-bottom: 1px solid var(--edge); }
.message > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.message time, .message small { color: var(--sub); font-size: 13.5px; }

/* Dashboard */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-bottom: 22px; }
.project-card { display: flex; flex-direction: column; gap: 12px; margin: 0; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.project-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-l); border-color: color-mix(in srgb, var(--primary-2) 40%, var(--edge)); }
.project-card h2 { margin: 4px 0 0; font-size: 22px; }
.project-card p { margin: 0; }
.card-arrow { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: var(--primary); background: var(--soft); }
.project-percent { font-size: 22px; }
.card-latest { padding: 12px 14px; border-radius: var(--radius-s); background: var(--panel-2); border: 1px solid var(--edge); font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.card-latest small { color: var(--sub); }
progress.progress-track { appearance: none; display: block; width: 100%; height: 8px; border: 0; border-radius: 99px; overflow: hidden; background: var(--soft); color: var(--primary); }
progress.progress-track::-webkit-progress-bar { background: var(--soft); border-radius: 99px; }
progress.progress-track::-webkit-progress-value { background: linear-gradient(90deg, #914cff, #6a35c9); border-radius: 99px; }
progress.progress-track::-moz-progress-bar { background: linear-gradient(90deg, #914cff, #6a35c9); border-radius: 99px; }

/* Project hero */
.project-hero {
  display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 28px; align-items: center; padding: 30px; margin-bottom: 18px; border-radius: 28px; color: #fff;
  background: radial-gradient(500px 300px at 100% 0%, rgb(166 118 255 / .3), transparent 70%), linear-gradient(140deg, var(--deep), var(--deeper)); box-shadow: 0 30px 60px rgb(36 26 63 / .25);
}
.project-hero-main { display: flex; align-items: center; gap: 22px; min-width: 0; }
.project-hero-title { min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.project-hero h1 { font-size: clamp(22px, 2.6vw, 28px); margin: 0; overflow-wrap: anywhere; }
.on-dark-muted { color: var(--on-deep-muted); font-size: 14.5px; }
.project-hero-meta { display: flex; flex-direction: column; gap: 4px; padding-left: 28px; border-left: 1px solid rgb(255 255 255 / .12); }
.project-hero-meta strong { font-size: 22px; }
.meta-label { font-size: 12px; font-weight: 750; letter-spacing: .1em; color: var(--on-deep-accent); }
.project-hero-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.project-summary { color: var(--sub); margin: 0 0 18px; max-width: 900px; }
.completion-ring { position: relative; flex: none; width: 128px; height: 128px; }
.completion-ring svg { width: 100%; height: 100%; display: block; }
.ring-track { fill: none; stroke: rgb(255 255 255 / .12); stroke-width: 12; }
.ring-value { fill: none; stroke: #b48bff; stroke-width: 12; stroke-linecap: round; transition: stroke-dasharray .6s var(--ease); }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring-label strong { font-size: 28px; line-height: 1; }
.ring-label small { margin-top: 4px; font-size: 9.5px; font-weight: 750; letter-spacing: .1em; color: var(--on-deep-accent); white-space: nowrap; }
.kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.kpi { padding: 20px 24px; border-radius: 22px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpi small { color: var(--sub); font-size: 13.5px; }
.kpi strong { font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -.02em; overflow-wrap: anywhere; }
.kpi .good { color: var(--good); } .kpi .warn { color: var(--warn); } .kpi .accent { color: var(--primary-ink); font-size: clamp(17px, 2vw, 22px); }

/* Milestones */
.milestones-section { margin-bottom: 22px; }
.milestone-workspace { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 22px; align-items: start; }
.milestone-picker { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px; }
.milestone-tab {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 16px 18px; text-align: left; cursor: pointer; font: inherit; color: var(--ink);
  border-radius: 18px; border: 1px solid var(--edge); background: var(--panel); box-shadow: var(--shadow-s); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.milestone-tab:hover { border-color: color-mix(in srgb, var(--primary-2) 45%, var(--edge)); }
.milestone-tab[aria-selected=true] { border: 2px solid var(--primary-2); padding: 15px 17px; box-shadow: 0 16px 34px rgb(106 53 201 / .18); }
.milestone-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.milestone-title strong { flex: 1; min-width: 0; font-size: 15.5px; overflow-wrap: anywhere; }
.milestone-pct { font-weight: 750; color: var(--primary-ink); font-size: 15px; }
.step-index { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 750; color: var(--primary-ink); background: var(--soft); }
.step-index .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.milestone-tab.is-done .step-index { color: #fff; background: #2f9a77; }
.milestone-tab.is-done .milestone-pct { color: var(--good); }
.milestone-tab.is-done progress::-webkit-progress-value { background: #2f9a77; }
.milestone-tab.is-done progress::-moz-progress-bar { background: #2f9a77; }
.milestone-sub { font-size: 13px; color: var(--sub); }
.add-milestone { border-radius: 16px; border: 1.5px dashed color-mix(in srgb, var(--primary-2) 50%, transparent); background: color-mix(in srgb, var(--soft) 60%, var(--panel)); }
.add-milestone > summary { padding: 14px 16px; justify-content: center; color: var(--primary-ink); }
.add-milestone form { padding: 0 16px 16px; }
.milestone-panel { margin: 0; padding: 28px; }
.milestone-detail-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.milestone-detail-heading h2 { margin: 2px 0 4px; font-size: clamp(22px, 2.4vw, 26px); }
.milestone-detail-heading p { margin: 0 0 14px; }
.milestone-percent { font-size: 34px; color: var(--primary-ink); line-height: 1; }
.milestone-billing { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, var(--soft), color-mix(in srgb, var(--soft-2) 60%, var(--soft))); }
.milestone-billing div { display: flex; flex-direction: column; }
.milestone-billing small { color: var(--sub); font-size: 13px; }
.milestone-billing strong { font-size: 20px; }
.task-list { margin-top: 14px; }
.task-row { display: flex; align-items: center; gap: 14px; padding: 13px 2px; border-top: 1px solid var(--edge); }
.task-toggle { margin: 0; }
.task-check {
  flex: none; width: 34px; height: 34px; padding: 0; border-radius: 10px; display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid color-mix(in srgb, var(--primary-2) 55%, var(--edge)); background: var(--panel); color: #fff; transition: background .15s, transform .15s;
}
.task-check:hover { transform: scale(1.06); background: var(--soft); }
.task-check.blocked { border-color: #e0a24a; }
.task-check.readonly { cursor: default; }
.task-row.complete .task-check { border-color: #2f9a77; background: #2f9a77; }
.task-check .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.task-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.task-text strong { font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }
.task-text small { color: var(--sub); font-size: 13.5px; }
.task-row.complete .task-text strong { color: var(--sub); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--sub) 50%, transparent); }
.task-metadata { padding-left: 48px; }
.task-metadata .inline-disclosure { border-top: 0; margin: 0; }
.task-metadata .inline-disclosure > summary { padding: 0 0 10px; font-size: 13.5px; font-weight: 600; color: var(--sub); }
.task-metadata .inline-disclosure > summary::after { width: 7px; height: 7px; margin-left: 8px; }
.blocker { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; color: var(--warn); background: var(--warn-bg); font-size: 14px; }
.manual-progress-form { margin-top: 18px; padding: 18px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--edge); }

/* Reviews & feature requests */
.review-section { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--edge); }
.review-section h3 { margin: 0; font-size: 17px; }
.review-section > .muted { font-size: 14px; margin: 6px 0 12px; }
.review-current { padding: 16px 18px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--edge); margin-bottom: 12px; }
.review-current small, .review-current p:not(.preserve) { color: var(--sub); font-size: 14px; }
.review-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.review-history { margin-top: 10px; }
.review-history > summary { padding: 10px 0; font-size: 14.5px; color: var(--primary-ink); }
.feature-card { padding: 20px 0; border-top: 1px solid var(--edge); }
.feature-card h3 { margin: 0; }
.feature-card > small { color: var(--sub); }
.quote-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 10px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, var(--soft), var(--panel-2)); }
.quote-summary .eyebrow { margin: 0; }
.quote-amount { font-size: 24px; }

/* Activity & conversation */
.activity-entry { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--edge); }
.activity-entry:last-child { border-bottom: 0; }
.activity-entry > div { display: flex; flex-direction: column; min-width: 0; }
.activity-entry strong { font-weight: 600; font-size: 15px; }
.activity-entry small { color: var(--sub); font-size: 13.5px; }
.activity-dot { flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--primary-2); box-shadow: 0 0 0 4px var(--soft); }
.chat { display: flex; flex-direction: column; gap: 18px; margin-bottom: 20px; }
.bubble-row { display: flex; gap: 12px; max-width: min(680px, 92%); }
.bubble-row.mine { align-self: flex-end; flex-direction: row-reverse; }
.bubble-wrap { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bubble-row.mine .bubble-wrap { align-items: flex-end; }
.bubble-meta { font-size: 13px; color: var(--sub); }
.bubble-meta strong { color: var(--ink); }
.bubble { margin: 0; padding: 12px 16px; border-radius: 4px 18px 18px 18px; background: var(--panel-2); border: 1px solid var(--edge); font-size: 15.5px; line-height: 1.55; }
.bubble-row.mine .bubble { border-radius: 18px 4px 18px 18px; color: #fff; border: 0; background: linear-gradient(135deg, #8a4cf5, #6a35c9); }
.composer { padding-top: 18px; border-top: 1px solid var(--edge); }
.composer .inline-disclosure { border-top: 0; margin: -6px 0 6px; }
.composer-actions { display: flex; justify-content: flex-end; }

/* People */
.member-list { display: flex; flex-direction: column; }
.member { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--edge); }
.member.inactive { opacity: .7; }
.member-info { display: flex; flex-direction: column; min-width: 0; }
.member-info small { color: var(--sub); font-size: 13.5px; overflow-wrap: anywhere; }
.member-actions { grid-column: 2 / -1; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.member-actions form { margin: 0; }
.link-notice { border-color: color-mix(in srgb, var(--primary-2) 40%, var(--edge)); background: linear-gradient(135deg, var(--soft), var(--panel)); }
.link-notice label { margin-bottom: 10px; }
.copy-link-status { margin: 8px 0 0; font-size: 14px; color: var(--good); font-weight: 600; }

/* Settings */
.upgrade-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.upgrade-card h2 { margin: 0 0 4px; font-size: 20px; }
.upgrade-card p { margin: 0; }
.upgrade-card form { margin: 0; }

/* Website work admin */
.work-admin { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.work-admin.is-editing { grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr); }
.work-list-panel { padding: 8px; margin: 0; }
.work-list { margin: 0; }
.work-row { display: grid; grid-template-columns: auto auto 1fr auto auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; transition: background .15s; }
.work-row + .work-row { border-top: 1px solid var(--edge); }
.work-row:hover { background: var(--panel-2); }
.work-row.current { background: var(--soft); }
.work-row.hidden-item .work-row-info, .work-row.hidden-item .work-thumb { opacity: .55; }
.work-row.dragging { opacity: .5; background: var(--soft); }
.drag-handle { color: var(--faint); cursor: grab; display: grid; place-items: center; width: 24px; }
.work-thumb { width: 92px; height: 58px; border-radius: 10px; overflow: hidden; border: 1px solid var(--edge); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.work-row-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.work-row-info strong { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 16px; }
.work-row-info .badge { font-size: 11px; padding: 2px 9px; }
.work-row-info small { color: var(--sub); font-size: 13.5px; overflow-wrap: anywhere; }
.row-buttons { display: flex; gap: 6px; align-items: center; }
.work-editor { margin: 0; position: sticky; top: 16px; border: 2px solid var(--primary-2); box-shadow: 0 30px 60px rgb(106 53 201 / .16); }
.work-editor h2 { margin: 0; font-size: 20px; }
.work-editor form { margin-top: 18px; }
.upload-box { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; margin-bottom: 18px; border-radius: 18px; border: 1.5px dashed color-mix(in srgb, var(--primary-2) 50%, transparent); background: color-mix(in srgb, var(--soft) 70%, var(--panel)); text-align: center; }
.upload-preview { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; display: grid; place-items: center; color: rgb(36 32 55 / .55); font-weight: 650; font-size: 14px; }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.upload-button { margin: 0; flex-direction: row; cursor: pointer; }
.upload-box .hint { margin: 0; font-size: 13px; }
.upload-box .check-label { margin: 0; }
.editor-actions { display: flex; justify-content: space-between; gap: 12px; }
.delete-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--edge); }

/* Notifications, data stripping and misc admin */
.notification-list { padding-top: 8px; padding-bottom: 8px; }
.notification-item { padding: 16px 0; border-bottom: 1px solid var(--edge); }
.notification-item:last-child { border-bottom: 0; }
.notification-item.unread strong::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--primary); vertical-align: 2px; }
.notification-item small { color: var(--sub); }
.notification-item p { color: var(--sub); font-size: 14.5px; margin: 6px 0 8px; }
.notification-item form { margin: 0; }
.strip-preview, .strip-confirm, .strip-audit { margin-top: 16px; }
.strip-table-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.record-list { display: flex; flex-direction: column; }
.danger { color: var(--bad); }
.button.danger { color: #fff; }

/* ---------- Shared helpers ---------- */
.mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .02em; }
.centered-text { text-align: center; }
.bad-text { display: block; color: var(--bad); font-size: 12.5px; font-weight: 650; }
.spinner.dark { border-color: color-mix(in srgb, var(--primary) 25%, transparent); border-top-color: var(--primary); width: 26px; height: 26px; border-width: 3px; }
.empty-icon.bad { color: var(--bad); background: var(--bad-bg); }
.tab-bar { display: flex; gap: 4px; padding: 5px; margin-bottom: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-s); overflow-x: auto; scrollbar-width: thin; }
.tab-bar a { flex: none; padding: 10px 16px; border-radius: 11px; font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }
.tab-bar a:hover { background: var(--soft); color: var(--primary-ink); }
.tab-bar a.active { color: #fff; background: linear-gradient(180deg, #8a4cf5, #6a35c9); box-shadow: var(--shadow-primary); }
.kpi-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi .bad { color: var(--bad); }
.filter-bar { margin-bottom: 18px; }
.filter-bar label:first-of-type { flex: 1 1 260px; }
.table-panel { padding: 8px; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
.data-table th { text-align: left; padding: 12px 14px; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--sub); background: var(--panel-2); }
.data-table th:first-child { border-radius: 12px 0 0 12px; } .data-table th:last-child { border-radius: 0 12px 12px 0; }
.data-table td { padding: 14px; border-bottom: 1px solid var(--edge); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td small { display: block; color: var(--sub); font-size: 13px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 16px 0 20px; }
.facts > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--edge); min-width: 0; }
.facts small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sub); }
.facts strong { overflow-wrap: anywhere; }
.facts span { color: var(--sub); font-size: 14px; overflow-wrap: anywhere; }
.actions form { margin: 0; }
.plan-row { border-top: 1px solid var(--edge); }
.plan-row:first-of-type { margin-top: 12px; }
.plan-row > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 4px; }
.plan-row > summary::after { content: ''; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--sub); border-bottom: 2px solid var(--sub); transform: rotate(45deg); transition: transform .2s; }
.plan-row[open] > summary::after { transform: rotate(-135deg); }
.plan-row-name { display: flex; flex-direction: column; min-width: 160px; }
.plan-row-name small { color: var(--sub); }
.plan-row form { padding: 4px 4px 12px; }
.plan-row form + form { padding-top: 0; padding-bottom: 18px; }
.segmented { display: flex; gap: 10px; flex-wrap: wrap; }
.segmented legend { width: 100%; }
.segmented label { flex-direction: row; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; border-radius: 13px; border: 1px solid var(--edge-strong); cursor: pointer; font-weight: 600; }
.segmented label:has(input:checked) { border: 2px solid var(--primary-2); background: var(--soft); padding: 11px 15px; }
.key-box { padding: 16px; margin: 6px 0 12px; border-radius: 14px; color: #f2c14e; background: #0d1116; font-size: 15px; word-break: break-all; }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-weight: 600; }
.legal-links a[aria-current] { color: var(--ink); }

/* ---------- Licence shop products (Sandtable 3D = gold, Bobok Doc Gen = blue) ---------- */
:root, .product-sandtable3d { --pa1: #f6c04f; --pa2: #e2a12c; --pink: #1a1406; --plabel: #f2c14e; --pdark: #0d1116; --pdark2: #1a2029; --pglow: rgb(242 179 61 / .2); --psel: rgb(242 179 61 / .12); }
.product-docgen { --pa1: #7cb2ff; --pa2: #3a7bf0; --pink: #ffffff; --plabel: #9cc2ff; --pdark: #0b1322; --pdark2: #16243d; --pglow: rgb(58 123 240 / .28); --psel: rgb(58 123 240 / .16); }
.product-makpt { --pa1: #4fd6a0; --pa2: #2bb37f; --pink: #06140d; --plabel: #6fe0b4; --pdark: #071612; --pdark2: #0f241c; --pglow: rgb(43 179 127 / .26); --psel: rgb(43 179 127 / .15); }
.button.gold { color: var(--pink); background: linear-gradient(180deg, var(--pa1), var(--pa2)); box-shadow: 0 14px 30px color-mix(in srgb, var(--pa2) 35%, transparent), inset 0 1px 0 rgb(255 255 255 / .35); }
.button.gold:hover { color: var(--pink); }
.button.ghost-dark { color: #fff; background: transparent; border: 1px solid rgb(255 255 255 / .25); box-shadow: none; }
.button.ghost-dark:hover { color: #fff; background: rgb(255 255 255 / .08); }
.st-logo { flex: none; display: block; }
.st-brand { display: flex; align-items: center; gap: 14px; font-size: 24px; font-weight: 800; letter-spacing: .16em; color: #fff; }
.st-brand.dark { color: var(--ink); font-size: 17px; margin-bottom: 18px; }
.st-hero-wrap { padding: 24px 0 0; }
.st-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 60px 52px; border-radius: 34px; color: #e6eaf0; background: radial-gradient(800px 420px at 85% 0%, var(--pglow), transparent 70%), radial-gradient(ellipse at top, var(--pdark2) 0%, var(--pdark) 70%); box-shadow: 0 40px 80px rgb(0 0 0 / .3); }
.st-hero-copy { display: flex; flex-direction: column; gap: 22px; }
.st-hero h1 { margin: 0; font-size: clamp(36px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -.03em; color: #fff; }
.st-hero p { margin: 0; font-size: 18px; color: #b5bdc8; max-width: 500px; }
.st-trial-chip { padding: 14px 18px; border-radius: 14px; font-size: 15px; font-weight: 600; border: 1px solid rgb(255 255 255 / .18); }
.st-mid-note { display: flex; align-items: center; gap: 8px; color: #a8f0bd !important; font-size: 15px !important; }
.st-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.st-features > div { padding: 20px; border-radius: 18px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .09); display: flex; flex-direction: column; gap: 6px; }
.st-features strong { color: #fff; font-size: 16px; }
.st-features span { color: #9aa4b2; font-size: 14.5px; }
.st-plans-section .section-heading p { margin: 10px auto 0; max-width: 560px; }
.st-closed { max-width: 760px; margin: 0 auto 26px; text-align: center; }
.st-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.st-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 26px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); }
.st-plan h3 { margin: 0; font-size: 22px; }
.st-plan-desc { margin: 0; color: var(--sub); font-size: 15px; }
.st-plan.popular { color: #fff; border: 0; background: linear-gradient(150deg, var(--deep), var(--deeper)); box-shadow: 0 34px 70px rgb(36 26 63 / .35); }
.st-plan.popular .st-plan-desc, .st-plan.popular .st-price span, .st-plan.popular li { color: #e4dcf5; }
.product-docgen .st-plan.popular { background: radial-gradient(400px 240px at 100% 0%, var(--pglow), transparent 70%), linear-gradient(150deg, var(--pdark2), var(--pdark)); }
.product-makpt .st-plan.popular { background: radial-gradient(400px 240px at 100% 0%, var(--pglow), transparent 70%), linear-gradient(150deg, var(--pdark2), var(--pdark)); }
.st-flag { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--pink); background: linear-gradient(180deg, var(--pa1), var(--pa2)); }
.st-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.st-price strong { font-size: 36px; letter-spacing: -.02em; }
.st-price span { color: var(--sub); font-size: 14px; }
.st-plan ul { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.st-plan li { display: flex; align-items: center; gap: 8px; }
.st-plan li .icon { color: #2f9a77; width: 18px; height: 18px; }
.st-plan.popular li .icon { color: var(--plabel); }
.st-plan .button { margin-top: auto; }
.st-steps-section { padding-bottom: 72px; }
.st-steps-section h2 { font-size: clamp(26px, 3vw, 32px); margin-bottom: 24px; }
.st-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.st-steps article { padding: 26px; border-radius: 22px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-s); }
.st-steps h3 { margin: 14px 0 6px; }
.st-steps p { margin: 0; color: var(--sub); font-size: 15.5px; }
.st-num { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 11px; font-weight: 800; font-size: 15px; color: var(--pink); background: var(--pa2); }
.st-faq { max-width: 860px; padding-bottom: 96px; }
.st-faq h2 { font-size: 28px; }
.st-faq .disclosure { margin-bottom: 12px; }
.st-faq .disclosure p { color: var(--sub); }
.st-checkout { padding: 6px 0 80px; }
.st-checkout-head { display: flex; align-items: center; gap: 16px; margin: 4px 0 24px; }
.st-checkout-head h1 { margin: 0 0 2px; font-size: clamp(26px, 3vw, 32px); }
.st-checkout-head p { margin: 0; }
.st-checkout-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 26px; align-items: start; }
.st-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-step h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; margin-bottom: 18px; }
.st-mid { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 20px; font-weight: 600; letter-spacing: .08em; padding: 16px; border-width: 2px; text-transform: uppercase; }
.st-mid.is-valid { border-color: #2f9a77; background: color-mix(in srgb, var(--good-bg) 60%, var(--panel)); }
.st-ok { display: flex; align-items: center; gap: 8px; margin: -6px 0 10px; padding: 11px 14px; border-radius: 12px; color: var(--good); background: var(--good-bg); font-size: 14.5px; font-weight: 600; }
.st-summary { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 26px; color: #fff; background: radial-gradient(500px 300px at 100% 0%, var(--pglow), transparent 70%), linear-gradient(160deg, var(--pdark2), var(--pdark)); box-shadow: 0 40px 80px rgb(0 0 0 / .28); }
.st-summary-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--plabel); }
.st-plan-pick { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.st-pick { flex-direction: row; align-items: center; gap: 12px; margin: 0; padding: 14px; border-radius: 14px; border: 1px solid rgb(255 255 255 / .14); color: #fff; cursor: pointer; font-weight: 500; }
.st-pick span { flex: 1; display: flex; flex-direction: column; }
.st-pick small { color: #b5bdc8; font-size: 13px; }
.st-pick input { accent-color: var(--pa2); }
.st-pick:has(input:checked) { border: 2px solid var(--pa2); padding: 13px; background: var(--psel); }
.st-lines { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 15px; color: #cfd6df; }
.st-lines > div { display: flex; justify-content: space-between; gap: 10px; }
.st-lines small { color: #8f99a6; font-size: 13px; }
.st-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .1); }
.st-total span { font-weight: 650; }
.st-total strong { font-size: 32px; letter-spacing: -.02em; }
.st-terms { color: #cfd6df; font-size: 14px; align-items: flex-start; }
.st-terms input { margin-top: 2px; accent-color: var(--pa2); }
.st-terms a { color: var(--pa1); text-decoration: underline; }
.st-secure { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: 13px; color: #8f99a6; }
.st-paying h1 { font-size: 26px; }
.st-result { max-width: 780px; padding: 24px 0 80px; display: flex; flex-direction: column; gap: 22px; }
.st-result-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.st-result-head h1 { margin: 0; font-size: clamp(28px, 4vw, 38px); letter-spacing: -.03em; }
.st-result-head p { margin: 0; }
.st-tick { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #3dbb8c, #1d6a52); box-shadow: 0 18px 36px rgb(29 106 82 / .35); }
.st-tick .icon { width: 38px; height: 38px; stroke-width: 2.6; }
.st-licence-card { padding: 30px; border-radius: 28px; color: #fff; background: radial-gradient(500px 300px at 100% 0%, var(--pglow), transparent 70%), linear-gradient(160deg, var(--pdark2), var(--pdark)); box-shadow: 0 40px 80px rgb(0 0 0 / .28); display: flex; flex-direction: column; gap: 18px; }
.st-licence-top { display: flex; align-items: center; gap: 14px; }
.st-licence-top > div { flex: 1; display: flex; flex-direction: column; }
.st-licence-top strong { font-size: 19px; }
.st-licence-top span { color: #b5bdc8; font-size: 14px; }
.st-active { flex: none; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #a8f0bd !important; background: rgb(90 200 120 / .12); border: 1px solid rgb(90 200 120 / .3); }
.st-licence-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-licence-facts > div { padding: 14px; border-radius: 14px; background: rgb(255 255 255 / .06); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st-licence-facts small { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--plabel); }
.st-licence-facts span { overflow-wrap: anywhere; }
.st-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--psel); color: #ffe2a3; font-size: 14.5px; }
.st-licence-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.st-licence-actions .button.gold { flex: 1 1 260px; }
.st-howto { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; line-height: 1.55; }
.st-centered { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.st-centered form { width: 100%; margin: 6px 0 0; }
.st-key { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.st-key small { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--plabel); }
.st-key textarea { min-height: 0; resize: none; color: #fff; background: rgb(0 0 0 / .3); border: 1px solid rgb(255 255 255 / .12); font-size: 13.5px; line-height: 1.6; word-break: break-all; }
.st-key .copy-link-status { margin: 0; color: #a8f0bd; }
.shot-product { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(400px 220px at 70% 0%, var(--pglow), transparent 70%), linear-gradient(160deg, var(--pdark2), var(--pdark)); }
.shot-product span { color: #fff !important; font-size: clamp(20px, 2.6vw, 28px) !important; letter-spacing: .02em; }
.sale-status { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; margin-bottom: 18px; }
.sale-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--edge); background: var(--panel); box-shadow: var(--shadow-s); }
.sale-card > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sale-card small { color: var(--sub); font-size: 13.5px; }
.sale-card.open { border-color: color-mix(in srgb, var(--good) 35%, var(--edge)); background: color-mix(in srgb, var(--good-bg) 55%, var(--panel)); }
.sale-card.closed { border-color: color-mix(in srgb, var(--warn) 30%, var(--edge)); }
.product-switch { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.product-switch a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border-radius: 14px; font-weight: 650; color: var(--ink); background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-s); }
.product-switch a.active { border: 2px solid var(--primary-2); padding: 8px 15px 8px 8px; }
.title-with-logo { display: flex; align-items: center; gap: 10px; }
.copy-block { margin: 0 0 16px; }
.copy-block label { margin-bottom: 8px; }
/* ---------- Modal & toast ---------- */
.modal-root { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-root[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgb(27 20 53 / .5); backdrop-filter: blur(3px); animation: fade .2s; }
.modal-sheet { position: relative; width: min(460px, 100%); padding: 28px; border-radius: 26px; background: var(--panel); box-shadow: 0 40px 90px rgb(27 20 53 / .4); animation: pop .25s var(--ease); }
.modal-sheet h2 { font-size: 22px; margin: 14px 0 8px; }
.modal-sheet p { color: var(--sub); margin: 0 0 22px; }
.modal-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--bad); background: var(--bad-bg); }
.modal-icon .icon { width: 24px; height: 24px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.async-status { position: fixed; left: 50%; bottom: 24px; z-index: 90; max-width: min(560px, calc(100% - 32px)); transform: translateX(-50%); padding: 13px 20px; border-radius: 14px; color: #fff; font-weight: 600; font-size: 15px; background: #1d6a52; box-shadow: 0 16px 34px rgb(0 0 0 / .25); animation: pop .25s var(--ease); }
.async-status[data-tone=error] { background: #a33b2e; }
.async-status[hidden] { display: none; }

/* ---------- Date picker (flatpickr) theme ---------- */
.flatpickr-calendar { border-radius: 18px !important; border: 1px solid var(--edge) !important; background: var(--panel) !important; box-shadow: var(--shadow-l) !important; font-family: var(--font) !important; padding: 6px; width: 320px !important; }
.flatpickr-calendar::before, .flatpickr-calendar::after { display: none !important; }
.flatpickr-months .flatpickr-month, .flatpickr-current-month input.cur-year, .flatpickr-current-month .cur-month, .flatpickr-weekday, .flatpickr-day { color: var(--ink) !important; fill: var(--ink) !important; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { fill: var(--primary) !important; color: var(--primary) !important; }
.flatpickr-day { border-radius: 10px !important; }
.flatpickr-day:hover { background: var(--soft) !important; border-color: var(--soft) !important; }
.flatpickr-day.today { border-color: var(--primary-2) !important; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { color: #fff !important; background: linear-gradient(180deg, #8a4cf5, #6a35c9) !important; border-color: transparent !important; }
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: var(--faint) !important; }
input.date-input, input[data-datepicker]:not(.flatpickr-input) { background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a35c9' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat right 14px center / 19px; padding-right: 44px; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .project-hero { grid-template-columns: 1fr 1fr; }
  .project-hero-main { grid-column: 1 / -1; }
  .project-hero-meta { padding-left: 0; border-left: 0; }
  .work-admin.is-editing { grid-template-columns: minmax(0, 1fr); }
  .work-admin.is-editing .work-editor { position: static; order: -1; }
}
@media (max-width: 960px) {
  .hero, .portal-promo, .contact-layout, .auth-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { height: 420px; max-width: 560px; }
  .work-featured { grid-template-columns: 1fr; }
  .work-featured-art { padding: 0 32px 36px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milestone-workspace { grid-template-columns: 1fr; }
  .milestone-picker { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .milestone-tab { min-width: 240px; scroll-snap-align: start; }
  .add-milestone { min-width: 240px; }
  .workspace-columns { grid-template-columns: 1fr; }
  .appearance-panel { grid-template-columns: 1fr 1fr; }
  .appearance-panel > div { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-flex !important; }
  /* Rail becomes a slide-in drawer; it is the same element, never duplicated. */
  .rail { width: min(300px, 86vw); transform: translateX(-105%); transition: transform .25s var(--ease); }
  .rail:hover, .rail:focus-within { width: min(300px, 86vw); }
  .rail .rail-label, .rail .rail-logo, .rail .rail-section { opacity: 1; height: auto; }
  body.rail-open .rail { transform: none; box-shadow: 18px 0 60px rgb(27 20 53 / .45); }
  body.rail-open .rail-backdrop { display: block; position: fixed; inset: 0; z-index: 35; background: rgb(27 20 53 / .45); }
  body.rail-open { overflow: hidden; }
  .portal-main { margin-left: 0; }
  .portal-topbar { padding: 14px 18px; position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px; border-radius: 20px; box-shadow: var(--shadow-l); background: var(--panel); }
  .site-header.menu-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 16px; font-size: 16.5px; }
  .site-nav .nav-cta { justify-content: center; margin-top: 6px; }
  .brand-caption { display: none; }
  .brand-logo { width: 108px; }
}
@media (max-width: 960px) {
  .st-hero { grid-template-columns: 1fr; padding: 40px 28px; }
  .st-checkout-grid { grid-template-columns: 1fr; }
  .st-summary { position: static; }
  .kpi-row.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .st-hero { padding: 30px 20px; border-radius: 26px; gap: 26px; }
  .st-brand { font-size: 19px; }
  .st-hero .actions .button, .st-trial-chip { width: 100%; text-align: center; }
  .st-features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .st-features > div { padding: 14px; }
  .st-steps { grid-template-columns: 1fr; gap: 12px; }
  .st-mid { font-size: 17px; letter-spacing: .04em; padding: 14px; }
  .st-summary { padding: 20px; border-radius: 22px; }
  .st-licence-card { padding: 20px; border-radius: 22px; }
  .st-licence-facts { grid-template-columns: 1fr; }
  .st-licence-actions .button { width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .tab-bar { margin-left: -4px; margin-right: -4px; }
  .wrap, .site-header, .site-footer { width: calc(100% - 36px); }
  .section { padding: 56px 0; }
  .hero { padding: 28px 0 48px; }
  .hero h1 { font-size: 42px; }
  .hero .lead { font-size: 17.5px; }
  .hero .actions .button { width: 100%; }
  .hero-art { height: 260px; }
  .hero-stage { inset: 10px 0 0 0; border-radius: 28px; }
  .hero-card { left: 14px; top: 26px; width: calc(100% - 28px); padding: 18px; }
  .hero-chat, .hero-tick { display: none; }
  .services { grid-template-columns: 1fr; gap: 12px; }
  .service { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; padding: 20px; border-radius: 20px; }
  .service .service-icon { grid-row: span 2; }
  .service h2 { margin: 0 0 2px; font-size: 18px; }
  .service p { font-size: 15px; }
  .section-heading h2 { font-size: 30px; }
  .work-featured { border-radius: 24px; }
  .work-featured-copy { padding: 26px 22px 18px; }
  .work-featured-copy h3 { font-size: 26px; }
  .work-featured-art { padding: 0 18px 22px; }
  .browser.tilt { transform: none; }
  .work-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-card { border-radius: 22px; }
  .work-card-art { padding: 16px 16px 0; }
  .work-card-copy { padding: 18px; }
  .work-next { padding: 26px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps article { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; padding: 18px; }
  .steps span { grid-row: span 2; font-size: 24px; margin: 0; }
  .cta-band { padding: 40px 22px; border-radius: 26px; margin-bottom: 48px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 10px; }
  .panel, .contact-form, .auth-card { padding: 20px; border-radius: 22px; }
  .disclosure { padding: 0; }
  .disclosure > summary { padding: 18px 20px; }
  .disclosure > :not(summary) { margin-inline: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid > button { justify-self: stretch; }
  .page-heading { margin-top: 0; }
  .project-grid { grid-template-columns: 1fr; }
  .project-hero { grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px; border-radius: 24px; }
  .project-hero-main { gap: 16px; }
  .completion-ring { width: 104px; height: 104px; }
  .ring-label strong { font-size: 23px; }
  .ring-label small { font-size: 8.5px; }
  .project-hero-meta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 14px; border-radius: 14px; background: rgb(255 255 255 / .08); }
  .project-hero-meta strong { font-size: 16px; }
  .project-hero-actions { grid-column: 1 / -1; }
  .project-hero-actions .button { width: 100%; }
  .kpi-row { gap: 8px; }
  .kpi { padding: 14px 10px; border-radius: 16px; }
  .kpi small { font-size: 12px; }
  .kpi strong { font-size: 16px; }
  .milestone-panel { padding: 20px; }
  .milestone-percent { font-size: 26px; }
  .task-check { width: 44px; height: 44px; border-radius: 12px; }
  .task-metadata { padding-left: 0; }
  .bubble-row { max-width: 100%; }
  .composer-actions .button { width: 100%; }
  .upgrade-card { grid-template-columns: 1fr; text-align: left; }
  .work-row { grid-template-columns: auto 1fr auto; gap: 10px 12px; padding: 14px 8px; }
  .work-row .drag-handle { display: none; }
  .work-row .work-thumb { width: 72px; height: 48px; }
  .work-row > .badge { justify-self: end; }
  .row-buttons { grid-column: 1 / -1; }
  .row-buttons .icon-button.small { width: 44px; height: 44px; }
  .row-buttons .button { flex: 1; min-height: 44px; }
  .editor-actions { flex-direction: column-reverse; }
  .editor-actions .button { width: 100%; }
  .member { grid-template-columns: auto 1fr; }
  .member > .badge { grid-column: 2; justify-self: start; }
  .member-actions .button { min-height: 44px; }
  .copy-link-row { flex-direction: column; }
  .modal-root { place-items: end center; padding: 0; }
  .modal-sheet { width: 100%; border-radius: 26px 26px 0 0; padding: 24px 20px 30px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .button { width: 100%; min-height: 50px; }
  .appearance-panel { grid-template-columns: 1fr; }
  .flatpickr-calendar { width: min(320px, calc(100vw - 24px)) !important; }
}
@media (max-width: 380px) {
  .kpi-row { grid-template-columns: 1fr; }
  .project-hero { grid-template-columns: 1fr; }
}

/* ---------- Motion preferences ---------- */
html[data-motion=off] *, html[data-motion=off] *::before, html[data-motion=off] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
@media print { .rail, .portal-topbar, .site-header, .site-footer, .appearance-panel, .composer { display: none !important; } .portal-main { margin: 0; } }

/* ---------- Support desk (website, private ticket page, workspace inbox) ---------- */
.site-nav a[aria-current=page] { background: var(--soft); color: var(--primary-ink); font-weight: 650; }
.site-nav a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1180px) { .site-nav a { padding: 10px 11px; font-size: 14.5px; } .site-nav { gap: 0; } .site-header .brand-caption { display: none; } }
@media (min-width: 901px) and (max-width: 1000px) { .site-nav a { padding: 9px 8px; font-size: 14px; } .site-nav .nav-cta { padding: 9px 12px; } .site-header { gap: 12px; } .site-header .brand-logo { width: 104px; } }
.sup-status { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 750; line-height: 1.35; white-space: nowrap; }
.sup-status.s-new { color: light-dark(#1f4fa8, #9cc2ff); background: light-dark(#e7f0ff, #1b2a45); }
.sup-status.s-in-progress { color: var(--primary-ink); background: var(--soft); }
.sup-status.s-waiting { color: var(--warn); background: var(--warn-bg); }
.sup-status.s-resolved { color: var(--good); background: var(--good-bg); }
.sup-status.s-closed { color: var(--sub); background: light-dark(#f0edf6, #2a2638); }
.sup-status.s-unconfirmed { color: var(--sub); border: 1px dashed var(--edge-strong); }
.sup-label { display: block; font-size: 12px; font-weight: 750; letter-spacing: .12em; color: var(--primary); text-transform: uppercase; }
.optional { font-weight: 500; color: var(--sub); }
.sup-badge { width: 40px; height: 40px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: var(--primary-ink); background: var(--soft); }
.sup-badge.on { color: light-dark(#8a5200, #ffcf7f); background: light-dark(#fff3d6, #3a2c14); }

/* Public page */
.sup-page { padding: 24px 0 80px; }
.sup-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 auto 30px; max-width: 720px; }
.sup-hero .eyebrow { margin: 0; }
.sup-hero h1 { margin: 0; font-size: clamp(34px, 4.4vw, 46px); letter-spacing: -.03em; }
.sup-hero .lead { margin: 0; font-size: 18px; }
.sup-request { margin: 0; }
.sup-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 26px; padding: 0; border: 0; min-width: 0; scroll-margin-top: 20px; }
.sup-type { position: relative; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; padding: 18px; border-radius: 18px; border: 1px solid var(--edge); background: var(--panel); box-shadow: var(--shadow-s); color: var(--ink); cursor: pointer; transition: border-color .15s, box-shadow .2s, transform .2s var(--ease); }
.sup-type:hover { border-color: var(--edge-strong); transform: translateY(-2px); }
.sup-type:has(input:checked) { border: 2px solid var(--primary-2); padding: 17px; background: light-dark(#faf7ff, #241d38); box-shadow: 0 16px 34px rgb(106 53 201 / .18); }
.sup-type:has(input:checked) .sup-badge { color: light-dark(#8a5200, #ffcf7f); background: light-dark(#fff3d6, #3a2c14); }
.sup-type:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--primary-2) 45%, transparent); outline-offset: 2px; }
.sup-type-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sup-type-text strong { font-size: 16px; }
.sup-type-text span { font-size: 13.5px; font-weight: 500; line-height: 1.45; color: var(--sub); }
.sup-type-go { display: none; }
.sup-more { display: none; }
.sup-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.sup-form { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: var(--radius-l); background: var(--panel); border: 1px solid var(--edge); box-shadow: 0 30px 60px light-dark(rgb(54 35 83 / .12), rgb(0 0 0 / .35)); }
.sup-layout.no-aside .sup-form { flex-basis: 100%; }
.sup-form label { margin: 0; }
.sup-form .notice { margin: 0; }
.sup-form-head { display: flex; align-items: center; gap: 12px; }
.sup-form-head h2 { margin: 2px 0 0; font-size: 22px; }
.sup-change { margin-left: auto; font-size: 14px; font-weight: 600; }
.sup-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sup-fields label[hidden] { display: none; }
.sup-fields .hint { font-weight: 500; display: flex; align-items: center; gap: 6px; }
.sup-fields .hint .icon { width: 16px; height: 16px; color: var(--good); flex: none; }
.sup-attach { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px; border-radius: 14px; border: 1.5px dashed light-dark(#c9b3f5, #5b4a85); background: light-dark(#faf7ff, #201a31); }
.sup-attach-add { flex-direction: row; align-items: center; gap: 6px; margin: 0; padding: 9px 14px; border-radius: 11px; background: var(--panel); border: 1px solid var(--edge-strong); font-size: 14px; font-weight: 650; color: var(--ink); cursor: pointer; }
.sup-attach-add:hover { border-color: var(--primary-2); color: var(--primary-ink); }
.sup-attach-add .icon { width: 17px; height: 17px; }
.sup-attach-add:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--primary-2) 45%, transparent); }
.sup-attach-hint { font-size: 13px; color: var(--sub); }
.sup-attach-list { display: contents; }
.sup-chip-file { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 11px; border-radius: 10px; background: var(--panel); border: 1px solid var(--edge); font-size: 13px; max-width: 100%; }
.sup-chip-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sup-chip-file button { width: 24px; height: 24px; border: 0; border-radius: 7px; background: var(--panel-2); color: var(--sub); cursor: pointer; font-size: 12px; flex: none; }
.sup-chip-file button:hover { color: var(--bad); background: var(--bad-bg); }
.sup-attach.compact { padding: 0; border: 0; background: none; gap: 8px; }
.sup-attach.compact .sup-attach-add { border: 1.5px dashed light-dark(#c9b3f5, #5b4a85); background: light-dark(#faf7ff, #201a31); }
.sup-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sup-submit .button { box-shadow: 0 12px 26px rgb(106 53 201 / .3); }
.sup-submit .hint { margin: 0; }
.sup-aside { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.sup-next { padding: 22px; border-radius: 22px; color: #fff; background: linear-gradient(150deg, #2b1d52, #1b1435); box-shadow: 0 24px 50px rgb(27 20 53 / .28); display: flex; flex-direction: column; gap: 10px; }
.sup-next strong { font-size: 17px; }
.sup-next ol { margin: 0; padding-left: 20px; color: var(--on-deep-muted); font-size: 14.5px; line-height: 1.6; display: flex; flex-direction: column; gap: 4px; }
.sup-client-card { padding: 20px; border-radius: 22px; background: var(--panel); border: 1px solid var(--edge); display: flex; flex-direction: column; gap: 8px; }
.sup-client-card strong { font-size: 16px; }
.sup-client-card span { font-size: 14.5px; color: var(--sub); }

/* Check your inbox */
.sup-sent-page { padding: 30px 0 90px; }
.sup-sent { max-width: 520px; margin: 0 auto; padding: 32px 28px; border-radius: 26px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-l); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.sup-sent .notice { margin: 0; width: 100%; text-align: left; }
.sup-sent h1 { margin: 0; font-size: 28px; }
.sup-sent p { margin: 0; color: var(--sub); font-size: 15.5px; line-height: 1.6; }
.sup-sent p strong { color: var(--ink); }
.sup-envelope { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #8a4cf5, #6a35c9); box-shadow: var(--shadow-primary); }
.sup-envelope .icon { width: 30px; height: 30px; }
.sup-sent-summary { width: 100%; padding: 14px 16px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--edge); display: flex; flex-direction: column; gap: 3px; text-align: left; }
.sup-sent-summary small, .sup-sent-summary span { font-size: 13px; color: var(--sub); }
.sup-resend { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.sup-resend .text-button:disabled { color: var(--faint); cursor: default; }
.sup-confirm-form { width: 100%; margin: 4px 0 0; }
.sup-confirm-note { font-size: 13.5px !important; }
.sup-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sup-center form { width: 100%; margin: 6px 0 0; }

/* Private ticket page */
.private-header .header-controls { gap: 10px; }
.private-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--edge); font-size: 13px; color: var(--sub); }
.private-pill .icon { width: 16px; height: 16px; color: var(--primary); flex: none; }
.sup-ticket-page { padding: 16px 0 70px; }
.sup-ticket-page > .notice { margin-bottom: 18px; }
.sup-ticket { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.sup-ticket-main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.sup-summary { padding: 26px 28px; border-radius: 24px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.sup-summary-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--sub); }
.sup-summary .sup-summary-title { margin: 0; font-size: clamp(24px, 3vw, 30px); }
.sup-summary .muted { font-size: 14px; }
.sup-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 650; color: var(--primary-ink); background: var(--soft); }
.sup-pill.plain { color: var(--sub); background: var(--panel-2); border: 1px solid var(--edge); }
.sup-pill .icon { width: 14px; height: 14px; }
.sup-state { margin: 0; display: flex; align-items: center; gap: 8px; }
.sup-state .icon { flex: none; }
.sup-thread { display: flex; flex-direction: column; gap: 18px; }
.sup-msg { display: flex; gap: 14px; align-items: flex-start; }
.sup-msg.mine { flex-direction: row-reverse; }
.sup-avatar { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: #9a91b0; }
.sup-msg.team .sup-avatar { background: linear-gradient(160deg, #8a4cf5, #6a35c9); box-shadow: var(--shadow-primary); }
.sup-bubble { max-width: 78%; min-width: 0; padding: 18px 20px; border-radius: 20px; background: var(--panel); border: 1px solid var(--edge); display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-s); }
.sup-msg.team .sup-bubble { background: linear-gradient(160deg, light-dark(#f4eeff, #2a2142), light-dark(#ece2ff, #241c3a)); border-color: light-dark(#ddcff8, #42356a); }
.sup-bubble p { margin: 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.sup-bubble-meta { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.sup-bubble-meta strong { font-size: 15px; }
.sup-bubble-meta span { font-size: 12.5px; color: var(--sub); }
.sup-files { display: flex; flex-wrap: wrap; gap: 8px; }
.sup-file-wrap { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; }
.sup-file { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--edge); font-size: 13.5px; font-weight: 600; color: var(--primary-ink); max-width: 100%; }
.sup-file > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sup-file small { color: var(--sub); font-weight: 500; }
.sup-file .icon { width: 16px; height: 16px; flex: none; }
.sup-file.removed { color: var(--sub); font-weight: 500; font-style: italic; background: var(--panel-2); }
.sup-file-remove { margin: 0; }
.sup-file-remove .icon-button { width: 32px; height: 32px; }
.sup-reply { padding: 22px; border-radius: 22px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; margin: 0; }
.sup-reply label { margin: 0; }
.sup-reply .notice { margin: 0; }
.sup-reply-title { font-size: 16px; font-weight: 750; color: var(--ink); }
.sup-reply-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sup-reply-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.sup-ticket-aside { flex: 1 1 290px; display: flex; flex-direction: column; gap: 14px; }
.sup-card { padding: 20px; border-radius: 22px; background: var(--panel); border: 1px solid var(--edge); display: flex; flex-direction: column; gap: 12px; }
.sup-card strong { font-size: 15px; }
.sup-card.muted-card { font-size: 13.5px; color: var(--sub); line-height: 1.55; display: block; }
.sup-card.muted-card b { color: var(--ink); }
.sup-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sup-steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.sup-step-dot { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; background: light-dark(#d8d2e6, #3b3550); }
.sup-step-dot .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.sup-steps li.done .sup-step-dot { background: #22a06b; }
.sup-steps li.current .sup-step-dot { background: var(--primary-2); box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary-2) 20%, transparent); }
.sup-steps li.current-warn .sup-step-dot { background: #e0a21a; box-shadow: 0 0 0 5px rgb(224 162 26 / .2); }
.sup-steps li.todo { color: var(--faint); }
.sup-steps li.current, .sup-steps li.current-warn { font-weight: 700; }
.sup-licence { padding: 20px; border-radius: 22px; color: #fff; background: linear-gradient(150deg, #3a2a10, #1f170a); display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: #e6d9b8; box-shadow: 0 20px 40px rgb(31 23 10 / .25); }
.sup-licence strong { font-size: 16px; color: #fff; }
.sup-licence-label { font-size: 12px; font-weight: 750; letter-spacing: .1em; color: #f0c45a; }
.sup-licence.product-docgen { background: linear-gradient(150deg, #16243d, #0b1322); color: #c9d8f2; box-shadow: 0 20px 40px rgb(11 19 34 / .3); }
.sup-licence.product-docgen .sup-licence-label { color: #9cc2ff; }
.sup-licence.product-makpt { background: linear-gradient(150deg, #0f241c, #071612); color: #c6ead9; box-shadow: 0 20px 40px rgb(7 22 18 / .3); }
.sup-licence.product-makpt .sup-licence-label { color: #6fe0b4; }

/* Workspace: team inbox */
.sup-inbox-heading { align-items: flex-end; }
.sup-tabs { margin: 0; }
.sup-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.sup-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.sup-chip { padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--panel); border: 1px solid var(--edge); white-space: nowrap; }
.sup-chip:hover { color: var(--primary-ink); border-color: var(--primary-2); }
.sup-chip.active { color: #fff; border-color: transparent; background: linear-gradient(180deg, #8a4cf5, #6a35c9); box-shadow: var(--shadow-primary); }
.sup-search { margin: 0 0 0 auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sup-search select { min-height: 42px; padding-top: 8px; padding-bottom: 8px; border-radius: 999px; font-size: 14px; width: auto; }
.sup-search-box { position: relative; margin: 0; }
.sup-search-box .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--sub); pointer-events: none; }
.sup-search-box input { min-height: 42px; padding: 8px 14px 8px 38px; border-radius: 999px; font-size: 14px; width: 250px; }
.sup-result-note { margin: -6px 0 14px; font-size: 14px; color: var(--sub); }
.sup-inbox { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); gap: 20px; align-items: start; }
.sup-list { border-radius: 22px; background: var(--panel); border: 1px solid var(--edge); box-shadow: 0 16px 40px light-dark(rgb(54 35 83 / .07), rgb(0 0 0 / .3)); overflow: hidden; }
.sup-row { display: flex; flex-direction: column; gap: 5px; padding: 15px 18px 15px 14px; border-bottom: 1px solid var(--edge); border-left: 4px solid transparent; color: var(--ink); transition: background .15s; }
.sup-row:last-of-type { border-bottom: 0; }
.sup-row:hover { background: var(--panel-2); color: var(--ink); }
.sup-row.active { background: light-dark(#faf7ff, #241d38); border-left-color: var(--primary-2); }
.sup-row-top { display: flex; align-items: center; gap: 8px; }
.sup-row-top .mono { font-size: 12.5px; color: var(--sub); }
.sup-row-top .sup-status { font-size: 11.5px; padding: 3px 9px; }
.sup-row-when { margin-left: auto; font-size: 12px; color: var(--faint); white-space: nowrap; }
.sup-row strong { font-size: 14.5px; line-height: 1.4; display: flex; align-items: center; gap: 7px; }
.sup-row small { font-size: 13px; color: var(--sub); overflow-wrap: anywhere; }
.sup-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--primary-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-2) 20%, transparent); }
.sup-list-empty, .sup-detail-empty { padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.sup-list-empty .empty-icon { color: var(--good); background: var(--good-bg); }
.sup-detail-empty { border-radius: 22px; background: var(--panel); border: 1px dashed var(--edge-strong); min-height: 320px; justify-content: center; }
.sup-detail-empty h2 { margin: 0; font-size: 20px; }
.sup-pager { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--edge); }
.sup-detail { min-width: 0; }
.sup-back { display: none; }
.sup-detail-card { padding: 22px 24px; border-radius: 22px; background: var(--panel); border: 1px solid var(--edge); box-shadow: 0 16px 40px light-dark(rgb(54 35 83 / .07), rgb(0 0 0 / .3)); display: flex; flex-direction: column; gap: 14px; }
.sup-detail-card > .notice { margin: 0; }
.sup-detail-head { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.sup-detail-title { flex: 1 1 300px; min-width: 0; }
.sup-detail-ref { font-size: 13px; color: var(--sub); }
.sup-detail-title h2 { margin: 4px 0 4px; font-size: 22px; }
.sup-contact { font-size: 14px; color: var(--sub); display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.sup-contact .badge { font-size: 11.5px; padding: 2px 9px; }
.sup-assign { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.sup-assign label { margin: 0; font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--sub); gap: 5px; }
.sup-assign select { min-height: 42px; padding-top: 8px; padding-bottom: 8px; font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink); min-width: 170px; }
.sup-order { padding: 14px 16px; border-radius: 16px; color: #e6d9b8; background: linear-gradient(150deg, #3a2a10, #1f170a); display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; font-size: 13.5px; }
.sup-order .mono { color: #fff; font-size: 13.5px; }
.sup-order-facts b { color: #ffd98a; }
.sup-order-link { margin-left: auto; padding: 8px 12px; border-radius: 10px; background: rgb(255 255 255 / .12); color: #fff; font-size: 13px; font-weight: 650; }
.sup-order-link:hover { background: rgb(255 255 255 / .2); color: #fff; }
.sup-order.product-docgen { color: #c9d8f2; background: linear-gradient(150deg, #16243d, #0b1322); }
.sup-order.product-docgen .sup-licence-label { color: #9cc2ff; }
.sup-order.product-makpt { color: #c6ead9; background: linear-gradient(150deg, #0f241c, #071612); }
.sup-order.product-makpt .sup-licence-label { color: #6fe0b4; }
.sup-ref-note { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sub); flex-wrap: wrap; }
.sup-ref-note .icon { width: 16px; height: 16px; color: var(--primary); }
.sup-tthread { display: flex; flex-direction: column; gap: 10px; }
.sup-tmsg { padding: 14px 16px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--edge); display: flex; flex-direction: column; gap: 6px; }
.sup-tmsg p { margin: 0; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.sup-tmsg.team { background: linear-gradient(160deg, light-dark(#f4eeff, #2a2142), light-dark(#ece2ff, #241c3a)); border-color: light-dark(#ddcff8, #42356a); }
.sup-tmsg.note { background: light-dark(#fff8e6, #33280f); border: 1px dashed light-dark(#e8c66a, #8a6a22); }
.sup-tmsg-meta { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 14px; }
.sup-tmsg-meta span { font-size: 12.5px; color: var(--sub); }
.sup-event { margin: 2px 0; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--faint); text-align: center; }
.sup-event::before, .sup-event::after { content: ''; flex: 1; height: 1px; background: var(--edge); }
.sup-event span { max-width: 80%; }
.sup-composer { border-radius: 16px; border: 1px solid var(--edge-strong); overflow: hidden; margin: 0; background: var(--panel); }
.sup-composer-tabs { display: flex; background: var(--panel-2); border-bottom: 1px solid var(--edge); }
.sup-composer-tabs label { flex-direction: row; margin: 0; padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--sub); border-bottom: 2px solid transparent; cursor: pointer; }
.sup-composer-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.sup-composer-tabs label:has(input:checked) { color: var(--primary-ink); font-weight: 700; border-bottom-color: var(--primary-2); }
.sup-composer-tabs label:has(input:focus-visible) { outline: 2px solid var(--primary-2); outline-offset: -2px; }
.sup-composer textarea { border: 0; border-radius: 0; box-shadow: none; min-height: 110px; font-size: 15px; }
.sup-composer textarea:focus { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--primary-2) 35%, transparent); }
.sup-composer.is-note textarea { background: light-dark(#fffaf0, #2c2410); }
.sup-composer-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-top: 1px solid var(--edge); }
.sup-composer-bar .button { margin-left: auto; }
.sup-after { flex-direction: row; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; font-weight: 600; color: var(--sub); }
.sup-after select { min-height: 38px; padding-top: 6px; padding-bottom: 6px; font-size: 13.5px; font-weight: 650; color: var(--ink); width: auto; }
.sup-delete { margin: 0; align-self: flex-start; }

/* Workspace: client requests */
.sup-client-list { padding: 0; overflow: hidden; }
.sup-client-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--edge); border-left: 4px solid transparent; color: var(--ink); }
.sup-client-row:last-child { border-bottom: 0; }
.sup-client-row:hover { background: var(--panel-2); color: var(--ink); }
.sup-client-row.attention { border-left-color: #e0a21a; }
.sup-client-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.sup-client-main small { color: var(--sub); font-size: 13px; }
.sup-client-when { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--faint); white-space: nowrap; }
.sup-client-when .icon { width: 16px; height: 16px; }
.portal-content .sup-ticket .sup-summary-title { font-size: clamp(22px, 2.6vw, 28px); }

/* Workspace: issue types and storage */
.sup-types-admin { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 22px; align-items: start; }
.sup-types-panel { margin: 0; }
.sup-panel-head h2 { margin: 2px 0 0; font-size: 21px; }
.sup-types-panel > p { margin: 8px 0 12px; }
.sup-type-row .sup-badge { width: 34px; height: 34px; font-size: 15px; border-radius: 10px; }
.sup-types-side { display: flex; flex-direction: column; gap: 22px; }
.sup-types-side .panel { margin: 0; }
.sup-types-side .work-editor { position: static; }
.sup-type-form { grid-template-columns: minmax(0, 1fr) 96px; }
.sup-badge-input { text-align: center; font-weight: 800; font-size: 18px; }
.sup-email-settings h2 { font-size: 20px; margin: 2px 0 6px; }
.sup-email-settings form { margin-top: 14px; }
.sup-email-settings .hint { font-weight: 500; }
.sup-storage { display: flex; flex-direction: column; gap: 20px; max-width: 980px; }
.sup-storage .panel { margin: 0; }
.sup-storage-card h2, .sup-cleanup h2 { margin: 2px 0 6px; font-size: 21px; }
.sup-meter { display: block; width: 100%; height: 14px; margin: 16px 0; border-radius: 8px; overflow: hidden; }
.sup-meter .track { fill: light-dark(#f0ebf8, #2a2540); }
.sup-meter .open { fill: #7c45e8; }
.sup-meter .old { fill: #e0a21a; }
.sup-meter .spam { fill: #e24f6a; }
.sup-storage-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sup-storage-tiles .tile { padding: 14px 16px; border-radius: 16px; background: var(--panel-2); display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--edge); }
.sup-storage-tiles small, .sup-storage-tiles span { font-size: 12.5px; color: var(--sub); }
.sup-storage-tiles strong { font-size: 20px; }
.sup-storage-tiles .old { background: var(--warn-bg); } .sup-storage-tiles .old strong { color: var(--warn); }
.sup-storage-tiles .spam { background: var(--bad-bg); } .sup-storage-tiles .spam strong { color: var(--bad); }
.sup-days { margin: 14px 0 10px; border: 0; padding: 0; }
.sup-cleanup form { margin: 0; }
.sup-purge { align-items: center; flex-wrap: wrap; }
.sup-purge form { margin: 0; }

@media (max-width: 1100px) {
  .sup-inbox { grid-template-columns: minmax(0, 1fr); }
  .sup-inbox.has-ticket .sup-list, .sup-inbox:not(.has-ticket) .sup-detail { display: none; }
  .sup-inbox.has-ticket ~ .sup-result-note { display: none; }
  .sup-back { display: inline-flex; margin: 0 0 12px; }
  .sup-types-admin { grid-template-columns: minmax(0, 1fr); }
  .sup-types-admin.is-editing .sup-types-side { order: -1; }
  .sup-search { margin-left: 0; width: 100%; }
  .sup-search select { flex: 0 1 auto; }
  .sup-search-box { flex: 1 1 200px; } .sup-search-box input { width: 100%; }
  .portal-content:has(.sup-inbox.has-ticket) .sup-filters, .portal-content:has(.sup-inbox.has-ticket) .sup-result-note { display: none; }
}
@media (max-width: 900px) {
  .sup-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .private-pill { padding: 10px; } .private-pill span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 640px) {
  .sup-page { padding-top: 8px; }
  .sup-hero { align-items: flex-start; text-align: left; margin-bottom: 18px; }
  .sup-hero h1 { font-size: 30px; }
  .sup-hero .lead { font-size: 16px; }
  .sup-types { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sup-type { flex-direction: row; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; }
  .sup-type:has(input:checked) { padding: 13px; }
  .sup-type .sup-badge { width: 36px; height: 36px; font-size: 16px; border-radius: 11px; }
  .sup-type-text { gap: 2px; }
  .sup-type-text strong { font-size: 15px; }
  .sup-type-text span { font-size: 13px; }
  .sup-type-go { display: inline-flex; margin-left: auto; color: var(--faint); }
  .sup-types.collapsible:not(.expanded) .sup-type:nth-of-type(n+5):not(:has(input:checked)) { display: none; }
  .sup-types.collapsible:not(.expanded) .sup-more:not([hidden]) { display: block; padding: 4px 2px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 650; color: var(--primary); text-align: left; cursor: pointer; }
  .sup-form { padding: 20px; border-radius: 22px; scroll-margin-top: 12px; }
  .sup-fields { grid-template-columns: minmax(0, 1fr); }
  .sup-submit .button { width: 100%; }
  .sup-summary { padding: 20px; }
  .sup-bubble { max-width: 100%; padding: 14px 16px; }
  .sup-msg { gap: 10px; }
  .sup-avatar { width: 34px; height: 34px; border-radius: 11px; font-size: 14px; }
  .sup-reply-actions { margin-left: 0; width: 100%; flex-direction: column-reverse; }
  .sup-reply-actions .button { width: 100%; }
  .sup-storage-tiles { grid-template-columns: minmax(0, 1fr); }
  .sup-composer-bar .button { width: 100%; }
  .sup-assign label { flex: 1 1 140px; } .sup-assign select { min-width: 0; width: 100%; }
  .sup-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 8px; scrollbar-width: none; width: calc(100% + 36px); }
  .sup-chips::-webkit-scrollbar { display: none; }
  .sup-search { flex-direction: column; align-items: stretch; }
  .sup-search select, .sup-search-box { width: 100%; flex: none; }
  .sup-inbox-heading .sup-tabs { width: 100%; }
}
/* Free-trial downloads on product pages */
.st-ghost { color: #fff; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .2); }
.st-ghost:hover { background: rgb(255 255 255 / .14); }
.st-hero .actions .button .icon { width: 18px; height: 18px; }
.st-download-section .section-heading p { margin: 10px auto 0; max-width: 560px; }
.st-dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; }
.st-dl { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 10px; align-items: center; padding: 20px 22px; border-radius: 20px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-s); color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.st-dl:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--pa2); }
.st-dl:focus-visible { outline: 3px solid var(--pa2); outline-offset: 3px; }
.st-dl-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: var(--pink); background: var(--pa2); }
.st-dl-ico .icon { width: 22px; height: 22px; }
.st-dl-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st-dl-text strong { font-size: 17px; }
.st-dl-text span { color: var(--sub); font-size: 14px; }
.st-dl-meta { grid-column: 1 / -1; font-size: 13px; color: var(--sub); border-top: 1px solid var(--edge); padding-top: 10px; }
.st-dl-help { max-width: 980px; margin: 18px auto 0; }
.st-dl-help p { margin: 8px 0 0; }
.st-download-section > .hint { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .st-dl { transition: none; } .st-dl:hover { transform: none; } }
