:root{font:16px/1.55 "Aptos",Inter,system-ui,sans-serif;color:#1a2b35;background:#f3f4ee;--navy:#142d39;--accent:#085b50;--line:#d5ddd5}*{box-sizing:border-box}body{margin:0}header{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1160px)/2));background:#fff;border-bottom:1px solid var(--line);gap:12px}.brand{color:var(--navy);text-decoration:none;font-weight:800;white-space:nowrap}.brand span{background:var(--navy);color:#fff;padding:5px 8px;border-radius:7px;margin-right:5px}main{max-width:1208px;margin:auto;padding:36px 24px 64px}.intro{background:var(--navy);color:#fff;padding:38px 42px;border-radius:16px;display:grid;grid-template-columns:1fr .52fr;gap:24px;align-items:end}h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(42px,6vw,83px);letter-spacing:-.06em;line-height:1;margin:0}.intro p{color:#d2e6dc;margin:0 0 4px;max-width:290px}nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:22px 0}.step{font-size:.85rem;background:#e8ebe3;color:#354953;text-align:left;padding:10px;border:1px solid transparent}.step[aria-current]{background:#d7eae1;color:#064940;border-color:#639a88}.step:disabled{opacity:.6;cursor:default}.grid{display:grid;grid-template-columns:1.15fr .85fr;gap:20px;align-items:start}.panel,aside{padding:24px;background:#fff;border:1px solid var(--line);border-radius:14px}h2{font-family:Georgia,serif;font-size:32px;line-height:1.1;margin:0 0 20px;font-weight:500}p{margin:0 0 14px}label{display:block;font-size:.9rem;font-weight:650;margin-top:13px}input:not([type=radio]):not([type=checkbox]),textarea,.role-notes-measure{display:block;width:100%;font:inherit;font-size:.92rem;padding:9px 10px;border:1px solid #9eafa9;border-radius:6px;background:#fff;color:inherit}textarea{min-height:88px;resize:vertical}button,.button{font:inherit;font-weight:700;cursor:pointer;border:1px solid transparent;border-radius:8px;background:var(--accent);color:#fff;padding:9px 15px;text-decoration:none;display:inline-block}.quiet{background:#fff;color:var(--accent);border-color:#a6bcb4}.actions{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:15px;margin-top:15px}.links{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}.choice{display:flex;gap:12px;flex-wrap:wrap}fieldset{margin:0 0 15px;border:1px solid var(--line);border-radius:8px}fieldset label{margin:0;border:1px solid var(--line);border-radius:8px;padding:9px 12px;cursor:pointer}details{margin-top:10px}summary{cursor:pointer;color:var(--accent)}#status{color:#884218;margin:12px 0 0}.preview-label{font-size:.83rem;font-weight:800;margin-bottom:14px}aside{background:#e6ebe4}.paper{background:#fff;min-height:480px;padding:26px;box-shadow:0 3px 12px #142d3920;font-size:.83rem;overflow-wrap:anywhere;--ink:#233d4c;border-top:8px solid var(--ink)}.paper[data-style=sage]{--ink:#346c56;background:#f7fbf8}.paper h3{margin:0;color:var(--ink);font-family:Georgia,serif;font-size:26px;line-height:1.2}.paper h4{margin:15px 0 4px;color:var(--ink);font-size:.76rem;text-transform:uppercase;letter-spacing:.07em;border-bottom:1px solid #c8d1cb}.paper p{white-space:pre-wrap;margin-bottom:6px}.hint{color:#526764;font-size:.88rem}.suggestion{padding:12px;background:#edf5ef;border-radius:8px;margin-bottom:14px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #bb7516;outline-offset:2px}[hidden]{display:none!important}@media(max-width:760px){main{padding:20px 14px}.intro{display:block;padding:24px}.intro p{margin-top:14px}.grid{grid-template-columns:1fr}.step{font-size:.72rem;padding:7px}.panel,aside{padding:16px}}

.builder-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: 14.25rem;
  padding: 2rem 2.625rem;
  border: 1px solid #c3d3c9;
  border-radius: 18px;
  background: #e6eee9;
  color: var(--navy);
}
.builder-banner-copy { width: 60%; }
.builder-banner h1 {
  font: 400 clamp(2.5rem, 5vw, 3.5rem)/1.02 Georgia, serif;
  letter-spacing: -.052em;
}
.builder-banner p {
  max-width: 29.7rem;
  margin: .875rem 0 0;
  color: #34564c;
  font-size: 1.125rem;
  line-height: 1.34;
}
.builder-banner-samples {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 58%;
  overflow: hidden;
}
.builder-banner-samples img {
  position: absolute;
  width: 44%;
  height: auto;
  border: 1px solid #dde4de;
  box-shadow: 0 7px 16px #203e3430;
}
.builder-banner-samples img:first-child { right: 44%; top: 23%; transform: rotate(-11deg); }
.builder-banner-samples img:last-child { right: 11%; top: 10%; transform: rotate(8deg); }
@media (max-width: 740px) {
  .builder-banner { min-height: 0; padding: 1.5rem 1.0625rem; border-radius: 12px; }
  .builder-banner h1 { font-size: clamp(1.875rem, 6vw, 2.625rem); }
  .builder-banner p { font-size: 1rem; }
  .builder-banner-samples { left: 64%; }
  .builder-banner-samples img { width: 70%; }
  .builder-banner-samples img:first-child { right: 24%; top: 28%; }
  .builder-banner-samples img:last-child { right: -12%; top: 17%; }
}

