@charset "UTF-8";
/* Local, OFL-licensed fonts. Keep existing palette and application behavior. */



/* HAMA entry form only. The calendar and administration keep their own styles. */
body.reservation-entry-index2 {
    color-scheme: light;
    --hama-entry-ink: #333333;
    --hama-entry-muted: #869198;
    --hama-entry-accent: #A5B3D7;
    --hama-entry-accent-hover: #1f4170;
    --hama-entry-accent-soft: #eef3fb;
    --hama-entry-line: #cccccc;
}
body.reservation-entry-index2 #of, :where(body.reservation-entry-index2 #of) * { box-sizing: border-box; }
body.reservation-entry-index2 {
    margin: 0;
    background: #333333;
    color: var(--hama-entry-ink);
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: .025em;
    -webkit-font-smoothing: antialiased;
}
/* Ethereal image moves only inside the white card, behind all form content. */
:where(body.reservation-entry-index2 #of) .inner-mist {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
    user-select: none;
    contain: strict;
}
:where(body.reservation-entry-index2 #of) .inner-mist::before {
    content: "";
    position: absolute;
    inset: -10%;
    background: url("../images/inner-mystic-mist.webp") center / cover no-repeat;
    opacity: .8;
    will-change: transform, opacity;
    animation: hama-index2-mist-drift 30s ease-in-out infinite alternate;
}
@keyframes hama-index2-mist-drift {
    from { transform: translate3d(-2%, 1%, 0) scale(1.02); opacity: .68; }
    to { transform: translate3d(2%, -2%, 0) scale(1.06); opacity: .88; }
}
body.reservation-entry-index2 .fbox > form { position: relative; z-index: 1; }
body.reservation-entry-index2 #of { position: relative; z-index: 1; padding: 20px; }
body.reservation-entry-index2 .fbox {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--hama-entry-line);
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    overflow: hidden;
}
:where(body.reservation-entry-index2 #of) .datemsgHeader {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-bottom: 1px solid var(--hama-entry-line);
}
:where(body.reservation-entry-index2 #of) .avatar { width: 40px; height: 40px; flex: 0 0 40px; }
:where(body.reservation-entry-index2 #of) .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
:where(body.reservation-entry-index2 #of) .header-copy { flex: 1; min-width: 0; padding: 6px 10px; background: #cccccc; border-radius: 8px; }
:where(body.reservation-entry-index2 #of) .header-copy p, :where(body.reservation-entry-index2 #of) .header-copy h1 { margin: 0; }
:where(body.reservation-entry-index2 #of) .header-copy h1 { font-size: 17px; font-weight: 650; line-height: 1.45; letter-spacing: .02em; }
:where(body.reservation-entry-index2 #of) .header-copy h1 span { font-size: 11px; font-weight: 500; margin-left: 8px; white-space: nowrap; }
:where(body.reservation-entry-index2 #of) .header-copy .teller-name { color: var(--hama-entry-ink); font-size: 11px; margin-top: 1px; }
:where(body.reservation-entry-index2 #of) .teller-name strong { color: var(--hama-entry-ink); font-weight: 600; letter-spacing: .06em; }
:where(body.reservation-entry-index2 #of) .form-fields { padding: 0 24px 16px; }
:where(body.reservation-entry-index2 #of) .field { min-width: 0; margin: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--hama-entry-line); }
:where(body.reservation-entry-index2 #of) .field-label { display: block; padding: 0; margin: 0 0 8px; font-size: 14px; font-weight: 600; letter-spacing: .035em; }
:where(body.reservation-entry-index2 #of) .field-label small { font-size: 11px; font-weight: 400; color: var(--hama-entry-muted); margin-left: 8px; white-space: nowrap; }
:where(body.reservation-entry-index2 #of) .field-help { display: block; margin: 10px 0 0; font-size: 12px; font-weight: 400; color: var(--hama-entry-muted); line-height: 1.7; letter-spacing: .01em; }
:where(body.reservation-entry-index2 #of) .date-field { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; }
:where(body.reservation-entry-index2 #of) .date-field .field-label { margin: 0; }
:where(body.reservation-entry-index2 #of) .date-field .err { grid-column: 2; }
:where(body.reservation-entry-index2 #of) .date-field input {
    display: block;
    width: 100%;
    max-width: 300px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #cccccc;
    border-radius: 9px;
    background: #fff;
    color: var(--hama-entry-ink);
    font: inherit;
    font-size: 16px;
    text-align: left;
}
:where(body.reservation-entry-index2 #of) .plan-field { position: relative; padding-top: 0; margin-top: 14px; }
:where(body.reservation-entry-index2 #of) .plan-field legend { float: left; width: auto; margin: 0 8px 0 0; }
:where(body.reservation-entry-index2 #of) .plan-field > .field-help:first-of-type { margin: 0 0 8px; text-align: right; font-size: 11px; line-height: 23px; }
:where(body.reservation-entry-index2 #of) .plan-grid, :where(body.reservation-entry-index2 #of) .choice-grid { position: relative; display: grid; gap: 8px; }
:where(body.reservation-entry-index2 #of) .people-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
:where(body.reservation-entry-index2 #of) .plan-grid { clear: both; grid-template-columns: repeat(3, minmax(0, 1fr)) repeat(2, minmax(0, .76fr)); align-items: end; }
:where(body.reservation-entry-index2 #of) .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:where(body.reservation-entry-index2 #of) .choice-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
:where(body.reservation-entry-index2 #of) .plan-option, :where(body.reservation-entry-index2 #of) .choice-grid label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 46px;
    padding: 11px 4px;
    border: 1px solid #ffffff;
    border-radius: 9px;
    background: var(--hama-entry-accent-soft);
    color: #869198;
    text-align: center;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color .16s, border-color .16s, color .16s, box-shadow .16s;
}
:where(body.reservation-entry-index2 #of) .plan-option { color: var(--hama-entry-ink); flex-direction: column; gap: 8px; padding: 16px 3px 13px; background: var(--hama-entry-accent-soft); }
:where(body.reservation-entry-index2 #of) .plan-option--primary { min-height: 86px; }
:where(body.reservation-entry-index2 #of) .plan-option--secondary { min-height: 62px; padding: 12px 2px 10px; background: var(--hama-entry-accent-soft); }
:where(body.reservation-entry-index2 #of) .plan-option--secondary .plan-duration strong { font-size: 23px; font-weight: 500; }
:where(body.reservation-entry-index2 #of) .plan-option--secondary .plan-price { font-size: 12px; }
:where(body.reservation-entry-index2 #of) .plan-option--student .unit { display: none; }
:where(body.reservation-entry-index2 #of) .plan-duration { display: flex; justify-content: center; align-items: baseline; gap: 2px; white-space: nowrap; }
:where(body.reservation-entry-index2 #of) .plan-duration strong { font-size: 32px; font-weight: 650; line-height: 1.1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
:where(body.reservation-entry-index2 #of) .plan-duration .unit { font-size: 11px; }
:where(body.reservation-entry-index2 #of) .student-prefix { font-size: 13px; font-weight: 600; }
:where(body.reservation-entry-index2 #of) .plan-price { font-size: 14px; letter-spacing: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
:where(body.reservation-entry-index2 #of) .plan-price > span { font-size: 11px; margin-left: 1px; }
:where(body.reservation-entry-index2 #of) .choice-input:checked + label { border-color: #fff; background: var(--hama-entry-accent); color: #fff; box-shadow: none; font-weight: 500; }
:where(body.reservation-entry-index2 #of) .choice-input:focus-visible + label, :where(body.reservation-entry-index2 #of) input:focus-visible, :where(body.reservation-entry-index2 #of) a:focus-visible { outline: 3px solid #1f4170; outline-offset: 4px; }
@media (hover: hover) {
    :where(body.reservation-entry-index2 #of) .choice-input:not(:checked) + label:hover { border-color: var(--hama-entry-accent); background: var(--hama-entry-accent-soft); color: var(--hama-entry-accent-hover); }
    :where(body.reservation-entry-index2 #of) .submit input:hover { background: var(--hama-entry-accent); }
}
:where(body.reservation-entry-index2 #of) .student-note { margin-top: 5px; font-size: 11px; }
:where(body.reservation-entry-index2 #of) .phone-note { padding: 13px 14px; border-radius: 9px; background: #eef3fb; }
:where(body.reservation-entry-index2 #of) .phone-note strong, :where(body.reservation-entry-index2 #of) .phone-note a, :where(body.reservation-entry-index2 #of) .phone-note > span { display: block; }
:where(body.reservation-entry-index2 #of) .phone-note strong { font-weight: 500; color: var(--hama-entry-ink); }
:where(body.reservation-entry-index2 #of) a { color: #1f4170; text-underline-offset: 3px; }
:where(body.reservation-entry-index2 #of) .phone-note a { margin: 4px 0 8px; }
:where(body.reservation-entry-index2 #of) .err { display: block; color: var(--hama-entry-accent); font-size: 12px; margin-top: 8px; }
:where(body.reservation-entry-index2 #of) .err:empty { display: none; }
:where(body.reservation-entry-index2 #of) .submit { padding: 14px 0 0; margin: 0; }
:where(body.reservation-entry-index2 #of) .submit input {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    border: 0;
    border-radius: 10px;
    background: var(--hama-entry-accent);
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .08em;
    cursor: pointer;
    appearance: none;
    transition: background-color .16s;
}
@media (max-width: 640px) {
    body.reservation-entry-index2 #of { padding: 8px 10px; }
    body.reservation-entry-index2 .fbox { border-radius: 16px; }
    :where(body.reservation-entry-index2 #of) .datemsgHeader { padding: 8px 14px; gap: 8px; }
    :where(body.reservation-entry-index2 #of) .avatar { width: 32px; height: 32px; flex-basis: 32px; }
    :where(body.reservation-entry-index2 #of) .header-copy h1 { font-size: 15px; }
    :where(body.reservation-entry-index2 #of) .header-copy h1 span { margin: 0 0 0 6px; font-size: 10px; }
    :where(body.reservation-entry-index2 #of) .header-copy .teller-name { font-size: 10px; margin-top: 1px; }
    :where(body.reservation-entry-index2 #of) .form-fields { padding: 0 14px 12px; }
    :where(body.reservation-entry-index2 #of) .field { padding: 10px 0; }
    :where(body.reservation-entry-index2 #of) .field-label { font-size: 13px; margin-bottom: 7px; }
    :where(body.reservation-entry-index2 #of) .field-label small { margin: 0 0 0 6px; font-size: 10px; }
    :where(body.reservation-entry-index2 #of) .plan-field { margin-top: 10px; padding-top: 0; }
    :where(body.reservation-entry-index2 #of) .plan-field > .field-help:first-of-type { font-size: 10px; line-height: 21.5px; }
    :where(body.reservation-entry-index2 #of) .plan-grid, :where(body.reservation-entry-index2 #of) .choice-grid { gap: 5px; }
    :where(body.reservation-entry-index2 #of) .plan-duration strong { font-size: 24px; }
    :where(body.reservation-entry-index2 #of) .plan-option--primary { min-height: 76px; }
    :where(body.reservation-entry-index2 #of) .plan-option--secondary { min-height: 54px; gap: 5px; }
    :where(body.reservation-entry-index2 #of) .plan-option--secondary .plan-duration strong { font-size: 20px; }
    :where(body.reservation-entry-index2 #of) .plan-option--secondary .student-prefix { font-size: 10px; }
    :where(body.reservation-entry-index2 #of) .plan-option--secondary .plan-price { font-size: 10.5px; }
    :where(body.reservation-entry-index2 #of) .plan-option--secondary .plan-price > span { font-size: 9px; }
    :where(body.reservation-entry-index2 #of) .plan-duration .unit { font-size: 9px; }
    :where(body.reservation-entry-index2 #of) .plan-price { font-size: 12px; }
    :where(body.reservation-entry-index2 #of) .plan-option { padding: 9px 2px; gap: 6px; border-radius: 8px; }
    :where(body.reservation-entry-index2 #of) .plan-option--secondary { padding: 6px 2px; gap: 5px; }
    :where(body.reservation-entry-index2 #of) .choice-grid label { font-size: 13px; min-height: 44px; padding: 9px 4px; }
    :where(body.reservation-entry-index2 #of) .submit { padding-top: 12px; }
    :where(body.reservation-entry-index2 #of) .submit input { font-size: 16px; min-height: 46px; padding: 9px 12px; }
}
@media (max-width: 360px) {
    body.reservation-entry-index2 #of { padding-left: 8px; padding-right: 8px; }
    :where(body.reservation-entry-index2 #of) .form-fields { padding-left: 14px; padding-right: 14px; }
    :where(body.reservation-entry-index2 #of) .plan-duration strong { font-size: 21px; }
    :where(body.reservation-entry-index2 #of) .plan-option--primary { min-height: 76px; }
    :where(body.reservation-entry-index2 #of) .plan-option--secondary { min-height: 54px; }
    :where(body.reservation-entry-index2 #of) .plan-option--secondary .plan-duration strong { font-size: 17px; }
    :where(body.reservation-entry-index2 #of) .plan-option--secondary .plan-price { font-size: 9.5px; }
    :where(body.reservation-entry-index2 #of) .plan-option--secondary .plan-price > span { font-size: 8px; }
    :where(body.reservation-entry-index2 #of) .plan-duration { gap: 1px; }
    :where(body.reservation-entry-index2 #of) .plan-duration .unit { font-size: 9px; }
    :where(body.reservation-entry-index2 #of) .student-prefix { font-size: 11px; }
    :where(body.reservation-entry-index2 #of) .plan-price { font-size: 10.5px; }
    :where(body.reservation-entry-index2 #of) .plan-price > span { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    :where(body.reservation-entry-index2 #of) .inner-mist::before { transform: none; opacity: .8; }
    body.reservation-entry-index2 #of, :where(body.reservation-entry-index2 #of) *, :where(body.reservation-entry-index2 #of) *::before, :where(body.reservation-entry-index2 #of) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* JANU-inspired hierarchy: compact spacing, strong headings, quieter geometry. */
body.reservation-entry-index2 .fbox { border-radius:10px; box-shadow:none; }
:where(body.reservation-entry-index2 #of) .header-copy { border-radius:6px; }
:where(body.reservation-entry-index2 #of) .header-copy h1 { font-weight:700; font-size:19px; letter-spacing:.05em; font-feature-settings:"palt"; }
:where(body.reservation-entry-index2 #of) .header-copy h1 span { font-weight:400; letter-spacing:.03em; }
:where(body.reservation-entry-index2 #of) .teller-name strong, :where(body.reservation-entry-index2 #of) .field-label { font-weight:700; }
:where(body.reservation-entry-index2 #of) .field-label { letter-spacing:.05em; font-feature-settings:"palt"; }
:where(body.reservation-entry-index2 #of) .field-label small, :where(body.reservation-entry-index2 #of) .field-help { letter-spacing:.02em; }
:where(body.reservation-entry-index2 #of) .plan-option, :where(body.reservation-entry-index2 #of) .choice-grid label { border-radius:6px; transition:background-color .3s,border-color .3s,color .3s; }
:where(body.reservation-entry-index2 #of) .plan-option--primary { min-height:88px; }
:where(body.reservation-entry-index2 #of) .plan-duration strong { font-weight:700; letter-spacing:-.025em; font-feature-settings:"tnum"; }
:where(body.reservation-entry-index2 #of) .plan-price { font-weight:700; }
:where(body.reservation-entry-index2 #of) .plan-option--secondary .plan-duration strong { font-weight:400; }
:where(body.reservation-entry-index2 #of) .plan-option--secondary .plan-price { font-weight:400; }
:where(body.reservation-entry-index2 #of) .choice-input:checked + label { font-weight:700; }
:where(body.reservation-entry-index2 #of) .choice-input:checked + label .plan-duration strong { text-decoration:underline; text-underline-offset:5px; text-decoration-thickness:1px; }
:where(body.reservation-entry-index2 #of) .submit input { border-radius:6px; font-weight:700; letter-spacing:.05em; transition:background-color .3s; }
:where(body.reservation-entry-index2 #of) .date-field input { border-radius:6px; font-variant-numeric:tabular-nums; }
@media(max-width:640px) {
 body.reservation-entry-index2 .fbox { border-radius:10px; }
 :where(body.reservation-entry-index2 #of) .header-copy h1 { font-size:17px; }
 :where(body.reservation-entry-index2 #of) .datemsgHeader { padding-top:8px; padding-bottom:8px; }
 :where(body.reservation-entry-index2 #of) .plan-option--primary { min-height:80px; }
 :where(body.reservation-entry-index2 #of) .plan-duration strong { font-size:28px; }
 :where(body.reservation-entry-index2 #of) .plan-option--secondary { min-height:56px; }
 :where(body.reservation-entry-index2 #of) .plan-option--secondary .plan-duration strong { font-size:20px; }
 :where(body.reservation-entry-index2 #of) .field-label { font-size:13px; }
}
@media(max-width:360px) {
 :where(body.reservation-entry-index2 #of) .plan-duration strong { font-size:23px; }
 :where(body.reservation-entry-index2 #of) .plan-option--secondary .plan-duration strong { font-size:17px; }
 :where(body.reservation-entry-index2 #of) .header-copy h1 { font-size:16px; }
}

:where(body.reservation-entry-index2 #of) .datemsgHeader .entry-consultation-art {width:90px;height:60px;object-fit:contain;margin-left:auto;flex:none}@media(max-width:480px){:where(body.reservation-entry-index2 #of) .datemsgHeader .entry-consultation-art {width:60px;height:40px}}
