:root {
  --paper: #f6f7f3;
  --surface: #fff;
  --ink: #243d35;
  --muted: #5f6e5a;
  --line: #e2e8df;
  --dark: #24483e;
  --warm: #375f4e;
  --warm-soft: #edf2e9;
  --gold: #9a8050;
  --rail-width: 228px;
  --shadow: 0 8px 28px #263e3210;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body.cureqi-product { margin: 0; color: var(--ink); background: var(--paper); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 14px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.cureqi-product [hidden] { display: none !important; }
.cureqi-product button, .cureqi-product a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.cureqi-product button { cursor: pointer; }
.cureqi-product button:disabled { cursor: not-allowed; }
.cureqi-product :focus-visible { outline: 3px solid #718f53; outline-offset: 4px; }
.cureqi-product .shell { width: auto; max-width: none; margin: 0; padding: 0 0 0 var(--rail-width); min-height: 100dvh; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.ui-icon { display: inline-block; width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: fixed; left: 250px; top: -100px; z-index: 100; padding: 12px 20px; background: #fff; color: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 8px; }
.app-rail { display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--rail-width); overflow-y: auto; padding: 32px 18px 20px; background: #fcfcf9; border-right: 1px solid var(--line); }
.cureqi-product .brand { display: flex; gap: 12px; padding: 0 8px; color: var(--ink); text-decoration: none; }
.brand-logo { display: block; object-fit: contain; flex-shrink: 0; }
.cureqi-product .brand .brand-logo { width: 44px; height: 44px; border-radius: 0; box-shadow: none; }
.brand strong { display: block; font-size: 21px; letter-spacing: -.6px; }
.brand small { font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.cureqi-product .button { min-height: 42px; border-radius: 9px; padding: 9px 16px; font-size: 13px; font-weight: 600; text-decoration: none; }
.cureqi-product .button-primary { background: #2d5144; color: #fff; box-shadow: 0 3px 8px #26483612; }
.cureqi-product .button-primary:hover { background: #1e3d32; }
.cureqi-product .button-outline { color: #486052; border-color: #d9e1d5; background: #ffffffb3; }
.cureqi-product .button-outline:hover { background: #edf2e8; border-color: #bacab4; }
.cureqi-product .button-quiet { color: #54705e; }
.rail-start { width: 100%; margin: 34px 0 27px; }
.rail-caption { padding-left: 14px; margin-bottom: 12px; color: #7c857e; font-size: 10px; letter-spacing: 1.5px; }
.primary-nav { display: grid; gap: 8px; }
.primary-nav a { display: flex; gap: 15px; align-items: center; min-height: 62px; padding: 12px 15px; color: #627165; border: 1px solid transparent; border-radius: 11px; text-decoration: none; }
.primary-nav a:hover { background: #f0f3ed; }
.primary-nav a[aria-current="page"] { color: #244c3e; border-color: #e0e8d9; background: #eaf0e3; }
.primary-nav a span { font-size: 14px; font-weight: 600; }
.primary-nav a small { display: block; margin-top: 1px; font-size: 10px; font-weight: 400; opacity: .8; }
.rail-note { margin: 40px 14px 30px; color: #637866; }
.rail-note-line { display: block; width: 22px; height: 1px; margin-bottom: 17px; background: #afbd9f; }
.rail-note p { margin: 0 0 9px; font: 18px/1.8 "Songti SC", STSong, serif; letter-spacing: 2px; }
.rail-note small { color: #838e7e; font-size: 10px; }
.rail-wallet { margin-top: auto; padding: 15px 13px 10px; border: 1px solid #e2e7d9; border-radius: 10px; background: linear-gradient(130deg, #f1f4e8, #f8f8f0); }
.rail-wallet > div { display: flex; gap: 6px; align-items: center; font-size: 11px; }
.rail-wallet .ui-icon { width: 16px; height: 16px; flex-basis: 16px; color: #8a784b; }
.rail-wallet strong { margin-left: auto; font-size: 18px; font-variant-numeric: tabular-nums; }
.rail-wallet button { display: flex; justify-content: space-between; width: 100%; min-height: 38px; margin-top: 7px; padding: 9px 0 0; border: 0; border-top: 1px solid #e0e5d7; color: #5c6b4e; background: transparent; font-size: 12px; }
.rail-account { display: flex; align-items: center; gap: 9px; margin-top: 18px; padding: 8px 0; color: var(--ink); text-decoration: none; }
.account-avatar { display: inline-grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid #dbe3d2; border-radius: 50%; color: #486246; background: #e9eee1; font-family: "Songti SC", serif; }
.rail-account > span:nth-child(2) { min-width: 0; flex: 1; }
.rail-account strong, .rail-account small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-account strong { font-size: 12px; font-weight: 500; }
.rail-account small { font-size: 10px; color: var(--muted); }
.platform-home { margin: 12px 0 0; padding-left: 44px; color: #788370; font-size: 10px; text-decoration: none; }
.cureqi-product .topbar { position: sticky; top: 0; z-index: 30; height: 76px; margin: 0; padding: 0 36px; border-bottom: 1px solid var(--line); background: #fcfcf8f5; backdrop-filter: blur(12px); }
.topbar-location { display: flex; align-items: center; gap: 17px; }
.topbar-location > strong { font-size: 15px; font-weight: 600; }
.topbar-subtitle { border-left: 1px solid #d7dfd2; padding-left: 17px; color: #5f6e5a; font-size: 11px; }
.cureqi-product .account { gap: 11px; }
.header-balance { display: flex; gap: 6px; align-items: center; margin-right: 5px; color: #647347; text-decoration: none; font-size: 12px; }
.header-balance .ui-icon { color: #947e46; width: 17px; height: 17px; flex-basis: 17px; }
.mobile-brand, .mobile-nav, .mobile-history-toggle, .history-close, .history-backdrop { display: none; }
.cureqi-product .band { max-width: 1350px; margin: 0 auto; padding: 30px 36px; border-top: 0; }
.cureqi-product .page-status { position: sticky; top: 76px; z-index: 20; margin: 0; padding: 12px 36px; }
.cureqi-product .intro { position: relative; min-height: 0; height: 214px; margin: 26px 36px 0; padding: 27px 34px; border: 1px solid #dfe6d9; border-radius: 16px; background: #edf1e6; isolation: isolate; }
.cureqi-product .intro-art { inset: 0 0 0 auto; width: 65%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; opacity: .85; }
.cureqi-product .intro::after { position: absolute; content: ""; inset: 0; background: linear-gradient(90deg, #edf1e6 32%, #edf1e6e3 49%, #edf1e64a 78%, #edf1e60a); z-index: -1; }
.cureqi-product .intro-content { padding: 0; max-width: 560px; }
.cureqi-product .intro .eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; color: #6a7d55; letter-spacing: 2px; font-size: 10px; }
.hero-dot { width: 5px; height: 5px; border-radius: 50%; background: #7c9469; }
.cureqi-product h1 { margin: 0 0 9px; font: 500 34px/1.3 "Songti SC", "Noto Serif SC", STSong, serif; letter-spacing: 2px; }
.cureqi-product h1 em { color: #416142; }
.cureqi-product .intro-copy { margin-bottom: 12px; color: #52664e; font-size: 12px; line-height: 1.9; }
.hero-guide { padding: 0; min-height: 28px; color: #4e684c; background: none; border: 0; font-size: 11px; }
.hero-guide span { padding-left: 8px; }
.hero-inscription { position: absolute; right: 28px; top: 31px; writing-mode: vertical-rl; color: #4b6253; font: 15px/1.8 "Songti SC", serif; letter-spacing: 5px; }
.cureqi-product.has-conversation .intro { height: 145px; padding-top: 21px; padding-bottom: 18px; }
.cureqi-product.has-conversation .intro-copy { display: none; }
.cureqi-product.has-conversation h1 { font-size: 29px; }
.cureqi-product .agent { padding-top: 24px; padding-bottom: 32px; }
.cureqi-product .agent-heading { margin-bottom: 14px; align-items: center; flex-direction: row; }
.cureqi-product .agent-heading-actions { width: auto; align-items: center; justify-content: flex-end; }
.agent-heading-title { display: flex; align-items: center; gap: 11px; }
.companion-emblem { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #d5dfc8; background: #e9efdf; color: #587048; font: 20px "Songti SC", serif; }
.cureqi-product .agent-heading h2 { font-size: 16px; font-weight: 600; }
.agent-heading-title p { margin: 3px 0 0; font-size: 10px; color: #7e8a78; }
.cureqi-product .agent-pricing { display: none; }
.cureqi-product .agent-notice { margin: 0 0 12px; padding: 8px 12px; border-radius: 7px; font-size: 11px; }
.cureqi-product .agent-notice.is-ready { display: none; }
.cureqi-product .agent-encounter { margin: 0 0 18px; padding: 18px 22px; border-radius: 12px; background: #f0f3e9; }
.cureqi-product .agent-encounter h3 { font-size: 17px; }
.cureqi-product .agent-encounter-copy > p:not(.eyebrow) { font-size: 12px; }
.cureqi-product .agent-profile-panel { margin: 0 0 18px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cureqi-product .agent-path { margin: 0 0 18px; border-radius: 12px; }
.cureqi-product .agent-continuation { margin-bottom: 14px; border-radius: 9px; padding: 12px 16px; }
.cureqi-product .agent-workbench { grid-template-columns: 210px minmax(0, 1fr); min-height: 590px; overflow: hidden; border: 1px solid #dfe5d9; border-radius: 14px; background: #fff; box-shadow: 0 5px 25px #374c3107; }
.cureqi-product .agent-sidebar { border-color: #e7ebdf; background: #fafbf6; }
.cureqi-product .agent-sidebar-head { min-height: 64px; padding: 11px 14px; border-color: #e7ebdf; }
.cureqi-product .agent-sidebar-head h3 { font-size: 12px; }
.cureqi-product .agent-new { min-height: 34px; padding: 5px 8px; font-size: 11px; }
.cureqi-product .agent-conversation-list { display: block; min-height: 0; overflow-y: auto; padding: 7px; }
.cureqi-product .agent-conversation { margin: 2px 0; padding: 12px 11px; border: 0; border-radius: 8px; background: transparent; }
.cureqi-product .agent-conversation strong { font-size: 12px; font-weight: 500; }
.cureqi-product .agent-conversation small { margin-top: 4px; color: #87917e; font-size: 10px; }
.cureqi-product .agent-conversation.is-active { background: #eaf0e1; box-shadow: none; border-left: 0; }
.cureqi-product .agent-conversation:hover { background: #f0f3e9; }
.cureqi-product .agent-quota { margin-top: auto; border-color: #e5eadc; padding: 18px 15px; }
.cureqi-product .agent-quota p { font-size: 10px; }
.cureqi-product .agent-chat { background: #fff; }
.cureqi-product .agent-chat-head { min-height: 64px; padding: 13px 22px; border-color: #edf0e7; }
.cureqi-product .agent-chat-head h3 { font-size: 13px; font-weight: 600; }
.cureqi-product .agent-chat-head p { font-size: 10px; color: #5f6e5a; }
.agent-chat-more { position: relative; }
.agent-chat-more summary { display: grid; place-items: center; min-width: 42px; min-height: 40px; list-style: none; cursor: pointer; color: #778771; letter-spacing: 2px; }
.agent-chat-more summary::-webkit-details-marker { display: none; }
.agent-chat-more .agent-chat-actions { position: absolute; right: 0; top: 43px; z-index: 12; display: grid; width: 140px; padding: 6px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: var(--shadow); }
.cureqi-product .agent-delete { color: #a24c3e; }
.cureqi-product .agent-message-list { min-height: 210px; max-height: 540px; padding: 26px 28px; scrollbar-width: thin; scrollbar-color: #d3ddca transparent; }
.cureqi-product .agent-empty-state { min-height: 175px; gap: 6px; }
.empty-orbit { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 15px; border: 1px solid #dbe5cf; border-radius: 50%; color: #69855a; background: radial-gradient(circle, #f0f5e4, #f9fbf4); font: 28px "Songti SC", serif; box-shadow: 0 0 0 10px #f6f8f1, 0 0 0 11px #eef2e7; }
.cureqi-product .agent-empty-state strong { font: 500 22px/1.5 "Songti SC", STSong, serif; letter-spacing: 1px; color: #3e5a3e; }
.cureqi-product .agent-empty-state p { margin-top: 1px; color: #5f6f5a; font-size: 11px; }
.cureqi-product .agent-message { margin-bottom: 22px; }
.cureqi-product .agent-message { scroll-margin-top: 86px; }
.cureqi-product .agent-message-label { color: #5f6e5a; font-size: 10px; letter-spacing: .6px; }
.cureqi-product .agent-message-body { padding: 15px 19px; border: 1px solid #e9ede2; border-radius: 2px 13px 13px; background: #fafbf7; font-size: 14px; line-height: 1.9; }
.cureqi-product .agent-message.is-user .agent-message-body { color: #35513a; border-color: #e0e8d4; border-radius: 13px 2px 13px 13px; background: #eef3e5; }
.conversation-starters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 0 22px 20px; }
.conversation-starters > button { position: relative; display: grid; gap: 5px; min-width: 0; padding: 16px 14px 13px; text-align: left; background: #fcfcf7; color: #4b6349; border: 1px solid #e4e9db; border-radius: 11px; transition: background .2s, transform .2s; }
.conversation-starters > button:hover { background: #f0f5e7; transform: translateY(-2px); }
.conversation-starters .ui-icon { margin-bottom: 3px; color: #83966c; }
.conversation-starters strong { font-size: 12px; font-weight: 600; }
.conversation-starters span { color: #687865; font-size: 10px; }
.conversation-starters b { position: absolute; top: 15px; right: 12px; color: #9dab8c; font-size: 13px; font-weight: 400; }
.chat-login-gate { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; align-items: center; padding: 8px 20px 25px; color: #7d8873; font-size: 11px; }
.cureqi-product .agent-composer { margin: auto 18px 16px; padding: 13px 16px; border: 1px solid #dfe6d5; border-radius: 12px; background: #fff; box-shadow: 0 3px 10px #3f4f3006; }
.cureqi-product .agent-modes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; border: 0; border-radius: 0; overflow: visible; }
.cureqi-product .agent-modes button { display: flex; gap: 7px; align-items: center; min-height: 38px; padding: 7px 11px; border: 1px solid transparent; border-radius: 7px; color: #6c7d5e; background: #f6f8f1; }
.cureqi-product .agent-modes button[aria-pressed="true"] { color: #345433; background: #eaf1df; border-color: #cedeb9; }
.cureqi-product .agent-modes strong { font-size: 11px; }
.cureqi-product .agent-modes span { font-size: 9px; font-weight: 400; color: inherit; opacity: .8; }
.cureqi-product .agent-seat-note { margin-bottom: 8px; font-size: 10px; color: #87917b; }
.cureqi-product .agent-prompts { gap: 5px; margin-bottom: 8px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.cureqi-product .agent-prompts > span { display: none; }
.cureqi-product .agent-prompts button { flex: 0 0 auto; min-height: 30px; padding: 5px 8px; border-color: #e5eadc; border-radius: 6px; color: #728166; background: #fcfdf9; font-size: 10px; }
.cureqi-product .agent-composer textarea { min-height: 70px; max-height: 180px; margin: 0; padding: 8px 0; border: 0; border-radius: 0; background: transparent; font-size: 14px; resize: vertical; }
.cureqi-product .agent-composer textarea:focus { outline: 0; box-shadow: none; }
.cureqi-product .agent-composer:focus-within { border-color: #a5ba8a; box-shadow: 0 0 0 3px #edf3e3; }
.cureqi-product .agent-composer textarea::placeholder { color: #9ca78f; }
.cureqi-product .agent-composer-foot { margin: 0; }
.cureqi-product .agent-composer-foot > span { color: #7b886c; font-size: 10px; }
.cureqi-product .agent-composer-foot .button { min-height: 36px; padding: 7px 17px; border-radius: 8px; }
.cureqi-product .agent-billing { margin: 6px 0 0; border: 0; padding: 0; font-size: 10px; }
.cureqi-product .agent-billing summary { color: #8c977e; font-size: 10px; }
.cureqi-product .agent-billing summary strong { font-size: 9px; font-weight: 400; }
.cureqi-product .agent-billing summary > strong { display: none; }
.cureqi-product .agent-composer .form-message:empty { display: none; }
.cureqi-product[data-auth="guest"] .agent-composer { display: none; }
.cureqi-product h2 { font-size: 27px; font-weight: 500; }
.cureqi-product .eyebrow { color: #819265; letter-spacing: 1.5px; }
.cureqi-product .section-description, .progress-introduction > p { color: var(--muted); font-size: 13px; }
.progress-introduction { display: flex; gap: 20px; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.progress-introduction > p { margin: 0; }
.progress-introduction .button { flex: 0 0 auto; }
.cureqi-product .progress-identity, .cureqi-product .progress-stack, .cureqi-product .forecast { padding: 25px 30px; background: #fff; border: 1px solid #e3e8dd; border-radius: 12px; margin-bottom: 15px; }
.cureqi-product .progress-track, .cureqi-product .progress-track span { border-radius: 8px; }
.cureqi-product .progress-track span { background: #729058; }
.cureqi-product .stage-labels span.is-current { color: #395a39; }
.signed-out-note { margin-bottom: 24px; padding: 22px; border: 1px dashed #d7e0cc; border-radius: 12px; background: #f1f5e9; }
.signed-out-note p { color: #758367; margin: 5px 0 13px; font-size: 12px; }
.guide-welcome > h2 { font-family: "Songti SC", STSong, serif; letter-spacing: 2px; }
.guide-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 26px 0; }
.guide-steps article { padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.guide-steps article > span { font: 30px/1.4 Georgia, serif; color: #b0bf98; }
.guide-steps h3 { margin: 17px 0 10px; font-size: 15px; }
.guide-steps p { color: #7c8871; font-size: 12px; line-height: 1.95; }
.guide-steps button { min-height: 42px; border: 0; padding: 7px 0; background: none; color: #48693d; font-size: 12px; }
.guide-callout { display: flex; gap: 17px; align-items: center; padding: 22px; border-radius: 12px; background: #eaf0e0; }
.guide-callout > .ui-icon { color: #8d7d4b; }
.guide-callout p { flex: 1; margin: 0; color: #6e7e5c; font-size: 12px; }
.guide-callout a { flex: 0 0 auto; color: #526b42; font-size: 12px; }
.cureqi-product .manual { padding-top: 6px; }
.cureqi-product .manual-book { border-radius: 13px; overflow: hidden; }
.cureqi-product .history .event-list { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px 24px; }
.cureqi-product .event { border-color: #edf0e6; }
.cureqi-product .responsibility { padding-top: 12px; padding-bottom: 30px; color: #939c89; font-size: 11px; }
.account-identity { display: flex; align-items: center; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.account-avatar-large { flex-basis: 64px; width: 64px; height: 64px; font-size: 25px; }
.account-identity > div { flex: 1; min-width: 0; }
.account-identity h3 { font-size: 20px; overflow-wrap: anywhere; }
.account-identity p { margin: 6px 0 0; color: #7b896f; font-size: 12px; }
.account-identity small { color: #8c9882; font-size: 11px; }
.account-status { margin: 12px 0; color: #98602e; font-size: 12px; }
.account-status:empty { display: none; }
.account-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.account-cards article { min-width: 0; padding: 30px; border-radius: 14px; }
.balance-card { position: relative; overflow: hidden; background: linear-gradient(130deg, #244638, #52704c); color: #ecf2e1; }
.balance-card::after { position: absolute; right: -40px; top: -60px; content: ""; width: 270px; height: 270px; border: 1px solid #c6d4a926; border-radius: 50%; box-shadow: 0 0 0 25px #c6d4a90a, 0 0 0 50px #c6d4a907; pointer-events: none; }
.balance-card > p { font-size: 12px; color: #ccd7bc; }
.balance-card > strong { position: relative; z-index: 1; display: block; margin: 5px 0; font-size: 44px; font-weight: 400; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.balance-card > span { display: block; color: #c1cdb0; font-size: 11px; }
.balance-card .button { position: relative; z-index: 1; display: flex; width: 100%; justify-content: space-between; margin: 25px 0 9px; border-color: #8da07b; background: #ffffff10; color: #f2f6e9; }
.balance-card > small { color: #becdaf; font-size: 10px; }
.membership-card { position: relative; border: 1px solid #e0e5d3; background: linear-gradient(130deg, #f3f1e7, #fafbf5); }
.membership-mark { position: absolute; right: 26px; top: 25px; width: 40px; height: 40px; }
.membership-card > p:first-of-type { color: #9b885d; font-size: 12px; }
.membership-card h3 { margin: 24px 0 14px; font-size: 24px; font-family: "Songti SC", STSong, serif; }
.membership-card p { max-width: 290px; color: #878a73; font-size: 12px; }
.membership-card .button { margin-top: 17px; }
.account-services { padding: 23px 28px 7px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.account-services h3 { margin-bottom: 13px; font-size: 15px; }
.account-services > button { display: flex; align-items: center; gap: 15px; width: 100%; min-height: 82px; padding: 14px 0; border: 0; border-top: 1px solid #edf0e7; color: #587047; background: none; text-align: left; }
.account-services > button span { flex: 1; }
.account-services strong, .account-services small { display: block; font-weight: 400; }
.account-services strong { font-size: 13px; color: #4b5c43; }
.account-services small { margin-top: 3px; color: #8b9680; font-size: 11px; }
.account-services b { font-size: 22px; color: #9ba98c; font-weight: 400; }
.account-security { margin: 22px 0 0; color: #8c9780; text-align: center; font-size: 11px; }
.product-dialog { width: min(470px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 38px; border: 1px solid #dee6d4; border-radius: 20px; color: var(--ink); background: #fafbf5; box-shadow: 0 20px 100px #11211640; }
.product-dialog::backdrop { background: #1e302f88; backdrop-filter: blur(5px); }
.product-dialog .login-brand { margin-bottom: 22px; }
.product-dialog .eyebrow { margin: 0 0 12px; }
.product-dialog h2 { font: 24px/1.6 "Songti SC", STSong, serif; letter-spacing: 1px; }
#login-dialog-title span { display: inline-block; max-width: 100%; }
.product-dialog > p:not(.eyebrow) { color: #78866c; font-size: 13px; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: #7c8d6c; font-size: 27px; }
.login-benefits { display: grid; gap: 8px; padding: 15px 0 28px; color: #788c62; font-size: 12px; }
.product-dialog .full { min-height: 48px; }
.product-dialog .dialog-help { margin: 16px 0; text-align: center; font-size: 11px; }
.login-privacy { display: block; padding-top: 17px; border-top: 1px solid #e4eada; color: #929d83; font-size: 10px; }
.noscript-note { position: fixed; bottom: 0; inset-inline: 0; z-index: 100; margin: 0; padding: 20px; background: #fff5de; }
.payment-dialog { width: min(620px, calc(100vw - 30px)); }
.payment-packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0; }
.payment-packages button { display: grid; gap: 7px; min-width: 0; min-height: 128px; padding: 17px 10px; color: #62734e; background: #fff; border: 1px solid #dce5ce; border-radius: 11px; text-align: center; }
.payment-packages button[aria-pressed="true"] { background: #e8f0dc; border: 2px solid #6d8c52; padding: 16px 9px; }
.payment-packages strong { font-size: 13px; }
.payment-packages span { font: 26px/1.4 Georgia, serif; color: #3d6139; }
.payment-packages small { color: #8a977d; font-size: 10px; }
@media (max-width: 480px) {
  .payment-dialog .payment-packages { grid-template-columns: minmax(0, 1fr); }
  .payment-dialog .payment-packages button { grid-template-columns: minmax(0, 1fr) auto; min-height: 88px; padding: 12px 16px; gap: 3px 12px; text-align: left; align-items: center; }
  .payment-dialog .payment-packages button[aria-pressed="true"] { padding: 11px 15px; }
  .payment-dialog .payment-packages strong { grid-column: 1; }
  .payment-dialog .payment-packages span { grid-column: 2; grid-row: 1 / 3; }
  .payment-dialog .payment-packages small { grid-column: 1; }
}
.payment-choice { font-size: 13px; color: #5f734e; }
.payment-error { color: #a1623f; font-size: 12px; }
.payment-error:empty { display: none; }
.payment-return { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 20px; margin: 0 0 20px; border: 1px solid #dce5cc; border-radius: 12px; background: #f0f4e7; }
.payment-return p { margin: 5px 0 0; color: #82926d; font-size: 12px; }
.payment-return .button { flex: 0 0 auto; }
@media (min-width: 1700px) {
  .cureqi-product .intro { max-width: 1278px; margin-inline: auto; }
}
@media (max-width: 1199px) {
  :root { --rail-width: 194px; }
  .app-rail { padding-inline: 12px; }
  .brand strong { font-size: 18px; }
  .cureqi-product .band { padding-inline: 24px; }
  .cureqi-product .intro { margin-inline: 24px; }
  .cureqi-product .topbar { padding-inline: 24px; }
  .topbar-subtitle { display: none; }
  .cureqi-product .agent-workbench { grid-template-columns: 176px minmax(0, 1fr); }
  .cureqi-product .agent-sidebar-head { gap: 4px; padding-inline: 10px; }
  .cureqi-product .agent-modes button { display: grid; gap: 0; padding: 5px 10px; }
  .conversation-starters { gap: 7px; padding-inline: 15px; }
  .conversation-starters > button { padding: 13px 10px; }
  .conversation-starters span { font-size: 9px; }
}
@media (max-width: 959px) {
  .cureqi-product .agent-workbench { grid-template-columns: minmax(0, 1fr); }
  .cureqi-product .agent-sidebar { display: none; }
  .mobile-history-toggle, .history-close { display: inline-flex; }
  .cureqi-product .agent-sidebar.is-open { display: flex; position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(330px, 87vw); max-height: 100dvh; overflow-y: auto; border-radius: 0 16px 16px 0; box-shadow: 8px 0 45px #17251926; }
  .cureqi-product .agent-sidebar-head { min-height: 75px; padding: 15px; }
  .cureqi-product .agent-sidebar-head h3 { flex: 1; font-size: 14px; }
  .history-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 60; border: 0; background: #1b2e2980; backdrop-filter: blur(3px); }
  .guide-steps { grid-template-columns: 1fr; }
  .guide-steps article { padding: 22px; }
  .guide-callout { flex-wrap: wrap; }
  .guide-callout > a { margin-left: 38px; }
}
@media (max-width: 767px) {
  :root { --rail-width: 0px; }
  html { scroll-padding-top: 76px; }
  .app-rail { display: none; }
  .cureqi-product .shell { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .cureqi-product .topbar { height: 65px; padding: 0 17px; }
  .topbar-location { gap: 9px; }
  .topbar-location > strong { font-size: 14px; }
  .mobile-brand { display: block; width: 32px; height: 32px; }
  .topbar .account { gap: 6px; }
  .topbar .connection-dot, #account-label { display: none; }
  .header-balance { margin: 0; gap: 3px; font-size: 11px; }
  .header-balance > span:last-child { display: none; }
  .topbar .button { min-height: 36px; padding: 7px 11px; font-size: 11px; }
  .cureqi-product .band { padding: 22px 17px; }
  .cureqi-product .intro { height: 192px; margin: 16px 16px 0; padding: 24px 23px; border-radius: 13px; }
  .cureqi-product .intro-art { width: 90%; opacity: .65; }
  .cureqi-product .intro::after { background: linear-gradient(90deg, #edf1e6 8%, #edf1e6db 52%, #edf1e612); }
  .cureqi-product h1 { font-size: 28px; letter-spacing: 1px; }
  .cureqi-product .intro-copy { font-size: 11px; margin-bottom: 8px; line-height: 1.8; }
  .cureqi-product .intro .eyebrow { font-size: 9px; letter-spacing: 1px; margin-bottom: 12px; }
  .hero-inscription { right: 14px; top: 20px; font-size: 12px; opacity: .75; }
  .cureqi-product .agent { padding: 20px 12px; }
  .agent-heading { gap: 6px; margin-inline: 4px; margin-bottom: 12px; }
  .agent-heading-title { gap: 8px; }
  .companion-emblem { width: 32px; height: 32px; font-size: 17px; }
  .cureqi-product .agent-heading h2 { font-size: 14px; }
  .agent-heading-title p { font-size: 9px; }
  .agent-heading-actions { gap: 3px; }
  .agent-heading-actions .button { min-height: 36px; padding: 6px 8px; font-size: 10px; }
  .mobile-history-toggle .ui-icon { width: 16px; height: 16px; flex-basis: 16px; }
  .cureqi-product .agent-notice { margin-inline: 4px; font-size: 10px; }
  .cureqi-product .agent-workbench { min-height: 410px; border-radius: 12px; }
  .cureqi-product .agent-workbench,
  .cureqi-product .agent-chat,
  .cureqi-product .agent-composer {
    min-width: 0;
    max-width: 100%;
  }
  .cureqi-product .agent-chat-head { padding: 10px 15px; min-height: 55px; }
  .cureqi-product .agent-chat-head h3 { font-size: 12px; }
  .cureqi-product .agent-chat-head p { font-size: 9px; }
  .cureqi-product .agent-message-list { min-height: 180px; max-height: none; overflow-y: visible; padding: 25px 16px 10px; }
  .cureqi-product .agent-empty-state { min-height: 185px; }
  .cureqi-product .agent-empty-state strong { font-size: 20px; }
  .cureqi-product .agent-empty-state p { font-size: 10px; }
  .cureqi-product .agent-message-body { padding: 13px 14px; font-size: 14px; }
  .conversation-starters { padding: 10px 12px 20px; gap: 6px; }
  .conversation-starters > button { padding: 12px 10px; border-radius: 9px; }
  .conversation-starters strong { font-size: 11px; }
  .conversation-starters span { font-size: 9px; line-height: 1.6; }
  .conversation-starters b { right: 9px; top: 10px; }
  .chat-login-gate { display: grid; justify-items: center; gap: 11px; padding-bottom: 25px; font-size: 10px; }
  .cureqi-product .agent-composer { position: sticky; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 15; margin: 8px 0 0; padding: 12px; border-width: 1px 0 0; border-radius: 12px 12px 0 0; box-shadow: 0 -4px 20px #32462e08; }
  .cureqi-product .agent-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-bottom: 8px; }
  .cureqi-product .agent-modes button { min-height: 44px; gap: 1px; padding: 4px 5px; }
  .cureqi-product .agent-modes strong { font-size: 11px; }
  .cureqi-product .agent-modes span { font-size: 9px; }
  .cureqi-product .agent-prompts { margin-bottom: 8px; }
  .cureqi-product .agent-prompts button { min-height: 34px; }
  .cureqi-product .agent-seat-note { margin-bottom: 5px; font-size: 10px; }
  .cureqi-product .agent-composer textarea { min-height: 64px; max-height: 140px; font-size: 16px; }
  .cureqi-product .agent-composer-foot .button { min-height: 42px; min-width: 78px; }
  .cureqi-product .agent-composer-foot > span { min-width: 0; overflow-wrap: anywhere; }
  .cureqi-product .agent-billing summary { min-height: 25px; padding-top: 3px; }
  .cureqi-product .agent-page-button, .cureqi-product .manual-nav, .cureqi-product [data-pace-window] { min-width: 44px; min-height: 44px; }
  .cureqi-product .agent-profile-panel { padding: 18px 14px; }
  .cureqi-product input, .cureqi-product select, .cureqi-product textarea { font-size: 16px; }
  .cureqi-product .agent-encounter { padding: 15px; gap: 12px; }
  .cureqi-product .agent-encounter h3 { font-size: 16px; }
  .cureqi-product .agent-encounter-copy > p:not(.eyebrow) { font-size: 11px; }
  .mobile-nav { position: fixed; inset: auto 0 0; z-index: 35; display: grid; grid-template-columns: repeat(4, 1fr); min-height: 65px; padding: 7px 10px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid #e0e6d5; background: #fcfdf8f5; backdrop-filter: blur(16px); }
.mobile-nav a { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 49px; border-radius: 10px; color: #5f6e5a; text-decoration: none; font-size: 10px; }
  .mobile-nav a .ui-icon { width: 20px; height: 20px; }
  .mobile-nav a[aria-current="page"] { color: #3c6540; background: #edf2e2; }
  .cureqi-product.keyboard-open .mobile-nav { display: none; }
  .cureqi-product.keyboard-open .agent-composer { bottom: var(--keyboard-inset, 0px); }
  .cureqi-product.keyboard-open .agent-prompts, .cureqi-product.keyboard-open .agent-billing { display: none; }
  .cureqi-product.keyboard-open .agent-composer textarea { min-height: 50px; }
  .cureqi-product.keyboard-open .shell { padding-bottom: 12px; }
  .cureqi-product .page-status { top: 65px; padding: 10px 17px; }
  .cureqi-product h2 { font-size: 24px; }
  .progress-introduction { display: block; }
  .progress-introduction > p { margin-bottom: 15px; font-size: 12px; }
  .cureqi-product .progress-identity, .cureqi-product .progress-stack, .cureqi-product .forecast { padding: 20px 18px; }
  .cureqi-product .progress-identity { align-items: flex-start; gap: 12px; }
  .cureqi-product .progress-identity h3 { display: grid; gap: 7px; font-size: 28px; }
  .cureqi-product .progress-identity h3 small { font-size: 11px; }
  .cureqi-product .power-total { flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
  .cureqi-product .power-total > span { flex-basis: 100%; text-align: right; }
  .guide-steps { gap: 12px; }
  .guide-callout { padding: 18px; }
  .guide-callout > p { font-size: 11px; }
  .cureqi-product .manual { padding-top: 5px; }
  .cureqi-product .manual-heading h2 { font-size: 21px; }
  .cureqi-product .manual-art img { object-fit: cover; }
  .account-identity { gap: 12px; padding: 20px 16px; flex-wrap: wrap; }
  .account-avatar-large { width: 49px; height: 49px; flex-basis: 49px; font-size: 21px; }
  .account-identity h3 { font-size: 18px; }
  .account-identity p { font-size: 10px; }
  .account-identity .button { margin-left: 61px; }
  .account-cards { grid-template-columns: 1fr; gap: 15px; margin-top: 18px; }
  .account-cards article { padding: 25px; }
  .membership-card h3 { margin-top: 15px; }
  .account-services { padding: 20px 19px 6px; }
  .account-security { font-size: 10px; }
  .product-dialog { padding: 30px 25px; border-radius: 17px; }
  .product-dialog h2 { font-size: 22px; }
  .payment-dialog { padding: 30px 19px; }
  .payment-packages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .payment-return { display: block; }
  .payment-return .button { margin-top: 12px; }
}
.cureqi-product .agent-modes span { font-size: 10px; }
.cureqi-product .agent-seat-note, .cureqi-product .agent-composer-foot > span { color: #657454; font-size: 11px; }
.cureqi-product .conversation-starters span { color: #687865; font-size: 11px; }
.cureqi-product .agent-empty-state p { color: #5f6f5a; font-size: 12px; }
@media (max-width: 374px) {
  .cureqi-product .intro { margin-inline: 12px; padding-inline: 18px; }
  .cureqi-product h1 { font-size: 25px; }
  .agent-heading-title p { display: none; }
  .companion-emblem { display: none; }
  .conversation-starters span { font-size: 8px; }
  .cureqi-product .agent-modes button { padding-inline: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cureqi-product *, .cureqi-product *::before, .cureqi-product *::after { animation: none !important; transition: none !important; }
}

/* The special tier is opt-in at runtime; guest and ordinary member pages keep the base palette. */
.cureqi-product.black-gold-member {
  --ink: #f6e8c4;
  --muted: #c4b893;
  --line: #5e4b2b;
  --paper: #090b0d;
  --surface: #121518;
  --gold: #d6ad5d;
  color: var(--ink);
  background: #090b0d;
}
.black-gold-member .app-rail,
.black-gold-member .topbar,
.black-gold-member .mobile-nav { background: #0d1012f2; border-color: #4b3b23; }
.black-gold-member .topbar-subtitle,
.black-gold-member .rail-caption,
.black-gold-member .rail-note small,
.black-gold-member .account-identity p,
.black-gold-member .account-identity small,
.black-gold-member .account-security { color: #c4b893; }
.black-gold-member .brand strong,
.black-gold-member .topbar-location > strong,
.black-gold-member .rail-note p,
.black-gold-member h1,
.black-gold-member h2,
.black-gold-member h3,
.black-gold-member h4 { color: #f6e8c4; }
.black-gold-member .primary-nav a,
.black-gold-member .platform-home,
.black-gold-member .rail-account,
.black-gold-member .header-balance,
.black-gold-member .topbar .button-quiet { color: #d8c691; }
.black-gold-member .primary-nav a[aria-current="page"],
.black-gold-member .primary-nav a:hover,
.black-gold-member .mobile-nav a[aria-current="page"] { color: #f2cf7c; background: #211b11; border-color: #80632f; }
.black-gold-member .rail-wallet,
.black-gold-member .account-identity,
.black-gold-member .account-services,
.black-gold-member .membership-card,
.black-gold-member .agent-workbench,
.black-gold-member .agent-profile-panel,
.black-gold-member .progress-identity,
.black-gold-member .progress-stack,
.black-gold-member .forecast,
.black-gold-member .history .event-list { border-color: #5e4b2b; background: #121518; color: var(--ink); }
.black-gold-member .rail-wallet { background: #17140f; }
.black-gold-member .membership-card { background: #1b1710; box-shadow: inset 0 0 0 1px #b2883c33, 0 12px 30px #0008; }
.black-gold-member .membership-card > p:first-of-type,
.black-gold-member .membership-card h3,
.black-gold-member .eyebrow,
.black-gold-member .power-total strong,
.black-gold-member .power-total span { color: #e5bd67; }
.black-gold-member .balance-card { background: #17130d; border: 1px solid #80632f; box-shadow: inset 0 0 0 1px #d6ad5d1f, 0 14px 36px #0009; }
.black-gold-member .balance-card > p,
.black-gold-member .balance-card > span,
.black-gold-member .balance-card > small { color: #d8c691; }
.black-gold-member .balance-card > strong { color: #ffe19a; text-shadow: 0 0 18px #d6ad5d55; }
.black-gold-member .agent-chat,
.black-gold-member .agent-sidebar,
.black-gold-member .agent-composer,
.black-gold-member .agent-message-body { background: #101315; color: var(--ink); border-color: #4e4028; }
.black-gold-member .agent-sidebar { background: #0d1012; }
.black-gold-member .agent-message.is-user .agent-message-body,
.black-gold-member .agent-conversation.is-active { background: #211b11; border-color: #80632f; color: #f6e8c4; }
.black-gold-member .button-primary { background: #9d742b; color: #fff5d9; box-shadow: 0 5px 18px #8b642944; }
.black-gold-member .button-primary:hover { background: #bf903a; }
.black-gold-member .button-outline { color: #e1c275; border-color: #80632f; background: #211b11; }
.black-gold-member .button-outline:hover { background: #302411; border-color: #b58b3e; }
.black-gold-member .companion-emblem,
.black-gold-member .account-avatar { color: #f1c96b; background: #211b11; border-color: #80632f; }
.black-gold-member .agent-composer:focus-within { border-color: #b58b3e; box-shadow: 0 0 0 3px #80632f33; }
.black-gold-member .agent-modes button[aria-pressed="true"] { color: #f3cf7e; background: #2a2112; border-color: #9d742b; }
.black-gold-member .agent-pricing strong,
.black-gold-member .agent-seat-note,
.black-gold-member .agent-composer-foot > span { color: #d8c691; }
.black-gold-member .page-status,
.black-gold-member .agent-notice { color: #e4c579; background: #211b11; border-color: #80632f; }
