@font-face {
  font-family: "DM Sans Variable";
  src: url("/public/fonts/dm-sans-variable.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora Variable";
  src: url("/public/fonts/sora-variable.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  font-family: "DM Sans Variable", "DM Sans", system-ui, sans-serif;
  color: #17283d;
  background: #f7f9fc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #17283d;
  --muted: #66758a;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --line: #dfe5ec;
  --deep: #102a43;
  --coral: #ec5b5b;
  --blue: #3977a8;
  --gold: #9a782d;
  --green: #337964;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, select { font: inherit; }
button { color: inherit; }
button:focus-visible, select:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.icon { display: block; flex: 0 0 auto; }

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.access-screen { min-height: 100dvh; padding: 24px; display: grid; place-items: center; background: #f5f7fa; }
.access-card { width: min(430px, 100%); padding: 36px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(24,47,73,.12); }
.access-card .brand { margin-bottom: 34px; }
.access-kicker { color: var(--coral); font-size: 8px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.access-card h1 { margin: 8px 0 10px; font-family: "Sora Variable"; font-size: 26px; letter-spacing: -.03em; }
.access-card > p { margin: 0; color: #607187; font-size: 13px; line-height: 1.65; }
.access-card > small { display: block; margin-top: 18px; color: #8a96a4; font-size: 9px; }
.login-link { min-height: 44px; margin-top: 24px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--deep); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.access-error { margin-top: 14px !important; padding: 9px 11px; border-radius: 6px; background: #fff0ef; color: #9a4338 !important; }
.access-progress { width: 28px; height: 28px; margin: 0 auto 15px; border: 2px solid #dce4ec; border-top-color: var(--coral); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.topbar { height: 76px; padding: 0 clamp(24px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(16,42,67,.02); }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 38px; height: 38px; object-fit: contain; }
.brand strong { display: block; font-family: "Sora Variable", "Sora", sans-serif; font-size: 16px; letter-spacing: .14em; }
.brand small { display: block; margin-top: 1px; color: #718096; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.topbar-meta { display: flex; align-items: center; gap: 16px; }
.sync-state { position: relative; display: grid; grid-template-columns: auto auto; column-gap: 7px; align-items: center; padding-right: 4px; }
.sync-state i { width: 7px; height: 7px; border-radius: 50%; background: #69b48f; box-shadow: 0 0 0 4px rgba(105,180,143,.12); }
.sync-state span { font-size: 12px; font-weight: 700; }
.sync-state small { grid-column: 2; color: #8a98a9; font-size: 10px; }
.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.icon-button img { width: 17px; height: 17px; object-fit: contain; }
.icon-button:hover { background: #f4f7fa; }
.icon-button.is-syncing img { animation: spin .8s linear infinite; }
.icon-button:disabled { cursor: wait; opacity: .6; }
.profile { border-left: 1px solid var(--line); display: flex; align-items: center; gap: 10px; padding-left: 18px; text-align: left; }
.profile > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: #e8f0fa; color: var(--deep); font-family: "Sora Variable"; font-size: 11px; font-weight: 700; }
.profile strong, .profile small { display: block; }
.profile strong { color: var(--ink); font-size: 12px; }
.profile small { color: #7e8da0; font-size: 10px; }
.logout-button { flex: 0 0 auto; }

main { width: min(1600px, 100%); margin: 0 auto; padding: 26px clamp(24px, 4vw, 64px) 30px; flex: 1; }
.context-bar { min-height: 58px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin-bottom: 18px; }
.active-date { padding-right: 22px; border-right: 1px solid var(--line); }
.active-date span, .active-date strong { display: block; }
.active-date span { color: var(--coral); font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.active-date strong { margin-top: 3px; font-family: "Sora Variable", "Sora", sans-serif; font-size: 14px; font-weight: 620; }
.calendar-source { justify-self: start; }
.calendar-source span, .calendar-source strong { display: block; }
.calendar-source strong { color: var(--ink); font-family: "Sora Variable"; font-size: 12px; font-weight: 650; }
.calendar-source span { margin-top: 3px; color: #718197; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.availability-summary { display: flex; align-items: center; gap: 10px; }
.summary-number { font-family: "Sora Variable"; font-size: 28px; font-weight: 560; line-height: 1; color: var(--green); }
.availability-summary strong, .availability-summary small { display: block; }
.availability-summary strong { font-size: 12px; }
.availability-summary small { color: #52657a; font-size: 10px; margin-top: 3px; }
.availability-copy { min-width: 0; }
.available-room-list { max-width: 390px; display: flex !important; justify-content: flex-start; flex-wrap: wrap; gap: 3px 5px; }
.available-room-list span { display: inline-flex; padding: 2px 5px; border-radius: 4px; background: #eaf4f0; color: #356c5b; line-height: 1.25; white-space: nowrap; }
.available-room-list span.none { background: #f1f3f5; color: #6d7783; }
.availability-summary em { display: block; margin-top: 2px; color: #8995a3; font-size: 9px; font-style: normal; }
.status-banner { margin: -5px 0 13px; padding: 9px 12px; border: 1px solid #f0cbc6; border-radius: 7px; background: #fff4f2; color: #92463c; font-size: 10px; }
.empty-state { min-height: 220px; display: grid; place-content: center; gap: 7px; border: 1px dashed #cfd8e2; border-radius: 12px; color: #718197; text-align: center; }
.empty-state strong { color: var(--ink); font-family: "Sora Variable"; font-size: 14px; }
.empty-state span { font-size: 10px; }

.toolbar { min-height: 70px; border-top: 1px solid #b9c5d2; border-bottom: 1px solid var(--line); display: flex; align-items: stretch; justify-content: space-between; margin-bottom: 18px; }
.date-strip { display: flex; align-items: stretch; }
.date-item, .date-nav { border: 0; background: transparent; cursor: pointer; }
.date-item { min-width: 66px; padding: 10px 15px; position: relative; }
.date-item small, .date-item strong { display: block; }
.date-item small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.date-item strong { margin-top: 3px; font-family: "Sora Variable"; font-size: 17px; font-weight: 580; }
.date-item::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; background: transparent; }
.date-item.active { color: var(--coral); }
.date-item.active::after { background: var(--coral); }
.date-nav { width: 35px; display: grid; place-items: center; color: #858b87; }
.date-nav.previous .icon { transform: rotate(180deg); }
.toolbar-actions { display: flex; align-items: center; gap: 10px; }
.period-toggle { height: 38px; padding: 3px; display: flex; border: 1px solid var(--line); border-radius: 8px; background: #edf1f5; }
.period-toggle button { min-width: 58px; padding: 0 10px; border: 0; border-radius: 5px; background: transparent; color: #748195; font-size: 10px; font-weight: 700; cursor: pointer; }
.period-toggle button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(25,32,28,.12); }
.month-navigation { min-width: 310px; display: flex; align-items: center; justify-content: space-between; }
.month-navigation strong { min-width: 190px; text-align: center; font-family: "Sora Variable"; font-size: 13px; font-weight: 620; text-transform: capitalize; }
.room-filter { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: #555e59; }
.room-filter select { border: 0; appearance: none; background: transparent; color: var(--ink); font-size: 12px; font-weight: 650; outline: none; cursor: pointer; padding-right: 7px; }
.room-filter > .icon:last-child { transform: rotate(90deg); color: #8b918d; }
.view-toggle { height: 38px; padding: 3px; display: flex; border: 1px solid var(--line); border-radius: 8px; background: #edf1f5; }
.view-toggle button { width: 32px; border: 0; border-radius: 5px; background: transparent; color: #7c837f; display: grid; place-items: center; cursor: pointer; }
.view-toggle button.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(25,32,28,.12); }
.view-toggle.is-hidden { visibility: hidden; }

.desktop-board { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 14px 38px rgba(35,59,85,.06); }
.board-head { height: 48px; display: grid; grid-template-columns: 224px 1fr; border-bottom: 1px solid var(--line); background: #f2f5f8; }
.room-column-label { display: flex; align-items: center; padding: 0 20px; border-right: 1px solid var(--line); color: #777e7a; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
.time-head { position: relative; margin-right: 26px; }
.time-head span { position: absolute; top: 18px; transform: translateX(-50%); color: #777e7a; font-size: 10px; font-variant-numeric: tabular-nums; }
.board-body { position: relative; }
.room-row { height: 104px; display: grid; grid-template-columns: 224px 1fr; border-bottom: 1px solid var(--line); }
.room-row:last-child { border-bottom: 0; }
.room-info { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-right: 1px solid var(--line); }
.room-monogram { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; font-family: "Sora Variable"; font-size: 10px; font-weight: 700; }
.room-monogram.coral { background: #fde7e7; color: #b84444; }
.room-monogram.blue { background: #e1edf7; color: #2f668f; }
.room-monogram.gold { background: #f4edda; color: #806221; }
.room-monogram.green { background: #dff0ea; color: #2e6b58; }
.room-info strong, .room-info small { display: block; }
.room-info strong { max-width: 125px; font-family: "Sora Variable"; font-size: 12px; line-height: 1.25; font-weight: 600; }
.room-info small { color: var(--muted); font-size: 10px; margin-top: 4px; }
.room-info > i { position: absolute; right: 16px; top: 20px; width: 6px; height: 6px; border-radius: 50%; }
.room-info > i.free { background: #4d9877; }
.room-info > i.busy { background: #d36049; }
.timeline-cell { position: relative; margin-right: 26px; overflow: hidden; }
.hour-rule { position: absolute; top: 0; bottom: 0; border-left: 1px dashed #e5eaf0; }
.meeting-block { position: absolute; top: 17px; height: 70px; min-width: 44px; border: 0; border-left: 3px solid; border-radius: 6px; padding: 11px 10px; display: flex; align-items: flex-start; justify-content: space-between; gap: 5px; overflow: hidden; }
.meeting-block.coral { background: #fff0ef; border-color: var(--coral); color: #8b3939; }
.meeting-block.blue { background: #eaf3f9; border-color: var(--blue); color: #285a7d; }
.meeting-block.gold { background: #f7f1e2; border-color: var(--gold); color: #6e541c; }
.meeting-block.green { background: #e8f4ef; border-color: var(--green); color: #295e4e; }
.meeting-block.private { background: #eff2f5; border-color: #7d8996; color: #536171; }
.meeting-block strong, .meeting-block small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meeting-block strong { font-size: 12.5px; line-height: 1.3; }
.meeting-block small { margin-top: 5px; font-size: 10.5px; opacity: .76; font-variant-numeric: tabular-nums; }
.meeting-block > div { min-width: 0; }
.meeting-block > .icon { margin-top: 1px; }
.meeting-block.compact { padding: 6px 4px; gap: 2px; }
.meeting-block.compact .meeting-copy { display: flex; flex-direction: column; width: 100%; height: 100%; min-width: 0; }
.meeting-block.compact strong { display: -webkit-box; overflow: hidden; font-size: 9.5px; line-height: 1.12; white-space: normal; overflow-wrap: normal; word-break: normal; text-overflow: clip; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.meeting-block.compact .compact-time { display: block; margin-top: auto; padding-right: 8px; font-size: 8px; line-height: 1.08; font-variant-numeric: tabular-nums; }
.meeting-block.compact .compact-time span { display: block; }
.meeting-block.compact > .icon { position: absolute; right: 3px; bottom: 3px; width: 7px; height: 7px; margin: 0; opacity: .7; }
.now-line { position: absolute; z-index: 6; top: 0; bottom: 0; width: 1px; background: var(--coral); pointer-events: none; }
.now-line::before { content: ""; position: absolute; top: -4px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.now-line span { position: absolute; top: -31px; left: 50%; transform: translateX(-50%); padding: 3px 5px; color: #fff; background: var(--coral); border-radius: 4px; font-size: 9px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mobile-agenda, .mobile-room-board { display: none; }
.month-calendar { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 38px rgba(35,59,85,.06); }
.month-weekdays { height: 38px; display: grid; grid-template-columns: repeat(7, 1fr); align-items: center; background: #f2f5f8; border-bottom: 1px solid var(--line); }
.month-weekdays span { padding-left: 12px; color: #7d8998; font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.month-day { min-height: 105px; padding: 10px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; text-align: left; cursor: pointer; }
.month-day:nth-child(7n) { border-right: 0; }
.month-day:nth-last-child(-n+7) { border-bottom: 0; }
.month-day:hover { background: #f8fafc; }
.month-day > strong { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; font-family: "Sora Variable"; font-size: 11px; font-weight: 600; }
.month-day.outside { background: #fafbfd; color: #aab3be; }
.month-day.selected { box-shadow: inset 0 0 0 2px #9fb7cf; }
.month-day.today > strong { color: #fff; background: var(--coral); }
.month-day > div { margin-top: 6px; display: grid; gap: 4px; }
.month-event { display: block; padding: 3px 5px; overflow: hidden; border-left: 2px solid; border-radius: 3px; background: #f2f5f8; color: #45566a; font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }
.month-event.coral { border-color: var(--coral); }
.month-event.blue { border-color: var(--blue); }
.month-event.gold { border-color: var(--gold); }
.month-event.green { border-color: var(--green); }
.month-day small { color: #7f8b99; font-size: 8px; }

.app-footer { min-height: 62px; padding: 0 clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: #7f8da0; background: #fff; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.footer-details { display: flex; align-items: center; gap: 18px; }
.about-link { padding: 2px 0; display: inline-flex; align-items: center; gap: 5px; border: 0; border-bottom: 1px solid transparent; background: transparent; color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
.about-link img { width: 14px; height: 14px; object-fit: contain; }
.about-link:hover { color: #52657a; border-bottom-color: #bcc7d2; }
.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; z-index: 50; inset: 0; padding: 24px; display: grid; place-items: center; background: rgba(15,35,56,.46); backdrop-filter: blur(5px); }
.modal-backdrop[hidden] { display: none; }
.about-modal { width: min(520px, 100%); max-height: min(680px, calc(100dvh - 48px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.65); border-radius: 16px; background: #fff; box-shadow: 0 28px 80px rgba(13,34,56,.28); }
.about-modal > header { padding: 22px 24px 18px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--line); }
.modal-kicker { color: var(--coral); font-size: 8px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.about-modal h2 { margin: 5px 0 0; font-family: "Sora Variable"; font-size: 22px; letter-spacing: -.025em; }
.about-modal > header button { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: #647487; font-size: 22px; line-height: 1; cursor: pointer; }
.about-content { padding: 20px 24px 22px; overflow-y: auto; }
.about-content > p { margin: 0; color: #536579; font-size: 13px; line-height: 1.65; }
.about-content dl { margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.about-content dl div { padding: 11px 12px; border-right: 1px solid var(--line); }
.about-content dl div:last-child { border-right: 0; }
.about-content dt { color: #8995a3; font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.about-content dd { margin: 4px 0 0; color: var(--ink); font-size: 10px; font-weight: 700; }
.attribution-section { margin-top: 21px; padding-top: 17px; border-top: 1px solid var(--line); }
.attribution-section h3 { margin: 0 0 10px; font-family: "Sora Variable"; font-size: 11px; font-weight: 650; }
.attribution-section ul { margin: 0; padding: 0; display: grid; gap: 7px; list-style: none; }
.attribution-section li { min-height: 34px; padding: 6px 9px; display: flex; align-items: center; gap: 9px; border-radius: 7px; background: #f6f8fa; }
.attribution-section img { width: 20px; height: 20px; object-fit: contain; }
.attribution-section a { color: #426687; font-size: 10px; text-decoration: none; border-bottom: 1px solid #c7d3de; }
.about-modal > .about-footer { min-height: 48px; padding: 0 24px; display: flex; justify-content: flex-start; border-top: 1px solid var(--line); background: #f7f9fb; color: #7a8795; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.about-modal > .about-footer { align-items: center; flex: 0 0 auto; }

@media (max-width: 1000px) {
  .profile div, .profile > .icon { display: none; }
  .profile { padding-left: 14px; }
  .date-item { min-width: 57px; padding-inline: 10px; }
  .period-toggle button { min-width: 48px; padding-inline: 7px; }
  .board-head, .room-row { grid-template-columns: 190px 1fr; }
  .now-line { left: calc(190px + (100% - 190px) * var(--now-position)); }
  .room-info { padding-inline: 14px; }
  .room-column-label { padding-inline: 14px; }
}

@media (max-width: 760px) {
  .access-screen { padding: 14px; }
  .access-card { padding: 27px 22px; }
  .topbar { height: 66px; padding: 0 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .sync-state small, .profile { display: none; }
  .topbar-meta { gap: 9px; }
  .icon-button { width: 34px; height: 34px; }
  main { padding: 18px 18px 24px; }
  .context-bar { min-height: 56px; grid-template-columns: auto 1fr; gap: 13px; margin-bottom: 12px; }
  .active-date { padding-right: 0; border-right: 0; }
  .active-date strong { font-size: 13px; }
  .calendar-source { justify-self: start; padding-left: 13px; border-left: 1px solid var(--line); }
  .calendar-source strong { font-size: 11px; }
  .calendar-source span { font-size: 8px; }
  .availability-summary { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--line); }
  .summary-number { font-size: 24px; }
  .available-room-list { max-width: none; }
  .availability-summary em { margin-top: 3px; }
  .toolbar { display: block; border-top-color: var(--line); padding: 0 0 14px; margin-bottom: 3px; }
  .date-strip { justify-content: space-between; height: 64px; margin-bottom: 12px; }
  .month-navigation { margin-bottom: 12px; }
  .date-item { min-width: 0; flex: 1; padding: 10px 2px; }
  .date-nav { width: 20px; }
  .toolbar-actions { justify-content: space-between; flex-wrap: wrap; }
  .period-toggle { flex: 0 0 auto; }
  .period-toggle button { min-width: 53px; }
  .room-filter { flex: 1; justify-content: flex-start; }
  .room-filter select { flex: 1; }
  .view-toggle { display: flex; order: 2; }
  .period-toggle { order: 1; }
  .room-filter { order: 3; flex: 1 0 100%; }
  .month-navigation { width: 100%; min-width: 0; height: 58px; }
  .month-navigation strong { min-width: 160px; }
  .desktop-board { display: none; }
  .mobile-room-board { display: block; }
  .force-agenda .mobile-room-board { display: none; }
  .force-agenda .mobile-agenda { display: block; }
  .month-weekdays { height: 32px; }
  .month-weekdays span { padding-left: 0; text-align: center; font-size: 8px; }
  .month-day { min-height: 59px; padding: 5px; }
  .month-day > strong { width: 22px; height: 22px; font-size: 9px; }
  .month-event { width: 5px; height: 5px; padding: 0; border: 0; border-radius: 50%; background: var(--blue); color: transparent; }
  .month-event.coral { background: var(--coral); }
  .month-event.gold { background: var(--gold); }
  .month-event.green { background: var(--green); }
  .month-day > div { display: flex; gap: 3px; margin-top: 3px; }
  .month-day small { display: none; }
  .mobile-section-label { min-height: 51px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
  .mobile-section-label small { font-size: 9px; font-weight: 600; }
  .mobile-room-card { margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
  .mobile-room-card > header { min-height: 62px; padding: 11px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
  .mobile-room-card > header > span:nth-child(2) { min-width: 0; flex: 1; }
  .mobile-room-card > header strong, .mobile-room-card > header small { display: block; }
  .mobile-room-card > header strong { font-family: "Sora Variable"; font-size: 11px; }
  .mobile-room-card > header small { margin-top: 2px; color: var(--muted); font-size: 9px; }
  .mobile-room-card > header em { padding: 3px 6px; border-radius: 4px; font-size: 8px; font-style: normal; font-weight: 700; }
  .mobile-room-card > header em.free { color: #356c5b; background: #eaf4f0; }
  .mobile-room-card > header em.busy { color: #9a4338; background: #fbeae7; }
  .mobile-room-card ul { margin: 0; padding: 0; list-style: none; }
  .mobile-room-card li { min-height: 43px; padding: 9px 12px; display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 9px; border-bottom: 1px solid #edf1f4; }
  .mobile-room-card li:last-child { border-bottom: 0; }
  .mobile-room-card li time { color: #718197; font-size: 9px; font-variant-numeric: tabular-nums; }
  .mobile-room-card li strong { overflow: hidden; color: var(--ink); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
  .mobile-room-card li.empty { display: block; min-height: 0; color: #8a96a4; font-size: 9px; }
  .agenda-item { min-height: 113px; display: grid; grid-template-columns: 48px 3px 1fr 24px; gap: 13px; align-items: stretch; padding: 17px 0; border-bottom: 1px solid var(--line); }
  .agenda-time { padding-top: 3px; font-variant-numeric: tabular-nums; }
  .agenda-time strong, .agenda-time span { display: block; }
  .agenda-time strong { font-family: "Sora Variable"; font-size: 13px; }
  .agenda-time span { margin-top: 4px; color: var(--muted); font-size: 10px; }
  .agenda-rule { width: 3px; height: 100%; border-radius: 3px; background: var(--coral); }
  .agenda-rule.blue { background: var(--blue); }
  .agenda-rule.gold { background: var(--gold); }
  .agenda-rule.green { background: var(--green); }
  .agenda-content { min-width: 0; }
  .agenda-tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
  .agenda-tags > span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
  .agenda-tags em { padding: 2px 5px; display: inline-flex; align-items: center; gap: 3px; color: #676d69; border: 1px solid #d7d5ce; border-radius: 4px; font-size: 8px; font-style: normal; }
  .agenda-content h2 { margin: 7px 0 7px; font-family: "Sora Variable"; font-size: 14px; line-height: 1.35; font-weight: 580; }
  .agenda-content p { margin: 0; display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; }
  .agenda-item > button { align-self: center; border: 0; background: transparent; color: #888e8a; padding: 4px; }
  .app-footer { min-height: 68px; padding: 14px 18px; align-items: flex-start; gap: 5px; flex-direction: column; line-height: 1.7; }
  .footer-details { width: 100%; justify-content: space-between; gap: 12px; }
  .about-link { flex: 0 0 auto; }
  .modal-backdrop { padding: 14px; align-items: center; }
  .about-modal { max-height: calc(100dvh - 28px); border-radius: 14px; }
  .about-modal > header { padding: 18px 18px 15px; }
  .about-content { padding: 17px 18px 18px; }
  .about-content dl { grid-template-columns: 1fr; }
  .about-content dl div { padding: 9px 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-content dl div:last-child { border-bottom: 0; }
  .about-modal > .about-footer { min-height: 44px; padding: 0 18px; }
}

@media (min-width: 761px) {
  .force-agenda .desktop-board { display: none; }
  .force-agenda .mobile-agenda { display: block; max-width: 860px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 24px; }
  .force-agenda .mobile-section-label { height: 54px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
  .force-agenda .agenda-item { display: grid; grid-template-columns: 65px 3px 1fr 28px; gap: 18px; align-items: stretch; padding: 19px 0; border-bottom: 1px solid var(--line); }
  .force-agenda .agenda-time strong, .force-agenda .agenda-time span { display: block; }
  .force-agenda .agenda-time span { color: var(--muted); font-size: 10px; }
  .force-agenda .agenda-rule { width: 3px; background: var(--coral); border-radius: 3px; }
  .force-agenda .agenda-rule.blue { background: var(--blue); }
  .force-agenda .agenda-rule.gold { background: var(--gold); }
  .force-agenda .agenda-rule.green { background: var(--green); }
  .force-agenda .agenda-tags { display: flex; gap: 8px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
  .force-agenda .agenda-tags em { font-style: normal; display: inline-flex; align-items: center; gap: 3px; }
  .force-agenda h2 { margin: 6px 0; font-family: "Sora Variable"; font-size: 15px; }
  .force-agenda p { margin: 0; display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; }
  .force-agenda .agenda-item > button { border: 0; background: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
