:root{font-family:'DM Sans',sans-serif;color:#303c35;background:#f3f0e9;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 50% 0%,#fbf9f4 0,#f3f0e9 55%);min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{max-width:1250px;margin:auto;padding:0 38px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6e3da}.brand{text-decoration:none;color:#263e34;font-size:23px;font-weight:700;letter-spacing:-1.2px;display:flex;align-items:center;gap:10px}.brand-mark{display:inline-grid;place-items:center;width:34px;height:34px;background:#2d5542;color:#f6e7ae;border-radius:10px;font-size:23px;font-weight:400}.brand-dot{color:#b68b56}.top-actions{display:flex;gap:19px;align-items:center}.private-note{font-size:12px;color:#77827a;display:flex;gap:8px;align-items:center}.private-dot{width:7px;height:7px;border-radius:50%;background:#75aa7d}.icon-button{width:36px;height:36px;border:1px solid #e0e4da;border-radius:50%;background:#fffaf1;color:#48624f;font-size:23px;line-height:1}.intro{text-align:center;padding:65px 0 46px}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:700;color:#b28d5d;margin:0 0 14px}.intro h1{font:500 52px/1.12 'Playfair Display',Georgia,serif;letter-spacing:-1.7px;margin:0;color:#263c31}.intro h1 em{color:#b48a5c;font-weight:400}.intro-copy{max-width:450px;color:#859087;line-height:1.7;font-size:13px;margin:20px auto 0}.dashboard,.entry-section,.monthly-section{background:#fffcf7;border:1px solid #eee9df;border-radius:18px;box-shadow:0 16px 50px #69614e0a}.dashboard{padding:29px 38px 15px}.section-top{display:flex;justify-content:space-between;align-items:center}.section-top h2{font:500 24px 'Playfair Display',Georgia,serif;margin:0;color:#304438}.section-top .eyebrow{margin-bottom:7px}.date-control,.month-control{display:flex;align-items:center;gap:10px;font-size:11px;color:#90998f}.date-control input,.month-control input{border:1px solid #e7e7de;background:#fbfaf6;border-radius:8px;padding:8px 10px;color:#516053;font-size:11px;outline-color:#799b82}.balance-grid{display:grid;grid-template-columns:1fr 2.6fr 1fr;align-items:center;min-height:300px}.side-stat{display:flex;flex-direction:column;align-items:center;padding-bottom:16px}.stat-symbol{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;font-size:25px;margin-bottom:19px}.good .stat-symbol{background:#eef4ec;color:#4b8060}.bad .stat-symbol{background:#f9efea;color:#bc7762}.stat-label{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#6d8372}.bad .stat-label{color:#ae8273}.side-stat strong{font:500 45px 'Playfair Display',Georgia,serif;color:#416951;line-height:1.2;margin:7px 0}.bad strong{color:#ae7765}.stat-caption{font-size:11px;color:#a0a69f}.scale-wrap{text-align:center;align-self:end}.scale-art{height:221px;position:relative;max-width:440px;margin:auto;overflow:hidden}.scale-glow{position:absolute;width:210px;height:210px;border-radius:50%;background:#f5f2e9;left:50%;top:1px;transform:translateX(-50%)}.scale-hanger{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);width:330px;height:205px}.scale-top{position:absolute;left:50%;top:5px;transform:translateX(-50%);width:25px;height:25px;border:5px solid #ad9064;border-radius:50%;z-index:2;background:#f6f2e8}.scale-pole{position:absolute;left:50%;top:25px;transform:translateX(-50%);width:6px;height:157px;background:linear-gradient(90deg,#8e7658,#d5bc8b,#8e7658);border-radius:3px}.scale-beam{position:absolute;width:100%;height:114px;top:36px;left:0;transform-origin:50% 3px;transition:transform .7s ease}.scale-arm{position:absolute;top:0;left:18px;width:294px;height:5px;border-radius:50%;background:linear-gradient(#d3b886,#977b58);box-shadow:0 2px 2px #8d7c6529}.scale-arm:before,.scale-arm:after{content:'';position:absolute;top:-3px;width:11px;height:11px;border-radius:50%;background:#ad936a}.scale-arm:before{left:-2px}.scale-arm:after{right:-2px}.scale-pan{position:absolute;top:4px;width:95px;height:100px}.scale-pan.left{left:-23px}.scale-pan.right{right:-23px}.scale-pan i{position:absolute;top:0;left:46px;height:68px;width:1px;background:#bba375}.scale-pan i:before,.scale-pan i:after{content:'';position:absolute;top:0;height:66px;width:1px;background:#bba375}.scale-pan i:before{left:-36px;transform:rotate(18deg);transform-origin:top}.scale-pan i:after{left:36px;transform:rotate(-18deg);transform-origin:top}.scale-pan span{position:absolute;bottom:8px;left:5px;width:84px;height:22px;background:#c4ae82;border-radius:0 0 50% 50%;border-top:2px solid #8f7855;box-shadow:0 5px 7px #71604427}.scale-base{position:absolute;width:86px;height:8px;background:linear-gradient(#b79a6a,#8a765b);border-radius:50% 50% 2px 2px;bottom:0;left:50%;transform:translateX(-50%)}.scale-base:before{content:'';position:absolute;width:40px;height:10px;background:#b59a6d;bottom:5px;left:23px;border-radius:50% 50% 0 0}.balance-copy{position:relative;margin-top:-1px;min-height:70px}.balance-pill{font-size:11px;font-weight:700;color:#4e785d;background:#eef4eb;border:1px solid #e0eadd;padding:7px 13px;border-radius:20px;display:inline-block}.balance-copy p{font-size:11px;color:#939e94;margin:12px}.entry-section{margin-top:23px;padding:29px 38px 28px}.primary-button{border:0;background:#2d5944;color:#fff;border-radius:8px;padding:11px 17px;font-size:12px;font-weight:700;box-shadow:0 5px 12px #234d3b21}.primary-button:hover{background:#214735}.primary-button span{font-size:17px;line-height:10px;vertical-align:-1px;margin-right:5px}.tabs{display:flex;gap:25px;border-bottom:1px solid #ecece5;margin-top:27px}.tab{border:0;background:none;color:#a0a79e;padding:0 0 15px;font-size:12px;font-weight:600;position:relative}.tab.active{color:#35634c}.tab.active:after{content:'';position:absolute;height:2px;background:#35634c;left:0;right:0;bottom:-1px}.tab span{font-size:10px;background:#f2f3ee;border-radius:10px;padding:2px 6px;margin-left:4px}.entry-list{min-height:112px}.empty-state{display:flex;align-items:center;gap:15px;padding:25px 2px;color:#9ba69a}.empty-icon{width:45px;height:45px;background:#f3f4ed;border-radius:50%;display:grid;place-items:center;font-size:23px;color:#8ba58b}.empty-state strong{display:block;color:#6e806f;font-weight:600;font-size:12px}.empty-state p{font-size:11px;margin:5px 0 0}.entry-row{display:flex;align-items:center;gap:15px;padding:16px 1px;border-bottom:1px solid #f0eee8}.entry-row:last-child{border:0}.entry-type{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;flex:none}.entry-type.good{background:#eef4ec;color:#578365}.entry-type.bad{background:#f8ede8;color:#b67b69}.entry-body{flex:1;min-width:0}.entry-body p{font-size:13px;margin:0 0 5px;white-space:pre-wrap;overflow-wrap:anywhere}.entry-body small{font-size:10px;color:#9fa79f}.row-actions{display:flex;gap:4px}.row-actions button{border:0;background:transparent;color:#a1a89f;font-size:12px;padding:6px}.row-actions button:hover{color:#2d5944}.monthly-section{margin-top:23px;padding:29px 38px 30px}.monthly-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:24px}.month-card{background:#f8f8f2;border:1px solid #f0eee6;border-radius:10px;padding:17px 20px;display:flex;align-items:center;gap:12px;color:#7e8a7e;font-size:11px}.month-icon{font-size:20px}.green{color:#6f9d74}.terracotta{color:#bc8b77}.gold{color:#b89760}.month-card strong{font:500 26px 'Playfair Display',Georgia,serif;color:#36523f;margin-left:auto}.month-insight{border-top:1px solid #eeeae2;margin-top:23px;padding-top:21px;display:flex;align-items:center;justify-content:space-between;gap:20px}.month-insight .eyebrow{margin:0}.month-insight p{color:#89948a;font-size:11px;margin:8px 0 0;line-height:1.5}.month-bars{width:160px;height:12px;border-radius:20px;background:#e9e8e0;display:flex;overflow:hidden;flex:none}.bar-good{background:#90b59a}.bar-bad{background:#cfa795}.footer-note{text-align:center;padding:28px;color:#a4aba0;font-size:10px}.footer-note span{color:#bfa26d;margin-left:4px}dialog{border:1px solid #e8e3d9;border-radius:18px;padding:30px;width:min(460px,calc(100vw - 30px));background:#fffcf7;box-shadow:0 28px 80px #253b3050;color:#35473b}dialog::backdrop{background:#26372d88}.dialog-close{position:absolute;right:20px;top:15px;background:none;border:0;font-size:26px;color:#8c978c}dialog h2{font:500 28px 'Playfair Display',Georgia,serif;margin:0}.dialog-desc{font-size:12px;color:#929e93;line-height:1.6;margin:10px 0 22px}.type-choices{display:flex;gap:10px;margin-bottom:23px}.type-choice{flex:1;cursor:pointer}.type-choice input{position:absolute;opacity:0}.type-choice span{display:block;padding:11px;text-align:center;border:1px solid #e8e6db;border-radius:9px;color:#7b8b7e;font-size:12px}.type-choice input:checked+span{border-color:#6f9b78;background:#eef4ed;color:#366848}.type-choice:has(input[value=bad]:checked) span{border-color:#c59582;background:#f8eee9;color:#a76653}.field-label{display:block;font-size:11px;font-weight:700;margin-bottom:8px}textarea{width:100%;border:1px solid #dedfd6;border-radius:9px;background:#fff;resize:vertical;padding:12px;color:#37463a;outline-color:#729a7c;font-size:13px}.form-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:15px;color:#a0a79f;font-size:11px}@media(max-width:700px){.app-shell{padding:0 17px}.topbar{height:67px}.brand{font-size:20px}.private-note{display:none}.intro{padding:48px 10px 34px}.intro h1{font-size:40px}.intro-copy{font-size:12px}.dashboard,.entry-section,.monthly-section{padding:23px 20px}.section-top h2{font-size:21px}.date-control,.month-control{display:block}.date-control span,.month-control span{display:none}.balance-grid{grid-template-columns:1fr 1fr;min-height:0}.scale-wrap{grid-column:1/-1;grid-row:1}.side-stat{padding:4px 0 22px}.stat-symbol{margin-bottom:9px}.side-stat strong{font-size:32px}.stat-caption{font-size:10px}.scale-art{height:190px}.scale-hanger{transform:translateX(-50%) scale(.84);transform-origin:bottom center}.balance-copy{min-height:63px}.entry-heading{align-items:flex-start;gap:10px}.primary-button{font-size:11px;padding:10px 12px}.monthly-grid{gap:7px}.month-card{display:block;padding:12px 8px;text-align:center}.month-icon{display:block}.month-card strong{display:block;margin:5px 0 0}.month-insight{align-items:flex-start}.month-bars{width:80px;margin-top:12px}}@media(max-width:370px){.entry-heading{display:block}.entry-heading .primary-button{margin-top:15px}.tabs{gap:14px}}
@media(max-width:700px){.monthly-section .section-top{display:block}.monthly-section .month-control{margin-top:14px}.monthly-section .month-control input{width:100%;max-width:220px}}
/* Illustrated scale and reference catalog */
.realm-scene{position:absolute;left:9px;top:5px;width:76px;height:72px;object-fit:contain;filter:drop-shadow(0 4px 4px #45392434)}
.scale-pan i{z-index:2}.scale-pan span{z-index:3}
.catalog-section{margin-top:23px;padding:29px 38px 30px;background:#fffcf7;border:1px solid #eee9df;border-radius:18px;box-shadow:0 16px 50px #69614e0a}
.catalog-heading{align-items:flex-start;gap:24px}.catalog-heading h2{margin-bottom:8px}.catalog-lead{max-width:650px;color:#88958b;font-size:12px;line-height:1.65;margin:0}.catalog-heading .primary-button{flex:none}
.catalog-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:end;border-bottom:1px solid #ecece5;margin-top:26px}.catalog-tabs{display:flex;gap:22px;align-items:center}.catalog-tab{border:0;background:none;color:#9aa69c;padding:0 0 15px;font-size:12px;font-weight:700;position:relative;white-space:nowrap}.catalog-tab.active{color:#316247}.catalog-tab.active:after{content:'';position:absolute;bottom:-1px;height:2px;left:0;right:0;background:#316247}.catalog-filters{display:flex;gap:9px;padding-bottom:10px}.catalog-filters input,.catalog-filters select,.catalog-title-input{border:1px solid #e4e6dc;border-radius:8px;background:#fbfaf6;color:#486052;padding:9px 11px;font-size:11px;outline-color:#75a181}.catalog-filters input{width:165px}.catalog-filters select{width:150px}.catalog-result{font-size:11px;color:#a2aaa1;margin:16px 0}.catalog-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog-card{display:flex;align-items:center;gap:12px;min-height:68px;padding:12px 14px;border:1px solid #eeece3;background:#fafaf6;border-radius:9px}.catalog-card.good{background:#f8faf6}.catalog-card.bad{background:#fcf8f5}.catalog-icon{display:grid;place-items:center;flex:none;width:33px;height:33px;border-radius:50%;font-size:19px;background:#eaf3e9;color:#548361}.catalog-card.bad .catalog-icon{background:#f7eae4;color:#ae745e}.catalog-body{min-width:0;flex:1}.catalog-body strong{display:block;font-size:12px;font-weight:600;line-height:1.35;color:#425348}.catalog-body small{display:block;margin-top:4px;color:#9ca89e;font-size:10px}.catalog-actions{display:flex;gap:5px;align-items:center}.catalog-use{border:1px solid #dbe8da;background:#fff;color:#3d7951;border-radius:7px;padding:7px 9px;font-size:11px;font-weight:700;white-space:nowrap}.catalog-card.bad .catalog-use{border-color:#eadbd3;color:#af705a}.catalog-minor{border:0;background:none;color:#a0a9a0;padding:5px;font-size:11px}.catalog-minor:hover{color:#305740}.catalog-more{display:block;margin:20px auto 0;padding:10px 18px;background:#f1f5ee;color:#477150;border:1px solid #e1eadf;border-radius:8px;font-size:11px;font-weight:700}.catalog-more[hidden]{display:none}.catalog-note{font-size:10px;color:#9ea79c;line-height:1.6;border-top:1px solid #efede6;padding-top:18px;margin:23px 0 0}.catalog-note a{color:#67846c;text-underline-offset:2px}.catalog-empty{grid-column:1/-1;text-align:center;color:#8b9b8d;padding:32px;font-size:12px}.catalog-title-input{width:100%;font-size:13px;background:#fff}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:850px){.catalog-toolbar{display:block}.catalog-filters{padding:5px 0 12px}.catalog-filters input,.catalog-filters select{flex:1;width:50%;min-width:0}.catalog-list{grid-template-columns:1fr}}
@media(max-width:700px){.catalog-section{padding:23px 20px}.catalog-heading{display:block}.catalog-heading .primary-button{margin-top:16px}.catalog-tabs{gap:15px;overflow-x:auto}.catalog-tab{font-size:11px}.catalog-card{padding:10px;gap:9px}.catalog-actions{gap:2px}.catalog-use{font-size:10px;padding:7px}.catalog-minor{font-size:10px;padding:3px}.realm-scene{transform:none}}
@keyframes gardenFloat{0%,100%{transform:translateY(0);filter:drop-shadow(0 4px 4px #45392434) brightness(1)}50%{transform:translateY(-2px);filter:drop-shadow(0 6px 6px #6da77755) brightness(1.08)}}
@keyframes firePulse{0%,100%{transform:translateY(0) scale(1);filter:drop-shadow(0 4px 4px #ad523b44) brightness(1)}50%{transform:translateY(-1px) scale(1.035);filter:drop-shadow(0 5px 8px #ee783988) brightness(1.14)}}
.scale-pan.left .realm-scene{animation:gardenFloat 3.4s ease-in-out infinite}.scale-pan.right .realm-scene{animation:firePulse 1.45s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.scale-pan .realm-scene{animation:none!important}.scale-beam{transition:none}}
/* Keep each pan suspended from the center attachment point. */
.scale-pan i{display:none}
.scale-pan::before,.scale-pan::after{content:'';position:absolute;top:4px;left:46px;width:1px;height:73px;background:#bba375;transform-origin:top center;z-index:2}
.scale-pan::before{transform:rotate(30deg)}.scale-pan::after{transform:rotate(-30deg)}
.realm-scene{z-index:1}
/* Split worlds and the new record workspace */
:root{color:#30362f;background:#eee8dd}
body{background:linear-gradient(90deg,#51363b 0%,#9c5945 49.8%,#b6d2ad 50.2%,#6aa8a3 100%)}
.world-backdrop{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;z-index:0;pointer-events:none;overflow:hidden}
.world-half{position:relative;overflow:hidden}.world-hell{background:radial-gradient(circle at 35% 30%,#b75e43 0,#8b4439 28%,#422f34 72%,#2c2932 100%)}.world-heaven{background:radial-gradient(circle at 65% 24%,#e9efcc 0,#b7d5b5 32%,#6baba7 70%,#47898f 100%)}
.world-half:before,.world-half:after{content:'';position:absolute;border-radius:50%;filter:blur(2px);animation:worldDrift 12s ease-in-out infinite alternate}.world-hell:before{width:55vw;height:55vw;left:-25%;bottom:-24%;background:radial-gradient(circle,#ef925044,transparent 69%)}.world-hell:after{width:35vw;height:35vw;left:35%;top:8%;background:radial-gradient(circle,#f1bb8155,transparent 70%);animation-delay:-6s}.world-heaven:before{width:55vw;height:55vw;right:-18%;bottom:-35%;background:radial-gradient(circle,#f8ffdb88,transparent 70%)}.world-heaven:after{width:35vw;height:35vw;right:36%;top:9%;background:radial-gradient(circle,#fff4d677,transparent 72%);animation-delay:-4s}
.world-orb{position:absolute;top:45%;width:6px;height:6px;border-radius:50%;box-shadow:0 0 20px 6px currentColor;animation:worldDrift 8s ease-in-out infinite alternate}.world-hell .world-orb{color:#ffbd73;left:17%}.world-heaven .world-orb{color:#fffacb;right:17%;animation-delay:-3s}.world-name{position:absolute;bottom:5%;color:#ffffff70;font-size:10px;letter-spacing:4px;font-weight:700}.world-hell .world-name{left:7%}.world-heaven .world-name{right:7%}
.app-shell{position:relative;z-index:1;max-width:1240px;padding:0 26px}.topbar{height:76px;padding:0 28px;background:#fffdf8ed;border:1px solid #ffffff8a;border-top:0;border-radius:0 0 22px 22px;box-shadow:0 10px 40px #252e2a19}.brand{font-size:24px}.brand-mark{background:#344c42}.private-note{color:#64736a}.icon-button{background:#f8f7ed}
.intro{position:relative;min-height:352px;margin-top:22px;padding:0;display:grid;grid-template-columns:minmax(185px,1fr) minmax(420px,1.55fr) minmax(185px,1fr);align-items:stretch;overflow:hidden;border-radius:24px;background:linear-gradient(90deg,#783b35,#e9e1d2 47%,#deeadb 53%,#79aaa2);box-shadow:0 24px 65px #242a282e;border:1px solid #ffffff66}
.intro:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#672e3980,transparent 34%,transparent 66%,#d5efdc33);pointer-events:none}.hero-side{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;min-width:0}.hero-side img{width:min(80%,230px);max-height:230px;filter:drop-shadow(0 22px 22px #2b252955);animation:heroFloat 5s ease-in-out infinite}.hero-hell img{animation-duration:3.2s}.hero-heaven img{animation-delay:-2s}.hero-side span{position:absolute;bottom:25px;font-size:10px;letter-spacing:3px;color:#ffecd1bd;font-weight:700}.hero-heaven span{color:#2f725f}.hero-center{z-index:1;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:32px 20px;background:radial-gradient(circle at center,#fffef7ed 0,#fffdf5d9 55%,#fffdf5aa 85%,transparent 100%)}.intro .eyebrow{color:#9a764f;margin:0 0 16px}.intro h1{font-size:clamp(35px,3.6vw,54px);line-height:1.09}.intro h1 em{color:#9c6c52}.intro-copy{color:#69796d;max-width:390px;margin:15px auto 0}.hero-add{margin-top:23px;padding:10px 17px;border:1px solid #315543;background:#315543;color:#fff;border-radius:30px;font-size:12px;font-weight:700;box-shadow:0 8px 18px #2943322b}.hero-add span{margin-left:10px}.hero-add:hover{background:#243e33}
.dashboard,.entry-section,.monthly-section{background:#fffdf8f2;border:1px solid #ffffffaa;box-shadow:0 16px 45px #20272120;backdrop-filter:blur(12px)}.dashboard{margin-top:22px}.side-stat.bad{grid-column:1}.side-stat.good{grid-column:3}.scale-wrap{grid-column:2}.scale-glow{background:radial-gradient(circle,#f7eacb,#f5f2e900 70%)}.scale-pan.left .realm-scene{animation:firePulse 1.45s ease-in-out infinite}.scale-pan.right .realm-scene{animation:gardenFloat 3.4s ease-in-out infinite}.scale-art{overflow:visible}.entry-section{margin-top:20px}.monthly-section{margin-top:20px}.footer-note{color:#fffef4d6}
.opening{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;flex-direction:column;background:linear-gradient(105deg,#512d31 0%,#9a543e 47%,#c0c8ab 53%,#5c9998 100%);color:#fff;pointer-events:none;animation:openingExit 2.5s ease-in-out forwards}.opening:before{content:'';width:330px;height:330px;border:1px solid #fffbdb88;border-radius:50%;position:absolute;animation:openingRing 1.8s ease-out both}.opening-mark{font-size:64px;color:#ffe2a1;animation:openingMark 1.8s ease both;line-height:1}.opening>span{font-size:20px;letter-spacing:7px;font-weight:700;margin-top:17px;animation:openingMark 1.8s ease both}.opening p{font:italic 16px 'Playfair Display',Georgia,serif;color:#fff9e1;animation:openingMark 1.8s ease both}
@keyframes openingExit{0%,65%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}@keyframes openingMark{0%{transform:translateY(25px) scale(.75);opacity:0}45%,85%{transform:translateY(0) scale(1);opacity:1}100%{transform:translateY(-10px);opacity:0}}@keyframes openingRing{0%{transform:scale(.3);opacity:0}40%{opacity:1}100%{transform:scale(1.5);opacity:0}}@keyframes worldDrift{from{transform:translate3d(-10px,16px,0)}to{transform:translate3d(18px,-14px,0)}}@keyframes heroFloat{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-9px) rotate(2deg)}}
dialog.entry-dialog{width:min(1060px,calc(100vw - 30px));max-height:min(780px,calc(100dvh - 30px));padding:0;overflow:hidden;background:#fffdf7;border-radius:22px}.entry-dialog-header{padding:25px 30px 15px;border-bottom:1px solid #e6e5db;background:linear-gradient(90deg,#faeee7,#fffdf7 48%,#e9f4ec)}.entry-dialog-header .eyebrow{margin-bottom:7px}.entry-dialog-header h2{font-size:30px}.entry-dialog-header .dialog-desc{margin:8px 0 0}.entry-dialog-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.8fr);height:min(615px,calc(100dvh - 157px));min-height:350px}.entry-catalog{min-width:0;padding:21px 22px 18px 30px;overflow-y:auto;background:#fffdf9}.entry-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.entry-catalog-heading .eyebrow{margin:0 0 4px}.entry-catalog h3,.entry-form h3{font:500 23px 'Playfair Display',Georgia,serif;margin:0;color:#314438}.catalog-create{background:#f2f7ef;border:1px solid #d7e5d5;color:#37684c;border-radius:8px;padding:8px 10px;font-size:11px;font-weight:700;white-space:nowrap}.catalog-create:hover{background:#e5f0e4}.entry-catalog .catalog-toolbar{display:block;margin-top:16px}.entry-catalog .catalog-tabs{gap:16px}.entry-catalog .catalog-tab{padding-bottom:10px}.entry-catalog .catalog-filters{padding:12px 0 0}.entry-catalog .catalog-filters input,.entry-catalog .catalog-filters select{flex:1;width:50%;min-width:0}.entry-catalog .catalog-result{margin:12px 0;font-size:10px}.entry-catalog .catalog-list{grid-template-columns:1fr;gap:7px}.entry-catalog .catalog-card{min-height:55px;padding:9px 11px}.entry-catalog .catalog-note{margin-top:15px;padding-top:13px}.entry-form{padding:24px 27px;background:#f3f4ec;border-left:1px solid #e2e8dd;display:flex;flex-direction:column;min-width:0}.entry-form .eyebrow{margin-bottom:6px}.entry-form .dialog-desc{margin:8px 0 18px}.entry-form .type-choices{margin-bottom:21px}.entry-form textarea{min-height:150px;flex:1;max-height:260px;background:#fffefa}.entry-form .form-bottom{gap:8px}.entry-form .form-bottom .primary-button{white-space:nowrap}.entry-dialog .dialog-close{z-index:2;top:16px;right:18px}
@media(max-width:850px){.intro{grid-template-columns:1fr 1.6fr 1fr}.hero-side img{width:95%}.entry-dialog-grid{grid-template-columns:1fr 290px}.entry-catalog{padding-left:20px}}
@media(max-width:700px){.app-shell{padding:0 12px}.topbar{height:64px;padding:0 17px}.intro{min-height:330px;margin-top:13px;grid-template-columns:1fr 2.3fr 1fr;border-radius:18px}.hero-center{padding:20px 5px}.intro h1{font-size:32px}.intro-copy{font-size:11px;line-height:1.5;margin-top:10px}.intro .eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:10px}.hero-side img{width:125%;max-width:none}.hero-side span{font-size:8px;letter-spacing:1.3px;bottom:18px}.hero-add{margin-top:15px;font-size:10px;padding:8px 11px}.dashboard,.entry-section,.monthly-section{padding:22px 17px}.balance-grid{grid-template-columns:1fr 1fr}.scale-wrap{grid-column:1/-1;grid-row:1}.side-stat.bad{grid-column:1;grid-row:2}.side-stat.good{grid-column:2;grid-row:2}.entry-dialog-grid{display:flex;flex-direction:column;height:calc(100dvh - 135px);overflow-y:auto}.entry-catalog{flex:none;overflow:visible;padding:16px}.entry-catalog .catalog-list{max-height:250px;overflow-y:auto}.entry-form{flex:none;border-left:0;border-top:1px solid #e2e8dd;padding:17px}.entry-form textarea{flex:none;min-height:95px;max-height:160px}.entry-form .type-choices{margin-bottom:14px}.entry-dialog-header{padding:18px 42px 12px 17px}.entry-dialog-header h2{font-size:24px}.entry-dialog-header .dialog-desc{font-size:11px}.entry-catalog h3,.entry-form h3{font-size:20px}.entry-catalog .catalog-tabs{overflow-x:auto}.entry-catalog .catalog-card{min-height:53px}.entry-catalog .catalog-note{margin-bottom:0}.world-name{display:none}}
@media(max-width:700px){.entry-catalog .catalog-list{max-height:83px}.entry-catalog .catalog-more{margin:8px auto 0;padding:7px 12px}.entry-catalog .catalog-note{display:none}.entry-form .dialog-desc{margin:5px 0 10px}.entry-form .type-choices{margin-bottom:11px}.entry-form textarea{min-height:70px}.entry-form .form-bottom{margin-top:9px}}
@media(max-width:390px){.intro{grid-template-columns:.55fr 2fr .55fr}.hero-side img{width:170%}.hero-side span{display:none}.intro h1{font-size:29px}.entry-catalog-heading{align-items:flex-start}.catalog-create{white-space:normal;max-width:122px}}
@media(prefers-reduced-motion:reduce){.opening{display:none}.world-half:before,.world-half:after,.world-orb,.hero-side img{animation:none!important}}
/* Compact, non-blocking entrance and a symbolic bridge. */
.opening{display:none!important}
.intro{min-height:300px;animation:heroReveal .55s ease-out both}
.hero-side img{max-height:175px}
.hero-side span{bottom:43px}
.hero-center{padding-bottom:40px}
.sirat-symbol{position:absolute;z-index:2;left:4%;right:4%;bottom:0;height:33px;pointer-events:none;opacity:.8}
.sirat-symbol svg{display:block;width:100%;height:100%;overflow:visible}
.bridge-glow,.bridge-line{fill:none;stroke-linecap:round}
.bridge-glow{stroke:#fff0ac;stroke-width:10;filter:blur(7px);opacity:.8}
.bridge-line{stroke:#f8e2aa;stroke-width:2;stroke-dasharray:2 3}
.scale-pan{transform-origin:50% 0;transition:transform .7s ease}
@keyframes heroReveal{from{opacity:.4;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.intro{min-height:255px}.hero-side img{width:105%;max-height:135px}.hero-side span{bottom:38px}.hero-center{padding:18px 4px 35px}.intro h1{font-size:29px}.intro-copy{font-size:10px}.hero-add{margin-top:11px}.sirat-symbol{height:23px}}
@media(max-width:390px){.hero-side img{width:140%}.intro h1{font-size:27px}}
@media(prefers-reduced-motion:reduce){.intro{animation:none}.scale-pan{transition:none}}
/* Keep the welcome area compact; the two realms are expressed by the page edges and scale. */
.intro{display:flex;align-items:center;justify-content:center;min-height:235px;background:linear-gradient(90deg,#eacfc1 0%,#fffcf6 27%,#fffcf6 73%,#d6e9d8 100%)}
.hero-center{width:100%;background:transparent;padding:20px 18px 31px}
.intro h1{font-size:37px;line-height:1.04}
.intro-copy{margin-top:10px}
.hero-add{margin-top:15px}
.sirat-symbol{height:24px;opacity:.55}
.list-hint{font-size:11px;color:#7d8d80;margin:10px 0 0}
.entry-section .tabs{margin-top:20px}
@media(max-width:700px){.intro{min-height:208px}.hero-center{padding:15px 13px 26px}.intro h1{font-size:29px}.intro-copy{max-width:270px;font-size:10px;margin-top:9px}.intro .eyebrow{margin-bottom:8px}.hero-add{margin-top:10px}.sirat-symbol{height:17px}.list-hint{font-size:10px;line-height:1.4}}
.entry-section .tabs{display:flex;gap:9px;border:0;flex-wrap:wrap}
.entry-section .tab{padding:10px 13px;background:#f7f8f3;border:1px solid #e6e9e0;border-radius:10px;color:#617468;font-size:11px;min-height:38px;white-space:nowrap}
.entry-section .tab.active{background:#e8f1e9;border-color:#a8c7ad;color:#24553e}
.entry-section .tab[data-filter=bad].active{background:#f8ede9;border-color:#dcb8a9;color:#915842}
.entry-section .tab.active:after{display:none}
.entry-section .tab span{background:#ffffffb0;color:inherit}
.list-hint{margin-top:11px;padding:10px 12px;background:#f6f7f2;border-left:3px solid #9ab5a0;border-radius:0 7px 7px 0}
@media(max-width:700px){.entry-section .tabs{gap:6px}.entry-section .tab{padding:8px 9px;font-size:10px;min-height:35px}.entry-section .tab span{margin-left:2px;padding:1px 4px}}
/* Anonymous number controls */
.anonymous-button{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #dfe8dc;border-radius:20px;background:#f5f8f2;color:#3d674d;font-size:11px;font-weight:700;letter-spacing:.2px}
.anonymous-button:hover{background:#eaf2e8}
.world-hell .world-name{color:#ffe1c5}.world-heaven .world-name{color:#235e51}
.intro .eyebrow{letter-spacing:2.1px;color:#8a7055}
dialog.account-dialog{width:min(500px,calc(100vw - 30px));padding:30px}
.account-dialog .dialog-desc{margin-bottom:15px}
.anon-number{display:block;padding:15px;background:#f3f5ed;border:1px solid #dfe8dc;border-radius:11px;color:#2b5740;font:700 16px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:1.2px;overflow-wrap:anywhere;user-select:all}
.account-copy{width:100%;margin-top:13px}
.account-warning{font-size:11px;line-height:1.55;color:#98654e;background:#fff2e9;border-radius:8px;padding:11px 12px;margin:15px 0 8px}
.sync-status{font-size:11px;font-weight:700;color:#53765b;margin:0 0 20px}
#switchAccountForm{border-top:1px solid #e8e8df;padding-top:17px}
#switchAccountForm input{width:100%;border:1px solid #dce3d8;border-radius:8px;background:#fff;padding:11px;color:#354a3a;font:13px ui-monospace,SFMono-Regular,Consolas,monospace;margin-bottom:11px}
#switchAccountForm .primary-button{width:100%}
@media(max-width:700px){.top-actions{gap:8px}.anonymous-button{padding:7px 8px;font-size:9px}.account-dialog h2{font-size:25px}.anon-number{font-size:13px;letter-spacing:.6px}.intro .eyebrow{font-size:8px;letter-spacing:1.2px}}
.anonymous-button.sync-warning .private-dot{background:#d59a68}
.delete-account{display:block;width:100%;margin-top:17px;padding:11px;border:1px solid #ead2c8;border-radius:8px;background:#fff7f2;color:#9a5847;font-size:11px;font-weight:700}
.delete-account:hover{background:#fbeae1}
.technical-note{font-size:10px;line-height:1.5;color:#9ba49a;margin:12px 0 0}
body.auth-locked .app-shell,body.auth-checking .app-shell{filter:blur(5px);pointer-events:none;user-select:none}
.locked-launcher[hidden]{display:none!important}
.locked-launcher{position:fixed;z-index:20;left:50%;top:50%;transform:translate(-50%,-50%);width:min(330px,calc(100vw - 36px));padding:22px;border:1px solid #dfe8dc;border-radius:16px;background:#fffdf8;box-shadow:0 20px 60px #263a2b30;color:#315744;text-align:center;cursor:pointer}
.locked-launcher span,.locked-launcher strong,.locked-launcher small{display:block}
.locked-launcher span{font:600 18px 'Playfair Display',Georgia,serif;margin-bottom:12px}
.locked-launcher strong{font-size:14px}
.locked-launcher small{font-size:11px;line-height:1.5;color:#7c8e80;margin-top:6px}
.guest-notice[hidden]{display:none!important}
.guest-notice{margin:10px 0 0;padding:10px 14px;border:1px solid #dce9d9;border-radius:9px;background:#f4f9f1;color:#405d49;font-size:11px;line-height:1.5}

/* Daily reflection and a gentle progress game. */
.journey{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:12px;margin-top:20px}
.journey-question,.journey-progress{position:relative;overflow:hidden;border:1px solid #ffffffaa;border-radius:17px;box-shadow:0 16px 45px #20272117;backdrop-filter:blur(12px)}
.journey-question{min-height:229px;padding:24px 28px;background:linear-gradient(125deg,#fff9edea,#fffdf8f2 55%,#e8f2e8e9)}
.journey-question:after{content:'✧';position:absolute;right:19px;top:28px;color:#b3cbb2;font-size:68px;line-height:1;opacity:.34;pointer-events:none}
.journey-progress{padding:20px 24px 16px;background:#fffcf5f2}
.journey-kicker{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#9a866e;font-size:10px;font-weight:700;letter-spacing:.8px}
.journey-kicker .eyebrow{margin:0}
.journey-question h2{position:relative;font:500 25px 'Playfair Display',Georgia,serif;margin:17px 0 9px;color:#314539}
.journey-question>p{position:relative;max-width:520px;min-height:48px;margin:0;color:#415c4a;font:500 17px/1.45 'Playfair Display',Georgia,serif}
.journey-actions{position:relative;display:flex;flex-wrap:wrap;gap:9px;margin-top:19px}
.journey-actions button{border-radius:9px;padding:9px 13px;font-size:11px;font-weight:700}
.journey-actions button:first-child{background:#315e44;border:1px solid #315e44;color:#fff}
.journey-actions button:first-child:hover{background:#254c36}
.journey-actions button:first-child span{margin-left:9px}
.journey-actions button:last-child{background:#ffffff9c;border:1px solid #dce5d9;color:#55715b}
.journey-metrics{display:flex;gap:32px;margin:12px 0 9px}
.journey-metrics div{display:flex;align-items:baseline;gap:7px}
.journey-metrics strong{font:500 31px/1 'Playfair Display',Georgia,serif;color:#315e44}
.journey-metrics span{font-size:10px;color:#7e8f82}
.journey-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.journey-day{display:flex;align-items:center;justify-content:center;height:26px;border:1px solid #e6e8dd;border-radius:7px;background:#f7f8f1;color:#a0aa9e;font-size:9px;font-weight:700}
.journey-day.today{border-color:#c9b283}
.journey-day.done{background:#dceddb;border-color:#b3cfb4;color:#2e6845}
.journey-meter{height:5px;margin-top:11px;border-radius:20px;background:#e9e8dc;overflow:hidden}
.journey-meter>div{width:0;height:100%;border-radius:20px;background:linear-gradient(90deg,#bfa36d,#73a178);transition:width .65s ease}
.journey-xp{margin:6px 0 0;color:#8b9a8c;font-size:10px}
.journey-badge{display:inline-block;margin:9px 0 0;padding:6px 9px;border-radius:8px;background:#f2eee2;color:#856f44;font-size:10px;font-weight:700}
.reminder-details{border-top:1px solid #e8e8dc;margin-top:11px;padding-top:9px}
.reminder-details summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;color:#4b6954;font-size:11px;font-weight:700}
.reminder-details summary::-webkit-details-marker{display:none}
.reminder-details summary span{color:#a1845d;font-size:10px}
.reminder-controls{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:11px}
.reminder-controls label{display:flex;align-items:center;gap:5px;color:#516a57;font-size:11px}
.reminder-controls input[type=checkbox]{accent-color:#3f7952}
.reminder-controls input[type=time]{max-width:112px;padding:5px 7px;border:1px solid #dde5d9;border-radius:7px;background:#fffdf7;color:#415848;font-size:11px}
.reminder-controls p{flex-basis:100%;margin:0;color:#91a095;font-size:10px;line-height:1.5}
.journey-toast[hidden]{display:none}
.journey-toast{position:fixed;z-index:40;left:50%;bottom:22px;transform:translateX(-50%);width:min(380px,calc(100vw - 24px));padding:13px 17px;background:#305b42;color:#fff;border-radius:11px;box-shadow:0 12px 30px #203c2b55;text-align:center;font-size:12px;animation:journeyAppear .25s ease-out}
@keyframes journeyAppear{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:750px){.journey{grid-template-columns:1fr;gap:10px;margin-top:13px}.journey-question{min-height:0;padding:20px 19px}.journey-question h2{font-size:22px;margin-top:13px}.journey-question>p{min-height:0;font-size:15px}.journey-actions{margin-top:14px}.journey-progress{padding:17px 19px}.journey-metrics{margin-top:9px}}
@media(max-width:390px){.journey-question h2{font-size:20px}.journey-actions button{padding:8px 10px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.journey-meter>div,.journey-toast{transition:none;animation:none}}
.account-dialog{max-height:calc(100dvh - 26px);overflow-y:auto}
.account-dialog [hidden]{display:none!important}
.account-form{border-top:1px solid #e8e8df;padding-top:15px;margin-top:15px}
.account-form h3{font:500 20px 'Playfair Display',Georgia,serif;color:#314438;margin:0 0 12px}
.account-form .field-label{display:block;margin:10px 0 5px}
.account-form input{width:100%;border:1px solid #dce3d8;border-radius:8px;background:#fff;padding:11px;color:#354a3a;font:13px ui-monospace,SFMono-Regular,Consolas,monospace}
.account-form .primary-button{width:100%;margin-top:11px}

/* The full catalogue belongs to the page, where its tabs remain visible. */
.catalog-section{margin-top:23px;background:#fffcf7;border:1px solid #eee9df;border-radius:18px;box-shadow:0 16px 50px #69614e0a;scroll-margin-top:14px}
.catalog-section .entry-catalog{padding:29px 38px;background:transparent;overflow:visible}
.catalog-section .catalog-list{max-height:none;overflow:visible;grid-template-columns:repeat(2,minmax(0,1fr))}
dialog.entry-dialog{width:min(480px,calc(100vw - 30px));max-height:calc(100dvh - 30px);overflow-y:auto}
.entry-dialog-grid{display:block;height:auto;min-height:0}
.entry-form{border-left:0;padding:25px 30px}
.entry-form textarea{min-height:160px;flex:none}
@media(max-width:700px){.catalog-section .entry-catalog{padding:22px 17px}.catalog-section .catalog-list{max-height:none;overflow:visible;grid-template-columns:1fr}.entry-dialog-grid{height:auto;overflow:visible}.entry-form{padding:20px}.entry-form textarea{min-height:125px}}

/* Compact alphabetical picker inside the entry form. */
dialog.entry-dialog{width:min(560px,calc(100vw - 24px))}
.entry-form{display:block}
.entry-form .type-choices{margin-bottom:16px}
.inline-catalog{margin:0 0 18px;padding:14px;border:1px solid #e2e8dd;border-radius:12px;background:#fffdf9}
.inline-catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.inline-catalog-heading .field-label{margin:0}
.inline-catalog-heading .field-label span,.field-optional{font-size:10px;font-weight:500;color:#91a094}
.inline-catalog .catalog-create{padding:7px 9px}
.inline-catalog .catalog-tabs{border-bottom:1px solid #e8ebe3;margin:11px 0 9px;gap:16px}
.inline-catalog .catalog-tab{padding-bottom:7px}
.inline-catalog #catalogSearch{width:100%;border:1px solid #dfe6dc;background:#fff;border-radius:8px;padding:9px 11px;color:#385545;outline-color:#75a181;font-size:12px}
.inline-catalog .catalog-result{margin:8px 0;font-size:10px}
.inline-catalog .catalog-list{display:block;max-height:164px;overflow-y:auto;overscroll-behavior:contain;padding-right:3px}
.inline-catalog .catalog-card{min-height:0;margin:0 0 5px;padding:7px 9px;gap:8px}
.inline-catalog .catalog-icon{width:26px;height:26px;font-size:16px}
.inline-catalog .catalog-body strong{font-size:11px}
.inline-catalog .catalog-body small{font-size:9px;margin-top:2px}
.inline-catalog .catalog-use{padding:5px 8px}
.inline-catalog .catalog-empty{padding:13px 5px}
.entry-form textarea{min-height:105px;max-height:180px;width:100%}
@media(max-width:700px){.entry-form{padding:17px}.inline-catalog{padding:11px}.inline-catalog .catalog-list{max-height:135px;overflow-y:auto}.inline-catalog-heading{align-items:flex-start}.inline-catalog .catalog-create{font-size:10px;max-width:135px;white-space:normal}.entry-form textarea{min-height:100px}.entry-form .dialog-desc{margin:5px 0 12px}}
@media(max-height:600px){.inline-catalog .catalog-list{max-height:104px}}
@media(max-height:600px){
  dialog.entry-dialog{max-height:calc(100dvh - 12px)}
  .entry-dialog-header{display:none}
  .entry-form{padding:12px}
  .entry-form .eyebrow{margin:0 0 2px}
  .entry-form h3{font-size:19px}
  .entry-form .dialog-desc{display:none}
  .entry-form .type-choices{margin:9px 0}
  .entry-form .type-choice span{padding:7px}
  .inline-catalog{padding:8px;margin-bottom:10px}
  .inline-catalog .catalog-tabs{margin:7px 0 6px}
  .inline-catalog .catalog-tab{padding-bottom:5px}
  .inline-catalog #catalogSearch{padding:7px 9px}
  .inline-catalog .catalog-result{margin:5px 0}
  .inline-catalog .catalog-list{max-height:124px}
}

/* Illustrated journey layout */
body{background:#f1f3ef;color:#17372f}
.world-backdrop{display:none}
.app-shell{max-width:1220px;padding:0 24px 72px}
.topbar{height:76px;margin:0;background:#10263e;color:#fff;border:0;border-radius:0 0 22px 22px;padding:0 28px;box-shadow:0 12px 28px #122b3526}
.brand{color:#ffe4a1;font:500 26px Georgia,serif;letter-spacing:-.6px}
.brand-mark{background:#d2a956;color:#123645;border-radius:50%}
.anonymous-button{background:#173b4d;color:#e5f4ee;border-color:#ffffff35}
.anonymous-button:hover{background:#28586a}
.icon-button{background:#183e50;color:#fff;border-color:#ffffff35}
.main-nav{display:flex;align-items:center;justify-content:center;gap:7px;margin:14px auto 0;padding:7px;width:max-content;max-width:100%;background:#fff;border:1px solid #e4eae4;border-radius:20px;box-shadow:0 8px 25px #18372a10}
.main-nav button{border:0;background:transparent;color:#748680;border-radius:14px;padding:10px 15px;font-size:19px;display:flex;align-items:center;gap:7px;white-space:nowrap}
.main-nav button span{font-size:12px;font-weight:700}
.main-nav button.active{background:#e5f3e9;color:#157950}
[data-screen]{display:none!important}
body[data-view=today] [data-screen=today],body[data-view=journey] [data-screen=journey],body[data-view=ledger] [data-screen=ledger],body[data-view=badges] [data-screen=badges],body[data-view=profile] [data-screen=profile]{display:block!important}
body[data-view=today] .journey{display:grid!important}
body[data-view=today] .review-section{display:grid!important}
.intro{margin-top:18px;min-height:330px;justify-content:flex-start;align-items:center;background:#102840 url('journey-hero.webp') center 54%/cover no-repeat;border:0;box-shadow:0 18px 45px #17324636}
.intro:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0b203de8 0%,#102844c2 32%,transparent 78%)}
.hero-center{width:min(55%,550px);position:relative;z-index:1;align-items:flex-start;text-align:left;background:transparent;padding:44px 50px}
.intro .eyebrow{color:#f6d591;letter-spacing:2px}
.intro h1{font:500 clamp(36px,4.3vw,58px)/1.02 Georgia,serif;color:#fff5dc}
.intro h1 em{color:#ffd476}
.intro-copy{color:#e4ebe6;max-width:390px;margin:16px 0 0;font-size:14px}
.hero-add{background:linear-gradient(#ffe59f,#e4af4d);color:#17392e;border:0;padding:14px 23px;font-size:13px;box-shadow:0 8px 18px #071b2940}
.hero-add:hover{background:#f7d57c}
.sirat-symbol{display:none}
.journey{grid-template-columns:1.3fr .9fr;gap:18px;margin-top:18px}
.journey-question,.journey-progress,.dashboard,.entry-section,.monthly-section,.feature-page{background:#fffefa;border:1px solid #e6ece5;border-radius:22px;box-shadow:0 8px 30px #19392f0c}
.journey-question{background:radial-gradient(circle at 90% 10%,#e5f5eb,#fffefa 60%)}
.journey-question h2{font-family:Georgia,serif;color:#173e31}
.journey-question p{color:#526d5c}
.journey-actions button:first-child,.primary-button{background:#169367;color:#fff;border-radius:13px}
.journey-actions button:first-child:hover,.primary-button:hover{background:#11724f}
.journey-progress .journey-metrics strong{color:#127b56}
.dashboard,.entry-section,.monthly-section{margin-top:18px}
.dashboard .section-top h2,.entry-section .section-top h2,.monthly-section .section-top h2{font-family:Georgia,serif}
.balance-grid{min-height:240px}
.side-stat.good strong{color:#13845b}.side-stat.bad strong{color:#df735e}
.footer-note{color:#507369;font-size:12px}
.feature-page{margin-top:18px;padding:30px;min-height:440px}
.feature-head{text-align:center;padding:10px 12px 22px}
.feature-head h2{font:500 38px Georgia,serif;color:#173a32;margin:0}
.feature-head p:last-child{color:#74867b;font-size:13px;margin:10px 0 0}
.journey-page{display:none}
.map-visual{position:relative;width:min(100%,710px);height:550px;margin:auto;border-radius:24px;overflow:hidden;background:#b8d4d0 url('journey-map.webp') center 57%/cover no-repeat}
.map-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0d334755,transparent 55%)}
.map-overlay{position:absolute;inset:0;z-index:1}
.map-moon{position:absolute;top:12px;left:20px;color:#ffe0a0;font-size:38px;text-shadow:0 3px 12px #102948}
.map-stops{position:absolute;inset:0}
.map-stop{position:absolute;left:calc(16% + var(--stop-index)*11%);bottom:calc(8% + var(--stop-index)*15%);display:flex;align-items:center;gap:7px;z-index:2;border:0;background:transparent;white-space:nowrap}
.map-stop:nth-child(even){left:calc(48% + var(--stop-index)*4%)}
.map-stop strong{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#128d69;color:white;border:3px solid #f3d076;box-shadow:0 5px 14px #05242688}
.map-stop span{background:#fffdf1e8;color:#1d4939;padding:6px 9px;border-radius:9px;font-weight:700;font-size:11px;box-shadow:0 2px 10px #102c3140}
.map-stop.locked{filter:grayscale(1);opacity:.72}
.map-progress{width:min(100%,710px);margin:14px auto 0;padding:20px;background:#f9fbf6;border-radius:18px}
.map-progress strong{font-size:13px}.map-progress>span{float:right;font-weight:700;color:#168b5e}
.map-track{height:10px;background:#e4e9e2;border-radius:20px;margin-top:13px;overflow:hidden}.map-track span{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#1b9b70,#e2b960)}
.map-progress p{margin:9px 0 0;color:#839287;font-size:11px}
.scenario-card{width:min(100%,710px);margin:22px auto 0;padding:24px;border-radius:20px;background:#11283f;color:#fff}
.scenario-card h3{font:500 25px Georgia,serif;margin:0 0 9px}.scenario-card>p{font-size:13px;line-height:1.5}
#scenarioChoices{display:grid;gap:8px;margin-top:17px}
.scenario-choice{border:1px solid #ffffff28;border-radius:12px;text-align:left;padding:13px 16px;color:#18392f;background:#e4f4e8;font-weight:700}
.scenario-choice.choice-0{background:#f8dad2}.scenario-choice.choice-1{background:#fff0c9}
.scenario-choice.chosen{outline:3px solid #ecc568}
#scenarioFeedback{min-height:20px;color:#fbe3ad}
#scenarioNext{border:0;border-radius:30px;background:#e9bc60;color:#153b35;padding:10px 16px;font-weight:700}
.badge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:780px;margin:10px auto 0}
.badge-card{text-align:center;min-height:170px;padding:25px 12px;border-radius:18px;background:linear-gradient(155deg,#f9fbf7,#e9f5ec);border:1px solid #e5eee4;display:flex;align-items:center;flex-direction:column}
.badge-card.locked{filter:grayscale(.85);opacity:.82}
.badge-icon{font-size:40px;display:grid;place-items:center;width:74px;height:74px;border-radius:50%;background:#d6eee1;border:4px solid #d9b971;margin-bottom:12px}
.badge-card strong{font-size:14px;color:#244739}.badge-card small{font-size:11px;color:#7b8d80;margin-top:5px}
.profile-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:650px;margin:10px auto 20px}
.profile-summary>div{background:#f6f9f3;border-radius:16px;padding:17px;text-align:center;display:flex;flex-direction:column;gap:4px}
.profile-summary span{color:#d8a448;font-size:20px}.profile-summary strong{color:#173d32;font-size:27px}.profile-summary small{color:#788a80;font-size:11px}
.profile-actions{max-width:650px;margin:auto;display:grid;gap:8px}.profile-actions button{border:1px solid #e5ece4;background:#fff;border-radius:13px;padding:17px;text-align:left;color:#23483a;font-weight:700}
.profile-actions button span{float:right;color:#849a8b}.profile-actions button:hover{background:#e9f5ed}
.privacy-details{max-width:650px;margin:15px auto 0;color:#637d6d;line-height:1.6;font-size:12px}
.review-section,.stats-section{margin-top:18px;background:#fffefa;border:1px solid #e6ece5;border-radius:22px;box-shadow:0 8px 30px #19392f0c;padding:29px 34px}
.review-section{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px;background:linear-gradient(115deg,#102940 0%,#183d4c 44%,#fefbf4 44.2%,#fefbf4 100%)}
.review-heading{color:#fff;padding:20px 12px}.review-heading h2{font:500 34px Georgia,serif;margin:0 0 12px}.review-heading p:last-child{font-size:13px;color:#d4e5dd}
#reviewForm{display:grid;gap:9px}#reviewForm label{font-size:12px;font-weight:700;color:#2c4d3d}#reviewForm textarea{background:#f8faf5;border:1px solid #dce8dd;border-radius:11px;padding:12px 14px;resize:vertical;min-height:62px}
#reviewForm button{justify-self:start;border:0;border-radius:20px;background:#eabc5f;color:#183e35;padding:12px 18px;font-weight:700}
.stats-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}.stats-heading h2{font:500 28px Georgia,serif;margin:0;color:#24493b}.stats-heading p:last-child{color:#84968a;font-size:12px;margin:8px 0 0}
.stats-tabs{display:flex;background:#f0f3ed;border-radius:24px;padding:4px;gap:2px}.stats-tabs button{border:0;background:transparent;border-radius:22px;padding:10px 13px;font-size:11px;color:#708477;font-weight:700}.stats-tabs button.active{background:#169367;color:#fff}
.stats-chart{height:200px;display:flex;align-items:stretch;justify-content:space-around;gap:7px;margin:28px 0 12px;border-bottom:1px solid #dce5dc;padding:0 8px}
.stats-column{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:9px}.stats-stack{height:166px;max-width:48px;width:100%;display:flex;flex-direction:column;justify-content:flex-end;gap:1px}.stats-bar{display:block;width:100%;border-radius:5px 5px 0 0}.stats-bar.good{background:#169367}.stats-bar.bad{background:#e28468}.stats-column small{font-size:10px;color:#778a7b;white-space:nowrap}
.stats-legend{display:flex;justify-content:center;gap:25px;font-size:11px;color:#667e6e}.stats-legend span{display:flex;gap:6px;align-items:center}.stats-legend i{width:9px;height:9px;border-radius:2px;background:#169367}.stats-legend span:last-child i{background:#e28468}.stats-summary{text-align:center;color:#577868;font-size:12px;margin:18px 0 0}
@media(max-width:700px){
  input,textarea,select{font-size:16px!important}
  .app-shell{padding:0 12px 93px}.topbar{height:62px;padding:0 14px;border-radius:0 0 16px 16px}.brand{font-size:20px}.brand-mark{width:29px;height:29px;font-size:19px}
  .main-nav{position:fixed;z-index:50;left:0;right:0;bottom:0;width:100%;max-width:none;margin:0;border-radius:17px 17px 0 0;display:grid;grid-template-columns:repeat(5,1fr);gap:1px;padding:6px 5px max(8px,env(safe-area-inset-bottom));box-shadow:0 -6px 28px #11312b25}
  .main-nav button{padding:5px 1px;display:flex;flex-direction:column;gap:0;font-size:21px;border-radius:10px}.main-nav button span{font-size:9px}
  .intro{min-height:300px;margin-top:12px;background-position:63% center}.intro:before{background:linear-gradient(90deg,#0b203dda,#0b203d8c 58%,transparent)}
  .hero-center{width:72%;padding:22px 17px;text-align:left;align-items:flex-start}.intro h1{font-size:31px}.intro .eyebrow{font-size:8px;line-height:1.5}.intro-copy{font-size:11px;line-height:1.5}.hero-add{font-size:11px;padding:10px 12px}
  .journey{display:grid;grid-template-columns:1fr;gap:10px}.journey-question,.journey-progress{padding:20px}
  .dashboard,.entry-section,.monthly-section{padding:21px 17px}.feature-page{padding:17px;margin-top:12px}.feature-head h2{font-size:29px}
  .map-visual{height:520px;background-position:center}.map-stop{left:10%!important}.map-stop:nth-child(even){left:45%!important}.map-stop span{font-size:9px;padding:5px}.map-stop strong{width:27px;height:27px}
  .badge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.badge-card{min-height:145px;padding:16px 8px}.badge-icon{width:63px;height:63px;font-size:30px}
  .profile-summary{gap:6px}.profile-summary>div{padding:12px 5px}
  body[data-view=today] .review-section{display:block!important}.review-section{padding:0;background:#fffefa;overflow:hidden}.review-heading{padding:22px;background:#102940}.review-heading h2{font-size:28px}#reviewForm{padding:20px}
  .stats-section{padding:22px 16px}.stats-heading{display:block}.stats-tabs{width:max-content;margin-top:16px}.stats-chart{height:170px}.stats-stack{height:140px}.stats-column small{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.intro,.map-track span{animation:none!important;transition:none!important}}
.dashboard{background:radial-gradient(circle at 50% 22%,#fffdf1,#fffefa 64%);border-color:#eadfca}
.balance-add{border:0;border-radius:24px;background:#173e32;color:#fff;padding:10px 17px;font-size:12px;font-weight:700;box-shadow:0 7px 17px #14392b25}
.balance-add:hover{background:#0f7250}
@media(max-width:700px){.dashboard{margin-top:12px}.dashboard .section-top{margin-bottom:0}.dashboard .section-top h2{font-size:25px}.balance-add{margin-top:2px;font-size:11px;padding:9px 15px}.intro{min-height:215px;background-position:66% 52%}.hero-center{padding:20px 17px}.intro h1{font-size:27px}}
@media(max-width:700px){.dashboard .section-top h2{font-size:23px}.dashboard .scale-art{height:145px}.dashboard .scale-hanger{transform:translateX(-50%) scale(.64)}.dashboard .balance-copy{min-height:0}.dashboard .balance-copy p{margin:7px}.dashboard .balance-add{padding:7px 13px}.dashboard .side-stat{padding-bottom:4px}.dashboard .stat-symbol{width:32px;height:32px;margin-bottom:4px;font-size:19px}.dashboard .side-stat strong{font-size:27px;margin:3px 0}.dashboard .stat-caption{font-size:9px}}
.ambient-fall{position:fixed;inset:300px 0 0;z-index:2;pointer-events:none;overflow:hidden;opacity:.9}
.topbar,.intro{position:relative;z-index:3}
@media(min-width:701px){.main-nav{position:relative;z-index:3}}
.ambient-lane{position:absolute;top:0;bottom:0;width:50%;overflow:hidden;contain:layout paint}
.ambient-fire{left:0;clip-path:inset(0 calc(100% - 108px) 0 0);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 18%,transparent 88%);mask-image:linear-gradient(90deg,#000 0%,#000 18%,transparent 88%)}
.ambient-garden{right:0;clip-path:inset(0 0 0 calc(100% - 108px));-webkit-mask-image:linear-gradient(270deg,#000 0%,#000 18%,transparent 88%);mask-image:linear-gradient(270deg,#000 0%,#000 18%,transparent 88%)}
.ambient-particle{position:absolute;top:-16vh;left:var(--x);width:var(--size);height:auto;opacity:0;animation:ambientDrop var(--duration) linear var(--delay) infinite;will-change:transform,opacity,filter}
.ambient-fire .ambient-particle{animation:ambientDrop var(--duration) linear var(--delay) infinite,flameFlicker var(--flicker) ease-in-out var(--delay) infinite alternate}
.ambient-garden .ambient-particle{animation:ambientDrop var(--duration) linear var(--delay) infinite,flowerShimmer var(--shimmer) ease-in-out var(--delay) infinite alternate}
@keyframes flameFlicker{0%{filter:brightness(.76) saturate(1.08) drop-shadow(0 0 2px #f69b42a0)}45%{filter:brightness(1.42) saturate(1.55) drop-shadow(0 0 10px #ff9435ed)}100%{filter:brightness(.9) saturate(1.18) drop-shadow(0 0 4px #ffb355b8)}}
@keyframes flowerShimmer{0%{filter:brightness(.9) saturate(1.1) drop-shadow(0 0 1px #d3dba277) drop-shadow(0 0 2px #f0cf6a55)}50%{filter:brightness(1.5) saturate(1.65) drop-shadow(0 0 6px #d6b83ee8) drop-shadow(0 0 12px #95c85bd9)}100%{filter:brightness(1) saturate(1.2) drop-shadow(0 0 2px #e5d18691) drop-shadow(0 0 4px #b6d77c80)}}
@keyframes ambientDrop{0%{transform:translate3d(0,-12vh,0) rotate(-22deg);opacity:0}9%{opacity:var(--alpha)}84%{opacity:var(--alpha)}100%{transform:translate3d(var(--drift),125vh,0) rotate(74deg);opacity:0}}
@media(max-width:700px){.ambient-fall{top:215px;bottom:70px;opacity:.78}.ambient-fire{clip-path:inset(0 calc(100% - 52px) 0 0)}.ambient-garden{clip-path:inset(0 0 0 calc(100% - 52px))}.ambient-particle{left:var(--x-mobile);width:var(--small-size)}.ambient-particle:nth-child(n+9){display:none}}
@media(prefers-reduced-motion:reduce){.ambient-fall{display:none}}
