:root {
    color-scheme: light;
    font-family: Inter, Arial, sans-serif;
    color: #17213c;
    background: #f8f9fb;
}

* { box-sizing: border-box; }

body {
    min-width: 320px;
    margin: 0;
    background: #f8f9fb;
}

button, a { font: inherit; }

.serviceHeader {
    height: 64px;
    padding: 0 18px;
    border-bottom: 1px solid #e8eaf0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.serviceHeader img {
    width: 112px;
    height: 36px;
    object-fit: contain;
}

.serviceHeader a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #263452;
}

.serviceHeader svg,
.serviceSecure svg,
.serviceCardIcon svg,
.serviceDetailToggle svg,
.serviceInfo svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.serviceSecure {
    color: #30405e;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.serviceSecure svg { width: 16px; }

main {
    width: min(720px, 100%);
    margin: 0 auto;
    padding: 16px 12px 28px;
}

.serviceIntro h1 {
    margin: 0 0 5px;
    font-size: 25px;
    line-height: 1.2;
}

.serviceIntro p {
    margin: 0;
    color: #69738a;
    font-size: 14px;
}

.serviceNotice {
    margin-top: 14px;
    padding: 11px 13px;
    border: 1px solid #ccebd8;
    border-radius: 10px;
    background: #f1fbf5;
    color: #277a4a;
    font-size: 13px;
    font-weight: 700;
}

.serviceTabs {
    margin: 18px 0 14px;
    padding: 3px;
    border: 1px solid #e4e7ee;
    border-radius: 9px;
    background: #f4f5f8;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.serviceTabs button {
    min-height: 36px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #687187;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.serviceTabs button.is-active {
    background: #fff;
    color: #e27f47;
    box-shadow: 0 1px 4px rgba(23, 33, 60, .1), inset 0 -2px #ef8f59;
}

.serviceCards { display: grid; gap: 10px; }

.serviceCard {
    padding: 15px 13px;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    background: #fff;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    box-shadow: 0 2px 8px rgba(30, 41, 59, .035);
    cursor: pointer;
}

.serviceCard[hidden] { display: none; }

.serviceCard:focus-visible {
    outline: 2px solid #e1a77d;
    outline-offset: 2px;
}

.serviceCardIcon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #f4f6fa;
    color: #263452;
}

.serviceCardContent { min-width: 0; }

.serviceCardHeading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.serviceCard h2 {
    margin: 1px 0 8px;
    font-size: 15px;
    line-height: 1.3;
}

.serviceCard p {
    margin: 4px 0;
    color: #69738a;
    font-size: 12px;
    line-height: 1.4;
}

.serviceStatus {
    flex-shrink: 0;
    max-width: 125px;
    padding: 4px 7px;
    border-radius: 999px;
    background: #fff0e6;
    color: #e27f47;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
}

.serviceStatus.available {
    background: #eaf8ef;
    color: #2d8a55;
}

.serviceStatus.unavailable {
    background: #feebeb;
    color: #c44949;
}

.serviceDetailToggle {
    width: 100%;
    margin-top: 8px;
    padding: 4px 0 0;
    border: 0;
    background: transparent;
    color: #34405a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    cursor: pointer;
    text-decoration: none;
}

.serviceDetailToggle svg {
    width: 17px;
}

.serviceDetail {
    padding: 18px;
    border: 1px solid #e6e9ef;
    border-radius: 14px;
    background: #fff;
}

.serviceDetailPage {
    min-height: 100vh;
    background: #f7f8fa;
}

.serviceAccessPage {
    min-height: 100vh;
    background: #f7f8fa;
}

.serviceAccessPage .serviceHeader {
    height: 72px;
    padding: 0 32px;
}

.serviceAccessMain {
    width: min(520px, calc(100% - 28px));
    min-height: calc(100vh - 72px);
    padding: 42px 0;
    display: grid;
    place-items: center;
}

.serviceAccessCard {
    width: 100%;
    padding: 38px 36px 34px;
    border: 1px solid #e2e6ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(27, 38, 63, .07);
    text-align: center;
}

.serviceAccessIcon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff1e7;
    color: #f27421;
    display: grid;
    place-items: center;
}

