:root {
  --phck-red: #d62828;
  --phck-green: #1f7a4f;
  --phck-blue: #1f5aa6;
  --phck-cream: #f7f7f4;
  --phck-slate: #eef2f6;
  --phck-text: #172033;
  --phck-card: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f7f7f4 0%, #f2f5f7 100%);
  color: var(--phck-text);
}

* { box-sizing: border-box; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(15,23,42,0.08); }
.navbar { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: linear-gradient(135deg, var(--phck-red), var(--phck-green), var(--phck-blue)); color: white; font-size: 1.4rem; font-weight: 800; box-shadow: 0 12px 24px rgba(22, 44, 72, 0.18); }
.brand-copy strong { display: block; font-size: 1.15rem; font-weight: 900; letter-spacing: -0.04em; color: #111827; }
.brand-copy span { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: #64748b; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 0.92rem; color: #334155; }
.nav-item { position: relative; color: inherit; font-weight: 600; cursor: pointer; }
.nav-item:hover { color: var(--phck-green); }
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-item { display: flex; align-items: center; gap: 6px; }
.nav-dropdown-toggle { border: 0; background: transparent; font: inherit; }
.nav-dropdown.is-open > .nav-item > span { transform: rotate(180deg); }
.dropdown-menu { position: absolute; left: 0; top: calc(100% + 10px); z-index: 20; display: grid; min-width: 252px; padding: 8px; border: 1px solid #dce7f1; border-radius: 12px; background: rgba(255,255,255,0.98); box-shadow: 0 18px 38px rgba(7,42,78,0.18); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top left; transition: opacity 180ms ease, transform 180ms ease, visibility 180ms; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu, .nav-dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: #334155; font-size: 0.85rem; font-weight: 500; }
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: #edf5fd; color: #075aa4; }
.login-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 999px; background: linear-gradient(90deg, var(--phck-red), var(--phck-blue)); color: white; font-weight: 700; font-size: 0.88rem; box-shadow: 0 18px 36px rgba(17,24,39,0.14); }
.site-account-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu-toggle { display: none; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 11px; border: 1px solid #cbd5cc; border-radius: 5px; background: transparent; color: #263b30; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.mobile-menu-icon { display: grid; gap: 4px; width: 16px; }
.mobile-menu-icon span { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.global-portal-switcher { position: relative; z-index: 1002; flex: 0 0 auto; }
.global-portal-switcher > summary { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; border: 1px solid #cedbd2; border-radius: 5px; background: #fff; color: #245a45; font-size: .76rem; font-weight: 750; cursor: pointer; list-style: none; white-space: nowrap; }
.global-portal-switcher > summary::-webkit-details-marker { display: none; }
.global-portal-switcher[open] > summary, .global-portal-switcher > summary:hover, .global-portal-switcher > summary:focus-visible { outline: none; border-color: #245a45; background: #f2f6f0; }
.global-portal-switcher nav { position: absolute; top: calc(100% + 8px); right: 0; display: grid; width: min(250px, calc(100vw - 28px)); max-height: min(70vh, 420px); overflow-y: auto; padding: 6px; border: 1px solid #d8e1db; border-radius: 5px; background: #fff; box-shadow: 0 16px 34px rgba(23, 41, 31, .16); }
.global-portal-switcher nav a { display: flex; min-height: 40px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 10px; border-radius: 3px; color: #344a3d; font-size: .78rem; font-weight: 650; }
.global-portal-switcher nav a:hover, .global-portal-switcher nav a:focus-visible, .global-portal-switcher nav a[aria-current="page"] { outline: none; background: #eef5ef; color: #145d3a; }
.home-page-intro { padding: 38px 0 30px; border-bottom: 1px solid #e3e8e3; background: #f7f8f5; }
.home-page-intro .kicker { margin-bottom: 8px; }
.home-page-title { margin: 0; color: #1e2923; font-family: Georgia, 'Times New Roman', serif; font-size: 2rem; font-weight: 500; line-height: 1.2; }
.home-page-copy { max-width: 720px; margin: 9px 0 0; color: #59695e; font-size: 0.88rem; line-height: 1.6; }
.home-page-intro.is-hero { padding-block: 24px; background: #eef3e8; }
.home-page-intro.is-hero .home-page-intro-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 0.72fr); align-items: center; gap: 30px; }
.home-page-hero-image { width: 100%; height: 210px; object-fit: cover; }
.home-page-hero-action { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #145d3a; font-size: 0.78rem; font-weight: 750; }
.section { padding: 96px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.kicker { margin: 0 0 10px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--phck-green); }
.section-title { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.05em; color: #0f172a; }
.view-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #dbe2ea; background: white; color: #334155; font-weight: 700; font-size: 0.84rem; }
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.video-card, .portal-card { background: var(--phck-card); border: 1px solid rgba(15,23,42,0.08); border-radius: 28px; overflow: hidden; box-shadow: 0 18px 48px rgba(15,23,42,0.08); }
.video-thumb { position: relative; height: 220px; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-btn { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.92); font-size: 1.4rem; color: #111827; box-shadow: 0 14px 26px rgba(15,23,42,0.18); }
.video-body { padding: 20px 20px 24px; }
.video-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: #64748b; font-weight: 700; }
.video-body h3 { margin: 14px 0 8px; font-size: 1.15rem; color: #0f172a; }
.video-body p { margin: 0; color: #475569; line-height: 1.75; font-size: 0.96rem; }
.gallery-wrap { background: #eef2f6; padding: 96px 0; }
.gallery-box { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: 22px; background: white; border: 1px solid rgba(15,23,42,0.08); border-radius: 32px; overflow: hidden; box-shadow: 0 18px 48px rgba(15,23,42,0.08); }
.gallery-feature { position: relative; min-height: 480px; }
.gallery-feature img, .gallery-stack img { width: 100%; height: 100%; object-fit: cover; }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0), rgba(15,23,42,0.72)); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; color: white; }
.gallery-caption .meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.8); }
.gallery-caption h3 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -0.04em; }
.gallery-caption p { margin-top: 8px; color: rgba(255,255,255,0.78); }
.gallery-stack { display: grid; gap: 18px; padding: 18px; }
.gallery-item { overflow: hidden; border: 1px solid rgba(15,23,42,0.08); border-radius: 20px; background: #f8fafc; }
.gallery-item img { height: 136px; }
.gallery-item-content { padding: 14px 16px 18px; }
.gallery-item-content .label { color: var(--phck-green); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.gallery-item-content h4 { margin: 8px 0 0; font-size: 1.08rem; color: #0f172a; }
.gallery-item-content p { margin: 6px 0 0; font-size: 0.78rem; color: #64748b; }
.portal-wrap { padding-top: 96px; padding-bottom: 96px; }
.section-center { text-align: center; margin-bottom: 32px; }
.portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.portal-card { padding: 24px; }
.portal-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 18px; font-size: 2rem; box-shadow: 0 14px 24px rgba(19,40,68,0.12); }
.portal-card h3 { margin: 18px 0 10px; font-size: 1.2rem; color: #0f172a; }
.portal-card p { margin: 0; color: #475569; font-size: 0.95rem; line-height: 1.75; }
.portal-subdomain { margin-top: 16px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: lowercase; color: #64748b; }
.portal-btn { display: block; width: 100%; margin-top: 20px; text-align: center; background: #0f172a; color: white; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 0.86rem; }
.site-footer { background: #0f172a; color: #e2e8f0; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .brand-mark { width: 42px; height: 42px; font-size: 1.2rem; }
.footer-brand strong { display: block; font-size: 1.7rem; line-height: 1; color: white; }
.footer-brand span { color: #a8b3c7; font-size: 0.82rem; }
.footer-tagline { margin: 0; color: #f8fafc; font-size: 1.15rem; font-weight: 600; font-style: italic; }
.footer-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; color: #cbd5e1; }
.footer-contact-list { grid-template-columns: 1fr; }
.footer-list a { color: inherit; text-decoration: none; transition: color 160ms ease; }
.footer-list a:hover, .footer-list a:focus-visible { color: #86efac; }
.footer-list a:focus-visible { outline: 2px solid #86efac; outline-offset: 4px; }
.footer-social-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-social-list a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(148,163,184,.34); border-radius: 6px; color: #e2e8e0; }
.footer-social-list a:hover, .footer-social-list a:focus-visible { outline: 2px solid #d9b18d; outline-offset: 3px; color: #fff; }
.social-icon { display: block; width: 19px; height: 19px; fill: currentColor; }
.footer-title { margin: 0 0 18px; color: #94a3b8; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 800; }
.footer-copy { border-top: 1px solid rgba(148,163,184,0.2); margin-top: 28px; padding-top: 20px; text-align: center; color: #94a3b8; font-size: 0.88rem; }
@media (max-width: 1024px) { .main-nav { display: none; } .mobile-menu-toggle { display: inline-flex; } .gallery-box, .footer-grid { grid-template-columns: 1fr; } .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .section { padding: 78px 0; } .video-grid, .portal-grid { grid-template-columns: 1fr; } .section-head { display: block; } .view-btn { margin-top: 16px; } .site-header { position: sticky; } }
@media (max-width: 640px) { .home-page-intro.is-hero .home-page-intro-layout { grid-template-columns: 1fr; gap: 14px; } .home-page-hero-image { height: 155px; } }

.carousel-controls, .gallery-controls { display: flex; align-items: center; gap: 10px; }
.carousel-arrow { display: inline-grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #dbe2ea; border-radius: 50%; background: #fff; color: #172033; font-size: 1.2rem; cursor: pointer; }
.carousel-arrow:hover, .carousel-arrow:focus-visible { border-color: var(--phck-green); color: var(--phck-green); }
.video-all-link, .gallery-controls .view-btn { margin: 0; }
.video-carousel { display: flex; gap: 22px; overflow-x: auto; padding: 2px 2px 20px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #94a3b8 transparent; overscroll-behavior-inline: contain; }
.video-carousel .video-card { flex: 0 0 clamp(280px, 30vw, 360px); scroll-snap-align: start; }
.video-card { border-radius: 8px; }
.play-btn { cursor: pointer; }
.play-btn:hover { background: #fff; transform: translate(-50%, -50%) scale(1.06); }
.gallery-wrap { overflow: hidden; }
.gallery-controls { flex-wrap: wrap; }
.gallery-filters { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 20px; padding: 2px 0 8px; scrollbar-width: thin; }
.gallery-filter { flex: 0 0 auto; min-height: 38px; padding: 0 15px; border: 1px solid #d5dde5; border-radius: 999px; background: transparent; color: #475569; font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.gallery-filter.is-active { border-color: #145d3a; background: #145d3a; color: #fff; }
.gallery-box { display: block; border-radius: 8px; }
.gallery-feature { min-height: 0; height: min(68vw, 660px); max-height: 660px; background: #172033; }
.gallery-feature > img { width: 100%; height: 100%; object-fit: cover; transition: opacity 240ms ease; }
.gallery-count { display: inline-block; margin-top: 18px; color: rgba(255,255,255,.76); font-size: .78rem; font-variant-numeric: tabular-nums; }
#momen-phck:fullscreen { display: flex; align-items: center; min-height: 100%; overflow-y: auto; padding: 24px 0; background: #eef2f6; }
#momen-phck:fullscreen .container { width: min(1400px, calc(100% - 48px)); }
#momen-phck:fullscreen .gallery-feature { height: min(58vh, 620px); max-height: none; }
.video-notice { width: min(440px, calc(100% - 32px)); padding: 30px; border: 0; border-radius: 12px; color: var(--phck-text); box-shadow: 0 24px 80px rgba(15,23,42,.25); }
.video-notice::backdrop { background: rgba(15,23,42,.58); backdrop-filter: blur(4px); }
.video-notice h2 { margin: 8px 0; font-size: 1.5rem; }
.video-notice p:last-child { margin-bottom: 0; color: #475569; line-height: 1.6; }
.video-notice-close { float: right; width: 36px; height: 36px; border: 1px solid #dbe2ea; border-radius: 50%; background: white; color: #172033; font-size: 1.4rem; cursor: pointer; }
@media (max-width: 640px) { .section-head { display: flex; align-items: center; flex-wrap: wrap; } .carousel-controls, .gallery-controls { width: 100%; } .video-all-link { margin-right: auto; } .video-carousel .video-card { flex-basis: min(84vw, 340px); } .gallery-feature { height: 72vh; min-height: 420px; max-height: 620px; } #momen-phck:fullscreen .gallery-feature { height: 52vh; min-height: 300px; } .gallery-controls { margin-top: 16px; } }

.auth-page { min-height: 100vh; background: linear-gradient(140deg, #f5f7f4 0%, #edf3f6 100%); }
.auth-header { display: flex; align-items: center; justify-content: space-between; width: min(1200px, calc(100% - 40px)); min-height: 84px; margin: 0 auto; }
.auth-header-link, .auth-secondary-link { border: 0; background: transparent; color: #145d3a; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.auth-header-actions { display: flex; align-items: center; gap: 18px; }
.auth-notification-link { display: inline-flex; align-items: center; gap: 7px; color: #145d3a; font-size: .88rem; font-weight: 750; }
.auth-notification-badge { display: grid; min-width: 21px; height: 21px; place-items: center; padding: 0 5px; border-radius: 999px; background: #d62828; color: #fff; font-size: .68rem; font-weight: 800; line-height: 1; }
.notification-center { width: min(100%, 860px); }
.notification-center-heading, .notification-item-meta, .notification-item-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.notification-center-heading { margin: 0 0 24px; }
.notification-center-heading .auth-lead { margin: 8px 0 0; }
.notification-list { display: grid; gap: 10px; }
.notification-item { min-width: 0; padding: 16px; border: 1px solid #d9e1dc; border-radius: 8px; background: #fff; overflow-wrap: anywhere; }
.notification-item.is-unread { border-left: 4px solid #1f7a4f; background: #f3f8f4; }
.notification-item-meta { color: #64756c; font-size: .74rem; }
.notification-kind { color: #145d3a; font-weight: 800; }
.notification-item h2 { margin: 12px 0 5px; color: #172b21; font-size: 1rem; }
.notification-item > p { margin: 0; color: #52615a; line-height: 1.55; }
.notification-item-actions { justify-content: flex-start; margin-top: 13px; }
.notification-item-actions a, .notification-action { border: 0; background: transparent; color: #145d3a; font: inherit; font-size: .82rem; font-weight: 750; cursor: pointer; }
.notification-errors { margin-bottom: 16px; color: #b42318; }
.notification-errors p { margin: 4px 0; }
.notification-compose .auth-form select, .notification-compose .auth-form textarea { width: 100%; padding: 12px; border: 1px solid #cbd5d0; border-radius: 6px; background: #fff; color: #172033; font: inherit; }
.notification-compose .auth-form textarea { resize: vertical; }
.auth-main { display: grid; min-height: calc(100vh - 84px); place-items: center; padding: 36px 20px 64px; }
.rt-profile-page .auth-main { display: block; width: min(100% - 40px, 920px); min-height: calc(100vh - 84px); margin: 0 auto; padding: 36px 0 64px; }
.rt-profile-heading { padding: 0 0 26px; border-bottom: 1px solid #dce5df; }
.rt-profile-eyebrow { margin: 0 0 8px; color: #1f7a4f; font-size: .68rem; font-weight: 850; }
.rt-profile-heading h1 { margin: 0; color: #172033; font-size: 2rem; line-height: 1.15; }
.rt-profile-heading > p:last-child { margin: 9px 0 0; color: #64736a; font-size: .88rem; line-height: 1.55; }
.rt-profile-section { padding: 26px 0; border-bottom: 1px solid #dce5df; }
.rt-profile-section h2 { margin: 0 0 14px; color: #263c30; font-size: 1.02rem; }
.rt-profile-details { margin: 0; }
.rt-profile-row { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 20px; padding: 13px 0; border-top: 1px solid #edf0ed; }
.rt-profile-row dt { color: #64736a; font-size: .82rem; font-weight: 650; }
.rt-profile-row dd { margin: 0; color: #172033; font-size: .84rem; line-height: 1.55; overflow-wrap: anywhere; }
.rt-profile-back { display: inline-flex; min-height: 42px; align-items: center; gap: 9px; margin-top: 24px; padding: 0 14px; border-radius: 5px; background: #145d3a; color: #fff; font-size: .78rem; font-weight: 750; }
.auth-panel, .auth-dashboard { width: min(100%, 460px); padding: clamp(28px, 5vw, 44px); border: 1px solid rgba(15,23,42,.1); border-radius: 12px; background: #fff; box-shadow: 0 24px 70px rgba(15,23,42,.09); }
.auth-panel h1, .auth-dashboard h1 { margin: 0; color: #14221b; font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1.08; }
.auth-lead { margin: 14px 0 26px; color: #52615a; line-height: 1.65; }
.auth-form { display: grid; gap: 10px; }
.auth-form label { margin-top: 8px; color: #25352c; font-size: .88rem; font-weight: 700; }
.auth-form input:not([type="checkbox"]) { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #cbd5d0; border-radius: 6px; background: #fff; color: #172033; font: inherit; }
.auth-form input:focus-visible { outline: 3px solid rgba(31,122,79,.2); border-color: #1f7a4f; }
.auth-checkbox { display: flex; align-items: center; gap: 9px; margin: 8px 0; }
.auth-checkbox input { width: 17px; height: 17px; accent-color: #1f7a4f; }
.auth-submit { min-height: 50px; margin-top: 12px; border: 0; border-radius: 6px; background: #145d3a; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.auth-submit:hover { background: #104b2f; }
.auth-error { margin: 0 0 4px; color: #b42318; font-size: .84rem; }
.auth-status { margin: 0 0 20px; padding: 12px 14px; border-left: 3px solid #1f7a4f; background: #eef7f0; color: #164b30; line-height: 1.5; }
.auth-links, .auth-footnote { display: flex; justify-content: space-between; gap: 12px; margin: 22px 0 0; color: #52615a; font-size: .88rem; }
.auth-links a, .auth-footnote a { color: #145d3a; font-weight: 700; }
.auth-dashboard { width: min(100%, 1000px); }
.auth-empty-state { padding: 20px; border: 1px dashed #aebbb4; border-radius: 8px; color: #52615a; }
.account-portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.account-portal { display: grid; gap: 9px; min-width: 0; padding: 18px; border: 1px solid #d9e1dc; border-radius: 8px; color: #172033; }
.account-portal:hover { border-color: #1f7a4f; background: #f6faf7; }
.account-portal span, .portal-host-label { color: #64756c; font-size: .76rem; }
.account-portal strong { font-size: 1.05rem; }
.account-portal small { color: #52615a; line-height: 1.5; }
.account-dashboard-heading { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; padding: 24px 28px; border-left: 4px solid #245d3d; background: linear-gradient(105deg, #eaf2eb 0%, #f8faf7 72%); }
.account-dashboard-heading h1 { color: #172b21; font-family: Georgia, 'Times New Roman', serif; font-size: 2.2rem; font-weight: 500; line-height: 1.12; }
.account-dashboard-heading .auth-lead { max-width: 680px; margin: 10px 0 0; }
.account-dashboard-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; margin-bottom: 27px; padding: 0; border-block: 1px solid #dce5df; }
.account-dashboard-overview > div { display: grid; gap: 4px; padding: 15px 18px; border-right: 1px solid #dce5df; }
.account-dashboard-overview > div:last-child { border-right: 0; }
.account-dashboard-overview strong { color: #1b3d2b; font-size: 1.28rem; line-height: 1; }
.account-dashboard-overview span { color: #64756c; font-size: .72rem; }
.account-portal-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 9px; }
.account-portal-actions a { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; min-height: 40px; padding: 0 9px; border: 1px solid #cbd9cf; border-radius: 4px; color: #245d3d; font-size: .7rem; font-weight: 750; }
.account-portal-actions a:hover, .account-portal-actions a:focus-visible { border-color: #1f7a4f; background: #f2f7f3; outline: none; }
.account-portal-actions .account-module-link { border-color: #245d3d; background: #245d3d; color: #fff; }
.account-portal-actions .account-module-link:hover, .account-portal-actions .account-module-link:focus-visible { background: #174b30; }
.portal-host-label { margin: 0 0 24px; }
.account-dashboard { width: min(100%, 1120px); }
.account-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.account-nav .view-btn { margin: 0; }
.portal-open-label { color: #145d3a !important; font-size: .84rem !important; font-weight: 800; }
.profile-summary { display: flex; align-items: center; gap: 16px; margin: 22px 0 32px; }
.profile-photo { display: grid; flex: 0 0 80px; place-items: center; width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.profile-photo-placeholder { background: #e4efe7; color: #145d3a; font-size: 2rem; font-weight: 800; }
.profile-summary div { display: grid; gap: 5px; color: #64756c; font-size: .88rem; }
.profile-summary strong { color: #172033; font-size: 1.08rem; }
.account-section { margin-top: 30px; padding-top: 24px; border-top: 1px solid #e1e7e3; }
.account-section h2 { margin: 0 0 16px; color: #14221b; font-size: 1.2rem; }
.account-section .auth-form { max-width: 560px; }
.account-note { color: #68776e; font-size: .78rem; }
.account-data-list { display: flex; flex-wrap: wrap; gap: 24px; margin: 24px 0 0; }
.account-data-list div { display: grid; gap: 5px; }
.account-data-list dt { color: #64756c; font-size: .78rem; }
.account-data-list dd { margin: 0; color: #172033; font-weight: 700; }
.access-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 14px; margin: 26px 0 34px; padding: 20px; border: 1px solid #d9e1dc; border-radius: 8px; background: #f8faf8; }
.access-field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.access-field label { color: #25352c; font-size: .84rem; font-weight: 700; }
.access-field select { width: 100%; min-height: 46px; padding: 0 10px; border: 1px solid #cbd5d0; border-radius: 6px; background: #fff; color: #172033; font: inherit; }
.access-form .auth-submit { grid-column: 1 / -1; width: 100%; }
.access-table-wrap { overflow-x: auto; }
.access-table { width: 100%; border-collapse: collapse; text-align: left; }
.access-table th, .access-table td { padding: 13px 12px; border-bottom: 1px solid #e1e7e3; vertical-align: middle; }
.access-table th { color: #65746b; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.access-table td { color: #25352c; font-size: .88rem; }
.access-table small { display: block; margin-top: 4px; color: #718078; }
.access-revoke { border: 0; background: transparent; color: #b42318; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.access-section-title { margin: 30px 0 12px; color: #172b21; font-size: 1.05rem; }
.account-status-form { display: flex; align-items: center; gap: 8px; }
.account-status-form select { min-height: 36px; padding: 0 8px; border: 1px solid #cbd5d0; border-radius: 5px; background: #fff; color: #172033; font: inherit; font-size: .8rem; }
.account-status { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: .72rem; font-weight: 800; }
.account-status-pending { background: #fff5d6; color: #805b00; }
.account-status-active { background: #e4f4e8; color: #145d3a; }
.account-status-suspended { background: #ffeadb; color: #9a3412; }
.account-status-disabled { background: #f1e7e7; color: #8b1e24; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.admin-users-page, .admin-user-form-page, .admin-user-detail { width: min(100%, 1180px); }
.admin-users-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.admin-users-heading .auth-lead { margin-bottom: 0; }
.admin-user-filters { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(180px, 260px) auto; align-items: end; gap: 12px; margin: 22px 0; }
.admin-user-filters input, .admin-user-filters select, .admin-user-form-page .auth-form select { width: 100%; min-height: 46px; padding: 0 11px; border: 1px solid #cbd5d0; border-radius: 6px; background: #fff; color: #172033; font: inherit; }
.admin-user-filters .auth-submit { min-width: 110px; margin: 0; padding: 0 18px; }
.admin-user-edit-link { color: #145d3a; font-size: .82rem; font-weight: 750; }
.admin-user-status-form { justify-content: flex-start; margin-top: 20px; }
.admin-user-status-form label { color: #25352c; font-size: .84rem; font-weight: 700; }
.admin-user-status-form .view-btn, .role-permission-form .view-btn { min-height: 38px; padding: 0 13px; border: 1px solid #cbd5d0; border-radius: 6px; background: #f6faf7; color: #145d3a; font: inherit; font-size: .8rem; font-weight: 750; cursor: pointer; }
.role-permission-form { margin-top: 18px; padding: 16px 0; border-top: 1px solid #e1e7e3; }
.role-permission-form h3 { margin: 0 0 12px; color: #25352c; font-size: .95rem; }
.role-permission-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.role-permission-grid label { display: flex; align-items: flex-start; gap: 8px; min-width: 0; padding: 9px; border: 1px solid #e1e7e3; border-radius: 5px; color: #34483b; font-size: .78rem; }
.role-permission-grid input { flex: 0 0 auto; margin-top: 2px; accent-color: #1f7a4f; }
.role-permission-grid small { display: block; margin-top: 3px; color: #76847b; font-size: .68rem; overflow-wrap: anywhere; }
.audit-log-page { width: min(100%, 1060px); }
.audit-log-filters { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(200px, 320px) auto; align-items: end; gap: 12px; margin: 22px 0 14px; }
.audit-log-filters input, .audit-log-filters select { width: 100%; min-height: 46px; padding: 0 11px; border: 1px solid #cbd5d0; border-radius: 6px; background: #fff; color: #172033; font: inherit; }
.audit-log-filters .auth-submit { min-width: 110px; margin: 0; padding: 0 18px; }
.audit-log-count { margin: 0 0 8px; color: #718078; font-size: .8rem; }
.audit-log-list { border-top: 1px solid #dce5df; }
.audit-log-entry { display: grid; grid-template-columns: minmax(150px, .65fr) minmax(0, 1.7fr) minmax(100px, .45fr); align-items: start; gap: 18px; padding: 15px 4px; border-bottom: 1px solid #e7ece8; }
.audit-log-entry > time, .audit-log-ip { color: #718078; font-size: .78rem; }
.audit-log-detail { display: grid; gap: 4px; min-width: 0; }
.audit-log-detail strong { color: #20362a; font-size: .88rem; }
.audit-log-detail > span { color: #34483b; font-size: .84rem; }
.audit-log-detail small { color: #718078; font-size: .75rem; overflow-wrap: anywhere; }
@media (max-width: 720px) { .audit-log-filters { grid-template-columns: 1fr 1fr; } .audit-log-filters .auth-submit { grid-column: 1 / -1; } .audit-log-entry { grid-template-columns: 1fr auto; gap: 8px 12px; } .audit-log-detail { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 520px) { .audit-log-filters { grid-template-columns: 1fr; } .audit-log-filters .auth-submit { grid-column: auto; } }
@media (max-width: 760px) { .admin-user-filters { grid-template-columns: 1fr 1fr; } .admin-user-filters .auth-submit { grid-column: 1 / -1; } .role-permission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .admin-users-heading { align-items: flex-start; flex-direction: column; } .admin-user-filters, .role-permission-grid { grid-template-columns: 1fr; } .admin-user-filters .auth-submit { grid-column: auto; } .admin-user-status-form { align-items: flex-start; flex-direction: column; } }
@media (max-width: 720px) { .account-portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .access-form { grid-template-columns: 1fr; } .access-form .auth-submit { grid-column: auto; } }
@media (max-width: 520px) { .auth-header-actions { gap: 10px; } .auth-notification-link, .auth-header-link { font-size: .78rem; } .notification-center-heading { align-items: flex-start; flex-direction: column; } .notification-item-meta { align-items: flex-start; flex-direction: column; gap: 5px; } }
@media (max-width: 480px) { .auth-header { min-height: 72px; } .auth-main { min-height: calc(100vh - 72px); padding: 20px 14px 36px; } .rt-profile-page .auth-main { width: min(100% - 28px, 520px); min-height: calc(100vh - 72px); padding: 22px 0 40px; } .rt-profile-heading { padding-bottom: 20px; } .rt-profile-heading h1 { font-size: 1.7rem; } .rt-profile-section { padding: 20px 0; } .rt-profile-row { grid-template-columns: 1fr; gap: 5px; padding: 11px 0; } .auth-panel, .auth-dashboard { padding: 26px 22px; } .account-portal-grid { grid-template-columns: 1fr; } .auth-links, .auth-footnote { flex-wrap: wrap; } }
@media (max-width: 640px) { .account-dashboard-heading { align-items: flex-start; flex-direction: column; gap: 12px; padding: 20px; } .account-dashboard-heading h1 { font-size: 1.7rem; } .account-portal-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } .account-dashboard-overview > div { padding: 13px 10px; } }

.rt-portal-page .auth-main { display: block; width: min(1480px, 100%); min-height: 0; margin: 0 auto; padding: 32px clamp(16px, 3vw, 40px) 64px; }
.rt01-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: start; gap: clamp(24px, 4vw, 56px); }
.rt01-sidebar { position: sticky; top: 24px; display: grid; gap: 22px; padding: 8px 20px 0 0; border-right: 1px solid #dce5df; }
.rt01-sidebar-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rt01-sidebar-heading > div { display: grid; gap: 4px; min-width: 0; }
.rt01-sidebar-heading strong { color: #172b21; font-size: 1.05rem; }
.rt01-sidebar-heading span:last-child { color: #64756c; font-size: .72rem; line-height: 1.4; }
.rt01-mark { display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 46px; border-radius: 8px; background: #145d3a; color: white; font-size: .9rem; font-weight: 800; }
.rt01-nav-label, .rt01-eyebrow { margin: 0; color: #63776b; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.rt01-nav { display: grid; gap: 4px; }
.rt01-nav a { padding: 10px 12px; border-radius: 6px; color: #43564a; font-size: .86rem; font-weight: 650; }
.rt01-nav a:hover, .rt01-nav a:focus-visible { outline: none; background: #e8f1eb; color: #145d3a; }
.rt01-back-link { padding: 14px 12px 0; border-top: 1px solid #dce5df; color: #145d3a; font-size: .8rem; font-weight: 750; }
.rt01-content { display: grid; min-width: 0; gap: 36px; }
.rt01-welcome { padding: clamp(24px, 4vw, 40px); border: 1px solid #d8e8dc; border-left: 5px solid #1f7a4f; border-radius: 8px; background: linear-gradient(110deg, #edf7ef, #f8faf7 75%); }
.rt01-welcome-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 12px; }
.rt01-welcome h1 { margin: 0; color: #172b21; font-size: clamp(1.65rem, 2.4vw, 2.25rem); line-height: 1.15; }
.rt01-welcome p:not(.rt01-eyebrow) { max-width: 620px; margin: 10px 0 0; color: #52615a; line-height: 1.65; }
.rt01-role { flex: 0 0 auto; padding: 8px 11px; border: 1px solid #c7dbcc; border-radius: 6px; background: white; color: #145d3a; font-size: .76rem; font-weight: 750; }
.rt01-section { display: grid; gap: 18px; }
.rt01-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.rt01-section-heading h2 { margin: 5px 0 0; color: #172b21; font-size: 1.35rem; }
.rt01-service-link { padding: 9px 13px; border-radius: 6px; background: #145d3a; color: white; font-size: .8rem; font-weight: 750; }
.rt01-service-link:hover, .rt01-service-link:focus-visible { background: #104b2f; }
.rt01-module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rt01-module-card { display: grid; grid-template-columns: 38px minmax(0, 1fr) 18px; align-items: center; gap: 12px; min-width: 0; min-height: 88px; padding: 14px; border: 1px solid #dce5df; border-radius: 8px; background: #fff; color: inherit; transition: border-color .16s ease, transform .16s ease; }
.rt01-module-card:hover, .rt01-module-card:focus-visible { outline: none; border-color: #1f7a4f; transform: translateY(-2px); }
.rt01-module-card.is-unavailable { border-style: dashed; background: #f7f8f6; color: #7b857e; cursor: not-allowed; }
.rt01-module-card.is-unavailable:hover, .rt01-module-card.is-unavailable:focus-visible { border-color: #d2d9d3; transform: none; }
.rt01-module-card.is-unavailable .rt01-module-copy strong { color: #59655d; }
.rt01-module-status { color: #8a7561 !important; font-size: .68rem !important; font-weight: 750; }
.rt01-module-status-mark { color: #9a8774; font-size: .68rem; font-weight: 750; white-space: nowrap; }
.rt01-module-code { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border-radius: 6px; background: #edf4ef; color: #145d3a; font-size: .7rem; font-weight: 850; }
.rt01-module-copy { display: grid; gap: 5px; min-width: 0; }
.rt01-module-copy strong { color: #172b21; font-size: .9rem; }
.rt01-module-copy small { color: #66766d; font-size: .74rem; line-height: 1.45; }
.rt01-module-arrow { color: #145d3a; font-size: 1.15rem; text-align: center; }
.rt01-module-sections { display: grid; gap: 12px; }
.rt01-module-section { scroll-margin-top: 24px; padding: 22px; border: 1px solid #dce5df; border-radius: 8px; background: white; }
.rt01-module-section-heading { display: flex; align-items: center; gap: 13px; }
.rt01-module-section-heading h2 { margin: 0; color: #172b21; font-size: 1.05rem; }
.rt01-module-section-heading p { margin: 5px 0 0; color: #66766d; font-size: .8rem; line-height: 1.5; }
.rt01-empty-state { margin: 18px 0 0; padding: 14px; border: 1px dashed #bdcbc1; border-radius: 6px; color: #66766d; font-size: .82rem; }
@media (max-width: 820px) { .rt01-shell { grid-template-columns: 1fr; gap: 26px; } .rt01-sidebar { position: static; gap: 12px; padding: 0 0 14px; border-right: 0; border-bottom: 1px solid #dce5df; } .rt01-nav { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 4px; } .rt01-nav a { flex: 0 0 auto; } .rt01-back-link { padding: 10px 0 0; border-top: 0; } }
@media (max-width: 560px) { .rt-portal-page .auth-main { padding: 22px 14px 40px; } .rt01-content { gap: 28px; } .rt01-welcome-row { align-items: start; flex-direction: column; gap: 14px; } .rt01-section-heading { align-items: start; flex-direction: column; } .rt01-module-grid { grid-template-columns: 1fr; } .rt01-module-section { padding: 17px; } }
.masjid-page .rt01-mark { background: #166b57; }
.masjid-page .rt01-welcome { border-color: #d8e8dc; border-left-color: #166b57; background: linear-gradient(110deg, #edf7f1, #fbfaf5 78%); }
.masjid-page .rt01-role { border-color: #c7dbcc; color: #125b4a; }
.masjid-page .masjid-code { background: #eaf4ef; color: #125b4a; }
.masjid-page .masjid-arrow { color: #125b4a; }
.tpq-page .rt01-mark { background: #8a5635; }
.tpq-page .rt01-welcome { border-color: #e9ddd2; border-left-color: #8a5635; background: linear-gradient(110deg, #f8f1eb, #fbfaf7 78%); }
.tpq-page .rt01-role { border-color: #e4d3c3; color: #70462d; }
.tpq-page .tpq-code { background: #f5ece4; color: #70462d; }
.tpq-page .tpq-arrow { color: #70462d; }
.tpq-page .rt01-empty-state a { color: #70462d; font-weight: 750; }
.pemuda-page .rt01-mark { background: #a84d36; }
.pemuda-page .rt01-welcome { border-color: #eddbd3; border-left-color: #a84d36; background: linear-gradient(110deg, #fbf0eb, #fbfaf7 78%); }
.pemuda-page .rt01-role { border-color: #e8cfc4; color: #8b402e; }
.pemuda-page .pemuda-code { background: #f7eae4; color: #8b402e; }
.pemuda-page .pemuda-arrow { color: #8b402e; }
.cerdas-page .rt01-mark { background: #245f83; }
.cerdas-page .rt01-welcome { border-color: #d5e4ec; border-left-color: #245f83; background: linear-gradient(110deg, #edf5f8, #fbfaf7 78%); }
.cerdas-page .rt01-role { border-color: #c9dbe5; color: #214f6b; }
.cerdas-page .cerdas-code { background: #e8f1f5; color: #214f6b; }
.cerdas-page .cerdas-arrow { color: #214f6b; }
.cerdas-score-form { display: grid; grid-template-columns: minmax(100px, 130px) minmax(150px, 1fr) auto; align-items: center; gap: 8px; }
.cerdas-score-form input { width: 100%; min-width: 0; min-height: 40px; padding: 0 10px; border: 1px solid #cbd5d0; border-radius: 6px; font: inherit; }
.cerdas-score-form .auth-submit { min-height: 40px; margin: 0; padding: 0 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 640px) { .cerdas-score-form { grid-template-columns: minmax(0, 1fr); min-width: 220px; } }
.layanan-page .rt01-mark { background: #286b58; }
.layanan-page .rt01-welcome { border-color: #d5e7dd; border-left-color: #286b58; background: linear-gradient(110deg, #edf7f1, #fbfaf7 78%); }
.layanan-page .rt01-role { border-color: #c9ded3; color: #245d4d; }
.layanan-page .layanan-code { background: #e8f3ed; color: #245d4d; }
.layanan-page .layanan-arrow { color: #245d4d; }
.layanan-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.layanan-primary-link, .layanan-secondary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 15px; border: 1px solid #286b58; border-radius: 6px; font: inherit; font-size: .82rem; font-weight: 750; text-decoration: none; cursor: pointer; }
.layanan-primary-link { background: #286b58; color: #fff; }
.layanan-secondary-link { background: #fff; color: #245d4d; }
.layanan-status-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.layanan-status-flow li { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 12px 10px; border-top: 2px solid #d8e3dc; color: #68786f; }
.layanan-status-flow li > span { color: #7c8a81; font-size: .66rem; font-weight: 800; }
.layanan-status-flow li strong { font-size: .76rem; line-height: 1.35; }
.layanan-status-flow li.is-complete { border-color: #286b58; color: #245d4d; }
.layanan-status-flow li.is-complete > span { color: #286b58; }
.layanan-flow-section { margin-top: 0; }
.layanan-form-page .auth-form textarea, .layanan-form-page .auth-form select { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #cbd5d0; border-radius: 6px; background: #fff; color: #172033; font: inherit; }
.layanan-form-page .auth-form textarea { resize: vertical; }
.layanan-request-row { display: grid; gap: 14px; margin-top: 16px; padding: 20px; border: 1px solid #dce5df; border-radius: 8px; background: #fff; }
.layanan-request-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.layanan-request-type { color: #286b58; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.layanan-request-heading h2 { margin: 6px 0 0; color: #172b21; font-size: 1.05rem; }
.layanan-request-owner, .layanan-request-location { margin: 6px 0 0; color: #66766d; font-size: .8rem; }
.layanan-request-details { margin: 0; color: #43564a; line-height: 1.65; white-space: pre-line; }
.layanan-status-badge { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #c9ded3; border-radius: 999px; color: #245d4d; font-size: .72rem; font-weight: 750; }
.layanan-status-flow-compact { margin-top: 0; }
.layanan-status-flow-compact li { padding: 8px 6px; }
.layanan-status-flow-compact li strong { font-size: .68rem; }
.layanan-status-form { display: flex; justify-content: end; }
@media (max-width: 620px) { .layanan-status-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .layanan-status-flow li:last-child { grid-column: 1 / -1; } .layanan-request-heading { flex-direction: column; } .layanan-status-form { justify-content: stretch; } .layanan-status-form .layanan-primary-link { width: 100%; } }
.market-page .rt01-mark { background: #b74636; }
.market-page .rt01-welcome { border-color: #ecd9d4; border-left-color: #b74636; background: linear-gradient(110deg, #fbefec, #f7faf8 78%); }
.market-page .rt01-role { border-color: #e8cec7; color: #8f392e; }
.market-page .market-code { background: #f8eae6; color: #8f392e; }
.market-page .market-arrow { color: #8f392e; }
.media-page .auth-main { display: block; width: 100%; min-height: 0; padding: 0; }
.media-gallery-shell { width: min(1360px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 72px; }
.media-gallery-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.media-back-link { color: #245d4d; font-size: .82rem; font-weight: 750; }
.media-user-role { color: #65756c; font-size: .76rem; }
.media-gallery-intro { padding: 58px 0 44px; border-bottom: 1px solid #dce5df; }
.media-kicker { margin: 0 0 10px; color: #276b58; font-size: .68rem; font-weight: 850; letter-spacing: .12em; }
.media-gallery-intro h1 { margin: 0; color: #172b21; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; }
.media-gallery-intro > p:last-child { max-width: 600px; margin: 14px 0 0; color: #5c6c63; line-height: 1.65; }
.media-upload-panel { margin-top: 22px; border: 1px solid #dce5df; border-radius: 8px; background: #fff; }
.media-upload-panel summary { padding: 15px 18px; color: #245d4d; font-size: .86rem; font-weight: 800; cursor: pointer; }
.media-upload-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0 18px 18px; }
.media-form-field { display: grid; align-content: start; gap: 7px; min-width: 0; }
.media-form-field label { color: #43564a; font-size: .78rem; font-weight: 700; }
.media-form-field input, .media-form-field select, .media-form-field textarea { width: 100%; min-height: 42px; padding: 9px 10px; border: 1px solid #cbd5d0; border-radius: 6px; background: #fff; color: #172033; font: inherit; font-size: .82rem; }
.media-form-field input[type="file"] { padding: 7px; }
.media-form-field textarea { resize: vertical; }
.media-form-field-wide { grid-column: 1 / -1; }
.media-upload-submit, .media-filter-actions button { min-height: 42px; padding: 0 16px; border: 1px solid #276b58; border-radius: 6px; background: #276b58; color: #fff; font: inherit; font-size: .82rem; font-weight: 750; cursor: pointer; }
.media-library { padding-top: 38px; }
.media-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.media-library-heading h2 { margin: 0; color: #172b21; font-size: 1.5rem; }
.media-result-count { color: #68786f; font-size: .78rem; }
.media-filter-form { display: grid; grid-template-columns: minmax(200px, 2fr) repeat(4, minmax(120px, 1fr)) auto; align-items: end; gap: 10px; margin-bottom: 22px; padding: 15px; border: 1px solid #dce5df; border-radius: 8px; background: #f8faf8; }
.media-search-field, .media-filter-field { display: grid; gap: 6px; min-width: 0; }
.media-search-field label, .media-filter-field label { color: #64756c; font-size: .7rem; font-weight: 750; }
.media-search-field input, .media-filter-field select { width: 100%; min-height: 40px; padding: 0 9px; border: 1px solid #cbd5d0; border-radius: 6px; background: white; color: #25352c; font: inherit; font-size: .78rem; }
.media-filter-actions { display: flex; align-items: center; gap: 10px; }
.media-filter-actions a { color: #245d4d; font-size: .76rem; font-weight: 700; }
.media-filter-actions button { min-height: 40px; }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.media-item { min-width: 0; overflow: hidden; border: 1px solid #dce5df; border-radius: 8px; background: #fff; }
.media-item-visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9efeb; }
.media-item-visual > img, .media-item-visual > video { width: 100%; height: 100%; object-fit: cover; }
.media-item-visual > .media-item-viewer-trigger { position: absolute; inset: 0; display: grid; width: 100%; height: 100%; place-items: center; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.media-item-visual > .media-item-viewer-trigger img { width: 100%; height: 100%; object-fit: cover; }
.media-item-visual > .media-item-viewer-launch { inset: 12px 12px auto auto; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .65); border-radius: 50%; background: rgba(18, 31, 24, .78); color: #fff; font-size: 1rem; cursor: pointer; }
.media-item-visual > .media-item-viewer-trigger:focus-visible { outline: 3px solid #d7b28d; outline-offset: -4px; }
.media-type-label { position: absolute; top: 10px; left: 10px; padding: 5px 8px; border-radius: 4px; background: rgba(20, 40, 31, .82); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .06em; }
.media-item-copy { padding: 14px 15px 16px; }
.media-item-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #276b58; font-size: .68rem; font-weight: 750; }
.media-item-copy h3 { margin: 9px 0 0; color: #172b21; font-size: 1rem; line-height: 1.35; }
.media-item-copy p { margin: 7px 0 0; color: #627168; font-size: .8rem; line-height: 1.55; }
.media-album-label { display: inline-block; margin-top: 10px; color: #66766d; font-size: .7rem; }
.media-download-form { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 14px; }
.media-download-form label { color: #66766d; font-size: .7rem; font-weight: 700; }
.media-download-form select { min-width: 0; min-height: 36px; padding: 0 8px; border: 1px solid #cbd5d0; border-radius: 5px; background: #fff; color: #25352c; font: inherit; font-size: .72rem; }
.media-download-form button { min-height: 36px; padding: 0 10px; border: 0; border-radius: 5px; background: #245d4d; color: #fff; font: inherit; font-size: .72rem; font-weight: 750; cursor: pointer; }
.media-download-form button:focus-visible, .media-download-form select:focus-visible { outline: 3px solid #d7b28d; outline-offset: 2px; }
.media-empty-state { padding: 34px 18px; border: 1px dashed #bdcbc1; border-radius: 8px; color: #66766d; text-align: center; }
.media-pagination { margin-top: 24px; }
@media (max-width: 980px) { .media-filter-form { grid-template-columns: repeat(3, minmax(0, 1fr)); } .media-search-field { grid-column: span 2; } .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .media-gallery-shell { width: min(100% - 28px, 520px); padding-top: 18px; } .media-gallery-intro { padding: 42px 0 30px; } .media-filter-form, .media-upload-form { grid-template-columns: 1fr 1fr; } .media-search-field, .media-form-field-wide { grid-column: 1 / -1; } .media-filter-actions { grid-column: 1 / -1; justify-content: space-between; } .media-grid { grid-template-columns: 1fr; } }
.portal-dashboard { width: min(100%, 1480px); margin: 0 auto 30px; padding: 4px 0 26px; border-bottom: 1px solid #dce5df; }
.portal-dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.portal-dashboard-kicker { margin: 0 0 6px; color: #63776b; font-size: .65rem; font-weight: 850; letter-spacing: .11em; }
.portal-dashboard-heading h1 { margin: 0; color: #172b21; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.15; }
.portal-dashboard-role { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #d5e1d9; border-radius: 6px; background: #fff; color: #3f5c4c; font-size: .72rem; font-weight: 750; }
.portal-dashboard-statistics { margin-bottom: 22px; }
.portal-dashboard-statistics > h2 { margin: 0 0 10px; color: #172b21; font-size: .9rem; }
.portal-dashboard-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 9px; }
.portal-dashboard-stat { display: grid; gap: 5px; min-width: 0; padding: 13px; border: 1px solid #dce5df; border-radius: 7px; background: #f9fbf9; }
.portal-dashboard-stat > span { color: #64756c; font-size: .7rem; font-weight: 700; }
.portal-dashboard-stat > strong { color: #1c3428; font-size: 1.32rem; line-height: 1.1; overflow-wrap: anywhere; }
.portal-dashboard-stat > small { color: #728077; font-size: .65rem; line-height: 1.4; }
.portal-dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.portal-dashboard-section { min-width: 0; padding: 15px; border: 1px solid #dce5df; border-radius: 7px; background: #fff; }
.portal-dashboard-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.portal-dashboard-section-heading h2 { margin: 0; color: #20362a; font-size: .86rem; }
.portal-dashboard-section-heading > span { display: grid; min-width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #edf4ef; color: #245d4d; font-size: .67rem; font-weight: 800; }
.portal-dashboard-section-heading a { color: #276b58; font-size: .68rem; font-weight: 750; }
.portal-dashboard-list-item { padding: 9px 0; border-top: 1px solid #edf1ed; }
.portal-dashboard-list-item > strong, .portal-dashboard-list-item > div > strong { display: block; color: #33443b; font-size: .74rem; line-height: 1.4; }
.portal-dashboard-list-item p { margin: 4px 0 0; color: #738078; font-size: .66rem; line-height: 1.45; }
.portal-dashboard-agenda-item { display: flex; align-items: center; gap: 11px; }
.portal-dashboard-agenda-item > time { display: grid; flex: 0 0 42px; place-items: center; min-height: 42px; border-radius: 6px; background: #edf4ef; color: #245d4d; }
.portal-dashboard-agenda-item > time strong { font-size: .9rem; line-height: 1; }
.portal-dashboard-agenda-item > time span { font-size: .62rem; text-transform: uppercase; }
.portal-dashboard-agenda-item > div > p { margin-top: 3px; }
.portal-dashboard-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.portal-dashboard-shortcuts a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; padding: 9px 10px; border: 1px solid #e1e8e3; border-radius: 5px; color: #3b5646; font-size: .7rem; font-weight: 700; }
.portal-dashboard-shortcuts a:hover { border-color: #a9c3b2; background: #f5f9f6; }
.portal-dashboard-shortcuts a span { flex: 0 0 auto; color: #276b58; font-size: 1rem; }
.portal-dashboard-activity { display: flex; align-items: start; gap: 9px; padding: 7px 0; }
.portal-dashboard-activity-dot { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #7eaa8e; }
.portal-dashboard-activity > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; width: 100%; }
.portal-dashboard-activity strong { color: #43564a; font-size: .7rem; }
.portal-dashboard-activity time { color: #7a8780; font-size: .64rem; }
.portal-dashboard-empty { margin: 0; padding: 10px 0 2px; color: #79857e; font-size: .7rem; }
@media (max-width: 720px) { .portal-dashboard-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .portal-dashboard-heading { align-items: start; flex-direction: column; } .portal-dashboard-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .portal-dashboard-shortcuts { grid-template-columns: 1fr; } }
.portal-dashboard { margin-bottom: 30px; padding: 22px; border: 1px solid #dce5df; border-top: 4px solid #1f7a4f; border-bottom: 1px solid #dce5df; border-radius: 8px; background: linear-gradient(145deg, #fff 0%, #f8faf8 100%); box-shadow: 0 12px 30px rgba(28, 52, 40, .045); }
.portal-dashboard-heading { margin-bottom: 24px; }
.portal-dashboard-heading h1 { font-size: 1.7rem; }
.portal-dashboard-role { max-width: min(100%, 280px); white-space: normal; overflow-wrap: anywhere; }
.portal-dashboard-statistics > h2, .portal-dashboard-section-heading h2 { font-size: .92rem; }
.portal-dashboard-stat { min-height: 108px; padding: 15px; background: #fff; box-shadow: 0 4px 14px rgba(28, 52, 40, .035); }
.portal-dashboard-stat.is-unavailable { border-style: dashed; background: #f6f7f5; }
.portal-dashboard-stat.is-unavailable > strong { color: #777f79; font-size: .96rem; }
.portal-dashboard-section { padding: 17px; box-shadow: 0 4px 14px rgba(28, 52, 40, .035); }
.portal-dashboard-shortcuts a { min-height: 40px; background: #fff; }
.portal-dashboard-shortcuts a:focus-visible, .portal-dashboard-section-heading a:focus-visible { outline: 3px solid rgba(31, 122, 79, .28); outline-offset: 2px; }
.rt-portal-page .auth-main { display: block; width: min(1320px, calc(100% - 48px)); min-height: calc(100vh - 84px); margin: 0 auto; padding: 32px 0 56px; }
.rt-portal-page .portal-dashboard { width: 100%; margin: 0; padding: 0 0 32px; border: 0; border-bottom: 1px solid #dce5df; border-radius: 0; background: transparent; box-shadow: none; }
.rt-portal-page .portal-dashboard-heading { align-items: flex-start; margin-bottom: 28px; }
.rt-portal-page .portal-dashboard-kicker { color: #286b58; }
.portal-dashboard-intro { max-width: 660px; margin: 10px 0 0; color: #5f6f66; font-size: .88rem; line-height: 1.6; }
.rt-portal-page .portal-dashboard-statistics { margin-bottom: 28px; }
.rt-portal-page .portal-dashboard-stat-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.rt-portal-page .portal-dashboard-stat { min-height: 98px; border-radius: 6px; box-shadow: none; }
.rt-portal-page .portal-dashboard-grid { gap: 14px; }
.rt-portal-page .portal-dashboard-section { padding: 20px; border-radius: 6px; box-shadow: none; }
.rt-portal-page .portal-dashboard-section-heading { margin-bottom: 12px; }
.rt-portal-page .portal-dashboard-section-heading h2 { font-size: .96rem; }
.rt-portal-page .portal-dashboard-list-item > strong { font-size: .8rem; }
.rt-portal-page .portal-dashboard-list-item p { font-size: .72rem; }
.rt-portal-page .portal-dashboard-empty { font-size: .76rem; }
.rt-portal-page .portal-dashboard-shortcuts a { min-height: 44px; font-size: .76rem; }
.rt-portal-page .portal-dashboard-grid > .portal-dashboard-section:first-child { border-top: 2px solid #286b58; }
.rt-portal-page .portal-dashboard-statistics + .portal-dashboard-grid > .portal-dashboard-section:first-child { border-top-color: #286b58; }
.portal-dashboard-structure-list { display: grid; gap: 0; margin: 0; }
.portal-dashboard-structure-list > div { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr); gap: 12px; padding: 11px 0; border-top: 1px solid #e8ede9; }
.portal-dashboard-structure-list dt { color: #52665a; font-size: .74rem; font-weight: 750; }
.portal-dashboard-structure-list dd { margin: 0; color: #273b2f; font-size: .76rem; line-height: 1.45; }
.rt-portal-page .portal-dashboard-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: start; gap: 26px; }
.portal-dashboard-sidebar { position: sticky; top: 20px; display: grid; gap: 3px; padding: 12px 0; border-right: 1px solid #dce5df; }
.portal-dashboard-sidebar > p { margin: 0 0 7px 10px; color: #7a8980; font-size: .62rem; font-weight: 850; letter-spacing: .08em; }
.portal-dashboard-sidebar > a { display: block; padding: 9px 12px; border-radius: 5px 0 0 5px; color: #506257; font-size: .76rem; font-weight: 700; }
.portal-dashboard-sidebar > a:hover, .portal-dashboard-sidebar > a:focus-visible { background: #eaf2ec; color: #145d3a; outline: none; }
.portal-dashboard-content { min-width: 0; }
.portal-dashboard-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.portal-dashboard-chart-section { min-width: 0; }
.portal-dashboard-bars { display: grid; gap: 10px; }
.portal-dashboard-bar-row { display: grid; grid-template-columns: minmax(64px, 84px) minmax(0, 1fr) 30px; align-items: center; gap: 9px; }
.portal-dashboard-bar-label { color: #596b60; font-size: .68rem; font-weight: 700; }
.portal-dashboard-bar-track { height: 9px; overflow: hidden; border-radius: 2px; background: #edf1ed; }
.portal-dashboard-bar-track > span { display: block; height: 100%; min-width: 0; background: #266c54; }
.portal-dashboard-bar-track.is-residents > span { background: #c04a3b; }
.portal-dashboard-bar-track.is-requests > span { background: #287181; }
.portal-dashboard-bar-row > strong { color: #263b30; font-size: .7rem; text-align: right; font-variant-numeric: tabular-nums; }
.portal-dashboard-chart-note { margin: 12px 0 0; color: #78857d; font-size: .65rem; line-height: 1.45; }
.portal-dashboard-charts + .portal-dashboard-grid { margin-top: 0; }
.rt-portal-page .portal-dashboard-content > .portal-dashboard-grid { margin-top: 14px; }
.masjid-page .portal-dashboard { border-top-color: #166b57; }
.musholla-page .portal-dashboard { border-top-color: #286c78; }
.pemuda-page .portal-dashboard { border-top-color: #a84d36; }
.tpq-page .portal-dashboard { border-top-color: #8a5635; }
.cerdas-page .portal-dashboard { border-top-color: #245f83; }
.layanan-page .portal-dashboard { border-top-color: #286b58; }
.market-page .portal-dashboard { border-top-color: #b74636; }
.info-page .portal-dashboard { border-top-color: #9e3b32; }
.media-page .portal-dashboard { border-top-color: #a34352; }
@media (max-width: 900px) { .rt-portal-page .portal-dashboard-layout { grid-template-columns: 1fr; gap: 12px; } .portal-dashboard-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 3px; padding: 0 0 10px; border-right: 0; border-bottom: 1px solid #dce5df; } .portal-dashboard-sidebar > p { flex: 0 0 100%; margin-left: 0; } .portal-dashboard-sidebar > a { padding: 8px 10px; border-radius: 5px; background: #fff; border: 1px solid #e0e8e2; } }
@media (max-width: 720px) { .portal-dashboard-charts { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .portal-dashboard { padding: 17px; } .portal-dashboard-heading h1 { font-size: 1.45rem; } .portal-dashboard-stat { min-height: 102px; padding: 11px; } .rt-portal-page .auth-main { width: min(100% - 28px, 680px); padding: 22px 0 40px; } .rt-portal-page .portal-dashboard { padding: 0 0 22px; } .rt-portal-page .portal-dashboard-heading { gap: 12px; margin-bottom: 20px; } .rt-portal-page .portal-dashboard-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rt-portal-page .portal-dashboard-section { padding: 15px; } .portal-dashboard-structure-list > div { grid-template-columns: 1fr; gap: 4px; } .portal-dashboard-bar-row { grid-template-columns: minmax(58px, 74px) minmax(0, 1fr) 26px; gap: 7px; } }
.info-page .auth-main { display: block; width: 100%; min-height: 0; padding: 0; }
.info-page-shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 72px; }
.info-page-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid #dce5df; }
.info-brand { display: flex; align-items: center; gap: 11px; color: inherit; }
.info-brand-mark { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 7px; background: #9e3b32; color: #fff; font-size: 1.1rem; font-weight: 850; }
.info-brand > span:last-child { display: grid; gap: 3px; }
.info-brand strong { color: #202a27; font-size: .92rem; }
.info-brand small, .info-user-role { color: #69766f; font-size: .72rem; }
.info-page-intro { padding: 48px 0 38px; border-bottom: 1px solid #dce5df; }
.info-eyebrow { margin: 0 0 9px; color: #9e3b32; font-size: .67rem; font-weight: 850; letter-spacing: .1em; }
.info-page-intro h1 { margin: 0; color: #1d2924; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.info-page-intro > p:last-child { max-width: 620px; margin: 12px 0 0; color: #5e6c64; line-height: 1.6; }
.info-editor-panel { margin-top: 22px; border: 1px solid #e3d8d4; border-radius: 8px; background: #fff; }
.info-editor-panel summary { padding: 14px 17px; color: #84352e; font-size: .84rem; font-weight: 800; cursor: pointer; }
.info-editor-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding: 0 17px 17px; }
.info-form-field { display: grid; align-content: start; gap: 7px; min-width: 0; }
.info-form-field label, .info-filter-form label > span { color: #47564f; font-size: .75rem; font-weight: 700; }
.info-form-field input, .info-form-field select, .info-form-field textarea, .info-filter-form input, .info-filter-form select { width: 100%; min-height: 42px; padding: 9px 10px; border: 1px solid #cbd5d0; border-radius: 6px; background: white; color: #172033; font: inherit; font-size: .82rem; }
.info-form-field textarea { resize: vertical; }
.info-form-field-wide { grid-column: 1 / -1; }

.error-page { display: grid; min-height: 100vh; place-items: center; padding: 32px 18px; background: linear-gradient(135deg, #f6f8f5 0%, #eaf1ed 58%, #eaf0f5 100%); }
.error-shell { width: min(100%, 720px); }
.error-brand { display: inline-flex; align-items: center; gap: 11px; color: #172033; }
.error-brand-mark { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 8px; background: linear-gradient(135deg, #d62828, #1f7a4f, #1f5aa6); color: #fff; font-size: 1.1rem; font-weight: 850; }
.error-brand-copy { display: grid; gap: 3px; }
.error-brand-copy strong { font-size: .9rem; }
.error-brand-copy small { color: #68756e; font-size: .72rem; }
.error-panel { margin-top: 38px; padding: 44px; border: 1px solid #d8e1db; border-top: 4px solid #1f7a4f; border-radius: 8px; background: #fff; box-shadow: 0 22px 60px rgba(23, 32, 51, .08); }
.error-code { margin: 0; color: #1f7a4f; font-size: 4rem; font-weight: 850; line-height: 1; }
.error-label { margin: 17px 0 8px; color: #66746c; font-size: .7rem; font-weight: 850; letter-spacing: .08em; }
.error-panel h1 { margin: 0; color: #172b21; font-size: 2rem; line-height: 1.2; }
.error-message { max-width: 560px; margin: 13px 0 25px; color: #52615a; line-height: 1.65; }
.error-action { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 0 17px; border-radius: 6px; background: #145d3a; color: #fff; font-size: .88rem; font-weight: 800; }
.error-action:hover, .error-action:focus-visible { background: #104b2f; }
.error-footer { margin: 17px 0 0; color: #68756e; font-size: .74rem; }
@media (max-width: 560px) { .error-page { padding: 20px 14px; } .error-panel { margin-top: 28px; padding: 26px 22px; } .error-code { font-size: 3.4rem; } .error-panel h1 { font-size: 1.65rem; } }
.info-publish-toggle { display: flex; align-items: center; gap: 8px; color: #47564f; font-size: .78rem; font-weight: 700; }
.info-publish-toggle input { width: 17px; height: 17px; accent-color: #9e3b32; }
.info-submit, .info-filter-actions button { min-height: 40px; padding: 0 14px; border: 1px solid #9e3b32; border-radius: 6px; background: #9e3b32; color: #fff; font: inherit; font-size: .8rem; font-weight: 750; cursor: pointer; }
.info-submit { justify-self: end; }
.info-feed { padding-top: 34px; }
.info-feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.info-feed-heading h2 { margin: 0; color: #1d2924; font-size: 1.4rem; }
.info-feed-heading > span { color: #68766f; font-size: .76rem; }
.info-filter-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr) auto; align-items: end; gap: 10px; margin-bottom: 22px; padding: 14px; border: 1px solid #dce5df; border-radius: 8px; background: #f8faf8; }
.info-search-field, .info-category-field { display: grid; gap: 6px; min-width: 0; }
.info-filter-actions { display: flex; align-items: center; gap: 10px; }
.info-filter-actions a { color: #84352e; font-size: .76rem; font-weight: 700; }
.info-portal-results { margin: 0 0 24px; }
.info-portal-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.info-portal-results-heading .info-eyebrow { margin-bottom: 4px; }
.info-portal-results-heading h2 { margin: 0; color: #1d2924; font-size: 1.16rem; }
.info-portal-results-heading > span { color: #68766f; font-size: .76rem; }
.info-portal-results-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.info-portal-result { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 14px; border: 1px solid #dce5df; border-left: 3px solid #1f7a4f; border-radius: 6px; background: #fff; color: #172033; transition: border-color 160ms ease, background-color 160ms ease; }
.info-portal-result:hover, .info-portal-result:focus-visible { border-color: #1f7a4f; background: #f6faf7; outline: none; }
.info-portal-result-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; }
.info-portal-result-title strong { color: #1b3d2b; font-size: .92rem; }
.info-portal-result-title small { color: #738078; font-size: .68rem; }
.info-portal-result-description { color: #5e6c64; font-size: .78rem; line-height: 1.5; }
.info-portal-result-action { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; color: #245a45; font-size: .76rem; font-weight: 750; }
.info-article { padding: 20px 0; border-bottom: 1px solid #dce5df; }
.info-article.is-important { padding: 18px; border: 1px solid #ead6d1; border-left: 4px solid #9e3b32; border-radius: 7px; background: #fff9f7; }
.info-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #6b7770; font-size: .7rem; }
.info-category-badge, .info-draft-badge { padding: 4px 8px; border-radius: 4px; background: #f5e9e6; color: #84352e; font-size: .66rem; font-weight: 800; }
.info-draft-badge { background: #f5f0dd; color: #755f21; }
.info-article h3 { margin: 10px 0 0; color: #202a27; font-size: 1.16rem; line-height: 1.35; }
.info-article > p { max-width: 800px; margin: 8px 0 0; color: #4f5d56; line-height: 1.7; white-space: pre-line; }
.info-author { display: inline-block; margin-top: 12px; color: #758179; font-size: .7rem; }
.info-empty-state { padding: 30px 18px; border: 1px dashed #bdcbc1; border-radius: 8px; color: #66766d; text-align: center; }
.info-pagination { margin-top: 20px; }
.info-filter-form.is-fixed-category { grid-template-columns: minmax(0, 1fr) auto; }
.rt-fee-submission-privacy-note, .rt-fee-submission-access-note { padding: 14px 16px; border: 1px solid #d5e4d8; border-radius: 7px; background: #f3f8f3; color: #43564a; font-size: .84rem; line-height: 1.6; }
.rt-fee-submission-access-note + .info-submit { display: inline-flex; align-items: center; justify-self: start; color: #fff; }
.rt-fee-submission-form { margin-top: 18px; padding: 18px; border: 1px solid #dce5df; border-radius: 8px; background: #fff; }
.rt-fee-submission-form .info-submit { grid-column: 1 / -1; }
.rt-fee-submission-card h3 { margin-top: 10px; }
.rt-public-statistics-page .rt-profile-stats { padding: 0; }
.rt-fee-submission-review { display: grid; gap: 18px; }
.rt-fee-submission-filter { grid-template-columns: minmax(220px, 1fr) auto; }
.rt-fee-submission-review-card { display: grid; gap: 12px; padding: 18px; border: 1px solid #dce5df; border-radius: 8px; background: #fff; }
.rt-fee-submission-review-card > p { margin: 0; color: #536159; font-size: .84rem; line-height: 1.55; }
.rt-fee-submission-review-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.rt-fee-submission-review-heading h2 { margin: 10px 0 4px; color: #1d2924; font-size: 1.12rem; }
.rt-fee-submission-review-heading p { margin: 0; color: #68766f; font-size: .8rem; }
.rt-fee-submission-review-heading > strong { flex: 0 0 auto; color: #1d5137; font-size: 1rem; }
.rt-fee-submission-proof-link { justify-self: start; color: #245a45; font-size: .8rem; font-weight: 750; }
.rt-fee-submission-review-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 12px; border-top: 1px solid #e3eae5; }
.rt-fee-submission-review-actions form { display: grid; align-content: start; gap: 8px; }
.rt-fee-submission-review-actions label { color: #47564f; font-size: .75rem; font-weight: 700; }
.rt-fee-submission-review-actions select, .rt-fee-submission-review-actions textarea { width: 100%; min-height: 42px; padding: 9px 10px; border: 1px solid #cbd5d0; border-radius: 6px; background: #fff; color: #172033; font: inherit; font-size: .82rem; }
.rt-fee-submission-review-actions textarea { resize: vertical; }
.rt-fee-submission-review-actions button { min-height: 40px; padding: 0 14px; border: 1px solid #246347; border-radius: 6px; background: #246347; color: #fff; font: inherit; font-size: .8rem; font-weight: 750; cursor: pointer; }
.rt-fee-submission-review-actions button.is-danger { border-color: #9e3b32; background: #9e3b32; }
@media (max-width: 640px) { .info-page-shell { width: min(100% - 28px, 520px); padding-top: 18px; } .info-page-intro { padding: 38px 0 30px; } .info-filter-form, .info-editor-form { grid-template-columns: 1fr; } .info-form-field-wide { grid-column: auto; } .info-filter-actions { justify-content: space-between; } .info-submit { justify-self: stretch; } }
@media (max-width: 700px) { .rt-fee-submission-review-heading { flex-direction: column; } .rt-fee-submission-review-actions { grid-template-columns: 1fr; } .info-filter-form.is-fixed-category, .rt-fee-submission-filter { grid-template-columns: 1fr; } }
.musholla-page .rt01-mark { background: #286c78; }
.musholla-page .rt01-welcome { border-color: #d7e7e9; border-left-color: #286c78; background: linear-gradient(110deg, #edf6f5, #f8faf7 78%); }
.musholla-page .rt01-role { border-color: #c7dcde; color: #245e69; }
.musholla-page .musholla-code { background: #e8f2f2; color: #245e69; }
.musholla-page .musholla-arrow { color: #245e69; }

.home-site { --home-navy: #073a78; --home-blue: #075aa4; --home-gold: #ffad08; background: #f3f7fb; color: #172a43; }
.home-site .site-header { background: #fff; border-bottom-color: #e3eaf2; box-shadow: 0 4px 16px rgba(9,43,82,.08); }
.home-topbar { background: #073a78; color: #eaf3ff; }
.home-topbar-inner { display: flex; min-height: 30px; align-items: center; justify-content: space-between; gap: 16px; font-size: .68rem; }
.home-topbar-inner p { margin: 0; }
.home-topbar-inner p span { margin-right: 6px; color: #ffad08; }
.home-topbar-datetime { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.home-topbar-datetime span { color: #c5dcf6; }
.home-site .navbar { min-height: 76px; }
.home-site .brand-copy strong { color: #073a78; font-size: 1.16rem; }
.home-site .brand-copy span { color: #3e5878; letter-spacing: .01em; text-transform: none; }
.home-site .nav-item[aria-current="page"] { background: #ffad08; color: #fff; }
.home-site .nav-item:hover, .home-site .nav-item:focus-visible { background: #edf4fb; color: #075aa4; }
.home-site .site-search { border-color: #d3deeb; background: #f8fbff; }
.home-site .site-search button { background: #073a78; }
.home-landing .home-page-intro.is-hero { width: min(1320px, calc(100% - 32px)); min-height: 326px; margin: 14px auto 0; padding: 34px 0; border-radius: 14px; box-shadow: 0 16px 38px rgba(9,43,82,.18); }
.home-landing .home-page-intro.is-hero { position: relative; isolation: isolate; overflow: hidden; background: #075aa4; }
.home-landing .home-page-intro.is-hero::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(4,43,91,.94), rgba(4,56,106,.78) 44%, rgba(4,56,106,.08)); content: ''; }
.home-landing .home-page-intro.is-hero .home-hero-media { position: absolute; z-index: 0; inset: 0; width: 100%; max-width: none; }
.home-landing .home-page-intro.is-hero .home-page-hero-image { height: 100%; min-height: 100%; border: 0; border-radius: 0; object-fit: cover; }
.home-landing .home-page-intro.is-hero .home-hero-copy { position: relative; z-index: 2; max-width: 570px; }
.home-landing .home-page-intro.is-hero .home-page-intro-layout { position: relative; z-index: 2; min-height: 250px; grid-template-columns: minmax(0, 1fr); }
.home-landing .home-page-intro.is-hero .home-page-hero-image { height: 100%; min-height: 100%; }
.home-landing .home-page-intro.is-hero .home-hero-logo { position: absolute; z-index: 2; top: 50%; right: 7%; left: auto; width: 124px; height: 124px; border: 4px solid rgba(255,255,255,.9); border-radius: 50%; transform: translateY(-50%); }
.home-landing .home-page-intro.is-hero::before { background: linear-gradient(90deg, rgba(4,43,91,.94), rgba(4,56,106,.78) 44%, rgba(4,56,106,.08)); }
.home-landing .home-page-intro.is-hero .home-page-intro-layout { min-height: 250px; grid-template-columns: minmax(0, 1fr); }
.home-landing .home-hero-copy { max-width: 570px; }
.home-landing .home-hero-copy .kicker { color: #ffca60; }
.home-landing .home-page-title { color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: clamp(2.35rem, 5vw, 4.1rem); font-weight: 850; line-height: 1.04; }
.home-landing .home-page-tagline { margin: 9px 0 0; color: #f4f8ff; font-size: 1.15rem; font-weight: 650; }
.home-landing .home-page-copy { margin-top: 8px; color: #e2edfa; }
.home-landing .home-page-hero-action { min-height: 40px; margin-top: 17px; padding: 0 16px; border-radius: 999px; background: #ffad08; color: #173454; }
.home-landing .home-hero-logo { right: 7%; left: auto; width: 124px; height: 124px; border-radius: 50%; }
.home-landing .home-page-intro:not(.is-hero) { width: min(1320px, calc(100% - 32px)); margin: 14px auto 0; padding: 28px; border: 1px solid #dfe9f3; border-radius: 12px; background: linear-gradient(120deg, #fff, #edf5fd); }
.home-landing .home-page-intro:not(.is-hero) .home-page-title { color: #073a78; }
.home-quick-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.home-quick-links a { position: relative; display: grid; min-width: 0; min-height: 78px; align-content: center; gap: 3px; padding: 12px 36px 12px 48px; border: 1px solid #dfe8f1; border-radius: 9px; background: #fff; box-shadow: 0 5px 15px rgba(21,57,96,.05); }
.home-quick-links a:hover, .home-quick-links a:focus-visible { border-color: #9ebcdd; outline: none; }
.home-quick-links a > span { position: absolute; left: 13px; top: 50%; display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; background: #eaf3fc; color: #075aa4; font-size: .63rem; font-weight: 850; transform: translateY(-50%); }
.home-quick-links strong { overflow: hidden; color: #073a78; font-size: .77rem; text-overflow: ellipsis; white-space: nowrap; }
.home-quick-links small { overflow: hidden; color: #68798d; font-size: .64rem; text-overflow: ellipsis; white-space: nowrap; }
.home-quick-links b { position: absolute; top: 50%; right: 13px; color: #8ba1b9; transform: translateY(-50%); }
.home-landing .home-layout { width: min(1320px, calc(100% - 32px)); grid-template-columns: minmax(0, 1.9fr) minmax(260px, .72fr); gap: 22px; padding-block: 22px 54px; }
.home-landing .home-main-column { gap: 22px; }
.home-landing .home-sidebar { position: static; display: grid; align-content: start; gap: 14px; padding: 0; border: 0; }
.home-landing .home-news-slideshow, .home-landing .home-photo-section, .home-landing .home-video-section { overflow: hidden; border: 1px solid #e1eaf3; border-radius: 11px; background: #fff; box-shadow: 0 7px 20px rgba(18,54,91,.055); }
.home-landing .home-news-heading { align-items: center; margin: 0; padding: 15px 18px 12px; background: #fff; }
.home-landing .home-news-heading h2, .home-landing .home-media-heading .section-title { color: #073a78; font-family: Arial, Helvetica, sans-serif; font-size: 1.2rem; font-weight: 800; }
.home-landing .home-news-heading > a { color: #075aa4; font-size: .69rem; font-weight: 750; }
.home-landing .home-news-slide { min-height: 260px; background: #063e79; }
.home-landing .home-news-slide > img { min-height: 260px; }
.home-landing .home-news-slide h3 { color: #fff; font-size: 1.3rem; font-weight: 800; }
.home-landing .home-news-list { padding: 0 12px 12px; }
.home-landing .home-media-section { display: grid; gap: 14px; }
.home-landing .home-media-heading { margin: 0; padding: 14px 16px 0; }
.home-landing .home-photo-grid, .home-landing .home-video-grid { padding: 12px; }
.home-landing .home-donation-card { border-color: #c9dff4; background: linear-gradient(145deg, #fff, #edf6ff); }
.home-landing .home-donation-card h2 { color: #073a78; font-family: Arial, Helvetica, sans-serif; font-weight: 800; }
.home-landing .home-donation-card > header > span, .home-landing .home-donation-action { background: #075aa4; }
.home-landing .home-promotion-card { border-radius: 9px; }
.home-landing .home-community-values { width: min(1320px, calc(100% - 32px)); margin-bottom: 24px; border-color: #dce8f4; background: #fff; }
.home-site-footer { border-top: 0; }
@media (max-width: 900px) { .home-landing .home-layout { grid-template-columns: minmax(0, 1.5fr) minmax(220px, .8fr); gap: 16px; } .home-quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .home-topbar-inner { min-height: 32px; font-size: .61rem; } .home-topbar-inner > p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .home-topbar-datetime { gap: 0; } .home-topbar-datetime span { display: none; } .home-site .navbar { min-height: 66px; } .home-site .main-nav { background: #fff; } .home-site .main-nav.is-open { padding: 10px; } .home-landing .home-page-intro.is-hero { min-height: 300px; margin-top: 10px; padding-block: 25px; } .home-landing .home-page-intro.is-hero .home-page-intro-layout { min-height: 248px; } .home-landing .home-page-title { font-size: clamp(2rem, 9vw, 3.25rem); } .home-landing .home-hero-logo { right: 5%; bottom: 8%; left: auto; width: 72px; height: 72px; } .home-landing .home-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 16px; } }
@media (max-width: 520px) { .home-topbar-inner { width: calc(100% - 24px); } .home-topbar-datetime time { font-size: .58rem; } .home-landing .home-page-intro.is-hero { width: calc(100% - 20px); min-height: 320px; border-radius: 10px; } .home-landing .home-page-intro.is-hero::before { background: linear-gradient(90deg, rgba(4,43,91,.95), rgba(4,56,106,.76)); } .home-landing .home-page-intro.is-hero .home-page-intro-layout { min-height: 270px; } .home-landing .home-page-copy { max-width: 88%; } .home-quick-links { width: calc(100% - 20px); gap: 7px; margin-top: 10px; } .home-quick-links a { min-height: 68px; padding: 9px 24px 9px 39px; } .home-quick-links a > span { left: 8px; width: 24px; height: 24px; } .home-quick-links strong { font-size: .69rem; } .home-quick-links small { font-size: .57rem; } .home-quick-links b { right: 8px; } .home-landing .home-layout, .home-landing .home-community-values { width: calc(100% - 20px); } .home-landing .home-news-heading { align-items: start; padding: 13px 12px 10px; } .home-landing .home-news-heading h2 { font-size: 1.12rem; } .home-landing .home-news-slide { grid-template-columns: minmax(0, 1fr); } .home-landing .home-news-slide > img { height: 180px; min-height: 180px; } .home-landing .home-news-slide-copy { padding: 16px; } .home-landing .home-news-slide h3 { font-size: 1.1rem; } }

.home-site .navbar { position: relative; gap: 12px; }
.home-site .main-nav { flex: 1 1 auto; justify-content: space-between; gap: 3px; min-width: 0; }
.home-site .nav-dropdown-toggle { border: 0; background: transparent; font-family: inherit; }
.home-site .nav-dropdown.is-open > .nav-dropdown-toggle { background: #edf4fb; color: #075aa4; }
.home-site .main-nav .nav-dropdown:not(.is-open) .dropdown-menu { opacity: 0; visibility: hidden; }
.home-site .main-nav .nav-dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.home-site .main-nav .dropdown-menu a { border-radius: 7px; color: #29435f; font-size: .78rem; font-weight: 650; }
.home-site .main-nav .dropdown-menu a:hover,
.home-site .main-nav .dropdown-menu a:focus-visible { background: #edf5fd; color: #075aa4; transform: translateX(2px); }
.home-site .site-account-actions { flex: 0 0 auto; }
.home-site .login-btn { min-height: 40px; padding: 0 16px; border: 1px solid transparent; border-radius: 7px; background: linear-gradient(135deg, #075aa4, #073a78); box-shadow: 0 5px 13px rgba(7,58,120,.18); color: #fff; font-size: .78rem; }
.home-site .login-btn:hover,
.home-site .login-btn:focus-visible { background: linear-gradient(135deg, #0872c8, #06498f); }

@media (min-width: 761px) and (max-width: 1024px) {
    .home-site .brand { gap: 6px; }
    .home-site .brand-copy strong { font-size: .76rem; }
    .home-site .brand-copy span { display: none; }
    .home-site .mobile-menu-toggle { display: none; }
    .home-site .main-nav { position: static; display: flex; flex: 1 1 auto; align-items: center; gap: 0; max-height: none; overflow: visible; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: .74rem; }
    .home-site .main-nav .nav-item { min-height: 36px; padding: 0 6px; }
    .home-site .main-nav .dropdown-menu { top: calc(100% + 8px); max-height: min(70vh, 420px); overflow-y: auto; }
    .home-site .site-search { flex: 0 1 145px; min-width: 108px; margin-left: 4px; padding-left: 8px; }
    .home-site .site-account-actions .login-btn { min-height: 34px; padding-inline: 8px; font-size: .62rem; }
}

@media (min-width: 761px) and (max-width: 880px), (max-width: 760px) {
    .home-site .mobile-menu-toggle { display: inline-flex; }
    .home-site .main-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 2px; max-height: calc(100vh - 88px); overflow-y: auto; padding: 12px; border: 1px solid #dfe3dc; border-radius: 0 0 8px 8px; background: #fff; box-shadow: 0 18px 40px rgba(26,43,34,.16); }
    .home-site .main-nav.is-open { display: flex; padding: 10px; }
    .home-site .main-nav .site-search { flex: 0 0 auto; width: 100%; min-width: 0; margin: 7px 0 0; }
    .home-site .main-nav .nav-dropdown .dropdown-menu { position: static; max-height: 0; overflow: hidden; padding: 0; border: 0; background: transparent; box-shadow: none; transform: translateY(-4px); transition: max-height 200ms ease, opacity 160ms ease, transform 160ms ease, visibility 160ms; }
    .home-site .main-nav .nav-dropdown:not(.is-open) .dropdown-menu { opacity: 0; visibility: hidden; }
    .home-site .main-nav .nav-dropdown.is-open .dropdown-menu { max-height: min(65vh, 420px); overflow-y: auto; padding: 4px 0 8px 12px; opacity: 1; visibility: visible; transform: translateY(0); }
    .home-site .site-account-actions { padding: 8px 0 0; }
    .home-site .site-account-actions .login-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .home-site .main-nav .dropdown-menu,
    .home-site .main-nav .dropdown-menu a,
    .home-site .login-btn { transition: none; animation: none; }
}

.auth-login-page,
.auth-password-change-page {
    --login-navy: #073a78;
    --login-blue: #075aa4;
    --login-gold: #ffad08;
    --login-ink: #193553;
    --login-muted: #687b91;
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, #d9eaff, #9ccbf0 58%, #e8f4ff);
    color: var(--login-ink);
    font-family: 'Instrument Sans', 'Segoe UI', sans-serif;
}

.auth-password-change-page { background: linear-gradient(135deg, #d9eaff, #9ccbf0 58%, #e8f4ff); }
.auth-login-page .auth-header,
.auth-password-change-page .auth-header { display: none; }
.auth-login-page .auth-main,
.auth-password-change-page .auth-main { width: 100%; max-width: none; min-height: 100svh; margin: 0; padding: 0; }

.phck-login-shell {
    position: relative;
    display: grid;
    width: 100%;
    height: 100svh;
    min-height: 680px;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 42%);
    grid-template-rows: minmax(0, 1fr) 82px;
    overflow: hidden;
    isolation: isolate;
}

.phck-login-scene {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.phck-login-visual {
    position: static;
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
}

.phck-login-brand,
.phck-login-card-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--login-navy);
    text-decoration: none;
}

.phck-login-brand {
    position: absolute;
    z-index: 2;
    top: clamp(20px, 3.5vh, 36px);
    left: clamp(24px, 5.5vw, 82px);
}

.phck-login-brand-image {
    display: block;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    object-fit: contain;
    filter: drop-shadow(0 3px 7px rgba(21, 57, 91, .16));
}

.phck-login-brand-mark {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border: 2px solid rgba(7, 58, 120, .2);
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #e8f4ff);
    color: var(--login-blue);
    font-size: 1.4rem;
    font-weight: 900;
    box-shadow: 0 7px 18px rgba(7, 58, 120, .12);
}

.phck-login-brand > span:last-child,
.phck-login-card-brand > span:last-child { display: grid; gap: 2px; }
.phck-login-brand strong,
.phck-login-card-brand strong { color: #06478b; font-size: 1.12rem; font-weight: 900; letter-spacing: -.035em; }
.phck-login-brand em,
.phck-login-card-brand em { color: #f2a000; font-style: normal; }
.phck-login-brand small,
.phck-login-card-brand small { color: #476681; font-size: .73rem; font-weight: 650; }

.phck-login-slogan {
    position: absolute;
    z-index: 2;
    bottom: calc(82px + clamp(24px, 4vh, 40px));
    left: clamp(24px, 5.5vw, 82px);
    max-width: min(440px, calc(58% - clamp(24px, 5.5vw, 82px) - 24px));
    margin: 0;
    color: #144b77;
    font-size: clamp(.85rem, 1.4vw, 1.05rem);
    font-weight: 750;
    line-height: 1.45;
    text-align: left;
    text-shadow: 0 1px 5px rgba(255, 255, 255, .6);
}

.phck-login-welcome {
    position: absolute;
    z-index: 1;
    top: 19%;
    left: clamp(36px, 17vw, 248px);
    max-width: 500px;
    color: #0a376d;
    text-shadow: 0 1px 9px rgba(255, 255, 255, .52);
}

.phck-login-welcome-script {
    margin: 0 0 3px;
    color: #1a5e95;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.45rem, 2.8vw, 2.4rem);
    font-style: italic;
}

.phck-login-welcome h1 {
    margin: 0;
    color: #064487;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1.02;
}

.phck-login-welcome h1 span { color: #f2a000; }
.phck-login-welcome > p:last-child { margin: 10px 0 0; color: #254c75; font-size: .9rem; font-weight: 650; line-height: 1.55; }

.phck-login-card.auth-panel {
    position: relative;
    z-index: 2;
    align-self: center;
    width: min(100% - 48px, 430px);
    margin: 0 auto;
    padding: clamp(26px, 3vw, 40px);
    grid-column: 2;
    grid-row: 1;
    border: 1px solid rgba(222, 232, 241, .92);
    border-radius: 22px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 20px 55px rgba(12, 47, 79, .2);
}

.phck-login-card-brand { margin: 0 auto 20px; }
.phck-login-card-brand .phck-login-brand-mark { width: 42px; height: 42px; flex-basis: 42px; font-size: 1.15rem; }
.phck-login-card-brand .phck-login-brand-image { width: 46px; height: 46px; flex-basis: 46px; }
.phck-login-card-brand strong { font-size: 1rem; }
.phck-login-card-brand small { font-size: .65rem; }
.phck-login-card h2 { margin: 0; color: var(--login-navy); font-size: clamp(1.55rem, 2vw, 1.9rem); font-weight: 850; letter-spacing: -.04em; line-height: 1.15; }
.phck-login-card .auth-lead { margin: 8px 0 17px; color: var(--login-muted); font-size: .8rem; line-height: 1.5; }
.phck-login-form { gap: 7px; }
.phck-password-change-card .kicker { margin: 0 0 8px; color: #075aa4; font-size: .68rem; }
.phck-password-change-card .auth-lead { margin-bottom: 15px; }
.phck-password-change-card .phck-login-form { gap: 5px; }
.phck-password-requirements { display: block; margin: 0 0 2px 3px; color: #71849a; font-size: .66rem; line-height: 1.45; }
.phck-password-change-card .phck-login-register { margin-top: 12px; }
.phck-password-change-card .phck-login-help { margin-top: 7px; }
.phck-login-form > label:not(.auth-checkbox) { margin: 4px 0 0; color: #304b68; font-size: .73rem; font-weight: 750; }
.phck-login-card-tpq.auth-panel { padding: 22px 25px; }
.phck-login-card-tpq .phck-login-card-brand { margin-bottom: 12px; }
.phck-login-card-tpq .auth-lead { margin-bottom: 12px; }
.phck-login-card-tpq .phck-login-form { gap: 5px; }
.phck-login-form .auth-role-fieldset { display: grid; gap: 7px; margin: 3px 0; padding: 8px 10px; border: 1px solid #d2e0ef; border-radius: 8px; }
.phck-login-form .auth-role-fieldset legend { padding: 0 5px; color: #304b68; font-size: .69rem; font-weight: 750; }
.phck-login-form .auth-role-options { display: grid; gap: 6px; }
.phck-login-form .auth-role-option { display: flex; align-items: flex-start; gap: 9px; margin: 0; padding: 7px 8px; border: 1px solid #e1e9f1; border-radius: 6px; background: #f9fbfe; color: #304b68; font-size: .68rem; }
.phck-login-form .auth-role-option input { width: 16px; height: 16px; flex: 0 0 16px; margin: 2px 0 0; accent-color: var(--login-blue); }
.phck-login-form .auth-role-option span { display: grid; gap: 2px; }
.phck-login-form .auth-role-option strong { color: #193553; font-size: .71rem; }
.phck-login-form .auth-role-option small { color: #687b91; font-size: .62rem; }

.phck-login-input-wrap {
    position: relative;
    display: flex;
    min-height: 47px;
    align-items: center;
    border: 1px solid #d2e0ef;
    border-radius: 8px;
    background: #f9fbfe;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.phck-login-input-wrap:focus-within { border-color: #4a91d2; background: #fff; box-shadow: 0 0 0 3px rgba(7, 90, 164, .1); }
.phck-login-field-icon { display: grid; width: 43px; flex: 0 0 43px; place-items: center; color: var(--login-navy); }
.phck-login-field-icon svg { width: 19px; height: 19px; }
.phck-login-input-wrap input { width: 100%; min-width: 0; min-height: 45px; padding: 0 9px 0 0; border: 0; outline: 0; background: transparent; color: #173a64; font: inherit; font-size: .8rem; }
.phck-login-input-wrap input::placeholder { color: #8196ad; }
.phck-login-input-wrap input:focus-visible { outline: 0; }
.phck-login-password-toggle { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #55718e; cursor: pointer; }
.phck-login-password-toggle:hover,
.phck-login-password-toggle:focus-visible { outline: 2px solid #8bb9e1; outline-offset: -3px; color: var(--login-blue); }
.phck-login-password-toggle svg { width: 19px; height: 19px; }
.phck-password-hide { display: none; }
.phck-login-password-toggle[aria-pressed="true"] .phck-password-show { display: none; }
.phck-login-password-toggle[aria-pressed="true"] .phck-password-hide { display: block; }
.phck-login-form .auth-error { margin: -3px 0 2px 2px; font-size: .72rem; }
.phck-login-form-options { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 3px 0 2px; }
.phck-login-form-options .auth-checkbox { margin: 0; color: #3a526e; font-size: .71rem; font-weight: 650; }
.phck-login-form-options .auth-checkbox input { width: 17px; height: 17px; margin: 0; accent-color: var(--login-blue); }
.phck-login-form-options > a { color: var(--login-blue); font-size: .69rem; font-weight: 750; }
.phck-login-form-options > a:hover,
.phck-login-register a:hover { color: #f09b00; }
.phck-login-caps-warning { margin: 0; color: #995d00; font-size: .7rem; font-weight: 700; }
.phck-login-caps-warning[hidden] { display: none; }
.phck-login-form .auth-submit {
    display: flex;
    width: 100%;
    min-height: 47px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 5px;
    border-radius: 8px;
    background: linear-gradient(100deg, #ffae00, #ff8e00);
    color: #17385c;
    font-size: .86rem;
    box-shadow: 0 8px 18px rgba(243, 154, 0, .2);
    transition: box-shadow 160ms ease, transform 160ms ease, filter 160ms ease;
}

.phck-login-form .auth-submit:hover,
.phck-login-form .auth-submit:focus-visible { background: linear-gradient(100deg, #ffc12f, #f99a00); box-shadow: 0 11px 22px rgba(243, 154, 0, .27); transform: translateY(-1px); }
.phck-login-form .auth-submit > span:last-child { font-size: 1.08rem; transition: transform 160ms ease; }
.phck-login-form .auth-submit:hover > span:last-child { transform: translateX(3px); }
.phck-login-card .phck-register-divider { margin: 14px 0; }
.phck-login-card .phck-google-button { min-height: 47px; font-size: .82rem; }
.phck-login-register { margin: 15px 0 0; color: #71849a; font-size: .7rem; text-align: center; }
.phck-login-register a { display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; color: var(--login-blue); font-weight: 800; }
.phck-login-help { margin: 10px 0 0; color: #8292a5; font-size: .64rem; text-align: center; }

.phck-login-footer {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px clamp(20px, 4vw, 60px);
    grid-column: 1 / -1;
    grid-row: 2;
    background: #073a78;
    color: rgba(255, 255, 255, .9);
    font-size: .69rem;
}

.phck-login-social .footer-list { display: flex; align-items: center; gap: 11px; margin: 0; padding: 0; list-style: none; }
.phck-login-social .footer-list a { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; color: #fff; transition: background 160ms ease, transform 160ms ease; }
.phck-login-social .footer-list a:hover,
.phck-login-social .footer-list a:focus-visible { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.phck-login-social .social-icon { width: 14px; height: 14px; fill: currentColor; }
.phck-login-footer-motto { color: #ffce4d; font-weight: 700; }

@media (max-width: 1000px) and (min-width: 681px) {
    .phck-login-shell { grid-template-columns: minmax(0, 1fr) minmax(360px, 45%); }
    .phck-login-welcome { left: clamp(30px, 9vw, 110px); }
    .phck-login-card.auth-panel { width: calc(100% - 32px); padding: 28px 25px; }
}

@media (max-width: 680px) {
    .auth-login-page .auth-main,
    .auth-password-change-page .auth-main { min-height: 100svh; }
    .phck-login-shell { height: auto; min-height: 100svh; grid-template-columns: minmax(0, 1fr); grid-template-rows: 360px auto auto; overflow: hidden; }
    .phck-login-visual { position: relative; }
    .phck-login-scene { height: 100%; object-fit: cover; object-position: 43% center; }
    .phck-login-brand { top: 18px; left: 18px; gap: 8px; }
    .phck-login-brand-image,
    .phck-login-brand-mark { width: 42px; height: 42px; flex-basis: 42px; }
    .phck-login-brand strong { font-size: .94rem; }
    .phck-login-brand small { font-size: .61rem; }
    .phck-login-slogan { top: 22px; right: 17px; bottom: auto; left: auto; max-width: 140px; font-size: .69rem; text-align: right; }
    .phck-login-welcome { top: 72px; left: 22px; }
    .phck-login-welcome-script { font-size: 1.25rem; }
    .phck-login-welcome h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
    .phck-login-welcome > p:last-child { margin-top: 6px; font-size: .69rem; }
    .phck-login-card.auth-panel { width: min(100% - 32px, 440px); margin: -2px auto 18px; padding: 24px clamp(21px, 7vw, 34px) 25px; grid-column: 1; grid-row: 2; border-radius: 18px; }
    .phck-login-card-brand { margin-bottom: 17px; }
    .phck-login-card .auth-lead { margin-bottom: 15px; }
    .phck-login-footer { flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding: 15px 16px; grid-column: 1; grid-row: 3; font-size: .63rem; text-align: center; }
    .phck-login-footer-motto { display: none; }
}

@media (max-width: 380px) {
    .phck-login-shell { grid-template-rows: 330px auto auto; }
    .phck-login-brand-image,
    .phck-login-brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
    .phck-login-brand small { font-size: .57rem; }
    .phck-login-slogan { max-width: 110px; font-size: .61rem; }
    .phck-login-welcome { top: 68px; left: 18px; }
    .phck-login-welcome h1 { font-size: 1.65rem; }
    .phck-login-card.auth-panel { width: calc(100% - 24px); padding-inline: 19px; }
}

@media (prefers-reduced-motion: reduce) {
    .phck-login-input-wrap,
    .phck-login-password-toggle,
    .phck-login-form .auth-submit,
    .phck-login-form .auth-submit > span:last-child,
    .phck-login-social .footer-list a { transition: none; }
}

.phck-register-page {
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, #d9eaff, #9ccbf0 58%, #e8f4ff);
    color: #193553;
}

.phck-register-page .auth-header { display: none; }
.phck-register-page .auth-main { width: 100%; max-width: none; min-height: 100svh; margin: 0; padding: 0; }

.phck-register-shell {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 100svh;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 42%);
    grid-template-rows: minmax(calc(100svh - 82px), auto) 82px;
    overflow: clip;
    isolation: isolate;
}

.phck-register-scene {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.phck-register-visual {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100svh;
    min-height: 680px;
    grid-column: 1;
    grid-row: 1;
}

.phck-register-card.auth-panel {
    position: relative;
    z-index: 1;
    align-self: start;
    width: min(100% - 48px, 600px);
    margin: 18px auto;
    padding: 28px;
    border: 1px solid rgba(222, 232, 241, .92);
    border-radius: 22px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 20px 55px rgba(12, 47, 79, .2);
    grid-column: 2;
    grid-row: 1;
}

.phck-register-card .phck-login-card-brand { margin: 0 0 12px; }
.phck-register-card .kicker { margin-bottom: 8px; color: #075aa4; }
.phck-register-card h1 { margin: 0; color: #073a78; font-size: clamp(1.65rem, 3vw, 2rem); font-weight: 850; letter-spacing: -.04em; line-height: 1.12; }
.phck-register-card .auth-lead { margin: 6px 0 14px; color: #687b91; font-size: .78rem; line-height: 1.45; }
.phck-register-form { gap: 4px; }
.phck-register-form > label { margin: 2px 0 0; color: #304b68; font-size: .72rem; font-weight: 750; }

.phck-register-form input:not([type="checkbox"]),
.phck-register-form select,
.phck-register-form textarea {
    width: 100%;
    min-height: 40px;
    padding: 7px 11px;
    border: 1px solid #d2e0ef;
    border-radius: 8px;
    background: #f9fbfe;
    color: #173a64;
    font: inherit;
    font-size: .78rem;
}

.phck-register-form textarea { min-height: 68px; resize: vertical; }
.phck-register-form input:focus-visible,
.phck-register-form select:focus-visible,
.phck-register-form textarea:focus-visible { outline: 0; border-color: #4a91d2; background: #fff; box-shadow: 0 0 0 3px rgba(7, 90, 164, .1); }
.phck-register-form .auth-error { margin: -3px 0 2px 2px; font-size: .72rem; }

.phck-register-form .auth-submit {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    border-radius: 8px;
    background: linear-gradient(100deg, #ffae00, #ff8e00);
    color: #17385c;
    font-size: .86rem;
    box-shadow: 0 8px 18px rgba(243, 154, 0, .2);
    transition: box-shadow 160ms ease, transform 160ms ease, filter 160ms ease;
}

.phck-register-form .auth-submit:hover,
.phck-register-form .auth-submit:focus-visible { background: linear-gradient(100deg, #ffc12f, #f99a00); box-shadow: 0 11px 22px rgba(243, 154, 0, .27); transform: translateY(-1px); }
.phck-register-form .auth-submit > span:last-child { font-size: 1.08rem; transition: transform 160ms ease; }
.phck-register-form .auth-submit:hover > span:last-child { transform: translateX(3px); }
.phck-register-divider { display: flex; align-items: center; gap: 12px; margin: 12px 0; color: #8196ad; font-size: .72rem; }
.phck-register-divider::before,
.phck-register-divider::after { height: 1px; flex: 1; background: #e1e9f1; content: ""; }
.phck-google-button { display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 11px; border: 1px solid #d2e0ef; border-radius: 8px; background: #fff; color: #304b68; font-size: .78rem; font-weight: 750; text-decoration: none; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.phck-google-button:hover { border-color: #9cb8d3; background: #f9fbfe; box-shadow: 0 4px 12px rgba(21, 57, 91, .08); }
.phck-google-button:focus-visible { outline: 3px solid rgba(7, 90, 164, .2); outline-offset: 2px; }
.phck-google-logo { display: block; width: 18px; height: 18px; flex: 0 0 18px; }
.phck-google-error { margin: 0 0 10px; text-align: center; }
.phck-register-footnote { margin: 14px 0 0; color: #71849a; font-size: .76rem; text-align: center; }
.phck-register-footnote a { margin-left: 4px; color: #075aa4; font-weight: 800; }
.phck-register-footnote a:hover { color: #f09b00; }
.phck-register-shell > .phck-login-footer { grid-column: 1 / -1; grid-row: 2; }

.account-profile-completion { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 22px; padding: 16px 18px; border: 1px solid #a9cbea; border-left: 4px solid #075aa4; border-radius: 8px; background: #f0f7ff; color: #193553; }
.account-profile-completion p { margin: 5px 0 0; color: #526b83; font-size: .82rem; line-height: 1.5; }
.account-profile-completion .view-btn { flex: 0 0 auto; margin: 0; }

@media (max-width: 1000px) and (min-width: 681px) {
    .phck-register-shell { grid-template-columns: minmax(0, 1fr) minmax(390px, 48%); }
    .phck-register-card.auth-panel { width: calc(100% - 32px); padding: 28px 25px; }
}

@media (max-width: 680px) {
    .phck-register-shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: 360px auto auto; }
    .phck-register-visual { position: relative; height: 360px; min-height: 0; grid-column: 1; grid-row: 1; }
    .phck-register-card.auth-panel { width: min(100% - 32px, 520px); margin: -18px auto 22px; padding: 24px clamp(21px, 7vw, 34px) 25px; grid-column: 1; grid-row: 2; }
    .phck-register-shell > .phck-login-footer { grid-column: 1; grid-row: 3; }
    .account-profile-completion { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
    .phck-register-shell { grid-template-rows: 330px auto auto; }
    .phck-register-visual { height: 330px; }
    .phck-register-card.auth-panel { width: calc(100% - 24px); padding-inline: 19px; }
}

@media (prefers-reduced-motion: reduce) {
    .phck-register-form .auth-submit,
    .phck-google-button,
    .phck-register-form .auth-submit > span:last-child { transition: none; }
}

.account-profile-page {
    background: #f3f7fc;
    color: #172d4e;
}

.profile-icon-library { display: none; }
.account-profile-page .profile-icon { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.phck-icon { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.125em; }
.account-profile-page .auth-header {
    width: 100%;
    min-height: 68px;
    margin: 0;
    padding: 0 clamp(16px, 4vw, 48px);
    background: #fff;
    box-shadow: 0 2px 12px rgba(21, 54, 91, .08);
}

.profile-topbar {
    display: flex;
    width: 100%;
    max-width: 1600px;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
}

.profile-topbar-brand { display: flex; min-width: 214px; align-items: center; gap: 10px; color: #0b3974; }
.profile-topbar-brand > img,
.profile-brand-mark { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; object-fit: contain; }
.profile-brand-mark { border-radius: 50%; background: linear-gradient(145deg, #0879ce, #073a78); color: #fff; font-size: 1.3rem; font-weight: 900; }
.profile-topbar-brand > span:last-child { display: grid; gap: 1px; }
.profile-topbar-brand strong { font-size: 1.1rem; font-weight: 900; letter-spacing: -.04em; white-space: nowrap; }
.profile-topbar-brand em { color: #f4a300; font-style: normal; }
.profile-topbar-brand small { color: #60718a; font-size: .66rem; font-weight: 650; }
.profile-topbar-nav { display: flex; min-width: 0; align-items: center; justify-content: center; gap: clamp(12px, 2.2vw, 30px); }
.profile-topbar-nav a { display: grid; justify-items: center; gap: 2px; color: #18395f; font-size: .68rem; font-weight: 750; white-space: nowrap; transition: color 150ms ease; }
.profile-topbar-nav a:hover,
.profile-topbar-nav a:focus-visible { color: #0876c9; }
.profile-topbar-nav a .profile-icon { color: #0b4d91; }
.profile-topbar-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; }
.profile-notification-link { position: relative; display: grid; width: 36px; height: 40px; place-items: center; color: #123e75; }
.profile-notification-link .profile-icon { width: 21px; height: 21px; flex-basis: 21px; }
.profile-notification-badge { position: absolute; top: 0; right: 0; display: grid; min-width: 17px; height: 17px; place-items: center; padding: 0 4px; border-radius: 999px; background: #e83232; color: #fff; font-size: .58rem; font-weight: 850; }
.profile-account-menu { position: relative; z-index: 20; }
.profile-account-menu > summary { display: flex; min-width: 42px; align-items: center; gap: 7px; color: #24466f; cursor: pointer; list-style: none; }
.profile-account-menu > summary::-webkit-details-marker { display: none; }
.profile-account-menu > summary > img,
.profile-account-initial { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border: 2px solid #d6e9fa; border-radius: 50%; background: #eaf5ff; color: #075aa4; font-weight: 850; object-fit: cover; }
.profile-account-menu-name { max-width: 120px; overflow: hidden; color: #173a64; font-size: .72rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.profile-account-menu > div { position: absolute; top: calc(100% + 10px); right: 0; display: grid; min-width: 190px; padding: 6px; border: 1px solid #dbe5ef; border-radius: 10px; background: #fff; box-shadow: 0 14px 34px rgba(19, 51, 86, .16); }
.profile-account-menu > div a,
.profile-account-menu > div button { display: block; width: 100%; padding: 10px; border: 0; border-radius: 6px; background: transparent; color: #24466f; font: inherit; font-size: .78rem; text-align: left; cursor: pointer; }
.profile-account-menu > div a:hover,
.profile-account-menu > div button:hover { background: #eef6ff; color: #075aa4; }

.account-profile-page .auth-main { display: block; width: 100%; max-width: none; min-height: 0; margin: 0; padding: 0 0 48px; }
.profile-cover { position: relative; display: flex; min-height: 148px; align-items: center; overflow: hidden; padding: 22px max(5.5vw, calc((100% - 1480px) / 2)); background-image: linear-gradient(90deg, rgba(3, 54, 112, .96), rgba(4, 97, 171, .77) 48%, rgba(3, 54, 112, .14)), var(--profile-cover-image, none), linear-gradient(105deg, #064d98, #1599e1); background-position: center, center 55%, center; background-size: cover; color: #fff; isolation: isolate; }
.profile-cover::before,
.profile-cover::after { position: absolute; z-index: -1; right: -3%; bottom: -34px; left: -3%; height: 48px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; content: ""; transform: rotate(-1.5deg); }
.profile-cover::before { bottom: -25px; background: #ffad16; }
.profile-cover::after { bottom: -34px; background: #fff; }
.profile-cover-content p { margin: 0 0 2px; color: #d7edff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.05rem, 2vw, 1.5rem); font-style: italic; }
.profile-cover-content h1 { margin: 0; color: #fff; font-size: clamp(1.75rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.profile-cover-content span { display: inline-block; margin-top: 4px; color: rgba(255,255,255,.92); font-size: .84rem; font-weight: 650; }
.profile-page-container { width: min(1480px, calc(100% - 40px)); margin: 18px auto 0; }
.profile-status { border-color: #0781ce; background: #eaf6ff; color: #104c82; }
.profile-page-grid { display: grid; grid-template-columns: minmax(210px, 250px) minmax(0, 1fr); align-items: start; gap: 18px; }
.profile-sidebar { overflow: hidden; border: 1px solid #e1eaf3; border-radius: 12px; background: #fff; box-shadow: 0 8px 26px rgba(24, 61, 100, .08); }
.profile-identity-card { display: grid; justify-items: center; padding: 18px 16px 16px; }
.profile-sidebar-avatar { position: relative; width: 92px; height: 92px; margin-bottom: 8px; }
.profile-sidebar-avatar img,
.profile-sidebar-avatar > span { display: grid; width: 100%; height: 100%; place-items: center; border: 4px solid #8bc9f5; border-radius: 50%; background: #e5f4ff; color: #075aa4; font-size: 2.5rem; font-weight: 850; object-fit: cover; }
.profile-sidebar-avatar i { position: absolute; right: 3px; bottom: 3px; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: #9aa8b8; }
.profile-sidebar-avatar i.is-active { background: #12bf66; }
.profile-identity-card h2 { margin: 0; color: #152b49; font-size: 1rem; font-weight: 850; text-align: center; }
.profile-identity-card > p { margin: 2px 0 0; color: #677b94; font-size: .72rem; }
.profile-member-number { margin-top: 8px; color: #627891; font-size: .65rem; font-weight: 650; }
.profile-home-link { display: flex; width: 100%; min-height: 38px; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; border-radius: 7px; background: linear-gradient(100deg, #087bd1, #073a78); color: #fff; font-size: .75rem; font-weight: 800; transition: filter 150ms ease, transform 150ms ease; }
.profile-home-link:hover { filter: brightness(1.08); transform: translateY(-1px); }
.profile-sidebar-nav { display: grid; padding: 0 10px 12px; }
.profile-sidebar-nav a,
.profile-sidebar-nav form button { display: flex; min-height: 39px; align-items: center; gap: 10px; padding: 0 12px; border: 0; border-bottom: 1px solid #edf1f6; background: transparent; color: #263d5b; font: inherit; font-size: .77rem; font-weight: 680; text-align: left; cursor: pointer; }
.profile-sidebar-nav a .profile-icon,
.profile-sidebar-nav form button .profile-icon { width: 18px; height: 18px; flex-basis: 18px; color: #0b4d91; }
.profile-sidebar-nav a:hover,
.profile-sidebar-nav form button:hover,
.profile-sidebar-nav a[aria-current="page"] { border-radius: 6px; background: #e9f4ff; color: #064e9a; }
.profile-sidebar-nav a[aria-current="page"] { box-shadow: inset 3px 0 #087bd1; }
.profile-sidebar-nav form button { width: 100%; border-bottom: 0; }
.profile-sidebar-motto { padding: 14px 12px; background: linear-gradient(110deg, #075aa4, #06366f); color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: .8rem; font-style: italic; font-weight: 700; text-align: center; }
.profile-sidebar-motto span { color: #ffca3a; }
.profile-main-content { display: grid; min-width: 0; gap: 16px; }
.profile-panel { min-width: 0; overflow: hidden; border: 1px solid #e1eaf3; border-radius: 12px; background: #fff; box-shadow: 0 8px 26px rgba(24, 61, 100, .07); }
.profile-panel-header { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 14px; background: linear-gradient(100deg, #0757a8, #078be0); color: #fff; }
.profile-panel-header h2 { display: flex; align-items: center; gap: 9px; margin: 0; color: #fff; font-size: .98rem; font-weight: 850; }
.profile-panel-header h2 > .profile-icon { width: 19px; height: 19px; flex-basis: 19px; }
.profile-panel-header > a { display: inline-flex; min-height: 30px; align-items: center; justify-content: center; gap: 6px; padding: 0 11px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: #fff; font-size: .68rem; font-weight: 750; white-space: nowrap; }
.profile-panel-header > a:hover { background: rgba(255,255,255,.16); }
.profile-overview-grid { display: grid; grid-template-columns: minmax(150px, 190px) minmax(250px, 1fr) minmax(175px, 215px); align-items: stretch; gap: 12px; padding: 12px; }
.profile-photo-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding: 8px; }
.profile-main-avatar { display: grid; width: 118px; height: 118px; place-items: center; overflow: hidden; border: 3px solid #1689dc; border-radius: 50%; background: linear-gradient(145deg, #d9f0ff, #90d0ff); box-shadow: 0 0 0 4px #e4f3ff; color: #075aa4; font-size: 3.2rem; font-weight: 850; }
.profile-main-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-card > strong { max-width: 100%; overflow-wrap: anywhere; color: #183656; font-size: .86rem; text-align: center; }
.profile-photo-role { color: #687e97; font-size: .7rem; }
.profile-status-chip { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; padding: 5px 10px; border: 1px solid #f5d192; border-radius: 999px; background: #fff7e6; color: #99600a; font-size: .67rem; font-weight: 800; }
.profile-status-chip.is-active { border-color: #a7ebc7; background: #ecfff4; color: #117b48; }
.profile-status-chip.is-inactive { border-color: #ffc5c5; background: #fff1f1; color: #af3434; }
.profile-details-list { align-self: stretch; margin: 0; padding: 0 12px; border: 1px solid #e2eaf3; border-radius: 9px; }
.profile-details-list > div { display: grid; grid-template-columns: minmax(130px, .75fr) minmax(0, 1fr); gap: 10px; min-height: 39px; align-items: center; border-bottom: 1px solid #e9eef4; }
.profile-details-list > div:last-child { border-bottom: 0; }
.profile-details-list dt { display: flex; align-items: center; gap: 8px; color: #3a4d68; font-size: .7rem; font-weight: 700; }
.profile-details-list dt .profile-icon { width: 16px; height: 16px; flex-basis: 16px; color: #075aa4; }
.profile-details-list dd { min-width: 0; margin: 0; padding-left: 10px; border-left: 1px solid #e4eaf1; color: #26364e; font-size: .71rem; font-weight: 700; overflow-wrap: anywhere; }
.profile-stats-card { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-content: start; gap: 8px; }
.profile-stats-card h3 { grid-column: 1 / -1; margin: 0; padding: 10px; border-radius: 7px 7px 0 0; background: #084b8f; color: #fff; font-size: .8rem; }
.profile-stat-tile { display: grid; min-height: 80px; align-content: center; justify-items: center; gap: 3px; padding: 7px 4px; border-radius: 9px; text-align: center; }
.profile-stat-tile > .profile-icon { width: 20px; height: 20px; flex-basis: 20px; }
.profile-stat-tile strong { color: #172d4e; font-size: .84rem; }
.profile-stat-tile small { color: #455e7a; font-size: .64rem; }
.profile-stat-tile.is-blue { background: #e4f3ff; color: #0873c6; }
.profile-stat-tile.is-green { background: #e5fbed; color: #109a55; }
.profile-stat-tile.is-orange { background: #fff3df; color: #d87b08; }
.profile-stat-tile:last-child { grid-column: 1 / -1; }
.profile-completion-note { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 14px 12px; padding: 10px 12px; border-left: 3px solid #e5a11a; border-radius: 5px; background: #fff8e9; color: #73511b; font-size: .74rem; }
.profile-completion-note a { color: #075aa4; font-weight: 800; text-decoration: underline; }
.profile-edit-disclosure { margin: 0 12px 12px; border: 1px solid #dce8f4; border-radius: 8px; }
.profile-edit-disclosure > summary { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px; color: #075aa4; font-size: .76rem; font-weight: 800; cursor: pointer; list-style: none; }
.profile-edit-disclosure > summary::-webkit-details-marker { display: none; }
.profile-edit-disclosure[open] > summary { border-bottom: 1px solid #e3edf6; }
.profile-edit-disclosure > summary > .profile-icon { transition: transform 150ms ease; }
.profile-edit-disclosure[open] > summary > .profile-icon { transform: rotate(45deg); }
.profile-edit-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 14px; padding: 14px; }
.profile-edit-form > label,
.profile-edit-form > input,
.profile-edit-form > textarea,
.profile-edit-form > select,
.profile-edit-form > small,
.profile-edit-form > p,
.profile-edit-form > fieldset,
.profile-edit-form > button { grid-column: 1 / -1; }
.profile-edit-form textarea,
.profile-edit-form select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #ccd9e7; border-radius: 7px; background: #fff; color: #183656; font: inherit; }
.profile-edit-form input:focus-visible,
.profile-edit-form textarea:focus-visible,
.profile-edit-form select:focus-visible { outline: 3px solid rgba(7, 90, 164, .15); border-color: #1689dc; }
.profile-edit-form fieldset { min-width: 0; }
.profile-edit-form .profile-title-options-list label { display: inline-flex; align-items: center; gap: 6px; }
.profile-edit-form .profile-title-options-list input { width: 16px; height: 16px; accent-color: #087bd1; }
.profile-edit-form .profile-title-options-list input:disabled { cursor: not-allowed; }
.profile-edit-form .auth-submit { background: linear-gradient(100deg, #087bd1, #0754a2); }
.profile-edit-form .auth-submit:hover { background: #064487; }
.profile-lower-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 16px; }
.profile-activity-list { display: grid; margin: 0; padding: 3px 14px 8px; list-style: none; }
.profile-activity-list li { display: flex; min-height: 52px; align-items: center; gap: 11px; border-bottom: 1px solid #e9eef4; }
.profile-activity-list li:last-child { border-bottom: 0; }
.profile-activity-dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #1591df; box-shadow: 0 0 0 4px #e7f4ff; }
.profile-activity-list li > div { display: grid; gap: 4px; min-width: 0; }
.profile-activity-list strong { color: #203d60; font-size: .74rem; }
.profile-activity-list time { color: #7a8ca2; font-size: .64rem; }
.profile-empty-activity { margin: 0; padding: 18px 14px; color: #75869b; font-size: .74rem; }
.profile-security-panel > p { margin: 13px 15px 10px; color: #536a84; font-size: .76rem; line-height: 1.55; }
.profile-security-link { display: inline-flex; min-height: 36px; align-items: center; gap: 8px; margin: 0 15px 12px; padding: 0 12px; border-radius: 6px; background: #e9f4ff; color: #075aa4; font-size: .73rem; font-weight: 800; }
.profile-security-link:hover { background: #d8edff; }
.profile-security-footer { padding: 9px 14px; border-top: 1px solid #e9eef4; color: #8392a5; font-size: .64rem; }
.profile-security-panel > .profile-security-link { border: 0; font-family: inherit; cursor: pointer; }
.profile-security-link .profile-icon,
.profile-panel-header > a .profile-icon { width: 15px; height: 15px; flex-basis: 15px; }
.profile-password-dialog { position: fixed; top: 50%; left: 50%; width: min(440px, calc(100% - 32px)); max-width: none; max-height: min(90vh, 720px); margin: 0; overflow-y: auto; padding: 22px; transform: translate(-50%, -50%); border: 1px solid #dce8f4; border-radius: 14px; background: #fff; color: #193550; box-shadow: 0 24px 80px rgba(13, 42, 75, .24); }
.profile-password-dialog::backdrop { background: rgba(15, 35, 57, .58); backdrop-filter: blur(3px); }
.profile-password-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.profile-password-dialog-header .kicker { margin: 0 0 4px; color: #0781c9; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.profile-password-dialog-header h2 { margin: 0; color: #153b60; font-size: 1.25rem; }
.profile-password-dialog-close { display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 50%; background: #edf4fa; color: #49627c; font-size: 1.4rem; cursor: pointer; }
.profile-password-dialog-lead { margin: 12px 0 18px; color: #60758b; font-size: .82rem; line-height: 1.5; }
.profile-password-form { display: grid; gap: 9px; }
.profile-password-form label { margin-top: 4px; color: #27435f; font-size: .75rem; font-weight: 750; }
.profile-password-form input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #cfdeeb; border-radius: 7px; background: #fbfdff; color: #193550; font: inherit; }
.profile-password-form input:focus { border-color: #0781c9; outline: 3px solid rgba(7, 129, 201, .14); }
.profile-password-form .auth-submit { width: 100%; margin-top: 8px; }
.profile-password-form .auth-error { margin: -3px 0 2px; }
.profile-password-form .phck-password-requirements { margin: -3px 0 3px; color: #72869a; font-size: .68rem; line-height: 1.45; }
.profile-password-dialog-note { margin: 16px 0 0; color: #8392a5; font-size: .68rem; }

@media (max-width: 1120px) {
    .profile-topbar { gap: 12px; }
    .profile-topbar-brand { min-width: 190px; }
    .profile-topbar-nav { gap: 13px; }
    .profile-overview-grid { grid-template-columns: minmax(140px, 175px) minmax(220px, 1fr); }
    .profile-stats-card { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .profile-stats-card h3 { grid-column: 1 / -1; }
    .profile-stat-tile:last-child { grid-column: auto; }
}

@media (max-width: 820px) {
    .account-profile-page .auth-header { padding: 0 16px; }
    .profile-topbar { flex-wrap: wrap; gap: 0 12px; padding: 8px 0 0; }
    .profile-topbar-brand { flex: 1; }
    .profile-topbar-nav { order: 3; width: 100%; justify-content: flex-start; gap: 22px; overflow-x: auto; padding: 8px 2px 10px; scrollbar-width: thin; }
    .profile-topbar-nav a { display: inline-flex; gap: 6px; font-size: .72rem; }
    .profile-cover { min-height: 132px; }
    .profile-page-grid { grid-template-columns: 1fr; }
    .profile-sidebar { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr); align-items: center; }
    .profile-identity-card { grid-row: span 2; }
    .profile-sidebar-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; }
    .profile-sidebar-motto { grid-column: 2; }
}

@media (max-width: 580px) {
    .account-profile-page .auth-header { min-height: 0; padding-inline: 12px; }
    .profile-topbar-brand { min-width: 0; }
    .profile-topbar-brand > img,
    .profile-brand-mark { width: 40px; height: 40px; flex-basis: 40px; }
    .profile-topbar-brand strong { font-size: .94rem; }
    .profile-topbar-brand small { font-size: .58rem; }
    .profile-topbar-actions { gap: 7px; }
    .profile-account-menu-name { display: none; }
    .profile-topbar-nav { gap: 18px; }
    .profile-topbar-nav a { font-size: .68rem; }
    .profile-topbar-nav a .profile-icon { width: 16px; height: 16px; flex-basis: 16px; }
    .profile-cover { min-height: 120px; padding-inline: 20px; background-position: center, 58% center, center; }
    .profile-page-container { width: calc(100% - 24px); margin-top: 12px; }
    .profile-page-grid { gap: 12px; }
    .profile-sidebar { grid-template-columns: 1fr; }
    .profile-identity-card { grid-row: auto; }
    .profile-sidebar-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-sidebar-motto { grid-column: 1; }
    .profile-overview-grid { grid-template-columns: minmax(0, 1fr); padding: 10px; }
    .profile-photo-card { padding: 10px; }
    .profile-details-list { padding: 0 9px; }
    .profile-details-list > div { grid-template-columns: minmax(115px, .8fr) minmax(0, 1fr); gap: 7px; min-height: 42px; }
    .profile-details-list dt { gap: 5px; font-size: .65rem; }
    .profile-details-list dd { padding-left: 7px; font-size: .66rem; }
    .profile-stats-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-stat-tile:last-child { grid-column: 1 / -1; }
    .profile-lower-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .profile-edit-form { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .profile-topbar-nav a,
    .profile-home-link,
    .profile-edit-disclosure > summary > .profile-icon { transition: none; }
}
