:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f7f4ef;--bg-soft:#faf8f4;--surface:#fdfbf7;--surface-strong:#fff;--surface-muted:#f3efe8;--surface-accent:#f0ebe3;--text:#26170f;--text-muted:#59483a;--text-soft:#756252;--text-strong:#161718;--color-muted:var(--text-muted);--primary:#b14d26;--primary-strong:#8f3918;--primary-alpha-5:#b14d260d;--primary-alpha-10:#b14d261a;--primary-alpha-20:#b14d2633;--primary-alpha-30:#b14d264d;--secondary:#355f5b;--accent:#d28d2f;--success:#227f4f;--error:#b94444;--border:#442d1c1f;--border-strong:#442d1c33;--divider:#442d1c14;--shadow-sm:0 1px 2px #412d1808;--shadow-md:0 4px 12px #412d180d;--shadow-lg:0 10px 24px #412d1814;--max-width:1180px;--content-width:860px;--reading-width:70ch;--radius-sm:14px;--radius-md:24px;--radius-lg:36px;--header-height:86px;--mobile-dock-height:calc(5.75rem + env(safe-area-inset-bottom,0px));--font-sans:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";--font-display:Georgia,"Times New Roman",serif}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#141110;--bg-soft:#1b1816;--surface:#211d1a;--surface-strong:#272320;--surface-muted:#2e2925;--surface-accent:#322c27;--text:#f4eadf;--text-muted:#d0c0b3;--text-soft:#b49f90;--primary:#ef8757;--primary-strong:#f2a27f;--primary-alpha-5:#ef87570d;--primary-alpha-10:#ef87571a;--primary-alpha-20:#ef875733;--primary-alpha-30:#ef87574d;--secondary:#8bc2bd;--accent:#f0b95d;--success:#63c985;--error:#ff8f8f;--border:#ffefe012;--border-strong:#ffefe01c;--divider:#ffefe00f;--shadow-sm:0 1px 2px #00000038;--shadow-md:0 5px 14px #00000047;--shadow-lg:0 10px 26px #00000057}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}html,body{max-width:100vw;overflow-x:hidden}body{min-height:100vh;font-family:var(--font-sans),"Segoe UI",sans-serif;color:var(--text);background:var(--bg);letter-spacing:.001em;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-size:clamp(16px,.985rem + .12vw,17px);line-height:1.7}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:none;box-shadow:0 0 0 4px #b14d262e}button,input,select,textarea{font:inherit}button{color:inherit}img{max-width:100%;display:block}::selection{background:#b14d262e}h1,h2,h3,h4,h5,h6{font-family:var(--font-display),Georgia,serif;letter-spacing:-.015em;color:var(--text);text-wrap:balance;font-weight:700;line-height:1.16}@media (max-width:768px){h1{font-size:clamp(1.85rem,8vw,2.45rem)}h2{font-size:clamp(1.45rem,6vw,1.75rem)}h3{font-size:1.25rem}}p,li{color:var(--text);line-height:1.72}small{color:var(--text-muted)}strong{color:var(--text)}.site-shell{min-height:100vh;position:relative}.shell-inner,.container{width:min(var(--max-width),calc(100% - 1.5rem));margin:0 auto}.container{padding:.1rem 0 4.25rem}.main-content{padding:.1rem 0 5.75rem}.site-header{z-index:120;padding:.25rem 0 0;position:sticky;top:0}.site-header:before{content:"";z-index:-1;background:#f7f4eff0;position:absolute;inset:0}[data-theme=dark] .site-header:before{background:#161412f0}.header-strip{justify-content:center;align-items:center;gap:.75rem;width:100%;display:flex}.brand-auth-group{background:var(--surface-strong);border:1px solid var(--border);width:min(920px,100%);min-height:3.25rem;box-shadow:var(--shadow-sm);border-radius:999px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.35rem .55rem;transition:border-color .2s;display:grid;position:relative;overflow:visible}.brand-auth-group:hover{border-color:var(--primary-alpha-30)}.brand-lockup-wrapper{justify-content:space-between;align-items:center;gap:.65rem;width:100%;min-width:0;display:flex}.brand-lockup{color:inherit;align-items:center;gap:.5rem;min-width:0;height:2.5rem;padding:0 .15rem 0 .1rem;text-decoration:none;display:inline-flex}.brand-lockup-text{flex-direction:column;justify-content:center;min-width:0;line-height:1;display:flex}.header-auth-mobile{display:none}.header-search-area{align-items:center;width:100%;min-width:0;height:2.5rem;display:flex}.header-auth-stack{flex-shrink:0;justify-content:flex-end;align-items:center;height:2.5rem;display:flex}.header-utilities{align-items:center;gap:.65rem;display:flex;position:absolute;top:50%;right:.9rem;transform:translateY(-50%)}.header-auth-desktop{align-items:center;display:inline-flex}.brand-mark{background:var(--primary-alpha-10);width:2rem;height:2rem;color:var(--primary);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.brand-lockup strong{font-size:1.05rem;font-family:var(--font-sans);letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;font-weight:800;line-height:1;overflow:hidden}.brand-lockup small{opacity:.6;white-space:nowrap;text-overflow:ellipsis;font-size:.7rem;font-weight:500;overflow:hidden}.header-utilities{flex-shrink:0;align-items:center;gap:.65rem;display:flex;position:absolute;top:50%;right:.85rem;transform:translateY(-50%)}.meta-pill{text-transform:uppercase;letter-spacing:.03em;color:var(--primary);background:var(--primary-alpha-5);white-space:nowrap;border-radius:6px;padding:.25rem .65rem;font-size:.65rem;font-weight:700}@media (max-width:520px){.meta-pill{display:none}}.profile-icon-btn{background:var(--surface-muted);border:1px solid var(--border);width:2.25rem;height:2.25rem;color:var(--text-muted);box-shadow:none;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;transition:all .2s;display:inline-flex;overflow:hidden}.profile-icon-btn:hover{border-color:var(--primary-alpha-30);background:var(--surface-accent);color:var(--primary)}.profile-icon-btn .avatar-img{object-fit:cover;border-radius:999px;width:100%;height:100%}.profile-icon-btn .avatar-initial{color:var(--primary);font-size:.85rem;font-weight:700}@media (max-width:768px){.brand-lockup small{display:none}.brand-lockup{gap:.5rem;padding-right:.2rem}.brand-mark{width:30px;height:30px}}@media (max-width:480px){.brand-auth-group{border-radius:999px;grid-template-columns:auto auto;justify-content:space-between;gap:.4rem;padding:.3rem .4rem}.brand-lockup{height:2.25rem}.brand-lockup strong{font-size:.95rem}.header-search-area{display:none}.header-auth-mobile{align-items:center;display:inline-flex}.header-auth-desktop{display:none}.header-auth-stack{height:2.25rem}.meta-pill{display:none}}.desktop-auth{align-items:center;min-width:0;display:flex}.auth-button-container{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.mobile-auth{display:none}.header-nav-row{justify-content:space-between;align-items:center;gap:.9rem;padding-top:.75rem;display:flex}.desktop-nav-links{border:1px solid var(--border);background:var(--surface);box-shadow:none;scrollbar-width:none;-ms-overflow-style:none;border-radius:999px;gap:.5rem;max-width:100%;padding:.45rem;display:inline-flex;overflow-x:auto}.desktop-nav-links::-webkit-scrollbar{display:none}@media (max-width:768px){.desktop-nav-links{-webkit-mask-image:linear-gradient(90deg,#000 85%,#0000 100%);mask-image:linear-gradient(90deg,#000 85%,#0000 100%)}}.top-nav-link{min-height:2.65rem;color:var(--text-muted);border-radius:999px;justify-content:center;align-items:center;padding:.55rem .95rem;font-size:.96rem;font-weight:700;transition:background-color .18s,color .18s,transform .18s;display:inline-flex}.top-nav-link:hover,.top-nav-link.active{color:var(--text);background:var(--surface-strong)}.top-nav-link.active{box-shadow:none}.top-nav-link-premium{color:var(--primary);font-weight:800}.top-nav-link-premium:hover,.top-nav-link-premium.active{color:var(--primary);background:var(--surface-accent)}.header-utility-links{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.4rem;display:inline-flex}.utility-link{min-height:2.4rem;color:var(--text-soft);border-radius:999px;justify-content:center;align-items:center;gap:.35rem;padding:.35rem .8rem;font-size:.86rem;font-weight:700;transition:color .18s,background-color .18s;display:inline-flex}.utility-link:hover,.utility-link.active{color:var(--text);background:var(--surface-strong)}.utility-link-premium{color:var(--primary)}.site-footer{padding:1rem 0 7rem}.footer-grid{border-radius:var(--radius-lg);border:1px solid var(--border);background:var(--surface);box-shadow:none;gap:1.4rem;padding:1.5rem;display:grid}.footer-grid h2{margin-bottom:.45rem;font-size:1.6rem}.footer-kicker,.page-kicker,.section-kicker{color:var(--primary);letter-spacing:.12em;text-transform:uppercase;align-items:center;gap:.45rem;font-size:.78rem;font-weight:800;display:inline-flex}.footer-links{gap:.55rem;margin-top:.7rem;display:grid}.footer-links a,.footer-links span{color:var(--text-muted);font-size:.98rem;line-height:1.6}.footer-links a:hover{color:var(--primary)}.footer-credit{text-align:center;justify-content:center;padding-top:.9rem;display:flex}.footer-credit small{color:var(--text-soft);font-size:.78rem;line-height:1.5}.mobile-dock{z-index:140;padding:.55rem .55rem calc(.65rem + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface);box-shadow:none;grid-template-columns:repeat(5,minmax(0,1fr));gap:.2rem;display:grid;position:fixed;inset:auto 0 0}[data-theme=dark] .mobile-dock{background:var(--surface)}.mobile-dock-link{min-height:3rem;color:var(--text-soft);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:.18rem;padding:.35rem .18rem;font-size:.72rem;font-weight:700;line-height:1.1;transition:color .18s,background-color .18s,transform .18s;display:flex}.mobile-dock-link.active{color:var(--text);background:0 0}.mobile-dock-link:active{transform:translateY(1px)}.page-shell{gap:1.6rem;display:grid}.page-hero{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:none;gap:1rem;padding:1.2rem;transition:transform .3s,box-shadow .3s;display:grid;position:relative;overflow:hidden}.page-hero:hover{box-shadow:var(--shadow-md)}.hero-premium-bg{background:var(--surface-accent)}@media (max-width:768px){.page-hero{gap:.85rem;margin-top:.5rem;padding:1.25rem 1rem}.page-hero h1{font-size:2rem;line-height:1.25}}.page-lead{max-width:var(--reading-width);color:var(--text-muted);font-size:1.06rem;line-height:1.8}.page-actions,.stacked-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;min-width:0;display:flex}.page-actions>*,.stacked-actions>*{min-width:0;max-width:100%}.centered-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:.75rem;display:flex}.centered-section{text-align:center;flex-direction:column;align-items:center;gap:1rem;display:flex}.centered-actions{justify-content:center}.centered-btn{justify-self:center}.stack-card{text-align:center;flex-direction:column;align-items:center;width:100%;max-width:520px;display:flex}.stacked-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));justify-items:center;gap:1rem;width:100%;max-width:960px;display:grid}.content-grid{grid-template-columns:1fr;gap:1rem;display:grid}.page-grid-2,.page-grid-3,.feature-grid,.stats-grid,.tool-grid{gap:1rem;display:grid}.page-shell>*,.section-stack>*,.page-grid-2>*,.page-grid-3>*,.feature-grid>*,.stats-grid>*,.tool-grid>*,.content-grid>*{min-width:0}.page-grid-2{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.page-grid-3,.feature-grid,.stats-grid,.tool-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.content-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,.85fr);align-items:start}.card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);min-width:0;max-width:100%;box-shadow:none;padding:1.15rem;transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .3s;position:relative}.card:hover{box-shadow:var(--shadow-md);border-color:var(--border-strong);transform:translateY(-3px)}@media (max-width:768px){.card{border-radius:.9rem;padding:.95rem}}.card-muted{background:#fffcf7a3}.admin-record-active{box-shadow:none;border-color:#b14d2659}.card-inset{background:var(--surface-muted)}.card-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.8rem;display:flex}.section-stack{gap:1.05rem;display:grid}.section-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.section-heading>*{min-width:0}.section-heading h2{font-size:clamp(1.5rem,6vw,2.5rem)}.section-heading p{max-width:50ch;color:var(--text-muted);font-size:1rem;line-height:1.76}.btn{cursor:pointer;letter-spacing:-.01em;border:1px solid #0000;border-radius:999px;flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;min-width:0;max-width:100%;min-height:2.95rem;padding:.7rem 1rem;font-size:.96rem;font-weight:700;transition:transform .18s,border-color .18s,background-color .18s,color .18s,box-shadow .18s;display:inline-flex}.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(0)}.btn:disabled{cursor:not-allowed;opacity:.58;transform:none}.btn-primary{background:var(--primary);color:#fff7f1}[data-theme=dark] .btn-primary{color:#1d120b}.btn-primary:hover{background:var(--primary-strong)}.btn-outline{border-color:var(--border-strong);background:var(--surface-strong);color:var(--text)}.btn-outline:hover{color:var(--primary);border-color:#b14d2638}.btn-ghost{color:var(--text-muted);background:0 0}.form-control,.search-input,textarea,select,input[type=text],input[type=email],input[type=date],input[type=number]{border:1px solid var(--border);background:var(--surface-strong);width:100%;min-height:3.1rem;color:var(--text);border-radius:22px;padding:.85rem 1rem;font-size:1rem;line-height:1.5;transition:border-color .18s,background-color .18s}textarea{resize:vertical;min-height:7.5rem;line-height:1.7}::placeholder{color:var(--text-soft);opacity:1}.form-control:focus,.search-input:focus,textarea:focus,select:focus,input:focus{border-color:#b14d265c;outline:none;box-shadow:0 0 0 3px #b14d2614}.field-label{gap:.45rem;display:grid}.field-label>span{color:var(--text-muted);font-size:.9rem;font-weight:700}.field-label[data-required=true]>span:after{content:" *";color:var(--danger)}.search-shell{position:relative}.search-shell svg{color:var(--text-soft);position:absolute;top:50%;left:1rem;transform:translateY(-50%)}@media (max-width:480px){.page-actions,.stacked-actions,.profile-actions{flex-direction:column;align-items:stretch}.page-actions>.btn,.stacked-actions>.btn,.profile-actions>.btn{width:100%}.page-hero{border-radius:var(--radius-sm);gap:.7rem;padding:1rem .85rem}.page-hero h1{font-size:1.75rem}.card{border-radius:var(--radius-sm);padding:1rem .85rem}.home-action-link{text-align:center;justify-content:center;width:100%}.home-simple-row{padding:.75rem 0}}.search-shell .form-control{padding-left:2.8rem}.yearbook-card{border-radius:var(--radius-md);border:2px solid var(--border);color:inherit;background:linear-gradient(135deg,#fff 0%,#f8f9fa 100%);text-decoration:none;transition:transform .2s,box-shadow .2s,border-color .2s;overflow:hidden}.yearbook-card-content{gap:.5rem;padding:1.25rem;display:grid}.yearbook-chip-audience,.yearbook-chip-difficulty{white-space:nowrap;border-radius:999px;align-items:center;gap:.35rem;padding:.25rem .65rem;font-size:.78rem;font-weight:700;display:inline-flex}.yearbook-chip-audience{color:#0369a1;background:#e0f2fe;border:1px solid #bae6fd}.yearbook-chip-difficulty{color:#92400e;background:#fef3c7;border:1px solid #fde68a}.yearbook-card-title{margin-bottom:.25rem;font-size:1.1rem;font-weight:700}.yearbook-card-desc{color:var(--text-muted);font-size:.9rem;line-height:1.5}.yearbook-card-meta{color:var(--text-muted);flex-wrap:wrap;gap:1rem;font-size:.85rem;display:flex}.yearbook-card-time{align-items:center;gap:.35rem;display:flex}.learn-path-back{margin-bottom:.75rem}.learn-path-tags{flex-wrap:wrap;gap:.5rem;margin-top:.5rem;margin-bottom:1rem;display:flex}.learn-path-difficulty-chip{color:#374151;background:#f3f4f6;border:1px solid #e5e7eb}.learn-path-hours-chip{align-items:center;gap:.35rem;display:inline-flex}.learn-modules{gap:1rem;display:grid}.learn-module{border-radius:var(--radius-md);border:2px solid var(--border)}.learn-module-number{color:#0369a1;background:#f0f9ff;border:1px solid #bae6fd}.learn-module-title{font-size:1rem;font-weight:700}.learn-module-desc{color:var(--text-muted);padding-left:2.25rem;font-size:.85rem}.related-resources{margin-top:2rem}.related-resources h2{margin-bottom:1rem;font-size:1.25rem;font-weight:700}.learn-resource-card{border-radius:var(--radius-md);border:2px solid var(--border);color:inherit;padding:1.25rem;text-decoration:none;transition:transform .2s,box-shadow .2s,border-color .2s}.learn-resource-card:hover{box-shadow:var(--shadow-md);border-color:var(--border-strong);transform:translateY(-2px)}.learn-resource-icon{border-radius:12px;justify-content:center;align-items:center;width:32px;height:32px;margin-bottom:.75rem;display:inline-flex}.learn-resource-content{flex-direction:column;gap:.5rem;display:flex}.learn-resource-title{font-size:1rem;font-weight:700}.learn-resource-desc{color:var(--text-muted);font-size:.85rem;line-height:1.5}@media (max-width:640px){.yearbook-grid{grid-template-columns:1fr;gap:1rem}.yearbook-card-content{padding:1rem}.yearbook-card{border-radius:var(--radius-sm)}.yearbook-chip-audience,.yearbook-chip-difficulty{font-size:.7rem}.learn-path-hours-chip{font-size:.75rem}.learn-module-number{width:24px;height:24px;font-size:.75rem}.learn-module-desc{padding-left:2rem;font-size:.8rem}.learn-resource-card{border-radius:var(--radius-sm);padding:1rem}.learn-resource-icon{width:28px;height:28px;margin-bottom:.5rem}.learn-resource-title{font-size:.95rem}.learn-resource-desc{font-size:.8rem}}@media (max-width:480px){.yearbook-grid{gap:.75rem}.yearbook-card,.yearbook-card-content{padding:.75rem}}.yearbook-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.25rem;display:grid}.yearbook-card{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);color:inherit;flex-direction:column;height:100%;text-decoration:none;transition:transform .15s,box-shadow .15s;display:flex;overflow:hidden}.yearbook-card:hover{box-shadow:var(--shadow-md);border-color:var(--border-strong);transform:translateY(-2px)}.card-image-container{aspect-ratio:1;background:var(--bg-soft);width:100%;position:relative;overflow:hidden}.card-image{object-fit:cover;width:100%;height:100%;transition:transform .2s;position:absolute;inset:0}.yearbook-card:hover .card-image{transform:scale(1.03)}.card-placeholder{width:100%;height:100%;color:var(--text-soft);background:var(--bg-soft);justify-content:center;align-items:center;display:flex}.card-badge{background:var(--primary);color:#fff;z-index:1;border-radius:999px;padding:.25rem .75rem;font-size:.75rem;font-weight:600;position:absolute;top:.75rem;right:.75rem}.card-content{flex-direction:column;flex:1;gap:.4rem;padding:1rem;display:flex}.card-title{margin:0;font-size:1.05rem;font-weight:700;line-height:1.25}.card-nickname{color:var(--text-soft);margin:0;font-size:.8rem;font-style:italic}.card-meta{flex-wrap:wrap;flex:1;gap:.4rem;margin-top:.3rem;display:flex}.meta-item{color:var(--text-soft);align-items:center;gap:.3rem;font-size:.75rem;display:flex}.modal-backdrop{z-index:60;background:#00000073;justify-content:center;align-items:center;padding:.75rem;display:flex;position:fixed;inset:0}.modal-content{background:var(--surface);border-radius:var(--radius-md);flex-direction:column;width:100%;max-width:700px;max-height:90vh;display:flex;position:relative;overflow-y:auto}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:1.25rem;display:flex}.modal-title{margin:0;font-size:1.35rem;font-weight:700}.modal-close-btn{cursor:pointer;color:var(--text-soft);background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:2.75rem;height:2.75rem;font-size:1.5rem;transition:all .15s;display:flex}.modal-close-btn:hover{background:var(--bg-soft);color:var(--text)}.modal-body{gap:1rem;padding:1.25rem;display:grid}.modal-photo-container{justify-content:center;display:flex}.modal-photo,.modal-photo-placeholder{border:2px solid var(--border);object-fit:cover;border-radius:50%;width:100%;max-width:200px}.modal-photo-placeholder{color:var(--text-soft);background:var(--bg-soft);justify-content:center;align-items:center;display:flex}.modal-info{gap:.75rem;display:grid}.modal-name{margin:0;font-size:1.5rem;font-weight:800}.modal-nickname{color:var(--text-soft);margin:0;font-size:.9rem;font-style:italic}.modal-details{gap:.5rem;display:grid}.detail-item{color:var(--text-soft);align-items:center;gap:.5rem;font-size:.9rem;display:flex}.quote-container{background:var(--bg-soft);border-radius:var(--radius-sm);align-items:flex-start;gap:.6rem;padding:.9rem;font-style:italic;display:flex}.quote-icon{color:var(--primary);flex-shrink:0;width:1.1rem;height:1.1rem}.quote-text{color:var(--text);margin:0;font-size:.9rem;line-height:1.5}.memories-section h4{margin:0 0 .5rem;font-size:1rem;font-weight:600}.memories-grid{flex-wrap:wrap;justify-content:flex-start;gap:.5rem;display:flex}.memory-item{border:1px solid var(--border);border-radius:.375rem;width:70px;height:70px;overflow:hidden}.memory-img{object-fit:cover;width:100%;height:100%}.hero-with-gradient{color:var(--text);text-align:center;border-radius:var(--radius-md);background:linear-gradient(135deg,#f4f1e9 0%,#e8e5db 100%);margin-bottom:1.5rem;padding:2rem 0 1.5rem}.hero-badge{color:var(--primary);text-transform:uppercase;letter-spacing:.05em;background:#b14d2614;border-radius:999px;align-items:center;gap:.4rem;margin-bottom:.75rem;padding:.4rem .8rem;font-size:.8rem;font-weight:600;display:inline-flex}.hero-title{margin:0 0 .4rem;font-size:clamp(1.6rem,4.5vw,2.2rem);font-weight:800;line-height:1.2}.hero-description{max-width:560px;color:var(--text-soft);margin:0 auto 1rem;font-size:clamp(.9rem,1.8vw,1.1rem);line-height:1.6}.stats-grid{flex-wrap:wrap;justify-content:center;gap:1.5rem;margin-top:1rem;display:flex}.stat-item{text-align:center}.stat-value{color:var(--primary);font-size:1.5rem;font-weight:800;display:block}.stat-label{color:var(--text-soft);text-transform:uppercase;letter-spacing:.05em;font-size:.75rem}@media (max-width:768px){.yearbook-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.yearbook-card{border-radius:var(--radius-sm);border-width:1px}.card-content{padding:.85rem}.card-badge{padding:.2rem .6rem;font-size:.7rem;top:.6rem;right:.6rem}.modal-backdrop{padding:.5rem}.modal-content{border-radius:var(--radius-md);max-height:95vh}.modal-header{padding:1rem}.modal-title{font-size:1.25rem}.modal-close-btn{width:2.25rem;height:2.25rem;font-size:1.25rem}.modal-body{gap:.75rem;padding:1rem}.modal-photo,.modal-photo-placeholder{border-width:1.5px;max-width:150px}.memories-grid{justify-content:center}.memory-item{width:60px;height:60px}.hero-with-gradient{border-radius:var(--radius-sm);margin-bottom:1rem;padding:1.5rem 0 1rem}.hero-title{font-size:1.5rem}.stats-grid{gap:1rem}.stat-value{font-size:1.25rem}@media (max-width:480px){.modal-content{border-radius:0;max-width:100%;max-height:100vh}.modal-photo,.modal-photo-placeholder{max-width:120px}.memory-item{width:50px;height:50px}}}.cookie-consent-overlay{z-index:500;pointer-events:none;justify-content:center;padding:1rem;display:flex;position:fixed;bottom:0;left:0;right:0}.cookie-consent-card{pointer-events:auto;background:var(--surface-strong);width:100%;max-width:800px;box-shadow:var(--shadow-lg);border:1px solid var(--border-strong);opacity:0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.5rem;animation:.4s cubic-bezier(.16,1,.3,1) forwards slideUp;display:flex;transform:translateY(100%)}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.cookie-consent-content{flex:1 1 0;align-items:flex-start;gap:1rem;min-width:280px;display:flex}.cookie-consent-actions{flex-wrap:nowrap;align-items:center;gap:.8rem;display:flex}@media (max-width:600px){.cookie-consent-card{flex-direction:column;align-items:stretch}.cookie-consent-actions{flex-direction:column-reverse}.cookie-consent-actions>.btn{width:100%}.cookie-consent-overlay{bottom:env(safe-area-inset-bottom)}}.chatbot-toggle-btn{z-index:200;width:3.5rem;height:3.5rem;box-shadow:var(--shadow-lg);border-radius:50%;padding:0;position:fixed;bottom:1.5rem;right:1.5rem}.chatbot-overlay{z-index:200;width:min(100vw - 3rem,400px);height:550px;max-height:calc(100vh - 7rem);box-shadow:var(--shadow-lg);border:1px solid var(--border);flex-direction:column;padding:0;display:flex;position:fixed;bottom:5.5rem;right:1.5rem;overflow:hidden}.chatbot-header{background:var(--surface-strong);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:.8rem 1.2rem;display:flex}.text-muted{color:var(--text-muted)}.text-danger{color:var(--error)}.text-soft{color:var(--text-soft)}.text-center{text-align:center}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.badge{letter-spacing:.05em;text-transform:uppercase;border:1px solid #0000;border-radius:999px;align-items:center;gap:.35rem;min-height:1.8rem;padding:.25rem .7rem;font-size:.74rem;font-weight:800;display:inline-flex}.badge-academic{color:var(--secondary);background:#355f5b1f}.badge-clinical{color:var(--primary);background:#b14d261f}.badge-exams{color:#9d5f08;background:#d28d2f2e}.badge-admissions{color:#24518a;background:#386fb824}.badge-general{color:var(--text-muted);background:#6c5a4c1f}.badge-administration{color:#6a3f99;background:#613f9124}.flex-between{justify-content:space-between;align-items:center;gap:.8rem;display:flex}.mb-1{margin-bottom:.85rem}.mb-2{margin-bottom:1.35rem}.mt-1{margin-top:.85rem}.mt-2{margin-top:1.35rem}.grid-cols{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.8rem;display:grid}.tool-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.75rem}@media (max-width:640px){.page-shell{gap:1.1rem}.page-hero{gap:.8rem;padding:1rem}.page-hero h1{font-size:1.75rem}.page-lead{font-size:.95rem;line-height:1.7}.grid-cols{grid-template-columns:1fr;gap:.7rem}.tool-grid{grid-template-columns:1fr}.page-actions,.stacked-actions{gap:.5rem}.page-actions>*,.stacked-actions>*{width:100%}.stack-card{max-width:100%}}.hide-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbar::-webkit-scrollbar{display:none}.filter-row{flex-wrap:wrap;align-items:center;gap:.55rem;margin-top:.75rem;padding-bottom:.25rem;display:flex}.filter-row>select{flex:1 1 0;min-width:0}@media (max-width:480px){.filter-row{flex-direction:column;align-items:stretch}.filter-row>select{width:100%}}.update-filter-row{gap:.75rem}.update-filter-chip{border:1px solid var(--border);background:var(--surface-strong);min-width:11rem;color:inherit;text-align:left;cursor:pointer;border-radius:24px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;padding:.8rem .95rem;transition:transform .18s,border-color .18s,box-shadow .18s,background-color .18s;display:grid}.update-filter-chip:hover{border-color:#b14d263d;transform:translateY(-1px)}.update-filter-chip.active{background:var(--surface-accent);box-shadow:none;border-color:#b14d2657}.update-filter-icon{background:var(--surface-accent);width:2.25rem;height:2.25rem;color:var(--primary);border-radius:16px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.update-filter-copy{gap:.16rem;min-width:0;display:grid}.update-filter-copy strong{font-size:.92rem;line-height:1.2}.update-filter-copy small{color:var(--text-muted);font-size:.78rem;line-height:1.35}.metric-card{background:var(--surface-strong);border:1px solid var(--border);border-radius:22px;gap:.25rem;padding:1rem;display:grid}.metric-card-icon{background:var(--surface-accent);width:2rem;height:2rem;color:var(--primary);border-radius:14px;justify-content:center;align-items:center;margin-bottom:.15rem;display:inline-flex}.metric-card strong{font-size:1.8rem;font-weight:800;line-height:1}.metric-card span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;font-size:.86rem}.archive-stats-row .metric-card{min-width:0}.hero-layout{gap:1.15rem;display:grid}.hero-copy{gap:1rem;display:grid}.quick-start-card{gap:.8rem;max-width:min(100%,38rem)}.home-brief-header{gap:.95rem}.home-brief-topline{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.home-brief-copy{gap:.7rem;max-width:44rem;display:grid}.home-newsletter-grid{grid-template-columns:minmax(0,1.45fr) minmax(280px,.9fr);align-items:start;gap:1rem;display:grid}.home-lead-story,.home-brief-search,.home-quick-links,.home-brief-item{gap:.95rem;display:grid}.home-lead-title{max-width:20ch;font-size:clamp(1.7rem,4vw,2.45rem);line-height:1.2}.home-lead-summary{max-width:62ch;color:var(--text-muted);line-height:1.78}.home-brief-sidebar{gap:1rem;display:grid}.home-sidebar-title{font-size:1.35rem;line-height:1.3}.home-link-list,.home-brief-list{gap:.85rem;display:grid}.home-link-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.home-link-item{color:inherit;border-radius:22px;gap:.28rem;padding:.95rem 1rem;display:grid}.home-link-item strong{font-size:.98rem}.home-link-item span{color:var(--text-muted);font-size:.9rem;line-height:1.6}.home-brief-list-card{padding:clamp(1.15rem,1rem + .65vw,1.5rem)}.home-brief-item{border:1px solid var(--border);border-radius:24px;padding:1rem 1.05rem}.home-brief-item h3{font-size:1.12rem;line-height:1.35}.home-mini-tool-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.8rem;display:grid}.home-mini-tool{min-height:4rem;color:inherit;align-items:center;gap:.7rem;padding:.95rem 1rem;font-weight:700;display:flex}.home-mini-tool-icon{background:var(--surface-accent);width:2.1rem;height:2.1rem;color:var(--primary);border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.home-search-card{max-width:min(100%,var(--content-width))}.home-shortcut-grid,.home-updates-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;display:grid}.home-shortcut-card,.home-update-card{gap:.85rem;height:100%;display:grid}.home-shortcut-card strong{font-size:1rem}.home-update-card h3{margin-bottom:.35rem;font-size:1.25rem}.home-update-card p{color:var(--text-muted);line-height:1.7}.home-update-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.knowledge-card-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;display:grid}.knowledge-card,.knowledge-feature-card{color:inherit;gap:.85rem;height:100%;display:grid}.knowledge-card h2,.knowledge-card h3,.knowledge-feature-card h2{font-size:clamp(1.22rem,1rem + .8vw,1.7rem);line-height:1.22}.knowledge-feature-card{background:var(--surface-strong);padding:clamp(1.25rem,1rem + 1vw,1.9rem)}.knowledge-fact-grid{flex-wrap:wrap;gap:.65rem;display:flex}.source-link{color:var(--primary);justify-content:space-between;align-items:center;gap:.55rem;font-weight:700;display:inline-flex}.success-card{color:var(--success);border-color:#227f4f38}.error-card{color:var(--error);border-color:#b944443d}.step-list{color:var(--text-muted);gap:.75rem;padding-left:1.25rem;display:grid}.step-list li{max-width:46ch;line-height:1.7}.hero-note{background:var(--surface-muted);border:1px solid var(--border);color:var(--text-muted);max-width:var(--reading-width);border-radius:24px;padding:1rem 1.1rem;line-height:1.74}[data-theme=dark] .hero-note{background:var(--surface-muted)}.chip-row{flex-wrap:wrap;align-items:flex-start;gap:.55rem;display:flex}.chip{background:var(--surface-strong);border:1px solid var(--border);min-width:0;max-width:100%;color:var(--text-muted);overflow-wrap:anywhere;word-break:break-word;border-radius:999px;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.45rem .8rem;font-size:.86rem;font-weight:700;display:inline-flex}.premium-mini-badge,.premium-badge{background:var(--surface-accent);min-height:1.8rem;color:var(--text);letter-spacing:.02em;border-radius:999px;align-items:center;gap:.35rem;font-weight:800;display:inline-flex}.premium-mini-badge{min-height:1.4rem;color:var(--primary);background:#b14d2614;border:1px solid #b14d2626;padding:.1rem .45rem;font-size:.68rem;line-height:1}.premium-badge{text-transform:uppercase;padding:.35rem .8rem;font-size:.78rem}[data-theme=dark] .chip{background:#ffffff0a}.feature-card,.tool-card,.info-card{gap:.75rem;height:100%;display:grid}.feature-card .icon-wrap,.tool-card .icon-wrap,.info-card .icon-wrap,.list-icon{background:var(--surface-accent);width:2.9rem;height:2.9rem;color:var(--primary);border-radius:20px;justify-content:center;align-items:center;display:inline-flex}.feature-card h3,.tool-card h3,.info-card h3{font-size:1.35rem}.feature-card p,.tool-card p,.info-card p{color:var(--text-muted);line-height:1.72}.tool-card .meta-line{color:var(--text-soft);font-size:.88rem}.pricing-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;display:grid}.pricing-card{align-content:start;gap:1.2rem;display:grid}.pricing-card-featured{background:var(--surface);border-width:1px;border-color:#b14d2638}.pricing-card-badge{background:var(--primary);color:#fff;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;justify-self:start;align-items:center;min-height:1.9rem;padding:.3rem .75rem;font-size:.76rem;font-weight:800;display:inline-flex}.pricing-card-title{font-size:clamp(1.6rem,4vw,2rem);line-height:1.22}.pricing-price-row{align-items:flex-end;gap:.5rem;display:flex}.pricing-price-row strong{font-size:clamp(2rem,6vw,2.9rem);line-height:1}.pricing-price-row span{color:var(--text-muted);padding-bottom:.2rem;font-size:.98rem}.pricing-feature-list{gap:.8rem;list-style:none;display:grid}.pricing-feature-list li,.pricing-note{align-items:flex-start;gap:.75rem;display:flex}.pricing-feature-list li svg{color:var(--primary);flex-shrink:0;margin-top:.1rem}.pricing-feature-list span{line-height:1.7}.pricing-note{border-radius:22px;flex-direction:column;padding:1rem 1.05rem}.pricing-note strong{font-size:.98rem}.pricing-note p{color:var(--text-muted);line-height:1.66}.premium-lock-card{text-align:center;justify-items:center;padding:clamp(1.4rem,1.2rem + .9vw,2rem)}.premium-lock-icon{border-radius:22px;width:3.2rem;height:3.2rem}.chat-layout{grid-template-columns:minmax(260px,320px) minmax(0,1fr);align-items:start;gap:1rem;display:grid}.chat-sidebar-panel,.chat-main-panel{min-height:42rem}.chat-sidebar-panel{align-content:start;gap:1rem;display:grid}.chat-panel-title{font-size:1.5rem}.chat-channel-list{gap:.55rem;max-height:26rem;display:grid;overflow:auto}.chat-channel-button{border:1px solid var(--border);background:var(--surface-strong);width:100%;color:inherit;text-align:left;cursor:pointer;border-radius:22px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;padding:.85rem .95rem;transition:transform .18s,border-color .18s,background-color .18s,box-shadow .18s;display:grid}.chat-channel-button:hover{border-color:#b14d2638;transform:translateY(-1px)}.chat-channel-button.active{background:var(--surface-accent);box-shadow:none;border-color:#b14d2657}.chat-channel-hash{background:var(--surface-accent);width:2rem;height:2rem;color:var(--primary);border-radius:14px;justify-content:center;align-items:center;display:inline-flex}.chat-channel-copy{gap:.15rem;min-width:0;display:grid}.chat-channel-copy strong{font-size:.95rem;line-height:1.3}.chat-channel-copy small{color:var(--text-muted);line-height:1.45}.chat-profile-card{border-radius:22px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;padding:.95rem 1rem;display:grid}.chat-profile-copy{gap:.15rem;min-width:0;display:grid}.chat-profile-copy strong{font-size:.94rem}.chat-profile-copy small{color:var(--text-muted);line-height:1.4}.chat-main-panel{grid-template-rows:auto minmax(0,1fr) auto;gap:1rem;display:grid}.chat-main-header{border-bottom:1px solid var(--border);gap:.35rem;padding-bottom:.9rem;display:grid}.chat-main-title{align-items:center;gap:.55rem;display:flex}.chat-main-title h2{font-size:1.45rem;line-height:1.24}.chat-messages-shell{min-height:18rem;max-height:34rem;overflow:auto}.chat-message-list{gap:.95rem;display:grid}.chat-message-item{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.8rem;display:grid}.chat-message-avatar{background:var(--surface-accent);width:2.5rem;height:2.5rem;color:var(--primary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:800;display:inline-flex;overflow:hidden}.chat-message-avatar img{object-fit:cover;width:100%;height:100%}.chat-message-body{gap:.25rem;min-width:0;display:grid}.chat-message-meta{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.chat-message-meta strong{font-size:.94rem}.chat-message-meta span{color:var(--text-soft);font-size:.8rem}.chat-message-text{color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.72}.chat-empty-state,.chat-empty-card{text-align:center;justify-items:center;gap:.65rem;display:grid}.chat-empty-card{border-radius:22px;padding:1.3rem 1rem}.chat-composer{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;gap:.75rem;padding-top:.95rem;display:grid}.posts-stack,.resource-stack,.faq-stack,.comment-stack,.timeline-stack{gap:1rem;display:grid}.post-card,.resource-card,.activity-card{gap:.95rem;display:grid}.chart-pack-card{border:1px solid var(--border)}.chart-pack-featured{background:var(--surface);border:1px solid var(--border);padding:clamp(1.2rem,1rem + .8vw,1.8rem)}.chart-pack-featured-grid{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:1rem;display:grid}@media (max-width:640px){.chart-pack-featured-grid{grid-template-columns:1fr}.chart-pack-featured-grid .btn{justify-content:center;width:100%}}.chart-pack-featured-copy{gap:.75rem;display:grid}.chart-pack-featured-copy h2{font-size:clamp(1.5rem,1.25rem + 1vw,2rem);line-height:1.08}.post-card{grid-template-columns:auto minmax(0,1fr);align-items:start}.post-main{gap:.92rem;min-width:0;display:grid}.post-meta,.inline-meta{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.post-meta-badge{gap:.32rem}.post-meta-note-trigger{align-items:center;margin-left:auto;display:inline-flex}.post-meta-note-btn{border:1px solid var(--border);background:var(--surface-strong);color:var(--text-muted);cursor:pointer;border-radius:999px;align-items:center;gap:.35rem;padding:.35rem .6rem;font-size:.78rem;font-weight:700;transition:all .15s;display:inline-flex}.post-meta-note-btn:hover{background:var(--surface-muted);color:var(--primary);border-color:var(--primary)}.post-detail-note-trigger{margin-top:.75rem}.post-detail-note-trigger .post-meta-note-btn{padding:.55rem 1rem;font-size:.85rem}.post-author-chip{align-items:center;gap:.4rem;margin-left:.2rem;display:inline-flex}.post-author-avatar{object-fit:cover;border:1px solid var(--border);border-radius:50%;width:1.35rem;height:1.35rem}.post-author-avatar--fallback{background:var(--surface-accent);width:1.35rem;height:1.35rem;color:var(--primary);border:1px solid var(--border);border-radius:50%;justify-content:center;align-items:center;font-size:.62rem;font-weight:800;display:inline-flex}.post-cover,.hero-banner{border:1px solid var(--border);background:var(--surface-muted);border-radius:24px;overflow:hidden}.post-cover img,.hero-banner img{object-fit:cover;width:100%;height:100%}.post-cover{aspect-ratio:16/9}.post-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.85rem;display:flex}.post-hero{gap:1rem;display:grid}.post-back-link{width:fit-content}.post-hero-copy{gap:.95rem;display:grid}.post-hero-title{max-width:16ch}.post-summary{max-width:min(56ch,100%)}.post-reading-cues{flex-wrap:wrap;gap:.65rem;display:flex}.post-detail-grid{grid-template-columns:minmax(0,1.55fr) minmax(280px,.78fr);align-items:start;gap:1rem;display:grid}.post-article-card{padding:clamp(1.2rem,1rem + .9vw,1.8rem)}.post-sidebar{min-width:0}.post-support-card{gap:1rem;position:sticky;top:1rem}.post-support-section{border-top:1px solid var(--border);gap:.7rem;padding-top:.95rem;display:grid}.post-support-label{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;font-weight:800}.post-support-actions{justify-items:start;gap:.75rem;display:grid}.post-support-actions>*{min-width:0;max-width:100%}.post-comments-card{padding:clamp(1.15rem,1rem + .75vw,1.6rem)}.post-content{width:min(100%,var(--content-width));color:var(--text);gap:1.15rem;margin-inline:auto;font-size:clamp(1.05rem,1rem + .18vw,1.13rem);line-height:1.92;display:grid}.post-content>div{gap:.75rem;display:grid}.post-content p,.post-content li,.post-content blockquote{color:var(--text);max-width:var(--reading-width)}.post-content strong{font-weight:800}.post-content em{font-style:italic}.post-content code{background:var(--surface-muted);border:1px solid var(--border);border-radius:10px;align-items:center;min-height:1.8rem;padding:.1rem .45rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.92em;display:inline-flex}.post-content h2,.post-content h3{margin-top:.8rem;font-size:1.6rem;line-height:1.3}.post-content ul,.post-content ol{gap:.65rem;padding-left:1.35rem;display:grid}.post-content a,.hero-note a,.faq-answer a,.text-muted a{color:var(--primary-strong);text-underline-offset:.16em;text-decoration:underline;text-decoration-thickness:.08em}.post-content blockquote{border-left:3px solid var(--primary);background:var(--surface-muted);border-radius:0 18px 18px 0;padding:1rem 1.1rem;font-style:italic}.post-content hr{width:min(100%,var(--reading-width));background:var(--border-strong);border:none;height:1px;margin:.35rem 0}.search-result{gap:.7rem;display:grid}.search-result p{color:var(--text-muted);line-height:1.74}.search-highlight{color:var(--text-soft);font-size:.85rem}.timeline{gap:1rem;display:grid;position:relative}.timeline:before{content:"";background:var(--border-strong);width:2px;position:absolute;top:.4rem;bottom:.4rem;left:1.05rem}.timeline-item{padding-left:2.8rem;position:relative}.timeline-item:before{content:"";background:var(--surface-strong);border:3px solid var(--primary);border-radius:50%;width:.8rem;height:.8rem;position:absolute;top:1.2rem;left:.7rem;box-shadow:0 0 0 4px #b14d2614}.faq-item{padding:0;overflow:hidden}.faq-item summary{cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;padding:1.1rem 1.2rem;font-weight:700;line-height:1.55;list-style:none;display:flex}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:hover{background:#b14d260a}.faq-item[open] summary .faq-arrow{transform:rotate(180deg)}.faq-arrow{transition:transform .18s}.faq-answer{gap:.9rem;padding:0 1.2rem 1.15rem;line-height:1.74;display:grid}.faq-tags{flex-wrap:wrap;gap:.45rem;display:flex}.faq-tag{background:var(--surface-muted);color:var(--text-muted);border-radius:999px;padding:.22rem .55rem;font-size:.75rem;font-weight:700}.auth-card,.profile-card,.info-panel{gap:1rem;display:grid}.auth-card{background:var(--surface-strong);width:100%;max-width:480px;box-shadow:var(--shadow-lg);border:1px solid var(--border);z-index:10;border-radius:24px;margin:0 auto;padding:2.5rem;position:relative}.auth-layout{min-height:calc(100vh - var(--header-height,86px));background:var(--bg);justify-content:center;align-items:center;max-width:100vw;margin:0;padding:2rem 1rem;display:flex;position:relative;overflow:hidden}.auth-page~* .brand-auth-group{justify-content:center}body:has(.auth-page) .brand-auth-group{justify-content:center}body:has(.auth-page) .header-search-area{display:none}body:has(.auth-page) .header-auth-stack{margin-left:auto}.auth-form-container{z-index:2;justify-content:center;align-items:center;width:100%;max-width:480px;display:flex;position:relative}.auth-wizard{border-radius:24px;gap:.7rem;padding:1rem;display:grid}.auth-hero{border-radius:24px;max-width:980px;margin:0 auto 1rem;padding:1.3rem 1.25rem}.auth-hero-badge{background:var(--surface-accent);width:fit-content;color:var(--primary);text-transform:uppercase;letter-spacing:.08em;border-radius:999px;align-items:center;gap:.45rem;padding:.35rem .7rem;font-size:.78rem;font-weight:700;display:inline-flex}.auth-card-heading{text-align:center;flex-direction:column;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.auth-card-heading .icon-wrap{background:var(--primary-alpha-10);width:4rem;height:4rem;color:var(--primary);border-radius:50%;justify-content:center;align-items:center;display:flex}.auth-card-heading h2,.auth-heading-gradient{letter-spacing:-.03em;background:linear-gradient(135deg,var(--text)30%,var(--primary)100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0 0 .25rem;font-size:2rem}.auth-heading-sub{color:var(--text-muted);letter-spacing:.01em;margin:0;font-size:.88rem;font-weight:450}.auth-icon-glow{box-shadow:0 0 0 6px var(--primary-alpha-10),0 4px 16px var(--primary-alpha-20);transition:box-shadow .3s}.auth-icon-glow:hover{box-shadow:0 0 0 8px var(--primary-alpha-20),0 6px 24px var(--primary-alpha-30)}.auth-step{background:var(--surface-muted);color:var(--text-muted);border-radius:16px;grid-template-columns:auto 1fr;align-items:center;gap:.7rem;padding:.8rem;display:grid}.auth-wizard-title{gap:.25rem;padding-bottom:.2rem;display:grid}.auth-wizard-title h3{margin:0;font-size:1.05rem}.auth-step span{background:var(--surface-strong);width:1.9rem;height:1.9rem;color:var(--primary);border-radius:50%;justify-content:center;align-items:center;font-weight:800;display:inline-flex}.auth-step strong{font-size:.92rem}.glass-panel{-webkit-backdrop-filter:blur(16px);background:#fdfbf7a6;border:1px solid #fff6}[data-theme=dark] .glass-panel{background:#211d1aa6;border:1px solid #ffefe01a}.account-action-grid,.settings-page-stack{gap:1rem;width:100%;display:grid}.account-action-grid{grid-template-columns:1fr 1fr;gap:.75rem}.account-action-grid>.profile-session-card{grid-column:1/-1}.profile-action-card{text-align:left;border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--border);color:inherit;grid-template-columns:auto 1fr;align-items:start;gap:.65rem;min-height:0;padding:.85rem .95rem;text-decoration:none;transition:box-shadow .2s,border-color .2s;display:grid}.profile-action-card .icon-wrap{width:2.1rem;height:2.1rem}.profile-action-card .section-kicker{margin-bottom:.15rem;display:block}.profile-action-card:hover{border-color:var(--border-strong);box-shadow:0 4px 16px #0000000f}.profile-action-card h2{margin:0;font-size:1.05rem;line-height:1.2}.profile-action-card .text-muted{margin:.25rem 0 0;font-size:.82rem;line-height:1.35}.profile-session-card{padding:1rem 1.1rem}.profile-support-card{grid-column:1/-1;padding:.85rem 1rem}.profile-support-compact{gap:.65rem;display:grid}.profile-support-compact .section-kicker{margin:0}.profile-support-links{flex-wrap:wrap;align-items:center;gap:.2rem 0;display:flex}.profile-support-links a{color:var(--text-muted);align-items:center;font-size:.86rem;font-weight:650;text-decoration:none;display:inline-flex}.profile-support-links a:hover{color:var(--primary)}.profile-support-links a:not(:last-child):after{content:"·";color:var(--text-soft);margin-inline:.55rem;font-weight:700}.profile-support-contact{flex-wrap:wrap;align-items:center;gap:.45rem .85rem;display:flex}.profile-support-contact a{color:var(--text);align-items:center;gap:.35rem;font-size:.86rem;font-weight:650;text-decoration:none;display:inline-flex}.profile-support-contact a:hover{color:var(--primary)}.profile-support-note{color:var(--text-soft);margin:0;font-size:.78rem;line-height:1.35}@media (max-width:540px){.profile-support-note{flex-basis:100%}}.post-social-panel{border-top:1px solid var(--border);border-bottom:1px solid var(--border);gap:1rem;padding:1.25rem 0;display:grid}.post-social-signin{background:var(--surface-muted);text-align:center;border-radius:14px;flex-wrap:wrap;justify-content:center;align-items:center;gap:.8rem;padding:.8rem;display:flex}.post-social-signin span{color:var(--text-muted);font-size:.92rem}.auth-note{color:var(--text-muted);text-align:center;font-size:.92rem;line-height:1.7}.auth-divider{color:var(--text-soft);letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:.85rem;font-size:.82rem;font-weight:700;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--border);flex:1;height:1px}.auth-divider span{white-space:nowrap}.auth-mode-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.auth-mode-row .btn{justify-content:center}.auth-email-form,.auth-stepper{gap:.9rem;display:grid}.auth-stepper-progress{gap:.6rem;display:grid}.auth-step-dot{background:var(--surface-muted);color:var(--text-muted);border-radius:16px;align-items:flex-start;gap:.7rem;padding:.7rem .8rem;display:flex}.auth-step-dot.active{background:var(--surface-accent);color:var(--text)}.auth-step-dot span{background:var(--surface-strong);width:1.7rem;height:1.7rem;color:var(--primary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.82rem;font-weight:800;display:inline-flex}.auth-step-dot strong{margin-bottom:.15rem;font-size:.92rem;display:block}.auth-step-dot small{opacity:.8;font-size:.75rem;line-height:1.45;display:block}.auth-step-summary{background:var(--surface-muted);border-radius:18px;gap:.25rem;padding:.9rem 1rem;display:grid}.auth-step-summary strong{font-size:1rem}.auth-step-summary span{color:var(--primary);font-weight:600}.wizard-actions{grid-template-columns:auto 1fr;gap:.7rem;display:grid}.auth-helper-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.auth-helper-row.single-row{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-helper-row>*{justify-content:center;width:100%}.auth-feature-list{gap:.7rem;display:grid}.auth-feature{background:var(--surface-muted);border-radius:18px;align-items:flex-start;gap:.8rem;padding:.85rem .95rem;line-height:1.6;display:flex}.auth-email-form .field-label{gap:.4rem}.auth-email-form .btn{margin-top:.2rem}.profile-hero{gap:.75rem;padding:1rem 1.1rem;display:grid}.profile-page{max-width:800px;margin:0 auto}.profile-top{align-items:center;gap:1rem;display:flex}.profile-avatar-block{flex-shrink:0}.profile-avatar-wrap{margin-top:.35rem;display:inline-flex;position:relative}.profile-avatar-crown{z-index:2;color:var(--primary);filter:drop-shadow(0 1px 1px #0f172a2e);pointer-events:none;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:-.45rem;left:50%;transform:translate(-50%)}.avatar,.avatar-circle{background:var(--surface-accent);color:var(--primary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:800;display:inline-flex;overflow:hidden}.avatar{width:4.8rem;height:4.8rem;font-size:1.6rem}.profile-avatar{border:2px solid var(--surface-strong);width:4.5rem;height:4.5rem;box-shadow:0 0 0 1px var(--border);font-size:1.55rem}.avatar-circle{width:2rem;height:2rem;font-size:.82rem}.avatar img,.avatar-circle img{object-fit:cover;width:100%;height:100%}.profile-avatar-camera{border:2px solid var(--surface);background:var(--surface-strong);width:1.85rem;height:1.85rem;color:var(--text);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;transition:background .15s,color .15s,transform .15s;display:inline-flex;position:absolute;bottom:-.1rem;right:-.1rem;box-shadow:0 1px 4px #0f172a1f}.profile-avatar-camera:hover{background:var(--primary);color:#fff;transform:scale(1.04)}.profile-avatar-camera.is-busy{pointer-events:none;opacity:.65}.profile-avatar-camera:has(input:disabled){pointer-events:none;opacity:.65}.profile-meta{text-align:left;flex:1;gap:.3rem;min-width:0;display:grid}.profile-meta h1{margin:0;font-size:clamp(1.35rem,3.5vw,1.7rem);line-height:1.15}.profile-info-inline{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:.2rem 0;font-size:.86rem;font-weight:600;line-height:1.35;display:flex}.profile-info-inline>span{overflow-wrap:anywhere;word-break:break-word;align-items:center;gap:.35rem;min-width:0;max-width:100%;display:inline-flex}.profile-info-inline>span svg{color:var(--text-soft);flex-shrink:0}.profile-info-inline>span:not(:last-child):after{content:"·";color:var(--text-soft);margin-inline:.45rem;font-weight:700}.profile-avatar-upload{min-height:2.75rem;padding:.5rem 1rem;font-size:.9rem}.profile-avatar-upload.is-busy{pointer-events:none}.profile-info-row,.stats-row,.tab-row{flex-wrap:wrap;gap:.75rem;display:flex}.stats-row .card{flex:1 1 0;min-width:140px}.profile-actions{flex-wrap:wrap;gap:1rem;display:flex}@media (max-width:540px){.profile-top{gap:.85rem}.profile-avatar{width:3.9rem;height:3.9rem;font-size:1.35rem}.profile-avatar-camera{width:1.7rem;height:1.7rem}.profile-meta h1{font-size:1.3rem}.profile-info-inline{font-size:.8rem}}.profile-settings-layout{align-items:start}.profile-quick-link{grid-template-columns:auto 1fr;align-items:start}.profile-quick-link .icon-wrap{width:2.1rem;height:2.1rem}.settings-segmented{flex-wrap:wrap;gap:.65rem;display:flex}.settings-segmented .btn{flex:140px}.profile-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;display:grid}.profile-danger-title{color:var(--error);align-items:center;gap:.5rem;display:flex}.delete-confirm-box{width:min(100%,34rem)}.premium-feature-strip{border-radius:24px;gap:.7rem;padding:1rem 1.05rem;display:grid}.premium-feature-strip strong{font-size:.98rem}.premium-feature-list{flex-wrap:wrap;gap:.55rem;display:flex}.admin-quick-action-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.85rem;display:grid}.admin-quick-action{border:1px solid var(--border);background:var(--surface-strong);color:inherit;text-align:left;cursor:pointer;border-radius:24px;gap:.45rem;padding:1rem 1.05rem;transition:transform .18s,border-color .18s,box-shadow .18s;display:grid}.admin-quick-action:hover{box-shadow:none;border-color:#b14d263d;transform:translateY(-1px)}.admin-quick-action:disabled{cursor:not-allowed;opacity:.62;box-shadow:none;transform:none}.admin-quick-action strong{font-size:1rem}.admin-quick-action span{color:var(--text-muted);font-size:.92rem;line-height:1.6}.post-editor-toolbar{gap:.6rem;padding-bottom:.2rem;display:flex;overflow-x:auto}.editor-tool-button{border:1px solid var(--border);background:var(--surface-strong);min-height:2.6rem;color:var(--text);white-space:nowrap;cursor:pointer;border-radius:18px;justify-content:center;align-items:center;gap:.45rem;padding:.65rem .9rem;font-size:.9rem;font-weight:700;transition:transform .18s,border-color .18s,background-color .18s;display:inline-flex}.editor-tool-button:hover{color:var(--primary);border-color:#b14d263d;transform:translateY(-1px)}.editor-tool-button:disabled{cursor:not-allowed;opacity:.58;transform:none}.post-editor-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:start;gap:1rem;display:grid}.post-editor-surface{gap:.75rem;display:grid}.post-editor-textarea{resize:vertical;min-height:25rem;font-family:inherit;font-size:1rem;line-height:1.78}.post-editor-preview{gap:.9rem;position:sticky;top:1rem}.post-editor-preview-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.post-editor-preview-title{font-size:1.45rem;line-height:1.28}.post-editor-preview-summary{color:var(--text-muted);line-height:1.72}.post-editor-preview-content{gap:.95rem;font-size:.98rem;line-height:1.8}.tab-row .btn{flex:180px}.empty-state,.loading-state{justify-items:center;gap:.7rem;padding:2rem 1rem;display:grid}.staff-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;display:grid}.staff-card{text-align:left;gap:.9rem;display:grid}.staff-card .avatar{width:4.2rem;height:4.2rem;font-size:1.2rem}.comment-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.comment-form{gap:.75rem;display:grid}.comment-compose{border-bottom:1px solid var(--border);grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:.9rem;padding-bottom:1.1rem}.comment-compose-main{gap:.75rem;min-width:0;display:grid}.comment-compose-input{min-height:7rem}.comment-compose-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.comment-signin{border-bottom:1px solid var(--border);justify-items:start;gap:.8rem;padding-bottom:1.1rem;display:grid}.auth-name{font-size:.86rem;font-weight:700}.auth-chip{gap:.4rem;min-height:2.35rem;padding:0 .75rem 0 .35rem}@media (max-width:480px){.auth-name{display:none}.auth-chip{padding-right:.4rem}}.auth-admin-label{font-size:.8rem;font-weight:700}.theme-toggle{width:2.65rem;min-width:2.65rem;padding:0;position:relative;overflow:hidden}.theme-icon{transition:opacity .18s,transform .18s;position:absolute}.theme-icon-sun{opacity:0;color:var(--accent);transform:translateY(8px)}.theme-icon-moon{opacity:1;color:var(--text-muted);transform:translateY(0)}[data-theme=dark] .theme-icon-sun{opacity:1;transform:translateY(0)}[data-theme=dark] .theme-icon-moon{opacity:0;transform:translateY(-8px)}.comment-item{border-bottom:1px solid #6c5a4c24;grid-template-columns:auto minmax(0,1fr);gap:.9rem;padding:1rem 0;display:grid;position:relative}.comment-item:last-child{border-bottom:none;padding-bottom:0}.comment-avatar{z-index:1;width:2.6rem;height:2.6rem;font-size:.92rem}.comment-avatar-rail{background:var(--border);width:2px;position:absolute;top:3rem;bottom:-.35rem;left:1.28rem;transform:translate(-50%)}.comment-item:last-child .comment-avatar-rail{display:none}.comment-bubble{gap:.4rem;min-width:0;line-height:1.7;display:grid}.comment-meta-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.65rem;display:flex}.comment-author-line{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.comment-author{font-size:.95rem;font-weight:800}.comment-meta-separator,.comment-time{color:var(--text-soft);font-size:.82rem}.comment-delete{color:var(--text-soft);cursor:pointer;background:0 0;border:none;align-items:center;gap:.25rem;padding:0;font-size:.82rem;font-weight:700;display:inline-flex}.comment-delete:hover{color:var(--error)}.comment-text{white-space:pre-wrap;font-size:.96rem;line-height:1.72}.comment-empty{justify-items:center;padding-top:1rem;display:grid}.comment-error{color:var(--error);background:#dc262614;border:1px solid #dc262640;border-radius:14px;gap:.5rem;padding:1rem;display:grid}.votes-container{border:1px solid var(--border);background:var(--surface-strong);box-shadow:var(--shadow-sm);z-index:2;align-self:start;place-items:center;display:grid;position:sticky;top:.5rem}[data-theme=dark] .votes-container{background:#ffffff0a;box-shadow:inset 0 1px #ffffff0a,0 10px 24px #0000002e}.votes-vertical{border-radius:18px;gap:.05rem;min-width:3rem;padding:.35rem}.votes-horizontal{border-radius:999px;grid-auto-flow:column;gap:.18rem;padding:.2rem .35rem}.vote-button{width:2.05rem;height:2.05rem;color:var(--text-soft);cursor:pointer;background:0 0;border:none;border-radius:14px;justify-content:center;align-items:center;transition:background-color .18s,color .18s,transform .18s;display:inline-flex}.votes-horizontal .vote-button{width:1.9rem;height:1.9rem}.vote-button:hover{background:var(--surface-muted)}.vote-button-up.active{color:#ff6a32;background:#ff6a3224}.vote-button-down.active{color:#4f7fd1;background:#4f7fd129}.vote-score{text-align:center;letter-spacing:-.03em;min-width:2rem;color:var(--text);font-size:.82rem;font-weight:800}.votes-vertical .vote-score{min-width:2.2rem;padding:.1rem 0;font-size:.95rem}.vote-score-up{color:#ff6a32}.vote-score-down{color:#4f7fd1}.desktop-votes{display:block}.mobile-votes-inline{display:none}.reaction-pill{border:1px solid var(--border);background:var(--surface-strong);border-radius:999px;align-items:center;gap:.3rem;min-height:2rem;padding:.25rem .6rem;font-size:.85rem;display:inline-flex}.reaction-picker{border:1px solid var(--border);background:var(--surface-strong);box-shadow:none;z-index:40;border-radius:18px;gap:.3rem;padding:.45rem;display:flex;position:absolute;bottom:calc(100% + .45rem);left:50%;transform:translate(-50%)}.share-menu{border:1px solid var(--border);background:var(--surface-strong);min-width:12rem;box-shadow:none;z-index:60;border-radius:18px;gap:.2rem;padding:.45rem;display:grid;position:absolute;top:calc(100% + .45rem);left:0}.share-option{cursor:pointer;text-align:left;background:0 0;border:none;border-radius:14px;align-items:center;gap:.65rem;width:100%;padding:.7rem .8rem;font-size:.88rem;display:flex}.share-option:hover{background:var(--surface-muted)}.share-wrapper{display:inline-flex;position:relative}.fb-share-btn{cursor:pointer;color:var(--text-muted);background:0 0;border:none;border-radius:12px;align-items:center;gap:.45rem;padding:.55rem 1rem;font-size:.9rem;font-weight:700;transition:background .15s,color .15s;display:inline-flex}.fb-share-btn:hover,.fb-share-btn.active{background:var(--surface-muted);color:var(--primary)}.share-menu{border:1px solid var(--border);background:var(--surface-strong);z-index:70;border-radius:18px;gap:.15rem;min-width:14rem;padding:.4rem;animation:.18s reaction-pop;display:grid;position:absolute;bottom:calc(100% + .6rem);right:0;box-shadow:0 10px 30px #00000026}.share-option-close{border-top:1px solid var(--border);color:var(--text-muted);margin-top:.2rem;padding-top:.4rem}.ai-summary-panel{border-top:1px solid var(--border);margin-top:.75rem;padding-top:.75rem}.ai-summary-trigger{border:1px dashed var(--border);cursor:pointer;color:var(--text-muted);background:0 0;border-radius:14px;align-items:center;gap:.5rem;padding:.6rem 1rem;font-size:.88rem;font-weight:700;transition:all .15s;display:inline-flex}.ai-summary-trigger:hover:not(:disabled){border-color:var(--primary);color:var(--primary);background:var(--surface-muted)}.ai-summary-trigger:disabled{opacity:.7;cursor:wait}.ai-summary-card{border:1px solid var(--border);background:var(--surface-muted);border-radius:18px;animation:.25s fade-in;overflow:hidden}.ai-summary-header{border-bottom:1px solid var(--border);background:var(--surface-strong);justify-content:space-between;align-items:center;padding:.65rem .9rem;display:flex}.ai-summary-title{text-transform:uppercase;letter-spacing:.08em;color:var(--primary);align-items:center;gap:.4rem;font-size:.82rem;font-weight:800;display:inline-flex}.ai-summary-close{cursor:pointer;color:var(--text-muted);background:0 0;border:none;border-radius:8px;align-items:center;padding:.2rem;transition:all .15s;display:inline-flex}.ai-summary-close:hover{background:var(--surface-muted);color:var(--text)}.ai-summary-body{color:var(--text);padding:.9rem 1rem;font-size:.92rem;line-height:1.6}.ai-summary-text{white-space:pre-wrap}.ai-summary-text strong{color:var(--text-strong);font-weight:700}.ai-summary-skeleton{flex-direction:column;gap:.5rem;display:flex}.comment-item--nested{margin-top:.75rem}.comment-children{margin-top:.5rem;padding-left:.5rem}@media (max-width:640px){.comment-item--nested{margin-left:.25rem}.comment-children{padding-left:.25rem}.votes-container.votes-vertical{min-width:2.4rem;padding:.2rem}.vote-button{width:1.7rem;height:1.7rem}.vote-score{font-size:.78rem}}.comment-edit-form{gap:.5rem;margin-top:.5rem;display:grid}.comment-action-btn{cursor:pointer;color:var(--text-soft);background:0 0;border:none;border-radius:10px;align-items:center;gap:.35rem;padding:.35rem .5rem;font-size:.8rem;font-weight:700;transition:background .15s,color .15s;display:inline-flex}.comment-action-btn:hover{background:var(--surface-muted);color:var(--text)}.comment-delete{cursor:pointer;width:1.6rem;height:1.6rem;color:var(--text-soft);background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;transition:background .15s,color .15s;display:inline-flex}.comment-delete:hover{background:var(--surface-muted);color:var(--error)}.comment-reaction-option{cursor:pointer;background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;width:1.8rem;height:1.8rem;font-size:1.05rem;transition:background .15s,transform .12s;display:inline-flex}.ai-summary-line{background:linear-gradient(90deg,var(--border)25%,var(--surface-muted)50%,var(--border)75%);background-size:200% 100%;border-radius:999px;height:10px;animation:1.2s infinite shimmer}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.post-reactions{flex-direction:column;gap:.4rem;display:flex}.reaction-summary{align-items:center;gap:.5rem;padding-bottom:.3rem;display:flex}.reaction-summary-emojis{align-items:center;display:inline-flex}.reaction-summary-emoji{background:var(--surface-strong);border:1.5px solid var(--surface);border-radius:50%;justify-content:center;align-items:center;width:1.35rem;height:1.35rem;margin-left:-.35rem;font-size:.7rem;display:inline-flex;box-shadow:0 1px 2px #00000014}.reaction-summary-emoji:first-child{margin-left:0}.reaction-summary-count{cursor:pointer;color:var(--text-muted);background:0 0;border:none;padding:0;font-size:.82rem;font-weight:600}.reaction-summary-count:hover{text-decoration:underline}.post-social-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.reaction-trigger{display:inline-flex;position:relative}.fb-like-btn{cursor:pointer;color:var(--text-muted);background:0 0;border:none;border-radius:12px;align-items:center;gap:.45rem;padding:.55rem 1rem;font-size:.9rem;font-weight:700;transition:background .15s,color .15s;display:inline-flex}.fb-like-btn:hover{background:var(--surface-muted)}.fb-like-btn.reacted{color:var(--primary)}.fb-like-emoji{font-size:1.05rem;line-height:1}.fb-reaction-picker{background:var(--surface-strong);border:1px solid var(--border);z-index:70;border-radius:999px;align-items:center;gap:.15rem;padding:.4rem .55rem;animation:.18s reaction-pop;display:flex;position:absolute;bottom:calc(100% + .6rem);left:0;box-shadow:0 10px 30px #00000026}@keyframes reaction-pop{0%{opacity:0;transform:translateY(6px)scale(.92)}to{opacity:1;transform:translateY(0)scale(1)}}.fb-reaction-option{cursor:pointer;background:0 0;border:none;border-radius:50%;padding:.15rem;font-size:1.6rem;line-height:1;transition:transform .15s;position:relative}.fb-reaction-option:hover{transform:scale(1.35)translateY(-4px)}.fb-reaction-label{background:var(--text-strong);color:#fff;white-space:nowrap;opacity:0;pointer-events:none;border-radius:8px;padding:.15rem .5rem;font-size:.7rem;font-weight:700;transition:opacity .15s;position:absolute;bottom:calc(100% + .3rem);left:50%;transform:translate(-50%)}.fb-reaction-option:hover .fb-reaction-label{opacity:1}.fb-comment-btn{cursor:pointer;color:var(--text-muted);background:0 0;border:none;border-radius:12px;align-items:center;gap:.45rem;padding:.55rem 1rem;font-size:.9rem;font-weight:700;transition:background .15s,color .15s;display:inline-flex}.fb-comment-btn:hover{background:var(--surface-muted);color:var(--primary)}.fb-comment-count{background:var(--surface-muted);color:var(--text-muted);border-radius:999px;padding:.05rem .45rem;font-size:.72rem;font-weight:700}.reaction-count{color:var(--text-muted);font-size:.72rem;font-weight:700}.comment-reaction-option{cursor:pointer;background:0 0;border:none;border-radius:10px;padding:.3rem;font-size:1.2rem;line-height:1;transition:transform .15s,background .15s}.comment-reaction-option:hover{background:var(--surface-muted);transform:scale(1.25)}.toast-stack{z-index:220;gap:.7rem;width:min(22rem,100vw - 1.5rem);display:grid;position:fixed;bottom:10.5rem;right:1rem}.toast-card{border:1px solid var(--border);background:var(--surface-strong);box-shadow:none;border-radius:20px;align-items:center;gap:.75rem;padding:.9rem 1rem;display:flex}.toast-card.success{border-color:#227f4f33}.toast-card.error{border-color:#b9444433}.toast-card.info{border-color:#355f5b33}.scroll-progress{z-index:240;background:0 0;width:100%;height:4px;position:fixed;top:0;left:0}.scroll-progress-bar{background:var(--primary);height:100%}.resource-item{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:.9rem;display:grid}.resource-icon{background:var(--surface-muted);border-radius:20px;justify-content:center;align-items:center;width:3rem;height:3rem;display:inline-flex}.resource-download{border:1px solid var(--border);background:var(--surface-strong);width:2.8rem;height:2.8rem;color:var(--primary);border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.resource-download:hover{background:var(--surface-accent)}.resource-download:disabled{opacity:.65;cursor:wait}.empty-illustration{background:var(--surface-muted);width:3.8rem;height:3.8rem;color:var(--primary);border-radius:24px;justify-content:center;align-items:center;display:inline-flex}.spin-anim{animation:.9s linear infinite spin}.pop-anim{animation:.22s pop}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pop{0%{transform:scale(.92)}60%{transform:scale(1.08)}to{transform:scale(1)}}@keyframes fade-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-slide-in{0%{opacity:0;transform:translateY(14px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}@keyframes skeleton-shimmer{to{background-position-x:-200%}}@media (min-width:820px){.footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}.hero-layout{grid-template-columns:minmax(0,1.35fr) minmax(0,.95fr);align-items:end}}@media (min-width:960px){.page-hero{padding:1.95rem}.container{padding-top:1.6rem}}@media (max-width:959px){.content-grid,.home-newsletter-grid,.post-detail-grid{grid-template-columns:1fr}.post-support-card{position:static}.post-editor-layout{grid-template-columns:1fr}.post-editor-preview{position:static}}.splash-screen{z-index:9999;background:var(--bg);flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}.splash-center{text-align:center;justify-content:center;align-items:center;display:flex}.splash-branding{color:var(--primary);letter-spacing:-.05em;font-size:clamp(4rem,15vw,8rem);font-weight:900;font-family:var(--font-display),Georgia,serif;text-transform:none;margin:0;animation:.8s cubic-bezier(.16,1,.3,1) forwards splashFadeUp}.splash-footer{opacity:0;flex-direction:column;align-items:center;gap:.35rem;animation:.8s .4s forwards splashFadeUp;display:flex;position:absolute;bottom:2rem;left:0;right:0}.splash-version{color:#ffffff80;letter-spacing:.1em;text-transform:uppercase;font-size:.75rem}.splash-company{color:#fff9;letter-spacing:.04em;font-size:.8rem}@keyframes splashScalePop{0%{opacity:0;transform:scale(0)}60%{opacity:1;transform:scale(1.08)}to{opacity:1;transform:scale(1)}}@keyframes splashFadeUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width:600px){.splash-logo-circle{width:80px;height:80px}.splash-title{font-size:2.6rem}.splash-tagline{font-size:.95rem}}@media (max-width:819px){.desktop-auth{display:none!important}.mobile-auth{display:flex}.desktop-nav-links{display:none}.header-nav-row{justify-content:center}.header-utility-links{display:none}.container,.shell-inner{width:min(var(--max-width),calc(100% - 1rem))}.header-strip{border-radius:26px;flex-wrap:wrap;align-items:flex-start;padding:.75rem .8rem}.brand-lockup{flex:0 0 100%;width:100%}.header-meta{justify-content:space-between;gap:.45rem;width:100%}.desktop-auth{max-width:100%;margin-left:auto}.meta-pill{display:none}.brand-lockup strong{font-size:.95rem}.brand-lockup small{white-space:normal;max-width:none}.container{padding-bottom:4.75rem}.page-hero{border-radius:30px;padding:1.3rem}.page-hero h1{max-width:none}.footer-grid{border-radius:28px}}@media (max-width:640px){.auth-layout{min-height:calc(100dvh - var(--header-height,56px));align-items:flex-start;padding:0}.auth-form-container{width:100%;max-width:100%;padding:0}.auth-card{box-shadow:none;min-height:calc(100dvh - var(--header-height,56px));border-top:none;border-left:none;border-right:none;border-radius:0;padding:1.25rem 1rem 2rem}.auth-card-heading{flex-direction:column;gap:.6rem;margin-bottom:1.25rem}.auth-card-heading .icon-wrap{width:3rem;height:3rem}.auth-heading-gradient,.auth-card-heading h2{font-size:1.6rem}.auth-heading-sub{font-size:.82rem}.form-control,input[type=text],input[type=email],input[type=password],input[type=number]{border-radius:14px;min-height:3.25rem;padding:.8rem 1rem;font-size:1rem}.auth-email-form{gap:.75rem}.auth-layout .btn{min-height:3rem;font-size:.95rem}.auth-stepper-progress{scrollbar-width:none;-ms-overflow-style:none;gap:.4rem;padding-bottom:.1rem;display:flex;overflow-x:auto}.auth-stepper-progress::-webkit-scrollbar{display:none}.auth-step-dot{text-align:center;border-radius:12px;flex-direction:column;flex:1;align-items:center;gap:.3rem;padding:.55rem .5rem}.auth-step-dot div{display:none}.auth-step-dot span{width:1.5rem;height:1.5rem;font-size:.75rem}.wizard-actions{grid-template-columns:auto 1fr;gap:.5rem;margin-top:.25rem}.auth-mode-row,.auth-helper-row.single-row{grid-template-columns:1fr}.auth-divider{margin:.5rem 0}.auth-layout>div>div>div[style*=marginTop]{margin-top:.75rem!important}.auth-card{padding-bottom:calc(2rem + env(safe-area-inset-bottom))}.auth-wizard{order:2}.profile-action-card{text-align:left;grid-template-columns:auto 1fr;justify-items:start}.post-social-signin{justify-items:center;display:grid}.brand-lockup-wrapper{justify-content:space-between;align-items:center;width:100%}.brand-lockup{border-right:none;flex-wrap:wrap;gap:.5rem;padding-right:.5rem}.brand-lockup-text{flex:1 1 0;min-width:0}.brand-lockup strong{font-size:1rem}.header-auth-mobile{flex-shrink:0;display:inline-flex}.header-auth-desktop,.header-utilities{display:none}.main-content{padding-top:.55rem;padding-bottom:5.4rem}.page-shell{gap:1.35rem}.page-lead,.section-heading p,.hero-note,.search-result p{font-size:.98rem}.section-heading{align-items:flex-start}.btn{min-height:3rem}.auth-mode-row,.auth-helper-row{grid-template-columns:1fr}.update-filter-chip{min-width:9.5rem;padding:.72rem .82rem}.update-filter-copy small{font-size:.74rem}.editor-tool-button{min-height:2.45rem;padding:.58rem .78rem;font-size:.84rem}.post-editor-textarea{min-height:18rem}.page-actions{flex-direction:column;align-items:stretch;width:100%}.page-actions>.btn,.page-actions>a,.page-actions>button{justify-content:center;width:100%}.stats-row .card,.tab-row .btn{flex-basis:100%}.archive-stats-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;display:grid}.archive-stats-row .card{flex-basis:auto;min-width:0}.archive-stats-row .metric-card{border-radius:18px;gap:.18rem;padding:.75rem .7rem}.archive-stats-row .metric-card-icon{border-radius:12px;width:1.65rem;height:1.65rem;margin-bottom:.05rem}.archive-stats-row .metric-card strong{font-size:1.35rem}.archive-stats-row .metric-card span{letter-spacing:.04em;font-size:.68rem}.pricing-grid,.chat-layout{grid-template-columns:1fr}.chat-sidebar-panel,.chat-main-panel{min-height:auto}.quick-nav-row{padding:.25rem .5rem;gap:.65rem;margin:0 -1.45rem;padding-inline:1.45rem;display:flex;overflow-x:auto;-webkit-mask-image:linear-gradient(90deg,#000 85%,#0000 100%);mask-image:linear-gradient(90deg,#000 85%,#0000 100%)}.chat-channel-button{min-width:14rem}.chat-channel-list{gap:.65rem;max-height:none;padding-bottom:.2rem;display:flex;overflow:auto hidden}.chat-messages-shell{max-height:26rem}.chat-composer,.tool-grid,.stats-grid,.home-shortcut-grid,.home-updates-grid,.home-mini-tool-grid{grid-template-columns:1fr}.home-update-footer{align-items:stretch}.home-update-footer .btn{width:100%}.post-card{grid-template-columns:1fr}.post-hero-title,.post-summary{max-width:none}.home-brief-topline{align-items:flex-start}.home-lead-title{max-width:none}.post-reading-cues{flex-direction:column;align-items:flex-start}.desktop-votes{display:none}.mobile-votes-inline{display:block}.resource-item{grid-template-columns:auto minmax(0,1fr)}.resource-download{grid-column:2;justify-self:start}.chart-pack-featured-grid{grid-template-columns:1fr}.timeline-item{padding-left:2.4rem}.timeline:before{left:.82rem}.timeline-item:before{left:.45rem}.comment-item{gap:.7rem}.comment-compose{grid-template-columns:1fr}.comment-compose-footer{align-items:stretch}.comment-compose-footer .btn{width:100%}.comment-avatar-rail{left:1.3rem}.toast-stack{width:calc(100vw - 1.5rem);bottom:5.2rem;right:.75rem}}.glass-card{-webkit-backdrop-filter:blur(12px);background:#fdfbf7b3!important;border:1px solid #b14d261a!important}[data-theme=dark] .glass-card{background:#211d1ab3!important;border:1px solid #ef87571a!important}.prestige-pulse{animation:2s infinite prestige-pulse}@keyframes prestige-pulse{0%{box-shadow:0 0 #b14d2666}70%{box-shadow:0 0 0 10px #b14d2600}to{box-shadow:0 0 #b14d2600}}.home-mini-tool{transition:transform .2s,background-color .2s!important}.home-mini-tool:hover{transform:scale(1.05);background-color:var(--surface-accent)!important}.quick-nav-row{align-items:center;gap:.65rem;margin-top:.5rem;padding:.45rem .15rem;display:flex;overflow-x:auto}.quick-pill{background:var(--surface-strong);border:1px solid var(--border);color:var(--text-muted);white-space:nowrap;border-radius:999px;align-items:center;gap:.5rem;padding:.55rem 1.05rem;font-size:.88rem;font-weight:700;transition:all .2s;display:inline-flex}.quick-pill:hover{background:var(--surface-accent);border-color:var(--primary);color:var(--primary);box-shadow:var(--shadow-sm);transform:translateY(-2px)}.quick-pill-premium{color:var(--primary);background:#b14d260a;border-color:#b14d2633}.quick-pill svg{flex-shrink:0}@keyframes skeleton-pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}.skeleton{background:var(--surface-muted);border-radius:8px;animation:1.8s ease-in-out infinite skeleton-pulse}.active-count-badge{color:#22c55e;background:#22c55e1a;border:1px solid #22c55e33;border-radius:999px;align-items:center;gap:.45rem;margin-top:.5rem;padding:.25rem .65rem;font-size:.75rem;font-weight:700;display:inline-flex}.pulse-dot{background:#22c55e;border-radius:50%;width:6px;height:6px;animation:2s infinite pulse-dot-anim;box-shadow:0 0 #22c55e66}@keyframes pulse-dot-anim{0%{transform:scale(.95);box-shadow:0 0 #22c55eb3}70%{transform:scale(1);box-shadow:0 0 0 10px #22c55e00}to{transform:scale(.95);box-shadow:0 0 #22c55e00}}.global-search-container{width:100%;position:relative}.search-navbar{max-width:none;height:100%;margin:0}.search-hero{max-width:680px;margin:0 auto}.global-search-form{border:1px solid var(--border);background:var(--surface-muted);box-sizing:border-box;border-radius:999px;align-items:center;gap:.55rem;width:100%;height:100%;min-height:2.5rem;padding:0 .85rem 0 .8rem;transition:border-color .15s,background-color .15s,box-shadow .15s;display:flex;position:relative}.global-search-form:focus-within{border-color:var(--border-strong);background:var(--surface);box-shadow:0 0 0 1px #442d1c0f}.global-search-input{width:100%;min-width:0;height:100%;color:var(--text);box-shadow:none;background:0 0;border:none;border-radius:0;outline:none;flex:1;padding:0;font-size:.92rem;line-height:1.2}.search-hero .global-search-form{background:var(--surface);gap:.7rem;min-height:3.6rem;padding:0 1.1rem 0 1.15rem;box-shadow:0 4px 16px #00000014}.search-hero .global-search-input{font-size:1.1rem}.global-search-input:focus{box-shadow:none;background-color:#0000;border-color:#0000;outline:none}.global-search-input::placeholder{color:var(--text-soft)}.search-icon-left{pointer-events:none;color:var(--text-soft);flex-shrink:0;display:block;position:static;transform:none}.search-hero .search-icon-left{width:22px;height:22px}.search-icon-right{pointer-events:none;color:var(--text-soft);flex-shrink:0;margin-left:auto;position:static;transform:none}.global-search-dropdown{background:var(--surface);border:1px solid var(--border);z-index:100;border-radius:1.25rem;width:100%;animation:.2s cubic-bezier(.2,0,0,1) slideFadeIn;position:absolute;top:calc(100% + .65rem);left:0;overflow:hidden;box-shadow:0 16px 40px #00000026}@keyframes slideFadeIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.search-results-list{margin:0;padding:.5rem 0;list-style:none}.search-result-item{color:var(--text-base);align-items:center;gap:.85rem;padding:.85rem 1.25rem;text-decoration:none;transition:background-color .15s;display:flex}.search-result-item:hover{background-color:var(--surface-hover)}.search-result-icon{color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.bg-clinical{background-color:var(--brand-secondary)}.bg-academic{background-color:var(--brand-tertiary)}.search-result-text{flex-direction:column;display:flex}.search-result-text strong{font-size:.98rem;font-weight:600}.search-result-text small{color:var(--text-muted);font-size:.8rem}.search-no-results{text-align:center;padding:1.5rem;font-size:.95rem}.search-result-footer{border-top:1px solid var(--border);margin-top:.5rem;padding:.5rem 1rem 0}.search-see-all{text-align:center;width:100%;color:var(--primary-color);cursor:pointer;background:0 0;border:none;border-radius:.5rem;padding:.65rem;font-size:.95rem;font-weight:600}.search-see-all:hover{background-color:var(--surface-hover)}.desktop-view-only{display:block}@media (max-width:768px){.desktop-view-only{display:none!important}}.clinical-hub-grid{grid-template-columns:repeat(2,1fr);gap:.85rem;margin-top:.5rem;display:grid}.hub-card{background:var(--surface-strong);border:1px solid var(--border);border-radius:var(--radius-md);flex-direction:column;gap:.75rem;padding:1.25rem;transition:transform .2s,border-color .2s;display:flex}.hub-card:hover{border-color:var(--primary);transform:scale(1.02)}.hub-card-icon{background:var(--surface-accent);width:42px;height:42px;color:var(--primary);border-radius:12px;justify-content:center;align-items:center;display:flex}.hub-card h3{font-size:1rem;font-family:var(--font-sans);margin:0}.hub-card p{color:var(--text-muted);margin:0;font-size:.8rem;line-height:1.4}@media (max-width:480px){.clinical-hub-grid{grid-template-columns:1fr}.hub-card{flex-direction:row;align-items:center;padding:1rem}}.site-header{padding:.55rem 0 0}.brand-auth-group{flex-direction:row;flex:0 auto;align-items:center;gap:.65rem;max-width:none;min-height:44px;padding:.35rem .65rem .35rem .45rem}.brand-lockup{border-right:0;padding-right:0}.desktop-primary-nav{border:1px solid var(--border);background:var(--surface-strong);border-radius:999px;align-items:center;gap:.25rem;padding:.25rem;display:none}.desktop-primary-nav a{color:var(--text-muted);border-radius:999px;padding:.48rem .8rem;font-size:.9rem;font-weight:700}.desktop-primary-nav a.active{background:var(--surface-accent);color:var(--text)}@media (min-width:860px){.desktop-primary-nav{display:inline-flex}}.main-content{padding-top:.65rem}.page-shell{gap:1.15rem}.page-hero{border-radius:18px;padding:clamp(1.15rem,2.8vw,1.9rem);transition:none}.page-hero:hover,.card:hover{box-shadow:none;transform:none}.page-hero h1{max-width:15ch;font-size:clamp(2rem,7vw,4rem)}.card{border-radius:14px;padding:clamp(1rem,2.4vw,1.35rem);transition:border-color .16s,background-color .16s}.btn{border-radius:12px}.mobile-dock{padding:.55rem .55rem calc(.6rem + env(safe-area-inset-bottom));gap:0}.mobile-dock-link{border-radius:12px;min-height:3.1rem;font-size:.72rem}.mobile-dock-link.active{background:var(--surface-accent)}.home-simple-hero{background:var(--surface)}.home-search-strip{padding:.75rem}.home-primary-grid,.home-secondary-grid{gap:.85rem;display:grid}.home-primary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-secondary-grid{grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);align-items:start}.home-primary-card{color:inherit;gap:.8rem;min-height:12rem;display:grid}.home-primary-card>svg{color:var(--primary)}.home-primary-card h2{margin-bottom:.35rem;font-size:1.35rem}.home-primary-card p,.home-simple-row p,.home-action-panel p{color:var(--text-muted);font-size:.95rem;line-height:1.6}.home-simple-list{gap:.35rem;display:grid}.home-simple-row{border-top:1px solid var(--divider);color:inherit;gap:.25rem;padding:.9rem 0;display:grid}.home-simple-row:first-child{border-top:0}.home-simple-row span{color:var(--primary);text-transform:capitalize;font-size:.76rem;font-weight:800}.home-action-panel{gap:.7rem;display:grid}.home-action-panel h2{font-size:1.35rem}.home-action-link{border-top:1px solid var(--divider);min-height:3rem;color:var(--text);align-items:center;gap:.65rem;padding:.7rem 0;font-weight:800;display:flex}.home-action-link svg{color:var(--primary)}.main-content:has(.apollo-page){padding:0}.apollo-page{width:100%;height:calc(100dvh - var(--header-height) - var(--mobile-dock-height));max-height:calc(100dvh - var(--header-height) - var(--mobile-dock-height));background:var(--bg);box-sizing:border-box;flex-direction:column;padding-bottom:.35rem;display:flex;overflow:hidden}.apollo-header{padding:calc(.75rem + env(safe-area-inset-top,0px))1rem .75rem;border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0;justify-content:space-between;align-items:center;display:flex}.apollo-logo{color:var(--text);align-items:center;gap:.5rem;font-size:1rem;font-weight:700;display:flex}.apollo-history-btn{background:var(--surface-muted);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:8px;align-items:center;gap:.4rem;padding:.35rem .75rem;font-size:.82rem;display:flex}.apollo-quota-indicator{background:var(--surface-muted);border:1px solid var(--border);color:var(--text-muted);white-space:nowrap;border-radius:8px;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.82rem;animation:.3s ease-out apollo-quota-slide-in;display:flex}@keyframes apollo-quota-slide-in{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.apollo-quota-indicator.apollo-quota-warning{color:#f59e0b;background:#f59e0b26;border-color:#f59e0b66}.apollo-quota-indicator.apollo-quota-exhausted{color:#ef4444;background:#ef444426;border-color:#ef444466;flex-direction:column;align-items:flex-start;gap:.5rem;padding:.75rem 1rem}.apollo-quota-reset{opacity:.8;font-size:.75rem}.apollo-history-panel{background:var(--surface);border-left:1px solid var(--border);z-index:50;width:300px;max-width:100vw;transition:transform .22s cubic-bezier(.4,0,.2,1);position:fixed;top:0;bottom:0;right:0;transform:translate(100%);box-shadow:-8px 0 24px #00000014}.apollo-history-panel.open{transform:translate(0)}.apollo-history-panel-content{flex-direction:column;height:100%;min-height:0;padding:.85rem .75rem 1rem;display:flex}.apollo-history-overlay{z-index:40;opacity:0;visibility:hidden;background:#0000004d;transition:opacity .2s,visibility .2s;position:fixed;inset:0}.apollo-history-overlay.open{opacity:1;visibility:visible}.apollo-history-header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;padding:0 .25rem;display:flex}.apollo-history-title{color:var(--text);margin:0;font-size:.95rem;font-weight:700}.apollo-history-close{width:2rem;height:2rem;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.apollo-history-close:hover{background:var(--surface-muted);color:var(--text)}.apollo-history-new-chat{border:1px solid var(--border);background:var(--surface-strong);width:100%;color:var(--text);cursor:pointer;border-radius:999px;align-items:center;gap:.55rem;margin-bottom:.75rem;padding:.7rem .85rem;font-size:.9rem;font-weight:650;transition:background .15s,border-color .15s;display:inline-flex}.apollo-history-new-chat:hover{background:var(--surface-accent);border-color:var(--border-strong)}.apollo-history-search-wrapper{margin-bottom:.85rem;position:relative}.apollo-history-search-icon{color:var(--text-soft);pointer-events:none;position:absolute;top:50%;left:.85rem;transform:translateY(-50%)}.apollo-history-search{background:var(--surface-muted);width:100%;min-height:2.4rem;color:var(--text);border:1px solid #0000;border-radius:999px;padding:.55rem .85rem .55rem 2.35rem;font-size:.88rem}.apollo-history-search:focus{border-color:var(--border-strong);background:var(--surface);outline:none}.apollo-history-content{flex:1;min-height:0;padding-right:.15rem;overflow-y:auto}.apollo-history-empty{color:var(--text-muted);text-align:center;justify-items:center;gap:.55rem;padding:2.5rem 1rem;display:grid}.apollo-history-empty p{margin:0;font-size:.88rem;line-height:1.4}.apollo-history-list{gap:1rem;display:grid}.apollo-history-day-group{gap:.2rem;display:grid}.apollo-history-day-label{color:var(--text-soft);letter-spacing:.04em;text-transform:uppercase;margin:0;padding:.35rem .7rem;font-size:.72rem;font-weight:750}.apollo-history-session-list{gap:.15rem;margin:0;padding:0;list-style:none;display:grid}.apollo-history-session-row{border-radius:.75rem;grid-template-columns:1fr auto;align-items:center;gap:.15rem;transition:background .15s;display:grid}.apollo-history-session-row:hover,.apollo-history-session-row.active{background:var(--surface-muted)}.apollo-history-session-row.active{background:var(--surface-accent)}.apollo-history-session-main{width:100%;min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:none;padding:.65rem .7rem;display:block}.apollo-history-session-title{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:.88rem;font-weight:550;line-height:1.35;display:block;overflow:hidden}.apollo-history-delete-btn{width:1.9rem;height:1.9rem;color:var(--text-muted);cursor:pointer;opacity:0;background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;margin-right:.35rem;transition:opacity .15s,background .15s,color .15s;display:inline-flex}.apollo-history-session-row:hover .apollo-history-delete-btn,.apollo-history-session-row:focus-within .apollo-history-delete-btn{opacity:1}.apollo-history-delete-btn:hover{color:var(--error);background:#dc262614}.apollo-history-btn{background:var(--surface-muted);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:8px;align-items:center;gap:.4rem;padding:.35rem .75rem;font-size:.82rem;transition:all .15s;display:flex}.apollo-history-btn:hover{background:var(--surface-accent);border-color:var(--border-strong)}@media (max-width:640px){.apollo-history-panel{width:100vw;max-width:300px}}.apollo-chat{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.apollo-messages{flex-direction:column;flex:1;gap:.85rem;min-height:0;padding:1rem;animation:.25s ease-out apollo-fade-in;display:flex;overflow-y:auto}.apollo-welcome{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.75rem;padding:2rem 1rem;animation:.35s ease-out apollo-fade-in;display:flex}.apollo-welcome-avatar{background:var(--surface-accent);width:3.5rem;height:3.5rem;color:var(--primary);border-radius:50%;justify-content:center;align-items:center;display:flex}.apollo-welcome h2{color:var(--text);font-size:1.25rem;font-weight:600}.apollo-welcome p{color:var(--text-muted);font-size:.95rem}.apollo-prompts{flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:.5rem;display:flex}.apollo-prompt{background:var(--surface-muted);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:999px;align-items:center;gap:.4rem;padding:.5rem .9rem;font-size:.85rem;transition:background .15s,border-color .15s;display:inline-flex}.apollo-prompt:hover{background:var(--surface-accent);border-color:var(--primary-alpha-30)}.apollo-message{max-width:100%;animation:.18s ease-out messageSlideIn;display:flex}.apollo-message.user{justify-content:flex-end}.apollo-message.assistant{justify-content:flex-start}.apollo-bubble{max-width:min(42rem,88%);line-height:1.6}.user-bubble .apollo-bubble-inner{background:var(--primary);color:#fff7f1;border-bottom-right-radius:4px}.assistant .apollo-bubble .apollo-bubble-inner{background:var(--surface-strong);border:1px solid var(--border);border-bottom-left-radius:4px}[data-theme=dark] .assistant .apollo-bubble .apollo-bubble-inner{background:#2a2521}.apollo-bubble-inner{border-radius:14px;padding:.5rem .75rem}.apollo-message-actions{opacity:0;gap:.3rem;margin-top:.3rem;margin-bottom:.1rem;transition:opacity .2s;display:flex}.apollo-message:hover .apollo-message-actions{opacity:1}.apollo-message-action-btn{border:1px solid var(--border);background:var(--surface);width:26px;height:26px;color:var(--text-muted);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;transition:all .15s;display:inline-flex}.apollo-message-action-btn:hover{background:var(--surface-accent);color:var(--primary)}.apollo-input-area{padding:.65rem 1rem calc(.9rem + env(safe-area-inset-bottom,0px));background:linear-gradient(to top,var(--bg)65%,#f7f4ef00);box-sizing:border-box;border-top:none;flex-shrink:0;width:100%;max-width:48rem;margin:0 auto}[data-theme=dark] .apollo-input-area{background:linear-gradient(to top,var(--bg)65%,#14111000)}.apollo-composer{flex-direction:column;width:100%;display:flex}.apollo-composer-shell{border:1px solid var(--border);background:var(--surface);border-radius:1.75rem;align-items:flex-end;gap:.35rem;width:100%;padding:.55rem .55rem .55rem .65rem;transition:border-color .15s,box-shadow .15s;display:flex;box-shadow:0 0 0 1px #0f172a05,0 8px 24px #0f172a0f}.apollo-composer-shell:focus-within{border-color:var(--border-strong);box-shadow:0 0 0 1px #0f172a0a,0 10px 28px #0f172a14}.apollo-textarea{min-height:1.5rem;max-height:12.5rem;color:var(--text);resize:none;box-shadow:none;background:0 0;border:none;border-radius:0;outline:none;flex:1;margin:.35rem .15rem;padding:0;font-family:inherit;font-size:1rem;line-height:1.5;overflow-y:auto}.apollo-textarea::placeholder{color:var(--text-soft)}.apollo-textarea:disabled{opacity:.65;cursor:not-allowed}.apollo-composer-tool,.apollo-composer-send{cursor:pointer;border:none;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:2.25rem;height:2.25rem;transition:background .15s,color .15s,opacity .15s;display:inline-flex}.apollo-composer-tool{color:var(--text-muted);background:0 0}.apollo-composer-tool:hover:not(:disabled){background:var(--surface-muted);color:var(--text)}.apollo-composer-tool:disabled{opacity:.45;cursor:not-allowed}.apollo-composer-send{background:var(--surface-muted);color:var(--text-soft)}.apollo-composer-send.is-ready{background:var(--text);color:var(--surface)}.apollo-composer-send.is-ready:hover{opacity:.9}.apollo-composer-send.is-stop{background:var(--text);color:var(--surface)}.apollo-composer-send:disabled{cursor:not-allowed}.apollo-disclaimer{color:var(--text-soft);text-align:center;margin:.45rem 0 0;padding-bottom:.15rem;font-size:.7rem;line-height:1.35}.apollo-composer-wrapper{position:relative}.apollo-suggestions{flex-wrap:wrap;gap:.45rem;padding:.5rem .85rem .35rem;display:flex}.apollo-suggestion{border:1px solid var(--border);background:var(--surface-strong);color:var(--text-muted);cursor:pointer;border-radius:999px;align-items:center;padding:.35rem .75rem;font-size:.82rem;font-weight:700;transition:background-color .18s,color .18s,border-color .18s;display:inline-flex}.apollo-suggestion:hover{background:var(--surface-accent);color:var(--text);border-color:var(--border-strong)}.apollo-scroll-btn{background:var(--primary);color:#fff7f1;cursor:pointer;z-index:20;box-shadow:var(--shadow-md);border:none;border-radius:999px;padding:.5rem 1rem;font-size:.85rem;position:absolute;bottom:6rem;left:50%;transform:translate(-50%)}.apollo-loading{gap:.3rem;padding:.4rem 0;display:flex}.apollo-loading span{background:var(--text-soft);border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite dotPulse}.apollo-loading span:nth-child(2){animation-delay:.15s}.apollo-loading span:nth-child(3){animation-delay:.3s}@keyframes dotPulse{0%,80%,to{opacity:.3;transform:scale(.85)}40%{opacity:1;transform:scale(1)}}@keyframes apollo-fade-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (max-width:640px){.apollo-messages{padding:.75rem}.apollo-bubble{max-width:92%}.apollo-bubble-inner{padding:.45rem .65rem;font-size:.9rem}.apollo-input-area{padding:.5rem .75rem calc(1rem + env(safe-area-inset-bottom,0px))}.apollo-composer-shell{border-radius:1.5rem;padding:.4rem .4rem .4rem .5rem}.apollo-textarea{margin:.3rem .1rem;font-size:.95rem}.apollo-disclaimer{margin-top:.4rem;padding-bottom:.2rem;font-size:.66rem}.apollo-history-bar{width:85vw}}.ai-answer-card{border:1px solid var(--primary-alpha-20);background:var(--surface-accent);border-radius:24px;gap:.65rem;padding:1rem 1.05rem;display:grid}.ai-answer-header{color:var(--primary);align-items:center;gap:.5rem;font-weight:700;display:inline-flex}.ai-answer-body{color:var(--text);line-height:1.7}.ai-answer-body p{margin-bottom:.5rem}.ai-answer-body p:last-child{margin-bottom:0}.ai-md-p{margin-bottom:.65rem;font-size:.95rem;line-height:1.55}.ai-md-p:last-child{margin-bottom:0}.ai-md-ul,.ai-md-ol{margin-bottom:.65rem;padding-left:1.4rem}.ai-md-li{margin-bottom:.35rem}.ai-md-heading{color:var(--text);margin-top:1.25rem;margin-bottom:.75rem;font-weight:700}.ai-link{color:var(--primary);text-underline-offset:4px;font-weight:600;text-decoration:underline;transition:color .2s}.ai-link:hover{color:var(--secondary)}.ai-code-block-wrapper{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-strong);margin-bottom:1rem;overflow:hidden}.ai-code-block-header{background:var(--surface-muted);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:.75rem;padding:.5rem .9rem;display:flex}.ai-code-block-lang{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:700}.ai-code-block-copy{border:1px solid var(--border);background:var(--surface-strong);color:var(--text-muted);cursor:pointer;border-radius:8px;align-items:center;gap:.35rem;padding:.25rem .55rem;font-size:.78rem;font-weight:700;transition:all .2s;display:inline-flex}.ai-code-block-copy:hover{background:var(--surface-accent);color:var(--primary);border-color:var(--primary-alpha-30)}.ai-code-block{background:var(--surface-strong);border-radius:0;margin:0;padding:1rem;overflow-x:auto}.ai-code-block code{background:0 0;border-radius:0;padding:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.9rem;line-height:1.6}.ai-code-inline{background:var(--surface-muted);color:var(--primary);border-radius:4px;padding:.2rem .4rem;font-size:.9em}.ai-streaming-cursor{background:var(--text-muted);vertical-align:text-bottom;width:.6em;height:1.1em;margin-left:.15rem;animation:1s step-end infinite cursorBlink;display:inline-block}@keyframes cursorBlink{0%,to{opacity:1}50%{opacity:0}}.apollo-main{flex:auto;min-height:0;display:flex;position:relative;overflow:hidden}.apollo-chat{flex-direction:column;flex:1;min-width:0;min-height:0;transition:margin-right .22s cubic-bezier(.4,0,.2,1);display:flex;position:relative}.apollo-main.has-history .apollo-history-panel{background:var(--surface);border-left:1px solid var(--border);z-index:20;width:300px;height:100%;transition:transform .22s cubic-bezier(.4,0,.2,1);position:absolute;top:0;right:0;transform:translate(100%);box-shadow:-10px 0 28px #0f172a14}.apollo-main.has-history .apollo-history-panel.open{transform:translate(0)}.apollo-main.has-history .apollo-history-panel .apollo-history-overlay{display:none}.apollo-main.has-history .apollo-chat .apollo-messages,.apollo-main.has-history .apollo-welcome{flex:1;min-height:0;overflow-y:auto}.apollo-main.has-history .apollo-welcome{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:1.5rem 1rem;display:flex}.apollo-main.has-history .apollo-input-area{width:100%;max-width:48rem;margin-inline:auto;position:relative;bottom:auto;left:auto;right:auto}.apollo-main.has-history .apollo-chat .apollo-messages{scrollbar-width:thin}.apollo-main.has-history .apollo-chat .apollo-messages::-webkit-scrollbar{width:6px}.apollo-main.has-history .apollo-chat .apollo-messages::-webkit-scrollbar-track{background:0 0}.apollo-main.has-history .apollo-chat .apollo-messages::-webkit-scrollbar-thumb{background-color:var(--border-strong);border-radius:3px}.apollo-main.has-history .apollo-chat .apollo-messages::-webkit-scrollbar-thumb:hover{background-color:var(--text-muted)}@media (min-width:900px){.apollo-main.has-history .apollo-history-panel.open~.apollo-chat{margin-right:300px}}@media (max-width:899px){.apollo-main.has-history:has(.apollo-history-panel.open):after{content:"";z-index:15;background:#0f172a47;position:absolute;inset:0}.apollo-main.has-history .apollo-history-panel{z-index:30;width:min(300px,88vw)}.apollo-main.has-history .apollo-history-panel.open~.apollo-chat{margin-right:0}}.metric-card,.post-card,.resource-card,.activity-card{box-shadow:var(--shadow-sm)}.post-card,.resource-card{transition:transform .2s,box-shadow .2s,border-color .2s}@media (hover:hover){.post-card:hover,.resource-card:hover{box-shadow:var(--shadow-md);border-color:var(--border-strong);transform:translateY(-2px)}}.empty-state{padding:2.5rem 1.25rem}.empty-state h2{text-wrap:balance}.empty-state-lead{max-width:42ch;margin-inline:auto;line-height:1.65}.mobile-dock-link.active,.mobile-dock-link.active svg{color:var(--primary)}.btn:focus-visible,.top-nav-link:focus-visible,.mobile-dock-link:focus-visible,.desktop-primary-nav a:focus-visible,a.brand-lockup:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.search-navbar .global-search-form{box-shadow:none;background:0 0;border-color:#0000;padding-left:.25rem}.search-navbar .global-search-form:focus-within{background:var(--surface-muted);box-shadow:0 0 0 1px var(--primary-alpha-30);border-color:#0000}@media (min-width:481px){.header-search-area{border-left:1px solid var(--border);padding-left:.65rem}}.header-auth-stack{padding-right:.15rem}.header-strip{justify-content:center}.brand-auth-group{width:min(100%,960px);margin-inline:auto}.draggable-pencil{z-index:1000;border:1px solid var(--border);background:var(--surface-strong);width:3rem;height:3rem;color:var(--primary);cursor:grab;border-radius:50%;justify-content:center;align-items:center;transition:transform .2s,box-shadow .2s;display:inline-flex;position:fixed;box-shadow:0 4px 12px #0000001a}.draggable-pencil:hover{transform:rotate(90deg)scale(1.1);box-shadow:0 6px 16px #00000026}.draggable-pencil:active{cursor:grabbing}.notes-overlay{z-index:999;background:#0003;justify-content:flex-start;align-items:flex-start;display:flex;position:fixed;inset:0}.notes-panel{z-index:1001;background:var(--surface-strong);border:1px solid var(--border);border-radius:20px;flex-direction:column;width:min(380px,100vw - 2rem);max-height:calc(100vh - 2rem);animation:.2s notes-pop;display:flex;position:fixed;overflow:hidden;box-shadow:0 20px 60px #0003}@keyframes notes-pop{0%{opacity:0;transform:scale(.95)translateY(-10px)}to{opacity:1;transform:scale(1)translateY(0)}}.notes-header{border-bottom:1px solid var(--border);background:var(--surface-muted);justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.notes-title{color:var(--text);align-items:center;gap:.5rem;font-size:.95rem;font-weight:800;display:inline-flex}.notes-close{cursor:pointer;width:2rem;height:2rem;color:var(--text-muted);background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;transition:all .15s;display:inline-flex}.notes-close:hover{background:var(--surface-muted);color:var(--text)}.notes-list{flex-direction:column;flex:1;gap:.75rem;padding:1rem;display:flex;overflow-y:auto}.notes-loading{justify-content:center;align-items:center;padding:2rem;display:flex}.notes-empty{text-align:center;color:var(--text-muted);padding:2rem 1rem;font-size:.9rem}.note-item{border:1px solid var(--border);background:var(--surface-muted);border-radius:14px;flex-direction:column;gap:.5rem;padding:.85rem;display:flex}.note-content{color:var(--text);white-space:pre-wrap;word-break:break-word;font-size:.92rem;line-height:1.6}.note-meta{color:var(--text-muted);justify-content:space-between;align-items:center;gap:.5rem;font-size:.75rem;display:flex}.note-meta-row{color:var(--text-muted);justify-content:space-between;align-items:center;gap:.5rem;padding-bottom:.35rem;font-size:.75rem;display:flex}.note-context{color:var(--text-soft);text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:700}.note-dates{color:var(--text-muted);white-space:nowrap;font-size:.72rem}.note-edited{font-style:italic}.note-actions-row{justify-content:flex-end;display:flex}.note-actions{align-items:center;gap:.35rem;display:inline-flex}.note-edit-btn,.note-delete-btn,.note-save-btn,.note-cancel-btn{cursor:pointer;width:1.6rem;height:1.6rem;color:var(--text-muted);background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;transition:all .15s;display:inline-flex}.note-edit-btn:hover,.note-save-btn:hover:not(:disabled){background:var(--surface-accent);color:var(--primary)}.note-delete-btn:hover{color:var(--error);background:#dc26261a}.note-cancel-btn{width:auto;padding:0 .5rem;font-size:.75rem;font-weight:700}.note-edit-form{flex-direction:column;gap:.5rem;display:flex}.note-textarea{border:1px solid var(--border);background:var(--surface-strong);width:100%;min-height:4rem;color:var(--text);resize:vertical;border-radius:12px;padding:.65rem .75rem;font-family:inherit;font-size:.9rem;line-height:1.6}.note-textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-alpha-20);outline:none}.note-compose{border-top:1px solid var(--border);background:var(--surface-muted);gap:.5rem;padding:.75rem 1rem;display:flex}.note-submit-btn{background:var(--primary);color:#fff;cursor:pointer;white-space:nowrap;border:none;border-radius:12px;justify-content:center;align-items:center;padding:.5rem 1rem;font-size:.85rem;font-weight:700;transition:all .15s;display:inline-flex}.note-submit-btn:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.note-submit-btn:disabled{opacity:.5;cursor:not-allowed}.profile-notes-card{margin-top:1.5rem}.profile-notes-list{flex-direction:column;gap:.75rem;margin-top:1rem;display:flex}.profile-note-item{border:1px solid var(--border);background:var(--surface-muted);border-radius:14px;flex-direction:column;gap:.5rem;padding:1rem;display:flex}.profile-note-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.profile-note-context{flex:1;min-width:0}.profile-note-link{color:var(--primary);align-items:center;gap:.35rem;font-size:.82rem;font-weight:700;text-decoration:none;display:inline-flex}.profile-note-link:hover{text-decoration:underline}.profile-note-context-label{color:var(--text-soft);font-size:.82rem;font-weight:700}.profile-note-meta{color:var(--text-muted);white-space:nowrap;flex-direction:column;align-items:flex-end;gap:.15rem;font-size:.72rem;display:flex}.profile-note-date{white-space:nowrap}.profile-note-edited{font-style:italic}.notes-empty-state{text-align:center;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:.75rem;padding:3rem 1rem;display:flex}.notes-empty-state svg{opacity:.4}@media (max-width:640px){.profile-note-header{flex-direction:column;gap:.25rem}.profile-note-meta{align-items:flex-start}.notes-panel{border-radius:16px;width:calc(100vw - 1.5rem);max-height:calc(100vh - 3rem)}.draggable-pencil{width:2.5rem;height:2.5rem}.draggable-pencil svg{width:20px;height:20px}}.ad-container{width:100%;max-width:100%;margin:0 auto;padding:.5rem 0;overflow:hidden}.ad-container>ins{margin:0 auto}.header-ad-container{width:100%;max-width:var(--max-width);justify-content:center;align-items:center;margin:0 auto;padding:.5rem .75rem;display:flex}.header-ad{background:var(--surface-muted);border-radius:var(--radius-sm);min-height:90px;padding:.75rem}.footer-ad-container{width:100%;max-width:var(--max-width);justify-content:center;align-items:center;margin:0 auto;padding:1.5rem .75rem;display:flex}.footer-ad-wrapper{flex-direction:column;align-items:center;gap:.5rem;width:100%;display:flex}.footer-ad{background:var(--surface-muted);border-radius:var(--radius-sm);min-height:90px;padding:.75rem}.in-post-ad-container{width:100%;max-width:var(--content-width);justify-content:center;margin:2rem auto;padding:0 .75rem;display:flex}.in-post-ad-wrapper{background:var(--surface-muted);border-radius:var(--radius-md);border:1px dashed var(--border-strong);flex-direction:column;align-items:center;gap:.5rem;width:100%;padding:1.5rem;display:flex}.in-post-ad{min-height:120px}.apollo-ad-container{justify-content:center;width:100%;max-width:300px;margin:1rem auto;padding:0 .75rem;display:flex}.apollo-ad-wrapper{background:var(--surface-muted);border-radius:var(--radius-sm);flex-direction:column;align-items:center;gap:.5rem;width:100%;padding:1rem;display:flex}.apollo-ad{min-height:250px}.ad-label{text-transform:uppercase;letter-spacing:.08em;color:var(--text-soft);opacity:.7;font-size:.7rem;font-weight:700}.ad-popup-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background:#00000080;justify-content:center;align-items:center;padding:1rem;animation:.3s fadeIn;display:flex;position:fixed;inset:0}.ad-popup-content{background:var(--surface-strong);border-radius:var(--radius-md);width:100%;max-width:600px;box-shadow:var(--shadow-lg);padding:1.5rem;animation:.4s cubic-bezier(.16,1,.3,1) slideUp;position:relative}.ad-popup-close{background:var(--surface-muted);width:2rem;height:2rem;color:var(--text-muted);cursor:pointer;border:none;border-radius:999px;justify-content:center;align-items:center;font-size:1.25rem;line-height:1;transition:all .18s;display:flex;position:absolute;top:.75rem;right:.75rem}.ad-popup-close:hover{background:var(--surface-accent);color:var(--text)}.ad-popup-close.disabled{opacity:.5;cursor:not-allowed;background:var(--bg-soft);color:var(--text-soft)}.ad-popup-close.disabled:hover{background:var(--bg-soft);color:var(--text-soft)}.ad-popup-header{justify-content:center;margin-bottom:1rem;display:flex}.ad-badge{text-transform:uppercase;letter-spacing:.08em;color:var(--text-soft);background:var(--surface-muted);border-radius:999px;padding:.25rem .75rem;font-size:.7rem;font-weight:700}.ad-popup-body{justify-content:center;align-items:center;min-height:250px;display:flex}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media (max-width:768px){.header-ad-container,.footer-ad-container{display:none}.in-post-ad-wrapper{padding:1rem}.apollo-ad-container{max-width:100%}.apollo-ad-wrapper-mobile-hidden{display:none}.ad-popup-overlay{display:none!important}}.in-feed-ad{width:100%;max-width:var(--content-width);margin:0 auto;padding:0 .75rem;position:relative}.in-feed-ad .ad-label{text-transform:uppercase;letter-spacing:.1em;color:var(--text-soft);opacity:.7;text-align:center;margin-bottom:.5rem;font-size:.65rem;font-weight:700;display:block}.in-feed-ad .ad-link{background:var(--surface-muted);border-radius:var(--radius-md);width:100%;color:inherit;border:1px solid var(--border);text-decoration:none;transition:box-shadow .18s,transform .18s;display:block;overflow:hidden}.in-feed-ad .ad-link:hover{box-shadow:var(--shadow-md);border-color:var(--border-strong);transform:translateY(-2px)}.in-feed-ad .ad-image{background:var(--surface-accent);width:100%;height:180px;position:relative}.in-feed-ad .ad-image img{object-fit:cover}.in-feed-ad .ad-content{padding:1rem}.in-feed-ad .ad-content h4{color:var(--text);margin-bottom:.35rem;font-size:1.05rem;font-weight:700}.in-feed-ad .ad-content p{color:var(--text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:.75rem;font-size:.9rem;line-height:1.6;display:-webkit-box;overflow:hidden}.in-feed-ad .ad-cta{color:var(--primary);align-items:center;gap:.35rem;font-size:.85rem;font-weight:700;transition:gap .18s;display:inline-flex}.in-feed-ad .ad-link:hover .ad-cta{gap:.5rem}.ads-manager{flex-direction:column;gap:1.5rem;display:flex}.admin-tabs{border-bottom:1px solid var(--border);gap:.5rem;padding-bottom:.5rem;display:flex}.admin-tab{border-radius:var(--radius-sm);color:var(--text-muted);cursor:pointer;background:0 0;border:1px solid #0000;padding:.65rem 1.25rem;font-weight:700;transition:all .18s}.admin-tab:hover{background:var(--surface-muted);color:var(--text)}.admin-tab.active{background:var(--primary);color:#fff;border-color:var(--primary)}.admin-form{flex-direction:column;gap:1rem;max-width:800px;display:flex}.form-group{flex-direction:column;gap:.35rem;display:flex}.form-group label{color:var(--text-muted);font-size:.85rem;font-weight:700}.form-group input,.form-group select,.form-group textarea{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-strong);color:var(--text);padding:.65rem .9rem;font-size:.95rem;transition:border-color .18s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #b14d2614}.form-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.form-actions{gap:.75rem;margin-top:.5rem;display:flex}.image-upload{align-items:center;gap:1rem;display:flex}.image-upload img{border-radius:var(--radius-sm);border:1px solid var(--border)}.upload-btn{border-radius:var(--radius-sm);border:1px dashed var(--border-strong);background:var(--surface-muted);color:var(--text-muted);cursor:pointer;align-items:center;gap:.5rem;padding:.65rem 1rem;font-size:.85rem;font-weight:700;transition:all .18s;display:inline-flex}.upload-btn:hover{border-color:var(--primary);color:var(--primary)}.upload-btn input[type=file]{display:none}.ads-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.25rem;margin-top:1.5rem;display:grid}.ad-card{background:var(--surface-strong);border:1px solid var(--border);border-radius:var(--radius-md);transition:box-shadow .18s,transform .18s;overflow:hidden}.ad-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.ad-card-image{background:var(--surface-muted);width:100%;height:160px;position:relative}.ad-card-image img{object-fit:cover}.ad-card-placeholder{height:100%;color:var(--text-soft);justify-content:center;align-items:center;font-size:.85rem;display:flex}.ad-card-content{padding:1rem}.ad-card-content h4{margin-bottom:.35rem;font-size:1rem;font-weight:700}.ad-card-desc{color:var(--text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:.75rem;font-size:.85rem;line-height:1.5;display:-webkit-box;overflow:hidden}.ad-card-meta{gap:.5rem;margin-bottom:.5rem;display:flex}.status-badge{text-transform:uppercase;letter-spacing:.05em;border-radius:999px;align-items:center;padding:.2rem .6rem;font-size:.7rem;font-weight:800;display:inline-flex}.status-draft{background:var(--surface-muted);color:var(--text-muted)}.status-pending{color:#92400e;background:#fef3c7}.status-active{color:#065f46;background:#d1fae5}.status-paused{color:#991b1b;background:#fee2e2}.status-expired{background:var(--surface-muted);color:var(--text-soft)}.status-paid{color:#065f46;background:#d1fae5}.status-failed{color:#991b1b;background:#fee2e2}.status-refunded{color:#3730a3;background:#e0e7ff}.placement-badge{text-transform:uppercase;letter-spacing:.05em;background:var(--surface-accent);color:var(--text);border-radius:999px;align-items:center;padding:.2rem .6rem;font-size:.7rem;font-weight:800;display:inline-flex}.ad-card-advertiser{color:var(--text-muted);align-items:center;gap:.35rem;margin-bottom:.75rem;font-size:.8rem;display:flex}.ad-card-actions{gap:.5rem;display:flex}.orders-table{margin-top:1rem;overflow-x:auto}.orders-table table{border-collapse:collapse;width:100%;font-size:.9rem}.orders-table th,.orders-table td{text-align:left;border-bottom:1px solid var(--border);padding:.75rem 1rem}.orders-table th{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:.8rem;font-weight:700}.orders-table tr:hover{background:var(--surface-muted)}.action-btns{gap:.5rem;display:flex}.btn-sm{min-height:auto;padding:.4rem .8rem;font-size:.85rem}.btn-danger{color:var(--error);border-color:var(--error);background:0 0}.btn-danger:hover{background:var(--error);color:#fff}.package-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin:1.25rem 0;display:grid}.package-card{border-radius:var(--radius-md);border:2px solid var(--border);background:var(--surface-strong);cursor:pointer;text-align:center;padding:1.25rem;transition:all .18s;position:relative}.package-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md);transform:translateY(-2px)}.package-card.selected{border-color:var(--primary);background:#b14d260a}.package-card.popular{border-color:var(--accent)}.popular-badge{background:var(--accent);color:#fff;text-transform:uppercase;letter-spacing:.06em;border-radius:999px;padding:.2rem .7rem;font-size:.7rem;font-weight:800;position:absolute;top:-.6rem;left:50%;transform:translate(-50%)}.package-card h4{margin-bottom:.25rem;font-size:1.1rem;font-weight:800}.package-card .text-muted{margin-bottom:1rem;font-size:.85rem}.package-price{color:var(--primary);font-size:1.35rem;font-weight:800}.affiliate-card{background:var(--surface-strong);border:1px solid var(--border);border-radius:var(--radius-md);color:inherit;text-decoration:none;transition:box-shadow .18s,transform .18s;display:block;overflow:hidden}.affiliate-card:hover{box-shadow:var(--shadow-md);border-color:var(--border-strong);transform:translateY(-2px)}.affiliate-card-image{background:var(--surface-muted);width:100%;height:180px;position:relative}.affiliate-card-image img{object-fit:cover}.affiliate-card-content{padding:1rem}.affiliate-card-header{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.affiliate-category{text-transform:uppercase;letter-spacing:.06em;border-radius:999px;padding:.2rem .6rem;font-size:.7rem;font-weight:800}.affiliate-category-book{color:#1e40af;background:#dbeafe}.affiliate-category-equipment{color:#9d174d;background:#fce7f3}.affiliate-category-course{color:#065f46;background:#d1fae5}.affiliate-category-subscription{color:#92400e;background:#fef3c7}.affiliate-rating{color:var(--accent);font-size:.8rem;font-weight:700}.affiliate-card h4{margin-bottom:.35rem;font-size:1rem;font-weight:700}.affiliate-card .text-muted{margin-bottom:.75rem;font-size:.85rem;line-height:1.5}.affiliate-card-footer{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.affiliate-price{color:var(--primary);font-size:1.05rem;font-weight:800}.affiliate-original-price{color:var(--text-soft);margin-left:.5rem;font-size:.85rem;font-weight:500}.affiliate-cta{color:var(--primary);align-items:center;gap:.35rem;font-size:.85rem;font-weight:700;transition:gap .18s;display:inline-flex}.affiliate-card:hover .affiliate-cta{gap:.5rem}.affiliate-inline{background:var(--surface-muted);border-radius:var(--radius-sm);color:var(--text);border:1px solid var(--border);align-items:center;gap:.5rem;padding:.4rem .8rem;font-size:.9rem;font-weight:600;text-decoration:none;transition:all .18s;display:inline-flex}.affiliate-inline:hover{background:var(--surface-accent);border-color:var(--primary);color:var(--primary)}.affiliate-inline .affiliate-price{color:var(--primary);font-weight:800}.affiliate-banner{width:100%;max-width:var(--content-width);background:var(--surface-strong);border:1px solid var(--border);border-radius:var(--radius-md);color:inherit;margin:2rem auto;text-decoration:none;transition:box-shadow .18s,transform .18s;display:flex;overflow:hidden}.affiliate-banner:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.affiliate-banner-image{background:var(--surface-muted);flex-shrink:0;width:240px;min-height:160px;position:relative}.affiliate-banner-image img{object-fit:cover}.affiliate-banner-content{flex-direction:column;flex:1;justify-content:center;padding:1.25rem;display:flex}.affiliate-badge{text-transform:uppercase;letter-spacing:.06em;color:#1e40af;background:#dbeafe;border-radius:999px;align-self:flex-start;margin-bottom:.75rem;padding:.2rem .6rem;font-size:.7rem;font-weight:800;display:inline-flex}.affiliate-banner h4{margin-bottom:.35rem;font-size:1.15rem;font-weight:700}.affiliate-banner .text-muted{margin-bottom:1rem;font-size:.9rem;line-height:1.5}.affiliate-banner-footer{justify-content:space-between;align-items:center;gap:1rem;display:flex}.affiliate-banner .affiliate-price{color:var(--primary);font-size:1.2rem;font-weight:800}.sponsored-resource{border:2px solid var(--accent);border-radius:var(--radius-md);position:relative;overflow:hidden}.sponsored-resource:before{content:"Sponsored";background:var(--accent);color:#fff;text-transform:uppercase;letter-spacing:.06em;z-index:1;border-radius:999px;padding:.25rem .75rem;font-size:.7rem;font-weight:800;position:absolute;top:.75rem;right:.75rem}.sponsor-banner{background:linear-gradient(135deg,var(--surface-accent),var(--surface-muted));border-top:1px solid var(--border);align-items:center;gap:.75rem;padding:.75rem 1rem;display:flex}.sponsor-logo{border-radius:var(--radius-sm);object-fit:cover;border:1px solid var(--border);width:32px;height:32px}.sponsor-info{flex:1}.sponsor-name{color:var(--text);font-size:.85rem;font-weight:700}.sponsor-tagline{color:var(--text-muted);font-size:.75rem}.post-sponsored-badge{color:#92400e;text-transform:uppercase;letter-spacing:.05em;background:linear-gradient(135deg,#fef3c7,#fde68a);border-radius:999px;align-items:center;gap:.35rem;padding:.25rem .7rem;font-size:.75rem;font-weight:800;display:inline-flex}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background:#00000080;justify-content:center;align-items:center;padding:1rem;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.modal-content{background:var(--surface-strong);border-radius:var(--radius-md);width:100%;max-width:600px;max-height:90vh;box-shadow:var(--shadow-lg);padding:2rem;animation:.3s cubic-bezier(.16,1,.3,1) slideUp;position:relative;overflow-y:auto}.modal-close{background:var(--surface-muted);width:2rem;height:2rem;color:var(--text-muted);cursor:pointer;border:none;border-radius:999px;justify-content:center;align-items:center;font-size:1.5rem;line-height:1;transition:all .18s;display:flex;position:absolute;top:1rem;right:1rem}.modal-close:hover{background:var(--surface-accent);color:var(--text)}.modal-actions{gap:.75rem;margin-top:1.5rem;display:flex}.modal-actions .btn{flex:1}@media (max-width:768px){.affiliate-banner{flex-direction:column}.affiliate-banner-image{width:100%;height:180px}.package-grid{grid-template-columns:1fr}.modal-content{padding:1.5rem}}.admin-loader{min-height:60vh;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:1rem;font-weight:700;display:flex}.admin-shell{background:var(--bg);grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.admin-sidebar{background:var(--surface-strong);border-right:1px solid var(--border);flex-direction:column;gap:1.25rem;height:100vh;padding:1.25rem;display:flex;position:sticky;top:0;overflow-y:auto}.admin-sidebar-header{color:var(--text);align-items:center;gap:.6rem;display:flex}.admin-sidebar-header strong{font-size:1.05rem;font-family:var(--font-sans);letter-spacing:-.02em;font-weight:800;line-height:1}.admin-nav{flex-direction:column;gap:.35rem;display:flex}.admin-tab-btn{border-radius:var(--radius-sm);width:100%;color:var(--text-muted);cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;align-items:center;gap:.6rem;padding:.75rem .9rem;font-size:.96rem;font-weight:700;transition:all .18s;display:inline-flex}.admin-tab-btn:hover{background:var(--surface-muted);color:var(--text)}.admin-tab-btn.active{background:var(--primary);color:#fff7f1;border-color:var(--primary)}.admin-sidebar-footer{border-top:1px solid var(--border);flex-direction:column;gap:.75rem;margin-top:auto;padding-top:1rem;display:flex}.admin-user-info{flex-direction:column;gap:.15rem;min-width:0;display:flex}.admin-user-info strong{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:.95rem;font-weight:800;overflow:hidden}.admin-user-info small{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:.8rem;overflow:hidden}.admin-content{flex-direction:column;gap:1.25rem;min-width:0;padding:1.5rem;display:flex}.admin-content-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.admin-content-inner{flex-direction:column;gap:1.25rem;display:flex}@media (max-width:768px){.admin-shell{grid-template-columns:1fr}.admin-sidebar{border-right:none;border-bottom:1px solid var(--border);flex-direction:row;align-items:center;height:auto;padding:1rem;position:static;overflow-x:auto}.admin-nav{flex-direction:row}.admin-sidebar-footer{display:none}.admin-content{padding:1rem}}
