:root {
      --paper: #f4f0e7;
      --paper-deep: #e8e1d5;
      --ink: #151816;
      --muted: #676b64;
      --faint: #9a9c94;
      --rule: #d4cec2;
      --red: #c8373b;
      --red-dark: #8f1f2d;
      --blue: #173f36;
      --blue-soft: #d9e9df;
      --gold: #9c671d; /* Reserved for warning states. */
      --white: #fffdf8;
      --shadow: 0 16px 45px rgba(38, 32, 22, .09);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: var(--paper);
      font-synthesis: none;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; background: var(--paper); }
    body { margin: 0; min-width: 320px; background: radial-gradient(circle at 70% -20%, rgba(200,55,59,.11), transparent 32rem), radial-gradient(circle at 8% 38%, rgba(23,63,54,.06), transparent 28rem), var(--paper); color: var(--ink); }
    body:before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .22; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E"); mix-blend-mode: multiply; z-index: -1; }
    button, input, select { font: inherit; }
    button { color: inherit; }
    a { color: inherit; }
    .top-rule { height: 7px; background: var(--red); }
    .site-shell { width: min(1320px, calc(100% - 64px)); margin: 0 auto; padding: 22px 0 52px; }
    .brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
    .brand-symbol { color: var(--red); display:inline-flex; line-height:1; }
    .brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 700; letter-spacing: -.045em; }
    .brand-copy { color: var(--muted); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
    .main-nav { display: flex; gap: 22px; align-items: center; font-size: 13px; }
    .main-nav a { text-decoration: none; color: var(--muted); }
    .main-nav a:hover { color: var(--red-dark); }
    .live-chip { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; }
    .language-switch { display: inline-flex; align-items: center; gap: 3px; margin-right: 3px; border: 1px solid var(--rule); background: var(--white); padding: 2px 4px; }
    .language-switch button { border: 0; background: transparent; color: var(--muted); padding: 3px 4px; font: inherit; font-weight: 700; cursor: pointer; }
    .language-switch button.active { color: var(--red-dark); background: rgba(200,55,59,.08); }
    .language-switch button:focus-visible { outline: 2px solid var(--red-dark); outline-offset: 1px; }
    .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(23,63,54,.12); }
    .live-dot.warn { background: #bd7622; box-shadow: 0 0 0 4px rgba(189,118,34,.12); }
    .refresh-button { border: 0; border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; padding: 1px 0 2px; font-size: 12px; }
    .refresh-button:hover { color: var(--red-dark); border-color: var(--red-dark); }
    .hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 80px; align-items: end; padding: 78px 0 62px; border-bottom: 1px solid var(--ink); }
    .kicker { color: var(--red-dark); font-size: 11px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
    h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
    h1 { font-size: clamp(47px, 7vw, 94px); line-height: .92; letter-spacing: -.067em; margin: 18px 0 24px; max-width: 850px; }
    h1 em { color: var(--red); font-style: normal; }
    .hero p { max-width: 580px; color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0; }
    .hero-actions { display: flex; gap: 20px; margin-top: 28px; font-size: 13px; font-weight: 700; }
    .hero-actions a { text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
    .hero-actions a:first-child { color: var(--red-dark); border-color: var(--red-dark); }
    .hero-ledger { background: var(--blue); color: var(--white); padding: 27px 27px 23px; box-shadow: var(--shadow); transform: rotate(1deg); }
    .ledger-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .72; }
    .ledger-number { font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 6vw, 74px); line-height: .95; letter-spacing: -.06em; margin: 24px 0 3px; }
    .ledger-unit { font-size: 14px; }
    .ledger-rule { height: 1px; background: rgba(255,255,255,.32); margin: 25px 0 15px; }
    .ledger-meta { display: flex; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.7); font-size: 12px; }
    .ledger-meta strong { color: var(--white); font-weight: 600; }
    .stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-bottom: 1px solid var(--ink); margin-bottom: 0; }
    .stat { min-height: 126px; padding: 20px 19px 17px; border-right: 1px solid var(--rule); }
    .stat:last-child { border-right: 0; }
    .stat-top { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 12px; line-height: 1.3; }
    .stat-value { font-family: Georgia, "Times New Roman", serif; font-size: 34px; letter-spacing: -.05em; margin-top: 18px; }
    .stat-delta { color: var(--red-dark); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
    .stat-delta.amber { color: #9c671d; }
    .section { padding: 68px 0 72px; border-bottom: 1px solid var(--ink); }
    .section-intro { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 18px; margin-bottom: 30px; }
    .section-number { color: var(--red); font-family: Georgia, "Times New Roman", serif; font-size: 28px; }
    .section h2 { font-size: clamp(34px, 4vw, 55px); line-height: .98; letter-spacing: -.055em; margin: 9px 0 12px; }
    .section-intro p { color: var(--muted); max-width: 640px; line-height: 1.55; margin: 0; font-size: 15px; }
    .workspace { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 26px; align-items: start; }
    .panel { background: rgba(255,253,248,.7); border: 1px solid var(--rule); box-shadow: var(--shadow); }
    .panel-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 18px 19px; border-bottom: 1px solid var(--rule); }
    .panel-title { font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
    .panel-subtitle { color: var(--muted); font-size: 12px; margin-top: 6px; }
    .tag { display: inline-flex; align-items: center; border: 1px solid var(--rule); padding: 5px 8px; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
    .tag.mint { color: var(--red-dark); border-color: rgba(200,55,59,.35); background: rgba(200,55,59,.07); }
    .tag.blue { color: var(--blue); border-color: rgba(23,63,54,.25); background: var(--blue-soft); }
    .tag.amber { color: #8b6418; border-color: rgba(219,168,62,.45); background: rgba(219,168,62,.16); }
    .search-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px 160px; gap: 9px; padding: 15px; border-bottom: 1px solid var(--rule); background: var(--paper-deep); }
    .search-wrap { position: relative; }
    .search-icon { position: absolute; left: 12px; top: 10px; color: var(--red-dark); font-size: 16px; }
    .search { width: 100%; padding: 10px 13px 10px 34px; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: var(--white); outline: none; }
    .search-note { padding: 0 15px; margin: 10px 0 0; color: var(--muted); font-size: 11px; }
    .job-list { padding: 0 14px; }
    .job-pagination { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 14px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--rule); }
    .job-pagination button { border: 1px solid var(--rule); background: var(--white); color: var(--ink); padding: 8px 11px; cursor: pointer; }
    .job-pagination button:disabled { opacity: .45; cursor: default; }
    .job-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 19px 7px; border-bottom: 1px solid var(--rule); cursor: pointer; transition: background .18s ease, padding .18s ease; }
    .job-card:hover { background: rgba(200,55,59,.055); padding-left: 12px; padding-right: 2px; }
    .job-main { min-width: 0; }
    .job-title { font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; letter-spacing: -.025em; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .job-company { color: var(--red-dark); font-size: 13px; margin-bottom: 11px; }
    .job-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; color: var(--muted); font-size: 12px; }
    .job-meta span { display: inline-flex; align-items: center; gap: 5px; }
    .job-meta b { color: var(--faint); font-size: 10px; letter-spacing: .08em; }
    .job-side { display: flex; align-items: end; flex-direction: column; gap: 10px; min-width: 105px; text-align: right; }
    .posted { color: var(--faint); font-size: 11px; }
    .empty { padding: 42px 18px; text-align: center; color: var(--muted); font-size: 13px; }
    .side-stack { display: grid; gap: 18px; }
    .health-list { padding: 9px 18px 14px; }
    .health-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
    .health-row:last-child { border-bottom: 0; }
    .health-name { display: flex; align-items: center; gap: 9px; font-size: 13px; }
    .health-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
    .health-dot.warn { background: #bd7622; }
    .health-dot.bad { background: var(--red); }
    .health-status { color: var(--muted); font-size: 11px; }
    .coverage { padding: 18px 18px 19px; }
    .coverage + .coverage { border-top: 1px solid var(--rule); }
    .coverage-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 11px; }
    .coverage-head strong { color: var(--ink); font-size: 13px; }
    .coverage-note { color: var(--muted); font-size: 11px; margin: -4px 0 11px; }
    .bar { height: 7px; background: var(--paper-deep); overflow: hidden; }
    .bar span { display: block; height: 100%; background: var(--red); }
    .province { display: grid; grid-template-columns: 28px 1fr 40px; align-items: center; gap: 7px; margin-top: 12px; font-size: 11px; color: var(--muted); }
    .province .bar { height: 5px; }
    .province em { color: var(--ink); font-style: normal; text-align: right; }
    .market-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 26px; }
    .market-card { border-top: 5px solid var(--red); background: var(--blue); color: var(--white); padding: 25px; box-shadow: var(--shadow); }
    .market-card .kicker { color: var(--white); }
    .market-card h3 { font-size: 37px; line-height: 1; letter-spacing: -.05em; margin: 14px 0 12px; }
    .market-card p { color: rgba(255,255,255,.75); line-height: 1.55; font-size: 14px; max-width: 550px; margin: 0; }
    .market-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.28); }
    .market-fact { padding: 15px 14px 0 0; border-right: 1px solid rgba(255,255,255,.22); margin-right: 14px; }
    .market-fact:last-child { border-right: 0; margin-right: 0; }
    .market-fact strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 28px; }
    .market-fact span { color: rgba(255,255,255,.65); font-size: 11px; }
    .market-note { border: 1px solid var(--rule); padding: 24px; background: rgba(255,253,248,.65); }
    .market-note h3 { margin: 0 0 12px; font-size: 24px; }
    .market-note p { color: var(--muted); line-height: 1.55; font-size: 14px; margin: 0 0 17px; }
    .market-note a { color: var(--red-dark); font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
    .snapshot-panel { margin-top: 26px; background: rgba(255,253,248,.7); border: 1px solid var(--rule); box-shadow: var(--shadow); }
    .snapshot-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; padding: 19px; border-bottom: 1px solid var(--rule); }
    .snapshot-head h3 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
    .snapshot-head p { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
    .snapshot-controls { align-items:end; display: grid; grid-template-columns: minmax(0, 1fr) 170px auto; gap: 9px; padding: 14px; background: var(--paper-deep); border-bottom: 1px solid var(--rule); }
    .snapshot-controls input, .snapshot-controls select { width: 100%; }
    .snapshot-list { min-height: 100px; }
    .snapshot-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(150px, .8fr) 130px 72px; gap: 15px; align-items: center; padding: 14px 19px; border-bottom: 1px solid var(--rule); font-size: 13px; }
    .snapshot-row:last-child { border-bottom: 0; }
    .snapshot-title { font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 700; }
    .snapshot-location, .snapshot-type, .snapshot-date { color: var(--muted); font-size: 12px; }
    .snapshot-vacancies { color: var(--red-dark); font-family: Georgia, "Times New Roman", serif; font-size: 20px; text-align: right; }
    .snapshot-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 19px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 12px; }
    .snapshot-pagination button { border: 1px solid var(--ink); background: transparent; padding: 7px 10px; cursor: pointer; }
    .snapshot-pagination button:disabled { opacity: .35; cursor: default; }
    .economy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); box-shadow: var(--shadow); }
    .economy-card { min-height: 150px; padding: 18px; background: rgba(255,253,248,.82); }
    .economy-card:nth-child(-n+4) { border-top: 4px solid var(--red); }
    .economy-card:nth-child(n+5) { border-top: 4px solid var(--blue); }
    .economy-label { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
    .economy-value { font-family: Georgia, "Times New Roman", serif; font-size: 31px; letter-spacing: -.05em; margin: 18px 0 5px; }
    .economy-delta { color: var(--red-dark); font-size: 12px; }
    .economy-delta.cool { color: var(--blue); }
    .economy-context { color: var(--muted); font-size: 11px; line-height: 1.4; margin-top: 9px; }
    .economy-source { display: block; color: var(--red-dark); font-size: 10px; margin-top: 10px; text-decoration: none; }
    .economy-source:hover { text-decoration: underline; }
    .economy-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 28px 0 13px; }
    .economy-toolbar h3 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
    .economy-toolbar p { color: var(--muted); font-size: 12px; margin: 5px 0 0; }
    .economy-table-wrap { overflow-x: auto; background: rgba(255,253,248,.78); border: 1px solid var(--rule); box-shadow: var(--shadow); }
    .economy-table { width: 100%; border-collapse: collapse; min-width: 720px; }
    .economy-table th, .economy-table td { padding: 13px 15px; border-bottom: 1px solid var(--rule); text-align: right; font-size: 12px; white-space: nowrap; }
    .economy-table th { color: var(--muted); background: var(--paper-deep); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
    .economy-table th:first-child, .economy-table td:first-child { text-align: left; }
    .economy-table td:first-child { font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 700; }
    .economy-table tr:last-child td { border-bottom: 0; }
    .economy-table .rate-high { color: var(--red-dark); font-weight: 800; }
    .economy-table .rate-low { color: var(--blue); font-weight: 800; }
    .economy-table .move-up { color: var(--red-dark); }
    .economy-table .move-down { color: var(--blue); }
    .economy-method { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 13px; }
    .economy-method a { color: var(--red-dark); }
    .footer { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 11px; padding-top: 20px; }
    .footer strong { color: var(--ink); }
    .drawer-backdrop { position: fixed; inset: 0; display: none; background: rgba(17,18,15,.58); backdrop-filter: blur(4px); z-index: 4; }
    .drawer { position: fixed; z-index: 5; right: 0; top: 0; height: 100%; width: min(1040px, 100%); background: var(--paper); border-left: 1px solid var(--ink); box-shadow: -20px 0 60px rgba(0,0,0,.25); transform: translateX(102%); transition: transform .24s ease; overflow: auto; }
    .drawer.open { transform: translateX(0); }
    .drawer-backdrop.open { display: block; }
    .drawer-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; padding: 23px; border-bottom: 1px solid var(--ink); }
    .drawer-head h2 { margin: 0; font-size: 29px; line-height: 1.05; letter-spacing: -.04em; }
    .drawer-head p { margin: 8px 0 0; color: var(--red-dark); font-size: 13px; }
    .drawer-content { padding: 26px 32px 34px; }
    .detail-block { margin-bottom: 24px; }
    .detail-label { color: var(--red-dark); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 800; margin-bottom: 8px; }
    .detail-value { color: var(--ink); line-height: 1.65; font-size: 14px; }
    .benefit-list { display:grid; gap:9px; }
    .benefit-item { display:flex; align-items:flex-start; gap:9px; font-size:14px; line-height:1.45; }
    .benefit-item svg { flex:0 0 18px; width:18px; height:18px; margin-top:2px; fill:none; stroke:var(--red-dark); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
    .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
    .salary-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; align-items: start; }
    .salary-benefits-grid .detail-block { min-width: 0; }
    .salary-benefits-grid .detail-label { line-height: 1.5; letter-spacing: .07em; font-size: 11px; }
    .salary-benefits-grid .detail-value { overflow-wrap: anywhere; }
    .salary-estimate { display: grid; gap: 5px; }
    .salary-estimate-line { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(125px, .8fr); gap: 18px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--rule); }
    .salary-estimate-line:last-child { border-bottom: 0; }
    .salary-estimate-label { color: var(--muted); }
    .salary-estimate-value { min-width: 0; font-variant-numeric: tabular-nums; text-align: right; font-weight: 700; line-height: 1.55; }
    .salary-method-note { margin-top: 14px; padding: 11px 12px; background: var(--paper-deep); color: var(--muted); font-size: 11px; line-height: 1.55; }
    .salary-method-note [lang="fr"] { display: block; margin-top: 6px; }
    .bilingual-line { display: block; }
    .bilingual-line [lang="fr"] { display: block; color: var(--muted); font-size: .92em; margin-top: 2px; }
    .benefit-item [lang="fr"] { display: block; color: var(--muted); font-size: 12px; }
    .apply-button { display: inline-flex; align-items: center; justify-content: center; width: 100%; border: 0; border-radius: 0; background: var(--red); color: var(--white); padding: 13px 15px; font-weight: 750; cursor: pointer; text-decoration: none; margin-top: 4px; }
    .apply-button:hover { background: var(--red-dark); }
    .close-button { border: 1px solid var(--ink); background: transparent; border-radius: 0; padding: 7px 11px; cursor: pointer; }
    @media (max-width: 760px) { .drawer-content { padding: 22px 20px 28px; } .salary-benefits-grid { grid-template-columns: 1fr; gap: 0; } .salary-estimate-line { grid-template-columns: minmax(0, 1fr) minmax(120px, .75fr); gap: 12px; } }

