:root {
  --ink: #182321;
  --muted: #7c8987;
  --soft: #eef2f0;
  --line: #e6ece9;
  --green: #2e9b70;
  --green-dark: #1f6d50;
  --mint: #dff5ec;
  --purple: #6b52d9;
  --orange: #f07b42;
  --sidebar: 255px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f7f9f8; font-family: "DM Sans", "Microsoft YaHei", sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); display: flex; flex-direction: column; padding: 28px 16px 18px; background: #fff; border-right: 1px solid var(--line); z-index: 10; }
.brand, .mobile-brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-family: "Space Grotesk", sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.7px; }
.brand-name span, .mobile-brand span span { color: var(--green); }
.brand-mark { width: 25px; height: 23px; display: inline-flex; align-items: flex-end; gap: 3px; }
.brand-mark span { display: block; width: 6px; border-radius: 4px 4px 2px 2px; background: var(--green); transform: skew(-17deg); }
.brand-mark span:nth-child(1) { height: 13px; opacity: .65; }.brand-mark span:nth-child(2) { height: 19px; opacity: .82; }.brand-mark span:nth-child(3) { height: 23px; }
.workspace-switcher { display: flex; align-items: center; gap: 9px; padding: 21px 8px 24px; margin-top: 21px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workspace-avatar, .avatar { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: #287a59; background: var(--mint); border-radius: 10px; font-size: 11px; font-weight: 700; }
.workspace-copy { min-width: 0; flex: 1; display: grid; gap: 2px; }.workspace-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.workspace-copy span, .user-profile span { color: var(--muted); font-size: 11px; }
.icon-button { border: 0; background: transparent; cursor: pointer; color: var(--muted); }.icon-button.ghost { padding: 4px; }.chevron { font-size: 17px; }
.nav-list { display: grid; gap: 5px; padding-top: 22px; }.nav-item { display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 0 12px; color: #72817e; border-radius: 8px; font-size: 13px; font-weight: 500; transition: .2s ease; }.nav-item:hover { color: var(--ink); background: #f3f7f5; }.nav-item.active { color: var(--green-dark); background: #e8f6f0; font-weight: 700; }.nav-icon { display: inline-grid; place-items: center; width: 17px; color: currentColor; font-size: 17px; }.nav-badge { margin-left: auto; min-width: 21px; padding: 3px 5px; text-align: center; color: var(--green-dark); background: #d4eee3; border-radius: 5px; font-size: 10px; }
.sidebar-bottom { display: grid; gap: 5px; margin-top: auto; }.support-card { margin: 17px 3px 15px; padding: 14px 13px 13px; background: #f5faf8; border: 1px solid #e2f0ea; border-radius: 9px; }.support-icon { color: var(--green); margin-bottom: 8px; }.support-card strong { font-size: 12px; }.support-card p { margin: 5px 0 10px; color: var(--muted); font-size: 11px; line-height: 1.45; }.support-card a { color: var(--green-dark); font-size: 11px; font-weight: 700; }.support-card a span { margin-left: 3px; }.user-profile { display: flex; align-items: center; gap: 9px; padding: 15px 8px 0; border-top: 1px solid var(--line); }.user-profile > div:nth-child(2) { display: grid; gap: 3px; min-width: 0; flex: 1; }.user-profile strong { font-size: 12px; }.user-profile span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.user-profile .icon-button { font-size: 14px; letter-spacing: 1px; }
.main-content { width: calc(100% - var(--sidebar)); margin-left: var(--sidebar); }.topbar { height: 77px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(28px, 4.2vw, 64px); background: rgba(255,255,255,.84); border-bottom: 1px solid var(--line); }.breadcrumb { display: flex; align-items: center; gap: 10px; color: #9ca7a4; font-size: 12px; }.breadcrumb strong { color: var(--ink); font-weight: 600; }.slash { color: #c9d0ce; }.topbar-actions { display: flex; align-items: center; gap: 20px; }.top-icon { position: relative; font-size: 20px; }.bell { display: block; transform: rotate(180deg); }.top-icon i { position: absolute; top: 1px; right: 1px; width: 5px; height: 5px; border: 1px solid white; border-radius: 50%; background: var(--orange); }.help-link { border: 0; background: transparent; color: #6e7b78; cursor: pointer; font-size: 12px; }.help-link span { display: inline-grid; width: 18px; height: 18px; place-items: center; margin-right: 4px; border: 1px solid #b9c5c1; border-radius: 50%; font-size: 11px; }.mobile-brand, .mobile-menu { display: none; }
.content-wrap { max-width: 1300px; margin: 0 auto; padding: 52px clamp(28px, 4.2vw, 64px) 80px; }.page-section { display: none; animation: reveal .35s ease both; }.page-section.active-section { display: block; } @keyframes reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }.eyebrow { margin: 0 0 8px; color: #9ca8a5; font-size: 11px; letter-spacing: .04em; }.page-heading h1 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(29px, 3vw, 38px); letter-spacing: -1.4px; line-height: 1.1; }.heading-copy { margin: 12px 0 0; color: var(--muted); font-size: 13px; }.wave { display: inline-block; margin-left: 2px; color: #efb44d; font-size: 22px; transform: rotate(15deg); }.outline-button, .primary-action, .small-button { min-height: 39px; padding: 0 15px; border: 1px solid #dbe5e1; border-radius: 7px; color: #64736f; background: white; cursor: pointer; font-size: 12px; transition: .2s ease; }.outline-button:hover, .small-button:hover { border-color: var(--green); color: var(--green-dark); }.refresh-icon { display: inline-block; margin-right: 5px; font-size: 16px; }.primary-action { color: white; border-color: var(--green); background: var(--green); font-weight: 700; }.primary-action:hover { background: var(--green-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.stat-card { min-height: 166px; padding: 20px 21px 17px; background: white; border: 1px solid var(--line); border-radius: 9px; }.card-label, .stat-footer { display: flex; align-items: center; justify-content: space-between; color: #8b9996; font-size: 11px; }.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px #ebf8f3; }.stat-value, .plan-value { display: flex; align-items: baseline; gap: 7px; margin: 19px 0 16px; }.stat-value strong, .plan-value strong { font-family: "Space Grotesk", sans-serif; font-size: 34px; letter-spacing: -1px; }.stat-value span, .plan-value span { color: #9ca8a5; font-size: 12px; }.progress-track { height: 5px; overflow: hidden; background: #edf1f0; border-radius: 10px; }.progress-fill { height: 100%; background: var(--green); border-radius: inherit; }.stat-footer { margin-top: 11px; }.stat-footer a, .text-link { color: var(--green-dark); font-size: 11px; font-weight: 700; }.stat-footer a span, .text-link span { margin-left: 3px; }.plan-value { margin: 17px 0 27px; }.plan-value strong { font-size: 29px; }.plan-pill, .trend-up { color: var(--green-dark); background: #e7f6ef; border-radius: 4px; padding: 4px 7px; font-size: 10px; font-weight: 700; }.renewal { font-size: 10px; }.trend-up { color: #28805b; background: #e5f5ec; }.muted-text { color: #9ca8a5; }.mini-chart { display: flex; align-items: flex-end; gap: 3px; height: 20px; }.mini-chart i { width: 4px; border-radius: 3px; background: #bce7d5; }.mini-chart i:nth-child(1) { height: 7px; }.mini-chart i:nth-child(2) { height: 11px; }.mini-chart i:nth-child(3) { height: 9px; }.mini-chart i:nth-child(4) { height: 15px; background: #70c99f; }.mini-chart i:nth-child(5) { height: 12px; }.mini-chart i:nth-child(6) { height: 18px; background: #45ae7d; }.mini-chart i:nth-child(7) { height: 16px; background: var(--green); }
.section-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }.section-row h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 20px; letter-spacing: -.5px; }.section-row-spaced { margin: 54px 0 19px; }.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.quick-card { position: relative; min-height: 137px; padding: 20px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 9px; transition: transform .2s ease, border-color .2s ease; }.quick-card:hover { transform: translateY(-2px); border-color: #b8dcca; }.quick-card.accent-card { color: white; background: var(--green); border-color: var(--green); }.quick-card.accent-card p { color: #d4efe3; }.quick-icon { display: block; width: 29px; height: 29px; margin-bottom: 15px; color: var(--green); font-size: 22px; }.accent-card .quick-icon { color: #d5f5e6; }.quick-card strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 15px; }.quick-card p { margin: 7px 0 0; color: #8b9996; font-size: 11px; }.circle-arrow { position: absolute; right: 17px; bottom: 18px; display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #dce9e4; border-radius: 50%; color: var(--green); font-size: 13px; }.accent-card .circle-arrow { border-color: rgba(255,255,255,.35); color: white; }.activity-heading { margin: 57px 0 18px; }.activity-table-wrap { overflow: auto; background: white; border: 1px solid var(--line); border-radius: 9px; }.activity-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }.activity-table th { padding: 14px 20px; color: #9aa6a3; background: #fbfcfc; font-size: 10px; font-weight: 500; }.activity-table td { padding: 15px 20px; border-top: 1px solid #f0f3f2; color: #83908d; font-size: 11px; }.activity-table td strong { color: #384845; font-weight: 600; }.project-icon { display: inline-grid; width: 26px; height: 26px; place-items: center; margin-right: 9px; border-radius: 7px; font-size: 16px; vertical-align: middle; }.project-icon.green { color: #25815b; background: #e4f6ed; }.project-icon.purple { color: #6e57ce; background: #eeeafe; }.project-icon.orange { color: #dd703d; background: #fff0e6; }.credit-cost { color: #ca6e4b; font-weight: 700; }.row-more { border: 0; background: transparent; color: #9aa6a3; cursor: pointer; letter-spacing: 2px; }.row-more:hover { color: var(--ink); }
.usage-panel { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 9px; }.usage-summary { display: flex; align-items: center; justify-content: space-between; }.panel-label { color: #8b9996; font-size: 11px; }.usage-summary strong { display: block; margin: 10px 0 4px; font-family: "Space Grotesk", sans-serif; font-size: 41px; letter-spacing: -1.5px; }.usage-summary strong small { color: #9ca8a5; font-size: 16px; letter-spacing: 0; }.usage-summary p { margin: 0; color: var(--muted); font-size: 11px; }.donut { position: relative; width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--green) 0 20%, #e9f0ed 20% 100%); }.donut::before { content: ""; position: absolute; width: 77px; height: 77px; border-radius: 50%; background: white; }.donut > div { position: relative; display: grid; text-align: center; }.donut strong { margin: 0; font-size: 17px; letter-spacing: 0; }.donut span { color: var(--muted); font-size: 9px; }.large-progress { height: 8px; margin-top: 26px; overflow: hidden; background: #edf2ef; border-radius: 10px; }.large-progress span { display: block; height: 100%; background: var(--green); border-radius: inherit; }.usage-legend { display: flex; gap: 20px; margin-top: 13px; color: #8b9996; font-size: 11px; }.usage-legend i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; }.legend-used { background: var(--green); }.legend-available { background: #dfe9e5; }.filter-select { padding: 9px 11px; color: #65736f; border: 1px solid #dde6e2; border-radius: 6px; font-size: 11px; }.filter-select span { margin-left: 20px; color: #9ca8a5; }
.window-limit { margin-top: 7px !important; color: var(--green-dark) !important; font-size: 10px !important; font-weight: 600; }
.activity-table .empty-state { padding: 38px 20px; color: #9ca8a5; text-align: center; }
.plan-window { margin: 9px 0 15px; color: var(--green-dark); font-size: 10px; font-weight: 600; }
.billing-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }.billing-overview > div { display: grid; gap: 9px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 9px; }.billing-overview span { color: var(--muted); font-size: 11px; }.billing-overview strong { font-family: "Space Grotesk", sans-serif; font-size: 22px; }.paid-status { padding: 4px 7px; color: var(--green-dark); background: #e4f6ed; border-radius: 4px; font-size: 10px; font-weight: 700; }.download-row { padding: 5px 8px; color: var(--green-dark); border: 1px solid #d8e9e1; border-radius: 5px; background: white; cursor: pointer; font-size: 10px; }.billing-table .activity-table td { padding-top: 17px; padding-bottom: 17px; }
.settings-panel { display: grid; grid-template-columns: 185px 1fr; gap: 45px; padding: 28px; margin-bottom: 18px; background: white; border: 1px solid var(--line); border-radius: 9px; }.settings-avatar { display: grid; align-content: start; justify-items: center; gap: 12px; }.avatar.large { width: 74px; height: 74px; border-radius: 22px; font-size: 24px; }.small-button { min-height: 31px; padding: 0 10px; font-size: 10px; }.settings-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.settings-fields label { display: grid; gap: 8px; color: #7c8986; font-size: 11px; }.settings-fields input, .settings-fields select { width: 100%; height: 39px; padding: 0 11px; color: #3e504b; border: 1px solid #dce7e2; border-radius: 6px; background: white; outline: 0; }.settings-fields input:focus, .settings-fields select:focus { border-color: var(--green); }.notification-settings { grid-template-columns: 1fr; gap: 0; }.notification-settings h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 17px; }.notification-settings p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }.switch-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 0; margin-top: 18px; border-top: 1px solid var(--line); }.switch-row span { display: grid; gap: 5px; }.switch-row strong { font-size: 12px; }.switch-row small { color: var(--muted); font-size: 10px; }.switch-row input { display: none; }.switch { position: relative; width: 34px; height: 20px; border-radius: 20px; background: #dae4e0; cursor: pointer; }.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: white; transition: .2s ease; }.switch-row input:checked + .switch { background: var(--green); }.switch-row input:checked + .switch::after { transform: translateX(14px); }
.settings-info { display: grid; align-content: center; gap: 8px; min-height: 65px; padding: 0 12px; border: 1px solid #dce7e2; border-radius: 6px; background: #fbfcfc; }.settings-info span { color: #7c8986; font-size: 11px; }.settings-info strong { color: #3e504b; font-size: 13px; font-weight: 600; }
.settings-readonly-badge { padding: 7px 10px; color: #71817c; background: #edf3f0; border-radius: 5px; font-size: 10px; }
.admin-nav { color: var(--green-dark); background: #eff9f4; }
.admin-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 25px; }
.admin-panel h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 18px; }
.admin-panel p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.admin-form-grid { display: grid; grid-template-columns: 1.4fr .7fr 1.4fr 1.4fr; gap: 16px; }
.admin-form-grid label { display: grid; gap: 8px; color: #71817c; font-size: 11px; }
.admin-form-grid input { width: 100%; height: 42px; padding: 0 11px; color: var(--ink); border: 1px solid #dce7e2; border-radius: 8px; outline: none; background: white; }
.admin-form-grid input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 157, 114, .1); }
.admin-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.admin-form-actions span { color: #7d8b87; font-size: 11px; }
.admin-form-actions .primary-action { min-height: 42px; }
.admin-users-panel { gap: 18px; }
.admin-users-heading, .admin-users-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-user-search input { width: min(280px, 100%); min-height: 38px; padding: 0 12px; border: 1px solid #dce7e2; border-radius: 7px; outline: 0; background: white; }
.admin-user-search input:focus, .admin-users-table select:focus { border-color: var(--green); }
.admin-users-table-wrap { overflow-x: auto; }
.admin-users-table { min-width: 650px; }
.admin-users-table td { vertical-align: middle; }
.admin-user-email { display: block; margin-top: 4px; color: var(--muted); }
.admin-users-table select { min-width: 90px; height: 34px; padding: 0 7px; border: 1px solid #dce7e2; border-radius: 6px; color: var(--ink); background: white; }
.admin-users-table select:disabled { color: #7c8986; background: #f5f7f6; }
.admin-users-footer { color: var(--muted); font-size: 12px; }
.admin-users-footer > div { display: flex; gap: 8px; }
.admin-users-panel .small-button:disabled { opacity: .45; cursor: default; }
.admin-users-heading .admin-user-search { flex: 0 1 280px; }
.admin-users-heading .admin-user-search input { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 600px) { .admin-users-heading { align-items: stretch; flex-direction: column; } .admin-users-heading .admin-user-search { flex: 0 0 auto; } }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.help-card { min-height: 196px; padding: 23px; background: white; border: 1px solid var(--line); border-radius: 9px; transition: .2s ease; }.help-card:hover { transform: translateY(-2px); border-color: #b8dcca; }.help-card > span { display: grid; width: 33px; height: 33px; place-items: center; color: var(--green); background: var(--mint); border-radius: 9px; font-size: 17px; }.help-card h3 { margin: 20px 0 7px; font-family: "Space Grotesk", sans-serif; font-size: 16px; }.help-card p { margin: 0 0 19px; color: var(--muted); font-size: 11px; line-height: 1.5; }.help-card b { color: var(--green-dark); font-size: 11px; }.toast { position: fixed; left: 50%; bottom: 25px; z-index: 30; padding: 11px 16px; color: white; background: #263b35; border-radius: 7px; box-shadow: 0 8px 25px rgba(20,40,33,.18); opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: .25s ease; font-size: 12px; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
.auth-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(440px, .94fr) minmax(560px, 1.06fr); overflow: hidden; background: #f8faf9; }
.auth-visual { position: relative; display: flex; flex-direction: column; min-height: 100vh; padding: 39px clamp(35px, 6vw, 100px); overflow: hidden; color: white; background: #183c31; }
.auth-visual::before { content: ""; position: absolute; width: 560px; height: 560px; right: -225px; bottom: -255px; border: 1px solid rgba(203, 244, 225, .14); border-radius: 50%; box-shadow: 0 0 0 70px rgba(203, 244, 225, .03), 0 0 0 140px rgba(203, 244, 225, .025); }
.auth-visual::after { content: ""; position: absolute; top: 31%; right: 13%; width: 7px; height: 7px; border-radius: 50%; background: #c8efdc; box-shadow: 0 0 0 7px rgba(200,239,220,.1), 70px 96px 0 -2px rgba(200,239,220,.4), -180px 180px 0 -2px rgba(200,239,220,.25); }
.auth-brand { position: relative; z-index: 1; color: white; }.auth-brand .brand-name span { color: #8ce2b7; }.auth-visual-content { position: relative; z-index: 1; max-width: 430px; margin: auto 0; padding-bottom: 54px; }.auth-visual-content .eyebrow { color: #8dccae; letter-spacing: .13em; }.auth-visual-content h1 { margin: 17px 0 19px; font-family: "Space Grotesk", sans-serif; font-size: clamp(37px, 4vw, 61px); letter-spacing: -2.7px; line-height: 1.1; }.auth-visual-content h1 em { color: #91e0b9; font-style: normal; }.auth-visual-content > p:last-child { max-width: 280px; margin: 0; color: #a8c4b7; font-size: 13px; line-height: 1.7; }.auth-visual-footer { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; color: #8aa99c; font-size: 10px; letter-spacing: .03em; }.auth-footer-line { width: 34px; height: 1px; background: #5b8776; }
.auth-panel-wrap { position: relative; z-index: 2; display: grid; place-items: center; margin-left: -28px; padding: 35px 56px 35px 84px; background: linear-gradient(90deg, rgba(226, 244, 235, .3), rgba(248, 252, 250, .9) 22%, #f8faf9 58%); }.auth-panel { width: min(100%, 408px); }.auth-panel-top { display: flex; justify-content: space-between; align-items: center; color: #a0aaa7; font-size: 11px; }.auth-panel-top a { color: var(--green-dark); font-weight: 600; }.auth-heading { margin-top: 72px; }.auth-heading h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 31px; letter-spacing: -1.1px; }.auth-heading p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }.auth-tabs { display: flex; gap: 24px; margin-top: 35px; border-bottom: 1px solid #e2eae6; }.auth-tabs button { position: relative; padding: 0 2px 13px; border: 0; color: #9ca8a5; background: transparent; cursor: pointer; font-size: 13px; }.auth-tabs button.active { color: var(--ink); font-weight: 700; }.auth-tabs button.active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--green); border-radius: 4px; }.auth-form { display: grid; gap: 17px; margin-top: 25px; }.auth-form label { display: grid; gap: 8px; color: #53645f; font-size: 11px; font-weight: 600; }.auth-form input[type="email"], .auth-form input[type="text"], .auth-form input[type="password"] { width: 100%; height: 43px; padding: 0 12px; color: var(--ink); border: 1px solid #dce7e2; border-radius: 6px; outline: none; background: white; transition: border-color .2s ease, box-shadow .2s ease; }.auth-form input::placeholder { color: #b4bfbb; }.auth-form input:focus { border-color: #7ac8a4; box-shadow: 0 0 0 3px rgba(64, 167, 119, .1); }.label-with-link { display: flex; justify-content: space-between; }.label-with-link a { color: var(--green-dark); font-size: 10px; font-weight: 600; }.password-field { position: relative; display: block; }.password-field input { padding-right: 40px !important; }.password-toggle { position: absolute; top: 0; right: 0; width: 40px; height: 43px; border: 0; color: #9ca8a5; background: transparent; cursor: pointer; font-size: 14px; }.password-toggle.is-visible { color: var(--green); }.check-label { display: flex !important; align-items: center; gap: 8px !important; color: #7d8b87 !important; font-weight: 400 !important; }.check-label input { width: 14px; height: 14px; margin: 0; accent-color: var(--green); }.terms-label { align-items: flex-start; line-height: 1.55; }.terms-label a { margin: 0 3px; color: var(--green-dark); font-weight: 600; }.auth-submit { display: flex; align-items: center; justify-content: center; gap: 13px; height: 45px; margin-top: 3px; color: white; border: 1px solid var(--green); border-radius: 6px; background: var(--green); cursor: pointer; font-size: 12px; font-weight: 700; transition: background .2s ease, transform .2s ease; }.auth-submit:hover { background: var(--green-dark); transform: translateY(-1px); }.auth-submit span { font-size: 16px; }.auth-divider { display: flex; align-items: center; gap: 10px; color: #a4afac; font-size: 10px; }.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: #e4ebe8; }.social-button { display: flex; align-items: center; justify-content: center; gap: 10px; height: 42px; color: #4a5c57; border: 1px solid #dce7e2; border-radius: 6px; background: white; cursor: pointer; font-size: 11px; font-weight: 600; }.social-button:hover { border-color: #b8dcca; }.social-icon { display: grid; place-items: center; width: 19px; height: 19px; color: #4285f4; font-family: Arial, sans-serif; font-size: 16px; font-weight: 700; }.auth-bottom-copy { margin: 29px 0 0; text-align: center; color: #9ca8a5; font-size: 11px; }.auth-bottom-copy button { padding: 0; margin-left: 4px; color: var(--green-dark); border: 0; background: transparent; cursor: pointer; font-size: inherit; font-weight: 700; }.auth-security { display: flex; justify-content: center; align-items: center; gap: 5px; margin: 34px 0 0; color: #aab5b1; font-size: 10px; }.auth-security span { color: #7ac39c; font-size: 8px; }
.auth-code-row, .captcha-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 9px; }
.send-code-button { height: 48px; padding: 0 14px; color: var(--green-dark); border: 1px solid #b9ddca; border-radius: 11px; background: #eff9f4; cursor: pointer; font-size: 11px; font-weight: 700; white-space: nowrap; }
.send-code-button:disabled { color: #9ca8a5; border-color: #e0e9e5; background: #f5f8f7; cursor: wait; }
.captcha-image-button { display: grid; width: 170px; height: 48px; padding: 0; overflow: hidden; border: 1px solid #dce7e2; border-radius: 10px; background: #eef8f3; cursor: pointer; }
.captcha-image-button img { width: 100%; height: 100%; object-fit: cover; }
.auth-panel-wrap { overflow: hidden; }
.auth-leaves { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.auth-leaves span { position: absolute; top: -10%; left: var(--left); width: var(--size); height: calc(var(--size) * .58); border-radius: 100% 0 100% 0; background: var(--leaf-color); box-shadow: 0 5px 14px rgba(47, 157, 114, .1); opacity: 0; transform: translate3d(0, -12vh, 0) rotate(0deg); animation: leaf-fall var(--duration) linear infinite; animation-delay: var(--delay); }
.auth-leaves span:nth-child(1) { --left: 8%; --size: 18px; --duration: 14s; --delay: -8s; --drift: 72px; --leaf-color: rgba(47, 157, 114, .28); }
.auth-leaves span:nth-child(2) { --left: 18%; --size: 11px; --duration: 11s; --delay: -2s; --drift: -52px; --leaf-color: rgba(127, 178, 150, .34); }
.auth-leaves span:nth-child(3) { --left: 29%; --size: 15px; --duration: 16s; --delay: -13s; --drift: 88px; --leaf-color: rgba(47, 157, 114, .22); }
.auth-leaves span:nth-child(4) { --left: 39%; --size: 9px; --duration: 12s; --delay: -6s; --drift: -74px; --leaf-color: rgba(105, 166, 137, .32); }
.auth-leaves span:nth-child(5) { --left: 50%; --size: 20px; --duration: 18s; --delay: -10s; --drift: 45px; --leaf-color: rgba(47, 157, 114, .2); }
.auth-leaves span:nth-child(6) { --left: 61%; --size: 13px; --duration: 13s; --delay: -4s; --drift: -92px; --leaf-color: rgba(122, 177, 149, .3); }
.auth-leaves span:nth-child(7) { --left: 72%; --size: 8px; --duration: 10s; --delay: -7s; --drift: 36px; --leaf-color: rgba(47, 157, 114, .3); }
.auth-leaves span:nth-child(8) { --left: 84%; --size: 17px; --duration: 15s; --delay: -11s; --drift: -64px; --leaf-color: rgba(86, 156, 121, .26); }
.auth-leaves span:nth-child(9) { --left: 94%; --size: 12px; --duration: 12s; --delay: -5s; --drift: 78px; --leaf-color: rgba(127, 178, 150, .32); }
.auth-leaves span:nth-child(10) { --left: 23%; --size: 7px; --duration: 9s; --delay: -3s; --drift: 43px; --leaf-color: rgba(47, 157, 114, .3); }
.auth-leaves span:nth-child(11) { --left: 45%; --size: 14px; --duration: 14s; --delay: -9s; --drift: -82px; --leaf-color: rgba(105, 166, 137, .27); }
.auth-leaves span:nth-child(12) { --left: 57%; --size: 10px; --duration: 10s; --delay: -1s; --drift: 58px; --leaf-color: rgba(47, 157, 114, .34); }
.auth-leaves span:nth-child(13) { --left: 68%; --size: 16px; --duration: 17s; --delay: -14s; --drift: -48px; --leaf-color: rgba(122, 177, 149, .3); }
.auth-leaves span:nth-child(14) { --left: 79%; --size: 9px; --duration: 11s; --delay: -6s; --drift: 92px; --leaf-color: rgba(47, 157, 114, .28); }
.auth-leaves span:nth-child(15) { --left: 89%; --size: 14px; --duration: 13s; --delay: -12s; --drift: -70px; --leaf-color: rgba(105, 166, 137, .34); }
.auth-leaves span:nth-child(16) { --left: 35%; --size: 11px; --duration: 10s; --delay: -8s; --drift: 64px; --leaf-color: rgba(47, 157, 114, .26); }
@keyframes leaf-fall {
  0% { opacity: 0; transform: translate3d(0, -12vh, 0) rotate(-25deg); }
  12% { opacity: .95; }
  88% { opacity: .72; }
  100% { opacity: 0; transform: translate3d(var(--drift), 115vh, 0) rotate(325deg); }
}
.auth-panel { position: relative; z-index: 1; }
[hidden] { display: none !important; }
@media (max-width: 1100px) { :root { --sidebar: 220px; }.plans-grid { grid-template-columns: repeat(2, 1fr); }.plan-card { min-height: 350px; }.quick-card { padding: 16px; } }
@media (max-width: 780px) { :root { --sidebar: 0px; }.sidebar { left: -270px; width: 255px; transition: left .25s ease; box-shadow: 8px 0 25px rgba(23,45,37,.08); }.sidebar.open { left: 0; }.main-content { width: 100%; margin-left: 0; }.topbar { height: 65px; padding: 0 20px; }.mobile-brand { display: flex; font-size: 17px; }.breadcrumb { display: none; }.topbar-actions { gap: 13px; }.help-link { display: none; }.mobile-menu { display: grid; gap: 4px; width: 28px; padding: 5px 0; border: 0; background: none; cursor: pointer; }.mobile-menu span { width: 20px; height: 2px; margin-left: auto; background: var(--ink); border-radius: 2px; }.content-wrap { padding: 32px 20px 55px; }.page-heading { display: block; margin-bottom: 28px; }.page-heading .outline-button, .page-heading .primary-action { margin-top: 20px; }.stats-grid, .quick-grid, .billing-overview, .help-grid { grid-template-columns: 1fr; }.stat-card { min-height: 150px; }.section-row-spaced { margin-top: 39px; }.activity-heading { margin-top: 42px; }.plans-grid { grid-template-columns: 1fr; }.billing-toggle { display: inline-flex; margin-top: 20px; }.settings-panel { grid-template-columns: 1fr; gap: 25px; padding: 20px; }.settings-avatar { justify-items: start; grid-template-columns: auto auto; align-items: center; }.settings-fields { grid-template-columns: 1fr; }.usage-panel { padding: 20px; }.usage-summary strong { font-size: 34px; }.donut { width: 87px; height: 87px; }.donut::before { width: 64px; height: 64px; }.donut strong { font-size: 15px; } }
@media (max-width: 420px) { .content-wrap { padding-left: 15px; padding-right: 15px; }.topbar { padding-left: 15px; padding-right: 15px; }.page-heading h1 { font-size: 30px; }.stat-card, .quick-card { padding-left: 16px; padding-right: 16px; }.activity-table th, .activity-table td { padding-left: 13px; padding-right: 13px; }.activity-table th:nth-child(3), .activity-table td:nth-child(3) { display: none; }.usage-legend { gap: 12px; }.usage-summary p { max-width: 145px; line-height: 1.4; } }
@media (max-width: 860px) { .auth-screen { display: block; background: #f8faf9; }.auth-visual { min-height: 100px; padding: 20px 24px 18px; }.auth-visual::before { width: 220px; height: 220px; right: -110px; bottom: -175px; }.auth-visual-content { display: none; }.auth-visual-footer { display: none; }.auth-panel-wrap { display: block; margin-left: 0; padding: 12px 22px 30px; background: radial-gradient(circle at 78% 28%, rgba(192, 245, 220, .22), transparent 18rem), rgba(248, 252, 250, .8); }.auth-panel-wrap::before { content: "一卷纳万象\\A方寸起千城"; position: absolute; top: 22%; right: 2%; z-index: 0; color: rgba(47, 157, 114, .1); font-family: "Space Grotesk", "Microsoft YaHei", sans-serif; font-size: clamp(36px, 12vw, 58px); font-weight: 700; letter-spacing: .08em; line-height: 1.25; white-space: pre; text-align: right; transform: rotate(-8deg); pointer-events: none; }.auth-panel { max-width: 430px; margin: 0 auto; }.auth-heading { margin-top: 18px; }.auth-heading h2 { font-size: 28px; }.auth-security { margin-top: 30px; } }
.avatar-upload { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }.settings-avatar { position: relative; }.avatar.has-image { color: transparent; background-position: center; background-size: cover; background-repeat: no-repeat; }.settings-avatar .avatar.large { overflow: hidden; }.avatar-hint { color: var(--muted); font-size: 9px; }
@media (max-width: 390px) { .auth-panel-wrap { padding-left: 16px; padding-right: 16px; }.auth-heading { margin-top: 35px; } }

/* Keep auth views in one visual stage so the switch feels continuous. */
.auth-form-stage { display: grid; margin-top: 25px; }
.auth-form-stage { overflow: hidden; transition: height .34s cubic-bezier(.16, 1, .3, 1); }
.auth-form { grid-area: 1 / 1; align-self: start; margin-top: 0; transition: opacity .2s ease, transform .34s cubic-bezier(.16, 1, .3, 1), filter .34s ease; }
.auth-form.is-active { position: relative; z-index: 1; opacity: 1; transform: translateY(0); filter: blur(0); pointer-events: auto; }
.auth-form.is-inactive { position: relative; z-index: 0; visibility: hidden; opacity: 0; transform: translateY(9px); filter: blur(4px); pointer-events: none; }
.auth-form.is-active { visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  .auth-form { transition: opacity .15s ease; }
  .auth-form.is-inactive { transform: none; filter: none; }
}

.auth-heading { margin-top: 0; }
.policy-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; }
.policy-backdrop { position: absolute; inset: 0; background: rgba(24, 60, 49, .32); backdrop-filter: blur(3px); }
.policy-dialog { position: relative; width: min(100%, 560px); max-height: min(720px, calc(100vh - 48px)); overflow: hidden; padding: 30px 32px 28px; border: 1px solid #dce9e3; border-radius: 12px; background: #fff; box-shadow: 0 24px 70px rgba(24, 60, 49, .18); animation: policy-in .24s cubic-bezier(.16, 1, .3, 1) both; }
.policy-close { position: absolute; top: 18px; right: 20px; display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #71817b; background: #f1f6f3; cursor: pointer; font-size: 21px; line-height: 1; }
.policy-close:hover { color: var(--ink); background: #e5f2eb; }
.policy-dialog-heading { padding-right: 34px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.policy-kicker { color: var(--green-dark); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.policy-dialog h2 { margin: 8px 0 5px; font-family: "Space Grotesk", sans-serif; font-size: 27px; letter-spacing: -1px; }
.policy-dialog-heading p { margin: 0; color: #9ca8a5; font-size: 10px; }
.policy-content { max-height: 510px; overflow: auto; padding: 21px 7px 3px 0; }
.policy-content h3 { margin: 0 0 7px; color: #334a43; font-size: 12px; }
.policy-content p { margin: 0 0 17px; color: #70807a; font-size: 11px; line-height: 1.7; }
.policy-content [data-policy-content="privacy"] p { font-size: 13px; line-height: 1.8; }
.policy-content [data-policy-content="privacy"] h3 { margin: 22px 0 8px; font-size: 14px; }
.policy-content [data-policy-content="privacy"] h3:first-of-type { margin-top: 18px; }
.policy-content [data-policy-content="privacy"] a { color: var(--green-dark); text-decoration: underline; }
@keyframes policy-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
body.modal-open { overflow: hidden; }
@media (max-width: 600px) {
  .policy-modal { padding: 14px; }
  .policy-dialog { max-height: calc(100vh - 28px); padding: 25px 21px 21px; }
  .policy-content { max-height: calc(100vh - 190px); }
}
@media (prefers-reduced-motion: reduce) {
  .policy-dialog { animation: none; }
}

/* Bright material refresh: glass is reserved for navigation and transient surfaces. */
:root {
  --ink: #17231f;
  --muted: #6f7e79;
  --soft: #eef5f2;
  --line: rgba(34, 70, 58, .12);
  --green: #2f9d72;
  --green-dark: #176847;
  --mint: #dff5eb;
  --orange: #ef9462;
  --sky: #e8f2fb;
  --page: #f4f8f6;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, .74);
  --glass-strong: rgba(255, 255, 255, .88);
  --shadow-soft: 0 18px 50px rgba(36, 83, 66, .08);
  --shadow-lift: 0 18px 34px rgba(36, 83, 66, .12);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(224, 244, 235, .92), transparent 32rem),
    radial-gradient(circle at 94% 12%, rgba(232, 242, 251, .86), transparent 28rem),
    var(--page);
  font-family: "DM Sans", "Microsoft YaHei", sans-serif;
}

button, a, input, select { outline-color: var(--green); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, .switch-row input:focus-visible + .switch {
  outline: 3px solid rgba(47, 157, 114, .28);
  outline-offset: 3px;
}

.sidebar {
  padding: 24px 15px 16px;
  background: var(--glass);
  border-right: 1px solid rgba(255, 255, 255, .78);
  box-shadow: 12px 0 34px rgba(39, 81, 65, .05);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}

.brand, .mobile-brand { letter-spacing: -.045em; }
.brand-mark { filter: drop-shadow(0 4px 8px rgba(47, 157, 114, .14)); }
.workspace-switcher { margin-top: 24px; border-color: var(--line); }
.workspace-avatar, .avatar { border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.nav-list { padding-top: 20px; }
.nav-item {
  min-height: 46px;
  border-radius: 12px;
  color: #687872;
  transition: color .22s ease, background-color .22s ease, transform .22s ease;
}
.nav-item:hover { transform: translateX(2px); color: var(--ink); background: rgba(255, 255, 255, .78); }
.nav-item.active {
  color: var(--green-dark);
  background: rgba(222, 245, 235, .88);
  box-shadow: inset 0 0 0 1px rgba(47, 157, 114, .08);
}
.support-card {
  margin: 17px 3px 15px;
  background: rgba(235, 249, 243, .76);
  border: 1px solid rgba(47, 157, 114, .12);
  border-radius: 14px;
}
.user-profile { border-color: var(--line); }

.main-content { background: transparent; }
.topbar {
  height: 73px;
  background: var(--glass);
  border-bottom: 1px solid rgba(255, 255, 255, .78);
  box-shadow: 0 8px 28px rgba(39, 81, 65, .04);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}
.topbar-actions { gap: 12px; }
.top-icon, .help-link, .mobile-menu { min-width: 44px; min-height: 44px; }
.help-link { padding: 0 9px; border-radius: 10px; }
.help-link:hover { color: var(--green-dark); background: rgba(255, 255, 255, .76); }
.content-wrap { max-width: 1360px; padding-top: 58px; }
.page-section { animation: section-in .42s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes section-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-heading { margin-bottom: 34px; }
.eyebrow { color: #82938c; font-weight: 600; letter-spacing: .08em; }
.page-heading h1, .section-row h2, .auth-heading h2, .policy-dialog h2 {
  letter-spacing: -.045em;
  text-wrap: balance;
}
.heading-copy { max-width: 62ch; line-height: 1.65; }
.outline-button, .primary-action, .small-button {
  min-height: 44px;
  border-radius: 11px;
  border-color: rgba(34, 70, 58, .14);
  box-shadow: 0 5px 16px rgba(36, 83, 66, .04);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.outline-button:hover, .small-button:hover {
  border-color: rgba(47, 157, 114, .44);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 20px rgba(36, 83, 66, .09);
  transform: translateY(-1px);
}
.outline-button:active, .small-button:active, .auth-submit:active, .plan-button:active { transform: translateY(1px) scale(.985); }

.stats-grid, .quick-grid, .plans-grid, .help-grid { gap: 18px; }
.stat-card, .quick-card, .plan-card, .usage-panel, .billing-overview > div, .activity-table-wrap, .settings-panel {
  border: 1px solid rgba(34, 70, 58, .1);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.stat-card, .quick-card, .plan-card, .usage-panel, .billing-overview > div, .activity-table-wrap, .settings-panel {
  background: rgba(255, 255, 255, .9);
}
.stat-card, .quick-card, .plan-card { transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.stat-card:hover, .quick-card:hover, .plan-card:hover {
  border-color: rgba(47, 157, 114, .25);
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}
.stat-card { min-height: 174px; padding: 23px 23px 19px; }
.status-dot { box-shadow: 0 0 0 4px rgba(47, 157, 114, .12); }
.progress-track, .large-progress { background: #e9f0ed; }
.progress-fill, .large-progress span { background: linear-gradient(90deg, #2f9d72, #72c99e); }
.plan-pill, .trend-up, .paid-status { border-radius: 7px; }
.section-row-spaced { margin-top: 64px; }
.quick-card { min-height: 153px; padding: 22px; }
.quick-card.accent-card {
  background: linear-gradient(145deg, #2f9d72, #247e5a);
  box-shadow: 0 18px 34px rgba(47, 157, 114, .2);
}
.quick-card:hover { transform: translateY(-4px); }
.quick-card p, .help-card p { max-width: 34ch; line-height: 1.6; }
.circle-arrow { width: 32px; height: 32px; border-radius: 10px; }

.usage-panel { padding: 31px; }
.donut { box-shadow: 0 14px 30px rgba(47, 157, 114, .12); }
.plans-grid { align-items: stretch; }
.plan-card { min-height: 390px; padding: 24px; }
.plan-card.selected {
  border-color: rgba(47, 157, 114, .4);
  background: linear-gradient(180deg, rgba(241, 251, 246, .96), rgba(255, 255, 255, .94));
}
.plan-button { min-height: 44px; border-radius: 10px; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.plan-button.primary { box-shadow: 0 8px 18px rgba(47, 157, 114, .18); }
.activity-table-wrap { overflow-x: auto; }
.activity-table th { background: rgba(247, 251, 249, .82); }
.settings-panel { padding: 31px; }
.settings-info { border-radius: 10px; background: rgba(248, 251, 249, .84); }
.switch { min-width: 44px; width: 44px; height: 24px; }
.switch::after { width: 18px; height: 18px; }
.switch-row input:checked + .switch::after { transform: translateX(20px); }
.help-card { min-height: 214px; border-radius: 16px; box-shadow: var(--shadow-soft); }
.help-card > span { border-radius: 11px; }
.toast { border-radius: 12px; box-shadow: 0 16px 35px rgba(24, 60, 49, .18); }

.auth-screen {
  background:
    radial-gradient(circle at 68% 8%, rgba(228, 245, 237, .92), transparent 28rem),
    #f5f9f7;
}
.auth-visual {
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .72), transparent 20rem),
    linear-gradient(145deg, #e2f4eb, #cfe9dd 55%, #e8f3fa);
}
.auth-visual::before {
  right: -200px;
  bottom: -290px;
  border-color: rgba(47, 157, 114, .16);
  box-shadow: 0 0 0 70px rgba(47, 157, 114, .06), 0 0 0 140px rgba(47, 157, 114, .035);
}
.auth-visual::after {
  background: #2f9d72;
  box-shadow: 0 0 0 7px rgba(47, 157, 114, .1), 70px 96px 0 -2px rgba(47, 157, 114, .35), -180px 180px 0 -2px rgba(47, 157, 114, .2);
}
.auth-brand { color: var(--ink); }
.auth-brand .brand-name span { color: var(--green-dark); }
.auth-visual-content .eyebrow { color: var(--green-dark); }
.auth-visual-content h1 { color: #18352b; }
.auth-visual-content h1 em { color: var(--green-dark); }
.auth-visual-content > p:last-child { color: #537369; }
.auth-visual-footer { color: #64877a; }
.auth-footer-line { background: #8ab8a3; }
.auth-panel-wrap { background: rgba(248, 252, 250, .8); }
.auth-panel {
  padding: 34px 36px 31px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 22px;
  background: var(--glass-strong);
  box-shadow: 0 22px 60px rgba(37, 81, 65, .1);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}
.auth-heading { margin-top: 0; }
.auth-tabs { margin-top: 29px; gap: 26px; }
.auth-tabs button { min-height: 44px; }
.auth-form-stage { margin-top: 21px; }
.auth-form input[type="email"], .auth-form input[type="text"], .auth-form input[type="password"] {
  height: 48px;
  border-radius: 11px;
  border-color: rgba(34, 70, 58, .14);
  background: rgba(255, 255, 255, .9);
}
.auth-form input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(47, 157, 114, .12); }
.password-toggle { width: 44px; height: 48px; }
.auth-submit { height: 48px; border-radius: 11px; box-shadow: 0 9px 22px rgba(47, 157, 114, .18); }
.auth-submit:hover { box-shadow: 0 12px 28px rgba(47, 157, 114, .24); }
.auth-bottom-copy { margin-top: 25px; }
.auth-security { margin-top: 34px; }
.policy-backdrop { background: rgba(23, 54, 43, .24); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.policy-dialog {
  border: 1px solid rgba(255, 255, 255, .84);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 28px 80px rgba(24, 60, 49, .2);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}
.policy-close { min-width: 44px; min-height: 44px; top: 14px; right: 14px; border-radius: 12px; }

@media (max-width: 1100px) {
  .content-wrap { padding-left: clamp(24px, 4vw, 48px); padding-right: clamp(24px, 4vw, 48px); }
  .stat-card { padding-left: 19px; padding-right: 19px; }
}

@media (max-width: 780px) {
  body { background: var(--page); }
  .sidebar { box-shadow: 16px 0 40px rgba(39, 81, 65, .14); }
  .topbar { background: rgba(255, 255, 255, .82); }
  .content-wrap { padding: 35px 20px max(55px, env(safe-area-inset-bottom)); }
  .page-heading { margin-bottom: 25px; }
  .page-heading h1 { font-size: clamp(30px, 8vw, 38px); }
  .stats-grid, .quick-grid, .billing-overview, .help-grid { gap: 13px; }
  .stat-card, .quick-card, .plan-card, .help-card { border-radius: 14px; }
  .section-row-spaced { margin-top: 45px; }
  .section-row { align-items: flex-start; }
  .section-row .text-link { margin-top: 4px; white-space: nowrap; }
  .usage-panel, .settings-panel { padding: 22px; }
  .admin-form-grid { grid-template-columns: 1fr 1fr; }
  .admin-form-actions { align-items: stretch; flex-direction: column; }
  .admin-form-actions .primary-action { width: 100%; }
  .auth-panel-wrap { margin-left: 0; padding: 14px 18px max(30px, env(safe-area-inset-bottom)); background: rgba(248, 252, 250, .8); }
  .auth-panel { width: 100%; padding: 22px 0 18px; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .auth-panel::before { content: ""; position: absolute; top: 0; right: 8%; left: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(77, 180, 137, .42), transparent); box-shadow: 0 0 18px rgba(77, 180, 137, .3); opacity: .8; pointer-events: none; }
  .auth-panel::after { content: ""; position: absolute; right: 12%; bottom: 3px; left: 12%; height: 18px; background: radial-gradient(ellipse, rgba(93, 193, 153, .18), transparent 68%); filter: blur(8px); pointer-events: none; }
  .auth-screen { background: #f8faf9; }
  .auth-panel-wrap { background: transparent; }
  .auth-visual { min-height: 72px; padding: max(16px, env(safe-area-inset-top)) 20px 10px; background: transparent; }
  .auth-visual::before, .auth-visual::after { display: none; }
  .auth-visual .auth-brand { font-size: 17px; }
  .auth-leaves { display: none; }
  .auth-panel-wrap { padding: 4px 20px max(24px, env(safe-area-inset-bottom)); background: transparent; }
  .auth-panel-wrap::before { display: none; }
  .auth-panel::before, .auth-panel::after { display: none; }
  .auth-panel { width: min(100%, 340px); padding: 8px 0 10px; }
  .auth-heading { margin-top: 8px; }
  .auth-heading h2 { font-size: 26px; }
  .auth-tabs { margin-top: 22px; gap: 22px; }
  .auth-tabs button { min-height: 39px; padding-bottom: 10px; }
  .auth-form-stage { margin-top: 17px; }
  .auth-form { gap: 13px; }
  .auth-form input[type="email"], .auth-form input[type="text"], .auth-form input[type="password"] { height: 43px; border-radius: 9px; }
  .send-code-button { height: 43px; padding: 0 11px; border-radius: 9px; }
  .captcha-image-button { width: 132px; height: 43px; border-radius: 9px; }
  .password-toggle { height: 43px; }
  .auth-submit { height: 45px; border-radius: 9px; box-shadow: 0 7px 16px rgba(47, 157, 114, .14); }
  .auth-bottom-copy { margin-top: 20px; }
  .auth-security { margin-top: 23px; }
}

@media (max-width: 420px) {
  .content-wrap { padding-left: 15px; padding-right: 15px; }
  .topbar { padding-left: 15px; padding-right: 15px; }
  .page-heading h1 { font-size: 31px; }
  .page-heading .outline-button { width: 100%; }
  .stat-card, .quick-card, .plan-card, .help-card { padding: 18px; }
  .usage-summary { gap: 16px; }
  .usage-summary strong { font-size: 32px; }
  .usage-summary p { max-width: 165px; }
  .auth-panel-wrap { padding-left: 14px; padding-right: 14px; }
  .auth-panel { padding-left: 0; padding-right: 0; }
  .auth-panel { width: min(100%, 332px); }
  .auth-heading { margin-top: 8px; }
  .auth-heading h2 { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-leaves span { animation: none; opacity: .15; transform: rotate(-25deg); }
}

@media (hover: none) {
  .nav-item:hover, .stat-card:hover, .quick-card:hover, .plan-card:hover, .help-card:hover { transform: none; }
  .nav-item:active, .stat-card:active, .quick-card:active, .plan-card:active, .help-card:active { transform: scale(.99); }
}

@media (prefers-reduced-motion: reduce) {
  .page-section, .nav-item, .stat-card, .quick-card, .plan-card, .help-card, .outline-button, .small-button, .auth-submit {
    animation: none;
    transition: none;
  }
}
