:root{color-scheme:light;--ink:#252238;--muted:#8b8798;--purple:#7256cb;--purple-dark:#5e43b6;--lavender:#f0ecfb;--line:#eeedf2;--surface:#fff;--canvas:#f8f7fb;--green:#36a77a;--shadow:0 8px 30px rgba(41,29,85,.045)}*{box-sizing:border-box;padding:0;margin:0}body,html{min-height:100%;max-width:100vw}body{background:var(--canvas);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}.admin-shell{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:27px 16px 17px;z-index:2}.brand{display:grid;grid-template-columns:40px 1fr;align-items:center;margin:0 7px 29px;min-height:47px}.brand-mark{grid-row:span 2;width:36px;height:36px;border-radius:12px;background:linear-gradient(145deg,#987ce8,#6549bd);color:white;display:grid;place-items:center;font-size:21px}.brand-name{font-size:16px;font-weight:750;letter-spacing:-.3px}.brand-subtitle{font-size:11px;color:var(--purple);font-weight:650;margin-top:1px}.brand-tagline{grid-column:2;font-size:10px;color:var(--muted);margin-top:4px}.navigation{display:grid;gap:5px}.nav-item{height:42px;padding:0 12px;border-radius:9px;display:flex;align-items:center;justify-content:space-between;color:#706c7f;font-size:13px;transition:.16s}.nav-item:hover{background:#f7f5fc;color:var(--purple)}.nav-item.active{background:var(--lavender);color:var(--purple-dark);font-weight:650}.nav-arrow{font-size:19px;color:#a59bbf;opacity:0}.nav-item.active .nav-arrow,.nav-item:hover .nav-arrow{opacity:1}.admin-user{margin-top:auto;border-top:1px solid var(--line);padding:17px 6px 2px;display:flex;align-items:center;gap:11px}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#ece7fb;color:var(--purple);font-weight:700}.admin-user span,.admin-user strong{display:block}.admin-user strong{font-size:12px}.admin-user span{font-size:11px;color:var(--muted);margin-top:4px}.dashboard{margin-left:252px;width:calc(100% - 252px);min-height:100vh}.topbar{height:66px;padding:0 36px;background:#fff;border-bottom:1px solid var(--line);justify-content:space-between}.topbar,.user-context{display:flex;align-items:center}.user-context{font-size:12px;color:#777386;gap:9px}.status-dot{width:7px;height:7px;border-radius:50%;background:#4ab78a}.crumb-divider{color:#cbc8d2}.topbar-actions{display:flex;align-items:center;gap:12px}.notification-button,.profile-button{padding:8px 12px;background:#fff;border:1px solid var(--line);border-radius:8px;color:#625e70;font-size:11px}.profile-button{background:#f4f0fd;color:var(--purple-dark);font-weight:650;border-color:transparent}.page-content{max-width:1500px;padding:30px 36px 42px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:1.15px;color:var(--purple);font-weight:750;margin-bottom:8px}.page-heading h1{font-size:26px;letter-spacing:-.7px;margin-bottom:7px}.welcome{font-size:12px;color:var(--muted)}.date-chip,.subtle-button{border:1px solid var(--line);border-radius:8px;background:white;color:#6f6a7c;padding:9px 12px;font-size:11px}.date-chip span{margin-left:14px;color:var(--purple)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}.panel,.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.stat-card{position:relative;min-height:126px;padding:17px 16px}.stat-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;float:right;font-size:15px}.tone-0{background:#f0ecfc;color:#7457c6}.tone-1{background:#e9f7f1;color:#39a77a}.tone-2{background:#fff4e6;color:#d49335}.tone-3{background:#ffedf1;color:#ce6381}.stat-card p{color:#777386;font-size:11px;margin:2px 0 12px}.stat-card strong{display:block;font-size:23px;letter-spacing:-.7px;margin-bottom:5px}.stat-card>span{font-size:10px;color:#a09cab}.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.panel{padding:19px 19px 17px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.panel-heading .eyebrow{margin-bottom:5px}.panel-heading h2,.section-toolbar h2{font-size:15px;letter-spacing:-.2px}.action-list{display:grid}.action-list a{display:flex;align-items:center;gap:11px;min-height:59px;border-top:1px solid #f1f0f4}.action-icon{width:30px;height:30px;border-radius:9px;background:#f4f1fc;color:var(--purple);display:grid;place-items:center}.action-list small,.action-list strong{display:block}.action-list strong{font-size:11px;margin-bottom:4px}.action-list small{font-size:10px;color:var(--muted)}.action-list b{margin-left:auto;color:#aaa4b7;font-size:18px}.empty-state{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12px 23px}.empty-icon{width:36px;height:36px;border-radius:12px;background:#f2eefc;color:var(--purple);display:grid;place-items:center;font-size:17px;margin-bottom:10px}.empty-state h3{font-size:12px;margin-bottom:6px}.empty-state p{max-width:280px;font-size:10px;line-height:1.6;color:var(--muted)}.quick-section{margin-top:17px}.quick-section>.panel-heading{padding:0 1px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quick-grid a{background:#fff;border:1px solid var(--line);border-radius:9px;padding:13px 14px;font-size:11px;font-weight:600;box-shadow:var(--shadow)}.quick-grid a:hover{border-color:#d9d0f4;color:var(--purple)}.quick-grid span{float:right;color:var(--purple)}.section-panel{padding:0;overflow:hidden}.section-toolbar{padding:20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.section-toolbar p{font-size:11px;color:var(--muted);margin-top:6px}.primary-button{border:0;border-radius:8px;padding:9px 12px;background:#ded9ec;color:#817b8c;font-size:11px}.primary-button:disabled{cursor:not-allowed}.table-wrap{overflow-x:auto}.table-wrap table{width:100%;border-collapse:collapse;text-align:left}.table-wrap th{height:42px;padding:0 18px;background:#fbfafc;color:#858092;font-size:10px;font-weight:650;white-space:nowrap}.settings-placeholder,.table-empty{min-height:245px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#777386}.settings-placeholder strong,.table-empty strong{font-size:12px;color:var(--ink);margin:0 0 5px}.settings-placeholder span:last-child,.table-empty span{font-size:10px;color:var(--muted)}.settings-placeholder{padding:30px}.settings-placeholder .empty-icon{margin-bottom:12px}@media(max-width:1100px){.sidebar{width:220px}.dashboard{margin-left:220px;width:calc(100% - 220px)}.page-content{padding:26px 24px}.topbar{padding:0 24px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.sidebar{position:static;width:100%;height:auto;padding:12px;display:block;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0 4px 12px}.admin-user,.brand-tagline{display:none}.navigation{display:flex;overflow-x:auto;gap:5px}.nav-item{height:36px;white-space:nowrap;padding:0 10px}.nav-arrow{display:none}.admin-shell{display:block}.dashboard{margin:0;width:100%}.topbar{height:52px;padding:0 15px}.user-context{font-size:10px}.page-content{padding:22px 14px}.page-heading h1{font-size:23px}.stats-grid{gap:9px}.stat-card{padding:13px;min-height:114px}.content-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:repeat(2,1fr)}}.active-button{background:var(--purple);color:white;cursor:pointer}.active-button:hover{background:var(--purple-dark)}.modal-backdrop{position:fixed;inset:0;z-index:10;background:rgba(31,25,50,.42);display:grid;place-items:center;padding:20px}.form-modal{position:relative;background:#fff;border-radius:14px;width:min(520px,100%);max-height:92vh;overflow:auto;padding:26px;box-shadow:0 24px 80px rgba(31,25,50,.22)}.form-modal h2{font-size:21px;margin-bottom:7px}.modal-copy{font-size:12px;color:var(--muted);margin-bottom:20px}.modal-close{position:absolute;right:17px;top:15px;border:0;background:transparent;font-size:25px;color:var(--muted);cursor:pointer}.form-modal form{display:grid;gap:13px}.form-modal label{display:grid;gap:6px;font-size:11px;font-weight:650;color:#5e596d}.form-modal input,.form-modal textarea{width:100%;height:39px;border:1px solid var(--line);border-radius:7px;padding:0 10px;font:inherit;font-size:12px;outline:none}.form-modal textarea{height:auto;padding:10px;resize:vertical}.form-modal input:focus,.form-modal textarea:focus{border-color:#b8a8e7;box-shadow:0 0 0 3px #f0ecfb}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:11px}.form-notice{font-size:10px;line-height:1.5;color:#786e50;background:#fff8e9;padding:10px;border-radius:7px}.form-error{color:#9c4b38;background:#fff0ed}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}.cancel-button{border:1px solid var(--line);background:white;border-radius:8px;padding:9px 14px;color:#6f6a7c;font-size:11px;cursor:pointer}.modal-actions .primary-button{cursor:pointer}@media(max-width:520px){.form-modal{padding:22px 16px}.form-row{grid-template-columns:1fr}}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 10% 8%,#f0ecfb,transparent 34%),var(--canvas)}.auth-card{width:min(100%,430px);padding:34px;border:1px solid var(--line);border-radius:16px;background:white;box-shadow:0 20px 65px rgba(41,29,85,.08)}.auth-brand{display:flex;align-items:center;gap:11px;margin-bottom:35px}.auth-brand>span{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#987ce8,#6549bd);color:white;font-size:22px}.auth-brand small,.auth-brand strong{display:block}.auth-brand strong{font-size:15px}.auth-brand small{margin-top:3px;color:var(--muted);font-size:11px}.auth-card h1{margin:0;font-size:28px}.auth-intro{margin:9px 0 23px;color:var(--muted);font-size:12px}.auth-card form{display:grid;gap:10px}.auth-card label{margin-top:4px;font-size:11px;font-weight:650}.auth-card input{height:43px;padding:0 11px;border:1px solid var(--line);border-radius:8px;font:inherit}.auth-card input:focus{outline:2px solid #e8e1fa;border-color:#b8a8e7}.auth-card form button{height:43px;margin-top:8px;border:0;border-radius:8px;background:var(--purple);color:white;font-weight:700;cursor:pointer}.auth-card form button:disabled{opacity:.65}.auth-message{margin-top:14px;padding:11px;border-radius:8px;background:#f2eefc;color:#5e43b6;font-size:11px;line-height:1.5}.auth-loading{min-height:100vh;display:grid;place-items:center;color:var(--muted)}.admin-row-actions{display:flex;flex-wrap:wrap;gap:5px}.admin-data-stack{display:grid;gap:18px}.puja-reference-note{margin-bottom:18px}.puja-reference-note .section-toolbar{align-items:center}.puja-reference-note .section-toolbar>div{max-width:650px}.puja-source-custom,.puja-source-reference{display:inline-block;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:650;white-space:nowrap}.puja-source-reference{background:#edf1e8;color:#4f6548}.puja-source-custom{background:#f1ecfb;color:#614ea1}.puja-reference-note a{white-space:nowrap;text-decoration:none}.graha-jaap-panel{margin-top:18px}.graha-jaap-panel .section-toolbar{gap:14px}.graha-jaap-panel .section-toolbar p{max-width:620px;line-height:1.5}.jaap-count-field{display:flex;align-items:center;gap:7px;white-space:nowrap}.jaap-count-field input{width:125px;height:34px;border:1px solid var(--line);border-radius:7px;padding:0 9px;font:inherit;font-size:12px;color:var(--ink)}.jaap-count-field input:focus{outline:2px solid #e8e1fa;border-color:#b8a8e7}.jaap-count-field span{font-size:10px;color:var(--muted)}.graha-jaap-panel td{height:52px;padding:6px 18px;border-top:1px solid #f1f0f4;font-size:12px}.course-drafts{display:grid;gap:18px}.course-draft-panel{padding-bottom:20px}.course-draft-panel .section-toolbar{border-bottom:0;padding-bottom:5px}.course-draft-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px 20px 18px}.course-draft-fields label{display:grid;gap:6px;font-size:11px;font-weight:650;color:#5e596d}.course-draft-fields input,.course-draft-fields textarea{width:100%;border:1px solid var(--line);border-radius:7px;padding:9px 10px;font:inherit;font-size:12px;line-height:1.5;color:var(--ink)}.course-draft-fields input{height:38px}.course-draft-fields textarea{resize:vertical;min-height:68px}.course-draft-fields input:focus,.course-draft-fields textarea:focus{outline:2px solid #e8e1fa;border-color:#b8a8e7}.course-source-line{padding:0 20px;font-size:11px;color:var(--muted)}.course-source-line a{color:var(--purple-dark);text-decoration:underline}.course-draft-save{display:flex;align-items:center;gap:11px}.course-draft-save span{font-size:11px;color:var(--muted)}@media(max-width:720px){.course-draft-fields{grid-template-columns:1fr}}.astrologers-table{table-layout:fixed;min-width:1120px}.astrologers-table td,.astrologers-table th{vertical-align:top;white-space:normal;overflow-wrap:anywhere}.astrologers-table th:first-child{width:190px}.astrologers-table th:nth-child(2){width:210px}.astrologers-table th:nth-child(3){width:155px}.astrologers-table th:nth-child(4){width:110px}.astrologers-table th:nth-child(5),.astrologers-table th:nth-child(6){width:100px}.astrologers-table th:nth-child(7){width:115px}.astrologers-table th:nth-child(8){width:240px}.astrologer-bio-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5;max-width:220px}.astrologer-bio-details{margin-top:8px}.astrologer-bio-details summary{color:var(--purple-dark);cursor:pointer;font-size:11px}.astrologer-bio-details p{max-height:240px;overflow:auto;white-space:pre-wrap;line-height:1.6;margin-top:8px}.counselling-control{display:grid;gap:8px;align-items:start}.counselling-state{font-size:11px;color:var(--muted)}.counselling-state.approved{color:#28734e;font-weight:650}.counselling-review-button{width:max-content;max-width:100%;color:var(--purple-dark);border-color:#d8c9f5;cursor:pointer;background:#f5f1fd}.counselling-notice{font-size:11px;line-height:1.5;color:#28734e}.counselling-modal{text-align:left;white-space:normal}.counselling-modal p{line-height:1.6}.counselling-modal .counselling-review-check{display:flex;align-items:center;gap:9px;line-height:1.5}.counselling-modal .counselling-review-check input{width:17px;height:17px;flex-shrink:0}.counselling-modal button:disabled{opacity:.55;cursor:not-allowed}.counselling-modal .modal-actions{flex-wrap:wrap}.profile-edit-control{margin-top:10px}.profile-edit-control>.subtle-button{cursor:pointer;color:var(--purple-dark);border-color:#d8c9f5}.profile-edit-modal{text-align:left;white-space:normal;width:min(620px,100%)}.profile-edit-modal form{margin-top:18px}.profile-edit-modal input[readonly]{background:#f6f4f8;color:var(--muted)}.profile-edit-modal .modal-copy{margin:0;line-height:1.6}.profile-edit-modal .profile-email-help{font-size:12px;line-height:1.6;color:var(--muted)}.profile-email-help summary{cursor:pointer;color:var(--purple-dark);font-weight:650}.profile-email-help p{margin:8px 0}.profile-email-help a{color:var(--purple-dark);text-decoration:underline}.profile-edit-modal button:disabled{opacity:.55;cursor:not-allowed}.profile-photo-field{margin:16px 0}.profile-photo-controls{display:flex;align-items:center;gap:16px;margin:8px 0}.profile-photo-preview{width:88px;height:88px;border-radius:50%;overflow:hidden;background:#f1eafa;display:grid;place-items:center;flex-shrink:0}.profile-photo-preview img{width:100%;height:100%;object-fit:cover}.profile-list-photo{width:40px;height:40px;border-radius:50%;object-fit:cover;float:left;margin-right:8px}