/* Shared header: three fixed zones keep every route aligned. */
.masthead { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; column-gap:24px; border-bottom:1px solid var(--ink); padding-bottom:15px; }
.masthead .brand { justify-self:start; min-width:0; }
.masthead .main-nav { justify-self:center; min-width:max-content; }
.masthead .live-chip { justify-self:end; }
.brand-mark { display:block; width:36px; height:36px; object-fit:contain; }
.main-nav a[aria-current] { color:var(--red-dark); font-weight:700; border-bottom:2px solid var(--red); padding-bottom:5px; }

/* Shared controls and focus treatment. */
select { width:100%; max-width:100%; min-width:0; min-height:42px; padding:9px 34px 9px 12px; border:1px solid var(--ink); border-radius:0; background:var(--white); color:var(--ink); font:inherit; line-height:1.25; outline:none; cursor:pointer; }
.search:focus, select:focus { border-color:var(--red); box-shadow:0 0 0 3px rgba(200,55,59,.12); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline:3px solid var(--red); outline-offset:3px; }
.hero-copy, .chart-layout, .panel, .market-explorer { min-width:0; }
.bar, .regional-chart, .province { min-width:0; overflow:hidden; }
.bar span { max-width:100%; }
.chart-controls, .economy-toolbar, .snapshot-controls { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; align-items:end; }
.chart-controls label, .economy-toolbar label, .snapshot-controls label { display:grid; gap:6px; min-width:0; }

