:root{color-scheme:light;--bg:#f5f0e7;--panel:#fffaf2;--ink:#30283b;--muted:#655b67;--line:#d9cdbd;--gold:#795a2f;--accent:#29213c;--soft:#ece3d9;--side:#191724;--sideink:#e7dccc;--shadow:0 12px 40px #2c203510;font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:15px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink)}[data-theme=dark]{color-scheme:dark;--bg:#14121f;--panel:#201c2b;--ink:#f4eee5;--muted:#c5bacc;--line:#4c4056;--gold:#e0c18c;--accent:#c6a46b;--soft:#2c2639;--shadow:none}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.13;margin:0 0 .65em}h1{font-size:clamp(2rem,4vw,3.8rem);letter-spacing:-.035em}h2{font-size:clamp(1.45rem,2.4vw,2.1rem)}h3{font-size:1.3rem}p{line-height:1.65;margin:.4em 0 1em;color:var(--muted)}a{color:var(--gold);text-decoration:none}a:hover{text-decoration:underline}button,.button{font:inherit;cursor:pointer;background:var(--accent);color:var(--bg);border:1px solid transparent;border-radius:7px;padding:.7rem 1rem;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:44px;gap:.45rem}button:disabled{opacity:.55;cursor:not-allowed}.quiet{background:transparent;color:var(--ink);border:1px solid var(--line)}button:hover:not(:disabled),.button:hover{filter:brightness(.93)}:focus-visible{outline:3px solid #ad8c4d;outline-offset:3px}input,select,textarea{width:100%;font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:7px;padding:.75rem;min-width:0}input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--gold)}label{display:block;font-weight:550;margin:.65rem 0}label input,label select,label textarea{display:block;margin-top:.35rem}label.check{display:flex;align-items:center;gap:.5rem;font-weight:400}label.check input{display:inline;margin:0}fieldset{border:1px solid var(--line);border-radius:8px;margin:1rem 0;padding:1rem}img{display:block;max-width:100%}.skip{position:absolute;left:-1000px}.skip:focus{left:10px;top:10px;z-index:10;background:var(--panel);padding:1rem}.sidebar{position:fixed;inset:0 auto 0 0;width:235px;display:flex;flex-direction:column;background:var(--side);color:var(--sideink);padding:26px 18px;overflow:auto;z-index:3}.brand{display:flex;gap:12px;align-items:center;color:#e3c697;font-family:Georgia,serif;font-size:20px;letter-spacing:2px}.brand img{width:42px;height:42px;object-fit:contain}.brand small{display:block;letter-spacing:1.7px;font:9px system-ui;margin-top:5px}.nav-caption,.eyebrow{font:600 .68rem system-ui;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin:0 0 .9rem}.nav-caption{color:#baa98e;margin:32px 10px 12px}.sidebar nav{display:grid;gap:4px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:10px 11px;color:var(--sideink);border-radius:7px;min-height:43px}.sidebar nav a[aria-current=page]{background:#423747;color:#fff4df}.sidebar nav img{width:20px;height:20px}.sidebar-bottom{margin-top:auto;padding-top:24px}.sidebar-bottom p,.sidebar-bottom a{font-size:.77rem;color:#c7b9b1}.sidebar-bottom button{color:#e8ddcd;border-color:#66566a;width:100%;margin-bottom:10px}.workspace{margin-left:235px;min-height:100vh}header{height:65px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(16px,4vw,52px);gap:10px}.header-brand{font-family:Georgia,serif;letter-spacing:.08em}.status{font-size:.75rem;color:var(--muted)}#menu{display:none}main{max-width:1440px;margin:auto;padding:clamp(18px,3.4vw,48px);min-height:75vh}footer{text-align:center;padding:35px 20px;font-size:.8rem;color:var(--muted)}.hero{position:relative;min-height:360px;display:flex;align-items:end;overflow:hidden;border-radius:15px;background:#30263b;color:#fff4e3;isolation:isolate;padding:clamp(25px,5vw,64px);box-shadow:var(--shadow)}.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#181521e8,#201927b0 38%,#21192515 88%);z-index:-1}.hero div{max-width:590px}.hero p,.hero .eyebrow{color:#f3e5d2}.hero .button{background:#e8d1a5;color:#29213c}.hero .quiet{color:#fff4e3;border-color:#cdbb9e;background:#28213280}.section{margin-top:42px}.heading{max-width:800px;margin-bottom:26px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.panel{padding:clamp(17px,2.3vw,26px);background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);min-width:0;overflow-wrap:anywhere}.panel h2,.panel h3{margin-top:0}.module{display:block;border:1px solid var(--line);background:var(--panel);border-radius:11px;overflow:hidden;color:var(--ink);box-shadow:var(--shadow)}.module:hover{text-decoration:none;transform:translateY(-2px)}.module img{width:100%;aspect-ratio:16/8;object-fit:cover}.module div{padding:16px}.module p{font-size:.9rem;margin:0}.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:15px 0}.small{font-size:.83rem;color:var(--muted)}.reading-layout{display:grid;grid-template-columns:minmax(0,315px) minmax(0,1fr);gap:20px;align-items:start}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:12px}.card{display:block;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:6px;min-width:0;overflow:hidden;text-align:center}.card img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:5px}.card span{display:block;font-size:.8rem;margin-top:7px}.card.selected{outline:3px solid var(--gold);outline-offset:2px}.card:disabled{opacity:.45}.back{aspect-ratio:2/3;width:100%;display:grid;place-items:center;background:radial-gradient(ellipse at center,#423754,#1c1828);border:1px solid #b69a67;border-radius:5px;color:#e1c38e;font:2rem Georgia,serif}.back img{width:100%;height:100%;object-fit:cover}.selected-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin:16px 0}.slot{border:1px dashed var(--line);padding:10px;border-radius:8px;text-align:center}.slot img{max-width:100px;margin:auto;border-radius:5px}.reversed{transform:rotate(180deg)}.results{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.result-card img{width:110px;border-radius:6px;margin:0 auto 12px}.result-card p{font-size:.9rem}.lens{padding:12px 0;border-top:1px solid var(--line)}.lens strong{color:var(--gold)}.filter{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.filter label{flex:1;min-width:130px}.pill{display:inline-block;background:var(--soft);border-radius:20px;padding:5px 11px;font-size:.8rem;color:var(--muted)}.orb{border-radius:50%;width:150px;height:150px;background:radial-gradient(circle,#fff8eb,#c5a5ce 50%,#84738e);margin:25px auto;transition:transform 2s}.orb.active{transform:scale(1.12)}.center{text-align:center}.center .actions{justify-content:center}.goal-row{display:flex;gap:12px;align-items:flex-start}.goal-row>div{flex:1}.empty{padding:22px;border:1px dashed var(--line);border-radius:8px;color:var(--muted)}dialog{width:min(720px,92vw);max-height:90vh;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:15px;padding:25px}dialog::backdrop{background:#171421b0}#detail-body img{width:180px;border-radius:8px;float:left;margin:0 20px 15px 0}#detail-body:after{content:'';display:block;clear:both}.progress{height:8px;background:var(--soft);border-radius:5px;overflow:hidden}.progress span{height:100%;display:block;background:#89a99a}hr{border:0;border-top:1px solid var(--line);margin:24px 0}@media(max-width:1000px){.sidebar{width:200px;padding:20px 12px}.workspace{margin-left:200px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reading-layout{grid-template-columns:1fr}}@media(max-width:680px){.sidebar{display:none;width:min(300px,85vw);box-shadow:0 0 0 100vmax #19172470}.sidebar.open{display:flex}.workspace{margin-left:0}#menu{display:inline-flex}header{height:57px}.header-brand{font-size:.85rem}.status{display:none}main{padding:16px}.hero{min-height:360px;padding:23px}.hero:after{background:linear-gradient(90deg,#181521e8,#20192788)}.two{grid-template-columns:1fr}.grid{gap:10px}.module div{padding:12px}.module h3{font-size:1.1rem}.module p{font-size:.78rem}.cards{grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:8px}.section{margin-top:28px}.sidebar-bottom{padding-bottom:30px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.hero{min-height:320px}.reading-layout .panel+ .panel{margin-top:20px}.reading-layout .cards{grid-template-columns:repeat(auto-fill,minmax(78px,1fr));max-height:620px;overflow:auto;padding:5px}.slot-empty{height:82px;display:grid;place-items:center;color:var(--gold);font-size:2rem}.slot .small{display:block;min-height:38px}.selected-list.celtic{grid-template-columns:repeat(5,minmax(0,1fr))}.selected-list.celtic .slot{min-height:130px}.results+.panel,.section>.panel+.panel,#results>.panel{margin-top:20px}.error{color:#a5363b}.pre{white-space:pre-wrap}.hero .eyebrow{text-transform:uppercase}.panel details{margin-top:15px}.panel details summary{cursor:pointer;color:var(--gold)}.sidebar nav a:hover{background:#302737;text-decoration:none}.module img{transition:transform .35s ease}.module:hover img{transform:scale(1.025)}.card:hover:not(:disabled){border-color:var(--gold);box-shadow:0 4px 16px #2c203526}.slot img{max-height:120px;object-fit:contain}.section>h2{margin-bottom:20px}@media(max-width:680px){.selected-list.celtic{grid-template-columns:repeat(2,minmax(0,1fr))}.reading-layout .cards{grid-template-columns:repeat(4,minmax(0,1fr))}.hero{min-height:300px}#detail-body img{width:125px}.sidebar.open #nav{overflow:auto}.goal-row{flex-wrap:wrap}}
@media(min-width:1001px){.selected-list.celtic{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(4,minmax(110px,auto));align-items:center}.celtic .slot:nth-child(1){grid-column:2;grid-row:2}.celtic .slot:nth-child(2){grid-column:2;grid-row:3}.celtic .slot:nth-child(3){grid-column:2;grid-row:1}.celtic .slot:nth-child(4){grid-column:2;grid-row:4}.celtic .slot:nth-child(5){grid-column:1;grid-row:2}.celtic .slot:nth-child(6){grid-column:3;grid-row:2}.celtic .slot:nth-child(7){grid-column:5;grid-row:4}.celtic .slot:nth-child(8){grid-column:5;grid-row:3}.celtic .slot:nth-child(9){grid-column:5;grid-row:2}.celtic .slot:nth-child(10){grid-column:5;grid-row:1}}
