/* Component styles: light values are fallbacks; theme roles are defined in theme.css. */
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--theme-text, #162033);background:var(--theme-surface, #f4f7fb);font-synthesis:none;text-rendering:optimizeLegibility;--blue:var(--theme-accent, #0d63df);--blue-2:var(--theme-accent-hover, #0754c5);--navy:var(--theme-text, #15375e);--text:var(--theme-text, #162033);--muted:var(--theme-muted, #68758a);--line:var(--theme-border, #e3e9f2);--surface:var(--theme-surface, #fff);--soft:var(--theme-raised, #f7f9fc);--danger:var(--theme-danger, #d33847);--green:var(--theme-success, #138a5b);--shadow:var(--theme-shadow, 0 10px 35px rgba(34,65,108,.08));}*{box-sizing:border-box;}html{background:var(--theme-surface, #f4f7fb);}body{margin:0;min-width:320px;min-height:100vh;background:var(--theme-surface, #f4f7fb);}button,input,select,textarea{font:inherit;}button,a{-webkit-tap-highlight-color:transparent;}button{cursor:pointer;}a{color:inherit;text-decoration:none;}img{display:block;max-width:100%;}.muted{color:var(--muted);}.card{background:var(--surface);border:1px solid var(--theme-border, rgba(214,223,237,.9));border-radius:18px;box-shadow:var(--theme-shadow, 0 4px 22px rgba(25,56,97,.045));}.primary-button,.secondary-button{border:0;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;font-weight:750;transition:.16s ease;}.primary-button{background:var(--blue);color:var(--theme-on-accent, #fff);box-shadow:var(--theme-shadow, 0 7px 18px rgba(13,99,223,.19));}.primary-button:hover{background:var(--blue-2);transform:translateY(-1px);}.primary-button:disabled{opacity:.55;cursor:not-allowed;transform:none;}.secondary-button{background:var(--theme-raised, #f1f5fb);color:var(--theme-muted, #32445e);border:1px solid var(--theme-control-border, #dde5f0);}.secondary-button:hover{background:var(--theme-hover, #e9f0f9);}.danger-text{color:var(--danger);}.icon-button{border:0;background:transparent;color:var(--theme-muted, #55657b);width:40px;height:40px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;}.icon-button:hover{background:var(--theme-hover, #f0f4f9);color:var(--theme-text, #26384e);}.icon-button svg{width:20px;height:20px;}.avatar{border-radius:50%;object-fit:cover;flex:0 0 auto;}.avatar-fallback{display:inline-flex;align-items:center;justify-content:center;background:var(--theme-raised, linear-gradient(145deg,#ddecff,#b9d4ff));color:var(--theme-accent, #1b5aa6);font-weight:800;border:1px solid var(--theme-border, #b9d2ef);}.brand{display:flex;align-items:center;gap:11px;}.brand-mark{width:40px;height:40px;border-radius:12px;background:var(--theme-raised, #0e5dcc);color:var(--theme-text, #fff);display:flex;align-items:center;justify-content:center;box-shadow:var(--theme-shadow, 0 8px 20px rgba(15,88,194,.17));}.brand>span:last-child{display:flex;flex-direction:column;}.brand strong{font-size:23px;line-height:1;color:var(--theme-text, #17385d);letter-spacing:-.8px;}.brand strong span{color:var(--theme-accent, #1471f5);}.brand small{font-size:9.5px;color:var(--theme-muted, #758196);margin-top:4px;font-weight:650;}.app-shell{min-height:100vh;}.sidebar{position:fixed;left:0;top:0;bottom:0;width:252px;background:var(--theme-surface, #fff);border-right:1px solid var(--line);padding:22px 16px 18px;display:flex;flex-direction:column;z-index:30;}.sidebar-top{padding:0 5px 19px;display:flex;align-items:center;justify-content:space-between;}.sidebar nav{display:flex;flex-direction:column;gap:5px;min-height:0;overflow:auto;}.sidebar nav>a,.sidebar-foot>a,.nav-button{display:flex;align-items:center;gap:13px;min-height:46px;border-radius:11px;padding:0 13px;font-weight:670;color:var(--theme-muted, #4b5c72);font-size:14.5px;}.sidebar nav>a svg,.sidebar-foot>a svg,.nav-button svg{width:20px;}.sidebar nav>a:hover,.sidebar-foot>a:hover,.nav-button:hover{background:var(--theme-hover, #f5f8fc);color:var(--theme-text, #263a53);}.sidebar nav>a.active{background:var(--theme-surface, linear-gradient(135deg,#0e64e5,#0b5bd0));color:var(--theme-text, #fff);box-shadow:var(--theme-shadow, 0 8px 20px rgba(13,99,223,.2));}.nav-divider{height:1px;background:var(--theme-raised, #edf1f6);margin:12px 7px 8px;}.nav-title{font-size:10px;letter-spacing:.1em;color:var(--theme-muted, #8a95a6);padding:0 12px;margin:3px 0 2px;font-weight:800;}.sidebar-foot{margin-top:auto;padding-top:12px;border-top:1px solid var(--theme-border, #edf1f6);display:flex;flex-direction:column;gap:4px;}.nav-button{border:0;width:100%;background:transparent;text-align:left;}.sidebar-close{display:none;}.page-area{margin-left:252px;min-height:100vh;}.topbar{height:68px;background:var(--theme-surface, rgba(255,255,255,.94));border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:20px;padding:0 26px;backdrop-filter:blur(14px);}.top-search{height:42px;max-width:530px;flex:1;background:var(--theme-raised, #f2f6fb);border:1px solid var(--theme-border, #e4eaf2);border-radius:13px;display:flex;align-items:center;gap:11px;padding:0 14px;color:var(--theme-muted, #778399);cursor:text;}.top-search svg{width:19px;}.top-search span{font-size:14px;}.top-actions{display:flex;align-items:center;gap:5px;margin-left:auto;}.user-menu{border:0;background:transparent;display:flex;align-items:center;gap:10px;border-radius:12px;padding:5px 7px;}.user-menu:hover{background:var(--theme-hover, #f5f8fc);}.user-menu>span{display:flex;flex-direction:column;text-align:left;max-width:170px;}.user-menu strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.user-menu small{font-size:10.5px;color:var(--theme-muted, #7d899a);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.mobile-menu{display:none;}.content-grid{width:min(1180px,calc(100% - 42px));margin:24px auto 50px;display:grid;grid-template-columns:minmax(0,1fr);gap:18px;}.content-grid.with-right{grid-template-columns:minmax(0,760px) 330px;justify-content:center;align-items:start;}.main-column{min-width:0;}.right-rail{display:flex;flex-direction:column;gap:16px;position:sticky;top:92px;}.welcome-panel{border-radius:20px;background:var(--theme-surface, linear-gradient(120deg,#0f416f 0%,#0d5aa9 54%,#0b72d9 100%));color:var(--theme-text, #fff);min-height:178px;padding:28px 30px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;box-shadow:var(--theme-shadow, 0 14px 34px rgba(15,73,128,.16));margin-bottom:16px;}.welcome-panel:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;border:36px solid var(--theme-border, rgba(255,255,255,.075));}.welcome-panel p{margin:0 0 5px;color:var(--theme-text, #d6e9ff);font-weight:750;}.welcome-panel h1{font-size:28px;line-height:1.12;letter-spacing:-.7px;margin:0;max-width:540px;}.welcome-panel>div>span{display:block;margin-top:12px;color:var(--theme-text, #d9e8f8);max-width:560px;font-size:14px;}.welcome-stat{z-index:1;min-width:130px;min-height:104px;border-radius:17px;background:var(--theme-hover, rgba(255,255,255,.12));border:1px solid var(--theme-border, rgba(255,255,255,.17));backdrop-filter:blur(9px);display:flex;flex-direction:column;align-items:center;justify-content:center;}.welcome-stat svg{width:22px;margin-bottom:4px;}.welcome-stat strong{font-size:23px;}.welcome-stat small{font-size:10px;color:var(--theme-text, #d6e8fa);}.composer{padding:17px 18px;margin-bottom:15px;}.composer-row{display:flex;align-items:flex-start;gap:12px;}.composer textarea{resize:none;flex:1;border:0;outline:0;background:var(--theme-raised, #f3f6fa);border-radius:14px;padding:13px 15px;min-height:50px;line-height:1.45;color:var(--text);}.composer textarea::placeholder{color:var(--theme-muted, #8a96a8);}.composer-actions{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:11px;border-top:1px solid var(--theme-border, #edf1f6);}.text-action{height:36px;border:0;background:transparent;color:var(--theme-muted, #4d5f76);font-weight:700;display:flex;align-items:center;gap:8px;border-radius:9px;padding:0 8px;}.text-action:hover{background:var(--theme-hover, #f4f7fb);}.text-action svg{width:19px;color:var(--theme-success, #20a05a);}.composer-submit{display:flex;align-items:center;gap:9px;}.audience-select{height:39px;border:1px solid var(--theme-control-border, #dfe6ef);border-radius:10px;padding:0 8px;display:flex;align-items:center;gap:6px;background:var(--theme-raised, #fff);color:var(--theme-muted, #485a70);}.audience-select svg{width:17px;}.audience-select select{border:0;background:transparent;outline:0;font-weight:650;color:var(--theme-muted, #485a70);font-size:13px;}.file-strip{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 0 56px;}.file-strip span{font-size:11px;background:var(--theme-raised, #edf4ff);color:var(--theme-muted, #2d5e99);padding:6px 8px;border-radius:8px;display:flex;gap:6px;align-items:center;}.file-strip button{border:0;background:transparent;color:inherit;padding:0;display:flex;}.feed-tabs{display:flex;gap:3px;border-bottom:1px solid var(--theme-border, #dfe6ef);margin:2px 0 15px;}.feed-tabs button,.admin-tabs button{border:0;background:transparent;padding:12px 17px;color:var(--theme-muted, #607086);font-weight:750;position:relative;}.feed-tabs button.active,.admin-tabs button.active{color:var(--blue);}.feed-tabs button.active:after,.admin-tabs button.active:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:3px;border-radius:4px;background:var(--blue);}.post-card{padding:17px 20px;margin-bottom:15px;}.post-head{display:flex;justify-content:space-between;align-items:flex-start;}.author-link{display:flex;align-items:center;gap:11px;}.author-link>span{display:flex;flex-direction:column;}.author-link strong{font-size:14.5px;display:flex;align-items:center;gap:4px;}.verified{color:var(--theme-accent, #0e71ee);vertical-align:middle;flex:0 0 auto;}.author-link small{font-size:11px;color:var(--theme-muted, #7c8898);margin-top:3px;display:flex;align-items:center;gap:4px;}.post-menu-wrap{position:relative;}.popover{position:absolute;right:0;top:42px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #e0e7f0);border-radius:11px;min-width:150px;padding:5px;box-shadow:var(--shadow);z-index:5;}.popover button{width:100%;border:0;background:transparent;padding:9px 10px;border-radius:8px;display:flex;align-items:center;gap:9px;color:var(--theme-muted, #495a70);}.popover button:hover{background:var(--theme-hover, #f4f7fb);}.popover svg{width:16px;}.official-label{display:inline-flex;align-items:center;gap:6px;color:var(--theme-accent, #1f65b7);background:var(--theme-raised, #edf5ff);border:1px solid var(--theme-border, #d6e8ff);border-radius:8px;padding:5px 8px;font-size:11px;font-weight:750;margin-top:11px;}.post-body{white-space:pre-wrap;line-height:1.55;font-size:14.4px;margin:13px 0 12px;color:var(--theme-text, #25354a);}.post-images{display:grid;gap:5px;overflow:hidden;border-radius:13px;max-height:530px;}.post-images img{width:100%;height:100%;object-fit:cover;min-height:220px;}.images-2{grid-template-columns:1fr 1fr;}.images-3,.images-4{grid-template-columns:1fr 1fr;}.images-3 img:first-child{grid-row:span 2;}.post-meta{display:flex;justify-content:space-between;padding:10px 2px 8px;color:var(--theme-muted, #778496);font-size:11.5px;}.post-actions{border-top:1px solid var(--theme-border, #edf1f5);border-bottom:1px solid var(--theme-border, #edf1f5);display:grid;grid-template-columns:1fr 1fr;padding:3px 0;}.post-actions button{height:39px;border:0;background:transparent;border-radius:8px;color:var(--theme-muted, #53657b);font-weight:700;display:flex;align-items:center;justify-content:center;gap:7px;}.post-actions button:hover{background:var(--theme-hover, #f4f7fb);}.post-actions svg{width:18px;}.post-actions .is-liked{color:var(--theme-danger, #e03a50);}.comments{padding-top:10px;display:flex;flex-direction:column;gap:8px;}.comment{display:flex;gap:8px;align-items:flex-start;}.comment>div{background:var(--theme-raised, #f4f6fa);border-radius:12px;padding:8px 11px;min-width:0;}.comment strong{font-size:11.5px;}.comment p{font-size:12.5px;line-height:1.4;margin:2px 0 0;}.comment-box{display:flex;align-items:center;gap:8px;padding-top:10px;}.comment-box input{flex:1;border:1px solid var(--theme-control-border, #e2e8f0);background:var(--theme-raised, #f7f9fc);border-radius:20px;height:36px;padding:0 14px;outline:0;font-size:12.5px;}.comment-box input:focus{border-color:var(--theme-accent, #aacbfa);background:var(--theme-raised, #fff);box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(13,99,223,.08));}.rail-card{padding:17px;}.rail-heading{font-weight:800;margin-bottom:14px;}.school-mini{display:flex;gap:11px;align-items:center;}.school-icon{width:48px;height:48px;background:var(--theme-raised, #edf4ff);border:1px solid var(--theme-border, #d8e7fa);color:var(--theme-accent, #155fae);border-radius:13px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;}.school-icon.small{width:38px;height:38px;border-radius:10px;}.school-icon svg{width:23px;}.school-mini strong,.school-list-row strong{font-size:12.5px;}.school-mini p{margin:3px 0 0;color:var(--theme-muted, #7b8796);font-size:11px;}.school-list-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--theme-border, #edf1f5);}.school-list-row div{display:flex;flex-direction:column;min-width:0;}.school-list-row strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.school-list-row small{font-size:10.5px;color:var(--theme-muted, #7e8a9a);margin-top:3px;}.quote-card{border-radius:18px;background:var(--theme-raised, #eaf3ff);border:1px solid var(--theme-border, #d8e9ff);padding:20px;display:flex;gap:12px;align-items:center;color:var(--theme-muted, #356493);}.quote-card svg{flex:0 0 auto;}.quote-card p{font-style:italic;font-size:13px;line-height:1.45;}.page-heading{margin:8px 0 20px;}.page-heading h1{font-size:28px;letter-spacing:-.65px;margin:0;color:var(--theme-text, #1a2b41);}.page-heading p{margin:7px 0 0;color:var(--theme-muted, #778599);font-size:14px;}.row-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;}.search-panel{padding:13px;display:grid;grid-template-columns:1fr 220px;gap:10px;}.search-input{height:44px;border:1px solid var(--theme-control-border, #dfe6ef);border-radius:11px;display:flex;align-items:center;gap:9px;padding:0 12px;background:var(--theme-raised, #fafbfd);}.search-input svg{width:18px;color:var(--theme-muted, #77869a);}.search-input input{border:0;outline:0;background:transparent;flex:1;min-width:0;}.search-panel select,.form-grid select,.form-grid input,.form-grid textarea,.inline-form input{border:1px solid var(--theme-control-border, #dfe6ef);background:var(--theme-raised, #fff);border-radius:10px;min-height:43px;padding:9px 11px;outline:0;color:var(--theme-text, #26384f);}.search-panel select:focus,.form-grid select:focus,.form-grid input:focus,.form-grid textarea:focus,.inline-form input:focus{border-color:var(--theme-accent, #9fc7fb);box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(13,99,223,.08));}.search-section{margin-top:24px;}.search-section h2{font-size:16px;margin:0 0 11px;}.search-section h2 span{color:var(--theme-muted, #8a96a6);font-size:12px;margin-left:5px;}.people-list{overflow:hidden;}.person-row{display:flex;gap:12px;align-items:center;padding:13px 16px;border-bottom:1px solid var(--theme-border, #edf1f5);}.person-row:last-child{border-bottom:0;}.person-row:hover{background:var(--theme-hover, #f8fafc);}.person-row>div{display:flex;flex-direction:column;}.person-row strong{font-size:13.5px;display:flex;gap:4px;align-items:center;}.person-row strong svg{width:16px;}.person-row span{font-size:11.5px;color:var(--theme-muted, #5d6e83);margin-top:3px;}.person-row small{font-size:10.5px;color:var(--theme-muted, #8792a1);margin-top:2px;}.school-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.school-result-card{padding:15px;display:flex;align-items:center;gap:12px;}.school-result-card:hover{border-color:var(--theme-border, #c8daf1);transform:translateY(-1px);}.school-result-card div{display:flex;flex-direction:column;}.school-result-card strong{font-size:13px;}.school-result-card p,.school-result-card small{margin:3px 0 0;font-size:11px;color:var(--theme-muted, #798698);}.empty-state{background:var(--theme-surface, #fff);border:1px dashed var(--theme-border, #d8e1ed);border-radius:18px;min-height:220px;padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;}.empty-state>span{width:54px;height:54px;border-radius:15px;background:var(--theme-raised, #eef5ff);color:var(--theme-accent, #1d68bc);display:flex;align-items:center;justify-content:center;}.empty-state h3{margin:13px 0 5px;font-size:16px;}.empty-state p{margin:0;color:var(--theme-muted, #7c899a);font-size:12.5px;max-width:360px;}.thin-loader{height:3px;background:var(--theme-surface, linear-gradient(90deg,transparent,#0d63df,transparent));background-size:200% 100%;animation:loading 1s linear infinite;margin-top:5px;}.feed-skeleton{display:grid;gap:15px;}.skeleton-card,.profile-skeleton{height:260px;background:var(--theme-raised, linear-gradient(90deg,#fff,#f5f7fa,#fff));background-size:200% 100%;animation:loading 1.2s infinite;}.notifications{overflow:hidden;}.notification-row{width:100%;border:0;border-bottom:1px solid var(--theme-border, #edf1f5);background:var(--theme-surface, #fff);text-align:left;padding:15px 17px;display:flex;align-items:flex-start;gap:12px;position:relative;}.notification-row:last-child{border-bottom:0;}.notification-row:hover{background:var(--theme-hover, #f8fafc);}.notification-row.unread{background:var(--theme-selected, #f2f7ff);}.notification-icon{width:40px;height:40px;border-radius:12px;background:var(--theme-raised, #e7f1ff);color:var(--theme-accent, #1367c9);display:flex;align-items:center;justify-content:center;flex:0 0 auto;}.notification-icon svg{width:19px;}.notification-row>div{display:flex;flex-direction:column;}.notification-row strong{font-size:13px;}.notification-row p{font-size:12px;color:var(--theme-muted, #56677d);margin:4px 0 5px;}.notification-row small{font-size:10.5px;color:var(--theme-muted, #8a96a5);}.notification-row i{position:absolute;right:17px;top:20px;width:8px;height:8px;border-radius:50%;background:var(--theme-raised, #1474f5);}.profile-cover{border-radius:22px;background:var(--theme-surface, linear-gradient(130deg,#153d68,#0d66c5));min-height:215px;padding:34px;margin-bottom:18px;display:flex;align-items:flex-end;color:var(--theme-text, #fff);box-shadow:var(--theme-shadow, 0 12px 30px rgba(25,76,130,.13));}.profile-cover-inner{display:flex;align-items:center;gap:20px;}.profile-cover .avatar{border:4px solid var(--theme-border, rgba(255,255,255,.85));box-shadow:var(--theme-shadow, 0 8px 22px rgba(12,41,75,.25));}.profile-cover h1{font-size:29px;display:flex;align-items:center;gap:7px;margin:0;letter-spacing:-.7px;}.profile-cover .verified{color:var(--theme-accent, #8fc6ff);}.profile-cover p{margin:6px 0 10px;color:var(--theme-text, #d8eaff);}.profile-cover span{display:inline-flex;align-items:center;gap:6px;margin-right:15px;font-size:11.5px;color:var(--theme-text, #e6f1ff);}.profile-cover span svg{width:15px;}.profile-layout,.school-layout{display:grid;grid-template-columns:1.5fr .85fr;gap:15px;}.profile-about,.profile-side,.school-about,.school-layout>.card{padding:20px;}.profile-layout h2,.school-layout h2,.settings-card h2,.admin-section h2{font-size:16px;margin:0 0 14px;}.profile-bio{line-height:1.55;font-size:13.5px;color:var(--theme-muted, #3a4b61);}.profile-facts{margin-top:16px;border-top:1px solid var(--theme-border, #edf1f5);}.profile-facts>div{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--theme-border, #edf1f5);}.profile-facts svg{width:19px;color:var(--theme-muted, #5a7492);}.profile-facts span{display:flex;flex-direction:column;}.profile-facts small{font-size:10px;color:var(--theme-muted, #8591a0);margin-bottom:3px;}.profile-facts strong,.profile-facts a{font-size:12.5px;}.profile-side p{font-size:13px;}.cohort-box{margin-top:15px;background:var(--theme-raised, #eef5ff);color:var(--theme-accent, #235a99);border-radius:12px;padding:12px;display:flex;gap:9px;align-items:center;}.school-hero{border-radius:21px;min-height:180px;padding:27px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dfe6ef);display:flex;gap:18px;align-items:center;margin-bottom:17px;}.school-hero-icon{width:78px;height:78px;border-radius:20px;background:var(--theme-surface, linear-gradient(140deg,#e6f1ff,#c7dfff));display:flex;align-items:center;justify-content:center;color:var(--theme-accent, #145eac);}.school-hero-icon svg{width:38px;height:38px;}.school-hero p{margin:0 0 4px;text-transform:uppercase;letter-spacing:.09em;font-size:9px;font-weight:800;color:var(--theme-muted, #7b8b9e);}.school-hero h1{font-size:27px;margin:0;letter-spacing:-.5px;}.school-hero>div>span{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--theme-muted, #778599);margin-top:7px;}.school-hero span svg{width:14px;}.school-stats{display:flex;gap:24px;margin-top:20px;}.school-stats>div{display:flex;align-items:center;gap:9px;}.school-stats svg{color:var(--theme-accent, #1766bb);}.school-stats span{display:flex;flex-direction:column;}.school-stats strong{font-size:18px;}.school-stats small{font-size:10px;color:var(--theme-muted, #84909f);}.specialty-list,.cohort-list{display:flex;flex-wrap:wrap;gap:7px;}.specialty-list span,.cohort-list span{font-size:11px;background:var(--theme-raised, #eef5ff);color:var(--theme-muted, #315e91);border-radius:8px;padding:7px 9px;}.school-layout h3{font-size:13px;margin:18px 0 9px;}.settings-card{padding:22px;margin-bottom:15px;}.settings-title{display:flex;gap:12px;}.settings-title h2{margin-bottom:5px;}.settings-title p{margin:0;color:var(--theme-muted, #7b8797);font-size:12px;}.settings-icon{width:42px;height:42px;background:var(--theme-raised, #eaf4ff);color:var(--theme-accent, #1662b8);border-radius:12px;display:flex;align-items:center;justify-content:center;}.avatar-editor{display:flex;align-items:center;gap:16px;margin:20px 0;}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}.form-grid .full{grid-column:1/-1;}.form-grid label{font-size:11px;font-weight:760;color:var(--theme-muted, #57687d);display:flex;flex-direction:column;gap:6px;}.form-grid label small{font-weight:500;color:var(--theme-muted, #8a95a4);}.form-grid textarea{resize:vertical;line-height:1.45;}.select-with-icon{position:relative;}.select-with-icon svg{position:absolute;left:10px;top:12px;width:17px;color:var(--theme-muted, #78879a);}.select-with-icon select{width:100%;padding-left:34px;}.form-actions{display:flex;justify-content:flex-end;margin-top:17px;}.success-message{color:var(--theme-success, #16734f);background:var(--theme-success-soft, #edf9f4);border:1px solid var(--theme-border, #d3efe3);border-radius:9px;padding:9px 11px;font-size:12px;}.security-note{background:var(--theme-raised, #f6f9fd);border:1px solid var(--theme-border, #e5ebf3);border-radius:12px;padding:14px;display:flex;gap:10px;color:var(--theme-muted, #506178);}.security-note svg{color:var(--theme-accent, #1670cb);flex:0 0 auto;}.security-note p{margin:0;font-size:12.5px;line-height:1.5;}.admin-tabs{display:flex;gap:2px;border-bottom:1px solid var(--theme-border, #dde5ef);margin:-2px 0 17px;overflow:auto;}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:15px;}.stat-card{padding:16px;display:flex;align-items:center;gap:12px;}.stat-card>span{width:42px;height:42px;border-radius:11px;background:var(--theme-raised, #edf5ff);color:var(--theme-accent, #1766bb);display:flex;align-items:center;justify-content:center;}.stat-card>span svg{width:20px;}.stat-card>div{display:flex;flex-direction:column;}.stat-card strong{font-size:22px;}.stat-card small{font-size:10.5px;color:var(--theme-muted, #7e8b9b);}.admin-section{padding:20px;margin-bottom:15px;}.inline-form{display:grid;grid-template-columns:1.5fr 1fr 1fr auto;gap:9px;margin-top:14px;}.admin-table-wrap{overflow:auto;}.admin-table{width:100%;border-collapse:collapse;font-size:11.5px;}.admin-table th{text-align:left;color:var(--theme-muted, #7a8798);font-size:9.5px;text-transform:uppercase;letter-spacing:.04em;padding:10px;border-bottom:1px solid var(--theme-border, #e5ebf2);}.admin-table td{padding:10px;border-bottom:1px solid var(--theme-border, #edf1f5);vertical-align:middle;}.table-user{display:flex;align-items:center;gap:9px;min-width:160px;}.table-user span{display:flex;flex-direction:column;}.table-user strong{font-size:11.5px;}.table-user small{font-size:9.5px;color:var(--theme-muted, #8591a0);}.status{display:inline-flex;padding:5px 7px;border-radius:7px;font-size:9.5px;font-weight:800;}.status.ok{background:var(--theme-success-soft, #eaf7f1);color:var(--theme-success, #177250);}.status.off{background:var(--theme-danger-soft, #fff0f2);color:var(--theme-danger, #b63242);}.report-list{display:flex;flex-direction:column;}.report-row{padding:14px 0;border-bottom:1px solid var(--theme-border, #edf1f5);display:flex;justify-content:space-between;gap:15px;align-items:center;}.report-row:last-child{border-bottom:0;}.report-row strong{font-size:12px;}.report-row p{font-size:12px;margin:5px 0;color:var(--theme-muted, #4f6076);}.report-row small{font-size:10px;color:var(--theme-muted, #8792a0);}.report-row>div:last-child{display:flex;gap:7px;}.audit-list>div{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid var(--theme-border, #edf1f5);}.audit-dot{width:9px;height:9px;border-radius:50%;background:var(--theme-raised, #1b6cc5);margin:5px 2px 0;}.audit-list strong{font-size:11.5px;}.audit-list p{margin:2px 0;font-size:10.5px;color:var(--theme-muted, #66768b);}.audit-list small{font-size:9.5px;color:var(--theme-muted, #909baa);}.auth-page{min-height:100vh;background:var(--theme-surface, #fff);display:grid;grid-template-columns:1.05fr .95fr;}.auth-story{background:var(--theme-surface, linear-gradient(145deg,#0f3459,#075db1));color:var(--theme-text, #fff);display:flex;align-items:center;padding:60px;position:relative;overflow:hidden;}.auth-story:before,.auth-story:after{content:"";position:absolute;border-radius:50%;border:55px solid var(--theme-border, rgba(255,255,255,.045));}.auth-story:before{width:360px;height:360px;right:-180px;top:-120px;}.auth-story:after{width:270px;height:270px;left:-150px;bottom:-140px;}.auth-story .brand strong{color:var(--theme-text, #fff);}.auth-story .brand small{color:var(--theme-text, #bfd8f0);}.auth-story .brand-mark{background:var(--theme-surface, #fff);color:var(--theme-accent, #0f5ba7);}.auth-story-inner{max-width:620px;position:relative;z-index:1;}.auth-story h1{font-size:47px;line-height:1.07;letter-spacing:-1.8px;margin:58px 0 20px;}.auth-story p{color:var(--theme-text, #d5e6f7);line-height:1.65;font-size:16px;max-width:560px;}.auth-points{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px;}.auth-points span{display:flex;align-items:center;gap:7px;background:var(--theme-hover, rgba(255,255,255,.09));border:1px solid var(--theme-border, rgba(255,255,255,.1));padding:8px 11px;border-radius:9px;font-size:11px;}.auth-points svg{width:16px;}.auth-panel{display:flex;align-items:center;justify-content:center;padding:40px;}.auth-card{width:min(430px,100%);}.auth-card>.brand{display:none;}.auth-card h2{font-size:30px;letter-spacing:-.7px;margin:0 0 5px;}.auth-card>.muted{margin:0 0 28px;}.auth-card form{display:flex;flex-direction:column;gap:15px;}.auth-card label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--theme-muted, #56677c);font-weight:750;}.input-with-icon{height:47px;border:1px solid var(--theme-control-border, #dce4ed);border-radius:11px;display:flex;align-items:center;padding:0 12px;gap:9px;}.input-with-icon:focus-within{border-color:var(--theme-accent, #8ebcf5);box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(13,99,223,.08));}.input-with-icon svg{width:18px;color:var(--theme-muted, #8290a2);}.input-with-icon input{border:0;outline:0;flex:1;min-width:0;}.auth-submit{width:100%;min-height:47px;margin-top:4px;}.auth-links{display:flex;justify-content:center;gap:5px;font-size:11.5px;color:var(--theme-muted, #778397);margin-top:20px;}.auth-links a{color:var(--theme-accent, #0d63df);font-weight:800;}.demo-note{margin-top:26px;background:var(--theme-raised, #f4f7fb);border-radius:11px;padding:12px;display:flex;flex-direction:column;font-size:10.5px;}.demo-note span{color:var(--theme-muted, #718096);margin-top:3px;}.form-error{color:var(--theme-danger, #b62c3b);background:var(--theme-danger-soft, #fff2f3);border:1px solid var(--theme-border, #ffd9dd);border-radius:8px;padding:8px 10px;font-size:11.5px;}.register-page{min-height:100vh;background:var(--theme-raised, #f3f6fa);padding:40px 18px;display:flex;justify-content:center;}.register-card{width:min(680px,100%);background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #e0e7ef);border-radius:20px;padding:28px 30px;box-shadow:var(--theme-shadow, 0 12px 38px rgba(39,70,111,.07));}.register-card>.brand{margin-bottom:28px;}.register-card h1{font-size:28px;letter-spacing:-.7px;margin:12px 0 5px;}.back-link{display:inline-flex;align-items:center;gap:6px;color:var(--theme-muted, #62738a);font-size:11px;}.back-link svg{width:16px;}.register-card>.muted{margin-top:0;margin-bottom:23px;font-size:12.5px;}.register-card .primary-button{min-height:46px;}.empty-page{min-height:65vh;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;}.empty-page>svg{width:45px;height:45px;color:var(--theme-muted, #3c6fa5);}.empty-page h1{font-size:21px;margin:15px 0 5px;}.empty-page p{color:var(--theme-muted, #77869a);}.app-loading{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;background:var(--theme-surface, #fff);}.loader-mark{font-size:29px;color:var(--theme-text, #15385d);font-weight:850;}.loader-mark span{color:var(--theme-accent, #0d6be8);}.loader-line{width:150px;height:3px;border-radius:3px;background:var(--theme-surface, linear-gradient(90deg,#e8eef7,#0d63df,#e8eef7));background-size:200% 100%;animation:loading 1s linear infinite;}.bottom-nav{display:none;}.scrim{display:none;}@keyframes loading{to{background-position:-200% 0;}}@media(max-width:1120px){.content-grid.with-right{grid-template-columns:minmax(0,760px);}.right-rail{display:none;}.content-grid{width:min(780px,calc(100% - 38px));}.stat-grid{grid-template-columns:repeat(2,1fr);}}@media(max-width:820px){.sidebar{transform:translateX(-105%);transition:transform .2s ease;box-shadow:var(--theme-shadow, 10px 0 35px rgba(26,55,92,.14));}.sidebar.is-open{transform:translateX(0);}.sidebar-close{display:inline-flex;}.scrim{display:block;position:fixed;inset:0;background:var(--theme-overlay, rgba(12,31,53,.38));z-index:29;}.page-area{margin-left:0;}.topbar{height:62px;padding:0 14px;}.mobile-menu{display:inline-flex;}.top-search{max-width:none;}.top-search span{display:none;}.top-search{flex:0 0 42px;width:42px;padding:0;justify-content:center;}.top-actions>.icon-button:first-child{display:none;}.user-menu>span,.user-menu>svg{display:none;}.content-grid,.content-grid.with-right{width:min(720px,calc(100% - 24px));margin-top:14px;margin-bottom:88px;}.bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;height:65px;background:var(--theme-surface, rgba(255,255,255,.96));border-top:1px solid var(--theme-border, #dce4ee);z-index:25;padding-bottom:env(safe-area-inset-bottom);backdrop-filter:blur(14px);}.bottom-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:var(--theme-muted, #738196);font-size:9px;font-weight:750;}.bottom-nav a svg{width:20px;}.bottom-nav a.active{color:var(--theme-accent, #0d63df);}.welcome-panel{padding:24px;min-height:160px;}.welcome-panel h1{font-size:24px;}.welcome-stat{display:none;}.profile-layout,.school-layout{grid-template-columns:1fr;}.auth-page{grid-template-columns:1fr;}.auth-story{display:none;}.auth-card>.brand{display:flex;margin-bottom:42px;}.auth-panel{padding:28px 20px;}.inline-form{grid-template-columns:1fr 1fr;}.inline-form .primary-button{grid-column:1/-1;}.row-heading{align-items:flex-start;}.row-heading .secondary-button{flex:0 0 auto;font-size:0;padding:0 11px;}.row-heading .secondary-button svg{margin:0;}.search-panel{grid-template-columns:1fr;}.school-results{grid-template-columns:1fr;}}@media(max-width:560px){.card{border-radius:15px;}.topbar{gap:8px;}.user-menu{padding:3px;}.content-grid,.content-grid.with-right{width:100%;margin-top:0;}.main-column>.page-heading,.main-column>.feed-tabs,.main-column>.search-section,.main-column>.admin-tabs{margin-left:14px;margin-right:14px;}.welcome-panel{border-radius:0;margin-bottom:10px;min-height:154px;padding:22px 18px;}.welcome-panel p{font-size:12px;}.welcome-panel h1{font-size:23px;}.welcome-panel>div>span{font-size:12px;line-height:1.45;}.composer,.post-card,.notifications,.search-panel,.settings-card,.admin-section,.profile-layout>.card,.school-layout>.card{border-left:0;border-right:0;border-radius:0;box-shadow:none;}.composer{margin-bottom:9px;padding:13px 14px;}.composer .avatar{width:39px!important;height:39px!important;}.composer textarea{font-size:13px;padding:11px;}.composer-actions{align-items:flex-end;}.composer-submit{gap:4px;}.audience-select{max-width:152px;}.audience-select select{max-width:118px;font-size:11px;}.primary-button{padding:0 12px;}.composer .primary-button svg{display:none;}.file-strip{margin-left:0;}.feed-tabs{margin-bottom:8px;}.post-card{margin-bottom:8px;padding:14px;}.post-body{font-size:13.5px;}.post-images{border-radius:10px;}.post-images img{min-height:180px;}.post-meta{font-size:10.5px;}.post-actions button{font-size:11.5px;}.page-heading{padding:17px 14px 0;margin:0 0 14px!important;}.page-heading h1{font-size:24px;}.page-heading p{font-size:12px;}.search-panel{padding:12px;}.search-section{margin-top:18px;}.school-results{gap:7px;}.profile-cover{border-radius:0;min-height:200px;padding:24px 17px;}.profile-cover-inner{align-items:flex-end;gap:14px;}.profile-cover .avatar{width:78px!important;height:78px!important;}.profile-cover h1{font-size:22px;}.profile-cover p{font-size:12px;}.profile-cover span{font-size:10px;display:flex;margin:4px 0;}.profile-layout,.school-layout{gap:8px;}.school-hero{border-radius:0;border-left:0;border-right:0;padding:22px 17px;min-height:160px;}.school-hero-icon{width:62px;height:62px;border-radius:16px;}.school-hero h1{font-size:22px;}.form-grid{grid-template-columns:1fr;}.form-grid .full{grid-column:auto;}.settings-card{padding:18px 15px;}.stat-grid{grid-template-columns:1fr 1fr;padding:0 12px;gap:8px;}.stat-card{border-radius:13px;padding:12px;box-shadow:none;}.stat-card strong{font-size:19px;}.admin-tabs{margin-left:0!important;margin-right:0!important;padding-left:7px;}.admin-section{padding:17px 13px;}.inline-form{grid-template-columns:1fr;}.inline-form .primary-button{grid-column:auto;}.report-row{align-items:flex-start;flex-direction:column;}.register-page{padding:0;}.register-card{border:0;border-radius:0;min-height:100vh;padding:22px 17px;}.auth-panel{align-items:flex-start;padding-top:38px;}.auth-card h2{font-size:28px;}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important;}}
/* Standalone runtime additions */
#app{min-height:100vh;}.svg-icon{width:1em;height:1em;display:inline-block;vertical-align:-.125em;}.standalone-toast{position:fixed;right:20px;bottom:20px;background:var(--theme-surface, #142a44);color:var(--theme-text, #fff);padding:12px 15px;border-radius:12px;box-shadow:var(--theme-elevation, 0 12px 32px rgba(15,38,65,.25));z-index:100;font-size:12px;animation:toastIn .18s ease;}.standalone-modal{position:fixed;inset:0;background:var(--theme-surface, rgba(13,30,52,.5));z-index:80;display:grid;place-items:center;padding:20px;}.standalone-modal>.card{width:min(520px,100%);padding:20px;}.standalone-modal textarea{width:100%;min-height:110px;border:1px solid var(--theme-control-border, #dfe6ef);border-radius:10px;padding:11px;resize:vertical;}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px;}.post-image-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:10px 0 0 56px;}.post-image-preview img{width:100%;height:80px;object-fit:cover;border-radius:8px;}.simple-filter-row{display:flex;gap:8px;flex-wrap:wrap;}.simple-filter-row select{min-height:40px;border:1px solid var(--theme-control-border, #dfe6ef);border-radius:9px;padding:0 10px;background:var(--theme-raised, #fff);}@keyframes toastIn{from{transform:translateY(8px);opacity:0;}to{transform:none;opacity:1;}}

/* v0.2 — оформление по одобрената визуална концепция */
.app-shell{background:var(--theme-surface, #f5f7fb);}.sidebar{width:268px;padding:20px 18px 14px;background:var(--theme-surface, #fff);border-right:1px solid var(--theme-border, #e7ebf1);}.page-area{margin-left:268px;}.sidebar-top{padding:1px 5px 21px;}.sidebar-nav{gap:3px!important;}.sidebar nav>a,.sidebar-nav>a{min-height:47px;border-radius:10px;padding:0 14px;gap:14px;color:var(--theme-muted, #32465f);font-size:14px;font-weight:670;}.sidebar nav>a svg,.sidebar-nav>a svg{width:21px;height:21px;}.sidebar nav>a.active,.sidebar-nav>a.active{background:var(--theme-surface, #1165dc);color:var(--theme-text, #fff);box-shadow:var(--theme-shadow, 0 8px 20px rgba(17,101,220,.19));}.nav-divider{margin:13px 9px 9px;background:var(--theme-raised, #edf0f5);}.nav-title{margin:2px 0 4px;padding:0 10px;color:var(--theme-muted, #7e8999);font-size:10px;letter-spacing:.08em;}.sidebar-promo{margin-top:auto;position:relative;overflow:hidden;min-height:192px;padding:21px 18px 17px;border-radius:13px;background:var(--theme-surface, linear-gradient(155deg,#2a567b 0%,#133854 46%,#082842 100%));color:var(--theme-text, #fff);display:flex;flex-direction:column;align-items:flex-start;box-shadow:var(--theme-shadow, 0 12px 30px rgba(15,49,76,.14));}.sidebar-promo:before{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-54px;top:-44px;background:var(--theme-surface, rgba(255,255,255,.07));}.sidebar-promo-icon{width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:var(--theme-surface, rgba(255,255,255,.13));position:relative;z-index:1;}.sidebar-promo strong{font-size:16px;margin-top:18px;position:relative;z-index:1;}.sidebar-promo p{font-size:12.5px;line-height:1.5;color:var(--theme-text, #e0edf8);margin:7px 0 14px;position:relative;z-index:1;}.sidebar-promo a{margin-top:auto;min-height:36px;padding:0 13px;border-radius:8px;background:var(--theme-surface, #116fe9);display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;position:relative;z-index:1;}.sidebar-promo a svg{width:15px;}.sidebar-brand-foot{padding:17px 9px 2px;display:flex;flex-direction:column;gap:5px;}.sidebar-brand-foot strong{font-size:16px;color:var(--theme-text, #17385d);}.sidebar-brand-foot strong span{color:var(--theme-accent, #1471f5);}.sidebar-brand-foot small{color:var(--theme-muted, #8a94a3);font-size:9px;line-height:1.4;}.topbar{height:72px;padding:0 30px;background:var(--theme-surface, rgba(255,255,255,.97));border-bottom:1px solid var(--theme-border, #ebeff4);gap:18px;}.top-search{height:44px;max-width:520px;border:0;background:var(--theme-raised, #f3f6fa);border-radius:22px;padding:0 16px;color:var(--theme-muted, #748197);}.top-search:hover{background:var(--theme-hover, #eef3f8);}.top-actions{gap:8px;}.notification-button{background:var(--theme-raised, #f7f9fc);border:1px solid var(--theme-control-border, #edf1f5);border-radius:50%;width:42px;height:42px;}.profile-menu-wrap{position:relative;}.user-menu{min-height:54px;padding:6px 9px 6px 7px;border-radius:12px;gap:10px;}.user-menu:hover,.user-menu.is-open{background:var(--theme-hover, #f4f7fb);}.user-menu>span{max-width:205px;}.user-menu strong{font-size:13.5px;color:var(--theme-text, #18283b);}.user-menu small{font-size:10.5px;color:var(--theme-muted, #738197);max-width:200px;}.user-menu-chevron{transition:transform .18s ease;}.user-menu.is-open .user-menu-chevron{transform:rotate(180deg);}.profile-dropdown{position:absolute;right:0;top:calc(100% + 10px);width:310px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #e4e9f0);border-radius:16px;padding:8px;box-shadow:var(--theme-elevation, 0 18px 50px rgba(23,48,80,.16));z-index:70;}.profile-dropdown[hidden]{display:none!important;}.profile-dropdown-head{display:flex;align-items:center;gap:11px;padding:9px 10px 11px;}.profile-dropdown-head>div{min-width:0;display:flex;flex-direction:column;}.profile-dropdown-head strong{font-size:13.5px;color:var(--theme-text, #18283b);}.profile-dropdown-head small{font-size:10.5px;color:var(--theme-muted, #7c899a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px;}.profile-dropdown-separator{height:1px;background:var(--theme-raised, #edf0f4);margin:3px 5px;}.profile-dropdown>a,.profile-dropdown-logout{width:100%;min-height:42px;border:0;background:transparent;border-radius:9px;padding:0 10px;display:grid;grid-template-columns:21px 1fr 16px;gap:9px;align-items:center;text-align:left;color:var(--theme-muted, #33475e);font-size:12px;font-weight:700;}.profile-dropdown>a:hover,.profile-dropdown-logout:hover{background:var(--theme-hover, #f4f7fb);}.profile-dropdown>a>svg,.profile-dropdown-logout>svg{width:18px;}.profile-dropdown>a>svg:last-child{width:14px;color:var(--theme-muted, #99a4b2);}.profile-dropdown-logout{color:var(--theme-danger, #b52f3c);grid-template-columns:21px 1fr;}.content-grid{width:min(1220px,calc(100% - 42px));margin:18px auto 52px;}.content-grid.with-right{grid-template-columns:minmax(0,790px) 350px;gap:20px;}.right-rail{gap:16px;top:90px;}.rail-card{padding:18px 19px;border-radius:15px;box-shadow:var(--theme-shadow, 0 3px 17px rgba(29,57,91,.04));}.rail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;font-weight:850;font-size:15px;color:var(--theme-text, #18283b);}.rail-heading a{font-size:10.5px;color:var(--theme-accent, #0d63df);font-weight:800;}.school-mini{gap:12px;}.school-mini-link{padding:3px 0;}.school-mini-link>div{min-width:0;flex:1;}.school-row-chevron,.school-mini-link>svg:last-child{width:18px;color:var(--theme-muted, #8d99a8);margin-left:auto;}.school-icon{background:var(--theme-raised, #f3f7fc);border-color:var(--theme-border, #e2e9f2);color:var(--theme-text, #153f69);border-radius:50%;}.school-icon.small{border-radius:50%;}.rail-list{display:flex;flex-direction:column;}.school-list-row{padding:11px 0;border-top:1px solid var(--theme-border, #edf1f5);}.school-list-row:first-child{border-top:0;}.school-list-link>div{flex:1;}.school-list-link>svg:last-child{width:15px;color:var(--theme-muted, #9aa5b3);margin-left:auto;}.school-list-link:hover strong,.school-mini-link:hover strong{color:var(--theme-accent, #0d63df);}.popular-posts{display:flex;flex-direction:column;}.popular-post-row{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;padding:11px 0;border-top:1px solid var(--theme-border, #edf1f5);position:relative;}.popular-post-row:first-child{border-top:0;}.popular-post-mark{width:42px;height:42px;border-radius:9px;background:var(--theme-surface, linear-gradient(145deg,#e9f1fb,#d5e5f8));display:flex;align-items:center;justify-content:center;color:var(--theme-accent, #225d9b);font-size:11px;font-weight:850;}.popular-post-row>div{min-width:0;padding-right:46px;}.popular-post-row strong{display:block;font-size:11.5px;line-height:1.3;color:var(--theme-text, #26374c);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.popular-post-row small{display:block;margin-top:3px;font-size:9.5px;color:var(--theme-muted, #8994a4);}.popular-post-score{position:absolute;right:0;bottom:12px;display:flex;align-items:center;gap:3px;color:var(--theme-muted, #6f7d8f);font-size:8.5px;}.popular-post-score svg{width:11px;height:11px;color:var(--theme-danger, #e24855);}.quote-card{border-radius:15px;background:var(--theme-raised, #eaf3ff);border:0;min-height:96px;padding:20px 22px;color:var(--theme-muted, #356493);}.quote-card p{font-size:12.5px;}.welcome-panel{border-radius:14px;min-height:196px;padding:30px 31px;margin-bottom:16px;background:var(--theme-surface, linear-gradient(112deg,#183f62 0%,#0c537f 55%,#0b6599 100%));}.welcome-panel h1{font-size:30px;}.welcome-stat{border-radius:15px;}.composer{border-radius:15px;padding:17px 19px;}.composer textarea{border-radius:22px;min-height:48px;padding:14px 17px;}.feed-tabs{background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #e8edf3);border-radius:12px;padding:0 7px;margin:0 0 14px;box-shadow:var(--theme-shadow, 0 2px 12px rgba(30,56,88,.03));}.feed-tabs button,.feed-tabs a{border:0;background:transparent;padding:13px 14px;color:var(--theme-muted, #5d6e84);font-weight:750;position:relative;display:inline-flex;align-items:center;gap:7px;font-size:12px;}.feed-tabs button.active,.feed-tabs a.active{color:var(--blue);}.feed-tabs button.active:after,.feed-tabs a.active:after{content:"";position:absolute;left:10px;right:10px;bottom:-1px;height:3px;border-radius:4px;background:var(--blue);}.post-card{border-radius:15px;padding:18px 20px;}.scrim[hidden]{display:none!important;}
@media(max-width:1180px){.content-grid.with-right{grid-template-columns:minmax(0,780px);}.right-rail{display:none;}.content-grid{width:min(820px,calc(100% - 38px));}}
@media(max-width:820px){.sidebar{width:268px;}.page-area{margin-left:0;}.topbar{height:64px;padding:0 13px;}.profile-dropdown{position:fixed;right:10px;top:70px;width:min(310px,calc(100vw - 20px));}.content-grid,.content-grid.with-right{width:min(720px,calc(100% - 24px));margin-top:14px;}.sidebar-promo{margin-top:18px;}.sidebar-brand-foot{padding-bottom:22px;}}
@media(max-width:560px){.top-actions{gap:4px;}.notification-button{width:39px;height:39px;}.user-menu{min-height:44px;padding:3px 4px;}.user-menu .avatar{width:36px!important;height:36px!important;}.content-grid,.content-grid.with-right{width:100%;}.feed-tabs{border-left:0;border-right:0;border-radius:0;margin-bottom:8px;padding-left:7px;}.welcome-panel{border-radius:0;min-height:164px;}.composer,.post-card{border-radius:0;}.profile-dropdown{top:64px;}}
.popular-post-row{width:100%;border:0;background:transparent;text-align:left;font:inherit;cursor:pointer;}.user-menu.is-open>.svg-icon:last-child{transform:rotate(180deg);}

/* v1.0 — реална минимална версия, плавен UX и правни екрани */
:root{--bg:var(--theme-surface, #f5f7fb);--surface:var(--theme-surface, #fff);--surface-2:var(--theme-raised, #f7f9fc);--text:var(--theme-text, #172338);--muted:var(--theme-muted, #6e7c90);--line:var(--theme-border, #e5eaf1);--blue:var(--theme-accent, #1268e8);--blue-2:var(--theme-accent-hover, #0a56c5);--navy:var(--theme-text, #15395f);--danger:var(--theme-danger, #ca3346);--green:var(--theme-success, #16885c);--warning:var(--theme-warning, #b96a0a);--shadow:var(--theme-shadow, 0 10px 32px rgba(22,47,78,.07));--ease:cubic-bezier(.2,.75,.25,1);}

*{scrollbar-width:thin;scrollbar-color:var(--theme-control-border, #668099) var(--theme-surface, #f4f7fb);}html{scroll-behavior:smooth;background:var(--bg);}body{background:var(--bg);color:var(--text);transition:background .25s var(--ease),color .25s var(--ease);}button,input,select,textarea,a,.card,.rail-card,.post-card,.result-card,.notification-row{transition:background-color .18s var(--ease),border-color .18s var(--ease),color .18s var(--ease),box-shadow .18s var(--ease),transform .18s var(--ease),opacity .18s var(--ease);}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--theme-accent, rgba(18,104,232,.22));outline-offset:2px;}.card,.rail-card,.post-card{background:var(--surface);border-color:var(--line);color:var(--text);}.card:hover{box-shadow:var(--theme-shadow, 0 10px 30px rgba(23,52,88,.07));}.muted{color:var(--muted);}
.avatar{display:inline-flex!important;align-items:center;justify-content:center;background:var(--theme-surface, linear-gradient(145deg,#dcecff,#bcd9ff));color:var(--theme-accent, #165da8);border:1px solid var(--theme-border, #c4d9f0);font-size:calc(var(--avatar-size,44px)*.28);font-weight:850;letter-spacing:.02em;user-select:none;}.primary-button,.secondary-button,.danger-button{border-radius:10px;font-weight:760;min-height:42px;}.danger-button{border:1px solid var(--theme-control-border, rgba(202,51,70,.2));background:var(--theme-danger-soft, #fff1f3);color:var(--danger);display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 15px;}.danger-button:hover{background:var(--theme-hover, #ffe6e9);transform:translateY(-1px);}.wide{width:100%;}.mt{margin-top:24px!important;}
/* Public and authentication */
.public-shell{min-height:100vh;display:flex;flex-direction:column;align-items:center;padding:32px 20px 20px;background:var(--theme-surface, radial-gradient(circle at 15% 0,#e7f1ff 0,transparent 36%),linear-gradient(180deg,#f8fbff 0,#f4f7fb 100%));}.public-brand{display:flex;align-items:center;gap:10px;margin:0 auto 24px;color:var(--theme-text, #173b65);}.public-brand>svg{color:var(--theme-accent, #155cae);}.public-brand span{display:flex;flex-direction:column;}.public-brand strong{font-size:23px;letter-spacing:-.6px;}.public-brand small{font-size:10px;color:var(--theme-muted, #798699);margin-top:2px;}.auth-card{width:min(570px,100%);background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:var(--theme-shadow, 0 20px 65px rgba(28,60,100,.11));animation:pageRise .32s var(--ease);}.auth-heading{margin-bottom:20px;}.auth-heading h1{font-size:28px;margin:0 0 6px;letter-spacing:-.6px;}.auth-heading p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.5;}.auth-form{display:flex;flex-direction:column;gap:13px;}.field{display:flex;flex-direction:column;gap:6px;color:var(--text);font-size:12px;font-weight:750;}.field input,.field select,.field textarea,.form-grid input,.form-grid select,.form-grid textarea,.inline-form input{width:100%;border:1px solid var(--theme-control-border, #dfe6ef);background:var(--theme-raised, #fff);border-radius:10px;padding:11px 12px;outline:0;color:var(--text);font-weight:500;}.field textarea,.form-grid textarea{resize:vertical;line-height:1.5;}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}.field-hint{font-size:11px;color:var(--muted);margin:-6px 2px 2px;}.form-section-title{font-size:11px;letter-spacing:.08em;color:var(--theme-muted, #718095);font-weight:850;margin-top:8px;padding-top:13px;border-top:1px solid var(--line);text-transform:uppercase;}.check-row{display:flex;gap:9px;align-items:flex-start;font-size:11.5px;line-height:1.45;color:var(--muted);font-weight:550;}.check-row input{margin:2px 0 0;accent-color:var(--blue);width:16px;height:16px;flex:none;}.check-row a{color:var(--blue);font-weight:750;text-decoration:underline;text-underline-offset:2px;}.check-row.compact{align-items:center;}.auth-inline{display:flex;align-items:center;justify-content:space-between;gap:15px;}.auth-inline>a,.auth-back{font-size:11.5px;color:var(--blue);font-weight:750;}.auth-divider{display:flex;align-items:center;gap:10px;color:var(--theme-muted, #8a96a7);font-size:11px;margin:3px 0;}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--line);flex:1;}.form-message{min-height:17px;font-size:11.5px;color:var(--danger);line-height:1.45;}.public-footer{display:flex;gap:15px;align-items:center;justify-content:center;flex-wrap:wrap;color:var(--theme-muted, #7b8798);font-size:10.5px;margin-top:auto;padding-top:28px;}.public-footer a:hover{color:var(--blue);}
/* Legal pages */
.legal-card{width:min(900px,100%);background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:34px 38px;box-shadow:var(--shadow);line-height:1.72;color:var(--text);animation:pageRise .3s var(--ease);}.legal-heading{padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:24px;}.legal-heading>a{font-size:11px;color:var(--blue);font-weight:800;}.legal-heading h1{font-size:32px;margin:10px 0 6px;letter-spacing:-.7px;}.legal-heading p{color:var(--muted);margin:0;max-width:700px;}.legal-meta{font-size:10.5px;color:var(--theme-muted, #8e99a8);margin-top:10px;}.legal-card section{margin:26px 0;}.legal-card h2{font-size:17px;margin:0 0 8px;}.legal-card p,.legal-card li{font-size:13px;}.legal-card ul{padding-left:20px;}.legal-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0;}.legal-details>div{border:1px solid var(--line);background:var(--surface-2);padding:12px;border-radius:10px;}.legal-details dt{font-size:10px;color:var(--muted);font-weight:800;text-transform:uppercase;}.legal-details dd{margin:3px 0 0;font-size:12.5px;font-weight:700;}.legal-card code{background:var(--surface-2);padding:2px 5px;border-radius:5px;}
/* Main shell */
.app-shell{background:var(--bg);min-height:100vh;}.sidebar{background:var(--surface);border-color:var(--line);transition:transform .24s var(--ease),background .2s;}.page-area{background:var(--bg);transition:background .2s;}.brand-lockup{display:flex;align-items:center;gap:8px;color:var(--theme-text, #153e6d);}.brand-lockup>svg{color:var(--theme-accent, #145aa9);}.brand-lockup strong{font-size:23px;letter-spacing:-.7px;}.brand-lockup strong span{color:var(--theme-accent, #1370f4);}.sidebar-top{display:block!important;}.sidebar-top small{display:block;margin:4px 0 0 42px;color:var(--theme-muted, #8290a3);font-size:9.5px;}.sidebar-brand-foot a{color:inherit;}.sidebar-brand-foot a:hover{color:var(--blue);}.sidebar-scrim{display:none;}.topbar{background:color-mix(in srgb,var(--surface) 96%,transparent);border-color:var(--line);transition:background .2s;}.notification-button{display:inline-flex;align-items:center;justify-content:center;color:var(--theme-muted, #40536c);text-decoration:none;}.top-search{cursor:pointer;text-align:left;}.profile-dropdown{animation:dropIn .16s var(--ease);background:var(--surface);border-color:var(--line);}.profile-dropdown a,.profile-dropdown button{transition:background .15s,color .15s;}.content-grid{animation:none;}.page-enter{animation:pageRise .25s var(--ease);}
.welcome-panel{display:flex;gap:24px;}.welcome-panel>div:first-child{z-index:1;}.welcome-panel h1{margin:0 0 7px;}.welcome-panel p{font-weight:550;margin:0;}.welcome-stats{display:flex;gap:10px;z-index:1;}.welcome-stats span{min-width:105px;background:var(--theme-hover, rgba(255,255,255,.12));border:1px solid var(--theme-border, rgba(255,255,255,.13));border-radius:13px;padding:12px 15px;display:flex;flex-direction:column;}.welcome-stats strong{font-size:22px;}.welcome-stats small{font-size:9.5px;color:var(--theme-text, #d9e8f9);margin-top:2px;}.notice{border:1px solid var(--theme-border, #f2d4a4);background:var(--theme-warning-soft, #fff8e9);border-radius:12px;padding:13px 14px;display:flex;gap:11px;align-items:flex-start;margin-bottom:14px;color:var(--theme-warning, #7c520f);}.notice svg{flex:none;margin-top:1px;}.notice strong{font-size:12.5px;}.notice p{font-size:11.5px;margin:3px 0 0;line-height:1.45;}.notice.compact{margin:14px 0 0;}.composer.disabled{opacity:.7;}.composer-main{display:flex;gap:12px;align-items:flex-start;}.composer-main textarea{flex:1;border:0;outline:0;background:var(--surface-2);color:var(--text);}.composer-actions{border-top:1px solid var(--line);}.media-button{display:flex;align-items:center;gap:7px;color:var(--theme-muted, #456079);font-size:12px;font-weight:760;cursor:pointer;padding:8px;border-radius:8px;}.media-button:hover{background:var(--surface-2);}.media-button input{display:none;}.media-button.disabled{pointer-events:none;}.audience-select{background:var(--surface);border-color:var(--line);}.image-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0 0 56px;}.image-preview>div{position:relative;}.image-preview img{height:86px;width:100%;object-fit:cover;border-radius:9px;border:1px solid var(--line);}.image-preview button{position:absolute;right:5px;top:5px;width:24px;height:24px;border-radius:50%;border:0;background:var(--theme-surface, rgba(15,27,43,.72));color:var(--theme-text, #fff);}.feed-tabs{border-color:var(--line);}
/* Posts */
.post-card{position:relative;}.post-head{display:flex;justify-content:space-between;}.post-author{display:flex;gap:11px;align-items:center;min-width:0;}.post-author>span:last-child{display:flex;flex-direction:column;min-width:0;}.post-author strong{font-size:13.8px;color:var(--text);}.post-author small{font-size:10.5px;color:var(--muted);margin-top:2px;}.verified{display:inline-flex;background:var(--theme-accent, #1672ef);color:var(--theme-text, #fff);border-radius:50%;width:15px;height:15px;align-items:center;justify-content:center;font-size:9px;}.verified.big{width:19px;height:19px;font-size:11px;vertical-align:3px;}.post-menu{position:relative;}.post-actions-menu{position:absolute;right:0;top:38px;min-width:160px;padding:5px;border-radius:11px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);z-index:7;animation:dropIn .13s var(--ease);}.post-actions-menu[hidden]{display:none;}.post-actions-menu button{width:100%;border:0;background:transparent;color:var(--text);display:flex;gap:8px;align-items:center;text-align:left;border-radius:7px;padding:9px;}.post-actions-menu button:hover{background:var(--surface-2);}.post-actions-menu .danger{color:var(--danger);}.post-body{color:var(--text);}.post-media{display:grid;gap:5px;border-radius:12px;overflow:hidden;margin-top:12px;max-height:560px;}.post-media img{width:100%;height:100%;min-height:250px;object-fit:cover;background:var(--surface-2);}.media-2,.media-3,.media-4{grid-template-columns:1fr 1fr;}.media-3 img:first-child{grid-row:span 2;}.post-meta{border-bottom:1px solid var(--line);color:var(--muted);}.post-interactions{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);padding:3px 0;}.post-interactions button{border:0;background:transparent;color:var(--theme-muted, #56677c);display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border-radius:8px;font-weight:720;}.post-interactions button:hover{background:var(--surface-2);}.post-interactions .active{color:var(--theme-accent, #176be2);}.post-interactions .pulse{animation:likePulse .34s var(--ease);}.comments{display:flex;flex-direction:column;gap:9px;padding:11px 0;}.comment{display:flex;gap:8px;align-items:flex-start;position:relative;}.comment-bubble{background:var(--surface-2);padding:8px 11px;border-radius:5px 13px 13px 13px;max-width:82%;}.comment-bubble strong{font-size:11px;}.comment-bubble p{font-size:12px;margin:2px 0;line-height:1.4;}.comment-delete{border:0;background:transparent;color:var(--theme-muted, #9ba6b5);opacity:0;transition:opacity .15s;}.comment:hover .comment-delete{opacity:1;}.new-comment{animation:pageRise .2s var(--ease);}.comment-form{display:flex;align-items:center;gap:8px;}.comment-form input{flex:1;border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:18px;padding:9px 12px;outline:0;}.comment-form button{border:0;background:transparent;color:var(--blue);width:34px;height:34px;border-radius:50%;display:grid;place-items:center;}.comment-form button:hover{background:var(--theme-hover, #eaf3ff);}
/* Rail */
.rail-card{background:var(--surface);border:1px solid var(--line);}.school-mini-link,.school-list-link{display:flex;align-items:center;gap:10px;}.school-mini-link strong,.school-list-link strong{font-size:11.5px;}.school-mini-link small,.school-list-link small{display:block;font-size:9.5px;color:var(--muted);margin-top:2px;}.school-icon{width:39px;height:39px;display:grid;place-items:center;flex:none;}.school-icon.small{width:34px;height:34px;}.quote-card{display:flex;gap:13px;align-items:center;background:var(--theme-surface, linear-gradient(140deg,#e7f2ff,#f3f8ff));color:var(--theme-muted, #32618f);}.quote-card svg{flex:none;}.quote-card p{margin:0;font-style:italic;line-height:1.45;}
/* Search, school, profile */
.page-heading{margin:4px 0 16px;}.page-heading.row{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;}.page-heading h1{font-size:26px;letter-spacing:-.5px;margin:0;}.page-heading p{color:var(--muted);font-size:12.5px;margin:5px 0 0;}.search-panel{padding:15px;margin-bottom:13px;}.search-input-wrap{height:44px;border:1px solid var(--line);background:var(--surface-2);border-radius:11px;padding:0 12px;display:flex;align-items:center;gap:9px;}.search-input-wrap input{border:0;background:transparent;outline:0;color:var(--text);flex:1;}.search-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:9px;}.search-filters select{border:1px solid var(--line);background:var(--surface);color:var(--text);padding:9px 10px;border-radius:9px;}.segmented{display:inline-flex;background:var(--surface);border:1px solid var(--line);padding:4px;border-radius:10px;margin-bottom:12px;}.segmented button{border:0;background:transparent;color:var(--muted);padding:7px 15px;border-radius:7px;font-weight:750;}.segmented button.active{background:var(--blue);color:var(--theme-text, #fff);}.search-results{display:flex;flex-direction:column;gap:8px;}.result-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;}.result-card:hover{transform:translateY(-1px);box-shadow:var(--shadow);}.result-card>div{min-width:0;}.result-card strong{font-size:13px;}.result-card p{font-size:11.5px;margin:3px 0;color:var(--theme-muted, #495e76);}.result-card small{font-size:9.5px;color:var(--muted);}.result-card>svg{color:var(--theme-muted, #9aa6b4);}.school-hero{min-height:180px;border-radius:16px;padding:28px;background:var(--theme-surface, linear-gradient(120deg,#153b61,#0c68b1));color:var(--theme-text, #fff);display:flex;align-items:center;gap:18px;margin-bottom:15px;}.school-hero-icon{width:68px;height:68px;border-radius:17px;background:var(--theme-hover, rgba(255,255,255,.13));display:grid;place-items:center;}.school-hero p{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--theme-text, #cbe5fb);margin:0;}.school-hero h1{font-size:28px;margin:4px 0;}.school-hero span{font-size:11px;color:var(--theme-text, #d7e9f7);}.school-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:15px;}.school-layout>.card{padding:20px;}.school-layout h2{font-size:16px;margin:0 0 10px;}.school-layout h3{font-size:13px;margin-top:18px;}.school-about p{font-size:12.5px;line-height:1.6;color:var(--theme-muted, #4d5e74);}.school-stats{display:flex;gap:10px;margin-top:18px;}.school-stats>div{flex:1;border:1px solid var(--line);background:var(--surface-2);border-radius:10px;padding:11px;display:flex;gap:9px;align-items:center;}.school-stats strong{display:block;}.school-stats small{display:block;font-size:9px;color:var(--muted);}.specialty-list,.cohort-list,.skill-list{display:flex;gap:6px;flex-wrap:wrap;}.specialty-list span,.cohort-list span,.skill-list span{background:var(--theme-raised, #edf4ff);color:var(--theme-muted, #2c5e97);border:1px solid var(--theme-border, #dbeaff);padding:6px 8px;border-radius:7px;font-size:10.5px;}.profile-hero{overflow:hidden;margin-bottom:15px;}.profile-cover{height:130px;background:var(--theme-surface, linear-gradient(120deg,#143b63,#0d70cc));}.profile-main{padding:0 20px 20px;display:flex;align-items:flex-end;gap:14px;margin-top:-36px;}.profile-main>.avatar{border:5px solid var(--surface);}.profile-main>div:nth-child(2){padding-bottom:6px;}.profile-main h1{font-size:23px;margin:0;}.profile-main p{font-size:12.5px;margin:3px 0;}.profile-main small{font-size:10px;color:var(--muted);}.profile-actions{margin-left:auto;display:flex;gap:7px;padding-bottom:5px;}.profile-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:15px;}.profile-about{padding:18px;height:max-content;}.profile-about h2{margin:0 0 10px;font-size:16px;}.profile-about h3{font-size:12px;margin-top:18px;}.profile-about>p{font-size:12px;line-height:1.55;}.profile-detail{border-top:1px solid var(--line);padding-top:10px;margin-top:12px;}.profile-detail span{display:block;font-size:9px;color:var(--muted);text-transform:uppercase;}.profile-detail strong{font-size:11.5px;}.section-heading{font-size:15px;margin:0 0 9px;}
/* Notifications */
.notification-list{overflow:hidden;}.notification-row{display:grid;grid-template-columns:42px 1fr auto;gap:11px;align-items:center;padding:13px 15px;border-bottom:1px solid var(--line);}.notification-row:last-child{border-bottom:0;}.notification-row:hover{background:var(--surface-2);}.notification-row.unread{background:var(--theme-selected, #f3f8ff);}.notification-icon{width:40px;height:40px;border-radius:50%;background:var(--theme-raised, #e9f2ff);color:var(--theme-accent, #1d67ba);display:grid;place-items:center;}.notification-row strong{font-size:12.5px;}.notification-row p{font-size:11px;color:var(--theme-muted, #4f6177);margin:3px 0;}.notification-row small{font-size:9.5px;color:var(--muted);}.unread-dot{width:8px;height:8px;border-radius:50%;background:var(--blue);}
/* Settings and admin */
.settings-nav{display:flex;gap:7px;margin-bottom:12px;}.settings-nav a{font-size:11.5px;font-weight:760;padding:7px 10px;border-radius:8px;background:var(--surface);border:1px solid var(--line);}.settings-card{padding:20px;margin-bottom:14px;}.settings-title{display:flex;gap:12px;margin-bottom:16px;}.settings-icon{width:42px;height:42px;background:var(--theme-raised, #eaf3ff);color:var(--theme-accent, #1a65b9);border-radius:10px;display:grid;place-items:center;flex:none;}.settings-title h2{font-size:16px;margin:0;}.settings-title p{font-size:11px;color:var(--muted);margin:3px 0;}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;}.form-grid label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:720;}.form-grid .full{grid-column:1/-1;}.form-actions{margin-top:14px;}.settings-divider{height:1px;background:var(--line);margin:20px 0;}.blocked-list{display:flex;flex-direction:column;}.blocked-list>div{display:flex;align-items:center;gap:9px;padding:9px 0;border-top:1px solid var(--line);}.blocked-list>div:first-child{border-top:0;}.blocked-list span{display:flex;flex-direction:column;flex:1;}.blocked-list strong{font-size:11.5px;}.blocked-list small{font-size:9px;color:var(--muted);}.legal-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;}.legal-links a{border:1px solid var(--line);border-radius:9px;padding:10px;display:flex;gap:8px;align-items:center;font-size:11px;font-weight:720;}.legal-links a:hover{background:var(--surface-2);color:var(--blue);}.data-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px;}.admin-tabs{display:flex;gap:2px;overflow-x:auto;border-bottom:1px solid var(--line);margin-bottom:14px;}.admin-tabs a{white-space:nowrap;padding:10px 12px;font-size:11px;color:var(--muted);font-weight:760;position:relative;}.admin-tabs a.active{color:var(--blue);}.admin-tabs a.active:after{content:"";height:3px;background:var(--blue);position:absolute;left:9px;right:9px;bottom:-1px;border-radius:3px;}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px;}.stat-card{padding:15px;display:flex;gap:10px;align-items:center;}.stat-card>span{width:40px;height:40px;border-radius:10px;background:var(--theme-raised, #eaf3ff);color:var(--theme-accent, #2366ad);display:grid;place-items:center;}.stat-card strong{font-size:20px;display:block;}.stat-card small{font-size:9px;color:var(--muted);}.admin-section{padding:18px;margin-bottom:13px;}.admin-section h2{font-size:15px;margin:0 0 6px;}.admin-section p{font-size:11px;}.inline-form{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;margin-top:10px;}.inline-form.two{grid-template-columns:1fr auto;}.admin-table-wrap{overflow:auto;margin-top:10px;}.admin-table{width:100%;border-collapse:collapse;min-width:780px;}.admin-table th,.admin-table td{text-align:left;border-bottom:1px solid var(--line);padding:10px 8px;font-size:10.5px;}.admin-table th{color:var(--muted);font-size:9px;text-transform:uppercase;}.table-user{display:flex;align-items:center;gap:8px;}.table-user span{display:flex;flex-direction:column;}.table-user small{font-size:9px;color:var(--muted);}.status{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:760;}.status.ok{background:var(--theme-success-soft, #e7f7ef);color:var(--theme-success, #187a54);}.status.off{background:var(--theme-danger-soft, #fdebed);color:var(--theme-danger, #ae3545);}.report-list{display:flex;flex-direction:column;}.report-row{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-top:1px solid var(--line);}.report-row:first-child{border-top:0;}.report-row strong{font-size:11px;}.report-row p{font-size:11.5px;margin:4px 0;}.report-row small{font-size:9px;color:var(--muted);}.report-row>div:last-child{display:flex;gap:5px;align-items:center;}.audit-list>div{display:flex;gap:10px;border-left:1px solid var(--line);padding:0 0 14px 13px;margin-left:5px;position:relative;}.audit-dot{width:9px;height:9px;border-radius:50%;background:var(--blue);position:absolute;left:-5px;top:3px;}.audit-list strong{font-size:10.5px;}.audit-list p{margin:2px 0;font-size:10px;}.audit-list small{font-size:9px;color:var(--muted);}.chip-admin-list{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0;}.chip-admin-list>span{display:flex;align-items:center;gap:6px;background:var(--surface-2);border:1px solid var(--line);padding:6px 8px;border-radius:8px;font-size:10px;}.chip-admin-list button{border:0;background:transparent;color:var(--danger);font-weight:900;}
/* Modal, toast, loading */
.modal-backdrop{position:fixed;inset:0;background:var(--theme-overlay, rgba(10,23,38,.54));z-index:100;display:grid;place-items:center;padding:20px;opacity:0;backdrop-filter:blur(3px);transition:opacity .18s;}.modal-backdrop.show{opacity:1;}.modal-card{width:min(520px,100%);background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:var(--theme-elevation, 0 30px 80px rgba(0,0,0,.22));transform:translateY(12px) scale(.985);transition:transform .18s var(--ease);}.modal-backdrop.show .modal-card{transform:none;}.modal-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:15px;}.modal-head h2{font-size:18px;margin:0;}.modal-head p{font-size:11.5px;color:var(--muted);margin:4px 0 0;line-height:1.45;}.modal-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:14px;}.toast{position:fixed;right:18px;bottom:18px;z-index:150;background:var(--theme-surface, #142b46);color:var(--theme-text, #fff);border-radius:11px;padding:11px 14px;display:flex;align-items:center;gap:8px;box-shadow:var(--theme-elevation, 0 14px 40px rgba(10,27,46,.25));font-size:11.5px;opacity:0;transform:translateY(10px);transition:.2s var(--ease);}.toast.show{opacity:1;transform:none;}.toast.error{background:var(--theme-danger-soft, #9f2b3a);}.loading-screen{min-height:70vh;display:grid;place-items:center;align-content:center;gap:10px;color:var(--muted);}.loading-screen .brand-lockup{margin-bottom:6px;}.loader{width:28px;height:28px;border-radius:50%;border:3px solid var(--theme-border, #d9e5f3);border-top-color:var(--blue);animation:spin .75s linear infinite;}.loading-screen p{font-size:11px;}.empty-state,.empty-page{padding:36px 18px;text-align:center;color:var(--muted);}.empty-state h2,.empty-page h1{color:var(--text);font-size:18px;margin:10px 0 5px;}.empty-state p,.empty-page p{font-size:11.5px;max-width:480px;margin:0 auto 14px;}
@keyframes spin{to{transform:rotate(360deg);}}@keyframes pageRise{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}@keyframes dropIn{from{opacity:0;transform:translateY(-5px) scale(.985);}to{opacity:1;transform:none;}}@keyframes likePulse{50%{transform:scale(1.08);}}
::view-transition-old(root){animation:140ms ease both fadeOut;}::view-transition-new(root){animation:220ms var(--ease) both fadeIn;}@keyframes fadeOut{to{opacity:.35;}}@keyframes fadeIn{from{opacity:.3;}}
/* Responsive */
@media(max-width:1180px){.stat-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:820px){.sidebar{transform:translateX(-105%);box-shadow:var(--theme-shadow, 18px 0 50px rgba(13,32,52,.18));}.sidebar.open{transform:translateX(0);}.sidebar-scrim{display:block;position:fixed;inset:0;background:var(--theme-overlay, rgba(8,21,36,.4));z-index:29;opacity:0;visibility:hidden;transition:.2s;}.sidebar-scrim.show{opacity:1;visibility:visible;}.mobile-menu{display:inline-flex;}.top-search{max-width:none;}.user-menu>span{display:none;}.profile-grid,.school-layout{grid-template-columns:1fr;}.profile-main{flex-wrap:wrap;}.profile-actions{margin-left:0;width:100%;padding-left:106px;}.page-heading.row{align-items:flex-start;}.welcome-panel{min-height:160px;}.welcome-stats{display:none;}}
@media(max-width:560px){.public-shell{padding:18px 0 10px;}.public-brand{margin-bottom:13px;}.auth-card,.legal-card{border-left:0;border-right:0;border-radius:0;width:100%;box-shadow:none;padding:22px 17px;}.field-row,.form-grid,.legal-details,.legal-links,.search-filters{grid-template-columns:1fr;}.content-grid,.content-grid.with-right{margin-top:10px;}.topbar{padding:0 10px;}.top-search{height:40px;}.top-search span{font-size:0;}.top-search span:after{content:"Търсене";font-size:12px;}.notification-button{display:none;}.user-menu{display:inline-flex;}.welcome-panel{padding:22px 18px;min-height:145px;}.welcome-panel h1{font-size:25px;}.composer-main{padding:0 3px;}.composer-actions{padding:8px 4px 0;gap:5px;}.media-button span{display:none;}.audience-select select{max-width:145px;}.image-preview{margin-left:0;grid-template-columns:1fr 1fr;}.post-card{padding:15px 14px;}.post-media{margin-left:-14px;margin-right:-14px;border-radius:0;}.post-media img{min-height:210px;}.comment-bubble{max-width:78%;}.page-heading{padding:0 14px;}.page-heading.row{display:block;}.page-heading.row button{margin-top:10px;}.search-panel,.settings-card,.admin-section{border-left:0;border-right:0;border-radius:0;}.segmented{margin-left:14px;}.search-results{padding:0 10px;}.result-card{border-radius:10px;}.school-hero{border-radius:0;margin-left:0;margin-right:0;padding:22px 18px;}.school-hero h1{font-size:24px;}.school-layout{padding:0;}.school-layout>.card{border-left:0;border-right:0;border-radius:0;}.profile-hero{border-radius:0;border-left:0;border-right:0;}.profile-cover{height:110px;}.profile-main{padding:0 14px 16px;}.profile-main>.avatar{width:78px!important;height:78px!important;}.profile-main h1{font-size:20px;}.profile-actions{padding-left:0;}.profile-actions .secondary-button{flex:1;}.profile-grid{gap:9px;}.profile-about{border-radius:0;border-left:0;border-right:0;}.section-heading{padding:0 14px;}.notification-list{border-radius:0;border-left:0;border-right:0;}.notification-row{grid-template-columns:38px 1fr auto;padding:12px;}.settings-nav{padding:0 12px;overflow:auto;}.data-actions{flex-direction:column;}.data-actions button{width:100%;}.admin-tabs{padding:0 8px;}.stat-grid{grid-template-columns:1fr 1fr;padding:0 10px;}.inline-form,.inline-form.two{grid-template-columns:1fr;}.report-row{flex-direction:column;}.report-row>div:last-child{justify-content:flex-start;}.modal-backdrop{padding:0;align-items:end;}.modal-card{border-radius:18px 18px 0 0;width:100%;padding-bottom:max(18px,env(safe-area-inset-bottom));}.toast{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));justify-content:center;}.public-footer{padding:20px 15px 0;}}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none!important;}.page-enter,.auth-card,.legal-card,.profile-dropdown,.post-actions-menu,.toast,.modal-card{animation:none!important;transition:none!important;}}
.role-select{border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:7px;padding:6px 7px;font-size:10px;}

/* v1 product-completion refinements */
.school-mark-image{border-radius:12px;object-fit:cover;border:1px solid var(--line);background:var(--surface);flex:0 0 auto;}.avatar-editor,.school-logo-editor{display:flex;align-items:center;gap:14px;padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2);margin-bottom:14px;}.avatar-editor>div,.school-logo-editor>div{display:flex;flex-direction:column;align-items:flex-start;gap:4px;}.avatar-editor strong,.school-logo-editor strong{font-size:12px;}.avatar-editor p,.school-logo-editor p{margin:0 0 6px!important;font-size:10px!important;color:var(--muted);}.session-list{display:flex;flex-direction:column;}.session-list>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:11px 0;border-top:1px solid var(--line);}.session-list>div:first-child{border-top:0;}.session-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--theme-raised, #eaf3ff);color:var(--theme-accent, #2468b0);}.session-list>div>div{display:flex;min-width:0;flex-direction:column;}.session-list strong{font-size:11.5px;}.session-list small{font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.compact-button{min-height:34px;padding:0 11px;font-size:10.5px;margin-top:7px;}.notice.success{background:var(--theme-success-soft, #eaf8f1);border-color:var(--theme-border, #ccebdc);color:var(--theme-success, #236648);}.school-logo{width:78px;height:78px;object-fit:cover;border-radius:18px;border:1px solid var(--theme-border, rgba(255,255,255,.42));box-shadow:var(--theme-shadow, 0 8px 22px rgba(0,0,0,.13));background:var(--theme-surface, #fff);}.profile-detail a{font-weight:750;color:var(--blue);}.profile-detail a:hover{text-decoration:underline;}.page-enter{animation:pageRise .24s var(--ease) both;}.card,.rail-card,.composer,.welcome-panel,.search-panel,.settings-card{transition:transform .18s var(--ease),box-shadow .18s var(--ease),border-color .18s var(--ease),background-color .18s var(--ease);}.post-card{transition:box-shadow .18s var(--ease),border-color .18s var(--ease),transform .18s var(--ease);}.post-card:hover{box-shadow:var(--theme-shadow, 0 9px 30px rgba(28,58,99,.075));}.profile-dropdown:not([hidden]){animation:dropIn .18s var(--ease) both;}.like-button.active{animation:likePulse .22s ease;}.auth-card,.legal-card{animation:pageRise .28s var(--ease) both;}.primary-button:active,.secondary-button:active,.icon-button:active,.notification-button:active{transform:scale(.975);}
@media(max-width:560px){.avatar-editor,.school-logo-editor{align-items:flex-start;}.session-list>div{grid-template-columns:auto 1fr;}.session-list>div>.status,.session-list>div>button{grid-column:2;justify-self:start;}.school-logo{width:64px;height:64px;border-radius:15px;}}

/* v1.0 final UI/UX pass */
:root{--ease-out:cubic-bezier(.22,1,.36,1);--ring:var(--theme-focus-ring, 0 0 0 3px rgba(17,101,220,.16));}
:focus-visible{outline:2px solid var(--theme-accent, #1670ee);outline-offset:2px;}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:none;box-shadow:var(--ring);}
.notification-link,.mobile-notification-link{position:relative;}.notification-badge{position:absolute;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--theme-danger-soft, #ef3f4f);color:var(--theme-text, #fff);font-size:9px;font-weight:850;line-height:1;box-shadow:0 0 0 2px var(--surface);}.notification-badge[hidden]{display:none!important;}.notification-link .notification-badge{right:1px;top:1px;}
.mobile-bottom-nav{display:none;}
.welcome-panel{isolation:isolate;background:var(--theme-surface, linear-gradient(112deg,#123e65 0%,#0c527f 55%,#096da5 100%));justify-content:space-between;align-items:stretch;}.welcome-panel:before{content:"";position:absolute;inset:0;background:var(--theme-surface, radial-gradient(circle at 78% 38%,rgba(255,255,255,.15),transparent 24%),linear-gradient(90deg,rgba(0,0,0,.08),transparent 46%));z-index:-1;}.welcome-panel:after{width:310px;height:310px;right:-92px;top:-108px;border-width:44px;}.welcome-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;}.welcome-copy p{font-size:14px;color:var(--theme-text, #edf6ff);max-width:560px;}.welcome-panel blockquote{align-self:flex-end;margin:0 0 1px auto;max-width:210px;text-align:right;font-size:13px;font-style:italic;line-height:1.45;color:var(--theme-text, #e9f5ff);position:relative;z-index:1;}.welcome-stats{margin-top:18px;display:flex;gap:9px;flex-wrap:wrap;}.welcome-stats span{min-width:118px;min-height:57px;flex-direction:row;align-items:center;gap:10px;padding:9px 12px;border-radius:12px;background:var(--theme-surface, rgba(10,34,57,.38));border:1px solid var(--theme-border, rgba(255,255,255,.14));backdrop-filter:blur(7px);}.welcome-stats span>svg{opacity:.95;}.welcome-stats b{display:flex;flex-direction:column;}.welcome-stats strong{font-size:17px;line-height:1;}.welcome-stats small{font-size:9px;margin-top:4px;color:var(--theme-text, #e4f0fb);white-space:nowrap;}
.composer{box-shadow:var(--theme-shadow, 0 4px 19px rgba(25,56,97,.04));}.composer-main textarea{min-height:48px;resize:none;padding:13px 15px;border-radius:18px;line-height:1.45;transition:min-height .18s var(--ease-out),background .18s;}.composer-main textarea:focus{min-height:82px;background:var(--surface);}.composer-actions{margin-top:10px;display:flex;align-items:center;}.composer-actions .primary-button{margin-left:auto;min-width:122px;}.media-button,.audience-select{transition:background .16s var(--ease-out),transform .16s var(--ease-out);}.media-button:active,.audience-select:active{transform:scale(.985);}
.post-card{overflow:visible;}.post-head{min-height:46px;}.post-author strong{font-size:13px;}.post-author small{line-height:1.35;}.post-body{font-size:13.5px;line-height:1.55;padding-top:12px;}.post-media{box-shadow:var(--theme-shadow, inset 0 0 0 1px rgba(0,0,0,.03));}.post-meta{min-height:34px;align-items:center;}.post-interactions button{min-height:43px;font-size:12px;}.post-interactions button svg{transition:transform .18s var(--ease-out);}.post-interactions button:hover svg{transform:translateY(-1px);}.comment{animation:commentIn .2s var(--ease-out) both;}@keyframes commentIn{from{opacity:0;transform:translateY(5px);}to{opacity:1;transform:none;}}
.rail-card{transition:transform .18s var(--ease-out),box-shadow .18s var(--ease-out);}.rail-card:hover{transform:translateY(-1px);box-shadow:var(--theme-shadow, 0 8px 26px rgba(29,57,91,.07));}.rail-heading{margin-bottom:9px;}.school-mini-link{min-height:62px;}.school-list-row{min-height:54px;}.school-list-row>svg:last-child,.school-mini-link>svg:last-child{transition:transform .16s var(--ease-out);}.school-list-row:hover>svg:last-child,.school-mini-link:hover>svg:last-child{transform:translateX(2px);}.rail-empty{display:flex;align-items:center;gap:9px;padding:12px 2px;color:var(--muted);font-size:10.5px;line-height:1.4;}.rail-empty svg{color:var(--theme-muted, #8da0b6);flex:none;}.popular-post-row{min-height:57px;}.quote-card{min-height:105px;background:var(--theme-surface, linear-gradient(135deg,#edf6ff,#e3f0ff));border:1px solid var(--theme-border, #dceafa);box-shadow:none;}.quote-card p{font-size:12px;line-height:1.45;}
.cookie-notice{position:fixed;z-index:95;left:50%;bottom:18px;transform:translateX(-50%);width:min(720px,calc(100vw - 28px));display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 13px 12px 15px;background:color-mix(in srgb,var(--surface) 97%,transparent);border:1px solid var(--line);border-radius:14px;box-shadow:var(--theme-shadow, 0 16px 45px rgba(20,45,77,.18));backdrop-filter:blur(14px);animation:cookieIn .3s var(--ease-out) both;}.cookie-notice>div{display:flex;align-items:flex-start;gap:10px;min-width:0;}.cookie-notice>div>svg{color:var(--blue);flex:none;margin-top:2px;}.cookie-notice p{display:flex;flex-direction:column;margin:0;min-width:0;}.cookie-notice strong{font-size:11px;}.cookie-notice span{font-size:10px;color:var(--muted);line-height:1.4;margin-top:2px;}.cookie-notice a{color:var(--blue);font-weight:750;}.cookie-notice .secondary-button{min-height:34px;flex:none;font-size:10px;}.cookie-notice.leaving{opacity:0;transform:translate(-50%,8px);transition:.18s;}.profile-dropdown{transform-origin:top right;}.profile-dropdown:not([hidden]){animation:menuPop .2s var(--ease-out) both;}@keyframes menuPop{from{opacity:0;transform:translateY(-6px) scale(.98);}to{opacity:1;transform:none;}}@keyframes cookieIn{from{opacity:0;transform:translate(-50%,10px);}to{opacity:1;transform:translate(-50%,0);}}
@media(max-width:1180px){.welcome-panel blockquote{display:none;}}
@media(max-width:820px){.mobile-bottom-nav{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:25;grid-template-columns:repeat(4,1fr);min-height:64px;padding:5px max(8px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:color-mix(in srgb,var(--surface) 96%,transparent);border-top:1px solid var(--line);box-shadow:var(--theme-shadow, 0 -8px 28px rgba(23,48,80,.08));backdrop-filter:blur(16px);}.mobile-bottom-nav>a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:50px;border-radius:10px;color:var(--theme-muted, #718095);font-size:9px;font-weight:720;}.mobile-bottom-nav>a>svg{width:20px;height:20px;}.mobile-bottom-nav>a.active{color:var(--blue);background:var(--theme-selected, rgba(17,101,220,.07));}.mobile-bottom-nav .notification-badge{top:1px;left:calc(50% + 5px);box-shadow:0 0 0 2px var(--surface);}.content-grid,.content-grid.with-right{margin-bottom:88px;}.cookie-notice{bottom:78px;}}
@media(max-width:560px){.topbar{box-shadow:0 1px 0 var(--line);}.welcome-panel{padding:23px 18px 20px;min-height:auto;}.welcome-copy p{font-size:12px;}.welcome-stats{margin-top:15px;gap:6px;display:grid;grid-template-columns:repeat(3,1fr);width:100%;}.welcome-stats span{min-width:0;min-height:52px;padding:8px 7px;gap:6px;}.welcome-stats span>svg{width:16px;height:16px;}.welcome-stats strong{font-size:15px;}.welcome-stats small{font-size:7.5px;overflow:hidden;text-overflow:ellipsis;}.composer-main textarea{min-height:46px;}.composer-main textarea:focus{min-height:68px;}.composer-actions{flex-wrap:wrap;}.composer-actions .primary-button{min-width:112px;}.post-body{font-size:13px;}.cookie-notice{align-items:stretch;gap:9px;padding:11px;bottom:76px;}.cookie-notice>div{align-items:flex-start;}.cookie-notice .secondary-button{align-self:center;}.quote-card{display:none;}}
@media(prefers-reduced-motion:reduce){.cookie-notice,.comment,.profile-dropdown:not([hidden]){animation:none!important;}.rail-card:hover{transform:none;}.school-list-row:hover>svg:last-child,.school-mini-link:hover>svg:last-child,.post-interactions button:hover svg{transform:none;}}


/* v1.0.2 startup diagnostics */
.startup-fallback,.startup-failure{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--theme-raised, #f5f8fc);color:var(--theme-text, #10233f);}
.startup-fallback-card,.startup-failure-card{width:min(560px,100%);background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #e2e9f2);border-radius:24px;box-shadow:var(--theme-shadow, 0 18px 60px rgba(31,59,92,.10));padding:36px;text-align:center;}
.startup-fallback-logo{font-size:34px;font-weight:900;color:var(--theme-text, #17365d);margin-bottom:18px;}.startup-fallback-logo span{color:var(--theme-accent, #0d63df);}
.startup-fallback h1,.startup-failure h1{margin:0 0 12px;font-size:28px;}.startup-fallback p,.startup-failure p{color:var(--theme-muted, #65758a);line-height:1.65;}
.startup-failure-icon{width:58px;height:58px;margin:18px auto;display:grid;place-items:center;border-radius:18px;background:var(--theme-warning-soft, #fff3e8);color:var(--theme-warning, #b45f06);}
.startup-help{text-align:left;background:var(--theme-raised, #f7f9fc);border-radius:16px;padding:16px 18px;margin:20px 0;}.startup-help ol{margin:10px 0 0;padding-left:20px;color:var(--theme-muted, #56677b);line-height:1.7;}
.noscript-message{position:fixed;inset:auto 16px 16px;z-index:9999;background:var(--theme-danger-soft, #8f1d1d);color:var(--theme-text, #fff);padding:14px 18px;border-radius:12px;text-align:center;}

/* v1.0.4 — registration model, larger icons and full responsive pass */
.svg-icon{flex:0 0 auto;}
.sidebar-nav>a{min-height:50px;gap:14px;font-size:14px;}
.sidebar-nav>a>.svg-icon{width:24px!important;height:24px!important;stroke-width:2.05;}
.sidebar-promo-icon>.svg-icon{width:26px!important;height:26px!important;}
.notification-button{width:44px;height:44px;}.notification-button>.svg-icon{width:23px!important;height:23px!important;}
.profile-dropdown>a>.svg-icon:first-child,.profile-dropdown-logout>.svg-icon{width:21px!important;height:21px!important;}
.profile-dropdown>a{min-height:44px;}.profile-dropdown-logout{min-height:44px;}
.post-interactions button>.svg-icon,.post-actions button>.svg-icon{width:21px!important;height:21px!important;}
.settings-icon>.svg-icon,.notification-icon>.svg-icon{width:23px!important;height:23px!important;}
.result-card>.svg-icon:last-child,.school-list-row>.svg-icon:last-child,.school-mini-link>.svg-icon:last-child{width:20px!important;height:20px!important;}
.registration-progress{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;gap:9px;margin:2px 0 24px;}.registration-progress>i{height:2px;background:var(--line);border-radius:2px;transition:background .22s var(--ease);}.registration-progress>span{display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--muted);min-width:54px;transition:color .2s;}.registration-progress b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--line);font-size:12px;transition:.22s var(--ease);}.registration-progress small{font-size:9px;font-weight:750;}.registration-progress span.active,.registration-progress span.done{color:var(--blue);}.registration-progress span.active b{background:var(--blue);color:var(--theme-text, #fff);border-color:var(--blue);box-shadow:var(--theme-shadow, 0 6px 16px rgba(18,104,232,.2));}.registration-progress span.done b{background:var(--theme-raised, #e8f2ff);border-color:var(--theme-border, #bcd7ff);}.registration-progress span.done+ i{background:var(--theme-raised, #8ab9f8);}
.registration-step{display:none;}.registration-step.active{display:block;animation:registrationStep .24s var(--ease) both;}@keyframes registrationStep{from{opacity:0;transform:translateX(8px);}to{opacity:1;transform:none;}}
.registration-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px;}.registration-actions .secondary-button>.svg-icon{transform:rotate(180deg);}.registration-school-note,.registration-privacy-summary{display:flex;align-items:flex-start;gap:11px;padding:13px 14px;border-radius:13px;background:var(--theme-raised, #f3f8ff);border:1px solid var(--theme-border, #dbeaff);color:var(--theme-muted, #385574);margin:14px 0;}.registration-school-note>.svg-icon,.registration-privacy-summary>.svg-icon{color:var(--blue);width:24px!important;height:24px!important;margin-top:1px;}.registration-school-note p,.registration-privacy-summary div{margin:0;}.registration-school-note strong,.registration-privacy-summary strong{display:block;color:var(--text);font-size:11.5px;}.registration-school-note span,.registration-privacy-summary p{display:block;margin:3px 0 0;font-size:10px;line-height:1.5;color:var(--muted);}
.field>small{display:block;color:var(--muted);font-size:9.5px;line-height:1.45;margin-top:5px;}.platform-home-note{align-items:center;}.platform-home-note .secondary-button{margin-left:auto;white-space:nowrap;}

@media(min-width:1600px){.content-grid{width:min(1320px,calc(100% - 54px));}.content-grid.with-right{grid-template-columns:minmax(0,820px) 360px;gap:22px;}.sidebar{width:270px;padding-left:18px;padding-right:18px;}.page-area{margin-left:270px;}.topbar{padding-left:32px;padding-right:32px;}.top-search{max-width:620px;}.right-rail{top:96px;}}
@media(max-width:1280px){.content-grid.with-right{grid-template-columns:minmax(0,760px) 300px;}.sidebar{width:238px;}.page-area{margin-left:238px;}.topbar{padding-inline:20px;}.sidebar-nav>a{font-size:13.5px;padding-inline:11px;}}
@media(max-width:1120px){.right-rail{display:none;}.content-grid.with-right{grid-template-columns:minmax(0,820px);justify-content:center;}.content-grid{width:min(860px,calc(100% - 32px));}.welcome-panel blockquote{display:none;}.top-search{max-width:500px;}}
@media(max-width:960px){.sidebar{transform:translateX(-105%);width:min(286px,86vw);box-shadow:var(--theme-shadow, 18px 0 50px rgba(13,32,52,.18));}.sidebar.open{transform:translateX(0);}.sidebar-scrim{display:block;position:fixed;inset:0;background:var(--theme-overlay, rgba(8,21,36,.4));z-index:29;opacity:0;visibility:hidden;transition:.2s;}.sidebar-scrim.show{opacity:1;visibility:visible;}.page-area{margin-left:0;}.mobile-menu{display:inline-flex;}.content-grid,.content-grid.with-right{width:min(820px,calc(100% - 28px));}.user-menu>span{max-width:150px;}.topbar{padding-inline:max(14px,env(safe-area-inset-left)) max(14px,env(safe-area-inset-right));}}
@media(max-width:760px){.topbar{height:64px;gap:9px;}.top-search{height:42px;min-width:0;}.top-search span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.user-menu>span{display:none;}.notification-button{width:42px;height:42px;}.content-grid,.content-grid.with-right{width:min(680px,calc(100% - 20px));margin-top:12px;}.welcome-stats{grid-template-columns:repeat(3,1fr);display:grid;width:100%;}.welcome-stats span{min-width:0;}.profile-grid,.school-layout{grid-template-columns:1fr;}.registration-progress{margin-bottom:19px;}.auth-card{width:min(620px,calc(100% - 24px));}.field-row,.form-grid{grid-template-columns:1fr;}}
@media(max-width:560px){body{min-width:0;}.public-shell{padding-top:10px;}.public-brand{padding-inline:16px;}.auth-card,.legal-card{width:100%;padding:22px 16px;}.registration-progress{gap:4px;}.registration-progress>span{min-width:48px;}.registration-progress small{font-size:8px;}.registration-progress b{width:28px;height:28px;}.registration-actions{position:sticky;bottom:0;margin-left:-16px;margin-right:-16px;margin-bottom:-22px;padding:12px 16px max(12px,env(safe-area-inset-bottom));background:color-mix(in srgb,var(--surface) 96%,transparent);border-top:1px solid var(--line);backdrop-filter:blur(12px);z-index:3;}.registration-actions .primary-button,.registration-actions .secondary-button{min-height:44px;}.topbar{padding-inline:8px;height:60px;}.mobile-menu{width:42px;height:42px;}.top-search{padding-inline:10px;flex:1;}.top-search span{font-size:0;}.top-search span:after{content:"Търси";font-size:11px;}.notification-button#theme-toggle{display:none;}.notification-link{display:inline-flex;}.user-menu{padding:2px;}.user-menu .avatar{width:38px!important;height:38px!important;}.content-grid,.content-grid.with-right{width:100%;margin-top:8px;}.main-column{width:100%;}.welcome-panel{border-radius:0;padding:22px 16px;}.welcome-panel h1{font-size:clamp(23px,7vw,28px);}.welcome-stats{gap:6px;}.welcome-stats span{padding:8px 5px;}.welcome-stats span>svg{width:19px!important;height:19px!important;}.welcome-stats strong{font-size:15px;}.welcome-stats small{font-size:7.5px;}.composer,.post-card,.search-panel,.settings-card,.notification-list{border-radius:0;border-left:0;border-right:0;}.composer{padding-inline:13px;}.composer-actions{gap:5px;}.composer-actions .media-button{min-width:44px;}.composer-actions .media-button>.svg-icon{width:23px!important;height:23px!important;}.audience-select{min-width:0;flex:1;}.audience-select select{max-width:100%;min-width:0;}.post-interactions button,.post-actions button{min-height:46px;}.post-interactions button>.svg-icon,.post-actions button>.svg-icon{width:22px!important;height:22px!important;}.mobile-bottom-nav{min-height:70px;}.mobile-bottom-nav>a{min-height:56px;font-size:9.5px;}.mobile-bottom-nav>a>.svg-icon{width:25px!important;height:25px!important;}.profile-dropdown{right:6px;width:min(330px,calc(100vw - 12px));top:62px;}.cookie-notice{width:calc(100vw - 18px);}.platform-home-note{margin:0 10px 10px;flex-wrap:wrap;}.platform-home-note .secondary-button{margin-left:35px;}}
@media(max-width:390px){.public-brand small{display:none;}.auth-heading h1{font-size:24px;}.registration-progress small{display:none;}.registration-progress>span{min-width:32px;}.registration-progress b{width:29px;height:29px;}.top-actions{gap:1px;}.notification-button{width:40px;height:40px;}.user-menu .avatar{width:36px!important;height:36px!important;}.welcome-stats small{display:none;}.welcome-stats span{min-height:48px;justify-content:center;}.composer-actions .primary-button{min-width:98px;padding-inline:12px;}.audience-select{padding-inline:6px;}.audience-select select{font-size:10px;}.post-interactions button,.post-actions button{font-size:10.5px;}.mobile-bottom-nav{padding-left:4px;padding-right:4px;}.mobile-bottom-nav>a{font-size:8.5px;}.cookie-notice{display:block;}.cookie-notice .secondary-button{width:100%;margin-top:8px;}}
@media(max-width:340px){.top-search{display:none;}.topbar{justify-content:space-between;}.top-actions{margin-left:auto;}.welcome-panel{padding-inline:12px;}.composer-actions{display:grid;grid-template-columns:auto 1fr auto;}.composer-actions .primary-button{min-width:90px;}.post-card{padding-inline:11px;}.post-media{margin-inline:-11px;}.mobile-bottom-nav>a span{display:none;}.mobile-bottom-nav>a>.svg-icon{width:27px!important;height:27px!important;}.mobile-bottom-nav{min-height:60px;}}
@media(max-height:520px) and (orientation:landscape) and (max-width:960px){.mobile-bottom-nav{min-height:54px;}.mobile-bottom-nav>a{min-height:44px;flex-direction:row;}.mobile-bottom-nav>a span{display:none;}.content-grid,.content-grid.with-right{margin-bottom:65px;}.cookie-notice{bottom:62px;}.sidebar{padding-top:12px;}.sidebar-promo{display:none;}}
@media(pointer:coarse){button,a,select,input[type=checkbox]{touch-action:manipulation;}.icon-button,.notification-button{min-width:44px;min-height:44px;}.sidebar-nav>a{min-height:50px;}.profile-dropdown>a,.profile-dropdown button{min-height:48px;}}
@media(prefers-reduced-motion:reduce){.registration-step.active{animation:none!important;}.registration-progress *{transition:none!important;}}
.school-create-form{grid-template-columns:minmax(220px,1.7fr) minmax(150px,.8fr) auto;}.school-admin-list{display:flex;flex-direction:column;}.school-admin-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:13px 4px;border-bottom:1px solid var(--line);}.school-admin-row:last-child{border-bottom:0;}.school-admin-row>div strong{display:block;font-size:12.5px;}.school-admin-row>div p{margin:4px 0 0;color:var(--muted);font-size:10px;}.platform-admin-intro .settings-title{margin-bottom:14px;}
@media(max-width:720px){.school-create-form{grid-template-columns:1fr;}.school-admin-row{grid-template-columns:44px 1fr auto;}.school-admin-row>.secondary-button{grid-column:2/4;justify-self:start;}.admin-tabs{overflow-x:auto;scrollbar-width:none;}.admin-tabs::-webkit-scrollbar{display:none;}.admin-table{min-width:760px;}}
@media(max-width:430px){.school-admin-row{grid-template-columns:42px 1fr;}.school-admin-row>.status{grid-column:2;}.school-admin-row>.secondary-button{grid-column:2;}}


/* v1.0.5 — unified ZPG+ brand system, polished controls and activation flow */
:root{
 --brand-primary:var(--theme-accent, #0b63e5);--brand-primary-strong:var(--theme-accent-hover, #0752c4);--brand-navy:var(--theme-text, #0d3158);--brand-sky:var(--theme-raised, #eaf4ff);--brand-sky-2:var(--theme-raised, #f4f9ff);--brand-cyan:var(--theme-accent, #2f80ed);
 --brand-success:var(--theme-success, #13875b);--brand-warning:var(--theme-warning, #b46a12);--brand-danger:var(--theme-danger, #ca3346);--brand-radius-xs:8px;--brand-radius-sm:11px;--brand-radius-md:14px;--brand-radius-lg:18px;
 --brand-shadow-sm:var(--theme-shadow, 0 5px 16px rgba(18,49,88,.06));--brand-shadow-md:var(--theme-shadow, 0 12px 34px rgba(18,49,88,.10));--brand-shadow-menu:var(--theme-elevation, 0 18px 44px rgba(18,49,88,.16));
 --blue:var(--brand-primary);--blue-2:var(--brand-primary-strong);--navy:var(--brand-navy);--green:var(--brand-success);--danger:var(--brand-danger);
}

.zpg-brand-symbol{--brand-size:38px;width:var(--brand-size);height:var(--brand-size);display:inline-grid;place-items:center;flex:0 0 auto;border-radius:calc(var(--brand-size)*.28);background:var(--theme-surface, linear-gradient(145deg,#0d3158 0%,#0b63e5 72%,#2687ff 100%));box-shadow:var(--theme-shadow, 0 calc(var(--brand-size)*.15) calc(var(--brand-size)*.45) rgba(11,99,229,.2));position:relative;overflow:hidden;}
.zpg-brand-symbol:after{content:"";position:absolute;inset:1px;border-radius:inherit;border:1px solid var(--theme-border, rgba(255,255,255,.18));pointer-events:none;}.zpg-brand-symbol svg{width:78%;height:78%;overflow:visible;}.zpg-brand-symbol .brand-cap{fill:var(--theme-text, #fff);stroke:none;}.zpg-brand-symbol .brand-cap-line{fill:none;stroke:var(--theme-text, #fff);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;}.zpg-brand-symbol .brand-plus-v,.zpg-brand-symbol .brand-plus-h{stroke:var(--theme-accent, #79c5ff);stroke-width:5;stroke-linecap:round;}
.brand-lockup,.public-brand{gap:10px;}.brand-lockup strong,.public-brand strong,.sidebar-brand-foot strong{letter-spacing:-.65px;}.brand-lockup strong span,.public-brand strong span,.sidebar-brand-foot strong span{color:var(--brand-primary);}
.sidebar{border-right-color:var(--theme-border, #e8edf5);}.sidebar nav>a.active{background:var(--theme-surface, linear-gradient(135deg,#0b63e5,#0757ca));box-shadow:var(--theme-shadow, 0 10px 22px rgba(11,99,229,.21));}.sidebar-promo{background:var(--theme-surface, linear-gradient(155deg,#0d3158,#0b4f91 58%,#0b63e5));border:1px solid var(--theme-border, rgba(255,255,255,.1));}
.primary-button{background:var(--theme-accent, linear-gradient(135deg,var(--brand-primary),#0d71f3));box-shadow:var(--theme-shadow, 0 8px 20px rgba(11,99,229,.19));}.primary-button:hover{background:var(--theme-hover, linear-gradient(135deg,var(--brand-primary-strong),#0b63e5));}

/* Branded checkboxes */
.check-row{position:relative;align-items:flex-start;gap:11px;}.check-row input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:21px;height:21px;min-width:21px;border:1.7px solid var(--theme-control-border, #b8c5d6);border-radius:6px;background:var(--surface);display:grid;place-content:center;margin:1px 0 0;transition:border-color .16s var(--ease),background .16s var(--ease),box-shadow .16s var(--ease),transform .12s var(--ease);}.check-row input[type="checkbox"]:before{content:"";width:5px;height:10px;border:solid var(--theme-control-border, #fff);border-width:0 2px 2px 0;transform:rotate(45deg) scale(0);transform-origin:center;transition:transform .15s var(--ease);}.check-row input[type="checkbox"]:checked{background:var(--theme-accent, linear-gradient(145deg,var(--brand-primary),#2586ff));border-color:var(--brand-primary);box-shadow:var(--theme-shadow, 0 4px 12px rgba(11,99,229,.18));}.check-row input[type="checkbox"]:checked:before{transform:rotate(45deg) scale(1);}.check-row input[type="checkbox"]:focus-visible{box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(11,99,229,.18));}.check-row input[type="checkbox"]:active{transform:scale(.94);}

/* Unified selects / dropdown controls */
select,.branded-select{appearance:none;-webkit-appearance:none;background-color:var(--surface);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230d3158' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;background-size:18px;padding-right:40px!important;border:1px solid var(--line)!important;border-radius:11px!important;min-height:42px;color:var(--text);transition:border-color .16s,box-shadow .16s,background-color .16s;}.field select,.form-grid select,.search-filters select,.role-select,.activation-type{width:100%;}.field select:hover,.form-grid select:hover,.search-filters select:hover,.role-select:hover,.activation-type:hover{border-color:var(--theme-control-border, #c7d5e6)!important;}.field select:focus,.form-grid select:focus,.search-filters select:focus,.role-select:focus,.activation-type:focus{outline:none;border-color:var(--brand-primary)!important;box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(11,99,229,.12));}select:disabled{opacity:.64;cursor:not-allowed;background-color:var(--surface-2);}
.profile-dropdown,.post-actions-menu,.popover{border:1px solid var(--theme-border, #dfe7f1)!important;border-radius:14px!important;box-shadow:var(--brand-shadow-menu)!important;padding:7px!important;background:var(--surface)!important;}.profile-dropdown a,.profile-dropdown button,.post-actions-menu button,.popover button{min-height:42px;border-radius:9px!important;padding:9px 10px!important;gap:10px!important;}.profile-dropdown a:hover,.profile-dropdown button:hover,.post-actions-menu button:hover,.popover button:hover{background:var(--brand-sky-2)!important;color:var(--brand-navy);}

/* Verified mark */
.verified{display:none!important;}.verified-badge{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--theme-accent, linear-gradient(145deg,#0b63e5,#2181f5));color:var(--theme-text, #fff);box-shadow:var(--theme-shadow, 0 2px 6px rgba(11,99,229,.22));vertical-align:-3px;flex:none;}.verified-badge svg{width:11px!important;height:11px!important;stroke-width:3;}.verified-badge.big{width:21px;height:21px;vertical-align:-2px;}.verified-badge.big svg{width:14px!important;height:14px!important;}.status-sub .verified-badge{width:15px;height:15px;}

/* Password strength */
.password-strength{margin:-2px 0 12px;padding:12px 13px;border:1px solid var(--line);border-radius:12px;background:var(--brand-sky-2);transition:border-color .18s,background .18s;}.strength-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;}.strength-head span{font-size:10.5px;color:var(--muted);font-weight:700;}.strength-head strong{font-size:10.5px;color:var(--muted);}.strength-bars{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;}.strength-bars i{height:5px;border-radius:999px;background:var(--theme-raised, #dde5ef);transition:background .2s,transform .2s;}.password-strength[data-level="1"] .strength-bars i:nth-child(1){background:var(--theme-raised, #d84a5b);}.password-strength[data-level="2"] .strength-bars i:nth-child(-n/**/+2){background:var(--theme-raised, #e59a28);}.password-strength[data-level="3"] .strength-bars i:nth-child(-n/**/+3){background:var(--theme-raised, #42a675);}.password-strength[data-level="4"] .strength-bars i{background:var(--theme-raised, #13875b);}.password-strength[data-level="1"] .strength-head strong{color:var(--theme-danger, #c4384a);}.password-strength[data-level="2"] .strength-head strong{color:var(--theme-warning, #a96809);}.password-strength[data-level="3"] .strength-head strong,.password-strength[data-level="4"] .strength-head strong{color:var(--theme-success, #13875b);}.password-rules{display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:10px;}.password-rules span{font-size:9.3px;color:var(--muted);display:inline-flex;align-items:center;gap:5px;}.password-rules span:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--theme-raised, #c9d2df);}.password-rules span.met{color:var(--theme-success, #247a58);}.password-rules span.met:before{background:var(--theme-success-soft, #24a06b);box-shadow:var(--theme-shadow, 0 0 0 3px rgba(36,160,107,.1));}.password-match{min-height:18px;margin:-4px 0 3px;font-size:10px;font-weight:700;}.password-match.ok{color:var(--theme-success, #13875b);}.password-match.bad{color:var(--brand-danger);}

/* Registration + pending activation */
.activation-preview{display:flex;gap:11px;padding:13px 14px;margin:14px 0 2px;border-radius:13px;background:var(--theme-surface, linear-gradient(145deg,#eff7ff,#f8fbff));border:1px solid var(--theme-border, #d9eaff);color:var(--text);}.activation-preview>span{color:var(--brand-primary);display:flex;}.activation-preview strong{font-size:11.5px;}.activation-preview ol{margin:6px 0 0;padding-left:18px;color:var(--muted);font-size:10.2px;line-height:1.6;}.pending-activation-hero{display:flex;align-items:center;gap:14px;padding:16px;border-radius:15px;background:var(--theme-surface, linear-gradient(145deg,#edf6ff,#f8fbff));border:1px solid var(--theme-border, #d6e9ff);margin-bottom:14px;}.pending-activation-hero strong{display:block;font-size:15px;color:var(--brand-navy);}.pending-activation-hero p{margin:4px 0 0;font-size:11px;line-height:1.5;color:var(--muted);}.pending-steps{display:flex;flex-direction:column;gap:8px;margin:14px 0;}.pending-steps>div{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:var(--surface);}.pending-steps>div>svg{color:var(--brand-primary);width:20px!important;height:20px!important;}.pending-steps>div.done>svg{color:var(--brand-success);}.pending-steps span{display:flex;flex-direction:column;}.pending-steps strong{font-size:11px;}.pending-steps small{font-size:9.5px;color:var(--muted);margin-top:2px;}

/* Admin activation flow */
.user-activation-table td{vertical-align:middle;}.pending-row{background:var(--theme-surface, linear-gradient(90deg,rgba(234,244,255,.65),transparent 72%));}.education-cell{display:flex;flex-direction:column;min-width:190px;}.education-cell strong{font-size:11.2px;}.education-cell small{font-size:9.4px;color:var(--muted);margin-top:3px;}.status-pill{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;font-size:9.5px;font-weight:800;white-space:nowrap;}.status-pill.active{background:var(--theme-selected, #e9f8f1);color:var(--theme-success, #157550);border:1px solid var(--theme-border, #cceedd);}.status-pill.pending{background:var(--theme-warning-soft, #fff6e8);color:var(--theme-warning, #9b610c);border:1px solid var(--theme-border, #f0dfbd);}.status-pill svg{width:13px!important;height:13px!important;}.status-sub{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:8.8px;margin-top:5px;}.admin-hint{display:inline-block;max-width:170px;font-size:9.5px;line-height:1.35;}.activation-type,.role-select{min-width:150px;}

/* Stronger brand identity on key surfaces */
.welcome-panel{background:var(--theme-surface, radial-gradient(circle at 86% 12%,rgba(97,183,255,.28),transparent 28%),linear-gradient(125deg,#0d3158 0%,#0b4e91 48%,#0b63e5 100%));}.profile-cover{background:var(--theme-surface, radial-gradient(circle at 78% 15%,rgba(114,197,255,.24),transparent 30%),linear-gradient(125deg,#0d3158,#0b63e5));}.school-hero{background:var(--theme-surface, radial-gradient(circle at 82% 18%,rgba(115,199,255,.22),transparent 28%),linear-gradient(125deg,#0d3158,#0b63e5));}

@media(max-width:760px){.user-activation-table{min-width:820px;}.password-rules{display:grid;grid-template-columns:1fr 1fr;}.pending-activation-hero{align-items:flex-start;}.zpg-brand-symbol{border-radius:12px;}}
@media(max-width:430px){.password-rules{grid-template-columns:1fr;}.strength-head{align-items:flex-start;flex-direction:column;gap:3px;}.pending-activation-hero .zpg-brand-symbol{--brand-size:46px!important;}.registration-school-note span,.registration-privacy-summary p{font-size:10px;}}

.startup-fallback-logo{display:flex!important;align-items:center;justify-content:center;gap:9px;}.startup-brand-square{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--theme-surface, linear-gradient(145deg,#0d3158,#0b63e5));color:var(--theme-text, #fff);font-weight:900;font-size:13px;box-shadow:var(--theme-shadow, 0 7px 18px rgba(11,99,229,.2));}.startup-fallback-logo>span:last-child{font-weight:900;color:var(--theme-text, #0d3158);letter-spacing:-.5px;}.startup-fallback-logo>span:last-child b{color:var(--theme-accent, #0b63e5);}
.audience-select select{background-color:transparent!important;border:0!important;min-height:34px!important;box-shadow:none!important;padding-top:0!important;padding-bottom:0!important;}.verify-email-state{display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 14px;border:1px solid var(--line);border-radius:14px;background:var(--brand-sky-2);gap:7px;}.verify-email-state>svg{color:var(--brand-primary);}.verify-email-state strong{font-size:14px;}.verify-email-state p{font-size:11px;line-height:1.55;color:var(--muted);margin:0 0 5px;}.verify-email-state.success>svg{color:var(--brand-success);}.verify-email-state.error>svg{color:var(--brand-danger);}
.startup-brand-image{width:34px;height:34px;border-radius:10px;box-shadow:var(--theme-shadow, 0 7px 18px rgba(11,99,229,.2));}


/* ==========================================================================\n   v1.0.6 — DESIGN LOCK: faithful implementation of the approved ZPG+ concept\n   This layer is intentionally authoritative. Real data only; no demo content.\n   ========================================================================== */
:root{
  --z-blue:var(--theme-accent, #0866f5);--z-blue-dark:var(--theme-accent-hover, #0754d2);--z-navy:var(--theme-text, #0a2e57);--z-text:var(--theme-text, #10233f);--z-muted:var(--theme-muted, #6f819b);
  --z-page:var(--theme-surface, #f5f8fc);--z-surface:var(--theme-surface, #fff);--z-line:var(--theme-border, #e6edf6);--z-soft:var(--theme-raised, #f3f7fc);--z-radius:13px;
  --z-shadow:var(--theme-shadow, 0 5px 20px rgba(18,49,88,.055));--z-shadow-menu:var(--theme-elevation, 0 16px 38px rgba(18,49,88,.14));
  --blue:var(--z-blue);--blue-2:var(--z-blue-dark);--navy:var(--z-navy);--text:var(--z-text);--muted:var(--z-muted);
  font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;
}
html,body{background:var(--z-page);color:var(--z-text);}
body{font-size:14px;}.svg-icon{stroke-width:1.9;}.card,.composer,.post-card,.rail-card,.search-panel,.settings-card,.notification-list{border:1px solid var(--z-line);box-shadow:var(--z-shadow);background:var(--theme-surface, #fff);}

/* Approved logo lockup */
.zpg-brand-symbol{--brand-size:44px;width:var(--brand-size);height:calc(var(--brand-size)*.76);display:inline-flex;align-items:center;justify-content:center;flex:none;background:none!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;}
.zpg-brand-symbol:after{display:none!important;}.zpg-brand-symbol svg{width:100%;height:100%;overflow:visible;}
.zpg-brand-symbol .brand-cap{fill:var(--theme-text, #0a2e57);stroke:none;}.zpg-brand-symbol .brand-cap-line,.zpg-brand-symbol .brand-tassel{fill:none;stroke:var(--theme-text, #0a2e57);stroke-width:3.7;stroke-linecap:round;stroke-linejoin:round;}.zpg-brand-symbol .brand-plus-v,.zpg-brand-symbol .brand-plus-h{stroke:var(--theme-accent, #0866f5);stroke-width:4.8;stroke-linecap:round;}
.brand-lockup,.public-brand{display:flex;align-items:center;gap:9px;}.brand-lockup>span,.public-brand>span{display:flex;flex-direction:column;}.brand-lockup strong,.public-brand strong{font-size:31px;line-height:.95;letter-spacing:-1.25px;color:var(--theme-text, #0a2e57);font-weight:850;}.brand-lockup strong>span,.public-brand strong>span,.sidebar-brand-foot strong>span{color:var(--theme-accent, #0866f5);}.brand-lockup small,.public-brand small{font-size:8.5px;margin-top:5px;color:var(--theme-muted, #314763);font-weight:650;}

/* Desktop shell exact proportions */
.sidebar{width:258px;padding:17px 18px 14px;background:var(--theme-surface, #fff);border-right:1px solid var(--theme-border, #e7edf5);box-shadow:none;}.sidebar-top{padding:0 8px 20px;display:block;}.sidebar-nav{gap:4px!important;}.sidebar-nav>a{min-height:45px!important;padding:0 14px!important;border-radius:9px!important;gap:14px!important;font-size:13.5px!important;color:var(--theme-text, #213b5d)!important;font-weight:620!important;}.sidebar-nav>a>.svg-icon{width:21px!important;height:21px!important;stroke-width:1.9!important;}.sidebar-nav>a.active{color:var(--theme-text, #fff)!important;background:var(--theme-surface, linear-gradient(120deg,#1172fb,#075fe6))!important;box-shadow:var(--theme-shadow, 0 7px 15px rgba(8,102,245,.18))!important;}.sidebar-nav>a:hover:not(.active){background:var(--theme-hover, #f4f8fd)!important;}.nav-title{font-size:9px;letter-spacing:.08em;color:var(--theme-muted, #8493a8);padding:0 9px;margin-top:7px;}.nav-divider{background:var(--theme-raised, #eef2f7);margin:11px 5px 7px;}
.page-area{margin-left:258px;}.topbar{height:68px;background:var(--theme-surface, #fff);border-bottom:1px solid var(--theme-border, #e7edf5);padding:0 25px;gap:14px;box-shadow:none;backdrop-filter:none;}.top-search{height:43px;max-width:600px;background:var(--theme-raised, #f3f7fc);border:1px solid var(--theme-border, #e6edf6);border-radius:22px;padding:0 16px;gap:10px;color:var(--theme-muted, #71829b);}.top-search svg{width:20px!important;height:20px!important;color:var(--theme-text, #173e69);}.top-search span{font-size:12px;}.top-actions{gap:7px;}.notification-button{width:42px;height:42px;border-radius:50%!important;background:var(--theme-raised, #f6f9fd)!important;border:0!important;color:var(--theme-text, #153a64)!important;}.notification-button:hover{background:var(--theme-hover, #edf4fc)!important;}.notification-button svg{width:21px!important;height:21px!important;}.notification-badge{right:0!important;top:0!important;min-width:17px!important;height:17px!important;font-size:9px!important;border:2px solid var(--theme-border, #fff)!important;}.user-menu{height:52px;border-radius:12px;padding:4px 7px 4px 5px;gap:9px;min-width:215px;}.user-menu:hover,.user-menu.is-open{background:var(--theme-hover, #f5f8fc);}.user-menu .avatar{width:39px!important;height:39px!important;}.user-menu>span{max-width:145px;}.user-menu strong{font-size:11.5px;}.user-menu small{font-size:9px;color:var(--theme-muted, #71819a);}.user-menu>.svg-icon{width:16px!important;height:16px!important;}
.content-grid{width:min(1220px,calc(100% - 34px));margin:13px auto 46px;gap:17px;}.content-grid.with-right{grid-template-columns:minmax(0,785px) 320px;justify-content:center;gap:17px;}.right-rail{gap:13px;top:81px;}

/* Sidebar campaign card mirrors the approved composition, without fake school data */
.sidebar-promo{margin-top:auto;border-radius:11px;min-height:238px;padding:18px 15px 15px!important;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;background:var(--theme-surface, linear-gradient(180deg,rgba(9,44,84,.05),rgba(7,42,78,.94)),radial-gradient(circle at 70% 18%,#4d7197 0,#173f67 35%,#0b2e53 78%))!important;color:var(--theme-text, #fff);overflow:hidden;position:relative;border:0!important;box-shadow:none!important;}.sidebar-promo:before{content:"";position:absolute;inset:0;background:var(--theme-surface, linear-gradient(155deg,transparent 0 40%,rgba(255,255,255,.06)));pointer-events:none;}.sidebar-promo-art{position:absolute!important;top:31px;left:50%;transform:translateX(-50%);width:88px;height:88px;border-radius:50%;display:grid!important;place-items:center!important;background:var(--theme-surface, rgba(255,255,255,.07));color:var(--theme-text, #d8e9fb);}.sidebar-promo-art svg{width:44px!important;height:44px!important;}.sidebar-promo strong{font-size:15px!important;position:relative;}.sidebar-promo p{font-size:11px!important;line-height:1.48!important;margin:5px 0 10px!important;color:var(--theme-text, #eef6ff)!important;position:relative;}.sidebar-promo a{height:34px;width:100%;justify-content:center;background:var(--theme-surface, #0866f5)!important;color:var(--theme-text, #fff)!important;border-radius:8px!important;font-size:11px!important;font-weight:750;position:relative;}.sidebar-brand-foot{border:0!important;padding:14px 8px 0!important;gap:4px!important;}.sidebar-brand-foot>div{display:flex;align-items:center;gap:7px;}.sidebar-brand-foot strong{font-size:19px;color:var(--theme-text, #0a2e57);letter-spacing:-.8px;}.sidebar-brand-foot small{font-size:8.5px;color:var(--theme-muted, #73839a);}.sidebar-brand-foot a:hover{color:var(--theme-accent, #0866f5);}

/* Hero – same dimensions/rhythm as concept; values are always live data */
.welcome-panel{min-height:195px;border-radius:12px!important;margin-bottom:14px;padding:26px 29px 19px!important;background:var(--theme-surface, radial-gradient(circle at 85% 12%,rgba(64,151,226,.35),transparent 30%),linear-gradient(112deg,#102f4d 0%,#164f78 55%,#0b5f9d 100%))!important;box-shadow:none!important;display:flex!important;align-items:stretch!important;}.welcome-panel:before{content:"";position:absolute;inset:0;background:var(--theme-surface, linear-gradient(90deg,rgba(3,25,43,.35),rgba(3,25,43,.04)));pointer-events:none;}.welcome-panel:after{display:none!important;}.welcome-copy{position:relative;z-index:1;justify-content:flex-start!important;flex:1;}.welcome-panel h1{font-size:30px!important;line-height:1!important;letter-spacing:-.8px!important;margin:0 0 8px!important;color:var(--theme-text, #fff);}.welcome-copy>p{font-size:13px!important;font-weight:450!important;color:var(--theme-text, #fff)!important;margin:0!important;}.welcome-stats{margin-top:auto!important;padding-top:24px!important;gap:9px!important;display:flex!important;}.welcome-stats span{min-width:112px!important;min-height:52px!important;padding:8px 10px!important;background:var(--theme-surface, rgba(7,34,55,.54))!important;border:1px solid var(--theme-border, rgba(255,255,255,.13))!important;border-radius:11px!important;backdrop-filter:blur(5px);}.welcome-stats span>svg{width:20px!important;height:20px!important;color:var(--theme-text, #fff);}.welcome-stats strong{font-size:15px!important;color:var(--theme-text, #fff);}.welcome-stats small{font-size:8px!important;color:var(--theme-text, #e7f2fb)!important;}.welcome-panel blockquote{position:relative!important;z-index:1!important;margin:auto 0 7px 16px!important;max-width:150px!important;font-size:12.5px!important;line-height:1.4!important;color:var(--theme-text, #fff)!important;text-align:left!important;}

/* Composer */
.composer{border-radius:12px!important;padding:14px 17px!important;margin-bottom:12px!important;box-shadow:none!important;}.composer-main{display:flex;gap:11px;align-items:center;}.composer-main .avatar{width:42px!important;height:42px!important;}.composer-main textarea{min-height:42px!important;height:42px;background:var(--theme-raised, #f5f8fc)!important;border:1px solid var(--theme-control-border, #edf1f6)!important;border-radius:20px!important;padding:11px 15px!important;font-size:12px;}.composer-main textarea:focus{min-height:64px!important;height:auto;background:var(--theme-raised, #fff)!important;}.composer-actions{margin-top:11px!important;padding-top:0!important;border:0!important;gap:8px!important;}.media-button,.audience-select{min-height:36px!important;border:1px solid var(--theme-control-border, #e4eaf2)!important;border-radius:8px!important;background:var(--theme-raised, #fff)!important;padding:0 11px!important;font-size:10.5px!important;font-weight:650!important;}.media-button svg{width:19px!important;height:19px!important;color:var(--theme-success, #19a64a);}.audience-select svg{width:17px!important;height:17px!important;}.audience-select{margin-left:auto!important;}.composer-actions .primary-button{min-height:36px!important;height:36px!important;border-radius:8px!important;min-width:108px!important;font-size:11px!important;box-shadow:none!important;}
.feed-tabs{height:47px;border:1px solid var(--z-line)!important;border-radius:10px!important;background:var(--theme-surface, #fff)!important;padding:0 7px!important;margin:0 0 12px!important;display:flex;align-items:stretch;box-shadow:none!important;}.feed-tabs a{position:relative;display:flex;align-items:center;gap:7px;padding:0 13px!important;font-size:11px!important;font-weight:650!important;color:var(--theme-muted, #435b78);}.feed-tabs a svg{width:17px!important;height:17px!important;}.feed-tabs a.active{color:var(--theme-accent, #0866f5)!important;background:var(--theme-selected, #f8fbff);}.feed-tabs a.active:after{content:"";position:absolute;left:8px;right:8px;bottom:-1px;height:3px;background:var(--theme-selected, #0866f5);border-radius:2px 2px 0 0;}

/* Feed card fidelity */
.post-card{border-radius:12px!important;padding:15px 18px 10px!important;margin-bottom:12px!important;box-shadow:none!important;}.post-head{align-items:center;}.post-author{gap:10px!important;}.post-author .avatar{width:42px!important;height:42px!important;}.post-author strong{font-size:12.5px!important;color:var(--theme-text, #152944);}.post-author small{font-size:9.5px!important;color:var(--theme-muted, #73839a);margin-top:3px;}.post-more{width:34px!important;height:34px!important;}.post-more svg{width:18px!important;height:18px!important;}.official-label{font-size:9.5px!important;margin:9px 0 0!important;}.post-body{font-size:12.2px!important;line-height:1.48!important;color:var(--theme-text, #1e334e);margin:10px 0!important;}.post-media{border-radius:8px!important;gap:4px!important;overflow:hidden;}.post-media img{min-height:170px;max-height:430px;object-fit:cover;}.post-meta{font-size:9.5px!important;color:var(--theme-muted, #75859a)!important;padding:8px 0 6px!important;}.post-interactions{border-top:1px solid var(--theme-border, #e8eef5)!important;border-bottom:0!important;min-height:42px;padding-top:4px!important;}.post-interactions button{min-height:37px!important;font-size:10.5px!important;color:var(--theme-muted, #415875)!important;}.post-interactions button svg{width:18px!important;height:18px!important;}.comment{font-size:10.5px;}.comment-bubble{border-radius:12px!important;}.comment-form input{font-size:10.5px!important;}

/* Right cards */
.rail-card{border-radius:11px!important;padding:13px 14px!important;box-shadow:none!important;}.rail-heading{min-height:27px;margin-bottom:7px!important;}.rail-heading>span{font-size:14px!important;color:var(--theme-text, #10233f);font-weight:800!important;}.rail-heading>a{font-size:9.5px!important;color:var(--theme-accent, #0866f5)!important;font-weight:650;}.school-mini-link,.school-list-row{min-height:58px!important;border-radius:7px!important;padding:7px 4px!important;}.school-mini-link strong,.school-list-row strong{font-size:10.5px!important;color:var(--theme-text, #152a45);}.school-mini-link small,.school-list-row small{font-size:8.5px!important;color:var(--theme-muted, #71829a);}.school-mark-image,.school-icon{border-radius:50%!important;}.popular-post-row{padding:8px 2px!important;min-height:52px!important;}.popular-post-row>span{width:42px!important;height:38px!important;border-radius:7px!important;background:var(--theme-raised, #f0f5fb)!important;}.popular-post-row strong{font-size:9.8px!important;line-height:1.28!important;}.popular-post-row small{font-size:8.2px!important;}.quote-card{min-height:94px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;background:var(--theme-surface, linear-gradient(135deg,#eef6ff,#f7fbff))!important;border:0!important;}.quote-card p{font-size:11.5px!important;font-style:italic;color:var(--theme-muted, #30577e)!important;line-height:1.45;margin:0!important;}

/* Profile dropdown identical family */
.profile-menu-wrap{position:relative;}.profile-dropdown{top:58px!important;right:0!important;width:245px!important;border-radius:9px!important;padding:7px!important;border:1px solid var(--theme-border, #dde6f1)!important;box-shadow:var(--z-shadow-menu)!important;}.profile-dropdown-head{padding:5px 6px 8px!important;}.profile-dropdown-head .avatar{width:42px!important;height:42px!important;}.profile-dropdown-head strong{font-size:11px!important;}.profile-dropdown-head small{font-size:8.5px!important;}.profile-dropdown a,.profile-dropdown button{min-height:38px!important;border-radius:7px!important;padding:7px 9px!important;font-size:10.5px!important;}.profile-dropdown a>.svg-icon,.profile-dropdown button>.svg-icon{width:18px!important;height:18px!important;}.profile-dropdown-separator{margin:4px 3px!important;}.profile-dropdown-logout{color:var(--theme-danger, #e12632)!important;}

/* Login matches approved two-panel auth composition */
.auth-surface{min-height:100vh;background:var(--theme-raised, #f5f8fc)!important;padding:26px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;}.auth-stage-login{width:min(820px,calc(100vw - 40px));min-height:570px;display:grid;grid-template-columns:1.08fr .92fr;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #e5ecf5);border-radius:14px;overflow:hidden;box-shadow:var(--theme-shadow, 0 16px 50px rgba(18,49,88,.09));}.auth-main{padding:34px 36px 24px;display:flex;flex-direction:column;}.auth-main>.public-brand{padding:0!important;margin:0 auto 26px!important;}.auth-main .auth-card{width:100%!important;max-width:390px!important;padding:0!important;border:0!important;box-shadow:none!important;margin:auto!important;}.auth-heading h1{font-size:23px!important;letter-spacing:-.55px!important;color:var(--theme-text, #10233f);}.auth-heading p{font-size:11px!important;}.auth-form .field>span{font-size:9.5px!important;font-weight:700!important;color:var(--theme-text, #203a5a);}.auth-form input,.auth-form select{height:42px!important;border-radius:7px!important;background:var(--theme-raised, #f7faff)!important;border:1px solid var(--theme-control-border, #dfe8f3)!important;font-size:11px!important;}.auth-form input:focus,.auth-form select:focus{background:var(--theme-raised, #fff)!important;border-color:var(--theme-accent, #0866f5)!important;box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(8,102,245,.09))!important;}.auth-inline{font-size:9.5px!important;}.auth-card .primary-button,.auth-card .secondary-button{min-height:40px!important;border-radius:7px!important;font-size:11px!important;}.auth-divider{font-size:9px!important;}.auth-mini-footer{margin-top:20px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:8px;color:var(--theme-muted, #8090a5);flex-wrap:wrap;}.auth-mini-footer a:hover{color:var(--theme-accent, #0866f5);}.auth-visual{position:relative;min-height:570px;background:var(--theme-surface, radial-gradient(circle at 50% 15%,rgba(123,177,226,.28),transparent 30%),linear-gradient(180deg,#6688a7 0%,#274e72 48%,#0a3157 100%));overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding:36px 28px;color:var(--theme-text, #fff);}.auth-visual:after{content:"";position:absolute;inset:0;background:var(--theme-surface, linear-gradient(180deg,rgba(9,39,69,.03),rgba(5,30,55,.7)));pointer-events:none;}.auth-visual-building{position:absolute;left:10%;right:10%;top:21%;height:43%;opacity:.45;}.auth-visual-building>span:nth-child(1){position:absolute;left:8%;right:8%;bottom:0;height:70%;background:var(--theme-surface, #1e4467);clip-path:polygon(0 22%,45% 22%,50% 0,55% 22%,100% 22%,100% 100%,0 100%);}.auth-visual-building>span:nth-child(2){position:absolute;left:18%;right:18%;bottom:9%;height:42%;background:var(--theme-surface, repeating-linear-gradient(90deg,#7892aa 0 9px,#274c6d 9px 23px));opacity:.5;}.auth-visual-building>span:nth-child(3){position:absolute;left:47%;bottom:0;width:12%;height:33%;background:var(--theme-surface, #112f4b);}.auth-visual-copy{position:relative;z-index:1;}.auth-visual-copy strong{font-size:22px;line-height:1.12;}.auth-visual-copy p{font-size:11.5px;line-height:1.5;margin:18px 0 0;color:var(--theme-text, #dfeefa);font-style:italic;}.auth-visual-brand{position:relative;z-index:1;display:flex;align-items:center;gap:7px;margin:36px auto 0;opacity:.7;}.auth-visual-brand strong{font-size:18px;}.auth-visual-brand strong>span{color:var(--theme-accent, #67b5ff);}

/* Registration cards */
.register-surface{padding:24px 16px!important;justify-content:flex-start!important;}.public-brand-centered{margin:7px auto 18px!important;padding:0!important;}.register-surface .auth-card{width:min(610px,calc(100vw - 30px))!important;border-radius:13px!important;padding:25px 27px!important;box-shadow:var(--theme-shadow, 0 12px 38px rgba(18,49,88,.075))!important;}.register-surface .auth-heading{text-align:left!important;}.register-surface .auth-heading h1{font-size:20px!important;}.registration-progress{margin:0 0 22px!important;}.registration-progress>span b{width:25px!important;height:25px!important;font-size:9.5px!important;}.registration-progress small{font-size:8px!important;}.registration-progress i{height:2px!important;background:var(--theme-raised, #dfe7f2)!important;}.registration-progress>span.active b{background:var(--theme-selected, #0866f5)!important;}.registration-progress>span.done b{background:var(--theme-success-soft, #16a66b)!important;}.form-section-title{font-size:13px!important;margin-bottom:13px!important;}.registration-actions{margin-top:16px!important;}.registration-school-note,.registration-privacy-summary,.activation-preview{border-radius:8px!important;background:var(--theme-raised, #f4f9ff)!important;border-color:var(--theme-border, #dcecff)!important;}.password-strength{border-radius:8px!important;background:var(--theme-raised, #f7faff)!important;}.strength-bars i{height:4px!important;}.check-row{font-size:9.8px!important;line-height:1.45!important;}.check-row input[type=checkbox]{width:17px!important;height:17px!important;min-width:17px!important;border-radius:3px!important;}.check-row input[type=checkbox]:before{width:4px!important;height:8px!important;}.field-row{gap:10px!important;}

/* Select and dropdown polish */
select,.branded-select{border-radius:7px!important;background-size:16px!important;background-position:right 10px center!important;min-height:40px!important;font-size:10.5px!important;}.field select:hover{border-color:var(--theme-control-border, #bcd0e7)!important;}.field select:focus,.branded-select:focus{border-color:var(--theme-accent, #0866f5)!important;box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(8,102,245,.09))!important;}

/* Branded verified mark: small blue badge like approved concept */
.verified-badge{width:15px!important;height:15px!important;background:var(--theme-accent, #0866f5)!important;box-shadow:none!important;border:1.5px solid var(--theme-border, #fff);}.verified-badge svg{width:9px!important;height:9px!important;stroke-width:3!important;}

/* Responsive behavior mirrors the approved phone shell */
.mobile-bottom-nav{display:none;}
@media(max-width:1260px){.content-grid.with-right{grid-template-columns:minmax(0,750px) 295px;}.sidebar{width:242px;}.page-area{margin-left:242px;}.topbar{padding-inline:18px;}.user-menu{min-width:190px;}.content-grid{width:min(1110px,calc(100% - 26px));}}
@media(max-width:1080px){.right-rail{display:none!important;}.content-grid.with-right{grid-template-columns:minmax(0,790px);justify-content:center;}.content-grid{width:min(820px,calc(100% - 28px));}.welcome-panel blockquote{display:block!important;}}
@media(max-width:900px){.sidebar{width:min(270px,84vw);transform:translateX(-105%);box-shadow:var(--theme-shadow, 18px 0 45px rgba(12,38,69,.18));}.sidebar.open{transform:translateX(0);}.page-area{margin-left:0;}.mobile-menu{display:inline-flex;}.topbar{padding-inline:13px;}.content-grid,.content-grid.with-right{width:min(800px,calc(100% - 24px));}.top-search{max-width:none;}.user-menu{min-width:0;}.user-menu>span{display:none;}}
@media(max-width:640px){body{padding-bottom:72px;}.topbar{height:61px;padding:0 10px;}.mobile-menu{display:none!important;}.top-search{height:39px;border-radius:20px;padding:0 11px;}.top-search span{display:none;}.top-actions{gap:2px;}.notification-button{width:38px!important;height:38px!important;}.user-menu{height:42px!important;padding:2px!important;}.user-menu .avatar{width:36px!important;height:36px!important;}.user-menu>.svg-icon{display:none;}.content-grid,.content-grid.with-right{width:100%;margin:7px 0 18px;}.welcome-panel{border-radius:0!important;min-height:auto!important;padding:16px 14px 14px!important;margin-bottom:7px!important;}.welcome-panel h1{font-size:18px!important;}.welcome-copy>p{font-size:10px!important;}.welcome-panel blockquote{display:none!important;}.welcome-stats{padding-top:14px!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:5px!important;}.welcome-stats span{min-width:0!important;min-height:44px!important;padding:6px 4px!important;gap:4px!important;justify-content:center;}.welcome-stats span>svg{width:15px!important;height:15px!important;}.welcome-stats strong{font-size:12px!important;}.welcome-stats small{font-size:6.8px!important;}.composer,.post-card,.feed-tabs,.search-panel,.settings-card,.notification-list{border-radius:0!important;border-left:0!important;border-right:0!important;margin-bottom:7px!important;}.composer{padding:10px 12px!important;}.composer-main textarea{height:39px!important;min-height:39px!important;font-size:10.5px!important;}.composer-actions{gap:5px!important;}.media-button{padding:0 8px!important;}.media-button span{display:none;}.audience-select{margin-left:auto!important;padding:0 5px!important;max-width:150px;}.audience-select select{font-size:9px!important;padding-right:25px!important;}.composer-actions .primary-button{min-width:89px!important;font-size:9.5px!important;padding-inline:9px!important;}.feed-tabs{height:42px!important;border-left:0!important;border-right:0!important;}.feed-tabs a{font-size:9.5px!important;padding:0 10px!important;}.feed-tabs a svg{width:15px!important;height:15px!important;}.post-card{padding:12px 13px 8px!important;}.post-author .avatar{width:38px!important;height:38px!important;}.post-author strong{font-size:11px!important;}.post-author small{font-size:8.5px!important;}.post-body{font-size:11.5px!important;}.post-media{margin-left:-13px!important;margin-right:-13px!important;border-radius:0!important;}.post-interactions button{font-size:9.5px!important;}.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:50;height:69px;background:var(--theme-surface, #fff);border-top:1px solid var(--theme-border, #dfe7f1);display:grid!important;grid-template-columns:1fr 1fr 1fr 1fr 1fr;padding:5px max(6px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));box-shadow:var(--theme-shadow, 0 -4px 18px rgba(18,49,88,.07));}.mobile-bottom-nav>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--theme-muted, #45617e);font-size:7.5px;font-weight:650;position:relative;}.mobile-bottom-nav>a svg{width:21px!important;height:21px!important;}.mobile-bottom-nav>a.active{color:var(--theme-accent, #0866f5);}.mobile-create{align-self:center;justify-self:center;width:43px;height:43px;border-radius:50%;border:0;background:var(--theme-raised, #0866f5);color:var(--theme-on-accent, #fff);display:grid;place-items:center;box-shadow:var(--theme-shadow, 0 6px 14px rgba(8,102,245,.24));margin-top:-14px;}.mobile-create svg{width:24px!important;height:24px!important;}.profile-dropdown{position:fixed!important;top:57px!important;right:7px!important;width:min(280px,calc(100vw - 14px))!important;}.cookie-notice{bottom:76px!important;}.auth-surface{padding:0!important;justify-content:flex-start;}.auth-stage-login{width:100%;min-height:100vh;border:0;border-radius:0;grid-template-columns:1fr;box-shadow:none;}.auth-main{padding:28px 20px 18px;min-height:100vh;}.auth-main>.public-brand{margin-bottom:28px!important;}.auth-main .auth-card{margin:0 auto!important;}.auth-visual{display:none;}.register-surface{padding:18px 0 0!important;}.register-surface .auth-card{width:100%!important;border-left:0!important;border-right:0!important;border-radius:0!important;padding:20px 16px 85px!important;box-shadow:none!important;}.public-brand-centered{margin-bottom:12px!important;}.registration-progress small{font-size:7px!important;}.field-row{grid-template-columns:1fr!important;}.auth-mini-footer{padding:0 15px 18px;}.registration-actions{position:fixed!important;left:0;right:0;bottom:0;margin:0!important;padding:10px 14px max(10px,env(safe-area-inset-bottom))!important;background:var(--theme-surface, rgba(255,255,255,.97))!important;border-top:1px solid var(--theme-border, #e4ebf4);z-index:30;backdrop-filter:blur(12px);}}
@media(max-width:380px){.welcome-stats small{display:none;}.welcome-stats span{min-height:39px!important;}.top-search{max-width:82px;}.post-interactions button span{font-size:8.5px;}.mobile-bottom-nav>a span{font-size:7px;}.register-surface .auth-heading h1{font-size:18px!important;}.registration-progress small{display:none;}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important;}}

/* v1.0.6 final alignment refinements */
.sidebar-promo{margin-top:14px!important;}.sidebar-brand-foot{margin-top:auto!important;}.feed-empty{min-height:235px;background:var(--theme-surface, #fff);border:1px solid var(--z-line);border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;color:var(--theme-muted, #7890aa);}.feed-empty>svg{width:46px!important;height:46px!important;padding:10px;border-radius:12px;background:var(--theme-raised, #edf5ff);color:var(--theme-muted, #7fa8d4);box-sizing:content-box;}.feed-empty h2{font-size:16px;color:var(--theme-text, #10233f);margin:14px 0 5px;}.feed-empty p{font-size:11px;margin:0 0 15px;max-width:390px;}.feed-empty .primary-button{min-height:36px;border-radius:7px;font-size:10.5px;}.rail-empty{min-height:56px;font-size:9.5px!important;line-height:1.45!important;color:var(--theme-muted, #788ba4)!important;}.rail-empty>svg{width:20px!important;height:20px!important;color:var(--theme-muted, #9ab1c9);}.school-mini-link>.svg-icon,.school-list-row>.svg-icon{width:16px!important;height:16px!important;color:var(--theme-muted, #7490ad);}.empty-state:not(.feed-empty){border-radius:11px;}.mobile-bottom-nav .notification-badge{top:2px!important;right:calc(50% - 19px)!important;}
@media(max-width:640px){.sidebar-promo{margin-top:14px!important;}.feed-empty{min-height:220px;border-radius:0;border-left:0;border-right:0;}.feed-empty h2{font-size:14px;}.feed-empty p{font-size:10px;padding:0 24px;}}

/* v1.0.6 mobile fidelity correction */
.mobile-brand{display:none;align-items:center;gap:5px;color:var(--theme-text, #0a2e57);}.mobile-brand strong{font-size:18px;letter-spacing:-.75px;}.mobile-brand strong span{color:var(--theme-accent, #0866f5);}
@media(max-width:900px){.sidebar{left:-110vw!important;transform:none!important;transition:left .2s ease!important;}.sidebar.open{left:0!important;transform:none!important;}.page-area{margin-left:0!important;width:100%!important;max-width:100vw!important;overflow-x:hidden;}.app-shell{width:100%;max-width:100vw;overflow-x:hidden;}}
@media(max-width:640px){.topbar{display:grid!important;grid-template-columns:auto 1fr auto auto!important;gap:5px!important;}.mobile-brand{display:flex!important;}.mobile-brand .zpg-brand-symbol{--brand-size:31px!important;}.mobile-menu{display:none!important;}.top-search{width:38px!important;max-width:38px!important;min-width:38px!important;padding:0!important;display:grid!important;place-items:center!important;background:var(--theme-raised, #f6f9fd)!important;border:0!important;}.top-search span{display:none!important;}.notification-button#theme-toggle{display:none!important;}.user-menu{min-width:38px!important;}.content-grid,.content-grid.with-right,.main-column{max-width:100vw!important;overflow-x:hidden;}.welcome-panel{margin-top:0!important;min-height:72px!important;background:var(--theme-surface, linear-gradient(135deg,#eef6ff,#f8fbff))!important;color:var(--theme-text, #10233f)!important;border-top:1px solid var(--theme-border, #dce9f7)!important;border-bottom:1px solid var(--theme-border, #dce9f7)!important;padding:13px 14px!important;}.welcome-panel:before{display:none!important;}.welcome-panel h1{color:var(--theme-text, #10233f)!important;font-size:13px!important;margin-bottom:3px!important;}.welcome-copy>p{color:var(--theme-muted, #607895)!important;font-size:9px!important;}.welcome-stats,.welcome-panel blockquote{display:none!important;}.composer{margin-top:0!important;}.sidebar-scrim{z-index:49!important;}.sidebar{z-index:60!important;}}
/* Official real school cover imagery — no demo photography */
.welcome-panel.has-school-cover{background-image:linear-gradient(90deg,rgba(3,27,47,.77),rgba(3,27,47,.38) 58%,rgba(3,27,47,.5)),var(--school-cover)!important;background-position:center!important;background-size:cover!important;}
.sidebar-promo.has-school-cover{background-image:linear-gradient(180deg,rgba(5,32,58,.16),rgba(5,32,58,.95)),var(--school-cover)!important;background-position:center!important;background-size:cover!important;}
.sidebar-promo.has-school-cover .sidebar-promo-art{display:none!important;}
.school-cover-editor{display:flex;align-items:center;gap:14px;padding:13px 0 17px;margin-bottom:16px;border-bottom:1px solid var(--line);}
.school-cover-editor>div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:5px;}.school-cover-editor strong{font-size:12px;}.school-cover-editor p{font-size:10px;color:var(--muted);margin:0 0 4px;}
.school-cover-preview{width:150px;height:82px;flex:none;border-radius:9px;background:var(--theme-raised, #edf5ff);color:var(--theme-muted, #739bc3);display:grid;place-items:center;border:1px solid var(--theme-border, #dfe9f4);background-position:center;background-size:cover;}
@media(max-width:520px){.school-cover-editor{align-items:flex-start;}.school-cover-preview{width:115px;height:72px;}}

/* v1.0.7 build identity */
.profile-build{padding:8px 14px 4px;font-size:9px;color:var(--theme-muted, #8294a9);text-align:center;letter-spacing:.02em;}

/* ========================================================================== */
/* v1.0.9 — REFERENCE-LOCKED UI + COMPLETE LIGHT/DARK THEMING                */
/* The uploaded 1536×1024 ZPG+ concept is the visual source of truth.        */
/* ========================================================================== */
:root{
  --ui-blue:var(--theme-accent, #0866f5);
  --ui-blue-hover:var(--theme-accent-hover, #005be6);
  --ui-navy:var(--theme-text, #082d58);
  --ui-text:var(--theme-text, #10233f);
  --ui-muted:var(--theme-muted, #667b98);
  --ui-muted-2:var(--theme-muted, #8ba0ba);
  --ui-page:var(--theme-surface, #f4f8fd);
  --ui-surface:var(--theme-surface, #ffffff);
  --ui-surface-2:var(--theme-raised, #f6f9fd);
  --ui-surface-3:var(--theme-raised, #edf4fd);
  --ui-border:var(--theme-border, #e1e9f3);
  --ui-border-strong:var(--theme-control-border, #d4dfec);
  --ui-danger:var(--theme-danger, #f13945);
  --ui-success:var(--theme-success, #13a36f);
  --ui-warning:var(--theme-warning, #f2a23a);
  --ui-shadow:var(--theme-shadow, 0 7px 22px rgba(19,55,96,.055));
  --ui-shadow-menu:var(--theme-elevation, 0 14px 38px rgba(18,47,82,.14));
  --ui-radius:11px;
  --ui-radius-sm:8px;
  --ui-sidebar:258px;
  --ui-topbar:62px;
  --ui-ease:cubic-bezier(.22,.8,.24,1);
  color-scheme:light;
}


html,body,#app,.app-shell,.page-area{background:var(--ui-page)!important;color:var(--ui-text)!important;}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;}
*{scrollbar-color:var(--ui-border-strong) transparent;}
::selection{background:var(--theme-raised, rgba(8,102,245,.2));}

/* Shared branded surfaces */
.card,.composer,.post-card,.rail-card,.feed-tabs,.search-panel,.settings-card,.notification-list,.admin-section,.school-about,.school-layout>.card,.empty-state,.modal-card,.legal-card,.register-surface .auth-card{
  background:var(--ui-surface)!important;
  color:var(--ui-text)!important;
  border-color:var(--ui-border)!important;
  box-shadow:var(--ui-shadow)!important;
}
.card,.composer,.post-card,.rail-card,.feed-tabs,.search-panel,.settings-card,.notification-list,.admin-section,.school-about,.school-layout>.card,.empty-state{border-radius:var(--ui-radius)!important;}

/* Shell proportions: visually matched to the reference */
.sidebar{
  width:var(--ui-sidebar)!important;
  padding:15px 17px 13px!important;
  background:var(--ui-surface)!important;
  border-right:1px solid var(--ui-border)!important;
  box-shadow:none!important;
}
.page-area{margin-left:var(--ui-sidebar)!important;min-height:100vh!important;}
.sidebar-top{padding:0 8px 17px!important;}
.brand-lockup{gap:9px!important;color:var(--ui-navy)!important;}
.brand-lockup .zpg-brand-symbol{--brand-size:49px!important;}
.brand-lockup>span strong{font-size:30px!important;letter-spacing:-1.45px!important;color:var(--ui-navy)!important;line-height:.95!important;}
.brand-lockup>span strong span{color:var(--ui-blue)!important;}
.brand-lockup>span small{font-size:8.5px!important;color:var(--ui-muted)!important;margin-top:4px!important;letter-spacing:-.1px!important;}
.sidebar-nav{gap:4px!important;overflow:visible!important;}
.sidebar-nav>a{
  min-height:40px!important;
  padding:0 12px!important;
  gap:13px!important;
  border-radius:8px!important;
  color:var(--ui-navy)!important;
  font-size:13.5px!important;
  font-weight:560!important;
  transition:background .16s var(--ui-ease),color .16s var(--ui-ease),transform .16s var(--ui-ease)!important;
}
.sidebar-nav>a>.svg-icon{width:21px!important;height:21px!important;stroke-width:1.9!important;}
.sidebar-nav>a:hover{background:var(--ui-surface-2)!important;color:var(--ui-blue)!important;}
.sidebar-nav>a.active{background:var(--theme-surface, linear-gradient(110deg,#1073ff 0%,#0763ea 100%))!important;color:var(--theme-text, #fff)!important;box-shadow:var(--theme-shadow, 0 7px 17px rgba(8,102,245,.20))!important;}
.sidebar-nav>a.active:hover{transform:translateY(-1px);}
.nav-divider{background:var(--ui-border)!important;margin:10px 7px 8px!important;}
.nav-title{color:var(--ui-muted)!important;font-size:9px!important;padding-left:12px!important;margin:2px 0 3px!important;letter-spacing:.12em!important;}
.sidebar-promo{
  min-height:206px!important;
  margin-top:auto!important;
  border-radius:11px!important;
  padding:17px 15px 14px!important;
  background:var(--theme-surface, linear-gradient(180deg,#315c82 0%,#133b60 46%,#062945 100%))!important;
  border:1px solid var(--theme-border, rgba(255,255,255,.07))!important;
  box-shadow:none!important;
}
.sidebar-promo:before{content:"";position:absolute;inset:0;background:var(--theme-surface, radial-gradient(circle at 70% 12%,rgba(255,255,255,.15),transparent 35%));pointer-events:none;}
.sidebar-promo-art{color:var(--theme-text, rgba(255,255,255,.9))!important;margin-bottom:auto!important;}
.sidebar-promo strong{font-size:16px!important;line-height:1.05!important;color:var(--theme-text, #fff)!important;}
.sidebar-promo p{font-size:11px!important;line-height:1.45!important;color:var(--theme-text, #e1edf9)!important;margin:7px 0 10px!important;}
.sidebar-promo a{min-height:34px!important;border-radius:7px!important;background:var(--theme-surface, #0871fa)!important;color:var(--theme-text, #fff)!important;font-size:11px!important;font-weight:750!important;}
.sidebar-brand-foot{padding:11px 7px 0!important;color:var(--ui-muted)!important;border-top:0!important;}
.sidebar-brand-foot>div{gap:6px!important;color:var(--ui-navy)!important;}
.sidebar-brand-foot>div strong{font-size:17px!important;color:var(--ui-navy)!important;}
.sidebar-brand-foot>div strong span{color:var(--ui-blue)!important;}
.sidebar-brand-foot small{font-size:8.5px!important;color:var(--ui-muted)!important;line-height:1.45!important;}
.sidebar-brand-foot a:hover{color:var(--ui-blue)!important;}

/* Header */
.topbar{
  height:var(--ui-topbar)!important;
  padding:0 18px!important;
  gap:12px!important;
  background:var(--ui-surface)!important;
  border-bottom:1px solid var(--ui-border)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.top-search{
  height:40px!important;
  max-width:610px!important;
  border:0!important;
  border-radius:22px!important;
  background:var(--ui-surface-2)!important;
  color:var(--ui-muted)!important;
  padding:0 15px!important;
  gap:10px!important;
  box-shadow:var(--theme-shadow, inset 0 0 0 1px rgba(117,145,180,.06))!important;
}
.top-search>.svg-icon{width:20px!important;height:20px!important;color:var(--ui-navy)!important;}
.top-search span{font-size:11px!important;color:var(--ui-muted)!important;}
.top-actions{gap:7px!important;}
.notification-button{
  width:39px!important;height:39px!important;border-radius:50%!important;border:0!important;
  background:var(--ui-surface-2)!important;color:var(--ui-navy)!important;
  display:grid!important;place-items:center!important;position:relative!important;
  transition:transform .15s var(--ui-ease),background .15s var(--ui-ease)!important;
}
.notification-button:hover{background:var(--ui-surface-3)!important;transform:translateY(-1px)!important;}
.notification-button>.svg-icon{width:21px!important;height:21px!important;}
.notification-badge{background:var(--theme-danger-soft, #f23845)!important;color:var(--theme-text, #fff)!important;border:2px solid var(--ui-surface)!important;box-shadow:none!important;}
.user-menu{
  height:48px!important;min-width:205px!important;padding:3px 7px 3px 4px!important;border-radius:24px!important;
  background:var(--ui-surface-2)!important;color:var(--ui-text)!important;gap:9px!important;
}
.user-menu:hover,.user-menu.is-open{background:var(--ui-surface-3)!important;}
.user-menu .avatar{width:39px!important;height:39px!important;}
.user-menu>span{max-width:150px!important;}
.user-menu strong{font-size:10.5px!important;color:var(--ui-text)!important;}
.user-menu small{font-size:8.6px!important;color:var(--ui-muted)!important;margin-top:2px!important;}
.user-menu>.svg-icon{width:16px!important;height:16px!important;color:var(--ui-navy)!important;}
.profile-dropdown{
  top:calc(100% + 7px)!important;right:0!important;width:242px!important;padding:7px!important;
  border-radius:10px!important;background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;
  box-shadow:var(--ui-shadow-menu)!important;overflow:hidden!important;
}
.profile-dropdown-head{padding:8px 8px 9px!important;gap:9px!important;}
.profile-dropdown-head .avatar{width:42px!important;height:42px!important;}
.profile-dropdown-head strong{font-size:10.5px!important;color:var(--ui-text)!important;}
.profile-dropdown-head small{font-size:8.5px!important;color:var(--ui-muted)!important;}
.profile-dropdown>a,.profile-dropdown-logout{
  min-height:36px!important;border-radius:7px!important;padding:0 9px!important;gap:10px!important;
  font-size:10.5px!important;color:var(--ui-text)!important;background:transparent!important;
}
.profile-dropdown>a>.svg-icon,.profile-dropdown-logout>.svg-icon{width:18px!important;height:18px!important;color:var(--ui-navy)!important;}
.profile-dropdown>a:hover,.profile-dropdown-logout:hover{background:var(--ui-surface-2)!important;}
.profile-dropdown-logout{color:var(--ui-danger)!important;}
.profile-dropdown-logout>.svg-icon{color:var(--ui-danger)!important;}
.profile-dropdown-separator{background:var(--ui-border)!important;margin:4px!important;}
.profile-build{color:var(--ui-muted)!important;font-size:8px!important;padding:5px 8px!important;}

/* Main grid */
.content-grid,.content-grid.with-right{
  width:min(1110px,calc(100% - 24px))!important;
  margin:13px auto 36px!important;
  gap:14px!important;
  align-items:start!important;
}
.content-grid.with-right{grid-template-columns:minmax(0,700px) 300px!important;justify-content:center!important;}
.main-column{min-width:0!important;}
.right-rail{gap:13px!important;top:76px!important;}

/* Welcome hero */
.welcome-panel{
  min-height:166px!important;
  border-radius:11px!important;
  padding:24px 24px 18px!important;
  margin-bottom:11px!important;
  background:var(--theme-surface, linear-gradient(110deg,#0e4a78 0%,#0a628f 52%,#176ca0 100%))!important;
  box-shadow:none!important;
  border:0!important;
  color:var(--theme-text, #fff)!important;
}
.welcome-panel:after{display:none!important;}
.welcome-panel:before{content:""!important;position:absolute!important;inset:0!important;background:var(--theme-surface, linear-gradient(90deg,rgba(1,27,47,.36),rgba(1,27,47,.08) 60%,rgba(1,27,47,.26)))!important;pointer-events:none!important;}
.welcome-copy,.welcome-panel blockquote{position:relative!important;z-index:1!important;}
.welcome-panel h1{font-size:29px!important;line-height:1.05!important;letter-spacing:-.9px!important;margin:0 0 7px!important;color:var(--theme-text, #fff)!important;font-weight:780!important;}
.welcome-copy>p{font-size:12px!important;color:var(--theme-text, #fff)!important;font-weight:430!important;margin:0!important;}
.welcome-stats{display:flex!important;gap:9px!important;margin-top:17px!important;padding:0!important;}
.welcome-stats span{
  min-width:91px!important;min-height:50px!important;padding:7px 10px!important;border-radius:12px!important;
  background:var(--theme-surface, rgba(7,39,65,.58))!important;border:1px solid var(--theme-border, rgba(255,255,255,.07))!important;
  display:flex!important;align-items:center!important;gap:8px!important;backdrop-filter:blur(5px)!important;
}
.welcome-stats span>.svg-icon{width:20px!important;height:20px!important;color:var(--theme-text, #fff)!important;}
.welcome-stats b{display:flex!important;flex-direction:column!important;}
.welcome-stats strong{font-size:14px!important;line-height:1!important;color:var(--theme-text, #fff)!important;font-weight:720!important;}
.welcome-stats small{font-size:7.2px!important;line-height:1.2!important;color:var(--theme-text, #e5f0fb)!important;margin-top:3px!important;}
.welcome-panel blockquote{margin:auto 0 2px 16px!important;max-width:130px!important;font-size:12.5px!important;line-height:1.35!important;color:var(--theme-text, #fff)!important;text-align:left!important;font-weight:550!important;font-style:italic!important;}
.welcome-panel.has-school-cover{background-position:center!important;background-size:cover!important;}

/* Verification/notice blocks */
.notice{border-radius:9px!important;border-color:var(--ui-border)!important;background:var(--ui-surface)!important;color:var(--ui-text)!important;box-shadow:var(--ui-shadow)!important;}
.notice.warning{background:color-mix(in srgb,var(--ui-warning) 9%,var(--ui-surface))!important;border-color:color-mix(in srgb,var(--ui-warning) 28%,var(--ui-border))!important;color:var(--ui-text)!important;}
.notice.info{background:color-mix(in srgb,var(--ui-blue) 7%,var(--ui-surface))!important;border-color:color-mix(in srgb,var(--ui-blue) 22%,var(--ui-border))!important;}
.notice.success{background:color-mix(in srgb,var(--ui-success) 8%,var(--ui-surface))!important;border-color:color-mix(in srgb,var(--ui-success) 25%,var(--ui-border))!important;color:var(--ui-text)!important;}
.notice p{color:var(--ui-muted)!important;}

/* Composer */
.composer{padding:12px 14px!important;margin-bottom:11px!important;border-radius:10px!important;box-shadow:none!important;}
.composer-main{display:flex!important;align-items:center!important;gap:10px!important;}
.composer-main .avatar{width:42px!important;height:42px!important;}
.composer-main textarea{
  min-height:42px!important;height:42px!important;padding:11px 13px!important;border-radius:9px!important;
  background:var(--ui-surface-2)!important;color:var(--ui-text)!important;border:1px solid var(--ui-border)!important;
  font-size:10.5px!important;line-height:1.4!important;transition:min-height .18s var(--ui-ease),border-color .16s var(--ui-ease),box-shadow .16s var(--ui-ease)!important;
}
.composer-main textarea:focus{min-height:62px!important;background:var(--ui-surface)!important;border-color:var(--ui-blue)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-blue) 12%,transparent)!important;}
.composer-actions{margin-top:10px!important;padding-top:0!important;border-top:0!important;gap:7px!important;justify-content:flex-start!important;}
.media-button,.audience-select{
  min-height:35px!important;height:35px!important;border:1px solid var(--ui-border)!important;border-radius:7px!important;
  background:var(--ui-surface)!important;color:var(--ui-navy)!important;padding:0 10px!important;font-size:9.7px!important;font-weight:650!important;
}
.media-button>.svg-icon{width:17px!important;height:17px!important;color:var(--theme-success, #12ab5c)!important;}
.audience-select{margin-left:auto!important;}
.audience-select>.svg-icon{width:16px!important;height:16px!important;}
.audience-select select{font-size:9.7px!important;color:var(--ui-text)!important;background:transparent!important;}
.composer-actions .primary-button{min-height:35px!important;height:35px!important;border-radius:7px!important;padding:0 16px!important;font-size:10px!important;box-shadow:none!important;}

/* Feed navigation */
.feed-tabs{
  min-height:43px!important;height:43px!important;margin:0 0 10px!important;border-radius:9px!important;padding:0 4px!important;
  display:flex!important;align-items:stretch!important;gap:0!important;box-shadow:none!important;
}
.feed-tabs a,.feed-tabs button{
  min-width:0!important;flex:1!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  padding:0 8px!important;border:0!important;background:transparent!important;color:var(--ui-muted)!important;font-size:9.7px!important;font-weight:590!important;position:relative!important;
}
.feed-tabs a>.svg-icon,.feed-tabs button>.svg-icon{width:16px!important;height:16px!important;}
.feed-tabs a.active,.feed-tabs button.active{color:var(--ui-blue)!important;font-weight:720!important;}
.feed-tabs a.active:after,.feed-tabs button.active:after{content:""!important;position:absolute!important;left:9px!important;right:9px!important;bottom:-1px!important;height:2px!important;background:var(--ui-blue)!important;border-radius:3px 3px 0 0!important;}

/* Posts */
.post-card{padding:13px 15px 8px!important;margin-bottom:11px!important;border-radius:10px!important;box-shadow:none!important;}
.post-author{gap:9px!important;}
.post-author .avatar{width:40px!important;height:40px!important;}
.post-author strong{font-size:10.8px!important;color:var(--ui-text)!important;gap:4px!important;}
.post-author small{font-size:8.3px!important;color:var(--ui-muted)!important;margin-top:1px!important;}
.verified-badge{width:14px!important;height:14px!important;border:1.5px solid var(--ui-surface)!important;background:var(--ui-blue)!important;}
.verified-badge .svg-icon{width:9px!important;height:9px!important;}
.post-more{width:32px!important;height:32px!important;}
.post-more>.svg-icon{width:18px!important;height:18px!important;}
.post-actions-menu,.popover{
  background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;border-radius:9px!important;
  box-shadow:var(--ui-shadow-menu)!important;padding:5px!important;color:var(--ui-text)!important;
}
.post-actions-menu button,.popover button{color:var(--ui-text)!important;border-radius:6px!important;font-size:10px!important;}
.post-actions-menu button:hover,.popover button:hover{background:var(--ui-surface-2)!important;}
.post-body{font-size:11.5px!important;line-height:1.5!important;color:var(--ui-text)!important;margin:10px 0 8px!important;}
.official-label{font-size:9px!important;border-radius:6px!important;background:color-mix(in srgb,var(--ui-blue) 8%,var(--ui-surface))!important;color:var(--ui-blue)!important;border-color:color-mix(in srgb,var(--ui-blue) 22%,var(--ui-border))!important;}
.post-media{border-radius:8px!important;max-height:510px!important;gap:4px!important;}
.post-meta{font-size:8.6px!important;color:var(--ui-muted)!important;padding:7px 2px 5px!important;}
.post-interactions{border-top:1px solid var(--ui-border)!important;border-bottom:0!important;padding:2px 0 0!important;display:grid!important;grid-template-columns:1fr 1fr!important;}
.post-interactions button{height:35px!important;font-size:9.7px!important;color:var(--ui-muted)!important;border-radius:6px!important;}
.post-interactions button:hover{background:var(--ui-surface-2)!important;}
.post-interactions button>.svg-icon{width:17px!important;height:17px!important;}
.post-interactions .active{color:var(--ui-blue)!important;}
.comments{border-top:1px solid var(--ui-border)!important;padding-top:7px!important;}
.comment-bubble{background:var(--ui-surface-2)!important;color:var(--ui-text)!important;}
.comment-bubble strong{color:var(--ui-text)!important;}
.comment-bubble p{color:var(--ui-text)!important;}
.comment-form input{background:var(--ui-surface-2)!important;border-color:var(--ui-border)!important;color:var(--ui-text)!important;}

/* Empty states */
.feed-empty{min-height:284px!important;border-style:solid!important;border-radius:10px!important;background:var(--ui-surface)!important;color:var(--ui-muted)!important;}
.feed-empty>.svg-icon{width:42px!important;height:42px!important;padding:10px!important;border-radius:9px!important;background:var(--ui-surface-3)!important;color:var(--theme-muted, #8eadd0)!important;}
.feed-empty h2{font-size:15px!important;color:var(--ui-text)!important;margin:12px 0 4px!important;}
.feed-empty p{font-size:9.5px!important;color:var(--ui-muted)!important;}
.feed-empty .primary-button{height:35px!important;min-height:35px!important;border-radius:7px!important;font-size:9.5px!important;box-shadow:none!important;}

/* Right rail */
.rail-card{padding:13px 13px!important;border-radius:10px!important;box-shadow:none!important;}
.rail-heading{margin-bottom:9px!important;color:var(--ui-text)!important;align-items:center!important;}
.rail-heading>span{font-size:13px!important;font-weight:760!important;color:var(--ui-text)!important;}
.rail-heading>a{font-size:8.8px!important;color:var(--ui-blue)!important;font-weight:700!important;}
.school-mini-link,.school-list-row,.popular-post-row{
  min-height:48px!important;padding:7px 3px!important;border-color:var(--ui-border)!important;color:var(--ui-text)!important;background:transparent!important;
}
.school-mini-link:hover,.school-list-row:hover,.popular-post-row:hover{background:var(--ui-surface-2)!important;}
.school-mini-link strong,.school-list-row strong,.popular-post-row strong{font-size:9.4px!important;color:var(--ui-text)!important;}
.school-mini-link small,.school-list-row small,.popular-post-row small{font-size:7.7px!important;color:var(--ui-muted)!important;margin-top:2px!important;}
.school-icon{background:var(--ui-surface-3)!important;color:var(--theme-muted, #7896b6)!important;border:0!important;}
.school-mark-image{border-radius:50%!important;object-fit:cover!important;}
.rail-empty{min-height:80px!important;padding:12px 8px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:7px!important;color:var(--ui-muted)!important;font-size:8.8px!important;line-height:1.4!important;}
.rail-empty>.svg-icon{width:27px!important;height:27px!important;padding:8px!important;box-sizing:content-box!important;border-radius:50%!important;background:var(--ui-surface-3)!important;color:var(--theme-muted, #7d9cbd)!important;}
.quote-card{min-height:82px!important;display:flex!important;align-items:center!important;gap:16px!important;background:linear-gradient(120deg,color-mix(in srgb,var(--ui-blue) 7%,var(--ui-surface)),color-mix(in srgb,var(--ui-blue) 3%,var(--ui-surface)))!important;}
.quote-card p{font-size:10.5px!important;line-height:1.45!important;color:var(--ui-navy)!important;font-style:italic!important;}

/* Buttons, form controls, dropdowns and checks */
.primary-button{background:var(--theme-accent, linear-gradient(110deg,#0875ff,#0865ed))!important;color:var(--theme-on-accent, #fff)!important;border-radius:7px!important;box-shadow:none!important;font-weight:700!important;}
.primary-button:hover{background:var(--theme-hover, linear-gradient(110deg,#006aeF,#0058df))!important;transform:translateY(-1px)!important;}
.secondary-button{background:var(--ui-surface-2)!important;color:var(--ui-text)!important;border:1px solid var(--ui-border)!important;border-radius:7px!important;box-shadow:none!important;}
.secondary-button:hover{background:var(--ui-surface-3)!important;border-color:var(--ui-border-strong)!important;}
.danger-button{background:color-mix(in srgb,var(--ui-danger) 8%,var(--ui-surface))!important;color:var(--ui-danger)!important;border-color:color-mix(in srgb,var(--ui-danger) 24%,var(--ui-border))!important;border-radius:7px!important;}
.field input,.field select,.field textarea,.form-grid input,.form-grid select,.form-grid textarea,.inline-form input,.search-panel select,.simple-filter-row select,.branded-select{
  background:var(--ui-surface-2)!important;color:var(--ui-text)!important;border:1px solid var(--ui-border)!important;border-radius:6px!important;box-shadow:none!important;
}
.field input:focus,.field select:focus,.field textarea:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.inline-form input:focus,.search-panel select:focus,.branded-select:focus{
  background:var(--ui-surface)!important;border-color:var(--ui-blue)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-blue) 10%,transparent)!important;
}
select{accent-color:var(--ui-blue)!important;}
.check-row input[type="checkbox"]{
  appearance:none!important;-webkit-appearance:none!important;width:18px!important;height:18px!important;min-width:18px!important;
  border:1.5px solid var(--ui-border-strong)!important;border-radius:4px!important;background:var(--ui-surface)!important;position:relative!important;
  transition:background .14s ease,border-color .14s ease,box-shadow .14s ease!important;
}
.check-row input[type="checkbox"]:checked{background:var(--ui-blue)!important;border-color:var(--ui-blue)!important;}
.check-row input[type="checkbox"]:checked:before{transform:rotate(45deg) scale(1)!important;}
.check-row input[type="checkbox"]:focus-visible{outline:0!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-blue) 17%,transparent)!important;}
.check-row{color:var(--ui-text)!important;}
.check-row a{color:var(--ui-blue)!important;}

/* Login / registration fidelity */
.auth-surface{background:var(--ui-page)!important;}
.auth-stage-login{
  width:min(820px,calc(100vw - 40px))!important;min-height:570px!important;grid-template-columns:1.08fr .92fr!important;
  background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;border-radius:12px!important;box-shadow:var(--theme-shadow, 0 14px 42px rgba(18,49,88,.08))!important;
}
.auth-main{background:var(--ui-surface)!important;padding:30px 25px 22px!important;}
.public-brand{color:var(--ui-navy)!important;}
.public-brand>span strong{font-size:22px!important;color:var(--ui-navy)!important;letter-spacing:-1px!important;}
.public-brand>span strong::first-letter{color:var(--ui-navy)!important;}
.public-brand>span small{font-size:7.5px!important;color:var(--ui-muted)!important;}
.auth-main .auth-card{width:100%!important;max-width:330px!important;margin:40px 0 0!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;}
.auth-heading h1{font-size:19px!important;color:var(--ui-text)!important;letter-spacing:-.35px!important;margin-bottom:3px!important;}
.auth-heading p{font-size:9.5px!important;color:var(--ui-muted)!important;margin-bottom:18px!important;}
.auth-form{gap:10px!important;}
.auth-form .field>span{font-size:8.7px!important;color:var(--ui-text)!important;font-weight:680!important;}
.auth-form input{min-height:38px!important;font-size:9.5px!important;padding:0 10px!important;background:var(--ui-surface-2)!important;}
.auth-inline{font-size:8.7px!important;}
.auth-form .primary-button{height:39px!important;min-height:39px!important;font-size:10px!important;}
.auth-divider{font-size:8.5px!important;color:var(--ui-muted)!important;}
.auth-mini-footer{font-size:7.8px!important;color:var(--ui-muted)!important;}
.auth-mini-footer a:hover{color:var(--ui-blue)!important;}
.auth-visual{background:var(--theme-surface, linear-gradient(180deg,#5f85aa 0%,#244e74 48%,#082f54 100%))!important;color:var(--theme-text, #fff)!important;}
.auth-visual:after{content:"";position:absolute;inset:0;background:var(--theme-surface, linear-gradient(180deg,rgba(10,46,82,.05),rgba(5,34,61,.35)));pointer-events:none;}
.auth-visual-copy,.auth-visual-brand{position:relative!important;z-index:2!important;}
.auth-visual-copy strong{font-size:17px!important;color:var(--theme-text, #fff)!important;}
.auth-visual-copy p{font-size:10px!important;color:var(--theme-text, #d6e4f3)!important;}
.auth-visual-brand strong{color:var(--theme-text, #fff)!important;}
.register-surface{background:var(--ui-page)!important;padding:22px!important;}
.register-surface>.public-brand{margin-bottom:12px!important;}
.register-surface .auth-card{max-width:640px!important;padding:19px 20px 16px!important;border-radius:10px!important;background:var(--ui-surface)!important;}
.register-surface .auth-heading h1{font-size:17px!important;}
.registration-progress{margin:0 0 18px!important;}
.registration-progress>span b{width:24px!important;height:24px!important;font-size:9px!important;background:var(--ui-surface-3)!important;color:var(--ui-muted)!important;border-color:var(--ui-border)!important;}
.registration-progress>span.active b{background:var(--ui-blue)!important;color:var(--theme-text, #fff)!important;border-color:var(--ui-blue)!important;}
.registration-progress>span.done b{background:var(--ui-success)!important;color:var(--theme-text, #fff)!important;border-color:var(--ui-success)!important;}
.registration-progress small{font-size:7.7px!important;color:var(--ui-muted)!important;}
.registration-progress i{background:var(--ui-border)!important;height:2px!important;}
.form-section-title{font-size:11.5px!important;color:var(--ui-text)!important;}
.password-strength,.registration-school-note,.registration-privacy-summary,.activation-preview{background:var(--ui-surface-2)!important;border-color:var(--ui-border)!important;color:var(--ui-text)!important;border-radius:7px!important;}
.password-rules span{color:var(--ui-muted)!important;}
.password-rules span.met{color:var(--ui-success)!important;}
.strength-bars i{background:var(--ui-border)!important;}
.password-strength[data-level="1"] .strength-bars i:nth-child(-n/**/+1){background:var(--theme-raised, #e24c5c)!important;}
.password-strength[data-level="2"] .strength-bars i:nth-child(-n/**/+2){background:var(--theme-raised, #f0a432)!important;}
.password-strength[data-level="3"] .strength-bars i:nth-child(-n/**/+3){background:var(--theme-raised, #60a6ff)!important;}
.password-strength[data-level="4"] .strength-bars i:nth-child(-n/**/+4){background:var(--ui-success)!important;}
.password-match.ok{color:var(--ui-success)!important;}.password-match.bad{color:var(--ui-danger)!important;}

/* Search, profile, school, settings, admin, notifications */
.page-heading h1,.section-heading,.settings-title h2,.admin-section-title h2,.school-about h2,.school-layout h2,.school-layout h3{color:var(--ui-text)!important;}
.page-heading p,.settings-title p,.admin-section-title p,.school-about p{color:var(--ui-muted)!important;}
.search-results .result-card,.result-card,.notification-row,.blocked-list>div,.session-list>div,.school-admin-row,.report-row,.audit-list>div{
  background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;
}
.notification-row:hover,.result-card:hover{background:var(--ui-surface-2)!important;}
.profile-cover,.school-hero{border-radius:11px!important;}
.profile-cover{background:var(--theme-surface, linear-gradient(120deg,#0e416f,#086bb9))!important;}
.profile-about,.profile-detail,.skill-list span,.specialty-list span,.cohort-list span{background:var(--ui-surface-2)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;}
.settings-nav{background:var(--ui-surface)!important;border-color:var(--ui-border)!important;}
.settings-nav a{color:var(--ui-muted)!important;}.settings-nav a:hover{color:var(--ui-blue)!important;background:var(--ui-surface-2)!important;}
.settings-icon,.session-icon{background:var(--ui-surface-3)!important;color:var(--ui-blue)!important;}
.settings-divider{background:var(--ui-border)!important;}
.legal-links a{background:var(--ui-surface-2)!important;border-color:var(--ui-border)!important;color:var(--ui-text)!important;}
.legal-links a:hover{background:var(--ui-surface-3)!important;color:var(--ui-blue)!important;}
.admin-tabs{background:var(--ui-surface)!important;border-color:var(--ui-border)!important;}
.admin-tabs a{color:var(--ui-muted)!important;}.admin-tabs a.active{color:var(--ui-blue)!important;}
.admin-table{color:var(--ui-text)!important;}.admin-table th{background:var(--ui-surface-2)!important;color:var(--ui-muted)!important;border-color:var(--ui-border)!important;}.admin-table td{border-color:var(--ui-border)!important;color:var(--ui-text)!important;}
.pending-row{background:color-mix(in srgb,var(--ui-blue) 5%,var(--ui-surface))!important;}
.status-pill.active{background:color-mix(in srgb,var(--ui-success) 10%,var(--ui-surface))!important;color:var(--ui-success)!important;border-color:color-mix(in srgb,var(--ui-success) 28%,var(--ui-border))!important;}
.status-pill.pending{background:color-mix(in srgb,var(--ui-warning) 10%,var(--ui-surface))!important;color:var(--ui-warning)!important;border-color:color-mix(in srgb,var(--ui-warning) 30%,var(--ui-border))!important;}
.audit-dot{background:var(--ui-blue)!important;}

/* Modals, toast, cookies */
.modal-backdrop{background:var(--theme-overlay, rgba(7,18,32,.55))!important;backdrop-filter:blur(4px)!important;}
.modal-card{border-radius:10px!important;color:var(--ui-text)!important;}
.modal-head h2{color:var(--ui-text)!important;}.modal-head p{color:var(--ui-muted)!important;}
.toast{background:var(--ui-navy)!important;color:var(--ui-surface)!important;border:1px solid color-mix(in srgb,var(--ui-surface) 20%,transparent)!important;}

.cookie-notice{background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;box-shadow:var(--ui-shadow-menu)!important;}
.cookie-notice p span{color:var(--ui-muted)!important;}
.cookie-notice a{color:var(--ui-blue)!important;}

/* Startup, legal */
.loading-screen,.startup-fallback,.startup-failure,.public-shell{background:var(--ui-page)!important;color:var(--ui-text)!important;}
.startup-fallback-card,.startup-failure-card,.legal-card{background:var(--ui-surface)!important;border-color:var(--ui-border)!important;color:var(--ui-text)!important;}
.startup-help{background:var(--ui-surface-2)!important;color:var(--ui-text)!important;}
.legal-heading p,.legal-card p,.legal-card li,.legal-details{color:var(--ui-muted)!important;}
.legal-card h1,.legal-card h2{color:var(--ui-text)!important;}.legal-card a{color:var(--ui-blue)!important;}

/* Responsive behavior — same hierarchy as the reference, adapted to real devices */
@media(max-width:1180px){
  :root{--ui-sidebar:238px;}
  .sidebar{padding-inline:14px!important;}
  .content-grid,.content-grid.with-right{width:min(980px,calc(100% - 20px))!important;}
  .content-grid.with-right{grid-template-columns:minmax(0,1fr) 280px!important;}
  .brand-lockup>span strong{font-size:27px!important;}
}
@media(max-width:1000px){
  .right-rail{display:none!important;}
  .content-grid,.content-grid.with-right{grid-template-columns:1fr!important;width:min(760px,calc(100% - 24px))!important;}
}
@media(max-width:900px){
  .sidebar{left:-105vw!important;width:min(258px,86vw)!important;z-index:70!important;box-shadow:var(--theme-shadow, 20px 0 45px rgba(0,0,0,.18))!important;}
  .sidebar.open{left:0!important;}
  .page-area{margin-left:0!important;}
  .topbar{padding-inline:12px!important;}
  .mobile-menu{display:inline-flex!important;}
  .user-menu{min-width:42px!important;width:auto!important;}
  .user-menu>span{display:none!important;}
}
@media(max-width:640px){
  body{padding-bottom:68px!important;}
  .topbar{height:57px!important;display:grid!important;grid-template-columns:auto 1fr auto auto!important;gap:5px!important;padding:0 9px!important;}
  .mobile-menu{display:none!important;}
  .mobile-brand{display:flex!important;align-items:center!important;gap:4px!important;color:var(--ui-navy)!important;}
  .mobile-brand .zpg-brand-symbol{--brand-size:30px!important;}
  .mobile-brand strong{font-size:18px!important;color:var(--ui-navy)!important;letter-spacing:-.8px!important;}
  .mobile-brand strong span{color:var(--ui-blue)!important;}
  .top-search{width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;padding:0!important;display:grid!important;place-items:center!important;background:var(--ui-surface-2)!important;}
  .top-search span{display:none!important;}
  #theme-toggle{display:none!important;}
  .notification-button{width:36px!important;height:36px!important;}
  .notification-button>.svg-icon{width:19px!important;height:19px!important;}
  .user-menu{height:38px!important;padding:1px!important;background:transparent!important;min-width:38px!important;}
  .user-menu .avatar{width:34px!important;height:34px!important;}
  .user-menu>.svg-icon{display:none!important;}
  .profile-dropdown{position:fixed!important;top:54px!important;right:7px!important;width:min(264px,calc(100vw - 14px))!important;}
  .content-grid,.content-grid.with-right{width:100%!important;margin:0 0 12px!important;gap:0!important;}
  .welcome-panel{min-height:75px!important;border-radius:0!important;margin:0 0 6px!important;padding:11px 13px!important;background:linear-gradient(135deg,var(--ui-surface-3),var(--ui-surface-2))!important;color:var(--ui-text)!important;border-top:1px solid var(--ui-border)!important;border-bottom:1px solid var(--ui-border)!important;}
  .welcome-panel:before{display:none!important;}
  .welcome-panel h1{font-size:12.5px!important;color:var(--ui-text)!important;margin-bottom:2px!important;}
  .welcome-copy>p{font-size:8.4px!important;color:var(--ui-muted)!important;}
  .welcome-stats,.welcome-panel blockquote{display:none!important;}
  .notice{border-radius:0!important;border-left:0!important;border-right:0!important;margin-bottom:6px!important;box-shadow:none!important;}
  .composer,.post-card,.feed-tabs,.search-panel,.settings-card,.notification-list,.empty-state{border-radius:0!important;border-left:0!important;border-right:0!important;margin-bottom:6px!important;box-shadow:none!important;}
  .composer{padding:9px 11px!important;}
  .composer-main .avatar{width:36px!important;height:36px!important;}
  .composer-main textarea{height:36px!important;min-height:36px!important;font-size:9.5px!important;padding:9px 10px!important;}
  .composer-actions{gap:5px!important;margin-top:7px!important;}
  .media-button{padding:0 8px!important;min-width:39px!important;}.media-button span{display:none!important;}
  .audience-select{max-width:145px!important;padding:0 6px!important;}.audience-select select{font-size:8px!important;}
  .composer-actions .primary-button{padding:0 10px!important;font-size:8.8px!important;}
  .feed-tabs{height:39px!important;min-height:39px!important;}
  .feed-tabs a,.feed-tabs button{font-size:8.4px!important;padding:0 4px!important;gap:4px!important;}
  .feed-tabs a>.svg-icon,.feed-tabs button>.svg-icon{width:14px!important;height:14px!important;}
  .post-card{padding:10px 11px 6px!important;}
  .post-author .avatar{width:35px!important;height:35px!important;}.post-author strong{font-size:9.5px!important;}.post-author small{font-size:7.4px!important;}
  .post-body{font-size:10.2px!important;margin:8px 0 7px!important;}.post-media{margin-left:-11px!important;margin-right:-11px!important;border-radius:0!important;}
  .post-interactions button{font-size:8.6px!important;}
  .feed-empty{min-height:220px!important;}
  .mobile-bottom-nav{display:grid!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:60!important;height:64px!important;grid-template-columns:repeat(5,1fr)!important;padding:4px 5px max(5px,env(safe-area-inset-bottom))!important;background:var(--ui-surface)!important;border-top:1px solid var(--ui-border)!important;box-shadow:var(--theme-shadow, 0 -5px 18px rgba(13,38,68,.07))!important;}
  .mobile-bottom-nav>a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;color:var(--ui-muted)!important;font-size:7px!important;font-weight:650!important;position:relative!important;}
  .mobile-bottom-nav>a>.svg-icon{width:20px!important;height:20px!important;}.mobile-bottom-nav>a.active{color:var(--ui-blue)!important;}
  .mobile-create{width:42px!important;height:42px!important;border-radius:50%!important;background:var(--ui-blue)!important;color:var(--theme-on-accent, #fff)!important;margin-top:-12px!important;box-shadow:var(--theme-shadow, 0 6px 14px rgba(8,102,245,.25))!important;}
  .mobile-create>.svg-icon{width:24px!important;height:24px!important;}
  .auth-stage-login{width:100%!important;min-height:100vh!important;border:0!important;border-radius:0!important;grid-template-columns:1fr!important;box-shadow:none!important;}
  .auth-main{min-height:100vh!important;padding:25px 20px 15px!important;}.auth-visual{display:none!important;}.auth-main .auth-card{max-width:none!important;margin-top:30px!important;}
  .register-surface{padding:14px 0 0!important;}.register-surface .auth-card{width:100%!important;max-width:none!important;border-radius:0!important;border-left:0!important;border-right:0!important;padding:17px 14px 82px!important;box-shadow:none!important;}
  .field-row{grid-template-columns:1fr!important;}.registration-progress small{font-size:6.5px!important;}
  .registration-actions{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:50!important;margin:0!important;padding:9px 12px max(9px,env(safe-area-inset-bottom))!important;background:color-mix(in srgb,var(--ui-surface) 96%,transparent)!important;border-top:1px solid var(--ui-border)!important;backdrop-filter:blur(12px)!important;}
}
@media(max-width:380px){
  .mobile-brand strong{font-size:16px!important;}.topbar{grid-template-columns:auto 1fr auto auto!important;}.top-search{width:34px!important;min-width:34px!important;height:34px!important;}.notification-button{width:34px!important;height:34px!important;}.user-menu .avatar{width:32px!important;height:32px!important;}
  .feed-tabs a,.feed-tabs button{font-size:7.5px!important;}.feed-tabs a>.svg-icon,.feed-tabs button>.svg-icon{display:none!important;}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important;animation-iteration-count:1!important;}}

/* v1.0.9 reference geometry correction at 1440–1600 px desktop */
@media(min-width:1181px){
  .content-grid.with-right{
    width:min(1009px,calc(100% - 20px))!important;
    grid-template-columns:minmax(0,630px) minmax(0,365px)!important;
    margin:13px 0 36px 18px!important;
  }
  .content-grid:not(.with-right){width:min(880px,calc(100% - 36px))!important;margin:18px auto 40px!important;}
  .sidebar-promo{margin-top:74px!important;}
  .sidebar-brand-foot{margin-top:auto!important;}
  .school-mini-link{min-height:60px!important;}
  .rail-card{padding:14px 14px!important;}
}
@media(min-width:1001px) and (max-width:1180px){
  .content-grid.with-right{width:calc(100% - 20px)!important;margin-left:10px!important;margin-right:10px!important;grid-template-columns:minmax(0,1fr) 300px!important;}
  .sidebar-promo{margin-top:40px!important;}
}
.profile-theme-row{width:100%;min-height:36px;border:0;background:transparent;border-radius:7px;padding:0 9px;display:flex;align-items:center;gap:10px;font-size:10.5px;color:var(--ui-text);text-align:left;}
.profile-theme-row:hover{background:var(--ui-surface-2);}
.profile-theme-row>.svg-icon{width:18px!important;height:18px!important;color:var(--ui-navy);}
.profile-theme-row>span{flex:1;}
.theme-switch{width:35px;height:20px;padding:2px;border-radius:999px;background:var(--ui-border-strong);display:flex;align-items:center;transition:background .16s var(--ui-ease);}
.theme-switch b{width:16px;height:16px;border-radius:50%;background:var(--theme-knob, #fff);box-shadow:var(--theme-shadow, 0 1px 4px rgba(0,0,0,.16));transform:translateX(0);transition:transform .18s var(--ui-ease);}
.theme-switch.on{background:var(--ui-blue);}.theme-switch.on b{transform:translateX(15px);}

@media(min-width:1181px){.content-grid.with-right>.main-column{margin-top:-11px!important;}}

/* =======================================================================
   v1.0.9 — VISUAL REBUILD TO APPROVED ZPG+ REFERENCE
   ======================================================================= */
:root{
 --ref-blue:var(--theme-accent, #0875ff);--ref-blue-2:var(--theme-accent-hover, #0468ed);--ref-navy:var(--theme-text, #07346a);--ref-ink:var(--theme-text, #0a2753);
 --ref-muted:var(--theme-muted, #5f789d);--ref-page:var(--theme-surface, #f4f8fe);--ref-card:var(--theme-surface, #fff);--ref-soft:var(--theme-raised, #f2f7fd);
 --ref-border:var(--theme-border, #dce7f4);--ref-border-soft:var(--theme-border, #e8eff7);--ref-shadow:var(--theme-shadow, 0 8px 28px rgba(24,67,114,.075));
 --ref-radius:13px;--ref-sidebar:296px;--ref-topbar:76px;
}
html,body,#app,.app-shell,.page-area{background:var(--ref-page)!important;color:var(--ref-ink)!important;}
body{font-family:Inter,"Segoe UI",Arial,sans-serif!important;letter-spacing:-.01em;}
/* sidebar geometry */
.sidebar{width:var(--ref-sidebar)!important;padding:18px 20px 16px!important;background:var(--theme-surface, #fff)!important;border-right:1px solid var(--theme-border, #dbe6f2)!important;box-shadow:none!important;}
.page-area{margin-left:var(--ref-sidebar)!important;}
.sidebar-top{padding:2px 10px 19px!important;}
.brand-lockup{gap:10px!important;}.brand-lockup .zpg-brand-symbol{--brand-size:58px!important;}.brand-lockup strong{font-size:31px!important;line-height:.9!important;color:var(--theme-text, #092e61)!important;letter-spacing:-1.2px!important;}.brand-lockup strong>span{color:var(--ref-blue)!important;}.brand-lockup small{font-size:9.5px!important;color:var(--theme-muted, #6f83a0)!important;margin-top:5px!important;}
.sidebar-nav{gap:4px!important;overflow:visible!important;}.sidebar-nav>a{min-height:50px!important;padding:0 14px!important;border-radius:9px!important;font-size:16px!important;font-weight:650!important;color:var(--theme-text, #0c315f)!important;gap:15px!important;}.sidebar-nav>a svg{width:25px!important;height:25px!important;stroke-width:2!important;}.sidebar-nav>a.active{background:var(--theme-surface, linear-gradient(135deg,#0b7cff,#056cf2))!important;color:var(--theme-text, #fff)!important;box-shadow:var(--theme-shadow, 0 8px 19px rgba(4,108,242,.20))!important;}.nav-divider{margin:12px 6px 9px!important;background:var(--theme-raised, #dbe5f1)!important;}.nav-title{font-size:11px!important;padding:0 10px!important;color:var(--theme-muted, #7990ad)!important;letter-spacing:.13em!important;}.sidebar-promo{margin-top:16px!important;min-height:255px!important;border-radius:12px!important;padding:21px 18px 16px!important;background-image:linear-gradient(180deg,rgba(5,49,88,.10),rgba(4,42,78,.96)),url("/build-1.2.6/hero-default.svg")!important;background-size:cover!important;background-position:center!important;color:var(--theme-text, #fff)!important;justify-content:flex-end!important;box-shadow:none!important;}.sidebar-promo-art{display:none!important;}.sidebar-promo strong{font-size:18px!important;margin-bottom:5px!important;}.sidebar-promo p{font-size:12px!important;line-height:1.5!important;color:var(--theme-text, #fff)!important;margin:0 0 14px!important;}.sidebar-promo a{height:39px!important;border-radius:6px!important;background:var(--ref-blue)!important;color:var(--theme-text, #fff)!important;font-size:12px!important;font-weight:750!important;display:grid!important;place-items:center!important;}.sidebar-brand-foot{padding:15px 10px 2px!important;margin-top:auto!important;border:0!important;}.sidebar-brand-foot>div{display:flex!important;align-items:center!important;gap:7px!important;}.sidebar-brand-foot>div .zpg-brand-symbol{--brand-size:31px!important;}.sidebar-brand-foot strong{font-size:19px!important;color:var(--theme-text, #0b315f)!important;}.sidebar-brand-foot strong span{color:var(--ref-blue)!important;}.sidebar-brand-foot small{font-size:9px!important;color:var(--theme-muted, #6e84a1)!important;}
/* top bar */
.topbar{height:var(--ref-topbar)!important;padding:0 20px!important;background:var(--theme-surface, rgba(255,255,255,.97))!important;border-bottom:1px solid var(--theme-border, #dfe9f4)!important;box-shadow:var(--theme-shadow, 0 2px 10px rgba(35,71,111,.035))!important;gap:14px!important;}.top-search{height:49px!important;flex:0 1 690px!important;max-width:690px!important;border:0!important;border-radius:26px!important;background:var(--theme-raised, #f1f6fc)!important;padding:0 20px!important;color:var(--theme-muted, #617b9e)!important;gap:13px!important;}.top-search svg{width:23px!important;height:23px!important;color:var(--theme-text, #092f61)!important;}.top-search span{font-size:14px!important;}.top-actions{gap:8px!important;margin-left:auto!important;}.notification-button{width:47px!important;height:47px!important;border-radius:50%!important;background:var(--theme-raised, #f5f8fd)!important;border:0!important;color:var(--theme-text, #0b3567)!important;display:grid!important;place-items:center!important;}.notification-button:hover{background:var(--theme-hover, #eaf2fb)!important;}.notification-button svg{width:23px!important;height:23px!important;}.notification-badge{top:0!important;right:-1px!important;min-width:20px!important;height:20px!important;background:var(--theme-danger-soft, #ff3038)!important;border:2px solid var(--theme-border, #fff)!important;font-size:10px!important;}.user-menu{height:57px!important;min-width:255px!important;border-radius:28px!important;padding:5px 12px 5px 6px!important;background:var(--theme-raised, #f5f8fd)!important;gap:10px!important;}.user-menu:hover,.user-menu.is-open{background:var(--theme-hover, #edf4fc)!important;}.user-menu .avatar{width:45px!important;height:45px!important;}.user-menu>span{max-width:165px!important;}.user-menu strong{font-size:13px!important;color:var(--theme-text, #0a2854)!important;}.user-menu small{font-size:10px!important;color:var(--theme-muted, #6d83a0)!important;}.user-menu>.svg-icon{margin-left:auto!important;color:var(--theme-text, #0c315d)!important;}
.profile-dropdown{top:65px!important;right:0!important;width:285px!important;border:1px solid var(--theme-border, #e1e9f3)!important;border-radius:12px!important;background:var(--theme-surface, #fff)!important;box-shadow:var(--theme-elevation, 0 14px 34px rgba(20,53,92,.16))!important;padding:8px 0!important;overflow:hidden!important;}.profile-dropdown-head{padding:8px 14px 12px!important;}.profile-dropdown>a,.profile-dropdown>button{min-height:43px!important;padding:0 17px!important;font-size:13px!important;color:var(--theme-text, #0c315d)!important;gap:14px!important;}.profile-dropdown>a:hover,.profile-dropdown>button:hover{background:var(--theme-hover, #f4f8fd)!important;}.profile-dropdown-separator{margin:5px 0!important;background:var(--theme-raised, #e5edf6)!important;}.profile-dropdown-logout{color:var(--theme-danger, #ef3138)!important;}.profile-build{font-size:8px!important;padding:4px 14px!important;color:var(--theme-muted, #99a8ba)!important;}.theme-switch{width:43px!important;height:23px!important;background:var(--theme-raised, #9bb0ca)!important;}.theme-switch b{width:19px!important;height:19px!important;}.theme-switch.on{background:var(--ref-blue)!important;}.theme-switch.on b{transform:translateX(20px)!important;}
/* full width reference grid */
.content-grid,.content-grid.with-right{width:calc(100% - 36px)!important;max-width:none!important;margin:10px 18px 42px!important;gap:18px!important;justify-content:stretch!important;}.content-grid.with-right{grid-template-columns:minmax(0,1.58fr) minmax(390px,1fr)!important;}.main-column{width:100%!important;}.right-rail{width:100%!important;gap:16px!important;top:88px!important;}
/* hero */
.welcome-panel{min-height:221px!important;border-radius:13px!important;margin:0 0 17px!important;padding:28px 29px 20px!important;background-image:linear-gradient(90deg,rgba(2,40,72,.89),rgba(1,50,85,.58) 60%,rgba(2,48,78,.50)),url("/build-1.2.6/hero-default.svg")!important;background-size:cover!important;background-position:center!important;box-shadow:none!important;border:1px solid var(--theme-border, rgba(13,67,105,.10))!important;display:flex!important;align-items:stretch!important;}.welcome-panel:before,.welcome-panel:after{display:none!important;}.welcome-copy{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;min-width:0!important;}.welcome-panel h1{font-size:34px!important;line-height:1.08!important;letter-spacing:-1.3px!important;margin:5px 0 5px!important;color:var(--theme-text, #fff)!important;}.welcome-copy>p{font-size:16px!important;color:var(--theme-text, #fff)!important;font-weight:500!important;margin:0!important;}.welcome-stats{display:grid!important;grid-template-columns:repeat(4,minmax(118px,1fr))!important;gap:10px!important;margin-top:auto!important;padding-top:27px!important;}.welcome-stats>span{height:63px!important;min-width:0!important;border-radius:10px!important;background:var(--theme-surface, rgba(0,37,70,.58))!important;border:1px solid var(--theme-border, rgba(255,255,255,.14))!important;padding:8px 12px!important;display:flex!important;align-items:center!important;gap:11px!important;color:var(--theme-text, #fff)!important;}.welcome-stats>span>svg{width:26px!important;height:26px!important;}.welcome-stats b{display:flex!important;flex-direction:column!important;}.welcome-stats strong{font-size:16px!important;line-height:1!important;color:var(--theme-text, #fff)!important;}.welcome-stats small{font-size:9px!important;color:var(--theme-text, #fff)!important;font-weight:500!important;margin-top:4px!important;}.welcome-panel blockquote{display:flex!important;align-items:flex-end!important;justify-content:flex-end!important;font-size:17px!important;line-height:1.35!important;color:var(--theme-text, #fff)!important;font-weight:650!important;text-align:left!important;margin:0 0 2px 18px!important;min-width:175px!important;z-index:1!important;}
/* composer / admin composer */
.composer{background:var(--theme-surface, #fff)!important;border:1px solid var(--theme-border, #e2ebf5)!important;border-radius:12px!important;box-shadow:var(--ref-shadow)!important;padding:14px 17px 13px!important;margin:0 0 14px!important;}.composer-main{display:flex!important;align-items:center!important;gap:12px!important;}.composer-main .avatar{width:50px!important;height:50px!important;}.composer-main textarea,.platform-composer-field{min-height:48px!important;height:48px!important;flex:1!important;border:1px solid var(--theme-control-border, #dce7f3)!important;border-radius:8px!important;background:var(--theme-raised, #f7fafe)!important;padding:0 16px!important;color:var(--theme-muted, #5f789b)!important;font-size:13px!important;display:flex!important;align-items:center!important;outline:0!important;}.composer-main textarea{padding-top:13px!important;resize:none!important;}.platform-composer-field{flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;}.platform-composer-field strong{font-size:12px!important;color:var(--theme-text, #0a2d5a)!important;}.platform-composer-field span{font-size:9px!important;color:var(--theme-muted, #7187a3)!important;margin-top:2px!important;}.composer-actions{border:0!important;border-top:0!important;margin-top:11px!important;padding-top:0!important;display:flex!important;align-items:center!important;gap:8px!important;}.composer-spacer{flex:1;}.media-button{height:41px!important;border:1px solid var(--theme-control-border, #dce7f3)!important;border-radius:7px!important;background:var(--theme-surface, #fff)!important;padding:0 12px!important;color:var(--theme-text, #0b315f)!important;font-size:11px!important;font-weight:650!important;display:inline-flex!important;align-items:center!important;gap:8px!important;}.media-button svg{width:21px!important;height:21px!important;color:var(--theme-accent, #0a7cff)!important;}.media-button:first-child svg{color:var(--theme-success, #11ac61)!important;}.audience-select{height:41px!important;border:1px solid var(--theme-control-border, #dce7f3)!important;border-radius:7px!important;background:var(--theme-raised, #fff)!important;padding:0 10px!important;margin-left:auto!important;color:var(--theme-text, #0b315f)!important;}.audience-select select{font-size:10px!important;color:var(--theme-text, #0b315f)!important;}.composer .primary-button{height:41px!important;min-height:41px!important;border-radius:7px!important;padding:0 19px!important;font-size:12px!important;background:var(--ref-blue)!important;box-shadow:none!important;}.platform-composer .primary-button{margin-left:auto!important;}
/* stream tabs */
.feed-tabs{height:50px!important;background:var(--theme-surface, #fff)!important;border:1px solid var(--theme-border, #e2ebf5)!important;border-radius:10px!important;margin:0 0 14px!important;box-shadow:var(--theme-shadow, 0 3px 12px rgba(24,67,114,.035))!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important;padding:0!important;overflow:hidden!important;}.feed-tabs>a{height:49px!important;padding:0 10px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;color:var(--theme-muted, #23456f)!important;font-size:12px!important;font-weight:600!important;position:relative!important;}.feed-tabs>a svg{width:21px!important;height:21px!important;}.feed-tabs>a.active{color:var(--ref-blue)!important;}.feed-tabs>a.active:after{content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:3px!important;background:var(--ref-blue)!important;border-radius:3px 3px 0 0!important;}.feed-tabs>a:nth-child(4) svg{color:var(--theme-warning, #ff6a23)!important;}
/* empty feed / posts */
.feed-empty{min-height:400px!important;background:var(--theme-surface, #fff)!important;border:1px solid var(--theme-border, #e2ebf5)!important;border-radius:12px!important;box-shadow:var(--ref-shadow)!important;padding:40px!important;}.feed-empty>svg{width:55px!important;height:55px!important;padding:15px!important;background:var(--theme-raised, #edf5ff)!important;border-radius:10px!important;color:var(--theme-muted, #80a9d5)!important;box-sizing:content-box!important;}.feed-empty h2{font-size:21px!important;color:var(--theme-text, #082a59)!important;margin:20px 0 7px!important;}.feed-empty p{font-size:13px!important;color:var(--theme-muted, #5d7699)!important;max-width:500px!important;margin:0 0 18px!important;}.feed-empty .primary-button{height:49px!important;min-height:49px!important;border-radius:8px!important;padding:0 28px!important;background:var(--ref-blue)!important;font-size:13px!important;}.post-card{border-radius:12px!important;border:1px solid var(--theme-border, #e2ebf5)!important;box-shadow:var(--ref-shadow)!important;background:var(--theme-surface, #fff)!important;}
/* rail */
.rail-card{background:var(--theme-surface, #fff)!important;border:1px solid var(--theme-border, #e2ebf5)!important;border-radius:12px!important;box-shadow:var(--ref-shadow)!important;padding:16px 17px!important;}.rail-heading{margin-bottom:12px!important;}.rail-heading>span{font-size:17px!important;font-weight:760!important;color:var(--theme-text, #082a59)!important;}.rail-heading>a{font-size:10px!important;color:var(--ref-blue)!important;font-weight:700!important;}.rail-school-card{min-height:175px!important;}.school-mini-link{padding:8px 0!important;gap:13px!important;}.school-mini-link strong{font-size:12px!important;color:var(--theme-text, #0b2d5b)!important;}.school-mini-link small{font-size:10px!important;color:var(--theme-muted, #7389a5)!important;}.rail-action-link{display:inline-flex!important;align-items:center!important;gap:7px!important;color:var(--ref-blue)!important;font-size:11px!important;font-weight:700!important;margin-top:7px!important;}.rail-feature{display:flex!important;align-items:center!important;gap:12px!important;padding:13px 0 6px!important;}.rail-feature-icon{width:55px!important;height:55px!important;border-radius:50%!important;background:var(--theme-raised, #edf5ff)!important;color:var(--theme-muted, #6e9dcc)!important;display:grid!important;place-items:center!important;flex:none!important;}.rail-feature strong{display:block!important;color:var(--theme-text, #0a2c59)!important;font-size:12px!important;}.rail-feature small{display:block!important;color:var(--theme-muted, #748aa5)!important;font-size:9.5px!important;line-height:1.35!important;margin-top:4px!important;}.school-list-row{min-height:58px!important;padding:7px 0!important;border-top:1px solid var(--theme-border, #edf2f8)!important;}.school-list-row strong{font-size:11px!important;color:var(--theme-text, #0a2b58)!important;}.school-list-row small{font-size:9px!important;color:var(--theme-muted, #7188a3)!important;}.rail-empty-tall{min-height:130px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;text-align:center!important;gap:5px!important;background:var(--theme-surface, #fbfdff)!important;border-radius:9px!important;color:var(--theme-muted, #6a82a0)!important;padding:16px!important;}.rail-empty-icon{width:55px!important;height:55px!important;border-radius:50%!important;background:var(--theme-raised, #edf5ff)!important;color:var(--theme-muted, #77a1ce)!important;display:grid!important;place-items:center!important;margin-bottom:5px!important;}.rail-empty-tall strong{font-size:11px!important;color:var(--theme-muted, #5b7696)!important;}.rail-empty-tall small{font-size:9.5px!important;line-height:1.35!important;max-width:280px!important;}.quote-card{min-height:128px!important;background:var(--theme-surface, linear-gradient(135deg,#eaf4ff,#d8eaff))!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:25px!important;color:var(--theme-text, #08346b)!important;}.quote-card .zpg-brand-symbol{--brand-size:62px!important;}.quote-card p{font-size:17px!important;line-height:1.35!important;font-weight:500!important;margin:0!important;}
/* generic surface harmony */
.card,.settings-card,.search-panel,.notification-list,.admin-section,.profile-about,.legal-card,.modal-card{border-radius:12px!important;border-color:var(--theme-border, #e2ebf5)!important;box-shadow:var(--ref-shadow)!important;}.page-heading h1{color:var(--theme-text, #082a59)!important;}.primary-button{background:var(--ref-blue)!important;}.secondary-button{border-color:var(--theme-control-border, #dce7f3)!important;background:var(--theme-raised, #f7fafe)!important;color:var(--theme-text, #163b68)!important;}input,textarea,select{border-color:var(--theme-control-border, #d8e5f2)!important;background:var(--theme-raised, #fff)!important;color:var(--theme-text, #102e57)!important;}input:focus,textarea:focus,select:focus{border-color:var(--theme-accent, #6eaeff)!important;box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(8,117,255,.10))!important;}

/* responsive behavior tied to reference */
@media(max-width:1450px){:root{--ref-sidebar:268px;}.brand-lockup .zpg-brand-symbol{--brand-size:52px!important;}.brand-lockup strong{font-size:28px!important;}.content-grid.with-right{grid-template-columns:minmax(0,1.5fr) minmax(350px,1fr)!important;}.welcome-panel h1{font-size:31px!important;}.welcome-stats{grid-template-columns:repeat(4,minmax(100px,1fr))!important;}.quote-card p{font-size:15px!important;}}
@media(max-width:1180px){.right-rail{display:none!important;}.content-grid.with-right{grid-template-columns:1fr!important;}.content-grid,.content-grid.with-right{width:min(900px,calc(100% - 32px))!important;margin:14px auto 40px!important;}.welcome-panel{min-height:205px!important;}}
@media(max-width:900px){:root{--ref-sidebar:280px;}.page-area{margin-left:0!important;}.sidebar{left:-110vw!important;width:min(var(--ref-sidebar),86vw)!important;}.sidebar.open{left:0!important;}.topbar{padding:0 12px!important;}.content-grid,.content-grid.with-right{width:min(830px,calc(100% - 22px))!important;margin:11px auto 28px!important;}.user-menu{min-width:46px!important;}.user-menu>span{display:none!important;}}
@media(max-width:640px){body{padding-bottom:72px!important;}.topbar{height:60px!important;grid-template-columns:auto 1fr auto auto!important;padding:0 10px!important;}.mobile-brand{display:flex!important;}.mobile-brand .zpg-brand-symbol{--brand-size:34px!important;}.mobile-brand strong{font-size:20px!important;}.top-search{width:40px!important;min-width:40px!important;height:40px!important;padding:0!important;display:grid!important;place-items:center!important;}.top-search span{display:none!important;}.top-actions{gap:3px!important;}.top-actions>a[href="#/terms"],#theme-toggle{display:none!important;}.notification-button{width:39px!important;height:39px!important;}.user-menu{height:42px!important;min-width:42px!important;padding:1px!important;background:transparent!important;}.user-menu .avatar{width:38px!important;height:38px!important;}.user-menu>.svg-icon{display:none!important;}.content-grid,.content-grid.with-right{width:100%!important;margin:0 0 12px!important;gap:0!important;}.welcome-panel{min-height:118px!important;border-radius:0!important;margin:0!important;padding:14px 15px!important;background-image:linear-gradient(90deg,rgba(2,40,72,.85),rgba(1,50,85,.48)),url("/build-1.2.6/hero-default.svg")!important;}.welcome-panel h1{font-size:20px!important;margin:1px 0 3px!important;}.welcome-copy>p{font-size:10px!important;}.welcome-stats,.welcome-panel blockquote{display:none!important;}.composer{border-radius:0!important;border-left:0!important;border-right:0!important;margin:7px 0!important;padding:10px 12px!important;}.composer-main .avatar{width:40px!important;height:40px!important;}.composer-main textarea,.platform-composer-field{height:42px!important;min-height:42px!important;font-size:10px!important;}.composer-actions{gap:5px!important;}.media-button{width:42px!important;padding:0!important;justify-content:center!important;}.media-button span{display:none!important;}.audience-select{margin-left:auto!important;max-width:145px!important;}.audience-select select{font-size:8.5px!important;}.composer .primary-button{height:38px!important;min-height:38px!important;font-size:9px!important;padding:0 10px!important;}.feed-tabs{border-radius:0!important;border-left:0!important;border-right:0!important;margin:0!important;height:45px!important;}.feed-tabs>a{height:44px!important;font-size:8.5px!important;padding:0 4px!important;gap:4px!important;}.feed-tabs>a svg{width:17px!important;height:17px!important;}.feed-empty{border-radius:0!important;border-left:0!important;border-right:0!important;min-height:315px!important;box-shadow:none!important;}.feed-empty h2{font-size:16px!important;}.feed-empty p{font-size:10px!important;}.post-card{border-radius:0!important;border-left:0!important;border-right:0!important;}.profile-dropdown{position:fixed!important;top:58px!important;right:7px!important;width:min(285px,calc(100vw - 14px))!important;}.mobile-bottom-nav{background:var(--theme-surface, #fff)!important;border-top:1px solid var(--theme-border, #dfe7f1)!important;}}

/* ========================================================================== */

/* ========================================================================== */
:root{
  --zpg-blue:var(--theme-accent, #0878f9);
  --zpg-blue-strong:var(--theme-accent-hover, #0067e8);
  --zpg-navy:var(--theme-text, #062c59);
  --zpg-ink:var(--theme-text, #0c2340);
  --zpg-muted:var(--theme-muted, #69809d);
  --zpg-page:var(--theme-surface, #f4f8fd);
  --zpg-card:var(--theme-surface, #ffffff);
  --zpg-card-soft:var(--theme-raised, #f7faff);
  --zpg-card-muted:var(--theme-raised, #edf4fc);
  --zpg-line:var(--theme-border, #dfe8f3);
  --zpg-line-strong:var(--theme-control-border, #cedceb);
  --zpg-green:var(--theme-success, #13a46e);
  --zpg-red:var(--theme-danger, #e43d4f);
  --zpg-amber:var(--theme-warning, #e89b24);
  --zpg-shadow:var(--theme-shadow, 0 7px 26px rgba(17,54,94,.055));
  --zpg-shadow-float:var(--theme-elevation, 0 18px 50px rgba(15,43,76,.16));
}

/* Brand lock-up. The favicon may contain cap+plus; the in-app symbol is cap only. */
.zpg-brand-symbol{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;overflow:visible!important;flex:0 0 auto!important;}
.zpg-brand-symbol:before,.zpg-brand-symbol:after{display:none!important;content:none!important;}
.zpg-brand-symbol svg{display:block!important;width:100%!important;height:100%!important;overflow:visible!important;}
.zpg-brand-symbol .brand-cap{fill:var(--zpg-navy)!important;stroke:none!important;}
.zpg-brand-symbol .brand-cap-line,.zpg-brand-symbol .brand-tassel{fill:none!important;stroke:var(--zpg-navy)!important;stroke-width:3.2!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
.brand-lockup,.public-brand,.admin-brand{gap:10px!important;}
.brand-lockup>span,.public-brand>span,.admin-brand>span{min-width:0!important;}
.brand-lockup strong,.public-brand strong,.admin-brand strong{color:var(--zpg-navy)!important;font-weight:900!important;letter-spacing:-1.1px!important;white-space:nowrap!important;}
.brand-lockup strong>span,.public-brand strong>span,.admin-brand strong>span{color:var(--zpg-blue)!important;}
.sidebar .brand-lockup .zpg-brand-symbol{--brand-size:48px!important;}
.sidebar .brand-lockup strong{font-size:29px!important;}
.sidebar .brand-lockup small{font-size:8.7px!important;line-height:1.15!important;max-width:130px!important;}

/* Meta/X-style verification rosette. Membership approval is NOT this badge. */
.verified-badge{display:inline-grid!important;place-items:center!important;width:17px!important;height:17px!important;flex:0 0 17px!important;vertical-align:-3px!important;color:var(--theme-accent, #1687f8)!important;margin-left:2px!important;}
.verified-badge.big{width:21px!important;height:21px!important;flex-basis:21px!important;}
.verified-badge svg{display:block!important;width:100%!important;height:100%!important;overflow:visible!important;}
.verified-badge .verified-shape{fill:currentColor!important;stroke:none!important;}
.verified-badge .verified-check{fill:none!important;stroke:var(--theme-on-accent, #fff)!important;stroke-width:2.25!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
.badge-toggle{min-height:35px!important;border:1px solid var(--zpg-line)!important;border-radius:9px!important;background:var(--zpg-card-soft)!important;color:var(--zpg-muted)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:0 10px!important;font-weight:700!important;font-size:11px!important;}
.badge-toggle.on{background:var(--theme-accent, #eaf5ff)!important;border-color:var(--theme-border, #aed5ff)!important;color:var(--theme-accent, #086ad7)!important;}

/* Read-only school access state */
.pending-access,.post-readonly-note{display:flex!important;align-items:flex-start!important;gap:11px!important;padding:12px 14px!important;border:1px solid var(--theme-border, #efd8a9)!important;border-radius:10px!important;background:var(--theme-warning-soft, #fff9eb)!important;color:var(--theme-warning, #715321)!important;margin:0 0 12px!important;}
.pending-access svg,.post-readonly-note svg{flex:none!important;color:var(--theme-warning, #d58b18)!important;}
.pending-access strong,.post-readonly-note strong{display:block!important;font-size:12px!important;color:var(--theme-warning, #5f451b)!important;margin-bottom:2px!important;}
.pending-access p,.post-readonly-note p{font-size:10.5px!important;line-height:1.45!important;margin:0!important;color:var(--theme-warning, #81632c)!important;}

/* Settings — real social-network settings area, not one giant form */
.settings-layout{width:min(1120px,100%)!important;margin:0 auto!important;display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;gap:18px!important;align-items:start!important;}
.settings-sidebar{position:sticky!important;top:82px!important;background:var(--zpg-card)!important;border:1px solid var(--zpg-line)!important;border-radius:13px!important;box-shadow:var(--zpg-shadow)!important;padding:17px 10px 12px!important;}
.settings-sidebar>div{padding:0 10px 13px!important;border-bottom:1px solid var(--zpg-line)!important;margin-bottom:8px!important;}
.settings-sidebar h1{font-size:20px!important;letter-spacing:-.45px!important;color:var(--zpg-ink)!important;margin:0 0 3px!important;}
.settings-sidebar p{font-size:10px!important;color:var(--zpg-muted)!important;margin:0!important;}
.settings-sidebar nav{display:flex!important;flex-direction:column!important;gap:3px!important;}
.settings-sidebar nav a{min-height:43px!important;border-radius:9px!important;padding:0 10px!important;display:flex!important;align-items:center!important;gap:10px!important;color:var(--theme-muted, #49617d)!important;font-size:12px!important;font-weight:690!important;}
.settings-sidebar nav a svg{width:19px!important;height:19px!important;}
.settings-sidebar nav a:hover{background:var(--theme-hover, #f3f7fc)!important;color:var(--theme-text, #173d6b)!important;}
.settings-sidebar nav a.active{background:var(--theme-selected, #eaf4ff)!important;color:var(--theme-accent, #076ae1)!important;}
.settings-content{min-width:0!important;}
.settings-panel-card{background:var(--zpg-card)!important;border:1px solid var(--zpg-line)!important;border-radius:13px!important;box-shadow:var(--zpg-shadow)!important;padding:22px!important;}
.settings-title{display:flex!important;align-items:flex-start!important;gap:12px!important;padding-bottom:18px!important;border-bottom:1px solid var(--zpg-line)!important;margin-bottom:20px!important;}
.settings-icon{width:42px!important;height:42px!important;border-radius:12px!important;background:var(--theme-raised, #eaf4ff)!important;color:var(--theme-accent, #0872ed)!important;display:grid!important;place-items:center!important;flex:none!important;}
.settings-icon svg{width:21px!important;height:21px!important;}
.settings-title h2{font-size:19px!important;color:var(--zpg-ink)!important;margin:0 0 3px!important;letter-spacing:-.35px!important;}
.settings-title p{font-size:11px!important;color:var(--zpg-muted)!important;margin:0!important;}
.avatar-editor{display:flex!important;align-items:center!important;gap:15px!important;padding:0 0 20px!important;margin-bottom:20px!important;border-bottom:1px solid var(--zpg-line)!important;}
.avatar-editor>div{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;}.avatar-editor p{font-size:10px!important;color:var(--zpg-muted)!important;margin:0 0 4px!important;}
.form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin-bottom:18px!important;}.form-grid .full{grid-column:1/-1!important;}
.form-grid label,.settings-panel-card .field{display:flex!important;flex-direction:column!important;gap:6px!important;font-size:10.5px!important;font-weight:700!important;color:var(--theme-muted, #38506e)!important;}
.form-grid input,.form-grid textarea,.form-grid select,.settings-panel-card input,.settings-panel-card textarea,.settings-panel-card select{border:1px solid var(--zpg-line-strong)!important;background:var(--theme-raised, #fff)!important;color:var(--zpg-ink)!important;border-radius:9px!important;min-height:43px!important;padding:10px 12px!important;outline:0!important;box-shadow:none!important;}
.form-grid textarea{min-height:110px!important;resize:vertical!important;}.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus,.settings-panel-card input:focus,.settings-panel-card textarea:focus,.settings-panel-card select:focus{border-color:var(--theme-accent, #71afff)!important;box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(8,120,249,.09))!important;}
.account-summary{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:10px!important;margin-bottom:20px!important;}.account-summary>div{padding:13px!important;border:1px solid var(--zpg-line)!important;border-radius:10px!important;background:var(--zpg-card-soft)!important;}.account-summary span{display:block!important;font-size:9.5px!important;color:var(--zpg-muted)!important;margin-bottom:4px!important;}.account-summary strong{font-size:12px!important;color:var(--zpg-ink)!important;}.ok-text{color:var(--zpg-green)!important;}.pending-text{color:var(--theme-warning, #b57a18)!important;}
.settings-subsection{padding-top:18px!important;margin-top:18px!important;border-top:1px solid var(--zpg-line)!important;}.settings-subsection:first-of-type{margin-top:0!important;}.settings-subsection h3,.settings-subsection h2{font-size:14px!important;color:var(--zpg-ink)!important;margin:0 0 5px!important;}.settings-subsection>p{font-size:10.5px!important;color:var(--zpg-muted)!important;margin:0 0 14px!important;}
.privacy-setting-list,.preference-list{display:flex!important;flex-direction:column!important;border:1px solid var(--zpg-line)!important;border-radius:11px!important;overflow:hidden!important;margin-bottom:18px!important;}
.privacy-setting-list>label,.preference-list>label{min-height:68px!important;padding:12px 14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;background:var(--zpg-card)!important;border-bottom:1px solid var(--zpg-line)!important;}.privacy-setting-list>label:last-child,.preference-list>label:last-child{border-bottom:0!important;}
.privacy-setting-list label>span,.preference-list label>span{display:flex!important;flex-direction:column!important;gap:3px!important;}.privacy-setting-list strong,.preference-list strong{font-size:11.5px!important;color:var(--zpg-ink)!important;}.privacy-setting-list small,.preference-list small{font-size:9.5px!important;color:var(--zpg-muted)!important;}.privacy-setting-list select{width:170px!important;min-height:38px!important;}
.preference-list input[type=checkbox]{appearance:none!important;width:41px!important;height:23px!important;border:0!important;border-radius:999px!important;background:var(--theme-raised, #c9d6e5)!important;position:relative!important;cursor:pointer!important;transition:.18s ease!important;flex:none!important;}.preference-list input[type=checkbox]:after{content:""!important;position:absolute!important;left:3px!important;top:3px!important;width:17px!important;height:17px!important;border-radius:50%!important;background:var(--theme-raised, white)!important;box-shadow:var(--theme-shadow, 0 1px 4px rgba(0,0,0,.16))!important;transition:.18s ease!important;}.preference-list input[type=checkbox]:checked{background:var(--zpg-blue)!important;}.preference-list input[type=checkbox]:checked:after{transform:translateX(18px)!important;}
.session-list,.blocked-list{display:flex!important;flex-direction:column!important;border:1px solid var(--zpg-line)!important;border-radius:10px!important;overflow:hidden!important;}.session-list>div,.blocked-list>div{padding:12px!important;display:flex!important;align-items:center!important;gap:11px!important;border-bottom:1px solid var(--zpg-line)!important;}.session-list>div:last-child,.blocked-list>div:last-child{border-bottom:0!important;}.session-list>div>div,.blocked-list>div>span{display:flex!important;flex-direction:column!important;min-width:0!important;flex:1!important;}.session-list strong,.blocked-list strong{font-size:11px!important;color:var(--zpg-ink)!important;}.session-list small,.blocked-list small{font-size:9px!important;color:var(--zpg-muted)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}.session-icon{width:35px!important;height:35px!important;border-radius:9px!important;background:var(--theme-raised, #edf5ff)!important;color:var(--theme-accent, #1678e8)!important;display:grid!important;place-items:center!important;flex:none!important;}
.theme-choice{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;}.theme-choice button{min-height:160px!important;border:1px solid var(--zpg-line)!important;border-radius:12px!important;background:var(--zpg-card-soft)!important;color:var(--zpg-ink)!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-end!important;text-align:left!important;padding:18px!important;gap:5px!important;position:relative!important;overflow:hidden!important;}.theme-choice button:before{content:""!important;position:absolute!important;left:18px!important;right:18px!important;top:18px!important;height:70px!important;border-radius:8px!important;border:1px solid #d7e4f1!important;background:linear-gradient(#fff 0 18px,#f4f8fd 18px 100%)!important;box-shadow:inset 24px 0 #e8f0fa!important;}.theme-choice button:nth-child(2):before{border-color:#293c54!important;background:linear-gradient(#1c2b3e 0 18px,#101b2a 18px 100%)!important;box-shadow:inset 24px 0 #17263a!important;}.theme-choice button svg{position:absolute!important;left:30px!important;top:40px!important;color:var(--zpg-blue)!important;}.theme-choice button strong{font-size:12px!important;}.theme-choice button span{font-size:9.5px!important;color:var(--zpg-muted)!important;}.theme-choice button.active{border-color:var(--theme-control-border, #7ab6ff)!important;box-shadow:var(--theme-shadow, 0 0 0 3px rgba(8,120,249,.08))!important;}
.legal-links{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-bottom:18px!important;}.legal-links a{min-height:50px!important;border:1px solid var(--zpg-line)!important;border-radius:10px!important;display:flex!important;align-items:center!important;gap:9px!important;padding:0 12px!important;background:var(--zpg-card-soft)!important;color:var(--theme-muted, #315274)!important;font-weight:700!important;font-size:10.5px!important;}.data-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;}

/* Dedicated administration application */
.admin-app{min-height:100vh!important;background:var(--theme-raised, #f4f8fd)!important;color:var(--zpg-ink)!important;display:grid!important;grid-template-columns:268px minmax(0,1fr)!important;}
.admin-sidebar{position:sticky!important;top:0!important;height:100vh!important;background:var(--theme-surface, #0b2543)!important;color:var(--theme-text, #dcecff)!important;padding:18px 14px!important;display:flex!important;flex-direction:column!important;border-right:1px solid var(--theme-border, #173957)!important;z-index:20!important;}
.admin-brand{display:flex!important;align-items:center!important;padding:4px 8px 20px!important;color:var(--theme-text, #fff)!important;border-bottom:1px solid var(--theme-border, rgba(255,255,255,.09))!important;margin-bottom:13px!important;}.admin-brand .brand-cap{fill:var(--theme-text, #fff)!important;}.admin-brand .brand-cap-line,.admin-brand .brand-tassel{stroke:var(--theme-text, #fff)!important;}.admin-brand strong{font-size:24px!important;color:var(--theme-text, #fff)!important;}.admin-brand small{color:var(--theme-muted, #8db1d5)!important;font-size:9px!important;margin-top:3px!important;}
.admin-sidebar nav{display:flex!important;flex-direction:column!important;gap:3px!important;overflow:auto!important;}.admin-nav-label{font-size:9px!important;letter-spacing:.1em!important;color:var(--theme-muted, #6f96bb)!important;font-weight:800!important;padding:7px 10px!important;}.admin-sidebar nav a{min-height:44px!important;padding:0 11px!important;border-radius:9px!important;display:flex!important;align-items:center!important;gap:11px!important;color:var(--theme-text, #bcd2e8)!important;font-size:11.5px!important;font-weight:690!important;}.admin-sidebar nav a svg{width:19px!important;height:19px!important;}.admin-sidebar nav a:hover{background:var(--theme-hover, rgba(255,255,255,.06))!important;color:var(--theme-text, #fff)!important;}.admin-sidebar nav a.active{background:var(--theme-selected, #0878f9)!important;color:var(--theme-text, #fff)!important;box-shadow:var(--theme-shadow, 0 7px 17px rgba(0,76,181,.24))!important;}.admin-sidebar-bottom{margin-top:auto!important;border-top:1px solid var(--theme-border, rgba(255,255,255,.09))!important;padding-top:12px!important;}.admin-sidebar-bottom a{min-height:43px!important;display:flex!important;align-items:center!important;gap:10px!important;border-radius:9px!important;padding:0 10px!important;color:var(--theme-muted, #a8c4df)!important;font-size:11px!important;font-weight:700!important;}.admin-sidebar-bottom a:hover{background:var(--theme-hover, rgba(255,255,255,.06))!important;color:var(--theme-text, #fff)!important;}.admin-sidebar-bottom svg{transform:rotate(180deg)!important;}
.admin-page{min-width:0!important;min-height:100vh!important;}.admin-topbar{height:72px!important;background:var(--theme-surface, #fff)!important;border-bottom:1px solid var(--zpg-line)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 28px!important;position:sticky!important;top:0!important;z-index:10!important;}.admin-topbar h1{font-size:17px!important;letter-spacing:-.25px!important;color:var(--zpg-ink)!important;margin:0 0 2px!important;}.admin-topbar p{font-size:9.5px!important;color:var(--zpg-muted)!important;margin:0!important;}.admin-user-chip{display:flex!important;align-items:center!important;gap:9px!important;background:var(--theme-raised, #f6f9fd)!important;border:1px solid var(--zpg-line)!important;border-radius:11px!important;padding:5px 7px!important;}.admin-user-chip>span{display:flex!important;flex-direction:column!important;}.admin-user-chip strong{font-size:10.5px!important;color:var(--zpg-ink)!important;}.admin-user-chip small{font-size:8.5px!important;color:var(--zpg-muted)!important;}.admin-user-chip>a{width:32px!important;height:32px!important;border-radius:8px!important;display:grid!important;place-items:center!important;color:var(--theme-muted, #63809d)!important;}.admin-user-chip>a:hover{background:var(--theme-hover, #eaf2fb)!important;}
.admin-main{width:min(1280px,calc(100% - 44px))!important;margin:22px auto 44px!important;}.admin-section{background:var(--theme-surface, #fff)!important;border:1px solid var(--zpg-line)!important;border-radius:12px!important;box-shadow:var(--zpg-shadow)!important;padding:20px!important;margin-bottom:16px!important;}.admin-section>h2{font-size:15px!important;color:var(--zpg-ink)!important;margin:0 0 14px!important;}.admin-section>p{font-size:10.5px!important;color:var(--zpg-muted)!important;}.admin-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-bottom:16px!important;}.admin-grid .stat-card{border-radius:11px!important;box-shadow:none!important;border:1px solid var(--zpg-line)!important;}.admin-table-wrap{overflow:auto!important;border:1px solid var(--zpg-line)!important;border-radius:10px!important;}.admin-table{width:100%!important;border-collapse:collapse!important;min-width:920px!important;}.admin-table th{height:39px!important;background:var(--theme-raised, #f6f9fd)!important;color:var(--theme-muted, #71859e)!important;font-size:9px!important;text-transform:uppercase!important;letter-spacing:.04em!important;text-align:left!important;padding:0 11px!important;border-bottom:1px solid var(--zpg-line)!important;}.admin-table td{padding:10px 11px!important;border-bottom:1px solid var(--zpg-line)!important;color:var(--theme-muted, #2c4563)!important;font-size:10.5px!important;vertical-align:middle!important;}.admin-table tr:last-child td{border-bottom:0!important;}.admin-table tbody tr:hover{background:var(--theme-hover, #fbfdff)!important;}.admin-user-cell{display:flex!important;align-items:center!important;gap:9px!important;}.admin-user-cell>div{display:flex!important;flex-direction:column!important;min-width:0!important;}.admin-user-cell strong{font-size:10.5px!important;color:var(--zpg-ink)!important;display:flex!important;align-items:center!important;gap:3px!important;}.admin-user-cell small{font-size:8.5px!important;color:var(--zpg-muted)!important;}.status-pill{display:inline-flex!important;align-items:center!important;gap:4px!important;min-height:26px!important;border-radius:999px!important;padding:0 8px!important;font-size:9px!important;font-weight:750!important;}.status-pill.active{background:var(--theme-selected, #e9f8f2)!important;color:var(--theme-success, #11855c)!important;}.status-pill.pending{background:var(--theme-warning-soft, #fff6e4)!important;color:var(--theme-warning, #a46c11)!important;}.profile-type-pill{display:inline-flex!important;min-height:25px!important;align-items:center!important;border-radius:7px!important;background:var(--theme-raised, #eef4fb)!important;color:var(--theme-muted, #486785)!important;padding:0 8px!important;font-size:9px!important;font-weight:700!important;}.role-select{min-height:34px!important;border:1px solid var(--zpg-line)!important;border-radius:8px!important;background:var(--theme-raised, #fff)!important;color:var(--theme-muted, #2a4969)!important;padding:0 27px 0 9px!important;font-size:9.5px!important;}.admin-actions-cell{display:flex!important;flex-wrap:wrap!important;gap:5px!important;}.admin-actions-cell .primary-button,.admin-actions-cell .secondary-button{min-height:32px!important;padding:0 9px!important;border-radius:8px!important;font-size:9px!important;}
.school-image-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:14px 0 20px!important;}.school-image-editor{border:1px solid var(--zpg-line)!important;border-radius:11px!important;overflow:hidden!important;background:var(--theme-surface, #fff)!important;}.school-image-preview{height:145px!important;border:0!important;border-radius:0!important;background:var(--theme-raised, #edf4fc)!important;color:var(--theme-muted, #7e9bb8)!important;background-size:cover!important;background-position:center!important;display:grid!important;place-items:center!important;}.school-image-editor>div:last-child{padding:12px!important;}.school-image-editor strong{font-size:11px!important;color:var(--zpg-ink)!important;}.school-image-editor p{font-size:9px!important;color:var(--zpg-muted)!important;margin:3px 0 9px!important;}.school-logo-editor{display:flex!important;align-items:center!important;gap:14px!important;border:1px solid var(--zpg-line)!important;border-radius:10px!important;padding:12px!important;}.school-logo-editor>div:last-child{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;}.school-logo-editor p{font-size:9px!important;color:var(--zpg-muted)!important;margin:0 0 5px!important;}

/* New account request flow */
.registration-step select{appearance:none!important;background-image:var(--theme-decoration, linear-gradient(45deg,transparent 50%,#6a819c 50%),linear-gradient(135deg,#6a819c 50%,transparent 50%))!important;background-position:calc(100% - 16px) calc(50% - 2px),calc(100% - 11px) calc(50% - 2px)!important;background-size:5px 5px,5px 5px!important;background-repeat:no-repeat!important;padding-right:31px!important;}
.registration-school-note{background:var(--theme-raised, #eef6ff)!important;border:1px solid var(--theme-border, #d3e6ff)!important;color:var(--theme-muted, #365d87)!important;border-radius:10px!important;padding:12px!important;display:flex!important;gap:10px!important;}.registration-school-note svg{color:var(--theme-accent, #1777e8)!important;flex:none!important;}.registration-school-note p{margin:0!important;}.registration-school-note strong{display:block!important;color:var(--theme-muted, #174a7d)!important;font-size:11px!important;margin-bottom:3px!important;}.registration-school-note span{font-size:9.5px!important;line-height:1.45!important;color:var(--theme-muted, #537398)!important;}

/* Main feed composer: truly usable, clear file state */
.composer:not(.composer-readonly) textarea:not(:disabled){cursor:text!important;}.composer .file-strip:not(:empty){padding-top:6px!important;}.post-readonly-note{margin-top:9px!important;margin-bottom:0!important;}

/* Responsive settings/admin */
@media(max-width:900px){.settings-layout{grid-template-columns:1fr!important;}.settings-sidebar{position:static!important;padding:12px 8px!important;}.settings-sidebar>div{padding-bottom:10px!important;}.settings-sidebar nav{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:5px!important;}.settings-sidebar nav a{justify-content:flex-start!important;min-height:40px!important;}.admin-app{grid-template-columns:1fr!important;}.admin-sidebar{position:relative!important;height:auto!important;padding:12px!important;}.admin-brand{padding-bottom:12px!important;}.admin-sidebar nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;}.admin-nav-label{grid-column:1/-1!important;}.admin-sidebar nav a{justify-content:center!important;min-height:40px!important;padding:0 7px!important;}.admin-sidebar-bottom{margin-top:10px!important;}.admin-topbar{position:static!important;padding:0 14px!important;}.admin-main{width:min(100% - 22px,1000px)!important;margin-top:12px!important;}.admin-grid{grid-template-columns:repeat(2,1fr)!important;}}
@media(max-width:640px){.settings-layout{width:100%!important;}.settings-sidebar,.settings-panel-card{border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important;}.settings-sidebar nav{display:flex!important;overflow-x:auto!important;flex-direction:row!important;scrollbar-width:none!important;}.settings-sidebar nav a{flex:0 0 auto!important;padding:0 11px!important;}.settings-sidebar nav a span{white-space:nowrap!important;}.settings-panel-card{padding:16px!important;}.settings-title{margin-bottom:15px!important;}.form-grid{grid-template-columns:1fr!important;}.form-grid .full{grid-column:auto!important;}.account-summary{grid-template-columns:1fr!important;}.privacy-setting-list>label,.preference-list>label{align-items:flex-start!important;}.privacy-setting-list select{width:140px!important;}.theme-choice{grid-template-columns:1fr!important;}.legal-links{grid-template-columns:1fr!important;}.admin-sidebar nav{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;}.admin-sidebar nav a{flex:0 0 auto!important;}.admin-topbar{height:64px!important;}.admin-topbar>div:first-child p{display:none!important;}.admin-user-chip>span{display:none!important;}.admin-main{width:100%!important;margin:8px 0 20px!important;}.admin-section{border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important;padding:15px!important;}.admin-grid{grid-template-columns:1fr 1fr!important;padding:0 10px!important;}.school-image-grid{grid-template-columns:1fr!important;}.school-image-preview{height:170px!important;}}

/* ========================================================================== */

/* ========================================================================== */

/* Keep the school promo anchored at the bottom instead of drifting with nav. */
.sidebar{display:flex!important;flex-direction:column!important;}
.sidebar-nav{flex:0 1 auto!important;min-height:0!important;overflow:auto!important;}
.sidebar-promo{margin-top:auto!important;flex:0 0 auto!important;}
.sidebar-brand-foot{margin-top:12px!important;flex:0 0 auto!important;}

/* Top action controls: professional rounded-square controls, never floating circles. */
.notification-button{
  width:40px!important;height:40px!important;border-radius:11px!important;
  border:1px solid var(--theme-control-border, #e4eaf2)!important;background:var(--theme-raised, #f5f8fc)!important;color:var(--theme-text, #29415e)!important;
  display:inline-grid!important;place-items:center!important;box-shadow:none!important;
  transition:background .16s ease,border-color .16s ease,transform .16s ease!important;
}
.notification-button:hover{background:var(--theme-hover, #edf3fa)!important;border-color:var(--theme-control-border, #d6e1ed)!important;transform:translateY(-1px)!important;}
.notification-button svg{width:20px!important;height:20px!important;}

/* Settings toggles: compact product-grade switches rather than circular buttons. */
.preference-list input[type=checkbox]{
  width:44px!important;height:24px!important;border-radius:8px!important;background:var(--theme-raised, #c7d2df)!important;
  border:1px solid var(--theme-control-border, #b9c6d4)!important;padding:2px!important;box-shadow:var(--theme-shadow, inset 0 1px 2px rgba(19,40,64,.06))!important;
}
.preference-list input[type=checkbox]:after{
  left:3px!important;top:3px!important;width:16px!important;height:16px!important;border-radius:5px!important;
  box-shadow:var(--theme-shadow, 0 2px 5px rgba(21,44,72,.18))!important;
}
.preference-list input[type=checkbox]:checked{background:var(--theme-accent, #2f80ed)!important;border-color:var(--theme-accent, #2f80ed)!important;}
.preference-list input[type=checkbox]:checked:after{transform:translateX(19px)!important;}
.theme-switch{width:42px!important;height:24px!important;border-radius:8px!important;padding:3px!important;background:var(--theme-raised, #c5d0dc)!important;}
.theme-switch b{width:18px!important;height:18px!important;border-radius:5px!important;box-shadow:var(--theme-shadow, 0 2px 5px rgba(20,43,70,.16))!important;}
.theme-switch.on{background:var(--theme-accent, #2f80ed)!important;}.theme-switch.on b{transform:translateX(18px)!important;}

/* Administration: richer action surfaces. */
.admin-quick-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;}
.admin-quick-grid>a{min-height:132px!important;border:1px solid var(--theme-border, #e2e9f2)!important;border-radius:12px!important;background:var(--theme-raised, #f8fbff)!important;padding:16px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important;color:var(--theme-text, #24415f)!important;transition:.16s ease!important;}
.admin-quick-grid>a:hover{background:var(--theme-hover, #f0f6fd)!important;border-color:var(--theme-border, #cdddee)!important;transform:translateY(-1px)!important;}
.admin-quick-grid>a>svg{color:var(--theme-accent, #2579dc)!important;width:24px!important;height:24px!important;}
.admin-quick-grid strong{font-size:12px!important;color:var(--theme-text, #183552)!important;}
.admin-quick-grid span{font-size:9.5px!important;line-height:1.45!important;color:var(--theme-muted, #70849a)!important;}
.structure-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important;}
.structure-card{border:1px solid var(--theme-border, #e0e8f1)!important;border-radius:12px!important;background:var(--theme-raised, #f9fbfe)!important;padding:16px!important;}
.structure-card-head{display:flex!important;align-items:center!important;gap:10px!important;margin-bottom:14px!important;}
.structure-card-head>svg{width:22px!important;height:22px!important;color:var(--theme-accent, #287bdc)!important;}
.structure-card-head>div{display:flex!important;flex-direction:column!important;gap:2px!important;}
.structure-card-head strong{font-size:12px!important;color:var(--theme-text, #173653)!important;}.structure-card-head span{font-size:9px!important;color:var(--theme-muted, #7d8fa3)!important;}
.admin-school-picker{display:flex!important;flex-direction:column!important;gap:5px!important;font-size:9px!important;color:var(--theme-muted, #74869a)!important;min-width:260px!important;}
.admin-school-picker select{min-height:38px!important;border:1px solid var(--theme-control-border, #dbe5ef)!important;border-radius:9px!important;background:var(--theme-raised, #fff)!important;color:var(--theme-text, #29455f)!important;padding:0 30px 0 10px!important;}
.admin-content-list{display:flex!important;flex-direction:column!important;gap:10px!important;}
.admin-content-list article{border:1px solid var(--theme-border, #e1e8f1)!important;border-radius:11px!important;background:var(--theme-surface, #fbfdff)!important;padding:14px!important;}
.admin-content-list article>div:first-child{display:flex!important;align-items:center!important;gap:9px!important;}.admin-content-list article>div:first-child>span{display:flex!important;flex-direction:column!important;gap:2px!important;}
.admin-content-list article strong{font-size:11px!important;color:var(--theme-text, #1d3855)!important;}.admin-content-list article small{font-size:9px!important;color:var(--theme-muted, #8392a5)!important;}.admin-content-list article p{font-size:10.5px!important;color:var(--theme-muted, #455d76)!important;line-height:1.55!important;margin:10px 0!important;}.admin-content-list article>div:last-child{display:flex!important;gap:7px!important;}

@media(max-width:1100px){.admin-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.structure-grid{grid-template-columns:1fr!important;}}
@media(max-width:640px){.admin-quick-grid{grid-template-columns:1fr!important;}.admin-school-picker{min-width:0!important;width:100%!important;}.notification-button{border-radius:10px!important;}}


/* ========================================================================== */
/* v1.1.4 — CONTROL SYSTEM REVISION                                           */
/* Compact, aligned controls. No oversized checkbox/switch/button artifacts.  */
/* ========================================================================== */

/* Unified buttons */
.primary-button,.secondary-button,.danger-button,.compact-button{
  min-height:36px!important;height:auto!important;padding:8px 13px!important;border-radius:8px!important;
  font-size:11px!important;line-height:1.15!important;font-weight:720!important;gap:6px!important;
  box-shadow:none!important;white-space:nowrap!important;
}
.primary-button svg,.secondary-button svg,.danger-button svg{width:16px!important;height:16px!important;flex:none!important;}
.primary-button:hover,.secondary-button:hover,.danger-button:hover{transform:none!important;}
.icon-button{width:36px!important;height:36px!important;border-radius:9px!important;padding:0!important;}
.notification-button{width:36px!important;height:36px!important;border-radius:9px!important;padding:0!important;}
.notification-button svg{width:18px!important;height:18px!important;}

/* Standard legal/login checkbox: compact square beside text, never stacked */
.check-row,.check-row.compact{
  display:grid!important;grid-template-columns:17px minmax(0,1fr)!important;align-items:start!important;
  column-gap:9px!important;row-gap:0!important;width:100%!important;margin:0!important;padding:0!important;
  font-size:10.5px!important;line-height:1.45!important;
}
.check-row.compact{align-items:center!important;}
.check-row input[type="checkbox"]{
  appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;
  width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;
  margin:1px 0 0!important;padding:0!important;border:1.5px solid var(--ui-border-strong)!important;
  border-radius:4px!important;background:var(--ui-surface)!important;position:relative!important;display:block!important;
  grid-column:1!important;grid-row:1!important;
}
.check-row.compact input[type="checkbox"]{margin-top:0!important;}
.check-row>span{grid-column:2!important;grid-row:1!important;min-width:0!important;display:block!important;}
.check-row input[type="checkbox"]:before{
  content:""!important;position:absolute!important;left:4.5px!important;top:1.6px!important;width:4.5px!important;height:8.5px!important;
  border:solid var(--theme-control-border, #fff)!important;border-width:0 1.8px 1.8px 0!important;transform:rotate(45deg) scale(0)!important;
  transform-origin:center!important;
}
.check-row input[type="checkbox"]:checked{background:var(--theme-accent, #0b6ff5)!important;border-color:var(--theme-accent, #0b6ff5)!important;}
.check-row input[type="checkbox"]:checked:before{transform:rotate(45deg) scale(1)!important;}
.auth-inline{align-items:center!important;min-height:26px!important;}.auth-inline .check-row{width:auto!important;flex:0 1 auto!important;}

/* Settings switches: conventional small pill switch */
.preference-list>label{min-height:58px!important;padding:10px 12px!important;display:flex!important;align-items:center!important;gap:14px!important;}
.preference-list>label>span{flex:1!important;min-width:0!important;}
.preference-list input[type="checkbox"]{
  appearance:none!important;-webkit-appearance:none!important;position:relative!important;flex:0 0 38px!important;
  width:38px!important;height:21px!important;min-width:38px!important;max-width:38px!important;margin:0!important;padding:0!important;
  border:1px solid var(--theme-control-border, #bfcbd9)!important;border-radius:999px!important;background:var(--theme-raised, #cbd5e1)!important;box-shadow:none!important;
  transition:background .16s ease,border-color .16s ease!important;
}
.preference-list input[type="checkbox"]:after{
  content:""!important;position:absolute!important;left:2px!important;top:2px!important;width:15px!important;height:15px!important;
  border-radius:50%!important;background:var(--theme-raised, #fff)!important;box-shadow:var(--theme-shadow, 0 1px 3px rgba(15,35,58,.22))!important;transition:transform .16s ease!important;
}
.preference-list input[type="checkbox"]:checked{background:var(--theme-accent, #0b6ff5)!important;border-color:var(--theme-accent, #0b6ff5)!important;}
.preference-list input[type="checkbox"]:checked:after{transform:translateX(17px)!important;}

/* Dropdown theme switch uses same compact product language */
.theme-switch{width:38px!important;height:21px!important;min-width:38px!important;border-radius:999px!important;padding:0!important;background:var(--theme-raised, #cbd5e1)!important;position:relative!important;}
.theme-switch b{position:absolute!important;left:2px!important;top:2px!important;width:17px!important;height:17px!important;border-radius:50%!important;background:var(--theme-knob, #fff)!important;box-shadow:var(--theme-shadow, 0 1px 3px rgba(15,35,58,.2))!important;}
.theme-switch.on{background:var(--theme-accent, #0b6ff5)!important;}.theme-switch.on b{transform:translateX(17px)!important;}

/* Verified badge: Meta/X-style seal, no emoji, no surrounding circle UI */
.verified-badge,.verified-badge.big{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:0!important;
  border-radius:0!important;padding:0!important;margin-left:3px!important;box-shadow:none!important;vertical-align:-3px!important;
  width:17px!important;height:17px!important;min-width:17px!important;flex:0 0 17px!important;color:inherit!important;
}
.verified-badge.big{width:20px!important;height:20px!important;min-width:20px!important;flex-basis:20px!important;}
.verified-badge svg{width:100%!important;height:100%!important;display:block!important;overflow:visible!important;}
.verified-badge .verified-seal{fill:var(--theme-accent, #1d9bf0)!important;stroke:none!important;}
.verified-badge .verified-check{fill:none!important;stroke:var(--theme-on-accent, #fff)!important;stroke-width:2.15!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
.badge-toggle{min-height:32px!important;height:32px!important;padding:0 9px!important;border-radius:8px!important;font-size:9.5px!important;}
.badge-toggle .verified-badge{width:15px!important;height:15px!important;min-width:15px!important;flex-basis:15px!important;margin:0!important;}

/* Admin school rows: actions stay aligned inside the card */
.school-admin-row{grid-template-columns:42px minmax(0,1fr) auto minmax(190px,auto)!important;align-items:center!important;gap:12px!important;padding:12px 2px!important;}
.school-row-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important;}
.school-row-actions .secondary-button{min-height:34px!important;padding:7px 10px!important;}
.admin-actions-cell{align-items:center!important;gap:6px!important;}
.admin-actions-cell .primary-button,.admin-actions-cell .secondary-button{min-height:32px!important;padding:6px 9px!important;}

/* School role policy */
.role-policy-card{max-width:880px!important;}
.role-policy-intro{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;padding:14px!important;border:1px solid var(--ui-border)!important;border-radius:10px!important;background:var(--ui-surface-2)!important;margin:12px 0!important;}
.role-policy-icon{width:42px!important;height:42px!important;border-radius:10px!important;display:grid!important;place-items:center!important;background:var(--theme-raised, #eaf4ff)!important;color:var(--theme-accent, #0b6ff5)!important;}
.role-policy-intro strong{font-size:12px!important;}.role-policy-intro p{font-size:10px!important;color:var(--ui-muted)!important;margin:3px 0 0!important;}
.compact-switch{display:flex!important;align-items:center!important;gap:7px!important;font-size:10px!important;font-weight:700!important;white-space:nowrap!important;}
.compact-switch input{position:absolute!important;opacity:0!important;pointer-events:none!important;}
.compact-switch>span{width:38px!important;height:21px!important;border-radius:999px!important;background:var(--theme-raised, #cbd5e1)!important;position:relative!important;display:block!important;transition:.16s ease!important;}
.compact-switch>span:after{content:""!important;position:absolute!important;width:15px!important;height:15px!important;left:3px!important;top:3px!important;border-radius:50%!important;background:var(--theme-surface, #fff)!important;box-shadow:var(--theme-shadow, 0 1px 3px rgba(15,35,58,.2))!important;transition:.16s ease!important;}
.compact-switch input:checked+span{background:var(--theme-accent, #0b6ff5)!important;}.compact-switch input:checked+span:after{transform:translateX(17px)!important;}
.role-permission-list{border:1px solid var(--ui-border)!important;border-radius:10px!important;overflow:hidden!important;background:var(--ui-surface)!important;}
.permission-row{display:grid!important;grid-template-columns:17px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;padding:12px 14px!important;border-bottom:1px solid var(--ui-border)!important;cursor:pointer!important;}
.permission-row:last-child{border-bottom:0!important;}.permission-row>span{display:flex!important;flex-direction:column!important;gap:2px!important;}.permission-row strong{font-size:10.5px!important;}.permission-row small{font-size:9px!important;color:var(--ui-muted)!important;}
.permission-row input[type="checkbox"]{appearance:none!important;-webkit-appearance:none!important;width:17px!important;height:17px!important;min-width:17px!important;margin:1px 0 0!important;padding:0!important;border:1.5px solid var(--ui-border-strong)!important;border-radius:4px!important;background:var(--ui-surface)!important;position:relative!important;}
.permission-row input[type="checkbox"]:after{content:""!important;position:absolute!important;left:4.5px!important;top:1.5px!important;width:4.5px!important;height:8px!important;border:solid var(--theme-control-border, #fff)!important;border-width:0 1.8px 1.8px 0!important;transform:rotate(45deg) scale(0)!important;}
.permission-row input[type="checkbox"]:checked{background:var(--theme-accent, #0b6ff5)!important;border-color:var(--theme-accent, #0b6ff5)!important;}.permission-row input[type="checkbox"]:checked:after{transform:rotate(45deg) scale(1)!important;}
.admin-section-actions{display:flex!important;justify-content:flex-end!important;margin-top:12px!important;}

/* Email verification is optional in this local/SMTP-less version */
.notice.info.compact{align-items:flex-start!important;}

@media(max-width:720px){.school-admin-row{grid-template-columns:40px minmax(0,1fr) auto!important;}.school-row-actions{grid-column:2/4!important;justify-content:flex-start!important;}.role-policy-intro{grid-template-columns:40px minmax(0,1fr)!important;}.role-policy-intro .compact-switch{grid-column:2!important;justify-self:start!important;}}

/* ========================================================================== */
/* v1.1.4 — CONTROL SYSTEM RESET                                               */
/* Checkbox visuals are separated from input fields; buttons use one scale.   */
/* ========================================================================== */

/* --- Universal action sizing ------------------------------------------------ */
.primary-button,
.secondary-button,
.danger-button,
.compact-button,
.badge-toggle,
.admin-actions-cell .primary-button,
.admin-actions-cell .secondary-button,
.admin-actions-cell .danger-button,
.school-row-actions .primary-button,
.school-row-actions .secondary-button,
.school-row-actions .danger-button {
  min-height:34px!important;
  height:34px!important;
  width:auto!important;
  min-width:0!important;
  padding:0 12px!important;
  border-radius:8px!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:700!important;
  gap:6px!important;
  box-shadow:none!important;
  white-space:nowrap!important;
  vertical-align:middle!important;
}
.primary-button svg,
.secondary-button svg,
.danger-button svg,
.compact-button svg,
.badge-toggle svg {width:15px!important;height:15px!important;flex:0 0 15px!important;}
.primary-button:hover,.secondary-button:hover,.danger-button:hover,.compact-button:hover{transform:none!important;}
.primary-button:active,.secondary-button:active,.danger-button:active,.compact-button:active{transform:translateY(1px)!important;}
.primary-button.wide,.secondary-button.wide{width:100%!important;height:38px!important;min-height:38px!important;}
.registration-actions .primary-button,.registration-actions .secondary-button{
  height:36px!important;min-height:36px!important;padding:0 13px!important;
}
.registration-actions{align-items:center!important;gap:8px!important;}
.registration-actions .primary-button{margin-left:auto!important;}
.registration-actions .secondary-button{margin-right:0!important;}

.icon-button,.notification-button,.admin-icon-button{
  width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;
  min-height:34px!important;padding:0!important;border-radius:8px!important;display:inline-grid!important;place-items:center!important;
}
.icon-button svg,.notification-button svg,.admin-icon-button svg{width:17px!important;height:17px!important;}
.text-action{height:34px!important;min-height:34px!important;padding:0 9px!important;border-radius:8px!important;font-size:10.5px!important;}
.feed-tabs button,.admin-tabs button{min-height:38px!important;padding:0 13px!important;font-size:10.5px!important;}
.post-actions button{height:36px!important;min-height:36px!important;font-size:10.5px!important;}
.comment-delete{width:28px!important;height:28px!important;min-width:28px!important;padding:0!important;}

/* Prevent generic input rules from ever stretching real checkboxes. */
.check-row>input[type="checkbox"],
.permission-row>input[type="checkbox"]{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
  width:1px!important;height:1px!important;min-width:1px!important;max-width:1px!important;
  min-height:1px!important;max-height:1px!important;
  margin:0!important;padding:0!important;border:0!important;
  clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;overflow:hidden!important;
}

/* --- Real checkbox component ------------------------------------------------ */
.check-row{
  position:relative!important;
  display:grid!important;
  grid-template-columns:16px minmax(0,1fr)!important;
  column-gap:9px!important;
  align-items:start!important;
  width:100%!important;
  min-height:22px!important;
  margin:0!important;
  padding:3px 0!important;
  cursor:pointer!important;
  color:var(--ui-text,var(--text))!important;
}
.check-row.compact{width:auto!important;min-height:20px!important;padding:1px 0!important;align-items:center!important;}
.check-row .check-box{
  grid-column:1!important;
  display:block!important;
  width:16px!important;height:16px!important;min-width:16px!important;max-width:16px!important;
  margin:1px 0 0!important;
  border:1.5px solid var(--theme-border, #b8c6d8)!important;
  border-radius:4px!important;
  background:var(--theme-surface, #fff)!important;
  position:relative!important;
  box-shadow:var(--theme-shadow, 0 1px 1px rgba(16,40,72,.03))!important;
  transition:background .14s ease,border-color .14s ease,box-shadow .14s ease!important;
}
.check-row .check-box::after{
  content:""!important;
  position:absolute!important;
  left:4.1px!important;top:1.5px!important;
  width:4.5px!important;height:8px!important;
  border:solid var(--theme-border, #fff)!important;border-width:0 1.8px 1.8px 0!important;
  transform:rotate(45deg) scale(.3)!important;
  opacity:0!important;
  transition:opacity .12s ease,transform .12s ease!important;
}
.check-row .check-label{
  grid-column:2!important;
  min-width:0!important;
  font-size:10.5px!important;
  line-height:1.45!important;
  font-weight:620!important;
  color:var(--ui-text,var(--text))!important;
}
.check-row .check-label a{color:var(--theme-accent, #0866f5)!important;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;}
.check-row>input[type="checkbox"]:checked + .check-box{
  background:var(--theme-accent, #0866f5)!important;border-color:var(--theme-accent, #0866f5)!important;
}
.check-row>input[type="checkbox"]:checked + .check-box::after{opacity:1!important;transform:rotate(45deg) scale(1)!important;}
.check-row>input[type="checkbox"]:focus-visible + .check-box{
  box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(8,102,245,.16))!important;border-color:var(--theme-accent, #0866f5)!important;
}
.check-row:hover .check-box{border-color:var(--theme-border, #7ea7db)!important;}
.auth-inline{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
.auth-inline .check-row{flex:0 1 auto!important;width:auto!important;}

/* Permission checkbox uses the exact same square control. */
.permission-row{
  position:relative!important;
  display:grid!important;
  grid-template-columns:16px minmax(0,1fr)!important;
  column-gap:10px!important;
  align-items:start!important;
  padding:11px 13px!important;
}
.permission-row .check-box{
  grid-column:1!important;
  width:16px!important;height:16px!important;min-width:16px!important;
  margin:1px 0 0!important;
  border:1.5px solid var(--theme-border, #b8c6d8)!important;border-radius:4px!important;background:var(--theme-surface, #fff)!important;
  position:relative!important;
}
.permission-row .check-box::after{
  content:"";position:absolute;left:4.1px;top:1.5px;width:4.5px;height:8px;
  border:solid var(--theme-border, #fff);border-width:0 1.8px 1.8px 0;transform:rotate(45deg) scale(.3);opacity:0;
}
.permission-row>input[type="checkbox"]:checked + .check-box{background:var(--theme-accent, #0866f5)!important;border-color:var(--theme-accent, #0866f5)!important;}
.permission-row>input[type="checkbox"]:checked + .check-box::after{opacity:1!important;transform:rotate(45deg) scale(1)!important;}
.permission-row>input[type="checkbox"]:focus-visible + .check-box{box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(8,102,245,.16))!important;border-color:var(--theme-accent, #0866f5)!important;}
.permission-row>span:last-child{grid-column:2!important;display:flex!important;flex-direction:column!important;gap:2px!important;}

/* Switches are only for true on/off preferences, and are kept visually small. */
.preference-list>label{min-height:52px!important;padding:9px 11px!important;gap:12px!important;}
.preference-list input[type="checkbox"]{
  flex:0 0 36px!important;width:36px!important;height:20px!important;min-width:36px!important;max-width:36px!important;
  min-height:20px!important;max-height:20px!important;padding:0!important;margin:0!important;
  border-radius:999px!important;background:var(--theme-raised, #c9d3df)!important;border:1px solid var(--theme-control-border, #bcc8d6)!important;position:relative!important;
}
.preference-list input[type="checkbox"]::after{
  left:2px!important;top:2px!important;width:14px!important;height:14px!important;border-radius:50%!important;
}
.preference-list input[type="checkbox"]:checked::after{transform:translateX(16px)!important;}
.compact-switch>span,.theme-switch{width:36px!important;height:20px!important;min-width:36px!important;border-radius:999px!important;}
.compact-switch>span::after{width:14px!important;height:14px!important;left:3px!important;top:3px!important;}
.compact-switch input:checked+span::after{transform:translateX(16px)!important;}
.theme-switch b{width:16px!important;height:16px!important;left:2px!important;top:2px!important;border-radius:50%!important;}
.theme-switch.on b{transform:translateX(16px)!important;}

/* Button rows always hug their content instead of floating in empty card space. */
.modal-actions,.admin-section-actions,.school-row-actions,.admin-actions-cell,.report-row>div:last-child{
  display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;
}
.modal-actions,.admin-section-actions{justify-content:flex-end!important;}
.school-admin-row{align-items:center!important;}
.school-row-actions{justify-content:flex-end!important;align-self:center!important;}

@media(max-width:560px){
  .registration-actions{position:static!important;padding:10px 0 0!important;background:transparent!important;border:0!important;backdrop-filter:none!important;}
  .registration-actions .primary-button,.registration-actions .secondary-button{height:36px!important;min-height:36px!important;}
  .check-row .check-label{font-size:10px!important;}
  .primary-button,.secondary-button,.danger-button,.compact-button{font-size:10.5px!important;}
}

/* ========================================================================== */
/* v1.1.4 — school profiles, operator bulletin, branded dropdowns            */
/* ========================================================================== */
.verified-badge,.verified-badge.big{
  width:1.02em!important;height:1.02em!important;min-width:1.02em!important;flex:0 0 1.02em!important;
  margin-left:.28em!important;vertical-align:-0.12em!important;color:var(--theme-accent, #1d9bf0)!important;
}
.badge-toggle .verified-badge{width:.95em!important;height:.95em!important;min-width:.95em!important;flex-basis:.95em!important;margin:0!important;}

select.branded-select,
.field select,
.privacy-setting-list select,
.search-filters select,
.role-select,
.admin-school-picker select,
#audience-smart-toggle select,
#structure-school,
#roles-school{
  appearance:none!important;-webkit-appearance:none!important;
  min-height:40px!important;padding:0 38px 0 12px!important;border-radius:12px!important;
  border:1px solid var(--theme-control-border, #d7e2ef)!important;background-color:var(--theme-raised, #fff)!important;color:var(--theme-text, #17385d)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.25 4.5L6 8.25L9.75 4.5' stroke='%230e5dcc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:12px 12px!important;
  box-shadow:var(--theme-shadow, inset 0 1px 0 rgba(255,255,255,.7))!important;
}
select.branded-select:hover,
.field select:hover,
.privacy-setting-list select:hover,
.search-filters select:hover,
.role-select:hover,
.admin-school-picker select:hover,
#audience-smart-toggle select:hover,
#structure-school:hover,
#roles-school:hover{border-color:var(--theme-control-border, #bfd1e7)!important;background-color:var(--theme-hover, #f9fbff)!important;}
select.branded-select:focus,
.field select:focus,
.privacy-setting-list select:focus,
.search-filters select:focus,
.role-select:focus,
.admin-school-picker select:focus,
#audience-smart-toggle select:focus,
#structure-school:focus,
#roles-school:focus{outline:0!important;border-color:var(--theme-accent, #0e64e5)!important;box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(14,100,229,.12))!important;}
.audience-select{padding-right:4px!important;border-radius:12px!important;background:var(--theme-raised, #fff)!important;box-shadow:var(--theme-shadow, 0 4px 12px rgba(15,47,85,.04))!important;}
.audience-select select{min-height:36px!important;padding-left:2px!important;padding-right:28px!important;background-color:transparent!important;border:0!important;box-shadow:none!important;}
.composer-audience-note{display:flex;align-items:flex-start;gap:8px;margin-top:10px;padding:10px 12px;border-radius:12px;font-size:12px;line-height:1.45;}
.composer-audience-note strong{display:block;font-size:12.5px;margin-bottom:2px;}
.composer-audience-note.info{background:var(--theme-raised, #f4f8ff);border:1px solid var(--theme-border, #d9e8ff);color:var(--theme-muted, #20486f);}
.composer-audience-note.warning{background:var(--theme-warning-soft, #fff6ea);border:1px solid var(--theme-border, #ffe0b5);color:var(--theme-warning, #7b4d12);}
.composer-audience-note svg{width:16px;height:16px;flex:0 0 16px;margin-top:1px;}

.promo-badge{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0 10px;border-radius:999px;background:var(--theme-hover, rgba(255,255,255,.14));border:1px solid var(--theme-border, rgba(255,255,255,.2));font-size:11px;font-weight:800;letter-spacing:.01em;margin-bottom:10px;}
.operator-preview{min-height:250px!important;margin-top:0!important;}
.operator-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.operator-form-grid label{display:flex;flex-direction:column;gap:6px;color:var(--theme-muted, #4c6078);font-size:12px;font-weight:700;}
.operator-form-grid .full{grid-column:1/-1;}
.operator-form-grid input,.operator-form-grid textarea{width:100%;}
.operator-upload-label{align-self:end;justify-content:center;min-height:42px!important;}

.school-profile-hero{position:relative;overflow:hidden;min-height:210px;}
.school-profile-hero.has-school-cover::before{content:"";position:absolute;inset:0;background-image:linear-gradient(100deg,rgba(8,36,67,.82),rgba(8,73,130,.48)),var(--school-cover);background-size:cover;background-position:center;}
.school-profile-hero>*{position:relative;z-index:1;}
.school-profile-hero .school-hero-actions{margin-left:auto;display:flex;align-items:center;}
.school-admin-row.is-selected{background:var(--theme-raised, #f5f9ff)!important;border-radius:14px!important;box-shadow:var(--theme-shadow, inset 0 0 0 1px #cfe1fb)!important;padding-left:10px!important;padding-right:10px!important;}
.school-admin-row .status{justify-self:end;}
.school-admin-row .school-row-actions{justify-content:flex-end!important;}
.admin-inline-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;}

@media(max-width:860px){
}
@media(max-width:640px){
  .composer-audience-note{font-size:11px;padding:9px 10px;}
  .operator-form-grid{grid-template-columns:1fr;}
}

/* ========================================================================== */
/* v1.1.6 — Reference post composer + five feed filters                       */
/* ========================================================================== */
.composer-reference{
  background:var(--theme-surface, #fff)!important;border:1px solid var(--theme-border, #e5edf7)!important;border-radius:14px!important;
  padding:14px 16px 12px!important;margin:0 0 12px!important;box-shadow:var(--theme-shadow, 0 4px 18px rgba(35,72,118,.045))!important;
}
.composer-reference-top{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;}
.composer-reference-top>.avatar{width:52px!important;height:52px!important;}
.composer-reference-top textarea{
  width:100%!important;height:48px!important;min-height:48px!important;max-height:120px!important;resize:none!important;
  padding:13px 15px!important;border:1px solid var(--theme-control-border, #dfe8f4)!important;border-radius:9px!important;background:var(--theme-raised, #f7faff)!important;
  color:var(--theme-text, #17345c)!important;font-size:14px!important;line-height:20px!important;outline:0!important;overflow:auto!important;
  box-shadow:var(--theme-shadow, inset 0 1px 2px rgba(27,67,112,.025))!important;
}
.composer-reference-top textarea::placeholder{color:var(--theme-muted, #6e83a1)!important;opacity:1!important;}
.composer-reference-top textarea:focus{background:var(--theme-raised, #fff)!important;border-color:var(--theme-accent, #9cc4fb)!important;box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(13,104,239,.10))!important;}
.composer-reference .image-preview{margin:10px 0 0 64px!important;}
.composer-reference-bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-top:12px!important;}
.composer-media-actions,.composer-publish-actions{display:flex!important;align-items:center!important;gap:8px!important;}
.composer-action{
  height:40px!important;min-height:40px!important;padding:0 12px!important;border:1px solid var(--theme-border, #dfe7f2)!important;border-radius:9px!important;
  background:var(--theme-surface, #fff)!important;color:var(--theme-text, #17345c)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  font-weight:750!important;font-size:12px!important;box-shadow:var(--theme-shadow, 0 1px 3px rgba(29,67,108,.025))!important;transition:.14s ease!important;white-space:nowrap!important;
}
.composer-action:hover{background:var(--theme-hover, #f8fbff)!important;border-color:var(--theme-border, #cbd9e9)!important;transform:none!important;}
.composer-action:disabled,.composer-action.disabled{opacity:.48!important;cursor:not-allowed!important;}
.composer-action input[type="file"]{display:none!important;}
.composer-action-photo svg{color:var(--theme-success, #12b65c)!important;}.composer-action-video svg{color:var(--theme-danger, #ff3545)!important;}.composer-action-event svg{color:var(--theme-accent, #0878f5)!important;}.composer-action-poll svg{color:var(--theme-warning, #ff8b00)!important;}
.reference-audience{
  height:40px!important;min-height:40px!important;min-width:132px!important;padding:0 7px 0 10px!important;border:1px solid var(--theme-border, #d9e4f1)!important;
  border-radius:9px!important;background:var(--theme-surface, #fff)!important;color:var(--theme-text, #17345c)!important;display:flex!important;align-items:center!important;gap:7px!important;
  box-shadow:none!important;
}
.reference-audience>svg{color:var(--theme-muted, #214d83)!important;flex:0 0 auto!important;}
.reference-audience select{
  appearance:none!important;-webkit-appearance:none!important;min-height:36px!important;height:36px!important;border:0!important;outline:0!important;
  background-color:transparent!important;color:var(--theme-text, #17345c)!important;font-size:12px!important;font-weight:750!important;padding:0 28px 0 0!important;
  background-position:right 4px center!important;background-size:12px!important;cursor:pointer!important;
}
.composer-publish{height:40px!important;min-height:40px!important;border-radius:9px!important;padding:0 20px!important;font-size:12px!important;box-shadow:var(--theme-shadow, 0 5px 13px rgba(9,100,236,.18))!important;}
.reference-feed-tabs{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;height:49px!important;margin:0 0 12px!important;padding:0 6px!important;
  border:1px solid var(--theme-border, #e4ebf5)!important;border-radius:12px!important;background:var(--theme-surface, #fff)!important;box-shadow:var(--theme-shadow, 0 3px 14px rgba(35,72,118,.035))!important;overflow:visible!important;
}
.reference-feed-tabs>a{
  min-width:0!important;height:48px!important;padding:0 9px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  border-radius:10px!important;color:var(--theme-muted, #385373)!important;font-size:11.5px!important;font-weight:700!important;position:relative!important;white-space:nowrap!important;
}
.reference-feed-tabs>a:hover{background:var(--theme-hover, #f8fbff)!important;color:var(--theme-accent, #1269e8)!important;}
.reference-feed-tabs>a.active{color:var(--theme-accent, #0d6cf2)!important;background:var(--theme-selected, linear-gradient(180deg,#fff 0%,#f9fbff 100%))!important;}
.reference-feed-tabs>a.active::after{content:""!important;position:absolute!important;left:8px!important;right:8px!important;bottom:-1px!important;height:3px!important;border-radius:999px!important;background:var(--theme-selected, #0d6cf2)!important;}
.reference-feed-tabs>a:nth-child(5){color:var(--theme-warning, #e96018)!important;}.reference-feed-tabs>a:nth-child(5).active{color:var(--theme-warning, #e96018)!important;}.reference-feed-tabs>a:nth-child(5).active::after{background:var(--theme-selected, #e96018)!important;}
.reference-feed-tabs svg{width:18px!important;height:18px!important;flex:0 0 18px!important;}
.profile-social-counts{display:flex;align-items:center;gap:14px;margin-top:7px;color:var(--theme-muted, #6c7f96);font-size:11px;}.profile-social-counts strong{color:var(--theme-text, #17345c);}.follow-user.is-following{background:var(--theme-raised, #eaf3ff)!important;color:var(--theme-accent, #0a61d8)!important;border:1px solid var(--theme-border, #cfe2fb)!important;box-shadow:none!important;}

@media(max-width:980px){
  .composer-reference-bottom{align-items:flex-start!important;flex-wrap:wrap!important;}.composer-publish-actions{margin-left:auto!important;}
  .reference-feed-tabs>a{font-size:10.5px!important;gap:5px!important;padding:0 5px!important;}
}
@media(max-width:720px){
  .composer-reference{border-radius:0!important;border-left:0!important;border-right:0!important;padding:11px 12px!important;margin-bottom:8px!important;}
  .composer-reference-top{grid-template-columns:42px minmax(0,1fr)!important;gap:9px!important;}.composer-reference-top>.avatar{width:42px!important;height:42px!important;}
  .composer-reference-top textarea{height:42px!important;min-height:42px!important;padding:10px 12px!important;font-size:12px!important;}
  .composer-reference .image-preview{margin-left:51px!important;}
  .composer-reference-bottom{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;}
  .composer-media-actions{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:5px!important;width:100%!important;}
  .composer-action{height:38px!important;min-height:38px!important;padding:0 5px!important;gap:4px!important;font-size:9px!important;}.composer-action svg{width:17px!important;height:17px!important;}
  .composer-publish-actions{width:100%!important;margin-left:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;}
  .reference-audience{width:100%!important;min-width:0!important;}.composer-publish{padding:0 14px!important;}
  .reference-feed-tabs{display:flex!important;overflow-x:auto!important;scrollbar-width:none!important;height:48px!important;border-radius:0!important;border-left:0!important;border-right:0!important;padding:0 5px!important;margin:0 0 8px!important;}
  .reference-feed-tabs::-webkit-scrollbar{display:none!important;}.reference-feed-tabs>a{flex:0 0 auto!important;min-width:112px!important;height:47px!important;font-size:9.5px!important;padding:0 8px!important;}.reference-feed-tabs>a:first-child{min-width:132px!important;}
}
@media(max-width:420px){
  .composer-action span{display:block!important;}.composer-action{flex-direction:column!important;height:50px!important;min-height:50px!important;line-height:1!important;}.composer-action svg{margin-bottom:1px!important;}
}

/* ========================================================================== */
/* v1.1.6 — strict feed separation + branded audience popover + icon polish   */
/* ========================================================================== */

/* Verified badge: readable, but still proportional to the name. */
.verified-badge,.verified-badge.big{
  width:1.18em!important;height:1.18em!important;min-width:1.18em!important;flex:0 0 1.18em!important;
  margin-left:.32em!important;vertical-align:-.14em!important;
}
.badge-toggle .verified-badge{width:1.02em!important;height:1.02em!important;min-width:1.02em!important;flex-basis:1.02em!important;margin:0!important;}

/* Composer action icons and feed filter icons share one readable scale. */
.composer-action>.svg-icon{width:22px!important;height:22px!important;flex:0 0 22px!important;stroke-width:2.05!important;}
.reference-feed-tabs>a>.svg-icon{width:21px!important;height:21px!important;flex:0 0 21px!important;stroke-width:2.05!important;}
.sidebar-nav>a>.svg-icon{width:22px!important;height:22px!important;flex:0 0 22px!important;}
.profile-dropdown>a>.svg-icon,.profile-dropdown>button>.svg-icon{width:19px!important;height:19px!important;flex:0 0 19px!important;}
.post-interactions button>.svg-icon{width:21px!important;height:21px!important;flex:0 0 21px!important;stroke-width:1.9!important;}
.comment-form button>.svg-icon{width:20px!important;height:20px!important;}
.post-more>.svg-icon{width:20px!important;height:20px!important;}
.popular-post-row>.svg-icon,.rail-empty-icon>.svg-icon{width:21px!important;height:21px!important;}

/* Native <select> is intentionally NOT used for the composer audience. */
.audience-picker{position:relative;min-width:176px;flex:0 0 auto;}
.audience-picker-button{
  width:100%;height:40px;min-height:40px;padding:0 11px;border:1px solid var(--theme-control-border, #d8e4f2);border-radius:10px;
  background:var(--theme-surface, #fff);color:var(--theme-text, #17385d);display:grid;grid-template-columns:21px minmax(0,1fr) 18px;align-items:center;gap:8px;
  font-size:12px;font-weight:780;text-align:left;box-shadow:var(--theme-shadow, 0 1px 3px rgba(29,67,108,.025));transition:.15s ease;
}
.audience-picker-button:hover,.audience-picker.open .audience-picker-button{background:var(--theme-hover, #f8fbff);border-color:var(--theme-control-border, #bcd3ee);box-shadow:var(--theme-shadow, 0 0 0 3px rgba(13,104,239,.08));}
.audience-picker-button>.svg-icon:first-child{color:var(--theme-accent, #22558f);width:21px!important;height:21px!important;}
.audience-picker-button>.svg-icon:last-child{color:var(--theme-muted, #54708f);width:18px!important;height:18px!important;transition:transform .16s ease;}
.audience-picker.open .audience-picker-button>.svg-icon:last-child{transform:rotate(180deg);}
.audience-picker-button:disabled{opacity:.48;cursor:not-allowed;}
.audience-picker-menu{
  position:absolute;right:0;top:calc(100% + 7px);width:286px;padding:7px;border:1px solid var(--theme-border, #dce6f2);border-radius:13px;
  background:var(--theme-surface, #fff);box-shadow:var(--theme-elevation, 0 16px 40px rgba(24,57,96,.16));z-index:70;animation:dropIn .14s ease;
}
.audience-picker-menu[hidden]{display:none!important;}
.audience-picker-option{
  width:100%;min-height:58px;border:0;border-radius:9px;background:transparent;color:var(--theme-text, #17385d);padding:8px 9px;
  display:grid;grid-template-columns:36px minmax(0,1fr) 22px;align-items:center;gap:10px;text-align:left;transition:.13s ease;
}
.audience-picker-option:hover{background:var(--theme-hover, #f4f8fe);}
.audience-picker-option.active{background:var(--theme-selected, #eaf4ff);color:var(--theme-accent, #0b5fcb);}
.audience-option-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--theme-raised, #eef5fd);color:var(--theme-muted, #2d5f95);}
.audience-option-icon.system{background:var(--theme-raised, #eaf4ff);color:var(--theme-accent, #0d6ce8);}.audience-option-icon.school{background:var(--theme-raised, #eef4fb);color:var(--theme-muted, #315b85);}
.audience-option-icon>.svg-icon{width:20px!important;height:20px!important;}
.audience-picker-option>span:nth-child(2){display:flex;flex-direction:column;gap:2px;min-width:0;}
.audience-picker-option strong{font-size:12px;line-height:1.2;}.audience-picker-option small{font-size:9.5px;line-height:1.3;color:var(--theme-muted, #72849b);font-weight:550;}
.audience-option-check{opacity:0;color:var(--theme-accent, #0d6ce8);display:grid;place-items:center;}.audience-picker-option.active .audience-option-check{opacity:1;}
.audience-option-check>.svg-icon{width:18px!important;height:18px!important;stroke-width:2.4!important;}

/* Make interaction row icons visually balanced; fixes the broken-looking comment icon. */
.post-interactions{min-height:45px!important;align-items:center!important;}
.post-interactions button{min-height:41px!important;font-size:10.5px!important;gap:8px!important;}
.post-interactions button span{line-height:1!important;}

/* Stronger, cleaner feed-filter icons. */
.reference-feed-tabs>a{gap:8px!important;font-size:11.5px!important;}
.reference-feed-tabs>a>.svg-icon{color:currentColor!important;}

@media(max-width:720px){
  .composer-action>.svg-icon{width:20px!important;height:20px!important;flex-basis:20px!important;}
  .reference-feed-tabs>a>.svg-icon{width:20px!important;height:20px!important;flex-basis:20px!important;}
  .audience-picker{width:100%;min-width:0;}
  .audience-picker-button{height:39px;min-height:39px;font-size:10px;}
  .audience-picker-menu{left:0;right:auto;width:min(300px,calc(100vw - 24px));}
  .post-interactions button>.svg-icon{width:20px!important;height:20px!important;flex-basis:20px!important;}
}

/* ========================================================================== */
/* v1.2.0 — official supplied ZPG+ logo asset                                */
/* ========================================================================== */
.brand-logo-image{display:block;object-fit:contain;object-position:left center;max-width:100%;height:auto;}
.sidebar-logo-link{display:flex;align-items:center;width:100%;min-height:56px;padding:0 5px;overflow:hidden;}
.sidebar-logo-image{width:205px;max-height:62px;}
.mobile-brand-image-wrap{display:none;align-items:center;justify-content:flex-start;overflow:hidden;}
.mobile-logo-image{width:118px;max-height:42px;object-position:left center;}
.admin-brand-image-wrap{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;padding:8px 10px!important;}
.admin-logo-image{width:170px;max-height:56px;}
.admin-brand-image-wrap>small{font-size:10px;color:var(--muted);font-weight:750;letter-spacing:.03em;padding-left:3px;}

@media(max-width:640px){
  .mobile-brand-image-wrap{display:flex!important;width:122px!important;min-width:122px!important;}
  .mobile-logo-image{width:112px!important;max-height:38px!important;}
}

/* ========================================================================== */
/* v1.2.1 — route stability + admin logo visibility + profile header polish  */
/* ========================================================================== */
.admin-brand-image-wrap{
  background:var(--theme-surface, #ffffff)!important;
  border:1px solid var(--theme-border, #dbe7f4)!important;
  border-radius:12px!important;
  padding:10px 12px!important;
  margin:0 0 13px!important;
  box-shadow:var(--theme-shadow, 0 8px 22px rgba(6,28,52,.14))!important;
}
.admin-logo-image{width:176px!important;max-height:58px!important;object-fit:contain!important;object-position:left center!important;}
.admin-brand-image-wrap>small{color:var(--theme-muted, #284866)!important;font-weight:800!important;padding-left:2px!important;}


.profile-hero{overflow:visible!important;}
.profile-cover{overflow:hidden!important;border-radius:11px 11px 0 0!important;}
.profile-main{
  margin-top:0!important;
  padding:18px 20px 22px!important;
  align-items:flex-start!important;
  min-height:112px!important;
  position:relative!important;
  background:var(--surface)!important;
  border-radius:0 0 11px 11px!important;
}
.profile-main>.avatar{
  margin-top:-64px!important;
  border:5px solid var(--surface)!important;
  box-shadow:var(--theme-shadow, 0 7px 20px rgba(16,48,86,.12))!important;
}
.profile-main>div:nth-child(2){padding:0!important;min-width:0!important;}
.profile-main h1{margin:0 0 3px!important;line-height:1.15!important;}
.profile-main p{margin:0 0 4px!important;}
.profile-main small{display:block!important;line-height:1.4!important;}
.profile-social-counts{margin-top:7px!important;}
.profile-actions{align-self:flex-start!important;padding-bottom:0!important;margin-top:0!important;}

.school-profile-hero .school-logo,.school-profile-hero .school-hero-icon{flex:0 0 auto;}
.school-profile-hero .school-hero-copy{min-width:0;}
.school-profile-hero .school-hero-copy h1{overflow-wrap:anywhere;}
.school-manage-button{background:var(--theme-surface, rgba(255,255,255,.92))!important;color:var(--theme-text, #17385d)!important;border-color:var(--theme-control-border, rgba(255,255,255,.7))!important;}

@media(max-width:820px){
  .profile-main{padding:16px 16px 18px!important;}
  .profile-main>.avatar{margin-top:-52px!important;}
  .profile-actions{margin-left:0!important;width:100%!important;padding-left:0!important;margin-top:10px!important;}
}
@media(max-width:560px){
  .profile-cover{height:105px!important;}
  .profile-main{padding:14px 14px 17px!important;gap:11px!important;}
  .profile-main>.avatar{margin-top:-44px!important;}
  .profile-main>div:nth-child(2){padding-top:2px!important;}
  .profile-actions{margin-top:7px!important;}
  .admin-logo-image{width:154px!important;max-height:50px!important;}
}

/* ========================================================================== */
/* v1.2.2 — profile, teacher approval, operator badge and admin polish        */
/* ========================================================================== */
.profile-hero-flat{
  overflow:visible!important;
  background:var(--surface)!important;
  border-radius:16px!important;
  margin-bottom:15px!important;
}
.profile-main-flat{
  margin:0!important;
  padding:22px 22px!important;
  min-height:132px!important;
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
}
.profile-main-flat>.avatar{
  margin:0!important;
  border:4px solid var(--theme-border, #fff)!important;
  box-shadow:var(--theme-shadow, 0 8px 24px rgba(24,61,103,.12))!important;
}
.profile-identity{min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
.profile-name-line{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;flex-wrap:wrap!important;}
.profile-name-line h1{margin:0!important;font-size:24px!important;line-height:1.1!important;}
.profile-badges{display:inline-flex!important;align-items:center!important;gap:5px!important;flex:0 0 auto!important;}
.profile-main-flat p{margin:5px 0 3px!important;font-size:13px!important;}
.profile-main-flat small{font-size:10.5px!important;color:var(--muted)!important;line-height:1.45!important;}
.profile-main-flat .profile-actions{margin-left:auto!important;padding:0!important;align-self:center!important;}
.profile-main-flat .profile-social-counts{margin-top:8px!important;}
.profile-cover{display:none!important;}

.verified-badge.big,
.profile-badges .verified-badge{
  width:24px!important;height:24px!important;min-width:24px!important;flex-basis:24px!important;margin-left:0!important;
}
.profile-badges .verified-badge svg{width:24px!important;height:24px!important;}
.operator-badge{
  display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-width:18px;flex:0 0 18px;margin-left:4px;vertical-align:-3px;
}
.operator-badge.big{width:24px;height:24px;min-width:24px;flex-basis:24px;margin-left:0;}
.operator-badge svg{width:100%;height:100%;display:block;}
.operator-badge .operator-seal{fill:var(--theme-text, #123a67);}
.operator-badge .operator-star{fill:var(--theme-accent, #56b9ff);}
.profile-badges .operator-badge{width:24px!important;height:24px!important;min-width:24px!important;flex-basis:24px!important;}

.badge-admin-stack{display:flex;flex-direction:column;align-items:flex-start;gap:6px;}
.operator-badge-toggle{
  min-height:32px;border:1px solid var(--theme-border, #d7e3ef);background:var(--theme-surface, #fff);color:var(--theme-text, #28435f);border-radius:9px;padding:0 9px;display:inline-flex;align-items:center;gap:6px;font-weight:750;font-size:10px;
}
.operator-badge-toggle:hover{background:var(--theme-hover, #f5f9ff);border-color:var(--theme-border, #bdd4ed);}
.operator-badge-toggle.on{background:var(--theme-accent, #eef6ff);border-color:var(--theme-border, #b9d8fb);color:var(--theme-text, #123f70);}
.operator-badge-toggle .operator-badge{margin:0;width:16px;height:16px;min-width:16px;flex-basis:16px;}

.teacher-registration-note{
  display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border:1px solid var(--theme-border, #d7e6f6);background:var(--theme-raised, #f5f9ff);border-radius:12px;color:var(--theme-muted, #274766);margin-top:10px;
}
.teacher-registration-note[hidden]{display:none!important;}
.teacher-registration-note>svg{color:var(--theme-accent, #0d63df);flex:0 0 20px;margin-top:1px;}
.teacher-registration-note strong{display:block;font-size:12px;margin-bottom:3px;}
.teacher-registration-note p{margin:0;font-size:10.5px;line-height:1.5;color:var(--theme-muted, #60758b);}

.teacher-pending-screen{min-height:100vh;display:grid;place-items:center;background:var(--theme-raised, #f3f7fb);padding:24px;}
.teacher-pending-card{width:min(520px,100%);background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dce7f2);border-radius:20px;box-shadow:var(--theme-shadow, 0 18px 50px rgba(26,58,96,.1));padding:30px;text-align:center;}
.teacher-pending-logo{width:185px;max-height:62px;object-fit:contain;margin:0 auto 24px;}
.teacher-pending-icon{width:58px;height:58px;border-radius:16px;background:var(--theme-raised, #eef5ff);color:var(--theme-accent, #0d63df);display:grid;place-items:center;margin:0 auto 16px;}
.teacher-pending-card h1{font-size:24px;margin:0 0 10px;color:var(--theme-text, #18314d);}
.teacher-pending-card>p{font-size:13px;line-height:1.6;color:var(--theme-muted, #66778c);margin:0 auto 20px;max-width:430px;}
.teacher-pending-steps{display:grid;gap:8px;text-align:left;background:var(--theme-raised, #f7faff);border:1px solid var(--theme-border, #e1eaf4);border-radius:14px;padding:14px;margin:0 0 20px;}
.teacher-pending-steps span{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--theme-muted, #36516e);}
.teacher-pending-steps svg{color:var(--theme-accent, #0d63df);}

.operator-composer textarea{color:var(--theme-muted, #718197)!important;background:var(--theme-raised, #f5f8fc)!important;cursor:not-allowed!important;}
.operator-composer .composer-action:disabled{opacity:.55!important;}

@media(max-width:720px){
  .profile-main-flat{padding:16px!important;align-items:flex-start!important;flex-wrap:wrap!important;}
  .profile-main-flat>.avatar{width:74px!important;height:74px!important;}
  .profile-main-flat .profile-actions{margin-left:90px!important;width:calc(100% - 90px)!important;}
  .profile-name-line h1{font-size:21px!important;}
}
@media(max-width:520px){
  .profile-main-flat .profile-actions{margin-left:0!important;width:100%!important;}
  .profile-main-flat .profile-actions>*{flex:1!important;}
  .teacher-pending-card{padding:24px 18px;}
}

/* v1.2.3 — sequential feed, school publishing and comment reactions */
.feed-loader{min-height:74px;margin:4px 0 18px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:12px;font-weight:650;}
.feed-loader[hidden]{display:none!important;}.feed-loader-dot{width:9px;height:9px;border-radius:50%;background:var(--blue);opacity:.35;}.feed-loader.loading .feed-loader-dot{animation:zpg-feed-pulse .85s ease-in-out infinite alternate;}
@keyframes zpg-feed-pulse{to{transform:scale(1.6);opacity:1;}}
.comment-content{min-width:0;flex:1;}.comment-actions{display:flex;align-items:center;gap:7px;margin:3px 0 0 10px;min-height:20px;}.comment-like{border:0;background:transparent;padding:2px 4px;color:var(--theme-muted, #6b7d93);font-size:10.5px;font-weight:750;display:inline-flex;align-items:center;gap:4px;border-radius:7px;}.comment-like:hover{background:var(--theme-hover, #eef4fb);color:var(--theme-muted, #315b8f);}.comment-like.active{color:var(--blue);}.comment-like:disabled{opacity:.45;cursor:not-allowed;}.comment-like-count{color:var(--theme-muted, #8b98a9);font-size:9.5px;}.comment-bubble{display:block;}.comment-bubble p{margin-bottom:0;}.post-interactions .comment-focus svg{width:20px;height:20px;stroke-width:2;}
.school-post-composer{margin:18px 0;padding:18px;}.school-post-composer-head{display:flex;align-items:center;gap:12px;margin-bottom:13px;}.school-post-composer-head>div{display:flex;flex-direction:column;gap:3px;}.school-post-composer-head strong{font-size:14px;color:var(--text);}.school-post-composer-head small{font-size:11px;color:var(--muted);}.school-post-composer textarea{width:100%;min-height:105px;resize:vertical;border:1px solid var(--line);border-radius:12px;background:var(--soft);padding:13px 14px;outline:0;color:var(--text);}.school-post-composer textarea:focus{border-color:var(--theme-accent, #9bc0f0);box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(13,99,223,.08));}.school-post-composer-actions{display:flex;align-items:center;gap:9px;margin-top:12px;flex-wrap:wrap;}.school-post-composer-actions select{height:42px;border:1px solid var(--theme-control-border, #dbe5f0);border-radius:10px;background:var(--surface);color:var(--text);padding:0 10px;}.school-post-composer-actions .primary-button{margin-left:auto;}.school-post-stream{margin-top:18px;}.school-post-stream-head{margin-bottom:10px;}.school-post-stream-head h2{margin:0;}.school-post-stream-head p{margin:4px 0 0;}.school-post-composer .image-preview{margin-top:10px;}.school-post-composer .image-preview img{width:82px;height:82px;object-fit:cover;border-radius:10px;border:1px solid var(--line);}
.admin-role-stack{display:grid;gap:7px;min-width:170px;}.admin-role-stack label{display:grid;gap:3px;}.admin-role-stack small{font-size:9px;color:var(--muted);font-weight:750;text-transform:uppercase;letter-spacing:.05em;}.admin-role-stack select{width:100%;}

@media(max-width:640px){.feed-loader{min-height:58px;margin:0;}.school-post-composer{border-radius:0!important;border-left:0!important;border-right:0!important;margin:8px 0!important;}.school-post-composer-actions{align-items:stretch;}.school-post-composer-actions>*{flex:1 1 auto;}.school-post-composer-actions .primary-button{margin-left:0;flex-basis:100%;}.comment-actions{margin-left:7px;}.comment-like{font-size:9.5px;}.comment-like-count{font-size:9px;}}


/* v1.2.4 — routing/runtime stability */
.route-failure-card{width:min(680px,100%);margin:54px auto;padding:34px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;}
.route-failure-icon{width:58px;height:58px;border-radius:16px;background:var(--theme-warning-soft, #fff4e9);color:var(--theme-warning, #bd6918);display:grid;place-items:center;margin-bottom:4px;}
.route-failure-card h1{margin:0;color:var(--text);font-size:24px;letter-spacing:-.35px;}
.route-failure-card>p{margin:0;max-width:520px;color:var(--muted);font-size:13px;line-height:1.6;}
.route-failure-card>small{margin-top:6px;color:var(--theme-muted, #8a97a8);font-size:10.5px;}
.route-failure-actions{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:12px;}

@media(max-width:640px){.route-failure-card{margin:20px auto;padding:25px 18px;border-radius:15px;}.route-failure-actions{width:100%;}.route-failure-actions>*{flex:1 1 100%;}}

/* v1.2.5 — smooth navigation, Facebook-like feed loading, comment replies, saved-state polish */
.route-leaving .main-column,.route-leaving .right-rail,.route-leaving .admin-main,.route-leaving .public-main{opacity:.58;transform:translateY(2px);filter:saturate(.94);pointer-events:none;transition:opacity .16s ease,transform .16s ease,filter .16s ease;}
.route-progress{position:fixed;left:0;right:0;top:0;height:3px;z-index:99999;overflow:hidden;background:transparent;pointer-events:none;}.route-progress i{display:block;width:34%;height:100%;background:var(--theme-surface, linear-gradient(90deg,transparent,var(--blue),#61a6ff,transparent));animation:zpg-route-progress .78s ease-in-out infinite;transform:translateX(-120%);}
@keyframes zpg-route-progress{to{transform:translateX(390%);}}
.page-enter{animation:zpg-page-soft-in .30s cubic-bezier(.2,.7,.2,1) both;}@keyframes zpg-page-soft-in{from{opacity:.25;transform:translateY(6px) scale(.998);}to{opacity:1;transform:none;}}

.feed-loader{display:block!important;min-height:30px!important;margin:0 0 14px!important;padding:0!important;}.feed-loader[hidden]{display:none!important;}.feed-loader-sentinel{display:block;height:30px;}.feed-skeleton-stack{display:none;gap:12px;}.feed-loader.loading{min-height:auto!important;}.feed-loader.loading .feed-loader-sentinel{display:none;}.feed-loader.loading .feed-skeleton-stack{display:grid;}
.feed-skeleton-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:17px 19px;overflow:hidden;position:relative;box-shadow:var(--theme-shadow, 0 4px 22px rgba(25,56,97,.03));}.feed-skeleton-card:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:var(--theme-raised, linear-gradient(90deg,transparent,rgba(126,151,182,.09),transparent));animation:zpg-skeleton-shimmer 1.05s ease-in-out infinite;}.feed-skeleton-head{display:flex;align-items:center;gap:10px;margin-bottom:15px;}.feed-skeleton-head>i{width:42px;height:42px;border-radius:50%;background:var(--surface-2);flex:0 0 auto;}.feed-skeleton-head>span{display:grid;gap:7px;flex:1;}.feed-skeleton-head b,.feed-skeleton-card>em{display:block;border-radius:999px;background:var(--surface-2);height:9px;}.feed-skeleton-head b:first-child{width:34%;height:10px;}.feed-skeleton-head b:last-child{width:22%;height:8px;}.feed-skeleton-card>em{width:96%;margin-top:9px;}.feed-skeleton-card>em.short{width:58%;}@keyframes zpg-skeleton-shimmer{to{transform:translateX(100%);}}
.feed-post-arrive{animation:zpg-feed-post-arrive .28s cubic-bezier(.2,.72,.25,1) both;}@keyframes zpg-feed-post-arrive{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}

.comment-reply{margin-left:42px;width:calc(100% - 42px);}.comment-reply:before{content:"";position:absolute;left:-22px;top:-8px;width:14px;height:20px;border-left:2px solid var(--line);border-bottom:2px solid var(--line);border-bottom-left-radius:10px;}.comment-reply-to{display:block;margin:2px 0 3px;color:var(--muted);font-size:9.5px;line-height:1.3;}.comment-reply-to a{font-weight:750;color:var(--blue);}.comment-reply-button{border:0;background:transparent;padding:2px 4px;color:var(--theme-muted, #6b7d93);font-size:10.5px;font-weight:750;border-radius:7px;}.comment-reply-button:hover{background:var(--theme-hover, #eef4fb);color:var(--theme-muted, #315b8f);}.comment-form{display:block!important;}.comment-form-main{display:flex;align-items:center;gap:8px;}.comment-form-main input{flex:1;border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:18px;padding:9px 12px;outline:0;}.comment-form-main>button{border:0;background:transparent;color:var(--blue);width:34px;height:34px;border-radius:50%;display:grid;place-items:center;}.comment-form-main>button:hover{background:var(--theme-hover, #eaf3ff);}.comment-reply-context{margin:0 0 6px 40px;padding:6px 9px;border-radius:9px;background:var(--theme-raised, #eef5ff);color:var(--theme-muted, #42607f);font-size:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;}.comment-reply-context[hidden]{display:none!important;}.comment-reply-context strong{color:var(--theme-accent, #1d5b9f);}.comment-reply-cancel{border:0;background:transparent;color:var(--theme-muted, #6a7e94);width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:18px;line-height:1;}.comment-reply-cancel:hover{background:var(--theme-hover, #dfeeff);color:var(--theme-muted, #214f80);}

.post-menu{display:flex;align-items:center;gap:2px;}.post-bookmarked-marker{width:30px;height:30px;border-radius:9px;display:inline-grid;place-items:center;color:var(--theme-warning, #d29300);background:var(--theme-warning-soft, #fff7d1);border:1px solid var(--theme-border, #f1d47b);}.post-bookmarked-marker svg{fill:var(--theme-warning, #f5bf22);stroke:var(--theme-warning, #bb8000);}.post-card:not(.bookmarked) .post-bookmarked-marker{display:none;}.bookmark-action.is-bookmarked{color:var(--theme-warning, #9a6a00)!important;background:var(--theme-warning-soft, #fff7d1)!important;}.bookmark-action.is-bookmarked svg{fill:var(--theme-warning, #f5bf22);stroke:var(--theme-warning, #b97900);}.bookmark-action.is-bookmarked:hover{background:var(--theme-hover, #fff0ad)!important;}

@media(max-width:640px){.route-progress{height:2px;}.feed-skeleton-card{border-radius:0;border-left:0;border-right:0;padding:14px 13px;}.comment-reply{margin-left:28px;width:calc(100% - 28px);}.comment-reply:before{left:-15px;}.comment-reply-context{margin-left:38px;font-size:9.5px;}.comment-reply-button{font-size:9.5px;}.post-bookmarked-marker{width:28px;height:28px;}}
@media(prefers-reduced-motion:reduce){.route-leaving .main-column,.route-leaving .right-rail,.route-leaving .admin-main,.route-leaving .public-main{transition:none!important;transform:none!important;filter:none!important;}.route-progress i,.feed-skeleton-card:after,.feed-post-arrive,.page-enter{animation:none!important;}}

/* v1.2.5 — feed tab sizing after removal of Popular posts */
.reference-feed-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
.reference-feed-tabs.platform-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.reference-feed-tabs>a:nth-child(5){color:inherit!important;}

/* v1.2.6 — identity badges, landing, moderation, cropper, safety controls */
.identity-badge[role="button"]{cursor:pointer;outline:0;vertical-align:-3px;position:relative;}.identity-badge[role="button"]:focus-visible{box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(13,99,223,.22));border-radius:50%;}
.operator-badge{width:18px;height:18px;display:inline-grid;place-items:center;flex:0 0 auto;}.operator-badge.big{width:28px;height:28px;}.operator-badge svg{display:block;width:100%;height:100%;overflow:visible;}.operator-badge .operator-ring{fill:var(--theme-accent, #0b6de8);stroke:var(--theme-muted, #074b9f);stroke-width:1.25;}.operator-badge .operator-shield{fill:var(--theme-on-accent, #fff);stroke:none;}.operator-badge .operator-star{fill:var(--theme-accent, #0b6de8);stroke:none;}.operator-badge:hover{filter:brightness(1.06);transform:translateY(-1px);transition:transform .14s ease,filter .14s ease;}
.badge-info-popover{position:fixed;z-index:100500;width:286px;max-width:calc(100vw - 20px);padding:15px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dce5ef);border-radius:15px;box-shadow:var(--theme-elevation, 0 18px 46px rgba(18,42,74,.18));animation:zpg-badge-pop .16s ease-out both;}.badge-info-head{display:flex;align-items:center;gap:10px;}.badge-info-head>div{display:grid;gap:1px;}.badge-info-head strong{font-size:14px;color:var(--theme-text, #142b45);}.badge-info-head small{font-size:10px;color:var(--theme-muted, #8290a1);}.badge-info-popover p{font-size:12px;line-height:1.55;color:var(--theme-muted, #53677e);margin:11px 0 13px;}.badge-info-ok{width:100%;height:34px;border:0;border-radius:9px;background:var(--theme-raised, #0d63df);color:var(--theme-text, #fff);font-weight:750;font-size:11px;cursor:pointer;}@keyframes zpg-badge-pop{from{opacity:0;transform:translateY(-4px) scale(.98);}to{opacity:1;transform:none;}}

/* Public landing */
.landing-page{min-height:100vh;background:var(--theme-surface, linear-gradient(180deg,#f5f9ff 0,#fff 28%,#fff 100%));color:var(--theme-text, #102840);overflow:hidden;}.landing-nav{height:82px;max-width:1220px;margin:auto;padding:0 26px;display:flex;align-items:center;justify-content:space-between;gap:24px;}.landing-brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--theme-text, #0a2c56);}.landing-brand>span{display:grid;line-height:1.05;}.landing-brand strong{font-size:20px;letter-spacing:-.6px;}.landing-brand strong span,.landing-footer strong span{color:var(--theme-accent, #0d63df);}.landing-brand small{font-size:9px;color:var(--theme-muted, #77899d);margin-top:4px;letter-spacing:.02em;}.landing-nav nav{display:flex;align-items:center;gap:25px;}.landing-nav nav a{font-size:12px;font-weight:700;color:var(--theme-muted, #526980);text-decoration:none;}.landing-nav nav a:hover{color:var(--theme-accent, #0d63df);}.landing-nav .landing-join{padding:11px 17px;border-radius:11px;background:var(--theme-raised, #0d63df);color:var(--theme-text, #fff);box-shadow:var(--theme-shadow, 0 8px 22px rgba(13,99,223,.18));}
.landing-hero{max-width:1220px;margin:34px auto 78px;padding:42px 26px 30px;display:grid;grid-template-columns:minmax(0,.91fr) minmax(510px,1.09fr);gap:66px;align-items:center;min-height:590px;}.landing-hero-copy{padding-bottom:24px;}.landing-kicker{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:var(--theme-raised, #eaf3ff);border:1px solid var(--theme-border, #d5e8ff);color:var(--theme-accent, #0d63df);font-size:10px;font-weight:800;letter-spacing:.035em;text-transform:uppercase;}.landing-hero h1{font-size:clamp(42px,5vw,68px);line-height:1.02;letter-spacing:-2.7px;margin:19px 0 20px;color:var(--theme-text, #0c2746);max-width:630px;}.landing-hero h1 em{font-style:normal;color:var(--theme-accent, #0d63df);}.landing-hero-copy>p{max-width:610px;font-size:16px;line-height:1.7;color:var(--theme-muted, #63768c);margin:0;}.landing-cta{display:flex;align-items:center;gap:11px;margin-top:29px;flex-wrap:wrap;}.landing-primary,.landing-secondary{height:48px;padding:0 19px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-weight:780;font-size:12px;}.landing-primary{background:var(--theme-accent, #0d63df);color:var(--theme-on-accent, white);box-shadow:var(--theme-shadow, 0 13px 28px rgba(13,99,223,.22));}.landing-primary:hover{background:var(--theme-hover, #0958c9);transform:translateY(-1px);}.landing-secondary{background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #d9e4ef);color:var(--theme-text, #244462);}.landing-proof{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:27px;color:var(--theme-muted, #75869a);font-size:10.5px;}.landing-proof span{display:flex;align-items:center;gap:5px;}.landing-proof svg{color:var(--theme-accent, #0d63df);}.landing-proof b{color:var(--theme-muted, #2c4b6b);}
.landing-product{border-radius:22px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dce7f2);box-shadow:var(--theme-shadow, 0 32px 80px rgba(35,71,117,.16),0 7px 20px rgba(35,71,117,.07));overflow:hidden;transform:perspective(1100px) rotateY(-2.6deg) rotateX(1.4deg);transform-origin:center;}.landing-app-chrome{height:39px;background:var(--theme-raised, #f6f8fb);border-bottom:1px solid var(--theme-border, #e3e9f0);display:flex;align-items:center;gap:6px;padding:0 13px;color:var(--theme-muted, #8191a2);font-size:9px;}.landing-app-chrome i{width:7px;height:7px;border-radius:50%;background:var(--theme-raised, #cbd5df);}.landing-app-chrome span{margin-left:7px;}.landing-app-body{display:grid;grid-template-columns:130px 1fr;min-height:430px;background:var(--theme-surface, #f4f7fb);}.landing-app-body>aside{padding:19px 12px;background:var(--theme-surface, #fff);border-right:1px solid var(--theme-border, #e1e8f0);display:flex;flex-direction:column;gap:8px;}.landing-app-body>aside b{display:flex;align-items:center;gap:6px;color:var(--theme-text, #0c315f);margin-bottom:9px;font-size:12px;}.landing-app-body>aside span{display:flex;align-items:center;gap:7px;padding:8px;border-radius:8px;color:var(--theme-muted, #64788d);font-size:9px;}.landing-app-body>aside span:first-of-type{background:var(--theme-surface, #edf5ff);color:var(--theme-accent, #0d63df);font-weight:750;}.landing-app-body>section{padding:19px;max-width:430px;width:100%;margin:auto;}.landing-mock-welcome{display:grid;gap:2px;margin-bottom:10px;}.landing-mock-welcome strong{font-size:14px;color:var(--theme-text, #143657);}.landing-mock-welcome small{font-size:8px;color:var(--theme-muted, #8695a6);}.landing-mock-post{background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dfe7f0);border-radius:12px;padding:14px;margin-top:10px;box-shadow:var(--theme-shadow, 0 4px 14px rgba(29,62,103,.04));}.landing-mock-post>div:first-child{display:flex;align-items:center;gap:8px;}.mock-avatar{width:30px;height:30px;border-radius:50%;background:var(--theme-raised, #e7f2ff);color:var(--theme-accent, #0d63df);display:grid;place-items:center;font-size:10px;font-weight:800;}.mock-avatar.alt{background:var(--theme-success-soft, #edf7ef);color:var(--theme-success, #2e8451);}.landing-mock-post p{display:grid;margin:0;gap:2px;}.landing-mock-post p b{font-size:9px;color:var(--theme-text, #23415f);}.landing-mock-post p small{font-size:7px;color:var(--theme-muted, #93a0ae);}.landing-mock-post>strong{display:block;font-size:11px;line-height:1.45;color:var(--theme-text, #263f59);margin:13px 0 8px;}.mock-lines{display:grid;gap:6px;margin:9px 0;}.mock-lines i{height:6px;border-radius:99px;background:var(--theme-raised, #eaf0f6);width:93%;}.mock-lines i:last-child{width:61%;}.landing-mock-post footer{border-top:1px solid var(--theme-border, #edf1f5);margin-top:12px;padding-top:8px;display:flex;align-items:center;gap:16px;color:var(--theme-muted, #6f8194);font-size:8px;}.landing-mock-post footer span{display:flex;align-items:center;gap:4px;}.landing-mock-post footer .saved{margin-left:auto;color:var(--theme-warning, #d49b00);}.landing-mock-post.compact{margin-left:35px;}
.landing-section{max-width:1180px;margin:0 auto;padding:88px 26px;}.landing-section-head{text-align:center;max-width:690px;margin:0 auto 43px;}.landing-section-head>span{color:var(--theme-accent, #0d63df);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.09em;}.landing-section-head h2{font-size:35px;line-height:1.13;letter-spacing:-1px;margin:11px 0;color:var(--theme-text, #112e4d);}.landing-section-head p{font-size:13px;line-height:1.65;color:var(--theme-muted, #75879a);margin:0;}.landing-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}.landing-feature-grid article{min-height:190px;padding:25px;border:1px solid var(--theme-border, #e0e8f1);border-radius:17px;background:var(--theme-surface, #fff);box-shadow:var(--theme-shadow, 0 6px 24px rgba(31,66,109,.035));}.landing-feature-grid article>svg{width:31px;height:31px;color:var(--theme-accent, #0d63df);padding:6px;background:var(--theme-raised, #edf5ff);border-radius:10px;box-sizing:content-box;}.landing-feature-grid h3{font-size:15px;margin:19px 0 8px;color:var(--theme-text, #173651);}.landing-feature-grid p{font-size:11.5px;line-height:1.65;color:var(--theme-muted, #708398);margin:0;}.landing-safety{max-width:1128px;margin:34px auto 84px;padding:34px 39px;border-radius:22px;background:var(--theme-surface, linear-gradient(135deg,#0d315b,#0a5bb9));color:var(--theme-text, #fff);display:flex;align-items:center;justify-content:space-between;gap:30px;box-shadow:var(--theme-shadow, 0 25px 60px rgba(10,63,125,.17));}.landing-safety>div{display:flex;align-items:flex-start;gap:17px;}.landing-safety>div>span{width:53px;height:53px;display:grid;place-items:center;border-radius:15px;background:var(--theme-hover, rgba(255,255,255,.12));flex:0 0 auto;}.landing-safety small{font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:var(--theme-text, #a9d0ff);}.landing-safety h2{font-size:24px;line-height:1.22;margin:6px 0 8px;max-width:630px;}.landing-safety p{font-size:11.5px;line-height:1.6;color:var(--theme-text, #c4daf1);margin:0;max-width:680px;}.landing-safety>a{flex:0 0 auto;text-decoration:none;color:var(--theme-text, #fff);border:1px solid var(--theme-border, rgba(255,255,255,.25));border-radius:11px;padding:11px 15px;font-size:10px;font-weight:760;display:flex;align-items:center;gap:6px;}.landing-final{padding:83px 26px;background:var(--theme-raised, #f3f8ff);text-align:center;}.landing-final>div{max-width:660px;margin:auto;}.landing-final h2{font-size:35px;line-height:1.15;letter-spacing:-1px;color:var(--theme-text, #102f50);margin:15px 0 10px;}.landing-final p{font-size:13px;color:var(--theme-muted, #718499);}.landing-final a{display:inline-flex;margin-top:16px;padding:13px 20px;border-radius:11px;background:var(--theme-raised, #0d63df);color:var(--theme-text, #fff);text-decoration:none;font-size:11px;font-weight:800;}.landing-footer{max-width:1180px;margin:auto;padding:27px 26px;display:flex;align-items:center;gap:24px;color:var(--theme-muted, #718398);}.landing-footer>div{display:flex;align-items:center;gap:7px;color:var(--theme-text, #153554);}.landing-footer strong{font-size:14px;}.landing-footer nav{display:flex;gap:18px;margin-left:auto;}.landing-footer a{font-size:9.5px;color:var(--theme-muted, #6d8195);text-decoration:none;}.landing-footer small{font-size:9px;}

/* Saved posts — Instagram-style interaction */
.post-interactions{display:flex;align-items:center;}.post-interactions .save-button{margin-left:auto;}.save-button{border:0;background:transparent;color:var(--theme-muted, #60758b);min-height:37px;padding:7px 9px;border-radius:9px;display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:720;cursor:pointer;}.save-button svg{width:20px;height:20px;stroke-width:1.9;}.save-button:hover{background:var(--theme-hover, #f4f7fa);color:var(--theme-muted, #294b6c);}.save-button.is-bookmarked,.post-card.bookmarked .save-button{color:var(--theme-warning, #bd8500);}.save-button.is-bookmarked svg,.post-card.bookmarked .save-button svg{fill:var(--theme-warning, #f6c62a);stroke:var(--theme-warning, #ae7800);}.post-removing{opacity:0;transform:scale(.985);max-height:0!important;margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important;overflow:hidden;transition:opacity .18s ease,transform .18s ease,max-height .28s ease,margin .28s ease,padding .28s ease;}.bookmark-action.is-bookmarked{color:var(--theme-warning, #a87500)!important;}

/* Quick safety actions / reporting */
.post-actions-menu .danger-soft{color:var(--theme-danger, #b43d3d);}.post-actions-menu .danger-soft:hover{background:var(--theme-hover, #fff1f1);color:var(--theme-danger, #9d2727);}.quick-report-intro{margin:0 0 12px;color:var(--theme-muted, #6e8195);font-size:11.5px;line-height:1.55;}.report-reasons{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0 14px;}.report-reason{min-height:39px;border:1px solid var(--theme-border, #dce5ef);background:var(--theme-raised, #f8fafc);color:var(--theme-muted, #3d5872);border-radius:10px;padding:8px 10px;text-align:left;font-size:10.5px;font-weight:700;cursor:pointer;}.report-reason:hover{border-color:var(--theme-border, #b5cbe3);background:var(--theme-hover, #f1f7fd);}.report-reason.active{border-color:var(--theme-border, #0d63df);background:var(--theme-selected, #eaf3ff);color:var(--theme-accent, #0758c6);box-shadow:var(--theme-shadow, 0 0 0 2px rgba(13,99,223,.08));}
.person-result{display:flex!important;align-items:center!important;gap:12px;}.result-person-link{display:flex;align-items:center;gap:11px;flex:1;min-width:0;text-decoration:none;color:inherit;}.result-person-link>div{min-width:0;}.search-follow{flex:0 0 auto;height:35px;border:1px solid var(--theme-border, #0d63df);border-radius:9px;background:var(--theme-raised, #0d63df);color:var(--theme-text, #fff);padding:0 12px;font-size:10.5px;font-weight:800;cursor:pointer;}.search-follow.following{background:var(--theme-surface, #fff);color:var(--theme-muted, #395673);border-color:var(--theme-border, #ccd9e6);}.search-follow:hover{filter:brightness(.97);}
.profile-actions{flex-wrap:wrap;}.profile-actions .danger-button,.profile-actions .secondary-button,.profile-actions .primary-button{white-space:nowrap;}

/* Google-profile-like image positioning */
.image-crop-backdrop{position:fixed;inset:0;z-index:100600;background:var(--theme-overlay, rgba(22,31,42,.62));display:grid;place-items:center;padding:18px;opacity:0;transition:opacity .16s ease;backdrop-filter:blur(2px);}.image-crop-backdrop.show{opacity:1;}.image-crop-card{width:min(620px,100%);max-height:calc(100vh - 32px);overflow:auto;background:var(--theme-surface, #fff);border-radius:18px;box-shadow:var(--theme-shadow, 0 28px 90px rgba(0,0,0,.28));transform:translateY(8px) scale(.985);transition:transform .16s ease;}.image-crop-backdrop.show .image-crop-card{transform:none;}.image-crop-card>header{height:72px;border-bottom:1px solid var(--theme-border, #e2e7ed);display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;padding:0 19px;}.image-crop-card>header>div{min-width:0;}.image-crop-card h2{font-size:17px;color:var(--theme-text, #202124);margin:0;letter-spacing:-.2px;}.image-crop-card header p{font-size:10.5px;color:var(--theme-muted, #6e7379);margin:3px 0 0;}.crop-save{border:0;background:transparent;color:var(--theme-on-accent, #1a73e8);font-size:11px;font-weight:800;padding:9px 7px;cursor:pointer;}.crop-save:hover{background:var(--theme-hover, #f2f7fd);border-radius:8px;}.image-crop-stage{padding:30px 28px 17px;background:var(--theme-raised, #f7f8f9);display:grid;justify-items:center;}.image-crop-viewport{width:min(440px,78vw);aspect-ratio:var(--crop-aspect);background:var(--theme-raised, #cfd4d9);position:relative;overflow:hidden;cursor:grab;touch-action:none;box-shadow:var(--theme-shadow, 0 0 0 1px rgba(0,0,0,.07));}.image-crop-viewport.is-circle{width:min(350px,73vw);aspect-ratio:1;border-radius:50%;box-shadow:var(--theme-shadow, 0 0 0 9999px rgba(26,31,38,.43));}.image-crop-viewport.dragging{cursor:grabbing;}.image-crop-photo{position:absolute;left:50%;top:50%;max-width:none!important;user-select:none;pointer-events:none;will-change:width,height,transform;}.crop-hint{margin-top:18px;color:var(--theme-muted, #697078);font-size:10px;}.image-crop-controls{min-height:70px;display:flex;align-items:center;justify-content:center;gap:14px;padding:10px 24px;}.image-crop-controls>span{color:var(--theme-muted, #68717a);display:grid;place-items:center;}.crop-zoom{width:min(340px,65vw);accent-color:var(--theme-accent, #1a73e8);cursor:pointer;}.image-crop-card .crop-cancel{color:var(--theme-muted, #5f6368);}.image-crop-card .crop-cancel:hover{background:var(--theme-hover, #f1f3f4);}

/* Larger, legible form text */
input[type="text"],input[type="email"],input[type="password"],input[type="search"],input[type="tel"],input[type="url"],input[type="number"],textarea,select,.composer textarea,.school-post-composer textarea,.comment-form-main input,.search-input-wrap input,.form-grid input,.form-grid textarea,.form-grid select{font-size:15px!important;line-height:1.45!important;}.composer textarea,.school-post-composer textarea{font-size:15.5px!important;}.comment-form-main input{font-size:14px!important;}.form-grid label>span,.field-label{font-size:11.5px!important;}

/* Admin IA, finite pages and moderation queue */
.admin-sidebar nav{padding-bottom:18px;}.admin-nav-group{display:grid;gap:2px;margin:6px 0 14px;}.admin-nav-label{padding:4px 15px 5px;color:var(--theme-muted, #8ca0b6);font-size:8px;font-weight:850;letter-spacing:.115em;text-transform:uppercase;}.admin-main{width:min(1180px,calc(100vw - 280px));max-width:1180px;margin:0 auto;padding-bottom:55px;}.admin-section{overflow:visible;}.admin-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;}.admin-inline-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;}.admin-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:20px 0 3px;padding:14px;border-top:1px solid var(--theme-border, #e6edf4);}.admin-pagination span{font-size:10.5px;color:var(--theme-muted, #73869a);}.admin-pagination .secondary-button{min-width:95px;}.admin-pagination>a:first-child svg{transform:rotate(180deg);}.admin-pagination .disabled{pointer-events:none;opacity:.42;}.moderation-queue{display:grid;gap:10px;margin-top:16px;}.moderation-queue>article{border:1px solid var(--theme-border, #dfe7f0);border-radius:13px;padding:15px;background:var(--theme-surface, #fff);}.moderation-queue>article>header{display:flex;align-items:center;justify-content:space-between;gap:9px;}.moderation-queue>article>header small{font-size:9.5px;color:var(--theme-muted, #8795a5);}.moderation-type{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:8.5px;font-weight:850;text-transform:uppercase;letter-spacing:.055em;background:var(--theme-raised, #eef5ff);color:var(--theme-accent, #0d63df);}.moderation-type.comment{background:var(--theme-raised, #f0f6ee);color:var(--theme-success, #4d7c36);}.moderation-author{display:flex;align-items:center;gap:6px;font-size:10.5px;color:var(--theme-muted, #718398);margin-top:12px;}.moderation-author strong{color:var(--theme-text, #294660);}.moderation-queue>article>p{margin:10px 0;font-size:13px;line-height:1.55;color:var(--theme-muted, #314d68);white-space:pre-wrap;}.moderation-flags{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0;}.moderation-flags span{display:inline-flex;align-items:center;gap:4px;padding:6px 8px;border-radius:8px;background:var(--theme-warning-soft, #fff3e8);color:var(--theme-warning, #a35816);font-size:9px;font-weight:720;border:1px solid var(--theme-border, #f2dac3);}.moderation-queue footer{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-top:12px;padding-top:11px;border-top:1px solid var(--theme-border, #edf1f5);}.moderation-queue footer>a:first-child{margin-right:auto;}.moderation-empty svg{color:var(--theme-success, #3ca36e);}.admin-stat-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;}

@media(max-width:980px){.landing-hero{grid-template-columns:1fr;gap:36px;min-height:0;margin-top:12px;}.landing-hero-copy{text-align:center;}.landing-hero h1,.landing-hero-copy>p{margin-left:auto;margin-right:auto;}.landing-cta,.landing-proof{justify-content:center;}.landing-product{max-width:660px;margin:auto;transform:none;}.landing-feature-grid{grid-template-columns:repeat(2,1fr);}.landing-safety{margin-left:20px;margin-right:20px;}.admin-main{width:100%;max-width:none;}}
@media(max-width:720px){.landing-nav{height:70px;padding:0 15px;}.landing-brand small,.landing-nav nav>a:not(.landing-join){display:none;}.landing-nav nav{gap:8px;}.landing-nav .landing-join{padding:10px 13px;}.landing-hero{padding:30px 16px 10px;margin-bottom:45px;}.landing-hero h1{font-size:42px;letter-spacing:-1.7px;}.landing-hero-copy>p{font-size:14px;}.landing-product{border-radius:15px;}.landing-app-body{grid-template-columns:1fr;}.landing-app-body>aside{display:none;}.landing-section{padding:63px 16px;}.landing-section-head h2{font-size:29px;}.landing-feature-grid{grid-template-columns:1fr;}.landing-feature-grid article{min-height:0;}.landing-safety{padding:27px 20px;align-items:flex-start;flex-direction:column;}.landing-safety>div>span{display:none;}.landing-final h2{font-size:29px;}.landing-footer{flex-wrap:wrap;padding:22px 16px;}.landing-footer nav{order:3;width:100%;margin-left:0;flex-wrap:wrap;}.landing-footer small{margin-left:auto;}.report-reasons{grid-template-columns:1fr;}.admin-pagination{gap:6px;flex-wrap:wrap;}.admin-pagination span{order:-1;width:100%;text-align:center;}.admin-pagination .secondary-button{flex:1;}.moderation-queue footer{flex-wrap:wrap;}.moderation-queue footer>*{flex:1;}.moderation-queue footer>a:first-child{margin-right:0;flex-basis:100%;}.admin-inline-actions{width:100%;}.admin-inline-actions>*{flex:1;}.image-crop-backdrop{padding:0;}.image-crop-card{width:100%;max-height:100vh;height:100vh;border-radius:0;display:grid;grid-template-rows:auto 1fr auto;}.image-crop-stage{align-content:center;padding:20px 12px;}.image-crop-card>header{padding:0 12px;}.image-crop-card header p{display:none;}.image-crop-viewport{width:min(440px,88vw);}.image-crop-viewport.is-circle{width:min(360px,82vw);}}
@media(max-width:640px){input[type="text"],input[type="email"],input[type="password"],input[type="search"],input[type="tel"],input[type="url"],input[type="number"],textarea,select,.composer textarea,.school-post-composer textarea,.comment-form-main input,.search-input-wrap input,.form-grid input,.form-grid textarea,.form-grid select{font-size:16px!important;}.save-button{padding:7px;}.save-button span{display:none;}.person-result{padding-right:10px!important;}.search-follow{padding:0 9px;}.badge-info-popover{width:calc(100vw - 20px);}.profile-actions>*{flex:1 1 calc(50% - 5px)!important;justify-content:center;}}
@media(prefers-reduced-motion:reduce){.operator-badge:hover,.badge-info-popover,.image-crop-backdrop,.image-crop-card,.post-removing{animation:none!important;transition:none!important;transform:none!important;}}

/* ========================================================================== */
/* ZPG+ v1.2.7 — composer, profile saved tab, branded landing & admin upgrade */
/* ========================================================================== */

/* Password visibility — familiar eye action inside the field. */
.password-input-wrap{position:relative;display:block;width:100%;}.password-input-wrap>input{width:100%;padding-right:48px!important;}.password-visibility-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:var(--theme-muted, #637790);display:grid;place-items:center;transition:.15s ease;}.password-visibility-toggle:hover,.password-visibility-toggle.showing{background:var(--theme-hover, #edf5ff);color:var(--theme-accent, #0875ff);}.password-visibility-toggle svg{width:19px;height:19px;}

/* Feed composer launcher. The actual writing happens in the large modal. */
.composer-launcher{background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dce7f3);border-radius:13px;box-shadow:var(--theme-shadow, 0 5px 20px rgba(16,48,88,.055));padding:14px 16px!important;}.composer-launcher-main{display:flex;align-items:center;gap:11px;}.composer-launcher-main>button{height:44px;flex:1;border:1px solid var(--theme-control-border, #e4ebf3);border-radius:22px;background:var(--theme-raised, #f5f7fa);color:var(--theme-muted, #6f7e90);text-align:left;padding:0 17px;font-size:15px;font-weight:530;transition:.15s ease;}.composer-launcher-main>button:not(:disabled):hover{background:var(--theme-hover, #eef3f8);border-color:var(--theme-control-border, #d8e2ed);color:var(--theme-muted, #42566d);}.composer-launcher-actions{display:flex;align-items:center;gap:10px;border-top:1px solid var(--theme-border, #edf1f5);margin-top:12px;padding-top:9px;}.composer-launcher-actions>button{border:0;background:transparent;color:var(--theme-muted, #4f637a);min-height:36px;padding:0 12px;border-radius:9px;display:flex;align-items:center;gap:8px;font-weight:720;}.composer-launcher-actions>button:hover{background:var(--theme-hover, #f3f7fb);}.composer-launcher-actions>button svg{color:var(--theme-success, #20a05a);}.composer-launcher-hint{margin-left:auto;color:var(--theme-muted, #91a0b0);font-size:10.5px;}.composer-launcher.disabled{opacity:.75;}

/* Facebook-like large compose dialog. */
.modal-card:has(.post-composer-dialog){width:min(680px,calc(100vw - 32px))!important;padding:0!important;overflow:visible;border-radius:15px!important;}.post-composer-dialog{min-height:430px;display:flex;flex-direction:column;}.post-composer-dialog-head{height:60px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;padding:0 12px;border-bottom:1px solid var(--theme-border, #e4e9ef);}.post-composer-dialog-head:before{content:"";}.post-composer-dialog-head h2{text-align:center;font-size:19px;margin:0;color:var(--theme-text, #132f51);letter-spacing:-.2px;}.post-composer-dialog-head .modal-close{grid-column:3;}.post-composer-author{display:flex;align-items:center;gap:10px;padding:14px 18px 4px;}.post-composer-author>div{display:flex;flex-direction:column;align-items:flex-start;gap:5px;}.post-composer-author strong{font-size:14px;color:var(--theme-text, #142f50);}.composer-audience-chip{height:28px;border:0;border-radius:7px;padding:0 8px;background:var(--theme-raised, #e9eef5);color:var(--theme-muted, #344b66);display:flex;align-items:center;gap:5px;font-size:10.5px;font-weight:800;}.composer-audience-chip:hover{background:var(--theme-hover, #dfe7f0);}.post-composer-large-text{border:0!important;box-shadow:none!important;outline:none!important;resize:none;min-height:190px;max-height:42vh;padding:11px 19px 18px!important;font-size:21px!important;line-height:1.42!important;color:var(--theme-text, #172f4c)!important;background:transparent!important;}.post-composer-large-text::placeholder{color:var(--theme-muted, #7f8c9b);}.post-composer-preview{margin:0 18px 12px!important;max-height:260px;overflow:auto;}.post-composer-add-row{margin:auto 16px 10px;border:1px solid var(--theme-border, #dce5ef);border-radius:11px;min-height:58px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:var(--theme-shadow, 0 1px 2px rgba(17,44,75,.03));}.post-composer-add-row>span{display:flex;flex-direction:column;}.post-composer-add-row strong{font-size:12px;color:var(--theme-text, #1f3855);}.post-composer-add-row small{font-size:9.5px;color:var(--theme-muted, #8291a2);margin-top:2px;}.composer-round-action{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:var(--theme-success-soft, #ecf8f1);color:var(--theme-success, #15965a);cursor:pointer;transition:.15s;}.composer-round-action:hover{transform:scale(1.04);background:var(--theme-hover, #ddf4e7);}.composer-audience-panel{position:absolute;z-index:5;left:72px;top:116px;width:300px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dbe5ef);border-radius:12px;padding:6px;box-shadow:var(--theme-shadow, 0 16px 42px rgba(14,43,75,.17));}.composer-audience-panel>button{width:100%;border:0;background:transparent;border-radius:9px;padding:10px;display:grid;grid-template-columns:36px 1fr 20px;align-items:center;text-align:left;gap:8px;color:var(--theme-text, #29435f);}.composer-audience-panel>button:hover{background:var(--theme-hover, #f3f7fb);}.composer-audience-panel>button>span:first-child{width:34px;height:34px;border-radius:50%;background:var(--theme-raised, #edf4ff);color:var(--theme-accent, #0875ff);display:grid;place-items:center;}.composer-audience-panel>button>div{display:flex;flex-direction:column;}.composer-audience-panel>button strong{font-size:11.5px;}.composer-audience-panel>button small{font-size:9.5px;color:var(--theme-muted, #7f90a3);margin-top:2px;}.composer-audience-panel>button>svg:last-child{opacity:0;color:var(--theme-accent, #0875ff);}.composer-audience-panel>button.active>svg:last-child{opacity:1;}.post-composer-submit{margin:0 16px 16px;min-height:44px!important;border-radius:8px!important;font-size:13px;}

/* Keep the three post actions visually balanced: Like / Comment / Save. */
.post-interactions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:2px!important;}.post-interactions>button{width:100%;justify-content:center!important;min-width:0;}.post-interactions .save-button{margin:0!important;}.post-interactions .save-button.active,.post-card.bookmarked .post-interactions .save-button{color:var(--theme-warning, #e0aa12)!important;background:var(--theme-selected, #fff9e5)!important;}.post-interactions .save-button.active svg,.post-card.bookmarked .post-interactions .save-button svg{fill:var(--theme-warning, #f6c83b);stroke:var(--theme-warning, #c79508);}

/* Own profile content tabs + compact profile overflow menu. */
.profile-content-tabs{display:flex;border-top:1px solid var(--theme-border, #e5edf5);margin:17px -20px -17px;padding:0 20px;gap:7px;}.profile-content-tabs>a{height:48px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;color:var(--theme-muted, #687d93);font-size:12px;font-weight:780;border-bottom:3px solid transparent;}.profile-content-tabs>a:hover{background:var(--theme-hover, #f7fafe);color:var(--theme-muted, #315b89);}.profile-content-tabs>a.active{color:var(--theme-accent, #0875ff);border-bottom-color:var(--theme-border, #0875ff);}.profile-more-wrap{position:relative;}.profile-actions .icon-only{width:44px;padding:0!important;}.profile-more-menu{position:absolute;right:0;top:48px;width:235px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dde7f1);border-radius:11px;padding:6px;box-shadow:var(--theme-elevation, 0 18px 48px rgba(14,43,75,.16));z-index:25;}.profile-more-menu>button{border:0;width:100%;min-height:40px;border-radius:8px;background:transparent;display:flex;align-items:center;gap:9px;padding:0 11px;color:var(--theme-muted, #334c67);font-size:11.5px;text-align:left;}.profile-more-menu>button:hover{background:var(--theme-hover, #f3f7fb);}.profile-more-menu>button.danger-soft{color:var(--theme-danger, #c43c4a);}.profile-more-menu>button.danger-soft:hover{background:var(--theme-hover, #fff0f2);}.profile-more-menu>button.is-muted{color:var(--theme-accent, #0875ff);}

/* Landing page — same navy/bright-blue identity as the signed-in product. */
.landing-page{--landing-navy:var(--theme-text, #062c59);--landing-blue:var(--theme-accent, #0878f9);--landing-cyan:var(--theme-accent, #49a2ff);background:var(--theme-surface, linear-gradient(180deg,#eef6ff 0,#f7fbff 34%,#fff 62%,#edf6ff 100%))!important;color:var(--theme-text, #0e315a)!important;position:relative;overflow:hidden;}.landing-page:before{content:"";position:absolute;width:760px;height:760px;right:-330px;top:-340px;border-radius:50%;background:var(--theme-surface, radial-gradient(circle,rgba(8,120,249,.20),rgba(8,120,249,0) 68%));pointer-events:none;}.landing-nav{background:var(--theme-raised, rgba(244,249,255,.88))!important;border-bottom:1px solid var(--theme-border, rgba(44,114,188,.12))!important;backdrop-filter:blur(20px);position:relative;z-index:4;}.landing-brand strong{color:var(--landing-navy)!important;}.landing-brand strong span{color:var(--landing-blue)!important;}.landing-nav nav>a{color:var(--theme-muted, #244a73)!important;}.landing-nav .landing-join{background:var(--landing-blue)!important;color:var(--theme-text, #fff)!important;box-shadow:var(--theme-shadow, 0 9px 24px rgba(8,120,249,.20));}.landing-hero{position:relative;z-index:2;}.landing-kicker{color:var(--theme-accent, #075fca)!important;background:var(--theme-raised, #e4f1ff)!important;border:1px solid var(--theme-border, #c9e3ff)!important;}.landing-hero h1{color:var(--landing-navy)!important;}.landing-hero h1 em{color:var(--landing-blue)!important;}.landing-hero-copy>p{color:var(--theme-muted, #507092)!important;}.landing-primary{background:var(--theme-accent, linear-gradient(135deg,#0878f9,#0566d8))!important;box-shadow:var(--theme-shadow, 0 14px 32px rgba(8,120,249,.24))!important;}.landing-secondary{background:var(--theme-surface, #fff)!important;color:var(--theme-text, #143e6b)!important;border-color:var(--theme-border, #cfe0f2)!important;}.landing-proof{color:var(--theme-muted, #365f88)!important;}.landing-proof span{background:var(--theme-surface, rgba(255,255,255,.73));border:1px solid var(--theme-border, #d8e9f9);border-radius:999px;padding:7px 11px;}.landing-product{border-color:var(--theme-border, #cfe3f8)!important;box-shadow:var(--theme-shadow, 0 34px 80px rgba(6,44,89,.16))!important;background:var(--theme-surface, #fff)!important;}.landing-app-chrome{background:var(--theme-surface, linear-gradient(90deg,#062c59,#0a5cae))!important;color:var(--theme-text, #ddecff)!important;}.landing-app-body>aside{background:var(--theme-surface, #f2f8ff)!important;border-right-color:var(--theme-border, #dbeaf8)!important;color:var(--theme-muted, #375c83)!important;}.landing-mock-welcome{background:var(--theme-surface, linear-gradient(125deg,#062c59,#0878f9))!important;color:var(--theme-text, #fff)!important;}.landing-mock-post{border-color:var(--theme-border, #dce9f6)!important;box-shadow:var(--theme-shadow, 0 7px 20px rgba(24,67,111,.055))!important;}.landing-section{position:relative;}.landing-section:nth-of-type(2){background:var(--theme-surface, linear-gradient(180deg,rgba(227,241,255,.55),rgba(255,255,255,.82)))!important;border-top:1px solid var(--theme-border, #e0effd);border-bottom:1px solid var(--theme-border, #e5f1fc);}.landing-section-head>span{color:var(--theme-accent, #0875ff)!important;}.landing-section-head h2{color:var(--theme-text, #062c59)!important;}.landing-feature-grid article{background:var(--theme-surface, linear-gradient(180deg,#fff,#f7fbff))!important;border-color:var(--theme-border, #dbeafa)!important;box-shadow:var(--theme-shadow, 0 10px 30px rgba(16,61,106,.055))!important;}.landing-feature-grid article>svg{color:var(--theme-accent, #0878f9)!important;background:var(--theme-raised, #e8f3ff);padding:8px;border-radius:12px;width:43px!important;height:43px!important;}.landing-feature-grid article h3{color:var(--theme-text, #123d6b)!important;}.landing-safety{background:var(--theme-surface, linear-gradient(125deg,#062c59 0%,#07477f 48%,#0878f9 125%))!important;border:1px solid var(--theme-border, rgba(255,255,255,.08))!important;box-shadow:var(--theme-shadow, 0 24px 55px rgba(6,44,89,.20))!important;color:var(--theme-text, #fff)!important;}.landing-safety h2,.landing-safety p,.landing-safety small{color:var(--theme-text, #fff)!important;}.landing-safety>div>span{background:var(--theme-hover, rgba(255,255,255,.12))!important;color:var(--theme-text, #fff)!important;}.landing-safety>a{background:var(--theme-surface, #fff)!important;color:var(--theme-accent, #075fbf)!important;}.landing-final{background:var(--theme-surface, linear-gradient(180deg,#f5faff,#e6f3ff))!important;}.landing-final>div{background:var(--theme-surface, linear-gradient(140deg,#062c59,#0878f9))!important;color:var(--theme-text, #fff)!important;box-shadow:var(--theme-shadow, 0 28px 66px rgba(6,44,89,.22))!important;}.landing-final h2,.landing-final p{color:var(--theme-text, #fff)!important;}.landing-final a{background:var(--theme-surface, #fff)!important;color:var(--theme-accent, #075fca)!important;}.landing-footer{background:var(--theme-surface, #061f3d)!important;color:var(--theme-text, #d2e6fb)!important;}.landing-footer strong,.landing-footer a,.landing-footer small{color:var(--theme-text, #d2e6fb)!important;}.landing-footer strong span{color:var(--theme-accent, #55a8ff)!important;}

/* Redesigned school-profile administration. */
.school-management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0 20px;}.school-management-card{overflow:hidden;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dbe7f3);border-radius:14px;box-shadow:var(--theme-shadow, 0 7px 24px rgba(19,59,101,.05));transition:.16s ease;}.school-management-card:hover{transform:translateY(-1px);border-color:var(--theme-border, #bcd8f4);box-shadow:var(--theme-shadow, 0 12px 30px rgba(19,59,101,.09));}.school-management-card.selected{border-color:var(--theme-control-border, #0878f9);box-shadow:var(--theme-shadow, 0 0 0 2px rgba(8,120,249,.09),0 12px 30px rgba(19,59,101,.09));}.school-management-hero{height:118px;background:var(--theme-surface, linear-gradient(135deg,#e5f1ff,#f4f9ff));display:grid;place-items:center;overflow:hidden;color:var(--theme-accent, #2771bd);}.school-management-hero img{width:100%;height:100%;object-fit:cover;}.school-management-card-body{padding:13px;}.school-management-title{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:9px;}.school-management-title>div{min-width:0;}.school-management-title strong{display:block;font-size:12px;color:var(--theme-text, #163b63);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.school-management-title small{display:block;color:var(--theme-muted, #8092a6);font-size:9.5px;margin-top:2px;}.school-management-images{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 8px;}.school-management-images>span{font-size:8.5px;color:var(--theme-muted, #8a98a8);border:1px solid var(--theme-border, #e3eaf2);background:var(--theme-raised, #f8fafc);border-radius:999px;padding:5px 7px;display:flex;align-items:center;gap:4px;}.school-management-images>span.ready{color:var(--theme-success, #167a50);background:var(--theme-success-soft, #edf9f3);border-color:var(--theme-border, #cfeede);}.school-management-card-body>p{font-size:9.5px;color:var(--theme-muted, #74879b);margin:0 0 11px;}.school-management-actions{display:flex;gap:6px;flex-wrap:wrap;}.school-management-actions .primary-button,.school-management-actions .secondary-button{min-height:34px;padding:0 10px;font-size:9.5px;}.school-profile-editor{margin-top:16px;}.school-admin-visual-board{display:grid;grid-template-columns:240px 1fr;gap:16px;background:var(--theme-raised, #f6faff);border:1px solid var(--theme-border, #deebf8);border-radius:13px;padding:14px;margin:15px 0;}.school-admin-identity-preview{background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #e0eaf4);border-radius:11px;padding:17px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;}.school-admin-identity-preview>div{display:flex;flex-direction:column;align-items:center;gap:6px;}.school-admin-identity-preview strong{font-size:11px;color:var(--theme-muted, #244667);}.school-admin-identity-preview small{font-size:9px;color:var(--theme-muted, #8495a7);}.school-admin-identity-preview .secondary-button{font-size:9.5px;min-height:34px;}.text-danger{border:0;background:transparent;color:var(--theme-danger, #c53b48);font-size:9.5px;font-weight:720;padding:5px 7px;}.text-danger:hover{background:var(--theme-hover, #fff0f2);border-radius:7px;}.school-admin-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}.school-admin-media-grid>article{background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #e0eaf4);border-radius:11px;overflow:hidden;}.school-media-thumb{height:120px;background:var(--theme-raised, #eaf3fc);position:relative;overflow:hidden;display:grid;place-items:center;color:var(--theme-muted, #7290ae);}.school-media-thumb img{width:100%;height:100%;object-fit:cover;}.school-media-thumb>span{display:flex;flex-direction:column;align-items:center;gap:5px;}.school-media-thumb small{font-size:8.5px;}.school-media-thumb>b{position:absolute;left:8px;bottom:8px;background:var(--theme-surface, rgba(6,35,65,.78));color:var(--theme-text, #fff);border-radius:6px;padding:4px 7px;font-size:8.5px;backdrop-filter:blur(4px);}.school-admin-media-grid article>div:last-child{padding:9px;}.school-admin-media-grid p{font-size:9.5px;color:var(--theme-muted, #71869c);line-height:1.45;margin:0 0 8px;min-height:28px;}.school-admin-media-grid .secondary-button{min-height:33px;font-size:9px;padding:0 9px;}.school-create-form{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) auto!important;}

/* Manually managed moderation rules. */
.admin-filter-scope{display:flex;align-items:center;gap:8px;color:var(--theme-muted, #5b7188);font-size:10px;font-weight:740;}.admin-filter-scope select{min-width:210px;}.filter-status-card{display:flex;align-items:center;gap:11px;border-radius:11px;padding:12px 14px;margin:14px 0;border:1px solid;}.filter-status-card>svg{flex:0 0 auto;}.filter-status-card>div{display:flex;flex-direction:column;}.filter-status-card strong{font-size:11.5px;}.filter-status-card span{font-size:9.5px;margin-top:2px;}.filter-status-card.active{background:var(--theme-selected, #edf9f3);border-color:var(--theme-border, #ccebdc);color:var(--theme-success, #176b49);}.filter-status-card.inactive{background:var(--theme-warning-soft, #fff6e9);border-color:var(--theme-border, #f1debe);color:var(--theme-warning, #9a611b);}.moderation-term-create{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;gap:9px;align-items:end;margin:16px 0;}.moderation-term-create label{display:flex;flex-direction:column;gap:5px;color:var(--theme-muted, #60758b);font-size:9.5px;font-weight:750;}.filter-test-box{background:var(--theme-raised, #f7faff);border:1px solid var(--theme-border, #dfeaf6);border-radius:11px;padding:12px;margin:12px 0 16px;display:grid;grid-template-columns:1fr auto;gap:8px;}.filter-test-box>div:first-child{display:flex;flex-direction:column;}.filter-test-box>div:first-child strong{font-size:11px;color:var(--theme-muted, #284b6e);}.filter-test-box>div:first-child small{font-size:9px;color:var(--theme-muted, #8194a7);margin-top:2px;}.filter-test-box textarea{grid-column:1/-1;}.filter-test-result{grid-column:1/-1;border-radius:8px;padding:8px 10px;font-size:10px;}.filter-test-result.flagged{background:var(--theme-warning-soft, #fff2e9);color:var(--theme-warning, #a05019);}.filter-test-result.clear{background:var(--theme-success-soft, #edf9f3);color:var(--theme-success, #19724d);}.moderation-term-list{display:grid;gap:7px;}.moderation-term-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--theme-border, #e0e9f2);border-left:3px solid var(--theme-border, #b4c3d2);border-radius:10px;padding:10px 11px;background:var(--theme-surface, #fff);}.moderation-term-row.active{border-left-color:var(--theme-border, #1b9b66);}.moderation-term-row.inherited{background:var(--theme-raised, #f8fbfe);}.moderation-term-row>div:first-child{display:flex;flex-direction:column;}.moderation-term-row strong{font-size:11px;color:var(--theme-muted, #274967);}.moderation-term-row small{font-size:8.8px;color:var(--theme-muted, #8294a5);margin-top:2px;}.moderation-term-row>div:last-child{display:flex;align-items:center;gap:6px;}.moderation-term-row .secondary-button{min-height:31px;font-size:9px;padding:0 9px;}.status-pill.active{font-size:8.5px;padding:5px 8px;border-radius:999px;background:var(--theme-selected, #e9f7f0);color:var(--theme-success, #16734d);font-weight:760;}

/* System operator diagnostic page. */
.diagnostics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0;}.diagnostics-grid>div{border:1px solid var(--theme-border, #dfe9f3);background:var(--theme-raised, #f8fbff);border-radius:11px;padding:12px;display:flex;flex-direction:column;}.diagnostics-grid span{font-size:9px;color:var(--theme-muted, #7890a7);}.diagnostics-grid strong{font-size:17px;color:var(--theme-text, #163e67);margin-top:4px;}.ok-text{color:var(--theme-success, #16835a)!important;}.pending-text{color:var(--theme-warning, #b56c1e)!important;}.diagnostics-actions{display:flex;align-items:center;gap:10px;border-top:1px solid var(--theme-border, #e7eef5);padding-top:13px;}.diagnostics-actions small{color:var(--theme-muted, #7c90a4);font-size:9.5px;}

@media(max-width:900px){.school-management-grid{grid-template-columns:1fr;}.school-admin-visual-board{grid-template-columns:1fr;}.school-admin-identity-preview{flex-direction:row;text-align:left;justify-content:flex-start;}.school-admin-identity-preview>div{align-items:flex-start;}.diagnostics-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.modal-card:has(.post-composer-dialog){width:100%!important;max-height:92vh;overflow:auto;border-radius:18px 18px 0 0!important;}.post-composer-dialog{min-height:65vh;}.post-composer-large-text{font-size:20px!important;min-height:180px;}.composer-audience-panel{position:static;width:auto;margin:0 16px 10px;}.composer-launcher-hint{display:none;}.profile-content-tabs{margin-left:-14px;margin-right:-14px;padding:0 10px;}.profile-content-tabs>a{flex:1;}.profile-more-wrap{flex:0 0 auto!important;}.profile-more-menu{position:fixed;left:12px;right:12px;top:auto;bottom:calc(76px + env(safe-area-inset-bottom));width:auto;}.school-admin-media-grid{grid-template-columns:1fr;}.school-create-form,.moderation-term-create{grid-template-columns:1fr!important;}.moderation-term-create .primary-button{width:100%;}.filter-test-box{grid-template-columns:1fr;}.filter-test-box .secondary-button{width:100%;}.moderation-term-row{align-items:flex-start;flex-direction:column;}.moderation-term-row>div:last-child{width:100%;}.diagnostics-grid{grid-template-columns:1fr 1fr;}.diagnostics-actions{align-items:flex-start;flex-direction:column;}.landing-proof span{font-size:10px;}.post-interactions span{font-size:10px;}}


/* v1.2.8 — composer + profile tabs + admin information architecture */
.post-composer-dialog{position:relative!important;overflow:hidden;}
.composer-audience-panel{left:70px!important;top:86px!important;max-width:calc(100% - 92px)!important;}
.post-composer-submit{width:auto!important;align-self:stretch!important;margin:0 16px 16px!important;flex:0 0 auto;}
.composer-audience-panel .audience-locked{opacity:.58;cursor:not-allowed!important;}.composer-audience-panel .audience-locked:hover{background:transparent!important;}
.post-composer-dialog>.composer-audience-note{margin:0 16px 10px!important;}
.profile-content-tabs{display:flex!important;background:var(--surface)!important;border:1px solid var(--theme-border, rgba(214,223,237,.9))!important;border-radius:14px!important;box-shadow:var(--theme-shadow, 0 4px 22px rgba(25,56,97,.045))!important;margin:10px 0 14px!important;padding:0 16px!important;gap:8px!important;overflow:hidden;}
.profile-content-tabs>a{height:50px!important;}.profile-content-tabs>a.active{background:var(--theme-selected, #f5f9ff);}
.admin-filterbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px;border:1px solid var(--theme-border, #e1e8f0);border-radius:12px;background:var(--theme-raised, #f8fafc);margin:4px 0 14px;}.admin-filterbar select{min-width:150px;min-height:40px;}.admin-search-field{min-height:40px;flex:1 1 260px;display:flex;align-items:center;gap:8px;padding:0 11px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dce5ef);border-radius:9px;}.admin-search-field svg{width:17px;color:var(--theme-muted, #6d8197);}.admin-search-field input{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;width:100%;min-height:38px;}.admin-filterbar .text-button{padding:8px 6px;color:var(--theme-muted, #687b91);font-weight:700;font-size:12px;}
.admin-user-list{display:flex;flex-direction:column;gap:8px;}.admin-user-card{display:grid;grid-template-columns:minmax(240px,1.5fr) minmax(260px,1fr) auto auto;align-items:center;gap:14px;padding:12px 13px;border:1px solid var(--theme-border, #e1e8f0);border-radius:12px;background:var(--theme-surface, #fff);}.admin-user-card.pending{border-left:4px solid var(--theme-border, #e6a23c);}.admin-user-card.inactive{opacity:.7;}.admin-user-card-person{display:flex;align-items:center;gap:10px;min-width:0;}.admin-user-card-person>div{display:flex;flex-direction:column;min-width:0;}.admin-user-card-person strong{font-size:12.5px;color:var(--theme-text, #1d3855);}.admin-user-card-person small,.admin-user-card-person span{font-size:10px;color:var(--theme-muted, #7d8b9c);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.admin-user-card-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}.admin-user-card-facts span{display:flex;flex-direction:column;}.admin-user-card-facts small{font-size:8.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--theme-muted, #8897a8);}.admin-user-card-facts strong{font-size:10.5px;color:var(--theme-muted, #334c67);margin-top:2px;}.admin-user-card-actions{display:flex;gap:6px;}.admin-user-card-actions .primary-button,.admin-user-card-actions .secondary-button{min-height:36px;font-size:10.5px;padding:0 11px;}.admin-user-modal-summary{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--theme-border, #e0e8f1);border-radius:11px;background:var(--theme-raised, #f8fafc);margin-bottom:12px;}.admin-user-modal-summary>div{display:flex;flex-direction:column;}.admin-user-modal-summary strong{font-size:13px;}.admin-user-modal-summary small,.admin-user-modal-summary span{font-size:10px;color:var(--theme-muted, #798b9d);}.admin-user-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0;}.admin-user-modal-actions button{min-height:40px;}
.structure-rework .structure-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;}.automatic-class-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:10px 0 13px;}.automatic-class-grid>div{padding:12px 8px;border:1px solid var(--theme-border, #dce7f2);border-radius:10px;background:var(--theme-raised, #f7faff);text-align:center;display:flex;flex-direction:column;}.automatic-class-grid strong{font-size:12px;color:var(--theme-accent, #0b65d7);}.automatic-class-grid span{font-size:9px;color:var(--theme-muted, #74879b);margin-top:3px;}
.role-hierarchy{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0;}.role-hierarchy article{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center;border:1px solid var(--theme-border, #e0e7ef);border-radius:12px;padding:12px;background:var(--theme-surface, #fbfcfe);}.role-hierarchy article>span:first-child{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--theme-raised, #edf4ff);color:var(--theme-accent, #0b6ff5);}.role-hierarchy article>div{display:flex;flex-direction:column;}.role-hierarchy strong{font-size:12px;}.role-hierarchy small{font-size:9px;color:var(--theme-muted, #71849a);}.role-hierarchy p{font-size:9.5px;color:var(--theme-muted, #71849a);margin:4px 0 0;}.role-fixed{font-size:8.5px;padding:5px 7px;background:var(--theme-raised, #eef2f6);border-radius:999px;color:var(--theme-muted, #718096);white-space:nowrap;}.role-config-panel{border:1px solid var(--theme-border, #dfe7ef);border-radius:12px;padding:13px;background:var(--theme-raised, #f9fbfd);}.role-config-panel>div:first-child h3{font-size:13px;margin:0;}.role-config-panel>div:first-child p{font-size:10px;color:var(--theme-muted, #76889b);margin:3px 0 10px;}
.scope-lock{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:var(--theme-raised, #eef6ff);color:var(--theme-accent, #2161a5);font-size:9.5px;font-weight:800;}.admin-content-page .admin-content-list article{border-radius:12px!important;}
.report-case-list{display:flex;flex-direction:column;gap:10px;}.report-case{border:1px solid var(--theme-border, #dfe7ef);border-radius:13px;padding:13px;background:var(--theme-surface, #fff);}.report-case.open{border-left:4px solid var(--theme-border, #e39c2f);}.report-case.reviewing{border-left:4px solid var(--theme-border, #357fe8);}.report-case.resolved{border-left:4px solid var(--theme-border, #29a46a);}.report-case.rejected{opacity:.72;}.report-case>header{display:flex;align-items:center;justify-content:space-between;}.report-status{padding:5px 8px;border-radius:999px;font-size:9px;font-weight:800;background:var(--theme-raised, #edf2f7);}.report-status.open{background:var(--theme-warning-soft, #fff2db);color:var(--theme-warning, #8b5a0d);}.report-status.reviewing{background:var(--theme-raised, #eaf3ff);color:var(--theme-accent, #2866b4);}.report-status.resolved{background:var(--theme-success-soft, #e8f8ef);color:var(--theme-success, #277e52);}.report-status.rejected{background:var(--theme-raised, #f0f2f5);color:var(--theme-muted, #68778a);}.report-case-main{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:11px 0;}.report-case-main>div{display:flex;flex-direction:column;}.report-case-main small,.report-reason-box>strong{font-size:8.5px;text-transform:uppercase;color:var(--theme-muted, #8796a6);letter-spacing:.04em;}.report-case-main strong{font-size:12px;}.report-case-main span{font-size:9.5px;color:var(--theme-muted, #718297);}.report-reason-box{background:var(--theme-raised, #f8fafc);border:1px solid var(--theme-border, #e5ebf1);border-radius:10px;padding:10px;}.report-reason-box p{margin:4px 0;font-size:11px;}.report-reason-box blockquote{margin:8px 0 0;padding:8px 10px;border-left:3px solid var(--theme-border, #b6c7db);background:var(--theme-surface, #fff);font-size:10px;color:var(--theme-muted, #5d7188);}.report-case footer{display:flex;justify-content:flex-end;gap:7px;margin-top:10px;}.report-decision-summary{padding:10px 12px;border:1px solid var(--theme-border, #e2e9f0);background:var(--theme-raised, #f8fafc);border-radius:10px;margin-bottom:11px;}.report-decision-summary strong{font-size:11px;}.report-decision-summary p{font-size:10px;color:var(--theme-muted, #697d92);margin:5px 0 0;}.report-decision-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;}.report-decision-grid>button{border:1px solid var(--theme-control-border, #dfe7ef);border-radius:10px;background:var(--theme-surface, #fff);min-height:64px;padding:9px;display:grid;grid-template-columns:24px 1fr;align-items:start;gap:8px;text-align:left;color:var(--theme-muted, #314b67);}.report-decision-grid>button:hover{background:var(--theme-hover, #f6f9fd);border-color:var(--theme-control-border, #bdd4ef);}.report-decision-grid>button>span{display:flex;flex-direction:column;}.report-decision-grid strong{font-size:10.5px;}.report-decision-grid small{font-size:9px;color:var(--theme-muted, #71849a);margin-top:2px;}.report-decision-grid .danger-soft{color:var(--theme-danger, #b33645);border-color:var(--theme-border, #f1cbd1);background:var(--theme-danger-soft, #fffafa);}

@media(max-width:1100px){.admin-user-card{grid-template-columns:1fr auto;}.admin-user-card-facts{grid-column:1/2;}.admin-user-card>.status-pill{grid-column:2;grid-row:1;}.admin-user-card-actions{grid-column:2;grid-row:2;}.automatic-class-grid{grid-template-columns:repeat(3,1fr);}.role-hierarchy{grid-template-columns:1fr;}}
@media(max-width:700px){.composer-audience-panel{position:static!important;max-width:none!important;margin:0 16px 10px!important;}.post-composer-dialog>.composer-audience-note{margin:0 16px 10px!important;}.admin-filterbar{align-items:stretch;}.admin-filterbar>*{width:100%!important;}.admin-user-card{grid-template-columns:1fr;}.admin-user-card-facts,.admin-user-card>.status-pill,.admin-user-card-actions{grid-column:1;grid-row:auto;}.admin-user-card-actions{justify-content:flex-start;}.automatic-class-grid{grid-template-columns:1fr 1fr;}.report-case-main,.report-decision-grid{grid-template-columns:1fr;}.profile-content-tabs{margin:8px 0 12px!important;padding:0 6px!important;}.profile-content-tabs>a{flex:1;}.structure-rework .structure-grid{grid-template-columns:1fr!important;}}

/* ========================================================================== */
/* v1.2.9 — complete professional landing page rework                         */
/* ========================================================================== */
.lp-page{
  --lp-blue:var(--theme-accent, #0878f9);--lp-blue-2:var(--theme-accent-hover, #0a67dc);--lp-navy:var(--theme-text, #062c59);--lp-navy-2:var(--theme-text, #041f40);
  --lp-ink:var(--theme-text, #0b2440);--lp-muted:var(--theme-muted, #647b93);--lp-soft:var(--theme-raised, #f4f8fe);--lp-line:var(--theme-border, #dce8f6);
  min-height:100vh!important;background:var(--theme-surface, #fff)!important;color:var(--lp-ink)!important;overflow:hidden!important;
  font-family:inherit;isolation:isolate;
}
.lp-page *{box-sizing:border-box;}.lp-page a{text-decoration:none;}.lp-page button,.lp-page a{transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;}
.lp-hero-shell{position:relative;background:var(--theme-surface, linear-gradient(138deg,#041d3b 0%,#062c59 52%,#073a76 100%));color:var(--theme-text, #fff);overflow:hidden;}
.lp-hero-shell:before{content:"";position:absolute;inset:0;background-image:var(--theme-decoration, linear-gradient(rgba(255,255,255,.027) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.027) 1px,transparent 1px));background-size:54px 54px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.6),transparent 92%);pointer-events:none;}
.lp-aurora{position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none;}.lp-aurora-a{width:650px;height:650px;right:-260px;top:-280px;background:var(--theme-surface, radial-gradient(circle,rgba(8,120,249,.42),rgba(8,120,249,0) 68%));}.lp-aurora-b{width:520px;height:520px;left:-260px;bottom:-330px;background:var(--theme-surface, radial-gradient(circle,rgba(43,145,255,.2),rgba(8,120,249,0) 68%));}
.lp-nav{position:relative;z-index:5;max-width:1320px;height:92px;padding:0 34px;margin:auto;display:grid;grid-template-columns:250px 1fr 250px;align-items:center;border-bottom:1px solid var(--theme-border, rgba(255,255,255,.1));}
.lp-brand{display:inline-flex;align-items:center;width:max-content;}.lp-logo{width:178px!important;height:auto!important;max-height:60px!important;object-fit:contain!important;object-position:left center!important;filter:brightness(0) invert(1) grayscale(1) brightness(4)!important;}
.lp-nav-links{display:flex;justify-content:center;gap:34px;}.lp-nav-links a{color:var(--theme-text, #c8d9eb);font-size:12px;font-weight:720;letter-spacing:.01em;}.lp-nav-links a:hover{color:var(--theme-text, #fff);}
.lp-nav-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;}.lp-login{height:42px;display:inline-flex;align-items:center;padding:0 14px;color:var(--theme-text, #d7e5f4);font-size:12px;font-weight:750;}.lp-nav-cta{height:42px;display:inline-flex;align-items:center;padding:0 17px;border:1px solid var(--theme-border, rgba(255,255,255,.22));border-radius:11px;background:var(--theme-hover, rgba(255,255,255,.1));color:var(--theme-text, #fff);font-size:12px;font-weight:800;backdrop-filter:blur(12px);}.lp-nav-cta:hover{background:var(--theme-hover, #fff);color:var(--lp-navy);transform:translateY(-1px);}
.lp-hero{position:relative;z-index:2;max-width:1320px;margin:auto;padding:86px 34px 88px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(570px,1.1fr);gap:74px;align-items:center;min-height:690px;}
.lp-hero-copy{max-width:620px;}.lp-eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--theme-text, #9fcbff);font-size:10.5px;font-weight:850;text-transform:uppercase;letter-spacing:.09em;}.lp-eyebrow span{width:26px;height:2px;border-radius:2px;background:var(--theme-raised, #42a0ff);box-shadow:var(--theme-shadow, 0 0 14px rgba(66,160,255,.8));}
.lp-hero h1{margin:20px 0 23px;color:var(--theme-text, #fff);font-size:clamp(48px,5.25vw,74px);font-weight:850;line-height:1.025;letter-spacing:-3.1px;max-width:760px;}.lp-hero h1 em{display:inline;font-style:normal;color:var(--theme-accent, #6fb6ff);}.lp-hero-copy>p{margin:0;max-width:595px;color:var(--theme-text, #bbcee2);font-size:15.5px;line-height:1.75;font-weight:450;}
.lp-hero-actions{display:flex;align-items:center;gap:11px;margin-top:31px;flex-wrap:wrap;}.lp-primary{min-height:50px;padding:0 20px;border-radius:12px;background:var(--lp-blue);color:var(--theme-text, #fff)!important;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:850;box-shadow:var(--theme-shadow, 0 15px 30px rgba(0,91,209,.28));}.lp-primary:hover{background:var(--theme-hover, #1683fb);box-shadow:var(--theme-shadow, 0 18px 38px rgba(0,91,209,.38));transform:translateY(-2px);}.lp-secondary-dark{min-height:50px;padding:0 18px;border-radius:12px;border:1px solid var(--theme-border, rgba(255,255,255,.17));background:var(--theme-hover, rgba(255,255,255,.055));color:var(--theme-text, #e5eff9)!important;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:780;}.lp-secondary-dark:hover{background:var(--theme-hover, rgba(255,255,255,.11));border-color:var(--theme-border, rgba(255,255,255,.3));}
.lp-hero-trust{display:flex;align-items:center;gap:19px;flex-wrap:wrap;margin-top:27px;}.lp-hero-trust span{display:flex;align-items:center;gap:6px;color:var(--theme-muted, #93abc3);font-size:9.8px;font-weight:650;}.lp-hero-trust svg{color:var(--theme-accent, #63adff);}
.lp-stage{position:relative;min-height:512px;padding:30px 22px 34px;}.lp-app-window{position:relative;z-index:2;width:100%;min-height:455px;border-radius:20px;overflow:hidden;background:var(--theme-raised, #f4f8fe);border:1px solid var(--theme-border, rgba(255,255,255,.3));box-shadow:var(--theme-shadow, 0 42px 90px rgba(0,10,28,.46),0 10px 28px rgba(0,22,57,.24));transform:perspective(1300px) rotateY(-2.2deg) rotateX(1.15deg);transform-origin:center;}
.lp-app-top{height:52px;background:var(--theme-surface, #fff);display:grid;grid-template-columns:145px 1fr 40px;align-items:center;gap:16px;padding:0 14px;border-bottom:1px solid var(--theme-border, #e1e9f2);}.lp-app-brand{display:flex;align-items:center;gap:6px;color:var(--theme-text, #0a3368);}.lp-app-brand strong{font-size:12px;}.lp-app-brand strong span{color:var(--lp-blue);}.lp-search{height:30px;border-radius:9px;background:var(--theme-raised, #eff4fa);display:flex;align-items:center;gap:7px;padding:0 10px;color:var(--theme-muted, #8394a7);font-size:7.6px;}.lp-user-dot{width:27px;height:27px;border-radius:50%;background:var(--theme-raised, linear-gradient(145deg,#dbe8f5,#9eb7ce));justify-self:end;border:3px solid var(--theme-border, #edf3f9);}
.lp-app-grid{display:grid;grid-template-columns:118px 1fr 122px;min-height:403px;}.lp-app-side{background:var(--theme-surface, #fff);border-right:1px solid var(--theme-border, #e1e9f2);padding:15px 9px;display:flex;flex-direction:column;gap:5px;}.lp-app-side span,.lp-app-side b{min-height:28px;padding:0 8px;border-radius:7px;display:flex;align-items:center;gap:6px;color:var(--theme-muted, #6c8195);font-size:7.6px;font-weight:650;}.lp-app-side b{background:var(--theme-raised, #eaf4ff);color:var(--theme-accent, #0b68d9);}.lp-app-side i{height:1px;background:var(--theme-raised, #e6edf4);margin:5px 4px;}
.lp-app-feed{padding:15px 13px;}.lp-feed-banner{height:71px;border-radius:10px;padding:12px 14px;background:var(--theme-surface, linear-gradient(120deg,#082f5e,#0b66cd));color:var(--theme-text, #fff);display:flex;flex-direction:column;justify-content:center;box-shadow:var(--theme-shadow, 0 6px 14px rgba(5,67,137,.15));}.lp-feed-banner small{font-size:5.8px;color:var(--theme-accent, #83c2ff);letter-spacing:.12em;font-weight:900;}.lp-feed-banner strong{font-size:12px;margin-top:3px;}.lp-feed-banner span{font-size:6.8px;color:var(--theme-text, #c8dff7);margin-top:1px;}
.lp-post-card{margin-top:10px;border:1px solid var(--theme-border, #dfe7f0);border-radius:10px;background:var(--theme-surface, #fff);padding:11px;box-shadow:var(--theme-shadow, 0 3px 12px rgba(25,61,101,.035));}.lp-post-card header{display:grid;grid-template-columns:27px 1fr auto;align-items:center;gap:7px;}.lp-post-card header>div{display:flex;flex-direction:column;min-width:0;}.lp-post-card header strong{font-size:7.5px;display:flex;align-items:center;color:var(--theme-text, #23415f);}.lp-post-card header strong .verified-badge{width:10px!important;height:10px!important;min-width:10px!important;}.lp-post-card header small{font-size:5.7px;color:var(--theme-muted, #93a1af);margin-top:1px;}.lp-avatar{width:27px;height:27px;border-radius:50%;background:var(--theme-raised, #e8edf3);display:grid;place-items:center;font-size:7.5px;font-weight:850;color:var(--theme-muted, #536b82);}.lp-avatar-blue{background:var(--theme-raised, #e2f0ff);color:var(--theme-accent, #0b6ce1);}.lp-post-card>p{font-size:8.3px;line-height:1.4;margin:10px 0 8px;color:var(--theme-muted, #2f4b67);}.lp-post-media{height:84px;border-radius:7px;overflow:hidden;display:grid;grid-template-columns:1.3fr .7fr;grid-template-rows:1fr 1fr;gap:2px;background:var(--theme-raised, #d9e8f6);}.lp-post-media span{background:var(--theme-surface, linear-gradient(145deg,#d8e7f5,#9dbbd5));}.lp-post-media span:first-child{grid-row:1/3;background:var(--theme-surface, linear-gradient(145deg,#bcd8ef,#5d8fb8));}.lp-post-card footer{height:31px;border-top:1px solid var(--theme-border, #ebf0f5);margin-top:8px;padding-top:6px;display:flex;align-items:center;justify-content:space-around;color:var(--theme-muted, #70849a);}.lp-post-card footer b{display:flex;align-items:center;gap:4px;font-size:6.7px;font-weight:650;}.lp-post-card footer b:last-child{color:var(--theme-warning, #c59200);}.lp-post-compact{margin-left:28px;}.lp-text-lines{display:grid;gap:5px;margin:9px 0 2px;}.lp-text-lines i{height:4px;background:var(--theme-raised, #edf2f6);border-radius:99px;width:94%;}.lp-text-lines i:last-child{width:64%;}
.lp-app-rail{padding:15px 8px 0 0;display:flex;flex-direction:column;gap:8px;}.lp-app-rail>div{border:1px solid var(--theme-border, #dfe7f0);border-radius:9px;background:var(--theme-surface, #fff);padding:10px 9px;display:flex;flex-direction:column;}.lp-app-rail small{font-size:5.7px;color:var(--theme-muted, #8798aa);text-transform:uppercase;letter-spacing:.05em;}.lp-app-rail strong{font-size:8px;color:var(--theme-text, #24415f);margin-top:4px;}.lp-app-rail span{font-size:5.8px;color:var(--theme-muted, #8293a4);margin-top:2px;line-height:1.3;}
.lp-floating-card{position:absolute;z-index:4;min-height:56px;padding:10px 12px;border-radius:13px;background:var(--theme-surface, rgba(255,255,255,.96));border:1px solid var(--theme-border, rgba(255,255,255,.74));box-shadow:var(--theme-shadow, 0 17px 42px rgba(0,17,43,.27));display:flex;align-items:center;gap:9px;color:var(--theme-text, #0d3b6e);backdrop-filter:blur(15px);}.lp-floating-card>svg{color:var(--lp-blue);}.lp-floating-card>span{display:flex;flex-direction:column;}.lp-floating-card strong{font-size:9px;}.lp-floating-card small{font-size:6.8px;color:var(--theme-muted, #75899c);margin-top:2px;}.lp-floating-card .verified-badge{width:13px!important;height:13px!important;min-width:13px!important;margin-left:3px!important;}.lp-floating-school{top:4px;right:-10px;}.lp-floating-people{left:-6px;bottom:3px;}
.lp-metrics{position:relative;z-index:2;max-width:1252px;margin:0 auto;padding:26px 33px 30px;border-top:1px solid var(--theme-border, rgba(255,255,255,.09));display:flex;align-items:center;justify-content:center;gap:34px;}.lp-metrics>div{min-width:140px;display:flex;align-items:baseline;gap:7px;}.lp-metrics strong{font-size:22px;color:var(--theme-text, #fff);letter-spacing:-.5px;}.lp-metrics span{font-size:9.5px;color:var(--theme-muted, #9fb5ca);}.lp-metrics>i{width:1px;height:27px;background:var(--theme-hover, rgba(255,255,255,.13));}
.lp-audience-strip{background:var(--theme-surface, #fff);border-bottom:1px solid var(--theme-border, #e6edf5);}.lp-audience-strip>div{max-width:1170px;height:82px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:center;gap:27px;color:var(--theme-muted, #4e667d);}.lp-audience-strip span{font-size:9px;text-transform:uppercase;letter-spacing:.11em;color:var(--theme-muted, #9aa9b7);font-weight:850;}.lp-audience-strip b{font-size:12px;color:var(--theme-muted, #2c4762);}.lp-audience-strip i{width:4px;height:4px;border-radius:50%;background:var(--theme-raised, #a9c9ea);}
.lp-section{max-width:1210px;margin:auto;padding:106px 30px;}.lp-section-heading{text-align:center;max-width:740px;margin:0 auto 48px;}.lp-section-heading.lp-left{text-align:left;max-width:460px;margin:0;}.lp-section-kicker{display:inline-flex;color:var(--lp-blue);font-size:9.5px;font-weight:900;letter-spacing:.14em;}.lp-section-kicker.light{color:var(--theme-accent, #8bc5ff);}.lp-section-heading h2{margin:11px 0 14px;font-size:clamp(34px,4vw,49px);line-height:1.08;letter-spacing:-1.8px;color:var(--theme-text, #0a2d53);}.lp-section-heading h2 em{font-style:normal;color:var(--lp-blue);}.lp-section-heading p{margin:0;color:var(--theme-muted, #6d8195);font-size:13.5px;line-height:1.7;}
.lp-platform{padding-top:112px;}.lp-bento{display:grid;grid-template-columns:1.2fr .8fr;grid-template-rows:auto auto;gap:15px;}.lp-bento article{position:relative;border-radius:20px;border:1px solid var(--theme-border, #dfe9f4);background:var(--theme-surface, #fff);overflow:hidden;box-shadow:var(--theme-shadow, 0 9px 34px rgba(22,61,105,.055));}.lp-bento-main{grid-row:1/3;min-height:500px;padding:34px;display:flex;flex-direction:column;}.lp-feature-icon{width:48px;height:48px;border-radius:13px;background:var(--theme-raised, #eaf4ff);color:var(--lp-blue);display:grid;place-items:center;}.lp-bento article>div>span,.lp-bento-card>span{display:block;margin-top:23px;color:var(--theme-muted, #7192b3);font-size:8.5px;font-weight:900;letter-spacing:.12em;}.lp-bento h3{margin:8px 0 10px;color:var(--theme-text, #12395e);font-size:23px;line-height:1.16;letter-spacing:-.5px;}.lp-bento p{margin:0;color:var(--theme-muted, #72859a);font-size:11.5px;line-height:1.65;}.lp-bento-main>div:nth-child(2){max-width:520px;}.lp-mini-feed{margin-top:auto;border:1px solid var(--theme-border, #e0e9f2);background:var(--theme-raised, #f6f9fd);border-radius:15px;padding:12px;box-shadow:var(--theme-shadow, 0 13px 26px rgba(31,70,113,.07));}.lp-mini-feed>div{height:54px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #e7edf3);border-radius:10px;margin:6px 0;display:grid;grid-template-columns:34px 1fr;grid-template-rows:1fr 1fr;align-items:center;gap:0 9px;padding:7px 10px;}.lp-mini-feed .lp-avatar{grid-row:1/3;width:30px;height:30px;}.lp-mini-feed i{height:5px;border-radius:99px;background:var(--theme-raised, #e7edf4);width:84%;}.lp-mini-feed i:last-child{width:58%;}
.lp-bento-card{min-height:242px;padding:28px;}.lp-bento-blue{background:var(--theme-surface, linear-gradient(145deg,#eef7ff,#f8fbff))!important;}.lp-school-tile{position:absolute;left:26px;right:26px;bottom:24px;height:58px;border:1px solid var(--theme-border, #d7e7f7);background:var(--theme-surface, #fff);border-radius:12px;padding:8px 10px;display:flex;align-items:center;gap:8px;box-shadow:var(--theme-shadow, 0 8px 20px rgba(27,75,123,.06));}.lp-school-tile>div{display:flex;flex-direction:column;flex:1;}.lp-school-tile strong{font-size:9px;color:var(--theme-muted, #1e476f);}.lp-school-tile small{font-size:6.7px;color:var(--theme-muted, #8a9cac);}.lp-school-tile .verified-badge{width:14px!important;height:14px!important;min-width:14px!important;}.lp-people-stack{display:flex;margin-top:27px;}.lp-people-stack b{width:37px;height:37px;border-radius:50%;display:grid;place-items:center;background:var(--theme-raised, #dcecff);color:var(--theme-accent, #0d6bde);border:3px solid var(--theme-border, #fff);margin-left:-7px;font-size:8px;}.lp-people-stack b:first-child{margin-left:0;}.lp-people-stack b:nth-child(2){background:var(--theme-raised, #e8edf4);color:var(--theme-muted, #54728f);}.lp-people-stack b:nth-child(3){background:var(--theme-success-soft, #e6f4ec);color:var(--theme-success, #3f7c5d);}.lp-people-stack b:last-child{background:var(--theme-raised, #0b61c9);color:var(--theme-text, #fff);}
.lp-bento-wide{grid-column:2;min-height:170px;padding:27px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:22px;}.lp-bento-wide .lp-feature-icon{width:42px;height:42px;}.lp-bento-wide>div>span{margin-top:14px;}.lp-bento-wide h3{font-size:18px;}.lp-save-demo{border:1px solid var(--theme-border, #dbe5ef);border-radius:12px;background:var(--theme-raised, #f9fbfd);padding:7px;display:flex;flex-direction:column;gap:5px;}.lp-save-demo span{height:38px!important;margin:0!important;padding:0 10px;display:flex!important;align-items:center;gap:7px;border-radius:8px;color:var(--theme-muted, #627990)!important;font-size:8px!important;font-weight:750!important;letter-spacing:0!important;}.lp-save-demo span.active{background:var(--theme-selected, #fff7da);color:var(--theme-warning, #a57700)!important;border:1px solid var(--theme-border, #f0df9d);}
.lp-how{display:grid;grid-template-columns:360px 1fr;gap:70px;align-items:start;padding-top:80px;padding-bottom:118px;}.lp-steps{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}.lp-steps:before{content:"";position:absolute;left:15%;right:15%;top:50px;height:1px;background:var(--theme-surface, linear-gradient(90deg,#a9d0f8,#dbe8f5,#a9d0f8));z-index:0;}.lp-steps article{position:relative;z-index:1;min-height:290px;padding:22px;border:1px solid var(--theme-border, #dfe8f2);border-radius:18px;background:var(--theme-surface, #fff);box-shadow:var(--theme-shadow, 0 8px 28px rgba(26,64,107,.04));}.lp-steps article>b{font-size:9px;color:var(--theme-muted, #9ab0c4);letter-spacing:.1em;}.lp-step-icon{width:52px;height:52px;margin:15px 0 25px;border-radius:50%;background:var(--theme-raised, #eaf4ff);border:7px solid var(--theme-border, #fff);box-shadow:var(--theme-shadow, 0 0 0 1px #d6e7f7);color:var(--lp-blue);display:grid;place-items:center;}.lp-steps h3{font-size:16px;color:var(--theme-text, #183c5f);margin:0 0 8px;}.lp-steps p{font-size:10.8px;line-height:1.65;color:var(--theme-muted, #76899b);margin:0;}
.lp-school-section{background:var(--theme-surface, linear-gradient(135deg,#05264d,#063b77));padding:96px 28px;position:relative;overflow:hidden;}.lp-school-section:before{content:"";position:absolute;width:520px;height:520px;right:-120px;top:-210px;border-radius:50%;background:var(--theme-surface, radial-gradient(circle,rgba(18,127,246,.42),transparent 69%));}.lp-school-inner{position:relative;z-index:2;max-width:1170px;margin:auto;display:grid;grid-template-columns:.84fr 1.16fr;gap:80px;align-items:center;}.lp-school-copy h2{font-size:39px;line-height:1.1;letter-spacing:-1.3px;color:var(--theme-text, #fff);margin:11px 0 15px;}.lp-school-copy>p{font-size:12.5px;line-height:1.7;color:var(--theme-text, #b7cde4);margin:0;}.lp-school-copy ul{list-style:none;padding:0;margin:25px 0;display:grid;gap:11px;}.lp-school-copy li{display:flex;align-items:center;gap:8px;color:var(--theme-text, #dbeafa);font-size:10.5px;}.lp-school-copy li svg{color:var(--theme-accent, #60adff);}.lp-school-copy>a{display:inline-flex;align-items:center;gap:7px;color:var(--theme-text, #fff);font-size:10.5px;font-weight:850;border-bottom:1px solid var(--theme-border, rgba(255,255,255,.28));padding-bottom:4px;}.lp-school-copy>a:hover{color:var(--theme-accent, #83c2ff);}
.lp-admin-preview{border-radius:18px;background:var(--theme-raised, #f5f8fc);overflow:hidden;border:1px solid var(--theme-border, rgba(255,255,255,.35));box-shadow:var(--theme-shadow, 0 34px 75px rgba(0,12,30,.36));transform:perspective(1200px) rotateY(2deg);}.lp-admin-top{height:42px;background:var(--theme-surface, #fff);border-bottom:1px solid var(--theme-border, #e1e8f0);padding:0 13px;display:flex;align-items:center;justify-content:space-between;color:var(--theme-text, #133f70);}.lp-admin-top span{display:flex;align-items:center;gap:7px;font-size:8px;font-weight:800;}.lp-admin-top i{width:22px;height:22px;border-radius:50%;background:var(--theme-raised, #e8edf4);}.lp-admin-layout{display:grid;grid-template-columns:130px 1fr;min-height:335px;}.lp-admin-layout>aside{padding:15px 10px;background:var(--theme-surface, #092d59);color:var(--theme-muted, #a9c2dc);display:flex;flex-direction:column;gap:5px;}.lp-admin-layout>aside span,.lp-admin-layout>aside b{padding:8px;border-radius:7px;font-size:7px;}.lp-admin-layout>aside b{background:var(--theme-raised, #0d4c93);color:var(--theme-text, #fff);}.lp-admin-layout>section{padding:17px;}.lp-admin-heading{display:flex;flex-direction:column;}.lp-admin-heading strong{font-size:12px;color:var(--theme-text, #183b5d);}.lp-admin-heading small{font-size:6.6px;color:var(--theme-muted, #8a99a9);margin-top:2px;}.lp-admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:14px;}.lp-admin-stats span{height:66px;padding:10px;border:1px solid var(--theme-border, #dfe7f0);border-radius:9px;background:var(--theme-surface, #fff);display:flex;flex-direction:column;}.lp-admin-stats b{font-size:15px;color:var(--theme-accent, #0b62cb);}.lp-admin-stats small{font-size:6.3px;color:var(--theme-muted, #8394a6);margin-top:5px;}.lp-admin-table{margin-top:12px;border:1px solid var(--theme-border, #dfe7ef);border-radius:10px;background:var(--theme-surface, #fff);padding:8px;}.lp-admin-table i{display:block;height:35px;border-bottom:1px solid var(--theme-border, #edf1f5);position:relative;}.lp-admin-table i:last-child{border:0;}.lp-admin-table i:before,.lp-admin-table i:after{content:"";position:absolute;top:14px;height:5px;border-radius:99px;background:var(--theme-raised, #e6edf4);}.lp-admin-table i:before{left:4px;width:38%;}.lp-admin-table i:after{right:4px;width:20%;}
.lp-safety{max-width:1220px;padding-top:112px;padding-bottom:112px;}.lp-safety-card{border:1px solid var(--theme-border, #d9e6f3);border-radius:25px;background:var(--theme-surface, linear-gradient(145deg,#f6faff,#eef6ff));padding:54px;display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;box-shadow:var(--theme-shadow, 0 13px 45px rgba(24,65,108,.06));}.lp-shield-mark{width:62px;height:62px;border-radius:18px;background:var(--theme-raised, #ddecff);color:var(--theme-accent, #0878f9);display:grid;place-items:center;margin-bottom:20px;}.lp-safety-copy h2{font-size:36px;line-height:1.12;letter-spacing:-1.2px;color:var(--theme-text, #0b3158);margin:10px 0 13px;}.lp-safety-copy p{font-size:12px;line-height:1.72;color:var(--theme-muted, #6a8096);margin:0;max-width:520px;}.lp-safety-copy>a{display:inline-flex;align-items:center;gap:7px;margin-top:22px;font-size:10px;color:var(--theme-accent, #086ce3);font-weight:850;}.lp-safety-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}.lp-safety-grid article{min-height:118px;padding:16px;border:1px solid var(--theme-border, #dce7f2);border-radius:14px;background:var(--theme-surface, #fff);display:flex;align-items:flex-start;gap:11px;}.lp-safety-grid article>svg{color:var(--theme-accent, #0b72ee);flex:0 0 auto;}.lp-safety-grid article>div{display:flex;flex-direction:column;}.lp-safety-grid strong{font-size:10.5px;color:var(--theme-muted, #234867);}.lp-safety-grid span{font-size:8.5px;line-height:1.5;color:var(--theme-muted, #8091a2);margin-top:4px;}
.lp-final{padding:100px 26px 104px;text-align:center;background:var(--theme-surface, #fff);max-width:850px;margin:auto;}.lp-final-mark{width:76px;height:76px;border-radius:22px;background:var(--theme-raised, #edf6ff);color:var(--theme-accent, #0878f9);display:grid;place-items:center;margin:0 auto 18px;}.lp-final>span{color:var(--theme-accent, #0b6ee6);font-size:9px;font-weight:900;letter-spacing:.15em;}.lp-final h2{font-size:42px;line-height:1.1;letter-spacing:-1.6px;color:var(--theme-text, #0b2f54);margin:13px auto 14px;max-width:760px;}.lp-final p{font-size:13px;line-height:1.65;color:var(--theme-muted, #71869a);max-width:620px;margin:0 auto;}.lp-final>div:last-child{display:flex;align-items:center;justify-content:center;gap:13px;margin-top:26px;}.lp-final-login{min-height:50px;padding:0 18px;display:inline-flex;align-items:center;color:var(--theme-text, #214666);font-size:11px;font-weight:800;}.lp-final-login:hover{color:var(--theme-accent, #0878f9);}
.lp-footer{max-width:1210px;margin:auto;border-top:1px solid var(--theme-border, #e2eaf3);padding:30px;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:30px;}.lp-footer-brand{display:flex;align-items:center;gap:15px;}.lp-footer-logo{width:132px!important;height:auto!important;}.lp-footer-brand p{margin:0;padding-left:15px;border-left:1px solid var(--theme-border, #dce6f0);color:var(--theme-muted, #7d8fa1);font-size:9px;}.lp-footer nav{display:flex;align-items:center;gap:18px;}.lp-footer nav a{color:var(--theme-muted, #63798e);font-size:9px;font-weight:650;}.lp-footer nav a:hover{color:var(--theme-accent, #0878f9);}.lp-footer>small{color:var(--theme-muted, #98a7b5);font-size:8.5px;}

@media(max-width:1120px){
 .lp-nav{grid-template-columns:200px 1fr 210px;padding:0 24px;}.lp-nav-links{gap:20px;}.lp-hero{grid-template-columns:1fr;padding:72px 28px 70px;gap:42px;}.lp-hero-copy{max-width:760px;text-align:center;margin:auto;}.lp-eyebrow,.lp-hero-actions,.lp-hero-trust{justify-content:center;}.lp-hero-copy>p{margin:auto;}.lp-stage{max-width:760px;width:100%;margin:auto;}.lp-metrics{flex-wrap:wrap;gap:20px;}.lp-metrics>i{display:none;}.lp-how{grid-template-columns:1fr;gap:45px;}.lp-section-heading.lp-left{text-align:center;max-width:720px;margin:auto;}.lp-school-inner{grid-template-columns:1fr;gap:48px;}.lp-school-copy{text-align:center;max-width:720px;margin:auto;}.lp-school-copy ul{width:max-content;max-width:100%;margin:25px auto;text-align:left;}.lp-admin-preview{max-width:760px;width:100%;margin:auto;transform:none;}.lp-safety-card{grid-template-columns:1fr;gap:35px;}.lp-safety-copy{text-align:center;}.lp-shield-mark{margin-left:auto;margin-right:auto;}.lp-safety-copy p{margin:auto;}
}
@media(max-width:820px){
 .lp-nav{height:78px;grid-template-columns:1fr auto;padding:0 18px;}.lp-logo{width:145px!important;}.lp-nav-links{display:none;}.lp-nav-actions{gap:3px;}.lp-login{padding:0 9px;}.lp-nav-cta{height:39px;padding:0 12px;}.lp-hero{padding:58px 18px 58px;}.lp-hero h1{font-size:47px;letter-spacing:-2px;}.lp-stage{padding:18px 4px 24px;}.lp-floating-card{display:none;}.lp-app-window{transform:none;border-radius:15px;}.lp-app-grid{grid-template-columns:90px 1fr;}.lp-app-rail{display:none;}.lp-app-top{grid-template-columns:110px 1fr 30px;}.lp-metrics{padding:23px 20px;}.lp-metrics>div{min-width:calc(50% - 20px);justify-content:center;}.lp-audience-strip>div{height:auto;min-height:74px;flex-wrap:wrap;gap:13px 19px;padding:20px;}.lp-section{padding:80px 18px;}.lp-bento{grid-template-columns:1fr;}.lp-bento-main{grid-row:auto;min-height:480px;}.lp-bento-wide{grid-column:auto;}.lp-steps{grid-template-columns:1fr;}.lp-steps:before{display:none;}.lp-steps article{min-height:0;}.lp-school-section{padding:78px 18px;}.lp-safety-card{padding:34px 24px;}.lp-footer{grid-template-columns:1fr;text-align:center;}.lp-footer-brand{justify-content:center;}.lp-footer nav{justify-content:center;flex-wrap:wrap;}.lp-footer>small{text-align:center;}
}
@media(max-width:560px){
 .lp-nav-actions .lp-login{display:none;}.lp-nav{grid-template-columns:1fr auto;}.lp-hero h1{font-size:39px;letter-spacing:-1.5px;}.lp-hero-copy>p{font-size:13.5px;}.lp-hero-actions{align-items:stretch;flex-direction:column;}.lp-primary,.lp-secondary-dark{width:100%;}.lp-hero-trust{align-items:flex-start;flex-direction:column;gap:9px;width:max-content;max-width:100%;margin-left:auto;margin-right:auto;}.lp-stage{display:none;}.lp-hero{min-height:570px;display:flex;align-items:center;}.lp-metrics{display:grid;grid-template-columns:1fr 1fr;}.lp-metrics>div{min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;}.lp-metrics strong{font-size:19px;}.lp-audience-strip span{width:100%;text-align:center;}.lp-audience-strip i{display:none;}.lp-section-heading h2{font-size:32px;}.lp-bento-main{padding:24px;min-height:430px;}.lp-bento-card,.lp-bento-wide{padding:23px;}.lp-bento-wide{grid-template-columns:1fr;}.lp-school-copy h2{font-size:32px;}.lp-admin-layout{grid-template-columns:90px 1fr;}.lp-admin-layout>aside{padding:10px 6px;}.lp-admin-stats{grid-template-columns:1fr;}.lp-admin-stats span{height:48px;flex-direction:row;align-items:baseline;gap:8px;}.lp-safety-grid{grid-template-columns:1fr;}.lp-safety-card{padding:28px 18px;}.lp-safety-copy h2{font-size:30px;}.lp-final{padding:78px 18px;}.lp-final h2{font-size:34px;}.lp-final>div:last-child{flex-direction:column;}.lp-final-login{min-height:38px;}.lp-footer-brand{flex-direction:column;}.lp-footer-brand p{border-left:0;border-top:1px solid var(--theme-border, #dce6f0);padding:10px 0 0;}.lp-footer-logo{width:145px!important;}
}
.lp-nav-links button{appearance:none;border:0;background:transparent;padding:8px 0;color:var(--theme-text, #c8d9eb);font:inherit;font-size:12px;font-weight:720;letter-spacing:.01em;cursor:pointer;}.lp-nav-links button:hover{color:var(--theme-text, #fff);}


/* ========================================================================== */
/* v1.2.10 — compact audience picker, clear cropper, profile-only badge info */
/* ========================================================================== */
.identity-badge.is-static{cursor:default!important;pointer-events:none!important;transform:none!important;filter:none!important;}
.identity-badge.is-static:hover{transform:none!important;filter:none!important;}
.identity-badge.is-interactive{cursor:pointer;outline:0;position:relative;}
.identity-badge.is-interactive:focus-visible{box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(13,99,223,.22));border-radius:50%;}

/* Audience chooser: small popover anchored directly under the audience chip. */
.composer-audience-panel.composer-audience-compact{
  left:72px!important;top:84px!important;width:246px!important;max-width:calc(100% - 96px)!important;
  padding:5px!important;border-radius:11px!important;border-color:var(--theme-border, #d9e4ef)!important;
  box-shadow:var(--theme-shadow, 0 14px 34px rgba(16,45,79,.15))!important;
}
.composer-audience-compact .audience-popover-caret{
  position:absolute;left:27px;top:-6px;width:11px;height:11px;background:var(--theme-surface, #fff);
  border-left:1px solid var(--theme-border, #d9e4ef);border-top:1px solid var(--theme-border, #d9e4ef);transform:rotate(45deg);border-radius:2px 0 0 0;
}
.composer-audience-panel.composer-audience-compact>button{
  min-height:48px!important;padding:7px 8px!important;border-radius:8px!important;
  grid-template-columns:29px minmax(0,1fr) 16px!important;gap:7px!important;
}
.composer-audience-panel.composer-audience-compact>button+button{margin-top:2px;}
.composer-audience-panel.composer-audience-compact>button>span:first-child{
  width:28px!important;height:28px!important;background:var(--theme-raised, #eef5ff)!important;
}
.composer-audience-panel.composer-audience-compact>button strong{font-size:10.5px!important;line-height:1.2;}
.composer-audience-panel.composer-audience-compact>button small{
  display:block;max-width:166px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-size:8.5px!important;line-height:1.25;margin-top:2px!important;
}
.composer-audience-panel.composer-audience-compact .audience-locked{opacity:.52!important;}

/* Image positioning stays modal, but the surrounding page is no longer greyed out. */
.image-crop-backdrop{background:transparent!important;backdrop-filter:none!important;}
.image-crop-card{border:1px solid var(--theme-border, #dfe6ee);box-shadow:var(--theme-shadow, 0 28px 90px rgba(12,36,66,.24),0 0 0 1px rgba(255,255,255,.7));}
.image-crop-stage{background:var(--theme-surface, #fff)!important;}
.image-crop-viewport{background:var(--theme-raised, #eef2f6)!important;border:1px solid var(--theme-border, #d9e0e7);box-shadow:none!important;}
.image-crop-viewport.is-circle{box-shadow:var(--theme-shadow, 0 0 0 1px #d3dbe4)!important;}

@media(max-width:700px){
 .composer-audience-panel.composer-audience-compact{position:absolute!important;left:70px!important;top:84px!important;width:min(246px,calc(100% - 90px))!important;margin:0!important;max-width:none!important;}
}
@media(max-width:430px){
 .composer-audience-panel.composer-audience-compact{left:16px!important;top:104px!important;width:calc(100% - 32px)!important;}
 .composer-audience-compact .audience-popover-caret{left:74px;}
}


/* ========================================================================== */
/* v1.2.11 — audience placement + smoother own-profile tab switching          */
/* ========================================================================== */
/* The audience popover now clears the author row instead of sitting over it. */
.composer-audience-panel.composer-audience-compact{
  top:118px!important;
  width:238px!important;
  max-width:calc(100% - 96px)!important;
  border-radius:10px!important;
  box-shadow:var(--theme-shadow, 0 15px 38px rgba(16,45,79,.14))!important;
}
.composer-audience-compact .audience-popover-caret{left:27px!important;}

/* Profile tabs keep the profile shell visually stable and only transition the content. */
.profile-tab-route{animation:none!important;}
.profile-content-tabs>a{
  position:relative;
  transition:color .20s cubic-bezier(.2,.7,.2,1),background-color .20s cubic-bezier(.2,.7,.2,1),transform .20s cubic-bezier(.2,.7,.2,1)!important;
  border-bottom-color:transparent!important;
}
.profile-content-tabs>a::after{
  content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;border-radius:3px 3px 0 0;
  background:var(--theme-raised, #0875ff);opacity:0;transform:scaleX(.35);transform-origin:center;
  transition:opacity .20s ease,transform .24s cubic-bezier(.2,.75,.25,1);
}
.profile-content-tabs>a.active::after,.profile-content-tabs>a.tab-pending::after{opacity:1;transform:scaleX(1);}
.profile-content-tabs>a.tab-pending{color:var(--theme-accent, #0875ff);background:var(--theme-raised, #f5f9ff);transform:translateY(-1px);}
.profile-tab-stage{
  opacity:1;transform:translate3d(0,0,0);
  transition:opacity .16s ease,transform .16s cubic-bezier(.2,.7,.2,1);
  will-change:opacity,transform;
}
.profile-tab-stage.profile-tab-leaving{opacity:.38;pointer-events:none;}
.profile-tab-stage.profile-tab-leaving.to-left{transform:translate3d(-8px,0,0);}
.profile-tab-stage.profile-tab-leaving.to-right{transform:translate3d(8px,0,0);}
.profile-tab-stage.profile-tab-enter{opacity:0;}
.profile-tab-stage.profile-tab-enter.from-right{transform:translate3d(10px,0,0);}
.profile-tab-stage.profile-tab-enter.from-left{transform:translate3d(-10px,0,0);}
.profile-tab-stage.profile-tab-enter.profile-tab-enter-ready{opacity:1;transform:translate3d(0,0,0);}


@media(max-width:700px){
  .composer-audience-panel.composer-audience-compact{top:118px!important;left:70px!important;width:min(238px,calc(100% - 90px))!important;}
}
@media(max-width:430px){
  .composer-audience-panel.composer-audience-compact{top:126px!important;left:16px!important;width:calc(100% - 32px)!important;}
  .composer-audience-compact .audience-popover-caret{left:74px!important;}
  .profile-content-tabs>a::after{left:10px;right:10px;}
}
@media(prefers-reduced-motion:reduce){
  .profile-tab-stage,.profile-content-tabs>a,.profile-content-tabs>a::after{transition:none!important;animation:none!important;}
  .profile-tab-stage.profile-tab-leaving,.profile-tab-stage.profile-tab-enter{opacity:1!important;transform:none!important;}
}


/* ========================================================================== */
/* v1.2.12 — fixed school audience: no audience picker anywhere              */
/* ========================================================================== */
.composer-audience-static{
  cursor:default!important;pointer-events:none!important;
  background:var(--theme-raised, #e9eef5)!important;color:var(--theme-muted, #344b66)!important;
  box-shadow:none!important;user-select:none;
}
.composer-audience-static:hover{background:var(--theme-hover, #e9eef5)!important;transform:none!important;}
.composer-audience-static>svg{flex:0 0 auto;}
.school-audience-static{height:42px!important;padding:0 12px!important;border:1px solid var(--theme-border, #dbe5f0)!important;border-radius:10px!important;background:var(--surface)!important;color:var(--text)!important;font-size:11px!important;}

/* v1.2.13 — School+ supplied brand assets */
.brand-logo-image,.brand-mark-image{display:block;object-fit:contain;object-position:left center;}
.brand-mark-image{flex:0 0 auto;}
.loading-logo-image{width:210px;max-height:72px;}
.public-brand-image{display:inline-flex!important;align-items:center!important;width:max-content!important;}
.public-logo-image{width:220px;max-height:74px;}
.public-brand-centered .public-logo-image{margin-inline:auto;}
.auth-visual-brand .auth-visual-mark{filter:brightness(0) invert(1);width:46px!important;height:46px!important;object-fit:contain;}
.lp-app-brand .lp-app-mark{width:30px!important;height:30px!important;}
.sidebar-footer-mark{width:38px!important;height:38px!important;}
.startup-fallback-logo-image{display:flex!important;align-items:center!important;justify-content:center!important;}
.startup-full-brand-image{display:block;width:min(260px,72vw);max-height:86px;object-fit:contain;}


.lp-logo{filter:brightness(0) invert(1) grayscale(1) brightness(4)!important;}
@media(max-width:640px){.public-logo-image{width:185px;max-height:64px;}.loading-logo-image{width:180px;}.sidebar-footer-mark{width:34px!important;height:34px!important;}}

/* v1.2.12 logo contrast hotfix */
.admin-sidebar .admin-brand-image-wrap{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0 2px 12px!important;margin:0 0 14px!important;}
.admin-sidebar .admin-logo-image,.admin-sidebar .brand-logo-image{filter:brightness(0) invert(1)!important;}
.admin-sidebar .admin-brand-image-wrap>small{color:var(--theme-text, #dcecff)!important;font-weight:800!important;padding-left:2px!important;}

/* ========================================================================== */
/* v1.2.12 — polls + alumni follow-up                                        */
/* ========================================================================== */
.poll-feed-card{padding:18px 18px 16px!important;border-color:var(--theme-border, #cfe1f6)!important;background:var(--theme-surface, linear-gradient(180deg,#fbfdff,#f5f9ff))!important;}
.poll-card-head{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;margin-bottom:12px;}.poll-card-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--theme-raised, #e7f2ff);color:var(--theme-accent, #0878f9);}.poll-card-head>div{display:flex;flex-direction:column;min-width:0;}.poll-card-head small{font-size:8px;font-weight:850;letter-spacing:.1em;color:var(--theme-muted, #5584b8);}.poll-card-head strong{font-size:16px;color:var(--theme-text, #102c4c);line-height:1.25;}.poll-feed-card>p{font-size:12px;line-height:1.55;color:var(--theme-muted, #5d7188);margin:0 0 13px;}.poll-card-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:13px;}.poll-card-meta span{font-size:9px;font-weight:750;color:var(--theme-muted, #57708e);background:var(--theme-raised, #edf4fb);border-radius:999px;padding:5px 8px;}.poll-feed-card>.poll-open{min-height:38px;font-size:11px;}.poll-feed-card.answered{opacity:.88;}
.poll-wizard-head small{display:block;font-size:9px;font-weight:850;color:var(--theme-accent, #0878f9);text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px;}.poll-wizard-progress{display:flex;gap:5px;margin:2px 0 18px;}.poll-wizard-progress i{height:5px;border-radius:99px;background:var(--theme-raised, #dfe8f2);flex:1;}.poll-wizard-progress i.active{background:var(--theme-selected, #0878f9);}.poll-wizard-progress i.done{background:var(--theme-raised, #75aef5);}.poll-wizard-page{min-height:230px;}.poll-wizard-question{font-size:20px;line-height:1.35;color:var(--theme-text, #102c4c);margin:0 0 16px;}.poll-wizard-options{display:grid;gap:9px;}.poll-answer-option{display:flex;align-items:center;gap:11px;border:1px solid var(--theme-border, #dce6f0);border-radius:11px;padding:13px 14px;background:var(--theme-surface, #fff);cursor:pointer;transition:.15s ease;}.poll-answer-option:hover{border-color:var(--theme-border, #a9c9ee);background:var(--theme-hover, #f8fbff);}.poll-answer-option.selected{border-color:var(--theme-control-border, #0878f9);background:var(--theme-raised, #eef6ff);box-shadow:var(--theme-shadow, 0 0 0 2px rgba(8,120,249,.08));}.poll-answer-option input{accent-color:var(--theme-accent, #0878f9);}.poll-answer-option span{font-size:12px;font-weight:650;color:var(--theme-muted, #294762);}.poll-wizard-actions{align-items:center;}.poll-wizard-actions .poll-later{margin-left:auto;}
.alumni-completion-card{padding:24px;max-width:820px;margin:0 auto 35px;}.alumni-path-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px;}.alumni-path-option{position:relative;}.alumni-path-option>input{position:absolute;opacity:0;pointer-events:none;}.alumni-path-option>span{min-height:95px;border:1px solid var(--theme-border, #dbe5ef);border-radius:13px;padding:15px;display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:10px;background:var(--theme-surface, #fff);cursor:pointer;}.alumni-path-option>span>svg{grid-row:1/3;width:26px!important;height:26px!important;color:var(--theme-muted, #5684b6);}.alumni-path-option strong{font-size:13px;color:var(--theme-text, #183754);}.alumni-path-option small{font-size:9.5px;color:var(--theme-muted, #73879b);line-height:1.4;}.alumni-path-option>input:checked+span{border-color:var(--theme-accent, #0878f9);background:var(--theme-raised, #eef6ff);box-shadow:var(--theme-shadow, 0 0 0 2px rgba(8,120,249,.08));}.alumni-path-option>input:checked+span>svg{color:var(--theme-accent, #0878f9);}.alumni-certificate-toggle{display:flex;gap:11px;align-items:flex-start;padding:13px 14px;border:1px solid var(--theme-border, #e0e7ef);border-radius:11px;margin:14px 0;background:var(--theme-raised, #f9fbfd);}.alumni-certificate-toggle input{margin-top:3px;accent-color:var(--theme-accent, #0878f9);}.alumni-certificate-toggle span{display:flex;flex-direction:column;}.alumni-certificate-toggle strong{font-size:11.5px;color:var(--theme-text, #27455f);}.alumni-certificate-toggle small{font-size:9.5px;color:var(--theme-muted, #728499);margin-top:3px;}.alumni-completion-actions{display:flex;justify-content:space-between;gap:9px;margin-top:18px;}.alumni-review-summary{display:flex;gap:10px;align-items:center;padding:13px;border:1px solid var(--theme-border, #dfe8f1);border-radius:11px;background:var(--theme-raised, #f7fafe);}.alumni-review-summary>span{width:38px;height:38px;border-radius:10px;background:var(--theme-raised, #e8f3ff);color:var(--theme-accent, #0878f9);display:grid;place-items:center;}.alumni-review-summary>div{display:flex;flex-direction:column;gap:3px;}.alumni-review-summary strong{font-size:11px;color:var(--theme-muted, #294762);}.alumni-review-summary small{font-size:9.5px;color:var(--theme-muted, #71859b);}
.poll-builder-section form{display:grid;gap:16px;}.poll-destination-box{border:1px solid var(--theme-border, #dfe8f1);border-radius:12px;padding:14px;background:var(--theme-raised, #f8fbfe);display:grid;gap:8px;}.poll-destination-box>strong{font-size:11px;color:var(--theme-muted, #294762);margin-bottom:2px;}.poll-builder-question{border:1px solid var(--theme-border, #dce6ef);border-radius:13px;padding:15px;background:var(--theme-surface, #fff);margin-bottom:12px;}.poll-builder-question>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;}.poll-builder-question>header strong{font-size:12px;color:var(--theme-text, #183c61);}.poll-builder-question>label{display:grid;gap:6px;font-size:10px;font-weight:750;color:var(--theme-muted, #50677e);}.poll-builder-question textarea,.poll-builder-option input{border:1px solid var(--theme-control-border, #d9e4ee);border-radius:9px;padding:10px 11px;color:var(--theme-text, #18344f);background:var(--theme-raised, #fff);}.poll-builder-options{display:grid;gap:7px;margin:10px 0;}.poll-builder-option{display:grid;grid-template-columns:1fr 36px;gap:6px;}.poll-builder-option .icon-button{width:36px;height:36px;background:var(--theme-raised, #f5f7fa);color:var(--theme-muted, #7b8da0);}.poll-builder-submit{justify-content:flex-end;}.admin-poll-list{display:grid;gap:12px;}.admin-poll-card{border:1px solid var(--theme-border, #dfe7f0);border-radius:13px;padding:15px;background:var(--theme-surface, #fff);}.admin-poll-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}.admin-poll-card h3{margin:3px 0 4px;font-size:15px;color:var(--theme-text, #163653);}.admin-poll-card header small{font-size:8.5px;color:var(--theme-muted, #8a9aac);}.admin-poll-card header p{font-size:10px;color:var(--theme-muted, #6f8295);margin:0;}.admin-poll-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0;}.admin-poll-tags span{font-size:8.5px;font-weight:750;padding:5px 8px;border-radius:999px;background:var(--theme-raised, #edf5ff);color:var(--theme-muted, #356da7);}.admin-poll-card details{border-top:1px solid var(--theme-border, #ebf0f5);padding-top:10px;}.admin-poll-card summary{cursor:pointer;font-size:10px;font-weight:750;color:var(--theme-muted, #43617d);}.admin-poll-results{display:grid;gap:14px;margin-top:12px;}.admin-poll-results section>strong{font-size:10.5px;color:var(--theme-text, #284761);display:block;margin-bottom:8px;}.poll-result-row{display:grid;grid-template-columns:minmax(120px,1fr) 34px 1fr;gap:8px;align-items:center;margin:6px 0;}.poll-result-row span{font-size:9px;color:var(--theme-muted, #526a81);}.poll-result-row b{font-size:9px;text-align:right;color:var(--theme-muted, #2e4d69);}.poll-result-row>i{height:6px;background:var(--theme-raised, #edf2f7);border-radius:99px;overflow:hidden;}.poll-result-row>i>em{display:block;height:100%;background:var(--theme-raised, #0878f9);border-radius:99px;}.admin-poll-card>.admin-inline-actions{margin-top:12px;}.duration-control{display:grid;grid-template-columns:minmax(150px,1fr) minmax(140px,1fr) auto;gap:10px;align-items:end;margin:14px 0 8px;}.duration-control label{display:grid;gap:5px;font-size:9px;font-weight:750;color:var(--theme-muted, #5c7187);}.duration-control input,.duration-control select{height:40px;border:1px solid var(--theme-control-border, #d9e4ee);border-radius:9px;padding:0 10px;background:var(--theme-raised, #fff);color:var(--theme-text, #17344f);}.alumni-review-settings>small{font-size:9px;color:var(--theme-muted, #71869a);}.admin-user-card-facts{grid-template-columns:repeat(4,minmax(0,1fr))!important;}

@media(max-width:720px){.alumni-path-grid{grid-template-columns:1fr;}.alumni-completion-card{padding:16px;border-radius:0;border-left:0;border-right:0;}.poll-card-head{grid-template-columns:38px 1fr;}.poll-card-head>.status{grid-column:2;}.poll-wizard-page{min-height:250px;}.poll-wizard-actions{flex-wrap:wrap;}.poll-wizard-actions .poll-next{margin-left:auto;}.duration-control{grid-template-columns:1fr 1fr;}.duration-control .primary-button{grid-column:1/-1;}.admin-user-card-facts{grid-template-columns:1fr 1fr!important;}.poll-result-row{grid-template-columns:1fr 30px;}.poll-result-row>i{grid-column:1/-1;}}
/* ========================================================================== */
/* v1.2.12 — poll interaction + professional builder + alumni UX refinement  */
/* ========================================================================== */
[hidden]{display:none!important;}

/* Alumni completion */
.alumni-profile-page{width:min(900px,calc(100% - 28px));margin:22px auto 48px;}
.alumni-profile-hero{display:flex;align-items:flex-start;gap:16px;padding:8px 4px 18px;}
.alumni-hero-icon{width:54px;height:54px;flex:0 0 54px;border-radius:16px;display:grid;place-items:center;background:var(--theme-surface, linear-gradient(145deg,#e8f3ff,#dbeaff));color:var(--theme-accent, #0d6ee8);border:1px solid var(--theme-border, #cfe0f3);}
.alumni-profile-hero>div{min-width:0;}.alumni-profile-hero small{display:block;font-size:9px;font-weight:850;letter-spacing:.11em;color:var(--theme-accent, #0b72ef);margin:1px 0 6px;}.alumni-profile-hero h1{margin:0;color:var(--theme-text, #122f4d);font-size:27px;letter-spacing:-.7px;}.alumni-profile-hero p{margin:7px 0 0;color:var(--theme-muted, #687d92);font-size:12px;line-height:1.55;max-width:690px;}
.alumni-completion-card{padding:0!important;overflow:hidden;border-radius:18px!important;}
.alumni-flow-section{padding:24px 26px;border-bottom:1px solid var(--theme-border, #e8eef5);}
.alumni-flow-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px;}.alumni-flow-heading>span{width:29px;height:29px;border-radius:9px;background:var(--theme-raised, #0c71ea);color:var(--theme-text, #fff);display:grid;place-items:center;font-size:11px;font-weight:850;box-shadow:var(--theme-shadow, 0 6px 15px rgba(12,113,234,.18));}.alumni-flow-heading>div{display:flex;flex-direction:column;gap:3px;}.alumni-flow-heading strong{font-size:13px;color:var(--theme-text, #173653);}.alumni-flow-heading small{font-size:9.5px;color:var(--theme-muted, #7b8c9d);line-height:1.45;}
.alumni-path-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}.alumni-path-option{position:relative;cursor:pointer;}.alumni-path-option>input{position:absolute;opacity:0;pointer-events:none;}.alumni-path-option>span{position:relative;min-height:102px;border:1px solid var(--theme-border, #dce5ef);border-radius:14px;padding:15px 46px 15px 15px;background:var(--theme-surface, #fff);display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:center;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;}.alumni-path-option:hover>span{border-color:var(--theme-border, #b6d1ef);transform:translateY(-1px);}.alumni-path-icon{width:40px;height:40px;border-radius:12px;background:var(--theme-raised, #eef5fc);color:var(--theme-muted, #4f769d);display:grid;place-items:center;}.alumni-path-option b{display:flex;flex-direction:column;gap:4px;font-style:normal;}.alumni-path-option strong{font-size:13px;color:var(--theme-text, #1b3a58);}.alumni-path-option small{font-size:9.5px;color:var(--theme-muted, #778a9d);line-height:1.4;font-weight:500;}.alumni-path-check{position:absolute;right:14px;top:14px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--theme-raised, #eef2f6);color:var(--theme-muted, #a2adba);transition:.16s ease;}.alumni-path-option>input:checked+span{border-color:var(--theme-accent, #1980f7);background:var(--theme-raised, #f1f7ff);box-shadow:var(--theme-shadow, 0 0 0 3px rgba(25,128,247,.08));}.alumni-path-option>input:checked+span .alumni-path-icon{background:var(--theme-raised, #0d72ef);color:var(--theme-text, #fff);}.alumni-path-option>input:checked+span .alumni-path-check{background:var(--theme-raised, #13865d);color:var(--theme-text, #fff);}.alumni-choice-hint{margin:10px 1px 0;font-size:9.5px;color:var(--theme-warning, #8b5a34);min-height:15px;}.alumni-choice-hint.valid{color:var(--theme-muted, #4f748f);}.alumni-choice-hint.error{color:var(--theme-danger, #bd3542);font-weight:750;}
.alumni-selected-details{display:grid;gap:0;}.alumni-detail-panel{padding:22px 26px;border-bottom:1px solid var(--theme-border, #e8eef5);background:var(--theme-surface, #fbfdff);}.alumni-detail-head{display:flex;align-items:center;gap:10px;margin-bottom:13px;}.alumni-detail-head>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--theme-raised, #eaf4ff);color:var(--theme-accent, #0b72ef);}.alumni-detail-head>div{display:flex;flex-direction:column;gap:2px;}.alumni-detail-head strong{font-size:12px;color:var(--theme-text, #1e3e5b);}.alumni-detail-head small{font-size:9px;color:var(--theme-muted, #8191a2);}.alumni-detail-panel label,.alumni-certificates-detail label{display:grid;gap:6px;}.alumni-detail-panel label>span,.alumni-certificates-detail label>span{font-size:9.5px;font-weight:780;color:var(--theme-muted, #587087);}.alumni-detail-panel input,.alumni-certificates-detail textarea{width:100%;border:1px solid var(--theme-control-border, #d8e3ed);border-radius:10px;background:var(--theme-raised, #fff);color:var(--theme-text, #183751);outline:0;padding:11px 12px;transition:border-color .15s ease,box-shadow .15s ease;}.alumni-detail-panel input:focus,.alumni-certificates-detail textarea:focus{border-color:var(--theme-accent, #4d9cf6);box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(13,114,239,.09));}
.alumni-cert-section{border-bottom:0;}.alumni-cert-toggle{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;padding:14px;border:1px solid var(--theme-border, #dfe7ef);border-radius:13px;background:var(--theme-raised, #f9fbfd);cursor:pointer;}.alumni-cert-toggle>input{position:absolute;opacity:0;pointer-events:none;}.alumni-switch{width:42px;height:24px;border-radius:99px;background:var(--theme-raised, #cfd9e4);position:relative;transition:.17s ease;}.alumni-switch i{position:absolute;width:18px;height:18px;border-radius:50%;background:var(--theme-surface, #fff);left:3px;top:3px;box-shadow:var(--theme-shadow, 0 2px 6px rgba(15,38,61,.16));transition:.17s ease;}.alumni-cert-toggle>input:checked+.alumni-switch{background:var(--theme-accent, #0d72ef);}.alumni-cert-toggle>input:checked+.alumni-switch i{transform:translateX(18px);}.alumni-cert-toggle>span:last-child{display:flex;flex-direction:column;gap:3px;}.alumni-cert-toggle strong{font-size:11px;color:var(--theme-muted, #294963);}.alumni-cert-toggle small{font-size:9px;color:var(--theme-muted, #7d8fa1);line-height:1.4;}.alumni-certificates-detail{margin-top:12px;padding:14px;border:1px solid var(--theme-border, #dfe7ef);border-radius:12px;background:var(--theme-surface, #fff);}
.alumni-profile-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 26px;background:var(--theme-raised, #f8fafc);border-top:1px solid var(--theme-border, #e8eef5);}.alumni-save-note{display:flex;align-items:center;gap:8px;color:var(--theme-muted, #6c8195);font-size:9.5px;}.alumni-save-note svg{color:var(--theme-muted, #4f779c);flex:none;}.alumni-completion-actions{display:flex;gap:8px;margin:0!important;}.alumni-save-button{min-width:165px;}.alumni-save-button svg{transition:transform .15s ease;}.alumni-save-button:hover svg{transform:translateX(2px);}.alumni-profile-footer+.form-message{padding:0 26px 18px;background:var(--theme-raised, #f8fafc);color:var(--theme-danger, #b63843);font-size:10px;}

/* Poll cards and answering */
.poll-feed-card{position:relative;overflow:hidden;}.poll-card-accent{position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--theme-accent, linear-gradient(180deg,#0b79f7,#4aa4ff));}.poll-card-meta span{display:inline-flex;align-items:center;gap:5px;}.poll-card-meta svg{width:13px!important;height:13px!important;}.poll-open{min-width:154px;}
.poll-wizard-shell{min-width:0;}.poll-wizard-head{padding-bottom:14px!important;border-bottom:1px solid var(--theme-border, #e8eef5);}.poll-wizard-kicker{color:var(--theme-accent, #0d72ef)!important;}.poll-wizard-head h2{margin:3px 0 0!important;font-size:20px!important;color:var(--theme-text, #173653);}.poll-wizard-head p{margin:6px 0 0!important;color:var(--theme-muted, #72869b)!important;font-size:10.5px!important;line-height:1.45!important;}.poll-wizard-status{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;margin:15px 0 5px;}.poll-wizard-counter{font-size:9px;font-weight:850;color:var(--theme-muted, #5c7894);white-space:nowrap;}.poll-wizard-progress{display:flex;gap:5px;margin:0!important;}.poll-wizard-progress i{height:5px;border-radius:999px;background:var(--theme-raised, #e0e8f1);flex:1;transition:.17s ease;}.poll-wizard-progress i.active{background:var(--theme-selected, #0d72ef);}.poll-wizard-progress i.done{background:var(--theme-raised, #77b1f3);}.poll-wizard-page{min-height:260px;padding:18px 0 8px;}.poll-wizard-question{font-size:20px!important;line-height:1.35!important;color:var(--theme-text, #173653)!important;margin:0 0 17px!important;}.poll-wizard-options{display:grid;gap:9px;}.poll-answer-option{appearance:none;width:100%;min-height:52px;border:1px solid var(--theme-border, #dbe5ef);border-radius:12px;padding:8px 12px;background:var(--theme-surface, #fff);display:grid;grid-template-columns:34px 1fr 26px;align-items:center;gap:10px;text-align:left;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease;}.poll-answer-option:hover{border-color:var(--theme-border, #b5d0ef);background:var(--theme-hover, #fbfdff);transform:translateY(-1px);}.poll-option-letter{width:30px;height:30px;border-radius:9px;background:var(--theme-raised, #edf3f9);color:var(--theme-muted, #54728f);display:grid;place-items:center;font-size:10px;font-weight:850;}.poll-option-text{font-size:11.5px;font-weight:670;color:var(--theme-text, #274660);line-height:1.4;}.poll-option-check{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--theme-raised, #eff3f7);color:var(--theme-muted, #a3afbc);opacity:.65;}.poll-answer-option.selected{border-color:var(--theme-control-border, #1680f8);background:var(--theme-raised, #f0f7ff);box-shadow:var(--theme-shadow, 0 0 0 3px rgba(22,128,248,.08));}.poll-answer-option.selected .poll-option-letter{background:var(--theme-raised, #0d72ef);color:var(--theme-text, #fff);}.poll-answer-option.selected .poll-option-check{background:var(--theme-raised, #13885f);color:var(--theme-text, #fff);opacity:1;}.poll-selection-hint{font-size:9.5px;color:var(--theme-muted, #8b99a8);margin:10px 2px 0;min-height:15px;}.poll-selection-hint.ready{color:var(--theme-muted, #4d7a66);}.poll-wizard-actions{border-top:1px solid var(--theme-border, #e8eef5);padding-top:14px!important;margin-top:4px!important;}.poll-wizard-actions .poll-later{margin-left:auto;}.poll-wizard-actions .poll-next{min-width:148px;}.poll-wizard-actions .poll-prev svg{transform:rotate(180deg);}.poll-wizard-actions button:disabled{opacity:.5;cursor:not-allowed;transform:none!important;}

/* Poll admin builder */
.poll-builder-section{padding:0!important;overflow:hidden;}.poll-builder-hero{display:flex;align-items:flex-start;gap:14px;padding:21px 24px;background:var(--theme-surface, linear-gradient(120deg,#f4f9ff,#eef6ff));border-bottom:1px solid var(--theme-border, #dce9f7);}.poll-builder-hero>span{width:45px;height:45px;border-radius:13px;background:var(--theme-raised, #0d72ef);color:var(--theme-text, #fff);display:grid;place-items:center;box-shadow:var(--theme-shadow, 0 8px 18px rgba(13,114,239,.2));}.poll-builder-hero>div{display:flex;flex-direction:column;}.poll-builder-hero small{font-size:8px;color:var(--theme-accent, #0d72ef);font-weight:850;letter-spacing:.12em;}.poll-builder-hero h2{margin:3px 0 4px!important;font-size:18px!important;color:var(--theme-text, #173653)!important;}.poll-builder-hero p{margin:0!important;font-size:10px!important;color:var(--theme-muted, #6f8397)!important;line-height:1.5;}.poll-builder-section form{display:block!important;}.poll-builder-block{padding:22px 24px;border-bottom:1px solid var(--theme-border, #e7edf4);}.poll-builder-block-head{display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:start;margin-bottom:16px;}.poll-builder-block-head>span{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:var(--theme-raised, #e9f3ff);color:var(--theme-accent, #0d72ef);font-size:10px;font-weight:850;}.poll-builder-block-head>div{display:flex;flex-direction:column;gap:2px;}.poll-builder-block-head strong{font-size:12px;color:var(--theme-text, #25445f);}.poll-builder-block-head small{font-size:9px;color:var(--theme-muted, #7e90a2);}.poll-builder-fields{display:grid;gap:12px;padding-left:40px;}.poll-builder-fields label{display:grid;gap:6px;}.poll-builder-fields label>span,.poll-question-field>span,.poll-options-label>span{font-size:9.5px;font-weight:780;color:var(--theme-muted, #567087);}.poll-builder-fields label>span small{font-weight:600;color:var(--theme-muted, #98a5b2);margin-left:3px;}.poll-builder-fields input,.poll-builder-fields textarea,.poll-question-field textarea,.poll-option-input{width:100%;border:1px solid var(--theme-control-border, #d9e4ee);border-radius:10px;padding:10px 11px;background:var(--theme-raised, #fff);color:var(--theme-text, #183751);outline:0;transition:border-color .15s ease,box-shadow .15s ease;}.poll-builder-fields input:focus,.poll-builder-fields textarea:focus,.poll-question-field textarea:focus,.poll-option-input:focus{border-color:var(--theme-accent, #4c9cf6);box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(13,114,239,.08));}
.poll-destination-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-left:40px;}.poll-destination-choice{position:relative;display:grid;grid-template-columns:38px 1fr 24px;align-items:center;gap:10px;padding:14px;border:1px solid var(--theme-border, #dfe7ef);border-radius:12px;background:var(--theme-surface, #fff);cursor:pointer;transition:.16s ease;}.poll-destination-choice:hover{border-color:var(--theme-border, #b8d1ec);}.poll-destination-choice>input{position:absolute;opacity:0;pointer-events:none;}.poll-destination-icon{width:38px;height:38px;border-radius:11px;background:var(--theme-raised, #edf4fb);color:var(--theme-muted, #51799e);display:grid;place-items:center;}.poll-destination-choice>span:nth-of-type(2){display:flex;flex-direction:column;gap:3px;}.poll-destination-choice strong{font-size:11px;color:var(--theme-text, #274660);}.poll-destination-choice small{font-size:8.7px;color:var(--theme-muted, #7f91a3);line-height:1.35;}.poll-destination-choice>i{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--theme-raised, #eef2f6);color:var(--theme-muted, #a6b0bc);}.poll-destination-choice>input:checked~.poll-destination-icon{background:var(--theme-raised, #0d72ef);color:var(--theme-text, #fff);}.poll-destination-choice:has(input:checked){border-color:var(--theme-accent, #1880f7);background:var(--theme-raised, #f2f8ff);box-shadow:var(--theme-shadow, 0 0 0 2px rgba(24,128,247,.06));}.poll-destination-choice>input:checked~i{background:var(--theme-raised, #13875f);color:var(--theme-text, #fff);}
.poll-questions-block{background:var(--theme-surface, #fbfcfe);}.poll-add-question-top{min-height:36px!important;font-size:9.5px!important;}.poll-question-builder{display:grid;gap:12px;padding-left:40px;}.poll-builder-question{margin:0!important;padding:0!important;border:1px solid var(--theme-border, #dce5ee)!important;border-radius:14px!important;background:var(--theme-surface, #fff)!important;overflow:hidden;}.poll-builder-question>header{display:grid!important;grid-template-columns:34px 1fr auto!important;gap:10px!important;align-items:center!important;margin:0!important;padding:11px 12px!important;background:var(--theme-raised, #f7f9fc);border-bottom:1px solid var(--theme-border, #e5ebf1);}.poll-question-index{width:30px;height:30px;border-radius:9px;background:var(--theme-raised, #e7f2ff);color:var(--theme-accent, #0d72ef);display:grid;place-items:center;font-size:10px;font-weight:850;}.poll-builder-question>header>div:nth-child(2){display:flex;flex-direction:column;gap:2px;}.poll-builder-question>header strong{font-size:10.5px!important;color:var(--theme-muted, #294965)!important;}.poll-builder-question>header small{font-size:8px;color:var(--theme-muted, #8495a6);}.poll-question-tools{display:flex;gap:3px;}.poll-question-tools .icon-button{width:31px!important;height:31px!important;background:var(--theme-surface, #fff)!important;border:1px solid var(--theme-control-border, #e1e8ef)!important;color:var(--theme-muted, #687d91)!important;font-size:12px;}.poll-question-tools .poll-remove-question{color:var(--theme-danger, #a8454e)!important;}.poll-question-tools button:disabled{opacity:.35;}.poll-question-field{display:grid;gap:6px;padding:14px 14px 5px;}.poll-question-field textarea{resize:vertical;}.poll-options-label{display:flex;align-items:center;justify-content:space-between;padding:10px 14px 6px;}.poll-options-label small{font-size:8px;color:var(--theme-muted, #91a0ae);}.poll-builder-options{display:grid!important;gap:7px!important;margin:0!important;padding:0 14px;}.poll-builder-option{display:grid!important;grid-template-columns:30px 1fr 34px!important;gap:7px!important;align-items:center;}.poll-option-index{width:28px;height:34px;border-radius:8px;background:var(--theme-raised, #edf3f8);color:var(--theme-muted, #5e7891);display:grid;place-items:center;font-size:9px;font-weight:850;}.poll-option-input{height:36px!important;padding:0 10px!important;}.poll-remove-option{width:34px!important;height:34px!important;background:var(--theme-raised, #f7f9fb)!important;color:var(--theme-muted, #8a97a5)!important;border:1px solid var(--theme-border, #e3e9ef)!important;}.poll-add-option{margin:10px 14px 14px;border:0;background:transparent;color:var(--theme-accent, #0d72ef);font-size:9.5px;font-weight:780;display:inline-flex;align-items:center;gap:5px;padding:5px 3px;}.poll-add-option:hover{text-decoration:underline;}.poll-builder-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 24px;background:var(--theme-raised, #f8fafc);}.poll-builder-summary{display:flex;align-items:center;gap:9px;}.poll-builder-summary>span{width:34px;height:34px;border-radius:10px;background:var(--theme-raised, #eaf3fc);color:var(--theme-muted, #53799d);display:grid;place-items:center;}.poll-builder-summary>div{display:flex;flex-direction:column;gap:2px;}.poll-builder-summary strong{font-size:10.5px;color:var(--theme-muted, #2b4a65);}.poll-builder-summary small{font-size:8.5px;color:var(--theme-muted, #8797a6);}.poll-create-submit{min-width:170px;}.poll-builder-message{padding:0 24px 16px;background:var(--theme-raised, #f8fafc);color:var(--theme-danger, #b43945);font-size:9.5px;}

@media(max-width:720px){.alumni-profile-page{width:100%;margin:8px 0 32px;}.alumni-profile-hero{padding:14px 16px;}.alumni-hero-icon{width:46px;height:46px;flex-basis:46px;border-radius:13px;}.alumni-profile-hero h1{font-size:23px;}.alumni-completion-card{border-left:0!important;border-right:0!important;border-radius:0!important;}.alumni-flow-section,.alumni-detail-panel{padding:19px 16px;}.alumni-path-grid{grid-template-columns:1fr;}.alumni-profile-footer{align-items:stretch;flex-direction:column;padding:15px 16px;}.alumni-completion-actions{width:100%;}.alumni-completion-actions>*{flex:1;}.alumni-save-note{order:2;}.poll-wizard-status{grid-template-columns:1fr;}.poll-wizard-page{min-height:280px;}.poll-wizard-question{font-size:18px!important;}.poll-answer-option{grid-template-columns:32px 1fr 24px;padding:8px 9px;}.poll-wizard-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;}.poll-wizard-actions .poll-later{margin:0!important;}.poll-wizard-actions .poll-next{grid-column:2;grid-row:1;}.poll-wizard-actions .poll-prev{grid-column:1;grid-row:1;}.poll-builder-hero,.poll-builder-block,.poll-builder-footer{padding-left:15px;padding-right:15px;}.poll-builder-fields,.poll-destination-grid,.poll-question-builder{padding-left:0;}.poll-destination-grid{grid-template-columns:1fr;}.poll-builder-block-head{grid-template-columns:30px 1fr;}.poll-add-question-top{grid-column:1/-1;margin-top:5px;}.poll-builder-footer{align-items:stretch;flex-direction:column;}.poll-create-submit{width:100%;}.poll-builder-question>header{grid-template-columns:30px 1fr;}.poll-question-tools{grid-column:1/-1;justify-content:flex-end;}.poll-builder-summary{align-items:flex-start;}}


/* v1.2.12 features-03 — poll analytics, alumni profile visibility, operator stability */
.alumni-visibility-field{margin-top:12px;}.alumni-visibility-field select{width:100%;height:42px;border:1px solid var(--theme-control-border, #d8e3ed);border-radius:10px;background:var(--theme-raised, #fff);color:var(--theme-text, #183751);padding:0 11px;}.privacy-group-title{padding:18px 2px 6px!important;border:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;}.privacy-group-title strong{font-size:11px;color:var(--theme-text, #183753);}.privacy-group-title small{font-size:9px;color:var(--theme-muted, #8293a5);}.profile-career-card{margin-top:17px;border:1px solid var(--theme-border, #dfe7f0);border-radius:13px;overflow:hidden;background:var(--theme-surface, #fbfdff);}.profile-career-card>h3{margin:0!important;padding:12px 14px;border-bottom:1px solid var(--theme-border, #e7edf4);font-size:11px!important;color:var(--theme-text, #173653);}.profile-career-row{display:grid;grid-template-columns:32px 1fr;gap:10px;align-items:start;padding:11px 14px;border-top:1px solid var(--theme-border, #edf2f6);}.profile-career-row:first-of-type{border-top:0;}.profile-career-row>span{width:32px;height:32px;border-radius:9px;background:var(--theme-raised, #eaf4ff);color:var(--theme-accent, #0b72ef);display:grid;place-items:center;}.profile-career-row>div{display:grid;gap:2px;min-width:0;}.profile-career-row small{font-size:8.5px;color:var(--theme-muted, #8494a4);}.profile-career-row strong{font-size:10.5px;color:var(--theme-text, #284760);line-height:1.45;white-space:pre-wrap;}
.poll-card-overview{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;margin:13px 0;}.poll-card-overview>div{padding:11px 12px;border:1px solid var(--theme-border, #e2e9f1);border-radius:10px;background:var(--theme-raised, #f9fbfd);display:flex;flex-direction:column;gap:4px;}.poll-card-overview small{font-size:8.5px;color:var(--theme-muted, #8091a2);}.poll-card-overview strong{font-size:11px;color:var(--theme-text, #25445f);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.poll-analytics-modal{width:min(1120px,calc(100vw - 34px))!important;max-height:min(90vh,900px)!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;}.poll-analytics-head{padding:22px 24px 15px;margin:0!important;border-bottom:1px solid var(--theme-border, #e5ecf3);}.poll-analytics-head>div>small{font-size:8px;font-weight:850;letter-spacing:.12em;color:var(--theme-accent, #0c72ed);}.poll-analytics-head h2{margin:4px 0!important;font-size:22px!important;}.poll-analytics-head p{max-width:720px;margin:0!important;}.poll-analytics-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-bottom:1px solid var(--theme-border, #e5ecf3);background:var(--theme-surface, #fbfdff);}.poll-analytics-metrics>div{padding:15px 18px;border-right:1px solid var(--theme-border, #e9eef4);display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto auto;column-gap:9px;align-items:center;}.poll-analytics-metrics>div:last-child{border-right:0;}.poll-analytics-metrics>div>span{grid-row:1/4;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--theme-raised, #eaf4ff);color:var(--theme-accent, #0878f9);}.poll-analytics-metrics small{font-size:8px;color:var(--theme-muted, #8294a6);}.poll-analytics-metrics strong{font-size:16px;color:var(--theme-text, #173653);line-height:1.2;}.poll-analytics-metrics em{font-size:7.5px;color:var(--theme-muted, #91a0af);font-style:normal;}.poll-analytics-tabs{display:flex;gap:5px;padding:9px 18px;border-bottom:1px solid var(--theme-border, #e6edf4);background:var(--theme-surface, #fff);}.poll-analytics-tabs button{border:0;background:transparent;padding:9px 13px;border-radius:8px;color:var(--theme-muted, #60758a);font-size:10px;font-weight:760;}.poll-analytics-tabs button.active{background:var(--theme-selected, #eaf4ff);color:var(--theme-accent, #086cdd);}.poll-analytics-body{overflow:auto;padding:18px 22px 28px;background:var(--theme-surface, #f5f8fb);flex:1;min-height:0;}.poll-summary-intro{display:flex;align-items:baseline;gap:8px;margin:1px 2px 14px;}.poll-summary-intro strong{font-size:13px;color:var(--theme-text, #173653);}.poll-summary-intro span{font-size:9px;color:var(--theme-muted, #7f91a3);}.poll-analysis-question{background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dfe7f0);border-radius:14px;padding:16px;margin-bottom:13px;}.poll-analysis-question>header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:14px;}.poll-analysis-question header small{font-size:8px;color:var(--theme-accent, #0878f9);font-weight:800;text-transform:uppercase;letter-spacing:.08em;}.poll-analysis-question h3{font-size:13px;color:var(--theme-text, #193954);margin:3px 0 0;}.poll-analysis-question header>span{font-size:8.5px;color:var(--theme-muted, #8596a7);background:var(--theme-raised, #f1f5f8);padding:5px 8px;border-radius:999px;white-space:nowrap;}.poll-analysis-chart-grid{display:grid;grid-template-columns:145px 1fr;gap:20px;align-items:center;}.poll-donut{width:126px;height:126px;border-radius:50%;display:grid;place-items:center;margin:auto;position:relative;}.poll-donut:after{content:"";position:absolute;inset:23px;background:var(--theme-surface, #fff);border-radius:50%;box-shadow:var(--theme-shadow, inset 0 0 0 1px #eef2f6);}.poll-donut>i{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;font-style:normal;}.poll-donut strong{font-size:20px;color:var(--theme-text, #173653);}.poll-donut small{font-size:8px;color:var(--theme-muted, #8a99a8);}.poll-analysis-bars{display:grid;gap:10px;}.poll-analysis-bar>div{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:4px;}.poll-analysis-bar span{display:flex;gap:7px;align-items:center;font-size:9.5px;color:var(--theme-muted, #4d657b);}.poll-analysis-bar span>b{width:8px;height:8px;border-radius:50%;background:var(--dot);flex:none;}.poll-analysis-bar strong{font-size:9px;color:var(--theme-muted, #516a81);white-space:nowrap;}.poll-analysis-bar>i{display:block;height:7px;border-radius:99px;background:var(--theme-raised, #edf2f6);overflow:hidden;}.poll-analysis-bar>i>em{display:block;height:100%;border-radius:99px;}.poll-question-review-layout,.poll-individual-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px;min-height:420px;}.poll-question-review-layout>aside,.poll-individual-layout>aside{background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dfe7f0);border-radius:13px;padding:12px;height:max-content;max-height:630px;overflow:auto;}.poll-question-review-layout>aside h3{font-size:10px;color:var(--theme-text, #294760);padding:2px 4px 8px;margin:0;}.poll-question-jump{width:100%;border:0;background:transparent;border-radius:9px;padding:9px;display:grid;grid-template-columns:25px 1fr;gap:8px;text-align:left;align-items:start;color:var(--theme-muted, #587086);font-size:9px;line-height:1.35;}.poll-question-jump>span{width:25px;height:25px;border-radius:7px;background:var(--theme-raised, #eef3f7);display:grid;place-items:center;font-weight:800;}.poll-question-jump.active{background:var(--theme-selected, #edf5ff);color:var(--theme-accent, #145fba);}.poll-question-jump.active>span{background:var(--theme-selected, #0878f9);color:var(--theme-text, #fff);}.poll-question-review-layout>main,.poll-individual-layout>main{min-width:0;}.poll-question-focus>.poll-analysis-question{margin-bottom:10px;}.poll-answer-people{background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dfe7f0);border-radius:13px;padding:10px 14px;}.poll-answer-people details{border-top:1px solid var(--theme-border, #edf1f5);padding:8px 0;}.poll-answer-people details:first-child{border-top:0;}.poll-answer-people summary{cursor:pointer;display:flex;justify-content:space-between;gap:10px;font-size:9px;color:var(--theme-muted, #4d657c);}.poll-answer-people details>div{padding:8px 2px 2px;display:flex;flex-wrap:wrap;gap:6px;}.poll-answer-people details>div>span{display:flex;align-items:center;gap:5px;padding:4px 7px;background:var(--theme-raised, #f4f7fa);border-radius:8px;font-size:8.5px;color:var(--theme-muted, #4f667b);}.poll-answer-people details>div small{font-size:8.5px;color:var(--theme-muted, #8a9bad);}.poll-response-list-head{display:flex;align-items:center;justify-content:space-between;padding:3px 4px 8px;}.poll-response-list-head h3{margin:0;font-size:10px;color:var(--theme-text, #294760);}.poll-response-list-head span{font-size:8.5px;color:var(--theme-muted, #71879b);background:var(--theme-raised, #eef3f7);padding:4px 7px;border-radius:999px;}.poll-response-list-row{width:100%;display:grid;grid-template-columns:38px 1fr auto 17px;gap:8px;align-items:center;text-align:left;border:0;background:transparent;border-radius:9px;padding:8px;color:var(--theme-muted, #36536d);}.poll-response-list-row:hover,.poll-response-list-row.active{background:var(--theme-hover, #edf5ff);}.poll-response-list-row span{display:grid;gap:2px;min-width:0;}.poll-response-list-row strong{font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.poll-response-list-row small,.poll-response-list-row time{font-size:7.5px;color:var(--theme-muted, #8a9bad);}.poll-response-pagination{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:10px 2px 0;border-top:1px solid var(--theme-border, #edf1f5);margin-top:8px;}.poll-response-pagination button{min-height:32px;padding:0 9px;font-size:8px;}.poll-response-pagination span{font-size:8px;color:var(--theme-muted, #7f91a3);}.poll-individual-response{background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dfe7f0);border-radius:13px;padding:18px;}.poll-individual-person{display:flex;gap:11px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--theme-border, #eaf0f5);}.poll-individual-person h3{margin:0;font-size:14px;color:var(--theme-text, #173653);}.poll-individual-person p{margin:2px 0;font-size:9px;color:var(--theme-muted, #6f8498);}.poll-individual-person small{font-size:8px;color:var(--theme-muted, #93a1ae);}.poll-individual-answers{display:grid;gap:9px;margin-top:12px;}.poll-individual-answers article{padding:11px 12px;border:1px solid var(--theme-border, #e5ebf1);border-radius:10px;background:var(--theme-surface, #fbfdff);}.poll-individual-answers small{font-size:7.5px;color:var(--theme-accent, #0c72ed);font-weight:800;}.poll-individual-answers strong{display:block;font-size:9.5px;color:var(--theme-muted, #526b82);margin:3px 0 7px;}.poll-individual-answers p{margin:0;padding:8px 10px;border-radius:8px;background:var(--theme-raised, #eef5fd);color:var(--theme-text, #173d62);font-size:10px;font-weight:730;}.poll-no-responses{padding:30px;text-align:center;color:var(--theme-muted, #8798a9);font-size:10px;}

@media(max-width:800px){.poll-analytics-modal{width:100%!important;max-height:96vh!important;border-radius:16px 16px 0 0!important;}.poll-analytics-metrics{grid-template-columns:1fr 1fr;}.poll-analytics-metrics>div:nth-child(2){border-right:0;}.poll-analytics-metrics>div:nth-child(-n/**/+2){border-bottom:1px solid var(--theme-border, #e9eef4);}.poll-analysis-chart-grid{grid-template-columns:1fr;}.poll-question-review-layout,.poll-individual-layout{grid-template-columns:1fr;}.poll-question-review-layout>aside,.poll-individual-layout>aside{max-height:240px;}.poll-card-overview{grid-template-columns:1fr;}.poll-summary-intro{align-items:flex-start;flex-direction:column;}.poll-analytics-body{padding:13px;}.poll-response-list-row{grid-template-columns:38px 1fr 17px;}.poll-response-list-row time{display:none;}}

/* ========================================================================== */
/* features-05 — system operator feed context + moderation filter rework      */
/* ========================================================================== */
.operator-clean-foot{margin-top:auto!important;}
.operator-feed-control{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,340px);align-items:center;gap:20px;margin-bottom:14px;padding:16px 18px!important;border:1px solid var(--theme-border, #d9e6f4)!important;border-radius:14px!important;background:var(--theme-surface, linear-gradient(135deg,#f8fbff 0%,#eef6ff 100%))!important;box-shadow:var(--theme-shadow, 0 8px 24px rgba(22,73,132,.05))!important;}
.operator-feed-control-copy{display:flex;align-items:center;gap:12px;min-width:0;}.operator-feed-control-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:var(--theme-surface, linear-gradient(145deg,#0878f9,#085fc9));color:var(--theme-text, #fff);box-shadow:var(--theme-shadow, 0 8px 18px rgba(8,120,249,.2));}.operator-feed-control-copy>div{display:grid;gap:3px;}.operator-feed-control-copy strong{font-size:12px;color:var(--theme-text, #153b60);}.operator-feed-control-copy small{font-size:9.2px;line-height:1.5;color:var(--theme-muted, #71879b);}.operator-feed-control>label{display:grid;gap:6px;}.operator-feed-control>label>span{font-size:8.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--theme-muted, #6e86a0);}.operator-feed-control select{width:100%;min-height:42px;border-radius:10px!important;border:1px solid var(--theme-control-border, #cfe0f1)!important;background:var(--theme-raised, #fff)!important;color:var(--theme-text, #173d62)!important;padding:0 38px 0 12px!important;font-weight:720!important;}

.filter-rework-page{display:grid;gap:16px;padding-bottom:24px;}.filter-rework-hero{position:relative;overflow:hidden;min-height:214px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px;padding:28px 30px;border-radius:19px;background:var(--theme-surface, linear-gradient(128deg,#072d55 0%,#064f9d 52%,#0878f9 100%));color:var(--theme-text, #fff);box-shadow:var(--theme-shadow, 0 18px 42px rgba(8,72,142,.18));}.filter-rework-hero:before{content:"";position:absolute;width:330px;height:330px;border-radius:50%;right:-110px;top:-170px;background:var(--theme-hover, rgba(255,255,255,.09));}.filter-rework-hero:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:150px;bottom:-145px;background:var(--theme-hover, rgba(104,190,255,.14));}.filter-rework-hero-copy{position:relative;z-index:2;max-width:660px;}.filter-kicker{display:inline-flex;align-items:center;gap:6px;font-size:8.5px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:var(--theme-muted, #7e9bb8);}.filter-rework-hero .filter-kicker{color:var(--theme-text, #bfe1ff);}.filter-rework-hero h2{font-size:27px;line-height:1.05;letter-spacing:-.7px;margin:9px 0 9px;}.filter-rework-hero p{max-width:620px;margin:0;color:var(--theme-text, #d4e7fb);font-size:11.2px;line-height:1.6;}.filter-hero-scope{display:inline-flex;align-items:center;gap:7px;margin-top:16px;padding:7px 10px;border:1px solid var(--theme-border, rgba(255,255,255,.22));border-radius:999px;background:var(--theme-hover, rgba(255,255,255,.09));font-size:9px;font-weight:760;color:var(--theme-text, #f4faff);}.filter-hero-mark{position:absolute;z-index:1;right:285px;top:37px;opacity:.18;transform:rotate(-7deg);}.filter-hero-mark .brand-mark-image{filter:brightness(0) invert(1)!important;width:100px!important;height:100px!important;}.filter-scope-picker{position:relative;z-index:2;align-self:end;width:260px;display:grid;gap:6px;}.filter-scope-picker>span{font-size:8.4px;font-weight:820;letter-spacing:.07em;text-transform:uppercase;color:var(--theme-text, #c9e2fb);}.filter-scope-picker select{height:43px;border:1px solid var(--theme-control-border, rgba(255,255,255,.24))!important;background:var(--theme-raised, rgba(2,29,57,.42))!important;color:var(--theme-text, #fff)!important;border-radius:10px!important;padding:0 38px 0 12px!important;font-weight:720!important;backdrop-filter:blur(8px);}.filter-scope-picker option{color:var(--theme-text, #173653);background:var(--theme-surface, #fff);}

.filter-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;}.filter-metric-grid article{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;align-items:center;padding:15px 16px;border:1px solid var(--theme-border, #dee8f2);border-radius:14px;background:var(--theme-surface, #fff);box-shadow:var(--theme-shadow, 0 5px 18px rgba(25,65,107,.04));}.filter-metric-grid .metric-icon{width:42px;height:42px;border-radius:12px;background:var(--theme-raised, #eef5fd);color:var(--theme-muted, #387abf);display:grid;place-items:center;}.filter-metric-grid .metric-icon.active{background:var(--theme-selected, #e8f8f1);color:var(--theme-success, #19865d);}.filter-metric-grid article>div{min-width:0;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:8px;}.filter-metric-grid small{grid-column:1/2;font-size:7.5px;letter-spacing:.09em;font-weight:850;color:var(--theme-muted, #8195a8);}.filter-metric-grid strong{grid-column:2;grid-row:1/3;font-size:22px;color:var(--theme-text, #163b5e);letter-spacing:-.5px;}.filter-metric-grid p{grid-column:1/2;margin:3px 0 0;font-size:8.7px;color:var(--theme-muted, #74899d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.filter-workspace-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}.filter-work-card{display:flex;flex-direction:column;min-height:290px;padding:20px;border:1px solid var(--theme-border, #dfe8f1);border-radius:15px;background:var(--theme-surface, #fff);box-shadow:var(--theme-shadow, 0 6px 22px rgba(24,65,109,.045));}.filter-work-card>header{display:flex;align-items:flex-start;gap:11px;margin-bottom:17px;}.filter-work-card>header>span{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:none;background:var(--theme-raised, #edf5ff);color:var(--theme-accent, #0b72e4);}.filter-work-card>header h3{font-size:13px;color:var(--theme-text, #173b5d);margin:1px 0 4px;}.filter-work-card>header p{font-size:9px;line-height:1.45;color:var(--theme-muted, #8193a5);margin:0;}.filter-create-fields{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:9px;}.filter-create-fields label{display:grid;gap:6px;}.filter-create-fields label>span{font-size:8.5px;font-weight:800;color:var(--theme-muted, #607990);}.filter-create-fields input,.filter-lab-card textarea{width:100%;border:1px solid var(--theme-control-border, #d7e3ef);border-radius:10px;background:var(--theme-raised, #fafdff);color:var(--theme-text, #183a5a);outline:none;transition:border-color .17s,box-shadow .17s,background .17s;}.filter-create-fields input{height:43px;padding:0 12px;font-size:10.5px;}.filter-lab-card textarea{min-height:126px;resize:vertical;padding:12px;font-size:10.5px;line-height:1.5;}.filter-create-fields input:focus,.filter-lab-card textarea:focus{background:var(--theme-raised, #fff);border-color:var(--theme-accent, #67aaf4);box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(8,120,249,.09));}.filter-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:15px;}.filter-card-footer>small{display:flex;align-items:center;gap:5px;color:var(--theme-muted, #8294a7);font-size:8.3px;}.filter-card-footer .primary-button,.filter-card-footer .secondary-button{min-height:38px;border-radius:9px;font-size:9.5px;}.filter-test-result{display:flex;align-items:center;gap:6px;min-width:0;flex:1;padding:8px 10px;border-radius:9px;font-size:8.8px!important;line-height:1.35;}.filter-test-result.idle{background:var(--theme-raised, #f3f7fb);color:var(--theme-muted, #72879b);}.filter-test-result.flagged{background:var(--theme-warning-soft, #fff1e8);color:var(--theme-warning, #a55318);border:1px solid var(--theme-border, #f4d9c5);}.filter-test-result.clear{background:var(--theme-success-soft, #eaf8f1);color:var(--theme-success, #16704a);border:1px solid var(--theme-border, #cce9dc);}

.filter-library{overflow:hidden;border-radius:16px!important;border-color:var(--theme-border, #dde7f1)!important;box-shadow:var(--theme-shadow, 0 7px 26px rgba(25,65,107,.045))!important;}.filter-library-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:20px 21px 16px;}.filter-library-head h3{font-size:14px;color:var(--theme-text, #173b5d);margin:4px 0 3px;}.filter-library-head p{margin:0;font-size:9px;color:var(--theme-muted, #8194a7);}.filter-library-tools{display:flex;align-items:center;gap:8px;}.filter-search-box{height:39px;min-width:235px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--theme-border, #d9e5f0);border-radius:10px;background:var(--theme-raised, #f9fbfd);color:var(--theme-muted, #8197aa);}.filter-search-box input{border:0;outline:0;background:transparent;min-width:0;width:100%;color:var(--theme-text, #183a59);font-size:9.5px;}.filter-library-tools select{min-width:165px;height:39px!important;border-radius:10px!important;}.filter-library-summary{min-height:40px;padding:0 21px;display:flex;align-items:center;gap:15px;border-top:1px solid var(--theme-border, #edf2f6);border-bottom:1px solid var(--theme-border, #e8eef4);background:var(--theme-raised, #f9fbfd);}.filter-library-summary span{display:flex;align-items:baseline;gap:4px;color:var(--theme-muted, #768a9e);font-size:8.5px;}.filter-library-summary b{font-size:10px;color:var(--theme-muted, #284d70);}.filter-library-summary small{margin-left:auto;color:var(--theme-muted, #8395a8);font-size:8px;}.filter-rule-list{display:grid;}.filter-rule-card{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;padding:12px 20px;border-bottom:1px solid var(--theme-border, #edf2f6);background:var(--theme-surface, #fff);transition:background .16s,opacity .16s;}.filter-rule-card:last-child{border-bottom:0;}.filter-rule-card:hover{background:var(--theme-hover, #fbfdff);}.filter-rule-card.is-disabled{opacity:.68;}.filter-rule-card.is-inherited{background:var(--theme-raised, #f9fbfd);}.filter-rule-state{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--theme-raised, #eef4f9);color:var(--theme-muted, #8da0b2);}.filter-rule-card.is-active .filter-rule-state{background:var(--theme-success-soft, #e9f8f1);color:var(--theme-success, #19865d);}.filter-rule-copy{min-width:0;}.filter-rule-title{display:flex;align-items:center;gap:7px;min-width:0;}.filter-rule-title strong{font-size:10.5px;color:var(--theme-text, #254864);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.filter-rule-live,.filter-rule-off{flex:none;padding:3px 6px;border-radius:999px;font-size:7px;font-weight:820;}.filter-rule-live{background:var(--theme-success-soft, #e9f8f1);color:var(--theme-success, #1b7855);}.filter-rule-off{background:var(--theme-raised, #eef2f6);color:var(--theme-muted, #74879a);}.filter-rule-meta{display:flex;align-items:center;gap:6px;margin-top:4px;color:var(--theme-muted, #8294a6);font-size:8px;}.filter-rule-meta i{width:3px;height:3px;border-radius:50%;background:var(--theme-raised, #b2bfca);}.filter-rule-actions{display:flex;align-items:center;gap:7px;}.filter-switch{position:relative;width:37px;height:22px;border:0;border-radius:99px;background:var(--theme-raised, #cad6e1);padding:0;transition:background .17s;}.filter-switch span{position:absolute;width:16px;height:16px;border-radius:50%;left:3px;top:3px;background:var(--theme-surface, #fff);box-shadow:var(--theme-shadow, 0 2px 5px rgba(19,51,82,.18));transition:transform .17s;}.filter-switch.on{background:var(--theme-accent, #0b78f2);}.filter-switch.on span{transform:translateX(15px);}.filter-rule-actions .filter-delete{width:32px;height:32px;color:var(--theme-muted, #8a9cae);}.filter-rule-actions .filter-delete:hover{background:var(--theme-hover, #fff0f1);color:var(--theme-danger, #be3948);}.filter-inherited-lock{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border-radius:8px;background:var(--theme-raised, #eef3f7);color:var(--theme-muted, #74889a);font-size:7.7px;font-weight:760;}.filter-library-empty{padding:42px 20px;display:grid;place-items:center;text-align:center;color:var(--theme-muted, #91a2b2);}.filter-library-empty strong{margin-top:8px;color:var(--theme-muted, #45627d);font-size:11px;}.filter-library-empty p{margin:4px 0 0;font-size:8.5px;}

@media(max-width:900px){.operator-feed-control{grid-template-columns:1fr;}.filter-rework-hero{grid-template-columns:1fr;padding:23px;}.filter-hero-mark{right:25px;}.filter-scope-picker{width:100%;}.filter-metric-grid{grid-template-columns:1fr 1fr;}.filter-metric-grid article:last-child{grid-column:1/-1;}.filter-workspace-grid{grid-template-columns:1fr;}.filter-library-head{align-items:stretch;flex-direction:column;}.filter-library-tools{width:100%;}.filter-search-box{flex:1;min-width:0;}.filter-library-tools select{min-width:180px;}}
@media(max-width:640px){.operator-feed-control{margin:0 10px 10px!important;border-radius:12px!important;padding:14px!important;}.filter-rework-page{gap:10px;}.filter-rework-hero{border-radius:0;margin:0;padding:22px 16px;min-height:230px;}.filter-rework-hero h2{font-size:24px;}.filter-hero-mark{display:none;}.filter-metric-grid{grid-template-columns:1fr;padding:0 10px;}.filter-metric-grid article:last-child{grid-column:auto;}.filter-workspace-grid{padding:0 10px;}.filter-work-card{padding:16px;}.filter-create-fields{grid-template-columns:1fr;}.filter-card-footer{align-items:stretch;flex-direction:column;}.filter-card-footer .primary-button,.filter-card-footer .secondary-button{width:100%;}.filter-library{border-left:0!important;border-right:0!important;border-radius:0!important;}.filter-library-head{padding:17px 14px 13px;}.filter-library-tools{flex-direction:column;align-items:stretch;}.filter-library-tools select{width:100%;min-width:0;}.filter-search-box{width:100%;}.filter-library-summary{padding:0 14px;gap:9px;}.filter-library-summary span{font-size:7.8px;}.filter-rule-card{grid-template-columns:34px minmax(0,1fr);padding:11px 14px;}.filter-rule-actions{grid-column:2;justify-content:flex-end;}.filter-rule-meta{flex-wrap:wrap;}.filter-rule-title{align-items:flex-start;flex-direction:column;gap:4px;}.filter-rule-title strong{white-space:normal;}}

/* ========================================================================== */
/* features-06 — polls library, richer question types & profile settings       */
/* ========================================================================== */
.polls-admin-page{display:grid;gap:18px;}.polls-library-section{background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:var(--theme-shadow, 0 6px 22px rgba(20,55,90,.055));padding:20px;}.polls-library-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:17px;}.polls-library-head>div{min-width:0;}.polls-library-head h2{margin:2px 0 5px;font-size:18px;color:var(--theme-text, #173653);}.polls-library-head p{margin:0;max-width:650px;color:var(--theme-muted, #71859a);font-size:10.5px;line-height:1.55;}.admin-eyebrow{display:block;font-size:8px;font-weight:850;letter-spacing:.13em;color:var(--theme-accent, #0c72ed);}.poll-empty-admin{min-height:180px;border:1px dashed var(--theme-border, #d8e3ee);border-radius:12px;background:var(--theme-raised, #f9fbfd);}.poll-empty-admin h3{margin:9px 0 4px;font-size:13px;color:var(--theme-muted, #294863);}.poll-empty-admin p{font-size:9.5px;}.admin-poll-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.admin-poll-card{display:flex;flex-direction:column;min-width:0;}.admin-poll-card.closed{opacity:.86;}.poll-card-overview{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px;margin:4px 0 2px;}.poll-card-overview>div{min-width:0;border:1px solid var(--theme-border, #e4ebf2);border-radius:10px;background:var(--theme-raised, #f8fbfd);padding:9px 10px;display:grid;gap:2px;}.poll-card-overview small{font-size:7.8px;color:var(--theme-muted, #8091a2);}.poll-card-overview strong{font-size:10.5px;color:var(--theme-text, #25445f);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.poll-card-actions{margin-top:auto!important;padding-top:12px;display:flex!important;gap:7px!important;flex-wrap:wrap;}.poll-card-actions .primary-button,.poll-card-actions .secondary-button{min-height:36px;font-size:9px;padding:0 11px;}.poll-card-actions .poll-analytics{flex:1 1 130px;}.poll-card-actions .poll-export{flex:0 0 auto;}.poll-builder-section{padding:0!important;overflow:hidden;}.poll-builder-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:20px 22px;border-bottom:1px solid var(--theme-border, #e4ecf4);background:var(--theme-surface, linear-gradient(115deg,#f7fbff,#eef6ff));}.poll-builder-head h2{margin:3px 0 5px!important;font-size:18px!important;color:var(--theme-text, #173653)!important;}.poll-builder-head p{margin:0!important;font-size:10px!important;color:var(--theme-muted, #71869a)!important;max-width:670px;line-height:1.55;}.poll-builder-section form{display:grid!important;gap:0!important;}.poll-builder-basics{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:13px;padding:18px 22px;border-bottom:1px solid var(--theme-border, #e8eef4);}.poll-builder-basics label{display:grid;gap:6px;}.poll-builder-basics label>span{font-size:9px;font-weight:800;color:var(--theme-muted, #536d85);}.poll-builder-basics label small{font-weight:600;color:var(--theme-muted, #95a3b0);}.poll-builder-basics input,.poll-builder-basics textarea{width:100%;border:1px solid var(--theme-control-border, #d8e3ed);border-radius:10px;background:var(--theme-raised, #fff);color:var(--theme-text, #183751);padding:10px 11px;outline:0;resize:vertical;}.poll-builder-basics input:focus,.poll-builder-basics textarea:focus{border-color:var(--theme-accent, #4899f4);box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(8,120,249,.08));}.poll-builder-destinations{display:grid;grid-template-columns:minmax(180px,1fr) repeat(2,minmax(180px,.8fr));gap:10px;padding:16px 22px;background:var(--theme-surface, #fbfdff);border-bottom:1px solid var(--theme-border, #e8eef4);}.poll-builder-destinations>div{display:flex;flex-direction:column;justify-content:center;gap:3px;}.poll-builder-destinations>div strong{font-size:10.5px;color:var(--theme-muted, #294863);}.poll-builder-destinations>div small{font-size:8.5px;color:var(--theme-muted, #8597a8);}.poll-builder-destinations>label{position:relative;}.poll-builder-destinations>label>input{position:absolute;opacity:0;pointer-events:none;}.poll-builder-destinations>label>span{height:100%;min-height:58px;border:1px solid var(--theme-border, #dce7f1);border-radius:11px;background:var(--theme-surface, #fff);display:grid;grid-template-columns:27px 1fr;grid-template-rows:auto auto;column-gap:8px;align-content:center;padding:10px 11px;color:var(--theme-muted, #577086);cursor:pointer;transition:.15s ease;}.poll-builder-destinations>label>span>svg{grid-row:1/3;align-self:center;color:var(--theme-muted, #6f91b1);}.poll-builder-destinations b{font-size:9.5px;color:var(--theme-muted, #2b4a65);}.poll-builder-destinations small{font-size:7.8px;color:var(--theme-muted, #8c9caa);}.poll-builder-destinations input:checked+span{border-color:var(--theme-accent, #66a8f2);background:var(--theme-raised, #eef6ff);box-shadow:var(--theme-shadow, 0 0 0 2px rgba(8,120,249,.06));}.poll-builder-destinations input:checked+span>svg,.poll-builder-destinations input:checked+span b{color:var(--theme-accent, #0b6fdc);}.poll-builder-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px 10px;}.poll-builder-toolbar>div{display:flex;flex-direction:column;gap:2px;}.poll-builder-toolbar strong{font-size:11px;color:var(--theme-muted, #294863);}.poll-builder-toolbar small{font-size:8.5px;color:var(--theme-muted, #8597a8);}.poll-builder-toolbar .secondary-button{min-height:35px;font-size:9px;}.poll-builder-section #poll-question-builder{display:grid;gap:11px;padding:0 22px 18px;}.poll-question-config{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(180px,1fr);gap:10px;padding:12px 14px 5px;}.poll-question-config>label:first-child{display:grid;gap:5px;}.poll-question-config>label:first-child>span{font-size:8.5px;font-weight:800;color:var(--theme-muted, #5b7187);}.poll-question-config select{height:38px;border:1px solid var(--theme-control-border, #d9e4ee);border-radius:9px;background:var(--theme-raised, #fff);color:var(--theme-text, #24435f);padding:0 10px;}.poll-required-toggle{display:flex;align-items:center;gap:9px;border:1px solid var(--theme-border, #e0e8f0);border-radius:9px;padding:7px 9px;background:var(--theme-raised, #f9fbfd);cursor:pointer;}.poll-required-toggle input{accent-color:var(--theme-accent, #0878f9);}.poll-required-toggle>span{display:flex;flex-direction:column;gap:1px;}.poll-required-toggle strong{font-size:8.8px!important;color:var(--theme-muted, #36536d)!important;}.poll-required-toggle small{font-size:7.5px!important;color:var(--theme-muted, #8a9aa9)!important;}.poll-options-area[hidden]{display:none!important;}.poll-builder-question.is-text-question .poll-question-field{padding-bottom:14px;}.poll-builder-submit{display:flex!important;align-items:center;justify-content:space-between;gap:18px;padding:15px 22px;background:var(--theme-raised, #f8fafc);border-top:1px solid var(--theme-border, #e7edf3);}.poll-builder-submit p{margin:0;display:flex;align-items:center;gap:7px;color:var(--theme-muted, #7a8ea2);font-size:8.5px;line-height:1.45;max-width:600px;}.poll-builder-submit .primary-button{min-width:180px;}.poll-wizard-question-meta{display:flex;justify-content:flex-start;margin-bottom:7px;}.poll-wizard-type{display:inline-flex;padding:5px 8px;border-radius:999px;background:var(--theme-raised, #eaf4ff);color:var(--theme-accent, #0b6fdc);font-size:8px;font-weight:800;}.poll-wizard-question sup{color:var(--theme-danger, #df4b5a);margin-left:3px;}.poll-wizard-question small{font-size:8px;color:var(--theme-muted, #8a9bab);font-weight:650;margin-left:5px;}.poll-text-answer{width:100%;border:1px solid var(--theme-border, #d8e4ef);border-radius:11px;background:var(--theme-surface, #fff);color:var(--theme-text, #193954);padding:12px;outline:0;resize:vertical;line-height:1.5;}.poll-text-answer:focus{border-color:var(--theme-accent, #58a0f2);box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(8,120,249,.08));}.poll-dropdown-answer{display:grid;gap:7px;}.poll-dropdown-answer>span{font-size:8.5px;font-weight:800;color:var(--theme-muted, #687e93);}.poll-dropdown-answer select{height:44px;border:1px solid var(--theme-control-border, #d8e4ef);border-radius:11px;background:var(--theme-raised, #fff);color:var(--theme-text, #193954);padding:0 11px;}.poll-answer-option.multiple .poll-option-letter{border-radius:7px;}.poll-answer-option.multiple.selected .poll-option-letter{background:var(--theme-raised, #0878f9);color:var(--theme-text, #fff);}.poll-chart-note{margin:10px 0 0;padding:8px 10px;border-radius:8px;background:var(--theme-raised, #f3f7fb);color:var(--theme-muted, #71869a);font-size:8.5px;line-height:1.45;}.poll-analysis-text .poll-text-response-list{display:grid;gap:7px;}.poll-text-response-list>div{display:grid;grid-template-columns:30px 1fr;gap:8px;align-items:start;padding:9px;border:1px solid var(--theme-border, #e7edf3);border-radius:9px;background:var(--theme-surface, #fbfdff);}.poll-text-response-list>div>span{min-width:0;}.poll-text-response-list strong{display:block;font-size:8.8px;color:var(--theme-muted, #36536d);margin-bottom:3px;}.poll-text-response-list p{margin:0;font-size:9.5px;color:var(--theme-muted, #516a81);line-height:1.5;white-space:pre-wrap;word-break:break-word;}.poll-analytics-head-actions{display:flex;align-items:center;gap:7px;}.poll-analytics-head-actions .secondary-button{min-height:36px;font-size:9px;}

.profile-settings-rework{padding:0!important;overflow:hidden;}.profile-settings-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px 23px;background:var(--theme-surface, linear-gradient(120deg,#f7fbff,#eff6ff));border-bottom:1px solid var(--theme-border, #e2eaf2);}.profile-settings-hero>div{display:flex;align-items:center;gap:12px;min-width:0;}.profile-settings-hero .settings-icon{margin:0!important;flex:none;}.profile-settings-hero>div>div{min-width:0;}.profile-settings-hero small{display:block;font-size:7.8px;font-weight:850;letter-spacing:.12em;color:var(--theme-accent, #0c72ed);}.profile-settings-hero h2{margin:2px 0 4px!important;font-size:18px!important;color:var(--theme-text, #173653)!important;}.profile-settings-hero p{margin:0!important;color:var(--theme-muted, #71869a)!important;font-size:9.5px!important;}.profile-settings-hero>a{flex:none;min-height:36px;font-size:9px;}.profile-settings-identity{display:grid;grid-template-columns:180px minmax(0,1fr);gap:0;border-bottom:1px solid var(--theme-border, #e7edf3);}.profile-avatar-zone{padding:20px;border-right:1px solid var(--theme-border, #e7edf3);display:flex;flex-direction:column;align-items:center;gap:8px;background:var(--theme-surface, #fbfdff);text-align:center;}.profile-avatar-zone .avatar{box-shadow:var(--theme-shadow, 0 8px 24px rgba(35,73,110,.12));}.profile-avatar-zone .secondary-button{min-height:34px;font-size:8.8px;}.profile-avatar-zone small{font-size:7.7px;color:var(--theme-muted, #93a1af);}.profile-name-zone{padding:20px 22px;display:flex;flex-direction:column;justify-content:center;gap:14px;}.profile-section-label{display:flex;gap:9px;align-items:flex-start;}.profile-section-label>span{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--theme-raised, #eaf4ff);color:var(--theme-accent, #0878f9);flex:none;}.profile-section-label>div{display:flex;flex-direction:column;gap:2px;}.profile-section-label strong{font-size:10.5px;color:var(--theme-muted, #294863);}.profile-section-label strong em{font-style:normal;font-size:7.5px;font-weight:650;color:var(--theme-muted, #8a9bab);margin-left:4px;}.profile-section-label small{font-size:8.2px;color:var(--theme-muted, #8697a7);}.profile-name-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}.profile-name-grid label,.profile-contact-grid label{display:grid;gap:5px;}.profile-name-grid label>span,.profile-contact-grid label>span{font-size:8.5px;font-weight:800;color:var(--theme-muted, #5a7187);}.profile-name-grid input,.profile-contact-grid input{height:40px;border:1px solid var(--theme-control-border, #d9e4ee);border-radius:9px;background:var(--theme-raised, #fff);color:var(--theme-text, #183751);padding:0 10px;outline:0;}.profile-name-grid input:focus,.profile-contact-grid input:focus,.profile-edit-card textarea:focus{border-color:var(--theme-accent, #4a99f2);box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(8,120,249,.08));}.profile-settings-cards{display:grid;grid-template-columns:1fr 1fr;gap:0;}.profile-edit-card{padding:18px 20px;border-right:1px solid var(--theme-border, #e7edf3);border-bottom:1px solid var(--theme-border, #e7edf3);min-width:0;}.profile-edit-card:nth-child(2n){border-right:0;}.profile-edit-card .profile-section-label{margin-bottom:11px;}.profile-edit-card textarea{width:100%;border:1px solid var(--theme-control-border, #d9e4ee);border-radius:10px;background:var(--theme-raised, #fff);color:var(--theme-text, #183751);padding:10px 11px;outline:0;resize:vertical;line-height:1.5;}.profile-edit-about{grid-row:span 1;}.profile-edit-contact{grid-column:1/-1;border-right:0!important;}.profile-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}.profile-settings-savebar{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 20px;background:var(--theme-raised, rgba(249,251,253,.96));backdrop-filter:blur(10px);border-top:1px solid var(--theme-border, #e1e9f1);}.profile-settings-savebar>span{display:flex;align-items:center;gap:6px;font-size:8.5px;color:var(--theme-muted, #7e90a2);}.profile-settings-savebar .primary-button{min-width:150px;}

@media(max-width:980px){.admin-poll-list{grid-template-columns:1fr;}.poll-builder-basics{grid-template-columns:1fr;}.poll-builder-destinations{grid-template-columns:1fr 1fr;}.poll-builder-destinations>div{grid-column:1/-1;}.profile-settings-cards{grid-template-columns:1fr;}.profile-edit-card{border-right:0;}.profile-edit-contact{grid-column:auto;}.profile-settings-identity{grid-template-columns:160px 1fr;}}
@media(max-width:640px){.polls-library-section{padding:14px;border-left:0;border-right:0;border-radius:0;}.polls-library-head{align-items:stretch;flex-direction:column;}.polls-library-head .primary-button{width:100%;}.poll-card-overview{grid-template-columns:1fr;}.poll-card-actions>*{flex:1 1 100%!important;}.poll-builder-head{padding:17px 15px;flex-direction:column;}.poll-builder-basics,.poll-builder-destinations,.poll-builder-toolbar,.poll-builder-section #poll-question-builder,.poll-builder-submit{padding-left:15px;padding-right:15px;}.poll-builder-destinations{grid-template-columns:1fr;}.poll-builder-destinations>div{grid-column:auto;}.poll-question-config{grid-template-columns:1fr;}.poll-builder-submit{align-items:stretch;flex-direction:column;}.poll-builder-submit .primary-button{width:100%;}.profile-settings-rework{border-left:0!important;border-right:0!important;border-radius:0!important;}.profile-settings-hero{align-items:flex-start;flex-direction:column;padding:17px 15px;}.profile-settings-hero>a{width:100%;}.profile-settings-identity{grid-template-columns:1fr;}.profile-avatar-zone{border-right:0;border-bottom:1px solid var(--theme-border, #e7edf3);padding:18px;}.profile-name-zone{padding:17px 15px;}.profile-name-grid,.profile-contact-grid{grid-template-columns:1fr;}.profile-edit-card{padding:16px 15px;}.profile-settings-savebar{align-items:stretch;flex-direction:column;padding:12px 15px;}.profile-settings-savebar .primary-button{width:100%;}}

/* ========================================================================== */
/* v1.2.12 features-07 — notifications, private profiles, media & reactions  */
/* ========================================================================== */

/* Notification bell: quick inbox first, full page second */
.notification-popover-wrap{position:relative;display:flex;align-items:center;}
.notification-popover{position:absolute;right:0;top:calc(100% + 10px);z-index:95;width:min(390px,calc(100vw - 24px));background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dfe7f0);border-radius:16px;box-shadow:var(--theme-elevation, 0 20px 54px rgba(19,48,82,.18));overflow:hidden;color:var(--theme-text, #173653);}
.notification-popover-head{min-height:66px;padding:14px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--theme-border, #e9eef4);background:var(--theme-surface, #fbfdff);}
.notification-popover-head>div{display:flex;flex-direction:column;gap:2px;}.notification-popover-head strong{font-size:14px;color:var(--theme-text, #173653);}.notification-popover-head small{font-size:9px;color:var(--theme-muted, #8192a4);}.notification-popover-head>button{border:0;background:transparent;color:var(--theme-accent, #0b72ed);font-size:9px;font-weight:800;padding:7px;border-radius:7px;}.notification-popover-head>button:hover{background:var(--theme-hover, #edf6ff);}
.notification-popover-list{max-height:430px;overflow:auto;}.notification-popover-loading{min-height:100px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:10px;color:var(--theme-muted, #8495a6);}.loader.mini{width:18px;height:18px;border-width:2px;}
.notification-popover-item{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) 6px;gap:10px;align-items:start;padding:12px 14px;border-bottom:1px solid var(--theme-border, #edf1f5);transition:.15s ease;}.notification-popover-item:hover{background:var(--theme-hover, #f7faff);}.notification-popover-item.unread{background:var(--theme-selected, #f1f7ff);}.notification-popover-item.unread:hover{background:var(--theme-hover, #eaf4ff);}.notification-popover-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;color:var(--theme-accent, #0b72ed);background:var(--theme-raised, #e9f3ff);}.notification-popover-item>span:nth-child(2){min-width:0;display:flex;flex-direction:column;}.notification-popover-item strong{font-size:10.5px;line-height:1.3;color:var(--theme-text, #193955);}.notification-popover-item small{font-size:9px;line-height:1.4;color:var(--theme-muted, #6f8398);margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}.notification-popover-item time{font-size:7.8px;color:var(--theme-muted, #9aa8b6);margin-top:5px;}.notification-popover-item>i{width:6px;height:6px;border-radius:50%;background:var(--theme-raised, #0b78fa);margin-top:15px;}.notification-popover-all{min-height:44px;padding:0 15px;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--theme-accent, #0b72ed);font-size:9.5px;font-weight:800;background:var(--theme-surface, #fbfdff);}.notification-popover-all:hover{background:var(--theme-hover, #f2f7fc);}.notification-popover-empty{min-height:145px;padding:25px 16px;display:flex;flex-direction:column;align-items:center;text-align:center;color:var(--theme-muted, #8a9bab);}.notification-popover-empty svg{color:var(--theme-muted, #76a8dc);margin-bottom:8px;}.notification-popover-empty strong{font-size:11px;color:var(--theme-muted, #405d78);}.notification-popover-empty small{margin-top:4px;font-size:8.5px;line-height:1.45;max-width:240px;}

/* Social graph and private profiles */
.profile-social-counts{display:flex!important;align-items:center!important;gap:16px!important;flex-wrap:wrap!important;margin-top:10px!important;}.profile-social-counts>button{border:0;background:transparent;padding:0;display:inline-flex;align-items:baseline;gap:4px;color:var(--theme-muted, #61758a);cursor:pointer;}.profile-social-counts>button:hover span{text-decoration:underline;}.profile-social-counts>button strong{font-size:12px;color:var(--theme-text, #173653);}.profile-social-counts>button span{font-size:9.5px;}.private-profile-badge{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:5px 8px!important;border-radius:999px!important;background:var(--theme-raised, #edf4fb)!important;color:var(--theme-muted, #667e96)!important;font-size:8px!important;font-weight:800!important;}.profile-follow-requests{position:relative;}.profile-follow-requests b{min-width:18px;height:18px;border-radius:999px;padding:0 5px;display:grid;place-items:center;background:var(--theme-raised, #0b78fa);color:var(--theme-text, #fff);font-size:8px;}.follow-user.is-requested{background:var(--theme-raised, #eef3f8)!important;color:var(--theme-muted, #536b83)!important;border:1px solid var(--theme-border, #d8e3ed)!important;box-shadow:none!important;}.private-profile-notice{margin:13px 0 16px;padding:24px;display:flex;align-items:center;justify-content:center;gap:16px;text-align:left;background:var(--theme-surface, linear-gradient(135deg,#f8fbff,#edf5ff))!important;border-color:var(--theme-border, #d8e7f6)!important;}.private-profile-notice>svg{width:48px!important;height:48px!important;padding:12px;border-radius:15px;background:var(--theme-surface, #fff);color:var(--theme-accent, #0b72ed);box-shadow:var(--theme-shadow, 0 7px 18px rgba(29,91,157,.08));box-sizing:border-box;}.private-profile-notice h2{font-size:16px;margin:0 0 5px;color:var(--theme-text, #173653);}.private-profile-notice p{font-size:10px;line-height:1.55;color:var(--theme-muted, #6c8195);margin:0;max-width:520px;}.profile-grid.is-private-locked{display:none!important;}
.social-list{display:flex;flex-direction:column;max-height:min(560px,62vh);overflow:auto;margin:0 -2px;}.social-list-row{min-height:62px;padding:9px 6px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center;border-bottom:1px solid var(--theme-border, #edf1f5);}.social-list-row:last-child{border-bottom:0;}.social-list-row:hover{background:var(--theme-hover, #f7faff);}.social-list-row>span,.follow-request-row>a{min-width:0;display:flex;flex-direction:column;gap:3px;}.social-list-row strong{font-size:10.5px;color:var(--theme-text, #23415d);}.social-list-row small{font-size:8.5px;color:var(--theme-muted, #8192a4);display:flex;align-items:center;gap:3px;}.social-list-row>svg{color:var(--theme-muted, #91a3b5);}.social-list-empty{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--theme-muted, #8ca0b2);}.social-list-empty svg{margin-bottom:8px;color:var(--theme-muted, #72a6da);}.social-list-empty strong{font-size:11px;color:var(--theme-muted, #4d657c);}.social-list-empty small{font-size:8.5px;margin-top:4px;}.social-list-pagination{border-top:1px solid var(--theme-border, #e8eef4);margin-top:10px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;}.social-list-pagination span{font-size:8.5px;color:var(--theme-muted, #8193a4);}.social-list-pagination .secondary-button{min-height:34px;font-size:8.5px;}.follow-request-row{grid-template-columns:46px minmax(0,1fr) auto;}.follow-request-actions{display:flex;align-items:center;gap:6px;}.follow-request-actions .primary-button,.follow-request-actions .secondary-button{min-height:32px;padding:0 10px;font-size:8px;}.privacy-private-profile-row{background:var(--theme-surface, linear-gradient(135deg,#f8fbff,#f1f7ff))!important;border:1px solid var(--theme-border, #dce9f6)!important;border-radius:12px!important;padding:15px!important;margin-bottom:9px!important;}.privacy-private-profile-row input{width:42px!important;height:22px!important;accent-color:var(--theme-accent, #0b78fa)!important;}

/* Post text readability */
.post-body{font-size:15.5px!important;line-height:1.62!important;color:var(--theme-text, #243e59)!important;letter-spacing:.002em!important;}

/* Natural media layout: full image visible, compact social-feed footprint */
.post-media-grid{margin:12px 0 4px;display:grid;gap:3px;width:100%;overflow:hidden;border-radius:13px;background:var(--theme-raised, #eef3f8);border:1px solid var(--theme-border, #e3eaf1);}.post-media-tile{position:relative;min-width:0;border:0;padding:0;background:var(--theme-raised, #edf2f7);display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:zoom-in;}.post-media-tile img{display:block;width:100%;height:100%;object-fit:contain;background:var(--theme-raised, #edf2f7);}.post-media-grid-1{grid-template-columns:1fr;max-height:560px;}.post-media-grid-1 .post-media-tile{min-height:220px;max-height:560px;}.post-media-grid-1 img{height:auto;max-height:560px;object-fit:contain;}.post-media-grid-2{grid-template-columns:1fr 1fr;height:min(390px,48vw);}.post-media-grid-3{grid-template-columns:1.15fr .85fr;grid-template-rows:1fr 1fr;height:min(410px,50vw);}.post-media-grid-3 .post-media-tile:first-child{grid-row:1/3;}.post-media-grid-4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;height:min(420px,50vw);}.post-media-grid-2 img,.post-media-grid-3 img,.post-media-grid-4 img{object-fit:contain;}.media-lightbox{position:fixed;inset:0;z-index:300;background:var(--theme-surface, rgba(6,13,22,.94));display:flex;align-items:center;justify-content:center;padding:64px 74px 42px;backdrop-filter:blur(10px);}.media-lightbox-stage{width:100%;height:100%;display:flex;align-items:center;justify-content:center;}.media-lightbox-stage img{max-width:100%;max-height:100%;object-fit:contain;border-radius:8px;box-shadow:var(--theme-shadow, 0 18px 70px rgba(0,0,0,.36));}.media-lightbox-close{position:absolute;right:20px;top:18px;width:42px;height:42px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--theme-hover, rgba(255,255,255,.12));color:var(--theme-text, #fff);}.media-lightbox-count{position:absolute;left:50%;top:24px;transform:translateX(-50%);padding:6px 10px;border-radius:999px;background:var(--theme-surface, rgba(0,0,0,.35));color:var(--theme-text, #fff);font-size:10px;font-weight:750;}.media-lightbox-nav{position:absolute;top:50%;width:44px;height:58px;border:0;border-radius:12px;background:var(--theme-hover, rgba(255,255,255,.12));color:var(--theme-text, #fff);display:grid;place-items:center;transform:translateY(-50%);}.media-lightbox-nav:hover,.media-lightbox-close:hover{background:var(--theme-hover, rgba(255,255,255,.2));}.media-lightbox-nav.prev{left:18px;}.media-lightbox-nav.prev svg{transform:rotate(180deg);}.media-lightbox-nav.next{right:18px;}.post-composer-preview-natural img{object-fit:contain!important;background:var(--theme-raised, #edf2f7)!important;}

/* Facebook-style reaction selector */
.reaction-control{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;}.reaction-picker{position:absolute;left:0;bottom:calc(100% + 7px);z-index:40;display:flex;align-items:flex-end;gap:1px;padding:6px 7px;border:1px solid var(--theme-border, #dfe7ef);border-radius:999px;background:var(--theme-surface, #fff);box-shadow:var(--theme-shadow, 0 10px 30px rgba(21,48,77,.18));opacity:0;visibility:hidden;transform:translateY(5px) scale(.97);transform-origin:left bottom;transition:.14s ease;pointer-events:none;}.reaction-control:hover .reaction-picker,.reaction-control:focus-within .reaction-picker{opacity:1;visibility:visible;transform:none;pointer-events:auto;}.reaction-choice{width:42px;height:42px;border:0;background:transparent;border-radius:50%;padding:0;display:grid;place-items:center;position:relative;transition:.12s ease;}.reaction-choice>span{font-size:25px;line-height:1;}.reaction-choice>small{position:absolute;bottom:calc(100% + 4px);left:50%;transform:translateX(-50%);padding:4px 6px;border-radius:5px;background:var(--theme-surface, #1d2a38);color:var(--theme-text, #fff);font-size:7px;white-space:nowrap;opacity:0;pointer-events:none;}.reaction-choice:hover{transform:translateY(-5px) scale(1.12);}.reaction-choice:hover>small{opacity:1;}.reaction-choice.active{background:var(--theme-selected, #edf5ff);}.reaction-main{width:100%;height:100%;min-height:42px;border:0;background:transparent;color:var(--theme-muted, #5f7184);display:flex;align-items:center;justify-content:center;gap:7px;font-size:10.5px;font-weight:700;border-radius:8px;}.reaction-main:hover{background:var(--theme-hover, #f5f8fb);}.reaction-main.active{font-weight:800;}.reaction-main-emoji{font-size:19px;line-height:1;}.reaction-main.reaction-like{color:var(--theme-accent, #0878f9);}.reaction-main.reaction-love{color:var(--theme-danger, #e63950);}.reaction-main.reaction-haha,.reaction-main.reaction-wow,.reaction-main.reaction-sad{color:var(--theme-warning, #d99300);}.reaction-main.reaction-angry{color:var(--theme-warning, #e15335);}.post-interactions>.reaction-control{flex:1;}.reaction-summary-button{border:0;background:transparent;display:inline-flex;align-items:center;gap:5px;padding:2px 3px;color:var(--theme-muted, #718396);font-size:9px;cursor:pointer;}.reaction-summary-button:hover>span:last-child{text-decoration:underline;}.reaction-summary-icons{display:inline-flex;align-items:center;}.reaction-summary-icons i{width:17px;height:17px;margin-left:-3px;border:1.5px solid var(--theme-border, #fff);border-radius:50%;background:var(--theme-surface, #fff);display:grid;place-items:center;font-style:normal;font-size:11px;}.reaction-summary-icons i:first-child{margin-left:0;}.reaction-summary-button.is-empty{display:none;}.post-comment-count{border:0;background:transparent;color:var(--theme-muted, #75879a);font-size:9px;padding:2px 0;}.post-comment-count:hover{text-decoration:underline;}.reaction-control-compact{width:max-content;justify-content:flex-start;}.reaction-control-compact .reaction-main{min-height:24px;padding:0 3px;font-size:8.5px;}.reaction-control-compact .reaction-main svg{width:13px!important;height:13px!important;}.reaction-control-compact .reaction-main-emoji{font-size:13px;}.reaction-control-compact .reaction-picker{bottom:calc(100% + 4px);padding:4px 5px;}.reaction-control-compact .reaction-choice{width:34px;height:34px;}.reaction-control-compact .reaction-choice>span{font-size:21px;}.comment-reaction-summary{position:absolute;right:5px;bottom:-10px;}.comment-bubble{position:relative;}.comment-reaction-summary .reaction-summary-button{padding:2px 5px;border-radius:999px;background:var(--theme-surface, #fff);border:1px solid var(--theme-control-border, #e2e9f0);box-shadow:var(--theme-shadow, 0 2px 7px rgba(28,53,79,.1));}.comment-reaction-summary .reaction-summary-icons i{width:15px;height:15px;font-size:9px;}.comment-actions{overflow:visible!important;}.comment-actions>small{font-size:7.5px;color:var(--theme-muted, #9aa8b6);margin-left:3px;}.reaction-list-filters{display:flex;align-items:center;gap:5px;overflow-x:auto;padding:0 0 10px;border-bottom:1px solid var(--theme-border, #e9eef3);}.reaction-list-filters button{border:0;border-radius:999px;background:var(--theme-raised, #f1f5f9);color:var(--theme-muted, #62768b);padding:7px 10px;font-size:8.5px;font-weight:750;white-space:nowrap;}.reaction-list-filters button.active{background:var(--theme-selected, #e7f2ff);color:var(--theme-accent, #0878f9);}.reaction-list{max-height:55vh;overflow:auto;padding-top:6px;}.reaction-list-row{min-height:58px;display:grid;grid-template-columns:42px minmax(0,1fr) 30px;gap:10px;align-items:center;border-bottom:1px solid var(--theme-border, #edf1f5);padding:7px 2px;}.reaction-list-row>span{display:flex;min-width:0;flex-direction:column;gap:3px;}.reaction-list-row strong{font-size:10px;color:var(--theme-text, #29445e);}.reaction-list-row small{font-size:8px;color:var(--theme-muted, #8494a5);}.reaction-list-row>i{font-style:normal;font-size:20px;}.reaction-list-empty{min-height:160px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:var(--theme-muted, #8798a9);}.reaction-list-empty strong{font-size:10px;}

@media(max-width:720px){.notification-popover{position:fixed;right:8px;left:8px;top:64px;width:auto;max-height:calc(100vh - 90px);}.notification-popover-list{max-height:calc(100vh - 220px);}.post-body{font-size:15px!important;}.post-media-grid-1{max-height:480px;}.post-media-grid-1 .post-media-tile,.post-media-grid-1 img{max-height:480px;}.post-media-grid-2,.post-media-grid-3,.post-media-grid-4{height:min(340px,78vw);}.media-lightbox{padding:60px 10px 40px;}.media-lightbox-nav{top:auto;bottom:10px;width:44px;height:40px;}.media-lightbox-nav.prev{left:calc(50% - 52px);}.media-lightbox-nav.next{right:calc(50% - 52px);}.profile-social-counts{gap:12px!important;}.private-profile-notice{margin:8px 12px 14px;padding:18px 15px;}.reaction-choice{width:39px;height:39px;}.reaction-choice>span{font-size:23px;}.reaction-picker{left:-4px;}.follow-request-row{grid-template-columns:42px 1fr;}.follow-request-actions{grid-column:2;justify-self:start;}.social-list-row{grid-template-columns:42px minmax(0,1fr) auto;}}
.reaction-control.picker-open .reaction-picker{opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important;}
.reaction-picker::after{content:"";position:absolute;left:0;right:0;bottom:-10px;height:12px;background:transparent;}


/* v1.2.12 features-08 — privacy settings rework */
.privacy-settings-rework{padding:0!important;overflow:hidden!important;}
.privacy-settings-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 28px;background:var(--theme-surface, linear-gradient(135deg,#f7fbff 0%,#eef6ff 100%));border-bottom:1px solid var(--zpg-line);}
.privacy-hero-main{display:flex;align-items:flex-start;gap:15px;}.privacy-hero-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--theme-raised, #0d63df);color:var(--theme-text, #fff);box-shadow:var(--theme-shadow, 0 10px 24px rgba(13,99,223,.18));flex:0 0 auto;}.privacy-hero-main small{display:block;font-size:8px;font-weight:850;letter-spacing:.14em;color:var(--theme-accent, #0d63df);margin:1px 0 4px;}.privacy-hero-main h2{font-size:22px;letter-spacing:-.55px;margin:0;color:var(--zpg-ink);}.privacy-hero-main p{font-size:10.5px;line-height:1.55;color:var(--zpg-muted);margin:6px 0 0;max-width:590px;}
.privacy-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:22px 28px 4px;}.privacy-status-card{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;border:1px solid var(--zpg-line);border-radius:13px;background:var(--zpg-card);cursor:pointer;transition:.18s ease;}.privacy-status-card:hover{border-color:var(--theme-border, #bad3f2);box-shadow:var(--theme-shadow, 0 7px 20px rgba(29,69,116,.06));}.privacy-status-card.is-on{border-color:var(--theme-border, #9fc7f6);background:var(--theme-raised, #f7fbff);}.privacy-status-card>input{position:absolute;opacity:0;pointer-events:none;}.privacy-status-icon{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:var(--theme-raised, #edf4fc);color:var(--theme-muted, #315b88);}.privacy-status-card.is-on .privacy-status-icon{background:var(--theme-raised, #e4f0ff);color:var(--theme-accent, #0d63df);}.privacy-status-copy{display:flex;flex-direction:column;gap:4px;}.privacy-status-copy strong{font-size:11.5px;color:var(--zpg-ink);}.privacy-status-copy small{font-size:9px;line-height:1.45;color:var(--zpg-muted);}.privacy-switch{width:42px;height:24px;border-radius:999px;background:var(--theme-raised, #cbd7e5);padding:3px;transition:.18s ease;}.privacy-switch i{display:block;width:18px;height:18px;border-radius:50%;background:var(--theme-surface, #fff);box-shadow:var(--theme-shadow, 0 1px 4px rgba(15,44,76,.2));transition:.18s ease;}.privacy-status-card.is-on .privacy-switch{background:var(--theme-raised, #0d63df);}.privacy-status-card.is-on .privacy-switch i{transform:translateX(18px);}
.privacy-settings-section{margin:22px 28px 0;border-top:1px solid var(--zpg-line);padding-top:20px;}.privacy-section-head{display:flex;align-items:flex-start;gap:11px;margin-bottom:13px;}.privacy-section-head>span{width:36px;height:36px;border-radius:10px;background:var(--theme-raised, #edf5ff);color:var(--theme-accent, #0d63df);display:grid;place-items:center;flex:0 0 auto;}.privacy-section-head h3{font-size:14px;margin:1px 0 2px;color:var(--zpg-ink);}.privacy-section-head p{font-size:9.5px;line-height:1.45;color:var(--zpg-muted);margin:0;}.privacy-control-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--zpg-line);border-radius:13px;overflow:hidden;background:var(--zpg-card);}.privacy-control{min-height:82px;display:grid;grid-template-columns:34px minmax(0,1fr) 155px;align-items:center;gap:10px;padding:13px 14px;border-bottom:1px solid var(--zpg-line);background:var(--zpg-card);}.privacy-control:nth-child(odd){border-right:1px solid var(--zpg-line);}.privacy-control:nth-last-child(-n/**/+2){border-bottom:0;}.privacy-control:only-child{border:0;}.privacy-control-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:var(--theme-raised, #f1f6fc);color:var(--theme-muted, #537293);}.privacy-control>span:nth-child(2){display:flex;flex-direction:column;gap:3px;}.privacy-control strong{font-size:10.8px;color:var(--zpg-ink);}.privacy-control small{font-size:8.6px;line-height:1.35;color:var(--zpg-muted);}.privacy-control select{width:155px;min-height:38px;border:1px solid var(--theme-control-border, #d6e2ef);border-radius:9px;background:var(--theme-raised, #f8fbff);color:var(--theme-text, #29445f);font-size:9.5px;font-weight:700;padding:0 30px 0 10px;outline:none;}.privacy-control select:focus{border-color:var(--theme-accent, #79aff0);box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(13,99,223,.08));}
.privacy-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 28px 0;}.privacy-tools>a{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:13px 14px;border:1px solid var(--zpg-line);border-radius:11px;background:var(--theme-raised, #f8fafc);color:var(--theme-muted, #37516c);}.privacy-tools>a:hover{border-color:var(--theme-border, #b9d4f2);background:var(--theme-hover, #f3f8ff);}.privacy-tools>a>span{display:flex;flex-direction:column;gap:2px;}.privacy-tools strong{font-size:10.5px;color:var(--zpg-ink);}.privacy-tools small{font-size:8.5px;color:var(--zpg-muted);}.privacy-savebar{margin-top:22px;padding:16px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--theme-raised, #f8fafc);border-top:1px solid var(--zpg-line);}.privacy-savebar>span{display:flex;align-items:center;gap:7px;font-size:9px;color:var(--zpg-muted);}

.privacy-control-grid{gap:1px!important;background:var(--zpg-line)!important;}.privacy-control{border:0!important;}.privacy-control:last-child:nth-child(odd){grid-column:1/-1;}


@media(max-width:900px){.privacy-status-grid,.privacy-control-grid,.privacy-tools{grid-template-columns:1fr;}.privacy-control{border-right:0!important;border-bottom:1px solid var(--zpg-line)!important;}.privacy-control:last-child{border-bottom:0!important;}}
@media(max-width:640px){.privacy-settings-hero{padding:19px 16px;align-items:flex-start;flex-direction:column;}.privacy-settings-hero>.secondary-button{width:100%;}.privacy-status-grid{padding:16px 14px 0;}.privacy-settings-section{margin:18px 14px 0;}.privacy-control{grid-template-columns:32px minmax(0,1fr);padding:13px 12px;}.privacy-control select{grid-column:2;width:100%;margin-top:3px;}.privacy-tools{margin:18px 14px 0;}.privacy-savebar{padding:14px;position:sticky;bottom:0;z-index:4;align-items:stretch;flex-direction:column;}.privacy-savebar .primary-button{width:100%;}}


/* v1.2.12 features-09 — cleaner privacy settings UX */
.privacy-settings-clean{padding:0!important;overflow:hidden!important;background:var(--zpg-card)!important;}
.privacy-clean-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid var(--zpg-line);background:var(--theme-surface, linear-gradient(120deg,#f9fcff,#f2f7fd));}
.privacy-clean-title{display:flex;align-items:center;gap:12px;min-width:0;}.privacy-clean-title-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--theme-raised, #e8f2ff);color:var(--theme-accent, #0b72e7);flex:0 0 auto;}.privacy-clean-title h2{margin:0!important;font-size:20px!important;letter-spacing:-.4px;color:var(--zpg-ink)!important;}.privacy-clean-title p{margin:4px 0 0!important;font-size:9.5px!important;color:var(--zpg-muted)!important;}.privacy-preview-button{min-height:36px!important;flex:0 0 auto;font-size:9px!important;}
.privacy-clean-section{padding:20px 24px 0;}.privacy-clean-section+.privacy-clean-section{margin-top:4px;}.privacy-clean-section-title{margin-bottom:10px;}.privacy-clean-section-title h3{margin:0!important;font-size:12.5px!important;color:var(--zpg-ink)!important;letter-spacing:-.1px;}.privacy-clean-section-title p{margin:3px 0 0!important;font-size:8.8px!important;color:var(--zpg-muted)!important;line-height:1.4;}
.privacy-toggle-list,.privacy-setting-list,.privacy-clean-links{border:1px solid var(--zpg-line);border-radius:12px;overflow:hidden;background:var(--zpg-card);}
.privacy-toggle-row{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:66px;padding:11px 13px;background:var(--zpg-card);cursor:pointer;transition:background .16s ease,border-color .16s ease;}.privacy-toggle-row+.privacy-toggle-row{border-top:1px solid var(--zpg-line);}.privacy-toggle-row:hover{background:var(--theme-hover, #f8fbff);}.privacy-toggle-row>input{position:absolute;opacity:0;pointer-events:none;}.privacy-row-copy{display:flex;flex-direction:column;gap:2px;min-width:0;}.privacy-row-copy strong{font-size:10.8px;color:var(--zpg-ink);}.privacy-row-copy small{font-size:8.5px;line-height:1.35;color:var(--zpg-muted);}
.privacy-row-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:var(--theme-raised, #f0f5fb);color:var(--theme-muted, #4c6b8a);flex:0 0 auto;}.privacy-toggle-row.is-on .privacy-row-icon{background:var(--theme-raised, #e7f2ff);color:var(--theme-accent, #0d63df);}.privacy-clean-switch{width:40px;height:22px;border-radius:999px;background:var(--theme-raised, #cbd7e4);padding:3px;transition:.18s ease;flex:0 0 auto;}.privacy-clean-switch i{display:block;width:16px;height:16px;border-radius:50%;background:var(--theme-surface, #fff);box-shadow:var(--theme-shadow, 0 1px 4px rgba(20,49,82,.22));transition:.18s ease;}.privacy-toggle-row.is-on .privacy-clean-switch{background:var(--theme-raised, #0d63df);}.privacy-toggle-row.is-on .privacy-clean-switch i{transform:translateX(18px);}
.privacy-setting-row{display:grid;grid-template-columns:34px minmax(0,1fr) 156px;align-items:center;gap:11px;min-height:58px;padding:10px 13px;background:var(--zpg-card);}.privacy-setting-row+.privacy-setting-row{border-top:1px solid var(--zpg-line);}.privacy-setting-row:hover{background:var(--theme-hover, #fbfdff);}.privacy-setting-row strong{font-size:10.5px;color:var(--zpg-ink);font-weight:760;}.privacy-setting-row select{width:156px;height:36px;border:1px solid var(--theme-control-border, #d8e3ee);border-radius:9px;background:var(--theme-raised, #f8fbff);color:var(--theme-muted, #2d4965);font-size:9px;font-weight:720;padding:0 29px 0 10px;outline:none;}.privacy-setting-row select:focus{border-color:var(--theme-accent, #73aef0);box-shadow:var(--theme-focus-ring, 0 0 0 3px rgba(13,99,223,.08));background:var(--theme-raised, #fff);}
.privacy-clean-more{padding-bottom:0;}.privacy-clean-links{display:grid;grid-template-columns:1fr 1fr;}.privacy-clean-links>a{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:10px 13px;color:var(--theme-muted, #36516d);background:var(--zpg-card);}.privacy-clean-links>a+a{border-left:1px solid var(--zpg-line);}.privacy-clean-links>a:hover{background:var(--theme-hover, #f7fbff);}.privacy-clean-links strong{font-size:9.8px;color:var(--zpg-ink);}
.privacy-clean-savebar{position:sticky;bottom:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:22px;padding:13px 24px;background:var(--theme-raised, rgba(250,252,254,.97));backdrop-filter:blur(12px);border-top:1px solid var(--zpg-line);}.privacy-save-state{display:flex;align-items:center;gap:6px;font-size:8.4px;color:var(--zpg-muted);}.privacy-clean-savebar .primary-button{min-width:155px;min-height:38px;font-size:9.2px;}

@media(max-width:760px){.privacy-clean-header{align-items:flex-start;flex-direction:column;padding:18px 16px;}.privacy-preview-button{width:100%;}.privacy-clean-section{padding:17px 14px 0;}.privacy-clean-links{grid-template-columns:1fr;}.privacy-clean-links>a+a{border-left:0;border-top:1px solid var(--zpg-line);}.privacy-clean-savebar{padding:12px 14px;align-items:stretch;flex-direction:column;}.privacy-clean-savebar .primary-button{width:100%;}.privacy-save-state{justify-content:center;}}
@media(max-width:520px){.privacy-setting-row{grid-template-columns:32px minmax(0,1fr);gap:9px;padding:11px 12px;}.privacy-setting-row select{grid-column:2;width:100%;margin-top:1px;}.privacy-toggle-row{grid-template-columns:32px minmax(0,1fr) auto;padding:11px 12px;}.privacy-row-copy small{font-size:8.2px;}.privacy-clean-title p{font-size:9px!important;}}


/* ========================================================================== */
/* v1.2.12 features-10 — privacy row alignment and icon polish               */
/* ========================================================================== */
.privacy-setting-list>label.privacy-setting-row{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 164px!important;
  align-items:center!important;
  justify-content:initial!important;
  column-gap:12px!important;
  row-gap:0!important;
  min-height:60px!important;
  padding:10px 14px!important;
  text-align:left!important;
}
.privacy-setting-list>label.privacy-setting-row>.privacy-row-icon{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  margin:0!important;
  padding:0!important;
  align-self:center!important;
  justify-self:start!important;
  display:grid!important;
  place-items:center!important;
  line-height:0!important;
}
.privacy-setting-list>label.privacy-setting-row>.privacy-row-icon>.svg-icon,
.privacy-setting-list>label.privacy-setting-row>.privacy-row-icon>svg{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  display:block!important;
  margin:0!important;
  flex:none!important;
}
.privacy-setting-list>label.privacy-setting-row>strong{
  grid-column:2!important;
  justify-self:start!important;
  align-self:center!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
  line-height:1.3!important;
  white-space:normal!important;
}
.privacy-setting-list>label.privacy-setting-row>select{
  grid-column:3!important;
  justify-self:end!important;
  align-self:center!important;
  width:164px!important;
  min-width:164px!important;
  margin:0!important;
}
.privacy-setting-list>label.privacy-setting-row:hover>.privacy-row-icon{
  background:var(--theme-hover, #eaf3ff)!important;
  color:var(--theme-accent, #0d63df)!important;
}
.privacy-clean-section-title,
.privacy-clean-section-title h3,
.privacy-clean-section-title p{
  text-align:left!important;
}
.privacy-clean-links>a{
  text-align:left!important;
}
.privacy-clean-links>a>.privacy-row-icon{
  display:grid!important;
  place-items:center!important;
  line-height:0!important;
}
.privacy-clean-links>a>.privacy-row-icon>.svg-icon,
.privacy-clean-links>a>.privacy-row-icon>svg{
  width:18px!important;
  height:18px!important;
  display:block!important;
  margin:0!important;
}

@media(max-width:760px){
  .privacy-setting-list>label.privacy-setting-row{
    grid-template-columns:36px minmax(0,1fr) 150px!important;
    padding:10px 12px!important;
    column-gap:10px!important;
  }
  .privacy-setting-list>label.privacy-setting-row>select{
    width:150px!important;
    min-width:150px!important;
  }
}
@media(max-width:560px){
  .privacy-setting-list>label.privacy-setting-row{
    grid-template-columns:34px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    row-gap:7px!important;
    padding:12px!important;
  }
  .privacy-setting-list>label.privacy-setting-row>.privacy-row-icon{
    grid-column:1!important;
    grid-row:1!important;
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    max-width:32px!important;
  }
  .privacy-setting-list>label.privacy-setting-row>strong{
    grid-column:2!important;
    grid-row:1!important;
  }
  .privacy-setting-list>label.privacy-setting-row>select{
    grid-column:2!important;
    grid-row:2!important;
    justify-self:stretch!important;
    width:100%!important;
    min-width:0!important;
  }
}


/* ========================================================================== */
/* v1.2.12 features-11 — dark theme rework + compact comment bubbles          */
/* ========================================================================== */

/* Main shell and high-use surfaces */

/* Text hierarchy: avoid inherited low-contrast navy/gray values */

/* Inputs, selects and buttons */

/* Feed, interactions and comments */

/* Important: comment bubble follows the text instead of stretching across the row. */
.comment>.comment-content{
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
  min-width:0!important;
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
}
.comment-bubble{
  display:inline-block!important;
  width:fit-content!important;
  max-width:min(82%,680px)!important;
  min-width:0!important;
  padding:8px 11px!important;
  overflow-wrap:anywhere!important;
}
.comment-bubble p{width:auto!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important;}
.comment-actions{width:max-content!important;max-width:100%!important;margin-left:10px!important;}
.comment-reply .comment-bubble{max-width:min(86%,620px)!important;}

/* Reactions */

/* Right rail / search / profile / school */

/* Notifications and overlays */

/* Preserve supplied branding rule: color logo on light, white logo on dark. */

@media(max-width:720px){
  .comment-bubble{max-width:88%!important;}
  .comment-reply .comment-bubble{max-width:90%!important;}
}

/* features-11 hardcoded-light surface sweep */

/* ========================================================================== */

/* ========================================================================== */

/* Core surfaces. These replace inherited light-theme surfaces, not text boxes. */

/* Universal text hierarchy for product UI. */

/* Navigation and chrome. */

/* Forms and selectable controls. */

/* Feed composer: fix all previously hard-coded navy labels. */

/* Posts, media, metadata and action rows. */

/* Comments: compact bubble + readable action/meta text. */
.comment>.comment-content{align-items:flex-start!important;}
.comment-bubble{display:inline-block!important;width:fit-content!important;max-width:min(82%,680px)!important;min-width:0!important;}
.comment-bubble p{width:auto!important;max-width:100%!important;}

/* Reactions and people lists. */

/* Right rail / lists / profile surfaces. */

/* Settings and privacy. */

/* Admin, moderation, diagnostics, filters. */

/* Poll builder, analytics and response views. */

/* Notifications / popovers / route and badge dialogs. */

/* Semantic states retain meaning without sacrificing contrast. */

@media(max-width:720px){
  .comment-bubble{max-width:88%!important;}
}