.paper.word-design-preview{padding:4px;overflow:hidden;background:white}.word-design-preview section.rbword{box-sizing:border-box;box-shadow:none}.word-design-preview .hint{margin:4px 4px 10px}

.step-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-bottom:20px}.step-heading h2{margin:0}.step-heading button{margin-left:auto}


.reviewing button:disabled{opacity:.55;cursor:wait}.reviewing aside{min-width:0}.grid.reviewing{grid-template-columns:clamp(12.75rem,23%,17rem) minmax(0,1fr);align-items:start}
.grid.reviewing>.panel{min-width:0;align-self:stretch}
#reviewGuide{max-width:80ch}
.reviewing .step-heading{margin-bottom:.5rem}
.reviewing .panel>.actions{flex-wrap:wrap}
.reviewing .panel button{max-width:100%}

.build-control{display:contents}
.build-progress{display:none}
.is-building .build-control{display:inline-flex;flex-direction:column;align-items:center;max-width:100%;gap:5px}
.is-building .step-heading .build-control{margin-inline-start:auto}
.is-building .build-control button{margin:0;cursor:wait}
.is-building .build-progress{display:block;color:var(--accent);font-size:.875rem;font-weight:600;text-align:center}
.is-building #status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(prefers-reduced-motion:no-preference){
  .is-building .build-control button{animation:build-pulse 1.8s ease-in-out infinite}
  @keyframes build-pulse{0%,100%{background-color:var(--accent);box-shadow:0 0 0 0 transparent}50%{background-color:#166c60;box-shadow:0 0 0 3px #166c6029}}
}

.grid.profile-only{grid-template-columns:minmax(0,1fr)}
.profile-files{display:grid;justify-items:start;gap:5px;margin-top:12px}
.profile-files .hint{margin:0}

.entry-examples{display:flex;flex-wrap:wrap;gap:.15rem 1.8rem;margin:0 0 .7rem;padding-inline-start:1.2rem;font-size:.9rem}.entry-examples li::marker{color:var(--accent)}

.career-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.entry-delete{font-size:.875rem}.entry-delete[data-delete="roles"]{margin-top:8px}.removal-notice{display:flex;align-items:center;gap:8px;margin:8px 0}.removal-notice button{font-size:.875rem}

.job-text-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin:13px 0 5px}.job-text-heading label{margin:0}.job-text-heading button{font-size:.875rem}

