nav{gap:20px;flex-wrap:wrap}nav a[aria-current=page]{color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:6px}.tool-page main{min-height:calc(100vh - 230px)}.tool-page .builder,.tool-page .calculators{border-top:0}.tool-page .section-head h1{font-size:36px;line-height:1.25;letter-spacing:-1.2px;margin:15px 0 0}.page-breadcrumb{font-size:13px;color:var(--muted);margin-bottom:32px}.page-breadcrumb a{text-decoration:underline;text-underline-offset:3px}.tool-page .jobs{margin-top:32px;margin-bottom:48px}.tool-page .jobs .page-breadcrumb{grid-column:1/-1;margin-bottom:-40px}.tool-page .jobs h1{font-size:36px;line-height:1.25;letter-spacing:-1.2px;margin:15px 0 0}.tool-page .rights>h1{font-size:36px}.paths{grid-template-columns:repeat(3,minmax(0,1fr))}
button,.button,.text-action,nav a{min-height:44px}nav a{display:inline-flex;align-items:center;padding:8px 3px}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #54791c;outline-offset:4px}.field-help,.privacy,.preview-tip,.export-help{font-size:13px;line-height:1.75}.calc-fields label,.fields>label,.fields .two label{font-size:13px}input[aria-invalid=true],select[aria-invalid=true],textarea[aria-invalid=true]{border-color:#a13724;background:#fff8f5}.calc-result:focus-visible{outline:3px solid var(--green);outline-offset:5px}.calc-status:empty{display:none}.calc-error{scroll-margin-top:24px}.calc-result{scroll-margin-top:24px}
@media(max-width:1000px){header{gap:22px}nav{gap:14px;font-size:12px}}@media(max-width:700px){.tool-page .section-head h1,.tool-page .jobs h1{font-size:30px}.page-breadcrumb{margin-bottom:24px}.paths{grid-template-columns:1fr}.tool-page .jobs .page-breadcrumb{margin-bottom:0}.tool-page .jobs{margin-top:20px}nav{justify-content:start;gap:4px 14px}nav a{font-size:13px;padding:10px 7px}nav a[aria-current=page]{background:#edf3e4;border-radius:6px}.fields input,.fields textarea,.calc-fields input,.calc-fields select,.customize-controls select,.help-content select{font-size:16px}.calc-tabs button,.filters button,.wizard-steps button{min-height:46px}.text-action{padding-top:12px;padding-bottom:12px}}@media print{.page-breadcrumb{display:none!important}.tool-page main{min-height:0}}

/* Navigation and controls remain comfortable on touch screens. */
.preview-jump,.form-jump{display:none}
@media screen{
  .builder-grid>*,.fields>*,.two>*,.calc-fields>*,.paths>*,.jobs>*{min-width:0}
  .template-picker{min-width:0}
}
@media screen and (max-width:1100px){
  header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 24px;padding:20px 30px;min-width:0}
  header>.brand{grid-column:1;grid-row:1;justify-self:start}
  header>.header-cta{grid-column:2;grid-row:1;display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}
  header>nav{grid-column:1/-1;grid-row:2;order:3;display:flex;flex-wrap:nowrap;justify-content:flex-start;width:100%;min-width:0;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-padding:6px;padding:4px 2px 8px}
  header>nav a{flex:0 0 auto;white-space:nowrap;padding:10px 14px;font-size:14px}
  header>nav a[aria-current=page]{background:#edf3e4;border-radius:7px;text-underline-offset:4px}
}
@media screen and (max-width:1023px){
  .hero{grid-template-columns:1fr;padding:48px 30px;gap:28px}
  .hero-copy{max-width:650px}
  .hero-art{width:100%;max-width:480px;margin:0 auto;transform:none}
  .hero-copy>p{max-width:600px}
  .section-head{align-items:flex-start;flex-direction:column;gap:14px}
  .section-head>p{max-width:none;margin:0}
  .jobs{grid-template-columns:1fr;gap:24px}
  .tool-page .jobs .page-breadcrumb{margin-bottom:0}
  .jobs p{max-width:none}
  .fields input,.fields textarea,.fields select,.entry-card input,.entry-card textarea,.calc-fields input,.calc-fields select,.customize-controls select,.help-content select,.photo-settings input[type=file],.search input{font-size:16px}
  .fields input:not([type=checkbox]),.fields select,.calc-fields input,.calc-fields select,.customize-controls select{min-height:48px}
  .check-line{min-height:44px}
  .check-line input{width:20px;height:20px}
  .photo-settings input[type=range]{min-height:44px}
  .actions .text-link{display:inline-flex;align-items:center;min-height:44px}
  .button{max-width:100%;white-space:normal;line-height:1.5}
  .preview-jump,.form-jump{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:4px;scroll-margin-top:24px}
  .preview-jump{margin:-8px 0 12px}
  .form-jump{margin:0 0 16px}
  #cv-form,#cv-preview{scroll-margin-top:24px}
  footer{flex-wrap:wrap}
}
@media screen and (max-width:700px){
  header{padding:16px 20px;gap:12px}
  header>nav a{font-size:13px;padding:10px 12px}
  .hero{padding:38px 22px 48px}
  .hero-art{min-height:300px;margin:0 auto}
  .hero h1{font-size:clamp(32px,8.6vw,40px)}
  .eyebrow{line-height:1.7;letter-spacing:1.3px}
  .section-head h1,.path h3,footer p,.source-note p{overflow-wrap:anywhere}
  .calc-tabs{gap:8px}
  .calc-tabs button{flex:1 1 130px;min-height:48px;font-size:13px}
  .filters button{min-height:44px}
  .draft-actions{align-items:stretch}
  .draft-actions .text-action{width:100%;display:flex;align-items:center;min-height:44px}
}
@media screen and (max-width:380px){
  header{padding:14px 16px;gap:10px}
  header .brand{font-size:17px;gap:8px}
  header .brand-icon{width:35px;height:38px;font-size:29px}
  header .header-cta{font-size:11px;padding:11px 10px}
  .section-pad,.path-section{padding:34px 16px}
  .hero{padding:32px 16px 42px}
  .hero-art{min-height:290px}
  .paper{padding:21px 18px}
  .floating{right:0;bottom:0;font-size:12px;padding:14px 16px}
  .orbit{width:230px;height:230px;right:8px}
  .tool-page .section-head h1,.tool-page .jobs h1{font-size:28px}
  .end-banner{padding:42px 20px}
  .end-banner .button{gap:12px;padding:16px 18px}
}
@media print{.preview-jump,.form-jump{display:none!important}}
@media(min-width:1101px){.paths{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:701px) and (max-width:1100px){.paths{grid-template-columns:repeat(2,minmax(0,1fr))}}
.resume-share{margin-top:28px;padding:22px;border:1px solid var(--line);border-radius:10px;background:var(--cream)}.resume-share h3{margin:0;font-size:18px}.share-options{display:grid;gap:22px;margin:22px 0}.share-options>div{min-width:0}.share-options input{font-size:16px}.resume-share .button{white-space:normal;line-height:1.5}.resume-share #share-filename{font-weight:700;overflow-wrap:anywhere}.resume-share .export-status:empty{display:none}@media(max-width:700px){.resume-share{padding:16px}.resume-share .button{width:100%;justify-content:center}}
