:root { --blue: #1a73e8; --blue-dark: #0d4ea8; --ink: #1c2430; }
body { font-family: Poppins, "Source Sans 3", sans-serif; background: #f4f7fb; color: var(--ink); }
.site-chrome { position: sticky; top: 0; z-index: 30; background: #fff; }
.site-header { position: static; }
h1, h2, h3 { font-family: Poppins, "Source Sans 3", sans-serif; font-weight: 700; letter-spacing: 0; }
.topbar { background: var(--blue); color: #fff; font-size: 14px; }
.ticker { background: #0b3f86; color: #fff; overflow: hidden; height: 36px; display: flex; align-items: center; }
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 8px; padding-right: 80px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ticker-track i { font-size: 16px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.topbar-inner { display: flex; justify-content: center; gap: 10px 28px; min-height: 42px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 500; }
.topbar-item i, .topbar i { margin-right: 0; font-size: 16px; }
.nav-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #d7e4f5; display: block; }
.nav-avatar-icon { display: flex; align-items: center; justify-content: center; background: #e8f1fd; color: var(--blue); }
.nav-avatar-icon i { font-size: 20px; }
.nav-account { position: relative; }
.nav-account summary { list-style: none; cursor: pointer; display: flex; align-items: center; }
.nav-account summary::-webkit-details-marker { display: none; }
.nav-account > div { position: absolute; right: 0; top: calc(100% + 10px); z-index: 40; min-width: 190px; padding: 6px; background: #fff; border: 1px solid #d7e4f5; border-radius: 14px; box-shadow: 0 16px 40px rgba(16, 40, 70, .12); }
.nav-account a, .nav-account button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: #1c2430; font: inherit; font-weight: 600; font-size: 14px; text-decoration: none; text-align: left; cursor: pointer; }
.nav-account a i, .nav-account button i { color: var(--blue); font-size: 18px; }
.nav-account a:hover, .nav-account button:hover { background: #e8f1fd; color: var(--blue-dark); }
.topbar a { color: #fff; }
.site-header { background: #fff; color: var(--ink); border-bottom: 0; box-shadow: 0 1px 0 #e6ebf2; }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 20px; }
.brand { flex: 0 0 auto; }
.brand-logo { height: 60px; width: auto; max-width: none; }
.nav-links a { color: #3d4a5c; font-weight: 600; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a.button, .button, button.button { background: var(--blue); color: #fff; border-radius: 4px; padding: 12px 22px; }
.button.light { background: #fff; color: var(--blue); }
.hero {
    background:
        linear-gradient(90deg, rgba(16, 32, 58, .62) 0%, rgba(16, 32, 58, .28) 46%, rgba(16, 32, 58, .08) 100%),
        url("../sitepad-data/uploads/2022/09/home-header01.jpg") center 30% / cover no-repeat;
    min-height: 640px;
    padding: 90px 0;
}
.hero h1 { color: #fff; font-size: clamp(36px, 4.4vw, 54px); max-width: 640px; margin: 0 0 16px; }
.hero .lede { color: #f4f7fb; max-width: 560px; font-size: 18px; }
.hero .button { background: var(--blue); color: #fff; }
.hero .button.light { background: #fff; color: var(--blue); }
.page-banner {
    background:
        linear-gradient(rgba(18, 40, 72, .55), rgba(18, 40, 72, .55)),
        url("../sitepad-data/uploads/2022/10/header01.jpg") center 40% / cover no-repeat;
    text-align: center;
    padding: 88px 0;
}
.page-banner h1, .page-banner .lede, .page-banner .kicker { color: #fff; }
.page-banner .lede { margin: 10px auto 0; }
.kicker { color: var(--blue); letter-spacing: .08em; }
.tiles { padding: 28px 0 10px; background: #fff; }
.filters a.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { display: block; position: relative; border-radius: 16px; overflow: hidden; min-height: 240px; }
.tile img { width: 100%; height: 240px; object-fit: cover; display: block; }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; background: linear-gradient(transparent, rgba(8, 20, 40, .78)); font-weight: 700; font-size: 18px; }
.tile small { display: block; font-weight: 500; font-size: 13px; opacity: .9; }
.section { padding: 72px 0; background: #fff; }
.section.soft { background: #f5f8fc; }
.section.tight { padding: 36px 0 56px; }
.facts { background: #fff; border-bottom: 1px solid #e6ebf2; }
.fact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.fact-row div { padding: 16px 18px; border-right: 1px solid #e6ebf2; }
.fact-row div:last-child { border-right: 0; }
.fact-row b { display: block; color: var(--blue); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.fact-row span { display: block; font-weight: 600; }
.detail, .verify-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.verify-layout { grid-template-columns: 400px minmax(0, 1fr); align-items: stretch; }
.detail-copy p { color: #3d4a5c; line-height: 1.7; }
.detail-photo { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; display: block; margin-bottom: 16px; }
.note { background: #e8f1fd; color: #16345c; border-radius: 10px; padding: 14px 16px; }
.register-card { background: #fff; border: 1px solid #d7e4f5; border-top: 4px solid var(--blue); border-radius: 12px; padding: 22px; }
.register-card h3 { margin: 0 0 6px; }
.register-card > p { color: #5c6778; margin-top: 0; }
.date-row { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid #e6ebf2; }
.date-row b { color: var(--blue); }
.date-row small { display: block; color: #5c6778; font-weight: 500; }
.materials { display: grid; gap: 8px; margin: 16px 0; }
.materials h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 16px; }
.material { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #d7e4f5; border-radius: 12px; background: #f7faff; color: inherit; }
.material i { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: #e8f1fd; color: #1a73e8; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.material strong { display: block; font-size: 14px; }
.material small { display: block; color: #5c6778; font-size: 12px; }
.map { border: 0; width: 100%; height: 280px; border-radius: 12px; }
.step-card.plain { min-height: 100%; }
.service-grid.four { grid-template-columns: repeat(4, 1fr); }
.eyebrow { color: var(--blue); font-weight: 700; margin-bottom: 6px; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; margin-bottom: 28px; }
.split-head h2, .section h2 { font-size: 40px; margin: 0; }
.split-head p, .copy p { color: #5c6778; line-height: 1.65; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.about-grid img, .about-photo { width: 100%; height: 420px; object-fit: cover; border-radius: 16px; display: block; }
.points { display: grid; gap: 16px; margin-top: 18px; }
.points > div { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.points strong { display: block; }
.points p { margin: 4px 0 0; }
.points b { width: 42px; height: 42px; border-radius: 50%; background: #e8f1fd; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { background: #fff; border: 1px solid #d7e4f5; border-top: 3px solid var(--blue); border-radius: 8px; padding: 22px; min-height: 210px; display: flex; flex-direction: column; gap: 8px; }
.service p { color: #5c6778; line-height: 1.55; margin: 0; }
.service a { margin-top: auto; color: var(--blue); font-weight: 700; }
.shot-card { padding: 0; overflow: hidden; height: 100%; }
.shot-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.shot-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.event-list { display: grid; gap: 14px; }
.event-row { display: grid; grid-template-columns: 220px 72px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid #e4e8ef; border-radius: 14px; overflow: hidden; padding-right: 16px; }
.event-row img { width: 220px; height: 140px; object-fit: cover; }
.event-date { text-align: center; }
.event-date b { display: block; font-size: 28px; color: var(--blue); line-height: 1; }
.event-date span { color: #5c6778; font-size: 13px; }
.event-row h3 { margin: 0 0 4px; font-size: 20px; }
.event-row p { margin: 0 0 6px; color: #5c6778; }
.shot-body h3 { margin: 0; font-size: 20px; }
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.certificate .badges { display: flex; flex-wrap: wrap; justify-content: center; }
.badges.inline { display: flex; flex-wrap: wrap; margin-top: 6px; }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 8px; border-radius: 8px; background: #f3f7fc; border: 1px solid #d7e6f6; color: #1c3d66; font-size: 12px; font-weight: 700; line-height: 1.2; }
.badge i { color: var(--blue); font-size: 14px; }
.shot-body .badges { margin-top: auto; }
.shot-body .button { margin-top: 12px; }
.event-row .badges { grid-template-columns: repeat(3, max-content); margin-top: 8px; }
.steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e4e8ef; }
.step-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.step-card div { padding: 18px; }
.step-card em { color: var(--blue); font-style: normal; font-weight: 700; }
.cta {
    background:
        linear-gradient(rgba(13, 78, 168, .82), rgba(13, 78, 168, .82)),
        url("../sitepad-data/uploads/2022/09/counter-bg.jpg") center / cover no-repeat;
    color: #fff;
    padding: 72px 0;
    text-align: center;
}
.cta h2 { font-size: 36px; margin: 0 0 10px; }
.cta p { max-width: 640px; margin: 0 auto 18px; }
.cta .button { background: #fff; color: var(--blue); }
.site-footer { background: #102846; padding: 48px 0 28px; }
.footer-grid { grid-template-columns: 1.3fr .8fr .8fr .9fr; }
.footer-logo { height: 64px; }
.nav-links { flex-wrap: nowrap; justify-content: flex-end; align-items: center; gap: 2px 14px; margin-left: auto; }
.nav-links a, .nav-links .nav-logout button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav-links .nav-logout { margin: 0; display: inline-flex; }
.nav-links .nav-logout button { background: none; border: 0; color: #3d4a5c; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; padding: 0; }
.nav-links .nav-logout button:hover { color: var(--blue); }
.nav-links a { font-size: 14px; }
.nav-links a i { font-size: 16px; }
.nav-links a.button { padding: 8px 14px; line-height: 1.2; }
.nav-toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-burger { display: none; }
.topbar i { margin-right: 0; }
.crumb { margin: 0 0 8px; font-size: 13px; }
.crumb a, .crumb i, .crumb span { color: #fff; }
.crumb i { font-size: 11px; margin: 0 4px; }
.kicker i { margin-right: 6px; }
.fact-row div { display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; align-items: center; text-align: left; }
.fact-row i { grid-row: span 2; font-size: 22px; color: var(--blue); }
.fact-row b { margin-bottom: 0; }
.detail { align-items: stretch; }
.story-card { background: #fff; border: 1px solid #d7e4f5; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.detail-pad { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.detail-photo { border-radius: 0; margin: 0; }
.note { display: flex; gap: 8px; align-items: flex-start; margin-top: auto; }
.note i { font-size: 20px; }
.register-card { display: flex; flex-direction: column; height: 100%; }
.register-card h3 { display: flex; align-items: center; gap: 8px; }
.register-card .button { width: 100%; margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.service > i { font-size: 28px; color: var(--blue); }
.step-card.plain i { display: block; font-size: 28px; color: var(--blue); margin-bottom: 8px; }
.steps-3 { align-items: stretch; }
.step-card { height: 100%; }
.page-banner { padding: 52px 0 46px; }
.auth-screen { background: #f4f7fb; padding: 36px 0 64px; }
.auth-shell { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid #d7e4f5; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 50px rgba(16, 40, 70, .08); min-height: 680px; }
.auth-aside { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 48px 42px; color: #fff; background: linear-gradient(165deg, rgba(13, 78, 168, .94), rgba(12, 32, 58, .92)), url("../sitepad-data/uploads/2022/09/home-header01.jpg") center / cover no-repeat; }
.auth-mark { background: #fff; width: max-content; border-radius: 14px; padding: 10px 14px; }
.auth-mark img { height: 62px; display: block; }
.auth-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #d6e6ff; }
.auth-kicker.dark { color: var(--blue); }
.auth-aside h1 { margin: 0 0 10px; font-size: 36px; line-height: 1.15; color: #fff; }
.auth-aside p { margin: 0; color: #e7eef8; line-height: 1.6; max-width: 360px; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.auth-points li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.auth-points i { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.auth-points strong { display: block; }
.auth-points span { font-size: 14px; color: #d5e2f4; line-height: 1.4; }
.auth-panel { display: flex; flex-direction: column; justify-content: center; padding: 42px 44px; }
.auth-head h2 { margin: 0 0 18px; font-size: 30px; }
.auth-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.auth-fields .wide { grid-column: 1 / -1; }
.auth-fields .field { margin: 0; }
.field-icon { position: relative; }
.field-icon > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 18px; pointer-events: none; }
.field-icon input { padding-left: 42px; min-height: 48px; }
.auth-panel .button { width: 100%; min-height: 50px; margin-top: 18px; border-radius: 10px; gap: 8px; font-size: 16px; }
.auth-check { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; color: #3d4a5c; }
.auth-check input { width: 16px; height: 16px; margin: 0; }
.auth-check i { color: var(--blue); }
.auth-switch { text-align: center; margin: 16px 0 0; color: #5c6778; }
.auth-switch a { color: var(--blue); font-weight: 700; }
.auth-note { margin: 0 0 14px; color: #3d4a5c; text-align: center; }
.auth-error { display: flex; align-items: center; gap: 8px; background: #fdecef; color: #9b2330; border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.auth-panel .flash { display: flex; align-items: center; gap: 8px; }
.otp-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.otp-row input { text-align: center; font-size: 26px; font-weight: 700; padding: 12px 0; min-height: 64px; border-radius: 12px; }
.auth-resend { margin: 14px 0 0; text-align: center; }
.auth-resend button { background: none; border: 0; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
@media print {
    .site-chrome, .page-banner, .facts, .verify-layout, .site-footer, .no-print { display: none !important; }
    body { background: #fff; }
    .certificate, .cert-sheet, .invoice-sheet { box-shadow: none; }
}
.page-banner .lede { max-width: 680px; }
.portal-screen { background: #f4f7fb; }
.portal { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 22px; width: min(1180px, 100%); padding-top: 28px; padding-bottom: 64px; align-items: start; }
.portal-side { position: sticky; top: 176px; background: #fff; border: 1px solid #d7e4f5; border-radius: 18px; padding: 16px 12px 14px; box-shadow: 0 12px 32px rgba(16, 40, 70, .05); }
.portal-user { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; padding: 4px 8px 14px; margin-bottom: 8px; border-bottom: 1px solid #e6ebf2; }
.portal-avatar { width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; line-height: 0; object-fit: cover; }
.portal-avatar i { font-size: 24px; color: #fff; line-height: 1; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.portal-avatar i::before { display: block; line-height: 1; }
.photo-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; margin: 4px 0 16px; }
.photo-frame { width: 72px; height: 72px; }
.photo-frame img, .photo-frame .portal-avatar { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; display: flex; align-items: center; justify-content: center; }
.photo-frame .portal-avatar i { width: 32px; height: 32px; font-size: 32px; }
.photo-picker { position: relative; min-width: 0; }
.photo-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.photo-trigger { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border: 1.5px dashed #9ebcf0; border-radius: 14px; background: #f4f8fd; color: var(--blue-dark); cursor: pointer; }
.photo-trigger i { width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 auto; }
.photo-trigger strong { display: block; font-size: 14px; }
.photo-trigger small { display: block; margin-top: 2px; color: #5c6778; font-size: 12px; font-weight: 500; }
.photo-trigger:hover, .photo-input:focus + .photo-trigger { border-color: var(--blue); background: #e8f1fd; }
.photo-remove { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; color: #3d4a5c; font-size: 13px; }
.photo-remove input { width: 16px; height: 16px; margin: 0; }
.client-photo { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; display: block; margin: 0 0 14px; }
.portal-user strong, .portal-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-user small { color: #5c6778; font-size: 12px; margin-top: 2px; }
.portal-label { margin: 14px 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8aa0b8; }
.portal-nav a, .portal-signout button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border-radius: 12px; color: #3d4a5c; font: inherit; font-weight: 600; text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.portal-nav a i, .portal-signout button i { font-size: 20px; width: 22px; color: var(--blue); }
.portal-nav a span { flex: 1; }
.portal-nav a b { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #e8f1fd; color: var(--blue); font-size: 12px; text-align: center; }
.portal-nav a.active, .portal-nav a:hover, .portal-signout button:hover { background: #e8f1fd; color: var(--blue-dark); }
.portal-signout { margin-top: 8px; padding-top: 8px; border-top: 1px solid #e6ebf2; }
.portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.portal-head h1 { margin: 0; font-size: 32px; }
.portal-head p { margin: 6px 0 0; color: #5c6778; }
.portal-crumb { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; color: #5c6778; font-size: 13px; font-weight: 600; }
.portal-crumb a { color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.portal-crumb > i { font-size: 12px; }
.portal-head .button, .portal-empty .button, .panel > .button { display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; }
.portal-flash { display: flex; align-items: center; gap: 8px; }
.portal-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: center; background: #fff; border: 1px solid #d7e4f5; border-radius: 16px; padding: 16px; }
.stat-card > i { width: 46px; height: 46px; border-radius: 14px; background: #e8f1fd; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.stat-card b { display: block; font-size: 22px; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; }
.stat-card span { color: #5c6778; font-size: 13px; font-weight: 600; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 18px; align-items: start; }
.panel { background: #fff; border: 1px solid #d7e4f5; border-radius: 18px; padding: 20px 22px 22px; box-shadow: 0 12px 32px rgba(16, 40, 70, .04); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.panel-head h2 { margin: 0; font-size: 20px; display: flex; align-items: center; gap: 8px; }
.panel-head h2 i { color: var(--blue); }
.panel-head a { color: var(--blue); font-weight: 700; font-size: 14px; text-decoration: none; }
.booking { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid #e6ebf2; }
.booking-date { background: #e8f1fd; color: var(--blue-dark); border-radius: 14px; text-align: center; padding: 10px 4px; align-self: start; }
.booking-date b { display: block; font-size: 20px; line-height: 1; }
.booking-date span { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.booking h3 { margin: 0 0 4px; font-size: 17px; }
.booking h3 a { color: inherit; text-decoration: none; }
.booking h3 a:hover { color: var(--blue); }
.booking p { margin: 0; color: #5c6778; font-size: 14px; line-height: 1.5; }
.booking-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.booking-meta .pill { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.booking-meta .pill.registered { background: #e8f1fd; color: var(--blue-dark); }
.booking-meta .pill.attended { background: #e8f6ee; color: #0d5c32; }
.booking-meta .pill.cancelled { background: #fdecef; color: #9b2330; }
.portal-empty { text-align: center; padding: 28px 12px 12px; }
.portal-empty > i { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 18px; background: #e8f1fd; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.portal-empty strong { display: block; font-size: 18px; }
.portal-empty p { color: #5c6778; margin: 6px auto 16px; max-width: 360px; }
.portal-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.portal-fields .wide { grid-column: 1 / -1; }
.portal-fields .field { margin: 0; }
.portal-split { display: flex; align-items: center; gap: 8px; margin: 18px 0 12px; padding-top: 16px; border-top: 1px solid #e6ebf2; font-weight: 700; color: #3d4a5c; }
.portal-split i { color: var(--blue); }
.panel > .button { width: 100%; margin-top: 16px; min-height: 48px; }
.panel .error { display: flex; align-items: center; gap: 8px; background: #fdecef; border-radius: 10px; padding: 12px 14px; }
.portal-burger, .portal-backdrop { display: none; }
@media (max-width: 1240px) {
    .nav { flex-wrap: wrap; min-height: 72px; }
    .nav-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #d7e4f5; border-radius: 8px; font-size: 22px; color: #0b1f3a; cursor: pointer; margin-left: auto; }
    .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; margin-left: 0; padding: 4px 0 12px; }
    .nav-toggle:checked ~ .nav-links { display: flex; }
    .nav-links a.button { align-self: flex-start; }
    .nav-account > div { position: static; min-width: 0; margin-top: 6px; box-shadow: none; }
}
@media (max-width: 900px) {
    .tile-grid, .service-grid, .service-grid.four, .steps-3, .about-grid, .split-head, .footer-grid, .detail, .verify-layout { grid-template-columns: 1fr; }
    .fact-row { grid-template-columns: 1fr 1fr; }
    .fact-row div { border-right: 0; border-bottom: 1px solid #e6ebf2; }
    .nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 72px; }
    .brand-logo { height: 52px; }
    .nav-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #d7e4f5; border-radius: 8px; font-size: 22px; color: #0b1f3a; cursor: pointer; }
    .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 4px 0 14px; }
    .nav-toggle:checked ~ .nav-links { display: flex; }
    .nav-links a, .nav-links .nav-logout button { padding: 10px 4px; }
    .event-row { grid-template-columns: 1fr; padding: 0 0 14px; }
    .event-row .badges, .badges { grid-template-columns: 1fr 1fr; }
    .event-row img { width: 100%; height: 180px; }
    .topbar-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; }
    .hero { min-height: 0; padding: 48px 0; }
    .about-grid img { height: 240px; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-aside { min-height: 0; padding: 28px 22px; }
    .auth-panel { padding: 28px 22px 32px; }
    .auth-fields { grid-template-columns: 1fr; }
    .otp-row { gap: 6px; }
    .otp-row input { font-size: 22px; min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
    .ticker { height: auto; }
    .ticker-track { animation: none; }
    .ticker-track span[aria-hidden="true"] { display: none; }
    .ticker-track span { white-space: normal; padding: 8px 20px; }
}
@media (max-width: 1080px) {
    .portal-stats { grid-template-columns: 1fr 1fr; }
    .portal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .portal { grid-template-columns: 1fr; }
    .portal-burger { display: inline-flex; align-items: center; gap: 8px; justify-self: start; width: auto; margin-bottom: 14px; background: #fff; border: 1px solid #d7e4f5; border-radius: 10px; padding: 10px 14px; font: inherit; font-weight: 700; color: #0b1f3a; cursor: pointer; }
    .portal-side { position: fixed; z-index: 40; top: 0; left: 0; bottom: 0; width: min(300px, 86vw); border-radius: 0; transform: translateX(-105%); transition: transform .2s ease; overflow: auto; }
    body.portal-open .portal-side { transform: none; }
    .portal-backdrop { position: fixed; inset: 0; background: rgba(8, 20, 40, .45); z-index: 35; }
    body.portal-open .portal-backdrop { display: block; }
    .portal-head { flex-direction: column; align-items: flex-start; }
    .portal-head h1 { font-size: 26px; }
    .portal-fields { grid-template-columns: 1fr; }
}
.fee-note { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; background: #e8f1fd; color: #16345c; border-radius: 12px; padding: 12px 14px; line-height: 1.5; }
.register-card > .fee-note { margin: 4px 0 12px; color: #16345c; }
.fee-note i { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; }
.fee-note i::before { display: block; line-height: 1; }
.section .cert-sheet h1, .section .certificate h1 { margin: 14px 0 0; font-size: var(--cert-heading, 28px); letter-spacing: .12em; color: var(--cert-ink, #0d2f6b); font-weight: 700; }
.section .cert-sheet.is-placed [data-part] { margin: 0; }
.section .cert-sheet h2, .section .certificate h2 { margin: 8px 0; font-size: var(--cert-name, 40px); font-weight: 600; letter-spacing: 0; color: var(--cert-ink, #0d2f6b); }
.section .cert-sheet p, .section .certificate p { margin: 8px 0 0; }
.step-card.plain i { width: 46px; height: 46px; border-radius: 14px; background: #e8f1fd; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; line-height: 1; }
.step-card.plain i::before { display: block; line-height: 1; }
.pay-choice small { display: block; margin-top: 2px; }
.fact-row { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.fact-row > div { min-width: 0; }
.fact-row span { overflow-wrap: anywhere; }
.fact-row i { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; line-height: 1; }
.fact-row i::before, .field-icon > i::before, .service > i::before, .site-footer i::before { display: block; line-height: 1; }
.field-icon > i { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; line-height: 1; }
.service > i { width: 46px; height: 46px; border-radius: 14px; background: #e8f1fd; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 4px; }
.detail { align-items: stretch; }
.detail > .story-card, .detail > .register-card { align-self: stretch; height: auto; }
.detail > .story-card { display: flex; flex-direction: column; }
.detail > .story-card .map { flex: 1 1 auto; height: auto; min-height: 260px; border-radius: 0; }
form.register-card, .detail > .register-card { display: flex; flex-direction: column; }
form.register-card > .button, .detail > .register-card > .button { margin-top: auto; }
.detail > .register-card > form { display: flex; flex-direction: column; flex: 1; }
.detail > .register-card form .button { margin-top: auto; width: 100%; }
.section.tight { padding: 28px 0 36px; }
.site-footer a, .site-footer p { display: flex; align-items: flex-start; gap: 8px; line-height: 1.45; }
.site-footer i { color: #9ec2ff; font-size: 16px; margin-top: 2px; flex: 0 0 16px; }
.site-footer strong { display: block; }
