/* page-calendar-m: 달력 폰 화면(calendar-m.js). 폭 640px 이하에서만 적용된다 — 컴퓨터 화면은 page-calendar.css 그대로.
   2026-10-06 A안(2주 칸 개선): 위 한 줄 헤더 · 색 띠(칩) 칸 · 연차·입고 고정 색(--cal-sheet, page-calendar.css) · 배경색 없음.
   시안: 달력 · 일정 추가. 색은 --ps-* 토큰만. 터치 영역 48px 이상, 글자 보조 13px 이상(연차 ◇·입고 □ 의미 표시와 칸 건수 숫자는 12px). 장식 기호 없음(2026-10-06 모바일S).
   첫 화면은 스크롤이 없다: 위 두 줄 + 요일 + 날짜 칸 + 선택한 날 패널(일정이 많으면 패널 안에서만 스크롤) + 아래 메뉴가 한 화면에 들어온다. */
@media (max-width: 640px) {
  body[data-page="calendar"] .main { padding: 0 0 calc(64px + env(safe-area-inset-bottom)); }      /* 아래 메뉴 높이만큼만 비운다(이 화면은 문서 스크롤이 없다) */
  .mc { display: flex; flex-direction: column; height: calc(100vh - 64px - env(safe-area-inset-bottom)); height: calc(100dvh - 64px - env(safe-area-inset-bottom)); overflow: hidden; padding: 0; }
  .m-root.mc { animation: none; }
  .mc-top { flex: none; position: relative; padding: 0; }
  .mc-r1 { display: flex; align-items: center; min-height: 48px; }
  .mc .grow, .mc-ph .grow { flex: 1; min-width: 0; }
  .mc-ib { flex: none; min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: var(--ps-text); -webkit-tap-highlight-color: transparent; transition: transform 144ms, opacity 144ms; }
  .mc-ib:active, .mc-today:active { opacity: .6; transform: scale(.94); }
  .mc-tbtn { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; justify-content: flex-start; gap: 4px; min-height: 48px; padding: 0 2px; border: 0; background: transparent; color: var(--ps-text); font: inherit; -webkit-tap-highlight-color: transparent; transition: transform 144ms, opacity 144ms; }
  .mc-tbtn:active { opacity: .6; }
  .mc-title { flex: none; white-space: nowrap; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
  .mc-vsel { flex: none; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-width: 48px; min-height: 48px; padding: 0 5px; border: 0; background: transparent; color: var(--ps-text); font: inherit; font-size: 15px; font-weight: 500; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: transform 144ms, opacity 144ms; }
  .mc-vsel::before { content: ""; position: absolute; inset: 7px 1px; border: 1px solid var(--ps-rule); border-radius: 6px; background: var(--ps-raised); }
  .mc-vsel > span { position: relative; }
  .mc-vsel-ar { font-size: 12px; }
  .mc-vsel:active { opacity: .6; }
  .mc-menu { position: absolute; top: 46px; right: 8px; z-index: 20; min-width: 176px; background: var(--ps-bg); border: 1px solid var(--ps-rule); border-radius: 8px; box-shadow: 0 6px 18px color-mix(in srgb, var(--ps-text) 22%, transparent); overflow: hidden; }
  .mc-mi { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 16px 0 12px; border: 0; border-bottom: 1px solid var(--ps-hair); background: transparent; color: var(--ps-text); font: inherit; font-size: 16px; text-align: left; -webkit-tap-highlight-color: transparent; }
  .mc-mi:last-child { border-bottom: 0; }
  .mc-mi[aria-checked="true"] { background: var(--ps-ac-tint); font-weight: 600; }
  .mc-mi:active { opacity: .7; }
  .mc-mi-ck { flex: none; width: 16px; text-align: center; color: var(--ps-ac-ink); }
  .mc-mi-next { border-top: 2px solid var(--ps-rule); }
  .mc-menu { min-width: 200px; }
  .mc-mgrp { padding: 6px 12px 2px; border-top: 2px solid var(--ps-rule); font-size: 12px; line-height: 1.4; color: var(--ps-muted); }      /* 2주·3주 아래 '기준' 머리 */
  .mc-mi2 { min-height: 52px; }
  .mc-mi-tx { display: flex; flex-direction: column; line-height: 1.25; }
  .mc-mi-t { font-size: 16px; }
  .mc-mi-s { font-size: 12px; color: var(--ps-muted); }
  .mc-today { flex: none; min-width: 48px; min-height: 48px; padding: 0 4px; border: 0; background: transparent; color: var(--ps-ac-ink); font-size: 16px; font-weight: 500; -webkit-tap-highlight-color: transparent; transition: transform 144ms, opacity 144ms; }
  .mc-conn-mk, .mc-set-mk { flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ps-muted); }      /* 연결 상태 = 작은 점 하나, 상태는 색(+ 설정 시트의 글자). 모양 기호(○▲●✕) 없음 */
  .mc-conn.good .mc-conn-mk, .mc-set-conn.good .mc-set-mk { background: var(--ps-good); }
  .mc-conn.warn .mc-conn-mk, .mc-set-conn.warn .mc-set-mk { background: var(--ps-warnc); }
  .mc-conn.bad .mc-conn-mk, .mc-set-conn.bad .mc-set-mk { background: var(--ps-bad); }
  .mc-conn.neu .mc-conn-mk, .mc-set-conn.neu .mc-set-mk { background: var(--ps-muted); }
  .mc-savebad { margin: 0 8px 4px; padding: 8px 10px; background: var(--ps-panel); border-left: 3px solid var(--ps-bad); color: var(--ps-bad); font-size: 14px; font-weight: 500; }
  .mc-savebad[hidden] { display: none; }
  body[data-page="calendar"] .toast .cal-btn { min-height: 48px; min-width: 48px; }      /* 지운 뒤 알림의 '되돌리기'(공용 44px → 이 화면은 48px) */
  .mc-dow { flex: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .mc-dow div { text-align: center; font-size: 13px; line-height: 24px; height: 24px; color: var(--ps-muted); }
  .mc-dow .sun { color: var(--ps-bad); }
  .mc-grid { flex: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--ps-hair); touch-action: pan-y; }
  .mc-cell { position: relative; height: 52px; min-width: 0; padding: 2px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; border: 0; border-bottom: 1px solid var(--ps-hair); background: transparent; color: var(--ps-text); font: inherit; -webkit-tap-highlight-color: transparent; overflow: hidden; }
  .mc-cell.other { color: var(--ps-muted); }
  .mc-cell.other .mc-num { font-weight: 400; }
  .mc-cell.red { color: var(--ps-bad); }
  .mc-cell.sel { background: var(--ps-ac-tint); outline: 2px solid var(--ps-text); outline-offset: -2px; box-shadow: none; }      /* 선택한 날: 칸 배경 강조 + 테두리 모양(색만으로 구분 안 함) */
  .mc-cell:active { opacity: .7; }
  .mc-num { flex: none; font-size: 16px; font-weight: 500; line-height: 20px; min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
  .mc-cell.today .mc-num { width: 24px; height: 24px; line-height: 24px; border-radius: 50%; background: var(--ps-ac); color: var(--ps-btn-ink); font-weight: 600; }      /* 오늘: 채운 원 */
  .mc-hm { position: absolute; right: 3px; top: 3px; font-size: 12px; line-height: 1; font-weight: 500; color: var(--ps-bad); }      /* 휴일: 빨간 날짜 + '휴'(이름은 아래 선택한 날 패널에) */
  .mc-cnt { flex: none; display: block; height: 16px; line-height: 16px; font-size: 12px; font-weight: 500; color: var(--ps-text2); font-variant-numeric: tabular-nums; }      /* 3주·한달 칸: 일정 건수 숫자(글자색을 정한 일정이 있으면 그 색) */
  .mc-cnt[data-k="1"] { color: var(--cal-t1); } .mc-cnt[data-k="2"] { color: var(--cal-t2); } .mc-cnt[data-k="3"] { color: var(--cal-t3); } .mc-cnt[data-k="4"] { color: var(--cal-t4); } .mc-cnt[data-k="5"] { color: var(--cal-t5); }
  .mc-more { margin-left: 1px; font-size: 12px; font-weight: 500; color: var(--ps-text); font-variant-numeric: tabular-nums; }
  .mc-sh { display: inline-block; min-width: 1em; text-align: center; }
  .mc-sm { flex: none; display: flex; align-items: center; justify-content: center; gap: 4px; height: 14px; line-height: 14px; font-size: 12px; font-variant-numeric: tabular-nums; }      /* 연차 ◇ · 입고 □ 는 고정 색, 둘이 서로 다른 색(2명 이상이면 ◇2 처럼 명수) */
  .mc-sm-l, .mc-leave .mc-sheet-sh { color: var(--cal-leave-ink) !important; }
  .mc-sm-i, .mc-inbound .mc-sheet-sh { color: var(--cal-inbound-ink) !important; }
  /* 주 보기(2주·3주): 칸에는 건수 숫자와 연차 ◇·입고 □ 만(사용자 검수 2026-10-31 K09: 좁은 칸에 글자를 넣으면 4글자로 잘림). 내용은 아래 선택한 날 목록 */
  .mc-grid.mc-w3 .mc-cell, .mc-grid.mc-w2 .mc-cell { height: 64px; }
  .mc-grid.mc-w2 .mc-cnt, .mc-grid.mc-w3 .mc-cnt { margin-top: 4px; font-size: 13px; }
  /* 맨 위 제목 줄(다른 폰 화면과 같은 큰 제목 '달력') + 오른쪽 공지사항 보통 단추(새 공지가 있을 때만 점). page-mobile-app.css 의 옛 .cal-nt 둥근 단추 규칙보다 앞서게 id 를 두 번 쓴다 */
  html body #page-calendar#page-calendar .cal-nt.cal-nt-m { flex: none; margin: 0; }
  html body #page-calendar#page-calendar .mcal-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 56px; padding: 8px 12px 4px 16px; }
  html body #page-calendar#page-calendar .mcal-top h1 { margin: 0; }
  html body #page-calendar#page-calendar .cal-nt-m .cal-nt-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--ps-rule); border-radius: 999px; background: transparent; color: var(--ps-text); font-size: 15px; font-weight: 500; }
  html body #page-calendar#page-calendar .cal-nt-m .cal-nt-btn.on { background: var(--ps-raised); border-color: var(--ps-text2); color: var(--ps-text); }
  html body #page-calendar#page-calendar .cal-nt-m .cal-nt-body {
    margin: 0 12px 12px;
    max-height: calc(100vh - 136px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 136px - env(safe-area-inset-bottom));
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 40px !important;
    box-sizing: border-box;
  }
  html body #page-calendar#page-calendar .cal-nt-m .cal-nt-body img,
  html body #page-calendar#page-calendar .cal-nt-m .cal-nt-body svg {
    max-width: 100%;
    height: auto;
  }
  html body #page-calendar#page-calendar .mc:has(.cal-nt-m .cal-nt-body:not([hidden])) > .mc-top,
  html body #page-calendar#page-calendar .mc:has(.cal-nt-m .cal-nt-body:not([hidden])) > .mc-dow,
  html body #page-calendar#page-calendar .mc:has(.cal-nt-m .cal-nt-body:not([hidden])) > .mc-grid,
  html body #page-calendar#page-calendar .mc:has(.cal-nt-m .cal-nt-body:not([hidden])) > .mc-day,
  html body #page-calendar#page-calendar .mc:has(.cal-nt-m .cal-nt-body:not([hidden])) > .mc-agenda {
    display: none !important;
  }
  /* 선택한 날 패널: 위 줄(날짜·일정 추가·⋯)은 고정, 일정 줄만 안에서 스크롤 */
  .mc-day { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0; background: var(--ps-panel); border-top: 1px solid var(--ps-hair); }
  .mc-ph { flex: none; display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 4px 8px 4px 16px; border-bottom: 1px solid var(--ps-hair); }
  .mc-pt { flex: 1; min-width: 0; }
  .mc-ph h2 { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mc-sub { display: block; font-size: 13px; line-height: 1.3; color: var(--ps-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mc-hol { color: var(--ps-bad); }
  .mc-ph .mc-add { flex: none; width: auto; min-height: 48px; margin: 0; padding: 0 14px; font-size: 15px; }
  .mc-ph .mc-dmore { margin-right: 0; }
  .mc-day .mc-rows { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 16px 8px; }
  .mc-rows { display: flex; flex-direction: column; }
  .mc-row { flex: none; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--ps-hair); background: transparent; color: var(--ps-text); text-align: left; font: inherit; -webkit-tap-highlight-color: transparent; transition: transform 144ms, opacity 144ms; }
  .mc-row[role="button"] { cursor: pointer; }
  .mc-row[role="button"]:active { opacity: .7; transform: scale(.99); }
  .mc-row .t, .mc-row .s, .mc-row .mc-time, .mc-row .mc-lg { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }      /* 일정 글자 선택·복사 */
  .mc-row[data-k="1"] .t { color: var(--cal-t1); } .mc-row[data-k="2"] .t { color: var(--cal-t2); } .mc-row[data-k="3"] .t { color: var(--cal-t3); } .mc-row[data-k="4"] .t { color: var(--cal-t4); } .mc-row[data-k="5"] .t { color: var(--cal-t5); }      /* 줄 글자색(선택한 줄만, 기본은 기본 글자색) */
  .mc-row.mc-ro { --rk: var(--cal-leave); padding-left: 8px; padding-right: 8px; margin: 0 -8px; width: calc(100% + 16px); background: color-mix(in srgb, var(--rk) 16%, var(--ps-panel)); box-shadow: inset 4px 0 0 var(--rk); }      /* 연차·입고 줄: 고정 색(막대 + 연한 바탕), 연차 보라 · 입고 청록 */
  .mc-row.mc-ro.mc-inbound { --rk: var(--cal-inbound); }
  .mc-agenda .mc-row.mc-ro { background: color-mix(in srgb, var(--rk) 16%, var(--ps-bg)); }
  /* 연차 4명 이상: 한 줄(연차 N명)로 묶고 전원·사유를 세로로 이어 보인다(줄 높이 대신 글자 크기를 단계적으로: 14px → 13px, 12px 밑으로는 내리지 않는다) */
  .mc-lgrp { align-items: flex-start; }
  .mc-lgrp .mc-time, .mc-lgrp .mc-sh { margin-top: 2px; }
  .mc-lg { display: flex; flex-direction: column; margin-top: 2px; }
  .mc-lp { font-size: 14px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ps-text); }
  .mc-lgrp.g6 .mc-lp { font-size: 13px; line-height: 1.3; }
  .mc-lr { color: var(--ps-text2); }
  .mc-row .grow { flex: 1; min-width: 0; }
  .mc-row .t { display: block; font-size: 16px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mc-row .t.strike { text-decoration: line-through; color: var(--ps-muted); }
  .mc-row .s { display: block; font-size: 13px; line-height: 1.3; color: var(--ps-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mc-time { flex: none; width: 46px; font-size: 14px; color: var(--ps-muted); font-variant-numeric: tabular-nums; }
  .mc-row .mc-sh { font-size: 16px; flex: none; }
  .mc-src { font-size: 13px; color: var(--ps-muted); }
  .mc-row .m-chev { display: inline-flex; color: var(--ps-muted); }
  .mc-row.mc-ro .t { color: var(--ps-text); }
  .mc-row.mc-ro .mc-time { padding-left: 4px; }
  .mc-none { margin: 0; padding: 14px 16px; font-size: 15px; color: var(--ps-text2); }
  /* 모션(절제, transform·opacity 만): 날짜 고르면 일정 줄 150ms 페이드, 월·주 이동은 200ms 가로 슬라이드, 보기 범위를 바꾸면 200ms 펼침 */
  .mc-fade { animation: mc-fade 270ms ease-out; }
  .mc-grid.slide-n, .mc-agenda.slide-n { animation: mc-slide-n 360ms ease-out; }
  .mc-grid.slide-p, .mc-agenda.slide-p { animation: mc-slide-p 360ms ease-out; }
  .mc-grid.morph { transform-origin: top; animation: mc-morph 360ms ease-out; }
  @keyframes mc-morph { from { transform: scaleY(.88); opacity: .3; } to { transform: none; opacity: 1; } }
  @keyframes mc-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes mc-slide-n { from { transform: translateX(36px); opacity: .4; } to { transform: none; opacity: 1; } }
  @keyframes mc-slide-p { from { transform: translateX(-36px); opacity: .4; } to { transform: none; opacity: 1; } }
  /* 설정 시트(⋯): 연차·입고 켜기/끄기 · 구글 연결 · 마지막 확인 · 저장 상태 */
  .mc-set-grp { margin-top: 4px; }
  .mc-set-grp .m-lbl { font-size: 13px; }
  .mc-set-conn { display: flex; align-items: center; gap: 8px; min-height: 48px; font-size: 15px; border-bottom: 1px solid var(--ps-hair); }
  .mc-set-tog { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 0; border: 0; border-bottom: 1px solid var(--ps-hair); background: transparent; color: var(--ps-text); text-align: left; font: inherit; -webkit-tap-highlight-color: transparent; transition: opacity 144ms; }
  .mc-set-tog:active { opacity: .7; }
  .mc-set-tl { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .mc-set-tn { font-size: 16px; }
  .mc-set-tm { font-size: 13px; color: var(--ps-muted); }
  .mc-set-sw { flex: none; position: relative; width: 44px; height: 26px; border: 2px solid var(--ps-rule); border-radius: 2px; }
  .mc-set-sw i { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; background: var(--ps-muted); transition: transform 216ms; }
  .mc-set-tog[aria-checked="true"] .mc-set-sw { border-color: var(--ps-ac); }
  .mc-set-tog[aria-checked="true"] .mc-set-sw i { transform: translateX(18px); background: var(--ps-ac); }
  .mc-set-st { flex: none; width: 36px; font-size: 14px; color: var(--ps-text2); }
  .mc-set-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; border-bottom: 1px solid var(--ps-hair); }
  .mc-set-k { color: var(--ps-muted); }
  .mc-set-go { margin-top: 8px; text-decoration: none; }
  .mc-set-search { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; }
  .mc-set-close { margin-top: 16px; }
  /* 목록(아젠다) 보기 */
  .mc-agenda { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px; }
  .mc-ag-day { margin-top: 12px; border-top: 2px solid var(--ps-rule); padding-top: 8px; }
  .mc-ag-day h2 { margin: 0 0 2px; font-size: 16px; font-weight: 500; }
  .mc-ag-day h2.today { color: var(--ps-ac-ink); }
  .mc-ag-day .mc-hol { margin-left: 8px; font-size: 13px; font-weight: 400; }
  .mc-agenda .mc-row .t { white-space: normal; overflow-wrap: anywhere; }
  .mc-agrange { margin: 0; padding: 12px 0 0; font-size: 14px; color: var(--ps-text2); font-variant-numeric: tabular-nums; }
  .mc-agmore { margin: 16px 0 12px; }
  .mc-agadd { flex: none; padding: 8px 16px 8px; border-top: 1px solid var(--ps-hair); }
  .mc-agadd .mc-add { margin: 0; }
  /* 일정 입력 · 찾기 전체 화면 */
  .mc-eh { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: max(8px, env(safe-area-inset-top)) 8px 6px 16px; border-bottom: 1px solid var(--ps-hair); }
  .mc-hb { min-height: 48px; min-width: 48px; display: inline-flex; align-items: center; padding: 0 8px; border: 0; background: transparent; color: var(--ps-text); font-size: 16px; -webkit-tap-highlight-color: transparent; transition: opacity 144ms; }
  .mc-hb:active { opacity: .6; }
  .mc-hb-main { color: var(--ps-ac-ink); font-weight: 500; justify-content: flex-end; }
  .mc-et { flex: 1; text-align: center; font-size: 17px; font-weight: 500; }
  .mc-ef { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px calc(24px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
  .mc-ef .m-lbl { font-size: 13px; }
  .mc-err { color: var(--ps-bad); font-size: 14px; padding-top: 10px; }
  .mc-err:empty { display: none; }
  .mc-err:not(:empty)::before { content: "✕ "; }
  .mc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .mc-two > div[hidden] { display: none; }
  .mc-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .mc-kind[data-k="1"] span:last-child { color: var(--cal-t1); } .mc-kind[data-k="2"] span:last-child { color: var(--cal-t2); } .mc-kind[data-k="3"] span:last-child { color: var(--cal-t3); } .mc-kind[data-k="4"] span:last-child { color: var(--cal-t4); } .mc-kind[data-k="5"] span:last-child { color: var(--cal-t5); }
  .mc-kind { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 6px; border: 1px solid var(--ps-rule); border-radius: 2px; background: transparent; color: var(--ps-text); font-size: 15px; transition: transform 144ms, opacity 144ms; }
  .mc-kind[aria-checked="true"], .mc-tog[aria-pressed="true"] { border-color: var(--ps-ac); box-shadow: inset 0 0 0 1px var(--ps-ac); }
  .mc-kind[aria-checked="true"] span:last-child { font-weight: 500; }
  .mc-kind:active, .mc-tog:active { opacity: .7; transform: scale(.97); }
  .mc-tog { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--ps-rule); border-radius: 2px; background: transparent; color: var(--ps-text); font: inherit; font-size: 15px; text-align: left; transition: transform 144ms, opacity 144ms; }
  .mc-tog[aria-pressed="true"] { background: var(--ps-raised); }
  .mc-tog-s { font-size: 13px; color: var(--ps-muted); }
  .mc-del { margin-top: 24px; }
  .mc-q { margin-top: 10px; }
  .mc-hitn { padding: 12px 0 4px; font-size: 13px; color: var(--ps-muted); }
  .mc-hit { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ps-hair); background: transparent; color: var(--ps-text); font: inherit; text-align: left; }
  .mc-hit .t { font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
  .mc-hit .t.strike { text-decoration: line-through; }
  .mc-hit-d { flex: none; width: 44px; font-size: 13px; color: var(--ps-muted); font-variant-numeric: tabular-nums; }
  /* 일정 목록 크게 보기: 달력 칸(요일 줄·날짜 칸)을 접고 선택한 날 목록이 화면 가득. 제목 쪽을 누르면 토글(48px 이상) */
  .mc.mc-full .mc-dow, .mc.mc-full .mc-grid { display: none; }
  .mc-pt-tg { display: flex; flex-direction: column; justify-content: center; min-height: 48px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .mc-pt-tg:active { opacity: .7; }
  .mc-pt-tg:focus-visible { outline: 2px solid var(--ps-text); outline-offset: 2px; }
  .mc-tgmk { margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--ps-ac-ink); }
  /* 일정 글자 크기(설정 시트에서 고른다, 기기에 기억): 보통은 위의 값 그대로, 작게·아주 작게는 글자와 줄 높이를 같이 줄인다.
     작게 = 14px · 줄 44px (12px·44px 규칙 안) / 아주 작게 = 11px · 줄 36px (차장이 직접 '줄일 수 있게'를 요청해 이 선택에 한해 12px·44px 규칙 아래로 허용) */
  .mc-fs-s .mc-row { min-height: 44px; padding: 3px 0; gap: 10px; }
  .mc-fs-s .mc-row .t { font-size: 14px; line-height: 1.25; }
  .mc-fs-s .mc-row .s { font-size: 12px; line-height: 1.2; }
  .mc-fs-s .mc-time { width: 40px; font-size: 12px; }
  .mc-fs-s .mc-row .mc-sh { font-size: 14px; }
  .mc-fs-s .mc-src { font-size: 12px; }
  .mc-fs-s .mc-lp, .mc-fs-s .mc-lgrp.g6 .mc-lp { font-size: 12px; line-height: 1.3; }
  .mc-fs-s .mc-none { font-size: 14px; }
  .mc-fs-x .mc-row { min-height: 36px; padding: 2px 0; gap: 8px; }
  .mc-fs-x .mc-row .t { font-size: 11px; line-height: 1.2; }
  .mc-fs-x .mc-row .s { font-size: 11px; line-height: 1.15; }
  .mc-fs-x .mc-time { width: 34px; font-size: 11px; }
  .mc-fs-x .mc-row .mc-sh { font-size: 12px; }
  .mc-fs-x .mc-src { font-size: 11px; }
  .mc-fs-x .mc-lp, .mc-fs-x .mc-lgrp.g6 .mc-lp { font-size: 11px; line-height: 1.25; }
  .mc-fs-x .mc-row .m-chev svg { width: 14px; height: 14px; }
  .mc-fs-x .mc-ag-day h2 { font-size: 13px; }
  .mc-fs-x .mc-ag-day { margin-top: 6px; padding-top: 4px; }
  .mc-fs-x .mc-day .mc-rows { padding-bottom: 4px; }
  /* 설정 시트: 글자 크기 고르기(3칸, 칸마다 48px) */
  .mc-fsopts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
  .mc-fso { min-height: 48px; padding: 0 6px; border: 1px solid var(--ps-rule); border-radius: 2px; background: transparent; color: var(--ps-text); font-size: 15px; -webkit-tap-highlight-color: transparent; transition: opacity 144ms; }
  .mc-fso[aria-checked="true"] { border-color: var(--ps-ac); box-shadow: inset 0 0 0 1px var(--ps-ac); background: var(--ps-raised); font-weight: 600; }
  .mc-fso:active { opacity: .7; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .mc-ib, .mc-today, .mc-tbtn, .mc-vsel, .mc-row, .mc-kind, .mc-tog, .mc-hb, .mc-set-tog, .mc-set-sw i { transition: none !important; }
  .mc-fade, .mc-grid.morph, .mc-grid.slide-n, .mc-grid.slide-p, .mc-agenda.slide-n, .mc-agenda.slide-p { animation: none !important; }
  .mc-ib:active, .mc-today:active, .mc-tbtn:active, .mc-vsel:active, div.mc-row[role="button"]:active, .mc-kind:active, .mc-tog:active { transform: none; }
}
