:root{--forest:#173c2d;--deep:#0c2d21;--sage:#a9bda2;--cream:#f6f3e9;--paper:#fffdf7;--ink:#183127;--gold:#c8a968;--line:#dfe5d9;--muted:#64756d}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:"DM Sans",sans-serif}body.no-scroll{overflow:hidden}a{color:inherit;text-decoration:none}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,5vw,72px);background:#fffdf7;border-bottom:1px solid rgba(23,60,45,.12)}.brand{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:2px;font-size:15px}.brand i,.mini-brand i{font-family:"Playfair Display";font-weight:700;color:#78926d}.brand-mark{width:35px;height:35px;border:1px solid #75916d;border-radius:50%;display:grid;place-items:center;color:#58734f;font-size:25px;transform:rotate(-30deg)}.tagline{font-family:"Playfair Display";font-style:italic;color:#66756f;font-size:14px}.hero{min-height:620px;background:linear-gradient(90deg,rgba(6,32,22,.91) 0%,rgba(6,32,22,.62) 42%,rgba(6,32,22,.05) 75%),url('tree-hero.png') center/cover;position:relative;display:flex;align-items:center;padding:70px clamp(24px,8vw,120px);color:white}.hero-content{max-width:650px}.eyebrow{text-transform:uppercase;letter-spacing:3px;font-weight:700;font-size:11px;display:block;margin-bottom:21px;color:#c5d4bf}.eyebrow.dark{color:#71866a}.hero h1,.detail-story h1{font:700 clamp(51px,7vw,94px)/.98 "Playfair Display";letter-spacing:-3px;margin:0 0 25px}.hero h1 em{color:#b6c9ad;font-weight:600}.hero p{max-width:530px;font-size:17px;line-height:1.8;color:#e0e8dd;margin:0 0 35px}.btn{border:0;border-radius:4px;padding:14px 20px;display:inline-flex;align-items:center;justify-content:center;gap:20px;font:700 13px "DM Sans";cursor:pointer;transition:.2s}.btn:hover{transform:translateY(-2px)}.btn-light{background:white;color:var(--forest)}.btn-green{background:var(--forest);color:white;box-shadow:0 8px 18px rgba(23,60,45,.15)}.btn-ghost{background:#e9ede5;color:var(--forest)}.hero-stat{position:absolute;right:5vw;bottom:42px;background:rgba(9,39,27,.78);backdrop-filter:blur(10px);padding:18px 25px;border-left:2px solid var(--gold)}.hero-stat b{font:700 29px "Playfair Display";display:block}.hero-stat span{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;color:#d9e1d6}.stories{padding:90px clamp(20px,6vw,90px) 120px;max-width:1500px;margin:auto}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:38px}.section-head h2,.modal-card h2{font:700 clamp(38px,4vw,58px) "Playfair Display";margin:0 0 12px;letter-spacing:-1.5px}.section-head p,.modal-intro{color:var(--muted);margin:0;line-height:1.7}.table-card{background:var(--paper);border:1px solid var(--line);box-shadow:0 14px 40px rgba(37,57,42,.06)}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:850px}th,td{text-align:left;padding:17px 22px;border-bottom:1px solid var(--line)}th{font-size:10px;text-transform:uppercase;letter-spacing:1.6px;color:#7c8b84;background:#f2f3ec}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcf7}.tree-cell{display:flex;align-items:center;gap:14px}.tree-cell img{width:52px;height:52px;object-fit:cover;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px var(--line)}.tree-cell strong,.tree-cell small{display:block}.tree-cell small{color:#7d8983;margin-top:4px;max-width:320px}.code{font-size:12px;background:#e6eee3;color:#30523e;padding:7px 10px;border-radius:3px;font-weight:700}.actions{display:flex;gap:15px;font-size:12px;font-weight:700}.actions a:hover{color:#708a68}.print-link{color:#718b68}.empty{text-align:center;padding:75px 20px;background:var(--paper);border:1px dashed #b8c6b2}.empty-icon{font-size:52px;color:#77926e}.empty h3{font:700 31px "Playfair Display";margin:8px}.empty p{color:var(--muted);margin:0 auto 22px;max-width:520px}.notice{padding:15px 18px;margin:0 0 25px;border-radius:4px}.notice.success{background:#dfeadd;color:#31543b}.notice.error{background:#f5dfd7;color:#783c2e}.modal{display:none;position:fixed;z-index:50;inset:0}.modal.open{display:block}.modal-backdrop{position:absolute;inset:0;background:rgba(4,24,16,.7);backdrop-filter:blur(5px)}.modal-card{position:absolute;right:0;top:0;height:100%;width:min(580px,100%);overflow:auto;background:var(--paper);padding:65px clamp(25px,5vw,60px);box-shadow:-20px 0 70px rgba(0,0,0,.18);animation:slide .3s ease}@keyframes slide{from{transform:translateX(100%)}to{transform:none}}.modal-close{position:absolute;top:20px;right:24px;border:0;background:#e9eee5;color:var(--forest);width:38px;height:38px;border-radius:50%;font-size:25px;cursor:pointer}form{margin-top:30px}label{display:block;font-size:12px;font-weight:700;color:#385246;margin-bottom:18px}input,textarea{display:block;width:100%;margin-top:8px;border:1px solid #d1dbcd;background:#fbfbf6;border-radius:3px;padding:13px 14px;color:var(--ink);font:14px "DM Sans";outline:none}input:focus,textarea:focus{border-color:#789370;box-shadow:0 0 0 3px rgba(120,147,112,.12)}textarea{resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.upload-box{border:1px dashed #9bad94;padding:25px;text-align:center;cursor:pointer;background:#f2f5ed}.upload-box input{display:none}.upload-preview{display:grid;place-items:center;margin:0 auto 10px;width:76px;height:76px;border-radius:50%;background:#e0e9dc;color:#607d59;font-size:32px;overflow:hidden}.upload-preview img{width:100%;height:100%;object-fit:cover}.upload-box b,.upload-box small{display:block}.upload-box small{font-weight:400;color:#81907e;margin-top:4px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:27px}.detail-page{min-height:calc(100vh - 76px);padding:70px clamp(18px,6vw,90px);background:linear-gradient(rgba(238,242,230,.9),rgba(238,242,230,.92)),url('tree-hero.png') center/cover fixed}.detail-shell{max-width:1150px;margin:auto;display:grid;grid-template-columns:minmax(300px,.85fr) 1.15fr;background:var(--paper);min-height:650px;box-shadow:0 30px 80px rgba(21,52,37,.17)}.detail-photo{position:relative;min-height:580px}.detail-photo>img{width:100%;height:100%;object-fit:cover}.leaf-badge{position:absolute;left:20px;bottom:20px;background:rgba(14,48,34,.88);color:white;padding:10px 14px;font-size:11px;text-transform:uppercase;letter-spacing:1.5px}.detail-story{padding:clamp(42px,7vw,90px);display:flex;flex-direction:column;justify-content:center}.detail-story h1{font-size:clamp(48px,6vw,80px);color:var(--deep);margin-bottom:20px}.lifespan{display:flex;align-items:center;gap:16px;color:#52695c;font:600 17px "Playfair Display"}.lifespan i{width:60px;height:1px;background:var(--gold)}.ornament{color:#8aa182;font-size:28px;margin:30px 0 16px}.detail-story>p{font:400 17px/1.9 "DM Sans";color:#4d6157;margin:0;white-space:normal}.story-foot{margin-top:40px;border-top:1px solid var(--line);padding-top:22px;display:flex;justify-content:space-between;gap:15px;color:#819087;font-size:11px}.story-foot a{font-weight:700;color:var(--forest)}.footer{min-height:80px;background:var(--deep);color:#b7c4ba;display:flex;align-items:center;justify-content:space-between;padding:20px clamp(24px,5vw,72px);font-size:11px;letter-spacing:1px}.error-page{min-height:70vh;display:grid;place-items:center;padding:40px}.error-page .notice{max-width:620px;padding:40px}.print-body{background:#dde5d9}.print-toolbar{height:64px;padding:0 5vw;background:var(--deep);color:white;display:flex;align-items:center;justify-content:space-between;font-size:13px}.print-toolbar button{border:0;padding:10px 18px;background:#fff;color:var(--forest);font-weight:700;border-radius:3px;cursor:pointer}.plaque-wrap{padding:45px 20px;text-align:center}.plaque{width:148mm;min-height:190mm;margin:auto;background:#fffdf5;border:3px solid var(--forest);padding:9mm;text-align:left;box-shadow:0 20px 50px rgba(0,0,0,.17);position:relative}.plaque:after{content:"";position:absolute;inset:5px;border:1px solid #b9a46a;pointer-events:none}.plaque-top{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid #aebeaa;padding-bottom:6mm}.mini-brand{font:700 17px "DM Sans";letter-spacing:2px}.mini-brand small{display:block;font:500 7px "DM Sans";letter-spacing:2px;margin-top:4px;color:#738273}.plaque-code{font-size:10px;background:#e6ede1;padding:5px 7px}.plaque-main{display:flex;align-items:center;gap:8mm;padding:11mm 0}.plaque-photo{width:42mm;height:42mm;border-radius:50%;object-fit:cover;border:3px solid white;box-shadow:0 0 0 1px #9dae98}.plaque-info>span{font-size:7px;letter-spacing:1.5px;color:#697a6c}.plaque-info h1{font:700 26px "Playfair Display";margin:3mm 0 2mm;color:var(--deep)}.plaque-info p{font:700 13px "Playfair Display";color:#72846e}.plaque-bottom{border-top:1px solid #aebeaa;padding-top:8mm;display:grid;grid-template-columns:1fr 42mm;gap:8mm;align-items:center}.plaque-bottom h2{font:700 20px "Playfair Display";margin:0 0 3mm}.plaque-bottom p{font-size:10px;line-height:1.6;color:#657469}.plaque-bottom img{width:42mm;height:42mm}.print-note{font-size:11px;color:#617062;word-break:break-all}.error-page .btn{margin-top:10px}
@media(max-width:760px){.topbar{height:65px}.tagline{display:none}.hero{min-height:650px;padding-top:80px;background-position:67% center}.hero h1{font-size:53px}.hero-stat{right:20px}.section-head{align-items:flex-start;flex-direction:column}.section-head .btn{width:100%}.stories{padding-top:65px}.detail-page{padding:22px 14px}.detail-shell{grid-template-columns:1fr}.detail-photo{min-height:380px}.detail-story{padding:42px 28px}.detail-story h1{font-size:47px;letter-spacing:-1.5px}.story-foot{flex-direction:column}.footer{flex-direction:column;justify-content:center;gap:7px;text-align:center}.form-row{grid-template-columns:1fr}.print-toolbar span{display:none}.plaque{width:100%;min-height:auto}.plaque-main{align-items:flex-start}.plaque-photo{width:34mm;height:34mm}.plaque-bottom{grid-template-columns:1fr 35mm}.plaque-bottom img{width:35mm;height:35mm}}
@media print{body{background:white}.print-toolbar,.print-note{display:none}.plaque-wrap{padding:0}.plaque{box-shadow:none;margin:0 auto;page-break-inside:avoid}@page{size:A5 portrait;margin:8mm}}

/* Compact print plaque: content-driven height avoids a large vacant lower half. */
.plaque{min-height:0}.plaque-main{padding:8mm 0}.plaque-photo{width:37mm;height:37mm}.plaque-memory{border-top:1px solid #aebeaa;padding:5mm 0}.plaque-memory>span{font-size:7px;letter-spacing:1.5px;color:#697a6c}.plaque-memory p{font-size:10px;line-height:1.65;color:#52645a;margin:2mm 0 0}.plaque-bottom{padding-top:6mm;grid-template-columns:1fr 38mm}.plaque-bottom small{display:block;margin-top:4mm;text-transform:uppercase;letter-spacing:1.3px;font-size:6px;color:#849183}.plaque-bottom img{width:38mm;height:38mm}
@media(max-width:760px){.plaque-memory{padding:4mm 0}.plaque-bottom{grid-template-columns:1fr 35mm}.plaque-bottom img{width:35mm;height:35mm}}

.cut-frame{position:relative;width:148mm;margin:auto}.cut-mark{display:none;position:absolute;width:7mm;height:7mm;z-index:3;pointer-events:none}.cut-mark:before,.cut-mark:after{content:"";position:absolute;background:#111}.cut-mark:before{width:7mm;height:.25mm}.cut-mark:after{width:.25mm;height:7mm}.cut-tl{left:-5mm;top:-5mm}.cut-tr{right:-5mm;top:-5mm}.cut-bl{left:-5mm;bottom:-5mm}.cut-br{right:-5mm;bottom:-5mm}.cut-tl:before,.cut-bl:before{right:0}.cut-tr:before,.cut-br:before{left:0}.cut-tl:after,.cut-tr:after{bottom:0}.cut-bl:after,.cut-br:after{top:0}.cut-tl:before,.cut-tr:before{bottom:0}.cut-bl:before,.cut-br:before{top:0}.cut-tl:after,.cut-bl:after{right:0}.cut-tr:after,.cut-br:after{left:0}

@media print{
  @page{size:A4 portrait;margin:0}
  html,body.print-body{width:210mm;height:297mm;margin:0;background:#fff}
  .plaque-wrap{width:210mm;height:297mm;padding:0;display:grid;place-items:center;position:relative}
  .cut-frame{width:148mm;margin:0}
  .cut-mark{display:block}
  .plaque{width:148mm;box-shadow:none;margin:0;page-break-inside:avoid}
  .print-toolbar,.print-note{display:none}
}

.developer-credit{color:#c6d1c8;transition:color .2s}.developer-credit strong{color:#d7bd7e;font-weight:700}.developer-credit:hover{color:#fff}.developer-credit:hover strong{color:#ead59f}
@media(max-width:900px){.footer{flex-wrap:wrap;justify-content:center;gap:10px 24px}.developer-credit{width:100%;text-align:center}}

/* Mobile-first data entry and story listing */
@media(max-width:760px){
  html{scroll-padding-top:65px}body{overflow-x:hidden}
  .brand{font-size:13px;letter-spacing:1.4px}.brand-mark{width:31px;height:31px}
  .hero{min-height:590px;padding:70px 22px 105px;background-position:69% center}
  .hero-content{width:100%}.hero h1{font-size:clamp(44px,13vw,58px);line-height:1.02;letter-spacing:-2px}.hero p{font-size:15px;line-height:1.65}
  .hero-stat{left:22px;right:auto;bottom:24px;padding:13px 18px}
  .stories{padding:56px 15px 75px}.section-head{margin-bottom:25px}.section-head h2{font-size:42px}
  .table-card{border:0;background:transparent;box-shadow:none}.table-scroll{overflow:visible}
  table,thead,tbody,tr,td{display:block;width:100%;min-width:0}thead{display:none}tbody{display:grid;gap:14px}
  tbody tr{background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:17px;box-shadow:0 8px 24px rgba(37,57,42,.06)}
  tbody tr:hover{background:var(--paper)}td{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px}
  td:first-child{padding-top:0}td:last-child{border-bottom:0;padding-bottom:0}.tree-cell{width:100%;align-items:center}.tree-cell img{width:62px;height:62px}.tree-cell small{font-size:11px;line-height:1.45}
  td:nth-child(2):before{content:"Story code"}td:nth-child(3):before{content:"Life span"}td:nth-child(4):before{content:"Added"}
  td:nth-child(2):before,td:nth-child(3):before,td:nth-child(4):before{font-size:9px;text-transform:uppercase;letter-spacing:1.2px;color:#7c8b84;font-weight:700}
  .actions{width:100%;gap:9px}.actions a{flex:1;text-align:center;background:#e8eee4;padding:11px 8px;border-radius:4px}.actions .print-link{background:var(--forest);color:#fff}
  .modal-card{width:100%;padding:58px 20px 28px}.modal-card h2{font-size:38px}.modal-intro{font-size:13px}.upload-box{padding:18px}.upload-preview{width:68px;height:68px}
  form{margin-top:22px}label{margin-bottom:15px}input,textarea{font-size:16px;padding:14px;min-height:48px}.form-row{grid-template-columns:1fr 1fr;gap:10px}
  .form-actions{position:sticky;bottom:-28px;background:var(--paper);margin:22px -20px -28px;padding:14px 20px 20px;border-top:1px solid var(--line);z-index:2}.form-actions .btn{min-height:48px}.form-actions .btn-green{flex:1}
  .detail-photo{min-height:340px}.detail-story{padding:38px 24px}.detail-story>p{font-size:15px;line-height:1.8}
}
@media(max-width:380px){.form-row{grid-template-columns:1fr}.hero h1{font-size:43px}.form-actions{gap:7px}.form-actions .btn{padding:12px 10px}}

.admin-meta{display:flex;align-items:center;gap:16px;font-size:12px;color:#68766f}.admin-meta a{background:#e6ede2;color:var(--forest);font-weight:700;padding:9px 13px;border-radius:3px}.login-page{min-height:100vh;background:var(--cream)}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr}.login-visual{padding:clamp(35px,7vw,100px);display:flex;align-items:flex-end;color:#fff;background:linear-gradient(rgba(7,34,23,.25),rgba(7,34,23,.7)),url('tree-hero.png') center/cover}.login-visual h1{font:700 clamp(50px,7vw,90px)/1 "Playfair Display";letter-spacing:-3px;margin:0 0 25px}.login-visual h1 em{color:#c2d1ba}.login-visual p{font-size:16px;color:#e2eae0}.login-panel{display:grid;place-items:center;padding:40px}.login-box{width:min(420px,100%)}.login-box>.brand{margin-bottom:70px}.login-box>.eyebrow{margin-bottom:12px}.login-box h2{font:700 52px "Playfair Display";margin:0 0 8px}.login-box>p{color:var(--muted);margin:0 0 30px}.login-box form{margin-top:0}.password-field{position:relative}.password-field input{padding-right:52px}.password-toggle{position:absolute;right:4px;top:12px;width:42px;height:40px;border:0;background:transparent;color:var(--forest);cursor:pointer;font-size:19px}.remember-row{display:flex;align-items:center;gap:9px;cursor:pointer;font-weight:500}.remember-row input{width:17px;height:17px;margin:0;min-height:0;accent-color:var(--forest)}.login-button{width:100%;min-height:50px;margin-top:8px}
@media(max-width:800px){.login-shell{grid-template-columns:1fr}.login-visual{display:none}.login-panel{padding:25px;min-height:100vh}.login-box>.brand{margin-bottom:55px}.login-box h2{font-size:45px}.admin-meta span{display:none}}

/* Cloudinary-hosted shared tree artwork */
.hero{background-image:linear-gradient(90deg,rgba(6,32,22,.91) 0%,rgba(6,32,22,.62) 42%,rgba(6,32,22,.05) 75%),url('https://res.cloudinary.com/uv0nfruu/image/upload/v1786538429/clients/vriksh_katha/server/assets/zx7gsx59porgbvwja7nd.png')}.detail-page{background-image:linear-gradient(rgba(238,242,230,.9),rgba(238,242,230,.92)),url('https://res.cloudinary.com/uv0nfruu/image/upload/v1786538429/clients/vriksh_katha/server/assets/zx7gsx59porgbvwja7nd.png')}.login-visual{background-image:linear-gradient(rgba(7,34,23,.25),rgba(7,34,23,.7)),url('https://res.cloudinary.com/uv0nfruu/image/upload/v1786538429/clients/vriksh_katha/server/assets/zx7gsx59porgbvwja7nd.png')}

/* Combined logo + title lockup and compact sticky admin navigation */
.topbar{height:58px;position:sticky;top:0;z-index:40;padding-top:4px;padding-bottom:4px;box-shadow:0 2px 14px rgba(20,50,35,.07)}.brand-logo{display:inline-flex;align-items:center;gap:9px}.brand-logo img{width:48px;height:48px;object-fit:contain}.header-logo img{width:46px;height:46px}.hero{min-height:455px;padding-top:48px;padding-bottom:48px}.hero h1{font-size:clamp(48px,6vw,76px)}.stories{padding-top:60px}.login-box>.brand-logo{margin-bottom:50px}.login-box>.brand-logo img{width:76px;height:76px}.plaque-brand{display:flex;align-items:center;gap:3mm}.plaque-brand img{width:14mm;height:14mm;object-fit:contain}.plaque-brand span{display:block}.plaque-brand small{white-space:nowrap}
@media(max-width:760px){.topbar{height:56px;padding-left:15px;padding-right:15px}.header-logo img{width:42px;height:42px}.header-logo span{font-size:11px;letter-spacing:1px}.hero{min-height:430px;padding-top:48px;padding-bottom:82px}.stories{padding-top:45px}.login-box>.brand-logo img{width:66px;height:66px}}

/* Strong, consistent brand hierarchy */
.brand-logo>span{display:flex;flex-direction:column;line-height:1}.brand-logo>span b{font-weight:800;letter-spacing:2.2px;color:#102f23;white-space:nowrap}.brand-logo>span i{font-family:"Playfair Display";font-style:italic;color:#718b48}.brand-logo>span small{margin-top:6px;font-size:6px;letter-spacing:2.1px;color:#78887e;font-weight:700;white-space:nowrap}.header-logo>span b{font-size:14px}.header-logo>span small{font-size:5.5px;margin-top:4px}.header-logo img{filter:drop-shadow(0 2px 3px rgba(16,47,35,.12))}
.login-brand{width:100%;padding:18px 22px 18px 16px;border:1px solid #d7dfd1;border-left:4px solid var(--forest);background:linear-gradient(110deg,#fffef9,#edf3e8);border-radius:5px;box-shadow:0 10px 28px rgba(26,56,39,.08);gap:18px!important}.login-box>.login-brand{margin-bottom:43px}.login-box>.login-brand img{width:96px;height:96px;flex:0 0 96px;filter:drop-shadow(0 5px 7px rgba(24,57,39,.14))}.login-brand>span b{font-size:23px;letter-spacing:3px}.login-brand>span small{font-size:7px;letter-spacing:2.4px;margin-top:9px;color:#65796b}.plaque-brand span{font-size:15px;letter-spacing:1.7px;color:#123528}.plaque-brand i{color:#718b48}.plaque-brand small{font-size:6px;color:#65796b}
@media(max-width:480px){.login-brand{padding:13px 14px;gap:12px!important}.login-box>.login-brand img{width:76px;height:76px;flex-basis:76px}.login-brand>span b{font-size:17px;letter-spacing:2px}.login-brand>span small{font-size:5.5px;letter-spacing:1.7px}.login-box>.login-brand{margin-bottom:35px}}

/* Desktop dashboard density: first record remains visible in the initial viewport. */
@media(min-width:761px){
  .hero{min-height:345px;height:345px;padding:34px clamp(24px,6.2vw,100px)}
  .hero-content{max-width:590px}.hero .eyebrow{margin-bottom:13px}.hero h1{font-size:58px;line-height:.98;margin-bottom:15px}.hero p{font-size:15px;line-height:1.55;margin-bottom:22px;max-width:510px}.hero .btn{padding:12px 18px}.hero-stat{bottom:28px;padding:14px 21px}
  .stories{padding-top:34px;padding-bottom:65px}.section-head{align-items:flex-end;margin-bottom:22px}.section-head .eyebrow{margin-bottom:10px}.section-head h2{font-size:43px;margin-bottom:5px}.section-head p{font-size:13px;line-height:1.5}.section-head>.btn{margin-bottom:2px;padding:13px 18px}
  th,td{padding-top:13px;padding-bottom:13px}.tree-cell img{width:48px;height:48px}
}
@media(min-width:761px) and (max-height:760px){.hero{min-height:300px;height:300px}.hero h1{font-size:51px}.stories{padding-top:26px}.section-head{margin-bottom:16px}}

/* Keep the footer at the viewport edge and reveal the hero tree more clearly. */
body:not(.print-body){min-height:100vh;display:flex;flex-direction:column}body:not(.print-body)>main{flex:1;width:100%}.footer{margin-top:auto;width:100%}
.hero{background-image:linear-gradient(90deg,rgba(5,31,21,.91) 0%,rgba(5,31,21,.67) 30%,rgba(5,31,21,.28) 48%,rgba(5,31,21,.03) 66%),url('https://res.cloudinary.com/uv0nfruu/image/upload/v1786538429/clients/vriksh_katha/server/assets/zx7gsx59porgbvwja7nd.png');background-position:64% 58%;background-size:cover}.hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(255,210,105,.05),transparent 42%)}.hero-content,.hero-stat{z-index:1}
@media(min-width:761px){.hero{min-height:365px;height:365px;background-position:66% 60%}}
@media(min-width:761px) and (max-height:760px){.hero{min-height:315px;height:315px}}
@media(max-width:760px){.hero{background-position:68% center;background-image:linear-gradient(90deg,rgba(5,31,21,.9),rgba(5,31,21,.54) 62%,rgba(5,31,21,.12)),url('https://res.cloudinary.com/uv0nfruu/image/upload/v1786538429/clients/vriksh_katha/server/assets/zx7gsx59porgbvwja7nd.png')}}

/* Slim footer */
.footer{min-height:48px;padding-top:10px;padding-bottom:10px;font-size:10px;line-height:1.3}
@media(max-width:900px){.footer{min-height:54px;padding-top:9px;padding-bottom:9px;gap:5px 18px}.developer-credit{width:auto}}
@media(max-width:560px){.footer{min-height:62px;flex-direction:column;gap:5px}.developer-credit{width:100%}}

/* Logged-in identity remains visible on tablets and phones. */
.admin-meta .user-badge{display:flex;align-items:center;gap:5px;white-space:nowrap}.user-badge i{font-style:normal;font-size:7px;color:#5e8a52}.user-badge small{font-size:11px;color:#748078}.user-badge strong{color:#395044}
@media(max-width:800px){.admin-meta{display:flex;gap:8px}.admin-meta .user-badge{display:flex;background:#eef3ea;border:1px solid #dce6d8;padding:7px 9px;border-radius:4px}.admin-meta a{padding:8px 10px}.user-badge small{display:inline}}
@media(max-width:600px){.user-badge small{display:none}.admin-meta .user-badge{padding:7px 8px}.user-badge strong{font-size:11px}.admin-meta a{font-size:10px;padding:8px}.header-logo>span b{font-size:11px;letter-spacing:1.2px}.header-logo>span small{font-size:4.5px;letter-spacing:1.2px}}
@media(max-width:390px){.topbar{padding-left:9px;padding-right:9px}.header-logo{gap:5px}.header-logo img{width:36px;height:36px}.header-logo>span b{font-size:9px}.header-logo>span small{display:none}.admin-meta{gap:4px}.admin-meta .user-badge{padding:6px}.user-badge i{display:none}.user-badge strong{max-width:72px;overflow:hidden;text-overflow:ellipsis}.admin-meta a{padding:7px 6px}}

/* Compensate for transparent padding inside the logo PNG. */
.header-logo{gap:0}.header-logo img{margin-right:-2px}.plaque-brand{gap:1mm}
@media(max-width:600px){.header-logo{gap:0}.header-logo img{margin-right:-3px}}
@media(max-width:390px){.header-logo{gap:0}}

.actions form{margin:0}.actions form button{border:0;background:transparent;color:#a2473c;font:700 12px "DM Sans";padding:0;cursor:pointer}.actions form button:hover{color:#7f2c24}.actions{align-items:center;flex-wrap:wrap}
@media(max-width:760px){.actions form{flex:1}.actions form button{width:100%;padding:11px 8px;border-radius:4px;background:#f5e5df}.actions a{min-width:65px}}

/* Long-form public story: fixed portrait presentation, naturally scrolling copy. */
@media(min-width:761px){.detail-shell{align-items:start}.detail-photo{height:calc(100vh - 150px);min-height:520px;max-height:760px;position:sticky;top:82px;align-self:start}.detail-photo>img{height:100%;object-position:center top}.detail-story{min-width:0;justify-content:flex-start;padding-top:72px;padding-bottom:72px}.detail-story h1{font-size:clamp(46px,5.3vw,76px);overflow-wrap:anywhere}.detail-story>p{overflow-wrap:anywhere;word-break:normal}.story-foot{margin-top:34px}}
@media(max-width:760px){.detail-shell{align-items:stretch}.detail-photo{position:relative;top:auto;height:400px;min-height:0}.detail-photo>img{height:100%;object-position:center top}.detail-story{justify-content:flex-start}.detail-story h1{overflow-wrap:anywhere}.detail-story>p{overflow-wrap:anywhere}}
@media(max-width:420px){.detail-photo{height:330px}.detail-story{padding:34px 21px}.detail-story h1{font-size:42px}.detail-story>p{font-size:15px;line-height:1.75}}

/* Professional story typography and crop-safe portrait handling. */
.story-copy{color:#4d6157;font-size:17px;line-height:1.8;overflow-wrap:anywhere}.story-copy p{margin:0 0 18px}.story-copy p:last-child{margin-bottom:0}
@media(max-width:760px){.detail-page{padding:14px 10px 24px}.detail-shell{box-shadow:0 14px 40px rgba(21,52,37,.13)}.detail-photo{height:auto;min-height:280px;max-height:none;aspect-ratio:4/3;background:#dde3d8;display:grid;place-items:center;overflow:hidden}.detail-photo>img{width:100%;height:100%;object-fit:contain;object-position:center center}.leaf-badge{left:14px;bottom:14px;padding:9px 12px}.detail-story{padding:30px 24px 34px}.detail-story>.eyebrow{margin-bottom:13px;letter-spacing:2.2px}.detail-story h1{font-size:clamp(39px,12vw,52px);line-height:1.02;margin-bottom:13px}.lifespan{font-size:16px;gap:12px}.lifespan i{width:48px}.ornament{margin:18px 0 9px;font-size:24px}.story-copy{font-size:15px;line-height:1.68}.story-copy p{margin-bottom:14px}.story-foot{margin-top:24px;padding-top:17px}}
@media(max-width:420px){.detail-photo{height:auto;min-height:240px;aspect-ratio:1/1}.detail-story{padding:27px 20px 30px}.detail-story h1{font-size:40px}.story-copy{font-size:14.5px;line-height:1.65}}

/* Print-safe portrait: show the complete source image without circular clipping. */
.plaque-photo{width:42mm;height:42mm;border-radius:50%;object-fit:cover;object-position:center center;background:#e7ebe3;border:3px solid #fff;box-shadow:0 0 0 1px #9dae98;padding:0}.print-note{display:none!important}
@media(max-width:760px){.plaque-photo{width:38mm;height:38mm;border-radius:50%;padding:0}}

/* Responsive admin header on the print-preview screen (never printed on paper). */
.print-toolbar{min-height:62px;height:auto;position:sticky;top:0;z-index:20;padding:7px clamp(16px,5vw,72px)}.print-admin-brand{display:flex;align-items:center;gap:2px;color:#fff}.print-admin-brand img{width:46px;height:46px;object-fit:contain}.print-admin-brand>span{display:flex;flex-direction:column}.print-admin-brand b{font-size:13px;letter-spacing:1.8px}.print-admin-brand i{font-family:"Playfair Display";color:#b8ca8a}.print-admin-brand small{font-size:5px;letter-spacing:1.5px;color:#aebeb5;margin-top:4px}.print-toolbar-actions{display:flex;align-items:center;gap:12px}.print-user{font-size:11px;color:#c8d4cd}.print-user strong{color:#fff}.print-logout,.print-back{font-size:11px;font-weight:700;padding:9px 11px;border-radius:3px}.print-logout{background:#274f3f}.print-back{background:transparent;border:1px solid #537165}.print-toolbar-actions button{white-space:nowrap}
@media(max-width:700px){.print-toolbar{display:flex;flex-wrap:wrap;gap:6px 12px;padding:7px 12px}.print-admin-brand{flex:1}.print-toolbar-actions{width:100%;justify-content:space-between;border-top:1px solid rgba(255,255,255,.13);padding-top:6px;gap:5px}.print-user{flex:1}.print-logout,.print-back{padding:7px 8px}.print-toolbar-actions button{padding:8px 10px}}
@media(max-width:390px){.print-admin-brand img{width:40px;height:40px}.print-admin-brand b{font-size:11px}.print-user{font-size:10px}.print-user strong{display:block}.print-logout,.print-back{font-size:9px}}

/* Final mobile print-preview corrections: restore identity hidden by a legacy rule. */
@media screen and (max-width:700px){
  .print-toolbar .print-user{display:flex!important;align-items:center;gap:4px;min-width:0;color:#c8d4cd}
  .print-toolbar .print-user strong{display:inline;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:105px}
  .print-admin-brand img{background:#f7f5ec;border-radius:50%;padding:2px}
  .print-admin-brand b{color:#fff}.print-admin-brand small{display:block!important}
  .print-toolbar-actions{display:grid;grid-template-columns:minmax(95px,1fr) auto auto auto}
  .print-toolbar-actions>*{min-width:0}
  .plaque-wrap{width:100%;height:auto;min-height:0;padding:28px 10px 36px;display:block}
  .cut-frame{width:100%;max-width:148mm;margin:0 auto}
  .plaque{width:100%;margin:0;padding:22px}
  .plaque-main{gap:18px}.plaque-photo{width:92px;height:92px;flex:0 0 92px}.plaque-info h1{font-size:clamp(19px,5.7vw,26px)}
  .plaque-bottom{grid-template-columns:1fr 92px;gap:17px}.plaque-bottom img{width:92px;height:92px}
}
@media screen and (max-width:390px){.print-toolbar .print-user{font-size:9px}.print-toolbar .print-user strong{max-width:72px}.print-toolbar-actions{grid-template-columns:minmax(72px,1fr) auto auto auto}.plaque{padding:17px}.plaque-main{gap:12px}.plaque-photo{width:78px;height:78px;flex-basis:78px}.plaque-bottom{grid-template-columns:1fr 78px;gap:10px}.plaque-bottom img{width:78px;height:78px}}

/* Use wide desktop screens efficiently while retaining comfortable gutters. */
@media(min-width:1100px){.stories{max-width:1760px;padding-left:clamp(32px,3vw,56px);padding-right:clamp(32px,3vw,56px)}}
@media(min-width:1600px){.stories{max-width:1840px}}

/* Layered collection surface: removes the hero seam and avoids a flat wide table. */
.stories{position:relative;z-index:3;background:linear-gradient(180deg,#fbf9f1 0%,var(--cream) 58%);border-radius:16px 16px 0 0;box-shadow:0 -12px 35px rgba(11,42,29,.1)}.stories:before{content:"";position:absolute;top:0;left:clamp(24px,4vw,70px);right:clamp(24px,4vw,70px);height:2px;background:linear-gradient(90deg,transparent,#a8bc91 25%,#c5aa68 50%,#a8bc91 75%,transparent)}.section-head{padding:0 3px}.table-card{border-radius:9px;overflow:hidden;border-color:#d7e0d3;box-shadow:0 15px 34px rgba(31,61,43,.09)}table thead th{background:linear-gradient(180deg,#f4f6ef,#edf1e9);color:#66796e}tbody tr{transition:background .2s,transform .2s}tbody tr:hover{background:#f7faf4}.actions a,.actions form button{transition:color .2s,background .2s}
@media(min-width:761px){.stories{margin-top:-24px;padding-top:34px}.section-head{margin-bottom:18px}.table-card{margin-top:0}}
@media(max-width:760px){.stories{margin-top:-14px;border-radius:12px 12px 0 0;box-shadow:0 -8px 24px rgba(11,42,29,.09)}.stories:before{left:22px;right:22px}.table-card{box-shadow:none;overflow:visible}}

/* A finished, useful lower edge for the collection component. */
.stories{border-radius:16px;margin-bottom:30px;overflow:hidden}.collection-foot{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:15px;padding:14px 18px;border:1px solid #dce3d7;border-radius:8px;background:rgba(255,253,247,.72);color:#68796f}.collection-foot>div{display:flex;align-items:center;gap:12px}.collection-leaf{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#e7eee2;color:#6f8a65;font-size:18px}.collection-foot p{margin:0}.collection-foot strong,.collection-foot small{display:block}.collection-foot strong{font-size:12px;color:#304a3c}.collection-foot small{font-size:10px;margin-top:3px;color:#7a8980}.collection-hint{font-size:10px;letter-spacing:.15px}.collection-hint b{color:#385443}.stories:after{content:"";position:absolute;left:7%;right:7%;bottom:-18px;height:35px;background:radial-gradient(ellipse,rgba(31,61,43,.12),transparent 68%);filter:blur(8px);z-index:-1}
@media(min-width:761px){.stories{padding-bottom:24px}}
@media(max-width:760px){.stories{border-radius:12px;margin-bottom:18px;padding-bottom:22px}.collection-foot{align-items:flex-start;flex-direction:column;gap:9px;margin-top:13px;padding:13px}.collection-hint{padding-left:46px;line-height:1.5}}

/* Search, sorting and database-backed pagination. */
.table-tools{margin:0 0 14px;display:flex;align-items:center;justify-content:flex-end;gap:10px}.table-tools label{margin:0}.search-field{display:flex;align-items:center;min-width:min(440px,45vw);height:43px;border:1px solid #d6e0d3;border-radius:6px;background:#fffdf8;overflow:hidden}.search-field>span{padding-left:13px;font-size:20px;color:#789071}.search-field input{height:100%;min-height:0;margin:0;border:0;background:transparent;box-shadow:none;font-size:13px}.search-field input:focus{box-shadow:none}.search-field button{height:100%;border:0;background:#e6eee2;color:#274b39;padding:0 15px;font:700 11px "DM Sans";cursor:pointer}.sort-field{height:43px;display:flex;align-items:center;gap:9px;padding:0 8px 0 13px;border:1px solid #d6e0d3;border-radius:6px;background:#fffdf8}.sort-field>span{font-size:9px;text-transform:uppercase;letter-spacing:1.2px;color:#7b8980;white-space:nowrap}.sort-field select{border:0;background:transparent;color:#294737;font:700 11px "DM Sans";outline:none;padding:7px;cursor:pointer}.clear-search{font-size:11px;font-weight:700;color:#8d4b40;padding:11px}.pagination{display:flex;align-items:center;justify-content:space-between;margin-top:13px;padding:0 3px;color:#74827a;font-size:10px}.pagination>div{display:flex;gap:5px}.pagination a{min-width:31px;height:31px;padding:0 9px;border:1px solid #d7e0d4;border-radius:4px;background:#fffdf8;display:grid;place-items:center;font-weight:700;color:#496054}.pagination a.active{background:var(--forest);border-color:var(--forest);color:#fff}.no-results td{text-align:center!important;padding:45px 20px!important}.no-results strong,.no-results span{display:block}.no-results strong{font:700 21px "Playfair Display";color:var(--forest)}.no-results span{font-size:11px;color:#7b8981;margin-top:6px}
@media(max-width:760px){.table-tools{align-items:stretch;flex-wrap:wrap}.search-field{width:100%;min-width:100%}.sort-field{flex:1}.clear-search{padding:13px 8px}.pagination{align-items:flex-start;flex-direction:column;gap:10px}.pagination>div{width:100%;flex-wrap:wrap}.pagination a{flex:1}.no-results{display:block}.no-results td{display:block!important}.collection-foot{margin-top:14px}}

/* Abstract 3D grass system — lightweight, responsive and content-safe. */
.grass-stage{isolation:isolate}.grass-layer{position:absolute;left:0;right:0;pointer-events:none;z-index:-1}.grass-back{bottom:4px;height:74px;opacity:.45;background:repeating-linear-gradient(78deg,transparent 0 14px,rgba(83,126,63,.28) 15px 17px,transparent 18px 27px),repeating-linear-gradient(102deg,transparent 0 19px,rgba(110,146,76,.22) 20px 22px,transparent 23px 32px);filter:blur(.2px)}.grass-front{bottom:-2px;height:48px;opacity:.72;background:repeating-linear-gradient(82deg,transparent 0 17px,#668a4e 18px 20px,transparent 21px 31px),repeating-linear-gradient(98deg,transparent 0 22px,#88a765 23px 25px,transparent 26px 37px);mask-image:linear-gradient(to top,#000,transparent);-webkit-mask-image:linear-gradient(to top,#000,transparent);filter:drop-shadow(0 -5px 6px rgba(31,65,37,.13))}.stories>*:not(.grass-layer){position:relative;z-index:1}
.modal-card:before,.login-panel:before,.detail-page:before,.detail-page:after{content:"";position:absolute;pointer-events:none;background-repeat:repeat-x}.modal-card:before{left:0;right:0;bottom:0;height:70px;z-index:0;opacity:.24;background:repeating-linear-gradient(80deg,transparent 0 18px,#6f9558 19px 22px,transparent 23px 34px);mask-image:linear-gradient(to top,#000,transparent);-webkit-mask-image:linear-gradient(to top,#000,transparent)}.modal-card>*{position:relative;z-index:1}
.login-panel{position:relative;overflow:hidden}.login-panel:before{left:0;right:0;bottom:-8px;height:145px;opacity:.32;background:repeating-linear-gradient(79deg,transparent 0 22px,#62864b 23px 26px,transparent 27px 42px),repeating-linear-gradient(101deg,transparent 0 31px,#9caf78 32px 35px,transparent 36px 48px);mask-image:linear-gradient(to top,#000,transparent);-webkit-mask-image:linear-gradient(to top,#000,transparent);filter:drop-shadow(0 -8px 11px rgba(35,70,42,.16))}.login-box{position:relative;z-index:1}
.detail-page{position:relative;isolation:isolate;overflow:hidden}.detail-page:before{left:0;right:0;bottom:0;height:190px;z-index:-1;opacity:.55;background:repeating-linear-gradient(80deg,transparent 0 24px,#527844 25px 29px,transparent 30px 47px),repeating-linear-gradient(100deg,transparent 0 34px,#84a365 35px 39px,transparent 40px 57px);mask-image:linear-gradient(to top,#000,transparent);-webkit-mask-image:linear-gradient(to top,#000,transparent);filter:drop-shadow(0 -10px 14px rgba(24,62,34,.18))}.detail-page:after{left:5%;right:5%;bottom:8px;height:65px;z-index:-2;border-radius:50%;background:rgba(39,79,46,.2);filter:blur(24px)}.detail-shell{position:relative;z-index:1;border:1px solid rgba(113,145,99,.25)}
@media(max-width:760px){.grass-back{height:50px}.grass-front{height:34px;opacity:.45}.modal-card:before{height:48px}.login-panel:before{height:85px;opacity:.2}.detail-page:before{height:105px;opacity:.35}}
@media(prefers-reduced-motion:no-preference){.grass-front,.detail-page:before{animation:grassSway 8s ease-in-out infinite alternate;transform-origin:bottom}@keyframes grassSway{from{transform:skewX(-.4deg)}to{transform:skewX(.55deg)}}}
@media print{.grass-layer,.modal-card:before,.login-panel:before,.detail-page:before,.detail-page:after{display:none!important}}

/* 3D grass meadow sits directly above the global footer. */
.grass-stage .grass-layer{display:none}.footer{position:relative;z-index:5;margin-top:82px;overflow:visible}.footer:before,.footer:after{content:"";position:absolute;left:0;right:0;pointer-events:none;background-repeat:repeat-x}.footer:before{bottom:100%;height:88px;z-index:-2;background:repeating-linear-gradient(76deg,transparent 0 18px,rgba(105,142,74,.62) 19px 22px,transparent 23px 37px),repeating-linear-gradient(104deg,transparent 0 24px,rgba(128,158,88,.55) 25px 29px,transparent 30px 46px),linear-gradient(to top,#547944 0 11px,transparent 12px);mask-image:linear-gradient(to top,#000 8%,rgba(0,0,0,.96) 55%,transparent 100%);-webkit-mask-image:linear-gradient(to top,#000 8%,rgba(0,0,0,.96) 55%,transparent 100%);filter:drop-shadow(0 -8px 9px rgba(35,66,37,.18))}.footer:after{bottom:100%;height:58px;z-index:-1;background:repeating-linear-gradient(81deg,transparent 0 13px,#315d39 14px 17px,transparent 18px 27px),repeating-linear-gradient(99deg,transparent 0 19px,#497341 20px 23px,transparent 24px 34px),linear-gradient(to top,#244f35 0 13px,transparent 14px);clip-path:polygon(0 100%,0 42%,2% 78%,4% 22%,6% 78%,8% 34%,10% 82%,12% 16%,14% 76%,16% 29%,18% 83%,20% 39%,22% 78%,24% 19%,26% 82%,28% 33%,30% 78%,32% 12%,34% 80%,36% 27%,38% 84%,40% 18%,42% 79%,44% 35%,46% 82%,48% 13%,50% 78%,52% 26%,54% 85%,56% 20%,58% 79%,60% 37%,62% 84%,64% 15%,66% 79%,68% 30%,70% 83%,72% 21%,74% 79%,76% 34%,78% 84%,80% 14%,82% 78%,84% 28%,86% 83%,88% 19%,90% 80%,92% 32%,94% 82%,96% 18%,98% 77%,100% 38%,100% 100%);filter:drop-shadow(0 -5px 5px rgba(20,51,31,.24))}.footer>*{position:relative;z-index:2}
@media(max-width:760px){.footer{margin-top:58px}.footer:before{height:62px}.footer:after{height:43px}}
@media(prefers-reduced-motion:no-preference){.footer:before{animation:footerGrassSway 7s ease-in-out infinite alternate;transform-origin:bottom}@keyframes footerGrassSway{from{transform:skewX(-.35deg)}to{transform:skewX(.45deg)}}}
@media print{.footer:before,.footer:after{display:none!important}}

/* Grass is visual overlay only: it must never add page height or create scrolling. */
.footer{margin-top:0}.footer:before{height:64px}.footer:after{height:43px}
@media(max-width:760px){.footer{margin-top:0}.footer:before{height:44px}.footer:after{height:31px}}
@media(min-width:761px) and (max-height:900px){.stories{padding-bottom:16px;margin-bottom:0}.collection-foot{padding-top:10px;padding-bottom:10px}.footer:before{height:52px}.footer:after{height:36px}}

/* One page needs no pagination UI; keep the first viewport scroll-free. */
.pagination:has(.active:first-child:last-child){display:none}
@media(min-width:761px){.hero{min-height:330px;height:330px}.stories{padding-top:25px;padding-bottom:12px}.section-head{margin-bottom:12px}.table-tools{margin-bottom:10px}.collection-foot{margin-top:10px;padding-top:9px;padding-bottom:9px}.footer:before{height:42px}.footer:after{height:30px}}

/* Compact, consistently spaced story drawer with a clear close control. */
.modal-card{padding:44px clamp(25px,4vw,48px) 30px}.modal-close{position:fixed;top:14px;right:16px;z-index:10;width:40px;height:40px;display:grid;place-items:center;padding:0;background:#e7eee3;border:1px solid #d4dfd0;color:#294b39;font:400 27px/1 "DM Sans";box-shadow:0 5px 14px rgba(24,55,38,.12)}.modal-card>.eyebrow{margin:0 52px 10px 0}.modal-card h2{font-size:clamp(38px,4vw,52px);line-height:1.05;margin:0 0 8px}.modal-intro{font-size:13px;line-height:1.5}.modal-card form{margin-top:20px}.modal-card label{margin-bottom:12px}.modal-card input,.modal-card textarea{margin-top:6px}.modal-card .upload-box{padding:18px;margin-bottom:14px}.modal-card .upload-preview{width:66px;height:66px;margin-bottom:7px}.modal-card .upload-box small{margin-top:2px}.modal-card .form-row{gap:14px}.modal-card textarea{min-height:96px}.modal-card .form-actions{margin-top:17px}.modal-card .form-actions .btn{min-height:44px;padding-top:11px;padding-bottom:11px}
@media(max-width:760px){.modal-card{padding:48px 18px 20px}.modal-close{top:10px;right:10px;width:38px;height:38px}.modal-card>.eyebrow{margin-right:42px;margin-bottom:8px}.modal-card h2{font-size:38px}.modal-card form{margin-top:17px}.modal-card .upload-box{padding:14px}.modal-card .upload-preview{width:58px;height:58px}.modal-card label{margin-bottom:10px}.modal-card .form-actions{margin-top:15px;margin-left:-18px;margin-right:-18px;margin-bottom:-20px;padding:11px 18px 15px;bottom:-20px}}

.story-loader{position:fixed;inset:0;z-index:200;display:grid;place-content:center;justify-items:center;padding:25px;background:radial-gradient(circle at center,rgba(246,243,233,.96),rgba(12,45,33,.93));backdrop-filter:blur(10px);opacity:0;visibility:hidden;transition:opacity .25s}.story-loader.active{opacity:1;visibility:visible}.loader-orbit{width:132px;height:132px;position:relative;display:grid;place-items:center;margin-bottom:25px}.loader-orbit:before,.loader-orbit:after,.loader-orbit i{content:"";position:absolute;border-radius:50%;border:1px solid rgba(151,176,123,.45)}.loader-orbit:before{inset:0;border-top-color:#315d3d;border-right-color:#b9a667;animation:loaderSpin 2.1s linear infinite}.loader-orbit:after{inset:14px;border-bottom-color:#789757;animation:loaderSpin 2.8s linear infinite reverse}.loader-orbit i:nth-child(1){inset:28px;border-left-color:#c4ad6a;animation:loaderSpin 1.8s linear infinite}.loader-orbit i:nth-child(2){width:9px;height:9px;left:13px;top:60px;background:#8daa6c;border:0;box-shadow:99px 2px 0 #c3a967}.loader-orbit i:nth-child(3){inset:42px;background:radial-gradient(circle,#eef3e8,#dce8d5);border:0;box-shadow:0 0 35px rgba(120,153,91,.4)}.loader-stem{position:relative;z-index:2;color:#315d3d;font-size:44px;animation:loaderGrow 1.4s ease-in-out infinite alternate}.loader-copy{text-align:center;color:#f6f3e9}.loader-copy strong,.loader-copy span{display:block}.loader-copy strong{font:700 28px "Playfair Display"}.loader-copy span{font-size:12px;margin-top:8px;color:#cfdbd0}.loader-progress{width:min(280px,72vw);height:3px;margin-top:24px;overflow:hidden;background:rgba(255,255,255,.15)}.loader-progress b{display:block;width:45%;height:100%;background:linear-gradient(90deg,transparent,#b9a667,#92ad72,transparent);animation:loaderTravel 1.6s ease-in-out infinite}@keyframes loaderSpin{to{transform:rotate(360deg)}}@keyframes loaderGrow{from{transform:scale(.88);opacity:.72}to{transform:scale(1.08);opacity:1}}@keyframes loaderTravel{from{transform:translateX(-110%)}to{transform:translateX(260%)}}@media(max-width:500px){.loader-orbit{width:108px;height:108px}.loader-copy strong{font-size:24px}.loader-copy span{font-size:11px;max-width:290px;line-height:1.5}}@media(prefers-reduced-motion:reduce){.loader-orbit:before,.loader-orbit:after,.loader-orbit i,.loader-stem,.loader-progress b{animation:none!important}.loader-progress b{width:100%;opacity:.7}}

.success-screen{min-height:100vh;background:linear-gradient(rgba(239,244,234,.92),rgba(239,244,234,.96)),url('https://res.cloudinary.com/uv0nfruu/image/upload/v1786538429/clients/vriksh_katha/server/assets/zx7gsx59porgbvwja7nd.png') center/cover}.success-screen main{min-height:100vh;display:grid;place-items:center}.success-brand{display:flex;align-items:center;gap:5px;opacity:.7}.success-brand img{width:72px;height:72px;object-fit:contain}.success-brand strong{letter-spacing:2px;color:#173c2d}.success-brand i{font-family:"Playfair Display";color:#718b48}

/* SweetAlert follows the Vriksha Katha visual language. */
.vriksha-swal{border-radius:10px!important;border:1px solid #d5dfd1!important;box-shadow:0 24px 70px rgba(17,48,32,.24)!important}.vriksha-swal .swal2-title{font-family:"Playfair Display",serif!important;color:#173c2d!important}.vriksha-swal .swal2-html-container{font-family:"DM Sans",sans-serif!important;color:#66776e!important;font-size:14px!important}.vriksha-swal-confirm,.vriksha-swal-cancel{font-family:"DM Sans",sans-serif!important;font-weight:700!important;border-radius:4px!important;box-shadow:none!important}
