/* Pal cloud — warm paper, forest ink, quiet editorial hierarchy. */
:root {
  --paper:#f3f0e7; --surface:#fbf9f2; --white:#fffdf8; --ink:#263b35;
  --soft:#56635b; --muted:#5f6a60; --line:#d9dccf; --green:#28564a;
  --green-soft:#e5ece2; --brass:#826035; --brass-soft:#f0e8d7;
  --danger:#a74732; --danger-soft:#f6e8e1;
  --sans:"Segoe UI","Microsoft YaHei UI","PingFang SC",sans-serif;
  --serif:"STZhongsong","Songti SC","SimSun",Georgia,serif;
  --mono:"Cascadia Mono",Consolas,monospace;
  --radius:10px; --shadow:0 18px 70px #263b351c;
}
* { box-sizing:border-box; }
html { min-height:100%; scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:var(--sans); font-size:14px; line-height:1.6; -webkit-font-smoothing:antialiased; }
button,input,textarea,select { font:inherit; }
button,a,input,label { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.5; }
a { color:var(--green); text-decoration:none; }
a:hover { text-decoration:underline; }
button, input, textarea, select { touch-action:manipulation; }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible { outline:2px solid var(--green); outline-offset:4px; }
input,textarea,select { color:var(--ink); }
input,textarea { width:100%; border:1px solid var(--line); border-radius:8px; background:var(--white); min-height:50px; padding:12px 14px; }
input::placeholder,textarea::placeholder { color:#6b756d; }
textarea { resize:vertical; min-height:110px; }
input[type="checkbox"],input[type="radio"] { accent-color:var(--green); width:18px; height:18px; min-height:18px; margin:2px 0; flex:none; }
input[readonly] { background:#eeeede; color:var(--soft); }
input[aria-invalid="true"],.input-row.invalid { border-color:var(--danger); box-shadow:0 0 0 1px var(--danger); }
label { display:block; }
h1,h2,h3,h4,p { margin:0; }
h1 { font-family:var(--serif); font-weight:500; font-size:36px; line-height:1.4; letter-spacing:-.02em; }
h2 { font-size:23px; line-height:1.45; font-weight:600; }
h3 { font-size:17px; font-weight:600; }
p { color:var(--soft); }
ul,ol { margin:0; padding:0; list-style:none; }
svg { width:20px; height:20px; display:block; flex:none; }
[hidden] { display:none!important; }
.skip-link { position:fixed; top:-80px; left:16px; z-index:100; background:var(--green); color:white; padding:12px 18px; }
.skip-link:focus { top:12px; }
.brand { display:flex; align-items:center; gap:10px; color:var(--ink); text-decoration:none!important; }
.brand img { width:40px; height:40px; border-radius:10px; }
.brand strong { font-size:19px; font-weight:600; letter-spacing:.03em; }
.brand span { font-size:12px; color:var(--soft); margin-left:8px; }
.brand-cloud { display:block; font-size:10px!important; margin:0!important; letter-spacing:.15em; }
.portal-header { max-width:1320px; margin:auto; min-height:88px; padding:22px 48px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.header-actions { display:flex; align-items:center; gap:14px; }
.header-actions a { font-size:13px; display:flex; min-height:44px; align-items:center; }
.header-actions .tag { margin:0; }
.icon-button { width:44px; height:44px; border:1px solid var(--line); background:transparent; color:var(--ink); display:grid; place-items:center; border-radius:8px; }
.button { border:1px solid transparent; background:var(--green); color:var(--white); display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:48px; padding:11px 21px; border-radius:8px; font-size:14px; font-weight:500; text-decoration:none!important; transition:background .16s ease,border-color .16s ease; }
.button:hover { background:#1d4439; }
.button.secondary { background:transparent; color:var(--ink); border-color:var(--line); }
.button.secondary:hover { border-color:var(--green); background:#e8ebdf; }
.button.danger { background:var(--danger); color:var(--white); }
.button.danger:hover { background:#883822; }
.button.small { min-height:44px; font-size:13px; padding:8px 15px; }
.button.full { width:100%; }
.button.link { background:transparent; color:var(--green); padding:8px 6px; font-weight:500; }
.button.link:hover { background:var(--green-soft); }
.link-button { background:none; border:0; color:var(--green); padding:9px 0; min-height:44px; font-size:13px; text-align:left; display:inline-flex; align-items:center; gap:5px; }
.link-button:hover { text-decoration:underline; }
.link-button.danger { color:var(--danger); }
.tag { display:inline-flex; gap:5px; align-items:center; border:1px solid var(--line); background:var(--surface); border-radius:5px; padding:3px 7px; font-size:11px; color:var(--soft); line-height:1.6; white-space:nowrap; }
.tag.success { background:var(--green-soft); border-color:#c5d6c9; color:var(--green); }
.tag.warning { background:var(--brass-soft); border-color:#d9c5a4; color:#74532c; }
.tag.error { background:var(--danger-soft); border-color:#e1bcae; color:var(--danger); }
.eyebrow { display:flex; align-items:center; gap:12px; font-size:11px; color:var(--soft); letter-spacing:.12em; margin-bottom:17px; }
.eyebrow::before { content:""; width:25px; height:1px; background:var(--brass); }
.subtle { font-size:12px; color:var(--muted); }
.mono { font-family:var(--mono); font-variant-numeric:tabular-nums; letter-spacing:.01em; }
.section-rule { border:0; border-top:1px solid var(--line); margin:26px 0; }
.row { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.stack { display:grid; gap:18px; }
.cluster { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.field { margin-top:21px; }
.field>label { font-size:13px; font-weight:500; margin-bottom:8px; }
.field .hint { font-size:12px; color:var(--muted); margin-top:7px; }
.field-error { color:var(--danger); font-size:12px; margin-top:7px; min-height:0; }
.input-row { display:flex; align-items:center; border:1px solid var(--line); border-radius:8px; background:var(--white); overflow:hidden; min-height:52px; }
.input-row input { border:0; outline-offset:-4px; background:transparent; min-width:0; font-size:16px; }
.input-row .prefix { flex:none; padding:0 13px 0 14px; border-right:1px solid var(--line); color:var(--soft); font-size:14px; }
.input-row .inline-action { background:transparent; border:0; border-left:1px solid var(--line); color:var(--green); flex:none; padding:0 13px; min-height:44px; min-width:108px; font-size:12px; font-weight:500; }
.agree { display:flex; align-items:flex-start; gap:10px; font-size:12px; line-height:1.8; color:var(--soft); min-height:44px; padding:7px 0; cursor:pointer; }
.agree a { text-decoration:underline; text-underline-offset:3px; }
.submit-note { text-align:center; font-size:12px; margin:13px 0 0; color:var(--muted); }
.auth-wrap { max-width:1216px; margin:0 auto; display:grid; grid-template-columns:1.14fr 1fr; padding:28px 48px 55px; align-items:center; min-height:calc(100dvh - 155px); column-gap:92px; }
.auth-story { max-width:550px; }
.auth-story h1 { font-size:clamp(38px,4vw,55px); letter-spacing:-.03em; line-height:1.42; }
.auth-story h1 em { color:var(--green); font-style:normal; }
.auth-story>.lead { max-width:385px; margin-top:22px; font-size:15px; line-height:1.9; }
.auth-story .trust-line { display:flex; align-items:center; gap:9px; padding-top:20px; border-top:1px solid var(--line); font-size:12px; color:var(--soft); }
.auth-story .trust-line svg { width:17px; height:17px; }
.auth-card { padding:25px 0 28px; max-width:388px; width:100%; justify-self:center; }
.auth-card h2 { font-size:29px; font-weight:500; font-family:var(--serif); }
.auth-card .auth-description { font-size:13px; margin:9px 0 25px; }
.auth-tabs { display:flex; border-bottom:1px solid var(--line); gap:30px; margin-bottom:24px; }
.auth-tabs a { color:var(--muted); padding:10px 1px 13px; min-height:44px; font-size:14px; text-decoration:none; border-bottom:2px solid transparent; margin-bottom:-1px; }
.auth-tabs a.active { color:var(--green); border-color:var(--green); font-weight:600; }
.auth-card .field { margin-top:18px; }
.auth-card .submit { margin-top:12px; }
.auth-foot { max-width:1216px; padding:0 48px 24px; margin:auto; display:flex; justify-content:space-between; gap:10px; color:var(--muted); font-size:11px; }
.auth-foot span:last-child { display:flex; align-items:center; gap:6px; }
.scene { position:relative; height:237px; margin:24px 0; overflow:hidden; }
.orbit { position:absolute; width:210px; height:210px; border:1px solid #c7d7cb; border-radius:50%; left:50%; top:6px; transform:translateX(-50%); }
.orbit::before { content:""; position:absolute; inset:24px; border:1px dashed #d4d7cb; border-radius:50%; }
.orbit::after { content:""; position:absolute; width:8px; height:8px; background:var(--brass); border:3px solid var(--paper); box-sizing:content-box; border-radius:50%; left:18px; top:36px; }
.orbit img { position:absolute; width:126px; height:126px; object-fit:contain; top:36px; left:40px; }
.scene-card { position:absolute; background:var(--surface); border:1px solid var(--line); border-radius:9px; width:192px; padding:14px 17px; }
.scene-card.left { left:0; top:43px; }
.scene-card.right { right:0; bottom:14px; }
.scene-card h4 { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:500; }
.scene-card h4 svg { width:16px; height:16px; color:var(--green); }
.scene-card p { font-size:11px; margin-top:6px; }
.scene-card .tiny-rule { height:1px; width:65%; background:var(--line); margin-top:9px; }
.flow-main { max-width:1072px; margin:0 auto; padding:32px 48px 58px; }
.flow-main.narrow { max-width:760px; }
.flow-heading { margin-bottom:34px; }
.flow-heading p { margin-top:12px; max-width:670px; line-height:1.9; }
.stepper { display:flex; align-items:center; gap:14px; color:var(--muted); margin-bottom:25px; font-size:11px; }
.stepper span { display:flex; align-items:center; gap:6px; white-space:nowrap; }
.stepper b { border:1px solid #c8d0c2; width:22px; height:22px; border-radius:50%; display:grid; place-items:center; font-size:11px; font-weight:500; }
.stepper .active { color:var(--green); }
.stepper .active b { background:var(--green); border-color:var(--green); color:white; }
.stepper .done b { background:var(--green-soft); border-color:var(--green-soft); color:var(--green); }
.stepper i { width:38px; height:1px; background:var(--line); }
.choice-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.choice { position:relative; border:1px solid var(--line); border-radius:12px; background:var(--surface); padding:28px; min-height:237px; cursor:pointer; }
.choice:has(input:checked) { border:2px solid var(--green); padding:27px; background:#edf0e6; }
.choice>input { position:absolute; right:23px; top:23px; }
.choice-icon { width:48px; height:48px; border:1px solid #c3d2c5; border-radius:9px; display:grid; place-items:center; color:var(--green); margin-bottom:24px; }
.choice-icon svg { width:25px; height:25px; }
.choice h3 { font-family:var(--serif); font-size:23px; font-weight:500; }
.choice p { font-size:13px; margin-top:12px; max-width:315px; }
.choice small { display:block; color:var(--green); font-size:12px; margin-top:22px; }
.flow-actions { margin-top:27px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.flow-actions p { font-size:12px; }
.notice { display:flex; align-items:flex-start; gap:11px; padding:15px 18px; background:var(--green-soft); border:1px solid #ccd8c8; border-radius:8px; margin:20px 0; color:var(--green); font-size:13px; }
.notice p { color:inherit; font-size:12px; margin-top:4px; }
.notice.warning { background:var(--brass-soft); border-color:#dbcfb6; color:#74532c; }
.notice.error { background:var(--danger-soft); border-color:#e3c0b2; color:var(--danger); }
.notice svg { margin-top:2px; width:18px; height:18px; }
.workspace-list { display:grid; gap:12px; }
.workspace-card { background:var(--surface); border:1px solid var(--line); padding:21px 24px; border-radius:10px; display:flex; align-items:center; gap:18px; width:100%; text-align:left; color:var(--ink); }
.workspace-card:hover { border-color:var(--green); background:#edf0e6; }
.workspace-card .workspace-identity { flex:1; min-width:0; }
.workspace-card h3 { font-size:16px; margin-bottom:5px; overflow-wrap:anywhere; }
.workspace-card p { font-size:12px; }
.workspace-card .choice-icon { margin:0; flex:none; }
.workspace-card .tag { margin-right:10px; }
.workspace-card>svg { width:17px; height:17px; }
.space-create-row { display:flex; align-items:center; gap:12px; margin-top:20px; border-top:1px solid var(--line); padding-top:18px; }
.space-create-row p { flex:1; font-size:12px; }
.create-grid { display:grid; grid-template-columns:1.1fr .8fr; gap:64px; }
.form-panel { border:1px solid var(--line); border-radius:12px; background:var(--surface); padding:26px 30px; }
.form-panel .field:first-child { margin-top:0; }
.form-panel .button { margin-top:27px; }
.explain-panel { padding:20px 0; }
.explain-panel .choice-icon { margin-bottom:18px; }
.explain-panel h2 { font-family:var(--serif); font-weight:500; font-size:27px; }
.feature-list { display:grid; gap:16px; margin-top:25px; }
.feature-list li { display:flex; align-items:flex-start; gap:10px; color:var(--soft); font-size:13px; line-height:1.7; }
.feature-list svg { width:17px; height:17px; color:var(--green); margin-top:3px; }
.invitation { max-width:526px; margin:35px auto 60px; padding:0 25px; text-align:center; }
.company-mark { width:72px; height:72px; border:1px solid #b9cbb8; background:var(--green-soft); display:grid; place-items:center; color:var(--green); border-radius:14px; font-family:var(--serif); font-size:27px; margin:0 auto 24px; }
.invitation h1 { font-size:29px; }
.invitation>p { margin-top:13px; font-size:13px; }
.invitation .detail-list { text-align:left; margin:27px 0; padding:22px; background:var(--surface); border:1px solid var(--line); border-radius:10px; }
.detail-list .row { margin-bottom:13px; font-size:13px; }
.detail-list .row:last-child { margin:0; }
.detail-list .row>span:first-child { color:var(--muted); }
.shell { display:grid; grid-template-columns:236px minmax(0,1fr); min-height:100dvh; }
.sidebar { background:var(--paper); border-right:1px solid var(--line); padding:27px 18px 20px; display:flex; flex-direction:column; min-height:100dvh; position:sticky; top:0; max-height:100dvh; }
.sidebar .brand { margin:0 10px 26px; }
.sidebar .brand strong { font-size:17px; }
.sidebar .brand img { width:35px; height:35px; }
.workspace-switch { background:var(--surface); border:1px solid var(--line); border-radius:8px; width:100%; padding:12px; display:flex; align-items:center; gap:10px; color:var(--ink); text-align:left; }
.workspace-switch .space-letter { width:30px; height:30px; background:var(--green-soft); border-radius:6px; display:grid; place-items:center; color:var(--green); flex:none; }
.workspace-switch .space-label { flex:1; min-width:0; }
.workspace-switch strong { display:block; font-size:12px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.workspace-switch small { font-size:10px; color:var(--muted); }
.workspace-switch>svg { width:15px; height:15px; }
.nav-group { margin-top:27px; }
.nav-caption { font-size:10px; letter-spacing:.12em; color:var(--muted); padding:0 12px; margin-bottom:8px; }
.nav-item { display:flex; align-items:center; gap:11px; width:100%; min-height:45px; padding:11px 12px; border:0; border-radius:7px; background:transparent; color:var(--soft); font-size:13px; text-decoration:none!important; text-align:left; }
.nav-item:hover { background:#e9eade; color:var(--green); }
.nav-item.active { background:var(--green-soft); color:var(--green); font-weight:600; }
.nav-item svg { width:18px; height:18px; }
.nav-item .tag { margin-left:auto; font-size:9px; }
.sidebar-footer { margin-top:auto; padding:20px 10px 0; }
.sidebar-person { display:flex; align-items:center; gap:10px; border-top:1px solid var(--line); padding-top:16px; }
.avatar { width:34px; height:34px; display:grid; place-items:center; background:#dddcca; border-radius:50%; color:var(--ink); font-size:13px; flex:none; }
.sidebar-person strong { display:block; font-size:12px; font-weight:500; }
.sidebar-person small { font-size:10px; color:var(--muted); }
.sidebar-footer .link-button { font-size:11px; margin:3px 0 0 44px; }
.shell-main { min-width:0; }
.shell-topbar { min-height:73px; border-bottom:1px solid var(--line); padding:0 40px; display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:12px; color:var(--muted); }
.shell-topbar .context { display:flex; gap:7px; align-items:center; }
.shell-topbar .context svg { width:15px; height:15px; }
.mobile-brand,.mobile-nav { display:none; }
.content { max-width:1120px; margin:0 auto; padding:40px 40px 65px; }
.page-heading { display:flex; align-items:flex-start; gap:20px; justify-content:space-between; margin-bottom:29px; }
.page-heading h1 { font-size:32px; }
.page-heading p { font-size:13px; margin-top:10px; }
.page-heading .button { margin-top:5px; flex:none; }
.context-line { display:flex; align-items:center; gap:7px; font-size:11px; color:var(--muted); margin-bottom:11px; }
.context-line svg { width:15px; height:15px; color:var(--green); }
.pill-toggle { display:inline-flex; border:1px solid var(--line); border-radius:7px; padding:3px; background:var(--surface); }
.pill-toggle button { border:0; border-radius:4px; color:var(--muted); background:transparent; min-height:39px; padding:7px 17px; font-size:12px; }
.pill-toggle button.active { background:var(--green); color:white; }
.plans-top { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:15px 0 26px; }
.plans-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.plan { position:relative; padding:29px; border:1px solid var(--line); border-radius:12px; background:var(--surface); display:flex; flex-direction:column; }
.plan.featured { border:2px solid var(--green); padding:28px; background:#f9fbf3; }
.plan-kicker { font-size:11px; letter-spacing:.08em; color:var(--muted); }
.plan h2 { font-family:var(--serif); font-size:27px; font-weight:500; margin:12px 0 10px; }
.plan .description { font-size:12px; min-height:40px; max-width:295px; }
.price { display:flex; align-items:baseline; gap:4px; font-family:var(--sans); font-variant-numeric:tabular-nums; margin:17px 0 2px; color:var(--ink); line-height:1.2; }
.price .currency { font-size:20px; font-weight:400; }
.price strong { font-size:47px; font-weight:500; letter-spacing:-.04em; }
.price span { color:var(--muted); font-size:12px; margin-left:4px; }
.plan .feature-list { border-top:1px solid var(--line); padding-top:22px; margin-top:22px; flex:1; gap:13px; }
.plan .feature-list li { font-size:12px; }
.plan .button { margin-top:27px; }
.plan .plan-badge { position:absolute; top:26px; right:26px; }
.plans-notes { border-top:1px solid var(--line); padding-top:20px; margin-top:26px; display:flex; gap:30px; flex-wrap:wrap; }
.plans-notes span { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:11px; }
.plans-notes svg { width:15px; height:15px; }
.checkout-grid { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:35px; align-items:start; }
.checkout-section { border-top:1px solid var(--line); padding-top:20px; margin-bottom:27px; }
.checkout-section h3 { margin-bottom:16px; font-size:15px; }
.payment-options { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.payment-option { display:flex; align-items:center; gap:10px; padding:15px; border:1px solid var(--line); border-radius:8px; background:var(--surface); cursor:pointer; font-size:13px; }
.payment-option:has(input:checked) { border-color:var(--green); background:var(--green-soft); }
.payment-option input { margin-left:auto; }
.payment-option .wallet-icon { width:29px; height:29px; display:grid; place-items:center; border-radius:6px; background:#e4ebe0; color:var(--green); }
.renew-option { display:flex; align-items:flex-start; gap:12px; padding:17px 0; }
.renew-option strong { display:block; font-weight:500; font-size:13px; }
.renew-option p { font-size:12px; margin-top:6px; }
.summary-panel { background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:25px; }
.summary-panel .context-line { margin-bottom:17px; }
.summary-panel h2 { font-family:var(--serif); font-weight:500; font-size:25px; margin-bottom:5px; }
.summary-panel .row { margin-top:17px; font-size:12px; }
.summary-panel .row span:first-child { color:var(--muted); }
.summary-panel .total { border-top:1px solid var(--line); padding-top:21px; margin-top:22px; }
.summary-panel .total strong { font-weight:500; font-size:26px; color:var(--ink); }
.summary-panel .subtle { margin-top:13px; }
.process-panel { max-width:580px; margin:10px auto 0; text-align:center; }
.status-mark { width:76px; height:76px; margin:0 auto 22px; border:1px solid #b8c9b8; border-radius:50%; display:grid; place-items:center; background:var(--green-soft); color:var(--green); }
.status-mark svg { width:30px; height:30px; }
.status-mark.warning { background:var(--brass-soft); color:var(--brass); border-color:#d2c3a6; }
.process-panel h1 { font-size:30px; }
.process-panel>p { margin:12px auto 25px; max-width:440px; font-size:13px; }
.process-list { text-align:left; margin:30px 0; border:1px solid var(--line); background:var(--surface); padding:24px; border-radius:12px; }
.process-step { display:flex; gap:13px; align-items:flex-start; position:relative; margin-bottom:24px; }
.process-step:last-child { margin-bottom:0; }
.process-step::after { content:""; position:absolute; width:1px; background:var(--line); top:28px; bottom:-20px; left:13px; }
.process-step:last-child::after { display:none; }
.process-step .step-mark { width:27px; height:27px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; color:var(--muted); flex:none; font-size:11px; }
.process-step .step-mark.complete { background:var(--green); color:white; border-color:var(--green); }
.process-step .step-mark.complete svg { width:15px; height:15px; }
.process-step .step-mark.busy { border-color:var(--green); color:var(--green); }
.process-step strong { display:block; font-size:13px; font-weight:500; }
.process-step p { font-size:11px; margin-top:3px; }
.spinner { width:14px; height:14px; border:1.5px solid #adc2b5; border-top-color:var(--green); border-radius:50%; animation:spin 1s linear infinite; display:inline-block; }
@keyframes spin { to { transform:rotate(360deg); } }
.home-welcome { max-width:710px; margin:24px auto 0; }
.home-welcome .welcome-logo { width:58px; height:58px; border-radius:12px; margin-bottom:23px; }
.home-welcome h1 { font-size:37px; }
.home-welcome>p { font-size:14px; margin-top:16px; line-height:1.9; max-width:555px; }
.quick-start { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:36px 0 30px; }
.quick-start button { text-align:left; padding:18px; border:1px solid var(--line); background:var(--surface); border-radius:8px; color:var(--ink); min-height:112px; }
.quick-start button:hover { border-color:var(--green); }
.quick-start svg { color:var(--green); width:21px; height:21px; margin-bottom:16px; }
.quick-start strong { font-size:12px; font-weight:500; }
.composer { border:1px solid #becdbc; border-radius:12px; background:var(--surface); padding:13px; }
.composer textarea { min-height:73px; border:0; background:transparent; padding:6px; resize:vertical; font-size:14px; }
.composer .row { padding:2px 4px; }
.composer .button { min-width:42px; min-height:42px; padding:9px; }
.composer .subtle { font-size:11px; }
.private-hint { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:13px; font-size:11px; color:var(--muted); }
.private-hint svg { width:13px; height:13px; }
.conversation-sample { border-left:2px solid var(--green); padding:15px 20px; margin-bottom:25px; background:var(--green-soft); }
.conversation-sample p { font-size:13px; margin-top:6px; }
.billing-panel { border:1px solid var(--line); background:var(--surface); border-radius:12px; padding:26px 29px; }
.billing-top { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; border-bottom:1px solid var(--line); padding-bottom:25px; }
.billing-top h2 { font-family:var(--serif); font-size:29px; font-weight:500; margin-top:7px; }
.billing-top p { font-size:12px; margin-top:8px; }
.billing-price { text-align:right; padding-top:6px; }
.billing-price strong { font-size:31px; font-weight:500; }
.billing-price span { font-size:12px; color:var(--muted); }
.billing-price small { display:block; font-size:10px; color:var(--muted); margin-top:7px; }
.billing-meta { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; padding:23px 0; }
.billing-meta dt { font-size:11px; color:var(--muted); margin-bottom:8px; }
.billing-meta dd { margin:0; font-size:13px; }
.billing-actions { border-top:1px solid var(--line); padding-top:17px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.section-heading { display:flex; justify-content:space-between; align-items:center; margin:32px 0 18px; gap:15px; }
.section-heading h2 { font-size:17px; font-weight:500; }
.usage-grid { display:grid; grid-template-columns:1fr 1fr; gap:27px; }
.usage { padding:21px 0; border-top:1px solid var(--line); }
.usage .row { font-size:12px; }
.usage .row strong { font-weight:500; }
.bar { height:5px; background:#dfe4d8; margin:14px 0 9px; border-radius:3px; overflow:hidden; }
.bar i { display:block; height:100%; background:var(--green); border-radius:3px; }
.usage p { font-size:11px; }
.table-wrap { width:100%; overflow-x:auto; }
.data-table { border-collapse:collapse; width:100%; font-size:12px; text-align:left; }
.data-table th { color:var(--muted); font-size:11px; font-weight:400; padding:14px 12px; border-bottom:1px solid var(--line); white-space:nowrap; }
.data-table td { padding:21px 12px; border-bottom:1px solid var(--line); vertical-align:middle; }
.data-table th:first-child,.data-table td:first-child { padding-left:0; }
.data-table strong { display:block; font-size:12px; font-weight:500; overflow-wrap:anywhere; }
.data-table .subtle { display:block; font-size:10px; margin-top:4px; }
.data-table .link-button { padding:0 6px; }
.empty-state { text-align:center; padding:54px 24px; border:1px dashed #b7c6b3; border-radius:10px; color:var(--soft); }
.empty-state svg { margin:0 auto 18px; width:28px; height:28px; }
.empty-state p { margin:12px 0 20px; font-size:13px; }
.member-summary { display:flex; gap:28px; align-items:center; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:18px 0; margin-bottom:9px; }
.member-summary strong { font-weight:500; font-size:22px; color:var(--ink); }
.member-summary p { font-size:12px; }
.member-summary span { color:var(--muted); font-size:11px; }
.person-cell { display:flex; gap:11px; align-items:center; min-width:120px; }
.settings-list { border-top:1px solid var(--line); }
.setting-row { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:23px 0; border-bottom:1px solid var(--line); }
.setting-row h3 { font-size:14px; font-weight:500; }
.setting-row p { font-size:12px; margin-top:7px; }
.setting-row .button { flex:none; }
.setting-row.danger h3 { color:var(--danger); }
.security-summary { display:flex; align-items:center; gap:20px; padding:22px 0 29px; }
.security-summary .avatar { width:60px; height:60px; font-size:21px; border-radius:10px; background:var(--green-soft); color:var(--green); }
.security-summary h2 { font-family:var(--serif); font-size:26px; font-weight:500; }
.security-summary p { font-size:12px; margin-top:6px; }
.session-list { border-top:1px solid var(--line); }
.device-row { display:flex; align-items:center; gap:16px; padding:22px 0; border-bottom:1px solid var(--line); }
.device-row>.device-icon { border:1px solid var(--line); background:var(--surface); border-radius:8px; padding:13px; flex:none; }
.device-row .device-description { flex:1; min-width:0; }
.device-description strong { font-weight:500; font-size:13px; }
.device-description p { font-size:11px; margin-top:5px; }
.device-row .tag { margin-left:6px; }
.phone-panel { max-width:490px; }
.phone-panel .field { margin-top:22px; }
.phone-panel .button { margin-top:25px; }
.phone-step { font-size:12px; color:var(--muted); margin-top:12px; }
.text-account { display:flex; gap:12px; align-items:center; padding:18px; border:1px solid var(--line); background:var(--surface); border-radius:8px; margin-top:22px; }
.text-account svg { color:var(--green); }
.text-account strong { font-size:16px; font-weight:500; }
.text-account small { display:block; color:var(--muted); font-size:11px; margin-top:3px; }
.toast { position:fixed; bottom:30px; left:50%; transform:translateX(-50%); z-index:100; border:1px solid #c1cebd; color:var(--white); background:var(--green); padding:12px 20px; border-radius:8px; box-shadow:var(--shadow); max-width:calc(100vw - 36px); width:max-content; font-size:13px; }
dialog { border:1px solid var(--line); background:var(--surface); color:var(--ink); border-radius:13px; padding:0; width:min(510px,calc(100vw - 36px)); max-height:88dvh; box-shadow:var(--shadow); }
dialog::backdrop { background:#18352c65; }
.modal-body { padding:27px 28px; }
.modal-top { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:20px; }
.modal-top h2 { font-family:var(--serif); font-size:25px; font-weight:500; }
.modal-top .icon-button { border:0; background:none; margin:-10px -12px -10px 0; }
.modal-body>p { font-size:13px; line-height:1.85; }
.modal-actions { display:flex; justify-content:flex-end; align-items:center; gap:10px; margin-top:27px; flex-wrap:wrap; }
.modal-detail { border:1px solid var(--line); background:var(--paper); border-radius:7px; padding:16px; margin:20px 0; }
.modal-detail .row { font-size:12px; margin-top:9px; }
.modal-detail .row:first-child { margin-top:0; }
.modal-detail strong { font-weight:500; }
.payment-demo { text-align:center; padding:23px 10px; }
.payment-demo>.wallet { margin:0 auto 18px; border-radius:15px; width:70px; height:70px; background:var(--green-soft); display:grid; place-items:center; color:var(--green); }
.payment-demo>.wallet svg { width:33px; height:33px; }
.payment-demo .price { justify-content:center; margin-top:18px; }
.payment-demo .subtle { margin-top:13px; }
.review-hint { border-top:1px solid var(--line); padding-top:14px; margin-top:18px; font-size:11px; color:var(--muted); line-height:1.8; }
.copy-row { display:flex; align-items:center; gap:9px; }
.copy-row input { font-size:12px; }
.copy-row .button { flex:none; }
.mobile-overlay { display:none; }
@media (min-width:1400px) { .auth-wrap { column-gap:130px; padding-top:45px; } .content { padding-top:48px; } }
@media (max-width:1100px) { .auth-wrap { column-gap:48px; padding-left:38px; padding-right:38px; } .scene-card { width:165px; padding:12px; } .shell { grid-template-columns:208px minmax(0,1fr); } .sidebar { padding-left:14px; padding-right:14px; } .content { padding:30px 28px 50px; } .shell-topbar { padding:0 28px; } .checkout-grid { grid-template-columns:minmax(0,1fr) 285px; gap:22px; } .plan { padding:23px; } .plan.featured { padding:22px; } .plan .plan-badge { top:23px; right:20px; } }
@media (max-width:820px) {
  .portal-header { padding:17px 26px; min-height:76px; }
  .auth-wrap { column-gap:32px; padding:20px 26px 36px; }
  .auth-story h1 { font-size:37px; } .auth-story>.lead { font-size:13px; }
  .scene-card { width:146px; padding:11px; } .scene-card.right { right:0; }
  .auth-card { max-width:340px; } .auth-foot { padding:0 26px 22px; }
  .flow-main { padding:28px 26px 50px; } .create-grid { gap:28px; }
  .shell { grid-template-columns:190px minmax(0,1fr); } .sidebar { padding-left:10px; padding-right:10px; }
  .sidebar .brand strong { font-size:15px; } .sidebar .brand { margin-left:6px; }
  .content { padding:28px 24px 45px; } .plans-grid { gap:14px; } .plan { padding:22px 18px; } .plan.featured { padding:21px 17px; }
  .plan h2 { font-size:24px; } .plan .plan-badge { position:static; align-self:flex-start; margin-bottom:8px; }
  .checkout-grid { grid-template-columns:1fr; } .summary-panel { order:-1; }
  .summary-panel .row { margin-top:11px; } .summary-panel .total { margin-top:14px; padding-top:13px; }
  .billing-meta { grid-template-columns:1fr 1fr; } .quick-start { gap:10px; } .quick-start button { padding:14px; }
}
@media (max-width:640px) {
  body { font-size:14px; }
  h1 { font-size:29px; }
  .portal-header { padding:15px 22px; min-height:73px; }
  .brand img { width:36px; height:36px; } .brand strong { font-size:18px; } .brand span { font-size:11px; }
  .header-actions { gap:7px; } .header-actions .tag { display:none; } .header-actions a { font-size:12px; }
  .auth-wrap { display:block; min-height:0; padding:23px 25px 37px; }
  .auth-story { display:none; }
  .auth-card { max-width:420px; padding:14px 0 0; }
  .auth-card h2 { font-size:30px; } .auth-card .auth-description { font-size:13px; line-height:1.85; margin-top:12px; margin-bottom:23px; }
  .auth-tabs { margin-bottom:28px; }
  .auth-card .field { margin-top:24px; }
  .auth-card .agree { margin-top:21px; }
  .auth-card .submit { margin-top:20px; }
  input,textarea,select { font-size:16px; }
  .field>label { font-size:13px; }
  .auth-foot { flex-direction:column; text-align:center; align-items:center; padding:19px 22px 28px; border-top:1px solid var(--line); margin:0 25px; }
  .flow-main { padding:22px 24px 38px; }
  .flow-heading { margin-bottom:28px; }
  .flow-heading h1 { font-size:29px; } .flow-heading p { font-size:13px; }
  .stepper { gap:8px; font-size:10px; } .stepper i { width:20px; }
  .choice-grid { grid-template-columns:1fr; gap:13px; }
  .choice { min-height:190px; padding:23px; } .choice:has(input:checked) { padding:22px; }
  .choice-icon { margin-bottom:18px; width:43px; height:43px; }
  .choice h3 { font-size:23px; } .choice p { font-size:12px; margin-top:8px; } .choice small { margin-top:16px; }
  .flow-actions { flex-direction:column-reverse; align-items:stretch; gap:17px; }
  .flow-actions .button { width:100%; } .flow-actions p { text-align:center; font-size:11px; }
  .workspace-card { padding:17px 15px; gap:12px; flex-wrap:wrap; }
  .workspace-card h3 { font-size:15px; } .workspace-card .tag { margin-left:54px; margin-top:-4px; order:3; }
  .workspace-card .workspace-identity { flex-basis:calc(100% - 78px); } .workspace-card>svg { margin-left:auto; }
  .space-create-row { flex-direction:column; align-items:stretch; } .space-create-row p { text-align:center; }
  .create-grid { grid-template-columns:1fr; gap:18px; } .form-panel { padding:25px 21px; }
  .explain-panel { padding:12px 0; } .explain-panel h2 { font-size:23px; } .explain-panel .choice-icon { display:none; }
  .invitation { margin-top:28px; padding:0 24px; } .invitation h1 { font-size:28px; }
  .shell { display:block; min-height:100dvh; padding-bottom:75px; }
  .sidebar { display:none; }
  .shell-topbar { padding:12px 21px; min-height:72px; gap:10px; }
  .shell-topbar>.context,.shell-topbar>.cluster { display:none; }
  .mobile-brand { display:flex; align-items:center; width:100%; gap:10px; }
  .mobile-brand img { width:31px; height:31px; border-radius:8px; }
  .mobile-brand .mobile-space { min-width:0; flex:1; }
  .mobile-space button { display:flex; gap:5px; align-items:center; border:0; padding:0; background:none; color:var(--ink); max-width:100%; font-size:13px; min-height:32px; }
  .mobile-space button span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .mobile-space svg { width:14px; height:14px; }
  .mobile-space small { font-size:10px; color:var(--muted); }
  .mobile-nav { position:fixed; display:flex; bottom:0; left:0; right:0; z-index:10; border-top:1px solid var(--line); background:var(--surface); padding:7px 7px calc(8px + env(safe-area-inset-bottom,0px)); }
  .mobile-nav a { width:25%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; padding:5px 0; min-height:48px; font-size:10px; color:var(--muted); text-decoration:none; }
  .mobile-nav a.active { color:var(--green); font-weight:600; } .mobile-nav svg { width:21px; height:21px; }
  .content { padding:26px 22px 35px; }
  .page-heading { margin-bottom:24px; gap:12px; flex-wrap:wrap; }
  .page-heading h1 { font-size:29px; } .page-heading p { font-size:12px; }
  .page-heading .button { margin:0; }
  .context-line { font-size:10px; }
  .plans-top { flex-wrap:wrap; gap:14px; }
  .plans-grid { grid-template-columns:1fr; gap:18px; }
  .plan { padding:24px; } .plan.featured { padding:23px; } .plan .plan-badge { position:absolute; top:24px; right:24px; margin:0; }
  .plan h2 { font-size:26px; } .plan .description { min-height:0; }
  .price strong { font-size:43px; } .plan .feature-list { gap:12px; } .plan .feature-list li { font-size:12px; }
  .plans-notes { gap:13px; flex-direction:column; }
  .checkout-grid { gap:13px; } .summary-panel { padding:20px; } .summary-panel h2 { font-size:23px; }
  .checkout-section { margin-bottom:21px; }
  .payment-option { padding:13px 11px; gap:7px; font-size:12px; }
  .payment-option .wallet-icon { width:23px; height:23px; } .payment-option svg { width:16px; height:16px; }
  .renew-option { gap:10px; }
  .process-panel { margin:7px auto 0; } .process-panel h1 { font-size:28px; } .process-panel>p { font-size:12px; }
  .process-list { padding:22px 18px; }
  .home-welcome { margin:10px 0 0; } .home-welcome h1 { font-size:29px; } .home-welcome>p { font-size:13px; }
  .quick-start { grid-template-columns:1fr; margin-top:27px; gap:9px; }
  .quick-start button { min-height:60px; display:flex; align-items:center; gap:13px; padding:17px; } .quick-start svg { margin:0; }
  .composer textarea { font-size:16px; } .composer .subtle { max-width:calc(100% - 60px); font-size:10px; }
  .billing-panel { padding:22px 19px; } .billing-top { gap:10px; } .billing-top h2 { font-size:24px; } .billing-top p { font-size:11px; }
  .billing-price strong { font-size:27px; } .billing-price small { display:none; }
  .billing-meta { grid-template-columns:1fr 1fr; gap:21px 15px; }
  .billing-actions { align-items:stretch; } .billing-actions .cluster { width:100%; } .billing-actions .cluster .button { flex:1; }
  .usage-grid { grid-template-columns:1fr; gap:1px; } .usage { padding:17px 0; }
  .data-table,.data-table tbody { display:block; } .data-table thead { display:none; }
  .data-table tr { display:grid; grid-template-columns:1fr 1fr; gap:12px 18px; padding:22px 0; border-bottom:1px solid var(--line); }
  .data-table td { padding:0!important; border:0; display:block; font-size:12px; min-width:0; }
  .data-table td:first-child { grid-column:1/-1; }
  .data-table td:last-child { grid-column:1/-1; }
  .data-table td::before { content:attr(data-label); font-size:10px; color:var(--muted); display:block; margin-bottom:5px; }
  .data-table td:first-child::before { display:none; } .data-table td:last-child::before { display:none; }
  .data-table td:last-child .link-button { min-height:44px; padding-left:0; padding-right:22px; }
  .member-summary { gap:18px; align-items:flex-start; flex-wrap:wrap; }
  .member-summary>span { font-size:10px; } .member-summary strong { font-size:21px; }
  .setting-row { gap:15px; padding:21px 0; } .setting-row p { font-size:11px; max-width:210px; }
  .setting-row .button { padding:8px 11px; font-size:12px; }
  .security-summary { gap:15px; } .security-summary .avatar { width:50px; height:50px; }
  .device-row { gap:12px; flex-wrap:wrap; } .device-row>.device-icon { padding:10px; }
  .device-row .tag { display:block; margin:7px 0 0; width:max-content; }
  .device-row .link-button { margin-left:54px; font-size:12px; }
  .device-description p { font-size:10px; }
  .toast { bottom:88px; font-size:12px; }
  dialog { width:calc(100vw - 30px); border-radius:12px; } .modal-body { padding:24px 21px; } .modal-top h2 { font-size:23px; }
  .modal-actions .button { flex:1; }
  .mobile-overlay { display:block; padding-top:8px; }
  .mobile-overlay .nav-item { font-size:14px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none!important; transition:none!important; } }
:root{--receipt-line:#e1e4e8}
.receipt-details{margin:24px 0;display:grid;gap:0}
.receipt-details>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;padding:14px 0;border-bottom:1px solid var(--receipt-line)}
.receipt-details dt{color:#5d6570;font-size:13px}
.receipt-details dd{margin:0;overflow-wrap:anywhere;font-size:14px;font-variant-numeric:tabular-nums}
