@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
    --ink: #173d47;
    --muted: #647e86;
    --teal: #007f88;
    --cyan: #04b5cd;
    --line: #dbe7e9;
    --wash: #f2f8f8;
    --white: #fff;
    --success: #227853;
    --amber: #916416;
    --radius: 16px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: Manrope, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.65;
}
button,
input,
select {
    font: inherit;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: default;
    opacity: 0.5;
}
button,
input,
select {
    border-radius: 8px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid #55bec7;
    outline-offset: 4px;
}
button {
    color: inherit;
}
svg.icon {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h1,
h2,
h3 {
    line-height: 1.22;
    letter-spacing: -0.04em;
}
h1 {
    font-weight: 800;
}
h2 {
    font-size: 36px;
    font-weight: 800;
}
h3 {
    font-size: 20px;
    font-weight: 750;
}
p {
    color: var(--muted);
}
.container {
    width: min(1232px, calc(100% - 96px));
    margin: auto;
}
.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    line-height: 1.35;
    flex-shrink: 0;
}
.logo img {
    width: 39px;
    height: 43px;
    object-fit: contain;
}
.logo strong {
    font-size: 18px;
    letter-spacing: -0.5px;
    display: block;
}
.logo small {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.2px;
    display: block;
}
.btn {
    min-height: 46px;
    border: 1px solid var(--teal);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    background: var(--teal);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    border-radius: 8px;
    transition:
        background 0.16s,
        border-color 0.16s;
}
.btn:hover {
    background: #006b74;
    border-color: #006b74;
}
.btn.secondary {
    background: #fff;
    color: var(--ink);
    border-color: #c8dce0;
}
.btn.secondary:hover {
    background: var(--wash);
    border-color: #9abcc2;
}
.btn.quiet {
    background: transparent;
    border-color: transparent;
    color: var(--teal);
    padding-inline: 4px;
}
.btn.small {
    min-height: 38px;
    padding: 7px 14px;
    font-size: 12px;
}
.row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.between {
    justify-content: space-between;
}
.text-link {
    font-size: 13px;
    font-weight: 750;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hint {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
}
.badge {
    font-size: 11px;
    font-weight: 750;
    border-radius: 5px;
    padding: 4px 9px;
    background: #e8f6f3;
    color: var(--success);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.6;
}
.badge.pending {
    background: #fff5e0;
    color: var(--amber);
}
.badge.neutral {
    background: #edf3f5;
    color: #556d79;
}
.badge.light {
    background: #ffffff20;
    color: #fff;
}
.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}
.actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    background: #fff;
}
body.ksh-live-public main section[id] {
    scroll-margin-top: 108px;
}
.nav-shell {
    height: 91px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 12px;
    font-weight: 650;
}
.nav-links > a,
.nav-links summary {
    padding: 12px 0;
}
.nav-links .selected {
    color: var(--teal);
}
.nav-links details {
    position: relative;
}
.nav-links summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links details div {
    position: absolute;
    top: 44px;
    left: -18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 26px #193d4710;
    padding: 10px;
    border-radius: 10px;
    z-index: 10;
    min-width: 190px;
}
.nav-links details a {
    display: block;
    padding: 9px;
}
.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    padding: 9px;
}
.hero {
    padding: 62px 0 50px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(40px, 4.3vw, 63px);
    max-width: 620px;
    line-height: 1.1;
    margin-bottom: 23px;
}
.hero p {
    font-size: 15px;
    max-width: 440px;
    line-height: 1.85;
    margin-bottom: 28px;
}
.hero .brand-note {
    font-size: 12px;
    margin-bottom: 20px;
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 750;
}
.hero .brand-note:before {
    content: '';
    height: 2px;
    width: 24px;
    background: var(--cyan);
}
.hero-visual {
    position: relative;
    padding-bottom: 20px;
    padding-left: 20px;
}
.hero-visual:before {
    content: '';
    position: absolute;
    inset: 32px 18px 0 0;
    border: 1px solid #93cdd1;
    border-radius: 85px 12px 12px 12px;
}
.hero-visual img {
    display: block;
    width: 100%;
    height: 455px;
    object-fit: cover;
    object-position: 54% center;
    border-radius: 85px 12px 12px 12px;
    position: relative;
}
.photo-caption {
    position: absolute;
    right: 0;
    bottom: 39px;
    background: #fff;
    padding: 15px 19px;
    border-radius: 8px 0 0 8px;
    max-width: 250px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 8px 30px #193d4712;
}
.photo-caption .icon {
    color: var(--teal);
    width: 30px;
    height: 30px;
}
.photo-caption strong {
    font-size: 12px;
    display: block;
}
.photo-caption span {
    font-size: 10px;
    color: var(--muted);
}
.hero-footnote {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
}
.quick-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-block: 1px solid var(--line);
    padding: 24px 0;
}
.quick-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    border-right: 1px solid var(--line);
}
.quick-link:first-child {
    padding-left: 0;
}
.quick-link:last-child {
    border: 0;
    padding-right: 0;
}
.quick-link > .icon {
    color: var(--teal);
    width: 27px;
    height: 27px;
}
.quick-link strong {
    display: block;
    font-size: 13px;
}
.quick-link span {
    font-size: 11px;
    color: var(--muted);
}
.quick-link .chevron {
    margin-left: auto;
    color: var(--muted);
}
.section {
    padding: 66px 0;
}
.section-heading {
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}
.section-heading p {
    margin-top: 9px;
    font-size: 13px;
}
.program-controls {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 23px;
}
.segmented {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.segmented button {
    border: 1px solid transparent;
    background: transparent;
    padding: 9px 16px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
}
.segmented button.active {
    border-color: #cde3e6;
    background: #edf7f7;
    color: var(--teal);
}
.search {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    min-width: 260px;
    color: var(--muted);
}
.search input {
    min-width: 0;
    border: 0;
    outline: 0;
    width: 100%;
    color: var(--ink);
    font-size: 12px;
    background: transparent;
}
.program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.program {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 145px 1fr;
    min-height: 260px;
}
.program-cover {
    background: #dfeff0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px 20px;
    position: relative;
    overflow: hidden;
}
.program-cover:after {
    content: '';
    width: 160px;
    height: 160px;
    border: 1px solid #83bfc5;
    border-radius: 50%;
    position: absolute;
    bottom: -63px;
    left: -40px;
}
.program-cover .icon {
    width: 36px;
    height: 36px;
    color: var(--teal);
}
.program-cover strong {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -3px;
}
.program-cover small {
    display: block;
    font-size: 12px;
    letter-spacing: 0;
    font-weight: 650;
}
.program-cover.second {
    background: #f0f4f4;
}
.program-body {
    padding: 22px;
}
.program-body h3 {
    font-size: 18px;
    margin: 12px 0;
    line-height: 1.4;
    letter-spacing: -0.4px;
}
.meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
}
.meta .icon {
    width: 16px;
    height: 16px;
    color: #6c9ca5;
}
.program-footer {
    margin-top: 18px;
    border-top: 1px solid var(--line);
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}
.program-footer strong {
    font-weight: 800;
}
.facility-section {
    background: var(--wash);
    padding: 54px 0;
}
.facility-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: center;
}
.facility-grid h2 {
    font-size: 34px;
    margin-bottom: 16px;
}
.facility-grid p {
    font-size: 13px;
    margin-bottom: 24px;
    max-width: 370px;
}
.facility-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}
.facility-list {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    font-size: 11px;
    color: var(--muted);
}
.facility-list span {
    display: flex;
    gap: 6px;
    align-items: center;
}
.facility-list .icon {
    width: 16px;
    height: 16px;
    color: var(--teal);
}
.calendar-panel {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}
.calendar-panel h2 {
    font-size: 32px;
    margin-bottom: 14px;
}
.calendar-panel p {
    font-size: 13px;
    margin-bottom: 22px;
}
.schedule-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}
.schedule-row:first-child {
    padding-top: 0;
}
.schedule-row .date {
    min-width: 52px;
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--teal);
}
.schedule-row small {
    display: block;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.9;
}
.schedule-row strong {
    font-size: 13px;
}
.schedule-row p {
    margin: 4px 0 0;
    font-size: 11px;
}
.schedule-row > .icon {
    margin-left: auto;
    color: var(--muted);
}
.public-footer {
    border-top: 1px solid var(--line);
    padding: 30px 0 22px;
}
.public-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}
.footer-note {
    font-size: 10px;
    color: var(--muted);
    text-align: right;
}
.preview-label {
    display: block;
    font-size: 10px;
    color: #71888d;
    margin-top: 5px;
}
.empty-result {
    padding: 28px;
    background: var(--wash);
    border-radius: 8px;
    grid-column: 1/-1;
}
.portal-login {
    background: #f6fafa;
}
.login-header {
    padding: 29px 0;
}
.login-shell {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 100px;
    align-items: center;
    min-height: calc(100vh - 190px);
    padding: 20px 0 58px;
}
.login-story h1 {
    font-size: 51px;
    max-width: 500px;
    margin-bottom: 22px;
    line-height: 1.15;
}
.login-story > p {
    font-size: 14px;
    max-width: 420px;
    margin-bottom: 32px;
}
.login-photo {
    height: 270px;
    max-width: 480px;
    width: 100%;
    object-fit: cover;
    object-position: center 43%;
    border-radius: 12px;
}
.login-caption {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 11px;
    color: var(--muted);
}
.login-caption .icon {
    color: var(--teal);
}
.login-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 42px;
    box-shadow: 0 16px 60px #20464f05;
}
.login-panel > .login-icon {
    display: inline-flex;
    background: #e8f5f5;
    color: var(--teal);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 22px;
}
.login-panel h2 {
    font-size: 29px;
    margin-bottom: 9px;
}
.login-panel > p {
    font-size: 12px;
    max-width: 320px;
    margin-bottom: 29px;
}
.field {
    margin-bottom: 21px;
}
.field label {
    font-size: 12px;
    font-weight: 750;
    display: block;
    margin-bottom: 8px;
}
.field input {
    width: 100%;
    border: 1px solid #ccdde1;
    border-radius: 8px;
    padding: 13px 14px;
    font-size: 13px;
    min-height: 48px;
    background: #fff;
}
.field .input-wrap {
    position: relative;
}
.field .input-wrap input {
    padding-right: 48px;
}
.reveal {
    position: absolute;
    right: 5px;
    top: 5px;
    border: 0;
    background: transparent;
    padding: 8px;
    color: var(--muted);
}
.login-panel form > .btn {
    width: 100%;
}
.login-help {
    border-top: 1px solid var(--line);
    margin-top: 26px;
    padding-top: 22px;
    font-size: 11px;
    color: var(--muted);
}
.login-help a {
    color: var(--teal);
    font-weight: 750;
}
.demo-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 11px;
    color: var(--teal);
    font-weight: 750;
}
.login-bottom {
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
}
/* The participant workspace begins with a usable narrow-screen layout. */
.participant {
    background: #f3f7f8;
    padding-bottom: 100px;
}
.portal-top {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.portal-top .container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.portal-top .logo small {
    font-size: 10px;
}
.avatar {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e1f0f1;
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    border-radius: 50%;
    border: 0;
}
.portal-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.portal-top-right > a {
    font-size: 12px;
    color: var(--muted);
}
.participant-main {
    width: min(1080px, calc(100% - 96px));
    margin: auto;
    padding-top: 38px;
}
.welcome {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.welcome p {
    font-size: 12px;
    margin-bottom: 7px;
}
.welcome h1 {
    font-size: 31px;
    letter-spacing: -1.2px;
}
.welcome .date-label {
    font-size: 12px;
    color: var(--muted);
}
.workspace-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
    gap: 26px;
    align-items: start;
}
.mobile-event-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.mobile-event-heading h2 {
    font-size: 22px;
    letter-spacing: -0.6px;
}
.event-count {
    font-size: 12px;
    color: var(--muted);
}
.participant .segmented {
    margin-bottom: 18px;
}
.participant .segmented button {
    border-radius: 6px;
    padding: 8px 13px;
    background: #fff;
    border-color: var(--line);
}
.participant .segmented button.active {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}
.participant-event {
    background: #fff;
    border: 1px solid #cfdee2;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
}
.ticket-intro {
    background: #eaf4f4;
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #d5e8e9;
}
.ticket-intro span {
    font-size: 11px;
    color: var(--teal);
    font-weight: 750;
}
.ticket-intro .badge {
    color: var(--success);
    background: #fff;
}
.ticket-body {
    padding: 22px;
}
.ticket-heading {
    display: flex;
    gap: 17px;
    align-items: flex-start;
}
.date-tile {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    width: 57px;
    min-width: 57px;
    text-align: center;
    overflow: hidden;
}
.date-tile span {
    display: block;
    background: #f0f6f7;
    color: var(--muted);
    font-size: 9px;
    padding: 3px;
    font-weight: 750;
}
.date-tile strong {
    font-size: 25px;
    line-height: 1.45;
    font-weight: 800;
    display: block;
}
.date-tile small {
    font-size: 9px;
    color: var(--muted);
    display: block;
    padding-bottom: 4px;
}
.ticket-heading h3 {
    font-size: 21px;
    line-height: 1.35;
    letter-spacing: -0.6px;
    margin-top: 1px;
}
.ticket-heading p {
    font-size: 11px;
    margin-top: 7px;
}
.ticket-meta {
    margin-top: 19px;
    display: grid;
    gap: 9px;
}
.ticket-meta .meta {
    margin: 0;
    font-size: 12px;
}
.ticket-divider {
    border-top: 1px dashed #c9dce0;
    position: relative;
    margin: 22px -22px 18px;
}
.ticket-divider:before,
.ticket-divider:after {
    content: '';
    position: absolute;
    top: -7px;
    width: 13px;
    height: 13px;
    border: 1px solid #cfdee2;
    background: #f3f7f8;
    border-radius: 50%;
}
.ticket-divider:before {
    left: -7px;
}
.ticket-divider:after {
    right: -7px;
}
.ticket-state {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}
.ticket-state p {
    font-size: 11px;
    line-height: 1.5;
}
.ticket-state strong {
    color: var(--ink);
    font-size: 12px;
    display: block;
    margin-bottom: 2px;
}
.ticket-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.ticket-actions .btn {
    font-size: 12px;
    min-height: 44px;
}
.ticket-secondary {
    padding: 20px 22px;
}
.ticket-secondary .row {
    align-items: flex-start;
}
.ticket-secondary h3 {
    font-size: 17px;
    margin: 14px 0 12px;
    line-height: 1.4;
}
.ticket-secondary .meta {
    font-size: 11px;
}
.ticket-secondary .pending-note {
    font-size: 11px;
    border-top: 1px solid var(--line);
    margin-top: 17px;
    padding-top: 13px;
    color: var(--muted);
}
.portal-aside {
    padding-top: 4px;
}
.account-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}
.account-panel h2 {
    font-size: 17px;
    letter-spacing: -0.4px;
    margin-bottom: 8px;
}
.account-panel p {
    font-size: 12px;
}
.account-panel .person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 23px;
}
.person strong {
    display: block;
    font-size: 13px;
}
.person span {
    font-size: 10px;
    color: var(--muted);
}
.account-panel .action-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 12px;
    font-weight: 650;
}
.action-row > .icon {
    color: var(--teal);
}
.action-row .chevron {
    margin-left: auto;
    color: var(--muted);
}
.help-panel {
    padding: 22px;
    background: #e7f2f3;
    border-radius: 12px;
}
.help-panel .icon {
    color: var(--teal);
    margin-bottom: 10px;
}
.help-panel h3 {
    font-size: 15px;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}
