/* Existing SafeShine navy/yellow treatments from flyer/dog-days.css. */
:root { color-scheme:light; --navy:#07152e; --yellow:#ffd21f; --ink:#122039; --muted:#526176; --line:#c8d1dc; --green:#155b3d; --amber:#8a5800; --red:#8a2517; font-family:"Hanken Grotesk","Segoe UI",Aptos,Arial,sans-serif; -webkit-text-size-adjust:100%; }
* { box-sizing:border-box; }
html { min-width:320px; background:#f7f8fa; }
body { margin:0; color:var(--ink); font-size:17px; line-height:1.5; }
button,input,select,textarea { font:inherit; color:inherit; }
button,.button { min-height:44px; border:1px solid var(--navy); border-radius:9px; background:var(--navy); color:#fff; padding:10px 20px; text-decoration:none; font-weight:650; cursor:pointer; }
button:hover,.button:hover { background:#16476b; }
button:disabled { cursor:wait; opacity:.65; }
button.secondary,.button.secondary { background:#fff; color:var(--navy); }
a { color:#105d78; }
:focus-visible { outline:3px solid #007caa; outline-offset:3px; }
input,textarea,select { min-height:44px; background:#fff; border:1px solid #8e9caf; border-radius:8px; padding:11px; max-width:100%; }
textarea { width:100%; resize:vertical; }
label { display:block; font-weight:600; }
.app-header { background:var(--navy); border-bottom:4px solid var(--trainee-accent,var(--yellow)); padding:14px max(18px,calc((100vw - 1040px)/2)); display:flex; justify-content:space-between; align-items:center; gap:18px; }
.logo { display:flex; width:190px; min-width:130px; align-items:center; }
.logo img { width:100%; height:70px; object-fit:contain; }
.identity { color:#fff; text-align:right; display:grid; justify-items:end; gap:2px; }
.identity strong { font-size:20px; }
.text-button { border:0; background:transparent; color:#105d78; padding:7px 10px; text-decoration:underline; font-size:15px; font-weight:500; }
.text-button:hover { color:var(--ink); background:#eaf4f7; }
.identity .text-button { color:#fff; padding:2px 0; min-height:30px; }
.identity .text-button:hover { background:transparent; color:var(--yellow); }
.navigation-wrap { background:#fff; border-bottom:1px solid var(--line); padding:10px 18px 12px; }
nav { max-width:1040px; margin:0 auto 10px; display:flex; gap:8px; flex-wrap:wrap; }
nav a { padding:10px 13px; border-radius:8px; color:var(--navy); text-decoration:none; font-weight:600; min-height:44px; }
nav a:hover,nav a[aria-current] { background:#fff4bd; }
.progress-wrap { max-width:1040px; margin:0 auto; }
.progress-bar { display:flex; gap:4px; width:100%; }
.progress-segment { flex:1; min-width:0; height:18px; border-radius:4px; border:2px solid transparent; position:relative; }
.progress-segment.selected { outline:2px solid var(--navy); outline-offset:2px; }
.cleared { background:var(--green); }
.open { background:var(--amber); }
.issue { background:var(--red); }
.progress-key { display:flex; flex-wrap:wrap; justify-content:end; gap:14px; font-size:12px; margin-top:8px; }
.progress-key span { display:inline-flex; gap:5px; align-items:center; }
.progress-key i { display:inline-block; width:10px; height:10px; border-radius:2px; }
main { max-width:1040px; margin:0 auto; padding:24px 18px 60px; outline:none; }
h1 { margin:10px 0 24px; font-size:clamp(27px,4vw,38px); line-height:1.2; overflow-wrap:anywhere; }
h2 { margin:0; font-size:20px; line-height:1.4; }
p { margin:10px 0; }
.status { padding:12px 16px; background:#e8f4ed; border:1px solid #155b3d; border-radius:8px; margin-bottom:16px; overflow-wrap:anywhere; }
.status.error { background:#fff0ed; border-color:var(--red); }
.status[hidden] { display:none; }
.access-card { max-width:460px; margin:30px auto; padding:28px; background:#fff; border:1px solid var(--line); border-top:5px solid var(--trainee-accent,#105d78); border-radius:14px; }
.access-card form { display:grid; gap:12px; }
.access-card button { background:var(--trainee-accent,var(--navy)); border-color:var(--trainee-accent,var(--navy)); }
.step-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.step-count { color:var(--muted); font-size:14px; }
.section-state { display:inline-flex; padding:5px 10px; border-radius:6px; font-size:13px; color:#fff; white-space:nowrap; }
.subcards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.subcard { background:#fff; border:1px solid var(--line); border-left:4px solid var(--yellow); border-radius:10px; padding:19px 20px; overflow-wrap:anywhere; }
.title-card { background:#fff; border:1px solid var(--line); border-radius:10px; padding:18px 20px; margin:14px 0; }
.title-card h1 { margin:0; }
.nested-cards { display:grid; gap:10px; margin-top:12px; }
.nested-card { background:#f7f8fa; border:1px solid var(--line); border-left:3px solid var(--yellow); border-radius:8px; padding:12px 14px; overflow-wrap:anywhere; }
.nested-card p { margin:0; }
.nested-card .nested-card { background:#fff; }
.card-link { display:block; min-height:44px; color:var(--ink); text-decoration:none; padding:8px 10px; margin:-8px -10px; border-radius:6px; }
.source-card { cursor:pointer; }
.card-link:hover { background:#fff4bd; }
.card-link:focus-visible { outline:3px solid #007caa; outline-offset:3px; }
.card-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.back-to-section { display:inline-flex; align-items:center; min-height:44px; margin-bottom:12px; }
.card-detail-title { background:#fff; border:1px solid var(--line); border-left:4px solid var(--yellow); border-radius:10px; padding:18px 20px; }
.card-detail-title h1 { margin:0; }
.step-tools { margin-top:24px; display:grid; gap:14px; }
.photo-button { display:inline-flex; align-items:center; gap:9px; padding:10px 14px; min-height:44px; width:fit-content; background:#fff; border:1px solid var(--line); border-radius:8px; cursor:pointer; }
.photo-button:focus-within { outline:3px solid #007caa; outline-offset:3px; }
.photo-button input { width:1px; height:1px; min-height:0; padding:0; border:0; position:absolute; clip-path:inset(50%); overflow:hidden; }
.record-form { display:grid; gap:10px; }
.compose-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.compose-actions select { width:145px; }
.step-navigation { display:flex; justify-content:space-between; gap:14px; margin-top:28px; }
.step-list { display:grid; gap:10px; }
.step-link { display:flex; gap:16px; align-items:center; text-decoration:none; color:var(--ink); background:#fff; padding:16px; border:1px solid var(--line); border-radius:10px; }
.step-link:hover { border-color:var(--navy); }
.step-link>span:nth-child(2) { flex:1; overflow-wrap:anywhere; }
.step-number { min-width:28px; color:var(--muted); }
.saved-records { display:grid; gap:14px; margin-top:20px; }
.saved-record { background:#fff; border:1px solid var(--line); border-radius:10px; padding:18px; overflow-wrap:anywhere; }
.record-heading { display:flex; flex-wrap:wrap; align-items:center; gap:12px; font-size:14px; }
.record-heading>a { flex:1; }
.record-kind { font-weight:650; }
.record-text { white-space:pre-wrap; overflow-wrap:anywhere; }
.saved-record time { display:block; margin-top:12px; font-size:12px; color:var(--muted); }
.answer { border-left:3px solid var(--green); padding:10px 14px; margin-top:14px; background:#e8f4ed; }
.saved-photo,.pending-photo img { display:block; max-width:100%; max-height:420px; object-fit:contain; border-radius:8px; margin:14px 0; }
.pending-photo { padding:14px; border:1px solid var(--line); border-radius:10px; }
.pending-photo button { margin:4px 8px 0 0; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.skip-link { position:absolute; top:-100px; left:12px; background:#fff; color:var(--navy); padding:12px; z-index:10; }
.skip-link:focus { top:12px; }
@media(max-width:640px) {
  body { font-size:16px; }
  .app-header { padding:10px 16px; }
  .logo { width:150px; }
  .logo img { height:55px; }
  .identity strong { font-size:18px; }
  .navigation-wrap { padding:8px 12px 12px; }
  nav { display:grid; grid-template-columns:1fr 1fr; gap:2px; }
  nav a { text-align:center; padding:9px 7px; }
  main { padding:20px 14px 42px; }
  .subcards { grid-template-columns:1fr; gap:10px; }
  .subcard { padding:16px; }
  .title-card { padding:16px; }
  .nested-card { padding:11px 12px; }
  h1 { margin-bottom:18px; }
  h2 { font-size:18px; }
  .step-link { flex-wrap:wrap; gap:10px; }
  .step-link>span:nth-child(2) { flex-basis:calc(100% - 50px); }
  .step-link .section-state { margin-left:38px; }
  .access-card { padding:22px; }
}
@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto; } }
.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 24px;border-bottom:3px solid #ffd21f;background:#07152e}.site-header a{color:white}.brand-logo{max-width:180px;height:70px;object-fit:contain}.manage-main{max-width:1100px;margin:auto}.invite-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.content-card{padding:18px;background:white;border:1px solid var(--line);border-radius:10px;overflow-wrap:anywhere;margin:16px 0}.content-card button{margin:8px 8px 0 0}.content-card h2{margin-top:0}
.identity a{color:#fff;text-decoration:underline}
