@font-face{font-family:"Vazirmatn";src:url("/assets/fonts/Vazirmatn-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Vazirmatn";src:url("/assets/fonts/Vazirmatn-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Vazirmatn";src:url("/assets/fonts/Vazirmatn-Bold.woff2") format("woff2");font-weight:700 900;font-style:normal;font-display:swap}

:root {
  --matcha-50:#f7f7ee;
  --matcha-100:#e8eddc;
  --matcha-200:#d6dfc4;
  --matcha-500:#728b6f;
  --matcha-700:#4f6754;
  --matcha-900:#2f4235;
  --cream:#fbf5e8;
  --gold:#b9944d;
  --ink:#26342b;
  --muted:#69736c;
  --danger:#9b4545;
  --surface:#fffdf7;
  --shadow:0 12px 30px rgba(54,70,56,.12);
  --radius:24px;
  font-family:"Vazirmatn",Tahoma,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:var(--cream);
  font-size:16px;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:
radial-gradient(circle at 12% 8%,rgba(185,148,77,.10) 0 1px,transparent 2px 100%),
radial-gradient(circle at 88% 18%,rgba(114,139,111,.09) 0 1px,transparent 2px 100%),
linear-gradient(180deg,#f8f1df 0%,#eef2e4 100%);background-size:42px 42px,54px 54px,auto;color:var(--ink)}
body{min-height:100vh}
button,input,textarea,select{font:inherit;font-family:"Vazirmatn",Tahoma,"Segoe UI",Arial,sans-serif}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.55}
a{color:inherit}
#app{min-height:100vh}
.shell{width:min(100%,520px);min-height:100vh;margin:0 auto;background:rgba(255,253,247,.86);position:relative;padding-bottom:94px;box-shadow:0 0 50px rgba(48,65,52,.08)}
.page{padding:calc(24px + env(safe-area-inset-top)) 20px 32px;animation:fade .22s ease-out}
.page.with-nav{padding-bottom:118px}
@keyframes fade{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}
.brand-lockup{text-align:center;margin:16px 0 30px}
.brand-logo{display:block;object-fit:contain;margin:0 auto 12px;filter:drop-shadow(0 8px 10px rgba(54,70,56,.12))}
.brand-name{font-family:Georgia,"Times New Roman",serif;letter-spacing:.5px;font-size:24px;margin:0;color:var(--matcha-900)}
.brand-fa{font-size:14px;color:var(--muted);margin-top:4px}
.badge{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:999px;background:var(--matcha-100);color:var(--matcha-700);font-weight:700;font-size:13px}
.badge::before{content:"✦";color:var(--gold)}
h1{font-size:28px;line-height:1.55;margin:18px 0 10px;color:var(--matcha-900)}
h2{font-size:22px;line-height:1.55;margin:0 0 10px;color:var(--matcha-900)}
h3{font-size:18px;line-height:1.65;margin:0 0 8px}
p{line-height:1.9;margin:8px 0;color:#435047}
.lead{font-size:17px;color:#4f5b53}
.muted{color:var(--muted);font-size:14px}
.center{text-align:center}
.stack{display:grid;gap:14px}
.actions{display:grid;gap:12px;margin-top:24px}
.btn{min-height:54px;border-radius:16px;border:0;padding:13px 18px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;transition:transform .12s ease,box-shadow .12s ease}
.btn:active{transform:scale(.985)}
.btn-primary{background:linear-gradient(135deg,var(--matcha-700),#667f65);color:white;box-shadow:0 10px 22px rgba(79,103,84,.24)}
.btn-secondary{background:#fff;border:1px solid #cfd8c7;color:var(--matcha-700)}
.btn-ghost{background:transparent;color:var(--matcha-700);border:1px dashed #b9c5b4}
.btn-danger{background:#fff2f1;color:var(--danger);border:1px solid #e6c4c1}
.btn-small{min-height:42px;padding:9px 13px;font-size:14px;border-radius:13px}
.card{position:relative;background:var(--surface);border:1px solid rgba(116,139,111,.18);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow);overflow:hidden}
.card::after{content:"";position:absolute;width:74px;height:74px;left:-28px;top:-34px;border:1px solid rgba(185,148,77,.18);border-radius:50%;box-shadow:0 0 0 8px rgba(185,148,77,.05)}
.card-flat{box-shadow:none;background:rgba(255,255,255,.72)}
.card.locked{background:linear-gradient(145deg,#faf8f1,#edf0e7)}
.card-row{display:flex;gap:14px;align-items:center}
.card-row>div{flex:1}
.icon-box{width:48px;height:48px;border-radius:16px;background:var(--matcha-100);display:grid;place-items:center;font-size:23px;flex:0 0 auto}
.feature-list{display:grid;gap:12px;margin:22px 0}
.feature{display:flex;align-items:center;gap:10px;color:#465249}
.feature::before{content:"✓";width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--matcha-100);color:var(--matcha-700);font-weight:900}
.field{display:grid;gap:8px;margin-bottom:17px}
.field label{font-weight:800}
.field input:not([type="checkbox"]):not([type="radio"]),.field textarea,.field select{width:100%;border:1px solid #cad4c5;background:#fffefb;border-radius:15px;padding:14px 15px;color:var(--ink);outline:none;min-height:52px}
.field textarea{min-height:150px;resize:vertical;line-height:1.9}
.field input:not([type="checkbox"]):not([type="radio"]):focus,.field textarea:focus,.field select:focus{border-color:var(--matcha-500);box-shadow:0 0 0 4px rgba(114,139,111,.13)}
.check-row{display:flex;align-items:flex-start;gap:10px;font-weight:700;line-height:1.8}.check-row input[type="checkbox"],.check-row input[type="radio"]{width:20px;height:20px;min-height:20px;padding:0;flex:0 0 20px;border-radius:6px;margin:4px 0 0}.check-row span{min-width:0}
.progress{height:8px;border-radius:99px;background:#e3e8de;overflow:hidden;margin:14px 0 24px}
.progress>span{height:100%;display:block;background:linear-gradient(90deg,var(--matcha-500),var(--gold));border-radius:inherit}
.option-grid{display:grid;gap:11px}
.option{border:1px solid #cfd8c8;background:#fff;border-radius:17px;padding:15px 14px;text-align:right;min-height:58px;display:flex;align-items:center;gap:12px;color:var(--ink)}
.option.selected{border-color:var(--matcha-700);background:var(--matcha-100);box-shadow:0 0 0 3px rgba(114,139,111,.1)}
.option .dot{width:20px;height:20px;border:2px solid #a7b5a3;border-radius:50%;flex:0 0 auto}
.option.selected .dot{border:6px solid var(--matcha-700)}
.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.user-chip{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d9dfd3;border-radius:17px;padding:7px 9px 7px 14px}
.avatar{width:38px;height:38px;border-radius:13px;background:var(--matcha-100);display:grid;place-items:center;font-weight:900;color:var(--matcha-700)}
.back{border:0;background:#fff;border-radius:13px;width:44px;height:44px;box-shadow:0 6px 17px rgba(54,70,56,.1);color:var(--matcha-700);font-size:20px}
.phrase{background:linear-gradient(145deg,#fffaf0,#eef3e5);border-color:rgba(185,148,77,.32)}
.phrase q{display:block;font-family:"Vazirmatn",Tahoma,sans-serif;font-size:18px;font-weight:500;line-height:2;color:#3f5143}
.mood-row{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:12px}
.mood{border:1px solid #d6ddd1;background:#fff;border-radius:14px;min-height:58px;padding:6px 3px;font-size:12px;display:grid;place-items:center;text-align:center}
.mood span{font-size:23px;display:block}
.mood.selected{background:var(--matcha-100);border-color:var(--matcha-700)}
.section-title{display:flex;align-items:center;justify-content:space-between;margin:26px 0 12px}
.section-title h2{font-size:19px;margin:0}
.step-image{width:90px;height:90px;object-fit:contain;border-radius:22px;background:#f1f3e9;padding:10px}
.lock-icon{font-size:20px}
.pill{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef2e8;color:#59705c;font-size:12px;font-weight:700}
.lesson-content{white-space:pre-line;line-height:2.15;font-size:16px;max-height:480px;overflow:auto;padding-left:8px}
.player{background:linear-gradient(145deg,#445a49,#71866f);color:#fff;border-radius:22px;padding:20px;text-align:center;margin:16px 0}
.player button{width:68px;height:68px;border:0;border-radius:50%;font-size:25px;background:#fff;color:var(--matcha-700)}
.timer{font-size:58px;font-family:"Vazirmatn",Tahoma,sans-serif;text-align:center;color:var(--matcha-700);margin:28px 0 12px;font-variant-numeric:tabular-nums;font-weight:800}
.timer-ring{width:180px;height:180px;border-radius:50%;margin:18px auto;display:grid;place-items:center;background:conic-gradient(var(--matcha-500) var(--progress,0%),#e4e9df 0);position:relative}
.timer-ring::before{content:"";position:absolute;inset:12px;background:var(--surface);border-radius:50%}
.timer-ring .timer{position:relative;z-index:1;margin:0;font-size:44px}
.success-mark{width:90px;height:90px;margin:20px auto;border-radius:50%;display:grid;place-items:center;background:var(--matcha-100);font-size:44px;color:var(--matcha-700);box-shadow:var(--shadow)}
.pearl{display:inline-flex;align-items:center;gap:8px;color:#8a6b31;font-weight:900}
.pearl::before{content:"●";color:#f4ead5;text-shadow:0 1px 0 #b9944d;font-size:24px}
.bottom-nav{position:fixed;z-index:50;bottom:0;right:50%;transform:translateX(50%);width:min(100%,520px);display:grid;grid-template-columns:repeat(4,1fr);gap:3px;background:rgba(255,253,247,.96);backdrop-filter:blur(14px);border-top:1px solid #dce2d6;padding:9px 10px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px rgba(45,61,49,.09)}
.nav-item{border:0;background:transparent;display:grid;gap:3px;place-items:center;color:#778178;font-size:12px;min-height:56px;border-radius:14px}
.nav-item strong{width:22px;height:22px;line-height:1;display:grid;place-items:center}
.nav-item strong svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav-item.active{background:var(--matcha-100);color:var(--matcha-700);font-weight:900}
.toast{position:fixed;z-index:100;bottom:100px;right:50%;transform:translateX(50%);background:#2f4235;color:#fff;border-radius:15px;padding:12px 17px;box-shadow:var(--shadow);max-width:88%;text-align:center;animation:toast .25s ease}
@keyframes toast{from{opacity:0;transform:translate(50%,10px)}to{opacity:1;transform:translate(50%,0)}}
.error-box{background:#fff1ef;border:1px solid #e7c2bd;color:#7b3d39;padding:15px;border-radius:16px;line-height:1.8}
.loading{min-height:70vh;display:grid;place-items:center;text-align:center;padding:30px}
.loading-logo{display:block;object-fit:contain;margin:0 auto 12px;filter:drop-shadow(0 7px 9px rgba(54,70,56,.11))}
.loader{width:54px;height:54px;border:4px solid #dfe6d9;border-top-color:var(--matcha-700);border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 18px}
@keyframes spin{to{transform:rotate(360deg)}}
.empty{text-align:center;padding:32px 14px;color:var(--muted)}
.guide{min-height:100vh;display:grid;place-items:center;padding:25px}
.guide .card{max-width:460px;text-align:center}
.guide img{width:140px;margin-bottom:12px}
.noscript-logo{object-fit:contain}
.legal-links a{color:var(--matcha-700);font-weight:800;text-decoration-thickness:1px;text-underline-offset:3px}
.legal-page{min-height:100vh;padding:24px 18px 42px}.legal-shell{width:min(100%,760px);margin:0 auto}.legal-head{text-align:center;margin:0 0 18px;position:relative}.legal-head .brand-logo{width:76px;height:76px;margin:10px auto}.legal-head h1{font-size:25px;margin:4px 0}.legal-head p{font-size:14px;margin:3px 0}.legal-back{position:absolute;top:0;right:0;display:inline-flex;align-items:center;gap:6px;border:0;background:#fff;border-radius:13px;padding:9px 12px;color:var(--matcha-700);font:inherit;font-weight:800;box-shadow:0 5px 14px rgba(54,70,56,.08)}.legal-cards{display:grid;gap:12px}.legal-section{margin:0;padding:17px 18px}.legal-section h2{font-size:18px;margin:0 0 5px}.legal-section p{margin:0;line-height:1.85}.legal-return,.support-contact{margin-top:20px}.faq{padding:13px 0;border-top:1px solid #e1e7dc}.faq:first-of-type{border-top:0;padding-top:0}.faq summary,.signup-detail summary{cursor:pointer;color:var(--matcha-700);font-weight:800}.faq p{padding:8px 0 0}.signup-detail{background:rgba(232,237,220,.65);border-radius:14px;padding:11px 14px;margin:12px 0 18px}.signup-detail p{font-size:14px;margin:7px 0 0}
.timeline{display:grid;gap:12px}
.timeline-item{border-right:3px solid var(--matcha-200);padding-right:14px}
.stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.stat{background:#fff;border:1px solid #dbe2d5;border-radius:18px;padding:16px;text-align:center}
.stat strong{display:block;font-size:25px;color:var(--matcha-700);margin-bottom:4px}
.offline{position:sticky;top:0;z-index:99;background:#8b5e3c;color:#fff;padding:8px 14px;text-align:center;font-size:13px}
.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}

/* Refined visual identity */
.mini-kicker{display:inline-flex;align-items:center;gap:7px;color:#6e805f;font-size:12px;font-weight:900;letter-spacing:.1px}
.mini-kicker::before{content:"";width:18px;height:1px;background:linear-gradient(90deg,var(--gold),transparent)}
.welcome-hero{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(128px,.72fr);gap:10px;align-items:center;padding:18px 18px 16px;margin:0 0 18px;border:1px solid rgba(185,148,77,.28);border-radius:28px;background:linear-gradient(145deg,rgba(255,253,247,.94),rgba(232,237,220,.86));box-shadow:0 12px 30px rgba(54,70,56,.09);overflow:hidden;position:relative}
.welcome-hero::after{content:"";position:absolute;width:130px;height:130px;border:1px solid rgba(185,148,77,.12);border-radius:50%;right:-70px;bottom:-80px}
.welcome-copy{position:relative;z-index:1}
.welcome-copy h1{font-size:22px;margin:8px 0 3px;line-height:1.65}
.welcome-copy p{font-size:14px;line-height:1.85;margin:0}
.welcome-art{width:100%;max-height:145px;object-fit:contain;position:relative;z-index:1}
.actions-inline{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.mood-card{box-shadow:0 8px 22px rgba(54,70,56,.07)}
.primary-step-card{border-color:rgba(185,148,77,.34);background:linear-gradient(155deg,#fffdf7 55%,#edf2e4);box-shadow:0 18px 36px rgba(62,80,65,.14)}
.primary-step-layout{display:grid;grid-template-columns:84px minmax(0,1fr);gap:15px;align-items:center;margin-bottom:16px}
.primary-step-art{width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 8px 10px rgba(79,103,84,.12))}
.primary-step-layout h3{font-size:19px;margin:4px 0 2px}
.primary-step-layout p{margin:2px 0}
.summary-strip{display:grid;grid-template-columns:1fr 1px 1fr;align-items:center;background:rgba(255,255,255,.76);border:1px solid #dbe2d5;border-radius:20px;padding:12px 16px;margin:14px 0;box-shadow:0 8px 20px rgba(54,70,56,.05)}
.summary-strip>div{display:grid;grid-template-columns:auto 1fr;gap:4px 9px;align-items:center}
.summary-strip strong{grid-row:1/3;font-size:28px;color:var(--matcha-700);line-height:1}
.summary-strip span{font-size:13px;color:#56645a}
.summary-strip i{width:1px;height:38px;background:#dce3d7}
.path-teaser{display:grid;grid-template-columns:minmax(0,1fr) 54px;gap:8px 12px;align-items:center;margin-top:4px}
.path-teaser>img{width:48px;height:48px;grid-column:2;grid-row:1}
.path-teaser>div{grid-column:1;grid-row:1}
.path-teaser>.btn{grid-column:1/-1;margin-top:2px}
.path-teaser h3{margin:4px 0 3px}
.path-teaser p{font-size:14px}
.section-intro{margin:2px 0 18px;padding:4px 2px}
.section-intro h1{font-size:25px;margin:6px 0 3px}
.section-intro p{margin:0}
.section-intro.compact{margin-bottom:14px}

/* Compact path */
.path-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(110px,.75fr);gap:14px;align-items:center;padding:20px;border-radius:28px;background:linear-gradient(150deg,#fffdf7,#e9efe1);border:1px solid rgba(185,148,77,.28);box-shadow:var(--shadow);overflow:hidden}
.path-hero h1{font-size:23px;margin:7px 0 4px}
.path-hero p{font-size:14px;margin:0 0 10px}
.path-hero img{width:100%;max-height:145px;object-fit:contain}
.path-progress{height:8px;background:#dce4d5;border-radius:99px;overflow:hidden;margin:13px 0 7px}
.path-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--matcha-700),var(--gold))}
.path-hero small{font-size:12px;color:var(--muted)}
.path-list{display:grid;gap:10px;position:relative}
.path-list::before{content:"";position:absolute;right:43px;top:34px;bottom:34px;width:2px;background:linear-gradient(#9eaf98,#dce4d5 20%,#e8ddd0);z-index:0}
.path-step-card{position:relative;z-index:1;display:grid;grid-template-columns:64px minmax(0,1fr);gap:13px;align-items:center;background:rgba(255,253,247,.94);border:1px solid #dbe2d5;border-radius:22px;padding:12px;box-shadow:0 8px 20px rgba(54,70,56,.06)}
.path-step-card.active{padding:16px 14px;border-color:rgba(185,148,77,.45);background:linear-gradient(145deg,#fffdf7,#eef3e5);box-shadow:0 14px 30px rgba(54,70,56,.12)}
.path-step-card.locked{background:linear-gradient(145deg,#fffdf8,#f1f3eb)}
.path-step-image{position:relative;z-index:1;width:64px;height:64px;object-fit:contain;border-radius:17px;background:#f3f4eb;padding:5px;box-shadow:0 0 0 6px rgba(243,245,237,.95)}
.path-step-card.active .path-step-image{box-shadow:0 0 0 7px #e7eddf,0 8px 18px rgba(79,103,84,.12)}
.path-step-content{min-width:0}
.path-step-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.path-step-heading h3{font-size:16px;margin:1px 0 0;line-height:1.65}
.path-step-number{font-size:11px;color:#718071;font-weight:800}
.path-status{white-space:nowrap;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900;background:#eef2e8;color:#657664}
.path-status.active{background:#e2ead9;color:#456049}
.path-status.locked{background:#f5eddd;color:#8a6b31}
.path-step-preview{font-size:13px;line-height:1.8;margin:5px 0 8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#536056}
.path-step-action{width:max-content;max-width:100%;min-height:39px;padding:7px 12px;font-size:12px}
.path-step-note{display:inline-flex;align-items:center;gap:6px;color:#7a867d;font-size:11px;font-weight:700}
.path-step-note::before{content:"";width:14px;height:1px;background:#b5c0b1}
.path-interest-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin-top:16px;padding:18px;border-radius:24px;background:linear-gradient(145deg,#3f5848,#667e65);color:#fff;box-shadow:0 14px 28px rgba(54,70,56,.18)}
.path-interest-card h3{color:#fff;margin:4px 0 2px}
.path-interest-card p{color:#edf3ea;font-size:13px;margin:0}
.path-interest-card .mini-kicker{color:#e8d8b7}
.path-interest-card .btn{background:#fff;color:var(--matcha-700);box-shadow:none;white-space:nowrap}
.after-path-card{display:grid;grid-template-columns:92px minmax(0,1fr);gap:13px;align-items:center;margin-top:16px;padding:14px 16px;border-radius:22px;border:1px dashed #c8d3c2;background:rgba(255,255,255,.62)}
.after-path-card img{width:92px;height:70px;object-fit:cover;border-radius:16px}
.after-path-card h3{margin:0 0 2px;font-size:16px}
.after-path-card p{font-size:13px;margin:0}
.compact-loading{min-height:210px}

/* Journal and reports */
.journal-title{margin-bottom:10px}
.journal-title h2{margin:0}
.journal-title p{margin:0;font-size:14px}
.journal-compose textarea{background:linear-gradient(#fffefb 31px,#e7ece3 32px);background-size:100% 32px;line-height:32px;padding-top:8px}
.story-card{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px 14px;align-items:center}
.story-card img{width:72px;height:62px;object-fit:cover;border-radius:15px}
.story-card h3,.story-card p{margin:0}
.story-card .btn{grid-column:1/-1}
.journal-list{margin-top:14px}
.journal-entry{padding:15px 17px}
.journal-date{font-size:12px;color:#7b897e;font-weight:800}
.journal-entry p{margin:5px 0 0}
.report-story{margin-top:15px}
.report-next{margin-top:14px;padding:12px 14px;border-radius:16px;background:#edf2e6;border-right:3px solid var(--matcha-500)}
.report-next p{margin:3px 0 0}

/* Messages */
.message-card{padding:17px 18px}
.message-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.message-head time{margin-right:auto;font-size:11px;color:#879087}
.message-symbol{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#edf2e6;color:#536b57}
.message-symbol svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.message-label{padding:5px 9px;border-radius:999px;background:#edf2e6;color:#536b57;font-size:11px;font-weight:900}
.message-label.phrase-label,.message-symbol.phrase-label{background:#f7efdf;color:#896c35}
.message-label.report,.message-symbol.report{background:#e8eef2;color:#4e6874}
.message-label.reminder,.message-symbol.reminder{background:#f3e8e5;color:#865a52}
.message-label.news,.message-symbol.news{background:#eee9f3;color:#705f82}
.message-label.purchase,.message-symbol.purchase{background:#f5eddd;color:#87682f}
.message-card h3{font-size:17px;margin:3px 0}
.message-card p{font-size:14px;margin:3px 0 12px}

/* Empty states */
.empty-state{text-align:center;padding:22px 18px 24px;border:1px dashed #c9d3c4;border-radius:24px;background:linear-gradient(155deg,rgba(255,253,247,.88),rgba(237,242,230,.72))}
.empty-illustration{width:190px;max-width:72%;height:120px;object-fit:contain;margin:-4px auto 4px;display:block}
.empty-state h3{margin:0 0 4px;font-size:18px}
.empty-state p{max-width:330px;margin:0 auto 14px;font-size:14px}
.empty-state .btn{margin:0 auto;width:max-content;max-width:100%}

/* Admin */
.admin-body{background:#edf0e8}
.admin-shell{min-height:100vh;display:grid;grid-template-columns:240px 1fr;direction:rtl}
.admin-sidebar{background:#2f4235;color:#fff;padding:24px 16px;position:sticky;top:0;height:100vh}
.admin-sidebar h1{color:#fff;font-size:20px;margin-top:0}
.admin-nav{display:grid;gap:6px;margin-top:28px}
.admin-nav button{border:0;background:transparent;color:#dce7dc;text-align:right;padding:12px;border-radius:12px}
.admin-nav button.active,.admin-nav button:hover{background:rgba(255,255,255,.12);color:#fff}
.admin-main{padding:28px;min-width:0}
.admin-main .card{max-width:none}
.admin-table-wrap{overflow:auto;border-radius:18px;border:1px solid #d6ddd1;background:#fff}
table{width:100%;border-collapse:collapse;min-width:700px}
th,td{padding:13px 14px;text-align:right;border-bottom:1px solid #e7ebe3;vertical-align:top}
th{background:#f2f5ed;color:#526257;font-size:13px;position:sticky;top:0}
.admin-login{min-height:100vh;display:grid;place-items:center;padding:20px}.admin-login .card{width:min(100%,430px)}
@media(max-width:430px){
  .welcome-hero{grid-template-columns:minmax(0,1fr) 112px;padding:15px}
  .welcome-copy h1{font-size:19px}
  .welcome-copy p{font-size:13px}
  .actions-inline{grid-template-columns:1fr}
  .path-hero{grid-template-columns:minmax(0,1fr) 100px;padding:16px}
  .path-hero h1{font-size:20px}
  .path-step-card{grid-template-columns:54px minmax(0,1fr);gap:10px;padding:10px}
  .path-step-image{width:54px;height:54px}
  .path-list::before{right:36px}
  .path-interest-card{grid-template-columns:1fr}
  .path-interest-card .btn{width:100%}
  .path-step-heading{display:block}
  .path-status{display:inline-flex;margin-top:4px}
  .summary-strip{padding:11px}
  .summary-strip span{font-size:11px}
}
@media(max-width:760px){.admin-shell{display:block}.admin-sidebar{position:static;height:auto}.admin-nav{grid-template-columns:repeat(2,1fr)}.admin-main{padding:18px}.stat-grid{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}}

/* Generated editorial illustrations — Queen Beauty visual v4 */
.welcome-art,
.path-hero > img{
  border-radius:22px;
  object-fit:cover;
  object-position:center;
  box-shadow:0 10px 24px rgba(59,74,60,.12);
  border:1px solid rgba(185,148,77,.18);
  background:#f8f2e6;
}
.welcome-art{height:150px;max-height:none}
.path-hero > img{height:155px;max-height:none}
.journal-title{display:block;margin-bottom:16px}
.messages-intro{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:14px;align-items:center}
.messages-intro img{width:112px;height:104px;object-fit:cover;border-radius:20px;border:1px solid rgba(185,148,77,.18);box-shadow:0 8px 18px rgba(59,74,60,.1)}
.empty-state img{width:150px;height:132px;object-fit:cover;border-radius:22px;border:1px solid rgba(185,148,77,.15);box-shadow:0 8px 18px rgba(59,74,60,.08);margin-bottom:12px}
.story-card img{height:72px}
@media(max-width:420px){
  .welcome-art{height:132px}
  .path-hero > img{height:132px}
  .messages-intro{grid-template-columns:minmax(0,1fr) 92px}
  .messages-intro img{width:92px;height:92px}
}

/* Standalone editorial art — no embedded UI or text */
.welcome-hero,.path-hero,.journal-compose,.messages-intro,.empty-state,.message-card{isolation:isolate}
.message-card.has-art{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:15px;align-items:center}
.message-card-copy{min-width:0}
.message-card-art{width:82px;height:82px;object-fit:cover;border-radius:18px;border:1px solid rgba(185,148,77,.18);box-shadow:0 7px 15px rgba(59,74,60,.08);background:#faf5ea}
.welcome-art,.path-hero > img,.messages-intro img,.empty-state img,.message-card-art{display:block;object-position:center}
.welcome-art,.path-hero > img{object-position:center center}
@media(max-width:420px){
  .messages-intro{grid-template-columns:minmax(0,1fr) 118px}
  .messages-intro img{width:118px;height:110px}
  .message-card.has-art{grid-template-columns:minmax(0,1fr) 72px;gap:12px}
  .message-card-art{width:72px;height:72px;border-radius:16px}
}
