  :root { color-scheme: light; --ink:#101322; --muted:#6b7280; --paper:#fff; --periwinkle:#858bcb; }
  * { box-sizing:border-box; }
  body { margin:0; min-height:100vh; padding-bottom:176px; background:radial-gradient(ellipse at 94% 10%,#edf6ff 0,transparent 48%),radial-gradient(ellipse at 0% 90%,#f0f1ff 0,transparent 48%),var(--paper); color:var(--ink); font-family:Inter,Arial,Helvetica,sans-serif; }
  header { margin:16px 2.5% 0; padding:21px 24px; border:1px solid #eceef2; border-radius:16px; background:#ffffff80; box-shadow:0 7px 12px #1013220c; display:flex; align-items:center; justify-content:space-between; }
  .brand { color:var(--ink); text-decoration:none; font-size:18px; font-weight:700; letter-spacing:-.7px; }
  .brand span { font-weight:400; }
  .eyebrow { font-size:10px; text-transform:uppercase; letter-spacing:2px; color:var(--muted); }
  .hero { position:relative; isolation:isolate; overflow:hidden; padding:58px 30px 16px; }
  .ambient { position:absolute; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
  .ambient-glow { position:absolute; width:640px; height:440px; border-radius:50%; transform:translate(-50%,-50%); background:radial-gradient(ellipse,currentColor 0%,transparent 70%); opacity:0; color:var(--color); }
  @media(max-width:700px) { .ambient-glow { width:440px; height:360px; } }
  .intro { text-align:center; }
  h1 { margin:0; font-weight:700; font-size:clamp(38px,5.2vw,76px); letter-spacing:-2.7px; line-height:1.15; }
  .intro p { color:var(--muted); font-size:14px; line-height:1.6; margin:20px 0 0; }
  .journey { position:relative; height:232px; margin:32px auto 0; max-width:1220px; border:0; background:transparent; overflow:visible; }
  .journey::before { content:"Browse by lifecycle"; position:absolute; top:8px; left:5px; z-index:2; color:var(--muted); font-size:9px; font-weight:700; letter-spacing:1.7px; text-transform:uppercase; }
  .thread { position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
  /* Each employment stage retains its hue; phased tonal changes create flow.
     Matching dot/stop phases keep each connection visually continuous. */
  [data-stage="before"] { --color:#c88e53; --flow-light:#e2b783; }
  [data-stage="during"] { --color:#588779; --flow-light:#87b5a0; }
  [data-stage="after"] { --color:#5a87b5; --flow-light:#8cafd5; }
  .dot, #colors stop { animation:color-flow 18s linear infinite; animation-delay:var(--flow-delay,0s); }
  #colors stop { color:var(--color); stop-color:currentColor; }
  @keyframes color-flow {
    0%,100% { color:var(--color); }
    50% { color:var(--flow-light); }
  }
  @media(prefers-reduced-motion:reduce) {
    .dot, #colors stop { animation:none; }
  }
  .step { position:absolute; top:0; height:100%; width:14.2857%; text-decoration:none; color:var(--ink); -webkit-tap-highlight-color:transparent; }
  .moving { position:absolute; top:144px; left:50%; width:0; height:0; }
  .dot { position:absolute; width:28px; height:28px; left:-14px; top:-14px; border-radius:50%; color:var(--color); background:currentColor;
    background:linear-gradient(150deg,#ffffff1f,#ffffff06),color-mix(in srgb,currentColor 76%,transparent);
    border:1px solid #ffffff45;
    box-shadow:inset 0 1px 3px #ffffff26,0 2px 5px #2338510c;
    -webkit-backdrop-filter:blur(9px); backdrop-filter:blur(9px);
  }
  .tube-shadow { stroke:#344963; stroke-width:5; opacity:.035; transform:translateY(2px); }
  .tube-rim { stroke:#ffffff; stroke-width:5; opacity:.24; }
  .tube-color { stroke:url(#colors); stroke-width:4; stroke-opacity:.72; }
  .tube-highlight { stroke:#ffffff; stroke-width:1; opacity:.12; transform:translateY(-1px); }
  @media(max-width:700px) {
    .tube-shadow { transform:translateX(2px); }
    .tube-highlight { transform:translateX(-1px); }
  }
  .label { position:absolute; bottom:28px; left:50%; width:190px; transform:translateX(-50%); text-align:center; font-size:clamp(14px,1.55vw,24px); letter-spacing:-.7px; line-height:1.25; }
  .number { position:absolute; top:31px; left:-20px; width:40px; text-align:center; font-size:10px; letter-spacing:1.5px; color:var(--muted); }
  .step:focus { outline:none; }
  .step:focus-visible .dot { outline:2px solid var(--ink); outline-offset:7px; }
  .hint { max-width:1220px; margin:12px auto 0; padding-left:5px; color:var(--muted); font-size:11px; letter-spacing:.3px; }
  .step.selected .label { font-weight:700; }
  .step.selected .dot { outline:3px solid color-mix(in srgb,var(--color) 20%,transparent); outline-offset:5px; }
  .step.selected .number { color:var(--ink); }
  .header-nav { display:flex; gap:24px; margin-left:auto; margin-right:30px; }
  .header-nav a { color:var(--muted); text-decoration:none; font-size:13px; }
  .header-nav a:hover { color:var(--ink); }
  .resources { max-width:1220px; margin:30px auto 100px; padding:0 30px; scroll-margin-top:24px; }
  .resource-bar { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:26px; padding:0 5px; }
  .resource-bar .search { width:min(380px,100%); border:1px solid #e2e7e8; outline:0; border-radius:14px; padding:13px 15px; color:var(--ink); background:#ffffffb5; box-shadow:0 8px 24px #26375208; font:inherit; font-size:13px; -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); }
  .resource-bar .search:focus { border-color:#aab9b3; box-shadow:0 0 0 4px #668c7b12; }
  .resource-count { color:var(--muted); font-size:12px; margin:6px 0 0; }
  .workspace-note { min-height:58px; display:grid; place-items:center; margin:6px 0 16px; border:1px dashed #dbe1df; border-radius:14px; color:var(--muted); font-size:12px; text-align:center; transition:.3s ease; }
  .workspace-note[hidden] { display:none; }
  .resource-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; min-height:0; padding:10px 0 34px; }
  @keyframes file-rise { from { opacity:0; transform:translateY(135px) scale(.965); } to { opacity:1; transform:translateY(0) scale(1); } }
  .resource-grid .resource-card { animation:file-rise .72s cubic-bezier(.16,.82,.22,1) both; animation-delay:var(--delay,0ms); }
  .file-deck-shell { position:fixed; left:0; right:0; bottom:0; z-index:15; height:158px; padding:0 max(18px,calc((100vw - 1220px)/2)); border-top:1px solid #dfe4e3; background:linear-gradient(180deg,#f7f9f8f2,#eef2f0fa); box-shadow:0 -12px 42px #1e293b12; -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px); }
  .deck-heading { position:absolute; top:11px; left:max(24px,calc((100vw - 1220px)/2)); display:flex; align-items:center; gap:10px; color:#64706b; font-size:10px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; }
  .deck-heading::before { content:""; width:22px; height:2px; background:#94a19c; }
  .file-deck { height:100%; display:flex; align-items:flex-start; padding:58px 14px 0; overflow-x:auto; overflow-y:visible; scrollbar-width:none; }
  .file-deck::-webkit-scrollbar { display:none; }
  .deck-file { --file-color:#8a9a94; position:relative; width:224px; min-width:224px; height:142px; margin-left:-174px; padding:22px 17px 16px; border:1px solid #d6ddda; border-bottom:0; border-radius:8px 8px 0 0; background:linear-gradient(160deg,#fbfcfb,#eef2f0); box-shadow:-5px -4px 15px #24352f0b; color:var(--ink); cursor:pointer; text-align:left; font:inherit; z-index:var(--order); transition:transform .46s cubic-bezier(.16,.82,.22,1),box-shadow .35s ease,background .35s ease; }
  .deck-file:first-child { margin-left:0; }
  .deck-file::before { content:""; position:absolute; left:-1px; top:-17px; width:82px; height:19px; border:1px solid #d6ddda; border-bottom:0; border-radius:7px 11px 0 0; background:#f7f9f8; }
  .deck-file::after { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--file-color); opacity:.72; }
  .deck-file:hover,.deck-file:focus-visible,.deck-file.selected { z-index:80; transform:translateY(-52px); outline:0; background:linear-gradient(160deg,#fff,#f2f5f3); box-shadow:0 -18px 42px #24352f20; }
  .deck-file .deck-type { display:block; margin-bottom:13px; color:var(--file-color); font-size:9px; font-weight:800; letter-spacing:1.2px; }
  .deck-file strong { display:block; max-width:180px; font-size:14px; line-height:1.25; letter-spacing:-.25px; }
  .deck-file small { display:block; margin-top:8px; color:var(--muted); font-size:10px; }
  .resource-card { position:relative; min-height:225px; display:flex; flex-direction:column; padding:21px; border:1px solid #e3e7e8; border-radius:18px; background:#ffffffa6; box-shadow:0 10px 28px #24334b09; overflow:hidden; }
  .resource-card::before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:var(--color); opacity:.8; }
  .card-top { display:flex; justify-content:space-between; align-items:center; gap:12px; }
  .file-type { min-width:42px; padding:7px 8px; border-radius:8px; color:#fff; background:var(--color); font-size:9px; font-weight:700; letter-spacing:1px; text-align:center; }
  .access { padding:6px 9px; border-radius:20px; background:#f1f3f4; color:#65706c; font-size:10px; }
  .resource-card h3 { margin:19px 0 8px; font-size:20px; letter-spacing:-.6px; line-height:1.2; }
  .resource-card p { margin:0; color:var(--muted); font-size:13px; line-height:1.55; }
  .card-meta { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0 16px; color:#78817c; font-size:10px; }
  .card-meta span+span::before { content:"•"; margin-right:8px; }
  .card-actions { display:flex; gap:8px; margin-top:auto; }
  .btn { border:1px solid #dce1e3; border-radius:10px; padding:10px 13px; background:#fff; color:var(--ink); font:inherit; font-size:12px; cursor:pointer; text-decoration:none; }
  .btn:hover { background:#f4f6f7; }
  .btn.primary { color:#fff; background:#141827; border-color:#141827; }
  .empty-state { grid-column:1/-1; padding:55px; border:1px dashed #d9dddf; border-radius:18px; color:var(--muted); text-align:center; }
  .sync-panel { display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:12px; margin-top:46px; padding:18px; border:1px solid #e1e6e7; border-radius:20px; background:#f8faf9aa; }
  .sync-intro { padding:8px; }
  .sync-intro h3 { margin:6px 0 8px; font-size:20px; }
  .sync-intro p,.stat p { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
  .status-line { display:inline-flex; align-items:center; gap:7px; color:#517565; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:1px; }
  .status-line::before { content:""; width:7px; height:7px; border-radius:50%; background:#6e9b85; box-shadow:0 0 0 4px #6e9b8518; }
  .stat { padding:16px; border-radius:14px; background:#fff; border:1px solid #e8ebeb; }
  .stat strong { display:block; margin-bottom:5px; font-size:18px; }
  .sync-button { margin-top:15px; }
  dialog { width:min(760px,calc(100% - 32px)); padding:0; border:0; border-radius:22px; color:var(--ink); background:#f8faf9; box-shadow:0 30px 90px #10182735; }
  dialog::backdrop { background:#1118274d; -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
  .modal-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 22px; border-bottom:1px solid #e3e7e7; background:#fff; }
  .modal-head h2 { margin:0; font-size:18px; }
  .modal-close { border:0; width:34px; height:34px; border-radius:50%; background:#f0f2f2; cursor:pointer; font-size:18px; }
  .preview-shell { padding:28px; background:#e9edec; }
  .preview-page { min-height:430px; max-width:540px; margin:auto; padding:55px; background:#fff; box-shadow:0 8px 25px #1d29351b; }
  .preview-page .preview-rule { width:58px; height:4px; border-radius:3px; background:var(--preview-color,#588779); }
  .preview-page h3 { margin:22px 0 10px; font-size:27px; letter-spacing:-1px; }
  .preview-lines { margin-top:35px; display:grid; gap:11px; }
  .preview-lines i { height:8px; border-radius:5px; background:#e9edec; }
  .preview-lines i:nth-child(2),.preview-lines i:nth-child(5) { width:78%; }
  .modal-foot { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:16px 22px; background:#fff; }
  .modal-foot p { margin:0; color:var(--muted); font-size:11px; }
  .toast { position:fixed; left:50%; bottom:178px; z-index:20; transform:translate(-50%,20px); padding:12px 16px; border-radius:12px; color:#fff; background:#171b29; font-size:12px; opacity:0; pointer-events:none; transition:.25s ease; }
  .toast.show { opacity:1; transform:translate(-50%,0); }
  @media(max-width:700px) {
    header { padding:22px 16px; } header .eyebrow { font-size:8px; letter-spacing:1px; }
    .hero { padding:44px 18px 22px; } h1 { letter-spacing:-1.5px; }
    .intro p { font-size:13px; max-width:260px; margin:16px auto 0; }
    .journey { height:650px; margin:30px auto 0; max-width:430px; padding-top:20px; }
    .step { width:100%; height:90px; left:0!important; }
    .moving { top:65px; left:44px; }
    .dot { width:24px; height:24px; left:-12px; top:-12px; }
    .label { left:42px; bottom:auto; top:0; width:calc(88vw - 112px); max-width:280px; transform:translateY(-50%); text-align:left; font-size:19px; letter-spacing:-.4px; }
    .label br { display:none; }
    .number { left:-44px; top:-5px; width:15px; font-size:8px; }
    .header-nav { display:none; }
    .resources { margin:20px auto 60px; padding:0 18px; }
    .resource-bar { align-items:stretch; flex-direction:column; gap:12px; }
    .resource-bar .search { width:100%; }
    .resource-grid { grid-template-columns:1fr; gap:14px; padding-top:8px; }
    .file-deck-shell { height:150px; padding:0; }
    .deck-heading { left:18px; }
    .file-deck { padding-left:18px; }
    .deck-file { width:205px; min-width:205px; margin-left:-160px; }
    .sync-panel { grid-template-columns:1fr 1fr; }
    .sync-intro { grid-column:1/-1; }
    .preview-page { min-height:380px; padding:38px 28px; }
    .modal-foot { align-items:flex-start; flex-direction:column; }
  }

/* The drawer never scrolls or clips vertically. Smaller screens page through files. */
.hero { padding-top:36px; }
h1 { font-size:clamp(34px,4vw,58px); }
.journey { margin-top:18px; height:212px; }
.resources { margin-top:10px; }
.file-deck-shell { height:142px; overflow:visible; }
.file-deck { position:relative; display:block; overflow:visible; padding:0; height:100%; margin:0 14px; }
.deck-heading { top:auto; bottom:8px; left:24px; right:24px; z-index:95; justify-content:space-between; font-size:9px; pointer-events:none; }
.deck-heading::before { display:none; }
.deck-heading button { pointer-events:auto; padding:3px 10px; }
.deck-heading button:disabled { opacity:.3; }
.deck-file,.deck-file:first-child { position:absolute; top:24px; margin:0; width:208px; min-width:0; height:154px; overflow:visible; }
.deck-file[hidden] { display:none; }
.deck-file::before { width:70px; }
.file-tab { position:absolute; top:-13px; left:9px; font-size:8px; font-weight:700; color:var(--file-color); }
.deck-file strong { margin-top:3px; font-size:13px; }
.deck-file.suggested { transform:translateY(-48px); box-shadow:0 -12px 30px #24352f18; }
.deck-file.withdrawn { opacity:.3; transform:translateY(16px); }
.deck-file:hover,.deck-file:focus-visible { z-index:90!important; transform:translateY(-65px); opacity:1; }
.deck-file:focus-visible { outline:2px solid var(--file-color); outline-offset:3px; }
.resource-grid .resource-card { animation:none; }
.resource-card { border-radius:5px 15px 6px 6px; background:#fff; border-top:3px solid var(--color); }
.sync-settings { margin-top:25px; color:var(--muted); font-size:11px; }
.sync-settings summary { cursor:pointer; }
.sync-panel { margin-top:15px; }
#return-files[hidden] { display:none; }
@media(max-width:700px){
 .journey { height:650px; }
 .file-deck-shell { height:130px; }
 .deck-file { width:172px; min-width:0; margin:0; }
 .deck-file strong { font-size:12px; }
 .deck-heading { left:12px; right:12px; letter-spacing:0; }
}
@media(prefers-reduced-motion:reduce){
 .deck-file,.toast { transition:none; }
 .resource-grid .resource-card { animation:none; }
}

/* Quiet surfaces; the timeline and movement supply the hierarchy. */
body { background:#fafbf9; }
header { background:transparent; border:0; box-shadow:none; padding:18px 0; }
.header-nav { margin-right:0; }
.hero { padding-top:28px; }
h1 { font-size:clamp(30px,3.5vw,48px); font-weight:500; letter-spacing:-1.8px; }
.journey::before,.number { display:none; }
.label { font-size:clamp(13px,1.3vw,18px); letter-spacing:-.3px; }
.resource-bar { margin-bottom:12px; align-items:center; }
.resource-bar .search { box-shadow:none; background:transparent; border-radius:8px; }
.resource-grid { min-height:260px; align-content:start; }
.resource-card { min-height:178px; border:1px solid #e0e4df; border-top:2px solid var(--color); border-radius:5px; box-shadow:0 4px 14px #23312806; padding:20px; transform-origin:top left; }
.resource-card h3 { font-size:18px; margin:20px 0 24px; }
.file-type { background:transparent; color:#6b756f; padding:0; min-width:0; font-weight:500; }
.access { background:transparent; padding:0; color:#8a918c; }
.btn { border-radius:6px; }
.btn.primary { background:#eef1ed; border-color:#e1e5df; color:#354438; }
#return-files { border:0; background:transparent; padding:8px 0; color:var(--muted); }
.file-deck-shell { background:#f1f3ef; box-shadow:none; backdrop-filter:none; border-color:#e1e5de; }
.deck-file,.deck-file:hover,.deck-file:focus-visible { background:#f8f9f6; box-shadow:0 -3px 10px #23312808; transition:transform 420ms cubic-bezier(.22,1,.36,1),opacity 220ms ease; }
.deck-file::after { opacity:.38; width:2px; }
.deck-file.suggested { transform:translateY(-28px); box-shadow:none; }
.deck-file:hover,.deck-file:focus-visible { transform:translateY(-42px); }
.deck-file.withdrawn { opacity:.12; transform:translateY(6px); }
.deck-heading { font-weight:400; letter-spacing:.3px; text-transform:none; }
.sync-settings { opacity:.6; }
@media(prefers-reduced-motion:reduce){.deck-file { transition:none; }}

/* Shared Creative Hub styles: Inter, slate surfaces, rounded controls. */
:root { --ink:#0f172a; --muted:#64748b; }
body { font-family:Inter,Arial,sans-serif; background:radial-gradient(ellipse at 100% 0%,#e0f2fe55,transparent 50%),radial-gradient(ellipse at 0% 100%,#e0e7ff44,transparent 50%),linear-gradient(#fff,#f8fafc,#f1f5f9); }
header { max-width:1280px; margin:16px auto 0; width:95%; padding:16px 24px; border:1px solid #e2e8f0b3; border-radius:16px; background:#ffffff33; backdrop-filter:blur(12px); box-shadow:0 10px 15px -3px #0f172a0c; }
.brand { font-weight:600; }
h1 { font-weight:600; }
.resource-bar .search { border-color:#e2e8f0; background:#fff9; border-radius:999px; }
.btn { border-color:#e2e8f0; border-radius:999px; }
.btn:hover { background:#f8fafc; }
.btn.primary { background:#0f172a; border-color:#0f172a; color:white; }
.btn.primary:hover { background:#1e293b; }
.resource-card { border-color:#e2e8f0; border-top-color:var(--color); border-radius:6px 18px 6px 6px; background:#fff; }
.file-deck-shell { background:#f1f5f9ed; border-color:#e2e8f0; }
.deck-file,.deck-file:hover,.deck-file:focus-visible { background:#f8fafc; border-color:#e2e8f0; }
.deck-file::before { background:#f8fafc; border-color:#e2e8f0; }
dialog { width:min(1040px,calc(100% - 28px)); max-height:90vh; }
#document-frame { display:block; width:100%; height:65vh; border:0; background:#fff; }
.modal-foot a { margin-left:auto; }

/* One background layer spans the timeline and workspace. */
main { position:relative; isolation:isolate; }
.hero { isolation:auto; overflow:visible; }
.ambient { inset:0; overflow:hidden; z-index:-1; }
/* A tall transparent scroll viewport gives raised tabs room above the drawer. */
.file-deck-shell { padding:0; height:142px; pointer-events:none; overflow:visible; }
.drawer-scroll { position:absolute; left:0; right:0; bottom:0; height:252px; overflow-x:auto; overflow-y:hidden; pointer-events:auto; padding:110px 16px 0; scrollbar-width:thin; scrollbar-color:#cbd5e1 transparent; overscroll-behavior-x:contain; }
.drawer-scroll:focus-visible { outline:1px solid #94a3b8; outline-offset:-2px; }
.file-deck { height:142px; margin:0; position:relative; }
.deck-heading { z-index:100; pointer-events:none; bottom:10px; }
@media(max-width:700px){.file-deck-shell { height:130px; }.drawer-scroll { height:240px; }.file-deck { height:130px; }}