.serviceAccessIcon svg {
    width: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.serviceAccessEyebrow {
    margin: 0 0 7px;
    color: #ef7627;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.serviceAccessCard h1 {
    margin: 0 0 12px;
    color: #111b35;
    font-size: 28px;
    line-height: 1.2;
}

.serviceAccessLead {
    margin: 0 auto;
    max-width: 390px;
    color: #637089;
    font-size: 14px;
    line-height: 1.6;
}

.serviceAccessInfo {
    margin-top: 25px;
    padding: 13px 14px;
    border: 1px solid #f3d7c4;
    border-radius: 8px;
    background: #fff9f4;
    color: #72523d;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    font-size: 11px;
    line-height: 1.45;
}

.serviceAccessInfo svg {
    width: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: #ef7627;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.serviceAccessHelp {
    margin: 22px 0 0;
    color: #7b8598;
    font-size: 11px;
    line-height: 1.5;
}

.serviceDetailPage .serviceHeader {
    height: 72px;
    padding: 0 32px;
}

.serviceDetailPage .serviceHeader img {
    width: 122px;
}

.serviceDetailMain {
    width: min(650px, calc(100% - 28px));
    padding: 34px 0 38px;
}

.serviceDetailIntro {
    margin-bottom: 26px;
    text-align: center;
}

.serviceDetailIntro h1 {
    margin: 0 0 6px;
    color: #111b35;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -.8px;
}

.serviceDetailIntro p {
    margin: 0;
    color: #5e6b84;
    font-size: 14px;
}

.serviceDetailPage .serviceDetail {
    padding: 20px 18px 18px;
    border-radius: 7px;
    box-shadow: 0 2px 8px rgba(27, 38, 63, .06);
}

.serviceDetailHeading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}

.serviceDetailHeading h2 {
    margin: 0;
    color: #18233f;
    font-size: 18px;
    line-height: 1.3;
}

.serviceDetailHeading .serviceStatus {
    max-width: none;
    padding: 5px 9px;
    font-size: 10px;
}

.serviceEventFacts {
    display: grid;
    gap: 11px;
}

