:root {
	--bg: #f3f6f4;
	--surface: #ffffff;
	--surface-2: #f7f9f8;
	--surface-3: #eef3f0;
	--text: #172522;
	--muted: #6d7a76;
	--soft: #98a29f;
	--line: #dfe6e2;
	--nav: #102b28;
	--nav-2: #173a35;
	--nav-text: #e5efeb;
	--nav-muted: #94aaa3;
	--accent: #b7ec70;
	--accent-strong: #9ddd53;
	--accent-ink: #18371e;
	--green: #1d7a52;
	--green-soft: #e5f5ed;
	--amber: #ae6e19;
	--amber-soft: #fff2db;
	--red: #bd4a4a;
	--red-soft: #fdeaea;
	--blue: #4169a6;
	--blue-soft: #eaf0fb;
	--purple: #7354a7;
	--purple-soft: #f0eafa;
	--shadow-sm: 0 1px 2px rgba(16, 43, 40, 0.04), 0 4px 14px rgba(16, 43, 40, 0.03);
	--shadow-lg: 0 18px 55px rgba(16, 43, 40, 0.18);
	--radius: 16px;
	--font-body: "DM Sans", sans-serif;
	--font-display: "Manrope", sans-serif;
}

body.dark {
	--bg: #101917;
	--surface: #18221f;
	--surface-2: #1d2926;
	--surface-3: #24322e;
	--text: #edf3f0;
	--muted: #a7b3af;
	--soft: #7e8c87;
	--line: #2d3b37;
	--nav: #0c1715;
	--nav-2: #172b27;
	--green-soft: #173b2c;
	--amber-soft: #3a2c17;
	--red-soft: #3b2020;
	--blue-soft: #1f2c42;
	--purple-soft: #2e2540;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--font-body); font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
body.auth-locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, [role="button"] { -webkit-tap-highlight-color: transparent; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Public homepage */
.landing-view { min-height: 100vh; overflow: hidden; color: #172522; background: #f7faf8; }
.landing-view button, .landing-view a { font-family: var(--font-body); }
.landing-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.landing-header { position: fixed; z-index: 120; top: 0; left: 0; right: 0; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 max(24px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid rgba(19,55,49,.08); background: rgba(247,250,248,.9); backdrop-filter: blur(16px); }
.landing-brand { display: flex; align-items: center; gap: 10px; width: fit-content; color: #102b28; font-family: var(--font-display) !important; font-size: 22px; font-weight: 800; letter-spacing: -.7px; text-decoration: none; }
.landing-brand .brand-mark { width: 29px; height: 29px; }
.landing-nav { display: flex; align-items: center; gap: 29px; }
.landing-nav a { position: relative; color: #53635e; font-size: 11px; font-weight: 500; text-decoration: none; }
.landing-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; border-radius: 2px; background: #2c815e; transition: right .2s; }
.landing-nav a:hover { color: #102b28; }
.landing-nav a:hover::after { right: 0; }
.landing-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.landing-login { padding: 9px 13px; border: 0; color: #31443e; background: transparent; font-size: 10px; font-weight: 600; cursor: pointer; }
.landing-cta, .landing-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 0 16px; border: 1px solid #102b28; border-radius: 9px; color: white; background: #102b28; font-size: 10px; font-weight: 700; box-shadow: 0 5px 15px rgba(16,43,40,.13); cursor: pointer; transition: .18s ease; }
.landing-cta:hover, .landing-primary:hover { background: #1a423b; transform: translateY(-1px); }
.landing-cta svg, .landing-primary svg { width: 14px; }
.landing-menu-btn { display: none; place-items: center; width: 38px; height: 38px; border: 1px solid #dbe4df; border-radius: 9px; color: #102b28; background: white; cursor: pointer; }
.landing-hero { min-height: 750px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); align-items: center; gap: 47px; padding-top: 124px; padding-bottom: 70px; }
.landing-hero-copy { position: relative; z-index: 2; }
.landing-pill { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 20px; padding: 6px 10px; border: 1px solid #cfdfd6; border-radius: 16px; color: #37705c; background: #eef6f1; font-size: 9px; font-weight: 600; }
.landing-pill i { width: 6px; height: 6px; border-radius: 50%; background: #68a940; box-shadow: 0 0 0 3px rgba(104,169,64,.13); }
.landing-hero h1 { margin: 0; color: #132c27; font-family: var(--font-display); font-size: clamp(42px, 4.7vw, 66px); line-height: 1.05; letter-spacing: -3px; }
.landing-hero h1 em { color: #367f5e; font-style: normal; }
.landing-hero-copy > p { max-width: 535px; margin: 21px 0 25px; color: #65756f; font-size: 14px; line-height: 1.65; }
.landing-hero-actions { display: flex; align-items: center; gap: 10px; }
.landing-primary { min-height: 45px; padding-inline: 19px; font-size: 11px; }
.landing-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 45px; padding: 0 16px; border: 1px solid #d7e1dc; border-radius: 9px; color: #243b35; background: white; font-size: 10px; font-weight: 600; cursor: pointer; transition: .18s; }
.landing-secondary:hover { border-color: #aebfb6; transform: translateY(-1px); }
.landing-secondary svg { width: 15px; }
.landing-proof { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 18px; color: #75847f; font-size: 8px; }
.landing-proof span { display: flex; align-items: center; gap: 4px; }
.landing-proof svg { width: 11px; color: #38805f; }
.hero-product { position: relative; min-width: 0; perspective: 1200px; }
.hero-glow { position: absolute; width: 490px; height: 490px; top: 50%; left: 50%; border-radius: 50%; background: radial-gradient(circle, rgba(183,236,112,.33), rgba(67,140,104,.08) 48%, transparent 70%); transform: translate(-50%,-50%); filter: blur(4px); }
.hero-window { position: relative; z-index: 1; width: 590px; max-width: 100%; margin: 0 auto; overflow: visible; border: 1px solid #d8e3dd; border-radius: 15px; background: white; box-shadow: 0 35px 75px rgba(20,59,49,.19), 0 5px 16px rgba(20,59,49,.08); transform: rotateY(-3deg) rotateX(1deg); }
.hero-window-bar { height: 51px; display: flex; align-items: center; gap: 20px; padding: 0 17px; border-bottom: 1px solid #e4ebe7; }
.mini-brand { display: flex; align-items: center; gap: 6px; color: #17332d; font-family: var(--font-display); font-size: 11px; }
.mini-brand .brand-mark { width: 21px; height: 21px; padding: 4px; border-radius: 6px; }
.mini-brand .brand-mark span { width: 3px; }
.mini-brand .brand-mark span:nth-child(1) { height: 6px; }.mini-brand .brand-mark span:nth-child(2) { height: 11px; }.mini-brand .brand-mark span:nth-child(3) { height: 8px; }
.window-search { flex: 1; display: flex; align-items: center; gap: 6px; color: #95a29e; font-size: 7px; }
.window-search svg { width: 12px; }
.hero-window-bar .avatar { flex-basis: 25px; height: 25px; font-size: 7px; }
.hero-window-body { position: relative; padding: 19px; background: #f5f8f6; border-radius: 0 0 15px 15px; }
.preview-greeting { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.preview-greeting small { color: #31805c; font-size: 6px; font-weight: 700; letter-spacing: .8px; }
.preview-greeting h3 { margin: 2px 0 0; font-family: var(--font-display); font-size: 15px; }
.preview-greeting > span { display: flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 8px; color: #2f7958; background: #e7f4ec; font-size: 7px; font-weight: 700; }
.preview-greeting svg { width: 10px; }
.preview-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.preview-metrics > div { padding: 12px; border: 1px solid #e2e9e5; border-radius: 9px; background: white; }
.preview-metrics small, .preview-metrics strong, .preview-metrics em { display: block; }
.preview-metrics small { color: #7d8b86; font-size: 6px; }
.preview-metrics strong { margin: 4px 0 1px; font-family: var(--font-display); font-size: 14px; }
.preview-metrics strong.save { color: #2f7c5a; }
.preview-metrics em { color: #8b9894; font-size: 6px; font-style: normal; }
.preview-content { display: grid; grid-template-columns: 1.45fr .75fr; gap: 8px; margin-top: 8px; }
.preview-chart, .preview-saving { min-width: 0; padding: 12px; border: 1px solid #e2e9e5; border-radius: 9px; background: white; }
.preview-chart > span, .preview-chart > strong { display: block; }
.preview-chart > span { color: #73827d; font-size: 7px; }
.preview-chart > strong { margin-top: 3px; font-family: var(--font-display); font-size: 14px; }
.preview-chart > svg { width: 100%; height: 105px; margin-top: 4px; overflow: visible; }
.preview-saving { background: linear-gradient(145deg,#fff,#eaf7ee); }
.preview-ai { display: inline-flex; align-items: center; gap: 3px; padding: 3px 5px; border-radius: 5px; color: #34805e; background: #dcf0e4; font-size: 5px; font-weight: 700; }
.preview-ai svg { width: 8px; }
.preview-saving > small, .preview-saving > strong { display: block; }
.preview-saving > small { margin-top: 13px; color: #71817b; font-size: 6px; }
.preview-saving > strong { margin-top: 2px; font-family: var(--font-display); font-size: 12px; }
.preview-saving p { color: #73827d; font-size: 6px; line-height: 1.5; }
.preview-saving button { display: flex; align-items: center; gap: 3px; padding: 0; border: 0; color: #2f7c5a; background: transparent; font-size: 6px; font-weight: 700; cursor: pointer; }
.preview-saving button svg { width: 9px; }
.floating-bill { position: absolute; right: -35px; bottom: 38px; display: flex; align-items: center; gap: 8px; width: 205px; padding: 9px; border: 1px solid #dbe5e0; border-radius: 10px; background: rgba(255,255,255,.95); box-shadow: 0 13px 28px rgba(23,55,47,.16); backdrop-filter: blur(8px); animation: floatBill 4s ease-in-out infinite; }
@keyframes floatBill { 50% { transform: translateY(-6px); } }
.floating-bill .vendor-logo { flex-basis: 28px; height: 28px; border-radius: 7px; font-size: 8px; }
.floating-bill > div { flex: 1; min-width: 0; }
.floating-bill small, .floating-bill strong { display: block; }
.floating-bill small { color: #3b8966; font-size: 5px; font-weight: 700; }
.floating-bill strong { overflow: hidden; margin-top: 2px; font-size: 7px; white-space: nowrap; }
.floating-bill > span:last-child { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: #39805f; background: #e5f4eb; }
.floating-bill > span:last-child svg { width: 11px; }
.landing-trust-strip { border-top: 1px solid #e4eae7; border-bottom: 1px solid #e4eae7; background: white; }
.landing-trust-strip .landing-container { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.landing-trust-strip p { color: #7d8a86; font-size: 9px; }
.landing-trust-strip div > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 27px; }
.landing-trust-strip span { display: flex; align-items: center; gap: 6px; color: #435650; font-size: 9px; font-weight: 600; }
.landing-trust-strip svg { width: 14px; color: #38805e; }
.landing-section { padding-top: 108px; padding-bottom: 108px; }
.landing-section-head { max-width: 690px; margin-bottom: 41px; }
.landing-section-head.centred { margin-inline: auto; text-align: center; }
.landing-overline { display: block; margin-bottom: 10px; color: #31805c; font-size: 9px; font-weight: 800; letter-spacing: 1.25px; text-transform: uppercase; }
.landing-overline.light { color: #b7ec70; }
.landing-section-head h2, .product-tour-head h2 { margin: 0; color: #15312b; font-family: var(--font-display); font-size: clamp(30px, 3.5vw, 46px); line-height: 1.14; letter-spacing: -1.7px; }
.landing-section-head > p { max-width: 610px; margin: 13px 0 0; color: #697872; font-size: 12px; line-height: 1.65; }
.landing-section-head.centred > p { margin-inline: auto; }
.landing-feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.landing-feature { position: relative; overflow: hidden; min-height: 325px; padding: 27px; border: 1px solid #dfe7e3; border-radius: 16px; background: white; box-shadow: 0 8px 26px rgba(28,67,56,.04); }
.landing-feature.feature-large { grid-column: 1 / -1; min-height: 390px; display: grid; grid-template-columns: .7fr 1fr; gap: 45px; align-items: center; padding: 34px; }
.landing-feature.feature-large > .landing-feature-icon { position: absolute; top: 34px; left: 34px; }
.landing-feature.feature-large > div:nth-child(2) { padding-top: 55px; }
.landing-feature-icon { display: grid; place-items: center; width: 41px; height: 41px; margin-bottom: 19px; border-radius: 11px; color: #2c7a58; background: #e5f4eb; }
.landing-feature-icon svg { width: 18px; }
.landing-feature-icon.amber { color: #ad6d1b; background: #fff1da; }.landing-feature-icon.purple { color: #7354a7; background: #f0eafa; }.landing-feature-icon.blue { color: #4169a6; background: #eaf0fb; }
.landing-feature > small, .landing-feature > div > small { color: #398362; font-size: 7px; font-weight: 800; letter-spacing: 1px; }
.landing-feature h3 { margin: 7px 0 9px; font-family: var(--font-display); font-size: 21px; line-height: 1.25; letter-spacing: -.6px; }
.landing-feature p { color: #6b7b75; font-size: 10px; line-height: 1.65; }
.feature-link { display: flex; align-items: center; gap: 5px; margin-top: 18px; color: #2f7d5b; font-size: 9px; font-weight: 700; }
.feature-link svg { width: 12px; }
.inbox-demo { overflow: hidden; border: 1px solid #dce5e0; border-radius: 12px; background: #f6f9f7; box-shadow: 0 18px 45px rgba(31,74,61,.11); transform: rotate(1.3deg); }
.inbox-demo > div:first-child { display: flex; align-items: center; gap: 8px; padding: 13px; color: white; background: #143a33; }
.inbox-demo > div:first-child > svg { width: 15px; color: #b7ec70; }
.inbox-demo > div:first-child span { flex: 1; }
.inbox-demo b, .inbox-demo small { display: block; }
.inbox-demo b { font-size: 9px; }.inbox-demo small { color: #92aaa3; font-size: 7px; }
.inbox-demo em { padding: 3px 6px; border-radius: 8px; color: #b7ec70; background: rgba(183,236,112,.09); font-size: 6px; font-style: normal; }
.capture-row { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-top: 1px solid #e2e9e5; background: white; }
.capture-row .mini-logo { flex-basis: 30px; height: 30px; border-radius: 8px; }
.capture-row p { flex: 1; margin: 0; }
.capture-row p b, .capture-row p small { display: block; }.capture-row p b { font-size: 8px; }.capture-row p small { color: #82908b; font-size: 7px; }
.capture-row > span:last-child { display: flex; align-items: center; gap: 3px; color: #3b805f; font-size: 6px; font-weight: 600; }
.capture-row > span:last-child svg { width: 9px; }
.feature-notice { position: absolute; left: 27px; right: 27px; bottom: 25px; display: flex; align-items: center; gap: 9px; padding: 12px; border-radius: 10px; background: #fff6e8; }
.feature-notice > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; color: #a96b1d; background: #ffe9c5; }
.feature-notice svg { width: 14px; }
.feature-notice p { flex: 1; margin: 0; }.feature-notice b,.feature-notice small { display: block; }.feature-notice b { color: #463821; font-size: 8px; }.feature-notice small { font-size: 7px; }
.dark-feature { color: white; background: linear-gradient(140deg,#12332e,#1d5045); border-color: #1d5045; }
.dark-feature .landing-feature-icon.lime { color: #b7ec70; background: rgba(183,236,112,.1); }
.dark-feature > small { color: #b7ec70; }.dark-feature p { color: #a7bbb5; }
.feature-insight { position: absolute; left: 27px; right: 27px; bottom: 25px; display: grid; grid-template-columns: 1fr auto; padding: 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.055); }
.feature-insight span { color: #9eb3ad; font-size: 7px; }.feature-insight strong { grid-row: 1 / 3; grid-column: 2; align-self: center; color: #b7ec70; font-family: var(--font-display); font-size: 20px; }.feature-insight small { color: #d6e2de; font-size: 7px; }
.mini-bars { position: absolute; left: 27px; right: 27px; bottom: 25px; height: 75px; display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 0; border-bottom: 1px solid #dfe7e3; }
.mini-bars i { flex: 1; border-radius: 4px 4px 0 0; background: #dbe8e1; }.mini-bars i.active { background: #7fc258; }
.feature-avatars { position: absolute; left: 27px; right: 27px; bottom: 30px; display: flex; align-items: center; }
.feature-avatars > span, .feature-avatars > i { display: grid; place-items: center; width: 36px; height: 36px; margin-left: -6px; border: 3px solid white; border-radius: 50%; color: #17362f; background: #d9edc9; font-size: 8px; font-style: normal; font-weight: 700; }
.feature-avatars > span:first-child { margin-left: 0; background: #b7ec70; }.feature-avatars > span:nth-child(2) { background: #d7e5f5; }.feature-avatars > span:nth-child(3) { background: #efe0f5; }.feature-avatars > i { color: #65756f; background: #eef2f0; }
.feature-avatars small { margin-left: 9px; color: #7b8984; font-size: 7px; }
.savings-marketing { padding: 105px 0; color: white; background: #102b28; }
.savings-marketing-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.savings-marketing-copy h2 { margin: 0; font-family: var(--font-display); font-size: clamp(36px,4vw,52px); line-height: 1.1; letter-spacing: -2px; }
.savings-marketing-copy > p { margin: 17px 0; color: #a9bcb6; font-size: 12px; line-height: 1.7; }
.savings-marketing-copy ul { display: grid; gap: 9px; margin: 22px 0 27px; padding: 0; list-style: none; }
.savings-marketing-copy li { display: flex; align-items: center; gap: 7px; color: #d4e0dc; font-size: 9px; }
.savings-marketing-copy li svg { width: 12px; color: #b7ec70; }
.landing-primary.lime { border-color: #b7ec70; color: #17361e; background: #b7ec70; box-shadow: 0 6px 20px rgba(183,236,112,.13); }
.landing-primary.lime:hover { background: #a6df60; }
.comparison-showcase { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; color: #172522; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.22); transform: rotate(1deg); }
.comparison-heading { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #e1e8e4; background: #f7f9f8; }
.comparison-heading span { display: flex; align-items: center; gap: 5px; color: #397b5e; font-size: 7px; font-weight: 800; }.comparison-heading svg { width: 13px; }.comparison-heading small { color: #87938f; font-size: 7px; }
.comparison-current, .comparison-better { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; }
.comparison-current > div, .comparison-better > div { display: flex; align-items: center; gap: 10px; }
.comparison-showcase .offer-brand { width: 39px; height: 39px; flex-basis: 39px; font-size: 9px; }
.comparison-showcase p { margin: 0; }.comparison-showcase p small,.comparison-showcase p strong,.comparison-showcase p em { display: block; }.comparison-showcase p small { color: #778680; font-size: 7px; }.comparison-showcase p strong { font-size: 10px; }.comparison-showcase p em { display: flex; align-items: center; gap: 3px; color: #a57626; font-size: 6px; font-style: normal; }.comparison-showcase p em svg { width: 9px; fill: #d49a36; }
.comparison-current > strong, .comparison-better > strong { font-family: var(--font-display); font-size: 18px; }.comparison-current > strong small,.comparison-better > strong small { font-family: var(--font-body); font-size: 7px; }.comparison-better > strong { color: #2f7b59; }
.switch-arrow { display: flex; align-items: center; gap: 7px; margin: -5px 20px; color: #779087; font-size: 7px; }.switch-arrow svg { width: 14px; color: #3a805f; }
.comparison-better { margin: 8px 13px 0; border: 1px solid #cde1d5; border-radius: 11px; background: #edf8f1; }
.comparison-save { display: flex; align-items: baseline; gap: 8px; padding: 17px 20px 11px; }.comparison-save > span { color: #6e7d77; font-size: 8px; }.comparison-save strong { color: #2d7b59; font-family: var(--font-display); font-size: 24px; }.comparison-save strong small { font-family: var(--font-body); font-size: 8px; }.comparison-save em { margin-left: auto; padding: 4px 7px; border-radius: 6px; color: #9c6419; background: #fff0d6; font-size: 7px; font-style: normal; }
.comparison-facts { display: flex; gap: 14px; margin: 0 20px; padding: 11px 0; border-top: 1px solid #e5ebe8; border-bottom: 1px solid #e5ebe8; color: #687872; font-size: 7px; }.comparison-facts span { display: flex; align-items: center; gap: 4px; }.comparison-facts svg { width: 10px; }
.comparison-showcase > button { width: calc(100% - 40px); display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; margin: 14px 20px 5px; border: 0; border-radius: 8px; color: white; background: #15352f; font-size: 8px; font-weight: 700; cursor: pointer; }.comparison-showcase > button svg { width: 11px; }.comparison-showcase > p { padding: 2px 20px 13px; color: #99a29f; font-size: 6px; text-align: center; }
.landing-steps { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.landing-steps::before { content: ""; position: absolute; top: 170px; left: 25%; right: 25%; border-top: 1px dashed #bfd0c7; }
.landing-steps article { position: relative; z-index: 1; text-align: center; }
.landing-steps article > span { display: grid; place-items: center; width: 31px; height: 31px; margin: 0 auto -15px; border: 4px solid #f7faf8; border-radius: 50%; color: #2f7e5b; background: #dff1e6; font-size: 8px; font-weight: 800; }
.step-visual { height: 225px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 22px; border: 1px solid #dfe7e3; border-radius: 15px; background: white; box-shadow: 0 10px 30px rgba(30,68,57,.04); }
.mail-fly { display: flex; align-items: center; gap: 6px; margin-bottom: 13px; padding: 9px 11px; border: 1px solid #dce5e0; border-radius: 8px; color: #51635d; background: white; box-shadow: 0 8px 20px rgba(25,64,53,.11); font-size: 7px; transform: rotate(-3deg); }.mail-fly svg { width: 13px; color: #2e7c59; }
.step-address { padding: 11px 20px; border-radius: 8px; color: #b7ec70; background: #153a33; font-size: 9px; font-weight: 700; }
.analyse-step > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 13px; border-radius: 12px; color: #2f805c; background: #e3f2e9; }.analyse-step > span svg { width: 21px; }.analyse-step > div { width: 120px; display: grid; gap: 5px; }.analyse-step > div i { height: 5px; border-radius: 3px; background: #e5ebe8; }.analyse-step > div i:nth-child(2) { width: 70%; }.analyse-step > div i:nth-child(3) { width: 85%; }.analyse-step em { margin-top: 12px; padding: 4px 7px; border-radius: 8px; color: #327b59; background: #e6f4eb; font-size: 7px; font-style: normal; font-weight: 700; }
.save-step { padding: 35px; text-align: left; }.save-step > small,.save-step > strong,.save-step > em { align-self: stretch; display: block; }.save-step > small { color: #73827c; font-size: 7px; }.save-step > strong { margin: 4px 0 12px; color: #2d7b59; font-family: var(--font-display); font-size: 31px; }.save-step .progress { align-self: stretch; height: 7px; }.save-step .progress span { background: linear-gradient(90deg,#2f7c5a,#b7ec70); }.save-step > em { display: flex; align-items: center; gap: 4px; margin-top: 10px; color: #3d745d; font-size: 7px; font-style: normal; }.save-step > em svg { width: 11px; }
.landing-steps h3 { margin: 0 0 7px; font-family: var(--font-display); font-size: 16px; }.landing-steps article > p { max-width: 300px; margin: 0 auto; color: #70807a; font-size: 9px; line-height: 1.6; }
.product-tour { padding-top: 20px; padding-bottom: 112px; }
.product-tour-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.tour-window { overflow: hidden; display: grid; grid-template-columns: 160px 1fr; height: 530px; border: 1px solid #d9e3de; border-radius: 17px; background: white; box-shadow: 0 25px 60px rgba(27,68,56,.13); }
.tour-sidebar { display: flex; flex-direction: column; gap: 4px; padding: 23px 13px; color: #91a8a1; background: #102b28; }
.tour-sidebar .mini-brand { margin: 0 8px 28px; color: white; font-size: 14px; }
.tour-sidebar > span { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 7px; font-size: 8px; }.tour-sidebar > span svg { width: 14px; }.tour-sidebar > span.active { color: white; background: #19443c; box-shadow: inset 2px 0 #b7ec70; }.tour-sidebar > span.active svg { color: #b7ec70; }
.tour-content { padding: 30px; background: #f5f8f6; }
.tour-top { display: flex; align-items: center; justify-content: space-between; }.tour-top small { color: #2f805c; font-size: 6px; font-weight: 700; letter-spacing: .7px; }.tour-top h3 { margin: 3px 0 0; font-family: var(--font-display); font-size: 16px; }.tour-top button { padding: 8px 11px; border: 0; border-radius: 7px; color: white; background: #12342e; font-size: 7px; }
.tour-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 20px 0 13px; }.tour-cards > div { padding: 15px; border: 1px solid #e0e7e3; border-radius: 10px; background: white; }.tour-cards span,.tour-cards strong,.tour-cards small { display: block; }.tour-cards span { color: #76857f; font-size: 7px; }.tour-cards strong { margin: 7px 0 2px; font-family: var(--font-display); font-size: 18px; }.tour-cards small { color: #8d9995; font-size: 6px; }.tour-cards .highlight { border-color: #c9e0d1; background: #eff8f2; }.tour-cards .highlight strong { color: #2f7e5b; }
.tour-lower { display: grid; grid-template-columns: 1.5fr .7fr; gap: 10px; }.tour-chart,.tour-list { padding: 16px; border: 1px solid #e0e7e3; border-radius: 10px; background: white; }.tour-chart > span,.tour-chart > strong { display: block; }.tour-chart > span,.tour-list > span { color: #687872; font-size: 8px; font-weight: 600; }.tour-chart > strong { margin-top: 5px; font-family: var(--font-display); font-size: 20px; }.tour-chart svg { width: 100%; height: 180px; margin-top: 5px; overflow: visible; }.tour-list > div { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 7px; padding: 13px 0; border-top: 1px solid #e6ebe8; }.tour-list > div:first-of-type { margin-top: 10px; }.tour-list i { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; color: white; background: #47726a; font-size: 7px; font-style: normal; }.tour-list b,.tour-list strong { font-size: 7px; }.tour-list strong { font-family: var(--font-display); }
.security-marketing { padding-top: 0; }
.security-marketing-card { position: relative; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; padding: 60px; border-radius: 21px; color: white; background: linear-gradient(120deg,#102b28,#1d5044); }
.security-marketing-card::after { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: -220px; border: 60px solid rgba(183,236,112,.06); border-radius: 50%; }
.security-marketing-card > div { position: relative; z-index: 1; }.security-marketing-card h2 { margin: 0; font-family: var(--font-display); font-size: clamp(29px,3.3vw,43px); line-height: 1.16; letter-spacing: -1.5px; }.security-marketing-card > div > p { margin: 15px 0 20px; color: #a8bbb5; font-size: 11px; line-height: 1.65; }
.security-link { display: flex; align-items: center; gap: 6px; padding: 0; border: 0; color: #b7ec70; background: transparent; font-size: 9px; font-weight: 700; cursor: pointer; }.security-link svg { width: 12px; }
.security-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.security-feature-grid > span { display: flex; align-items: flex-start; gap: 9px; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(255,255,255,.045); }.security-feature-grid > span > svg { flex: 0 0 17px; color: #b7ec70; }.security-feature-grid p { margin: 0; }.security-feature-grid b,.security-feature-grid small { display: block; }.security-feature-grid b { font-size: 9px; }.security-feature-grid small { margin-top: 3px; color: #9eb2ac; font-size: 7px; }
.customer-proof { padding: 104px 0; background: #eef4f1; text-align: center; }.customer-proof .landing-container { max-width: 930px; }.quote-mark { color: #3a805f; font-family: Georgia,serif; font-size: 65px; line-height: .7; }.customer-proof blockquote { margin: 22px auto; color: #1b342e; font-family: var(--font-display); font-size: clamp(23px,3vw,35px); line-height: 1.35; letter-spacing: -1px; }.quote-person { display: flex; align-items: center; justify-content: center; gap: 9px; }.quote-person > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #17372f; background: #b7ec70; font-size: 9px; font-weight: 700; }.quote-person p { margin: 0; text-align: left; }.quote-person strong,.quote-person small { display: block; }.quote-person strong { font-size: 9px; }.quote-person small { color: #798781; font-size: 7px; }.quote-person em { display: flex; margin-left: 8px; color: #d29b3d; }.quote-person em svg { width: 11px; fill: currentColor; }
.proof-stats { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 55px; padding-top: 27px; border-top: 1px solid #d7e2dc; }.proof-stats > span { border-right: 1px solid #d7e2dc; }.proof-stats > span:last-child { border-right: 0; }.proof-stats strong,.proof-stats small { display: block; }.proof-stats strong { color: #1c3d34; font-family: var(--font-display); font-size: 22px; }.proof-stats small { margin-top: 3px; color: #75847f; font-size: 7px; }
.landing-final { padding-top: 105px; padding-bottom: 105px; }.landing-final > div { position: relative; overflow: hidden; padding: 70px; border-radius: 22px; color: white; background: #102b28; text-align: center; }.landing-final > div::before { content: ""; position: absolute; width: 500px; height: 500px; left: -260px; bottom: -330px; border: 75px solid rgba(183,236,112,.05); border-radius: 50%; }.landing-final h2 { position: relative; max-width: 780px; margin: 0 auto; font-family: var(--font-display); font-size: clamp(32px,4vw,50px); line-height: 1.13; letter-spacing: -1.8px; }.landing-final p { position: relative; margin: 15px 0 24px; color: #a8bbb5; font-size: 12px; }.landing-final > div > div { position: relative; display: flex; justify-content: center; gap: 12px; }.final-login { padding: 0 15px; border: 0; color: #d6e3df; background: transparent; font-size: 9px; font-weight: 600; cursor: pointer; }.landing-final > div > small { position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 17px; color: #91a9a2; font-size: 7px; }.landing-final > div > small svg { width: 10px; color: #b7ec70; }
.landing-footer { padding: 58px 0 25px; color: #d9e4e0; background: #0c211e; }.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 60px; padding-bottom: 45px; }.landing-footer .landing-brand { color: white; }.footer-top > div:first-child p { margin: 13px 0 5px; font-family: var(--font-display); font-size: 12px; }.footer-top > div:first-child small { display: block; max-width: 270px; color: #809890; font-size: 8px; line-height: 1.55; }.footer-top > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }.footer-top strong { margin-bottom: 4px; color: white; font-size: 9px; }.footer-top a,.footer-top button { width: fit-content; padding: 0; border: 0; color: #8ca199; background: transparent; font-size: 8px; text-decoration: none; cursor: pointer; }.footer-top a:hover,.footer-top button:hover { color: #b7ec70; }.footer-bottom { display: grid; grid-template-columns: 1fr auto 1.3fr; gap: 25px; align-items: center; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.08); color: #718a82; font-size: 7px; }.footer-bottom span:nth-child(2) { display: flex; align-items: center; gap: 4px; }.footer-bottom svg { width: 10px; color: #b7ec70; }.footer-bottom span:last-child { text-align: right; }

/* Authentication */
.auth-view { position: fixed; z-index: 200; inset: 0; display: grid; grid-template-columns: minmax(420px, 1.05fr) minmax(460px, .95fr); min-height: 100vh; overflow-y: auto; color: var(--text); background: var(--surface); }
.auth-story { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: 40px 48px 31px; color: #eef7f3; background: linear-gradient(145deg, #0d2825 0%, #17463d 65%, #21604d 100%); }
.auth-story::before, .auth-story::after { content: ""; position: absolute; border: 1px solid rgba(183,236,112,.11); border-radius: 50%; pointer-events: none; }
.auth-story::before { width: 560px; height: 560px; right: -250px; bottom: -210px; box-shadow: 0 0 0 80px rgba(183,236,112,.035), 0 0 0 160px rgba(183,236,112,.02); }
.auth-story::after { width: 180px; height: 180px; right: 75px; top: 110px; background: rgba(183,236,112,.025); }
.auth-brand, .auth-mobile-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -.7px; }
.auth-brand, .auth-mobile-brand { width: fit-content; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.auth-brand .brand-mark, .auth-mobile-brand .brand-mark { padding: 5px; }
.auth-story-copy { position: relative; z-index: 1; width: min(580px, 100%); margin: auto 0; padding: 65px 0; }
.auth-kicker { display: block; margin-bottom: 16px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.auth-story h1 { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 4vw, 54px); line-height: 1.08; letter-spacing: -2.2px; }
.auth-story-copy > p { max-width: 525px; margin: 19px 0 29px; color: #b3c6c0; font-size: 14px; line-height: 1.65; }
.auth-benefits { display: grid; gap: 11px; max-width: 475px; }
.auth-benefits > div { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.045); backdrop-filter: blur(6px); }
.auth-benefits > div > span { display: grid; place-items: center; flex: 0 0 35px; height: 35px; border-radius: 9px; color: var(--accent); background: rgba(183,236,112,.1); font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.auth-benefits svg { width: 17px; }
.auth-benefits p { margin: 0; }
.auth-benefits strong, .auth-benefits small { display: block; }
.auth-benefits strong { font-size: 11px; }
.auth-benefits small { margin-top: 2px; color: #9eb4ad; font-size: 9px; }
.auth-trust { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.09); color: #93aaa3; font-size: 9px; }
.auth-trust span { display: flex; align-items: center; gap: 5px; }
.auth-trust svg { width: 12px; }
.auth-entry { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px clamp(35px, 6vw, 92px) 24px; background: var(--surface); }
.auth-mobile-brand { display: none; align-self: flex-start; color: var(--nav); }
.auth-panel { width: min(430px, 100%); margin: auto 0; padding: 25px 0; animation: authIn .3s ease both; }
@keyframes authIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.auth-panel-head { margin-bottom: 23px; }
.auth-panel-head .auth-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 15px; border-radius: 11px; color: var(--green); background: var(--green-soft); }
.auth-panel-head .auth-icon svg { width: 19px; }
.auth-panel-head h2 { margin: 0; font-family: var(--font-display); font-size: 25px; letter-spacing: -.8px; }
.auth-panel-head p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.auth-form { display: grid; gap: 14px; }
.auth-form .field > span { font-size: 10px; }
.auth-form .field input { height: 45px; font-size: 11px; }
.password-input { position: relative; }
.password-input input { padding-right: 44px; }
.password-toggle { position: absolute; right: 4px; top: 4px; display: grid; place-items: center; width: 36px; height: 37px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; cursor: pointer; }
.password-toggle:hover { background: var(--surface-2); }
.password-toggle svg { width: 16px; }
.auth-form-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.remember-check { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; cursor: pointer; }
.remember-check input { accent-color: var(--green); }
.auth-link { padding: 0; border: 0; color: var(--green); background: transparent; font-size: 9px; font-weight: 600; cursor: pointer; }
.auth-link:hover { text-decoration: underline; }
.auth-submit { width: 100%; min-height: 44px; margin-top: 2px; }
.auth-submit.loading { pointer-events: none; opacity: .75; }
.auth-submit.loading svg { animation: spin .7s linear infinite; }
.auth-divider { display: flex; align-items: center; gap: 11px; margin: 18px 0; color: var(--soft); font-size: 8px; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.passkey-btn, .demo-btn { width: 100%; min-height: 42px; }
.passkey-btn svg, .demo-btn svg { width: 15px; }
.demo-btn { margin-top: 8px; border-style: dashed; color: var(--green); }
.auth-create { margin: 20px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.auth-error { display: flex; align-items: flex-start; gap: 7px; padding: 9px 10px; border: 1px solid color-mix(in srgb, var(--red) 25%, var(--line)); border-radius: 8px; color: var(--red); background: var(--red-soft); font-size: 8px; }
.auth-error svg { flex: 0 0 13px; }
.auth-demo-note { margin-top: 14px; padding: 10px; border-radius: 8px; color: var(--muted); background: var(--surface-2); font-size: 8px; line-height: 1.55; }
.auth-demo-note strong { color: var(--text); }
.auth-success { text-align: center; }
.auth-success > span { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 15px; border-radius: 50%; color: var(--green); background: var(--green-soft); }
.auth-success > span svg { width: 26px; }
.auth-success h2 { margin: 0; font-family: var(--font-display); font-size: 22px; }
.auth-success p { margin: 8px 0 18px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.password-strength { display: flex; gap: 4px; margin-top: 6px; }
.password-strength i { flex: 1; height: 3px; border-radius: 2px; background: var(--surface-3); }
.password-strength i.active { background: var(--green); }
.auth-entry footer { width: min(430px, 100%); display: flex; align-items: center; gap: 15px; color: var(--soft); font-size: 8px; }
.auth-entry footer button { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.auth-entry footer button:hover { color: var(--text); }
.auth-entry footer span { margin-left: auto; }
.auth-help-card { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; padding: 11px; border-radius: 9px; background: var(--surface-2); }
.auth-help-card > svg { flex: 0 0 17px; color: var(--green); }
.auth-help-card strong, .auth-help-card small { display: block; }
.auth-help-card strong { font-size: 9px; }
.auth-help-card small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.app-shell { display: flex; min-height: 100vh; }

.sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: 248px; display: flex; flex-direction: column; padding: 22px 18px 14px; color: var(--nav-text); background: var(--nav); }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 20px; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.7px; }
.brand-mark { display: flex; align-items: flex-end; gap: 2px; width: 28px; height: 28px; padding: 5px; border-radius: 8px; background: var(--accent); }
.brand-mark span { width: 4px; border-radius: 3px; background: var(--accent-ink); }
.brand-mark span:nth-child(1) { height: 9px; }
.brand-mark span:nth-child(2) { height: 15px; }
.brand-mark span:nth-child(3) { height: 12px; }
.main-nav { display: flex; flex: 1; min-height: 0; flex-direction: column; gap: 4px; overflow-y: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.nav-label { margin: 0 11px 8px; color: var(--nav-muted); font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.nav-label-second { margin-top: 13px; }
.nav-item { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; padding: 7px 12px; border: 0; border-radius: 9px; color: var(--nav-muted); background: transparent; cursor: pointer; text-align: left; transition: .18s ease; }
.nav-item svg { width: 19px; height: 19px; }
.nav-item:hover { color: var(--nav-text); background: rgba(255,255,255,.05); }
.nav-item.active { color: #fff; background: var(--nav-2); box-shadow: inset 3px 0 var(--accent); }
.nav-item.active svg { color: var(--accent); }
.nav-item span:nth-child(2) { flex: 1; }
.nav-count { min-width: 22px; padding: 2px 6px; border-radius: 10px; color: var(--nav); background: var(--accent); font-size: 10px; font-weight: 700; text-align: center; }
.savings-count { min-width: 22px; padding: 2px 6px; border: 1px solid rgba(183,236,112,.3); border-radius: 10px; color: var(--accent); background: rgba(183,236,112,.08); font-size: 9px; font-weight: 700; text-align: center; }
.nav-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(183,236,112,.13); }
.beta-pill { flex: 0 0 auto !important; padding: 2px 6px; border: 1px solid rgba(183,236,112,.35); border-radius: 5px; color: var(--accent); font-size: 9px; font-weight: 700; }
.sidebar-bottom { margin-top: auto; }
.security-note { display: flex; align-items: center; gap: 10px; margin: 0 4px 9px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 11px; background: rgba(255,255,255,.025); }
.security-icon { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 9px; color: var(--accent); background: rgba(183,236,112,.1); }
.security-icon svg { width: 17px; }
.security-note strong, .security-note span { display: block; }
.security-note strong { font-size: 11px; font-weight: 600; }
.security-note span { margin-top: 1px; color: var(--nav-muted); font-size: 9px; }
.profile-card { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; border: 0; border-top: 1px solid rgba(255,255,255,.08); color: var(--nav-text); background: transparent; cursor: pointer; text-align: left; }
.avatar { display: grid; place-items: center; flex: 0 0 35px; height: 35px; border-radius: 50%; color: var(--accent-ink); background: #d9edc3; font-size: 11px; font-weight: 700; }
.profile-copy { flex: 1; min-width: 0; }
.profile-copy strong, .profile-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy strong { font-size: 12px; font-weight: 600; }
.profile-copy small { color: var(--nav-muted); font-size: 9px; margin-top: 1px; }
.profile-card > svg { width: 17px; color: var(--nav-muted); }

.main-area { min-width: 0; flex: 1; margin-left: 248px; }
.topbar { position: sticky; z-index: 30; top: 0; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 34px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(15px); }
.topbar-left { display: flex; align-items: center; min-width: 0; }
.search-trigger { width: 330px; display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid transparent; border-radius: 9px; color: var(--muted); background: transparent; cursor: pointer; text-align: left; transition: .18s ease; }
.search-trigger:hover { border-color: var(--line); background: var(--surface-2); }
.search-trigger svg { flex: 0 0 auto; width: 18px; }
.search-trigger span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
kbd { padding: 3px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; color: var(--soft); background: var(--surface); font-family: inherit; font-size: 10px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.sync-state { display: flex; align-items: center; gap: 7px; margin-right: 10px; color: var(--muted); font-size: 11px; }
.sync-state span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.sync-state.syncing span { border: 2px solid var(--green); border-top-color: transparent; background: transparent; animation: spin .75s linear infinite; box-shadow: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); cursor: pointer; transition: .18s ease; }
.icon-btn:hover { border-color: #c8d2cd; background: var(--surface-2); transform: translateY(-1px); }
.icon-btn svg { width: 18px; }
.notification-dot { position: absolute; top: -4px; right: -3px; display: grid; place-items: center; width: 17px; height: 17px; border: 2px solid var(--surface); border-radius: 50%; color: white; background: var(--red); font-size: 8px; font-weight: 700; }
.primary-btn, .secondary-btn, .ghost-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 15px; border-radius: 9px; font-weight: 600; cursor: pointer; transition: .18s ease; }
.primary-btn { border: 1px solid var(--nav); color: white; background: var(--nav); box-shadow: 0 3px 8px rgba(16,43,40,.12); }
.primary-btn:hover { background: #183b36; transform: translateY(-1px); box-shadow: 0 5px 12px rgba(16,43,40,.18); }
.primary-btn svg { width: 16px; }
.secondary-btn { border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.secondary-btn:hover { border-color: #bdc9c3; background: var(--surface-2); }
.ghost-btn { border: 0; color: var(--muted); background: transparent; }
.ghost-btn:hover { color: var(--text); background: var(--surface-2); }
.mobile-menu { display: none; }

.page-content { width: 100%; max-width: 1540px; margin: 0 auto; padding: 31px 34px 48px; }
.page-enter { animation: pageIn .3s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.page-head h1 { margin: 0; font-family: var(--font-display); font-size: 27px; line-height: 1.25; letter-spacing: -1px; }
.page-head p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.head-actions { display: flex; gap: 8px; }
.eyebrow { display: block; margin-bottom: 6px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }

.inbox-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .75fr); gap: 28px; margin-bottom: 22px; padding: 23px 25px; border-radius: var(--radius); color: #e9f1ee; background: linear-gradient(115deg, #173a35 0%, #102b28 65%, #15352f 100%); box-shadow: var(--shadow-sm); }
.inbox-banner::after { content: ""; position: absolute; width: 260px; height: 260px; right: -95px; top: -130px; border: 45px solid rgba(183,236,112,.08); border-radius: 50%; }
.inbox-copy { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.inbox-big-icon { display: grid; place-items: center; flex: 0 0 49px; height: 49px; border-radius: 13px; color: var(--accent); background: rgba(183,236,112,.11); }
.inbox-copy strong { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.inbox-copy p { margin: 4px 0 0; color: #9fb4ae; font-size: 11px; }
.inbox-address { position: relative; z-index: 1; display: flex; align-items: center; align-self: center; min-width: 0; padding: 7px 7px 7px 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(255,255,255,.06); }
.inbox-address span { flex: 1; overflow: hidden; color: white; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; color: var(--accent); background: rgba(183,236,112,.1); cursor: pointer; }
.copy-btn svg { width: 16px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.metric-card { min-width: 0; padding: 19px 19px 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); }
.metric-action { cursor: pointer; transition: .18s ease; }
.metric-action:hover { border-color: #b7cec2; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16,43,40,.08); }
.metric-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.metric-label { color: var(--muted); font-size: 11px; font-weight: 500; }
.metric-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; }
.metric-icon svg { width: 16px; }
.metric-icon.green { color: var(--green); background: var(--green-soft); }
.metric-icon.amber { color: var(--amber); background: var(--amber-soft); }
.metric-icon.blue { color: var(--blue); background: var(--blue-soft); }
.metric-icon.purple { color: var(--purple); background: var(--purple-soft); }
.metric-value { display: flex; align-items: baseline; gap: 4px; margin-bottom: 7px; font-family: var(--font-display); font-size: 25px; font-weight: 700; letter-spacing: -.7px; }
.metric-value small { color: var(--muted); font-family: var(--font-body); font-size: 10px; font-weight: 500; }
.metric-foot { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; }
.trend { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; }
.trend svg { width: 11px; height: 11px; stroke-width: 2.4; }
.trend.good { color: var(--green); }
.trend.bad { color: var(--red); }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.68fr) minmax(270px, .8fr); gap: 16px; align-items: start; }
.stack { display: grid; gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 13px; }
.card-head h2 { margin: 0; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: -.25px; }
.card-head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.text-button { padding: 5px 0; border: 0; color: var(--green); background: transparent; font-size: 10px; font-weight: 600; cursor: pointer; }
.text-button:hover { text-decoration: underline; }

.spend-chart-wrap { padding: 6px 20px 17px; }
.chart-summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.chart-amount { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.7px; }
.chart-period { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; }
.legend-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.spend-chart { width: 100%; height: 180px; overflow: visible; }
.spend-chart .grid-line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 5; }
.spend-chart .axis-label { fill: var(--soft); stroke: none; font-size: 8px; font-family: var(--font-body); }
.spend-chart .area { fill: url(#areaGradient); stroke: none; }
.spend-chart .line { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.spend-chart .point { fill: var(--surface); stroke: var(--green); stroke-width: 2; }

.upcoming-list { padding: 0 20px 8px; }
.bill-row { display: grid; grid-template-columns: minmax(180px, 1.5fr) .8fr .75fr .65fr 28px; align-items: center; gap: 12px; min-height: 64px; border-top: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.bill-row:hover { margin: 0 -10px; padding: 0 10px; border-radius: 9px; background: var(--surface-2); }
.bill-row:first-child { border-top: 0; }
.vendor-cell { display: flex; align-items: center; gap: 11px; min-width: 0; }
.vendor-logo, .mini-logo { display: grid; place-items: center; flex: 0 0 35px; height: 35px; border-radius: 10px; color: #fff; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: -.3px; }
.vendor-logo.origin, .mini-logo.origin { background: #ee7623; }
.vendor-logo.telstra, .mini-logo.telstra { background: #713cab; }
.vendor-logo.adobe, .mini-logo.adobe { background: #e54848; }
.vendor-logo.agl, .mini-logo.agl { background: #168aa5; }
.vendor-logo.allianz, .mini-logo.allianz { background: #236ab0; }
.vendor-logo.strata, .mini-logo.strata { background: #34765a; }
.vendor-logo.officeworks, .mini-logo.officeworks { background: #1f4b9b; }
.vendor-logo.xero, .mini-logo.xero { background: #1ba8d2; }
.vendor-logo.default, .mini-logo.default { background: #557169; }
.vendor-name { min-width: 0; }
.vendor-name strong, .vendor-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vendor-name strong { font-size: 11px; font-weight: 600; }
.vendor-name small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.bill-amount { font-family: var(--font-display); font-size: 11px; font-weight: 700; }
.bill-date { color: var(--muted); font-size: 10px; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; width: fit-content; padding: 4px 8px; border-radius: 12px; font-size: 8px; font-weight: 700; letter-spacing: .2px; text-transform: uppercase; }
.status-pill.due { color: var(--amber); background: var(--amber-soft); }
.status-pill.upcoming { color: var(--blue); background: var(--blue-soft); }
.status-pill.paid { color: var(--green); background: var(--green-soft); }
.status-pill.overdue { color: var(--red); background: var(--red-soft); }
.status-pill.review { color: var(--purple); background: var(--purple-soft); }
.row-menu { display: grid; place-items: center; width: 27px; height: 27px; padding: 0; border: 0; border-radius: 7px; color: var(--muted); background: transparent; cursor: pointer; }
.row-menu:hover { background: var(--surface-3); }
.row-menu svg { width: 16px; }

.insight-card { overflow: hidden; background: linear-gradient(145deg, var(--surface), var(--green-soft)); }
.insight-body { padding: 2px 20px 19px; }
.insight-badge { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 12px; padding: 5px 8px; border-radius: 7px; color: var(--green); background: var(--green-soft); font-size: 9px; font-weight: 700; }
.insight-badge svg { width: 13px; }
.insight-body h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 16px; line-height: 1.35; letter-spacing: -.4px; }
.insight-body p { margin: 0 0 13px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.insight-saving { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid color-mix(in srgb, var(--line) 75%, transparent); }
.insight-saving span { color: var(--muted); font-size: 9px; }
.insight-saving strong { color: var(--green); font-family: var(--font-display); font-size: 17px; }
.category-list { padding: 0 20px 15px; }
.category-row { margin-bottom: 15px; }
.category-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; font-size: 10px; }
.category-name { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.category-name span { width: 8px; height: 8px; border-radius: 3px; }
.category-meta strong { font-family: var(--font-display); font-size: 10px; }
.progress { height: 5px; overflow: hidden; border-radius: 4px; background: var(--surface-3); }
.progress span { display: block; height: 100%; border-radius: 4px; }
.calendar-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; padding: 0 15px 17px; }
.calendar-day { position: relative; min-width: 0; padding: 8px 2px; border-radius: 8px; text-align: center; }
.calendar-day small, .calendar-day strong { display: block; }
.calendar-day small { color: var(--soft); font-size: 8px; text-transform: uppercase; }
.calendar-day strong { margin-top: 4px; font-size: 10px; }
.calendar-day.today { color: var(--accent-ink); background: var(--accent); }
.calendar-day .event-dot { width: 4px; height: 4px; margin: 5px auto 0; border-radius: 50%; background: var(--red); }
.calendar-day.today .event-dot { background: var(--accent-ink); }

/* Secondary pages */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.tab-group { display: flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.tab-btn { padding: 7px 11px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 600; cursor: pointer; }
.tab-btn.active { color: var(--text); background: var(--surface-3); }
.toolbar-actions { display: flex; gap: 7px; }
.table-card { overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { height: 39px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--soft); background: var(--surface-2); font-size: 9px; font-weight: 700; letter-spacing: .7px; text-align: left; text-transform: uppercase; }
.data-table td { height: 68px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 11px; }
.data-table tbody tr { cursor: pointer; transition: background .15s; }
.data-table tbody tr:hover { background: var(--surface-2); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.checkbox { width: 16px; height: 16px; border: 1px solid var(--line); border-radius: 4px; accent-color: var(--green); }
.amount-cell { font-family: var(--font-display); font-weight: 700; }
.table-foot { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.pagination { display: flex; gap: 4px; }
.pagination button { width: 28px; height: 27px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); cursor: pointer; }
.pagination button.active { border-color: var(--nav); color: white; background: var(--nav); }

.inbox-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .65fr); gap: 16px; }
.email-list { padding: 0 16px 10px; }
.email-item { display: grid; grid-template-columns: 39px 1fr auto; gap: 11px; align-items: center; min-height: 74px; padding: 8px 5px; border-top: 1px solid var(--line); cursor: pointer; }
.email-item:first-child { border-top: 0; }
.email-item:hover { background: var(--surface-2); }
.email-body strong, .email-body span, .email-body small { display: block; }
.email-body strong { font-size: 11px; }
.email-body span { margin: 2px 0; color: var(--muted); font-size: 10px; }
.email-body small { color: var(--soft); font-size: 9px; }
.confidence { display: flex; align-items: center; gap: 5px; color: var(--green); font-size: 9px; font-weight: 600; }
.confidence span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.inbox-setup { padding: 20px; }
.inbox-setup h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 14px; }
.inbox-setup > p { margin: 0 0 17px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.setup-step { display: flex; gap: 10px; margin-bottom: 14px; }
.step-number { display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; color: var(--accent-ink); background: var(--accent); font-size: 9px; font-weight: 700; }
.setup-step strong, .setup-step small { display: block; }
.setup-step strong { font-size: 10px; }
.setup-step small { margin-top: 2px; color: var(--muted); font-size: 9px; }

.analytics-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.analytics-main { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 16px; }
.bar-chart { height: 250px; display: flex; align-items: flex-end; justify-content: space-around; gap: 14px; padding: 25px 25px 12px; border-bottom: 1px solid var(--line); }
.bar-group { height: 100%; display: flex; flex: 1; align-items: flex-end; justify-content: center; gap: 5px; }
.bar { width: 14px; min-height: 3px; border-radius: 5px 5px 0 0; background: var(--green); transition: height .4s ease; }
.bar.previous { background: var(--surface-3); }
.bar-labels { display: flex; justify-content: space-around; padding: 10px 25px 18px; color: var(--muted); font-size: 8px; }
.donut-wrap { display: grid; place-items: center; padding: 20px; }
.donut { position: relative; width: 145px; height: 145px; border-radius: 50%; background: conic-gradient(var(--green) 0 32%, #7297c4 32% 55%, #e79b45 55% 74%, #a281be 74% 90%, #76b2a3 90% 100%); }
.donut::after { content: ""; position: absolute; inset: 25px; border-radius: 50%; background: var(--surface); }
.donut-centre { position: absolute; z-index: 1; text-align: center; }
.donut-centre strong, .donut-centre small { display: block; }
.donut-centre strong { font-family: var(--font-display); font-size: 18px; }
.donut-centre small { color: var(--muted); font-size: 8px; }
.analytics-table { margin-top: 16px; }

/* Save and switch */
.savings-tabs { display: flex; align-items: center; gap: 3px; margin: -8px 0 20px; padding: 4px; overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); scrollbar-width: none; }
.savings-tabs::-webkit-scrollbar { display: none; }
.savings-tabs button { display: flex; flex: 1 0 auto; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 12px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 600; cursor: pointer; }
.savings-tabs button:hover { color: var(--text); background: var(--surface-2); }
.savings-tabs button.active { color: var(--text); background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line); }
.savings-tabs button.active svg { color: var(--green); }
.savings-tabs svg { width: 15px; }
.savings-tabs i { min-width: 17px; padding: 1px 4px; border-radius: 8px; color: var(--accent-ink); background: var(--accent); font-size: 8px; font-style: normal; }
.savings-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr); gap: 35px; align-items: center; margin-bottom: 15px; padding: 28px 30px; border-radius: 18px; color: #eff8f4; background: linear-gradient(118deg, #102b28 0%, #17473d 70%, #22604d 100%); box-shadow: 0 15px 36px rgba(16,43,40,.16); }
.savings-hero::before { content: ""; position: absolute; width: 360px; height: 360px; right: -150px; top: -195px; border: 62px solid rgba(183,236,112,.08); border-radius: 50%; }
.savings-hero-copy, .savings-total { position: relative; z-index: 1; }
.eyebrow.light { color: var(--accent); }
.savings-hero h2 { max-width: 650px; margin: 0 0 8px; font-family: var(--font-display); font-size: 26px; line-height: 1.25; letter-spacing: -.9px; }
.savings-hero p { max-width: 650px; margin: 0; color: #a9bcb7; font-size: 11px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 19px; }
.lime-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 39px; padding: 0 15px; border: 0; border-radius: 9px; color: var(--accent-ink); background: var(--accent); font-weight: 700; cursor: pointer; }
.lime-btn:hover { background: var(--accent-strong); transform: translateY(-1px); }
.lime-btn svg { width: 15px; }
.hero-link { display: inline-flex; align-items: center; gap: 6px; border: 0; color: #d8e7e2; background: transparent; font-size: 10px; cursor: pointer; }
.hero-link svg { width: 14px; }
.scanning svg { animation: spin .65s linear infinite; }
.savings-total { padding: 18px; border: 1px solid rgba(255,255,255,.11); border-radius: 13px; background: rgba(255,255,255,.065); }
.savings-total > span, .savings-total > strong, .savings-total > small { display: block; }
.savings-total > span { color: #b4c5c0; font-size: 9px; }
.savings-total > strong { margin: 3px 0; color: var(--accent); font-family: var(--font-display); font-size: 31px; letter-spacing: -1.2px; }
.savings-total > small { color: #b4c5c0; font-size: 9px; }
.confidence-row { display: flex; align-items: center; gap: 5px; margin-top: 13px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.09); color: #d4e2de; font-size: 8px; }
.confidence-row svg { width: 13px; color: var(--accent); }
.savings-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 25px; }
.goal-card .metric-top > span:last-child { font-family: var(--font-display); font-size: 12px; font-weight: 700; }
.goal-value { display: flex; align-items: baseline; justify-content: space-between; margin: 13px 0 10px; }
.goal-value strong { font-family: var(--font-display); font-size: 22px; }
.goal-value span { color: var(--muted); font-size: 9px; }
.goal-progress span { background: linear-gradient(90deg, var(--green), var(--accent-strong)); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 0 2px 13px; }
.section-heading h2 { margin: 0; font-family: var(--font-display); font-size: 16px; }
.section-heading p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.verified-label { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 9px; font-weight: 600; }
.verified-label svg { width: 13px; }
.opportunity-grid, .comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.offer-card { position: relative; overflow: hidden; padding: 19px; }
.offer-card.recommended { border-color: #bcd7ae; }
.recommend-ribbon { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 0 0 0 9px; color: var(--accent-ink); background: var(--accent); font-size: 8px; font-weight: 700; }
.recommend-ribbon svg { width: 11px; }
.offer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 17px; padding-right: 66px; }
.offer-provider { display: flex; align-items: center; gap: 11px; min-width: 0; }
.offer-brand { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 11px; color: white; background: #47726a; font-family: var(--font-display); font-size: 11px; font-weight: 800; }
.offer-brand.energy { background: #26744e; }
.offer-brand.internet { background: #4765a0; }
.offer-brand.insurance { background: #b57229; }
.offer-brand.software { background: #8557a7; }
.offer-brand.gas { background: #377e88; }
.offer-brand.current { background: #71807b; }
.offer-provider span { display: block; color: var(--muted); font-size: 8px; }
.offer-provider h3 { margin: 2px 0; font-family: var(--font-display); font-size: 13px; }
.offer-provider small { display: flex; align-items: center; gap: 3px; color: var(--muted); font-size: 8px; }
.offer-provider small svg { width: 11px; color: #d3942f; fill: #d3942f; }
.match-score { flex: 0 0 auto; padding: 4px 7px; border-radius: 12px; color: var(--green); background: var(--green-soft); font-size: 8px; font-weight: 700; }
.price-change { display: grid; grid-template-columns: 1fr 28px 1fr; align-items: center; margin-bottom: 12px; padding: 13px; border-radius: 11px; background: var(--surface-2); }
.price-change > div > span, .price-change strong { display: block; }
.price-change > div > span { color: var(--muted); font-size: 8px; }
.price-change strong { margin-top: 3px; font-family: var(--font-display); font-size: 16px; }
.price-change strong small { color: var(--muted); font-family: var(--font-body); font-size: 8px; font-weight: 500; }
.change-arrow { color: var(--soft); }
.change-arrow svg { width: 15px; }
.price-change .new-price { padding-left: 12px; border-left: 1px solid var(--line); }
.price-change .new-price strong { color: var(--green); }
.saving-callout { display: flex; align-items: baseline; gap: 7px; margin-bottom: 13px; color: var(--muted); font-size: 9px; }
.saving-callout strong { color: var(--green); font-family: var(--font-display); font-size: 19px; }
.saving-callout strong small { margin-left: 2px; font-family: var(--font-body); font-size: 8px; }
.saving-callout em { margin-left: auto; padding: 3px 6px; border-radius: 5px; color: var(--amber); background: var(--amber-soft); font-size: 8px; font-style: normal; font-weight: 600; }
.offer-facts { display: flex; flex-wrap: wrap; gap: 7px 13px; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.offer-facts span { display: flex; align-items: center; gap: 4px; }
.offer-facts svg { width: 11px; }
.offer-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 11px 0 13px; }
.offer-features span { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 8px; }
.offer-features svg { flex: 0 0 auto; width: 11px; color: var(--green); stroke-width: 2.5; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.offer-actions button { min-height: 34px; padding-inline: 10px; font-size: 9px; }
.offer-actions button svg { width: 13px; }
.offer-actions .primary-btn { margin-left: auto; }
.select-compare.selected { border-color: var(--green); color: var(--green); background: var(--green-soft); }
.offer-disclaimer { margin: 10px 0 0; color: var(--soft); font-size: 7px; line-height: 1.45; }
.compare-intro { display: grid; grid-template-columns: 1fr auto auto; gap: 25px; align-items: center; margin-bottom: 14px; padding: 20px; }
.compare-intro h2 { margin: 0 0 5px; font-family: var(--font-display); font-size: 16px; }
.compare-intro p { max-width: 680px; margin: 0; color: var(--muted); font-size: 9px; }
.compare-stat { min-width: 90px; padding-left: 20px; border-left: 1px solid var(--line); }
.compare-stat strong, .compare-stat span { display: block; }
.compare-stat strong { font-family: var(--font-display); font-size: 20px; }
.compare-stat span { color: var(--muted); font-size: 8px; }
.comparison-toolbar { margin: 0 0 14px; }
.category-scroll { overflow-x: auto; }
.comparison-address { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; }
.comparison-address svg { width: 13px; }
.compare-dock { position: sticky; z-index: 25; bottom: 14px; display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 12px; border: 1px solid #adcab9; border-radius: 13px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); }
.compare-dock-items { display: flex; flex: 1; gap: 8px; overflow-x: auto; }
.compare-dock-items > span { display: flex; align-items: center; gap: 7px; min-width: max-content; padding: 5px 7px; border-radius: 9px; background: var(--surface-2); }
.compare-dock .offer-brand { flex-basis: 25px; width: 25px; height: 25px; border-radius: 7px; font-size: 7px; }
.compare-dock b { font-size: 9px; }
.compare-dock-items button { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.compare-dock-items svg { width: 11px; }
.autopilot-banner { display: grid; grid-template-columns: 56px 1fr auto; gap: 17px; align-items: center; margin-bottom: 15px; padding: 23px; border-radius: 16px; color: white; background: linear-gradient(115deg, #243a37, #102b28); }
.autopilot-banner.active { background: linear-gradient(115deg, #164636, #102b28); }
.autopilot-orbit { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(183,236,112,.25); border-radius: 50%; color: var(--accent); background: rgba(183,236,112,.08); box-shadow: 0 0 0 7px rgba(183,236,112,.035); }
.autopilot-banner h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 17px; }
.autopilot-banner p { margin: 0; color: #aabcb7; font-size: 9px; }
.autopilot-status { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; color: #c6d4d0; font-size: 8px; }
.autopilot-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.autopilot-banner-meta { display: grid; justify-items: end; gap: 7px; }
.autopilot-banner-meta button { padding: 0; border: 0; color: #c6d4d0; background: transparent; font-size: 8px; text-decoration: underline; cursor: pointer; }
.autopilot-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(270px, .55fr); gap: 15px; align-items: start; }
.control-body { padding: 4px 20px 20px; }
.range-control { display: block; padding: 15px 0 18px; border-bottom: 1px solid var(--line); }
.range-control > span { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.range-control b { font-size: 10px; }
.range-control strong { color: var(--green); font-family: var(--font-display); font-size: 16px; }
.range-control input { width: 100%; accent-color: var(--green); }
.guardrail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 0; }
.preference-block { padding: 15px 0; border-top: 1px solid var(--line); }
.preference-block > strong { display: block; margin-bottom: 10px; font-size: 10px; }
.check-chip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.check-chip-grid label { display: flex; align-items: center; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--surface-2); font-size: 8px; }
.check-chip-grid input { accent-color: var(--green); }
.autopilot-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 17px; border-top: 1px solid var(--line); }
.autopilot-actions > div { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 8px; }
.autopilot-actions svg { width: 13px; color: var(--green); }
.autopilot-explain { padding-bottom: 10px; }
.autopilot-step { position: relative; display: grid; grid-template-columns: 18px 33px 1fr; align-items: center; gap: 8px; padding: 8px 16px; }
.autopilot-step > span { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; color: var(--muted); background: var(--surface-3); font-size: 7px; }
.autopilot-step .automation-icon { width: 31px; height: 31px; border-radius: 8px; }
.autopilot-step .automation-icon svg { width: 14px; }
.autopilot-step strong, .autopilot-step small { display: block; }
.autopilot-step strong { font-size: 9px; }
.autopilot-step small { margin-top: 1px; color: var(--muted); font-size: 8px; }
.safety-card { display: flex; gap: 11px; padding: 15px; }
.safety-card .security-icon { flex-basis: 34px; height: 34px; }
.safety-card strong { font-size: 10px; }
.safety-card p { margin: 3px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.tracker-summary { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; padding: 4px 2px; }
.tracker-summary h2 { margin: 0; font-family: var(--font-display); font-size: 18px; }
.tracker-summary p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.switch-job-list { display: grid; gap: 13px; }
.switch-job { padding: 20px; }
.job-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.job-head h3 { display: flex; align-items: center; gap: 7px; margin: 8px 0 2px; font-family: var(--font-display); font-size: 14px; }
.job-head h3 i { display: inline-flex; color: var(--muted); }
.job-head h3 svg { width: 14px; }
.job-head p { margin: 0; color: var(--muted); font-size: 8px; }
.job-saving { text-align: right; }
.job-saving span, .job-saving strong { display: block; }
.job-saving span { color: var(--muted); font-size: 8px; }
.job-saving strong { color: var(--green); font-family: var(--font-display); font-size: 19px; }
.job-progress { margin: 17px 0; }
.job-progress .progress { height: 7px; }
.job-progress .progress span { background: linear-gradient(90deg, var(--green), var(--accent-strong)); }
.job-progress > div:last-child { display: flex; justify-content: space-between; margin-top: 6px; font-size: 8px; }
.job-progress > div:last-child span { color: var(--muted); }
.job-stages { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin: 18px 0; }
.job-stages::before { content: ""; position: absolute; top: 11px; left: 9%; right: 9%; height: 1px; background: var(--line); }
.job-stages > div { position: relative; z-index: 1; text-align: center; }
.job-stages > div > span { display: grid; place-items: center; width: 23px; height: 23px; margin: 0 auto 5px; border: 1px solid var(--line); border-radius: 50%; color: var(--soft); background: var(--surface); font-size: 8px; }
.job-stages > div.done > span { border-color: var(--green); color: white; background: var(--green); }
.job-stages svg { width: 12px; }
.job-stages small { color: var(--muted); font-size: 7px; }
.job-stages .done small { color: var(--text); }
.job-actions { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.job-actions .connected-badge { margin-left: auto; }
.toolkit-hero { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 14px; padding: 22px; }
.toolkit-hero > div:first-child { display: flex; align-items: center; gap: 17px; }
.feature-count { display: grid; place-items: center; flex: 0 0 66px; height: 66px; border-radius: 18px; color: var(--accent-ink); background: var(--accent); font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.toolkit-hero h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 17px; }
.toolkit-hero p { margin: 0; color: var(--muted); font-size: 9px; }
.toolkit-stats { display: flex; gap: 22px; }
.toolkit-stats span, .toolkit-stats strong { display: block; }
.toolkit-stats span { color: var(--muted); font-size: 8px; }
.toolkit-stats strong { color: var(--text); font-family: var(--font-display); font-size: 17px; }
.feature-toolbar { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.feature-toolbar > span { margin-left: auto; color: var(--muted); font-size: 9px; }
.feature-search { width: 290px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.feature-search svg { width: 14px; color: var(--muted); }
.feature-search input { width: 100%; height: 36px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 9px; }
.feature-toolbar select { height: 38px; padding: 0 30px 0 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--surface); font-size: 9px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.feature-card { width: 100%; display: grid; grid-template-columns: 37px 1fr auto 16px; align-items: center; gap: 10px; padding: 12px; color: var(--text); text-align: left; cursor: pointer; transition: .16s ease; }
.feature-card:hover { border-color: #b8c9c0; transform: translateY(-1px); }
.feature-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: var(--green); background: var(--green-soft); }
.feature-icon svg { width: 16px; }
.feature-copy small, .feature-copy strong, .feature-copy em { display: block; }
.feature-copy small { color: var(--green); font-size: 7px; font-weight: 700; text-transform: uppercase; }
.feature-copy strong { margin: 2px 0; font-size: 10px; }
.feature-copy em { color: var(--muted); font-size: 8px; font-style: normal; }
.feature-state { padding: 3px 6px; border-radius: 8px; color: var(--blue); background: var(--blue-soft); font-size: 7px; font-weight: 700; }
.feature-state.active { color: var(--green); background: var(--green-soft); }
.feature-card > svg { width: 13px; color: var(--soft); }

/* Comparison and switching modals */
.compare-modal { width: min(1100px, 100%); }
.comparison-matrix { display: flex; overflow-x: auto; margin: 0 0 15px; border: 1px solid var(--line); border-radius: 11px; }
.matrix-labels { flex: 0 0 145px; background: var(--surface-2); }
.matrix-plan { flex: 1 0 195px; min-width: 195px; border-left: 1px solid var(--line); }
.matrix-plan.current { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.matrix-labels > span, .matrix-plan > span, .matrix-plan > strong { min-height: 39px; display: flex; align-items: center; padding: 8px 11px; border-top: 1px solid var(--line); font-size: 9px; }
.matrix-labels > span { color: var(--muted); font-size: 8px; font-weight: 600; }
.matrix-provider { min-height: 78px; display: grid; grid-template-columns: 35px 1fr; align-content: center; gap: 0 8px; padding: 9px 11px; }
.matrix-provider .offer-brand { grid-row: 1 / 3; width: 34px; height: 34px; flex-basis: 34px; border-radius: 9px; font-size: 8px; }
.matrix-provider strong { align-self: end; font-size: 10px; }
.matrix-provider small { align-self: start; color: var(--muted); font-size: 7px; }
.matrix-labels::before { content: "Plan details"; min-height: 78px; display: flex; align-items: center; padding: 11px; color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.matrix-plan .saving-text { color: var(--green); }
.comparison-note { display: flex; align-items: flex-start; gap: 8px; padding: 11px; border-radius: 8px; color: var(--muted); background: var(--amber-soft); font-size: 8px; }
.comparison-note svg { flex: 0 0 14px; color: var(--amber); }
.switch-modal { width: min(660px, 100%); }
.switch-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 10px 24px; }
.switch-steps::before { content: ""; position: absolute; top: 12px; left: 12%; right: 12%; height: 1px; background: var(--line); }
.switch-steps > div { position: relative; z-index: 1; text-align: center; }
.switch-steps span { display: grid; place-items: center; width: 25px; height: 25px; margin: 0 auto 5px; border: 1px solid var(--line); border-radius: 50%; color: var(--soft); background: var(--surface); font-size: 8px; }
.switch-steps .active span { border-color: var(--green); color: var(--green); }
.switch-steps .done span { color: white; background: var(--green); }
.switch-steps svg { width: 12px; }
.switch-steps small { color: var(--soft); font-size: 7px; }
.switch-steps .active small { color: var(--text); }
.switch-review { display: grid; grid-template-columns: 1fr 160px; gap: 12px; }
.switch-plan-change, .switch-saving { padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); }
.switch-plan-change { display: grid; grid-template-columns: 1fr 25px 1.15fr; align-items: center; gap: 8px; }
.switch-plan-change > svg { width: 15px; color: var(--muted); }
.switch-plan-change > div:last-child { display: grid; grid-template-columns: 31px 1fr; column-gap: 8px; }
.switch-plan-change .offer-brand { grid-row: 1 / 4; width: 31px; height: 31px; flex-basis: 31px; border-radius: 8px; font-size: 8px; }
.switch-plan-change span, .switch-plan-change strong, .switch-plan-change small { display: block; }
.switch-plan-change span { color: var(--muted); font-size: 7px; }
.switch-plan-change strong { font-size: 10px; }
.switch-plan-change small { color: var(--muted); font-size: 7px; }
.switch-saving { text-align: center; background: var(--green-soft); }
.switch-saving span, .switch-saving strong, .switch-saving small { display: block; }
.switch-saving span { color: var(--muted); font-size: 8px; }
.switch-saving strong { margin: 3px 0; color: var(--green); font-family: var(--font-display); font-size: 22px; }
.switch-saving small { color: var(--muted); font-size: 7px; }
.switch-check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.switch-check-list > div { display: flex; align-items: flex-start; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; }
.switch-check-list > div > span { display: grid; place-items: center; flex: 0 0 27px; height: 27px; border-radius: 7px; color: var(--green); background: var(--green-soft); }
.switch-check-list svg { width: 13px; }
.switch-check-list p { margin: 0; }
.switch-check-list strong, .switch-check-list small { display: block; }
.switch-check-list strong { font-size: 9px; }
.switch-check-list small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.switch-actions { margin-top: 18px; }
.switch-form h3, .authority-panel h3, .switch-success h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 15px; }
.switch-form > p, .authority-panel > p, .switch-success > p { margin: 0 0 14px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.choice-row, .consent-box { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 8px; padding: 11px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.choice-row input, .consent-box input { margin-top: 2px; accent-color: var(--green); }
.choice-row strong, .choice-row small { display: block; }
.choice-row strong { font-size: 9px; }
.choice-row small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.verified-detail { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 11px; border-radius: 9px; background: var(--surface-2); }
.verified-detail > svg { color: var(--green); }
.verified-detail > div { flex: 1; }
.verified-detail span, .verified-detail strong, .verified-detail small { display: block; }
.verified-detail span, .verified-detail small { color: var(--muted); font-size: 7px; }
.verified-detail strong { font-size: 9px; }
.authority-panel { text-align: center; }
.authority-icon, .switch-success > span { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; color: var(--green); background: var(--green-soft); }
.authority-icon svg, .switch-success > span svg { width: 24px; }
.authority-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 14px 0; text-align: left; }
.authority-facts span { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 8px; }
.authority-facts svg { width: 12px; color: var(--green); }
.consent-box { text-align: left; font-size: 8px; line-height: 1.45; }
.switch-success { padding: 10px 20px; text-align: center; }
.switch-success > div { width: fit-content; margin: 15px auto 10px; padding: 8px 20px; border-radius: 8px; background: var(--surface-2); }
.switch-success > div small, .switch-success > div strong { display: block; }
.switch-success > div small { color: var(--muted); font-size: 7px; }
.switch-success > div strong { font-size: 10px; letter-spacing: .5px; }
.switch-success em { color: var(--green); font-size: 8px; font-style: normal; font-weight: 600; }

.vendor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vendor-card { padding: 18px; }
.vendor-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.vendor-card .vendor-logo { width: 42px; flex-basis: 42px; height: 42px; }
.vendor-card h3 { margin: 0; font-family: var(--font-display); font-size: 13px; }
.vendor-card > p { margin: 4px 0 17px; color: var(--muted); font-size: 9px; }
.vendor-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.vendor-stats span, .vendor-stats strong { display: block; }
.vendor-stats span { color: var(--muted); font-size: 8px; }
.vendor-stats strong { margin-top: 3px; font-family: var(--font-display); font-size: 12px; }

.full-calendar { overflow: hidden; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.calendar-toolbar h2 { margin: 0; font-family: var(--font-display); font-size: 16px; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); cursor: pointer; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-grid .weekday { padding: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--soft); background: var(--surface-2); font-size: 8px; font-weight: 700; text-align: center; text-transform: uppercase; }
.calendar-cell { min-height: 105px; padding: 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-cell:nth-child(7n) { border-right: 0; }
.calendar-cell.muted { color: var(--soft); background: var(--surface-2); }
.calendar-cell .date { display: grid; place-items: center; width: 23px; height: 23px; margin-bottom: 6px; border-radius: 50%; font-size: 9px; }
.calendar-cell.today .date { color: var(--accent-ink); background: var(--accent); font-weight: 700; }
.cal-event { overflow: hidden; margin-top: 4px; padding: 5px 6px; border-left: 2px solid var(--green); border-radius: 4px; color: var(--green); background: var(--green-soft); font-size: 8px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.cal-event.amber { border-color: var(--amber); color: var(--amber); background: var(--amber-soft); }
.cal-event.red { border-color: var(--red); color: var(--red); background: var(--red-soft); }

.automation-list { display: grid; gap: 12px; }
.automation-card { display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 15px; padding: 17px 19px; }
.automation-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: var(--green); background: var(--green-soft); }
.automation-icon svg { width: 19px; }
.automation-copy h3 { margin: 0 0 3px; font-family: var(--font-display); font-size: 12px; }
.automation-copy p { margin: 0; color: var(--muted); font-size: 9px; }
.run-count { color: var(--muted); font-size: 9px; text-align: right; }
.run-count strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 12px; }
.switch { position: relative; width: 37px; height: 21px; border: 0; border-radius: 12px; background: var(--surface-3); cursor: pointer; transition: .2s; }
.switch::after { content: ""; position: absolute; width: 15px; height: 15px; top: 3px; left: 3px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .2s; }
.switch.on { background: var(--green); }
.switch.on::after { left: 19px; }
.automation-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding: 22px 24px; color: #e9f1ee; background: linear-gradient(110deg, #102b28, #1d4a42); }
.automation-hero h2 { margin: 0 0 5px; font-family: var(--font-display); font-size: 17px; }
.automation-hero p { margin: 0; color: #9fb4ae; font-size: 10px; }
.automation-hero .primary-btn { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }

.settings-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: start; }
.settings-nav { padding: 8px; }
.settings-nav button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 10px; text-align: left; cursor: pointer; }
.settings-nav button.active { color: var(--text); background: var(--surface-3); font-weight: 600; }
.settings-nav svg { width: 15px; }
.settings-panel { padding: 22px; }
.settings-section + .settings-section { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.settings-section h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 14px; }
.settings-section > p { margin: 0 0 18px; color: var(--muted); font-size: 9px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 53px; border-top: 1px solid var(--line); }
.setting-row:first-of-type { border-top: 0; }
.setting-row strong, .setting-row small { display: block; }
.setting-row strong { font-size: 10px; }
.setting-row small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.connected-badge { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 9px; font-weight: 600; }
.connected-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* Account management */
.account-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 16px; align-items: start; }
.account-nav { position: sticky; top: 92px; padding: 8px; }
.account-nav button { width: 100%; display: grid; grid-template-columns: 18px 1fr 14px; align-items: center; gap: 8px; padding: 10px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 10px; text-align: left; cursor: pointer; }
.account-nav button:hover { color: var(--text); background: var(--surface-2); }
.account-nav button.active { color: var(--text); background: var(--surface-3); font-weight: 600; }
.account-nav button.active svg:first-child { color: var(--green); }
.account-nav svg { width: 15px; }
.account-nav svg:last-child { width: 11px; color: var(--soft); }
.account-panel { padding: 22px; }
.panel-heading, .admin-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.panel-heading h2, .admin-section-head h2 { margin: 0; font-family: var(--font-display); font-size: 15px; }
.panel-heading p, .admin-section-head p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.profile-identity { display: flex; align-items: center; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.account-avatar { display: grid; place-items: center; flex: 0 0 58px; height: 58px; border-radius: 50%; color: var(--accent-ink); background: linear-gradient(135deg, #ddefcb, var(--accent)); font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.profile-identity > div { flex: 1; }
.profile-identity h3 { margin: 0; font-family: var(--font-display); font-size: 14px; }
.profile-identity p { margin: 2px 0 6px; color: var(--muted); font-size: 9px; }
.role-badge { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 4px 7px; border-radius: 10px; color: var(--blue); background: var(--blue-soft); font-size: 8px; font-weight: 700; white-space: nowrap; }
.role-badge svg { width: 10px; }
.role-badge.owner, .role-badge.super-admin { color: var(--green); background: var(--green-soft); }
.role-badge.contributor, .role-badge.support { color: var(--purple); background: var(--purple-soft); }
.role-badge.viewer, .role-badge.member { color: var(--blue); background: var(--blue-soft); }
.role-badge.administrator, .role-badge.analyst { color: var(--amber); background: var(--amber-soft); }
.account-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 20px; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.account-details-grid > div { min-width: 0; padding: 14px; border-bottom: 1px solid var(--line); }
.account-details-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.account-details-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.account-details-grid span, .account-details-grid strong { display: block; }
.account-details-grid span { margin-bottom: 3px; color: var(--muted); font-size: 8px; }
.account-details-grid strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.account-note { display: flex; align-items: center; gap: 7px; margin-top: 17px; padding: 10px 11px; border-radius: 8px; color: var(--muted); background: var(--green-soft); font-size: 8px; }
.account-note svg { flex: 0 0 14px; color: var(--green); }
.security-score { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 10px; color: var(--green); background: var(--green-soft); font-size: 8px; font-weight: 700; }
.security-score svg { width: 12px; }
.security-score-card { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; padding: 16px; border-radius: 11px; color: #eaf4f0; background: linear-gradient(115deg, var(--nav), #1c4a41); }
.security-ring { display: flex; align-items: baseline; justify-content: center; flex: 0 0 58px; height: 58px; padding-top: 15px; border: 4px solid var(--accent); border-radius: 50%; }
.security-ring strong { font-family: var(--font-display); font-size: 16px; }
.security-ring small { color: #aac0b9; font-size: 7px; }
.security-score-card > div:last-child { flex: 1; }
.security-score-card h3 { margin: 0; font-family: var(--font-display); font-size: 12px; }
.security-score-card p { margin: 3px 0 9px; color: #a9bbb6; font-size: 8px; }
.security-score-card .progress { background: rgba(255,255,255,.12); }
.account-setting-row { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 11px; min-height: 66px; border-top: 1px solid var(--line); }
.account-setting-icon, .device-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--green); background: var(--green-soft); }
.account-setting-icon svg, .device-icon svg { width: 15px; }
.account-setting-row strong, .account-setting-row small { display: block; }
.account-setting-row strong { font-size: 10px; }
.account-setting-row small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.permission-guide { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.permission-guide > span { display: flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 7px; color: var(--muted); background: var(--surface-2); font-size: 8px; }
.permission-guide svg { width: 12px; color: var(--green); }
.member-row { display: grid; grid-template-columns: 38px minmax(150px, 1fr) auto auto 28px; align-items: center; gap: 10px; min-height: 65px; border-top: 1px solid var(--line); }
.member-row:first-child { border-top: 0; }
.member-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--accent-ink); background: #daebcf; font-size: 9px; font-weight: 700; }
.member-info strong, .member-info small { display: block; }
.member-info strong { font-size: 10px; }
.member-info strong em { padding: 2px 4px; border-radius: 5px; color: var(--green); background: var(--green-soft); font-size: 7px; font-style: normal; }
.member-info small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.account-status { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 8px; white-space: nowrap; }
.account-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--soft); }
.account-status.active i { background: var(--green); }
.account-status.invited i { background: var(--blue); }
.account-status.suspended i { background: var(--red); }
.row-spacer { width: 28px; }
.session-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px; min-height: 68px; border-top: 1px solid var(--line); }
.session-row:first-child { border-top: 0; }
.session-row strong, .session-row small { display: block; }
.session-row strong { font-size: 10px; }
.session-row strong em { color: var(--green); font-size: 8px; font-style: normal; }
.session-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.plan-card { overflow: hidden; color: #edf7f3; background: linear-gradient(120deg, #102b28, #215247); }
.plan-header { display: flex; justify-content: space-between; gap: 25px; }
.plan-header h2 { margin: 0; font-family: var(--font-display); font-size: 21px; }
.plan-header p { margin: 4px 0 0; color: #abc0ba; font-size: 9px; }
.plan-price { text-align: right; }
.plan-price strong { color: var(--accent); font-family: var(--font-display); font-size: 28px; }
.plan-price > span { color: #c4d3cf; font-size: 9px; }
.plan-price small { display: block; color: #9eb4ae; font-size: 7px; }
.plan-actions { display: flex; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.plan-actions .secondary-btn { border-color: rgba(255,255,255,.15); color: white; background: rgba(255,255,255,.06); }
.plan-actions .text-button { margin-left: auto; color: var(--accent); }
.usage-row { margin: 17px 0; }
.usage-row > div:first-child { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 9px; }
.usage-row span { color: var(--muted); }
.privacy-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; }
.privacy-actions strong, .privacy-actions small { display: block; }
.privacy-actions strong { font-size: 10px; }
.privacy-actions small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.danger-zone { border-color: color-mix(in srgb, var(--red) 25%, var(--line)); background: var(--red-soft); }
.danger-button { color: var(--red); }

/* Administration */
.admin-access-badge { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border-radius: 9px; color: var(--accent-ink); background: var(--accent); font-size: 9px; font-weight: 700; }
.admin-access-badge svg { width: 13px; }
.admin-guard { display: flex; align-items: center; gap: 8px; margin: -7px 0 14px; padding: 9px 12px; border: 1px solid #d6c694; border-radius: 9px; color: #6e5a1c; background: #fff9df; font-size: 8px; }
body.dark .admin-guard { color: #e5cc7b; background: #332d19; }
.admin-guard svg { width: 13px; }
.admin-guard span { flex: 1; }
.admin-guard small { color: inherit; }
.admin-tabs { display: flex; gap: 3px; margin-bottom: 15px; padding: 4px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); scrollbar-width: none; }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs button { display: flex; flex: 1 0 auto; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font-size: 9px; cursor: pointer; }
.admin-tabs button.active { color: var(--text); background: var(--surface-3); font-weight: 600; }
.admin-tabs button.active svg { color: var(--green); }
.admin-tabs svg { width: 14px; }
.admin-tabs i { padding: 1px 5px; border-radius: 7px; color: var(--accent-ink); background: var(--accent); font-size: 7px; font-style: normal; }
.admin-metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.admin-overview-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr); gap: 14px; margin-bottom: 14px; }
.admin-bars { height: 205px; display: flex; align-items: flex-end; gap: 14px; padding: 22px 22px 12px; }
.admin-bars > div { position: relative; height: 100%; display: flex; flex: 1; align-items: flex-end; justify-content: center; gap: 4px; border-bottom: 1px solid var(--line); }
.admin-bars span, .admin-bars i { width: 12px; border-radius: 4px 4px 0 0; background: var(--green); }
.admin-bars i { background: var(--blue); }
.admin-bars small { position: absolute; bottom: -16px; color: var(--muted); font-size: 7px; }
.admin-chart-legend { display: flex; gap: 14px; padding: 15px 22px 18px; color: var(--muted); font-size: 8px; }
.admin-chart-legend span { display: flex; align-items: center; gap: 5px; }
.admin-chart-legend i { width: 7px; height: 7px; border-radius: 2px; background: var(--green); }
.admin-chart-legend span:last-child i { background: var(--blue); }
.admin-health { padding-bottom: 8px; }
.admin-health > div:not(.card-head) { display: grid; grid-template-columns: 12px 1fr auto auto; align-items: center; gap: 6px; padding: 10px 18px; border-top: 1px solid var(--line); }
.admin-health strong { font-size: 9px; }
.admin-health small { color: var(--muted); font-size: 8px; }
.admin-health em { color: var(--green); font-size: 8px; font-style: normal; }
.health-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.health-dot.warning { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.admin-section { overflow: hidden; }
.admin-section-head { margin: 0; padding: 19px 20px; border-bottom: 1px solid var(--line); }
.admin-toolbar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mini-search { min-width: 235px; display: flex; align-items: center; gap: 6px; margin-left: auto; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.mini-search svg { width: 13px; color: var(--muted); }
.mini-search input { width: 100%; height: 32px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 9px; }
.admin-toolbar select { height: 33px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--surface); font-size: 9px; }
.admin-table-wrap { overflow-x: auto; }
.admin-user-table { min-width: 900px; }
.admin-user-table tbody tr, .audit-table tbody tr { cursor: default; }
.audit-type { padding: 4px 7px; border-radius: 8px; color: var(--blue); background: var(--blue-soft); font-size: 7px; font-weight: 700; }
.audit-type.security { color: var(--red); background: var(--red-soft); }
.audit-type.access { color: var(--purple); background: var(--purple-soft); }
.audit-type.change { color: var(--amber); background: var(--amber-soft); }
.admin-mini-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.admin-mini-metrics > div { padding: 16px 19px; border-right: 1px solid var(--line); }
.admin-mini-metrics > div:last-child { border-right: 0; }
.admin-mini-metrics span, .admin-mini-metrics strong, .admin-mini-metrics small { display: block; }
.admin-mini-metrics span { color: var(--muted); font-size: 8px; }
.admin-mini-metrics strong { margin: 3px 0; font-family: var(--font-display); font-size: 17px; }
.admin-mini-metrics small { color: var(--green); font-size: 7px; }
.provider-policy { display: flex; align-items: center; gap: 11px; margin: 15px; padding: 12px; border: 1px solid #bcd7ae; border-radius: 9px; background: var(--green-soft); }
.provider-policy > svg { flex: 0 0 19px; color: var(--green); }
.provider-policy > div { flex: 1; }
.provider-policy strong { font-size: 9px; }
.provider-policy p { margin: 2px 0 0; color: var(--muted); font-size: 8px; }
.provider-admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 15px 15px; }
.provider-admin-card { padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.provider-admin-card > div:first-child, .provider-admin-card > div:last-child { display: flex; align-items: center; justify-content: space-between; }
.provider-admin-card .offer-brand { width: 35px; height: 35px; flex-basis: 35px; border-radius: 9px; font-size: 8px; }
.provider-admin-card h3 { margin: 11px 0 1px; font-family: var(--font-display); font-size: 11px; }
.provider-admin-card > p { margin: 0; color: var(--muted); font-size: 8px; }
.provider-admin-card dl { margin: 11px 0; padding: 9px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.provider-admin-card dl div { display: flex; justify-content: space-between; gap: 10px; margin: 5px 0; font-size: 7px; }
.provider-admin-card dt { color: var(--muted); }
.provider-admin-card dd { margin: 0; font-weight: 600; text-align: right; }
.flag-warning, .audit-retention { display: flex; align-items: center; gap: 7px; margin: 13px 15px; padding: 9px 10px; border-radius: 8px; color: var(--amber); background: var(--amber-soft); font-size: 8px; }
.flag-warning svg, .audit-retention svg { width: 13px; }
.flag-list { padding: 0 17px 10px; }
.flag-row { display: grid; grid-template-columns: 37px 1fr auto auto auto; align-items: center; gap: 11px; min-height: 72px; border-top: 1px solid var(--line); }
.flag-row:first-child { border-top: 0; }
.flag-row strong, .flag-row small { display: block; }
.flag-row strong { font-size: 10px; }
.flag-row small { margin: 2px 0; color: var(--muted); font-size: 8px; }
.flag-row code { color: var(--soft); font-size: 7px; }
.flag-audience { color: var(--muted); font-size: 8px; }
.system-hero { display: flex; align-items: center; gap: 14px; padding: 21px; border-radius: 15px; color: white; background: linear-gradient(110deg, #174638, #102b28); }
.system-check { display: grid; place-items: center; flex: 0 0 49px; height: 49px; border-radius: 50%; color: var(--accent-ink); background: var(--accent); }
.system-hero > div { flex: 1; }
.system-hero h2 { margin: 0; font-family: var(--font-display); font-size: 16px; }
.system-hero p { margin: 3px 0 0; color: #abc0ba; font-size: 8px; }
.system-hero > strong { color: var(--accent); font-family: var(--font-display); font-size: 23px; text-align: right; }
.system-hero > strong small { display: block; color: #abc0ba; font-family: var(--font-body); font-size: 7px; }
.component-list { padding: 0 18px 10px; }
.component-list > div { display: grid; grid-template-columns: 12px minmax(160px,1fr) .5fr .4fr auto; align-items: center; gap: 10px; min-height: 51px; border-top: 1px solid var(--line); font-size: 8px; }
.component-list strong { font-size: 9px; }
.component-list span:not(.health-dot) { color: var(--muted); }
.component-list em { color: var(--green); font-style: normal; }
.security-admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 15px; }
.security-admin-grid > div { padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }
.security-admin-grid span, .security-admin-grid strong, .security-admin-grid small { display: block; }
.security-admin-grid span { color: var(--muted); font-size: 8px; }
.security-admin-grid strong { margin: 3px 0; font-family: var(--font-display); font-size: 15px; }
.security-admin-grid small { color: var(--green); font-size: 7px; }

/* Management modal */
.management-modal { width: min(630px, 100%); }
.permission-summary { display: flex; gap: 9px; padding: 12px; border-radius: 9px; background: var(--surface-2); }
.permission-summary > svg { flex: 0 0 17px; color: var(--green); }
.permission-summary strong { font-size: 9px; }
.permission-summary p { margin: 3px 0 0; color: var(--muted); font-size: 8px; }
.admin-user-modal-summary { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 9px; background: var(--surface-2); }
.admin-user-modal-summary > div { flex: 1; }
.admin-user-modal-summary strong, .admin-user-modal-summary small { display: block; }
.admin-user-modal-summary strong { font-size: 10px; }
.admin-user-modal-summary small { color: var(--muted); font-size: 8px; }
.generic-management, .destructive-confirm { padding: 8px 5px; text-align: center; }
.generic-management > span, .destructive-confirm > span { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 10px; border-radius: 50%; color: var(--green); background: var(--green-soft); }
.destructive-confirm > span { color: var(--red); background: var(--red-soft); }
.generic-management h3, .destructive-confirm h3 { margin: 0; font-family: var(--font-display); font-size: 14px; }
.generic-management p, .destructive-confirm p { max-width: 450px; margin: 5px auto 16px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.destructive-confirm .field { max-width: 300px; margin: 0 auto 15px; text-align: left; }
.danger-primary { border-color: var(--red); background: var(--red); }

/* Popovers, modal and drawer */
.popover { position: fixed; z-index: 70; display: none; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-lg); }
.popover.open { display: block; animation: popIn .16s ease both; }
@keyframes popIn { from { opacity: 0; transform: translateY(-5px) scale(.98); } to { opacity: 1; transform: none; } }
.notification-popover { width: 340px; top: 62px; right: 83px; padding: 7px 13px 8px; }
.popover-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 4px 11px; }
.popover-head strong { font-family: var(--font-display); font-size: 12px; }
.notification-item { display: flex; gap: 10px; padding: 11px 4px; border-top: 1px solid var(--line); }
.notification-item .mini-logo { flex-basis: 30px; height: 30px; border-radius: 8px; font-size: 9px; }
.notification-item strong, .notification-item small { display: block; }
.notification-item strong { font-size: 10px; }
.notification-item small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.notification-item.unread { position: relative; }
.notification-item.unread::after { content: ""; position: absolute; right: 3px; top: 15px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.profile-popover { width: 205px; left: 25px; bottom: 73px; padding: 7px; }
.profile-popover button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 9px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font-size: 10px; text-align: left; cursor: pointer; }
.profile-popover button:hover { color: var(--text); background: var(--surface-2); }
.profile-popover button svg { width: 15px; }
.profile-popover hr { height: 1px; margin: 5px 0; border: 0; background: var(--line); }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(7, 21, 19, .58); backdrop-filter: blur(3px); }
.modal-backdrop.open { display: flex; animation: fadeIn .18s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal { width: min(600px, 100%); max-height: calc(100vh - 35px); overflow-y: auto; padding: 24px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); animation: modalIn .22s ease both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.modal-head h2 { margin: 0; font-family: var(--font-display); font-size: 21px; letter-spacing: -.6px; }
.modal-head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.upload-zone { display: flex; align-items: center; gap: 13px; padding: 14px; border: 1px dashed #b8c6bf; border-radius: 11px; background: var(--surface-2); transition: .2s; }
.upload-zone.dragging { border-color: var(--green); background: var(--green-soft); }
.upload-icon { display: grid; place-items: center; flex: 0 0 39px; height: 39px; border-radius: 10px; color: var(--green); background: var(--green-soft); }
.upload-zone > div:nth-child(2) { flex: 1; }
.upload-zone strong, .upload-zone span { display: block; }
.upload-zone strong { font-size: 10px; }
.upload-zone span { margin-top: 2px; color: var(--muted); font-size: 8px; }
.upload-zone .secondary-btn { min-height: 32px; font-size: 9px; }
.divider-text { display: flex; align-items: center; gap: 12px; margin: 17px 0; color: var(--soft); font-size: 8px; text-transform: uppercase; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; }
.field.full, .form-actions.full { grid-column: 1 / -1; }
.field > span { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 9px; font-weight: 600; }
.field > span small { color: var(--soft); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: var(--text); background: var(--surface); transition: .18s; }
.field input, .field select { height: 38px; padding: 0 11px; }
.field textarea { padding: 10px 11px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green-soft) 80%, transparent); }
.input-prefix { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.input-prefix:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green-soft) 80%, transparent); }
.input-prefix b { padding-left: 11px; color: var(--muted); font-weight: 500; }
.input-prefix input { border: 0; box-shadow: none !important; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 3px; }

.search-modal { width: min(600px, 100%); align-self: flex-start; margin-top: 8vh; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-lg); animation: modalIn .18s ease both; }
.search-modal-input { display: flex; align-items: center; gap: 10px; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.search-modal-input svg { color: var(--muted); }
.search-modal-input input { flex: 1; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 13px; }
.search-results { max-height: 410px; overflow-y: auto; padding: 9px; }
.search-section-label { padding: 7px 8px; color: var(--soft); font-size: 8px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.search-result { width: 100%; display: flex; align-items: center; gap: 11px; padding: 9px; border: 0; border-radius: 8px; color: var(--text); background: transparent; text-align: left; cursor: pointer; }
.search-result:hover { background: var(--surface-2); }
.search-result .vendor-logo { flex-basis: 31px; height: 31px; border-radius: 8px; }
.search-result div:nth-child(2) { flex: 1; }
.search-result strong, .search-result small { display: block; }
.search-result strong { font-size: 10px; }
.search-result small { color: var(--muted); font-size: 8px; }
.search-result > span { font-family: var(--font-display); font-size: 10px; font-weight: 700; }
.empty-search { padding: 35px; color: var(--muted); font-size: 10px; text-align: center; }

.drawer-backdrop { position: fixed; z-index: 79; inset: 0; display: none; background: rgba(8, 20, 18, .25); }
.drawer-backdrop.open { display: block; }
.bill-drawer { position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(450px, 100%); overflow-y: auto; border-left: 1px solid var(--line); background: var(--surface); box-shadow: -18px 0 45px rgba(16,43,40,.15); transform: translateX(105%); transition: transform .27s ease; }
.bill-drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-title { display: flex; align-items: center; gap: 12px; }
.drawer-title h2, .drawer-title p { margin: 0; }
.drawer-title h2 { font-family: var(--font-display); font-size: 15px; }
.drawer-title p { color: var(--muted); font-size: 9px; }
.drawer-actions-top { display: flex; gap: 7px; }
.drawer-body { padding: 22px; }
.amount-hero { padding: 20px; border-radius: 13px; background: var(--surface-2); text-align: center; }
.amount-hero span { color: var(--muted); font-size: 9px; }
.amount-hero h3 { margin: 5px 0 10px; font-family: var(--font-display); font-size: 29px; letter-spacing: -1px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 19px; border: 1px solid var(--line); border-radius: 11px; }
.detail-item { padding: 13px; border-bottom: 1px solid var(--line); }
.detail-item:nth-child(odd) { border-right: 1px solid var(--line); }
.detail-item:nth-last-child(-n+2) { border-bottom: 0; }
.detail-item span, .detail-item strong { display: block; }
.detail-item span { margin-bottom: 3px; color: var(--muted); font-size: 8px; }
.detail-item strong { font-size: 10px; }
.ai-extraction { margin-top: 17px; padding: 15px; border: 1px solid #c8dfbb; border-radius: 11px; background: var(--green-soft); }
.ai-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ai-head strong { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 10px; }
.ai-head svg { width: 14px; }
.ai-head span { color: var(--green); font-size: 8px; font-weight: 700; }
.ai-extraction p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.document-preview { position: relative; overflow: hidden; height: 140px; margin-top: 17px; border: 1px solid var(--line); border-radius: 11px; background: #e9ecea; }
.paper { position: absolute; width: 210px; height: 260px; top: 15px; left: 50%; padding: 18px; border-radius: 3px; color: #37443f; background: white; box-shadow: 0 3px 14px rgba(0,0,0,.14); transform: translateX(-50%) rotate(-2deg); }
.paper-logo { width: 55px; height: 10px; margin-bottom: 20px; border-radius: 3px; background: #ee7623; }
.paper-line { height: 4px; margin-bottom: 7px; border-radius: 3px; background: #d8ddda; }
.paper-line.short { width: 45%; }
.drawer-bottom { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 16px 22px; border-top: 1px solid var(--line); background: var(--surface); }
.drawer-bottom .primary-btn { flex: 1; }

.toast-stack { position: fixed; z-index: 150; right: 22px; bottom: 22px; display: grid; gap: 8px; }
.toast { min-width: 280px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); box-shadow: var(--shadow-lg); animation: toastIn .25s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.toast.out { animation: toastOut .2s ease forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateY(7px); } }
.toast-icon { display: grid; place-items: center; flex: 0 0 29px; height: 29px; border-radius: 50%; color: var(--green); background: var(--green-soft); }
.toast-icon svg { width: 15px; }
.toast strong, .toast small { display: block; }
.toast strong { font-size: 10px; }
.toast small { margin-top: 2px; color: var(--muted); font-size: 8px; }

.sidebar-scrim { display: none; }
.empty-state { padding: 50px 20px; color: var(--muted); text-align: center; }
.empty-state svg { width: 30px; height: 30px; margin-bottom: 8px; color: var(--soft); }
.empty-state h3 { margin: 0 0 5px; color: var(--text); font-family: var(--font-display); font-size: 13px; }
.empty-state p { margin: 0; font-size: 9px; }

@media (max-width: 1180px) {
	.landing-header { padding-inline: 24px; }
	.landing-hero { grid-template-columns: minmax(0,.85fr) minmax(470px,1.15fr); gap: 25px; }
	.floating-bill { right: -12px; }
	.savings-marketing-grid { gap: 50px; }
	.metric-grid { grid-template-columns: repeat(2, 1fr); }
	.savings-summary-grid { grid-template-columns: repeat(3, 1fr); }
	.vendor-grid { grid-template-columns: repeat(2, 1fr); }
	.admin-metric-grid { grid-template-columns: repeat(2, 1fr); }
	.provider-admin-grid { grid-template-columns: repeat(2, 1fr); }
	.inbox-banner { grid-template-columns: 1fr; gap: 16px; }
	.inbox-address { max-width: 420px; }
	.bill-row { grid-template-columns: minmax(180px, 1.5fr) .7fr .7fr 25px; }
	.bill-row .status-pill { display: none; }
}

@media (max-width: 900px) {
	.landing-header { grid-template-columns: 1fr auto; }
	.landing-nav { position: absolute; display: none; top: 68px; left: 16px; right: 16px; align-items: stretch; flex-direction: column; gap: 0; padding: 9px; border: 1px solid #dce5e0; border-radius: 12px; background: white; box-shadow: 0 18px 40px rgba(16,43,40,.15); }
	.landing-header.menu-open .landing-nav { display: flex; }
	.landing-nav a { padding: 11px; border-radius: 7px; }
	.landing-nav a:hover { background: #f2f6f4; }
	.landing-nav a::after { display: none; }
	.landing-menu-btn { display: grid; }
	.landing-actions .landing-login, .landing-actions .landing-cta { display: none; }
	.landing-hero { grid-template-columns: 1fr; padding-top: 135px; text-align: center; }
	.landing-hero-copy > p { margin-inline: auto; }
	.landing-hero-actions,.landing-proof { justify-content: center; }
	.hero-product { width: min(650px,100%); margin-inline: auto; }
	.landing-trust-strip .landing-container { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 20px; }
	.landing-trust-strip p { margin: 0; }
	.landing-trust-strip div > div { justify-content: flex-start; }
	.landing-feature.feature-large { grid-template-columns: 1fr; }
	.savings-marketing-grid { grid-template-columns: 1fr; }
	.savings-marketing-copy { max-width: 600px; }
	.comparison-showcase { max-width: 650px; transform: none; }
	.tour-window { grid-template-columns: 125px 1fr; }
	.security-marketing-card { grid-template-columns: 1fr; gap: 35px; padding: 45px; }
	.auth-view { grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.2fr); }
	.auth-story { padding: 30px; }
	.auth-story h1 { font-size: 36px; }
	.auth-benefits > div:nth-child(n+2) { display: none; }
	.sidebar { transform: translateX(-100%); transition: transform .25s ease; }
	.sidebar.open { transform: none; }
	.sidebar-scrim { position: fixed; z-index: 35; inset: 0; background: rgba(5,18,16,.45); }
	.sidebar-scrim.open { display: block; }
	.main-area { margin-left: 0; }
	.mobile-menu { display: grid; margin-right: 8px; }
	.dashboard-grid, .inbox-layout, .analytics-main { grid-template-columns: 1fr; }
	.autopilot-layout { grid-template-columns: 1fr; }
	.savings-hero { grid-template-columns: 1fr; gap: 18px; }
	.savings-total { max-width: 360px; }
	.opportunity-grid, .comparison-grid { grid-template-columns: 1fr; }
	.settings-layout { grid-template-columns: 1fr; }
	.account-layout { grid-template-columns: 1fr; }
	.account-nav { position: static; display: flex; overflow-x: auto; }
	.account-nav button { flex: 0 0 auto; width: auto; grid-template-columns: 16px auto; }
	.account-nav button svg:last-child { display: none; }
	.admin-overview-grid { grid-template-columns: 1fr; }
	.settings-nav { display: flex; overflow-x: auto; }
	.settings-nav button { flex: 0 0 auto; width: auto; }
	.profile-popover { left: 18px; }
}

@media (max-width: 680px) {
	.landing-container { width: min(100% - 32px,1180px); }
	.landing-header { height: 66px; padding-inline: 16px; }
	.landing-brand { font-size: 20px; }
	.landing-hero { min-height: auto; padding-top: 112px; padding-bottom: 65px; gap: 48px; }
	.landing-pill { font-size: 8px; }
	.landing-hero h1 { font-size: 42px; letter-spacing: -2.1px; }
	.landing-hero-copy > p { font-size: 12px; }
	.landing-hero-actions { align-items: stretch; flex-direction: column; }
	.landing-primary,.landing-secondary { width: 100%; }
	.landing-proof { gap: 8px 14px; }
	.hero-product { margin-inline: -5px; width: calc(100% + 10px); }
	.hero-window { transform: none; }
	.hero-window-body { padding: 11px; }
	.preview-metrics { grid-template-columns: repeat(2,1fr); }
	.preview-metrics > div:nth-child(3) { display: none; }
	.preview-content { grid-template-columns: 1fr; }
	.preview-saving { display: none; }
	.preview-chart > svg { height: 85px; }
	.floating-bill { right: -3px; bottom: 18px; }
	.landing-trust-strip div > div { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
	.landing-section { padding-top: 76px; padding-bottom: 76px; }
	.landing-section-head { margin-bottom: 27px; }
	.landing-section-head h2,.product-tour-head h2 { font-size: 33px; }
	.landing-feature-grid { grid-template-columns: 1fr; }
	.landing-feature.feature-large { grid-column: auto; min-height: 0; padding: 24px; }
	.landing-feature { min-height: 310px; padding: 23px; }
	.inbox-demo { transform: none; }
	.feature-notice,.feature-insight,.mini-bars { left: 23px; right: 23px; }
	.savings-marketing { padding: 75px 0; }
	.savings-marketing-copy h2 { font-size: 38px; }
	.comparison-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
	.comparison-save { flex-wrap: wrap; }
	.comparison-save em { width: 100%; margin-left: 0; }
	.comparison-facts { flex-wrap: wrap; }
	.landing-steps { grid-template-columns: 1fr; gap: 38px; }
	.landing-steps::before { display: none; }
	.step-visual { max-width: 370px; margin-inline: auto; }
	.product-tour { padding-bottom: 75px; }
	.product-tour-head { align-items: flex-start; flex-direction: column; }
	.product-tour-head .landing-secondary { width: auto; }
	.tour-window { grid-template-columns: 1fr; height: auto; }
	.tour-sidebar { display: none; }
	.tour-content { padding: 17px; }
	.tour-cards { grid-template-columns: repeat(2,1fr); }
	.tour-cards > div:nth-child(2) { display: none; }
	.tour-lower { grid-template-columns: 1fr; }
	.tour-list { display: none; }
	.tour-chart svg { height: 130px; }
	.security-marketing-card { padding: 31px 23px; }
	.security-feature-grid { grid-template-columns: 1fr; }
	.customer-proof { padding: 75px 0; }
	.customer-proof blockquote { font-size: 24px; }
	.quote-person { flex-wrap: wrap; }
	.quote-person em { width: 100%; justify-content: center; margin-left: 0; }
	.proof-stats { grid-template-columns: 1fr 1fr; gap: 22px 0; }
	.proof-stats > span:nth-child(2) { border-right: 0; }
	.landing-final { padding-block: 75px; }
	.landing-final > div { padding: 48px 22px; }
	.landing-final > div > div { align-items: stretch; flex-direction: column; }
	.footer-top { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
	.footer-top > div:first-child { grid-column: 1 / -1; }
	.footer-bottom { grid-template-columns: 1fr; }
	.footer-bottom span:last-child { text-align: left; }
	.auth-view { display: block; background: var(--surface); }
	.auth-story { display: none; }
	.auth-entry { min-height: 100dvh; justify-content: flex-start; padding: 24px 21px 20px; }
	.auth-mobile-brand { display: flex; margin-bottom: 27px; }
	.auth-panel { margin: auto 0; padding: 10px 0 30px; }
	.auth-panel-head h2 { font-size: 23px; }
	.auth-entry footer { flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
	.auth-entry footer span { width: 100%; margin-left: 0; }
	.topbar { height: 64px; padding: 0 16px; }
	.page-content { padding: 22px 16px 38px; }
	.search-trigger { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); background: var(--surface); }
	.search-trigger span, .search-trigger kbd, .sync-state, #themeToggle { display: none; }
	.topbar-actions .primary-btn { width: 38px; padding: 0; font-size: 0; }
	.topbar-actions .primary-btn svg { margin: 0; }
	.page-head { align-items: flex-start; }
	.page-head h1 { font-size: 23px; }
	.page-head .head-actions { display: none; }
	.metric-grid, .analytics-kpis, .vendor-grid, .savings-summary-grid { grid-template-columns: 1fr; }
	.admin-metric-grid, .provider-admin-grid, .security-admin-grid { grid-template-columns: 1fr; }
	.account-panel { padding: 16px; }
	.panel-heading, .admin-section-head { align-items: flex-start; flex-direction: column; }
	.panel-heading .primary-btn, .panel-heading .secondary-btn, .admin-section-head .primary-btn { width: 100%; }
	.profile-identity { align-items: flex-start; flex-wrap: wrap; }
	.profile-identity .text-button { margin-left: 72px; }
	.account-details-grid { grid-template-columns: 1fr; }
	.account-details-grid > div:nth-child(odd) { border-right: 0; }
	.account-details-grid > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
	.account-setting-row { grid-template-columns: 35px 1fr auto; }
	.member-row { grid-template-columns: 37px 1fr 28px; padding: 10px 0; }
	.member-row .role-badge, .member-row .account-status { grid-column: 2; width: fit-content; }
	.member-row .row-menu, .member-row .row-spacer { grid-column: 3; grid-row: 1; }
	.session-row { grid-template-columns: 38px 1fr; padding: 10px 0; }
	.session-row > button, .session-row > .connected-badge { grid-column: 2; width: fit-content; }
	.plan-header, .plan-actions, .privacy-actions { align-items: flex-start; flex-direction: column; }
	.plan-price { text-align: left; }
	.plan-actions .text-button { margin-left: 0; }
	.admin-guard { align-items: flex-start; }
	.admin-guard small { display: none; }
	.admin-tabs button span { white-space: nowrap; }
	.admin-mini-metrics { grid-template-columns: repeat(2, 1fr); }
	.admin-mini-metrics > div:nth-child(2) { border-right: 0; }
	.admin-mini-metrics > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.admin-toolbar { align-items: stretch; flex-direction: column; }
	.admin-toolbar .tab-group { overflow-x: auto; }
	.mini-search { width: 100%; min-width: 0; margin-left: 0; }
	.provider-policy { align-items: flex-start; flex-wrap: wrap; }
	.provider-policy button { width: 100%; }
	.flag-row { grid-template-columns: 37px 1fr auto; padding: 10px 0; }
	.flag-row .flag-audience { grid-column: 2; }
	.flag-row .secondary-btn { grid-column: 2; width: fit-content; }
	.flag-row .switch { grid-column: 3; grid-row: 1; }
	.system-hero { align-items: flex-start; flex-wrap: wrap; }
	.system-hero > strong { width: 100%; text-align: left; }
	.component-list > div { grid-template-columns: 12px 1fr auto; padding: 9px 0; }
	.component-list > div span:nth-of-type(n+2) { display: none; }
	.savings-tabs { margin-inline: -3px; }
	.savings-tabs button { flex-basis: auto; padding-inline: 10px; }
	.savings-tabs button span { white-space: nowrap; }
	.savings-hero { padding: 21px 19px; }
	.savings-hero h2 { font-size: 21px; }
	.hero-actions { align-items: flex-start; flex-direction: column; }
	.savings-total { max-width: none; }
	.section-heading { align-items: flex-start; flex-direction: column; }
	.offer-card { padding: 16px; }
	.offer-top { padding-right: 58px; }
	.offer-features { grid-template-columns: 1fr; }
	.offer-actions .primary-btn { width: 100%; margin-left: 0; }
	.compare-intro { grid-template-columns: 1fr 1fr; }
	.compare-intro > div:first-child { grid-column: 1 / -1; }
	.compare-stat { padding-left: 0; border-left: 0; }
	.comparison-toolbar { align-items: stretch; }
	.comparison-address { display: none; }
	.compare-dock { align-items: stretch; flex-direction: column; bottom: 8px; }
	.compare-dock .primary-btn { width: 100%; }
	.autopilot-banner { grid-template-columns: 44px 1fr; padding: 18px; }
	.autopilot-orbit { width: 43px; height: 43px; }
	.autopilot-banner-meta { grid-column: 2; justify-items: start; }
	.autopilot-status { width: fit-content; }
	.guardrail-grid, .check-chip-grid { grid-template-columns: 1fr; }
	.autopilot-actions { align-items: flex-start; flex-direction: column; }
	.autopilot-actions .primary-btn { width: 100%; }
	.tracker-summary, .job-head { align-items: flex-start; flex-direction: column; }
	.job-saving { text-align: left; }
	.job-stages small { display: none; }
	.job-actions { align-items: stretch; flex-direction: column; }
	.job-actions .connected-badge { margin-left: 0; }
	.toolkit-hero { align-items: flex-start; flex-direction: column; }
	.toolkit-stats { width: 100%; }
	.feature-toolbar { align-items: stretch; flex-direction: column; }
	.feature-search { width: 100%; }
	.feature-toolbar > span { margin-left: 0; }
	.feature-grid { grid-template-columns: 1fr; }
	.feature-card { grid-template-columns: 37px 1fr auto; }
	.feature-card > svg { display: none; }
	.switch-review { grid-template-columns: 1fr; }
	.switch-check-list, .authority-facts { grid-template-columns: 1fr; }
	.switch-plan-change { grid-template-columns: 1fr 20px 1.2fr; }
	.metric-grid { gap: 9px; }
	.metric-card { padding: 15px 16px; }
	.metric-top { margin-bottom: 9px; }
	.inbox-banner { padding: 19px; }
	.inbox-copy { align-items: flex-start; }
	.inbox-big-icon { flex-basis: 41px; height: 41px; }
	.card-head { padding: 16px 16px 12px; }
	.upcoming-list { padding: 0 16px 7px; }
	.bill-row { grid-template-columns: 1fr auto 25px; }
	.bill-row .bill-date, .bill-row .status-pill { display: none; }
	.chart-summary { align-items: flex-start; }
	.spend-chart-wrap { padding-inline: 12px; }
	.toolbar { align-items: flex-start; flex-direction: column; }
	.toolbar-actions { width: 100%; }
	.toolbar-actions button { flex: 1; }
	.table-card { overflow-x: auto; }
	.data-table { min-width: 730px; }
	.calendar-cell { min-height: 80px; padding: 5px; }
	.cal-event { height: 6px; padding: 0; border: 0; border-radius: 4px; font-size: 0; }
	.automation-card { grid-template-columns: 40px 1fr auto; }
	.run-count { display: none; }
	.automation-hero { align-items: flex-start; flex-direction: column; }
	.form-grid { grid-template-columns: 1fr; }
	.field.full, .form-actions.full { grid-column: auto; }
	.upload-zone { align-items: flex-start; flex-wrap: wrap; }
	.upload-zone > div:nth-child(2) { min-width: calc(100% - 60px); }
	.upload-zone .secondary-btn { margin-left: 52px; }
	.notification-popover { width: calc(100% - 24px); top: 58px; right: 12px; }
	.toast-stack { right: 12px; bottom: 12px; left: 12px; }
	.toast { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
