:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1e2636;
  background: #f5f6f9;
  --blue: #202a43;
  --muted: #68758a;
  --line: #e7e9ef;
  --panel: #ffffff;
  --shadow: 0 12px 32px rgba(30, 38, 54, .07);
  --ink: #1e2636;
  --forest: #202a43;
  --sage: #eef0f5;
  --paper: #f5f6f9;
  --warm-white: #ffffff;
  --accent: #ed7954;
  --accent-strong: #bd4c2d;
  --accent-soft: #fff0e9;
}

body { background: var(--paper); color: var(--ink); }
button, input, select, textarea { font-family: inherit; }
a { color: var(--forest); }
body.standalone-page .sidebar, body.standalone-page .topbar { display: none; }
body.standalone-page .main-area { margin: 0; padding-top: 0; }
body.standalone-page .page-root { min-height: 100vh; padding: 0; }

@media (min-width: 851px) {
  .sidebar {
    position: fixed; inset: 0 0 auto; width: 100%; height: 62px;
    flex-direction: row; align-items: center; gap: 18px;
    padding: 0 max(24px, calc((100vw - 1440px) / 2));
    border: 0; border-bottom: 1px solid var(--line);
    background: rgba(255, 254, 250, .96); box-shadow: 0 4px 18px rgba(50, 60, 45, .025);
    backdrop-filter: blur(16px);
  }
  .brand { height: 62px; flex: 0 0 190px; gap: 10px; padding: 0; color: var(--ink); font-size: 16px; letter-spacing: .01em; }
  .brand-mark { width: 29px; height: 29px; border-radius: 10px; background: var(--forest); box-shadow: none; font-size: 14px; }
  .main-nav { min-width: 0; flex: 1; display: flex; align-items: center; gap: 3px; padding: 0; }
  .nav-item { height: 36px; flex: 0 0 auto; gap: 7px; padding: 0 11px; border: 1px solid transparent; border-radius: 8px; color: #68746b; font-size: 12px; white-space: nowrap; }
  .nav-item:hover { background: #f2f4ee; color: var(--forest); }
  .nav-item.active { border-color: #dce6da; background: var(--sage); color: #355b43; font-weight: 650; }
  .nav-icon { width: 15px; color: #879387; }
  .nav-item.active .nav-icon { color: var(--forest); }
  .nav-count { color: var(--forest); }
  .sidebar-bottom { display: none; }
  .main-area { min-height: 100vh; margin: 0; padding-top: 62px; }
  .topbar { top: 62px; height: 56px; padding: 0 max(24px, calc((100vw - 1440px) / 2)); border-color: var(--line); background: rgba(247, 247, 242, .94); }
  .crumb { gap: 10px; color: #738073; font-size: 12px; }
  .crumb-tag { border: 0; border-radius: 999px; padding: 5px 9px; background: #eaf0e8; color: #55715b; font-size: 10px; }
  .crumb-chevron { color: #aab2a7; }
  .crumb strong { color: var(--ink); font-size: 13px; }
  .top-actions { gap: 16px; }
  .text-button { color: #657268; font-size: 12px; }
  .text-button:hover { color: var(--forest); }
  .top-divider { border-color: #dfe3d9; }
  .login-button { border-color: var(--forest); background: var(--forest); box-shadow: none; }
  .avatar { background: var(--forest); box-shadow: none; }
  body.standalone-page .sidebar, body.standalone-page .topbar { display: none; }
  body.standalone-page .main-area { margin: 0; padding-top: 0; }
  body.standalone-page .page-root { min-height: 100vh; padding: 0; }
}

.page-root { background: var(--paper); color: var(--ink); }
.page-content { max-width: 1440px; padding-top: 25px; }
.page-heading { margin-bottom: 17px; }
.page-heading h1 { color: var(--ink); font-size: 23px; letter-spacing: -.035em; }
.page-heading p { color: #7d897e; }
.filter-shell { background: var(--warm-white); box-shadow: 0 5px 20px rgba(43, 56, 43, .035); }
.saved-row { color: #7c887c; }
.saved-trigger { border-color: #e4e7de; background: #fffefa; color: #68776a; }
.saved-trigger:hover:not(:disabled) { border-color: #afc3ad; color: var(--forest); }
.filter-button, .search-wrap, .filter-select { border-color: #dfe3d9; border-radius: 8px; background: #fffefa; color: #49584b; box-shadow: none; }
.filter-button:hover, .filter-button.has-selection { border-color: #a9bca8; color: #426b52; }
.filter-button.has-selection { background: #f0f4ed; }
.search-wrap:focus-within { border-color: #8ca88e; box-shadow: 0 0 0 3px rgba(85, 125, 89, .11); }
.search-input { color: var(--ink); }
.filter-clear { color: #55745c; }
.filter-menu { border-color: #e0e5dc; border-radius: 11px; box-shadow: 0 16px 38px rgba(37, 54, 38, .12); }
.filter-option.is-selected, .filter-option:hover { background: #f0f4ed; color: #41694e; }
.jobs-wrap { border: 1px solid #e7e8df; border-radius: 0 0 18px 18px; background: var(--warm-white); box-shadow: var(--shadow); }
.table-head { border-color: #e7e9e1; color: #879185; background: #fbfbf7; }
.table-head-row { min-width: 1080px; grid-template-columns: minmax(165px,1.15fr) minmax(130px,.9fr) minmax(120px,.85fr) minmax(170px,1.2fr) minmax(100px,.72fr) minmax(105px,.78fr) minmax(170px,1.2fr); padding: 0 14px; }
.table-head-row span { padding-left: 12px; }
.jobs-list { scrollbar-color: #cfd7c9 transparent; }
.job-row { width: calc(100% - 24px); min-width: 1080px; min-height: 148px; grid-template-columns: minmax(165px,1.15fr) minmax(130px,.9fr) minmax(120px,.85fr) minmax(170px,1.2fr) minmax(100px,.72fr) minmax(105px,.78fr) minmax(170px,1.2fr); margin: 0 12px 8px; border-color: #e6e9e0; border-radius: 13px; background: #fffefa; box-shadow: none; }
.job-row:hover { border-color: #b7c7b2; background: #fffefa; box-shadow: 0 5px 18px rgba(50, 82, 52, .07); }
.job-company { border-color: #edf0e9; }
.company-name { color: #303c32; font-size: 15px; }
.company-sub, .verification-note { color: #899387; }
.company-info { border-color: #dbe5d8; background: #f2f6ef; color: #527259; }
.action-button { background: #eef3eb; color: #496d50; }
.action-button:hover { background: #e2ecdf; color: #385b40; }
.action-button.favorite-action { background: #f2f4e9; color: #69744c; }
.action-button.favorite-action:hover { background: #e9edda; color: #56633c; }
.action-button.favorite-action.is-saved { background: #eaf2e8; color: #4b7451; }
.action-button.disabled { background: #f2f3ef; color: #a0a69b; }
.source-fallback { color: #648066; }
.waitlist-action-button { background: #eef3eb; color: #496d50; }
.waitlist-action-button:hover { background: #e2ecdf; }
.waitlist-action-button.disabled { background: #f2f3ef; color: #a0a69b; }
.waitlist-applied-button, .waitlist-remove-button { border-color: #d7e4d2; background: #eef4eb; color: #537657; }
.waitlist-remove-button { border-color: #e3e5dc; background: #f6f6f1; color: #7a8073; }
.tag { border-color: #e7e9e2; background: #f7f8f3; color: #536054; }
.tag.blue, .tag.more { border-color: #dce7da; background: #eef3eb; color: #486c4f; }
.tag.green { border-color: #d7e7d7; background: #edf5eb; color: #4d7554; }
.tag.cyan { border-color: #dce8e2; background: #f0f5f1; color: #56786b; }
.tag.purple { border-color: #e4e3df; background: #f4f3ef; color: #777369; }
.tag.muted { border-color: #ecece7; background: #f7f7f3; color: #858b80; }
.industry-text { color: #536052; }
.industry-text span { color: #8b9489; }
.apply-link { color: #507257; }
.apply-link:hover { color: #304f38; }
.action-button { border-color: #dfe5dc; background: #fffefa; color: #546558; }
.action-button:hover { border-color: #afc3ad; background: #f2f5ef; color: #3e6649; }
.action-button.primary { border-color: #476e53; background: #476e53; color: white; }
.pagination { border-color: #e7e9e1; background: #fffefa; }
.pagination-count, .page-num { color: #687568; }
.quota { border-color: #e0e7d8; background: #f5f7ef; color: #68754f; box-shadow: none; }
.quota b { color: #47694a; }
.quota a { color: #486f51; }
.pager-btn, .jump-btn, .jump-input { border-color: #dfe4db; border-radius: 7px; background: #fffefa; color: #5e6a5f; }
.jump-btn:hover, .pager-btn:not(:disabled):hover { border-color: #a8bea6; color: #426b52; }
.empty-state { color: #858f83; }
.empty-state strong { color: #435145; }
.empty-icon { color: #9bab97; }

.primary-btn, .product-primary { border-color: #476e53; background: #476e53; color: #fff; box-shadow: 0 7px 16px rgba(54, 91, 62, .14); }
.primary-btn:hover, .product-primary:hover { border-color: #365b42; background: #365b42; }
.secondary-btn, .product-secondary { border-color: #dfe5dc; background: #fffefa; color: #536456; }
.secondary-btn:hover, .product-secondary:hover { border-color: #adc1aa; color: #426b52; }
.danger-btn { border-color: #bd6a5f; background: #bd6a5f; }
.panel, .chart-panel, .market-panel, .dashboard-board .panel, .progress-panel, .benchmark-panel, .review-panel { border-color: #e5e8df; border-radius: 14px; background: #fffefa; box-shadow: var(--shadow); }
.panel-title, .chart-panel h3 { color: #354338; }
.stat-card { border-color: #e5e8df; background: #fffefa; }
.stat-value { color: #334337; }
.stat-card:nth-child(2) .stat-value, .progress-stats .stat-card:nth-child(2) .stat-value { color: #50765a; }
.stat-card:nth-child(3) .stat-value, .progress-stats .stat-card:nth-child(3) .stat-value { color: #688c70; }
.progress-panel { box-shadow: var(--shadow); }
.progress-filter-bar { border-color: #e5e8df; }
.progress-filter-chip { border-color: #e0e5dc; color: #687568; }
.progress-filter-chip:hover, .progress-filter-chip.active { border-color: #b5c7b2; background: #edf3ea; color: #426b52; }
.progress-filter-chip.active span { background: #dbe8d9; color: #426b52; }
.progress-empty svg { background: #edf3ea; stroke: #50765a; }
.dashboard-stage-counts > div, .dashboard-report, .list-card { border-color: #e5e8df; background: #fffefa; }
.dashboard-stage-counts strong { color: #426b52; }
.member-head, .modal-head { border-color: #e6e9e1; }
.modal { border-color: #e1e5dc; border-radius: 17px; }
.modal-backdrop { background: rgba(37, 46, 36, .43); backdrop-filter: blur(3px); }
.modal input:focus, .modal select:focus, .modal textarea:focus { outline-color: #a9c1a7; border-color: #8ea98e; }
.auth-tabs button.active { border-color: #bfd0bb; background: #edf3ea; color: #426b52; }
.login-button { border-color: #476e53; background: #476e53; box-shadow: none; }

/* The homepage follows the same paper and sage palette as the workbench. */
.home-site { min-height: 100vh; background: var(--paper); color: var(--ink); font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; }
.home-header { position: relative; inset: auto; z-index: 1; width: 100%; max-width: 1440px; height: 64px; margin: 0 auto; padding: 0 32px; gap: 28px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); box-shadow: none; transform: none; backdrop-filter: none; }
.home-brand { height: auto; gap: 9px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); }
.home-brand strong { color: var(--ink); font-size: 15px; letter-spacing: .01em; }
.home-brand-mark { width: 30px; height: 30px; flex-basis: 30px; border: 0; border-radius: 10px; background: var(--forest); color: #fff; font-size: 13px; box-shadow: none; }
.home-header nav { justify-content: flex-end; gap: 3px; }
.home-header nav a { padding: 8px 12px; border-radius: 7px; color: #6c786d; font-size: 12px; font-weight: 550; letter-spacing: 0; }
.home-header nav a:hover, .home-header nav a.active { background: #edf2e9; color: #41684d; box-shadow: none; }
.home-header nav a.active { border: 0; outline: 0; }
.home-account { height: auto; margin: 0; padding-left: 15px; border-color: #e3e6dd; }
.home-account button { width: auto; min-width: 62px; height: 32px; padding: 0 12px; border: 1px solid #d9e2d7; border-radius: 999px; background: #fffefa; color: #526b55; font-size: 11px; line-height: 30px; box-shadow: none; }
.home-account button:before { display: none; }
.home-account button:hover { background: #eff4ec; }
.home-account button.product-account { width: 34px; min-width: 34px; height: 34px; border-color: #d9e2d7; background: #edf3ea; color: #426b52; font-size: 12px; }
.home-hero { height: auto; min-height: 0; display: block; overflow: visible; padding: 46px 32px 56px; background: var(--paper); color: var(--ink); }
.home-hero:before, .home-hero:after { content: none; }
.home-hero-stage { position: relative; top: auto; width: 100%; max-width: 1280px; height: auto; min-height: 435px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .76fr); align-items: center; gap: 8vw; margin: 0 auto; overflow: visible; background: transparent; }
.home-hero-glow, .home-ambient, .home-scroll { display: none; }
.home-hero-copy { max-width: 640px; margin: 0; text-align: left; }
.home-hero-copy > span { margin-bottom: 22px; color: #71866f; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.home-hero-copy h1 { margin: 0; color: #2c3a30; font-size: clamp(48px, 6vw, 76px); font-weight: 720; letter-spacing: -.065em; line-height: 1.22; text-shadow: none; }
.home-hero-copy h1 em { color: #55775a; font-style: normal; }
.home-hero-copy > p { max-width: 520px; margin: 20px 0 0; color: #788378; font-size: 14px; letter-spacing: 0; line-height: 1.9; }
.home-hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.home-primary-link, .home-secondary-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 43px; padding: 0 17px; border: 1px solid #476e53; border-radius: 8px; background: #476e53; color: #fff; text-decoration: none; font-size: 12px; font-weight: 650; }
.home-primary-link:hover { background: #365b42; }
.home-primary-link b { color: #dce9da; font-size: 16px; }
.home-secondary-link { min-height: auto; padding: 0; border: 0; background: transparent; color: #657464; font-weight: 550; }
.home-secondary-link:hover { color: #426b52; }
.home-route-card { width: 100%; max-width: 440px; justify-self: end; padding: 23px 25px 18px; border: 1px solid #e6e8de; border-radius: 14px; background: #fffefa; box-shadow: 0 18px 48px rgba(58, 69, 51, .065); }
.home-route-heading { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid #eceee7; }
.home-route-heading div { display: grid; gap: 5px; }
.home-route-heading span { color: #849082; font-size: 10px; }
.home-route-heading strong { color: #354338; font-size: 16px; }
.home-route-heading > i { color: #9aa495; font-size: 10px; font-style: normal; letter-spacing: .08em; }
.home-route-card > a { display: grid; grid-template-columns: 33px 1fr 18px; align-items: center; gap: 9px; min-height: 66px; border-bottom: 1px solid #f0f1eb; color: inherit; text-decoration: none; }
.home-route-card > a:last-of-type { border-bottom: 0; }
.home-route-card > a > b { color: #91a18e; font-size: 11px; font-weight: 600; }
.home-route-card > a > span { display: grid; gap: 4px; }
.home-route-card > a strong { color: #405043; font-size: 12px; font-weight: 650; }
.home-route-card > a small { color: #899287; font-size: 10px; }
.home-route-card > a > i { color: #90a18c; font-size: 14px; font-style: normal; }
.home-route-card > a:hover strong, .home-route-card > a:hover > i { color: #426b52; }
.home-route-note { display: flex; align-items: center; gap: 8px; margin-top: 11px; color: #7b897a; font-size: 10px; }
.home-route-note span { width: 6px; height: 6px; border-radius: 50%; background: #78a179; }
.home-feature-section { padding: 59px 32px 73px; background: #f0f1e9; color: var(--ink); }
.home-section-heading { max-width: 690px; margin: 0 auto 29px; text-align: center; }
.home-section-heading > span, .home-section-kicker { color: #788c74; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.home-section-heading h2 { margin: 10px 0 7px; color: #344237; font-size: 26px; letter-spacing: -.04em; }
.home-section-heading p { margin: 0; color: #7c8779; font-size: 12px; line-height: 1.8; }
.home-module-grid { max-width: 1216px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-module { min-height: 238px; padding: 23px; border-color: #e4e7dc; border-radius: 12px; background: #fffefa; color: var(--ink); box-shadow: 0 6px 20px rgba(48, 62, 46, .035); backdrop-filter: none; }
.home-module:hover { border-color: #b5c7b1; background: #fffefa; box-shadow: 0 14px 30px rgba(53, 82, 53, .08); }
.home-module:after { display: none; }
.home-module-icon { width: 44px; height: 44px; margin-bottom: 18px; border: 1px solid #e0e8dc; border-radius: 11px; background: #eff4ec; color: #55775a; box-shadow: none; }
.home-module-icon svg { width: 23px; height: 23px; }
.home-module h3 { margin: 0 0 8px; color: #364439; font-size: 15px; font-weight: 680; }
.home-module p { color: #818b7f; font-size: 11px; line-height: 1.75; }
.home-module > b { margin-top: auto; padding: 18px 0 0; color: #527357; font-size: 11px; font-weight: 650; }
.home-module > b span { color: #527357; }
.home-module-services { border-color: #e4e7dc; background: #fffefa; box-shadow: 0 6px 20px rgba(48, 62, 46, .035); }
.home-module-services .home-module-icon { border-color: #e0e8dc; background: #eff4ec; }
.home-week-plan { max-width: 1280px; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 7vw; margin: 0 auto; padding: 64px 32px; border-top: 1px solid #e7e9e1; }
.home-week-plan h2 { margin: 11px 0 8px; color: #344237; font-size: 25px; letter-spacing: -.035em; }
.home-week-plan > div:first-child > p { margin: 0; color: #7e897e; font-size: 11px; line-height: 1.8; }
.home-week-tasks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.home-week-tasks a { min-height: 112px; display: grid; grid-template-columns: 25px 1fr 14px; align-items: start; gap: 8px; padding: 15px 13px; border: 1px solid #e5e8df; border-radius: 10px; background: #fffefa; text-decoration: none; }
.home-week-tasks a:hover { border-color: #b8c8b3; box-shadow: 0 8px 20px rgba(51,82,53,.06); }
.home-week-tasks a > b { color: #899985; font-size: 10px; font-weight: 600; }
.home-week-tasks a > span { display: grid; gap: 7px; }
.home-week-tasks strong { color: #425246; font-size: 11px; font-weight: 650; }
.home-week-tasks small { color: #879184; font-size: 9px; line-height: 1.65; }
.home-week-tasks i { color: #7e967c; font-size: 13px; font-style: normal; }
.home-principles-section { max-width: 1280px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 8vw; margin: 0 auto; padding: 80px 32px; }
.home-principles-section h2 { margin: 12px 0 10px; color: #344237; font-size: 29px; letter-spacing: -.04em; }
.home-principles-section > div:first-child > p { max-width: 420px; margin: 0; color: #798578; font-size: 12px; line-height: 1.9; }
.home-principles-section > div:first-child > a { display: inline-flex; gap: 9px; margin-top: 19px; color: #4d7254; font-size: 11px; font-weight: 650; text-decoration: none; }
.home-proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home-proof-card { width: auto; height: auto; min-height: 82px; flex: initial; gap: 13px; padding: 14px; border: 1px solid #e5e8df; border-radius: 10px; background: #fffefa; box-shadow: none; backdrop-filter: none; }
.home-proof-card:hover { background: #fffefa; }
.home-proof-mark { width: 34px; height: 34px; flex-basis: 34px; border: 0; background: #eef3ea; color: #55775a; font-size: 15px; }
.proof-1, .proof-2, .proof-3 { color: #55775a; }
.home-proof-card strong { margin-bottom: 3px; color: #455347; font-size: 11px; }
.home-proof-card p { color: #858f82; font-size: 10px; line-height: 1.55; white-space: normal; }
.home-end-section { height: auto; padding: 54px 32px 62px; border-top: 1px solid #e5e7de; background: #f0f1e9; color: var(--ink); }
.home-end-inner { max-width: 1216px; text-align: center; }
.home-end-inner > h2 { margin: 10px 0 7px; color: #344237; font-size: 25px; letter-spacing: -.035em; }
.home-end-inner > p { margin: 0; color: #7d887c; font-size: 12px; }
.home-end-inner .home-primary-link { margin-top: 20px; }
.home-footer { height: auto; min-height: 72px; margin: 0; border-color: #e4e6dd; background: #f7f7f2; }
.home-footer-inner { height: auto; min-height: 72px; max-width: 1280px; padding: 18px 32px; color: #899287; font-size: 10px; }
.home-footer nav { gap: 17px; }
.home-footer nav a { color: #7c887c; font-size: 10px; }

/* Public product and service pages inherit the same restrained visual system. */
.product-site, .pricing-site { background: var(--paper); color: var(--ink); }
.product-header { border-color: #e4e7de; background: rgba(255,254,250,.96); box-shadow: 0 8px 24px rgba(53,65,49,.06); }
.product-brand { border-color: #e4e7de; background: #fffefa; color: #344237; box-shadow: none; }
.product-header nav a { color: #667467; font-weight: 600; letter-spacing: 0; }
.product-header nav a.active { border-color: #dce6da; background: #edf3ea; color: #426b52; box-shadow: none; }
.product-login, .pricing-account { border-color: #476e53; background: #476e53; box-shadow: none; }
.product-eyebrow { color: #668168; }
.tool-tabs { border-color: #e5e8df; }
.tool-tabs a.active { border-bottom-color: #52775a; color: #3e6046; }
.tool-hero { border-color: #e2e8dc; background: #eef2e9; }
.tool-badges span { border-color: #dbe5d9; color: #4c7153; }
.tool-title { color: #55775a; }
.tool-copy h2 { color: #334237; }
.tool-points span { border-color: #dfe6da; background: #fffefa; color: #677568; }
.product-footer { border-color: #e5e8df; background: #f1f2eb; color: #718071; }
.product-footer strong { color: #3f5142; }
.product-footer nav a, .ops-link { color: #6b7c6b; }
.pricing-site { background: var(--paper); }
.pricing-topbar { border-color: #e5e8df; background: #fffefa; }
.pricing-crumb a { background: #edf3ea; color: #4a7052; }
.pricing-primary { border-color: #476e53; background: #476e53; box-shadow: none; }
.pricing-primary:hover { border-color: #365b42; background: #365b42; }
.pricing-secondary { border-color: #e0e5dc; color: #5b6a5c; }
.pricing-offer, .pricing-restore { border-color: #e5e8df; background: #fffefa; box-shadow: 0 8px 24px rgba(53,65,49,.04); }
.pricing-offer.featured, .member-duration-list button.selected { border-color: #a9bea6; background: #f0f4ed; }
.member-duration-list button:hover { border-color: #aec1aa; background: #f3f6f0; }
.pricing-check-list li:before { border-color: #a7bea2; color: #50765a; }
.kb-price-prompt, .kb-showcase-top b { border-color: #dbe5d9; background: #f0f4ed; color: #4d7053; }
.kb-showcase-highlight { border-color: #68876a; background: #f0f4ed; }
.kb-showcase-highlight strong { color: #4c7052; }
.kb-showcase-progress b { color: #55775a; }
.kb-showcase-progress > div i { background: #729575; }
.kb-compare-featured h3 { color: #4a7052; }
.kb-preview { border-color: #e0e7dc; background: #f5f6f0; }

/* Market charts use the same muted greens while keeping deadline status distinct. */
.market-page { border-color: #e7e8df; background-color: #f4f4ed; background-image: radial-gradient(ellipse at 82% 0%, #eaede2 0, transparent 40%), linear-gradient(rgba(88,111,83,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(88,111,83,.035) 1px, transparent 1px); box-shadow: 0 20px 60px -48px rgba(47,62,46,.32); }
.market-eyebrow strong { background: #405644; }
.market-snapshot-badge { border-color: #dce6d9; background: #f1f5ee; color: #60765e; }
.market-hero .market-range button.active { background: #4d7354; box-shadow: 0 3px 8px rgba(77,115,84,.25); }
.market-kpi { border-color: #e5e8df; border-top-color: #66866a; box-shadow: 0 18px 42px -42px rgba(47,62,46,.38); }
.market-kpi-green { border-top-color: #9daf8c; }
.market-kpi-orange { border-top-color: #c39561; }
.market-kpi-top i { background: #66866a; }
.market-kpi-green .market-kpi-top i { background: #9daf8c; }
.market-kpi-orange .market-kpi-top i { background: #c39561; }
.market-kpi-link, .market-kpi-green .market-kpi-link { color: #56765b; }
.market-kpi-orange .market-kpi-link { color: #a7794d; }
.market-panel-icon { border-color: #e0e8dc; background: #eff4ec; color: #55775a; }
.market-index, .market-role-copy > span, .market-city-label > span { color: #738b70; }
.market-industry-track i, .market-role-track i, .market-city-bars i.active { background: #759174; }
.market-method { border-color: #e5e8df; background: #f0f2ea; color: #6e7b6e; }
.market-method strong { color: #475b49; }
.market-empty { border-color: #dfe5da; background: #f8f8f3; color: #849083; }
.market-date-pill { background: #edf2e9; color: #55775a; }
.market-date-pill span { color: #7b9277; }
.market-calendar-toggle { color: #54765a; }
.market-calendar-toggle:focus-visible, .market-kpi-link:focus-visible, .market-range button:focus-visible { outline-color: #8ca78a; }
.market-chart-svg [stroke="#3567e8"] { stroke: #66866a !important; }
.market-chart-svg [fill="#3567e8"] { fill: #66866a !important; }
.market-company-hole { box-shadow: inset 0 0 0 1px #e3e7dd; }

@media (max-width: 1100px) and (min-width: 851px) {
  .sidebar { gap: 8px; padding-right: 16px; padding-left: 16px; }
  .brand { flex-basis: 166px; font-size: 14px; }
  .main-nav { gap: 0; }
  .nav-item { gap: 5px; padding: 0 7px; font-size: 11px; }
  .nav-icon { display: none; }
}
@media (max-width: 850px) {
  .sidebar { background: #fffefa; border-right-color: #e4e7de; }
  .brand { color: var(--ink); }
  .brand-mark { background: var(--forest); }
  .main-nav { display: grid; }
  .nav-item { color: #5f6c60; }
  .nav-item.active { border-color: #dce6da; background: #edf3ea; color: #426b52; }
  .nav-item.active .nav-icon { color: #426b52; }
  .sidebar-bottom { border-color: #e8eae3; color: #899287; }
  .side-note-title { color: #647264; }
  .main-area { margin: 0; padding-top: 0; }
  .topbar { border-color: #e5e8df; background: rgba(255,254,250,.95); }
  .mobile-menu-toggle { border-color: #e1e6dd; background: #fffefa; color: #526555; }
  .page-root { background: var(--paper); }
  .jobs-wrap { border-radius: 0 0 14px 14px; }
  .job-row { min-width: 0; width: auto; border-radius: 12px; }
  .home-header { gap: 8px; padding: 0 18px; }
  .home-header nav { justify-content: flex-end; gap: 0; }
  .home-header nav a { padding: 8px 8px; font-size: 10px; }
  .home-hero { padding: 36px 22px 46px; }
  .home-hero-stage { min-height: 0; grid-template-columns: minmax(0,1fr) minmax(290px,.9fr); gap: 28px; }
  .home-hero-copy h1 { font-size: clamp(42px, 6vw, 62px); }
  .home-route-card { padding: 18px; }
  .home-module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-principles-section { gap: 28px; padding: 62px 22px; }
  .home-week-plan { grid-template-columns: 1fr; gap: 20px; padding: 48px 22px; }
}
@media (max-width: 620px) {
  body.standalone-page .page-root { padding: 0; }
  .home-header { height: 56px; padding: 0 11px; gap: 5px; }
  .home-brand { gap: 5px; }
  .home-brand strong { font-size: 11px; }
  .home-brand-mark { width: 27px; height: 27px; flex-basis: 27px; font-size: 11px; }
  .home-header nav { overflow-x: auto; justify-content: flex-start; }
  .home-header nav a { padding: 7px 6px; font-size: 10px; }
  .home-account { padding-left: 6px; }
  .home-account button { min-width: 45px; height: 28px; padding: 0 8px; font-size: 9px; line-height: 26px; }
  .home-account button.product-account { width: 28px; min-width: 28px; height: 28px; }
  .home-hero { padding: 38px 18px 35px; }
  .home-hero-stage { grid-template-columns: 1fr; gap: 30px; }
  .home-hero-copy > span { margin-bottom: 15px; font-size: 9px; }
  .home-hero-copy h1 { font-size: clamp(42px, 13vw, 58px); }
  .home-hero-copy > p { margin-top: 14px; font-size: 12px; }
  .home-hero-actions { gap: 13px; margin-top: 20px; }
  .home-primary-link { min-height: 39px; padding: 0 13px; font-size: 11px; }
  .home-route-card { max-width: none; padding: 16px; }
  .home-route-card > a { min-height: 60px; }
  .home-feature-section { padding: 43px 16px 48px; }
  .home-section-heading { margin-bottom: 22px; }
  .home-section-heading h2 { font-size: 21px; }
  .home-section-heading p { font-size: 11px; }
  .home-module-grid { grid-template-columns: 1fr; gap: 10px; }
  .home-module { min-height: 190px; padding: 19px; }
  .home-module-icon { margin-bottom: 15px; }
  .home-module h3 { font-size: 14px; }
  .home-module p { font-size: 10px; }
  .home-principles-section { grid-template-columns: 1fr; gap: 24px; padding: 52px 18px; }
  .home-principles-section h2 { font-size: 24px; }
  .home-week-plan { gap: 18px; padding: 44px 18px; }
  .home-week-plan h2 { font-size: 22px; }
  .home-week-tasks { grid-template-columns: 1fr; }
  .home-week-tasks a { min-height: 74px; align-items: center; padding: 12px; }
  .home-proof-grid { gap: 8px; }
  .home-proof-card { align-items: flex-start; min-height: 95px; gap: 8px; padding: 10px; }
  .home-proof-mark { width: 28px; height: 28px; flex-basis: 28px; font-size: 12px; }
  .home-proof-card strong { font-size: 10px; }
  .home-proof-card p { font-size: 9px; }
  .home-end-section { padding: 44px 18px 48px; }
  .home-end-inner > h2 { font-size: 22px; }
  .home-footer-inner { min-height: 92px; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px; }
  .home-footer nav { margin: 0; flex-wrap: wrap; gap: 13px; }
  .home-footer nav a { font-size: 9px; }
  .progress-page .page-heading { align-items: flex-start; }
}

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

/* Opportunity Radar: discovery first, with verified deadline signals kept distinct. */
.opportunity-radar {
  max-width: 1440px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, .86fr);
  align-items: center;
  gap: 22px 34px;
  margin: 17px auto 12px;
  padding: 21px 24px 15px;
  border: 1px solid #29334b;
  border-radius: 15px;
  background: radial-gradient(ellipse at 90% 0%, rgba(238,121,84,.16), transparent 35%), #202a43;
  color: #f7f7f3;
  box-shadow: 0 16px 36px rgba(28, 38, 57, .12);
}
.opportunity-radar-copy { min-width: 0; }
.radar-kicker { display: flex; align-items: center; gap: 8px; color: #f1a080; font-size: 10px; font-weight: 750; letter-spacing: .09em; }
.radar-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #f18a66; box-shadow: 0 0 0 4px rgba(241,138,102,.15); }
.opportunity-radar h1 { margin: 9px 0 5px; color: #fff; font-size: clamp(22px, 2vw, 29px); line-height: 1.25; letter-spacing: -.045em; }
.opportunity-radar-copy p { max-width: 610px; margin: 0; color: #c0c9d6; font-size: 11px; line-height: 1.7; }
.radar-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
.radar-stat-grid > div { min-width: 0; display: grid; gap: 5px; padding: 10px 11px; border: 1px solid rgba(255,255,255,.09); border-radius: 9px; background: rgba(255,255,255,.055); }
.radar-stat-grid strong { color: #fff; font-size: 21px; line-height: 1; font-variant-numeric: tabular-nums; }
.radar-stat-grid span { color: #c2cad6; font-size: 9px; line-height: 1.35; }
.radar-stat-grid .radar-stat-alert { border-color: rgba(242,139,104,.35); background: rgba(242,139,104,.1); }
.radar-stat-grid .radar-stat-alert strong, .radar-stat-grid .radar-stat-alert span { color: #ffb194; }
.radar-footnote { grid-column: 1/-1; margin-top: -9px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.09); color: #aeb8c7; font-size: 9px; }
.filter-more-button { display: none; }
.search-submit { flex: none; min-width: 55px; height: 29px; padding: 0 10px; border: 0; border-radius: 7px; background: #d96e4d; color: #fff; font-size: 11px; font-weight: 700; }
.search-submit:hover { background: #c45e3f; }
.filter-wrap--advanced .filter-button.has-selection { border-color: #e3b39f; background: #fff2ec; color: #ae5033; }
.deadline-urgency { align-self: flex-start; width: max-content; padding: 3px 7px; border-radius: 999px; background: #fff0e9; color: #bd5537; font-size: 9px; font-weight: 750; }
.action-button.favorite-action:not(.is-saved) { border-color: #f3d9ce; background: #fff2ec; color: #ac5037; }
.action-button.favorite-action:not(.is-saved):hover { border-color: #ebbead; background: #ffe8de; color: #983f29; }
.jobs-wrap { height: calc(100vh - 335px); min-height: 390px; }

/* Landing page uses live collection and verified upcoming deadlines, never sample counts. */
.radar-home-hero { max-width: 1440px; display: grid; grid-template-columns: minmax(0,1.12fr) minmax(360px,.88fr); gap: clamp(24px,5vw,70px); align-items: center; margin: 22px auto 0; padding: 34px clamp(24px,4vw,56px); border: 1px solid #29334b; border-radius: 17px; background: radial-gradient(ellipse at 86% 4%, rgba(238,121,84,.16), transparent 35%), #202a43; color: #fff; box-shadow: 0 18px 42px rgba(28,38,57,.12); }
.radar-home-copy { min-width: 0; }
.radar-home-kicker { display: flex; align-items: center; gap: 9px; color: #ffae91; font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.radar-home-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #f18a66; box-shadow: 0 0 0 4px rgba(241,138,102,.15); }
.radar-home-kicker b { padding-left: 9px; border-left: 1px solid #596276; color: #c1cad8; font-size: 9px; font-weight: 500; letter-spacing: 0; }
.radar-home-copy h1 { margin: 19px 0 9px; color: #fff; font-size: clamp(38px,5vw,62px); font-weight: 760; line-height: 1.2; letter-spacing: -.065em; }
.radar-home-copy h1 em { color: #ff9a76; font-style: normal; }
.radar-home-copy > p { max-width: 560px; margin: 0; color: #c4ccda; font-size: 12px; line-height: 1.85; }
.radar-home-search { display: flex; gap: 7px; max-width: 550px; margin-top: 22px; }
.radar-home-search label { min-width: 0; flex: 1; display: flex; align-items: center; gap: 9px; height: 45px; padding: 0 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; background: rgba(255,255,255,.09); color: #ffb194; }
.radar-home-search label span { font-size: 19px; }
.radar-home-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 12px; }
.radar-home-search input::placeholder { color: #c0c8d6; }
.radar-home-search button { min-width: 112px; padding: 0 14px; border: 0; border-radius: 9px; background: #e57755; color: #fff; font-size: 11px; font-weight: 750; }
.radar-home-search button:hover { background: #d76646; }
.radar-home-search button b { margin-left: 6px; font-size: 15px; }
.radar-home-quick { display: flex; flex-wrap: wrap; gap: 8px 17px; margin-top: 14px; }
.radar-home-quick a { color: #d1d8e2; font-size: 10px; text-decoration: none; }
.radar-home-quick a:hover { color: #ffb194; }
.radar-home-quick i { margin-left: 3px; color: #ff9a76; font-style: normal; }
.radar-home-side { min-width: 0; }
.radar-home-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-bottom: 9px; }
.radar-home-stats > div { display: grid; gap: 7px; min-width: 0; padding: 11px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; background: rgba(255,255,255,.055); }
.radar-home-stats span { color: #c2cad6; font-size: 9px; line-height: 1.35; }
.radar-home-stats strong { color: #fff; font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.radar-home-stats .is-urgent { border-color: rgba(242,139,104,.35); background: rgba(242,139,104,.1); }
.radar-home-stats .is-urgent strong, .radar-home-stats .is-urgent span { color: #ffb194; }
.radar-deadline-panel { padding: 12px 13px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(10,17,31,.2); }
.radar-deadline-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
.radar-deadline-heading > div { display: grid; gap: 3px; }
.radar-deadline-heading span { color: #c2cad6; font-size: 9px; }
.radar-deadline-heading strong { color: #fff; font-size: 12px; }
.radar-deadline-heading a { color: #ffb194; font-size: 9px; text-decoration: none; white-space: nowrap; }
.radar-deadline-heading a i { font-style: normal; }
.radar-deadline-item { display: grid; grid-template-columns: 56px minmax(0,1fr) 12px; align-items: center; gap: 9px; min-height: 48px; border-bottom: 1px solid rgba(255,255,255,.08); color: inherit; text-decoration: none; }
.radar-deadline-item:last-of-type { border-bottom: 0; }
.radar-deadline-item:hover .radar-deadline-copy strong { color: #ffb194; }
.radar-deadline-date { padding: 6px 4px; border-radius: 6px; background: rgba(229,119,85,.14); color: #ffb194; font-size: 9px; font-weight: 750; text-align: center; white-space: nowrap; }
.radar-deadline-copy { min-width: 0; display: grid; gap: 4px; }
.radar-deadline-copy strong { overflow: hidden; color: #f2f3f2; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.radar-deadline-copy small { overflow: hidden; color: #aeb8c7; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.radar-deadline-item > i { color: #aeb8c7; font-size: 15px; font-style: normal; }
.radar-deadline-foot { display: flex; align-items: center; gap: 6px; padding-top: 8px; color: #aeb8c7; font-size: 8px; line-height: 1.45; }
.radar-deadline-foot i { width: 5px; height: 5px; flex: none; border-radius: 50%; background: #88b08b; }
.radar-empty-state { display: flex; align-items: center; gap: 9px; min-height: 73px; color: #c0c8d5; }
.radar-empty-state > span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: rgba(255,255,255,.08); color: #ffb194; font-size: 15px; }
.radar-empty-state p { margin: 0; font-size: 9px; line-height: 1.65; }

/* Mini-program-ready primary navigation and single-column opportunity cards. */
.mobile-tabbar { display: none; }
@media (max-width: 850px) {
  body:not(.standalone-page) .mobile-tabbar { position: fixed; inset: auto 0 0; z-index: 14; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); min-height: calc(62px + env(safe-area-inset-bottom)); padding: 5px 5px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid #e4e8e0; background: rgba(255,254,250,.97); box-shadow: 0 -7px 24px rgba(36,48,38,.07); backdrop-filter: blur(16px); }
  .mobile-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 48px; border: 0; border-radius: 9px; background: transparent; color: #818b82; }
  .mobile-tab > span { font-size: 18px; line-height: 1; }
  .mobile-tab > small { font-size: 9px; line-height: 1.2; }
  .mobile-tab.active { color: #dc6f4e; font-weight: 750; }
  .mobile-tab.active > span { transform: translateY(-1px); }
  .page-root { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .mobile-menu-toggle { display: none; }
  .sidebar .main-nav { min-height: 0; overflow-y: auto; }
  .topbar { padding-left: 16px; }
  .opportunity-radar { grid-template-columns: 1fr; gap: 12px; margin: 12px 0 10px; padding: 16px; border-radius: 13px; }
  .opportunity-radar h1 { margin: 6px 0 4px; font-size: 21px; }
  .opportunity-radar-copy p { font-size: 10px; }
  .radar-stat-grid { gap: 6px; }
  .radar-stat-grid > div { gap: 4px; padding: 8px 9px; }
  .radar-stat-grid strong { font-size: 19px; }
  .radar-stat-grid span { font-size: 8px; }
  .radar-footnote { margin-top: 0; padding-top: 7px; font-size: 8px; }
  .saved-row { width: 100%; height: auto; min-height: 28px; gap: 7px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .saved-row::-webkit-scrollbar { display: none; }
  .saved-trigger { flex: none; }
  .filter-row { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; }
  .filter-wrap--advanced { display: none; }
  .filter-row--advanced-open .filter-wrap--advanced { display: block; }
  .filter-more-button { display: flex; align-items: center; justify-content: space-between; min-width: 0; min-height: 38px; padding: 0 10px; border: 1px dashed #d9ded4; border-radius: 8px; background: #fbfbf7; color: #5e6c5f; font-size: 11px; }
  .filter-more-button[aria-expanded="true"] { border-color: #d9a18d; background: #fff3ed; color: #ad5237; }
  .filter-more-button span { color: #c36648; font-size: 15px; }
  .filter-row .search-wrap { grid-column: 1/-1; display: flex; height: 40px; }
  .search-wrap .search-submit { height: 31px; }
  .filter-clear { grid-column: 1/-1; justify-self: end; min-height: 30px; }
  .filter-row--advanced-open .filter-clear { grid-column: 2; }
  .jobs-wrap { height: auto; min-height: 0; overflow: visible; display: block; border-radius: 12px; }
  .jobs-table { height: auto; }
  .jobs-list { overflow: visible; flex: none; padding: 8px 0 12px; }
  .job-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 9px; margin: 0 8px 9px; padding: 12px; border-color: #e7e9e2; border-radius: 13px; background: #fffefa; box-shadow: 0 4px 13px rgba(35,48,38,.035); }
  .job-row:hover { border-color: #e7e9e2; box-shadow: 0 4px 13px rgba(35,48,38,.035); }
  .job-company { padding-bottom: 9px; border-bottom-color: #edf0e9; }
  .company-titleline { align-items: flex-start; }
  .company-name { font-size: 14px; line-height: 1.45; }
  .company-sub { font-size: 10px; }
  .verification-note { font-size: 9px; }
  .job-meta { gap: 5px; padding: 9px 2px 5px 0; }
  .industry-text { padding: 9px 0 5px 5px; font-size: 11px; line-height: 1.45; }
  .industry-text span { margin-top: 3px; font-size: 9px; }
  .role-chips { grid-column: 1/-1; gap: 5px; padding: 4px 0; }
  .city-chips { padding: 5px 2px 5px 0; }
  .deadline-cell { display: grid; align-content: start; gap: 4px; padding: 5px 0 5px 5px; }
  .deadline { font-size: 10px; font-variant-numeric: tabular-nums; }
  .deadline-urgency { font-size: 8px; }
  .row-actions { grid-column: 1/-1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 9px 0 0; }
  .row-actions .action-button { min-height: 40px; padding: 7px 5px; border-radius: 8px; font-size: 10px; }
  .row-actions .action-button:first-child:not(.disabled) { border-color: #28334b; background: #28334b; color: #fff; }
  .row-actions .action-button:first-child:not(.disabled):hover { background: #34425f; }
  .row-actions .source-fallback { grid-column: 1/-1; min-height: 30px; display: grid; place-items: center; }
  .pagination { display: flex; flex-wrap: nowrap; overflow-x: auto; border-radius: 0 0 12px 12px; }
  .pagination .quota { display: none; }
  .toast { bottom: calc(74px + env(safe-area-inset-bottom)); left: 50%; }
}
@media (max-width: 620px) {
  .radar-home-hero { grid-template-columns: 1fr; gap: 21px; margin: 11px 10px 0; padding: 23px 18px 17px; border-radius: 14px; }
  .radar-home-copy h1 { margin: 14px 0 7px; font-size: clamp(36px,11vw,48px); }
  .radar-home-copy > p { font-size: 11px; }
  .radar-home-search { gap: 6px; margin-top: 17px; }
  .radar-home-search label { height: 42px; padding: 0 9px; }
  .radar-home-search input { font-size: 11px; }
  .radar-home-search button { min-width: 91px; padding: 0 9px; font-size: 10px; }
  .radar-home-quick { gap: 7px 12px; margin-top: 12px; }
  .radar-home-quick a { font-size: 9px; }
  .radar-home-stats { gap: 5px; }
  .radar-home-stats > div { gap: 6px; padding: 9px 7px; }
  .radar-home-stats span { font-size: 8px; }
  .radar-home-stats strong { font-size: 18px; }
  .radar-deadline-panel { padding: 10px 10px 8px; }
  .home-feature-section { padding-top: 40px; }
}
@media (max-width: 430px) {
  .topbar { padding-right: 10px; padding-left: 10px; }
  .radar-kicker { font-size: 9px; }
  .radar-stat-grid span { font-size: 7px; }
  .opportunity-radar { padding: 14px 12px 11px; }
  .filter-shell { padding: 9px 10px; }
  .filter-row { gap: 6px; }
  .filter-button { min-height: 37px; padding: 0 8px; font-size: 10px; }
  .job-row { margin-right: 6px; margin-left: 6px; padding: 10px; }
  .company-name { font-size: 13px; }
  .tag { max-width: 100%; font-size: 9px; }
}

/* Scheme B: cool neutral canvas, navy structure, and a legible coral action color. */
body, .app-shell, .main-area, .page-root, .home-site { background: var(--paper); color: var(--ink); }
.sidebar { background: #fff; border-color: var(--line); }
.brand, .crumb, .crumb strong { color: var(--ink); }
.brand-mark, .home-brand-mark { background: #bd4c2d; box-shadow: none; }
.topbar { border-color: var(--line); background: rgba(245,246,249,.96); }
.crumb-tag { border-color: #dce1ea; background: #eef0f5; color: #49566e; }
.text-button, .text-button:hover { color: #39465d; }
.nav-item { color: #56627a; }
.nav-item:hover { background: #f2f3f7; color: #202a43; }
.nav-item.active { border-color: #d9deea; background: #eef0f5; color: #202a43; }
.nav-icon, .nav-item.active .nav-icon { color: #526079; }
.nav-count { color: #53627d; }
.page-root { background: var(--paper); }
.filter-shell, .jobs-wrap, .panel, .chart-panel, .market-panel, .progress-panel,
.benchmark-panel, .review-panel, .stat-card, .dashboard-stage-counts > div,
.dashboard-report, .list-card { border-color: var(--line); background: #fff; box-shadow: 0 8px 24px rgba(30,38,54,.045); }
.filter-button, .search-wrap, .filter-select, .saved-trigger, .pager-btn,
.jump-btn, .jump-input { border-color: #d7dce6; background: #fff; color: #29354c; }
.filter-button:hover, .filter-button[aria-expanded="true"], .filter-button.has-selection {
  border-color: #c66a4d; color: #9f4025; box-shadow: 0 0 0 2px rgba(189,76,45,.09);
}
.filter-button.has-selection, .filter-option.is-selected, .filter-option:hover { background: #fff0e9; color: #9f4025; }
.search-wrap:focus-within { border-color: #bd4c2d; box-shadow: 0 0 0 3px rgba(189,76,45,.12); }
.search-input { color: #1e2636; }
.search-input::placeholder { color: #778399; }
.filter-clear, .source-fallback, .apply-link { color: #465572; }
.filter-clear:hover, .source-fallback:hover, .apply-link:hover { color: #9f4025; }
.filter-menu { border-color: #dfe3eb; background: #fff; }
.filter-menu-clear, .filter-option { color: #29354c; }
.filter-option-state { color: transparent; }
.filter-option.is-selected .filter-option-state { color: #9f4025; }
.table-head { border-color: var(--line); background: #f8f9fb; color: #68758a; }
.job-row { border-color: var(--line); background: #fff; }
.job-row:hover { border-color: #cbd2df; background: #fff; box-shadow: 0 6px 20px rgba(32,42,67,.07); }
.job-company, .job-meta, .industry-text, .role-chips, .city-chips, .deadline-cell { border-color: var(--line); }
.company-name, .industry-text { color: #263249; }
.company-sub, .verification-note, .industry-text span, .deadline { color: #68758a; }
.company-info { border-color: #d9deea; background: #eef0f5; color: #465572; }
.tag { border-color: #e2e5ec; background: #f6f7fa; color: #4f5d75; }
.tag.blue, .tag.more { border-color: #dce1ea; background: #eef0f5; color: #394963; }
.tag.green { border-color: #d9e5df; background: #edf4f0; color: #3e6953; }
.tag.cyan { border-color: #d9e5eb; background: #eef5f8; color: #3e6173; }
.tag.purple { border-color: #e0e1e8; background: #f2f2f6; color: #59627a; }
.tag.muted { border-color: #e4e6ec; background: #f3f4f7; color: #68758a; }
.deadline-urgency { background: #fff0e9; color: #9f4025; }
.action-button, .waitlist-action-button { border-color: #d7dce6; background: #fff; color: #35435d; }
.action-button:hover, .waitlist-action-button:hover { border-color: #b8c1d1; background: #f4f5f8; color: #202a43; }
.action-button.primary, .action-button.favorite-action:not(.is-saved),
.primary-btn, .product-primary, .search-submit, .radar-home-search button {
  border-color: #bd4c2d; background: #bd4c2d; color: #fff; box-shadow: 0 5px 13px rgba(139,55,31,.15);
}
.action-button.primary:hover, .action-button.favorite-action:not(.is-saved):hover,
.primary-btn:hover, .product-primary:hover, .search-submit:hover, .radar-home-search button:hover {
  border-color: #a73f25; background: #a73f25; color: #fff;
}
.action-button.favorite-action.is-saved, .waitlist-applied-button { border-color: #202a43; background: #202a43; color: #fff; }
.action-button.favorite-action.is-saved:hover, .waitlist-applied-button:hover { border-color: #303d5d; background: #303d5d; color: #fff; }
.action-button.disabled, .waitlist-action-button.disabled { border-color: #e1e4eb; background: #eef0f4; color: #59657a; }
.waitlist-remove-button { border-color: #d7dce6; background: #f4f5f8; color: #4f5b71; }
.source-fallback { color: #465572; }
.pagination { border-color: var(--line); background: #fff; }
.pagination-count, .page-num { color: #536079; }
.quota { border-color: #e0e3ea; background: #f3f4f7; color: #4f5d75; }
.quota b, .quota a { color: #394963; }
.pager-btn:hover:not(:disabled), .jump-btn:hover { border-color: #bd4c2d; color: #9f4025; }
.pager-btn:disabled { border-color: #e5e7ec; background: #f4f5f7; color: #68758a; }
.empty-state, .empty-state strong { color: #59667d; }
.empty-icon { color: #9aa4b5; }
.secondary-btn, .product-secondary { border-color: #d7dce6; background: #fff; color: #35435d; }
.secondary-btn:hover, .product-secondary:hover { border-color: #aeb8c9; background: #f5f6f9; color: #202a43; }
.danger-btn { border-color: #a64236; background: #a64236; color: #fff; }
.panel-title, .chart-panel h3 { color: #263249; }
.stat-value { color: #202a43; }
.stat-card:nth-child(2) .stat-value, .progress-stats .stat-card:nth-child(2) .stat-value { color: #bd4c2d; }
.stat-card:nth-child(3) .stat-value, .progress-stats .stat-card:nth-child(3) .stat-value { color: #526b88; }
.progress-filter-chip { border-color: #d7dce6; color: #4f5d75; }
.progress-filter-chip:hover, .progress-filter-chip.active { border-color: #d59a84; background: #fff0e9; color: #9f4025; }
.progress-filter-chip.active span { background: #f9ddd2; color: #9f4025; }
.progress-empty svg { background: #eef0f5; stroke: #526079; }
.dashboard-stage-counts strong { color: #202a43; }
.modal, .modal-head, .member-head { border-color: var(--line); }
.modal-backdrop { background: rgba(30,38,54,.48); }
.modal input:focus, .modal select:focus, .modal textarea:focus { outline-color: #d99a83; border-color: #bd6c50; }
.auth-tabs button.active { border-color: #e3b19f; background: #fff0e9; color: #9f4025; }
.login-button { border-color: #202a43; background: #202a43; box-shadow: none; }
.mobile-tab.active { color: #a64227; }
.home-header nav a { color: #56627a; }
.home-header nav a:hover, .home-header nav a.active { background: #eef0f5; color: #202a43; }
.home-feature-section { background: #f1f3f7; }
.home-module, .home-week-tasks a, .home-proof-card { border-color: var(--line); background: #fff; }
.home-module:hover, .home-week-tasks a:hover, .home-proof-card:hover { border-color: #cbd2df; background: #fff; }
.home-module-icon, .home-proof-mark { border-color: #f0d6cc; background: #fff0e9; color: #9f4025; }
.home-module h3, .home-week-plan h2, .home-principles-section h2, .home-end-inner > h2,
.home-proof-card strong, .home-week-tasks strong { color: #263249; }
.home-module p, .home-week-plan > div:first-child > p, .home-principles-section > div:first-child > p,
.home-proof-card p, .home-week-tasks small { color: #68758a; }
.home-module > b, .home-module > b span, .home-principles-section > div:first-child > a { color: #9f4025; }
.home-primary-link { border-color: #bd4c2d; background: #bd4c2d; color: #fff; }
.home-primary-link:hover { border-color: #a73f25; background: #a73f25; color: #fff; }
.home-week-plan, .home-principles-section, .home-end-section { border-color: var(--line); }
.home-footer { border-color: var(--line); background: #f1f3f7; }
.radar-home-search button b { color: #fff; }
.home-account button { border-color: #d7dce6; background: #fff; color: #35435d; }
.home-account button:hover { border-color: #c4ccda; background: #eef0f5; }
.home-account button:before { border-color: #202a43; background: #202a43; box-shadow: none; }
.home-account button.product-account { border-color: #d7dce6; background: #202a43; color: #fff; }
.home-account button.product-account:hover { border-color: #303d5d; background: #303d5d; }
.home-module-services { border-color: var(--line); background: #fff; box-shadow: 0 8px 24px rgba(30,38,54,.045); }
.home-module-services .home-module-icon { border-color: #f0d6cc; background: #fff0e9; color: #9f4025; }

/* Desktop type scale: restore a clear hierarchy and give controls room to wrap. */
@media (min-width: 851px) {
  body { font-size: 15px; }
  .nav-item { font-size: 13px; }
  .crumb { font-size: 13px; }
  .crumb-tag { font-size: 11px; }
  .crumb strong { font-size: 14px; }
  .text-button { font-size: 13px; }
  .page-heading h1 { font-size: 27px; }
  .page-heading p { font-size: 14px; }
  .filter-shell { padding-top: 14px; padding-bottom: 14px; }
  .saved-row { min-height: 34px; height: auto; flex-wrap: wrap; gap: 8px 10px; font-size: 13px; }
  .saved-trigger { min-height: 32px; height: auto; padding: 6px 10px; font-size: 12px; line-height: 1.3; }
  .filter-row { gap: 9px; row-gap: 9px; }
  .filter-wrap, .filter-button { min-height: 40px; }
  .filter-button { height: 40px; font-size: 13px; }
  .filter-menu-clear, .filter-option { min-height: 36px; height: auto; font-size: 13px; }
  .search-wrap { min-height: 40px; height: 40px; }
  .search-input { font-size: 13px; }
  .search-submit { min-width: 70px; min-height: 34px; height: 34px; font-size: 13px; }
  .filter-clear { min-height: 40px; height: auto; font-size: 13px; }
  .table-head { font-size: 13px; letter-spacing: .04em; }
  .company-name { font-size: 16px; }
  .company-sub { font-size: 12px; }
  .verification-note { font-size: 11px; }
  .company-info { font-size: 11px; }
  .tag { font-size: 12px; }
  .industry-text { font-size: 14px; }
  .industry-text span { font-size: 12px; }
  .deadline { font-size: 13px; }
  .deadline-urgency { font-size: 10px; }
  .row-actions { min-width: 0; gap: 7px; }
  .row-actions .action-button { min-width: 0; min-height: 38px; padding: 8px 7px; font-size: 12px; line-height: 1.35; }
  .source-fallback { font-size: 12px; line-height: 1.4; }
  .pagination { height: auto; min-height: 58px; flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
  .pagination-count, .page-num { font-size: 12px; }
  .quota { max-width: 320px; font-size: 12px; }
  .pager-btn, .jump-btn, .jump-input { min-height: 36px; height: auto; font-size: 12px; }
  .opportunity-radar { margin-top: 16px; }
  .radar-kicker, .radar-home-kicker { font-size: 11px; }
  .opportunity-radar h1 { font-size: clamp(27px, 2.1vw, 34px); }
  .opportunity-radar-copy p, .radar-home-copy > p { font-size: 14px; }
  .radar-stat-grid strong, .radar-home-stats strong { font-size: 24px; }
  .radar-stat-grid span, .radar-home-stats span { font-size: 11px; }
  .radar-footnote, .radar-deadline-foot { font-size: 10px; }
  .radar-home-search label, .radar-home-search button { min-height: 48px; height: 48px; }
  .radar-home-search input, .radar-home-search button { font-size: 13px; }
  .radar-home-quick a { font-size: 12px; }
  .radar-deadline-heading strong { font-size: 14px; }
  .radar-deadline-copy strong { font-size: 12px; }
  .radar-deadline-copy small { font-size: 10px; }
  .home-section-heading h2, .home-week-plan h2 { font-size: 28px; }
  .home-section-heading p, .home-module p, .home-week-plan > div:first-child > p,
  .home-principles-section > div:first-child > p { font-size: 13px; }
  .home-module h3 { font-size: 17px; }
  .home-module > b, .home-week-tasks strong, .home-proof-card strong { font-size: 13px; }
  .home-week-tasks small, .home-proof-card p { font-size: 11px; }
  .stat-label { color: #68758a; font-size: 13px; }
  .stat-value { color: #202a43; font-size: 29px; }
  .stat-foot { color: #778399; font-size: 12px; }
  .dashboard-page .page-heading h1 { font-size: 25px; line-height: 1.2; }
  .dashboard-panel-heading .panel-title { color: #263249; font-size: 16px; }
  .dashboard-stage-counts > div > span { font-size: 11px; }
  .dashboard-stage-counts > div > b { font-size: 30px; }
  .dashboard-report-copy .dashboard-kicker { font-size: 10px; }
  .dashboard-report-copy > strong { font-size: 15px; }
  .dashboard-report-copy > p { color: #68758a; font-size: 12px; }
  .page-heading .experiment-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    flex: 0 1 660px;
    width: min(660px, 60%);
    gap: 8px;
  }
  .page-heading .experiment-actions button {
    min-width: 0;
    min-height: 40px;
    height: auto;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .progress-item > .secondary-btn, .progress-item > .danger-btn {
    height: auto;
    min-height: 36px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .detail-sub, .experiment-note { color: #68758a; font-size: 13px; line-height: 1.65; }
  .panel-title { color: #263249; font-size: 17px; }
  .list-card-title { color: #263249; font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
  .list-card-sub { color: #68758a; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
  .review-pagination { font-size: 12px; }
  .review-filters select, .review-filters input { min-height: 40px; font-size: 13px; }
  .review-filters button { min-height: 40px; height: auto; font-size: 13px; white-space: normal; overflow-wrap: anywhere; }
  .benchmark-gate small, .benchmark-quality { color: #68758a; font-size: 12px; line-height: 1.55; }
  .row-actions .action-button { width: 100%; height: auto; min-height: 38px; white-space: normal; overflow-wrap: anywhere; text-align: center; line-height: 1.35; }
}

@media (min-width: 851px) and (max-width: 1100px) {
  .page-heading .experiment-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(480px, 56%); }
}

/* Long labels wrap inside controls instead of being clipped or spilling out. */
.action-button, .waitlist-action-button, .waitlist-applied-button, .waitlist-remove-button,
.primary-btn, .secondary-btn, .danger-btn, .product-primary, .product-secondary,
.search-submit, .saved-trigger {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.row-actions, .waitlist-actions-cell, .waitlist-manage-cell { min-width: 0; }
.primary-btn:focus-visible, .secondary-btn:focus-visible, .product-primary:focus-visible,
.product-secondary:focus-visible, .action-button:focus-visible, .waitlist-action-button:focus-visible,
.filter-button:focus-visible, .search-submit:focus-visible, .pager-btn:focus-visible,
.jump-btn:focus-visible, .saved-trigger:focus-visible {
  outline: 3px solid rgba(189,76,45,.35);
  outline-offset: 2px;
}

/* Keep the job library in the document flow so the browser owns vertical scrolling. */
.jobs-wrap { height: auto; min-height: 0; overflow: visible; display: block; }
.jobs-table { height: auto; min-height: 0; display: block; flex: none; }
@media (min-width: 851px) {
  .jobs-list { height: auto; max-height: none; overflow-x: auto; overflow-y: hidden; flex: none; }
  .table-head { position: sticky; top: 118px; z-index: 3; }
}

/* Keep the home module actions legible and comfortably sized. */
.home-module > b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-sizing: border-box;
  min-width: 176px;
  max-width: 100%;
  min-height: 54px;
  margin-top: auto;
  padding: 0 20px;
  border: 1px solid #314158;
  border-radius: 999px;
  background: #1d293d;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
}
.home-module > b span { margin-left: auto; color: #fff; }

.industry-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Let company details wrap when the desktop table has limited width. */
@media (max-width: 1440px) {
  .job-row {
    height: auto;
    min-height: 194px;
    align-items: stretch;
    overflow: visible;
  }
  .job-company { height: auto; min-height: 0; }
  .company-titleline {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 6px;
  }
  .company-info-wrap { grid-row: 2; }
  .company-name {
    display: block;
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
  }
  .company-sub, .verification-note {
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }
  .industry-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .home-module > b { min-width: 158px; min-height: 46px; padding: 0 16px; font-size: 12px; }
}

body.ops-mode { background: #f4f5f2; }
body.ops-mode .sidebar, body.ops-mode .topbar, body.ops-mode .mobile-tabbar { display: none !important; }
body.ops-mode .main-area { margin-left: 0; }
body.ops-mode .page-root { min-height: 100vh; padding: 0 28px 40px; }
.ops-shell { max-width: 1440px; margin: 0 auto; padding: 22px 0; }
.ops-shell-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding: 15px 18px; border: 1px solid #e4e8e1; border-radius: 14px; background: #fff; }
.ops-shell-header > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ops-shell-header > div strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #243328; }
.ops-menu { display: flex; gap: 7px; margin: 0 0 18px; padding: 6px; overflow-x: auto; border: 1px solid #e3e7df; border-radius: 12px; background: #fff; }
.ops-menu-item { flex: 0 0 auto; min-height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent; color: #667269; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ops-menu-item:hover { background: #f3f6f1; color: #2b583d; }
.ops-menu-item.active { background: #28633f; color: #fff; box-shadow: 0 4px 10px #28633f26; }
.ops-menu-content { min-width: 0; }
.ops-section[hidden] { display: none !important; }
.ops-section > div { display: grid; gap: 14px; min-width: 0; }
.ops-user-search { max-width: none; margin-bottom: 12px; }
.ops-user-search input { flex: 1; min-width: 180px; }
.ops-compensation-form { margin-top: 18px; padding-top: 16px; border-top: 1px solid #edf0f5; }
.ops-compensation-form .full { grid-column: 1 / -1; }
@media (max-width: 620px) {
  body.ops-mode .page-root { padding: 0 12px 24px; }
  .ops-shell { padding-top: 12px; }
  .ops-shell-header { padding: 12px; }
  .ops-shell-header .source-badge { display: none; }
  .ops-menu { position: sticky; top: 6px; z-index: 4; margin: 0 -12px 14px; padding: 7px 12px; border-radius: 0; }
  .ops-menu-item { min-height: 42px; padding: 0 13px; }
  .ops-compensation-form { grid-template-columns: 1fr; }
  .ops-compensation-form .full { grid-column: auto; }
}
