/* Unified readable UI. Loaded after component styles; no scheduling geometry or behavior changes. */
.extension-summary { white-space: pre-line; line-height: 1.8; }
.extension-help, .extension-status { color: #5d6b80; font-size: 14px; line-height: 1.7; }
.extension-list-heading { margin-top: 24px; }
#extension-room-schedule { max-height: 340px; overflow: auto; margin-bottom: 16px; }
.extension-conflict { padding: 16px; margin: 12px 0; border: 1px solid #e8c88d; border-radius: 12px; background: #fffcf5; }
#extension-review-dialog .field, #extension-apply-dialog .field { margin: 16px 0; }
.room-free-slot { color: #08764c; background: #edf8f1; padding: 12px; border-radius: 8px; font-size: 14px; }
.room-booking-slot { display: block; width: 100%; text-align: left; white-space: pre-line; overflow-wrap: anywhere; padding: 14px; margin: 10px 0; border: 1px solid #cbdafa; border-radius: 8px; color: #243249; background: #f0f5ff; font-size: 15px; line-height: 1.7; cursor: pointer; }
button.schedule-room-name { cursor: pointer; text-align: left; color: inherit; border-top: 0; border-left: 0; border-bottom: 0; border-radius: 0; }
button.schedule-room-name:hover, button.schedule-room-name:focus-visible { background: #eaf1ff; }
:root {
  --ink: #243249;
  --muted: #5d6b80;
  --line: #dce3ed;
  --canvas: #f4f6fa;
  --blue: #285fd6;
  --blue-dark: #194cae;
  --green: #08764c;
  --shadow: 0 6px 24px rgba(28, 45, 76, .045);
  --text-body: 16px;
  --text-note: 14px;
  --text-control: 17px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
body { background: linear-gradient(180deg, #eef3fb 0, #f4f6fa 280px); }
h1, h2, h3, h4, strong { font-weight: 600; }
h1, h2, h3, h4 { letter-spacing: 0; line-height: 1.4; overflow-wrap: anywhere; }
button, input, select, textarea { font-family: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #285fd6; outline-offset: 3px; }
input::placeholder, textarea::placeholder { color: #63728a; opacity: 1; }
.shell { padding-top: 36px; }
.hero { margin-bottom: 24px; }
h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: 0; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .12em; color: #5b7194; }
.subtitle { font-size: var(--text-note); line-height: 1.6; }
.brand-mark { border-radius: 16px; box-shadow: none; background: #fff; }
.user-pill { gap: 10px; padding: 8px 10px; border-radius: 14px; background: #fff; backdrop-filter: none; }
.user-copy { gap: 3px; line-height: 1.4; }
.user-copy strong { max-width: 180px; font-size: 16px; }
.user-copy small { font-size: 14px; font-weight: 400; }
.role-switch-button { min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 500; border-radius: 9px; }
.avatar { width: 36px; height: 36px; background: var(--blue); flex-shrink: 0; }
.status-card { background: #fff; box-shadow: none; backdrop-filter: none; }
.status-card strong { font-size: 16px; }
.status-card p { font-size: 14px; }
.status-dot { flex-shrink: 0; }
.card { border-radius: 18px; background: #fff; }
.form-card, .upcoming-card { padding: 30px; }
.card-heading { gap: 16px; }
.card-heading h2 { font-size: 22px; letter-spacing: 0; }
.card-heading > div { min-width: 0; }
.step { width: 36px; height: 36px; flex-shrink: 0; font-size: 14px; font-weight: 600; border-radius: 10px; }
.timezone { font-size: 13px; font-weight: 400; white-space: nowrap; }
.requester-view-tabs { box-shadow: none; backdrop-filter: none; background: #fff; }
.requester-view-tabs button, .admin-view-tabs button { min-height: 50px; font-size: 17px; font-weight: 600; }
.requester-view-tabs button.active { background: var(--blue); box-shadow: none; }
.admin-view-tabs { margin-bottom: 22px; }
.admin-view-tabs button.active { box-shadow: 0 2px 6px rgba(28,45,76,.06); }
.form-wizard-progress span, .form-wizard-progress strong { font-size: 15px; font-weight: 500; }
.wizard-question { font-size: 28px; line-height: 1.45; letter-spacing: 0; margin-bottom: 24px; }
.wizard-step::before { display: none; }
.wizard-stage, .wizard-step { min-height: 220px; }
.wizard-step > .option-list { box-shadow: none; }
.wizard-progress-track i { background: var(--blue); box-shadow: none; }
.wizard-navigation { gap: 12px; }
.field > span { font-size: 16px; font-weight: 500; }
.field input:not([type="hidden"]), .field select, .field textarea, .date-select-button, .time-select-button {
  min-width: 0; min-height: 54px; border-color: #cfd8e5; border-radius: 11px;
  background: #fff; font-size: 17px; line-height: 1.5;
}
.field textarea { padding-top: 14px; padding-bottom: 14px; }
.field small { color: var(--muted); font-size: 14px; }
.field-wide input { padding-right: 72px; }
.duration-end-hint { font-size: 14px; }
.online-provider-heading strong, .online-choice-heading strong, .online-provider-option strong, .switch-row strong { font-size: 17px; font-weight: 600; }
.online-provider-heading small, .online-choice-heading small, .online-provider-option small, .switch-row small { font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--muted); }
.online-provider-option { min-height: 76px; padding: 17px; gap: 12px; }
.switch-row { min-height: 72px; padding: 17px; }
.switch-row:focus-within { outline: 3px solid #285fd6; outline-offset: -3px; }
.dingtalk-provider-note, .zoom-provider-note { font-size: 14px; line-height: 1.75; }
.primary-button, .secondary-button, .danger-button, .danger-outline-button {
  min-height: 52px; padding: 10px 16px; border-radius: 11px; font-size: 17px; font-weight: 600; line-height: 1.5;
}
.primary-button { background: var(--blue); box-shadow: 0 3px 9px rgba(40,95,214,.14); }
.primary-button:hover { background: var(--blue-dark); }
.text-button { min-height: 44px; padding: 8px; font-size: 15px; font-weight: 500; }
.form-message { font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.day-schedule-heading small, .day-schedule-heading > span, .day-schedule-item span, .day-schedule-suggestion span { font-size: 14px; font-weight: 400; }
.day-schedule-heading strong, .day-schedule-item strong { font-size: 16px; font-weight: 600; }
.day-schedule-item { flex-wrap: wrap; }
.day-schedule-suggestion button { min-height: 44px; padding: 8px 12px; font-size: 15px; font-weight: 500; }
.request-time-group > summary { min-height: 56px; padding: 10px 16px; }
.request-time-group > summary strong { font-size: 17px; }
.request-time-group > summary span { font-size: 14px; font-weight: 500; }
.meeting-item { padding: 20px; background: #fff; }
.meeting-item h3 { font-size: 19px; white-space: normal; line-height: 1.5; overflow-wrap: anywhere; }
.meeting-item p, .meeting-item code { font-size: 16px; line-height: 1.7; }
.meeting-item code { font-weight: 500; overflow-wrap: anywhere; }
.meeting-item .request-result { padding: 10px 12px; font-weight: 500; }
.request-status { font-size: 14px; font-weight: 500; line-height: 1.5; }
.request-status.rejected, .request-status.cancelled { color: #5f6c80; }
.meeting-item footer { gap: 10px; flex-wrap: wrap; }
.meeting-actions { gap: 14px; flex-wrap: wrap; }
.meeting-item a, .meeting-share-button, .meeting-cancel-button { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; }
.request-detail-heading h3, .invite-heading h2 { font-size: 24px; line-height: 1.5; }
.request-detail-summary div { grid-template-columns: 100px minmax(0, 1fr); padding: 16px 0; }
.request-detail-summary dt, .summary-list dt, .invite-summary dt { font-size: 15px; }
.request-detail-summary dd, .summary-list dd, .invite-summary dd { font-size: 16px; font-weight: 500; line-height: 1.65; overflow-wrap: anywhere; min-width: 0; }
.request-detail-actions { flex-wrap: wrap; }
.request-detail-actions a, .request-detail-actions button { min-height: 48px; padding: 10px 16px; font-size: 16px; font-weight: 500; }
.invite-heading small { font-size: 14px; }
.invite-actions { flex-wrap: wrap; }
.invite-summary div { gap: 14px; }
.invite-summary dt { flex-shrink: 0; }
.empty-state p, .admin-empty, .stats-empty { font-size: 16px; color: var(--muted); }

/* Administrative views: readable labels with scrolling retained for the 24-hour timeline. */
.admin-card { padding: 28px; }
.admin-heading p, .admin-badge { font-size: 14px; font-weight: 400; }
.admin-heading { flex-wrap: wrap; }
.admin-selected-day { font-size: 14px; padding: 12px 16px; flex-wrap: wrap; }
.admin-selected-day strong { font-size: 17px; }
.pane-heading, .stats-panel-heading, .admin-action-schedule-heading { flex-wrap: wrap; }
.pane-heading h3, .stats-panel-heading h3, .booking-edit-heading h3 { font-size: 19px; }
.pane-heading > span, .stats-panel-heading span, .booking-edit-heading span, .admin-action-schedule-heading span { font-size: 14px; font-weight: 400; }
.admin-layout { grid-template-columns: minmax(300px, .85fr) minmax(0, 1.65fr); gap: 18px; }
.admin-pane, .stats-panel { padding: 18px; background: #fff; }
.admin-request-item { padding: 16px; }
.admin-request-item h4 { font-size: 17px; }
.admin-request-item p { font-size: 15px; line-height: 1.7; }
.admin-request-tags span, .admin-request-item footer > span { font-size: 14px; font-weight: 400; }
.admin-request-item footer { flex-wrap: wrap; }
.small-primary-button { min-height: 44px; padding: 8px 14px; font-size: 16px; font-weight: 500; }
.schedule-table, .admin-action-room-schedule .schedule-table { width: 1620px; }
.schedule-header-row, .schedule-room-row { grid-template-columns: 180px 1440px; }
.schedule-header-row { height: 46px; font-size: 14px; }
.schedule-room-name strong { font-size: 16px; font-weight: 500; }
.schedule-room-name small { font-size: 14px; }
.schedule-room-name, .schedule-timeline,
.admin-action-room-schedule .schedule-room-name, .admin-action-room-schedule .schedule-timeline { min-height: 68px; }
.schedule-booking, .admin-action-room-schedule .schedule-booking { top: 10px; height: 46px; line-height: 44px; font-size: 14px; font-weight: 500; }
.schedule-legend { font-size: 14px; }
.admin-action-schedule-heading strong { font-size: 18px; }
.stats-filter-panel { grid-template-columns: 1fr; background: #f7f9fc; padding: 20px; gap: 18px; }
.stats-filter-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.stats-filter-grid label { min-width: 0; }
.stats-filter-grid label > span { font-size: 15px; font-weight: 500; }
.stats-filter-grid input, .stats-filter-grid select { height: 48px; font-size: 16px; border-color: #cfd8e5; }
.stats-filter-actions { justify-content: end; grid-template-columns: repeat(2, minmax(128px, 160px)); }
.stats-filter-actions .primary-button, .stats-filter-actions .secondary-button { min-height: 48px; font-size: 16px; }
.stats-kpi-grid { gap: 12px; margin-bottom: 20px; }
.stats-kpi-grid article { padding: 18px 16px; }
.stats-kpi-grid span { font-size: 14px; font-weight: 500; }
.stats-kpi-grid strong { font-size: 32px; line-height: 1.2; font-weight: 600; }
.stats-kpi-grid small { color: var(--muted); font-size: 14px; }
.stats-ranking-label { font-size: 15px; font-weight: 500; white-space: normal; overflow-wrap: anywhere; }
.stats-ranking-value { font-size: 14px; font-weight: 400; }
.stats-ranking-row { min-height: 36px; }
.stats-table { min-width: 1100px; font-size: 15px; }
.stats-table th { padding: 14px 12px; font-weight: 500; }
.stats-table td { padding: 16px 12px; line-height: 1.6; }
.stats-record-status { font-size: 14px; font-weight: 500; }
.stats-table-note { font-size: 14px; }

/* Dialogs: larger controls without changing wheel item height (48px). */
.dialog { width: min(520px, calc(100% - 24px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: 20px; }
.dialog-panel { padding: 32px; border-radius: 20px; }
.dialog-close { width: 44px; height: 44px; top: 12px; right: 12px; }
.dialog h2 { padding-right: 24px; font-size: 25px; letter-spacing: 0; }
.dialog-kicker { font-size: 14px; font-weight: 500; letter-spacing: .03em; }
.summary-list div { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
.role-dialog-intro, .cancel-warning, .success-note { font-size: 16px; line-height: 1.7; }
.role-choice-button strong { font-size: 18px; }
.role-choice-button small { font-size: 14px; }
.role-choice-icon { font-weight: 600; }
.date-dialog, .time-dialog { width: min(460px, calc(100% - 20px)); }
.calendar-heading strong { font-size: 22px; }
.calendar-weekdays { font-size: 14px; font-weight: 500; }
.calendar-day { font-size: 20px; font-weight: 500; min-height: 42px; }
.time-wheel-labels { font-size: 15px; font-weight: 500; }
.time-wheel-item { font-size: 22px; }
.time-wheel-item.selected { font-size: 27px; font-weight: 600; }
.time-wheel-colon { font-weight: 600; }
.time-wheel-preview { font-size: 17px; font-weight: 500; }
.time-manual-entry { grid-template-columns: 1fr 82px 12px 82px; }
.time-manual-entry > span { font-size: 14px; font-weight: 400; }
.time-manual-entry input { font-size: 20px; font-weight: 500; }
.time-manual-entry small { font-size: 14px; top: 13px; }
.admin-action-dialog { width: min(1000px, calc(100% - 24px)); }
.booking-detail-dialog { width: min(740px, calc(100% - 24px)); }
.admin-action-dialog .dialog-panel, .booking-detail-dialog .dialog-panel { max-height: none; overflow-y: visible; }
.meeting-code-block span, .success-online-info span { font-size: 15px; }
.success-time, .password-line { font-size: 16px; }
.meeting-code-block strong, .success-online-info strong { font-size: 30px; font-weight: 600; overflow-wrap: anywhere; }
.success-online-info a { min-height: 48px; font-size: 16px; font-weight: 500; }

@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .stats-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-chart-grid { grid-template-columns: 1fr; }
  .request-detail-summary { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  :root { --text-body: 15px; --text-note: 13px; --text-control: 16px; }
  .shell { width: calc(100% - 24px); padding-top: 22px; }
  .hero { gap: 10px; }
  h1 { font-size: 22px; }
  .brand-mark { width: 40px; height: 40px; border-radius: 10px; }
  .eyebrow { font-size: 11px; letter-spacing: .08em; }
  .subtitle { font-size: 13px; }
  .user-pill { max-width: 100%; gap: 8px; }
  .user-copy { min-width: 0; }
  .user-copy strong { max-width: 130px; }
  .form-card, .upcoming-card, .invite-card { padding: 18px 16px; border-radius: 14px; }
  .card-heading { gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
  .card-heading h2 { font-size: 18px; }
  .card-heading > div { gap: 8px; }
  .requester-view-tabs button, .admin-view-tabs button { min-height: 44px; font-size: 15px; }
  .wizard-question { font-size: 21px; margin-bottom: 18px; }
  .wizard-stage, .wizard-step { min-height: 180px; }
  .form-wizard-progress span, .form-wizard-progress strong { font-size: 13px; }
  /* Keep editable controls at 16px to avoid automatic zoom on iPhones. */
  .field input:not([type="hidden"]), .field select, .field textarea, .date-select-button, .time-select-button { min-height: 48px; font-size: 16px; }
  .online-provider-grid.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .online-provider-grid.two-columns .online-provider-option + .online-provider-option { border-top: 0; border-left: 1px solid var(--line); }
  .online-provider-option { min-height: 60px; padding: 12px 10px; gap: 8px; }
  .online-provider-option strong { font-size: 15px; }
  .online-provider-option small { font-size: 13px; }
  .wizard-navigation { bottom: max(8px, env(safe-area-inset-bottom)); }
  .meeting-item { padding: 16px; }
  .request-item-heading { flex-wrap: wrap; gap: 8px; }
  .request-item-heading h3 { flex-basis: 100%; }
  .request-status { padding: 4px 9px; }
  .request-detail-heading { flex-wrap: wrap; gap: 10px; }
  .request-detail-heading h3, .invite-heading h2 { font-size: 19px; }
  .request-detail-summary div { grid-template-columns: 86px minmax(0, 1fr); gap: 10px; }
  .request-detail-summary dd { text-align: left; }
  .invite-summary div { display: grid; grid-template-columns: 78px minmax(0, 1fr); }
  .invite-summary dd { text-align: left; }
  .admin-card { padding: 22px 12px; border-radius: 16px; }
  .admin-pane, .stats-panel { padding: 16px 12px; }
  .admin-calendar-panel { margin-left: -4px; margin-right: -4px; }
  .schedule-table, .admin-action-room-schedule .schedule-table { width: 1580px; }
  .schedule-header-row, .schedule-room-row { grid-template-columns: 140px 1440px; }
  .stats-filter-panel { padding: 16px 12px; }
  .stats-filter-grid { gap: 12px; }
  .stats-filter-grid label:nth-child(3) { grid-column: 1 / -1; }
  .stats-filter-grid input { padding: 0 6px; }
  .stats-filter-actions { grid-template-columns: 1fr 1fr; }
  .stats-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stats-kpi-grid article { padding: 16px 12px; }
  .stats-ranking-row { grid-template-columns: minmax(80px, 1fr) minmax(40px, 1fr) auto; }
  .dialog-panel, .role-dialog .dialog-panel { padding: 28px 20px 24px; }
  .dialog h2 { font-size: 21px; }
  .summary-list div { grid-template-columns: 76px minmax(0, 1fr); }
  .time-dialog .dialog-panel, .date-dialog .dialog-panel { padding: 28px 16px 22px; }
  .time-manual-entry { grid-template-columns: 1fr 78px 8px 78px; gap: 5px; }
  .time-manual-entry > span { grid-column: 1 / -1; margin-bottom: 4px; }
  .time-manual-entry label:first-of-type { grid-column: 2; }
  .time-manual-entry > strong { grid-column: 3; }
  .time-manual-entry label:last-of-type { grid-column: 4; }
  .admin-action-dialog .dialog-panel, .booking-detail-dialog .dialog-panel { padding: 28px 16px 24px; }
  .booking-edit-grid { grid-template-columns: minmax(0, 1fr); }
  .primary-button, .secondary-button, .danger-button, .danger-outline-button {
    min-height: 44px; padding: 9px 14px; font-size: 15px;
  }
  .field > span, .user-copy strong, .status-card strong,
  .online-provider-heading strong, .online-choice-heading strong, .switch-row strong { font-size: 15px; }
  .field small, .user-copy small, .status-card p, .duration-end-hint,
  .online-provider-heading small, .online-choice-heading small, .switch-row small,
  .dingtalk-provider-note, .zoom-provider-note { font-size: 13px; }
  .switch-row { min-height: 60px; padding: 12px; }
  .step { width: 30px; height: 30px; font-size: 12px; }
  .meeting-item h3 { font-size: 17px; }
  .meeting-item p, .meeting-item code, .meeting-item a,
  .meeting-share-button, .meeting-cancel-button, .form-message { font-size: 15px; }
  .request-time-group > summary { min-height: 48px; padding: 8px 12px; }
  .request-time-group > summary strong { font-size: 15px; }
  .request-time-group > summary span, .request-status { font-size: 13px; }
  .request-detail-summary div { padding: 12px 0; }
  .request-detail-summary dt, .summary-list dt, .invite-summary dt { font-size: 13px; }
  .request-detail-summary dd, .summary-list dd, .invite-summary dd { font-size: 15px; }
  .request-detail-actions a, .request-detail-actions button { min-height: 44px; font-size: 15px; }
  .role-dialog-intro, .cancel-warning, .success-note, .empty-state p, .admin-empty, .stats-empty { font-size: 15px; }
  .role-choice-button strong { font-size: 16px; }
  .role-choice-button small { font-size: 13px; }
  .pane-heading h3, .stats-panel-heading h3, .booking-edit-heading h3 { font-size: 17px; }
  .admin-request-item h4, .admin-selected-day strong, .admin-action-schedule-heading strong { font-size: 16px; }
  .admin-request-item p, .schedule-room-name strong { font-size: 14px; }
  .small-primary-button { font-size: 15px; }
  .stats-kpi-grid strong { font-size: 27px; }
  .stats-filter-actions .primary-button, .stats-filter-actions .secondary-button { min-height: 44px; font-size: 15px; }
  .calendar-heading strong { font-size: 20px; }
  .calendar-day { font-size: 18px; }
  /* Wheel height must remain 48px for scroll snapping and dragging. */
  .time-wheel-item { font-size: 20px; }
  .time-wheel-item.selected { font-size: 24px; }
  .time-wheel-preview { font-size: 16px; }
}
