:root {
  --bg: #f7f7f5; --panel: #ffffff; --ink: #17181a; --muted: #62656b; --line: #e4e4e0;
  --brand: #ff5a1f; --brand-ink: #ffffff; --brand-soft: #fff1eb; --user: #17181a; --user-ink: #ffffff;
  --warn: #8a5300; --warn-bg: #fff6e0; --radius: 14px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111214; --panel: #1a1b1e; --ink: #ececea; --muted: #9a9ca3; --line: #2a2c30;
          --brand-soft: #2b1a12; --user: #ececea; --user-ink: #111214; --warn: #ffcf70; --warn-bg: #2b2412; }
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; }
.muted { color: var(--muted); }
.fine { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }
.center { text-align: center; }
.error { color: #d23a2b; min-height: 1.4em; margin: 10px 0 0; font-size: 14px; }

.btn { font: inherit; font-weight: 600; border: 1px solid var(--line); background: var(--panel); color: var(--ink);
       border-radius: 10px; padding: 10px 16px; cursor: pointer; text-decoration: none; display: inline-flex;
       align-items: center; justify-content: center; gap: 6px; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.link { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.icon-btn { background: none; border: 0; font-size: 20px; color: var(--ink); cursor: pointer; padding: 4px 8px; display: none; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand.small { font-size: 16px; margin: 4px 4px 14px; }
.logo { width: 30px; height: 30px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* Auth */
.auth { min-height: 100%; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 420px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.auth-card h1 { font-size: 26px; line-height: 1.2; margin: 20px 0 8px; letter-spacing: -0.01em; }
.tabs { display: flex; gap: 6px; margin: 20px 0 14px; background: var(--bg); padding: 4px; border-radius: 10px; }
.tab { flex: 1; font: inherit; font-weight: 600; font-size: 14px; border: 0; background: none; color: var(--muted); padding: 8px; border-radius: 8px; cursor: pointer; }
.tab.active { background: var(--panel); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 5px; font-size: 13.5px; font-weight: 600; }
.form input:not([type=checkbox]), .opt-row select, .opt-row input {
  font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
.form .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .check input { margin-top: 4px; }

/* App layout */
.app { display: grid; grid-template-columns: 270px 1fr; height: 100%; }
.sidebar { border-right: 1px solid var(--line); background: var(--panel); padding: 14px; display: flex; flex-direction: column; min-height: 0; }
.conv-list { flex: 1; overflow-y: auto; margin: 14px -6px; }
.conv { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.conv:hover, .conv.active { background: var(--bg); }
.conv .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv .m { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.conv .del { visibility: hidden; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 16px; }
.conv:hover .del { visibility: visible; }
.sidebar-foot { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 12px; }
.ep-card { display: grid; gap: 2px; text-decoration: none; background: var(--brand-soft); border-radius: 12px; padding: 12px; font-size: 13px; }
.ep-card span { color: var(--muted); }
.user-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }

.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.modes { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.mode { font: inherit; font-weight: 600; font-size: 14px; border: 0; background: none; color: var(--muted); padding: 6px 16px; border-radius: 8px; cursor: pointer; }
.mode.active { background: var(--ink); color: var(--bg); }
.modes.locked .mode:not(.active) { display: none; }
.usage { margin-left: auto; font-size: 13px; color: var(--muted); }

.thread { flex: 1; overflow-y: auto; padding: 24px 20px; }
.empty { max-width: 680px; margin: 8vh auto 0; text-align: center; }
.empty h2 { font-size: 28px; margin: 0 0 8px; letter-spacing: -0.01em; }
.starters { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 24px; text-align: left; }
.starter { font: inherit; font-size: 14px; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; color: var(--ink); }
.starter:hover { border-color: var(--brand); }

.msg { max-width: 760px; margin: 0 auto 18px; }
.msg.user .bubble { background: var(--user); color: var(--user-ink); margin-left: auto; max-width: 85%; border-radius: var(--radius) var(--radius) 4px var(--radius); padding: 10px 14px; white-space: pre-wrap; width: fit-content; }
.msg.assistant .bubble { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.bubble p { margin: 0 0 10px; } .bubble p:last-child { margin-bottom: 0; }
.bubble ul { margin: 0 0 10px; padding-left: 20px; }
.bubble blockquote { margin: 0 0 10px; padding-left: 12px; border-left: 3px solid var(--brand); color: var(--muted); }
.fw-note { font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.actions .btn { padding: 6px 12px; font-size: 13px; }
.flag { background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-top: 10px; }
.typing::after { content: "\25CF"; animation: blink 1s infinite; margin-left: 2px; color: var(--brand); }
@keyframes blink { 50% { opacity: 0; } }

.composer { padding: 10px 20px 14px; border-top: 1px solid var(--line); background: var(--bg); }
.composer > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.options summary { cursor: pointer; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.opt-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; font-size: 12.5px; color: var(--muted); }
.opt-row label { display: grid; gap: 4px; }
.input-row { display: flex; gap: 10px; align-items: flex-end; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.input-row textarea { flex: 1; font: inherit; border: 0; resize: none; background: transparent; color: var(--ink); padding: 6px 8px; max-height: 240px; outline: none; }

.dialog { border: 1px solid var(--line); border-radius: 18px; padding: 24px; max-width: 400px; width: calc(100% - 32px); background: var(--panel); color: var(--ink); }
.dialog::backdrop { background: rgba(0,0,0,.45); }
.dialog h2 { margin: 0 0 8px; font-size: 21px; }
.dialog .btn { margin-top: 10px; }
.small-btn { padding: 5px 12px; font-size: 13px; }
.dialog.credits { max-width: 760px; padding: 0; max-height: calc(100vh - 32px); }
.dialog.credits > * { padding: 0 22px; }
.dialog.credits h3 { font-size: 15px; margin: 18px 0 10px; }
.cr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 22px 14px !important; border-bottom: 1px solid var(--line); }
.cr-head h2 { margin: 0 0 4px; } .cr-head p { margin: 0; font-size: 13.5px; }
.icon-x { background: none; border: 0; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; margin: 0 !important; }
.cr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 16px; }
.cr-stat { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; background: var(--bg); }
.cr-stat span { font-size: 12.5px; color: var(--muted); } .cr-stat strong { font-size: 24px; letter-spacing: -0.01em; }
.cr-stat small { font-size: 12px; color: var(--muted); } .cr-stat strong.good { color: var(--brand); }
.cr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.pack { display: grid; gap: 4px; width: 100%; font: inherit; text-align: left; border: 1px solid var(--line); border-radius: 12px;
        background: var(--bg); color: var(--ink); padding: 12px 14px; cursor: pointer; }
.pack:hover:not(:disabled) { border-color: var(--brand); } .pack:disabled { cursor: default; }
.pack strong { font-size: 15px; } .pack span { color: var(--muted); font-size: 13px; } .pack em { font-style: normal; color: var(--brand); font-size: 13.5px; font-weight: 600; }
.pack.current { border-color: var(--brand); }
.cr-history { display: grid; margin-bottom: 8px; }
.cr-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cr-row .d { color: var(--muted); } .cr-row .n { font-weight: 600; } .cr-row .n.plus { color: var(--brand); }
@media (max-width: 600px) { .cr-stats { grid-template-columns: 1fr; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg);
         padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 50; max-width: calc(100% - 32px); }

@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 82%; max-width: 300px; z-index: 10; transform: translateX(-100%); transition: transform .2s; }
  .sidebar.open { box-shadow: 0 0 40px rgba(0,0,0,.25); }
  .sidebar.open { transform: none; }
  .icon-btn { display: inline-block; }
  .topbar, .thread, .composer { padding-left: 16px; padding-right: 16px; }
  .opt-row { grid-template-columns: 1fr; }
  .usage { font-size: 12px; }
}

/* Vault (owner only) */
.vault { flex: 1; overflow-y: auto; padding: 20px; }
.vault > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.vault-bar { display: grid; gap: 10px; margin-bottom: 14px; }
.vault-bar input[type=search] { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); width: 100%; }
.vault-filters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vault-filters select { font: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); width: 100%; }
.vault-list { display: grid; gap: 8px; }
.v-item { text-align: left; font: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; color: var(--ink); display: grid; gap: 4px; }
.v-item:hover { border-color: var(--brand); }
.v-item .s { font-weight: 600; }
.v-item .b, .v-item .n { font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip { font-size: 12px; background: var(--brand-soft); border-radius: 999px; padding: 3px 10px; }
.vault-detail h2 { margin: 10px 0 4px; font-size: 22px; }
.vd-body { white-space: pre-wrap; font: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-top: 12px; }
.modeling { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
@media (max-width: 820px) { .vault { padding: 16px; } .vault-filters { grid-template-columns: 1fr 1fr; } }

/* Client workspaces */
.ws { position: relative; margin: 0 0 12px; }
.ws-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 4px 6px; }
.ws-btn { width: 100%; display: flex; align-items: center; gap: 10px; font: inherit; font-weight: 600; text-align: left;
          padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); cursor: pointer; }
.ws-btn[aria-expanded=true] { border-color: var(--brand); }
.ws-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-caret { color: var(--muted); font-size: 12px; }
.ws-badge { flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; }
.ws-menu { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); background: var(--panel); border: 1px solid var(--line);
           border-radius: 12px; padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.18); max-height: 60vh; overflow-y: auto; }
.ws-menu .ws-label { margin: 10px 8px 4px; }
.ws-item { width: 100%; display: flex; align-items: center; gap: 10px; font: inherit; font-size: 14px; text-align: left; padding: 7px 8px;
           border: 0; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; }
.ws-item:hover, .ws-item.active { background: var(--bg); }
.ws-item .ws-name { font-weight: 500; }
.ws-item .tick { color: var(--brand); font-weight: 800; }
.ws-item.add { color: var(--brand); font-weight: 600; }
.link.small { font-size: 12.5px; margin: 6px 4px 0; }
.dialog.wide { max-width: 560px; width: calc(100% - 32px); max-height: calc(100vh - 32px); }
.files-box { border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; }
.files-box.drag { border-color: var(--brand); background: var(--brand-soft); }
.files-head { display: flex; justify-content: space-between; align-items: center; }
.upload-btn { margin: 0 !important; font-size: 13px !important; }
.file-list { display: grid; gap: 6px; margin-top: 8px; }
.file-row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; background: var(--bg); border-radius: 8px; padding: 6px 10px; }
.file-row .fn { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .fs { color: var(--muted); font-size: 12px; }
.file-row button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 16px; }
.form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
                 background: var(--bg); color: var(--ink); width: 100%; resize: vertical; }
.btn.danger { margin-left: auto; color: #d23a2b; border-color: transparent; background: transparent; }

/* Sales page (logged out) */
.landing { display: block; min-height: 100%; }
.hero { max-width: 1120px; margin: 0 auto; padding: 40px 16px 32px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -0.02em; margin: 14px 0 14px; }
.lead { font-size: 17px; color: var(--muted); margin: 0 0 16px; }
.lead strong { color: var(--ink); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 18px 0 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.hero .auth-card { max-width: none; }
.auth-card h2 { margin: 0; font-size: 22px; }
.stats { max-width: 1120px; margin: 0 auto 8px; padding: 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; text-align: center; }
.stats strong { font-size: 28px; letter-spacing: -0.01em; color: var(--brand); }
.stats span { font-size: 13px; color: var(--muted); }
.band { padding: 48px 16px; }
.band.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-inner { max-width: 1040px; margin: 0 auto; }
.band h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.01em; margin: 6px 0 12px; }
.split { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: center; }
.proof-img { margin: 0; }
.proof-img img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); }
.proof-img.portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.proof-img figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.proof-img figcaption strong { color: var(--ink); }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 22px 0; align-items: start; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
.ba { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 4px; align-content: start; }
.ba strong { font-size: 36px; letter-spacing: -0.02em; }
.ba.after strong { color: var(--brand); }
.ba-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ba .proof-img { margin-top: 10px; }
.niches { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px 0 26px; }
.niches span { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.dfy { background: var(--brand-soft); }
.dfy .btn { margin-top: 10px; padding: 14px 26px; font-size: 16px; }
.site-foot { text-align: center; font-size: 12.5px; color: var(--muted); padding: 24px 16px 32px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .proof-img.portrait { max-width: 240px; }
  .before-after { grid-template-columns: 1fr; }
}
.split:has(> .proof-img[hidden]) { grid-template-columns: 1fr; }
.proof-img.no-img { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.proof-img.no-img figcaption { margin: 0; font-size: 15px; color: var(--ink); }

/* Long-form letter */
.letter, .letter-inner { max-width: 720px; margin: 0 auto; padding: 40px 16px 8px; font-size: 17px; line-height: 1.7; }
.letter-inner { padding: 0; }
.letter p { margin: 0 0 16px; }
.letter .big { font-size: 22px; font-weight: 700; line-height: 1.35; }
.letter h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; text-align: center; margin: 40px 0 6px; letter-spacing: -0.01em; }
.letter .sub { text-align: center; color: var(--muted); margin-bottom: 24px; }
.letter h3 { font-size: 21px; margin: 28px 0 12px; }
.letter .ticks li, .letter-inner .ticks li { margin-bottom: 8px; }
.quotes { list-style: none; padding: 0 0 0 16px; margin: 0 0 16px; border-left: 3px solid var(--brand); font-style: italic; color: var(--muted); }
.styles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 22px; }
.styles div { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 4px; }
.styles span { color: var(--muted); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.steps div { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.steps p { color: var(--muted); font-size: 14.5px; margin: 6px 0 0; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 8px; }
.steps strong { display: block; font-size: 17px; }
.big-btn { padding: 14px 26px; font-size: 16px; margin-top: 14px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .letter { font-size: 16px; } }

/* Stand-out UI: modes, credits, chats, emailprofit card */
.modes { padding: 4px; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.mode { font-size: 15px; padding: 8px 18px; border-radius: 9px; display: inline-flex; align-items: center; gap: 7px; }
.mode .mi { font-size: 14px; opacity: .8; }
.mode:hover:not(.active) { color: var(--ink); background: var(--bg); }
.mode.active { background: var(--brand); color: #fff; box-shadow: 0 2px 8px rgba(255,90,31,.35); }
.credits-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: 14px;
                padding: 6px 6px 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; }
.credits-pill .coin { color: #f5b301; font-size: 12px; }
.credits-pill .usage { margin: 0; font-size: 14px; color: var(--ink); }
.credits-pill .buy-label { background: var(--brand); color: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px; }
.credits-pill:hover .buy-label { filter: brightness(1.07); }
.credits-pill.low { border-color: var(--brand); animation: pulse 2s ease-in-out 3; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px rgba(255,90,31,.2); } }
.chats-label { margin: 18px 4px 2px; }
.conv-list { margin-top: 4px; }
.conv { padding: 9px 10px; border: 1px solid transparent; margin-bottom: 2px; }
.conv:hover { background: var(--bg); border-color: var(--line); }
.conv.active { background: var(--brand-soft); border-color: var(--brand); }
.conv .t { font-weight: 500; }
.conv .m { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.ep-card { position: relative; gap: 4px; padding: 14px; border: 1px solid rgba(255,90,31,.35);
           background: linear-gradient(135deg, var(--brand-soft), var(--panel)); box-shadow: 0 2px 10px rgba(255,90,31,.12); transition: transform .15s; }
.ep-card:hover { transform: translateY(-1px); border-color: var(--brand); }
.ep-card strong { font-size: 14.5px; }
.ep-badge { justify-self: start; font-size: 10.5px !important; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
            color: #fff !important; background: #16a34a; border-radius: 999px; padding: 2px 8px; }
.ep-card em { font-style: normal; font-weight: 700; color: var(--brand); font-size: 13px; margin-top: 2px; }
.form label .fine { font-weight: 400; }

/* ===================== v2 design (matches the CopyProfit mockup) ===================== */
:root { --brand: #ff5a1f; --brand-2: #ff7a2f; --radius: 16px; --gold: #f5a623; --shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 16px rgba(16,24,40,.06); }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.logo-img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.brand { gap: 10px; font-size: 20px; letter-spacing: -0.01em; }
.brand.small { font-size: 19px; margin: 4px 4px 18px; }
.hl { color: var(--brand); }
.btn.primary { background: linear-gradient(180deg, var(--brand-2), var(--brand)); box-shadow: 0 2px 8px rgba(255,90,31,.28); }

/* ---- landing ---- */
.site-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 14px max(16px, calc((100% - 1160px) / 2));
            background: rgba(247,247,245,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-nav .brand { text-decoration: none; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; font-size: 14.5px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); } .nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }
.ghost-btn { background: var(--panel); }
.hero { max-width: 1160px; padding: 56px 16px 36px; grid-template-columns: 1.25fr 1fr; gap: 56px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -0.035em; margin: 16px 0 18px; }
.hero .lead { font-size: 18px; color: var(--muted); }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; top: 3px;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks li { padding-left: 28px; }
.auth-card { border-radius: 20px; box-shadow: var(--shadow); padding: 30px; }
.auth-card h2 { font-size: 24px; letter-spacing: -0.02em; }
.auth-card .small { font-size: 14px; margin: 6px 0 16px; }
.form input:not([type=checkbox]) { padding: 13px 14px; border-radius: 11px; background: var(--panel); }
.form input:focus, .opt-row select:focus, .opt-row input:focus, textarea:focus { outline: 2px solid rgba(255,90,31,.35); outline-offset: 0; border-color: var(--brand); }
.big-btn { padding: 14px 22px; font-size: 16px; }
.switch { margin-top: 12px; }
.stats { max-width: 1160px; gap: 14px; }
.stats div { text-align: left; padding: 20px 22px; border-radius: 16px; box-shadow: var(--shadow); }
.stats strong { font-size: 34px; letter-spacing: -0.03em; }
.about { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: center; max-width: 900px; }
.avatar-lg img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid var(--panel); box-shadow: var(--shadow); }
.about:has(.avatar-lg[hidden]) { grid-template-columns: 1fr; }
.signature { font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive; font-size: 30px; margin: 10px 0 0; color: var(--ink); }
.inline-ticks { margin: 12px 0; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 24px 0; }
.result { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 2px; box-shadow: var(--shadow); }
.r-before { font-weight: 700; font-size: 15px; color: var(--muted); }
.r-after { color: var(--brand); font-size: 26px; letter-spacing: -0.02em; }
.r-note { font-size: 13px; color: var(--muted); }
.spark { width: 100%; height: 48px; margin: 10px 0 6px; } .spark path { stroke: #2563eb; stroke-width: 2.5; }
.r-tag { justify-self: start; font-size: 11.5px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--muted); }
.styles div { box-shadow: var(--shadow); } .styles .si { font-size: 22px; }
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 26px 0 8px; }
.price { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px; display: grid; gap: 4px; text-align: center; box-shadow: var(--shadow); }
.price.popular { border: 2px solid var(--brand); }
.price strong { font-size: 34px; letter-spacing: -0.03em; } .p-name { font-weight: 700; } .p-cred { font-weight: 600; } .p-note { font-size: 12.5px; color: var(--muted); }
.badge-pop { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.dfy-band { background: linear-gradient(90deg, var(--brand-soft), var(--panel)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dfy-inner { max-width: 1040px; margin: 0 auto; padding: 28px 16px; display: flex; align-items: center; gap: 18px; }
.dfy-inner p { margin: 4px 0 0; color: var(--muted); font-size: 14px; } .dfy-inner .btn { margin-left: auto; white-space: nowrap; }
.ep-logo, .ep-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #16a34a; color: #fff; font-size: 22px; flex: none; }
@media (max-width: 860px) {
  .nav-links { display: none; } .about { grid-template-columns: 1fr; text-align: center; } .avatar-lg { justify-self: center; }
  .dfy-inner { flex-direction: column; text-align: center; } .dfy-inner .btn { margin: 0; }
}

/* ---- app shell ---- */
.app { grid-template-columns: 280px 1fr; }
.sidebar { padding: 18px 16px; }
.ws-btn { background: var(--panel); padding: 10px 12px; box-shadow: var(--shadow); }
.ws-text { flex: 1; display: grid; min-width: 0; } .ws-type { font-size: 12px; font-weight: 500; color: var(--muted); }
.ws-badge { width: 32px; height: 32px; border-radius: 9px; font-size: 13px; }
#new-chat { gap: 8px; padding: 12px; font-size: 15px; }
.day-label { font-size: 12px; color: var(--muted); margin: 12px 8px 4px; }
.conv { border-radius: 10px; }
.conv .m[data-mode=critique] { color: #7c3aed; background: #f5f0ff; border-color: #e5dbff; }
.conv .m[data-mode=write] { color: var(--brand); background: var(--brand-soft); border-color: #ffd9c7; }
.ep-card { border-radius: 16px; padding: 16px; gap: 6px; }
.ep-card strong { font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; }
.ep-badge { display: inline-flex !important; align-items: center; gap: 8px; background: none !important; color: #16a34a !important; padding: 0 !important; font-size: 11.5px !important; }
.ep-badge .ep-ico { width: 30px; height: 30px; font-size: 16px; border-radius: 8px; }
.ep-card em { text-decoration: underline; text-underline-offset: 3px; }
.user-row { align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.user-row #user-name { flex: 1; color: var(--ink); font-weight: 600; } .user-row .link { text-decoration: none; }
.topbar { padding: 14px 24px; }
.modes { background: var(--panel); }
.mode { gap: 8px; padding: 9px 18px; }
.modes.locked .mode:not(.active) { display: inline-flex; }  /* every tab always visible */
.credits-pill { padding: 5px 5px 5px 14px; box-shadow: var(--shadow); }
.credits-pill .coin { color: var(--gold); display: inline-flex; font-size: 16px; }
.credits-pill .buy-label { padding: 7px 14px; font-size: 13.5px; border-radius: 10px; }
.empty { max-width: 860px; margin: 6vh auto 0; }
.empty h2 { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 14px; }
.empty > p { font-size: 16.5px; max-width: 620px; margin: 0 auto; }
.starters { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.starter { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 16px; box-shadow: var(--shadow); transition: transform .12s, border-color .12s; }
.starter:hover { transform: translateY(-1px); }
.st-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 24px; flex: none; }
.st-text { flex: 1; display: grid; gap: 3px; } .st-text strong { font-size: 16.5px; } .st-text span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.st-go { color: var(--brand); font-size: 18px; }
.options { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; margin-bottom: 12px; }
.options summary { margin: 0; font-weight: 600; color: var(--ink); font-size: 14px; }
.options[open] summary { margin-bottom: 10px; }
.opt-row { margin-bottom: 2px; } .opt-row label > span { font-size: 12px; color: var(--muted); }
.opt-row select, .opt-row input { background: var(--panel); border-radius: 10px; padding: 10px 12px; }
.input-row { align-items: center; border-radius: 16px; padding: 8px 8px 8px 12px; box-shadow: var(--shadow); }
.clip-btn { color: var(--muted); cursor: pointer; padding: 6px; display: inline-flex; font-size: 20px; }
.clip-btn:hover { color: var(--brand); }
.send-btn { width: 48px; height: 48px; border-radius: 12px; border: 0; background: linear-gradient(180deg, var(--brand-2), var(--brand)); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 20px; box-shadow: 0 2px 8px rgba(255,90,31,.3); }
.send-btn:disabled { opacity: .55; cursor: not-allowed; }
.msg.assistant { position: relative; padding-left: 52px; }
.msg-ava { position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 10px; }
.msg.assistant .bubble { border-radius: 16px; box-shadow: var(--shadow); }
.actions .btn:last-child[target] { background: linear-gradient(180deg, var(--brand-2), var(--brand)); color: #fff; border-color: var(--brand); }
.cr-stat { display: flex; align-items: center; gap: 12px; }
.cr-stat > div { display: grid; } .cr-stat strong { font-size: 22px; } .cr-stat > div span { font-size: 12px; color: var(--muted); }
.cr-ico { width: 38px; height: 38px; border-radius: 10px; background: #fff6e5; color: var(--gold); display: grid; place-items: center; font-size: 18px; flex: none; }
.mobile-nav { display: none; }
@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .starters { grid-template-columns: 1fr; }
  .modes .mode span { display: none; } .modes .mode { padding: 9px 12px; }
  .credits-pill .usage { display: none; }
  .composer { padding-bottom: 76px; }
  .mobile-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--panel);
                border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
  .mobile-nav button { background: none; border: 0; display: grid; justify-items: center; gap: 2px; font: inherit; font-size: 11px; color: var(--muted); cursor: pointer; }
  .mobile-nav button svg { font-size: 20px; }
  .mobile-nav .m-plus { width: 52px; height: 52px; margin: -20px auto 0; border-radius: 50%; background: linear-gradient(180deg, var(--brand-2), var(--brand)); color: #fff; place-items: center; box-shadow: 0 4px 14px rgba(255,90,31,.4); }
  .mobile-nav .m-plus svg { font-size: 24px; }
}
@media (prefers-color-scheme: dark) {
  :root { --shadow: none; }
  .site-nav { background: rgba(17,18,20,.86); }
  .conv .m[data-mode=critique] { background: #241a3a; border-color: #3b2a63; color: #c4b5fd; }
  .conv .m[data-mode=write] { border-color: #5a2a14; }
  .cr-ico { background: #2b2412; }
}

/* ---- landing spacing (roomier, emailprofit.ai-style) ---- */
.landing .band { padding: 88px 20px; }
.landing .band-inner { max-width: 1120px; }
.section-title { font-size: clamp(28px, 3.6vw, 44px) !important; letter-spacing: -0.03em; line-height: 1.1; margin: 8px auto 14px !important; max-width: 760px; }
.landing .band .muted.center { max-width: 640px; margin: 0 auto; font-size: 17px; }
.hero { padding: 80px 20px 56px; align-items: start; }
.hero .ticks { margin-top: 26px; gap: 12px; }
.stats { padding: 0 20px; margin-bottom: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.feature strong { display: block; font-size: 18px; margin: 14px 0 6px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.f-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 22px; }
.results { gap: 18px; margin: 40px 0 24px; } .result { padding: 24px; }
.niches { gap: 10px; margin: 28px auto 0; max-width: 860px; } .niches span { padding: 8px 16px; font-size: 14.5px; box-shadow: var(--shadow); }
.styles { gap: 16px; margin-top: 32px; } .styles div { padding: 22px; border-radius: 16px; }
.steps { gap: 20px; margin-top: 40px; } .steps div { padding: 26px; border-radius: 18px; box-shadow: var(--shadow); background: var(--panel); }
.price-cards { gap: 18px; margin: 40px 0 18px; } .price { padding: 28px 20px; }
.about { gap: 48px; } .about h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; margin: 0 0 10px; }
.dfy-inner { padding: 40px 20px; }
.landing .band.alt { background: var(--panel); }
.landing .band.alt .feature, .landing .band.alt .steps div, .landing .band.alt .result { background: var(--bg); }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } .landing .band { padding: 60px 16px; } .hero { padding-top: 40px; } }
.hero > *, .stats > *, .features > *, .results > *, .price-cards > * { min-width: 0; }
.hero .auth-card { width: 100%; }
.section-title { max-width: 900px; }
.voice-title { margin-top: 72px !important; }
.styles { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .styles { grid-template-columns: 1fr 1fr; } .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .styles { grid-template-columns: 1fr; } .site-nav .ghost-btn { display: none; } .hero h1 { font-size: 36px; } }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; } .hero .auth-card { max-width: 520px; } }
.input-row textarea:focus { outline: none; border: 0; }
.input-row:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,90,31,.15); }
.brand-name { font-weight: 800; letter-spacing: -0.02em; }
.bubble.typing[data-status]:empty::before { content: attr(data-status); color: var(--muted); font-size: 14px; margin-right: 4px; }
.ctx-bar { width: 100%; display: flex; align-items: center; gap: 12px; font: inherit; text-align: left; cursor: pointer; background: var(--panel);
           border: 1px dashed rgba(255,90,31,.45); border-radius: 14px; padding: 10px 14px; margin-bottom: 10px; color: var(--ink); }
.ctx-bar:hover { border-style: solid; border-color: var(--brand); }
.ctx-bar > span:nth-child(2) { flex: 1; min-width: 0; font-size: 14px; } .ctx-bar .muted { font-size: 13px; }
.ctx-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); display: grid; place-items: center; font-size: 17px; flex: none; }
.ctx-go { color: var(--brand); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.ctx-dialog { padding: 0; max-width: 640px; } .ctx-dialog > * { padding-left: 22px; padding-right: 22px; }
.ctx-sec { border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 16px; }
.ctx-sec p.fine { margin-top: 2px; }
.ctx-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; } .ctx-actions .btn { margin: 0; }
.ctx-paste { display: grid; gap: 8px; margin-top: 10px; }
.ctx-paste input, .ctx-paste textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
.ctx-status { padding-bottom: 6px; }
.paywall { position: fixed; inset: 0; z-index: 60; background: rgba(17,18,20,.55); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.paywall-card { width: 100%; max-width: 460px; background: var(--panel); border-radius: 22px; padding: 32px 28px; box-shadow: 0 20px 60px rgba(0,0,0,.25); text-align: center; }
.paywall-card h2 { font-size: 28px; margin: 6px 0 4px; letter-spacing: -0.02em; }
.paywall-card .ticks { text-align: left; margin: 18px 0 22px; display: grid; gap: 8px; }
.logo-img.big { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 10px; }
.pw-price { display: grid; gap: 2px; margin: 18px 0 4px; } .pw-price strong { font-size: 48px; letter-spacing: -0.03em; color: var(--brand); }
.pw-price span { color: var(--muted); font-size: 14px; }
.admin-btn { margin-left: auto; font: inherit; font-weight: 600; font-size: 13.5px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); border-radius: 999px; padding: 8px 14px; cursor: pointer; box-shadow: var(--shadow); }
.admin-btn:not([hidden]) + .credits-pill { margin-left: 10px; }
.admin-dialog { max-width: 980px; width: calc(100% - 32px); padding: 0; max-height: calc(100vh - 32px); }
.admin-dialog > * { padding-left: 22px; padding-right: 22px; }
.adm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.adm-stats div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; }
.adm-stats strong { font-size: 22px; letter-spacing: -0.02em; } .adm-stats span { font-size: 12px; color: var(--muted); }
.adm-sec { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 6px; }
.adm-add { display: grid; grid-template-columns: 1.2fr 1.4fr 1.2fr .7fr auto; gap: 10px; align-items: end; }
.adm-add label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.adm-add input, .adm-list-head input, .adm-cust input { font: inherit; font-size: 14px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
.adm-add .btn { margin: 0; }
.adm-list-head { display: flex; align-items: center; gap: 12px; } .adm-list-head h3 { flex: 1; } .adm-list-head input { max-width: 260px; }
.adm-list { display: grid; gap: 10px; }
.adm-cust { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--panel); }
.adm-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .adm-top strong { font-size: 15.5px; } .adm-top .muted { font-size: 13.5px; }
.pill { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 9px; border: 1px solid var(--line); background: var(--bg); }
.pill.ok { color: #15803d; border-color: #bbf7d0; background: #f0fdf4; } .pill.off { color: #b91c1c; border-color: #fecaca; background: #fef2f2; }
.pill.own { color: var(--brand); border-color: #ffd9c7; background: var(--brand-soft); }
.adm-meta { font-size: 13px; color: var(--muted); margin: 6px 0 10px; }
.adm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .adm-actions input { width: 110px; }
.adm-actions .btn { margin: 0; padding: 7px 12px; font-size: 13px; }
.adm-status { padding-bottom: 14px; }
@media (max-width: 760px) { .adm-add { grid-template-columns: 1fr 1fr; } .adm-list-head { flex-wrap: wrap; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.auth-card { scroll-margin-top: 90px; }
.price-cards.tiers { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.price.tier { text-align: left; gap: 6px; padding: 24px 22px; }
.p-amt { display: flex; align-items: baseline; gap: 6px; } .p-amt strong { font-size: 40px; } .p-amt span { color: var(--muted); font-size: 14px; }
.p-acc { color: var(--brand); font-weight: 700; font-size: 16px; } .p-who, .price.tier .p-cred { color: var(--muted); font-size: 14px; font-weight: 400; }
.price.tier .p-note { font-size: 13.5px; margin-bottom: 12px; } .price.tier .btn { margin-top: auto; }
.tier-note { text-align: center; color: var(--muted); margin: 0 0 18px; font-size: 15px; }

/* join: order summary + tier picker */
.order-sum { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 4px 0 14px; background: var(--bg); text-align: left; font-size: 14.5px; }
.os-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--muted); }
.os-row strong { color: var(--ink); }
.os-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; color: var(--ink); font-weight: 700; }
.os-total strong { font-size: 18px; color: var(--brand); }
.os-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.pw-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 12px; }
.pw-tier { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--panel); cursor: pointer; font: inherit; color: var(--ink); }
.pw-tier span { font-size: 13px; color: var(--brand); font-weight: 600; } .pw-tier em { font-style: normal; font-size: 13px; color: var(--muted); }
.pw-tier.on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