/* The hidden copy wraps at the same width and sets the height of the editable field. */
.role-notes{display:grid;grid-template-columns:minmax(0,1fr)}
.role-notes > *{grid-area:1 / 1;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
.role-notes textarea{resize:none;overflow:hidden}
.role-notes-measure{visibility:hidden;pointer-events:none}
.role-notes-measure::after{content:" "}

.review-document,.review-document .paper{min-width:0}
.review-actions{position:relative;display:grid;gap:.65rem;min-width:0}
.review-actions[data-aligned]{display:block}
.review-actions[data-aligned] .role-action-pair{position:absolute;inset-inline:0}
.role-action-pair{display:flex;flex-wrap:wrap;align-content:start;gap:.25rem .4rem}
.role-action-name{flex-basis:100%;min-width:0;overflow-wrap:anywhere;font-weight:650;font-size:.875rem;line-height:1.2}
.role-action-pair button{min-height:32px;margin:0;padding:.25rem .5rem;font-size:.85rem;line-height:1.2}
.role-action-icon{display:none}
.role-action[aria-busy=true]{opacity:.65}
.role-action-pair button:disabled{cursor:default}
@media(max-width:760px){
  .grid.reviewing{grid-template-columns:clamp(5.7rem,26%,10rem) minmax(0,1fr);gap:.35rem}
  .grid.reviewing>.panel,.grid.reviewing>aside{padding:.45rem}
  .reviewing .review-document{overflow-x:auto}
  .reviewing .review-document .paper{width:max(100%,35rem)}
  .reviewing .step-heading{gap:.25rem;margin-bottom:.35rem}
  .reviewing .step-heading h2{font-size:1.25rem}
  .reviewing .panel button{font-size:.75rem;padding:.25rem .35rem}
  .reviewing .panel>.actions{gap:.35rem}
  .reviewing .role-action-pair{gap:.15rem .25rem}
  .reviewing .role-action-name{font-size:.72rem;line-height:1.1}
  .reviewing .role-action-pair button{min-width:30px;min-height:30px;padding:.15rem}
  .reviewing .role-action-text{display:none}
  .reviewing .role-action-icon{display:inline;font-size:1rem}
}

/* Both the landing page and the builder use the same pinned masthead. */
.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  font-weight: 650;
  text-decoration: none;
}
.header-link:hover { text-decoration: underline; }
@media (max-width: 460px) {
  .header-link { font-size: .9rem; }
}
:root { --masthead-height: 74px; scroll-padding-top: calc(var(--masthead-height) + .75rem); }
.site-header { position: sticky; top: 0; z-index: 20; height: var(--masthead-height); }
.site-header .brand { display: block; width: min(216px, 43vw, calc(var(--masthead-height) * 3)); line-height: 0; background: var(--navy); isolation: isolate; }
.site-header .brand img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.6); mix-blend-mode: screen; }
@media (max-width: 640px) {
  :root { --masthead-height: 60px; }
  .site-header { padding-inline: 14px; }
}
@media print { .site-header { position: static; } }

.role-action-pair[data-role-index]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
#pointEditor{width:min(32rem,calc(100% - 2rem));max-height:80vh;overflow:auto;color:inherit;border:1px solid var(--line);border-radius:12px;padding:1.25rem}
#pointEditor::backdrop{background:#142d3970}
#pointEditor h2{font-size:1.5rem;margin-bottom:1rem}
#pointEditor fieldset{border:0;padding:0;margin:0;min-width:0}
#pointEditor legend{margin-bottom:.5rem}
#pointEditor fieldset label{display:flex;align-items:baseline;gap:.55rem;margin:.35rem 0;overflow-wrap:anywhere;font-weight:400}
#pointEditor fieldset input{flex:none}
#pointEditor .actions{justify-content:flex-end}

@media(max-width:640px){#steps{grid-template-columns:repeat(3,minmax(0,1fr))}}

.letter-review>.panel,.letter-review>aside{min-width:0}
.cover-details{max-width:46rem}
.letter-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:.6rem;flex-wrap:wrap}
.letter-page-actions span{color:var(--navy);font-size:.9rem}
@media print{.letter-page-actions{display:none}}
.order-items{width:100%;border-collapse:collapse;margin-bottom:1rem}
#checkoutButtons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;max-width:31rem;min-width:0;margin:0;padding:0;border:0}
#checkoutButtons button{min-width:0;min-height:44px;margin:0;padding:.6rem .75rem;line-height:1.25}
#checkoutButtons button:disabled{opacity:.55;cursor:default}
.order-items caption{text-align:left;font-size:1.2rem;font-weight:700;margin-bottom:.5rem}
.order-items th,.order-items td{text-align:left;padding:.55rem .25rem;border-bottom:1px solid var(--line)}
.order-items td,.order-items thead th:last-child{text-align:right;white-space:nowrap}
.order-items tbody th{font-weight:400}
.order-items tfoot{font-weight:700}
.order-items button{font-size:.875rem;margin-left:.4rem;padding:.2rem .5rem}
#coverQuestions,.requirement-choices{min-width:0;border:0;padding:0;margin:0}
#coverQuestions>label,.requirement-choices legend{font-size:1rem;font-weight:650}
#coverQuestions>label{margin:1rem 0 .3rem;cursor:auto}
.requirement-choices legend{padding:0;margin-bottom:.35rem}
#coverQuestions>label{border:0;padding:0}
.requirement-options{display:grid;gap:.85rem}
.requirement-options label{display:block;border:0;padding:0;margin:0 0 .3rem;overflow-wrap:anywhere;cursor:auto}
#coverQuestions textarea{min-height:3.5rem}
.cover-answer-actions{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.35rem}
.cover-answer-actions button{font-size:.875rem;min-height:32px;padding:.25rem .65rem}
.cover-answer-actions button:disabled{opacity:.55;cursor:default}
.cover-answer-status{margin:.25rem 0 0}
.cover-answer-status:empty{margin:0}
@media(min-width:761px){
  .grid.letter-review{grid-template-columns:clamp(12.75rem,23%,17rem) minmax(0,1fr)}
  .letter-review .actions{flex-wrap:wrap}
}
.paper.letter-preview{border:0;box-shadow:none;background:#e3e7e8;padding:8px;min-height:0;contain:inline-size}
.letter-preview>.hint{padding:1rem;margin:0}
@media(max-width:760px){
  .letter-review .review-document{overflow-x:auto}
  .letter-review .letter-preview:has(.letter-sheets){width:max(100%,35rem)}
}
.role-action-pair .point-feedback{grid-column:1/-1;margin:.2rem 0 0;line-height:1.3;overflow-wrap:anywhere}
.home-hero h1,.intro h1{text-wrap:balance}

.profile-instructions{max-width:78ch;margin-bottom:1.25rem}
#careerSample + .profile-instructions { margin-top: 1rem; }
#addCareerRole,
#fields button[data-more="skills"],
#fields button[data-more="education"] {
  display: block;
  margin-block: 1rem;
}

