:root{
  --bg:#f5f9ff;--surface:#ffffff;--text:#1f2d3d;--muted:#66788a;--primary:#4b7bec;
  --primary2:#79a7ff;--border:#dce8f5;--soft:#edf5ff;--shadow:0 14px 40px rgba(52,94,150,.10);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Poppins,Arial,sans-serif}
a{color:#3769c9;text-decoration:none}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:14px 6%;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.brand{display:flex;align-items:center;gap:9px;font:700 25px "Baloo 2",sans-serif}.brand-mark{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#e6f0ff;color:#3d6fd4}
nav{display:flex;gap:23px}nav a{font-size:14px;color:#516579}.outline-btn,.secondary-btn,.primary-btn{border-radius:12px;padding:10px 18px;font-weight:600;cursor:pointer;font-family:inherit}.outline-btn{background:white;border:1px solid #bcd0e8;color:#3e67a6}.primary-btn{border:0;background:var(--primary);color:white;box-shadow:0 8px 18px rgba(75,123,236,.22)}.secondary-btn{border:1px solid #cbdcf0;background:#fff;color:#416aa7}
.hero{max-width:1180px;margin:0 auto;padding:85px 30px 70px;display:grid;grid-template-columns:1.45fr .75fr;gap:55px;align-items:center}.eyebrow{font-size:12px;letter-spacing:1.7px;color:#5e82bd;font-weight:700}.hero h1{font:700 clamp(42px,5vw,68px)/1.02 "Baloo 2",sans-serif;margin:13px 0 20px}.hero h1 span{color:#5d91f3}.hero p{color:var(--muted);max-width:680px;line-height:1.8}.hero-actions{display:flex;gap:12px;margin:28px 0}.tiny-note{font-size:11px!important;color:#8291a0!important}.hero-card{background:linear-gradient(145deg,#eaf3ff,#fff);border:1px solid var(--border);border-radius:30px;padding:32px;box-shadow:var(--shadow)}.floating-icon{font-size:42px}.hero-card h3{font:700 27px "Baloo 2";margin:12px 0 20px}.mini-row{padding:12px 0;border-bottom:1px solid #dce8f2;color:#5a6e83}.mini-row span{color:#4b7bec;margin-right:9px}
.section{max-width:1180px;margin:auto;padding:75px 30px}.section.soft{max-width:none;background:#edf5ff}.section-head{text-align:center;max-width:720px;margin:0 auto 35px}.section-head h2{font:700 42px "Baloo 2";margin:8px 0}.section-head p{color:var(--muted)}.card-grid{display:grid;gap:20px}.card-grid.three{grid-template-columns:repeat(3,1fr)}.info-card,.video-card,.form-card,.quiz-card{background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:27px;box-shadow:var(--shadow)}.info-card h3{font:700 26px "Baloo 2";margin:12px 0 5px}.info-card p{color:var(--muted);line-height:1.7}.icon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;font-size:25px}.blue{background:#e6f0ff}.mint{background:#e4f8f1}.lavender{background:#eeeaff}
.issue-list{max-width:920px;margin:auto}.issue{display:grid;grid-template-columns:70px 1fr;gap:20px;padding:24px;background:#fff;border:1px solid var(--border);border-radius:18px;margin:12px 0}.issue-no{font:700 30px "Baloo 2";color:#74a0ea}.issue h3{margin:0 0 7px;font-size:18px}.issue p{margin:0;color:var(--muted);line-height:1.7}
.faq-wrap{max-width:900px;margin:auto}.faq-wrap details{background:white;border:1px solid var(--border);border-radius:15px;margin:10px 0;padding:17px 20px}.faq-wrap summary{cursor:pointer;font-weight:600}.faq-wrap p{color:var(--muted);line-height:1.7}
.video-grid{max-width:900px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:20px}.video-embed{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:15px;background:#e5f0ff}.video-card h3{font:700 23px "Baloo 2";margin:15px 0 5px}.video-card p{color:var(--muted)}
.help-layout{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}.help-layout h2{font:700 45px "Baloo 2";margin:8px 0}.help-layout>div>p{color:var(--muted);line-height:1.8}.author-note{margin-top:25px;padding:18px;background:#edf5ff;border:1px solid var(--border);border-radius:15px;color:#5e7083;font-size:13px;line-height:1.6}
label{display:block;font-size:13px;font-weight:600;color:#4c6074;margin-bottom:14px}input,textarea,select{width:100%;margin-top:7px;padding:12px 13px;border:1px solid #d1deeb;border-radius:11px;font:inherit;background:#fbfdff;outline:none}input:focus,textarea:focus,select:focus{border-color:#7ba6ed}.form-message{font-size:13px;color:#4c7bd0}.quiz-card{max-width:750px;margin:auto}.quiz-card h3{font-size:20px}.quiz-option{display:block;width:100%;text-align:left;background:#f6faff;border:1px solid #d7e5f5;border-radius:12px;padding:13px;margin:9px 0;cursor:pointer;font-family:inherit}.quiz-option.selected{border-color:#5e8fe9;background:#eaf2ff}.quiz-result{margin-top:20px;font-weight:700}
footer{padding:35px 6%;background:#17283e;color:#dce8f5;display:flex;justify-content:space-between;gap:20px}footer span{color:#9db1c7;font-size:12px}.footer-links{display:flex;gap:18px}.footer-links a{color:#c9dbf2}
.modal{position:fixed;inset:0;background:rgba(18,37,60,.45);display:grid;place-items:center;padding:20px;z-index:50}.modal.hidden{display:none}.modal-box{position:relative;background:white;border-radius:22px;padding:30px;max-width:430px;width:100%;box-shadow:0 25px 80px rgba(0,0,0,.18)}.close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:30px;color:#7d8da0;cursor:pointer}.demo-login{font-size:11px;color:#8a99a8;margin-top:15px}
.modal-box [hidden]{display:none}
.auth-switch{margin:12px 0 0;color:#77889a;font-size:12px}
.auth-switch button{padding:0;border:0;background:transparent;color:#3769c9;font:inherit;font-weight:700;cursor:pointer}
@media(max-width:850px){nav{display:none}.hero,.help-layout{grid-template-columns:1fr}.card-grid.three,.video-grid{grid-template-columns:1fr}.hero{padding-top:55px}.hero h1{font-size:48px}footer{flex-direction:column}}

/* Author support dashboard */
.admin-page{--admin-ink:#202d43;--admin-muted:#8290a5;--admin-line:#e8edf5;--admin-blue:#536ee8;--admin-pale:#f5f8ff;min-height:100vh;background:#f7f9fd;color:var(--admin-ink);font-family:"DM Sans",Arial,sans-serif}
.admin-page button,.admin-page input,.admin-page textarea{font:inherit}
.admin-topbar{height:76px;padding:0 max(5.5%,calc((100% - 1260px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--admin-line)}
.admin-brand{display:flex;align-items:center;gap:11px;color:#26334a;font:800 17px Manrope,sans-serif;letter-spacing:-.5px}
.admin-brand-mark,.admin-footer-mark{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#526fe8;color:white;font:800 19px Manrope,sans-serif;box-shadow:0 5px 12px #526fe833}
.admin-brand-divider{color:#c1cada;padding:0 9px;font-weight:500}
.admin-brand-section{color:#8491a4;font-size:13px;font-weight:600;letter-spacing:0}
.admin-top-actions{display:flex;align-items:center;gap:21px}
.admin-secure-label{display:flex;align-items:center;gap:8px;color:#77859b;font-size:12px;font-weight:600}
.admin-secure-label span{width:7px;height:7px;border-radius:50%;background:#4bbd88;box-shadow:0 0 0 4px #e7f7ef}
.admin-home-link{color:#66768d;font-size:12px;font-weight:600}
.admin-home-link span{padding-left:4px}
.admin-logout,.admin-refresh{border:1px solid #e3e9f2;border-radius:10px;background:#fff;color:#596a82;font-size:12px;font-weight:700;padding:10px 15px;cursor:pointer;transition:background .16s,border-color .16s,transform .16s}
.admin-logout:hover,.admin-refresh:hover{background:#f7f9ff;border-color:#cdd7f4}
.admin-main{max-width:1140px;margin:0 auto;padding:50px 30px 28px}
.admin-welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:29px}
.admin-eyebrow{display:flex;align-items:center;gap:8px;margin:0 0 9px;color:#7182a1;font-size:10px;font-weight:700;letter-spacing:1.55px}
.admin-eyebrow-mark{display:grid;place-items:center;width:19px;height:19px;border-radius:6px;background:#e9edff;color:var(--admin-blue);font:800 12px Manrope,sans-serif}
.admin-welcome h1{margin:0;color:#202d43;font:800 clamp(28px,4vw,37px)/1.25 Manrope,sans-serif;letter-spacing:-1.5px}
.admin-welcome h1 #adminName{color:var(--admin-blue)}
.admin-wave{color:#aebbe8}
.admin-intro{margin:9px 0 0;color:#8793a6;font-size:13px}
.admin-refresh{display:flex;align-items:center;gap:8px;margin-bottom:3px;padding:11px 15px}
.admin-refresh span{color:var(--admin-blue);font-size:18px;line-height:12px}
.admin-refresh:active{transform:scale(.97)}
.admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:31px}
.admin-stat-card{min-height:133px;padding:18px 20px;background:#fff;border:1px solid var(--admin-line);border-radius:15px;box-shadow:0 4px 14px #263c5c05}
.admin-stat-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.admin-stat-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;font-size:16px;font-weight:700}
.admin-stat-icon-blue{background:#eef1ff;color:#6577e6}
.admin-stat-icon-amber{background:#fff4df;color:#dc9f39}
.admin-stat-icon-green{background:#e7f8ef;color:#42ad7a}
.admin-stat-caption{color:#a3adbc;font-size:9px;font-weight:700;letter-spacing:1px}
.admin-stat-card>strong{display:block;color:#26344b;font:800 25px/1.1 Manrope,sans-serif;letter-spacing:-.7px}
.admin-stat-label{display:block;margin-top:4px;color:#8b97a9;font-size:11px}
.admin-inbox{overflow:hidden;background:#fff;border:1px solid var(--admin-line);border-radius:17px;box-shadow:0 8px 26px #263c5c07}
.admin-inbox-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 25px 20px}
.admin-title-row{display:flex;align-items:center;gap:10px}
.admin-title-row h2{margin:0;color:#26344b;font:800 19px Manrope,sans-serif;letter-spacing:-.5px}
.admin-inbox-count{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:7px;background:#f0f3ff;color:#6679e4;font-size:10px;font-weight:700}
.admin-inbox-heading p{margin:5px 0 0;color:#929daf;font-size:11px}
.admin-search{display:flex;align-items:center;gap:8px;width:min(100%,245px);padding:0 10px;border:1px solid #e8edf4;border-radius:9px;background:#fafbfe;color:#99a4b5}
.admin-search>span{font-size:21px;line-height:1}
.admin-search input{width:100%;min-width:0;height:36px;margin:0;padding:0;border:0;outline:0;background:transparent;color:#35435a;font-size:11px}
.admin-search input::placeholder{color:#a4afbf}
.admin-search kbd{padding:2px 5px;border:1px solid #e2e7ef;border-radius:4px;background:#fff;color:#a2adbc;font:10px "DM Sans",sans-serif}
.admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 25px;border-bottom:1px solid #edf0f5}
.admin-filters{display:flex;align-items:center;gap:21px}
.admin-filter{position:relative;display:flex;align-items:center;gap:7px;height:43px;padding:0 1px;border:0;border-bottom:2px solid transparent;background:transparent;color:#8a96a8;font-size:11px;font-weight:600;cursor:pointer}
.admin-filter:hover{color:#536ee8}
.admin-filter.active{border-bottom-color:#6277e8;color:#536ee8}
.admin-filter>span{display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:6px;background:#fff3df;color:#c18a34;font-size:9px}
.admin-sort-label{color:#a0aaba;font-size:10px}
.admin-sort-label span{padding-right:5px;color:#7888b8;font-size:14px}
.admin-notice{display:flex;align-items:center;gap:10px;margin:17px 24px;padding:12px 14px;border:1px solid #e8edf5;border-radius:10px;background:#f9faff;color:#738199;font-size:11px}
.admin-notice[hidden]{display:none}
.admin-notice-error{border-color:#f1d9d9;background:#fff8f8;color:#a65050}
.admin-spinner{width:14px;height:14px;border:2px solid #dce3f6;border-top-color:#6078e6;border-radius:50%;animation:admin-spin .75s linear infinite}
@keyframes admin-spin{to{transform:rotate(360deg)}}
.admin-query-list{display:grid;gap:0}
.admin-query-card{padding:22px 25px 21px;border-bottom:1px solid #edf0f5}
.admin-query-card:last-child{border-bottom:0}
.admin-query-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}
.admin-query-title-group{display:flex;align-items:center;gap:9px;min-width:0}
.admin-category{padding:5px 9px;border-radius:6px;background:#f0f3ff;color:#596dde;font-size:9px;font-weight:700}
.admin-query-id{overflow:hidden;color:#a2adbc;font-size:9px;font-weight:700;letter-spacing:.7px;text-overflow:ellipsis;white-space:nowrap}
.admin-status-badge{display:flex;align-items:center;gap:6px;flex-shrink:0;padding:5px 9px;border-radius:20px;font-size:9px;font-weight:700}
.admin-status-badge::before{width:6px;height:6px;border-radius:50%;content:""}
.admin-status-badge.is-pending{background:#fff6e8;color:#bd8530}
.admin-status-badge.is-pending::before{background:#e2a746}
.admin-status-badge.is-resolved{background:#eaf8f0;color:#34976b}
.admin-status-badge.is-resolved::before{background:#43b47e}
.admin-question{margin:16px 0 14px;color:#37455b;font-size:13px;line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap}
.admin-person{display:flex;align-items:center;gap:10px;margin-bottom:15px}
.admin-avatar{display:grid;place-items:center;width:31px;height:31px;flex-shrink:0;border-radius:50%;background:#eef1ff;color:#6175df;font:700 12px Manrope,sans-serif}
.admin-person-details{display:grid;gap:2px;min-width:0}
.admin-person-details strong{color:#526077;font-size:10px}
.admin-person-details a{overflow:hidden;color:#9aa5b5;font-size:9px;text-overflow:ellipsis}
.admin-query-date{margin-left:auto;color:#a4adbb;font-size:9px;text-align:right}
.admin-reply-label{display:block;margin:0;color:#8895a8;font-size:9px;font-weight:700;letter-spacing:.8px}
.admin-reply-input{display:block;width:100%;min-height:75px;resize:vertical;margin-top:7px;padding:10px 12px;border:1px solid #e7ebf2;border-radius:9px;outline:0;background:#fcfdff;color:#3f4d63;font-size:11px;line-height:1.6;transition:border-color .16s,box-shadow .16s}
.admin-reply-input:focus{border-color:#9eacf0;box-shadow:0 0 0 3px #687be51a}
.admin-reply-input::placeholder{color:#aab4c2}
.admin-reply-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:10px}
.admin-reply-hint{color:#a1abba;font-size:9px}
.admin-save-reply{flex-shrink:0;min-width:100px;padding:9px 13px;border:0;border-radius:8px;background:#586fe5;color:#fff;font-size:10px;font-weight:700;cursor:pointer;box-shadow:0 4px 9px #586fe525;transition:background .16s,transform .16s}
.admin-save-reply:hover{background:#465ed6}
.admin-save-reply:active{transform:scale(.97)}
.admin-save-reply:disabled{cursor:wait;opacity:.65}
.admin-empty{padding:50px 20px 55px;text-align:center}
.admin-empty[hidden]{display:none}
.admin-empty-icon{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 12px;border-radius:14px;background:#f0f3ff;color:#677be4;font-size:20px}
.admin-empty h3{margin:0;color:#405069;font:700 15px Manrope,sans-serif}
.admin-empty p{margin:7px 0 0;color:#98a3b2;font-size:11px}
.admin-footer{display:flex;justify-content:space-between;gap:15px;padding:19px 3px;color:#9aa5b4;font-size:9px}
.admin-footer>span:first-child{display:flex;align-items:center;gap:7px;color:#76849a;font-weight:700}
.admin-footer-mark{width:18px;height:18px;border-radius:6px;font-size:10px}
.admin-footer-dot{color:#c5ccd6}
@media(max-width:700px){.admin-topbar{height:65px;padding:0 18px}.admin-brand{font-size:14px}.admin-brand-mark{width:33px;height:33px}.admin-brand-divider{padding:0 5px}.admin-brand-section{font-size:11px}.admin-top-actions{gap:12px}.admin-secure-label,.admin-home-link{display:none}.admin-logout{padding:8px 11px}.admin-main{padding:34px 16px 20px}.admin-welcome{align-items:flex-start;flex-direction:column;gap:16px}.admin-welcome h1{font-size:29px}.admin-intro{max-width:430px;line-height:1.6}.admin-refresh{align-self:flex-start}.admin-stats{gap:9px;margin-bottom:20px}.admin-stat-card{min-height:112px;padding:13px 12px}.admin-stat-caption{font-size:7px;letter-spacing:.5px}.admin-stat-icon{width:28px;height:28px}.admin-stat-card>strong{font-size:21px}.admin-stat-label{font-size:9px}.admin-inbox-heading{align-items:flex-start;flex-direction:column;padding:20px 16px 15px}.admin-search{width:100%}.admin-toolbar{align-items:flex-start;flex-direction:column;gap:0;padding:0 16px}.admin-filters{width:100%;justify-content:space-between;gap:9px}.admin-filter{font-size:10px}.admin-sort-label{padding:8px 0}.admin-query-card{padding:19px 16px}.admin-question{font-size:12px}.admin-query-date{max-width:125px;font-size:8px}.admin-reply-hint{max-width:54%;line-height:1.4}.admin-footer{flex-direction:column;padding:17px 2px;line-height:1.6}}
@media(max-width:390px){.admin-brand-section,.admin-brand-divider{display:none}.admin-stats{grid-template-columns:1fr}.admin-stat-card{min-height:92px}.admin-stat-top{margin-bottom:5px}.admin-query-title-group{gap:6px}.admin-query-id{font-size:8px}.admin-filter{font-size:9px}}
.admin-auth-gate{display:grid;min-height:calc(100vh - 165px);place-items:center;padding:24px 0}
.admin-auth-gate[hidden],#adminDashboard[hidden]{display:none}
.admin-auth-card{width:min(100%,440px);padding:35px;background:#fff;border:1px solid var(--admin-line);border-radius:18px;box-shadow:0 12px 38px #263c5c0d}
.admin-auth-card [hidden]{display:none}
.admin-auth-card h1{margin:10px 0 7px;color:#202d43;font:800 27px Manrope,sans-serif;letter-spacing:-.8px}
.admin-auth-description{margin:0 0 23px;color:#8793a6;font-size:12px;line-height:1.7}
.admin-auth-card label{display:block;margin-bottom:15px;color:#64738a;font-size:11px;font-weight:700}
.admin-auth-card input{display:block;width:100%;height:43px;margin-top:7px;padding:0 12px;border:1px solid #e3e9f2;border-radius:9px;outline:0;background:#fbfcff;color:#35435a;font-size:12px}
.admin-auth-card input:focus{border-color:#9eacf0;box-shadow:0 0 0 3px #687be51a}
.admin-auth-card input::placeholder{color:#aab4c2}
.admin-auth-submit{width:100%;height:43px;margin-top:3px;border:0;border-radius:9px;background:#586fe5;color:#fff;font-size:12px;font-weight:700;cursor:pointer;box-shadow:0 4px 9px #586fe525}
.admin-auth-submit:hover{background:#465ed6}
.admin-auth-submit:disabled{cursor:wait;opacity:.65}
.admin-auth-message{min-height:17px;margin:11px 0 0;color:#6477d8;font-size:11px;line-height:1.6}
.admin-auth-switch{margin:15px 0 0;color:#8390a3;font-size:11px;text-align:center}
.admin-auth-switch button{padding:0;border:0;background:transparent;color:#536ee8;font-size:11px;font-weight:700;cursor:pointer}
.admin-auth-note{margin:19px 0 0;padding:11px 12px;border:1px solid #e8edf5;border-radius:8px;background:#f8faff;color:#919cad;font-size:10px;line-height:1.6}
@media(max-width:700px){.admin-auth-gate{min-height:calc(100vh - 130px);padding:15px 0}.admin-auth-card{padding:26px 20px}}
