/* Public site and account door. Not the studio shell. */

:root {
    --ink: #1a1a2e;
    --secondary: #4b5563;
    --muted: #6b7280;
    --navy: #1b2a3b;
    --nav-text: #c3cdd8;
    --nav-muted: #8696a8;
    --orange: #e8560a;
    --action: #c94608;
    --paper: #f5f6f8;
    --white: #fff;
    --line: #e5e7eb;
    --input: #d1d5db;
    --accent-bg: #fff0ea;
    --accent-text: #9a3412;
    --success: #16a34a;
    --success-bg: #f0fdf4;
    --success-text: #166534;
    --info-bg: #eff6ff;
    --info-text: #1e40af;
    --warn-bg: #fffbeb;
    --warn-text: #92400e;
    --subtle: #eef0f3;
    --display: "Sora", system-ui, sans-serif;
    --body: "Inter", system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.5;
}

body.public-body { background: var(--white); }

img { max-width: 100%; height: auto; }
a { color: var(--action); text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.12; margin: 0; }
p { margin: 0; }

.pub-beta {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--warn-bg);
    color: var(--warn-text);
    border-bottom: 1px solid #f3d19a;
    padding: 10px 24px;
    text-align: center;
    font-size: 0.92rem;
}
.pub-beta p { margin: 0; }
.pub-beta a { color: var(--warn-text); font-weight: 700; text-decoration: underline; margin-left: 8px; }