.design-photo{margin-top:1.25rem;min-width:0}
.design-photo>.hint{margin:.45rem 0 .75rem}
.photo-editor{margin-block:.85rem;min-width:0}
.photo-editor [hidden]{display:none!important}
.photo-editor .photo-current img{display:block;width:auto;height:auto;max-width:min(11rem,100%);max-height:11rem;object-fit:contain;border-radius:6px;margin:0 0 .7rem}
.photo-editor [data-restore]{display:block;margin-bottom:.85rem}
.photo-editor textarea{width:100%;box-sizing:border-box;resize:vertical}
.photo-caption{display:block;font-weight:600;margin-bottom:.3rem}
.photo-controls{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}
.photo-status:not(:empty),.photo-preview-progress{margin-top:.65rem;padding:.65rem .85rem;border-radius:6px;background:#eef6f3;color:#19463d}
.photo-status[data-state="error"]{color:#75221b;background:#fff1ed}
.photo-status[data-state="working"],.photo-preview-progress{display:flex;align-items:center;gap:.65rem}
.photo-preview-progress{margin:0 0 .6rem}
.photo-status[data-state="working"]::before,.photo-preview-progress::before{content:"";width:1em;height:1em;flex:none;border:2px solid #a8c8be;border-top-color:#075c50;border-radius:50%;animation:photo-spin .85s linear infinite}
@keyframes photo-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.photo-status[data-state="working"]::before,.photo-preview-progress::before{animation:none}}
.photo-job{position:fixed;inset:0;margin:auto;width:min(28rem,calc(100% - 2rem));max-height:calc(100% - 2rem);height:fit-content;padding:1.4rem;border:1px solid var(--line);border-radius:12px;color:var(--navy);background:white;box-shadow:0 12px 48px #132e3452}
.photo-job::backdrop{background:#122c36a8}
.photo-job-heading{display:flex;align-items:center;gap:.75rem}
.photo-job h3{margin:0;font-size:1.3rem;line-height:1.2}
.photo-job p{margin:.8rem 0}
.photo-job .photo-job-time{font-variant-numeric:tabular-nums;color:#415a56}
.photo-job-spinner{flex:none;width:1.55rem;height:1.55rem;border:3px solid #c3dbd3;border-top-color:var(--accent);border-radius:50%;animation:photo-spin .85s linear infinite}
.photo-job[data-state="error"] .photo-job-spinner{display:none}
.photo-job[data-state="error"] h3{color:#75221b}
@media(prefers-reduced-motion:reduce){.photo-job-spinner{animation:none}}
#warranty{margin-top:2rem}
#warranty hr{border:0;border-top:1px solid var(--line);margin-bottom:1.5rem}
#warranty-form{margin-top:1rem}
#warranty-hint{margin:.2rem 0 .5rem}
#warranty-status:empty{display:none}
.warranty-review{max-width:46rem;margin:auto}
.warranty-review h1{font-size:clamp(2.2rem,5vw,3.5rem)}
.warranty-review article{border-top:1px solid var(--line);margin-top:1.25rem;padding-top:1.25rem;overflow-wrap:anywhere}
.warranty-review article p,#warranty-status{white-space:pre-line;overflow-wrap:anywhere}
.warranty-review #more{margin-top:1.25rem}

@media(max-width:760px){
  .reviewing .school-section-tools{display:flex;flex-wrap:nowrap;gap:2px}
  .reviewing .school-section-tools .role-action-name{display:none}
  .reviewing .school-section-tools button{display:grid;place-content:center;min-width:32px;min-height:32px;padding:1px 2px}
  .reviewing .school-section-tools button[data-short-label]{flex:1;min-width:0}
  .reviewing .school-section-tools button[data-short-label]::after{content:attr(data-short-label);font-size:10px;line-height:1.1}
}
