:root {
    --navy: #17304c;
    --ink: #202a35;
    --muted: #526273;
    --line: #dce2e8;
    --surface: #f3f5f7;
    --green: #226447;
    --radius: 4px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; font-size: 18px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2469a8; outline-offset: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -.04em; }
.skip-link { position: fixed; top: -100px; z-index: 20; padding: 12px; background: var(--navy); color: white; }
.skip-link:focus { top: 0; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1184px; margin: auto; min-height: 88px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; letter-spacing: -.8px; font-weight: 750; color: var(--navy); }
.brand img { width: 42px; height: 42px; object-fit: contain; flex: none; }
.brand-light { font-weight: 400; }
nav { display: flex; gap: 28px; align-items: center; font-size: 16px; font-weight: 600; }
nav a { display: inline-flex; align-items: center; min-height: 48px; }
.header-logout { margin: 0; }
.header-logout button { min-height: 48px; padding: 0; border: 0; background: transparent; color: var(--navy); font-size: 16px; font-weight: 600; cursor: pointer; }
.header-logout button:hover { text-decoration: underline; text-underline-offset: 4px; }
.account-status-notice { border-bottom: 1px solid #f1cfa6; background: #fff1df; color: #75420d; }
.account-status-notice p { max-width: 1184px; min-height: 44px; margin: auto; padding: 9px 32px; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 15px; font-weight: 700; text-align: center; }
.account-status-notice i { color: #b96816; }
.hero { max-width: 1184px; margin: auto; padding: 88px 32px 80px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.eyebrow { color: var(--navy); font-size: 14px; font-weight: 700; letter-spacing: .03em; margin-bottom: 22px; }
.hero h1 { font-size: clamp(40px, 4.4vw, 62px); line-height: 1.22; font-weight: 750; letter-spacing: -.055em; }
.hero-description { margin-top: 26px; color: var(--muted); font-size: 19px; line-height: 1.8; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; min-height: 54px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 600; line-height: 1.4; cursor: pointer; }
.button.primary { color: white; background: var(--navy); }
.button.primary:hover { background: #244765; }
.button.secondary { border-color: #99a5b1; background: white; }
.hero .button { margin-top: 32px; }
.hero-caption { font-size: 14px; color: var(--muted); margin-top: 14px; }
.mobile-break { display: none; }
.schedule-preview { border: 1px solid #c9d2dc; border-top: 3px solid var(--navy); background: white; }
.preview-heading { padding: 20px 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 15px; font-weight: 600; }
.sample-label { font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.preview-date { padding: 6px 24px 24px; font-size: 25px; font-weight: 700; }
.preview-date span { font-size: 17px; font-weight: 400; margin-left: 8px; color: var(--muted); }
.preview-course { display: flex; align-items: center; gap: 16px; background: var(--surface); padding: 16px 24px; border-block: 1px solid var(--line); }
.course-time { font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--navy); }
.preview-course strong { font-size: 18px; }
.tag { margin-left: auto; border: 1px solid #a2b2c0; color: var(--navy); border-radius: 2px; padding: 2px 8px; font-size: 13px; white-space: nowrap; }
.preview-stop { margin: 0 24px; padding: 22px 0; display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; border-bottom: 1px solid var(--line); align-items: start; }
.preview-stop time { font-size: 14px; color: var(--muted); padding-top: 3px; font-variant-numeric: tabular-nums; }
.preview-stop strong { font-size: 18px; }
.preview-stop p { margin-top: 4px; font-size: 16px; color: var(--muted); }
.status-done, .status-pending { font-size: 13px; font-weight: 600; padding-top: 3px; }
.status-done { color: var(--green); }
.status-pending { color: var(--muted); }
.next-course { margin-top: 20px; }
.preview-summary { display: flex; justify-content: space-between; gap: 12px; padding: 16px 24px; font-size: 14px; color: var(--muted); }
.preview-summary strong { color: var(--navy); font-weight: 600; }
.benefit-strip { max-width: 1120px; margin: auto; border-block: 1px solid var(--line); padding: 26px 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit-strip div { display: flex; flex-direction: column; gap: 4px; padding-left: 32px; border-left: 1px solid var(--line); }
.benefit-strip div:first-child { border-left: 0; padding-left: 0; }
.benefit-strip strong { font-size: 18px; color: var(--navy); }
.benefit-strip span { color: var(--muted); font-size: 15px; }
.section { max-width: 1184px; margin: auto; padding: 88px 32px; }
.section h2, .pricing-section h2 { font-size: 34px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 44px; }
.feature-grid article { padding-top: 20px; border-top: 2px solid var(--navy); }
.feature-number { font-size: 13px; font-weight: 700; color: var(--muted); }
.feature-grid h3 { margin: 20px 0 16px; font-size: 23px; }
.feature-grid p { color: var(--muted); font-size: 17px; }
.pricing-section { background: var(--surface); border-top: 1px solid var(--line); padding: 56px max(32px, calc((100vw - 1120px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.pricing-section .eyebrow { margin-bottom: 12px; }
.pricing-section p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.pricing-action p { font-size: 14px; text-align: center; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { max-width: 1184px; margin: auto; padding: 30px 32px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; font-size: 14px; }
.brand-text { font-weight: 700; color: var(--navy); }
.footer-inner small { margin-left: auto; font-size: 12px; }
.footer-legal { display: inline-flex; gap: 14px; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-business { width: 100%; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.footer-business summary { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); font-weight: 700; cursor: pointer; }
.footer-business summary::after { content: '＋'; margin-left: 7px; color: var(--muted); }
.footer-business[open] summary::after { content: '－'; }
.footer-business > div { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 4px 0 8px; }
.footer-business strong { color: var(--ink); }
.legal-shell { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 80px; color: var(--ink); line-height: 1.75; }
.legal-heading { padding-bottom: 24px; border-bottom: 2px solid var(--navy); }
.legal-heading h1 { margin-top: 6px; color: var(--navy); font-size: clamp(32px, 6vw, 46px); }
.legal-heading > p:last-child { margin-top: 8px; color: var(--muted); }
.legal-shell > p { margin-top: 24px; }
.legal-shell section { margin-top: 34px; }
.legal-shell h2 { margin-bottom: 10px; color: var(--navy); font-size: 22px; }
.legal-shell ol, .legal-shell ul { padding-left: 22px; }
.legal-shell a { color: #94500f; text-decoration: underline; }
.legal-table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.legal-table-wrap table { width: 100%; min-width: 680px; border-collapse: collapse; }
.legal-table-wrap th, .legal-table-wrap td { padding: 12px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table-wrap th { background: #f2f5f7; }
.legal-table-wrap tr:last-child td { border-bottom: 0; }
.legal-definition, .legal-contact dl { border-top: 1px solid var(--line); }
.legal-definition > div, .legal-contact dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.legal-definition dt, .legal-contact dt { font-weight: 800; }
.legal-definition dd, .legal-contact dd { margin: 0; }
.entry-panel { max-width: 600px; margin: auto; min-height: 65vh; padding: 72px 24px; }
.entry-panel h1, .app-shell h1 { font-size: 34px; }
.service-notice { margin: 32px 0; border-block: 1px solid var(--line); padding: 28px 0; }
.service-notice h2 { font-size: 22px; }
.service-notice p { margin-top: 16px; color: var(--muted); }
.login-shell { max-width: 1184px; min-height: 670px; margin: 48px auto 80px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border: 1px solid #cbd4dc; }
.login-aside { padding: 72px 56px; background: var(--navy); color: #fff; }
.login-aside-label { color: #a9bdcf; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.login-aside h2 { margin-top: 72px; font-size: clamp(30px, 3vw, 42px); line-height: 1.3; }
.login-aside > p:nth-of-type(2) { max-width: 365px; margin: 24px 0 68px; color: #d1dce6; font-size: 17px; line-height: 1.75; }
.login-aside-detail { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid #526a80; color: #e2ebf2; font-size: 15px; }
.login-aside-detail span:first-child { color: #a9bdcf; font-size: 12px; }
.login-aside-detail span:last-child { margin-left: auto; }
.login-main { display: flex; align-items: center; justify-content: center; padding: 56px; }
.login-form-wrap { width: 100%; max-width: 410px; }
.login-form-label { color: #60758a; font-size: 14px; font-weight: 700; }
.login-form-wrap h1 { margin-top: 8px; color: #152c46; font-size: 40px; }
.login-intro { margin-top: 14px; color: var(--muted); font-size: 16px; }
.login-error { margin-top: 26px; padding: 14px 16px; border-left: 3px solid #a1342f; background: #fff2f0; color: #882a25; font-size: 16px; }
.login-notice { margin-top: 26px; padding: 14px 16px; border-left: 3px solid #31734a; background: #eef8f1; color: #245d39; font-size: 16px; }
.login-form { display: flex; flex-direction: column; margin-top: 36px; }
.login-form label { margin-bottom: 8px; font-size: 16px; font-weight: 700; }
.login-form input:not([type="hidden"]) { width: 100%; min-height: 56px; padding: 12px 15px; border: 1px solid #aab8c5; border-radius: 3px; background: #fff; color: var(--ink); font-size: 18px; }
.login-form input:not([type="hidden"]):focus { border-color: var(--navy); outline: 2px solid #aec4d7; outline-offset: 1px; }
.login-form label:not(:first-of-type) { margin-top: 24px; }
.login-submit { width: 100%; justify-content: space-between; margin-top: 32px; font-size: 18px; }
.login-secondary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.login-secondary p { color: var(--muted); }
.login-secondary a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.login-help { margin-top: 24px; color: #697888; font-size: 13px; }
.login-password-reset { align-self: flex-end; margin-top: 10px; color: var(--navy); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.register-help { margin-top: 7px; color: var(--muted); font-size: 13px; }
.register-consents { display: grid; gap: 12px; margin-top: 28px; padding: 0; border: 0; }
.register-consents legend { margin-bottom: 12px; font-size: 17px; font-weight: 800; }
.login-form .register-consent-check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; margin: 0; padding: 9px 10px; border: 1px solid #c7d0d8; border-radius: 5px; background: #f8fafb; cursor: pointer; }
.login-form .register-consent-check input { flex: 0 0 auto; width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: var(--navy); }
.register-consent-check span { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 8px; line-height: 1.45; }
.register-consent-check a { flex: 0 0 auto; color: #9a5010; font-size: 14px; text-decoration: underline; }
.privacy-consent-summary { padding: 14px; border-left: 3px solid #b96816; background: #fff8ee; color: #4e3a25; font-size: 14px; line-height: 1.55; }
.privacy-consent-summary dl { display: grid; gap: 8px; }
.privacy-consent-summary dl > div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; }
.privacy-consent-summary dt { font-weight: 800; }
.privacy-consent-summary dd { margin: 0; }
.privacy-consent-summary p { margin-top: 10px; }
.password-field { position: relative; }
.login-form .password-field input { padding-right: 56px; }
.password-field button { position: absolute; top: 4px; right: 4px; width: 48px; height: 48px; border: 0; border-radius: 3px; background: transparent; color: #536779; font-size: 19px; cursor: pointer; }
.password-field button:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.register-divider { display: flex; align-items: center; gap: 12px; margin: 26px 0 18px; color: var(--muted); font-size: 13px; }
.register-divider::before, .register-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.register-kakao { width: 100%; min-height: 56px; padding: 12px 16px; border: 0; border-radius: 3px; display: flex; align-items: center; justify-content: center; gap: 7px; background: #fee500; color: #191919; font-size: 17px; font-weight: 700; }
.register-kakao small { margin-left: 8px; font-size: 12px; font-weight: 600; }
.register-kakao:disabled { cursor: not-allowed; opacity: .68; }
.login-social-redirect { margin-top: 24px; }
.kakao-account-email { margin-top: 14px; color: var(--muted); font-size: 14px; }
.login-remember { display: flex !important; align-items: center; gap: 12px; min-height: 54px; margin-top: 16px !important; margin-bottom: 0 !important; cursor: pointer; }
.login-remember input { width: 22px !important; height: 22px; min-height: 0 !important; margin: 0; padding: 0 !important; flex: none; accent-color: var(--navy); }
.login-remember span { display: grid; gap: 2px; }
.login-remember strong { color: var(--ink); font-size: 16px; }
.login-remember small { color: var(--muted); font-size: 13px; font-weight: 400; }
.error-message { margin: 24px 0 32px; }
.app-shell { max-width: 760px; margin: auto; min-height: 65vh; padding: 40px 24px; }
.today-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.today-heading .button { white-space: nowrap; }
.manage-shell { max-width: 960px; min-height: 65vh; margin: auto; padding: 48px 24px 96px; }
.manage-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 32px; }
.manage-heading h1 { font-size: 36px; }
.manage-heading p:not(.eyebrow) { margin-top: 12px; color: var(--muted); font-size: 17px; }
.speech-help { max-width: 680px; margin-top: 22px; border: 1px solid #d8dee4; border-left: 3px solid #b8c3cd; border-radius: 3px; padding: 10px 12px; background: #f5f7f8; color: #6d7883; font-size: 13px; font-weight: 400; line-height: 1.55; }
.manage-heading .speech-help { margin-top: 12px; }
.manage-error { margin-top: 24px; padding: 16px; border-left: 3px solid #a1342f; background: #fff2f0; color: #882a25; }
.manage-empty { margin-top: 48px; padding: 36px 0; border-block: 1px solid var(--line); }
.manage-empty h2 { font-size: 24px; }
.manage-empty p { margin-top: 12px; color: var(--muted); }
.manage-empty form { margin-top: 28px; }
.manage-summary { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; color: var(--navy); }
.manage-summary span { color: var(--muted); }
.manage-course { margin-bottom: 32px; border: 1px solid #cbd4dc; border-top: 3px solid var(--navy); padding: 28px; }
.manage-course-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.manage-course-heading > div { display: flex; align-items: baseline; gap: 16px; }
.manage-course-heading h2 { font-size: 24px; }
.manage-time { color: var(--navy); font-size: 27px; font-weight: 750; font-variant-numeric: tabular-nums; }
.manage-type { border: 1px solid #9aabb9; padding: 3px 8px; color: var(--navy); font-size: 14px; white-space: nowrap; }
.manage-form { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: end; gap: 16px; }
.manage-course-form { margin-top: 24px; }
.manage-field { min-width: 0; }
.manage-field > label, .manage-choice legend { display: block; margin-bottom: 5px; color: var(--muted); font-size: 14px; font-weight: 700; }
.manage-field input, .manage-field textarea { min-width: 0; width: 100%; min-height: 50px; border: 1px solid #aab8c5; border-radius: 3px; padding: 8px 10px; background: #fff; color: var(--ink); font: inherit; font-size: 17px; }
.manage-field textarea { resize: vertical; line-height: 1.5; }
.speech-field { display: flex; min-width: 0; gap: 8px; }
.speech-field input { flex: 1; min-width: 0; }
.speech-button { min-height: 50px; flex: none; padding: 8px 12px; border: 1px solid #899baa; border-radius: 3px; background: #fff; color: var(--navy); font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.speech-button[aria-pressed="true"] { color: #fff; background: var(--navy); }
.speech-button .fa-microphone { margin-right: 6px; font-size: 18px; vertical-align: middle; }
.phone-speech-field { flex-direction: row; align-items: center; }
.phone-speech-field input { width: 100%; min-width: 0; font-size: 18px; }
.phone-speech-field .speech-button { width: auto; min-height: 52px; font-size: 15px; }
.phone-speech-guide { color: #526170; font-size: 16px; line-height: 1.65; }
.manage-choice { grid-column: 1 / -1; min-width: 0; padding: 0; margin: 0; border: 0; }
.manage-choice-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.manage-choice-row label { position: relative; display: block; cursor: pointer; }
.manage-choice-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.manage-choice-row span { display: flex; min-height: 50px; align-items: center; justify-content: center; padding: 8px; border: 1px solid #aab8c5; border-radius: 3px; background: #fff; color: var(--navy); font-size: 16px; font-weight: 600; text-align: center; }
.manage-choice-row input:checked + span { border-color: var(--navy); color: #fff; background: var(--navy); }
.manage-choice-row input:focus-visible + span { outline: 3px solid #2469a8; outline-offset: 2px; }
.manage-form .button { min-height: 50px; grid-column: 1 / -1; justify-self: start; padding-inline: 16px; white-space: nowrap; }
.manage-delete-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 12px; color: #933a31; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.manage-stops { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.manage-stops h3 { font-size: 20px; }
.manage-muted { color: var(--muted); font-size: 15px; }
.manage-stops > .manage-muted { margin-top: 16px; }
.manage-stop { margin-top: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.manage-stop-form { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.manage-stop .manage-muted { margin-top: 8px; }
.manage-add-form { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); margin-top: 24px; padding: 20px; background: var(--surface); }
.manage-stop[id], .manage-add-form[id] { scroll-margin-top: 24px; }
.manage-detail { max-width: 900px; }
.manage-back { display: inline-flex; min-height: 48px; align-items: center; margin-bottom: 12px; color: var(--navy); font-size: 17px; font-weight: 700; text-decoration: none; }
.manage-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.manage-title-time { color: var(--navy); font-variant-numeric: tabular-nums; }
.manage-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 32px; padding-bottom: 16px; }
.manage-list-heading h2, .manage-detail-section h2 { font-size: 24px; }
.manage-list-heading span { color: var(--muted); font-size: 16px; }
.manage-empty-note { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 17px; }
.manage-list { border-top: 1px solid var(--line); }
.manage-list-row { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 88px; border-bottom: 1px solid var(--line); padding: 14px 8px; color: var(--ink); text-decoration: none; }
.manage-list-row:hover, .manage-list-row:focus-visible { background: var(--surface); }
.manage-list-time { color: var(--navy); font-size: 23px; font-weight: 750; font-variant-numeric: tabular-nums; }
.manage-list-time small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.3; }
.manage-list-main { display: grid; gap: 4px; min-width: 0; }
.manage-list-main strong { overflow-wrap: anywhere; font-size: 21px; }
.manage-list-main small { color: var(--muted); font-size: 15px; }
.manage-list-action { color: #a84400; font-size: 15px; font-weight: 750; white-space: nowrap; }
.manage-list-action span { margin-left: 4px; font-size: 25px; vertical-align: -2px; }
.manage-primary-action { margin-top: 28px; }
.manage-detail-section { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 28px; scroll-margin-top: 24px; }
.manage-detail-form { margin-top: 24px; }
.manage-student-row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 20px 8px; font-size: 19px; }
.manage-student-row span { color: var(--muted); font-size: 16px; }
.manage-student-add { margin: 20px 0 24px; }
.manage-student-item { border-bottom: 1px solid var(--line); padding: 12px 8px 16px; scroll-margin-top: 24px; }
.manage-student-item .manage-student-row { border: 0; padding: 8px 0; }
.manage-student-memo { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 6px; color: var(--ink); font-size: 16px; }
.manage-student-edit { display: inline-flex; min-height: 44px; align-items: center; margin-top: 8px; color: var(--navy); font-size: 15px; font-weight: 700; text-underline-offset: 3px; }
.manage-search { margin-top: 24px; }
.manage-search label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 15px; font-weight: 700; }
.manage-search > div { display: flex; gap: 8px; }
.student-search-submit { flex: none; min-height: 50px; padding-inline: 14px; white-space: nowrap; }
.manage-save-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; grid-column: 1 / -1; }
.student-search-mic { width: 50px; min-width: 50px; }
.student-search-mic .fa-microphone { margin-right: 0; }
.manage-row-actions { display: flex; gap: 8px; align-items: center; border-bottom: 1px solid var(--line); }
.manage-row-actions .manage-list-row { flex: 1; min-width: 0; border-bottom: 0; }
.manage-row-actions > .button, .directory-row > .button { flex: none; min-height: 48px; padding-inline: 14px; }
body.modal-open { overflow: hidden; }
.pwa-install-dialog { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 8px; color: var(--ink); background: #fff; }
.pwa-install-dialog::backdrop { background: rgb(0 0 0 / 55%); }
.pwa-install-dialog-inner { padding: 28px 24px 24px; text-align: center; }
.pwa-install-dialog img { display: block; width: 72px; height: 72px; margin: 0 auto 18px; object-fit: contain; }
.pwa-install-dialog h2 { color: var(--navy); font-size: 25px; }
.pwa-install-dialog h2 + p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.pwa-ios-steps { margin: 22px 0 0; padding: 18px 18px 18px 42px; background: var(--surface); text-align: left; }
.pwa-ios-steps li + li { margin-top: 10px; }
.pwa-ios-help { margin-top: 14px; color: var(--muted); font-size: 15px; }
.pwa-browser-help { margin-top: 22px; padding: 18px; background: var(--surface); font-size: 16px; text-align: left; }
.pwa-install-actions { display: grid; gap: 10px; margin-top: 24px; }
.pwa-install-actions .button { width: 100%; min-height: 52px; }
.pwa-install-shortcut-wrap { max-width: 1184px; margin: 0 auto; padding: 24px 32px; text-align: center; }
.pwa-install-shortcut { width: min(100%, 420px); min-height: 52px; border-color: var(--navy); color: var(--navy); }
.pwa-install-shortcut i { font-size: 16px; }
.management-modal { width: min(680px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 6px; color: var(--ink); background: #fff; }
.management-modal[open] { display: flex; flex-direction: column; }
.management-modal::backdrop { background: rgb(0 0 0 / 55%); }
.management-modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.management-modal-bar .button { min-height: 48px; }
.management-modal-status { margin: 0; padding: 0 16px; }
.management-modal-status:not(:empty) { padding-block: 12px; }
.management-modal-content { overflow-y: auto; overscroll-behavior: contain; padding: 16px; }
.management-modal-content .manage-shell { width: 100%; margin: 0; padding: 0; }
.management-modal-content .manage-heading { margin-top: 0; padding: 14px 16px; border-bottom: 0; border-radius: 4px; background: #f0f4f8; }
.management-modal-content .manage-heading h1 { font-size: 24px; }
.management-modal-content .manage-detail-section { margin-top: 16px; padding-top: 0; border-top: 0; }
.management-modal-content .directory-form { grid-template-columns: 1fr; }
.management-modal .notice { z-index: 1; }
.manage-search input { flex: 1; min-width: 0; min-height: 50px; border: 1px solid #aab8c5; border-radius: 3px; padding: 8px 10px; font-size: 17px; }
.manage-picker { border-top: 1px solid var(--line); margin-top: 24px; }
.manage-picker-row { display: flex; align-items: center; gap: 14px; min-height: 64px; border-bottom: 1px solid var(--line); padding: 12px 8px; cursor: pointer; }
.manage-picker-row:has(input:checked) { background: var(--surface); }
.manage-picker-row input { width: 22px; height: 22px; flex: none; accent-color: var(--navy); }
.manage-picker-row span { display: grid; gap: 2px; }
.manage-picker-row strong { font-size: 18px; }
.manage-picker-row small, .manage-field-note { color: var(--muted); font-size: 14px; }
.manage-pick-form, .manage-student-form { display: grid; gap: 20px; margin-top: 24px; }
.manage-pick-form > .button, .manage-student-form > .button { justify-self: start; }
.manage-student-form .manage-field { max-width: 680px; }
.manage-student-form .speech-field textarea, .manage-pick-form .speech-field textarea { flex: 1; }
.manage-field-note { line-height: 1.5; }
.manage-new-course { border-top: 2px solid var(--navy); padding-top: 28px; }
.manage-new-course h2 { margin-bottom: 20px; font-size: 24px; }
.manage-next { margin-top: 28px; color: var(--muted); font-size: 15px; }
.manage-confirm { max-width: 680px; }
.manage-confirm h1 { margin: 8px 0 28px; font-size: 34px; }
.manage-confirm p { margin-top: 16px; }
.manage-confirm .manage-warning { padding: 16px; border-left: 3px solid #a1342f; background: #fff2f0; color: #882a25; }
.manage-confirm form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button.danger { color: #fff; background: #923d35; }
.button.danger:hover { background: #702e28; }
.directory-shell { max-width: 900px; }
.academy-add { display: grid; gap: 12px; margin-top: 24px; }
.academy-add label { font-weight: 700; }
.academy-add input { width: 100%; min-height: 52px; padding: 10px 12px; border: 1px solid #aab8c5; border-radius: 3px; font-size: 18px; }
.academy-add > .button { justify-self: start; }
.academy-item { padding: 20px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.academy-item > strong { font-size: 20px; overflow-wrap: anywhere; }
.academy-edit > summary, .academy-status > summary { padding: 12px 0; min-height: 48px; cursor: pointer; color: var(--navy); font-weight: 700; }
.academy-edit .academy-add { margin-top: 8px; }
.academy-status { margin-top: 16px; }
.academy-status p { margin-bottom: 12px; color: var(--muted); }
.directory-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.directory-toolbar strong { font-size: 17px; }
.student-sort { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.student-sort .button { min-height: 48px; }
.duplicate-students { padding: 16px; border: 2px solid var(--navy); background: #f4f6f8; }
.duplicate-students h2 { margin-top: 0; font-size: 20px; }
.duplicate-students li { margin-bottom: 16px; overflow-wrap: anywhere; }
.directory-form .directory-wide > .button { margin: 4px 4px 4px 0; }
.directory-list { border-bottom: 1px solid var(--line); }
.directory-row { display: flex; align-items: center; gap: 18px; min-height: 82px; padding: 16px 8px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.directory-row:last-child { border-bottom: 0; }
.directory-row:hover, .directory-row:focus-visible { background: var(--surface); }
.directory-row > span:first-child { display: grid; gap: 4px; flex: 1; min-width: 0; }
.directory-row strong { font-size: 20px; overflow-wrap: anywhere; }
.directory-row small, .directory-contact { color: var(--muted); font-size: 15px; }
.directory-row > span:last-child { color: var(--navy); font-size: 28px; }
.directory-row.is-inactive { background: #f5f6f7; }
.directory-row.is-inactive strong { color: #66717c; }
.directory-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; margin-top: 28px; }
.directory-form label { display: grid; gap: 8px; color: var(--ink); font-size: 16px; font-weight: 700; }
.directory-form input, .directory-form select, .directory-form textarea { width: 100%; min-height: 52px; border: 1px solid #aab8c5; border-radius: 3px; padding: 10px 12px; background: white; color: var(--ink); font: inherit; font-weight: 400; }
.directory-form textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.directory-form .speech-field textarea { flex: 1; min-width: 0; }
.directory-form .speech-field:has(textarea) { align-items: flex-start; }
.directory-form input:disabled, .directory-form select:disabled, .directory-form textarea:disabled { background: #f0f2f4; color: #586674; opacity: 1; }
.directory-wide { grid-column: 1 / -1; }
.directory-form > .button { justify-self: start; }
.directory-call-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.directory-status { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.directory-status p { max-width: 680px; margin-bottom: 16px; color: var(--muted); font-size: 15px; }
.app-bottom-nav { position: fixed; z-index: 30; left: 50%; bottom: 0; width: min(100%, 760px); min-height: 72px; transform: translateX(-50%); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid #c7d0d8; border-bottom: 0; background: #fff; box-shadow: 0 -4px 16px rgba(18, 39, 62, .1); padding-bottom: env(safe-area-inset-bottom); }
.app-bottom-nav a { display: flex; min-width: 0; min-height: 72px; align-items: center; justify-content: center; flex-direction: column; gap: 3px; padding: 7px 2px; color: #425365; font-size: 13px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; }
.app-bottom-nav a:hover, .app-bottom-nav a:focus-visible { background: #eef2f5; color: var(--navy); }
.app-bottom-nav svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body:has(.app-bottom-nav) { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
.mypage-shell { max-width: 760px; }
.mypage-info { margin-top: 32px; border-top: 2px solid var(--navy); }
.mypage-info > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; min-height: 68px; align-items: center; border-bottom: 1px solid var(--line); padding: 12px 8px; }
.mypage-info dt { color: var(--muted); font-weight: 700; }
.mypage-info dd { margin: 0; color: var(--ink); font-size: 18px; overflow-wrap: anywhere; }
.empty-state { padding: 40px 0; margin-top: 24px; border-block: 1px solid var(--line); }
.empty-state h2 { font-size: 22px; }
.empty-state p { margin-top: 12px; color: var(--muted); }
.course-row { display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); padding: 24px 0; }
.course-row time { font-size: 22px; font-weight: 700; color: var(--navy); }
.course-row h2 { font-size: 20px; }
.course-row-link { color: var(--ink); text-decoration: none; }
.course-row-link:hover, .course-row-link:focus-visible { background: var(--surface); }
.course-row-link span { margin-left: auto; color: var(--navy); font-size: 15px; font-weight: 700; }
.readonly-banner { border-left: 3px solid #9c650b; background: #fff8e8; padding: 16px; margin-top: 24px; }
.notice, .update-notice { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 10; margin: auto; max-width: 600px; padding: 16px; background: var(--navy); color: white; border-radius: var(--radius); }
.notice { border-radius: 12px; background: rgba(48, 52, 56, .9); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); text-align: center; }
body:has(.app-bottom-nav) .notice { bottom: calc(89px + env(safe-area-inset-bottom, 0px)); z-index: 40; }
.update-notice { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.update-notice button { min-height: 48px; padding: 8px 16px; border: 1px solid white; background: transparent; color: white; border-radius: var(--radius); cursor: pointer; white-space: nowrap; }

/* Public entry page */
.home-hero { background: #f7f8f9; border-bottom: 1px solid var(--line); }
.home-hero-inner { max-width: 1184px; margin: auto; padding: 96px 32px 100px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .98fr); gap: 72px; align-items: center; }
.home-kicker { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 13px; border: 1px solid #cbd6df; border-radius: 999px; background: #edf2f5; color: var(--navy); font-size: 15px; font-weight: 750; line-height: 1.35; letter-spacing: -.015em; }
.home-hero h1 { margin-top: 24px; color: #152c46; font-size: clamp(43px, 4.2vw, 56px); font-weight: 750; line-height: 1.18; letter-spacing: -.062em; }
.home-title-line, .home-hero-lead span { display: block; }
.home-hero-highlight { margin-top: 32px; color: var(--green); font-size: 18px; line-height: 1.65; }
.home-hero-highlight strong, .home-hero-highlight span { display: block; }
.home-hero-highlight strong { font-size: 20px; font-weight: 750; }
.home-hero-lead { margin-top: 18px; color: #465668; font-size: 20px; line-height: 1.85; }
.home-hero-actions { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.home-hero-actions .button { min-width: 280px; }
.home-text-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--muted); font-size: 16px; }
.home-text-link strong { color: var(--navy); border-bottom: 1px solid var(--navy); }
.home-text-link:hover strong { border-bottom-width: 2px; }
.home-availability { color: #687481; font-size: 14px; margin-top: 16px; }
.home-showcase { min-width: 0; }
.home-showcase-caption { display: flex; justify-content: space-between; margin-bottom: 14px; color: #667584; font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.home-preview { border: 1px solid #cbd4dc; border-top: 4px solid var(--navy); background: #fff; box-shadow: 14px 18px 0 #e8edf1; }
.home-preview-top { padding: 23px 26px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.home-preview-top span { font-size: 15px; color: var(--muted); }
.home-preview-top strong { color: var(--navy); font-size: 17px; }
.home-preview-course-title { display: flex; align-items: center; gap: 13px; padding: 15px 26px; background: #eef2f5; border-bottom: 1px solid var(--line); }
.home-preview-course-title time { color: var(--navy); font-size: 24px; font-weight: 750; font-variant-numeric: tabular-nums; }
.home-preview-course-title strong { font-size: 18px; }
.home-preview-course-title span { margin-left: auto; border: 1px solid #9aabb9; padding: 1px 8px; color: var(--navy); font-size: 13px; font-weight: 600; }
.home-preview-stop { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: start; gap: 14px; min-height: 83px; padding: 17px 26px; border-bottom: 1px solid var(--line); }
.home-preview-stop time { padding-top: 2px; color: #627184; font-size: 13px; font-variant-numeric: tabular-nums; }
.home-preview-stop strong { display: block; font-size: 17px; line-height: 1.4; }
.home-preview-stop small { display: block; color: var(--muted); font-size: 14px; }
.home-preview-state { color: var(--muted); font-size: 13px; white-space: nowrap; }
.home-preview-state.is-complete { color: var(--green); font-weight: 700; }
.home-preview-course-next { margin-top: 14px; }
.home-preview-footer { padding: 13px 26px; color: var(--muted); font-size: 13px; }
.home-facts { border-bottom: 1px solid var(--line); }
.home-facts-inner { max-width: 1184px; margin: auto; padding: 36px 32px; display: grid; grid-template-columns: repeat(3, 1fr); }
.home-facts-inner > div { padding: 0 30px; border-left: 1px solid var(--line); }
.home-facts-inner > div:first-child { padding-left: 0; border: 0; }
.home-facts-inner span { display: block; color: #69798a; font-size: 12px; font-weight: 700; }
.home-facts-inner strong { display: block; margin-top: 5px; color: var(--navy); font-size: 19px; }
.home-facts-inner p { color: var(--muted); font-size: 15px; }
.home-section { max-width: 1184px; margin: auto; padding: 110px 32px 120px; }
.home-section-label { color: #526d88; font-size: 13px; font-weight: 750; letter-spacing: .12em; }
.home-section-intro h2, .home-plan h2, .home-closing h2 { margin-top: 14px; color: #152c46; font-size: clamp(32px, 3vw, 44px); line-height: 1.3; }
.home-section-intro > p:last-child { margin-top: 16px; color: var(--muted); font-size: 18px; }
.home-steps { margin-top: 62px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; }
.home-steps article { border-top: 2px solid var(--navy); padding-top: 20px; }
.home-step-number { color: #5c7085; font-size: 14px; font-weight: 700; }
.home-steps h3 { margin-top: 25px; color: #1e3146; font-size: 23px; }
.home-steps p { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.home-plan { background: #eaf0f4; border-block: 1px solid #d7e0e6; }
.home-plan-inner { max-width: 1184px; margin: auto; padding: 80px 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 390px); gap: 90px; align-items: center; }
.home-plan-copy > p:last-child { max-width: 500px; margin-top: 24px; color: #475c70; font-size: 18px; line-height: 1.8; }
.home-plan-detail { padding: 28px 32px 32px; background: white; border: 1px solid #b9c8d4; border-top: 3px solid var(--navy); }
.home-plan-detail > span { color: var(--muted); font-size: 15px; }
.home-plan-detail > strong { display: block; margin-top: 12px; color: var(--navy); font-size: 20px; }
.home-plan-detail em { font-style: normal; font-size: 40px; font-weight: 750; letter-spacing: -.05em; }
.home-plan-detail > p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.home-plan-detail .button { width: 100%; margin-top: 28px; }
.home-plan-detail small { display: block; margin-top: 12px; color: #657585; font-size: 13px; text-align: center; }
.home-closing { max-width: 1184px; margin: auto; padding: 96px 32px 108px; text-align: center; }
.home-closing > p:nth-of-type(2) { margin-top: 18px; color: var(--muted); font-size: 18px; }
.home-closing .button { margin-top: 30px; }
.guide-hero { border-bottom: 1px solid var(--line); background: #f7f8f9; }
.guide-hero-inner { max-width: 920px; margin: auto; padding: 88px 32px 82px; text-align: center; }
.guide-hero h1 { margin-top: 16px; color: #152c46; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.22; }
.guide-hero p:not(.home-section-label) { max-width: 700px; margin: 24px auto 0; color: var(--muted); font-size: 19px; line-height: 1.8; }
.guide-hero .button { min-width: 240px; margin-top: 32px; }
.guide-hero small { display: block; margin-top: 13px; color: #657585; font-size: 14px; }
.guide-index { max-width: 1120px; margin: 0 auto; padding: 24px 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.guide-index a { min-height: 62px; padding: 10px 16px; justify-content: center; gap: 9px; background: #fff; color: var(--navy); text-align: center; }
.guide-index span { color: #b4681f; font-size: 12px; }
.guide-section { max-width: 1120px; margin: auto; padding: 92px 32px 100px; scroll-margin-top: 20px; }
.guide-section-alt { max-width: none; padding-inline: max(32px, calc((100vw - 1056px) / 2)); border-block: 1px solid var(--line); background: #f5f7f8; }
.guide-step-heading { display: flex; align-items: start; gap: 24px; }
.guide-step-heading > span { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; font-size: 15px; font-weight: 750; }
.guide-step-heading p { color: #64778a; font-size: 14px; font-weight: 700; }
.guide-step-heading h2 { margin-top: 5px; color: #152c46; font-size: clamp(29px, 3vw, 39px); }
.guide-detail-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-detail-grid article { border: 1px solid #ccd5dd; border-top: 3px solid var(--navy); padding: 28px 26px; background: #fff; }
.guide-detail-grid i { color: #b96816; font-size: 24px; }
.guide-detail-grid h3 { margin-top: 20px; color: #20364d; font-size: 21px; }
.guide-detail-grid p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.guide-detail-two { grid-template-columns: repeat(2, 1fr); }
.guide-flow { margin: 48px 0 0; padding: 0; list-style: none; counter-reset: guide-flow; border-top: 2px solid var(--navy); }
.guide-flow li { min-height: 86px; padding: 18px 12px; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: center; border-bottom: 1px solid #ccd5dd; }
.guide-flow strong { color: var(--navy); font-size: 18px; }
.guide-flow span { color: var(--muted); font-size: 16px; }
.guide-cta { margin-top: 52px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #e0bc91; background: #fff1df; }
.guide-cta strong { color: #6f3d0c; font-size: 19px; }
.guide-cta p { margin-top: 3px; color: #765531; font-size: 15px; }
.guide-cta .button { flex: none; }
.guide-history-box { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 2px solid var(--navy); }
.guide-history-box > div { padding: 28px; border-left: 1px solid var(--line); }
.guide-history-box > div:first-child { border-left: 0; }
.guide-history-box strong { color: var(--navy); font-size: 19px; }
.guide-history-box p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.guide-final { padding: 92px 32px 104px; text-align: center; background: #eaf0f4; }
.guide-final h2 { margin-top: 14px; color: #152c46; font-size: clamp(32px, 3vw, 44px); }
.guide-final > p:nth-of-type(2) { margin-top: 18px; color: var(--muted); font-size: 18px; }
.guide-final .button { margin-top: 30px; }
@media (max-width: 800px) {
    .manage-form, .manage-stop-form, .manage-add-form { grid-template-columns: 1fr; }
    .manage-choice, .manage-form .button { grid-column: auto; }
    .manage-heading { flex-direction: column; }
    .manage-course { padding: 22px; }
    .directory-form { grid-template-columns: 1fr; }
    .directory-wide { grid-column: auto; }
    .manage-list-row { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; }
    .manage-list-time { font-size: 20px; }
    .manage-list-main strong { font-size: 19px; }
    .manage-list-action { grid-column: 2; font-size: 14px; }
    .header-inner { min-height: 72px; padding-inline: 24px; }
    .header-about { display: none; }
    .hero { gap: 40px; padding: 48px 24px; grid-template-columns: 1fr; }
    .hero h1 { font-size: 44px; }
    .hero-description { font-size: 18px; }
    .hero-copy { max-width: 560px; }
    .schedule-preview { max-width: 560px; width: 100%; }
    .benefit-strip { margin-inline: 24px; grid-template-columns: 1fr; gap: 20px; padding-block: 24px; }
    .benefit-strip div, .benefit-strip div:first-child { border: 0; padding: 0; }
    .section { padding: 56px 24px; }
    .section h2, .pricing-section h2 { font-size: 29px; }
    .feature-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
    .feature-grid h3 br { display: none; }
    .pricing-section { flex-direction: column; align-items: start; padding: 40px 24px; }
    .footer-inner { flex-wrap: wrap; gap: 8px 20px; padding: 24px; }
    .footer-inner small { width: 100%; margin-left: 0; }
    .login-shell { min-height: 0; margin: 0 auto 48px; display: block; border: 0; }
    .login-aside { display: none; }
    .login-main { display: block; padding: 48px 24px 72px; }
    .login-form-wrap { max-width: 500px; margin: auto; }
    .home-hero-inner { padding: 58px 24px 72px; grid-template-columns: 1fr; gap: 52px; }
    .home-hero h1 { font-size: clamp(32px, 8.6vw, 48px); }
    .home-hero-lead { font-size: 18px; }
    .home-showcase { max-width: 560px; width: 100%; }
    .home-facts-inner { padding: 12px 24px; grid-template-columns: 1fr; }
    .home-facts-inner > div, .home-facts-inner > div:first-child { border: 0; border-bottom: 1px solid var(--line); padding: 16px 0; }
    .home-facts-inner > div:last-child { border-bottom: 0; }
    .home-section { padding: 72px 24px 80px; }
    .home-steps { grid-template-columns: 1fr; gap: 40px; margin-top: 44px; }
    .home-plan-inner { padding: 64px 24px; grid-template-columns: 1fr; gap: 42px; }
    .home-plan-detail { max-width: 480px; }
    .home-closing { padding: 74px 24px 86px; }
    .guide-hero-inner { padding: 64px 24px 66px; }
    .guide-index { padding: 16px 24px; grid-template-columns: repeat(2, 1fr); }
    .guide-section, .guide-section-alt { padding: 70px 24px 78px; }
    .guide-detail-grid, .guide-detail-two { grid-template-columns: 1fr; }
    .guide-flow li { grid-template-columns: 1fr; gap: 4px; }
    .guide-cta { align-items: stretch; flex-direction: column; }
    .guide-cta .button { width: 100%; }
    .guide-history-box { grid-template-columns: 1fr; }
    .guide-history-box > div, .guide-history-box > div:first-child { border-left: 0; border-top: 1px solid var(--line); }
    .guide-history-box > div:first-child { border-top: 0; }
    .guide-final { padding: 70px 24px 82px; }
}
@media (max-width: 620px) {
    .header-today { display: none; }
    .master-header-app { display: none; }
    .site-header .brand, .header-logout { white-space: nowrap; }
    .header-directory { display: none; }
    .directory-contact { display: none; }
    .directory-toolbar .button { min-height: 48px; }
    .app-bottom-nav { width: 100%; border-inline: 0; }
    .app-bottom-nav a { font-size: 12px; }
    .mypage-info > div { grid-template-columns: 1fr; gap: 4px; padding-block: 16px; }
}
@media (max-width: 380px) {
    .today-heading { align-items: start; flex-direction: column; }
    .manage-shell { padding-inline: 16px; }
    .speech-button { padding-inline: 9px; font-size: 14px; }
    .manage-choice-row span { font-size: 14px; }
    .manage-course-heading > div { display: block; }
    .brand { font-size: 21px; gap: 8px; }
    .header-inner { padding-inline: 16px; }
    nav { gap: 14px; font-size: 14px; }
    .header-logout button { font-size: 14px; }
    .hero { padding-inline: 16px; }
    .hero h1 { font-size: 40px; }
    .preview-course { gap: 10px; padding-inline: 16px; }
    .preview-stop { margin-inline: 16px; gap: 10px; grid-template-columns: 44px 1fr auto; }
    .preview-summary { padding-inline: 16px; font-size: 13px; }
    .mobile-break { display: initial; }
    .home-hero-inner { padding-inline: 16px; }
    .home-hero h1 { font-size: clamp(30px, 8.6vw, 33px); }
    .home-hero-actions .button { width: 100%; min-width: 0; }
    .home-preview-top, .home-preview-course-title, .home-preview-stop, .home-preview-footer { padding-inline: 16px; }
    .home-preview-stop { gap: 9px; grid-template-columns: 44px minmax(0, 1fr) auto; }
    .home-facts-inner { padding-inline: 16px; }
    .home-section, .home-plan-inner, .home-closing { padding-inline: 16px; }
    .home-plan-detail { padding-inline: 20px; }
    .guide-hero-inner, .guide-index, .guide-section, .guide-section-alt, .guide-final { padding-inline: 16px; }
    .guide-index { grid-template-columns: 1fr; }
    .guide-step-heading { gap: 14px; }
    .guide-step-heading > span { width: 44px; height: 44px; }
    .guide-detail-grid article, .guide-history-box > div { padding: 22px 20px; }
    .guide-cta { padding: 20px; }
    .login-main { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Daily operation sheet: all routes and riders remain in one scrolling page. */
.schedule-date-form { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.schedule-date-form .manage-field { flex: 1; min-width: 180px; max-width: 320px; }
.schedule-import { margin-top: 20px; border-block: 1px solid var(--line); padding: 20px 0; }
.schedule-import h2, .schedule-import-summary h2 { font-size: 21px; }
.schedule-import > p { margin-top: 6px; color: var(--muted); }
.schedule-import-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.schedule-import-actions .button { min-width: 0; min-height: 52px; padding-inline: 4px; font-size: 14px; text-align: center; white-space: nowrap; }
.schedule-import-summary { margin-top: 24px; }
.schedule-import-summary dl { margin-top: 14px; border-top: 1px solid var(--line); }
.schedule-import-summary dl div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 12px 4px; }
.schedule-import-summary dt { color: var(--muted); }
.schedule-import-summary dd { margin: 0; color: var(--navy); font-weight: 700; }
.manage-warning { margin-top: 22px; border-left: 3px solid #a1342f; padding: 14px 16px; background: #fff2f0; color: #752620; line-height: 1.6; }
.schedule-import-confirm { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.schedule-import-confirm .button { min-height: 50px; }
.schedule-source-calendar { grid-template-columns: 1fr; }
.schedule-source-calendar .flatpickr-calendar.inline { margin-top: 10px; border: 1px solid var(--line); box-shadow: none; }
.schedule-source-calendar .flatpickr-day.has-schedule { border-color: #8ba9c2; background: #e8f1f7; color: var(--navy); font-weight: 700; }
.schedule-source-calendar .flatpickr-day.has-schedule:hover,
.schedule-source-calendar .flatpickr-day.has-schedule:focus { border-color: var(--navy); background: #d6e5f0; }
.schedule-source-calendar .flatpickr-day.has-schedule.selected { border-color: var(--navy); background: var(--navy); color: #fff; }
.runtime-title-row, .history-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.runtime-title-row .button, .history-title-row .button { min-height: 48px; padding: 9px 14px; white-space: nowrap; }
.runtime-course { margin-top: 32px; border: 1px solid var(--line); }
.runtime-course-heading { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; padding: 16px; background: var(--navy); color: #fff; }
.runtime-course-heading time { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.runtime-course-heading time small, .runtime-stop > h3 time small { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 500; line-height: 1.2; }
.runtime-course-heading time small { color: #dbe4ec; }
.runtime-course-heading h2 { min-width: 0; margin: 0; font-size: 21px; overflow-wrap: anywhere; }
.runtime-course-heading > span { justify-self: end; padding: 5px 10px; border-radius: 6px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.runtime-stop > h3 { margin: 0; padding: 16px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: 19px; overflow-wrap: anywhere; }
.runtime-stop > h3 time { display: inline-block; margin-right: 8px; color: var(--navy); font-variant-numeric: tabular-nums; }
.runtime-stop > h3 time small { color: var(--muted); }
.runtime-rider { padding: 16px; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.runtime-rider-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.runtime-rider-name { display: flex; min-width: 0; align-items: center; gap: 8px; }
.runtime-rider-heading h4 { margin: 0; font-size: 21px; overflow-wrap: anywhere; }
.runtime-rider-heading span { font-weight: 700; color: var(--navy); }
.runtime-call { display: inline-flex; width: 44px; height: 44px; flex: 0 0 44px; align-items: center; justify-content: center; border: 1px solid #aab8c5; border-radius: 50%; background: #eef2f5; color: var(--navy); font: inherit; font-size: 18px; cursor: pointer; }
.runtime-call:hover, .runtime-call:focus-visible { border-color: var(--navy); background: #dfe8ef; }
.runtime-call-dialog { width: min(calc(100% - 32px), 440px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #aab8c5; border-radius: 8px; color: var(--ink); }
.runtime-call-dialog::backdrop { background: rgb(0 0 0 / 55%); }
.runtime-call-dialog-inner { padding: 20px; }
.runtime-call-dialog h2 { margin-bottom: 18px; font-size: 23px; }
.runtime-call-options { display: grid; gap: 12px; }
.runtime-call-option { display: grid; gap: 8px; padding: 14px; background: var(--surface); }
.runtime-call-option > strong { font-size: 16px; }
.runtime-call-link { min-height: 52px; justify-content: space-between; gap: 12px; color: var(--navy); background: #fff; }
.runtime-call-empty { color: var(--muted); font-size: 16px; }
.runtime-call-close { width: 100%; margin-top: 18px; }
.runtime-rider p { margin: 8px 0; overflow-wrap: anywhere; }
.runtime-status-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.runtime-status-form .button { flex: 1; min-height: 48px; padding: 10px 12px; font-size: 17px; }
.runtime-status-form [aria-pressed="true"]:not([value="pending"]) { background: #fff; border: 2px solid #c65300; color: var(--navy); }
.runtime-status-form [value="pending"][aria-pressed="true"] { background: #eef2f5; border-color: #aab8c5; color: var(--navy); }
.runtime-memo { margin-top: 8px; }
.runtime-memo summary { min-height: 48px; padding: 12px 0; cursor: pointer; font-weight: 700; }
.runtime-memo .speech-field { align-items: stretch; }
.runtime-memo .speech-field textarea { flex: 1; min-width: 0; }
.runtime-memo .speech-button { background: #eef2f5; }
.runtime-memo .button { margin-top: 8px; min-height: 48px; }
.runtime-saved-memo, .runtime-plan-memo { white-space: pre-wrap; }
.runtime-feedback { color: var(--navy); font-size: 16px; }
.runtime-feedback:empty { display: none; }
.history-filter { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(180px, 1fr) auto auto; align-items: end; gap: 10px; margin-top: 24px; padding: 16px; background: var(--surface); }
.history-filter .button { min-height: 50px; padding-inline: 16px; }
.history-result-note { margin-top: 16px; color: var(--muted); }
.history-date-heading { margin-top: 28px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.history-date-heading h2 { margin-top: 2px; font-size: 24px; }
.history-course { margin-top: 18px; }
.history-status { padding: 4px 8px; border: 1px solid #aab8c5; border-radius: 4px; background: #eef2f5; font-size: 14px; }
.history-status.is-completed { border-color: #7ea58f; background: #e8f2ec; color: #1f6043; }
.history-status.is-not_boarded { border-color: #cc8c62; background: #fff1e8; color: #8a3d0c; }

/* Master administration */
.master-shell { max-width: 1120px; min-height: 70vh; margin: auto; padding: 48px 24px 80px; }
.master-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 2px solid var(--navy); }
.master-heading h1 { font-size: 36px; }
.master-heading p:not(.eyebrow) { margin-top: 10px; color: var(--muted); }
.master-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.master-stats > div { display: grid; gap: 4px; padding: 20px; border: 1px solid var(--line); background: #f6f8fa; }
.master-stats strong { color: var(--navy); font-size: 30px; }
.master-stats span { color: var(--muted); font-size: 14px; font-weight: 700; }
.master-success { margin-top: 20px; padding: 15px 16px; border-left: 3px solid #2b7353; background: #eaf5ee; color: #18583d; font-weight: 700; }
.master-section { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.master-section > h2, .master-section-heading h2 { font-size: 25px; }
.master-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.master-section-heading p, .master-help { margin-top: 7px; color: var(--muted); }
.master-section-heading > strong { color: #a84400; white-space: nowrap; }
.master-empty { padding: 26px 8px; border-block: 1px solid var(--line); color: var(--muted); }
.master-payment-list { display: grid; gap: 16px; }
.master-payment-card { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; padding: 22px; border: 1px solid #c8d2db; border-top: 3px solid #a84400; }
.master-payment-main > p { display: flex; align-items: baseline; gap: 12px; }
.master-payment-main > p strong { font-size: 22px; }
.master-payment-main a, .master-table a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; }
.master-payment-main dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin-top: 18px; }
.master-payment-main dl div { display: grid; gap: 3px; }
.master-payment-main dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.master-payment-main dd { margin: 0; font-size: 17px; }
.master-payment-actions { display: grid; align-content: start; gap: 10px; }
.master-payment-actions .button { width: 100%; min-height: 48px; padding-inline: 12px; }
.master-payment-actions summary, .master-history > summary { min-height: 46px; padding: 11px 4px; color: var(--navy); font-weight: 700; cursor: pointer; }
.master-payment-actions details form { display: grid; gap: 10px; padding-top: 8px; }
.master-payment-actions label { display: grid; gap: 5px; color: var(--muted); font-size: 14px; font-weight: 700; }
.master-payment-actions input, .master-search input, .master-inline-form input { width: 100%; min-height: 48px; padding: 8px 10px; border: 1px solid #aab8c5; border-radius: 3px; font: inherit; }
.master-history { margin-top: 24px; }
.master-table-wrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); }
.master-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.master-table th, .master-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.master-table th { background: #f0f3f6; color: #4f5f6e; font-size: 13px; }
.master-status { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 9px; border: 1px solid #aeb9c3; border-radius: 3px; background: #f0f3f5; color: #43515e; font-size: 13px; font-weight: 800; white-space: nowrap; }
.master-status.is-active, .master-status.is-confirmed { border-color: #70a187; background: #e8f3ed; color: #185d40; }
.master-status.is-pending, .master-status.is-expired { border-color: #d4a261; background: #fff4df; color: #81500f; }
.master-status.is-suspended, .master-status.is-rejected, .master-status.is-withdrawn { border-color: #c88d87; background: #fff0ee; color: #87352d; }
.master-search { display: grid; gap: 7px; max-width: 680px; margin-bottom: 20px; }
.master-search > label { color: var(--muted); font-size: 14px; font-weight: 700; }
.master-search > div { display: flex; gap: 8px; }
.master-search input { flex: 1; min-width: 0; }
.master-search .button { min-height: 48px; padding-inline: 18px; }
.master-user-list { border-top: 1px solid var(--line); }
.master-user-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; align-items: center; gap: 14px; min-height: 78px; padding: 14px 8px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.master-user-row:hover, .master-user-row:focus-visible { background: var(--surface); }
.master-user-row > span:first-child { display: grid; gap: 4px; min-width: 0; }
.master-user-row strong { overflow-wrap: anywhere; font-size: 19px; }
.master-user-row small { color: var(--muted); overflow-wrap: anywhere; }
.master-user-row > span:last-child { color: var(--navy); font-size: 28px; }
.master-pagination { display: grid; grid-template-columns: minmax(90px, auto) 1fr minmax(90px, auto); align-items: center; gap: 12px; max-width: 420px; margin: 24px auto 0; }
.master-pagination .button { min-height: 48px; padding: 10px 16px; }
.master-pagination strong { text-align: center; font-variant-numeric: tabular-nums; }
.master-pagination .is-disabled { color: #8a949d; background: #f1f3f5; cursor: default; }
.master-user-detail { max-width: 900px; }
.master-detail-list { margin-top: 18px; border-top: 1px solid var(--line); }
.master-detail-list > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; min-height: 58px; align-items: center; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.master-detail-list dt { color: var(--muted); font-weight: 700; }
.master-detail-list dd { margin: 0; overflow-wrap: anywhere; }
.master-inline-form { display: flex; align-items: end; gap: 12px; margin-top: 20px; }
.master-inline-form label { display: grid; gap: 6px; max-width: 180px; font-weight: 700; }
.master-inline-form .button { min-height: 48px; }
.master-date-form { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)) auto; align-items: end; gap: 14px; margin-top: 20px; }
.master-date-form label { display: grid; gap: 6px; font-weight: 700; }
.master-date-form input { width: 100%; min-height: 48px; padding: 8px 10px; border: 1px solid #aab8c5; border-radius: 3px; font: inherit; }
.master-date-form .button { min-height: 48px; }
.master-danger-section { border-top-color: #dcb8b4; }
.master-danger-section > p { margin: 8px 0 18px; color: var(--muted); }
.master-create-form { display: grid; gap: 20px; max-width: 620px; margin-top: 30px; }
.master-create-field { display: grid; gap: 7px; }
.master-create-field > label { font-weight: 700; }
.master-create-form input { width: 100%; min-height: 52px; padding: 10px 12px; border: 1px solid #aab8c5; border-radius: 3px; font: inherit; }
.master-create-form small { color: var(--muted); font-size: 13px; font-weight: 400; }
.master-create-form .password-field { display: block; }
.master-create-form .password-field input { padding-right: 58px; }
.master-create-note { padding: 14px; border-left: 3px solid #b96816; background: #fff4e6; color: #694217; line-height: 1.6; }
.master-create-form > .button { justify-self: start; min-height: 52px; }
.master-bank-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 14px; }
.master-bank-form label { display: grid; gap: 6px; font-weight: 700; }
.master-bank-form input, .payment-request-form input { width: 100%; min-height: 50px; padding: 9px 11px; border: 1px solid #aab8c5; border-radius: 3px; font: inherit; }
.master-bank-form .button { min-height: 50px; padding-inline: 16px; }
.mypage-billing { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.mypage-section-heading h2 { font-size: 25px; }
.mypage-section-heading > p:not(.eyebrow) { margin-top: 7px; color: var(--muted); }
.payment-account-info { margin-top: 20px; border: 1px solid #ccd5dd; background: #f7f9fa; }
.payment-account-info > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; min-height: 54px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.payment-account-info > div:last-child { border-bottom: 0; }
.payment-account-info dt { color: var(--muted); font-weight: 700; }
.payment-account-info dd { margin: 0; overflow-wrap: anywhere; }
.payment-account-number { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-copy-button { flex: 0 0 auto; min-height: 44px; padding: 8px 14px; border: 1px solid #b96816; border-radius: 5px; background: #fff4e6; color: #75420d; font: inherit; font-weight: 700; cursor: pointer; }
.account-copy-button:focus-visible { outline: 3px solid rgba(185, 104, 22, .28); outline-offset: 2px; }
.payment-request-form { display: grid; gap: 14px; margin-top: 20px; }
.payment-request-form label { display: grid; gap: 6px; max-width: 420px; font-weight: 700; }
.payment-request-form p { color: var(--muted); line-height: 1.6; }
.payment-request-form .button { justify-self: start; }
.payment-pending-notice { margin-top: 20px; padding: 18px; border-left: 3px solid #b96816; background: #fff4e6; }
.payment-pending-notice strong { color: #75420d; font-size: 18px; }
.payment-pending-notice p { margin-top: 7px; color: #694f32; line-height: 1.55; }
.payment-history-list { margin-top: 16px; border-top: 1px solid var(--line); }
.payment-history-list > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.payment-history-list > div > span:first-child { display: grid; gap: 4px; }
.payment-history-list small { color: var(--muted); }

@media (max-width: 680px) {
    .master-shell { padding: 32px 16px 56px; }
    .master-heading { display: grid; }
    .master-heading h1 { font-size: 30px; }
    .master-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .master-stats > div { padding: 14px 10px; }
    .master-stats strong { font-size: 25px; }
    .master-payment-card { grid-template-columns: 1fr; padding: 18px 14px; }
    .master-payment-main dl { grid-template-columns: 1fr; }
    .master-inline-form { align-items: stretch; flex-direction: column; }
    .master-inline-form label { max-width: none; }
    .master-date-form { grid-template-columns: 1fr; }
    .master-bank-form { grid-template-columns: 1fr; }
    .payment-account-info > div { grid-template-columns: 1fr; gap: 3px; padding-block: 12px; }
    .payment-account-number { gap: 10px; }
    .master-detail-list > div { grid-template-columns: 1fr; gap: 3px; padding-block: 12px; }
}
.history-runtime-memo { padding: 10px 12px; background: #fff8e8; white-space: pre-wrap; }
@media (max-width: 480px) {
    .runtime-schedule { padding: 24px 12px; }
    .runtime-rider, .runtime-course-heading, .runtime-stop > h3 { padding: 14px 12px; }
    .runtime-title-row, .history-title-row { align-items: flex-start; }
    .runtime-title-row .button, .history-title-row .button { font-size: 14px; }
    .history-filter { grid-template-columns: 1fr; }
    .history-filter .button { width: 100%; }
}
.manage-stop-group { border-bottom: 1px solid var(--line); padding: 16px 0; }
.manage-stop-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px; border-radius: 4px; background: #f3f5f7; }
.manage-stop-info { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 180px; }
.manage-stop-info h3 { font-size: 19px; overflow-wrap: anywhere; }
.manage-stop-actions { display: flex; gap: 8px; margin-left: auto; }
.manage-stop-actions .button { min-height: 48px; padding: 10px 14px; }
.manage-stop-actions .manage-stop-delete { color: #933a31; border-color: #b96b64; }
.manage-stop-students { margin: 16px 0 0 16px; padding-left: 12px; border-left: 3px solid var(--line); }
.manage-stop-students .manage-student-add { margin: 12px 0 0; min-height: 48px; }
.manage-stop-students .manage-empty-note { padding: 8px 0; }
.manage-placement-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.manage-placement-info { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; min-width: 0; font-size: 19px; overflow-wrap: anywhere; }
.manage-placement-info span { color: var(--muted); font-size: 14px; }
.manage-placement-actions { display: flex; flex: none; gap: 6px; }
.manage-placement-actions .button { min-width: 44px; min-height: 48px; padding: 10px; font-size: 15px; }
.manage-placement-actions .manage-placement-delete { color: #933a31; border-color: #b96b64; }
.speech-listening-modal { position: fixed; inset: 0; margin: auto; width: min(340px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 28px 24px; border: 0; border-radius: 6px; background: #fff; color: var(--ink); text-align: center; }
.speech-listening-modal::backdrop { background: rgb(0 0 0 / 45%); }
.speech-listening-modal h2 { font-size: 25px; margin: 12px 0; }
.speech-listening-modal p { font-size: 17px; color: var(--muted); margin-bottom: 24px; }
.speech-listening-modal .button { width: 100%; min-height: 48px; }
.speech-listening-wave { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; }
.speech-listening-wave span { width: 6px; height: 32px; border-radius: 3px; background: var(--navy); animation: speech-listening-pulse 1s ease-in-out infinite; }
.speech-listening-wave span:nth-child(2), .speech-listening-wave span:nth-child(4) { animation-delay: .15s; }
.speech-listening-wave span:nth-child(3) { animation-delay: .3s; }
@keyframes speech-listening-pulse { 0%, 100% { transform: scaleY(.35); opacity: .55; } 50% { transform: scaleY(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .speech-listening-wave span { animation: none; } }
