:root{--navy:#08243a;--deep:#061b2b;--gold:#c79642;--paper:#f5fafc;--white:#fff;--ink:#173143;--muted:#557180;--line:#d7e3e9;--good:#1d6a43;--warn:#9a5c00}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,sans-serif;line-height:1.55}.wb-header{height:64px;background:var(--deep);color:white;display:flex;justify-content:space-between;align-items:center;padding:0 clamp(16px,4vw,48px);position:sticky;top:0;z-index:5}.wb-header a{color:white;text-decoration:none;font-weight:800}.wb-shell{width:min(1180px,calc(100% - 28px));margin:auto;padding:42px 0 70px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#8c611d;font-size:.76rem;font-weight:900}.lead{font-size:1.12rem;color:var(--muted);max-width:760px}.workbook-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;margin:30px 0}.wb-card,.access-panel,.privacy-panel{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 12px 35px rgba(6,27,43,.07)}.wb-card h2{font-family:Georgia,serif;color:var(--navy);font-size:1.7rem}.progress-track{height:9px;background:#e7eef2;border-radius:999px;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--gold)}.button,.tool-actions button,.conflict button{display:inline-block;border:0;border-radius:999px;padding:11px 18px;font-weight:800;cursor:pointer;text-decoration:none;background:#e5edf1;color:var(--navy)}.button.primary,.tool-actions .primary{background:var(--gold)}.locked{opacity:.65}.wb-reader-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:34px}.stage-nav{position:sticky;top:90px;align-self:start}.stage-block{margin-bottom:16px}.stage-button,.tool-link{width:100%;text-align:left;border:0;background:none;padding:9px 10px;border-radius:10px;color:var(--ink);cursor:pointer}.stage-button{font-weight:900;color:var(--navy)}.tool-link.active{background:#fff0d1}.tool-link.complete::after{content:' ✓';color:var(--good)}#toolContent{background:white;border:1px solid var(--line);border-radius:18px;padding:22px;margin:20px 0}#toolContent h2{font-family:Georgia,serif;color:var(--navy)}.field{background:white;border:1px solid var(--line);border-radius:16px;padding:18px;margin:14px 0}.field label{font-weight:800;display:block;margin-bottom:8px}.field textarea,.field input[type=text]{width:100%;min-height:120px;border:1px solid #aec1cb;border-radius:12px;padding:12px;font:inherit;resize:vertical}.field input[type=text]{min-height:auto}.save-status{font-weight:800}.save-status.offline{color:#ffd28b}.tool-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:24px 0}.conflict{border:2px solid #d58c28;background:#fff8e8;border-radius:16px;padding:18px}.status{min-height:1.4em}.access-row{padding:10px 0;border-bottom:1px solid var(--line)}@media(max-width:800px){.wb-reader-grid{grid-template-columns:1fr}.stage-nav{position:static;display:flex;overflow:auto;gap:8px}.stage-block{min-width:220px}.wb-shell{padding-top:24px}.tool-actions button{flex:1}}.privacy-panel{margin-top:2rem;padding:1.25rem;border:1px solid rgba(184,132,47,.38);border-radius:16px;background:#fffaf0}.privacy-panel h2{margin-top:.15rem}.privacy-panel label{display:block;margin:.75rem 0;font-weight:700}.privacy-panel select{min-width:180px;padding:.65rem;border:1px solid #b6c2ca;border-radius:10px;background:#fff}.consent-check{display:flex!important;gap:.65rem;align-items:flex-start;font-weight:500!important}.consent-check input{margin-top:.25rem}.consent-actions{justify-content:flex-start}


/* Brave Harbor interactive journal — scoped to /workbooks only */
:root{--navy:#0c2a3f;--deep:#071b2a;--gold:#d6a85a;--paper:#f4f1ea;--white:#fffefb;--ink:#193143;--muted:#586d77;--line:#e0e5e2;--good:#327755}
html{scroll-behavior:smooth}
body{font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;line-height:1.65;background:radial-gradient(ellipse at 0 0,rgba(214,168,90,.10),transparent 36%),linear-gradient(180deg,#f5f4f0,#eceff0);min-height:100vh}
h1,h2,h3{letter-spacing:-.035em}
button,input,textarea,select{font:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #bf8b38;outline-offset:3px}
button,a,textarea,input{transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease,transform .2s ease}
button:not(:disabled):active,.button:active{transform:translateY(1px)}
.wb-header{height:78px;background:rgba(7,27,42,.97);border-bottom:1px solid rgba(214,168,90,.25);box-shadow:0 8px 28px rgba(7,27,42,.12);gap:16px}
.wb-brand{display:inline-flex;align-items:center;gap:13px;font-size:.91rem;letter-spacing:.12em;line-height:1.25}
.wb-brand small{display:block;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#bdd0d7;font-size:.66rem;margin-top:3px}
.brand-mark{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(214,168,90,.55);border-radius:50%;color:var(--gold);font-size:22px}
.header-meta{display:flex;gap:16px;align-items:center}.private-pill{font-size:.75rem;color:#c4d6d9;border:1px solid rgba(220,235,235,.24);border-radius:99px;padding:6px 12px}
.save-status{color:#ccebdc;font-size:.83rem;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.save-status::before{content:"";width:7px;height:7px;border-radius:50%;background:#8fd9a8;box-shadow:0 0 0 4px rgba(143,217,168,.10)}
.save-status.offline{color:#ffcf80}.save-status.offline::before{background:#ffcf80}
.header-account{text-decoration:none;color:#e2d3bb!important;font-size:.88rem}
.wb-shell{width:min(1320px,calc(100% - 48px));padding:40px 0 95px}
.eyebrow{color:#a3762e;letter-spacing:.17em;font-size:.72rem;margin:0 0 14px}
.lead{font-size:1.08rem;line-height:1.75}
.wb-reader-grid{grid-template-columns:minmax(240px,285px) minmax(0,1fr);gap:clamp(22px,3vw,48px);align-items:start}
.reader-sidebar{position:sticky;top:112px;min-width:0}
.nav-heading{padding:8px 12px 20px;border-bottom:1px solid #d8dedc}
.nav-heading h2{font-family:Georgia,serif;font-size:1.6rem;line-height:1.2;margin:0;color:var(--navy)}
.nav-heading p,.sidebar-footer{font-size:.85rem;color:var(--muted);line-height:1.6}
.sidebar-footer{padding:18px 14px;border-top:1px solid #d8dedc;font-style:italic}
.stage-nav{position:static;max-height:calc(100vh - 305px);overflow-y:auto;padding:14px 5px;scrollbar-width:thin;scrollbar-color:#b1b9b6 transparent}
.stage-block{margin:3px 0 10px;border-radius:16px;overflow:hidden}
.stage-block.current{background:#fffefa;border:1px solid #e7d7ba;box-shadow:0 9px 24px rgba(24,47,50,.06)}
.stage-button{display:flex;align-items:center;gap:10px;padding:13px 12px;font-size:.89rem;line-height:1.25}
.stage-button:hover{background:rgba(232,212,173,.25)}
.stage-letter{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:9px;background:#dfebed;color:#183c4e;font-size:.9rem;font-weight:900}
.stage-block.current .stage-letter{background:#d8a75c;color:#112d3f}
.stage-name{flex:1;text-align:left}.stage-arrow{color:#859197;font-size:.75rem;transition:transform .2s}
.stage-block.is-collapsed .stage-arrow{transform:rotate(-90deg)}
.stage-tools{padding:0 6px 10px}.stage-block.is-collapsed .stage-tools{display:none}
.tool-link{display:flex;align-items:flex-start;gap:9px;padding:10px 10px 10px 14px;font-size:.83rem;line-height:1.45;color:#4b616b;border-left:2px solid transparent;border-radius:5px 11px 11px 5px}
.tool-link:hover{background:#f4f3ed}.tool-link.active{font-weight:800;color:#173f53;background:#fbefda;border-left-color:var(--gold)}
.tool-link.complete::after{margin-left:auto;color:#39785f}
.tool-number{opacity:.58;font-variant-numeric:tabular-nums}
.nav-toggle{display:none}
.reader-content{min-width:0}
.reader-hero{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(128deg,#081b2b 0%,#14394e 65%,#0c3045 100%);border:1px solid rgba(211,166,87,.55);border-radius:22px;padding:clamp(24px,4.2vw,50px);color:#fff;box-shadow:0 22px 45px rgba(8,28,43,.17)}
.reader-hero::before{content:"";position:absolute;inset:-80px -100px auto auto;width:350px;height:350px;border-radius:50%;border:1px solid rgba(255,233,185,.11);box-shadow:0 0 0 48px rgba(255,233,185,.028),0 0 0 102px rgba(255,233,185,.02);pointer-events:none;z-index:-1}
.reader-hero::after{content:"✧";position:absolute;right:8%;top:14%;font-family:Georgia,serif;font-size:76px;color:rgba(215,177,99,.13);pointer-events:none}
.hero-topline{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.reader-hero .eyebrow{color:#e5bf7a;margin:0;font-weight:800}
.tool-counter{color:#ced9df;font-size:.7rem;letter-spacing:.16em}
.reader-hero h1{font-family:Georgia,"Times New Roman",serif;color:#fff;font-size:clamp(2.2rem,4.5vw,3.5rem);font-weight:500;line-height:1.12;max-width:680px;margin:20px 0 18px}
.reader-hero .lead{color:#d4e1e5;max-width:640px;margin:0 0 34px}
.reader-progress{max-width:520px}.reader-progress-label{display:flex;justify-content:space-between;gap:10px;font-size:.76rem;color:#d3dde0;margin:0 0 10px}
.reader-progress-label strong{color:#f3d7a4}.reader-hero .progress-track{background:rgba(255,255,255,.19);height:7px}
.reader-hero .progress-track span{background:linear-gradient(90deg,#b17d31,#f3ce85);transition:width .4s ease}
.reader-guidance{display:flex;gap:15px;align-items:center;padding:20px 8px 6px;color:#5c7276}
.reader-guidance p{margin:0;font-size:.95rem}.guidance-symbol{font-size:24px;color:#bd9150}
#toolContent{background:transparent;border:0;padding:6px 0;margin:8px 0 32px;box-shadow:none}
#toolContent h2{font-family:Georgia,serif;font-size:1.3rem;color:var(--navy);margin:26px 0 8px}
#toolContent p,#toolContent li{color:#394f57;line-height:1.8;font-size:.96rem}
#toolContent ol{background:#fffefa;border:1px solid #e7e8e3;border-left:4px solid #cfaa6c;padding:21px 23px 21px 45px;border-radius:13px}
#toolContent li{padding:3px 0}
.response-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:30px 0 14px;padding-top:20px;border-top:1px solid #d5ddda}
.response-heading h2{font-family:Georgia,serif;font-weight:500;font-size:clamp(1.45rem,2.6vw,2rem);color:var(--navy);margin:0 0 8px}
.response-heading p:not(.eyebrow){font-size:.9rem;color:var(--muted);margin:0}
.response-counter{flex-shrink:0;font-size:.75rem;font-weight:700;color:#577169;background:#e7eee8;border-radius:99px;padding:7px 12px}
.focus-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0 15px}
.focus-toolbar button{cursor:pointer;border:1px solid #c9d3cf;border-radius:999px;background:#fffefa;color:var(--navy);padding:8px 14px;font-weight:750}
.focus-toolbar button:hover{border-color:#d6a85a;background:#fbf1dc}
.focus-toolbar .focus-toggle[aria-pressed=true]{background:#0c3449;color:#fff;border-color:#0c3449}
.question-controls{display:flex;align-items:center;gap:10px}
.question-controls[hidden]{display:none}
.question-controls span{font-size:.79rem;color:var(--muted);font-variant-numeric:tabular-nums}
.question-controls button{padding:5px 13px}
.question-controls button:disabled{opacity:.4;cursor:default}
.field{position:relative;background:#fffefa;border:1px solid #e0e5df;border-radius:16px;padding:clamp(19px,3vw,27px);margin:15px 0;box-shadow:0 10px 30px rgba(20,47,50,.035)}
.field:hover{border-color:#d4c09c}
.field:focus-within{border-color:#c99f56;box-shadow:0 9px 28px rgba(173,128,56,.1)}
.field label{font-size:1.01rem;color:#213d4c;line-height:1.5;margin-bottom:15px}
.field .field-label-index{display:block;font-size:.68rem;letter-spacing:.15em;font-weight:800;color:#a87e44;margin-bottom:7px}
.field textarea,.field input[type=text]{background:#fcfbf8;border:1px solid #d2dedc;border-radius:11px;color:#173143;padding:17px 19px;width:100%;box-shadow:inset 0 2px 6px rgba(15,31,42,.025)}
.field textarea{min-height:145px;resize:vertical}.field textarea::placeholder,.field input::placeholder{color:#87969c}
.field textarea:focus,.field input[type=text]:focus{outline:0;border-color:#c6974b;box-shadow:0 0 0 3px rgba(214,168,90,.19)}
.exercise-divider{display:flex;align-items:center;gap:12px;color:#916c35;font-size:.8rem;text-transform:uppercase;letter-spacing:.14em;font-weight:850;margin:32px 0 16px}
.exercise-divider::after{content:"";height:1px;flex:1;background:#d8d0c3}
.field[hidden],.exercise-divider[hidden]{display:none}
.tool-actions{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;margin:28px 0 36px}
.tool-actions button{border-radius:13px;padding:14px 18px;min-height:52px;background:#fffefa;border:1px solid #cbd7d6}
.tool-actions button:last-child{justify-self:end}.tool-actions .primary{background:linear-gradient(135deg,#c99743,#eac076);color:#152d3c;border:1px solid #c99646;box-shadow:0 7px 18px rgba(175,130,62,.14)}
.tool-actions button:disabled{opacity:.46;cursor:default}
.privacy-wrap{margin-top:38px;border:1px solid #d6ded9;border-radius:16px;background:rgba(255,255,255,.7);overflow:hidden}
.privacy-wrap summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding:18px 24px;font-weight:800;color:var(--navy)}
.privacy-wrap summary::-webkit-details-marker{display:none}
.privacy-wrap summary::before{content:"♙";color:#ba904f;margin-right:5px}
.privacy-wrap summary::after{content:"⌄";margin-left:auto;color:#986b35}
.privacy-wrap[open] summary::after{transform:rotate(180deg)}
.summary-hint{font-weight:400;color:#687d85;font-size:.81rem;margin-left:10px}
.privacy-panel{margin:0;padding:24px;background:#fffefa;border:0;border-top:1px solid #dde5df;border-radius:0;box-shadow:none}
.privacy-panel h2{font-family:Georgia,serif;font-size:1.4rem}
.privacy-panel .tool-actions{display:flex;justify-content:flex-start;gap:12px}
.privacy-panel .tool-actions button:last-child{justify-self:auto}
.wb-card{position:relative;overflow:hidden;min-height:310px;padding:clamp(24px,3vw,34px);border-radius:20px;border-color:#e6e4dc;background:linear-gradient(145deg,#fffefa,#fdfcf8);display:flex;flex-direction:column;box-shadow:0 18px 35px rgba(9,37,48,.08)}
.wb-card::before{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#b77e2d,#e8c47f)}
.wb-card h2{font-family:Georgia,serif;font-weight:500;font-size:2rem;line-height:1.2}
.wb-card .progress-track{margin-top:auto;height:8px}
.wb-card .progress-track span{transition:width .3s}
.wb-card .button{align-self:start;padding:13px 21px;margin-top:10px}
.wb-card .button:hover{box-shadow:0 8px 22px rgba(16,37,51,.14);transform:translateY(-2px)}
.wb-card.locked{opacity:.8}
.dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:34px;align-items:center;padding:clamp(26px,5vw,64px);border-radius:24px;background:linear-gradient(125deg,#0a273a,#194258 75%,#0c2d41);color:#fff;min-height:350px;position:relative;overflow:hidden}
.dashboard-hero .eyebrow{color:#e2be83}.dashboard-hero h1{font:normal clamp(2.3rem,5vw,4.4rem)/1.12 Georgia,serif;letter-spacing:-.045em;margin:14px 0 20px}
.dashboard-hero h1 em{color:#e5bf7a;font-weight:400}
.dashboard-hero .lead{color:#dbe4e4;margin:0;max-width:680px}
.dashboard-note{display:flex;gap:10px;align-items:center;margin-top:25px;color:#ead4a9;font-size:.86rem}
.hero-emblem{width:230px;height:230px;border:1px solid rgba(227,187,115,.44);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 0 0 28px rgba(231,192,122,.045),0 0 0 56px rgba(231,192,122,.023)}
.hero-emblem span{font-family:Georgia,serif;font-size:4rem;color:#e8cb92}
.hero-emblem small{font-size:.5rem;color:#e3d2b5;letter-spacing:.25em;text-align:center}
.dashboard-section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:44px 0 8px}
.dashboard-section-heading h2{font-family:Georgia,serif;font-size:2rem;font-weight:500;color:var(--navy);margin:0}
.dashboard-section-heading>p{font-size:.9rem;color:var(--muted)}
.workbook-cards{gap:24px}
.access-panel{background:transparent;box-shadow:none;border:1px solid #d5dfda}
@media(max-width:960px){.wb-reader-grid{grid-template-columns:220px minmax(0,1fr);gap:20px}.nav-heading h2{font-size:1.35rem}.reader-hero{padding:30px}}
@media(max-width:760px){
 .wb-header{height:66px;padding:0 18px}.wb-brand{font-size:.74rem;gap:9px}.brand-mark{width:34px;height:34px;font-size:18px}.private-pill{display:none}.save-status{font-size:.74rem}
 .wb-shell{width:min(100% - 28px,680px);padding-top:20px}.wb-reader-grid{display:block}
 .reader-sidebar{position:static;margin-bottom:18px}
 .nav-heading{display:none}.nav-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;background:#fffefa;border:1px solid #d8d5cb;border-radius:12px;padding:13px 16px;font-size:.9rem;color:var(--navy);font-weight:800}
 .stage-nav{display:none;position:static;margin:8px 0;max-height:45vh;overflow:auto;padding:10px;background:#fffefa;border:1px solid #dddcd3;border-radius:12px}
 .stage-nav.is-open{display:block}.sidebar-footer{display:none}
 .reader-hero{border-radius:17px;padding:26px 24px}.reader-hero h1{font-size:clamp(2rem,8vw,2.65rem)}
 .reader-hero .lead{font-size:.98rem;margin-bottom:24px}
 .reader-guidance{padding:20px 4px 2px}
 .response-heading{align-items:start;flex-direction:column}.response-counter{align-self:start}
 .tool-actions{grid-template-columns:1fr 1fr}.tool-actions .primary{grid-column:1/-1;grid-row:1}.tool-actions button{width:100%;font-size:.85rem;padding:12px 10px;min-height:50px}.tool-actions button:last-child{justify-self:stretch}
 .privacy-panel .tool-actions{display:flex;flex-wrap:wrap}
 .dashboard-hero{grid-template-columns:1fr;padding:32px 25px;min-height:auto}.hero-emblem{display:none}
 .dashboard-section-heading{margin-top:34px}
}
@media(max-width:410px){.header-meta{gap:6px}.wb-header{padding:0 12px}.wb-brand small{display:none}.question-controls{width:100%;justify-content:space-between}.field{padding:19px 16px}.summary-hint{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Approved original full-crest presentation; no recoloring or initials. */
.dashboard-hero{grid-template-columns:minmax(0,1fr) minmax(250px,310px)}
.hero-emblem--crest{width:100%;height:310px;max-width:310px;border:0;box-shadow:none;background:transparent;display:flex;align-items:center;justify-content:center;overflow:visible}
.hero-emblem--crest .hero-crest{display:block;width:100%;max-width:290px;height:auto;max-height:295px;object-fit:contain;filter:none;opacity:1}
@media(max-width:960px){.hero-emblem--crest{height:260px}.hero-emblem--crest .hero-crest{max-width:245px;max-height:255px}}
@media(max-width:760px){.dashboard-hero{grid-template-columns:1fr}.hero-emblem--crest{display:none}}
