:root {
  color-scheme: light;
  --ink: #202b2a;
  --muted: #78827f;
  --subtle: #a0aaa6;
  --line: #e9edeb;
  --surface: #fff;
  --canvas: #f6f7f5;
  --green: #2e6d5b;
  --green-dark: #245849;
  --green-soft: #eaf3ef;
  --lime: #d7ed9f;
  --gold: #f2c879;
  --shadow: 0 12px 35px rgb(38 57 49 / 7%);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgb(91 151 126 / 32%);
  outline-offset: 2px;
}
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex: 0 0 248px;
  flex-direction: column;
  min-height: 100vh;
  padding: 27px 17px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand { align-items: center; color: var(--ink); display: flex; gap: 10px; margin: 0 0 47px 6px; text-decoration: none; }
.brand-mark { align-items: center; background: var(--green); border-radius: 10px 10px 10px 3px; color: white; display: flex; font: 800 17px "Avenir Next", Avenir, "Segoe UI", sans-serif; height: 34px; justify-content: center; letter-spacing: -2px; padding: 0 7px 2px 5px; width: 36px; }
.brand-name { font: 800 20px "Avenir Next", Avenir, "Segoe UI", sans-serif; letter-spacing: -1px; }
.brand-period { color: #a4ca6b; }
.workspace-label { color: #9aa39f; font-size: 10px; font-weight: 700; letter-spacing: 1.15px; margin: 0 0 11px 12px; }
.primary-nav { display: grid; gap: 5px; }
.nav-link { align-items: center; background: transparent; border: 0; border-radius: 8px; color: #6f7a76; display: flex; font-size: 13px; font-weight: 500; gap: 12px; min-height: 42px; padding: 0 12px; text-align: left; transition: background .18s ease, color .18s ease; width: 100%; }
.nav-link:hover { background: #f6f8f6; color: var(--ink); }
.nav-link.active { background: var(--green-soft); color: var(--green-dark); font-weight: 700; }
.nav-icon { display: grid; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-size: 19px; line-height: 1; place-items: center; width: 19px; }
.nav-count { align-items: center; background: #edf1ed; border-radius: 20px; color: #6e7974; display: flex; font-size: 10px; height: 19px; justify-content: center; margin-left: auto; min-width: 20px; padding: 0 5px; }
.tools-label { margin-top: 37px; }
.sidebar-spacer { flex: 1; min-height: 20px; }
.sidebar-tip { background: #f4f7f1; border: 1px solid #ecf0e7; border-radius: 11px; margin: 0 1px 22px; padding: 16px 14px 14px; }
.tip-sparkle { color: #82a858; font-size: 17px; }
.tip-title { font: 700 12px "Avenir Next", Avenir, "Segoe UI", sans-serif; margin: 10px 0 5px; }
.tip-copy { color: var(--muted); font-size: 11px; line-height: 1.65; margin: 0 0 12px; }
.text-button { background: none; border: 0; color: var(--green); font-size: 11px; font-weight: 700; padding: 0; }
.text-button span { margin-left: 3px; }
.sidebar-user { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 10px; padding: 18px 3px 0; }
.avatar, .topbar-avatar { align-items: center; background: #e9eee5; border: 0; border-radius: 50%; color: #526d57; display: flex; font-size: 11px; font-weight: 700; height: 35px; justify-content: center; width: 35px; }
.user-meta { display: grid; gap: 3px; min-width: 0; }
.user-meta strong { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-meta span { color: var(--muted); font-size: 10px; }
.icon-button { align-items: center; background: transparent; border: 0; border-radius: 8px; color: #7d8883; display: inline-flex; justify-content: center; }
.user-settings { font-size: 19px; height: 30px; margin-left: auto; width: 30px; }
.main-panel { flex: 1; min-width: 0; }
.topbar { align-items: center; background: rgb(246 247 245 / 92%); border-bottom: 1px solid #e8ebe8; display: flex; height: 70px; justify-content: space-between; padding: 0 clamp(22px, 4vw, 58px); position: sticky; top: 0; z-index: 4; }
.breadcrumb { align-items: center; color: #9aa39f; display: flex; font-size: 12px; gap: 10px; }
.breadcrumb strong { color: #4a5651; font-weight: 600; }
.breadcrumb-separator { color: #c1c8c4; }
.topbar-actions { align-items: center; display: flex; gap: 20px; }
.today-label { color: var(--muted); font-size: 11px; }
.notification-button { font-size: 21px; height: 34px; position: relative; width: 34px; }
.notification-button:hover, .user-settings:hover { background: #ecefeb; }
.notification-dot { background: #d18e5d; border: 2px solid var(--canvas); border-radius: 50%; height: 8px; position: absolute; right: 7px; top: 6px; width: 8px; }
.topbar-avatar { background: #e6eee6; height: 32px; width: 32px; }
.mobile-menu { display: none; }
.page-content { margin: 0 auto; max-width: 1320px; padding: 34px clamp(22px, 4vw, 58px) 60px; }
.eyebrow { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; }
h1 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -1.3px; line-height: 1.2; margin: 8px 0 8px; }
h2 { font-size: 17px; letter-spacing: -.4px; margin: 0; }
h3 { font-size: 14px; letter-spacing: -.25px; margin: 0; }
.page-subtitle { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0; }
.page-heading { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 25px; }
.heading-actions { display: flex; gap: 9px; }
.button { align-items: center; border: 1px solid transparent; border-radius: 7px; display: inline-flex; font-size: 11px; font-weight: 700; gap: 7px; justify-content: center; min-height: 37px; padding: 0 14px; transition: background .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { background: #fff; border-color: #e2e8e4; color: #53615b; }
.button-secondary:hover { background: #f9fbf9; }
.button-soft { background: var(--green-soft); color: var(--green-dark); }
.button-small { min-height: 31px; padding: 0 10px; }
.button-danger { background: #fff4f1; color: #b35c43; }
.stats-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 22px; }
.stat-card, .panel, .job-card, .application-card, .document-card { background: var(--surface); border: 1px solid #e9eeeb; border-radius: 10px; }
.stat-card { min-height: 112px; padding: 17px 18px; }
.stat-top { align-items: center; color: #7e8984; display: flex; font-size: 10px; justify-content: space-between; }
.stat-icon { align-items: center; background: #f1f5f0; border-radius: 7px; color: var(--green); display: flex; font-size: 14px; height: 27px; justify-content: center; width: 27px; }
.stat-value { font: 700 26px "Avenir Next", Avenir, "Segoe UI", sans-serif; letter-spacing: -1px; margin: 10px 0 1px; }
.stat-foot { color: #9aa39f; font-size: 10px; }
.stat-foot strong { color: var(--green); font-weight: 600; }
.overview-grid { align-items: start; display: grid; gap: 18px; grid-template-columns: minmax(0, 1.55fr) minmax(265px, .85fr); }
.panel { padding: 20px; }
.panel-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 17px; }
.panel-heading p { color: var(--muted); font-size: 10px; margin: 5px 0 0; }
.link-button { background: transparent; border: 0; color: var(--green); font-size: 10px; font-weight: 700; padding: 4px 0; }
.pipeline { display: grid; gap: 11px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pipeline-column { background: #f8faf8; border: 1px solid #eff2ef; border-radius: 8px; min-height: 115px; padding: 11px 10px; }
.pipeline-label { align-items: center; color: #7d8883; display: flex; font-size: 10px; font-weight: 600; justify-content: space-between; }
.pipeline-label strong { align-items: center; background: #e9eeeb; border-radius: 50%; color: #738079; display: flex; font-size: 9px; height: 19px; justify-content: center; width: 19px; }
.pipeline-company { color: #3e4c45; font-size: 10px; font-weight: 600; line-height: 1.45; margin: 15px 0 3px; }
.pipeline-role { color: #929b96; font-size: 9px; }
.pipeline-empty { color: #adb6b1; font-size: 10px; margin-top: 19px; }
.activity-panel { margin-top: 18px; }
.chart-area { height: 156px; padding: 2px 0 0; position: relative; }
.chart-area svg { height: 100%; overflow: visible; width: 100%; }
.chart-grid { stroke: #edf0ed; stroke-dasharray: 4 5; stroke-width: 1; }
.chart-line { fill: none; stroke: #55876d; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }
.chart-fill { fill: url(#chartFill); }
.chart-labels { color: #9aa39f; display: flex; font-size: 9px; justify-content: space-between; padding: 6px 6px 0; }
.weekly-note { align-items: center; background: #f5f8f4; border-radius: 7px; color: #64736a; display: flex; font-size: 10px; gap: 8px; margin-top: 14px; padding: 10px 12px; }
.weekly-note strong { color: var(--green); }
.weekly-note .note-spark { color: #7ea45a; font-size: 14px; }
.quick-actions { display: grid; gap: 10px; }
.quick-action { align-items: center; background: #fff; border: 1px solid #edf0ed; border-radius: 8px; color: var(--ink); display: flex; gap: 12px; padding: 13px; text-align: left; transition: border .18s ease, transform .18s ease; width: 100%; }
.quick-action:hover { border-color: #b8d0c3; transform: translateY(-1px); }
.quick-icon { align-items: center; background: #eef4ed; border-radius: 8px; color: var(--green); display: flex; flex: 0 0 34px; font-size: 17px; height: 34px; justify-content: center; }
.quick-action-copy { display: grid; gap: 4px; flex: 1; }
.quick-action-copy strong { font-size: 11px; }
.quick-action-copy span { color: var(--muted); font-size: 9px; }
.quick-arrow { color: #a0aaa5; font-size: 14px; }
.recommended-panel { margin-top: 18px; }
.job-list { display: grid; gap: 10px; }
.job-card { padding: 15px; transition: box-shadow .18s ease, transform .18s ease; }
.job-card:hover { box-shadow: 0 8px 20px rgb(38 57 49 / 6%); transform: translateY(-1px); }
.job-main { align-items: flex-start; display: flex; gap: 12px; }
.company-logo { align-items: center; background: var(--logo-bg, #eaf0e8); border-radius: 9px; color: var(--logo-color, #456c51); display: flex; flex: 0 0 38px; font: 700 13px "Avenir Next", Avenir, "Segoe UI", sans-serif; height: 38px; justify-content: center; }
.job-copy { flex: 1; min-width: 0; }
.job-title-button { background: none; border: 0; color: var(--ink); font: 700 13px "Avenir Next", Avenir, "Segoe UI", sans-serif; letter-spacing: -.3px; padding: 0; text-align: left; }
.job-title-button:hover { color: var(--green); }
.job-company { color: #7b8681; font-size: 10px; margin-top: 4px; }
.job-meta { color: #929c97; display: flex; flex-wrap: wrap; font-size: 9px; gap: 8px 14px; margin-top: 10px; }
.job-meta span::before { color: #afbbb4; content: "·"; margin-right: 5px; }
.job-card-footer { align-items: center; border-top: 1px solid #f0f2f0; display: flex; justify-content: space-between; margin-top: 13px; padding-top: 11px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { background: #f2f5f2; border-radius: 4px; color: #75817a; font-size: 9px; padding: 4px 7px; }
.job-actions { align-items: center; display: flex; gap: 7px; }
.save-button { background: transparent; border: 0; color: #96a19b; font-size: 16px; height: 30px; width: 30px; }
.save-button.saved { color: #c78d4f; }
.job-search-bar { align-items: center; background: #fff; border: 1px solid #e4eae6; border-radius: 9px; display: flex; gap: 9px; margin: 22px 0 12px; padding: 7px; }
.search-field { align-items: center; display: flex; flex: 1; gap: 9px; min-width: 130px; padding: 0 10px; }
.search-field span { color: #9aa49f; font-size: 18px; }
.search-field input { border: 0; color: var(--ink); font-size: 11px; min-width: 0; outline: 0; width: 100%; }
.search-field input::placeholder { color: #aab3ae; }
.search-divider { background: #e9edeb; height: 25px; width: 1px; }
.filter-select { appearance: none; background: #fff; border: 0; color: #6f7b75; font-size: 10px; outline: 0; padding: 7px 12px; }
.filter-row { align-items: center; color: #96a09b; display: flex; font-size: 10px; justify-content: space-between; margin-bottom: 14px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-pill { background: #fff; border: 1px solid #e6ebe7; border-radius: 18px; color: #7d8782; font-size: 9px; padding: 6px 10px; }
.filter-pill.active { background: var(--green-soft); border-color: #e0ece4; color: var(--green-dark); font-weight: 700; }
.empty-state { background: #fff; border: 1px dashed #dfe7e1; border-radius: 10px; color: var(--muted); padding: 36px 20px; text-align: center; }
.empty-state strong { color: #46534c; display: block; font-size: 13px; margin: 0 0 7px; }
.empty-state p { font-size: 11px; margin: 0 auto 15px; max-width: 330px; }
.applications-list { display: grid; gap: 10px; }
.application-card { align-items: center; display: grid; gap: 14px; grid-template-columns: minmax(185px, 1.4fr) minmax(100px, .8fr) minmax(110px, .8fr) auto; padding: 14px 16px; }
.application-role { font: 700 12px "Avenir Next", Avenir, "Segoe UI", sans-serif; }
.application-company { color: var(--muted); font-size: 10px; margin-top: 4px; }
.application-date { color: #849089; font-size: 10px; }
.status-select { appearance: none; background: #f5f7f5; border: 1px solid transparent; border-radius: 14px; color: #68756d; cursor: pointer; font-size: 9px; max-width: 140px; padding: 6px 10px; }
.status-saved { background: #f4f1e9; color: #917343; }
.status-applied { background: #eaf2ed; color: #377050; }
.status-interview { background: #eef0fb; color: #5a60a5; }
.status-offer { background: #edf5e6; color: #5e8137; }
.status-rejected { background: #f8efed; color: #a26d61; }
.document-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.document-card { padding: 18px; }
.document-top { align-items: flex-start; display: flex; justify-content: space-between; }
.document-icon { align-items: center; background: #edf3ee; border-radius: 8px; color: var(--green); display: flex; font-size: 17px; height: 35px; justify-content: center; width: 35px; }
.document-card h3 { margin: 14px 0 5px; }
.document-card p { color: var(--muted); font-size: 10px; line-height: 1.55; margin: 0 0 14px; }
.document-card-footer { align-items: center; border-top: 1px solid #f0f2f0; color: #9ba49f; display: flex; font-size: 9px; justify-content: space-between; padding-top: 11px; }
.document-actions { display: flex; gap: 8px; }
.resume-layout { align-items: start; display: grid; gap: 17px; grid-template-columns: minmax(0, 1fr) 300px; }
.form-panel { background: #fff; border: 1px solid #e9eeeb; border-radius: 10px; padding: 21px; }
.form-section + .form-section { border-top: 1px solid #edf0ed; margin-top: 22px; padding-top: 20px; }
.form-section-header { align-items: center; display: flex; justify-content: space-between; margin-bottom: 15px; }
.form-section-header p { color: var(--muted); font-size: 10px; margin: 4px 0 0; }
.form-grid { display: grid; gap: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #69756e; font-size: 10px; font-weight: 600; }
.field input, .field textarea, .field select { background: #fff; border: 1px solid #e4e9e5; border-radius: 6px; color: #35423b; font-size: 11px; min-height: 36px; padding: 9px 10px; width: 100%; }
.field textarea { line-height: 1.6; min-height: 88px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #adb6b1; }
.form-help { color: #9ba59f; font-size: 9px; line-height: 1.5; }
.ai-result { background: #f7f9f7; border: 1px solid #e8eee8; border-radius: 8px; color: #56645c; font-size: 11px; line-height: 1.8; margin-top: 15px; padding: 15px; white-space: pre-wrap; }
.interview-result { margin-top: 17px; }
.location-input { border: 0; min-width: 90px; width: 140px; }
.resume-upload-row { align-items: center; display: flex; flex-wrap: wrap; gap: 11px; }
.visually-hidden { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.visually-hidden:focus-visible + .form-help { outline: 2px solid var(--green); outline-offset: 3px; }
.auth-mode { background: #f3f6f2; }
.auth-mode .sidebar, .auth-mode .topbar { display: none; }
.auth-mode .main-panel { min-height: 100vh; width: 100%; }
.auth-mode .page-content { display: grid; margin: 0 auto; max-width: 620px; min-height: 100vh; padding: 25px; place-items: center; }
.auth-shell { align-items: center; display: flex; flex-direction: column; justify-content: center; max-width: 440px; width: 100%; }
.auth-brand { margin: 0 0 24px; }
.auth-card { background: #fff; border: 1px solid #e5ebe6; border-radius: 12px; box-shadow: 0 16px 45px rgb(38 57 49 / 7%); padding: 30px; width: 100%; }
.auth-card h1 { font-size: 25px; margin: 9px 0 8px; }
.auth-card > .page-subtitle { margin-bottom: 20px; }
.auth-fields { display: grid; gap: 14px; }
.auth-submit { margin-top: 17px; width: 100%; }
.auth-links { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; justify-content: space-between; margin-top: 15px; }
.auth-links p { color: #87918b; font-size: 10px; margin: 0; }
.auth-message { background: #edf4ed; border-radius: 6px; color: #496d53; font-size: 10px; line-height: 1.6; margin: 15px 0; padding: 10px 12px; }
.auth-message.error { background: #fff2ef; color: #9b4f40; }
.auth-privacy, .auth-footer { color: #929d96; font-size: 9px; line-height: 1.6; text-align: center; }
.auth-privacy { border-top: 1px solid #edf0ed; margin: 20px 0 0; padding-top: 15px; }
.auth-footer { margin: 17px 0 0; }
.danger-panel { margin-top: 18px; }
.danger-panel h3 { color: #8f5446; }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.resume-preview { background: #f1f5f1; border: 1px solid #e7ede7; border-radius: 10px; padding: 17px; position: sticky; top: 90px; }
.resume-preview h3 { font-size: 12px; }
.resume-preview p { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 6px 0 14px; }
.score-label { align-items: baseline; display: flex; justify-content: space-between; margin: 16px 0 7px; }
.score-label span { color: #7b8780; font-size: 9px; }
.score-label strong { color: var(--green); font: 700 17px "Avenir Next", Avenir, "Segoe UI", sans-serif; }
.score-track { background: #dce5dc; border-radius: 5px; height: 5px; overflow: hidden; }
.score-track span { background: #669779; border-radius: inherit; display: block; height: 100%; transition: width .2s ease; }
.preview-checklist { display: grid; gap: 9px; list-style: none; margin: 15px 0 0; padding: 0; }
.preview-checklist li { color: #718078; font-size: 9px; }
.preview-checklist li::before { color: #6e9a76; content: "✓"; font-weight: 700; margin-right: 7px; }
.cover-layout { display: grid; gap: 16px; grid-template-columns: minmax(235px, .8fr) minmax(0, 1.2fr); }
.cover-result { background: #fff; border: 1px solid #e9eeeb; border-radius: 10px; min-height: 360px; padding: 24px; }
.cover-result h3 { margin-bottom: 8px; }
.cover-result .page-subtitle { margin-bottom: 19px; }
.cover-output { color: #59665f; font-family: Georgia, serif; font-size: 12px; line-height: 1.85; white-space: pre-wrap; }
.profile-banner { align-items: center; background: #edf4ed; border: 1px solid #e2ebe2; border-radius: 10px; display: flex; gap: 15px; margin-bottom: 17px; padding: 18px; }
.profile-avatar-large { align-items: center; background: #dce9dc; border-radius: 50%; color: #526d57; display: flex; font: 700 20px "Avenir Next", Avenir, "Segoe UI", sans-serif; height: 52px; justify-content: center; width: 52px; }
.profile-banner h2 { font-size: 16px; margin-bottom: 4px; }
.profile-banner p { color: var(--muted); font-size: 10px; margin: 0; }
.modal-backdrop { align-items: center; background: rgb(27 37 32 / 45%); display: flex; inset: 0; justify-content: center; padding: 18px; position: fixed; z-index: 12; }
.modal { background: #fff; border-radius: 12px; box-shadow: 0 20px 70px rgb(20 30 25 / 22%); max-height: min(90vh, 760px); max-width: 560px; overflow-y: auto; padding: 24px; width: 100%; }
.modal-header { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 18px; }
.modal-header h2 { font-size: 18px; margin: 5px 0 0; }
.modal-close { background: #f3f5f3; font-size: 18px; height: 30px; width: 30px; }
.modal-description { color: #64716a; font-size: 11px; line-height: 1.75; margin: 17px 0; }
.modal-meta { color: #7d8981; display: flex; flex-wrap: wrap; font-size: 10px; gap: 10px 16px; }
.modal-footer { border-top: 1px solid #edf0ed; display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; padding-top: 15px; }
.toast-region { bottom: 20px; display: grid; gap: 8px; position: fixed; right: 20px; z-index: 20; }
.toast { animation: toast-in .2s ease; background: #283a32; border-radius: 8px; box-shadow: var(--shadow); color: #fff; font-size: 11px; max-width: min(360px, calc(100vw - 40px)); padding: 12px 16px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.hidden { display: none !important; }

@media (max-width: 1040px) {
  .sidebar { flex-basis: 220px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-grid { grid-template-columns: minmax(0, 1.3fr) minmax(230px, .8fr); }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .sidebar { box-shadow: 10px 0 30px rgb(30 45 38 / 8%); left: 0; position: fixed; transform: translateX(-105%); transition: transform .22s ease; z-index: 10; }
  .sidebar.open { transform: translateX(0); }
  .mobile-menu { display: inline-flex; font-size: 16px; height: 34px; margin-right: 12px; width: 34px; }
  .topbar { justify-content: flex-start; padding: 0 18px; }
  .topbar-actions { margin-left: auto; }
  .today-label { display: none; }
  .page-content { padding: 26px 18px 45px; }
  .overview-grid, .resume-layout, .cover-layout { grid-template-columns: 1fr; }
  .resume-preview { position: static; }
  .application-card { grid-template-columns: minmax(150px, 1.5fr) minmax(85px, .7fr) auto; }
  .application-date { display: none; }
}
@media (max-width: 520px) {
  .page-content { padding: 22px 14px 35px; }
  .topbar { height: 60px; padding: 0 11px; }
  .topbar-actions { gap: 9px; }
  .breadcrumb { font-size: 10px; gap: 6px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
  .page-heading .heading-actions { width: 100%; }
  .stats-grid { gap: 9px; }
  .stat-card { min-height: 99px; padding: 13px; }
  .stat-value { font-size: 22px; }
  .panel { padding: 15px; }
  .pipeline { gap: 7px; }
  .pipeline-column { padding: 9px 8px; }
  .job-search-bar { align-items: stretch; flex-wrap: wrap; }
  .search-field { min-height: 32px; }
  .search-divider { display: none; }
  .filter-select { border-top: 1px solid #edf0ed; flex: 1; }
  .filter-select:last-of-type { border-left: 1px solid #edf0ed; }
  .job-card { padding: 12px; }
  .job-card-footer { align-items: flex-start; flex-direction: column; gap: 9px; }
  .job-actions { justify-content: flex-end; width: 100%; }
  .application-card { gap: 9px; grid-template-columns: minmax(120px, 1fr) auto; padding: 12px; }
  .application-card .company-logo { display: none; }
  .application-card .status-select { grid-column: 1; grid-row: 2; }
  .application-card > .button { grid-column: 2; grid-row: 1 / span 2; }
  .document-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .cover-result { padding: 17px; }
  .notification-button { width: 30px; }
  .auth-mode .page-content { padding: 18px; }
  .auth-card { padding: 23px 19px; }
}