.pub-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 72px;
    padding: 18px 120px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.pub-logo, .pub-logo span { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.pub-logo small, .acct-logo-by { color: var(--muted); font-family: var(--body); font-weight: 500; font-size: 0.75rem; }
.pub-links { display: flex; gap: 28px; color: var(--secondary); font-size: 15px; font-weight: 500; }
.pub-links a { color: var(--secondary); }
.pub-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.pub-links span { color: var(--muted); }
.pub-nav-end { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.pub-lang { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }
.pub-lang a { color: var(--muted); }
.pub-lang a[aria-current="true"] { color: var(--ink); font-weight: 700; }
.pub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--action);
    color: var(--white);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--action);
}
.pub-btn-ghost { background: var(--white); color: var(--ink); border-color: var(--input); font-size: 13px; }
.pub-btn-lg { padding: 14px 22px; font-size: 15px; }
.pub-hero, .pub-section, .pub-final { padding: 72px 120px 80px; }
.pub-hero { text-align: center; background: #f3f5f8; }
.pub-hero h1 { max-width: 860px; margin: 22px auto 0; font-size: 3.5rem; letter-spacing: -0.03em; line-height: 1.08; }
.pub-lead, .pub-center { max-width: 760px; margin: 22px auto 0; color: var(--secondary); font-size: 17px; line-height: 1.6; }
.pub-pill {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px 6px 6px;
    color: var(--secondary);
    font-size: 0.9rem;
}
.pub-pill span, .pub-plans article.is-popular header span {
    background: var(--accent-bg);
    color: var(--accent-text);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.75rem;
}
.pub-hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.pub-points { display: flex; justify-content: center; gap: 22px; padding: 0; margin: 22px 0 0; list-style: none; color: var(--secondary); font-size: 14px; }
.pub-points li::before { content: "✓ "; color: var(--success); font-weight: 700; }
.pub-shot {
    margin: 40px auto 0;
    max-width: 1120px;
    background: var(--white);
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    text-align: left;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(27, 42, 59, 0.1);
}
.pub-shot-bar { display: flex; gap: 6px; align-items: center; padding: 12px 16px; background: #f7f8fa; border-bottom: 1px solid var(--line); }
.pub-shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.pub-shot-bar span.is-red { background: #ff5f57; }
.pub-shot-bar span.is-yellow { background: #febc2e; }
.pub-shot-bar span.is-green { background: #28c840; }
.pub-shot-bar code { margin-left: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.pub-app { display: grid; grid-template-columns: 196px minmax(0, 1fr); min-height: 560px; }
.pub-side { background: var(--navy); color: var(--nav-text); padding: 16px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.pub-side-brand { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--white); font-family: var(--display); font-weight: 700; font-size: 15px; }
.pub-side-brand small { display: block; color: var(--nav-muted); font-family: var(--body); font-weight: 500; font-size: 10px; }
.pub-side-search { margin: 0; display: flex; align-items: center; background: #23354a; border: 1px solid #2e4057; border-radius: 8px; color: var(--nav-muted); padding: 7px 8px 7px 10px; font-size: 12px; }
.pub-side-search kbd { margin-left: auto; background: #2e4057; border-radius: 4px; padding: 1px 5px; font-size: 10px; }
.pub-side-kicker { margin: 8px 0 0; color: var(--nav-muted); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pub-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pub-side li { padding: 7px 10px; border-radius: 8px; font-size: 13px; color: var(--nav-text); }
.pub-side li.is-on { background: #2e4057; color: var(--white); font-weight: 600; box-shadow: inset 3px 0 0 var(--orange); }
.pub-side-credits { margin-top: auto; background: #23354a; border-radius: 10px; padding: 10px 12px; }
.pub-side-credits p { margin: 0; color: var(--nav-muted); font-size: 11px; }
.pub-side-credits strong { display: block; margin-top: 4px; color: var(--white); font-size: 12px; }
.pub-side-credits span { color: var(--nav-text); font-size: 11px; }
.pub-side-credits strong::before { content: ""; display: block; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--orange) 58%, #2e4057 58%); margin-bottom: 6px; }
.pub-side-user { display: flex; gap: 8px; align-items: center; margin: 8px 0 0; padding-top: 10px; border-top: 1px solid #2e4057; color: var(--white); font-size: 12px; font-weight: 600; }
.pub-side-user > span:first-child { width: 28px; height: 28px; border-radius: 999px; background: var(--orange); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.pub-side-user small { display: block; color: var(--nav-muted); font-weight: 500; }
.pub-main { background: #f7f8fa; padding: 0 14px 14px; min-width: 0; }
.pub-main-top, .pub-main-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pub-main-top { height: 44px; color: var(--muted); font-size: 12px; }
.pub-main-top p { margin: 0; }
.pub-main-top span { color: var(--secondary); }
.pub-main-tools { display: flex; align-items: center; gap: 8px; }
.pub-main-tools span { border: 1px solid var(--input); background: var(--white); border-radius: 8px; padding: 4px 8px; color: var(--secondary); }
.pub-main-tools .is-live { border: 0; background: transparent; color: var(--success); padding: 0; }
.pub-main-head { align-items: flex-start; padding-bottom: 10px; }
.pub-main-head h2 { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.pub-main-head em { font-style: normal; font-family: var(--body); font-size: 11px; font-weight: 600; border-radius: 999px; padding: 3px 8px; background: var(--subtle); color: var(--secondary); vertical-align: middle; }
.pub-main-head em.is-ok { background: var(--success-bg); color: var(--success-text); }
.pub-main-head p { margin-top: 6px; color: var(--muted); font-size: 12px; }
.pub-main-actions { display: flex; gap: 8px; margin: 4px 0 0; }
.pub-main-actions span { border: 1px solid var(--input); background: var(--white); border-radius: 8px; padding: 7px 10px; font-size: 12px; font-weight: 600; }
.pub-main-actions .is-solid { background: var(--action); border-color: var(--action); color: var(--white); }
.pub-shot-body { display: grid; grid-template-columns: 210px minmax(0, 1fr) 230px; gap: 10px; }
.pub-pipe, .pub-preview, .pub-agent { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.pub-shot-body header { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 8px; }
.pub-shot-body header em { font-style: normal; color: var(--success); font-size: 11px; font-weight: 600; }
.pub-pipe header em { color: var(--muted); font-weight: 500; }
.pub-agent header em { color: var(--info-text); background: var(--info-bg); border-radius: 999px; padding: 2px 8px; }
.pub-shot-body ol { list-style: none; margin: 0; padding: 0; }
.pub-pipe li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 6px; font-size: 11px; padding: 3px 4px; }
.pub-pipe li small { color: var(--muted); }
.pub-pipe li.is-done::before { content: "✓"; color: var(--success); font-weight: 700; }
.pub-pipe li.is-current { background: var(--accent-bg); border-radius: 8px; }
.pub-pipe li.is-current b { color: var(--action); }
.pub-pipe li.is-current::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.pub-pipe li.is-later { color: var(--muted); }
.pub-pipe li.is-later::before { content: ""; width: 8px; height: 8px; border: 2px solid #d1d5db; border-radius: 50%; }
.pub-tabs { display: flex; gap: 4px; font-size: 11px; color: var(--muted); }
.pub-tabs span { padding: 4px 8px; border-radius: 6px; }
.pub-tabs .is-on { background: var(--navy); color: var(--white); font-weight: 600; }
.pub-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-height: 168px; margin: 10px 0 8px; padding: 16px; border-radius: 8px; background: #14532d; align-content: center; }
.pub-board span { border-radius: 4px; padding: 6px 4px; font-size: 9px; text-align: center; color: #ecfdf5; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25); }
.pub-board-cap { margin: 0; text-align: center; color: var(--muted); font-size: 11px; }
.pub-board-checks { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 8px 0 0; padding: 0; }
.pub-board-checks li { border-radius: 999px; padding: 2px 8px; font-size: 10px; background: var(--success-bg); color: var(--success-text); }
.pub-board-checks li.is-note { background: var(--subtle); color: var(--secondary); }
.pub-badges span { border-radius: 999px; padding: 2px 8px; font-size: 0.72rem; background: var(--subtle); }
.pub-agent p { margin-top: 8px; font-size: 11px; line-height: 1.45; color: var(--secondary); }
.pub-agent b { display: block; color: var(--ink); font-size: 11px; }
.pub-agent p.is-user { background: var(--accent-bg); border-radius: 8px; padding: 8px; }
.pub-ask { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 6px 6px 6px 10px; }
.pub-ask span:first-child { flex: 1; }
.pub-ask span:last-child { background: var(--action); color: var(--white); border-radius: 6px; padding: 4px 8px; font-size: 11px; font-weight: 600; }
.pub-section h2, .pub-final h2 { font-size: 2.5rem; max-width: 820px; margin-left: auto; margin-right: auto; }
.pub-section { text-align: center; }
.pub-section-alt { background: var(--paper); }
.pub-eyebrow { color: var(--action); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.pub-split { display: grid; grid-template-columns: 1.4fr 440px; gap: 64px; text-align: left; max-width: 1200px; margin: 0 auto; align-items: start; }
.pub-split h2 { margin: 8px 0 16px; }
.pub-split p + p { margin-top: 16px; color: var(--secondary); }
.pub-facts { margin: 0; background: var(--paper); border-radius: 12px; padding: 4px 20px; }
.pub-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pub-facts div:last-child { border-bottom: 0; }
.pub-facts dt { color: var(--ink); font-weight: 600; font-size: 14px; }
.pub-facts dd { margin: 0; color: var(--secondary); font-size: 14px; }
.pub-steps, .pub-cards, .pub-features, .pub-who, .pub-plans, .pub-docs { display: grid; gap: 16px; text-align: left; margin: 36px auto 0; max-width: 1200px; }
.pub-steps, .pub-features { grid-template-columns: repeat(3, 1fr); }
.pub-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pub-cards { grid-template-columns: 1fr 1fr; }
.pub-who { grid-template-columns: repeat(3, 1fr); }
.pub-docs { grid-template-columns: repeat(4, 1fr); }
.pub-steps { list-style: none; padding: 0; }
.pub-steps li, .pub-cards article, .pub-features article, .pub-who article, .pub-plans article, .pub-docs article {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px;
}
.pub-steps span { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; background: var(--accent-bg); color: var(--action); font-weight: 700; }
.pub-steps h3, .pub-cards h3, .pub-features h3, .pub-who h3, .pub-plans h3, .pub-docs h3, .pub-faq h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.pub-steps p, .pub-cards p, .pub-features p, .pub-who p, .pub-docs li { color: var(--secondary); }
.pub-art { height: 160px; border-radius: 12px; margin: -6px -6px 12px; background: linear-gradient(160deg, #eef2f6, #d9e2ec); }
.pub-art-moon { background: linear-gradient(160deg, #1b2a3b, #31465f); }
.pub-art-acoustic { background: linear-gradient(160deg, #fff0ea, #f4b08a); }
.pub-art-garden { background: linear-gradient(160deg, #f0fdf4, #86efac); }
.pub-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.tone-accent { background: var(--accent-bg); color: var(--accent-text); }
.tone-info { background: var(--info-bg); color: var(--info-text); }
.tone-success { background: var(--success-bg); color: var(--success-text); }
.tone-warning { background: var(--warn-bg); color: var(--warn-text); }
.tone-neutral { background: var(--subtle); color: var(--secondary); }
.pub-case, .pub-who a, .pub-who span, .pub-plan-links span { color: var(--action); font-weight: 600; }
.pub-note { color: var(--muted); font-size: 0.9rem; }
.pub-suppliers { padding: 56px 120px 64px; text-align: center; background: var(--white); color: var(--secondary); }
.pub-suppliers h2 { font-family: var(--body); font-weight: 600; font-size: 15px; color: var(--secondary); margin: 0 auto 28px; max-width: 640px; }
.pub-suppliers ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 36px; list-style: none; padding: 0; margin: 0 auto; max-width: 980px; color: var(--muted); font-family: var(--display); font-weight: 700; font-size: 22px; }
.pub-suppliers p { margin-top: 20px; color: var(--muted); font-size: 12px; }
.pub-price { font-family: var(--display); font-size: 2rem; font-weight: 800; }
.pub-price small { font-family: var(--body); font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.pub-plans ul { padding-left: 18px; color: var(--secondary); }
.pub-plans article.is-popular { border-color: var(--orange); background: var(--white); }
.pub-plans header { display: flex; justify-content: space-between; align-items: center; }
.pub-plan-links { display: flex; justify-content: center; gap: 18px; align-items: center; margin-top: 28px; }
.pub-docs ul { list-style: none; padding: 0; margin: 0; }
.pub-docs li { padding: 6px 0; }
.pub-ask-docs { margin-top: 22px; color: var(--muted); }
.pub-faq { max-width: 820px; margin: 28px auto 0; text-align: left; }
.pub-faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.pub-faq details[open] { border-color: #f4b08a; }
.pub-faq summary { cursor: pointer; list-style: none; }
.pub-faq summary::-webkit-details-marker { display: none; }
.pub-faq h3 { margin: 0; font-family: var(--body); font-size: 1.05rem; font-weight: 600; }
.pub-faq p { margin-top: 10px; color: var(--secondary); }
.pub-final { text-align: center; background: var(--navy); color: var(--white); padding: 88px 120px; }
.pub-final h2 { font-size: 44px; color: var(--white); }
.pub-final p { margin: 16px auto 0; color: var(--nav-text); font-size: 18px; line-height: 1.55; max-width: 820px; }
.pub-final > p:last-child { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.pub-footer { display: flex; flex-direction: column; gap: 40px; padding: 64px 120px 40px; background: #121c29; color: var(--nav-text); }
.pub-footer-grid { display: grid; grid-template-columns: 280px repeat(5, minmax(0, 1fr)); gap: 48px; }
.pub-footer strong, .pub-footer .pub-logo { color: var(--white); display: block; margin-bottom: 8px; }
.pub-footer .pub-logo { font-size: 18px; margin-bottom: 12px; }
.pub-footer-grid > div > p { color: var(--nav-text); font-size: 14px; line-height: 1.55; }
.pub-footer nav { display: flex; flex-direction: column; gap: 10px; }
.pub-footer strong { font-family: var(--body); font-size: 13px; font-weight: 700; margin: 0; }
.pub-footer a, .pub-footer span { display: block; color: var(--nav-muted); padding: 0; font-size: 14px; }
.pub-footer-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #2e4057; padding-top: 20px; }
.pub-copy, .pub-lang-foot { color: var(--nav-muted); font-size: 13px; margin: 0; }
.pub-article-wrap { display: grid; grid-template-columns: 240px minmax(0, 820px); gap: 40px; justify-content: center; padding: 48px 24px 80px; }
.pub-article-wrap:not(:has(.pub-docs-nav)) { grid-template-columns: minmax(0, 820px); }
.pub-sheet, .pub-legal { padding: 56px 120px 88px; }
.pub-sheet { max-width: 1440px; margin: 0 auto; }
.pub-sheet.is-center { text-align: center; }
.pub-sheet.is-center .pub-article { max-width: 1100px; margin: 0 auto; }
.pub-sheet.is-center .pub-grid-cards, .pub-sheet.is-center .pub-chips { text-align: left; }
.pub-kicker { color: var(--action); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.pub-docs-layout, .pub-legal { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 48px; justify-content: center; max-width: 1440px; margin: 0 auto; }
.pub-docs-layout { padding: 40px 120px 88px; }
.pub-docs-search { margin: 0 0 8px; border: 1px solid var(--input); border-radius: 8px; padding: 8px 12px; color: var(--muted); font-size: 13px; background: var(--white); }
.pub-docs-label { margin: 18px 0 6px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pub-docs-nav a[aria-current="page"] { background: var(--subtle); border-radius: 8px; }
.pub-grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 28px; }
.pub-grid-cards article { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.pub-grid-cards h3 { margin-top: 0; }
.pub-grid-cards.is-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pub-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 28px 0; }
.pub-chips li { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--secondary); }
.pub-chips li.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pub-missing { text-align: center; padding: 120px 24px 80px; }
.pub-missing h1 { font-size: 2.6rem; margin: 8px 0 12px; }
.pub-missing a { margin: 0 10px; font-weight: 600; }
.pub-docs-nav ul { list-style: none; margin: 0; padding: 0; }
.pub-docs-nav a { display: block; padding: 6px 0; color: var(--secondary); }
.pub-docs-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.pub-article h1 { font-size: 2.6rem; margin-top: 0; letter-spacing: -0.02em; max-width: 940px; }
.pub-sheet.is-center .pub-article h1, .pub-sheet.is-center .pub-article > p { margin-left: auto; margin-right: auto; }
.pub-article h2 { margin: 32px 0 8px; font-size: 1.45rem; }
.pub-article p { color: var(--secondary); line-height: 1.55; }
.pub-article a { color: var(--action); font-weight: 600; }
.pub-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.pub-stats li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.pub-stats strong { display: block; font-family: var(--display); font-size: 1.35rem; }
.pub-stats span { color: var(--muted); font-size: 0.8rem; }

.account-body { background: var(--paper); }
.acct { display: flex; min-height: 100vh; }
.acct-brand { width: 600px; flex: 0 0 600px; background: var(--navy); color: var(--white); padding: 48px 56px; display: flex; flex-direction: column; gap: 20px; }
.acct-logo { display: flex; align-items: center; gap: 10px; color: var(--white); }
.acct-logo-name { font-family: var(--display); font-weight: 700; font-size: 1.5rem; }
.acct-logo-by { color: var(--nav-muted); }
.acct-brand h2 { font-size: 2.3rem; }
.acct-brand-copy { display: flex; flex-direction: column; gap: 16px; }
.acct-brand-copy > p { color: var(--nav-text); }
.acct-preview { background: #f9fafb; border-radius: 12px; padding: 12px; }
.acct-preview img { width: 448.88px; height: 291.4px; max-width: 100%; }
.acct-brand ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.acct-brand li::before { content: "✓ "; color: var(--orange); font-weight: 700; }
.acct-brand-foot { margin-top: auto; color: var(--nav-muted); font-size: 0.75rem; }
.acct-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.acct-form { width: 420px; max-width: 100%; display: flex; flex-direction: column; gap: 14px; }
.acct-form h1 { font-size: 1.85rem; }
.acct-lead { color: var(--secondary); font-size: 0.9rem; }
.acct-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.acct-steps span, .acct-steps a { display: inline-flex; gap: 5px; align-items: center; background: var(--subtle); color: var(--muted); border-radius: 999px; padding: 4px 10px 4px 8px; font-size: 0.75rem; font-weight: 500; }
.acct-steps .is-current { background: var(--accent-bg); color: var(--accent-text); font-weight: 600; }
.acct-steps .is-done { background: var(--success-bg); color: var(--success-text); }
.acct-types, .acct-split { display: flex; gap: 12px; }
.acct-type { flex: 1; border: 1px solid var(--input); border-radius: 10px; padding: 12px 14px; background: var(--white); cursor: pointer; }
.acct-type input { position: absolute; opacity: 0; }
.acct-type strong, .acct-type span { display: block; }
.acct-type span { color: var(--secondary); font-size: 0.75rem; margin-top: 3px; }
.acct-type.is-selected { border: 2px solid var(--orange); background: var(--accent-bg); }
.acct-social, .acct-submit {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--input);
    background: var(--white);
    padding: 11px 14px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.acct-submit { background: var(--action); color: var(--white); border-color: var(--action); font-weight: 500; }
.acct-social-mark { width: 20px; height: 20px; border-radius: 50%; background: var(--subtle); color: var(--secondary); font-size: 0.7rem; display: inline-flex; align-items: center; justify-content: center; }
.acct-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.75rem; }
.acct-or::before, .acct-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.acct-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--secondary); }
.acct-field input, .acct-field select { height: 46px; border: 1px solid var(--input); border-radius: 8px; padding: 0 14px; font: inherit; font-weight: 400; color: var(--ink); background: var(--white); }
.acct-field-row { display: flex; justify-content: space-between; }
.acct-quiet-link { color: var(--action); font-weight: 600; }
.acct-note { margin: 0; color: var(--secondary); font-size: 0.82rem; }
.acct-check { display: flex; gap: 10px; align-items: flex-start; color: var(--secondary); font-size: 0.82rem; }
.acct-check input { margin-top: 2px; accent-color: var(--action); }
.acct-switch { text-align: center; color: var(--secondary); font-size: 0.82rem; }
.acct-error { color: #b91c1c; font-size: 0.85rem; margin: 0; }
.acct-strength { display: flex; gap: 4px; align-items: center; }
.acct-strength i { flex: 1; height: 4px; border-radius: 2px; background: var(--subtle); }
.acct-strength i.is-on { background: #d1d5db; }
.acct-strength i.is-strong { background: var(--success); }
.acct-strength em { color: var(--success-text); font-style: normal; font-size: 0.75rem; font-weight: 500; }
.acct-text-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.acct-quiet-link.acct-text-button { color: var(--action); font-weight: 600; }
.acct-mail { width: 56px; height: 56px; border-radius: 999px; background: var(--accent-bg); display: flex; align-items: center; justify-content: center; }
.acct-issued { margin: 0; font-family: var(--mono); font-size: 1.6rem; font-weight: 600; letter-spacing: 0.12em; color: var(--ink); }
.acct-codes { display: flex; gap: 10px; }
.acct-codes input { width: 60px; height: 64px; text-align: center; font-family: var(--mono); font-size: 26px; border: 1px solid var(--input); border-radius: 10px; background: var(--white); color: var(--ink); }
.acct-codes input:focus { border: 2px solid var(--orange); outline: none; }
.acct-primary, .acct-secondary, .acct-ghost, .acct-icon-button { font: inherit; cursor: pointer; }
.acct-primary { display: inline-flex; align-items: center; justify-content: center; background: var(--action); color: var(--white); border: 0; border-radius: 8px; padding: 10px 16px; font-weight: 500; }
.acct-secondary { display: inline-flex; align-items: center; justify-content: center; background: var(--white); color: var(--ink); border: 1px solid var(--input); border-radius: 8px; padding: 8px 12px; font-weight: 500; font-size: 0.82rem; }
.acct-ghost { background: transparent; border: 0; color: var(--action); font-weight: 600; font-size: 0.82rem; padding: 8px 4px; }
.acct-primary.is-block, .acct-secondary.is-block { width: 100%; }
.acct-badge, .acct-pill, .acct-pill-ok { display: inline-flex; border-radius: 999px; padding: 3px 10px; font-size: 0.75rem; font-weight: 500; }
.acct-badge { background: var(--accent-bg); color: var(--accent-text); }
.acct-pill { background: var(--subtle); color: var(--secondary); }
.acct-pill-ok { background: var(--success-bg); color: var(--success-text); }
.acct-muted, .acct-fine { color: var(--muted); font-size: 0.75rem; }
.acct-fine { margin: 0 20px 16px; }

.acct-plan-page { min-height: calc(100vh - 44px); background: var(--paper); }
.acct-plan-bar { display: flex; align-items: center; gap: 16px; background: var(--navy); color: var(--white); padding: 18px 40px; }
.acct-plan-logo { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.acct-plan-steps { margin-left: auto; display: flex; gap: 8px; }
.acct-plan-steps span, .acct-plan-steps a { border-radius: 999px; padding: 4px 10px; font-size: 0.75rem; font-weight: 600; background: #2e4057; color: var(--white); }
.acct-plan-steps .is-current { background: var(--orange); }
.acct-plan-main { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 40px 80px; }
.acct-plan-main h1 { font-size: 2.1rem; }
.acct-period { display: flex; gap: 4px; background: var(--subtle); padding: 4px; border-radius: 999px; }
.acct-period button { border: 0; background: transparent; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 0.82rem; color: var(--secondary); cursor: pointer; }
.acct-period .is-selected { background: var(--white); color: var(--ink); font-weight: 600; }
.acct-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; }
.acct-plan-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.acct-plan-card.is-popular { border: 2px solid var(--orange); }
.acct-plan-name { display: flex; align-items: center; gap: 8px; }
.acct-plan-name strong { flex: 1; }
.acct-plan-price { display: flex; align-items: flex-end; gap: 6px; }
.acct-plan-price b { font-family: var(--display); font-size: 2rem; font-weight: 800; }
.acct-plan-price span, .acct-plan-summary { color: var(--secondary); font-size: 0.82rem; }
.acct-plan-card ul { list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.82rem; }
.acct-plan-card li::before { content: "✓ "; color: var(--success); font-weight: 700; }
.acct-plan-note { width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 24px; display: flex; gap: 24px; align-items: center; }
.acct-plan-note div { display: flex; flex-direction: column; gap: 4px; }
.acct-plan-note div:first-child { flex: 1; }
.acct-plan-note p { color: var(--secondary); font-size: 0.82rem; }
.acct-plan-fine { color: var(--muted); font-size: 0.75rem; }

.acct-app { display: flex; align-items: stretch; min-height: calc(100vh - 44px); background: var(--paper); }
.acct-side { width: 240px; flex: 0 0 240px; background: var(--navy); color: var(--white); padding: 18px 12px 16px; display: flex; flex-direction: column; gap: 12px; }
.acct-side-brand { display: flex; align-items: center; gap: 8px; color: var(--white); padding-left: 4px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.acct-side-brand small { color: var(--nav-muted); font-family: var(--body); font-weight: 500; font-size: 0.7rem; }
.acct-side-search { display: flex; align-items: center; gap: 8px; background: #23354a; border: 1px solid #2e4057; border-radius: 8px; color: var(--nav-text); padding: 9px 8px 9px 12px; font-size: 0.82rem; }
.acct-side-search span { flex: 1; }
.acct-side-search kbd { background: #2e4057; border-radius: 4px; padding: 2px 6px; font-size: 0.65rem; }
.acct-side-label { margin: 0; padding: 10px 4px 0; color: var(--nav-muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.acct-side-nav { display: flex; flex-direction: column; gap: 4px; }
.acct-side-nav a, .acct-side-nav span { display: flex; align-items: center; min-height: 37px; padding: 9px 10px; border-radius: 8px; color: var(--nav-text); font-size: 0.9rem; }
.acct-side-nav .is-current { background: #2e4057; color: var(--white); font-weight: 600; border-left: 3px solid var(--orange); }
.acct-side-spacer { flex: 1; }
.acct-side-credits { background: #23354a; border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.acct-side-credits p { margin: 0; color: var(--nav-muted); font-size: 0.7rem; }
.acct-side-credits strong { font-size: 0.82rem; }
.acct-side-credits i { display: block; height: 6px; border-radius: 999px; background: #2e4057; position: relative; }
.acct-side-credits i::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 80px; border-radius: 3px; background: var(--orange); }
.acct-side-user { display: flex; gap: 10px; align-items: center; padding: 8px 6px 0; border-top: 1px solid #2e4057; color: inherit; text-decoration: none; }
.acct-side-user:hover p { text-decoration: underline; }
.acct-side-user > span { width: 32px; height: 32px; border-radius: 999px; background: var(--orange); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.82rem; }
.acct-side-user p { margin: 0; font-size: 0.82rem; font-weight: 600; }
.acct-side-user small { color: var(--nav-muted); }
.acct-app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.acct-top { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 20px; background: var(--white); border-bottom: 1px solid var(--line); }
.acct-top div { flex: 1; display: flex; flex-direction: column; }
.acct-top p { margin: 0; color: var(--muted); font-size: 0.65rem; }
.acct-top strong { font-size: 0.82rem; }
.acct-icon-button { width: 34px; height: 34px; border: 1px solid var(--input); border-radius: 8px; background: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.acct-app-body { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.acct-page-head { display: flex; align-items: flex-end; gap: 12px; }
.acct-page-head div { flex: 1; }
.acct-page-head h1 { font-size: 2rem; }
.acct-page-head p { color: var(--secondary); font-size: 0.9rem; }
.acct-tabs { display: flex; gap: 4px; }
.acct-tabs a { border-radius: 8px; padding: 7px 14px; font-size: 0.82rem; color: var(--secondary); background: var(--subtle); font-weight: 500; }
.acct-tabs a.is-current { background: var(--navy); color: var(--white); font-weight: 600; }
.acct-columns { display: flex; gap: 20px; align-items: flex-start; }
.acct-column { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.acct-column-side { width: 380px; flex: 0 0 380px; display: flex; flex-direction: column; gap: 20px; }
.acct-panel { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.acct-panel header { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.acct-panel h2 { flex: 1; font-family: var(--body); font-size: 0.95rem; font-weight: 600; }
.acct-panel-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.acct-plan-row { display: flex; gap: 16px; align-items: center; }
.acct-plan-row > div:first-child { flex: 1; }
.acct-plan-label, .acct-plan-amount strong { font-family: var(--display); font-weight: 700; font-size: 1.35rem; }
.acct-plan-row p, .acct-plan-amount span { color: var(--secondary); font-size: 0.82rem; }
.acct-plan-amount { text-align: right; display: flex; flex-direction: column; }
.acct-plan-next { display: flex; justify-content: space-between; gap: 12px; background: #f9fafb; border-radius: 8px; padding: 10px 12px; color: var(--secondary); font-size: 0.82rem; }
.acct-row-actions { display: flex; gap: 8px; align-items: center; }
.acct-table-wrap { overflow-x: auto; }
.acct-panel table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.acct-panel th { text-align: left; background: #f9fafb; color: var(--secondary); font-size: 0.75rem; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.acct-panel td { padding: 11px 12px; border-bottom: 1px solid var(--line); color: var(--secondary); }
.acct-panel td:first-child { color: var(--ink); font-weight: 600; }
.acct-panel td.is-positive { color: var(--success-text); font-weight: 600; }
.acct-pay-row { display: flex; gap: 12px; align-items: center; border: 1px solid var(--input); border-radius: 10px; padding: 12px 14px; }
.acct-pay-row > b { background: var(--navy); color: var(--white); border-radius: 4px; width: 40px; height: 28px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.6rem; }
.acct-pay-row div { flex: 1; display: flex; flex-direction: column; }
.acct-pay-row span { color: var(--muted); font-family: var(--mono); font-size: 0.75rem; }
.acct-details { margin: 0; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.acct-details div { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; }
.acct-details dt { flex: 1; color: var(--secondary); }
.acct-details dd { margin: 0; font-weight: 600; }
.acct-details dd a { margin-left: 8px; font-weight: 500; }
.acct-profile { max-width: 640px; }
.acct-profile .acct-field input { width: 100%; }
.acct-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.acct-stats article { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.acct-stats span, .acct-stats small { color: var(--secondary); font-size: 0.82rem; }
.acct-stats strong { font-family: var(--display); font-size: 1.6rem; }
.acct-usage { display: flex; gap: 2px; height: 14px; }
.acct-usage i { display: block; height: 100%; }
.acct-usage .is-moon { flex: 3; background: var(--orange); }
.acct-usage .is-morse { flex: 1; background: #f59e0b; }
.acct-usage .is-review { flex: 1; background: var(--info-text); }
.acct-usage .is-left { flex: 7; background: var(--subtle); }
.acct-usage-key { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; color: var(--secondary); font-size: 0.75rem; }
.acct-usage-key li { display: flex; align-items: center; gap: 6px; }
.acct-usage-key i { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }
.acct-pack { width: 100%; display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--input); border-radius: 10px; padding: 12px 14px; text-align: left; }
.acct-pack span { flex: 1; font-weight: 600; }
.acct-pack em { background: var(--success-bg); color: var(--success-text); border-radius: 999px; padding: 3px 10px; font-style: normal; font-size: 0.75rem; }
.acct-pack.is-selected { background: var(--accent-bg); border: 2px solid var(--orange); }
.acct-topup { display: flex; gap: 10px; align-items: center; color: var(--secondary); font-size: 0.82rem; }
.acct-toggle { width: 36px; height: 20px; border-radius: 999px; border: 0; background: var(--subtle); position: relative; flex: 0 0 36px; }
.acct-toggle::before { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 999px; background: var(--white); }

@media (max-width: 1100px) {
    .pub-nav, .pub-hero, .pub-section, .pub-final, .pub-suppliers, .pub-footer { padding-left: 16px; padding-right: 16px; }
    .pub-nav { flex-wrap: wrap; }
    .pub-links { order: 3; width: 100%; flex-wrap: wrap; }
    .pub-hero h1, .pub-final h2 { font-size: 2.3rem; }
    .pub-sheet, .pub-legal, .pub-docs-layout { padding-left: 16px; padding-right: 16px; }
    .pub-app, .pub-shot-body, .pub-split, .pub-steps, .pub-features, .pub-plans, .pub-docs, .pub-footer-grid, .pub-article-wrap, .pub-stats, .pub-docs-layout, .pub-legal, .pub-grid-cards, .pub-grid-cards.is-steps { grid-template-columns: 1fr; }
    .pub-side { display: none; }
    .pub-main-head, .pub-footer-bar { display: block; }
    .pub-cards, .pub-who, .acct { grid-template-columns: 1fr; display: block; }
    .acct-brand { width: auto; flex: none; }
    .acct-preview img { width: 100%; height: auto; }
    .acct-plan-main { padding: 28px 16px; }
    .acct-plan-grid, .acct-stats, .acct-columns, .acct-app { display: block; }
    .acct-side, .acct-column-side { width: auto; flex: none; }
    .acct-plan-bar, .acct-page-head, .acct-plan-note { flex-wrap: wrap; }
}
