/* 우리회사 화면 (비용 · 돈 · 세금 · 통계 · 시재 · 클레임) — 새 이름은 of- 로 시작 */

/* 달 · 해 고르기 ‹ 2026년 10월 › */
.of-pick { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 42px; }
.of-pick button { width: 40px; height: 100%; border: none; background: none; color: var(--muted); font-size: 18px; cursor: pointer; border-radius: 12px; }
.of-pick button:hover { color: var(--text); background: var(--bg); }
.of-pick b { min-width: 104px; text-align: center; font-size: 16px; white-space: nowrap; }

/* 회색 통 안 흰 탭 */
.of-tabs { display: inline-flex; gap: 2px; background: #ececea; border-radius: 12px; padding: 4px; flex-wrap: wrap; }
.of-tabs button, .of-tabs a { border: none; background: none; padding: 8px 16px; border-radius: 9px; font-size: 15px; color: #48484a; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.of-tabs .on { background: #fff; color: var(--text); font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.of-count { background: var(--minus); color: #fff; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 0 7px; line-height: 18px; }
.of-count:empty { display: none; }
.of-toptabs { margin-bottom: 14px; }
.of-mt { margin-top: 14px; }

/* 둥근 고르기 (결제 · 분류 · 채널) */
.seg.of-pill button { border-radius: 99px; padding: 8px 16px; font-weight: 700; font-size: 14px; }

/* 칩 색 */
.chip.of-green { background: #e6f6ec; color: var(--plus); }
.chip.of-purple { background: #f1eafe; color: #7a43d6; }
.chip.of-orange { background: #fff0e0; color: #c25e00; }
.chip.of-blue { background: #e8f0fe; color: var(--accent); }
.chip.of-red { background: #fde5e3; color: var(--minus); }
.chip.of-yellow { background: #fff3d6; color: #9a6b00; }
.chip.of-gray { background: var(--bg); color: #48484a; }

/* 표 */
.of-t td, .of-t th { padding: 13px 8px; vertical-align: middle; }
.of-t td.c, .of-t th.c { text-align: center; }
.of-t .of-day { width: 70px; color: var(--muted); white-space: nowrap; }
.of-t b { font-weight: 700; }
.of-t.click tbody tr[data-id], .of-t.click tbody tr[data-day] { cursor: pointer; }
.of-t.click tbody tr[data-id]:hover td, .of-t.click tbody tr[data-day]:hover td { background: #fafafa; }
.of-dim { color: var(--muted); }
.of-who { color: var(--muted); font-size: 13px; }
.of-cam { width: 40px; text-align: center; }
.of-cam a { font-size: 17px; }
.of-blue { color: var(--accent); }
.of-pt { margin: 14px 8px 0 !important; font-size: 16px; }
.of-no { width: 56px; color: var(--muted); }
.of-del { width: 70px; }
.of-link { font-size: 13px; color: var(--accent); font-weight: 700; margin-left: 6px; }

/* 칸 · 작은 창 */
.of-modal { max-height: calc(100vh - 32px); overflow-y: auto; }
.modal.of-wide { max-width: 920px; }
.modal.of-mid { max-width: 640px; }
.of-actions { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.of-actions .btn { padding: 11px 18px; border-radius: 10px; }
.of-save { padding: 12px 30px !important; border-radius: 12px !important; }
.of-bignum { font-size: 19px !important; font-weight: 800; }
.of-inline { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.of-inline input { width: 90px; margin: 0; }
.of-small { font-size: 13px; margin: 6px 0 0; }
.of-pad { padding: 10px; margin: 0; }
.of-note { margin: 0; background: #e8f6ee; color: #2a7a4f; font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 10px; }
.of-cat-in { margin-top: 8px !important; padding: 9px 12px !important; }
.of-kv { display: flex; flex-direction: column; gap: 2px; margin: 8px 0 12px; }
.of-kv > div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.of-kv > div:last-child { border-bottom: none; }
.of-kv span { color: var(--muted); }
.of-kv b { font-weight: 600; word-break: break-all; }
.of-shot { display: block; margin: 8px 0 10px; border-radius: 12px; overflow: hidden; background: var(--bg); text-align: center; }
.of-shot img { max-width: 100%; max-height: 300px; display: block; margin: 0 auto; }
.of-thumb { width: 28px; height: 28px; object-fit: cover; border-radius: 6px; vertical-align: middle; margin-right: 4px; }
.of-photo-btn { width: 100%; justify-content: center; padding: 11px; border-radius: 10px; font-weight: 700; }
.of-paste { margin: 4px 0 6px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; resize: vertical; }
.of-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.of-map label { margin: 0; color: var(--text); font-weight: 700; font-size: 14px; }
.of-map select { font-weight: 400; }
.of-prev { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; }
.of-prev td, .of-prev th { padding: 8px 10px; font-size: 14px; }

/* 찾기 칸 아래 목록 */
.of-find { position: relative; margin: 0; }
span.of-find { display: block; }
.of-ctl .search input, .of-head .search input { font-size: 15px; }
.link-btn { white-space: nowrap; }
.of-ecards { display: none; }
.of-ecard { background: #fff; border-radius: 14px; padding: 12px 16px; margin-bottom: 8px; }
.of-ecard > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.of-ecard > div small { color: var(--muted); }
.of-ecard > div span { color: #48484a; font-size: 14px; }
.of-ecard > div b.plus, .of-ecard > div b.minus { font-size: 18px; white-space: nowrap; }
.of-ecard .link-btn { padding: 4px 0 0; font-size: 13px; }
.of-drop { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.1); z-index: 20; padding: 4px; max-height: 300px; overflow-y: auto; }
.of-drop .found { font-size: 14px; }

/* --- 비용 --- */
.of-big3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.of-big { display: flex; align-items: center; justify-content: center; gap: 10px; height: 72px; border: 1px solid var(--line); background: #fff; border-radius: 14px; font-size: 17px; font-weight: 700; cursor: pointer; }
.of-big i { font-style: normal; font-size: 24px; }
.of-big:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.of-big.go { background: var(--accent); border-color: var(--accent); color: #fff; }
.of-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; align-items: start; }
.of-split .panel { margin: 0; padding: 20px 20px 16px; }
.of-ph { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.of-ph h3 { margin: 0 !important; font-size: 16px; }
.of-ph h3 small { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 4px; }
.of-ph > b { font-size: 19px; }
.of-frow { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 14px 6px; border: none; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.of-frow:hover:not(:disabled) { background: #fafafa; }
.of-frow:disabled { cursor: default; color: var(--text); }
.of-frow i { font-style: normal; font-size: 18px; text-align: center; }
.of-frow small { color: var(--muted); font-size: 13px; }
.of-frow em { font-style: normal; font-weight: 700; font-size: 17px; }
.of-fixed .btn.dashed.wide { margin-top: 14px; }
.of-total { display: flex; justify-content: flex-end; align-items: baseline; gap: 10px; padding: 18px 8px 0; color: var(--muted); font-size: 14px; }
.of-total b { color: var(--text); font-size: 24px; }
.of-icons { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.of-icons button { width: 42px; height: 42px; font-size: 20px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; }
.of-icons button.on { border-color: var(--accent); background: #f5f8ff; box-shadow: inset 0 0 0 1px var(--accent); }
.of-receipt { display: grid; grid-template-columns: 380px 1fr; gap: 22px; align-items: start; }
.of-rphoto { position: relative; background: linear-gradient(160deg, #8d7c66, #5f5242); border-radius: 14px; overflow: hidden; min-height: 300px; display: grid; place-items: center; }
.of-rphoto img { display: block; max-width: 100%; max-height: 520px; }
.of-rphoto span { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.65); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 99px; pointer-events: none; }

/* --- 돈 받기 · 주기 --- */
.of-sum-card { display: flex; justify-content: space-between; align-items: baseline; background: #fff; border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px; }
.of-sum-card span { color: var(--muted); }
.of-sum-card b { font-size: 24px; }
.of-left-line { display: flex; justify-content: space-between; align-items: baseline; background: var(--bg); border-radius: 12px; padding: 12px 16px; margin: 4px 0 16px; }
.of-left-line span { color: var(--muted); }
.of-left-line b { font-size: 20px; }
.of-hist { max-height: 240px; overflow-y: auto; }
.of-hrow { display: grid; grid-template-columns: 52px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.of-hrow span:first-child { color: var(--muted); }
.of-close input.of-disc { width: 110px; margin: 0 0 0 auto; padding: 8px 10px; color: var(--minus); font-weight: 700; }
.of-expand { border: none; background: none; padding: 0; cursor: pointer; color: var(--text); font-size: 15px; text-align: left; }
.of-close tr.open td { background: #f5f8ff; }
.of-sub td { background: #f5f8ff; padding: 0 8px 12px; }
.of-subbox > div { display: grid; grid-template-columns: 60px 1fr auto; gap: 10px; padding: 7px 8px 7px 22px; border-top: 1px solid #e3e9f7; font-size: 14px; }
.of-tick { width: 34px; height: 30px; border-radius: 99px; border: 1.5px dashed #c7c7cc; background: #fff; color: transparent; cursor: pointer; display: inline-grid; place-items: center; }
.of-tick.on { border: none; background: #e6f6ec; color: var(--plus); }
.of-foot-total { display: flex; align-items: baseline; justify-content: flex-end; gap: 12px; padding: 16px 8px 12px; border-top: 2px solid var(--text); color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.of-foot-total b { color: var(--text); font-size: 22px; }
.of-foot-total .btn { align-self: center; }

/* --- 세금 --- */
.of-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.of-card { background: #fff; border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.of-card > span { color: var(--muted); font-size: 14px; }
.of-card > b { font-size: 28px; font-weight: 800; line-height: 1.2; }
.of-card > b small { font-size: 15px; font-weight: 700; margin-left: 2px; }
.of-card > b.of-name { font-size: 19px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.of-card > em { font-style: normal; color: var(--muted); font-size: 13px; }
.of-card.blue { background: var(--accent); color: #fff; }
.of-card.blue > span, .of-card.blue > em { color: rgba(255,255,255,.85); }
.of-info { margin: 0 0 14px; color: #48484a; font-size: 14px; background: #fff; border-radius: 12px; padding: 10px 16px; }
.of-info a { color: var(--accent); font-weight: 700; }
.of-ckc { width: 36px; }
.of-ck { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.of-below { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.of-below .hint { margin: 0; }
.of-orig { background: var(--bg); border-radius: 12px; padding: 12px 16px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.of-orig span, .of-orig small { color: var(--muted); }
.tiles.of-tiles4 { grid-template-columns: repeat(4, 1fr); }

/* --- 통계 --- */
.of-ctl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.of-ctl .search { flex: 0 1 380px; }
.of-chart-panel { padding: 20px 22px 14px; }
.of-legend { display: flex; align-items: center; gap: 16px; color: #48484a; font-size: 14px; margin-bottom: 6px; }
.of-legend span { display: inline-flex; align-items: center; gap: 6px; }
.of-legend i { width: 12px; height: 12px; border-radius: 3px; }
.of-legend i.this { background: #84a6f4; }
.of-legend i.last { background: #d6d6d2; }
.of-legend small { margin-left: auto; color: var(--muted); font-size: 13px; }
.of-chart { width: 100%; height: auto; display: block; }
.of-chart .grid { stroke: #efefed; stroke-width: 1; }
.of-chart rect.this { fill: #84a6f4; }
.of-chart rect.this.now { fill: var(--accent); }
.of-chart rect.last { fill: #d6d6d2; }
.of-chart text { text-anchor: middle; }
.of-chart text.lab { font-size: 13px; fill: var(--muted); }
.of-chart text.lab.now { fill: var(--accent); font-weight: 700; }
.of-chart text.val { font-size: 13px; font-weight: 800; fill: var(--text); }
.of-barc { width: 46%; }
.of-barc small { color: var(--muted); font-size: 12px; margin-left: 8px; }
.of-bar { display: inline-block; vertical-align: middle; width: calc(100% - 50px); height: 20px; }
.of-bar i { display: block; height: 100%; background: #a4bdf5; border-radius: 5px; }
.of-bar.top i { background: var(--accent); }

/* --- 시재 --- */
.of-blue-note { background: #eef3fe; color: var(--accent); font-weight: 700; font-size: 14px; border-radius: 12px; padding: 10px 16px; margin: 0 0 14px; }
.of-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 14px; }
.of-flow > i { font-style: normal; color: var(--muted); font-weight: 800; font-size: 20px; text-align: center; }
.of-fcard { background: #fff; border: none; border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; text-align: left; min-width: 0; font: inherit; }
.of-fcard span { color: var(--muted); font-size: 14px; }
.of-fcard span small { font-size: 12px; margin-left: 2px; }
.of-fcard b { font-size: 25px; font-weight: 800; }
.of-fcard input { margin: 2px 0 0; font-size: 20px; font-weight: 800; padding: 6px 8px; }
button.of-fcard { cursor: pointer; }
button.of-fcard:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--accent); }
button.of-fcard:disabled { cursor: default; color: var(--text); }
.of-cash .chip { font-weight: 700; }
.of-closebar { display: flex; align-items: center; gap: 14px; padding: 16px 24px; flex-wrap: wrap; }
.of-lock { font-size: 17px; white-space: nowrap; }
.of-count-in { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-size: 14px; white-space: nowrap; }
.of-count-in input { width: 180px; margin: 0; padding: 10px 12px; }
.of-diffbox { flex: 1; min-width: 220px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-radius: 12px; padding: 14px 18px; flex-wrap: wrap; }
.of-diffbox.bad { background: #fdf0ef; color: var(--minus); }
.of-diffbox.ok { background: #e8f6ee; color: var(--plus); }
.of-diffbox span { font-weight: 700; font-size: 14px; }
.of-hist-t tr.of-bad td { background: #fdf3f2; }
.of-hist-t td, .of-hist-t th { white-space: nowrap; }
.tiles.of-kinds { margin: 4px 0 16px; }

/* --- 클레임 --- */
.of-title-pv { background: #f5f8ff; border: 1px solid #c9d8fb; border-radius: 12px; padding: 12px 16px; margin: 4px 0 16px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.of-title-pv small { color: var(--muted); white-space: nowrap; }
.of-title-pv b { color: var(--accent); font-size: 16px; }
.of-prod { display: grid; grid-template-columns: 1fr 70px auto; gap: 8px; align-items: center; }
.of-prod input { margin: 0; }
.of-prod em { font-style: normal; color: var(--muted); }
.of-types { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.of-types button { padding: 11px 4px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.of-types button.on { background: var(--text); color: #fff; border-color: var(--text); }
.of-ctitle { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.of-chips-line { display: flex; gap: 6px; flex-wrap: wrap; }
.of-box-warn { background: #fdf0ef; color: var(--minus); font-weight: 700; border-radius: 12px; padding: 10px 14px; margin-top: 6px; }
.of-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.of-two .btn.big { font-size: 15px; }
.btn.of-dark { background: var(--text); border-color: var(--text); color: #fff; }
.of-arrive { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.of-acard { border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 16px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.of-acard b { font-size: 17px; }
.of-acard small { color: var(--muted); }
.of-acard em { font-style: normal; font-weight: 700; font-size: 14px; margin-top: 6px; }
.of-acard.good:hover { border-color: var(--plus); background: #f3faf6; }
.of-acard.good em { color: var(--plus); }
.of-acard.bad:hover { border-color: var(--minus); background: #fdf3f2; }
.of-acard.bad em { color: var(--minus); }
.of-noperm { font-size: 16px; }
.of-noperm i { display: block; font-style: normal; font-size: 40px; margin-bottom: 8px; }

/* 폰 */
@media (max-width: 760px) {
  .of-pc { display: none; }
  .of-pick { height: 38px; }
  .of-pick button { width: 34px; }
  .of-pick b { min-width: 92px; font-size: 15px; }
  .of-tabs button, .of-tabs a { padding: 7px 12px; font-size: 14px; }
  .head .of-tabs { order: 4; }
  .of-head .head-r { width: auto; margin-left: auto; }
  .of-t td, .of-t th { padding: 11px 4px; font-size: 14px; }
  .of-t .of-day { width: 46px; }
  .of-t td b { word-break: keep-all; }
  .of-who { display: block; }
  .of-big3 { gap: 8px; }
  .of-big { flex-direction: column; gap: 2px; height: 82px; font-size: 14px; text-align: center; padding: 0 4px; }
  .of-split { grid-template-columns: 1fr; gap: 12px; }
  .of-split .panel { padding: 16px 14px 12px; }
  .of-receipt { grid-template-columns: 1fr; gap: 14px; }
  .of-rphoto { min-height: 200px; }
  .of-rphoto img { max-height: 300px; }
  .of-map { grid-template-columns: 1fr; gap: 6px; }
  .of-cards { grid-template-columns: 1fr; gap: 8px; }
  .of-card { padding: 14px 18px; }
  .of-card > b { font-size: 23px; }
  .tiles.of-tiles4 { grid-template-columns: 1fr 1fr; }
  .of-ctl { gap: 8px; }
  .of-ctl .search { flex: 1 1 100%; order: 0; }
  .of-ctl .grow { display: none; }
  .of-barc { width: 34%; }
  .of-bar { width: 100%; height: 14px; }
  .of-barc small { display: block; margin: 2px 0 0; }
  .of-flow { grid-template-columns: 1fr 1fr; gap: 8px; }
  .of-flow > i { display: none; }
  .of-fcard { padding: 12px 14px; }
  .of-fcard b { font-size: 20px; }
  .of-closebar { padding: 14px; gap: 10px; }
  .of-count-in { flex: 1; }
  .of-count-in input { width: 100%; }
  .of-diffbox { min-width: 100%; }
  .of-cash-panel { display: none; }
  .of-ecards { display: block; margin-bottom: 12px; }
  .of-close input.of-disc { width: 80px; padding: 6px; }
  .of-sub td { padding: 0 0 10px; }
  .of-subbox > div { grid-template-columns: 44px 1fr auto; padding-left: 8px; }
  .of-types { grid-template-columns: repeat(3, 1fr); }
  .of-prod { grid-template-columns: 1fr 58px; }
  .of-prod em { display: none; }
  .of-prod .of-drop { right: -66px; }
  .of-arrive, .of-two { grid-template-columns: 1fr; }
  .of-sum-card b { font-size: 20px; }
  .of-total b { font-size: 21px; }
  .of-foot-total b { font-size: 19px; }
  .modal.of-modal { padding: 16px 16px 20px; }
  .of-below .btn { width: 100%; }
}

/* 달력 */
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 4px 2px 10px; color: var(--muted); font-size: 14px; }
.cal-legend .cal-dot { margin-right: -8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-w { padding: 8px 0; text-align: center; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.cal-c { min-height: 96px; padding: 6px; border: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: none; text-align: left; display: flex; flex-direction: column; gap: 3px; cursor: pointer; font: inherit; color: inherit; min-width: 0; }
.cal-c:nth-child(7n) { border-right: none; }
.cal-c.out { cursor: default; background: var(--bg); }
.cal-c > b { font-size: 14px; font-weight: 600; width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 50%; }
.cal-c.today > b { background: var(--accent); color: #fff; }
.cal-c.on { background: #eef3ff; }
.sun { color: #e5484d; } .sat { color: #2f6bff; }
.cal-c.today > b.sun, .cal-c.today > b.sat { color: #fff; }
.cal-chips { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cal-chips small { color: var(--muted); font-size: 12px; }
.cal-chip { font-size: 12px; padding: 1px 6px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #f1f3f5; }
.cal-dots { display: none; gap: 3px; justify-content: center; }
.cal-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #adb5bd; }
.k-order.cal-chip { background: #fff1e0; color: #b45309; } .k-order.cal-dot, .k-order.cal-tag { background: #f59e0b; }
.k-ship.cal-chip { background: #e7efff; color: #1d4ed8; } .k-ship.cal-dot, .k-ship.cal-tag { background: #3b82f6; }
.k-tax.cal-chip { background: #f1e8ff; color: #6d28d9; } .k-tax.cal-dot, .k-tax.cal-tag { background: #8b5cf6; }
.k-visit.cal-chip { background: #e3f7ea; color: #15803d; } .k-visit.cal-dot, .k-visit.cal-tag { background: #22c55e; }
.k-meet.cal-chip { background: #ddf5f5; color: #0f766e; } .k-meet.cal-dot, .k-meet.cal-tag { background: #14b8a6; }
.k-memo.cal-chip { background: #f1f3f5; color: #495057; } .k-memo.cal-dot, .k-memo.cal-tag { background: #868e96; }
.cal-chip.late { background: #ffe4e4; color: #c92a2a; } .cal-dot.late { background: #e5484d; }
.cal-day { margin-top: 12px; }
.cal-day-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 17px; }
.cal-list { list-style: none; margin: 0; padding: 0; }
.cal-list li { display: flex; align-items: center; gap: 10px; padding: 12px 2px; border-top: 1px solid var(--line); font-size: 16px; }
.cal-list li > a, .cal-list li > span:not(.cal-tag) { flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.cal-list li.late > a { color: #c92a2a; }
.cal-tag { flex: none; color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 6px; font-weight: 600; }
.cal-day .empty { color: var(--muted); padding: 10px 2px; }
@media (max-width: 700px) {
  .cal-c { min-height: 56px; align-items: center; padding: 4px 2px; }
  .cal-chips { display: none; }
  .cal-dots { display: flex; }
}