.help-panel p {
    font-size: 11px;
    margin-bottom: 14px;
}
.portal-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 9px max(20px, calc((100vw - 550px) / 2)) calc(8px + env(safe-area-inset-bottom));
    display: flex;
    justify-content: space-between;
}
.portal-bottom button,
.portal-bottom a {
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 64px;
    min-height: 45px;
    font-size: 10px;
    color: #789098;
    border-radius: 8px;
}
.portal-bottom .active {
    color: var(--teal);
    font-weight: 800;
}
.portal-bottom .scan-nav .icon {
    color: var(--teal);
}
.participant-note {
    font-size: 10px;
    margin-top: 14px;
    color: #789098;
}
.desktop-portal-nav {
    display: flex;
    gap: 24px;
    font-size: 12px;
    color: var(--muted);
}
.desktop-portal-nav .active {
    color: var(--teal);
    font-weight: 750;
}
dialog {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0;
    width: min(480px, calc(100% - 32px));
    color: var(--ink);
    box-shadow: 0 25px 90px #0d33442e;
    max-height: calc(100dvh - 40px);
}
dialog::backdrop {
    background: #143c4b66;
    backdrop-filter: blur(3px);
}
.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 21px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
}
.dialog-header h2 {
    font-size: 18px;
    letter-spacing: -0.5px;
}
.close {
    border: 0;
    background: #f1f6f7;
    border-radius: 50%;
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dialog-body {
    padding: 24px;
}
.dialog-body h3 {
    font-size: 21px;
    margin: 13px 0 16px;
}
.dialog-body p {
    font-size: 12px;
}
.dialog-body .btn {
    width: 100%;
    margin-top: 20px;
}
.idcard {
    border: 1px solid var(--line);
    border-radius: 12px;
    text-align: center;
    padding: 24px;
    margin-top: 20px;
}
.idcard .qr-sample {
    margin: 20px auto 9px;
    width: 140px;
    height: 140px;
    display: block;
}
.idcard strong {
    font-size: 17px;
}
.idcard small {
    font-size: 10px;
    color: var(--muted);
    display: block;
}
.scan-area {
    height: 200px;
    border: 2px dashed #92bcc3;
    background: var(--wash);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    margin: 20px 0;
}
.scan-area .icon {
    width: 52px;
    height: 52px;
}
.scan-area span {
    font-size: 12px;
}
.dialog-tabs {
    display: flex;
    gap: 10px;
    margin: 5px 0 20px;
}
.dialog-tabs button {
    padding: 8px 12px;
    background: #edf5f5;
    border: 1px solid var(--line);
    font-size: 12px;
    color: var(--teal);
}
[hidden] {
    display: none !important;
}
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: #fff;
    border-radius: 9px;
    padding: 13px 20px;
    font-size: 12px;
    z-index: 100;
    width: max-content;
    max-width: calc(100% - 32px);
    box-shadow: 0 8px 30px #173d4722;
}
@media (min-width: 900px) {
    .portal-bottom {
        display: none;
    }
    .participant {
        padding-bottom: 40px;
    }
}
@media (max-width: 1150px) {
    .nav-links {
        gap: 16px;
    }
    .nav-links > a:nth-of-type(3),
    .nav-links > a:nth-of-type(4) {
        display: none;
    }
    .hero-grid {
        gap: 30px;
    }
    .hero h1 {
        font-size: 53px;
    }
    .program {
        grid-template-columns: 110px 1fr;
    }
    .program-cover {
        padding: 20px 15px;
    }
    .program-body {
        padding: 20px;
    }
    .login-shell {
        gap: 50px;
    }
    .login-story h1 {
        font-size: 43px;
    }
}
@media (max-width: 850px) {
    .container {
        width: calc(100% - 48px);
    }
    .nav-shell {
        height: 77px;
        gap: 14px;
    }
    .nav-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 77px;
        background: #fff;
        z-index: 20;
        padding: 22px 24px;
        box-shadow: 0 20px 20px #173d4710;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .nav-links.open {
        max-height: calc(100dvh - 80px);
        overflow-y: auto;
        overscroll-behavior: contain;
        display: flex;
    }
    .nav-links > a:nth-of-type(3),
    .nav-links > a:nth-of-type(4) {
        display: block;
    }
    .nav-links details div {
        position: static;
        border: 0;
        box-shadow: none;
        padding: 0 15px;
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav-shell > .btn {
        margin-left: auto;
        min-height: 40px;
        padding: 8px 12px;
        font-size: 11px;
    }
    .hero {
        padding-top: 38px;
    }
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .hero h1 {
        font-size: 38px;
    }
    .hero p {
        font-size: 12px;
    }
    .hero-visual img {
        height: 380px;
    }
    .hero .actions {
        gap: 8px;
    }
    .hero .btn {
        font-size: 11px;
        padding: 10px 13px;
    }
    .hero-footnote {
        font-size: 10px;
    }
    .photo-caption {
        padding: 12px;
        bottom: 35px;
        max-width: 200px;
    }
    .photo-caption strong {
        font-size: 10px;
    }
    .quick-link {
        padding: 0 14px;
        gap: 10px;
    }
    .quick-link span {
        display: none;
    }
    .quick-link strong {
        font-size: 11px;
    }
    .quick-link > .icon {
        width: 22px;
        height: 22px;
    }
    .program-grid {
        grid-template-columns: 1fr;
    }
    .facility-grid {
        gap: 30px;
    }
    .facility-grid h2 {
        font-size: 28px;
    }
    .calendar-panel {
        gap: 40px;
    }
    .login-shell {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .login-story h1 {
        font-size: 36px;
    }
    .login-panel {
        padding: 28px;
    }
    .login-photo {
        height: 250px;
    }
    .participant-main {
        width: calc(100% - 48px);
    }
    .workspace-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .portal-aside {
        display: none;
    }
    .portal-top .container {
        height: 74px;
    }
    .portal-top .logo strong {
        font-size: 16px;
    }
    .desktop-portal-nav {
        display: none;
    }
    .portal-top-right > a {
        display: none;
    }
    .welcome {
        margin-bottom: 25px;
    }
    .welcome h1 {
        font-size: 29px;
    }
    .welcome .date-label {
        display: none;
    }
    .participant-main {
        max-width: 600px;
    }
    .ticket-heading h3 {
        font-size: 21px;
    }
    .ticket-body {
        padding: 21px;
    }
    .ticket-divider {
        margin-inline: -21px;
    }
    .portal-top .container {
        max-width: 600px;
    }
    .participant-note {
        text-align: center;
    }
}
@media (max-width: 580px) {
    .container {
        width: calc(100% - 40px);
    }
    .logo strong {
        font-size: 15px;
    }
    .logo small {
        font-size: 9px;
    }
    .logo img {
        width: 31px;
        height: 36px;
    }
    .logo {
        gap: 8px;
    }
    .nav-shell {
        height: 72px;
    }
    .nav-links {
        top: 72px;
    }
    .nav-shell > .btn .icon {
        display: none;
    }
    .menu-toggle {
        padding: 7px;
    }
    .hero {
        padding: 31px 0 28px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 29px;
    }
    .hero .brand-note {
        font-size: 11px;
        margin-bottom: 18px;
    }
    .hero h1 {
        font-size: 42px;
        line-height: 1.12;
        max-width: 390px;
        margin-bottom: 19px;
        letter-spacing: -1.8px;
    }
    .hero p {
        font-size: 13px;
        line-height: 1.8;
        margin-bottom: 22px;
    }
    .hero .actions {
        gap: 10px;
    }
    .hero .btn {
        font-size: 11px;
        padding: 11px 15px;
    }
    .hero-footnote {
        margin-top: 18px;
    }
    .hero-visual {
        padding-left: 11px;
        padding-bottom: 13px;
    }
    .hero-visual:before {
        inset: 18px 13px 0 0;
        border-radius: 52px 9px 9px 9px;
    }
    .hero-visual img {
        height: 260px;
        border-radius: 52px 9px 9px 9px;
        object-position: center 43%;
    }
    .photo-caption {
        bottom: 28px;
        max-width: 220px;
        padding: 11px 14px;
    }
    .photo-caption .icon {
        width: 23px;
        height: 23px;
    }
    .photo-caption strong {
        font-size: 10px;
    }
    .photo-caption span {
        font-size: 9px;
    }
    .quick-strip {
        grid-template-columns: 1fr;
        padding: 5px 0;
    }
    .quick-link {
        padding: 14px 0 !important;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        gap: 14px;
    }
    .quick-link:last-child {
        border-bottom: 0;
    }
    .quick-link strong {
        font-size: 12px;
    }
    .quick-link span {
        display: block;
        font-size: 10px;
    }
    .section {
        padding: 38px 0;
    }
    .section-heading {
        align-items: start;
        gap: 15px;
        margin-bottom: 21px;
    }
    .section-heading h2 {
        font-size: 27px;
    }
    .section-heading p {
        font-size: 11px;
    }
    .section-heading > .text-link {
        font-size: 10px;
        margin-top: 9px;
        white-space: nowrap;
    }
    .section-heading > .text-link .icon {
        display: none;
    }
    .program-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .segmented button {
        padding: 8px 13px;
        font-size: 11px;
    }
    .search {
        min-width: 0;
        padding: 11px 12px;
    }
    .program-grid {
        gap: 15px;
    }
    .program {
        grid-template-columns: 84px 1fr;
        min-height: 250px;
    }
    .program-cover {
        padding: 18px 12px;
    }
    .program-cover .icon {
        width: 26px;
        height: 26px;
    }
    .program-cover strong {
        font-size: 36px;
        letter-spacing: -2px;
    }
    .program-cover small {
        font-size: 9px;
    }
    .program-body {
        padding: 17px 15px;
    }
    .program-body h3 {
        font-size: 15px;
        line-height: 1.45;
        margin: 10px 0;
    }
    .program-body .meta {
        font-size: 10px;
        gap: 6px;
    }
    .program-footer {
        font-size: 11px;
        margin-top: 15px;
    }
    .program-footer .text-link {
        font-size: 10px;
    }
    .program-footer .icon {
        display: none;
    }
    .badge {
        font-size: 10px;
        padding: 3px 7px;
    }
    .facility-section {
        padding: 35px 0;
    }
    .facility-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .facility-grid h2 {
        font-size: 27px;
        max-width: 290px;
    }
    .facility-grid p {
        font-size: 12px;
    }
    .facility-grid img {
        height: 210px;
    }
    .facility-list {
        gap: 15px;
        font-size: 10px;
    }
    .calendar-panel {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .calendar-panel h2 {
        font-size: 27px;
    }
    .calendar-panel p {
        font-size: 12px;
    }
    .schedule-row {
        gap: 15px;
    }
    .schedule-row strong {
        font-size: 12px;
    }
    .public-footer .container {
        align-items: start;
        flex-direction: column;
        gap: 18px;
    }
    .footer-note {
        text-align: left;
    }
    .login-header {
        padding: 22px 0;
    }
    .login-header .text-link {
        font-size: 10px;
    }
    .login-header .text-link .icon {
        width: 16px;
    }
    .login-shell {
        display: block;
        min-height: 0;
        padding: 17px 0 30px;
    }
    .login-story {
        display: none;
    }
    .portal-login {
        background: #fff;
    }
    .login-panel {
        box-shadow: none;
        padding: 12px 0 0;
        border: 0;
        border-radius: 0;
        max-width: 440px;
        margin: auto;
    }
    .login-panel > .login-icon {
        margin-bottom: 21px;
        padding: 13px;
    }
    .login-panel h2 {
        font-size: 31px;
        line-height: 1.2;
    }
    .login-panel > p {
        font-size: 13px;
        line-height: 1.8;
        margin-bottom: 28px;
    }
    .login-panel .field {
        margin-bottom: 21px;
    }
    .field input {
        font-size: 14px;
        min-height: 51px;
    }
    .login-panel form > .btn {
        min-height: 50px;
        font-size: 13px;
    }
    .login-help {
        margin-top: 28px;
        padding-top: 22px;
        line-height: 1.9;
    }
    .demo-link {
        font-size: 11px;
        margin-top: 20px;
    }
    .login-bottom {
        font-size: 10px;
        align-items: start;
        gap: 12px;
        margin-top: 15px;
    }
    .login-bottom .preview-label {
        margin-top: 0;
        max-width: 150px;
        text-align: right;
    }
    .participant-main {
        width: calc(100% - 36px);
        padding-top: 25px;
    }
    .portal-top .container {
        width: calc(100% - 36px);
        height: 70px;
    }
    .portal-top .logo img {
        width: 30px;
        height: 33px;
    }
    .portal-top .logo strong {
        font-size: 14px;
    }
    .portal-top .logo small {
        font-size: 9px;
    }
    .avatar {
        width: 34px;
        height: 34px;
        font-size: 11px;
    }
    .welcome p {
        font-size: 11px;
        margin-bottom: 6px;
    }
    .welcome h1 {
        font-size: 28px;
        letter-spacing: -1px;
    }
    .welcome {
        margin-bottom: 22px;
    }
    .mobile-event-heading h2 {
        font-size: 19px;
    }
    .event-count {
        font-size: 11px;
    }
    .participant .segmented {
        margin-bottom: 17px;
        gap: 7px;
    }
    .participant .segmented button {
        font-size: 11px;
        padding: 8px 12px;
    }
    .ticket-intro {
        padding: 14px 17px;
    }
    .ticket-intro span {
        font-size: 10px;
    }
    .ticket-intro .badge {
        font-size: 9px;
    }
    .ticket-body {
        padding: 18px 17px;
    }
    .ticket-heading {
        gap: 13px;
    }
    .date-tile {
        width: 51px;
        min-width: 51px;
    }
    .date-tile strong {
        font-size: 25px;
    }
    .ticket-heading h3 {
        font-size: 18px;
        line-height: 1.4;
        letter-spacing: -0.5px;
    }
    .ticket-heading p {
        font-size: 10px;
        margin-top: 5px;
    }
    .ticket-meta {
        margin-top: 18px;
        gap: 10px;
    }
    .ticket-meta .meta {
        font-size: 11px;
        line-height: 1.5;
        align-items: flex-start;
    }
    .ticket-meta .icon {
        margin-top: 1px;
    }
    .ticket-divider {
        margin: 21px -17px 16px;
    }
    .ticket-state strong {
        font-size: 11px;
    }
    .ticket-state p {
        font-size: 10px;
    }
    .ticket-actions {
        gap: 8px;
    }
    .ticket-actions .btn {
        padding: 10px 10px;
        min-height: 45px;
        font-size: 11px;
        gap: 6px;
    }
    .ticket-actions .icon {
        width: 17px;
        height: 17px;
    }
    .ticket-secondary {
        padding: 18px 17px;
    }
    .ticket-secondary h3 {
        font-size: 16px;
    }
    .ticket-secondary .pending-note {
        font-size: 10px;
    }
    .portal-bottom {
        padding-inline: 20px;
    }
    .portal-bottom .icon {
        width: 22px;
        height: 22px;
    }
    .dialog-body {
        padding: 21px;
    }
    .dialog-header {
        padding: 19px 21px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
    }
}

.login-help .btn.quiet {
    display: inline;
    padding: 0;
    border: 0;
    min-height: 0;
    font-size: 11px;
    line-height: inherit;
    font-weight: 750;
    vertical-align: baseline;
}
.dialog-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.portal-aside .action-row.btn {
    width: 100%;
    justify-content: flex-start;
    border-bottom: 0;
    border-radius: 0;
    color: var(--ink);
}
