:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #243d34; background: #f8f9f4; line-height: 1.5;
  --ink: #243d34; --muted: #748075; --paper: #f8f9f4; --surface: #fffefa;
  --line: #e0e6da; --green: #366f54; --coral: #bf674c; --soft: #edf2e7;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; -webkit-font-smoothing: antialiased; letter-spacing: -.012em; }
button, input, textarea, select { font: inherit; -webkit-tap-highlight-color: transparent; }
button, a, input, select, textarea { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
a { color: var(--green); text-underline-offset: 3px; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #568b5b; outline-offset: 3px; }
input, textarea, select { width: 100%; min-width: 0; color: var(--ink); background: var(--surface); border: 1px solid #dbe2d4; border-radius: 10px; padding: 11px 12px; font-size: 14px; transition: border-color .15s; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid #568b5b; outline-offset: 2px; }
input::placeholder, textarea::placeholder { color: #929b8f; font-weight: 400; }
textarea { resize: vertical; line-height: 1.6; }
label { display: grid; gap: 7px; color: #5f705f; font-size: 12px; font-weight: 600; min-width: 0; }
h1,h2,h3,p { overflow-wrap: anywhere; }
h2 { font-size: 23px; letter-spacing: -.7px; font-weight: 650; line-height: 1.2; margin: 0; }
h3 { font-size: 16px; letter-spacing: -.2px; font-weight: 650; margin: 0; }
.primary { border: 1px solid var(--green); border-radius: 11px; padding: 11px 17px; background: var(--green); color: #fff; font-size: 13px; font-weight: 650; box-shadow: 0 3px 9px #366f5412; white-space: nowrap; }
.secondary { border: 1px solid #d7e0d0; border-radius: 10px; padding: 9px 13px; color: #426043; background: #f9fbf5; font-size: 12px; font-weight: 600; }
.text-button { padding: 5px 0; background: none; border: none; color: var(--green); font-size: 12px; font-weight: 600; text-align: left; }
.eyebrow { margin: 0 0 10px; font-size: 10px; font-weight: 650; letter-spacing: .14em; color: #7c8d69; }
.small-note { font-size: 12px; color: var(--muted); line-height: 1.6; }
.warning { background: #fbefdb; border: 1px solid #ead7ae; border-radius: 12px; padding: 15px; color: #795e29; font-size: 13px; margin-bottom: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sidebar { width: 248px; position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; padding: 33px 24px 25px; background: #eef1e6; border-right: 1px solid #dfe5d5; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 700; letter-spacing: -.55px; line-height: 1.25; padding: 0 1px; margin-bottom: 36px; }
.brand small { display: block; font-size: 10px; font-weight: 400; letter-spacing: .02em; color: #859278; margin-top: 4px; }
.brand-icon { position: relative; flex: 0 0 36px; width: 36px; height: 36px; background: #d9e5c7; color: #3f6d42; border-radius: 50%; display: grid; place-items: center; }
.brand-icon img { display: block; width: 27px; height: 27px; }
.wayfinder-add-icon { display: inline-block; width: 19px; height: 19px; margin-right: 5px; vertical-align: -4px; }
.new-job { width: 100%; min-height: 44px; margin-bottom: 28px; }
.sidebar nav { display: grid; gap: 7px; }
.sidebar nav button { display: flex; align-items: center; gap: 12px; background: transparent; border: 1px solid transparent; border-radius: 11px; min-height: 44px; color: #718169; padding: 11px; text-align: left; font-size: 13px; font-weight: 550; }
.sidebar nav button > span { font-size: 20px; width: 23px; text-align: center; line-height: 1; }
.sidebar nav button[aria-current] { background: #e0e8d6; color: #365b3e; border-color: #d6e0cb; }
.sidebar nav small { margin-left: auto; background: #f4f7ee; border-radius: 7px; padding: 1px 7px; font-size: 10px; }
.sidebar-bottom { margin-top: auto; padding-top: 34px; font-size: 11px; color: #6d7e63; }
.local-dot { display: inline-block; width: 6px; height: 6px; margin: 0 5px 1px 0; border-radius: 50%; background: #8ea86e; }
.sidebar-bottom p { color: #8a957f; font-size: 11px; line-height: 1.65; margin: 9px 0 15px; }
.sidebar-bottom button { display: block; font-size: 11px; }
main { margin-left: 248px; padding: 52px clamp(28px,4.5vw,74px) 70px; max-width: 1650px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 34px; }
.page-heading h1 { font-size: clamp(35px,3.5vw,48px); line-height: 1.13; font-weight: 650; letter-spacing: -1.8px; margin: 0 0 15px; }
.page-heading > div > p:last-child { font-size: 14px; color: var(--muted); margin: 0; }
.page-heading .eyebrow { margin-bottom: 17px; }
.stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 43px; }
.stats > div { display: flex; align-items: center; gap: 15px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 2px 9px #243d3403; }
.stat-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: none; border-radius: 13px; background: #eaf0df; color: #769159; font-size: 22px; }
.stat-icon.coral { background: #f6e9df; color: #bd8667; }
.stat-icon.gold { background: #f4eed5; color: #b39746; }
.stats strong { display: block; font-size: 27px; line-height: 1.15; font-weight: 650; letter-spacing: -.7px; }
.stats div > span:not(.stat-icon) { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.section-heading, .section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 19px; }
.section-heading p, .section-head p { color: var(--muted); font-size: 12px; margin: 7px 0 0; }
.list-toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 19px; }
.list-toolbar .search-label { flex: 1; }
.list-toolbar select { font-size: 12px; max-width: 160px; padding-block: 12px; background: #fffefa; }
.list-toolbar input { padding-left: 15px; font-size: 13px; }
.job-list { display: grid; gap: 12px; }
.job-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 22px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); padding: 22px; box-shadow: 0 2px 10px #243d3403; }
.job-main { display: flex; gap: 16px; align-items: start; padding: 0; border: none; text-align: left; background: transparent; min-width: 0; color: var(--ink); }
.company-monogram { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: #e9eee0; color: #738653; font-size: 14px; font-weight: 650; }
.job-card:nth-child(3n+2) .company-monogram { background: #f3e8df; color: #a98063; }
.job-card:nth-child(3n+3) .company-monogram { background: #e6eef0; color: #708e96; }
.job-copy { display: grid; min-width: 0; }
.job-company { color: #85917b; font-size: 11px; margin-bottom: 4px; }
.job-copy > strong { font-size: 18px; line-height: 1.3; font-weight: 650; letter-spacing: -.4px; overflow-wrap: anywhere; }
.job-location { color: #899180; font-size: 11px; margin-top: 5px; }
.job-note { color: #74806e; font-size: 12px; margin-top: 13px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 13px; margin-top: 13px; font-size: 10px; color: #8c957e; }
.job-meta:empty { display: none; }
.job-meta .followup-due { color: #af6748; font-weight: 600; }
.job-actions { display: grid; justify-items: end; gap: 14px; padding-top: 1px; }
.job-actions select { font-size: 11px; min-width: 114px; width: auto; padding: 6px 9px; background: #f0f3e9; color: #70805a; border: 1px solid #e3e8d7; border-radius: 7px; }
.job-actions .stage-applied { background: #e5efee; color: #608581; border-color: #d6e4e1; }
.job-actions .stage-interview, .job-actions .stage-offer { background: #f5edcd; color: #977e35; border-color: #ece0b7; }
.job-actions .stage-rejected, .job-actions .stage-withdrawn { background: #f2e5df; color: #a57864; border-color: #e9d8ce; }
.job-actions .text-button { font-size: 11px; }
.empty-state { text-align: center; padding: 47px 24px; background: #f1f4ea; border: 1px dashed #d7e0c9; border-radius: 19px; }
.empty-art { display: grid; place-items: center; width: 61px; height: 61px; margin: 0 auto 18px; background: #e4ebd8; color: #91a673; border-radius: 20px; font-size: 35px; }
.empty-state h3 { font-size: 21px; letter-spacing: -.6px; }
.empty-state p { max-width: 370px; margin: 9px auto 21px; font-size: 13px; color: #849078; line-height: 1.65; }
.surface { padding: 26px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
dialog { width: min(780px,calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; border: 1px solid #dde4d4; padding: 0; border-radius: 23px; color: var(--ink); background: var(--surface); box-shadow: 0 30px 90px #20382730; }
dialog::backdrop { background: #21352d66; backdrop-filter: blur(4px); }
.dialog-head { padding: 26px 28px 21px; display: flex; justify-content: space-between; align-items: start; gap: 15px; border-bottom: 1px solid var(--line); }
.dialog-head .eyebrow { margin-bottom: 8px; font-size: 9px; }
.dialog-head h2 { font-size: 25px; }
.close { border: 0; background: #eef2e7; border-radius: 50%; width: 35px; height: 35px; flex: none; color: #7b8b6a; font-size: 25px; line-height: 1; }
#jobForm { padding: 25px 28px; display: grid; gap: 17px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.dialog-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 6px; }
.dialog-actions .delete-button { margin-right: auto; }
.dialog-actions a { font-size: 12px; margin-right: 5px; }
.delete-button, .delete { background: transparent; border: 0; color: #ac6656; font-size: 12px; padding: 7px 0; }
.drafts-section { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 3px; }
.drafts-section .section-heading { margin-bottom: 15px; }
#draftList { display: grid; gap: 14px; }
.letter-draft { padding: 17px; background: #f4f6ee; border: 1px solid #e1e6d6; border-radius: 14px; display: grid; gap: 10px; }
.letter-draft > div { display: flex; align-items: end; gap: 17px; }
.letter-draft > div label { flex: 1; }
.letter-draft .delete-button { flex: none; padding-block: 11px; }
.letter-draft textarea { font-size: 13px; }
.documents-callout { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px; background: #edf3e9; border-radius: 13px; }
.documents-callout h3 { font-size: 14px; }
.documents-callout p { margin: 5px 0 0; font-size: 12px; color: #809172; }
.documents-callout button { flex: none; }
.toast { position: fixed; z-index: 50; bottom: 28px; left: calc(248px + (100vw - 248px)/2); transform: translateX(-50%); display: flex; gap: 18px; align-items: center; background: #284b39; color: #f7f9ef; border-radius: 13px; padding: 13px 19px; box-shadow: 0 7px 30px #24483130; max-width: min(650px,calc(100vw - 40px)); font-size: 13px; }
.toast button { border: 0; padding: 6px; color: #d6e9a8; background: transparent; font-weight: 650; }
.mobile-brand, .mobile-nav { display: none; }
/* Local attachment vault uses the same form and card language. */
.document-vault { min-width: 0; }
.document-vault .section-head { margin-bottom: 19px; }
.document-vault .section-head h2 { font-size: 23px; }
.document-vault .section-head > div { min-width: 0; }
.document-upload { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; padding: 23px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.document-upload label { margin: 0; }
.document-upload input[type=file] { padding: 8px; font-size: 12px; }
.document-upload input[type=file]::file-selector-button { background: #eaf0e1; border: none; border-radius: 6px; color: #60784c; padding: 6px 9px; margin-right: 8px; font: inherit; cursor: pointer; }
.document-upload > button { width: max-content; padding: 10px 15px; background: var(--green); color: #fff; border: 1px solid var(--green); border-radius: 10px; font-size: 12px; font-weight: 600; }
.document-storage-note { color: #8a947f; font-size: 11px; line-height: 1.6; margin-block: 13px 22px; }
.document-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 24px 0 18px; }
.document-toolbar label { flex: 1; max-width: 260px; margin-right: auto; }
.document-toolbar button { min-height: 39px; }
.document-list { display: grid; gap: 13px; }
.document-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--surface); }
.document-card-main { display: flex; align-items: start; gap: 14px; min-width: 0; }
.document-card-main > div { min-width: 0; flex: 1; }
.document-card h3 { font-size: 16px; margin: 0; overflow-wrap: anywhere; }
.document-type { flex: none; width: 44px; height: 50px; display: grid; place-items: center; border-radius: 9px; background: #e9eedf; color: #7c9262; font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.document-filename, .document-job { margin: 4px 0 0; color: #87937a; font-size: 11px; overflow-wrap: anywhere; }
.document-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 15px; }
.switch-app-link { display:flex; align-items:center; justify-content:space-between; min-height:48px; padding:12px 15px; border:1px solid var(--line); border-radius:12px; color:var(--ink); text-decoration:none; font-weight:650; }
.document-more { position:relative; }
.document-more > summary { list-style:none; cursor:pointer; min-height:44px; display:flex; align-items:center; padding:8px 12px; border:1px solid var(--line); border-radius:10px; font-size:12px; font-weight:600; }
.document-more > summary::-webkit-details-marker { display:none; }
.document-more > summary::after { content:'⌄'; margin-left:8px; }
.document-more[open] > summary { background:#edf2e8; }
.document-more > .delete { display:block; min-height:44px; padding:10px 14px; width:100%; text-align:left; }
.document-edit { margin-top: 15px; border-top: 1px solid var(--line); padding-top: 11px; }
.document-edit summary { font-size: 12px; color: #6a815d; cursor: pointer; }
.document-edit form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-top: 15px; }
.document-edit form > button { justify-self: start; }
.document-edit form > button { align-self: end; padding: 11px 14px; border: 0; border-radius: 10px; color: white; background: var(--green); font-size: 12px; font-weight: 600; }
.document-card-main small { font-size: 10px; color: #8d977f; }
.document-vault [data-vault-status] { color: var(--green); font-size: 12px; line-height: 1.6; }
.document-vault [data-vault-status].is-error { color: #a65e48; }
.document-vault .empty { padding: 35px 20px; border: 1px dashed #d6dfc8; border-radius: 15px; color: #819371; text-align: center; font-size: 13px; }
@media(hover:hover) {
  .primary:hover { background: #2c6046; }
  .secondary:hover { background: #eef3e6; border-color: #c7d7b9; }
  .job-card:hover { border-color: #c8d6bc; box-shadow: 0 5px 20px #2b483307; }
  .job-main:hover .job-copy > strong { color: var(--green); }
  .text-button:hover, .delete-button:hover { text-decoration: underline; }
  .sidebar nav button:hover { background: #e4ebda; }
}
@media(min-width:761px) and (max-width:1100px) {
  .sidebar { width: 210px; padding-inline: 17px; }
  main { margin-left: 210px; padding-inline: 28px; }
  .page-heading .desktop-add { display: none; }
  .stats > div { padding: 16px 13px; gap: 11px; }
  .stat-icon { width: 34px; height: 34px; font-size: 18px; }
  .stats div > span:not(.stat-icon) { font-size: 10px; }
  .list-toolbar { flex-wrap: wrap; }
  .list-toolbar .search-label { flex-basis: 100%; }
  .list-toolbar > label:not(.search-label) { flex: 1; }
  .list-toolbar select { max-width: none; }
  .toast { left: calc(210px + (100vw - 210px)/2); }
}
@media(max-width:760px) {
  input, textarea, select { font-size: 16px; min-height: 44px; }
  .primary, .secondary { min-height: 44px; }
  .sidebar { display: none; }
  main { margin-left: 0; padding: 0 19px calc(100px + env(safe-area-inset-bottom)); }
  .mobile-brand { display: flex; justify-content: flex-end; align-items: center; padding: calc(19px + env(safe-area-inset-top)) 0 25px; font-size: 20px; font-weight: 700; letter-spacing: -.8px; }
  .brand-wordmark { display:inline-flex; align-items:center; gap:7px; }
  .brand-mobile-icon { display:block; width:26px; height:26px; }
  .mobile-brand .primary { font-size: 12px; }
  .desktop-add { display: none; }
  .page-heading { margin-bottom: 25px; }
  .page-heading .eyebrow { font-size: 9px; margin-bottom: 14px; }
  .page-heading h1 { font-size: 34px; letter-spacing: -1.3px; line-height: 1.14; margin-bottom: 13px; }
  .page-heading > div > p:last-child { font-size: 13px; line-height: 1.6; }
  .stats { gap: 8px; margin-bottom: 30px; }
  .stats > div { padding: 13px 10px; display: block; border-radius: 13px; }
  .stat-icon { width: 30px; height: 30px; border-radius: 9px; font-size: 17px; margin-bottom: 11px; }
  .stats strong { font-size: 23px; }
  .stats div > span:not(.stat-icon) { font-size: 10px; line-height: 1.35; margin-top: 4px; }
  .section-heading { gap: 10px; margin-bottom: 16px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading p { font-size: 11px; }
  .section-heading > .text-button { font-size: 10px; max-width: 90px; text-align: right; min-height: 44px; }
  .list-toolbar { flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .list-toolbar .search-label { flex-basis: 100%; }
  .list-toolbar > label:not(.search-label) { flex: 1; }
  .list-toolbar select, .list-toolbar input { font-size: 16px; max-width: none; }
  .job-card { grid-template-columns: minmax(0,1fr); padding: 17px; gap: 13px; border-radius: 16px; }
  .job-main { gap: 12px; }
  .company-monogram { width: 38px; height: 38px; font-size: 12px; border-radius: 10px; }
  .job-copy > strong { font-size: 17px; }
  .job-actions { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid #e9eddf; gap: 10px; }
  .job-actions select { font-size: 16px; min-height: 40px; padding: 6px 8px; }
  .job-actions .text-button { min-height: 40px; }
  .empty-state { padding: 35px 20px; }
  .empty-state h3 { font-size: 19px; }
  .mobile-nav { position: fixed; z-index: 10; inset: auto 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); background: #fffefaed; border-top: 1px solid #e0e6d5; backdrop-filter: blur(16px); }
  .mobile-nav button { border: 0; background: transparent; color: #8b987b; display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 49px; font-size: 10px; }
  .mobile-nav button span { font-size: 23px; line-height: 1.1; }
  .mobile-nav button[aria-current] { color: #376c43; font-weight: 650; }
  dialog { width: 100%; max-width: none; max-height: calc(100dvh - 18px); margin: auto 0 0; border-radius: 24px 24px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .dialog-head { padding: 22px 19px 18px; }
  .dialog-head h2 { font-size: 23px; }
  .close { width: 40px; height: 40px; }
  #jobForm { padding: 21px 19px; gap: 17px; }
  .form-grid { gap: 14px; }
  .form-grid label { min-width: 0; }
  .form-grid input[type=date] { width: 100%; padding-inline: 7px; }
  .dialog-actions { gap: 9px; }
  .dialog-actions .delete-button { flex-basis: 100%; text-align: left; }
  .dialog-actions a { margin-right: auto; font-size: 11px; }
  .letter-draft { padding: 13px; }
  .letter-draft textarea { font-size: 16px; }
  .documents-callout { flex-direction: column; align-items: start; }
  .toast { left: 50%; bottom: calc(85px + env(safe-area-inset-bottom)); width: max-content; font-size: 12px; }
  .document-upload { grid-template-columns: minmax(0,1fr); padding: 18px; gap: 16px; }
  .document-upload input[type=file] { font-size: 13px; }
  .document-toolbar { gap: 9px; }
  .document-toolbar label { flex-basis: 100%; max-width: none; margin-right: 0; }
  .document-toolbar button { flex: 1; }
  .document-card { padding: 17px; }
  .document-edit form { grid-template-columns: minmax(0,1fr); }
  .document-card h3 { font-size: 16px; }
  .document-vault .section-head { flex-wrap: wrap; }
}
@media(max-width:360px) {
  main { padding-inline: 14px; }
  .page-heading h1 { font-size: 30px; }
  .stats { gap: 6px; }
  .stats > div { padding: 12px 8px; }
  .stats div > span:not(.stat-icon) { font-size: 9px; }
  .form-grid { grid-template-columns: minmax(0,1fr); }
  .section-heading > .text-button { max-width: 76px; }
  .job-actions select { max-width: 160px; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.paste-email-button { margin: 10px 0 0; width: 100%; }
.job-card { padding:10px 14px; gap:14px; align-items:center; }
.job-main { gap:12px; align-items:center; min-height:44px; }
.company-monogram { width:36px; height:36px; border-radius:10px; }
.job-company { margin-bottom:1px; }
.job-meta { margin-top:4px; gap:4px 10px; }
.job-location { margin-top:2px; }
.job-actions { display:flex; gap:12px; align-items:center; padding:0; }
.job-actions select,.job-actions .text-button { min-height:44px; }
@media(max-width:760px) {
  .job-card { grid-template-columns:minmax(0,1fr) auto; padding:12px; gap:8px; }
  .job-main { gap:8px; }
  .company-monogram { width:30px; height:30px; font-size:11px; }
  .job-copy > strong { font-size:16px; }
  .job-actions { border:0; padding:0; }
  .job-actions select { min-width:0; max-width:108px; width:108px; }
  .job-actions .text-button { display:none; }
}
.email-entry { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 20px; border:1px solid var(--line); background:var(--surface); border-radius:16px; margin-bottom:28px; }
.email-entry p { margin:4px 0 0; color:var(--muted); font-size:13px; }
.email-entry button { flex:none; }
#emailReviewForm { display:grid; gap:16px; padding:24px; }
#emailReviewForm label { display:grid; gap:7px; }
#emailReviewFields:not([hidden]) { display:grid; gap:16px; }
#emailReviewFields [hidden] { display:none; }
#emailReviewMessage { margin:0; color:#935132; }
.email-forward-note { font-size:12px; color:var(--muted); border-top:1px solid var(--line); padding-top:15px; }
.email-history details { border:1px solid var(--line); border-radius:12px; padding:14px; margin-top:10px; }
.email-history summary { cursor:pointer; font-weight:650; overflow-wrap:anywhere; }
.email-history pre { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; font-size:14px; max-height:360px; overflow:auto; }
/* Applications first, without a tall marketing header or summary cards. */
.compact-view-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.compact-view-heading h1 { font-size:28px; margin:0; line-height:1.2; letter-spacing:-.8px; }
.home-stages { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 22px; }
.home-stages button { min-height:44px; }
.home-stages strong { margin-left:8px; }
.home-recent { display:grid; gap:8px; }
.home-role { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; min-height:52px; background:var(--surface); border:1px solid var(--line); border-radius:12px; text-align:left; color:var(--ink); }
.home-role strong { font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.home-role > span { flex:none; font-size:12px; color:var(--muted); }
.profile-settings { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:12px; max-width:540px; }
.profile-settings .small-note { grid-column:1/-1; margin:0; }
.profile-backup { margin-top:24px; max-width:540px; }
.profile-backup h2 { font-size:20px; }
.docs-actions { display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.docs-actions p { margin:0 auto 0 0; font-size:12px; color:var(--muted); }
.docs-actions button { min-height:44px; }
.document-folders { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-bottom:12px; }
.document-folders button { display:flex; align-items:center; justify-content:center; gap:7px; min-height:60px; padding:10px; color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:12px; font-size:13px; }
.document-folders button[aria-pressed=true] { border-color:var(--green); background:var(--soft); }
.document-folders button > span { color:var(--green); font-size:23px; }
.document-folders small { color:var(--muted); }
.document-import { margin-bottom:12px; }
.document-import > summary { cursor:pointer; min-height:44px; padding-block:10px; font-size:12px; }
.document-import:not([open]) { display:none; }
.document-import .document-upload { padding:14px; gap:12px; margin-bottom:10px; }
.document-vault .document-toolbar { margin:10px 0; }
.document-vault .document-storage-note { margin:8px 0; }
.document-vault [data-vault-status]:empty { display:none; }
@media(max-width:760px) {
  .document-folders button { flex-wrap:wrap; gap:4px; padding:8px 4px; font-size:11px; }
  .document-folders button > span { flex-basis:100%; font-size:23px; line-height:1; }
}
@media(max-width:760px) {
  .mobile-nav { grid-template-columns:repeat(5,minmax(0,1fr)); padding-inline:8px; }
  .mobile-nav .nav-add-role > .nav-compass-icon { width:38px; height:34px; padding:6px; border-radius:12px; background:var(--green); color:white; display:block; }
  .mobile-nav .nav-add-role .nav-label { font-size:10px; line-height:1.5; }
  .mobile-nav .profile-initials { width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:var(--soft); color:var(--green); font-size:11px; font-weight:650; }
  .profile-settings input { font-size:16px; min-height:44px; }
  .profile-settings button, .profile-backup button { min-height:44px; }
  .compact-view-heading h1 { font-size:25px; }
}
main { padding-top:24px; }
#jobsView .applications-heading { margin-bottom:10px; gap:12px; }
#jobsView .applications-heading h1 { font-size:28px; line-height:1.2; letter-spacing:-.8px; margin:0; }
.stats.compact-stats { display:flex; flex-wrap:wrap; gap:8px 22px; margin-bottom:12px; }
.stats.compact-stats > div { display:flex; align-items:baseline; gap:6px; padding:0; border:0; border-radius:0; background:none; box-shadow:none; }
.stats.compact-stats strong { display:inline; font-size:18px; line-height:1.4; }
.stats.compact-stats div > span { display:inline; margin:0; font-size:12px; }
.email-entry.compact-email-entry { flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px 14px; justify-content:flex-start; padding:0 0 12px; margin:0 0 10px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:none; }
.compact-email-entry > strong { font-size:12px; font-weight:600; }
.email-buttons { display:flex; gap:8px; }
.email-buttons button { min-height:44px; padding:8px 12px; }
#jobsView .applications-list-heading { margin-bottom:8px; gap:8px; }
#jobsView .applications-list-heading p { margin:0; font-size:12px; }
#jobsView .applications-list-heading > .text-button { min-height:44px; white-space:nowrap; max-width:none; margin-left:auto; }
#jobsView .list-toolbar { margin-bottom:10px; }
@media(max-width:760px) {
  main { padding-top:14px; }
  .mobile-brand { margin-bottom:14px; }
  #jobsView .applications-heading h1 { font-size:25px; }
  .stats.compact-stats { gap:6px 16px; margin-bottom:10px; }
  .stats.compact-stats strong { font-size:17px; }
  .stats.compact-stats div > span { font-size:11px; }
  .email-buttons { flex:1 1 100%; }
  .email-buttons button { flex:1; min-width:0; font-size:12px; }
  #jobsView .applications-list-heading p { font-size:11px; }
  #jobsView .list-toolbar input, #jobsView .list-toolbar select { min-height:44px; padding-block:8px; }
}
/* Compact role editor: labels beside controls, optional details tucked away. */
.home-summary { gap:12px; margin-bottom:18px; }
.stats.home-summary > div { display:grid; grid-template-columns:1fr auto; gap:8px; padding:18px; align-items:center; }
.home-summary .stat-icon { margin:0; width:44px; height:44px; }
.home-summary .stat-icon svg { width:28px; height:28px; }
.home-summary > div > span:last-child { grid-column:1/-1; font-size:12px; margin:0; }
.home-summary strong { font-size:28px; }
.compact-email-entry .email-buttons { flex-wrap:wrap; }
.job-actions .stage-next-step { background:#f5edcd; color:#806a2d; border-color:#ece0b7; }
.job-actions .stage-archived { background:#eceee9; color:#687166; border-color:#dce1d7; }
@media(max-width:760px) {
  .stats.home-summary { gap:8px; }
  .stats.home-summary > div { grid-template-columns:minmax(0,1fr); gap:6px; padding:12px; }
  .home-summary .stat-icon { width:36px; height:36px; border-radius:10px; }
  .home-summary .stat-icon svg { width:24px; height:24px; }
  .home-summary strong { font-size:24px; }
  .home-summary > div > span:last-child { font-size:11px; line-height:1.3; }
  .compact-email-entry .email-buttons { gap:6px; }
  .compact-email-entry .email-buttons button { flex:1 1 auto; padding:8px 10px; }
  .mobile-nav .nav-add-role { align-content:center; }
  .mobile-nav .nav-add-role > .nav-compass-icon { height:42px; width:42px; padding:7px; }
}
#jobDialog .dialog-head { padding:16px 22px; align-items:center; }
#jobDialog .dialog-head h2 { font-size:21px; line-height:1.3; }
#jobDialog .dialog-head .eyebrow { margin-bottom:4px; }
#jobForm { padding:14px 20px; gap:9px; }
#jobForm .form-grid { gap:8px 16px; }
#jobForm > label, #jobForm .form-grid > label, #jobForm .letter-draft > div > label { grid-template-columns:78px minmax(0,1fr); align-items:center; gap:8px; }
#jobForm input, #jobForm select { min-height:40px; padding:7px 9px; }
#jobForm textarea { padding:8px 10px; }
#jobForm > label:has(textarea) { align-items:center; }
#jobForm > label > textarea { min-height:70px; height:70px; }
#jobForm .drafts-section { padding-top:12px; margin-top:0; }
#jobForm .drafts-section .section-heading { margin-bottom:8px; }
#jobForm .section-heading p { margin-top:3px; }
#jobForm .small-note { margin:5px 0; }
#jobForm .documents-callout { padding:12px; gap:10px; }
#jobForm .dialog-actions { padding-top:12px; margin-top:0; }
#jobForm .email-history details { padding:10px 12px; margin-top:6px; }
.job-more-items { border-block:1px solid var(--line); }
.job-more-items > summary { cursor:pointer; min-height:44px; padding:11px 0; font-size:13px; font-weight:600; }
.job-more-items[open] { padding-bottom:8px; }
.job-more-items .delete-button { min-height:44px; margin-top:4px; }
.job-copy > .job-heading { font-size:16px; font-weight:600; }
.date-control { display:flex; align-items:center; gap:8px; min-width:0; }
#jobForm input.picker-only { position:relative; width:44px; min-width:44px; height:44px; padding:0; color:transparent; cursor:pointer; background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23366f54' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4m8-4v4'/%3E%3C/svg%3E") center/20px no-repeat; }
#jobForm .picker-only::-webkit-datetime-edit { display:none; }
#jobForm .picker-only::-webkit-calendar-picker-indicator { position:absolute; inset:0; width:100%; height:100%; margin:0; padding:0; opacity:0; cursor:pointer; }
.chosen-date { font-size:12px; font-weight:400; color:var(--ink); }
@media(max-width:600px) {
  #jobDialog .dialog-head { padding:14px 16px; }
  #jobDialog .dialog-head h2 { font-size:19px; }
  #jobForm { padding:14px 16px; gap:10px; }
  #jobForm .form-grid { grid-template-columns:minmax(0,1fr); gap:8px; }
  #jobForm input, #jobForm select, #jobForm textarea { font-size:16px; }
  #jobForm input, #jobForm select, #jobForm button { min-height:44px; }
  #jobForm > label, #jobForm .form-grid > label, #jobForm .letter-draft > div > label { grid-template-columns:82px minmax(0,1fr); }
  #jobForm .documents-callout { flex-direction:row; flex-wrap:wrap; align-items:center; }
  .job-copy > .job-heading { font-size:15px; }
}
@media(max-width:760px) { .email-entry { align-items:stretch; flex-direction:column; padding:16px; } #emailReviewForm { padding:19px; } #emailReviewForm input,#emailReviewForm select,#emailReviewForm textarea { font-size:16px; min-width:0; width:100%; } }

/* Keep document editing alongside the file, with the toggle beside its title. */
.document-card { display:grid; grid-template-columns:minmax(0,1fr); gap:0 22px; padding:16px 18px; }
.document-title-row { display:flex; align-items:center; justify-content:space-between; gap:12px; min-width:0; }
.document-title-row > div { min-width:0; }
.document-title-row .eyebrow { margin-bottom:3px; font-size:9px; }
.document-edit-toggle { flex:none; display:flex; align-items:center; gap:7px; min-height:44px; padding:7px 0 7px 8px; border:0; background:transparent; color:var(--green); font-size:12px; font-weight:600; white-space:nowrap; }
.document-edit-toggle::after { content:'⌄'; }
.document-edit-toggle[aria-expanded="true"]::after { content:'⌃'; }
.document-card .document-filename, .document-card .document-job { margin-top:3px; line-height:1.45; }
.document-added { color:#8d977f; font-size:10px; }
.document-card .document-actions { margin-top:10px; gap:8px; }
.document-card .document-edit { margin:0; padding:0 0 0 20px; border:0; border-left:1px solid var(--line); min-width:0; }
.document-card .document-edit form { padding:0; gap:9px; grid-template-columns:minmax(0,1fr); }
.document-edit form > label { grid-template-columns:88px minmax(0,1fr); align-items:center; gap:9px; }
.document-edit form input, .document-edit form select { min-height:38px; padding:7px 9px; font-size:13px; }
.document-edit-actions { display:flex; flex-wrap:wrap; align-items:center; gap:13px; padding-left:97px; }
.document-edit-actions > button[type="submit"] { padding:9px 12px; min-height:38px; border:0; border-radius:9px; background:var(--green); color:white; font-size:12px; font-weight:600; }
.document-card:has(.document-edit:not([hidden])) { grid-template-columns:minmax(0,1fr) minmax(300px,1fr); }
.document-card:has(.document-edit:not([hidden])) .document-card-main { grid-column:1; grid-row:1; }
.document-card:has(.document-edit:not([hidden])) .document-edit { grid-column:2; grid-row:1 / 3; }
.document-card:has(.document-edit:not([hidden])) .document-actions { grid-column:1; grid-row:2; align-self:end; }
@media(min-width:761px) {
  #jobsView .applications-heading > div:first-child { margin-right:auto; }
  #jobsView .applications-heading .desktop-add { display:inline-flex; align-items:center; justify-content:center; margin-left:auto; }
  #jobsView .applications-heading .career-page-tools { margin-left:0; }
}
@media(max-width:1100px) {
  .document-card:has(.document-edit:not([hidden])) { grid-template-columns:minmax(0,1fr); }
  .document-card:has(.document-edit:not([hidden])) .document-edit { grid-column:1; grid-row:2; margin-top:12px; padding:12px 0 0; border-left:0; border-top:1px solid var(--line); }
  .document-card:has(.document-edit:not([hidden])) .document-actions { grid-column:1; grid-row:3; }
}
@media(max-width:760px) {
  .document-card { padding:13px 14px; }
  .document-card-main { gap:11px; }
  .document-type { width:34px; height:42px; font-size:9px; }
  .document-title-row { gap:8px; align-items:start; }
  .document-title-row h3 { font-size:15px; }
  .document-edit-toggle { padding-left:3px; font-size:11px; }
  .document-card .document-actions { gap:7px; margin-top:9px; }
  .document-edit form > label { grid-template-columns:82px minmax(0,1fr); gap:8px; }
  .document-edit form input, .document-edit form select { min-height:44px; font-size:16px; }
  .document-edit-actions { padding-left:90px; }
  .document-edit-actions > button { min-height:44px; }
}
.app-switch-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.app-switch-buttons .switch-app-link{margin:0;justify-content:center;text-align:center;padding:12px 8px;min-width:0}
.app-switch-buttons .switch-app-link[aria-current="page"]{background:#dcebe2;border:2px solid #39725e;color:#245544;box-shadow:inset 0 0 0 1px #ffffff80;pointer-events:none}
#jobDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh}
#jobForm input,#jobForm textarea,#jobForm select{font-weight:400!important}
#jobForm>.dialog-head{padding:0 0 10px;gap:12px;flex-wrap:wrap}
#jobForm .dialog-head .eyebrow{display:none}
#jobForm .header-applied{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:12px;font-weight:400}
#jobForm .role-primary{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#jobForm .role-primary>label{display:flex;flex-direction:column;align-items:stretch;gap:4px}
#jobForm .role-primary input{width:100%;min-width:0}
#jobForm .job-more-items>summary{font-size:17px;font-weight:650;padding:12px 0}
#jobForm .header-applied .chosen-date{white-space:nowrap}
@media(max-width:500px){#jobForm{padding:12px}#jobForm>.dialog-head{gap:8px}#jobForm .header-applied{gap:4px}#jobForm .header-applied .chosen-date{font-size:11px}}
.applications-heading{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.applications-heading .desktop-add{display:block!important;align-self:center}
#jobsView .email-buttons{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:10px;scroll-snap-type:x mandatory;padding-bottom:8px}
#jobsView .email-buttons button{flex:0 0 112px;width:112px;height:112px;white-space:normal;border-radius:22px;scroll-snap-align:start}
@media(min-width:761px){#jobsView .compact-email-entry .email-buttons{justify-content:center;margin-inline:auto}}
.email-submit-actions{display:flex;gap:10px;justify-content:center}
.email-submit-actions button{width:88px;height:88px;border-radius:18px}
#periodMetrics>div{padding:12px;display:flex;flex-direction:column;gap:5px}
.period-heading{margin-top:30px}
.add-menu{box-sizing:border-box;width:min(320px,calc(100vw - 24px));max-width:320px;padding:18px;justify-content:center;align-items:center}.add-menu[open]{display:flex}.add-menu button{width:100%;justify-content:center;margin:0}
.role-workspace-tiles{display:flex;gap:12px;overflow-x:auto;padding:16px 0;scroll-snap-type:x mandatory}
.role-workspace-tiles button{flex:0 0 116px;height:116px;border:1px solid var(--line);border-radius:22px;background:var(--surface);color:var(--ink);padding:12px;scroll-snap-align:start}
.role-description{white-space:pre-wrap;font-weight:400;max-height:260px;overflow:auto}
.role-edit-details>summary{cursor:pointer;padding:14px 0;font-weight:600}
.role-listing{display:inline-block;margin:8px 0}.status-preparing{background:#e7e9ef!important;color:#50586c!important}
.period-heading{display:flex;align-items:center;justify-content:space-between;margin:12px 0 4px}.period-heading h2{font-size:18px;margin:0}.period-heading select{min-height:36px;padding:6px 10px}
.stats.compact-stats{display:flex;flex-wrap:wrap;gap:8px 22px;margin:0 0 18px}.stats.compact-stats>div{display:flex;align-items:center;gap:7px;padding:5px 0;border:0;background:none;box-shadow:none}.metric-art{color:var(--green);font-size:18px}.stats.compact-stats strong{font-size:20px}.stats.compact-stats div>span:last-child{font-size:12px;margin:0}
.applications-heading{align-items:flex-start}.applications-heading .desktop-add{align-self:flex-start}
.home-summary{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:12px}.stats.home-summary>div{display:flex;align-items:center;gap:7px;padding:4px 0;border:0;border-radius:0;background:none;box-shadow:none}.home-summary .stat-icon{width:24px;height:24px;margin:0}.home-summary .stat-icon svg{width:18px;height:18px}.home-summary strong{font-size:20px}.home-summary>div>span:last-child{font-size:12px;margin:0}

.job-actions .stage-new,.status-new{background:#e6f0e4!important;color:#47704b!important;border-color:#d4e4d1!important}
.app-switch-buttons .switch-app-link{width:112px;height:112px;min-height:0;padding:13px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;border-radius:20px;font-size:13px}.app-switch-buttons{display:flex;flex-wrap:wrap;gap:10px}.profile-identity{display:flex;align-items:center;gap:14px;position:relative;z-index:2}.profile-photo{position:relative;width:74px;height:74px;padding:0;border:2px solid var(--green);border-radius:22px;overflow:hidden;background:#dcebe2;color:var(--green);cursor:pointer}.profile-photo img{width:100%;height:100%;object-fit:cover}.profile-photo img[hidden]{display:none}.profile-photo>span{font-size:20px;font-weight:700}.profile-photo:after{content:'✎';position:absolute;right:4px;bottom:4px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:#fff;font-size:11px}.profile-nav-photo{display:inline-grid;place-items:center;width:25px;height:25px;overflow:hidden;border-radius:50%;background:var(--soft);color:var(--green);font-size:10px;font-weight:700}.profile-nav-photo img{width:100%;height:100%;object-fit:cover}.profile-heading h1{margin-bottom:3px}.profile-backup .email-buttons{display:flex;flex-wrap:wrap;gap:9px}.profile-backup .email-buttons button{width:96px;height:96px;padding:10px;border-radius:18px;white-space:normal}.secondary,.tool-chip,.text-button{max-width:max-content}

/* Docs: square folder and file actions keep the library scannable without long rows. */
.document-folders{display:flex;justify-content:center;gap:12px;overflow-x:auto;margin:12px 0 14px;padding:2px 0 6px}.document-folders button{flex:0 0 112px;width:112px;height:112px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:13px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);font-weight:650;text-align:left}.document-folders button[aria-pressed="true"]{background:#dcebe2;border-color:#39725e;box-shadow:inset 0 0 0 2px #ffffff80;color:#245544}.document-folders button span{font-size:28px;color:var(--green)}.document-folders button small{font-size:11px;color:var(--muted)}.document-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 12px}.document-upload-actions{display:flex;align-items:center;gap:8px;margin:0}.document-upload-actions button{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 12px;font-size:13px}.document-upload-actions .action-icon{width:20px;height:20px}.document-upload-actions button[hidden]{display:none!important}.document-card{position:relative;padding:15px 16px}.document-title-row{align-items:flex-start}.document-title-row .eyebrow{margin-bottom:4px}.document-title-row h3{font-size:17px}.document-added{display:block;margin-top:4px;font-size:11px;color:#8d977f}.document-filename,.document-job{display:none}.document-card .document-more{margin-left:auto}.document-more>summary{width:42px;height:42px;min-height:42px;justify-content:center;padding:0;border:1px solid var(--line);border-radius:13px;font-size:23px;line-height:1}.document-more>summary::after{display:none}.document-more[open]>summary{background:#edf2e8}.document-more>button{display:block;width:150px;min-height:40px;padding:9px 12px;background:var(--surface);border:0;border-bottom:1px solid var(--line);color:var(--ink);text-align:left;font-size:12px}.document-more>button:last-child{border-bottom:0}.document-more{z-index:3}.document-more[open]{background:var(--surface);border-radius:13px;box-shadow:0 10px 24px #2b48331c}.document-more[open]>button{position:relative;right:0}.document-actions{display:flex;gap:9px;margin-top:12px}.document-action-square{width:78px;height:78px;padding:8px;border-radius:18px;font-size:12px}.document-card .document-history{margin-top:12px}.document-card .document-edit{margin-top:12px}.document-card:has(.document-edit:not([hidden])){grid-template-columns:minmax(0,1fr)}
.document-section-title{margin:0;font-size:23px;font-weight:650;letter-spacing:-.7px;line-height:1.2;color:var(--ink)}
@media(max-width:600px){.document-folders{gap:8px}.document-folders button{flex-basis:100px;width:100px;height:100px}.document-action-square{width:70px;height:70px}.document-title-row h3{font-size:15px}}
@media(max-width:760px){.document-section-title{font-size:21px}}
@media(max-width:400px){.document-section-heading{gap:8px}.document-section-title{font-size:20px}.document-upload-actions button{min-height:38px;padding:7px 9px;gap:6px;font-size:12px}.document-upload-actions .action-icon{width:18px;height:18px}}
.archive-nav-desktop{display:flex}
.home-archive-button{display:none}
@media(max-width:760px){.archive-nav-desktop{display:none}.mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.home-archive-button{display:flex;align-items:center;gap:9px;margin:24px auto 10px;min-height:48px}.home-archive-button .action-icon{width:22px;height:22px}}
.docs-count{margin:0 0 7px;color:var(--muted);font-size:11px}.compact-view-heading{position:relative}.compact-view-heading .career-page-tools{position:absolute;right:0;top:0;z-index:8}.compact-view-heading .career-page-tools .career-page-menu{right:0}.compact-view-heading.with-visual{min-height:118px;padding:8px 0}.compact-view-heading.with-visual .visual-docs{left:0;right:0;top:0;width:auto;height:118px;border-radius:24px;opacity:.28}.compact-view-heading.with-visual .visual-docs span{left:auto;right:17%;font-size:34px}.compact-view-heading.with-visual>div:first-child{z-index:2}
.profile-heading .career-page-tools{right:0;top:0}.profile-heading .visual-profile{opacity:.2}.profile-heading{min-height:104px!important}.app-switch-section{margin-top:28px}
#documentsView .compact-view-heading{margin-bottom:54px}#documentsView .compact-view-heading .career-page-tools{top:126px;right:0}
.page-heading,.compact-view-heading{position:relative}.career-page-tools{right:0!important;top:0!important}.compact-view-heading.with-visual .career-page-tools{z-index:12}#homeView .career-page-tools{display:block}.archive-mode .desktop-add,.archive-mode .email-entry,.archive-mode .role-toolkit{display:none}.archive-mode .applications-list-heading{margin-top:8px}.archive-mode .list-toolbar{margin-top:14px}
.applications-heading{padding-bottom:62px!important}.applications-heading .desktop-add{position:absolute;left:0;bottom:0;z-index:13;margin:0!important}.applications-heading .career-page-tools{right:0!important;top:0!important}
.period-heading{flex-wrap:nowrap}.period-heading h2{flex:0 0 auto;white-space:nowrap}.period-heading select{width:max-content;max-width:220px;flex:0 0 auto}
#homeView .career-page-tools{display:none}#homeView .with-visual .visual-home{left:0;right:0;top:0;width:auto;height:176px;border-radius:28px;opacity:.42}#homeView .with-visual{min-height:150px;padding:22px 24px;border-radius:28px}
@media(max-width:600px){.period-heading select{max-width:175px}.period-heading{gap:8px}#homeView .with-visual{min-height:124px;padding:16px}#homeView .with-visual .visual-home{height:140px}}
@media(max-width:600px){.period-heading{margin-top:24px}}

/* Purposeful, lightweight visual headers: large enough to give each section an identity, with no image download. */
.with-visual{position:relative;min-height:118px;overflow:hidden}.with-visual>div:first-child{position:relative;z-index:1}.view-kicker{margin:2px 0 0;color:var(--muted);font-size:13px}.page-visual{position:absolute;right:3%;top:-12px;width:220px;height:132px;border-radius:34px;background:linear-gradient(135deg,#e9f0df,#dcebe2);overflow:hidden;opacity:.95}.page-visual:before,.page-visual:after{content:'';position:absolute;border:1px solid rgba(43,105,81,.35);border-radius:50%}.page-visual:before{width:150px;height:150px;right:-30px;top:-55px}.page-visual:after{width:92px;height:92px;left:-22px;bottom:-48px}.page-visual span{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-55%);font-size:42px;color:#2d735f;font-weight:700}.page-visual i,.page-visual b{position:absolute;display:block;background:#2d735f;opacity:.45;border-radius:99px}.page-visual i{width:42px;height:4px;right:28px;bottom:30px;transform:rotate(-25deg)}.page-visual b{width:20px;height:20px;left:30px;top:28px;border:3px solid #2d735f;background:transparent}.visual-roles{background:linear-gradient(135deg,#f3eadc,#e7edf1)}.visual-roles span{color:#b57652}.visual-roles i{background:#b57652}.visual-roles b{border-color:#b57652}.visual-docs{background:linear-gradient(135deg,#e9edda,#dce9e8)}.visual-docs span{color:#6a8052}.visual-profile{background:linear-gradient(135deg,#efe4d9,#e8ece3)}.visual-profile span{font-size:22px;letter-spacing:2px;color:#8d6650}.role-toolkit{margin:10px 0 15px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.48)}.toolkit-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.toolkit-heading h2{font-size:14px;margin:0}.toolkit-heading span{font-size:11px;color:var(--muted)}.toolkit-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:9px}.tool-chip{border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);padding:7px 10px;font-size:11px;cursor:pointer}.tool-chip:hover,.tool-chip:focus-visible{border-color:var(--green);color:var(--green)}.tool-sort{display:flex;align-items:center;gap:5px;margin-left:auto;font-size:11px;color:var(--muted)}.tool-sort select{min-height:31px;padding:4px 7px;font-size:11px}.toolkit-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px;color:var(--muted);font-size:10px}.toolkit-links span:before{content:'✓';color:var(--green);margin-right:4px}.applications-table .status-cell{width:82px;padding:0 4px}.applications-table .status-block{width:82px;min-width:82px;padding:7px 5px!important;font-size:11px!important;letter-spacing:-.15px}.applications-table th:nth-child(3),.applications-table .date-cell{white-space:nowrap;width:74px}.applications-table th:nth-child(1),.applications-table .company-cell{width:128px}.applications-table th:nth-child(2){min-width:170px}
#jobForm .form-grid>label input,#jobForm .form-grid>label select{max-width:230px}#jobForm .role-primary input{max-width:none}#jobForm .form-grid>label:has(.date-control) input{max-width:44px}.date-control{width:max-content}.status-summary{margin-top:10px}
@media(max-width:760px){.with-visual{min-height:90px}.page-visual{width:140px;height:92px;right:-18px;top:-10px;border-radius:24px}.page-visual span{font-size:30px}.view-kicker{font-size:11px}.role-toolkit{padding:10px;margin-top:7px}.tool-sort{margin-left:0;width:100%;justify-content:space-between}.applications-table .status-cell,.applications-table .status-block{width:76px;min-width:76px}.applications-table th:nth-child(1),.applications-table .company-cell{width:92px}.applications-table th:nth-child(2){min-width:130px}.applications-table th:nth-child(3),.applications-table .date-cell{width:64px}.toolkit-links{display:none}}
#jobForm>.dialog-head{position:sticky;top:0;z-index:8;background:var(--surface);border-bottom:1px solid var(--line);margin-inline:-20px;padding-inline:20px!important}.role-page-header{position:sticky;top:0;z-index:6;padding:12px 0 14px;background:var(--bg);border-bottom:1px solid var(--line)}.role-page-header h1{margin:0}.role-page-header p{margin:3px 0;font-size:13px;color:var(--muted)}
.app-switch-buttons .switch-app-link{width:112px;height:112px;min-height:0;padding:13px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;border-radius:20px;font-size:13px}.app-switch-buttons{display:flex;flex-wrap:wrap;gap:10px}.profile-identity{display:flex;align-items:center;gap:14px;position:relative;z-index:2}.profile-photo{position:relative;width:74px;height:74px;padding:0;border:2px solid var(--green);border-radius:22px;overflow:hidden;background:#dcebe2;color:var(--green);cursor:pointer}.profile-photo img{width:100%;height:100%;object-fit:cover}.profile-photo img[hidden]{display:none}.profile-photo>span{font-size:20px;font-weight:700}.profile-photo:after{content:'✎';position:absolute;right:4px;bottom:4px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:#fff;font-size:11px}.profile-nav-photo{display:inline-grid;place-items:center;width:25px;height:25px;overflow:hidden;border-radius:50%;background:var(--soft);color:var(--green);font-size:10px;font-weight:700}.profile-nav-photo img{width:100%;height:100%;object-fit:cover}.profile-heading h1{margin-bottom:3px}.profile-backup .email-buttons{display:flex;flex-wrap:wrap;gap:9px}.profile-backup .email-buttons button{width:96px;height:96px;padding:10px;border-radius:18px;white-space:normal}.secondary,.tool-chip,.text-button{max-width:max-content}
@media(max-width:600px){#jobForm>.dialog-head{margin-inline:-12px;padding-inline:12px!important}.role-page-header{top:0}.app-switch-buttons .switch-app-link{width:96px;height:96px}.profile-backup .email-buttons button{width:82px;height:82px}}
.career-page-tools{position:absolute!important;right:72px;top:16px;margin:0!important;z-index:10}.career-page-tools .career-page-menu-toggle{width:48px;height:48px;border-radius:15px}.career-page-tools .career-page-menu{right:0}.role-workspace-tiles button{font-size:11px;line-height:1.25;font-weight:600}.role-workspace-tiles{gap:8px;padding:12px 0}.role-workspace-tiles button{flex-basis:100px;width:100px;height:100px;border-radius:18px;padding:9px}.job-more-items .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.job-more-items .form-grid>label{display:grid}.job-more-items .form-grid>label input,.job-more-items .form-grid>label select{max-width:220px}.header-applied{position:absolute!important;right:76px;top:64px;margin:0!important;z-index:2}.dialog-head{position:relative}.dialog-head h2{max-width:60%}
#jobForm>.dialog-head{padding-bottom:58px!important}
@media(max-width:600px){.career-page-tools{right:58px;top:12px}.career-page-tools .career-page-menu-toggle{width:42px;height:42px}.header-applied{right:60px;top:58px}.job-more-items .form-grid{grid-template-columns:minmax(0,1fr)}.role-workspace-tiles button{flex-basis:88px;width:88px;height:88px}}