.serviceEventFacts p {
    margin: 0;
    color: #42506c;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.serviceEventFacts svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: #33476c;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.serviceResponseForm { margin-top: 26px; }

.serviceResponseChoices {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.serviceResponseChoices label { cursor: pointer; }

.serviceResponseChoices input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.serviceChoiceCard {
    min-height: 114px;
    padding: 15px 8px 12px;
    border: 1px solid #d8dde6;
    border-radius: 7px;
    color: #18233f;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: border-color .15s, background .15s, color .15s;
}

.serviceChoiceIcon {
    width: 33px;
    height: 33px;
    margin-bottom: 10px;
    border: 2px solid #718097;
    border-radius: 50%;
    color: #52627b;
    display: grid;
    place-items: center;
    font-size: 20px;
    line-height: 1;
}

.serviceChoiceCard strong {
    font-size: 13px;
    line-height: 1.35;
}

.serviceChoiceCard small {
    font-size: 12px;
    line-height: 1.35;
}

.serviceResponseChoices input:checked + .serviceChoiceCard {
    border-color: #ff761b;
    background: #fff8f1;
    color: #f26d13;
    box-shadow: 0 0 0 1px rgba(255, 118, 27, .06);
}

.serviceResponseChoices input:checked + .serviceChoiceCard .serviceChoiceIcon {
    border-color: #ff710f;
    background: #ff710f;
    color: #fff;
}

.serviceResponseChoices input:focus-visible + .serviceChoiceCard {
    outline: 2px solid #f4a26b;
    outline-offset: 2px;
}

.serviceMessageLabel {
    display: block;
    margin: 0 0 6px;
    color: #26334f;
    font-size: 11px;
    font-weight: 700;
}

.serviceMessageLabel span {
    color: #6d778b;
    font-weight: 400;
}

.serviceMessageField { position: relative; }

.serviceMessageField textarea {
    width: 100%;
    height: 58px;
    padding: 10px 13px 20px;
    border: 1px solid #d8dde6;
    border-radius: 7px;
    color: #25314a;
    font: inherit;
    font-size: 11px;
    resize: vertical;
}

.serviceMessageField textarea::placeholder { color: #8a93a4; }

.serviceMessageField textarea:focus {
    border-color: #f59150;
    outline: 2px solid rgba(245, 145, 80, .15);
}

#responseMessageCount {
    position: absolute;
    right: 9px;
    bottom: 7px;
    color: #949baa;
    font-size: 9px;
}

.serviceSubmitResponse {
    width: 100%;
    min-height: 44px;
    margin-top: 20px;
    border: 0;
    border-radius: 6px;
    background: #ff7415;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.serviceSubmitResponse:hover { background: #ed650a; }

.serviceAnswerLater {
    width: max-content;
    margin: 16px auto 20px;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    color: #26314b;
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.serviceDetailInfo {
    padding: 12px;
    border: 1px solid #d9eadf;
    border-radius: 7px;
    background: #f5fbf7;
    color: #486359;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 10px;
}

.serviceDetailInfo svg {
    width: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: #2fa568;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.serviceThanks {
    position: fixed;
    z-index: 20;
    inset: 0;
    padding: 20px;
    background: rgba(18, 27, 47, .3);
    display: grid;
    place-items: center;
    backdrop-filter: blur(2px);
}

.serviceThanks > div {
    width: min(360px, 100%);
    padding: 28px 22px;
    border-radius: 14px;
    background: #fff;
    color: #17213c;
    box-shadow: 0 18px 50px rgba(17, 27, 53, .2);
    text-align: center;
}

.serviceThanks > div > span {
    width: 42px;
    height: 42px;
    margin: 0 auto 13px;
    border-radius: 50%;
    background: #eaf8ef;
    color: #2fa568;
    display: grid;
    place-items: center;
    font-size: 22px;
}

.serviceThanks strong {
    display: block;
    font-size: 18px;
}

.serviceThanks p {
    margin: 6px 0 0;
    color: #6b7488;
    font-size: 12px;
}

.srOnly {
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    position: absolute;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.serviceBack {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    color: #59647a;
    font-size: 13px;
    text-decoration: none;
}

.serviceDetail h1 {
    margin: 0 0 10px;
    font-size: 24px;
}

.serviceDetailMeta {
    margin: 5px 0;
    color: #69738a;
    font-size: 14px;
}

.serviceResponse {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #edf0f4;
}

.serviceResponse form {
    display: grid;
    gap: 7px;
}

.serviceResponse button {
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #dfe3ea;
    border-radius: 9px;
    background: #fff;
    color: #445068;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.serviceResponse button:hover,
.serviceResponse button.is-selected {
    border-color: #e1a77d;
    background: #fdf1e8;
    color: #975b34;
}

.serviceEmpty {
    padding: 28px 18px;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    background: #fff;
    color: #34405a;
    text-align: center;
}

.serviceEmpty p {
    margin: 7px 0 0;
    color: #7a8396;
    font-size: 13px;
}

.serviceInfo {
    margin-top: 12px;
    padding: 11px 12px;
    border: 1px solid #d7ecde;
    border-radius: 10px;
    background: #f2faf5;
    color: #47705a;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
}

.serviceInfo svg {
    width: 20px;
    flex-shrink: 0;
    color: #43a36c;
}

@media (min-width: 700px) {
    main { padding-top: 28px; }
    .serviceCards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .serviceDetailPage .serviceHeader {
        height: 62px;
        padding: 0 16px;
    }

    .serviceAccessPage .serviceHeader {
        height: 62px;
        padding: 0 16px;
    }

    .serviceAccessMain {
        min-height: calc(100vh - 62px);
        padding: 24px 0;
    }

    .serviceAccessCard {
        padding: 30px 20px 26px;
    }

    .serviceAccessCard h1 { font-size: 24px; }

    .serviceDetailPage .serviceHeader img { width: 108px; }
    .serviceSecure { font-size: 10px; }
    .serviceDetailMain { padding-top: 24px; }

    .serviceDetailIntro {
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .serviceDetailIntro h1 {
        font-size: 25px;
        letter-spacing: -.5px;
    }

    .serviceDetailIntro p {
        font-size: 12px;
        line-height: 1.45;
    }

    .serviceDetailPage .serviceDetail { padding: 17px 14px 14px; }
    .serviceDetailHeading { align-items: flex-start; }
    .serviceDetailHeading h2 { font-size: 16px; }

    .serviceResponseChoices {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .serviceChoiceCard {
        min-height: 74px;
        padding: 10px 15px;
        display: grid;
        grid-template-columns: 40px auto;
        grid-template-rows: auto auto;
        column-gap: 11px;
        justify-content: start;
        text-align: left;
    }

    .serviceChoiceIcon {
        grid-row: 1 / 3;
        margin: 0;
    }
}
