.portal-page{background:var(--bg,#f9fafb);min-height:100vh;color:var(--text,#111827)}.portal-main{padding-top:88px;padding-bottom:48px}.portal-page-header{margin-bottom:28px}.portal-page-header h1{color:var(--brand-blue-dark,#0d2240);margin:0 0 8px;font-size:1.85rem}.portal-page-header--row{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.portal-muted{color:var(--muted,#6b7280);margin:0;line-height:1.5}.portal-eyebrow{letter-spacing:.04em;text-transform:uppercase;color:var(--brand-blue,#2563eb);margin:0 0 6px;font-size:12px;font-weight:700}.portal-navbar{gap:12px}.portal-navbar__links{flex:1;align-items:center;gap:4px;min-width:0;display:flex}.portal-navbar__link{color:#334155;white-space:nowrap;border-radius:8px;padding:8px 10px;font-size:13.5px;font-weight:600;text-decoration:none}.portal-navbar__link:hover,.portal-navbar__link.is-active{color:#1a4f9c;background:#e8f0fb}.portal-navbar__auth{flex-shrink:0;align-items:center;gap:8px;display:flex}.portal-notes-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;display:grid}.portal-note-card{background:var(--card,#fff);border:1px solid var(--line,#e5e7eb);border-radius:14px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 1px 2px #0f172a0a}.portal-note-card__media{aspect-ratio:16/10;background:#e8eef7;position:relative}.portal-note-card__media img{object-fit:cover;width:100%;height:100%;display:block}.portal-note-card__placeholder{color:#64748b;letter-spacing:.04em;place-items:center;width:100%;height:100%;font-weight:700;display:grid}.portal-badge{background:var(--brand-orange,#e86b2a);color:#fff;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700;position:absolute;top:10px;right:10px}.portal-note-card__body{flex:1;gap:8px;padding:14px 14px 8px;display:grid}.portal-note-card__category{color:#64748b;font-size:12px;font-weight:600}.portal-note-card__title{margin:0;font-size:1.05rem;line-height:1.35}.portal-note-card__title a{color:inherit;text-decoration:none}.portal-note-card__title a:hover{color:#1a4f9c}.portal-note-card__price{color:var(--brand-blue-mid,#1a3c6e);font-weight:700}.portal-note-card__footer{padding:0 14px 14px}.portal-btn{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:10px 14px;font-family:inherit;font-size:13.5px;font-weight:600;text-decoration:none;display:inline-flex}.portal-btn:disabled{opacity:.65;cursor:not-allowed}.portal-btn--primary{color:#fff;background:#f06a1e;border-color:#f06a1e}.portal-btn--primary:hover:not(:disabled){background:#d45a10}.portal-btn--ghost{color:#1a4f9c;background:#fff;border-color:#e2e8f0}.portal-btn--ghost:hover:not(:disabled){background:#e8f0fb}.portal-btn--block{width:100%}.portal-state{border:1px solid var(--line,#e5e7eb);text-align:center;background:#fff;border-radius:14px;justify-items:center;gap:12px;padding:36px 24px;display:grid}.portal-state h1,.portal-state h2{color:var(--brand-blue-dark,#0d2240);margin:0}.portal-state--error{background:#fff7f7;border-color:#fecaca}.portal-auth{justify-content:center;display:flex}.portal-auth-card{border:1px solid var(--line,#e5e7eb);background:#fff;border-radius:16px;gap:14px;width:100%;max-width:440px;padding:28px 24px;display:grid;box-shadow:0 8px 24px #0f172a0d}.portal-auth-card h1{color:var(--brand-blue-dark,#0d2240);margin:0;font-size:1.6rem}.portal-field{color:#334155;gap:6px;font-size:13.5px;font-weight:600;display:grid}.portal-field input{font:inherit;color:#111827;background:#f9fafb;border:1.5px solid #e2e8f0;border-radius:8px;outline:none;padding:10px 12px;font-weight:500}.portal-field input:focus{background:#fff;border-color:#1a4f9c;box-shadow:0 0 0 3px #1a4f9c1a}.portal-auth-links{flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:13.5px;display:flex}.portal-auth-links a,.portal-text-link{color:#2563eb;font-weight:600;text-decoration:none!important}.portal-auth-links a:hover,.portal-text-link:hover{color:#1d4ed8;text-decoration:none!important}.portal-alert{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:10px 12px;font-size:13.5px}.portal-alert--success{color:#065f46;background:#ecfdf5;border-color:#a7f3d0}.portal-modal-backdrop{z-index:2000;background:#0f172a73;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.portal-modal{background:#fff;border-radius:16px;gap:10px;width:min(100%,420px);padding:24px;display:grid;position:relative;box-shadow:0 20px 50px #0f172a33}.portal-modal h2{color:var(--brand-blue-dark,#0d2240);margin:0;font-size:1.35rem}.portal-modal__close{cursor:pointer;color:#64748b;background:0 0;border:none;font-size:24px;line-height:1;position:absolute;top:10px;right:12px}.portal-modal__price{color:var(--brand-blue-mid,#1a3c6e);margin:4px 0 0;font-size:1.4rem;font-weight:800}.portal-modal__actions{flex-wrap:wrap;gap:10px;margin-top:8px;display:flex}.portal-profile-card,.portal-section{border:1px solid var(--line,#e5e7eb);background:#fff;border-radius:14px;margin-bottom:18px;padding:20px}.portal-profile{max-width:820px}.portal-profile-hero{border:1px solid var(--line,#e5e7eb);background:#fff;border-radius:16px;margin-bottom:18px;position:relative;overflow:hidden}.portal-profile-hero__banner{background:linear-gradient(135deg,#0d2240 0%,#1a3c6e 48%,#f06a1e 140%);height:88px}.portal-profile-hero__body{align-items:flex-end;gap:18px;margin-top:-36px;padding:0 22px 22px;display:flex}.portal-profile-avatar{background:linear-gradient(145deg,#1a3c6e,#2563eb);border:4px solid #fff;border-radius:50%;flex-shrink:0;place-items:center;width:88px;height:88px;display:grid;overflow:hidden;box-shadow:0 6px 18px #0d22402e}.portal-profile-avatar__initials{letter-spacing:.02em;color:#fff;-webkit-user-select:none;user-select:none;font-size:1.65rem;font-weight:800;line-height:1}.portal-profile-avatar__img{object-fit:cover;width:100%;height:100%;display:block}.portal-profile-hero__identity{flex:1;min-width:0;padding-bottom:4px}.portal-profile-hero__name-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.portal-profile-hero__name{color:var(--brand-blue-dark,#0d2240);margin:0;font-size:1.45rem;font-weight:800;line-height:1.2}.portal-profile-hero__email{color:var(--muted,#6b7280);word-break:break-word;margin:6px 0 0;font-size:.95rem}.portal-profile-card{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;display:grid}.portal-profile-card--details{grid-template-columns:1fr;gap:0;padding:8px 10px}.portal-profile-detail{border-bottom:1px solid var(--line,#e5e7eb);grid-template-columns:minmax(120px,180px) 1fr;align-items:baseline;gap:10px 16px;padding:14px 12px;display:grid}.portal-profile-detail:last-child{border-bottom:none}.portal-profile-detail p{color:var(--brand-blue-dark,#0d2240);word-break:break-word;margin:0;font-size:.98rem;font-weight:600}.portal-profile-detail .portal-label{margin-bottom:0}.portal-label{letter-spacing:.03em;text-transform:uppercase;color:#64748b;margin-bottom:4px;font-size:12px;font-weight:700;display:block}.portal-pill--muted{color:#9a3412;background:#ffedd5}.portal-section__head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.portal-section__head h2{margin:0;font-size:1.15rem}.portal-purchase-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.portal-purchase-list li{border-bottom:1px solid var(--line,#e5e7eb);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.portal-purchase-list li:last-child{border-bottom:none;padding-bottom:0}.portal-purchase-list--large li{padding:16px 0}.portal-pill{color:#166534;background:#dcfce7;border-radius:999px;margin-left:8px;padding:2px 8px;font-size:11px;font-weight:700;display:inline-block}.portal-article{border:1px solid var(--line,#e5e7eb);background:#fff;border-radius:14px;padding:28px 24px}.portal-article h1{color:var(--brand-blue-dark,#0d2240);margin:0 0 18px;font-size:2rem}.portal-article__content{color:#1f2937;line-height:1.7}.portal-checkout-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:14px}.portal-checkout-title{margin:0;font-size:1.1rem;font-weight:700}.portal-skel{background:linear-gradient(90deg,#eef2f7 25%,#f8fafc 37%,#eef2f7 63%) 0 0/400% 100%;border-radius:8px;animation:1.2s ease-in-out infinite portal-shimmer}.portal-skel--media{aspect-ratio:16/10;border-radius:0}.portal-skel--line{height:14px;margin:8px 0}.portal-skel--line.short{width:40%}.portal-skel--line.mid{width:70%}.portal-skel--block{height:160px}.portal-skeleton-card .portal-note-card__body{min-height:96px}.portal-detail-skel{gap:12px;display:grid}@keyframes portal-shimmer{0%{background-position:100% 0}to{background-position:0 0}}@media (max-width:900px){.portal-navbar__links{display:none}}@media (max-width:560px){.portal-navbar__auth .site-navbar__btn--outline,.hub-nav-premium{display:none}.portal-page-header--row{flex-direction:column}.portal-profile-hero__body{flex-direction:column;align-items:flex-start;gap:12px;padding:0 16px 18px}.portal-profile-avatar{width:76px;height:76px}.portal-profile-avatar__initials{font-size:1.4rem}.portal-profile-detail{grid-template-columns:1fr;gap:4px}}.portal-auth-shell{background:radial-gradient(80% 50% at 50% -10%,#2563eb14,#0000),#f5f7fa;min-height:100vh}.portal-auth-shell__main{justify-content:center;align-items:flex-start;padding:100px 20px 56px;display:flex}.hub-auth-panel{background:#fff;border:1px solid #e2e8f0;border-radius:18px;grid-template-columns:1fr 1fr;align-items:stretch;width:min(100%,880px);display:grid;overflow:hidden;box-shadow:0 1px 2px #0f172a0a,0 12px 32px #0f172a14}.hub-auth-banner{color:#fff;background:linear-gradient(160deg,#0d2240 0%,#12357a 42%,#1a4f9c 78%,#2563eb 100%);flex-direction:column;justify-content:center;min-height:420px;padding:40px 36px;display:flex;position:relative;overflow:hidden}.hub-auth-banner__glow{pointer-events:none;background:radial-gradient(circle,#ffffff29 0%,#0000 68%);border-radius:50%;width:280px;height:280px;position:absolute;inset:auto -20% -30% auto}.hub-auth-banner__glow:before{content:"";background:radial-gradient(circle,#e86b2a38 0%,#0000 70%);border-radius:50%;width:220px;height:220px;position:absolute;top:-180px;left:-220px}.hub-auth-banner__content{z-index:1;flex-direction:column;gap:0;display:flex;position:relative}.hub-auth-banner__logo{background:#fff;border-radius:12px;align-self:flex-start;align-items:center;margin-bottom:28px;padding:10px 14px;display:inline-flex;box-shadow:0 4px 16px #0000001f}.hub-auth-banner__logo-img{object-fit:contain;width:auto;height:40px;display:block}.hub-auth-banner__eyebrow{letter-spacing:.1em;text-transform:uppercase;color:#ffffffb8;margin:0 0 10px;font-size:11px;font-weight:700}.hub-auth-banner__title{letter-spacing:-.02em;color:#fff;margin:0 0 12px;font-size:2rem;font-weight:800;line-height:1.2}.hub-auth-banner__desc{color:#ffffffe0;max-width:32ch;margin:0;font-size:15px;line-height:1.6}.hub-auth-card{background:#fff;align-content:center;gap:14px;padding:40px 36px;display:grid}.hub-auth-card__header{margin-bottom:4px}.hub-auth-card h2{color:#0d2240;letter-spacing:-.02em;margin:0 0 6px;font-size:1.5rem;font-weight:800}.hub-auth-card__sub{color:#64748b;margin:0;font-size:13.5px;font-weight:500;line-height:1.5}.hub-auth-field{color:#334155;gap:6px;font-size:13px;font-weight:700;display:grid}.hub-auth-field input{width:100%;font:inherit;color:#0f172a;box-sizing:border-box;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;outline:none;padding:12px 14px;font-size:14.5px;font-weight:500;transition:border-color .18s,box-shadow .18s,background .18s}.hub-auth-field input:hover{border-color:#cbd5e1}.hub-auth-field input:focus{background:#fff;border-color:#1a4f9c;box-shadow:0 0 0 3px #1a4f9c24}.hub-auth-field__control{align-items:center;display:flex;position:relative}.hub-auth-field__control input{padding-right:64px}.hub-auth-field__toggle{color:#1a4f9c;font:inherit;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:6px 8px;font-size:12.5px;font-weight:700;line-height:1;position:absolute;right:10px}.hub-auth-field__toggle:hover{color:#0d2240;background:#1a4f9c14}.hub-auth-field__error{color:#b91c1c;font-size:12.5px;font-weight:600}.hub-auth-field input[aria-invalid=true],.hub-auth-field__control input[aria-invalid=true]{background:snow;border-color:#fca5a5}.hub-auth-row{justify-content:flex-end;margin-top:-2px;display:flex}.hub-auth-link{color:#2563eb;font-size:13.5px;font-weight:700;text-decoration:none!important}.hub-auth-link:hover{color:#1d4ed8;text-decoration:none!important}.hub-auth-google{width:100%;font:inherit;color:#0d2240;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;justify-content:center;align-items:center;gap:10px;padding:12px 16px;font-size:14.5px;font-weight:700;transition:background .18s,border-color .18s,box-shadow .18s;display:inline-flex}.hub-auth-google:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1;box-shadow:0 1px 4px #0f172a0f}.hub-auth-google:disabled{opacity:.7;cursor:not-allowed}.hub-auth-google__icon{flex-shrink:0}.hub-auth-divider{color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;align-items:center;gap:12px;font-size:12.5px;font-weight:600;display:flex}.hub-auth-divider:before,.hub-auth-divider:after{content:"";background:#e2e8f0;flex:1;height:1px}.hub-auth-panel--callback{grid-template-columns:1fr;max-width:440px;margin:0 auto}.hub-auth-card--callback{min-height:220px}.hub-auth-submit{width:100%;font:inherit;color:#fff;cursor:pointer;background:#e86b2a;border:none;border-radius:10px;margin-top:6px;padding:13px 16px;font-size:15px;font-weight:700;transition:background .18s,transform .15s,box-shadow .18s;box-shadow:0 2px 8px #e86b2a47}.hub-auth-submit:hover:not(:disabled){background:#d45a10;box-shadow:0 4px 14px #e86b2a59}.hub-auth-submit:active:not(:disabled){transform:translateY(1px)}.hub-auth-submit:disabled{opacity:.7;cursor:not-allowed;box-shadow:none}.hub-auth-footer{text-align:center;color:#64748b;margin:6px 0 0;font-size:13.5px}.hub-auth-alert{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:11px 13px;font-size:13.5px;font-weight:600}.hub-auth-alert--ok{color:#1b5e3b;background:#eaf7f0;border-color:#b7e4c7}@media (max-width:800px){.portal-auth-shell__main{padding:84px 14px 40px}.hub-auth-panel{border-radius:16px;grid-template-columns:1fr}.hub-auth-banner{min-height:auto;padding:28px 24px 24px}.hub-auth-banner__logo{margin-bottom:18px;padding:8px 12px}.hub-auth-banner__logo-img{height:34px}.hub-auth-banner__title{font-size:1.55rem}.hub-auth-banner__desc{max-width:none;font-size:14px}.hub-auth-card{padding:28px 22px 30px}.hub-auth-card h2{font-size:1.35rem}}.hub-home-auth-backdrop{z-index:2200}.hub-home-auth-modal{background:#fff;border-radius:14px;width:min(100%,420px);position:relative;overflow:hidden;box-shadow:0 20px 50px #0f172a38}.hub-home-auth-modal__banner{color:#fff;background:linear-gradient(135deg,#12357a 0%,#1a4f9c 55%,#2563eb 100%);padding:22px 22px 18px}.hub-home-auth-modal__banner h2{margin:0 0 8px;font-size:1.35rem;font-weight:800}.hub-home-auth-modal__banner p{opacity:.92;margin:0;font-size:13.5px;line-height:1.5}.hub-home-auth-modal__form{gap:12px;padding:20px 22px 22px;display:grid}.hub-auth-link--btn{cursor:pointer;font:inherit;background:0 0;border:none;padding:0}.hub-premium-backdrop{z-index:2300}.hub-premium-modal{background:#fff;border-radius:16px;gap:12px;width:min(100%,440px);padding:28px 24px 22px;display:grid;position:relative;box-shadow:0 20px 50px #0f172a38}.hub-premium-modal h2{color:#0d2240;margin:0;font-size:1.4rem;font-weight:800;line-height:1.3}.hub-premium-price{color:#1a3c6e;margin:0;font-size:1.25rem}.hub-premium-price strong{color:#2563eb;font-size:1.5rem}.hub-premium-benefits{border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;gap:8px;margin:0;padding:12px 0 4px;list-style:none;display:grid}.hub-premium-benefits li{color:#1f2937;align-items:center;gap:10px;font-size:14px;font-weight:600;display:flex}.hub-premium-benefits li span{color:#059669;font-weight:800}.hub-premium-actions{gap:8px;margin-top:4px;display:grid}.hub-nav-premium,.hub-banner-premium{letter-spacing:.03em;text-transform:uppercase;color:#fff;vertical-align:middle;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);border-radius:999px;align-items:center;margin-left:8px;padding:4px 10px;font-size:11px;font-weight:800;display:inline-flex;box-shadow:0 2px 6px #2563eb47}.hub-nav-premium{margin-left:0;margin-right:4px}.hub-free-trial{-webkit-backdrop-filter:blur(12px);color:#fff;background:#ffffff14;border:1px solid #ffffff29;border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:16px;padding:12px 16px;font-size:13.5px;display:flex}.hub-free-trial strong{font-weight:800}.hub-free-trial__cta{color:#fff;font:inherit;cursor:pointer;white-space:nowrap;background:linear-gradient(#3b82f6 0%,#2563eb 100%);border:1px solid #ffffff40;border-radius:8px;margin-left:auto;padding:8px 16px;font-size:13px;font-weight:700;transition:all .2s cubic-bezier(.16,1,.3,1);box-shadow:0 2px 4px #2563eb33,0 4px 12px #2563eb59}.hub-free-trial__cta:hover{background:linear-gradient(#2563eb 0%,#1d4ed8 100%);transform:translateY(-1px);box-shadow:0 4px 8px #2563eb40,0 8px 16px #2563eb73}.hub-card-badges{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:4px;display:flex}.hub-status-premium{color:#d97706;background:#fef3c7;border:1px solid #fde68a}.hub-status-free{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.hub-status-locked{color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0}.hub-topic-card{position:relative}.hub-topic-card--locked .hub-card-body{filter:blur(2.5px);opacity:.72;pointer-events:none;-webkit-user-select:none;user-select:none}.hub-topic-card--locked:hover{transform:none}.hub-lock-overlay{z-index:2;-webkit-backdrop-filter:blur(8px);cursor:pointer;font:inherit;color:#0f172a;background:#fffffff0;border:1px solid #e2e8f0cc;border-radius:12px;place-items:center;gap:6px;min-width:140px;padding:14px 18px;font-weight:700;display:grid;position:absolute;inset:28% 0 auto 50%;transform:translate(-50%,-50%);box-shadow:0 8px 24px #0f172a1f}.hub-lock-icon{font-size:22px;line-height:1}.hub-read-btn--locked{color:#fff;cursor:pointer;text-align:center;background:linear-gradient(#3b82f6 0%,#2563eb 100%);border:1px solid #fff3;border-radius:9px;width:100%;padding:9px 18px;font-weight:700;transition:all .18s cubic-bezier(.16,1,.3,1);box-shadow:0 2px 6px #2563eb40}.hub-read-btn--locked:hover{background:linear-gradient(#2563eb 0%,#1d4ed8 100%);transform:translateY(-1px);box-shadow:0 4px 12px #2563eb59}.hub-chapter-locked-page{background:#f5f7fa;place-items:center;min-height:60vh;padding:100px 20px 40px;display:grid}.hub-chapter-locked-card{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:14px;justify-items:center;gap:12px;width:min(100%,440px);padding:32px 24px;display:grid;box-shadow:0 2px 12px #00000014}.hub-chapter-locked-card h1{color:#0d2240;margin:0;font-size:1.4rem}.hub-chapter-locked-card p{color:#6b7280;margin:0;line-height:1.5}@media (max-width:700px){.hub-free-trial{flex-direction:column;align-items:flex-start}.hub-free-trial__cta{width:100%;margin-left:0}.hub-banner-premium{margin:6px 0 0;display:inline-flex}}
