@font-face{font-family:'Tajawal';font-style:normal;font-weight:400;font-display:swap;src:url('./fonts/tajawal-regular.ttf') format('truetype')}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:700;font-display:swap;src:url('./fonts/tajawal-bold.ttf') format('truetype')}
:root{--navy:#165823;--blue:#DCCFC0;--lime:#E5C95F;--red:#8b362c;--ink:#3B3B1A;--muted:#6b685b;--line:#DCCFC0;--paper:#fffdf8;--canvas:#FFF7EB;font-family:'The Year of The Camel','Tajawal',Tahoma,Arial,sans-serif;color:var(--ink);font-size:16px;line-height:1.85;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--canvas)}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #165823;outline-offset:4px}button{color:inherit}.topbar{height:98px;padding:0 max(5vw,24px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #DCCFC0}.brand{display:flex;gap:12px;align-items:center;color:var(--navy);font-size:2rem;font-weight:800;text-decoration:none}.top-caption{font-size:.9rem;color:#6b685b}.text-button{border:0;background:transparent;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;padding:8px 0;font-size:.9rem}.small{font-size:.8rem}.layout{max-width:1390px;margin:0 auto;padding:48px 5vw 56px;display:grid;grid-template-columns:290px minmax(0,1fr);gap:54px}.journey{padding:10px 0;display:flex;flex-direction:column;align-items:flex-start}.eyebrow{font-size:.83rem;color:#5b6548;font-weight:600;margin:0}.journey h1{font-size:clamp(3rem,4.3vw,4.3rem);font-weight:800;line-height:1.5;letter-spacing:-2px;margin:12px 0 14px}.journey h1 span{position:relative;isolation:isolate}.journey h1 span:after{content:'';position:absolute;inset:58% -3px 8% -7px;background:var(--lime);z-index:-1;transform:rotate(-3deg)}.intro{font-size:.92rem;margin:0;color:#6b685b;line-height:2}.chapter-chip{margin:25px 0 26px;display:flex;align-items:center;justify-content:space-between;gap:50px;background:#eee5d6;padding:9px 17px;border-radius:8px;font-size:.88rem}.chapter-chip span{font-family:inherit;opacity:.65}.journey ol{margin:0 8px 24px 0;padding:0 24px 0 0;border-right:1px solid #DCCFC0;list-style:none}.journey li{position:relative;color:#7d7867;padding:5px 0 24px;font-size:.88rem}.journey li:last-child{padding-bottom:0}.journey li:before{position:absolute;content:'';right:-30px;top:13px;width:11px;height:11px;border-radius:50%;background:#DCCFC0;border:2px solid var(--canvas)}.journey li.active{font-weight:700;color:var(--navy)}.journey li.active:before{background:var(--navy);box-shadow:0 0 0 4px #e5ddca}.journey li.done:before{background:#7a853b}.sidebar-foot{border-top:1px solid #DCCFC0;padding-top:18px;margin-top:auto;width:100%;font-size:.8rem}.sidebar-foot p{margin:3px 0}.muted{color:var(--muted);font-size:.84rem}.save-toggle{display:flex;gap:9px;align-items:center;margin-top:17px;font-size:.8rem}.save-toggle input{accent-color:var(--navy);width:17px;height:17px}main{min-width:0;background:var(--paper);border-radius:22px;border:1px solid #e3d7c8;box-shadow:0 14px 44px #3b3b1a07;padding:36px 42px 21px;display:flex;flex-direction:column;min-height:720px;outline:none}.stage-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.time{font-size:.8rem;color:#817b6b}h2{font-size:1.85rem;line-height:1.8;letter-spacing:-.5px;color:var(--navy);margin:18px 0 9px}h3{font-size:1.2rem;color:var(--navy)}.lead{color:#646251;margin:0 0 23px;font-size:1rem}.message{border-radius:16px 4px 16px 16px;background:#f5f0e6;border:1px solid #e9dfd0;padding:19px 24px;margin-bottom:26px;max-width:580px}.message-label{font-size:.76rem;color:#786f5e;display:block;border-right:2px solid #b8a367;padding-right:9px}.message p{font-weight:500;font-size:1.1rem;line-height:2;margin:12px 0 15px}.message-bottom{display:flex;justify-content:space-between;gap:10px;font-size:.7rem;color:#8a816b}.prompt{font-weight:700;margin:22px 0 13px}.choices{display:flex;flex-direction:column;gap:11px}.choice{width:100%;display:flex;align-items:center;gap:15px;text-align:right;background:#fff;border:1px solid var(--line);padding:13px 16px;border-radius:11px;font-size:.96rem;transition:background .16s,border-color .16s,transform .16s;line-height:1.85}.choice:hover{background:#faf5e9;border-color:#aaac83;transform:translateX(-2px)}.choice.selected{background:#f7eabe;border-color:#bda044}.choice-letter{flex-shrink:0;width:30px;height:30px;display:grid;place-items:center;background:#f1eadf;border-radius:7px;color:#756b57;font-size:.8rem}.choice.selected .choice-letter{background:var(--navy);color:white}.main-footer{border-top:1px solid #eee4d7;display:flex;justify-content:space-between;gap:15px;margin-top:auto;padding-top:18px;color:#807968;font-size:.76rem}.main-footer>span:last-child{color:#9f8641;font-size:1.15rem}#stage{padding-bottom:24px}textarea{display:block;width:100%;resize:vertical;min-height:90px;max-height:250px;border:1px solid #c7beab;border-radius:10px;padding:12px 15px;line-height:1.9;font-size:.94rem;background:#fffdf8;margin:10px 0 0;color:var(--ink)}.input-meta{display:flex;justify-content:space-between;gap:10px;font-size:.75rem;color:#7c735f;margin:5px 0 15px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px;align-items:center}.primary,.secondary{border-radius:9px;padding:11px 23px;font-weight:600;font-size:.91rem;min-height:46px;border:1px solid var(--navy);text-decoration:none}.primary{background:var(--navy);color:white}.primary:hover{background:#0e461b}.secondary{background:white;border-color:#DCCFC0}.secondary:hover{background:#f5edde}.feedback{background:#f3f1db;border-right:3px solid #a4a552;padding:18px 22px;margin:22px 0;border-radius:9px}.feedback p{margin:4px 0}.feedback h3{margin:0 0 7px}.feedback.neutral{background:#f4eee4;border-color:#b9aa81}.feedback.warning{background:#fcf1e6;border-color:var(--red)}.feedback .muted{font-size:.76rem}.source-link{font-size:.84rem;font-weight:600;display:inline-block;margin-top:8px;color:#165823}.info{font-size:.8rem;color:#6e6b56;margin-top:15px;line-height:1.9}.status{font-size:.82rem;min-height:26px;color:#596f36;margin-top:12px}progress{width:100%;height:8px;accent-color:var(--navy)}.verse{font-size:1.65rem;line-height:2.4;text-align:center;padding:22px;background:#f4f1e5;border-radius:13px;color:var(--navy)}.source-card{border:1px solid var(--line);padding:18px 21px;border-radius:11px;margin:16px 0}.source-card p{margin:4px 0}.source-card .label{font-size:.76rem;color:#82775d}.checklist{padding-right:20px;font-size:.95rem}.checklist li{margin:10px 0}.end-mark{display:inline-grid;place-items:center;background:var(--lime);color:var(--navy);width:58px;height:58px;border-radius:18px;font-size:2rem}.summary-list{display:grid;gap:12px;margin:24px 0}.summary-row{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #e7ddcf;font-size:.9rem}.summary-row span{color:#7f7665}.quote{border-right:2px solid #bca75a;padding-right:15px;font-size:1rem;line-height:2}.skip{position:fixed;top:-100px;right:20px;background:var(--navy);color:white;padding:10px;z-index:99}.skip:focus{top:10px}dialog{border:0;border-radius:18px;width:min(620px,92vw);padding:35px 32px;color:var(--ink);line-height:2;box-shadow:0 20px 90px #0003}dialog::backdrop{background:#16582388;backdrop-filter:blur(4px)}.close-dialog{position:absolute;top:10px;left:17px;border:0;background:transparent;font-size:1.8rem}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1450px){.layout{padding-left:55px;padding-right:55px}}@media(max-width:1050px){.layout{grid-template-columns:220px minmax(0,1fr);gap:28px;padding:30px 24px}main{padding:26px 27px}.journey h1{font-size:3.2rem}.chapter-chip{gap:35px}}@media(max-width:750px){.topbar{height:76px;padding:0 20px}.brand{font-size:1.7rem}.top-caption{display:none}.layout{display:block;padding:22px 16px 30px}.journey{padding:0 7px}.journey h1{font-size:2rem;letter-spacing:0;line-height:1.6;margin:4px 0 12px}.journey h1 br{display:none}.journey h1 span{margin-right:7px}.intro,.chapter-chip,.sidebar-foot{display:none}.journey nav{width:100%}.journey ol{padding:0;margin:5px 0 25px;border:0;display:flex;justify-content:space-between;gap:10px}.journey li{padding:0 0 10px;font-size:.76rem}.journey li:before{right:0;left:0;top:auto;bottom:0;width:100%;height:3px;border:0;border-radius:3px}.journey li.active:before{box-shadow:none}main{padding:24px 19px 18px;min-height:640px;border-radius:17px}h2{font-size:1.5rem;margin-top:14px}.lead{font-size:.93rem}.message{padding:17px 18px}.message p{font-size:1rem}.message-bottom{font-size:.66rem}.choice{font-size:.9rem;padding:13px 12px;gap:11px}.main-footer{font-size:.7rem}.actions>*{flex:1;text-align:center}.verse{font-size:1.35rem;padding:15px}.summary-row{flex-direction:column;gap:3px}dialog{padding:28px 22px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Qabas palette, updated by the project owner on 2026-10-03 */
:root{--navy:#165823;--blue:#DCCFC0;--lime:#E5C95F;--ink:#3B3B1A;--canvas:#FFF7EB;--line:#DCCFC0}body{background:#FFF7EB}main{background:#fffdf8}.journey h1{letter-spacing:0;line-height:1.45}.brand{font-weight:800}.choice{font-weight:500}.verse{font-family:"The Year of The Camel","Tajawal",Tahoma,Arial,sans-serif}
/* Reason-first journey additions, 2026-10-04. */
.eyebrow,.time,.muted,.info,.message-label,.message-bottom,.input-meta,.status,.source-link,.sidebar-foot,.save-toggle,.small,.main-footer{font-size:.9rem}.journey li{font-size:.95rem}.journey ol{margin-bottom:16px}.journey li{padding-bottom:16px}fieldset{border:0;padding:0;margin:20px 0}legend{font-weight:700;padding:0;margin-bottom:12px}.choice input{accent-color:#165823;width:18px;height:18px;flex-shrink:0;margin:0}.choice-letter{width:26px;height:26px}.choice{cursor:pointer}.prompt{display:block}textarea{font-size:1rem;min-height:112px}.error{color:#8b362c;margin:0;min-height:1.2em;font-size:.9rem}.previous{margin-bottom:24px}details{border:1px solid var(--line);border-radius:10px;padding:10px 16px}summary{cursor:pointer}details p{white-space:pre-wrap;overflow-wrap:anywhere}.actions button{min-height:48px}#stage h2:focus{outline:none}
@media(max-width:750px){.journey nav{overflow:auto}.journey ol{min-width:0;gap:8px;display:grid;grid-template-columns:repeat(4,1fr)}.journey li{font-size:.85rem;line-height:1.55;padding-bottom:12px}.journey h1{margin-bottom:6px}.layout{padding-top:16px}.choice{font-size:1rem}.input-meta{flex-wrap:wrap}h2{line-height:1.6}.main-footer{line-height:1.6}.message-bottom{font-size:.85rem}.actions{align-items:stretch}.actions button{flex-basis:100%}}

/* Supplied Qabas identity: original SVG files, scaled proportionally. */
.brand-logo{display:block;object-fit:contain;width:144px;height:72px}.brand{gap:0}.top-caption{font-size:1rem}.journey h1{font-weight:700}.brand-logo{max-width:none}@media(max-width:750px){.brand-logo{width:116px;height:58px}}

/* Topic catalog: visible on desktop and mobile; status distinguishes content from connected journeys. */
.topic-menu{width:100%;margin-top:20px;font-size:.95rem;background:#fffdf8}.topic-menu summary{font-weight:700;color:var(--navy)}.topic-item{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.topic-item:last-child{border-bottom:0}.topic-state{font-size:.82rem;color:var(--muted);white-space:nowrap}.topic-menu p{font-size:.85rem;margin:10px 0 0}@media(max-width:750px){.topic-menu{margin:0 0 16px}.topic-item{gap:16px}.topic-state{font-size:.9rem}}

.topic-copy{min-width:0}.topic-description{display:block;font-size:.76rem;line-height:1.7;color:var(--muted);margin-top:4px}.topic-state{flex-shrink:0}
/* Six selectable journeys and an optional question in the explanation. */
.topic-item{width:100%;background:transparent;border:0;border-bottom:1px solid var(--line);font:inherit;text-align:right;padding:12px 4px;color:var(--ink);border-radius:4px}.topic-item:hover{background:#f5f0e6}.topic-item[aria-current]{background:#f3edd1;color:var(--navy)}.topic-copy{display:block}.topic-description{font-size:.85rem}.story p{white-space:pre-line}.ai-reflection h3{font-size:1.05rem}.ai-reflection .quote{font-size:.9rem}.chapter-chip #chapter-title{opacity:1}.journey h1{font-size:clamp(2rem,3vw,3.2rem)}.source-card .verse{overflow-wrap:anywhere}@media(max-width:750px){.journey ol{grid-template-columns:repeat(4,1fr)}.journey h1{font-size:1.9rem}.topic-menu{margin-top:14px}.journey ol{margin-bottom:20px}}
.ai-reflection h3:not(:first-child){margin-top:20px}.personal-feedback h4{font-size:.95rem;margin:20px 0 8px;color:var(--navy)}.feedback-item+.feedback-item{border-top:1px solid #d9d7b6;margin-top:14px;padding-top:14px}.feedback-item,.ai-reflection .quote{overflow-wrap:anywhere}.feedback-item ul{margin:8px 0;padding-right:20px}.optional-example{margin-top:24px}.optional-example summary{cursor:pointer;color:var(--navy)}
@media(min-width:751px){.layout{align-items:start}}
.feedback .verdict{font-weight:700;line-height:1.7;padding:10px 14px;border:1px solid #9ac5a0;border-radius:8px;background:#eaf3e7;color:#165823;overflow-wrap:anywhere}.feedback .verdict.needs_addition,.feedback .verdict.partial,.feedback .verdict.contextual{background:#fff4d5;border-color:#b89b39;color:#594811}.feedback .verdict.needs_correction{background:#fcece6;border-color:#c58c77;color:#7a3324}.feedback .assessment-note{font-size:.85rem;line-height:1.8;color:var(--ink)}
.human-support{margin-top:24px;font-size:.9rem;overflow-wrap:anywhere}.human-support a{color:var(--navy);text-decoration:underline}.human-support .assessment-note{font-size:.82rem}
.about-detail-heading{font-size:1rem;color:var(--navy);margin:22px 0 8px}.about-points{margin:8px 0 18px;padding-inline-start:22px}.about-points li{margin:7px 0;overflow-wrap:anywhere}
.site-copyright{padding:0 20px 26px;text-align:center;color:var(--muted);font-size:.82rem}.site-copyright p{margin:0;overflow-wrap:anywhere}
