:root {
  color-scheme: light;
  --bg: #f3f5f9; --surface: #fff; --surface-2: #f6f8fb;
  --text: #202b42; --text-2: #526077; --text-3: #65728a;
  --line: #e5e9f1; --accent: #375bc7; --accent-soft: #edf2ff;
  --sci: #347d72; --sci-soft: #eaf5f1; --arts: #98559c; --arts-soft: #f6edf7;
  --warn: #9a6316; --warn-soft: #fff4df; --danger: #b3443a; --danger-soft: #fdf0ed;
  --info: #375bc7; --info-soft: #edf2ff; --radius: 16px; --panel-shadow: 0 3px 18px rgba(24, 36, 59, .035);
  --rail: #18243b; --rail-text: #c0cadd; --rail-active: #2b3e62;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111824; --surface: #192332; --surface-2: #202d40;
  --text: #e6ecf5; --text-2: #b3bfd2; --text-3: #9aaac2;
  --line: #2c3b50; --accent: #a3baff; --accent-soft: #273959;
  --sci: #8bd2bf; --sci-soft: #203d37; --arts: #dfade0; --arts-soft: #402b43;
  --warn: #ecc17a; --warn-soft: #403422; --danger: #f0a49a; --danger-soft: #422a2a;
  --info: #a3baff; --info-soft: #273959;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111824; --surface: #192332; --surface-2: #202d40;
    --text: #e6ecf5; --text-2: #b3bfd2; --text-3: #9aaac2;
    --line: #2c3b50; --accent: #a3baff; --accent-soft: #273959;
    --sci: #8bd2bf; --sci-soft: #203d37; --arts: #dfade0; --arts-soft: #402b43;
    --warn: #ecc17a; --warn-soft: #403422; --danger: #f0a49a; --danger-soft: #422a2a;
    --info: #a3baff; --info-soft: #273959;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.55 "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { transition: background-color 150ms, border-color 150ms, color 150ms; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled, select:disabled { opacity: .5; cursor: not-allowed; }
[hidden] { display: none !important; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; vertical-align: middle; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 50; padding: 12px 20px; background: var(--surface); border: 2px solid var(--accent); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.workspace { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100vh; height: 100dvh; }
.sidebar { isolation: isolate; position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; padding: 32px 18px 20px; background: var(--rail); color: var(--rail-text); }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px; text-decoration: none; color: #fff; font-size: 20px; font-weight: 650; letter-spacing: -.5px; }
.brand-mark { box-shadow: 0 4px 14px #0002; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #3b60ce; color: #fff; }
.brand-mark .icon { width: 27px; height: 27px; }
.brand small { display: block; font-size: 12px; color: #b2bfd5; letter-spacing: .1px; font-weight: 400; margin-top: 1px; }
.navigation { display: flex; flex-direction: column; gap: 5px; margin-top: 43px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: transparent; color: var(--rail-text); padding: 12px 13px; border-radius: 7px; font-size: 13px; text-align: left; text-decoration: none; white-space: nowrap; }
.nav-item.active { background: var(--rail-active); color: #fff; font-weight: 600; }
.nav-item:hover { background: #273851; color: #fff; }
.nav-item:focus-visible, .brand:focus-visible { outline-color: #a6bfff; }
.nav-count { margin-left: auto; color: #c5d3ee; font-size: 12px; font-variant-numeric: tabular-nums; }
.nav-item.active .nav-count { background: #40577e; border-radius: 5px; padding: 0 6px; }
.sidebar-note { margin: auto 8px 28px; padding-top: 36px; font-size: 12px; }
.sidebar-note strong { display: block; font-size: 12px; color: #d9e3f4; font-weight: 500; margin-top: 12px; }
.sidebar-note p { color: #acbbd3; line-height: 1.8; max-width: 22ch; margin: 6px 0 0; }
.live-dot { width: 6px; height: 6px; background: #8baddf; display: block; border-radius: 50%; }
.profile { display: flex; align-items: center; gap: 10px; border-top: 1px solid #344158; padding: 20px 6px 0; font-size: 12px; color: #e1e7f2; }
.avatar { width: 33px; height: 33px; display: grid; place-items: center; background: #35465f; border-radius: 50%; color: #dae5ff; font-size: 12px; font-weight: 600; }
.profile small { display: block; color: #acbbd3; font-size: 12px; margin-top: 2px; }
.workspace-main { min-width: 0; }
.topbar { min-height: 72px; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.breadcrumb { display: flex; align-items: center; gap: 11px; color: var(--text-3); font-size: 12px; }
.breadcrumb .icon { width: 13px; height: 13px; }
.breadcrumb span { color: var(--text); }
.meta { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 12px; }
.health { display: inline-flex; gap: 4px; }
.dot { width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: var(--sci); }
.dot.carried { background: var(--warn); } .dot.empty { background: var(--danger); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--surface); padding: 7px 12px; min-height: 34px; border-radius: 7px; color: var(--text-2); font-size: 12px; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.theme-btn { width: 34px; padding: 7px; margin-left: 7px; }
.theme-btn .icon { width: 16px; height: 16px; }
.main-content { max-width: 1600px; margin: 0 auto; padding: 36px 40px 24px; }
.page-heading { position: relative; min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
h1 { font-size: 34px; font-weight: 650; letter-spacing: -1.1px; line-height: 1.25; margin: 0; }
.page-heading p { color: var(--text-2); font-size: 13px; margin: 9px 0 0; }
.location-label { align-self: flex-end; margin-bottom: 7px; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-2); white-space: nowrap; }
.location-label .icon { width: 15px; height: 15px; }
.overview { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; row-gap: 8px; margin: 20px 0 28px; color: var(--text-3); font-size: 12px; }
.overview > span { display: inline-flex; align-items: center; gap: 5px; }
.overview strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.overview .icon { width: 13px; height: 13px; margin-right: 2px; }
.overview-dot { height: 6px; width: 6px; background: var(--sci); border-radius: 50%; margin-right: 3px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.feed-panel, .pipeline-panel, .shortlist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; box-shadow: var(--panel-shadow); }
.feed-panel { padding: 26px 26px 24px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
h2 { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.25px; }
.panel-heading p { margin: 4px 0 0; font-size: 12px; color: var(--text-3); }
.panel-heading > .icon { color: var(--text-3); width: 16px; height: 16px; }
.text-btn { border: 0; padding: 7px 0 7px 8px; color: var(--accent); background: transparent; font-size: 12px; white-space: nowrap; }
.text-btn:hover { text-decoration: underline; }
.search-wrap { position: relative; margin: 21px 0 19px; }
.search-wrap > .icon { position: absolute; left: 13px; top: 16px; color: var(--text-3); width: 17px; height: 17px; }
.search { box-shadow: 0 1px 2px #18243b03; width: 100%; min-width: 0; height: 48px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); padding: 0 46px 0 39px; font-size: 12px; }
.search::placeholder { color: var(--text-3); opacity: 1; }
kbd { position: absolute; top: 14px; right: 12px; min-width: 20px; height: 21px; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; text-align: center; font: inherit; font-size: 12px; line-height: 19px; color: var(--text-3); }
.tabs { display: flex; gap: 4px; background: var(--surface-2); border-radius: 9px; padding: 4px; }
.tab { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 1 1 auto; border: 1px solid transparent; background: transparent; color: var(--text-2); font-size: 12px; font-weight: 500; padding: 9px 8px; border-radius: 6px; white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--accent); background: var(--surface); border-color: var(--line); box-shadow: 0 1px 3px #18243b08; }
.tab:hover { color: var(--accent); }
.n, .count { font-size: 12px; background: var(--surface-2); color: var(--text-2); border-radius: 4px; min-width: 20px; padding: 1px 5px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.tab[aria-selected="true"] .n { background: var(--accent-soft); color: var(--accent); }
.track-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.track-dot.science { background: var(--sci); } .track-dot.arts { background: var(--arts); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips:empty { display: none; }
.chip { border: 1px solid var(--line); border-radius: 5px; padding: 5px 8px; background: var(--surface); color: var(--text-2); font-size: 12px; }
.chip[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.chip:hover { background: var(--surface-2); }
.toolbar { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin: 15px 0 19px; }
.toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; border: 1px solid var(--line); border-radius: 5px; padding: 0 8px; font-size: 12px; color: var(--text-2); white-space: nowrap; cursor: pointer; }
.toggle:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.toggle:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.toggle input { accent-color: var(--accent); width: 12px; height: 12px; margin: 0; }
select { height: 32px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); padding: 0 22px 0 8px; color: var(--text-2); font-size: 12px; max-width: 100%; }
.results-toolbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.result-line { margin: 0; font-size: 12px; color: var(--text-3); }
.results-toolbar select { border-color: transparent; font-size: 12px; background-color: transparent; height: 28px; }
.list { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 13px; align-items: start; padding: 21px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row.gone { opacity: .65; }
.company-mark { border: 1px solid color-mix(in srgb, currentColor 8%, transparent); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sci-soft); color: var(--sci); font-size: 12px; font-weight: 650; letter-spacing: .3px; margin-top: 1px; }
.row:nth-child(3n+2) .company-mark { background: var(--accent-soft); color: var(--accent); }
.row[data-track="arts"] .company-mark { background: var(--arts-soft); color: var(--arts); }
.main { min-width: 0; }
.title { font-size: 16px; font-weight: 600; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.title:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sub { font-size: 13px; color: var(--text-2); margin-top: 4px; overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 9px; }
.tag { font-weight: 500; display: inline-block; max-width: 100%; border-radius: 4px; padding: 2px 6px; background: var(--surface-2); color: var(--text-2); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.tag.new { background: var(--info-soft); color: var(--info); font-weight: 600; }
.tag.cat-sci { background: var(--sci-soft); color: var(--sci); }
.tag.cat-arts { background: var(--arts-soft); color: var(--arts); }
.tag.due { background: var(--warn-soft); color: var(--warn); }
.tag.due.hot { background: var(--danger-soft); color: var(--danger); font-weight: 600; }
.tag.remote { background: var(--sci-soft); color: var(--sci); }
.actions { display: flex; gap: 5px; align-items: center; }
.status { border: 1px solid var(--line); border-radius: 5px; padding: 5px 8px; min-height: 30px; background: var(--surface); color: var(--text-2); font-size: 12px; white-space: nowrap; }
.status:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.status[data-s="saved"] { background: var(--info-soft); color: var(--info); border-color: transparent; }
.status[data-s="applied"] { background: var(--sci-soft); color: var(--sci); border-color: transparent; }
.status[data-s="interview"] { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.status[data-s="offer"] { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); font-weight: 600; }
.status[data-s="rejected"] { background: var(--surface-2); color: var(--text-3); text-decoration: line-through; }
.hide { display: grid; place-items: center; width: 26px; min-height: 30px; background: transparent; border: 0; border-radius: 4px; font-size: 17px; color: var(--text-3); }
.hide:hover { color: var(--danger); background: var(--danger-soft); }
.empty { padding: 40px 16px; color: var(--text-2); font-size: 13px; text-align: center; }
.more { display: block; border: 1px solid var(--line); background: var(--surface); border-radius: 6px; color: var(--text-2); font-size: 12px; padding: 9px 20px; margin: 20px auto 0; }
.more:hover { background: var(--surface-2); border-color: var(--text-3); }
.right-column { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pipeline-panel { padding: 21px 20px 0; }
.right-column h2 { font-size: 16px; }
.pipeline-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 24px 0 20px; }
.pipeline-stats strong { display: block; font-size: 28px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.pipeline-stats span { font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 5px; margin-top: 7px; }
.stage-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.stage-dot.saved { background: var(--info); }.stage-dot.applied { background: var(--sci); }.stage-dot.interview { background: var(--warn); }
.pipeline-link { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; border-top: 1px solid var(--line); color: var(--accent); background: transparent; font-size: 12px; padding: 14px 0; }
.pipeline-link .icon { width: 15px; height: 15px; }
.pipeline-link:hover { color: var(--text); }
.shortlist { padding: 21px 20px 5px; }
.shortlist h2 { display: flex; gap: 7px; align-items: center; }
.section-description { color: var(--text-3); font-size: 12px; margin: 7px 0 2px; }
.cards { display: flex; flex-direction: column; }
.card { padding: 22px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.card:last-child { border-bottom: 0; }
.card h3 { font-size: 14px; line-height: 1.6; margin: 0 0 7px; font-weight: 600; overflow-wrap: anywhere; }
.card h3 a { text-decoration: none; }.card h3 a:hover { color: var(--accent); text-decoration: underline; }
.who { font-size: 12px; color: var(--text-2); }
.terms { font-size: 12px; color: var(--text-3); margin-top: 6px; line-height: 1.8; }
.job-notes { font-size: 12px; color: var(--text-2); margin-top: 10px; }
.job-notes summary { font-size: 12px; padding-block: 5px; color: var(--accent); }
.note { line-height: 1.8; margin: 8px 0; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 13px; }
.foot > span { flex: 1 1 100%; }.foot > span:empty { display: none; }
.urgent .tag.due { font-weight: 600; }
.tracking-tip { display: flex; align-items: flex-start; gap: 11px; padding: 0 6px; color: var(--text-3); }
.tracking-tip > .icon { margin-top: 2px; width: 16px; height: 16px; }
.tracking-tip p { font-size: 12px; line-height: 1.8; margin: 0; }
.tracking-tip strong { color: var(--text-2); font-weight: 600; }
.boards { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; scroll-margin-top: 24px; }
.board-group { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.board-group h3 { font-size: 14px; font-weight: 600; margin: 0; }
.board-group p { font-size: 12px; color: var(--text-3); margin: 5px 0 20px; }
.board-group ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; padding: 0; margin: 0; list-style: none; }
.board-group a { font-size: 12px; font-weight: 500; text-decoration: none; }.board-group a:hover { color: var(--accent); text-decoration: underline; }
.board-group li span { display: block; font-size: 12px; color: var(--text-3); margin-top: 4px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 0 0; font-size: 12px; color: var(--text-3); }
footer > span:first-child { max-width: 75ch; }
footer .btns { display: flex; gap: 7px; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%) translateY(10px); z-index: 30; background: var(--text); color: var(--surface); border-radius: 8px; box-shadow: 0 8px 24px #0002; padding: 12px 20px; max-width: calc(100vw - 32px); width: max-content; opacity: 0; pointer-events: none; transition: opacity 180ms ease-out, transform 180ms ease-out; font-size: 12px; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.loading-row { height: 110px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--surface-2),var(--surface-2)) 0 24px / 65% 13px no-repeat, linear-gradient(var(--surface-2),var(--surface-2)) 0 49px / 45% 10px no-repeat; }

.heading-art { position: absolute; width: 250px; height: 120px; right: 8px; top: -16px; color: var(--accent); pointer-events: none; }
.heading-art svg { width: 100%; height: 100%; }
.page-heading > div:first-child { position: relative; z-index: 1; }
.location-label { position: relative; z-index: 1; }
.row { position: relative; }
.row:hover::before { content: ""; position: absolute; inset: 8px -12px; border-radius: 10px; background: var(--surface-2); z-index: 0; }
.row > * { position: relative; z-index: 1; }
.card-deadline { margin-bottom: 10px; }
.card-deadline .tag { font-size: 11px; padding: 3px 8px; }
.mobile-shortlist { display: none; }
.install-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)); border-radius: 14px; padding: 18px 20px; margin-bottom: 24px; }
.install-intro { display: flex; align-items: center; gap: 12px; }
.install-intro img { border-radius: 11px; flex: 0 0 auto; }
.install-intro strong { font-size: 13px; font-weight: 600; }
.install-intro p { margin: 3px 0 0; color: var(--text-2); font-size: 12px; }
.install-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid transparent; border-radius: 8px; padding: 10px 14px; font-size: 12px; font-weight: 600; background: #3658c8; color: #fff; }
.install-button:hover { background: #2949b4; }
.install-button:disabled { opacity: .65; cursor: wait; }
.install-button .icon { width: 17px; height: 17px; }
.install-help { flex: 1 1 100%; border-top: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)); padding-top: 14px; }
.install-help-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.install-help-heading strong { font-size: 13px; font-weight: 600; }
.install-help-heading button { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 0; background: transparent; color: var(--text-2); border-radius: 7px; }
.install-help-heading button:hover { background: var(--surface); }
.install-help ol { padding-left: 22px; margin: 10px 0; font-size: 13px; line-height: 1.8; }
.install-help li + li { margin-top: 5px; }
.install-help > p { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: var(--text-2); }
@media (min-width: 1700px) {
  .main-content { padding-top: 44px; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 330px; }
}
@media (max-width: 1300px) {
  .workspace { grid-template-columns: 200px minmax(0,1fr); }
  .sidebar { padding-inline: 12px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand-mark { width: 34px; height: 34px; }
  .topbar { padding-inline: 28px; }
  .main-content { padding-inline: 28px; }
  .content-grid { grid-template-columns: minmax(0,1fr) 272px; gap: 20px; }
  .feed-panel { padding-inline: 20px; }
  .tabs { overflow-x: auto; scrollbar-width: thin; }
  .tab { flex: 0 0 auto; }
  .row { grid-template-columns: 40px minmax(0,1fr); gap: 12px; }
  .company-mark { width: 40px; height: 40px; }
  .row > .actions { grid-column: 2; }
  .boards { gap: 20px; }
  .board-group ul { grid-template-columns: 1fr; }
  .heading-art { right: 0; opacity: .65; }
}
@media (max-width: 1050px) {
  .workspace { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; align-items: center; gap: 25px; padding: 18px 28px; }
  .brand { padding: 0; flex-shrink: 0; }
  .brand small { font-size: 11px; }
  .navigation { flex-direction: row; margin: 0 0 0 auto; gap: 3px; }
  .nav-item { padding: 12px; width: auto; font-size: 12px; gap: 7px; }
  .nav-item .icon { width: 16px; height: 16px; }
  .nav-count, .sidebar-note, .profile { display: none; }
  .topbar { min-height: 58px; }
  .main-content { padding-top: 28px; }
  .content-grid { grid-template-columns: minmax(0,1fr) 280px; }
}
@media (max-width: 760px) {
  .sidebar { flex-wrap: wrap; gap: 18px; padding: calc(20px + env(safe-area-inset-top)) 20px 12px; }
  .brand { font-size: 21px; }
  .brand small { display: block; margin-left: 0; font-size: 11px; }
  .brand-mark { width: 36px; height: 36px; }
  .navigation { width: 100%; justify-content: space-between; margin: 0; gap: 4px; }
  .nav-item { flex: 1; flex-direction: column; justify-content: center; padding: 10px 4px; min-height: 58px; font-size: 11px; gap: 5px; }
  .nav-item .icon { width: 17px; height: 17px; display: block; }
  .nav-item.active { box-shadow: inset 0 1px 0 #ffffff0d; }
  .topbar { position: absolute; top: calc(16px + env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); padding: 0; min-height: 44px; border: 0; background: transparent; }
  .breadcrumb, #updated { display: none; }
  .meta { font-size: 11px; gap: 5px; }
  .health { display: none; }
  .theme-btn { width: 44px; min-height: 44px; padding: 12px; margin-left: 2px; }
  .main-content { padding: 27px max(16px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .page-heading { min-height: auto; }
  .page-heading h1 { font-size: 28px; letter-spacing: -.9px; line-height: 1.18; }
  .page-heading p { font-size: 13px; max-width: 30ch; line-height: 1.7; margin-top: 11px; }
  .heading-art { display: none; }
  .location-label { display: none; }
  .overview { gap: 10px 16px; font-size: 11px; padding: 13px 0; margin: 22px 0; }
  .overview > span { font-size: 11px; }
  .overview > span:nth-child(2) { display: none; }
  .overview > span:last-of-type { display: none; }
  .mobile-shortlist { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 12px; font-weight: 600; text-decoration: none; min-height: 32px; }
  .mobile-shortlist:hover { text-decoration: underline; }
  .mobile-shortlist .icon { width: 14px; height: 14px; transform: rotate(90deg); }
  .install-card { padding: 0; gap: 0; margin-bottom: 22px; border: 0; border-radius: 9px; background: transparent; }
  .install-intro { display: none; }
  .install-intro strong { font-size: 13px; }
  .install-intro p { font-size: 12px; }
  .install-intro img { width: 36px; height: 36px; }
  .install-button { width: 100%; min-height: 44px; font-size: 13px; box-shadow: 0 3px 9px #3658c71a; }
  .install-help { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--accent-soft); }
  .content-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .feed-panel { padding: 22px 17px 20px; }
  .panel-heading { align-items: flex-start; }
  .panel-heading h2 { font-size: 17px; }
  .panel-heading p { font-size: 12px; max-width: 27ch; }
  .text-btn { font-size: 11px; min-height: 44px; display: flex; align-items: flex-start; padding-top: 2px; }
  .search-wrap { margin-top: 19px; }
  .search { font-size: 16px; height: 48px; padding-right: 12px; }
  .search-wrap > .icon { top: 16px; }
  kbd { display: none; }
  .tabs { overflow-x: auto; justify-content: flex-start; gap: 3px; scrollbar-width: thin; }
  .tab { min-height: 44px; flex: 0 0 auto; font-size: 12px; padding: 9px 10px; }
  .tab .n { font-size: 11px; }
  .track-dot { display: none; }
  .toolbar { gap: 8px; }
  .toolbar > * { flex: 1 1 calc(50% - 4px); }
  .toggle { min-height: 44px; justify-content: center; font-size: 12px; }
  .toggle input { height: 15px; width: 15px; }
  select { min-height: 44px; font-size: 16px; padding-left: 10px; }
  .results-toolbar { gap: 8px; }
  .result-line { font-size: 12px; }
  .results-toolbar select { min-height: 44px; font-size: 16px; max-width: 170px; }
  .row { padding: 22px 0; grid-template-columns: 38px minmax(0,1fr); gap: 11px; }
  .company-mark { width: 38px; height: 38px; border-radius: 11px; font-size: 12px; }
  .title { font-size: 15px; }
  .sub { font-size: 12px; line-height: 1.7; }
  .tag { font-size: 11px; padding: 3px 6px; }
  .status { font-size: 12px; min-height: 44px; padding-inline: 13px; }
  .hide { width: 44px; min-height: 44px; }
  .row > .actions { grid-column: 2; }
  .right-column { gap: 22px; }
  .pipeline-panel { padding-inline: 22px; }
  .pipeline-stats { padding-block: 24px; }
  .pipeline-stats strong { font-size: 29px; }
  .pipeline-stats span, .pipeline-link, .section-description { font-size: 12px; }
  .pipeline-link { min-height: 48px; }
  .shortlist { padding: 23px 22px 4px; }
  .right-column h2 { font-size: 17px; }
  .card h3 { font-size: 15px; }
  .who, .terms { font-size: 12px; }
  .job-notes summary { font-size: 13px; min-height: 44px; padding-block: 11px; }
  .note { font-size: 13px; }
  .tracking-tip p { font-size: 12px; }
  .boards { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .board-group { padding: 24px 22px; }
  .board-group h3 { font-size: 16px; }
  .board-group p, .board-group li span { font-size: 12px; }
  .board-group a { font-size: 14px; display: inline-block; padding-block: 7px; }
  footer { flex-direction: column; align-items: flex-start; gap: 16px; font-size: 12px; }
  footer .icon-btn { min-height: 44px; min-width: 80px; }
  .more { min-height: 44px; }
  .toast { bottom: calc(20px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .brand small { display: block; margin-left: 0; font-size: 11px; }
  .topbar { padding-inline: 14px; }
  .breadcrumb { font-size: 10px; }
  .meta { font-size: 10px; }
  .main-content { padding-inline: 12px; }
  .page-heading h1 { font-size: 27px; }
  .feed-panel { padding-inline: 13px; }
  .panel-heading h2 { font-size: 16px; }
  .text-btn { font-size: 10px; }
  .results-toolbar { flex-wrap: wrap; }
  .results-toolbar select { padding-left: 0; }
  .heading-art { display: none; }
}
@media (max-height: 500px) and (max-width: 1050px) and (orientation: landscape) {
  .sidebar { padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: 12px; }
  .main-content { padding-top: 20px; }
}
@media (pointer: coarse) {
  .search, select, .results-toolbar select { font-size: 16px; }
  .tab, .nav-item, .toggle, select, .results-toolbar select, .status, .more, .icon-btn { min-height: 44px; }
  .hide { min-width: 44px; min-height: 44px; }
  .theme-btn { min-width: 44px; }
  .job-notes summary { min-height: 44px; padding-block: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
