:root {
  --navy: #07182d;
  --navy-2: #0c2747;
  --blue: #153e67;
  --gold: #c9a45c;
  --gold-light: #e7ce94;
  --ink: #142033;
  --muted: #68758a;
  --line: #dfe5ec;
  --bg: #f4f7fa;
  --white: #fff;
  --danger: #b84343;
  --success: #238164;
  --shadow: 0 16px 44px rgba(10, 31, 55, .09);
}

/* Phase 10 client portal */
.client-body { margin: 0; background: #f4f6fa; color: #18263d; font-family: "Microsoft YaHei", sans-serif; }
.client-header { min-height: 72px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #071a36; color: white; }
.client-header > a { color: #d9b65d; text-decoration: none; display: flex; gap: 12px; align-items: baseline; }
.client-header > a span { color: #dbe4f1; font-size: 13px; }.client-header nav { display: flex; gap: 18px; flex-wrap: wrap; }
.client-header nav a { color: #dbe4f1; text-decoration: none; font-size: 14px; }.client-main { width: min(1120px, 92vw); margin: 36px auto 70px; }
.client-footer { padding: 24px 5vw; text-align: center; color: #718097; background: white; font-size: 13px; }
.client-hero { padding: 36px; border-radius: 18px; background: linear-gradient(135deg,#071a36,#123a68); color: white; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.client-hero h1 { margin: 8px 0; font-size: clamp(28px,4vw,46px); }.client-hero span { color: #d9b65d; }
.client-kpis { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin: 20px 0; }
.client-kpis div,.client-card { background: white; border: 1px solid #e4e9f0; border-radius: 14px; padding: 22px; box-shadow: 0 8px 24px rgba(7,26,54,.05); }
.client-kpis span { display:block;color:#718097;font-size:13px;margin-bottom:9px }.client-kpis strong{font-size:18px;color:#102f55}
.client-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:18px 0 }.client-card h2{color:#102f55;margin-top:0}
.client-row { display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 0;border-bottom:1px solid #edf0f5;color:inherit;text-decoration:none }.client-row:last-child{border-bottom:0}.client-row p{margin:5px 0;color:#64748b}.client-row span{color:#9a7628;text-align:right}
.client-form { display:grid;grid-template-columns:repeat(2,1fr);gap:15px }.client-form label{display:flex;flex-direction:column;gap:7px}.client-form input,.client-form select{padding:12px;border:1px solid #ccd5e2;border-radius:8px}
.client-report-head{margin-bottom:24px}.client-report-head span{color:#9a7628}.client-report-head h1{font-size:38px}.client-card.report-chapter{margin:16px 0}.compliance-note{margin:30px 0;padding:20px;border-left:4px solid #d9b65d;background:#fff8e5;color:#5c6470}.confirmation-item{padding:20px 0;border-bottom:1px solid #e9edf3}.inline-actions{display:flex;gap:10px;flex-wrap:wrap}.message-content{white-space:pre-wrap;line-height:1.9}.client-notice{text-align:center;padding:70px 25px}.price{font-size:30px;color:#a67c24}
@media(max-width:760px){.client-header{padding:16px 20px;align-items:flex-start;flex-direction:column}.client-header nav{gap:12px}.client-main{margin-top:22px}.client-kpis,.client-grid,.client-form{grid-template-columns:1fr}.client-hero{padding:25px;align-items:flex-start;flex-direction:column}.client-row{align-items:flex-start}.client-card{padding:18px}}
@media print {.client-header,.client-footer,.client-report-head .btn{display:none}.client-main{width:100%;margin:0}.client-card{box-shadow:none;break-inside:avoid}}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.card { background: var(--white); border: 1px solid rgba(20, 52, 84, .09); border-radius: 16px; box-shadow: var(--shadow); }
.eyebrow { margin-bottom: 14px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .22em; }
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(7, 24, 45, .96); backdrop-filter: blur(12px); color: #fff; }
.nav { height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 15px; }
.brand span { color: var(--gold-light); font-size: 23px; font-weight: 800; letter-spacing: .16em; }
.brand small { padding-left: 15px; border-left: 1px solid rgba(255,255,255,.2); color: #b8c3d1; }
.nav nav { display: flex; gap: 28px; font-size: 14px; color: #d9e1ea; }
.nav nav a:hover { color: var(--gold-light); }
.site-footer { padding: 28px 0; background: var(--navy); color: #91a0b2; font-size: 13px; text-align: center; }
.hero { min-height: 650px; display: flex; align-items: center; position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 78% 30%, #1a4a75 0, transparent 34%), linear-gradient(135deg, #061629, #0b294a 70%, #102f50); }
.hero:before { content:""; position:absolute; inset:0; opacity:.13; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 48px 48px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 90px; align-items: center; }
.hero h1 { margin-bottom: 26px; font-size: clamp(46px, 6vw, 76px); line-height: 1.14; letter-spacing: -.04em; }
.hero h1 span { color: var(--gold-light); }
.hero-copy { max-width: 650px; color: #d8e1ea; font-size: 23px; }
.hero-actions { margin-top: 42px; display: flex; align-items: center; gap: 22px; }
.trust-note { color: #9eabba; font-size: 13px; }
.btn { display: inline-flex; min-height: 46px; padding: 0 24px; border: 0; border-radius: 8px; align-items: center; justify-content: center; cursor: pointer; font-weight: 800; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }
.btn-primary { color: #0d2035; background: linear-gradient(135deg, #e5c985, #b88e42); box-shadow: 0 10px 24px rgba(201,164,92,.25); }
.btn-gold { color: var(--navy); background: var(--gold-light); }
.btn-lg { min-height: 56px; padding: 0 32px; }
.btn-block { width: 100%; }
.hero-panel { padding: 34px; border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.08); box-shadow: none; backdrop-filter: blur(12px); }
.mini-label { margin-bottom: 15px; color: #a9b6c5; font-size: 12px; letter-spacing: .16em; }
.metric { display: flex; padding: 15px 0; align-items: baseline; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.metric strong { width: 90px; color: var(--gold-light); font-size: 32px; }
.metric span { color: #e0e6ed; }
.gold-line { width: 46px; height: 3px; margin: 27px 0 18px; background: var(--gold); }
.hero-panel p { margin: 0; color: #b9c5d2; }
.section { padding: 82px 0; }
.section-heading { margin-bottom: 36px; text-align: center; }
.section-heading h2 { font-size: 34px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 34px; }
.feature > span { color: var(--gold); font-size: 13px; font-weight: 800; }
.feature h3 { margin: 16px 0 10px; font-size: 21px; }
.feature p { margin: 0; color: var(--muted); }
.page-hero { padding: 70px 0; color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.page-hero.compact { padding: 52px 0; }
.page-hero h1 { margin-bottom: 8px; font-size: 40px; }
.page-hero p { margin: 0; color: #b8c5d2; }
.form-section { padding-top: 42px; }
.assessment-form { display: grid; gap: 25px; }
.form-card { padding: 34px; }
.form-title { display: flex; margin-bottom: 30px; gap: 18px; align-items: flex-start; }
.form-title > span { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border-radius: 50%; color: var(--gold); background: #f7f0df; font-weight: 800; }
.form-title h2 { margin-bottom: 3px; font-size: 23px; }
.form-title p { margin: 0; color: var(--muted); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.form-grid label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; }
.form-grid label.wide { grid-column: span 2; }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid #d7dee7; border-radius: 8px; outline: none; color: var(--ink); background: #fbfcfd; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,.12); }
textarea { min-height: 90px; resize: vertical; }
.submit-bar { display: flex; padding: 24px 28px; align-items: center; justify-content: space-between; border-radius: 14px; color: #fff; background: var(--navy); }
.submit-bar div { display: grid; }
.submit-bar span { color: #9dabb9; font-size: 13px; }
.result-hero { padding: 60px 0; }
.result-head { display: flex; align-items: center; justify-content: space-between; }
.score-ring { display: grid; width: 160px; height: 160px; position: relative; place-content: center; border: 8px solid rgba(201,164,92,.3); border-top-color: var(--gold-light); border-radius: 50%; text-align: center; }
.score-ring strong { color: var(--gold-light); font-size: 52px; line-height: .9; }
.score-ring > span { color: #91a1b2; font-size: 12px; }
.score-ring small { margin-top: 8px; font-weight: 800; }
.result-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; align-items: start; }
.result-main { display: grid; gap: 22px; }
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { padding: 24px; display: grid; }
.stat > span { color: var(--muted); font-size: 13px; }
.stat strong { margin: 9px 0 3px; font-size: 26px; }
.stat small { color: var(--muted); }
.risk-high { color: var(--danger); }
.risk-medium { color: #b77a22; }
.risk-low { color: var(--success); }
.insight { display: flex; padding: 25px; gap: 18px; align-items: center; }
.insight.danger { border-left: 4px solid var(--danger); }
.insight-icon { display: grid; width: 45px; height: 45px; flex: 0 0 45px; place-items: center; border-radius: 50%; color: #fff; background: var(--danger); font-weight: 900; }
.insight-icon.gold { color: var(--navy); background: var(--gold-light); }
.insight span { color: var(--muted); font-size: 12px; }
.insight h3 { margin: 4px 0 0; font-size: 17px; }
.locked-preview { min-height: 220px; position: relative; overflow: hidden; }
.blur-lines { padding: 38px; filter: blur(6px); }
.blur-lines i { display: block; width: 80%; height: 13px; margin: 17px 0; background: #cfd7e0; }
.blur-lines i:nth-child(2n) { width: 60%; }
.locked-overlay { position: absolute; z-index: 2; inset: 0; display: grid; padding: 25px; place-content: center; text-align: center; background: rgba(255,255,255,.78); }
.locked-overlay h3 { margin: 10px 0 3px; }
.locked-overlay p { max-width: 500px; margin: 0; color: var(--muted); }
.lock { color: var(--gold); }
.paywall { position: sticky; top: 98px; padding: 30px; }
.paywall h2 { font-size: 23px; line-height: 1.45; }
.conversion-copy { padding: 15px; border-left: 3px solid var(--gold); color: #4d5e70; background: #faf7f0; }
.check-list { padding: 0; list-style: none; color: #4d5c6d; }
.check-list li { padding: 6px 0; }
.check-list li:before { content: "✓"; margin-right: 9px; color: var(--success); font-weight: 900; }
.price { display: flex; margin: 22px 0; align-items: baseline; gap: 10px; }
.price span { margin-right: auto; color: var(--muted); }
.price strong { color: var(--navy); font-size: 34px; }
.price del { color: #9ca6b1; }
.safe-note { display: block; margin-top: 12px; color: #8a95a2; text-align: center; }
.checkout-grid { display: grid; grid-template-columns: 1fr 410px; gap: 30px; align-items: start; }
.order-product, .payment-box { padding: 36px; }
.tag, .badge { display: inline-flex; padding: 4px 10px; border-radius: 20px; color: #785917; background: #f7efd9; font-size: 12px; font-weight: 800; }
.content-list { display: grid; grid-template-columns: 1fr 1fr; padding-left: 24px; gap: 11px; color: #4f6072; }
.payment-box { position: sticky; top: 98px; }
.payment-row, .payment-total { display: flex; padding: 10px 0; justify-content: space-between; }
.payment-row.muted { color: var(--muted); }
.divider { height: 1px; margin: 14px 0; background: var(--line); }
.payment-total strong { color: var(--danger); font-size: 32px; }
.mock-notice { margin: 22px 0; padding: 15px; border: 1px solid #ead7ad; border-radius: 8px; background: #fffaf0; }
.mock-notice p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.text-link { display: block; margin-top: 15px; color: var(--blue); text-align: center; font-size: 13px; }
.report-cover { padding: 90px 0 80px; color: #fff; background: linear-gradient(125deg, #061629, #103a62); }
.report-cover h1 { font-size: 45px; line-height: 1.3; }
.report-cover h1 span { color: var(--gold-light); }
.cover-meta { display: flex; margin-top: 40px; gap: 32px; color: #aebdcb; font-size: 13px; }
.report-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); padding: 46px 0 80px; gap: 26px; align-items: start; }
.report-nav { position: sticky; top: 96px; padding: 22px; display: grid; gap: 5px; }
.report-nav strong { margin-bottom: 8px; }
.report-nav a { padding: 7px 9px; border-radius: 6px; color: #607084; font-size: 13px; }
.report-nav a:hover { color: var(--navy); background: #f0f4f7; }
.report-content { display: grid; gap: 22px; min-width: 0; }
.report-chapter { position: relative; padding: 42px; overflow: hidden; scroll-margin-top: 95px; }
.chapter-no { position: absolute; top: 16px; right: 28px; color: #edf1f5; font-size: 68px; font-weight: 900; line-height: 1; }
.report-chapter > h2 { position: relative; margin-bottom: 28px; padding-bottom: 13px; border-bottom: 1px solid var(--line); font-size: 27px; }
.report-chapter > h2:after { content:""; position:absolute; left:0; bottom:-1px; width:55px; height:3px; background:var(--gold); }
.report-chapter h3 { margin-top: 25px; font-size: 17px; }
.report-score { display: flex; margin-bottom: 25px; align-items: baseline; gap: 15px; }
.report-score strong { color: var(--navy); font-size: 68px; line-height: 1; }
.report-score span { color: var(--gold); font-size: 22px; font-weight: 800; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.data-grid > div { padding: 18px; border-radius: 9px; background: #f4f7f9; }
.data-grid span { display: block; color: var(--muted); font-size: 12px; }
.data-grid strong { display: block; margin-top: 5px; }
.canvas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.canvas-grid div { padding: 18px; border: 1px solid var(--line); border-radius: 9px; }
.canvas-grid span { color: var(--gold); font-size: 13px; font-weight: 800; }
.canvas-grid p { margin: 5px 0 0; }
.analysis-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.diagnosis-item { display: grid; grid-template-columns: 120px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); gap: 20px; }
.diagnosis-item p { margin: 0; color: #516174; }
.swot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.swot-grid > div { padding: 20px; border-radius: 9px; }
.swot-grid h3 { margin-top: 0; }
.swot-grid p { margin-bottom: 5px; }
.swot-grid .s { background: #edf8f4; }.swot-grid .w { background: #fff3f0; }.swot-grid .o { background: #eef5fc; }.swot-grid .t { background: #f7f2f2; }
.strategy-line { margin: 9px 0; padding: 12px 15px; border-left: 3px solid var(--gold); background: #f6f8fa; }
.timeline { display: grid; gap: 15px; }
.timeline > div { display: grid; grid-template-columns: 70px 1fr; padding: 16px; border: 1px solid var(--line); border-radius: 9px; }
.timeline span { color: var(--gold); font-weight: 800; }
.timeline p { margin: 0; }
.highlight-box { display: grid; margin-top: 25px; padding: 21px; border-radius: 9px; color: #fff; background: var(--navy-2); }
.highlight-box span { color: #9cadbd; font-size: 12px; }
.highlight-box strong { margin-top: 5px; color: var(--gold-light); font-size: 18px; }
.allocation > div { display: grid; grid-template-columns: 130px 1fr 45px; margin: 14px 0; align-items: center; gap: 15px; font-size: 13px; }
.bar { height: 9px; overflow: hidden; border-radius: 20px; background: #e8edf1; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.risk-box { margin: 13px 0; padding: 18px; border-left: 3px solid var(--danger); background: #fff5f3; }
.risk-box p { margin: 4px 0 0; }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.action-grid > div { padding: 20px; border: 1px solid var(--line); border-radius: 9px; }
.action-grid span { color: var(--gold); font-weight: 800; }
.action-grid p { margin: 10px 0 0; color: #506174; font-size: 14px; }
.upgrade-card { display: flex; padding: 40px; align-items: center; justify-content: space-between; gap: 25px; border-radius: 16px; color: #fff; background: linear-gradient(130deg, #07182d, #16456f); }
.upgrade-card span { color: var(--gold); font-size: 11px; letter-spacing: .15em; }
.upgrade-card h2 { margin: 8px 0; font-size: 26px; }
.upgrade-card p { margin: 0; color: #adbac7; }
.admin-shell { min-height: calc(100vh - 140px); padding: 52px 0 80px; }
.admin-top { display: flex; margin-bottom: 30px; align-items: end; justify-content: space-between; }
.admin-top h1 { margin: 0; font-size: 34px; }
.admin-links { display: flex; padding: 5px; border-radius: 9px; background: #e8edf2; }
.admin-links a { padding: 8px 16px; border-radius: 6px; color: #59697b; font-size: 13px; }
.admin-links a.active { color: #fff; background: var(--navy-2); }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi { padding: 25px; display: grid; }
.kpi span { color: var(--muted); font-size: 13px; }
.kpi strong { margin-top: 7px; font-size: 30px; }
.grade-board { margin-top: 22px; padding: 30px; }
.grade-board > div { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.grade-board span { display: flex; padding: 20px; align-items: center; justify-content: space-between; border-radius: 9px; background: #f3f6f8; }
.grade-board b { color: var(--gold); font-size: 24px; }
.table-card { overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 17px 20px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }
th { color: #6a7888; background: #f5f7f9; }
td a { color: #1b5f93; font-weight: 700; }
.badge.paid { color: #17654d; background: #e6f5ef; }
.empty { padding: 60px; color: var(--muted); text-align: center; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.product-card { position: relative; padding: 34px; overflow: hidden; }
.product-card.featured { border-color: var(--gold); transform: translateY(-8px); }
.product-card h2 { min-height: 64px; font-size: 22px; }
.product-card p { min-height: 82px; color: var(--muted); }
.product-ribbon { position: absolute; top: 18px; right: -30px; width: 120px; padding: 4px; transform: rotate(40deg); color: var(--navy); background: var(--gold-light); text-align: center; font-size: 12px; font-weight: 800; }
.product-price { display: flex; margin: 28px 0 22px; align-items: baseline; justify-content: space-between; }
.product-price small { color: var(--muted); }
.product-price strong { color: var(--navy); font-size: 38px; }
.filter-bar { display: flex; margin-bottom: 20px; padding: 18px; align-items: end; gap: 14px; flex-wrap: wrap; }
.filter-bar label { min-width: 170px; display: grid; gap: 5px; color: var(--muted); font-size: 12px; }
.filter-bar select { padding: 9px 12px; }
.text-link.inline { display: inline-flex; min-height: 44px; margin: 0; align-items: center; }
.wide-table { min-width: 1650px; }
.table-action { white-space: nowrap; }
.grade-s { color: #7a4f00; background: #f8e3aa; }
.grade-a { color: #17654d; background: #e6f5ef; }
.grade-b { color: #245d91; background: #e8f2fb; }
.lead-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.lead-main { display: grid; gap: 22px; }
.detail-card { padding: 28px; }
.detail-card h2 { margin-bottom: 22px; font-size: 21px; }
.detail-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.detail-data > div { padding: 15px; border-radius: 8px; background: #f4f7f9; }
.detail-data span { display: block; color: var(--muted); font-size: 12px; }
.detail-data strong { display: block; margin-top: 4px; }
.score-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.score-comparison > div { padding: 20px; border: 1px solid var(--line); border-radius: 10px; text-align: center; }
.score-comparison span, .score-comparison small { display: block; color: var(--muted); }
.score-comparison strong { display: block; color: var(--navy); font-size: 46px; }
.script-block { margin: 13px 0; padding: 17px; border-left: 3px solid var(--gold); background: #f7f9fb; }
.script-block span { color: var(--gold); font-size: 12px; font-weight: 800; }
.script-block p { margin: 5px 0 0; }
.follow-note { padding: 18px; border-radius: 8px; white-space: pre-wrap; background: #f4f7f9; }
.follow-form { position: sticky; top: 95px; }
.follow-form form { display: grid; gap: 16px; }
.follow-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.sales-dashboard { grid-template-columns: repeat(4, 1fr); }
.print-entry { margin-top: 28px; }
.consultant-conclusion { margin-bottom: 24px; padding: 20px; border-left: 4px solid var(--gold); background: #fbf8f0; }
.consultant-conclusion span { color: #8b6825; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.consultant-conclusion p { margin: 6px 0 0; font-size: 16px; font-weight: 700; }
.chapter-structure { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chapter-structure > div { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; }
.chapter-structure h3 { margin: 0 0 10px; color: var(--navy-2); }
.chapter-structure p, .chapter-structure ul, .chapter-structure ol { margin-bottom: 0; padding-left: 20px; color: #4c5d70; }
.bank-approval-panel { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 20px; gap: 14px; }
.bank-approval-panel > div { padding: 20px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.bank-approval-panel span { display: block; color: #aebdcb; font-size: 12px; }
.bank-approval-panel strong { display: block; margin-top: 4px; color: var(--gold-light); font-size: 24px; }
.bank-detail-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; gap: 14px; }
.bank-detail-grid > div { padding: 18px; border-radius: 9px; background: #f3f6f8; }
.bank-detail-grid h3 { margin-top: 0; }
.bank-detail-grid p { margin: 7px 0; font-size: 14px; }
.danger-kpi { border-color: #edc2bd; background: #fff7f5; }
.danger-kpi strong { color: var(--danger); }
.funnel-board { margin-top: 24px; padding: 30px; }
.funnel-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; margin-top: 20px; align-items: center; gap: 12px; }
.funnel-flow > div { padding: 20px; border-radius: 10px; text-align: center; background: #f2f6f9; }
.funnel-flow span, .funnel-flow small { display: block; color: var(--muted); font-size: 12px; }
.funnel-flow strong { display: block; color: var(--navy); font-size: 30px; }
.funnel-flow i { color: var(--gold); font-size: 24px; font-style: normal; }
.funnel-products { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; gap: 12px; }
.funnel-products span { padding: 13px; border: 1px solid var(--line); border-radius: 8px; }
.funnel-products b { float: right; color: var(--navy); }
.grade-conversion { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 16px; gap: 10px; }
.grade-conversion > div { display: grid; padding: 14px; border-radius: 8px; background: #fbf7ed; }
.grade-conversion span { color: var(--muted); font-size: 12px; }
.task-section-head { display: flex; align-items: center; justify-content: space-between; }
.task-section-head > span { color: var(--gold); font-weight: 800; }
.lead-task-list { display: grid; gap: 12px; }
.lead-task { display: flex; padding: 17px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 9px; align-items: center; justify-content: space-between; gap: 18px; }
.lead-task.done { opacity: .65; border-left-color: var(--success); }
.lead-task.cancelled { opacity: .55; border-left-color: #98a3ae; }
.lead-task span { color: var(--gold); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.lead-task h3 { margin: 3px 0; font-size: 16px; }
.lead-task p { margin: 0; color: var(--muted); }
.task-actions { display: flex; gap: 7px; white-space: nowrap; }
.task-actions form { margin: 0; }
.task-actions button { padding: 6px 11px; border: 0; border-radius: 5px; color: #fff; background: var(--success); cursor: pointer; }
.task-actions .muted-button { color: #536273; background: #e7ebef; }
.manual-task-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.manual-task-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; }
.manual-task-form .wide { grid-column: span 3; }
.priority-high { color: #a52f2f; font-weight: 800; }
.priority-medium { color: #9b6c18; font-weight: 800; }
.priority-low { color: #567085; font-weight: 800; }
.overdue-row { background: #fff4f2; }
.login-shell { min-height: calc(100vh - 140px); display: grid; padding: 70px 20px; place-items: center; background: linear-gradient(135deg, #07182d, #123d65); }
.login-card { width: min(430px, 100%); padding: 38px; }
.login-card label, .settings-form label { display: grid; margin: 14px 0; gap: 6px; font-size: 13px; font-weight: 700; }
.form-error { padding: 12px; border-radius: 7px; color: #9e2f2f; background: #fff0ed; }
.error-page { min-height: calc(100vh - 140px); display: grid; padding: 70px 0; place-items: center; text-align: center; }
.error-page .card { max-width: 560px; padding: 50px; }
.error-page .card > strong { color: var(--gold); font-size: 48px; }
.payment-result { max-width: 680px; margin: 40px auto; padding: 48px; text-align: center; }
.result-symbol { display: grid; width: 74px; height: 74px; margin: 0 auto 20px; place-items: center; border-radius: 50%; font-size: 34px; font-weight: 900; }
.result-symbol.success { color: #fff; background: var(--success); }
.result-symbol.pending { color: var(--navy); background: var(--gold-light); }
.manual-transfer-box { margin: 25px 0; padding: 22px; border: 1px solid #ead7ad; border-radius: 9px; background: #fffaf0; }
.manual-transfer-box strong { display: block; color: var(--danger); font-size: 34px; }
.admin-toolbar { display: flex; margin: 0 0 16px; justify-content: flex-end; gap: 10px; }
.settings-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: 24px; align-items: start; }
.settings-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.settings-form h2, .settings-form button, .settings-form .safe-note { grid-column: 1 / -1; }
.analytics-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 24px; gap: 24px; }
.analytics-card { padding: 25px; }
.analytics-card h2 { font-size: 19px; }
.mini-bar-row { display: grid; grid-template-columns: 50px 1fr 35px; margin: 10px 0; align-items: center; gap: 10px; }
.mini-bar-row i { min-width: 4px; height: 8px; max-width: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.revenue-row, .compact-list { display: flex; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; justify-content: space-between; gap: 10px; }
.compact-list { display: grid; grid-template-columns: 1fr 1.5fr auto; }
.compact-list span, .compact-list small { color: var(--muted); }
.report-preview { max-height: 600px; padding-right: 10px; overflow: auto; }
.lp-hero { min-height: 620px; }
.lp-subtitle { max-width: 650px; margin-bottom: 34px; color: #aebdcb; }
.ab-message { margin: 18px 0; padding: 18px; border-radius: 9px; }
.ab-message span { font-size: 12px; font-weight: 800; }
.ab-message h3 { margin: 6px 0; font-size: 17px; }
.risk-message { border: 1px solid #edc2bd; background: #fff5f3; }
.risk-message span { color: var(--danger); }
.opportunity-message { border: 1px solid #d9c38d; background: #fffaf0; }
.opportunity-message span { color: #8b6825; }
.lead-tag { display: inline-flex; margin: 2px; padding: 3px 8px; border: 1px solid var(--tag-color); border-radius: 14px; color: var(--tag-color); font-size: 11px; align-items: center; gap: 3px; }
.inline-form { display: inline; margin: 0; }
.inline-form button { border: 0; color: inherit; background: transparent; cursor: pointer; }
.inline-add-form { display: flex; margin-top: 15px; gap: 10px; }
.nba-card { border-top: 4px solid var(--gold); }
.copy-script { padding: 6px 12px; border: 1px solid var(--gold); border-radius: 5px; color: #765718; background: #fffaf0; cursor: pointer; }
.timeline-list article { display: grid; grid-template-columns: 100px 1fr; padding: 15px 0; border-bottom: 1px solid var(--line); gap: 18px; }
.timeline-list > article > span { color: var(--muted); font-size: 12px; }
.timeline-list p { margin: 4px 0; }
.workbench-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.workbench-card { padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
.workbench-card h3 { font-size: 17px; }
.growth-table { margin: 22px 0; padding: 24px; }
.growth-table h2 { font-size: 20px; }
.script-library { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 22px; gap: 18px; }
.script-library form label { display: grid; margin: 8px 0; gap: 4px; font-size: 12px; }
.danger-zone { border-color: #edc2bd; }
.action-row { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.action-row form { display:flex; gap:8px; margin:0; }
.btn-danger { color:#fff; background:var(--danger); }
.match-item { margin:14px 0; padding:18px; border:1px solid var(--line); border-left:4px solid var(--gold); border-radius:8px; }
.match-item h3 { margin:0; }
.locked-panel { margin-top:18px; padding:18px; border:1px dashed var(--gold); border-radius:8px; background:#fffaf0; }
.compliance-card, .compliance-note { margin:22px 0; padding:18px; border-radius:8px; color:#5d6875; background:#f3f5f7; font-size:13px; }
.json-preview { max-height:320px; padding:14px; overflow:auto; white-space:pre-wrap; border-radius:7px; color:#dbe8f5; background:#0b2038; font-size:12px; }
details { margin-top:12px; } details summary { cursor:pointer; color:var(--gold); font-weight:700; }

@media (max-width: 900px) {
  .hero-grid, .result-layout, .checkout-grid, .report-layout, .lead-detail-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0; }
  .hero-panel { display: none; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .paywall, .payment-box, .report-nav { position: static; }
  .report-nav { display: none; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .upgrade-card { align-items: flex-start; flex-direction: column; }
  .follow-form { position: static; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card.featured { transform: none; }
  .chapter-structure, .bank-detail-grid { grid-template-columns: 1fr; }
  .funnel-flow { grid-template-columns: 1fr; }
  .funnel-flow i { transform: rotate(90deg); text-align: center; }
  .funnel-products, .grade-conversion { grid-template-columns: 1fr 1fr; }
  .settings-layout { grid-template-columns: 1fr; }
  .workbench-grid, .script-library { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .nav { height: 64px; }
  .brand small, .nav nav a:last-child { display: none; }
  .nav nav { gap: 12px; }
  .hero { min-height: 580px; }
  .hero h1 { font-size: 44px; }
  .hero-copy { font-size: 19px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .section { padding: 55px 0; }
  .feature-grid, .overview-grid, .form-grid, .data-grid, .canvas-grid, .analysis-row, .swot-grid, .action-grid, .dashboard-grid, .detail-data, .score-comparison { grid-template-columns: 1fr; }
  .form-grid label.wide { grid-column: auto; }
  .form-card, .report-chapter, .order-product, .payment-box { padding: 24px; }
  .submit-bar, .result-head { align-items: flex-start; flex-direction: column; gap: 24px; }
  .score-ring { width: 135px; height: 135px; }
  .content-list { grid-template-columns: 1fr; }
  .cover-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .report-cover h1 { font-size: 33px; }
  .diagnosis-item { grid-template-columns: 1fr; gap: 5px; }
  .grade-board > div { grid-template-columns: 1fr 1fr; }
  .admin-top { align-items: flex-start; flex-direction: column; gap: 20px; }
  .admin-links { width: 100%; overflow-x: auto; }
  .bank-approval-panel, .manual-task-form { grid-template-columns: 1fr; }
  .manual-task-form .wide { grid-column: auto; }
  .lead-task { align-items: flex-start; flex-direction: column; }
  .funnel-products, .grade-conversion { grid-template-columns: 1fr; }
  .settings-form, .analytics-grid { grid-template-columns: 1fr; }
  .compact-list { grid-template-columns: 1fr; }
}