@media (max-width:980px) { .hero { grid-template-columns:1fr; gap:34px; } .hero-ledger { max-width:440px; } .workspace, .market-grid { grid-template-columns:1fr; } .side-stack { grid-template-columns:1fr 1fr; } }
@media (max-width:700px) {
  .site-shell { width:min(100% - 30px,1320px); padding-top:16px; }
  .masthead { display:flex; align-items:flex-start; flex-wrap:wrap; gap:12px; }
  .masthead .brand { order:1; }
  .masthead .live-chip { order:2; margin-left:auto; }
  .masthead .main-nav { order:3; width:100%; min-width:0; overflow-x:auto; justify-content:flex-start; padding-top:4px; }
  .hero { padding:54px 0 42px; }
  h1 { font-size:clamp(45px,15vw,72px); }
  .hero p { font-size:16px; }
  .stats { grid-template-columns:1fr 1fr; }
  .stat { min-height:110px; border-bottom:1px solid var(--rule); }
  .stat:nth-child(2n) { border-right:0; }
  .stat:last-child { grid-column:span 2; border-bottom:0; }
  .section { padding:48px 0 54px; }
  .section-intro { grid-template-columns:42px 1fr; gap:10px; }
  .search-row { grid-template-columns:1fr 1fr; }
  .search-wrap { grid-column:span 2; }
  .side-stack { grid-template-columns:1fr; }
  .job-card { grid-template-columns:1fr; gap:9px; }
  .job-side { align-items:flex-start; flex-direction:row; text-align:left; }
  .market-facts { grid-template-columns:1fr 1fr; }
  .market-fact:nth-child(2) { border-right:0; margin-right:0; }
  .market-fact:last-child { grid-column:span 2; margin-top:12px; padding-top:12px; border-top:1px solid rgba(255,255,255,.22); }
  .economy-grid { grid-template-columns:1fr 1fr; }
  .economy-method { display:block; }
  .economy-method span { display:block; margin-top:7px; }
  .footer { display:block; line-height:1.8; }
}
@media (max-width:560px) {
  .chart-controls, .economy-toolbar, .snapshot-controls { grid-template-columns:1fr; }
  .chart-controls select, .economy-toolbar select, .snapshot-controls select { width:100%; }
}
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior:auto !important; transition-duration:.01ms !important; } }


.ledger-refresh { margin-top:12px; }
.value-unit, .snapshot-unit { display:block; font:12px Inter,ui-sans-serif,system-ui,sans-serif; color:var(--muted); }
/* Quiet, in-page analytics controls; automatic collection has no modal gate. */
.traffic-preferences{max-width:76rem;margin:1rem auto;padding:0 1.5rem;font-size:13px;line-height:1.6;color:var(--ink);flex-basis:100%}
.traffic-preferences summary{cursor:pointer;text-decoration:underline}
.traffic-preferences p{max-width:65ch}
.traffic-preferences button{font:inherit;border:1px solid currentColor;background:transparent;color:inherit;padding:.5rem .8rem;cursor:pointer;margin-right:1rem}
.traffic-preferences [role="status"]{display:inline-block}
