/* Divya Granth · Contacts & Sharing Hub · Tulsi Green / Antique Gold.
 * Independent desktop/tablet/Android/iPhone screen; no fixed page scroll traps.
 */
:root{--cs-bg:#09261e;--cs-deep:#0b2c23;--cs-forest:#174634;--cs-forest2:#245c43;--cs-line:#bba16f88;--cs-gold:#f2d59b;--cs-gold2:#d8ae69;--cs-cream:#fff8e9;--cs-muted:#e3d9c5;--cs-ink:#2b3b30}
*{box-sizing:border-box}
html{scroll-padding-top:155px}
body.csPage{margin:0;min-width:0;overflow-x:clip;background:radial-gradient(ellipse 80% 38% at 50% 0%,#24583d,#123a2c 50%,var(--cs-bg) 100%);color:var(--cs-cream);font:16px/1.65 system-ui,-apple-system,"Noto Sans Devanagari",sans-serif}
.csPage :is(input,select,textarea,button){font:inherit;min-width:0}
.csPage button{cursor:pointer}
.csPage a{color:inherit}
.csPage :is(button,a,input,textarea,select):focus-visible{outline:3px solid #ffd994;outline-offset:3px}
.csPage button:disabled{opacity:.55;cursor:not-allowed}
.csSkip{position:absolute;top:-100px;left:15px;z-index:50;background:#fff3d8;color:#173c2b!important;padding:10px 14px;border-radius:12px}.csSkip:focus{top:8px}
.csSrOnly{position:absolute!important;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap;width:1px;height:1px}
.csHeader{position:sticky;top:0;z-index:30;min-height:76px;padding:10px max(14px,env(safe-area-inset-left,0px)) 10px max(14px,env(safe-area-inset-right,0px));display:flex;gap:12px;align-items:center;border-bottom:1px solid #d3b27c5e;background:#0b2a20ed;backdrop-filter:blur(18px)}
.csBack{width:44px;height:44px;flex:none;display:grid;place-items:center;border:1px solid #d7b67d84;border-radius:13px;text-decoration:none;font:26px Georgia;color:#f4d9a4!important}
.csBrand{display:flex;gap:11px;align-items:center;min-width:0;text-decoration:none;color:#eed19a}
.csBrand img{width:40px;height:40px;border:1px solid #d7b67d8c;border-radius:13px}
.csBrand span{display:grid;gap:2px;font:650 22px/1.12 Georgia,serif;white-space:nowrap;color:#f6dfa8}.csBrand small{color:#e1d7c4;font:500 11px/1.4 system-ui,sans-serif}
.csHeaderEnd{margin-left:auto;display:flex;align-items:center;gap:12px}.csPrivate{display:flex;align-items:center;gap:6px;font-size:12px;color:#def3df;white-space:nowrap}.csPrivate>span:first-child{color:#70d39c;font-size:17px}
.csLang{min-height:43px;border:1px solid #ddbb816b;border-radius:13px;padding:7px 13px;background:#295441;color:#ffedc9;font-weight:750}
.csMain{width:min(100%,1240px);margin:auto;padding:clamp(13px,2.8vw,26px) clamp(12px,3vw,28px) 55px}
.csHero{isolation:isolate;position:relative;overflow:hidden;text-align:center;border:1px solid #d4ad6f;border-radius:30px;padding:40px 24px 33px;background:radial-gradient(circle at 50% -25%,#6d8c5c7a,transparent 45%),linear-gradient(140deg,#204e3b,#0d3126 65%,#08261d);box-shadow:0 22px 45px -26px #0009,inset 0 0 0 6px #fff7de0b,inset 0 0 0 8px #dcc38c42}
.csHero:before,.csHero:after{content:'✥';position:absolute;color:#f0d99b1c;font:145px/.8 Georgia;top:20px;left:-23px;pointer-events:none}
.csHero:after{left:auto;right:-25px;transform:rotate(40deg)}
.csHeroArt{position:absolute;inset:0;z-index:-1;display:grid;place-items:center;font:320px Georgia;color:#eed8a308}
.csEyebrow{font-size:12px;letter-spacing:.23em;font-weight:800;color:#e8c78e}
.csHero h1{font:700 clamp(31px,5vw,57px)/1.4 "Noto Serif Devanagari",Georgia,serif;margin:10px 0;color:#f8deaa;text-shadow:0 4px 20px #0005}
.csHero p{color:#f2e7d6;max-width:750px;margin:0 auto;font-size:clamp(14px,1.7vw,17px);line-height:1.9}
.csHeroFeatures{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:23px}
.csHeroFeatures span{padding:7px 15px;border:1px solid #edcc8c7b;border-radius:99px;font-size:12px;color:#f2dcae;background:#0b30255c}
.csNotice{display:flex;gap:12px;align-items:center;margin:15px 0 21px;background:#ffedc910;border:1px solid #e0c08855;border-radius:15px;padding:12px 17px}
.csNotice>span{font-size:22px}.csNotice p{margin:0;color:#e1d6c6;font-size:12px;line-height:1.8}
.csStats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:23px}
.csStat{padding:17px 18px;display:grid;min-width:0;gap:3px;border:1px solid #d4b57c6e;border-radius:18px;background:linear-gradient(144deg,#255440,#133b2c);box-shadow:0 12px 28px -22px #020e09}
.csStat>span{font-size:20px}.csStat strong{font:700 clamp(25px,3vw,34px)/1.2 system-ui,sans-serif;color:#f5dbaa}.csStat small{color:#e5dac6;font-size:12px}
.csTabs{position:sticky;top:74px;z-index:25;display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;padding:8px 2px 12px;background:linear-gradient(180deg,#0d3025 0%,#0d3025f2 78%,transparent)}
.csTabs button{min-height:47px;flex:none;white-space:nowrap;padding:8px 18px;background:#204934;border:1px solid #dfbf8e84;border-radius:13px;color:#f3e6d2;font-weight:750;font-size:14px}
.csTabs button.active{background:linear-gradient(140deg,#ffebbd,#d7aa67);border-color:#fae6bd;color:#21422f;box-shadow:0 6px 15px -9px #000}
.csStatus{min-height:0;font-size:13px;color:#f3d39d;font-weight:700;margin:0 0 10px}.csStatus:empty{display:none}
.csPanel[hidden]{display:none!important}
.csPanel{min-height:290px;animation:csAppear .2s ease both}
@keyframes csAppear{from{opacity:.8;transform:translateY(5px)}to{opacity:1;transform:none}}
.csSectionHead{display:flex;justify-content:space-between;align-items:end;margin:11px 0 18px}
.csKicker{color:#e4c28a;letter-spacing:.13em;font-size:11px;font-weight:850}
.csSectionHead h2{font:700 clamp(26px,3vw,34px)/1.42 "Noto Serif Devanagari",Georgia,serif;color:#f6dca9;margin:3px 0 6px}
.csSectionHead p{margin:0;color:#e2d7c7;font-size:14px}
.csButton{min-height:44px;display:inline-flex;gap:8px;justify-content:center;align-items:center;text-align:center;border-radius:12px;border:1px solid #c4a46f;background:#fff6e5;color:#2f4935!important;padding:9px 15px;font-weight:750;font-size:13px;text-decoration:none;line-height:1.4;touch-action:manipulation}
.csButton.csPrimary{background:linear-gradient(145deg,#fae1a8,#caa265);border-color:#fae1a8;color:#263b2b!important}
.csButton.csDanger{background:#fff1ec;color:#8b4037!important;border-color:#dfb0a4}
.csPlain{min-height:42px;padding:7px 10px;border:0;background:transparent;color:#f5dda7;font-size:13px;font-weight:750}
.csToolbar{display:flex;gap:12px;align-items:center}
.csSearch{display:flex;align-items:center;flex:1;gap:7px;min-width:0;border:1px solid #d9b880;border-radius:15px;background:#fffaf1;color:#53715d;padding:0 15px}
.csSearch span:not(.csSrOnly){font:30px Georgia}
.csSearch input{background:transparent;border:0;outline:0;width:100%;height:49px;color:#253d2d;min-width:0}
.csToolActions{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0 18px}
.csToolActions .csButton{background:#194330;border-color:#c5a8717c;color:#f6e8cd!important}
.csSelectedBar{position:sticky;top:137px;z-index:15;display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:10px 0;padding:11px 14px;border-radius:15px;background:#2a5e43;border:1px solid #e1c084;color:#fff0d5;box-shadow:0 9px 19px #0003}
.csSelectedBar[hidden]{display:none}.csSelectedBar strong{font-size:13px;margin-right:auto}
.csContactList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.csContactCard{display:flex;gap:12px;align-items:center;min-width:0;padding:14px 13px;border-radius:18px;background:#fffaf0;border:1px solid #d4b989;color:#274230;box-shadow:0 10px 18px -19px #000}
.csContactCard.selected{background:#f0efdc;border-color:#85bd92;box-shadow:inset 0 0 0 1px #4e9461}
.csContactPick{flex:none;display:grid;place-items:center}.csContactPick input{width:21px;height:21px;accent-color:#28794f}
.csAvatar{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#e6ce9f,#cfaf73);color:#294936;font:800 23px Georgia}
.csContactMain{min-width:0;flex:1}.csContactMain strong{display:block;font-size:15px;line-height:1.5;overflow-wrap:anywhere}.csContactMain small{display:block;color:#6a6959;font-size:12px;overflow-wrap:anywhere}
.csBadges{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.csBadge{display:inline-block;line-height:1.3;padding:4px 7px;border:1px solid #ddc7a0;border-radius:8px;font-size:10px;color:#586b53;background:#f6ead5}
.csBadge.good{color:#24603b;background:#e0efdc;border-color:#aecdaa}
.csCardActions{display:flex;gap:5px;align-items:center}
.csIconButton{width:40px;height:40px;border:1px solid #d7b888;border-radius:11px;color:#3d634b;background:#fff5df;font-size:17px}
.csIconButton.danger{color:#a0483c}
.csEmpty{display:grid;justify-items:center;text-align:center;gap:9px;padding:50px 23px;border-radius:22px;background:#173c2c;border:1px dashed #d7bd895f;color:#e5dbc7;grid-column:1/-1}
.csEmpty b{font-size:38px}.csEmpty h3{color:#f7dfab;margin:0;font-size:21px}.csEmpty p{max-width:400px;font-size:13px;margin:0}
.csSmall,.csHint{font-size:12px;color:#e0d6c3;line-height:1.8}
.csInlineForm{display:flex;gap:10px;margin:0 0 18px;max-width:730px}
.csInlineForm input,.csField :is(input,textarea,select){width:100%;min-width:0;min-height:44px;border-radius:11px;border:1px solid #cfb181;background:#fffcf4;padding:10px 12px;color:#314333}
.csInlineForm input{flex:1}
.csGroupsList{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.csGroupCard{border:1px solid #d2b584;border-radius:21px;background:linear-gradient(135deg,#fff9ea,#eae6cb);padding:18px;color:#284837;display:grid;gap:10px}
.csGroupIcon{display:grid;place-items:center;width:49px;height:49px;background:#d9e5d1;border:1px solid #b1cbaa;border-radius:14px;font-size:25px}
.csGroupCard h3{font-size:17px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.csGroupCard p{color:#706853;font-size:12px;margin:0}
.csGroupActions{display:flex;gap:7px;flex-wrap:wrap}.csGroupActions button{font-size:12px;padding:8px 11px}
.csComposerLayout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(310px,.8fr);gap:16px;margin:0 0 17px}
.csComposeLeft,.csComposeRight{display:grid;gap:16px;align-content:start;min-width:0}
.csSurface{padding:clamp(16px,2.3vw,24px);border:1px solid #d3b77f;border-radius:23px;background:linear-gradient(145deg,#fffaf0,#efe3cd);color:#2a4031;min-width:0;box-shadow:0 18px 34px -30px #0009}
.csSurface h3{display:flex;gap:9px;align-items:center;margin:0 0 17px;color:#274a34;font-size:18px;line-height:1.6}
.csStep{display:grid;place-items:center;flex:none;width:28px;height:28px;background:#214d35;border-radius:9px;color:#f4d99d;font:750 15px system-ui}
.csContentGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:18px}
.csContentGrid button{display:grid;place-items:center;align-content:center;gap:5px;min-height:91px;padding:9px 5px;border:1px solid #cfb88e;border-radius:15px;background:#fffdf6;color:#274331;text-align:center}
.csContentGrid button[aria-pressed=true]{background:#e6f0df;border-color:#689778;box-shadow:inset 0 0 0 1px #6a9b74}
.csContentGrid button span{font-size:25px}.csContentGrid button strong{font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.csSourceDetails{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid #d4ba8c;background:#f1ead9;padding:10px 13px;border-radius:12px;margin:0 0 15px}
.csSourceDetails[hidden]{display:none}.csSourceDetails span{flex:1;min-width:0;font-size:12px;font-weight:700}
.csSourceDetails a{color:#215f3d;text-decoration:underline;text-underline-offset:2px;font-size:12px;font-weight:700}
.csField{display:grid;gap:5px;font-size:13px;font-weight:720;color:#52634f;margin-bottom:13px}
.csField textarea{resize:vertical;min-height:150px;line-height:1.75}
.csSurface .csHint{color:#736956;margin:9px 0}
.csSensitiveBox{border-radius:13px;border:1px solid #d3a778;background:#fff2dd;padding:10px 12px;margin-top:12px}
.csSensitiveBox[hidden]{display:none}.csSensitiveBox label,.csConsentToggle,.csConsent{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.7;color:#66543d}
.csSensitiveBox input,.csConsentToggle input,.csConsent input{width:20px;height:20px;accent-color:#28754d;flex:none}
.csConsentToggle{margin:8px 0 13px}
.csPreviewRecipients{max-height:170px;overflow-y:auto;display:grid;gap:6px;margin:10px 0 14px}
.csRecipientChip{display:flex;gap:9px;align-items:center;background:#e7ebdf;border-radius:9px;padding:6px 9px;font-size:12px;color:#356243}
.csRecipientChip small{margin-left:auto;color:#626e60}
.csPreviewPaper{background:radial-gradient(circle at 50% -20%,#fffef5,#f0dec0 100%);border:1px solid #c5a16a;border-radius:16px;box-shadow:inset 0 0 0 5px #fff7e8;padding:18px 16px;text-align:center;min-height:150px}
.csPreviewPaper>span{display:block;font-size:21px;letter-spacing:6px;color:#a4773a}
.csPreviewPaper h4{font-size:20px;margin:5px 0 7px;color:#6a452e;overflow-wrap:anywhere}
.csPreviewPaper p{font-size:13px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#3f3b32;line-height:1.8;max-height:300px;overflow-y:auto}
.csSendActions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}
.csSendActions .csButton{min-width:0}
.csSendQueue{margin-top:16px}
.csQueueList{display:grid;gap:8px}
.csQueueItem{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 13px;border:1px solid #d4b887;border-radius:13px;background:#fefbf2}
.csQueueItem strong{flex:1;min-width:100px;overflow-wrap:anywhere;font-size:14px}
.csQueueItem .csButton{font-size:12px;padding:7px 10px}
.csQueueItem small{font-size:11px;color:#8b6b49}
.csHistoryList{display:grid;gap:9px;max-width:850px}
.csHistoryRow{display:grid;grid-template-columns:1fr auto;gap:5px;padding:16px;border:1px solid #d1b57e;border-radius:16px;background:#fff9ea;color:#3a563f}
.csHistoryRow strong{font-size:14px}.csHistoryRow small{font-size:12px;color:#6c6d58}
.csFooter{text-align:center;font-size:12px;color:#dbc9a5;border-top:1px solid #d4b17d55;padding:24px 10px calc(24px + env(safe-area-inset-bottom,0px))}
.csDialog{border:1px solid #e2c58a;border-radius:23px;width:min(calc(100vw - 24px),550px);max-height:90dvh;overflow-y:auto;padding:24px;background:#fff8ec;color:#2b4637;box-shadow:0 22px 80px #020a0677}
.csDialog::backdrop{background:#071e17cb;backdrop-filter:blur(3px)}
.csDialogHead{display:flex;align-items:start;justify-content:space-between;gap:10px;border-bottom:1px solid #dcc6a4;margin-bottom:16px;padding-bottom:12px}
.csDialog .csKicker{color:#94692e}.csDialog h2{margin:4px 0 0;font-size:23px;line-height:1.5;color:#2c5038}
.csClose{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ccb17f;border-radius:13px;color:#385d45;background:#fffaf2;font-size:26px}
.csDialogFields .csField{color:#4d5c4b}
.csGroupEditor{border:1px solid #d7c09a;border-radius:13px;padding:12px;margin:8px 0}
.csGroupEditor legend{font-weight:700;font-size:13px}
.csGroupEditor>div{display:flex;gap:8px;flex-wrap:wrap}
.csGroupEditor label{display:flex;align-items:center;gap:5px;padding:6px 10px;border:1px solid #dac5a2;border-radius:10px;font-size:12px;background:#fffcf5}
.csGroupEditor input{accent-color:#256744;width:18px;height:18px}
.csConsent{padding:11px;background:#e9f1e4;border:1px solid #b6cdae;border-radius:12px;color:#315d3d}
.csDialogActions{display:flex;gap:9px;margin-top:19px;justify-content:flex-end;flex-wrap:wrap}
html.dg-midnight body.csPage{--cs-bg:#0b1327;--cs-deep:#111c35;background:radial-gradient(ellipse 80% 38% at 50% 0%,#313e65,#18243d 52%,#0a1329)}
html.dg-midnight .csHeader{background:#111c34ed}
html.dg-midnight .csHero{background:radial-gradient(circle at 50% -25%,#45577d7a,transparent 45%),linear-gradient(140deg,#2c3b5f,#111c33 65%,#0a1329)}
html.dg-midnight .csTabs{background:linear-gradient(180deg,#111c34 0%,#111c34ed 78%,transparent)}
html.dg-midnight .csTabs button:not(.active){background:#263451}
html.dg-midnight .csStat{background:linear-gradient(144deg,#2c3d62,#152440)}
html.dg-midnight .csNotice{background:#24355688}
html.dg-midnight .csSelectedBar{background:#293c63}
html.dg-midnight .csToolActions .csButton{background:#263755}
@media(max-width:1080px){.csGroupsList{grid-template-columns:repeat(2,minmax(0,1fr))}.csComposerLayout{grid-template-columns:1fr}.csComposeRight{grid-template-columns:repeat(2,minmax(0,1fr))}.csSendActions{grid-template-columns:1fr}}
@media(max-width:710px){
 .csHeader{min-height:66px;gap:8px;padding-inline:10px}.csBrand img{width:35px;height:35px}.csBrand span{font-size:18px}.csBrand small{font-size:10px}.csPrivate{display:none}.csLang{padding-inline:9px}
 .csMain{padding:12px 10px 39px}
 .csHero{border-radius:23px;padding:29px 13px 24px}.csHero h1{font-size:35px}.csHeroFeatures{gap:6px}.csHeroFeatures span{padding:6px 9px;font-size:11px}
 .csNotice{align-items:flex-start}.csStats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.csStat{padding:13px}
 .csTabs{top:65px;margin-inline:-10px;padding-inline:10px}.csTabs button{min-height:45px;padding-inline:13px}
 .csContactList,.csGroupsList{grid-template-columns:1fr}.csComposeRight{grid-template-columns:1fr}
 .csContentGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.csContentGrid button{min-height:87px}
 .csSelectedBar{top:125px}
}
@media(max-width:410px){
 .csBrand span{font-size:16px}.csBrand img{width:31px;height:31px}.csBack{width:41px;height:41px}
 .csToolbar{flex-wrap:wrap}.csToolbar .csSearch{flex-basis:100%}.csToolbar #csAdd{flex:1}
 .csContentGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.csContentGrid button{min-height:76px}
 .csSendActions{grid-template-columns:1fr}
 .csContactCard{gap:7px;padding:10px 8px}.csContactCard .csAvatar{width:40px;height:40px;font-size:20px}.csCardActions{flex-direction:column}
 .csInlineForm{flex-wrap:wrap}.csInlineForm input{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{body.csPage{background:#fff!important;color:#222!important}.csHeader,.csHero,.csStats,.csTabs,.csToolActions,.csSendActions,.csFooter{display:none!important}.csSurface{box-shadow:none!important}}
