/* ARKHIVE — Calendar / schedule styles. Reuses brand.css tokens. */

/* ============ PUBLIC read-only calendar (Main) ============ */
.cal { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
@media (max-width: 940px) { .cal { grid-template-columns: 1fr; } }

.cal-cal { border: 1px solid rgba(28,28,30,0.12); border-radius: var(--radius); background: #fff; overflow: hidden; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid rgba(28,28,30,0.1); }
.cal-mtitle { display: flex; align-items: baseline; gap: 10px; }
.cal-mtitle .y { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; color: var(--stone); }
.cal-mtitle .m { font-family: var(--font-display); font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -0.01em; }
.cal-mcount { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--red); border: 1px solid var(--red); border-radius: 999px; padding: 3px 8px; margin-left: 4px; }
.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-navbtn { width: 36px; height: 36px; border: 1px solid rgba(28,28,30,0.18); background: #fff; border-radius: var(--radius); cursor: pointer; font-size: 18px; color: var(--ink); display: flex; align-items: center; justify-content: center; transition: all .14s; }
.cal-navbtn:hover { border-color: var(--ink); }
.cal-today { height: 36px; padding: 0 14px; border: 1px solid rgba(28,28,30,0.18); background: #fff; border-radius: var(--radius); cursor: pointer; font-family: var(--font-body); font-weight: 700; font-size: 12px; color: var(--ink); transition: all .14s; }
.cal-today:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-wdrow { border-bottom: 1px solid rgba(28,28,30,0.08); background: var(--off); }
.cal-wd { padding: 9px 0; text-align: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--stone); }
.cal-wd.sun { color: var(--red); }
.cal-day { min-width: 0; min-height: 96px; border-right: 1px solid rgba(28,28,30,0.06); border-bottom: 1px solid rgba(28,28,30,0.06); padding: 7px 7px 6px; position: relative; display: flex; flex-direction: column; gap: 4px; }
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day.empty { background: repeating-linear-gradient(-45deg, rgba(28,28,30,0.018) 0 6px, transparent 6px 12px); }
.cal-day.has { cursor: pointer; }
.cal-day.has:hover { background: var(--off); }
.cal-day.past { background: rgba(28,28,30,0.015); }
.cal-day.past .cal-dnum { color: rgba(28,28,30,0.32); }
.cal-day.sel { background: var(--off); box-shadow: inset 0 0 0 2px var(--ink); }
/* line-height 고정 — 오늘 표시로 글자 크기가 바뀌어도 띠 시작점이 밀리지 않습니다. */
.cal-dnum { font-family: var(--font-mono); font-size: 12px; line-height: 18px; font-weight: 500; color: var(--ink); }
.cal-dnum.sun { color: var(--red); }
.cal-bars { display: flex; flex-direction: column; gap: 3px; min-width: 0; margin: 0 -7px; }
.cal-bar { height: 17px; display: flex; align-items: center; min-width: 0; color: #fff; background: var(--ink); padding: 0 2px; }
.cal-bar.s { margin-left: 5px; border-radius: 3px 0 0 3px; padding-left: 6px; }
.cal-bar.e { margin-right: 5px; border-radius: 0 3px 3px 0; }
.cal-bar.s.e { border-radius: 3px; }
.cal-bar.hole { background: transparent; }
.cal-bar .t { font-family: var(--font-body); font-weight: 600; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-catbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(28,28,30,0.08); background: var(--off); }
.cal-catchip { display: inline-flex; align-items: center; gap: 6px; height: 27px; padding: 0 11px; border: 1px solid rgba(28,28,30,0.16); background: #fff; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 11.5px; color: var(--ink); cursor: pointer; }
.cal-catchip .sw { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.cal-catchip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cal-catchip.on .sw { background: #fff !important; }
.cal-chips { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-chip { display: flex; align-items: center; gap: 5px; background: var(--ink); color: #fff; border-radius: 3px; padding: 2px 6px; min-width: 0; max-width: 100%; }
.cal-chip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex: none; }
.cal-chip .t { font-family: var(--font-body); font-weight: 600; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-more { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.04em; color: var(--stone); padding-left: 2px; }

/* side upcoming list */
.cal-side { border: 1px solid rgba(28,28,30,0.12); border-radius: var(--radius); background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.cal-sidehead { padding: 16px 18px 14px; border-bottom: 1px solid rgba(28,28,30,0.1); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cal-sidehead .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.cal-clear { border: 0; background: none; cursor: pointer; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--red); white-space: nowrap; }
.cal-list { display: flex; flex-direction: column; max-height: 470px; overflow-y: auto; }
.cal-up { display: flex; gap: 14px; padding: 14px 18px; border-bottom: 1px solid rgba(28,28,30,0.06); align-items: center; }
.cal-up:last-child { border-bottom: 0; }
.cal-update { flex: none; width: 50px; text-align: center; }
.cal-update .d { font-family: var(--font-display); font-weight: 900; font-size: 26px; line-height: 0.9; display: block; }
.cal-update .mo { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.04em; color: var(--stone); }
.cal-upbody { min-width: 0; }
.cal-upbody .nm { font-weight: 700; font-size: 14px; line-height: 1.25; }
.cal-upbody .ca { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--stone); margin-top: 5px; }
.cal-upbody .ca .sw { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.cal-upbody .ca .rg { letter-spacing: 0.02em; font-size: 10px; color: var(--ink); }
.cal-upbody .ca .now { background: var(--red); color: #fff; padding: 1px 6px; border-radius: 3px; letter-spacing: 0.06em; }
.cal-update { border-top: 2px solid transparent; padding-top: 4px; }
.cal-empty { padding: 28px 18px; text-align: center; font-size: 12.5px; color: var(--stone); }
.cal-note { padding: 12px 18px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.04em; color: var(--stone); background: var(--off); border-top: 1px solid rgba(28,28,30,0.07); }

@media (max-width: 540px) {
  .cal-day { min-height: 118px; }
  .cal-chip .t { font-size: 9px; }
}

/* ============ ADMIN schedule manager ============ */
.cadm-intro { display: flex; gap: 12px; align-items: flex-start; background: var(--off); border: 1px solid rgba(28,28,30,0.1); border-left: 2px solid var(--red); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px; }
.cadm-intro .tx { font-size: 13px; line-height: 1.6; color: var(--stone); }
.cadm-intro .tx b { color: var(--ink); }

.cadm-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.cadm-stats { display: flex; gap: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--stone); }
.cadm-stats span { white-space: nowrap; }
.cadm-stats b { font-family: var(--font-display); font-size: 17px; color: var(--ink); margin-right: 5px; }

.cadm-table { border: 1px solid rgba(28,28,30,0.12); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cadm-rowhead, .cadm-row { display: grid; grid-template-columns: 132px 132px 56px minmax(140px,1fr) 124px 96px 38px; gap: 9px; align-items: center; padding: 11px 16px; }
.cadm-days { font-family: var(--font-mono); font-size: 11px; color: var(--stone); text-align: center; white-space: nowrap; }
.cadm-days b { color: var(--ink); font-family: var(--font-display); font-size: 15px; }
@media (max-width: 1100px) { .cadm-rowhead, .cadm-row { grid-template-columns: 1fr 1fr 48px; grid-auto-rows: auto; } .cadm-rowhead { display: none; } }
.cadm-rowhead { background: var(--off); border-bottom: 1px solid rgba(28,28,30,0.1); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }
.cadm-row { border-bottom: 1px solid rgba(28,28,30,0.07); }
.cadm-row:last-child { border-bottom: 0; }
.cadm-row.hidden { background: rgba(28,28,30,0.02); }
.cadm-row.hidden .cadm-in { opacity: 0.55; }
.cadm-in { width: 100%; height: 38px; border: 1px solid rgba(28,28,30,0.16); border-radius: var(--radius); padding: 0 11px; font-family: var(--font-body); font-size: 14px; color: var(--ink); background: #fff; outline: none; transition: border-color .14s; }
.cadm-in:focus { border-color: var(--ink); }
.cadm-in.date { font-family: var(--font-mono); font-size: 12.5px; }
select.cadm-in { cursor: pointer; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--stone) 50%), linear-gradient(135deg, var(--stone) 50%, transparent 50%); background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 28px; }

/* publish toggle */
.cadm-toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.cadm-sw { width: 38px; height: 22px; border-radius: 999px; background: rgba(28,28,30,0.2); position: relative; transition: background .16s; flex: none; }
.cadm-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .16s; }
.cadm-toggle.on .cadm-sw { background: var(--tg-line); }
.cadm-toggle.on .cadm-sw::after { transform: translateX(16px); }
.cadm-toggle .tl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.06em; color: var(--stone); width: 42px; }
.cadm-toggle.on .tl { color: var(--tg-head); }
.cadm-del { width: 34px; height: 34px; border: 1px solid rgba(28,28,30,0.14); background: #fff; border-radius: var(--radius); cursor: pointer; color: var(--stone); display: flex; align-items: center; justify-content: center; transition: all .14s; }
.cadm-del:hover { border-color: var(--tr-line); color: var(--tr-line); background: var(--tr-fill); }

.cadm-add { margin-top: 14px; }
.cadm-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 1040px) { .cadm-split { grid-template-columns: 1fr; } }
.cadm-prevhead { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin: 2px 0 12px; }
/* preview calendar must stack (month over list) — its viewport breakpoint can't see the narrow admin column */
.cadm-prev .cal { grid-template-columns: 1fr; gap: 16px; }
.cadm-prev .cal-side { position: static; }
.cadm-prev .cal-list { max-height: 320px; }
@media (max-width: 720px) {
  .cadm-rowhead { display: none; }
  .cadm-row { grid-template-columns: 1fr 1fr; gap: 9px; }
}

/* 오늘 표시 — 붉은 원은 날짜 칸의 높이를 밀어 띠의 연속성을 깨뜨리므로
   셀 자체를 강조합니다. 띠의 위치는 다른 날과 완전히 같습니다. */
.cal-day.today { background: rgba(28,28,30,0.05); box-shadow: inset 0 0 0 2px var(--red); z-index: 1; }
.cal-day.today .cal-dnum { background: none; color: var(--red); font-weight: 700; width: auto; height: auto; border-radius: 0; font-size: 12px; }
.cal-day.today .cal-dnum::after { content: "오늘"; font-family: var(--font-body); font-size: 9px; font-weight: 700; letter-spacing: 0; margin-left: 5px; background: var(--red); color: #fff; padding: 1px 5.5px; border-radius: 3px; vertical-align: 1px; }
.cal-day.today.sel { box-shadow: inset 0 0 0 2px var(--red), inset 0 0 0 4px rgba(28,28,30,0.22); }
/* 한 칸에 띠 5줄까지 */
.cal-day { min-height: 148px; }
@media (max-width: 540px) { .cal-day { min-height: 118px; } }
.cadm-new{background:#FBF6EC;border:1px solid rgba(176,48,32,0.22);border-radius:6px;padding:14px 16px 16px;margin-bottom:18px}
.cadm-newhead{display:flex;align-items:center;gap:9px;font-family:var(--font-body);font-weight:700;font-size:13.5px;color:var(--ink);margin-bottom:12px}
.cadm-newhead .n{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:4px;background:var(--red);color:#fff;font-size:14px;line-height:1}
.cadm-newhead .hint{font-family:var(--font-mono);font-size:9.5px;letter-spacing:.1em;color:var(--stone);font-weight:400}
.cadm-newgrid{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}
.cadm-nf{display:flex;flex-direction:column;gap:5px;min-width:0}
.cadm-nf>span{font-family:var(--font-mono);font-size:9px;letter-spacing:.11em;color:var(--stone)}
.cadm-nf.grow{flex:1 1 220px}
.cadm-nf.days{align-items:stretch;padding:0}
.cadm-nf.days b{display:flex;align-items:center;justify-content:center;height:38px;box-sizing:border-box;min-width:58px;padding:0 10px;border:1px solid rgba(28,28,30,0.10);border-radius:var(--radius);background:rgba(28,28,30,0.04);font-family:var(--font-display);font-size:18px;line-height:1;color:var(--ink);white-space:nowrap}
.cadm-addbtn{padding:9px 17px;font-size:13px;white-space:nowrap}
.cadm-pginfo{font-family:var(--font-mono);font-size:10.5px;letter-spacing:.06em;color:var(--stone)}
.cadm-pager{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:16px}
.cadm-pg{min-width:32px;height:32px;padding:0 9px;border:1px solid rgba(28,28,30,.16);background:#fff;border-radius:4px;font-family:var(--font-body);font-weight:600;font-size:13px;color:var(--ink);cursor:pointer}
.cadm-pg:hover:not(:disabled){border-color:var(--ink)}
.cadm-pg:disabled{opacity:.3;cursor:default}
.cadm-pg.on{background:var(--ink);border-color:var(--ink);color:#fff}

/* 2026.09.29 · 빗금 · 선택 명도 · 강조 체크 · 정보 상자 */
.cal-day.empty{background:repeating-linear-gradient(-45deg,rgba(28,28,30,.11) 0 1.5px,transparent 1.5px 8px),#F1F0ED}
.cal-day.has:hover{background:#E6E4DF}
.cal-day.sel{background:#DDDAD4;box-shadow:inset 0 0 0 2px var(--ink)}
.cal-sidehead .lbl{font-family:var(--font-body);font-size:15px;font-weight:700;letter-spacing:0;text-transform:none}
.cal-clear{font-family:var(--font-body);font-size:12px;font-weight:700;letter-spacing:0}
.cal-pickbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;box-sizing:border-box;padding:8px 18px;font-size:12px;font-weight:500;color:var(--stone-d);background:var(--off);border-bottom:1px solid rgba(28,28,30,.08);transition:background .2s}
.cal-pickbar.on{background:var(--ink);color:#fff}
.cal-pickbar button{border:1px solid rgba(255,255,255,.45);background:none;color:#fff;border-radius:4px;padding:4px 10px;font-family:var(--font-body);font-weight:700;font-size:11.5px;cursor:pointer;white-space:nowrap}
.cal-pickbar button:hover{background:rgba(255,255,255,.12)}
.cal-up{cursor:pointer;transition:opacity .3s ease,background .15s;outline:none}
.cal-up:hover,.cal-up:focus-visible{background:var(--off)}
.cal-up.on{background:#EFEDE8}
.cal-up.off{opacity:.45}
.cal-ck{flex:none;width:18px;height:18px;box-sizing:border-box;border:1.5px solid rgba(28,28,30,.38);border-radius:4px;display:flex;align-items:center;justify-content:center;background:#fff;transition:all .15s}
.cal-ck.on::after{content:"✓";color:#fff;font-size:12px;font-weight:700;line-height:1}
.cal-update .mo{font-family:var(--font-body);font-size:11px;font-weight:600;letter-spacing:0;color:var(--stone-d)}
.cal-upbody .nm{font-size:14.5px}
.cal-upbody .ca{font-family:var(--font-body);font-size:12px;font-weight:600;letter-spacing:0;color:var(--stone-d)}
.cal-upbody .ca .rg{font-size:12px;font-weight:500;letter-spacing:0}
.cal-upbody .ca .now{font-size:11px;letter-spacing:0}
.cal-bar{cursor:pointer;transition:opacity .35s ease,filter .35s ease}
.cal-bar.dim{opacity:.15;filter:grayscale(1)}
.cal-bar.hl{box-shadow:0 1px 2px rgba(0,0,0,.25)}
.cal-pop{position:fixed;z-index:500;width:280px;font-family:var(--font-body);background:#fff;border:1px solid rgba(28,28,30,.16);border-radius:8px;box-shadow:0 18px 44px rgba(0,0,0,.2);overflow:hidden;animation:calPop .14s ease}
.cal-pop.up{transform:translateY(-100%)}
@keyframes calPop{from{opacity:0}}
.cal-pop-bar{height:4px}
.cal-pop-in{padding:14px 16px}
.cal-pop-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cal-pop-top .cat{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--stone-d)}
.cal-pop-top .sw{width:8px;height:8px;border-radius:50%;flex:none}
.cal-pop-top .st{font-size:11px;font-weight:700;padding:2px 8px;border-radius:4px;background:var(--off);color:var(--ink);white-space:nowrap}
.cal-pop-top .st.now{background:var(--red);color:#fff}
.cal-pop-top .st.end{color:var(--stone-d)}
.cal-pop-nm{margin-top:8px;font-weight:700;font-size:16px;line-height:1.35;color:var(--ink);word-break:keep-all}
.cal-pop-rows{display:flex;flex-direction:column;gap:5px;margin-top:10px;padding-top:10px;border-top:1px solid rgba(28,28,30,.08)}
.cal-pop-rows>div{display:flex;gap:10px;font-size:12.5px;line-height:1.45}
.cal-pop-rows .k{flex:none;width:30px;font-weight:600;color:var(--stone-d)}
.cal-pop-rows .v{color:var(--ink)}
.cal-pop-pick{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:36px;margin-top:12px;border:1px solid rgba(28,28,30,.18);border-radius:6px;background:#fff;font-family:var(--font-body);font-weight:700;font-size:12.5px;color:var(--ink);cursor:pointer}
.cal-pop-pick:hover{border-color:var(--ink)}
.cal-pop-pick .cal-ck{width:16px;height:16px}

.cal-mcount{background:var(--red);color:#fff;border-color:var(--red);font-family:var(--font-body);font-weight:800;font-size:11px;letter-spacing:.06em;padding:4px 10px}
.cal-pop{border:1.5px solid var(--ink);border-radius:8px;box-shadow:0 14px 36px rgba(0,0,0,.18)}
.cal-pop-in{padding:16px 16px 14px}
.cal-pop-rows{border-top:3px solid var(--ink);margin-top:12px;padding-top:12px}
.cal-update{border-top:4px solid var(--ink);padding-top:6px;border-radius:1px}
.cal-clear{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1.5px solid var(--red);border-radius:6px;background:#fff;color:var(--red);font-size:12.5px;transition:background .15s,color .15s}
.cal-clear:hover,.cal-clear:focus-visible{background:var(--red);color:#fff;outline:none}

/* 2026.10.04 · 날짜/기록선 구분선 · 높이 고정 · 지난 날 표기 */
.cal-day{gap:0}
.cal-dnum,.cal-day.today .cal-dnum{display:flex;align-items:center;gap:5px;height:22px;line-height:1;flex:none;box-sizing:border-box;padding-bottom:4px;margin:0 -7px 5px;padding-left:7px;padding-right:7px;border-bottom:1px solid rgba(28,28,30,.1);overflow:visible;white-space:nowrap}
.cal-day.today .cal-dnum{border-bottom-color:rgba(176,48,32,.35)}
.cal-day.today .cal-dnum::after{display:inline-flex;align-items:center;height:14px;line-height:1;padding:0 5px;margin-left:0;vertical-align:0;flex:none}
.cal-bars{flex:none}
.cal-more{margin-top:3px;line-height:12px}
.cal-day.past:not(.today):not(.sel){background:#F7F6F3}
.cal-day.past.has:not(.sel):hover{background:#E6E4DF}
.cal-day.past .cal-dnum{color:rgba(28,28,30,.38);border-bottom-style:dashed}
.cal-day.past .cal-dnum.sun{color:rgba(176,48,32,.42)}
.cal-day.past .cal-dnum::before{content:"";width:6px;height:6px;border-radius:50%;border:1.5px solid rgba(28,28,30,.28);box-sizing:border-box;flex:none;order:2;margin-left:auto}
.cal-day.past .cal-bar:not(.hole):not(.hl){filter:saturate(.55) brightness(1.08)}

/* 2026.10.04 · 우측 목록 머리·행 높이 통일 */
.cal-sidehead{box-sizing:border-box;height:64px;padding-top:0;padding-bottom:0}
.cal-sidehead .lbl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.cal-clear{flex:none}
.cal-upbody .ca{row-gap:5px}
.cal-upbody .ca .rg{flex-basis:100%}

/* 2026.10.04 · 안내바(흰/검) 높이 통일 */
.cal-pickbar{height:44px;min-height:0;padding-top:0;padding-bottom:0;line-height:1.2;white-space:nowrap}
.cal-pickbar>span{overflow:hidden;text-overflow:ellipsis;min-width:0}
.cal-pickbar button{height:28px;padding:0 10px;box-sizing:border-box;display:inline-flex;align-items:center;flex:none}

/* 2026.10.04 · 지난 날 기록선 명도 — 강조 흐림(.15)과 구분되는 .5 */
.cal-day.past .cal-bar:not(.hole):not(.hl){filter:saturate(.6);opacity:.5}
.cal-day.past .cal-bar.dim{opacity:.12;filter:grayscale(1)}
.cal-day.past .cal-bar.hl{opacity:1;filter:none}

/* 2026.10.17 · 일정 자동 수집 · 승인 대기 */
.cq-card{padding:20px 22px;margin-bottom:18px}
.cq-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.cq-title{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.cq-title b{font-family:var(--font-body);font-size:15px;color:var(--ink)}
.cq-title .en{font-family:var(--font-mono);font-size:10px;letter-spacing:.12em;color:var(--stone)}
.cq-demo{font-family:var(--font-body);font-size:11px;padding:2px 8px;border-radius:999px;background:var(--off);border:1px solid rgba(28,28,30,.14);color:var(--stone)}
.cq-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cq-btn{height:34px;padding:0 13px;border:1px solid rgba(28,28,30,.18);background:#fff;border-radius:8px;font-family:var(--font-body);font-weight:600;font-size:12.5px;color:var(--ink);cursor:pointer;white-space:nowrap}
.cq-btn:hover:not(:disabled){border-color:var(--ink)}
.cq-btn:disabled{opacity:.35;cursor:default}
.cq-btn.act,.cq-btn.dark{background:var(--ink);border-color:var(--ink);color:#fff}
.cq-btn.ok{background:var(--tg-line);border-color:var(--tg-line);color:#fff}
.cq-btn.ok:hover:not(:disabled){background:var(--tg-head);border-color:var(--tg-head)}
.cq-btn.no{color:var(--red);border-color:rgba(176,48,32,.35)}
.cq-btn.no:hover:not(:disabled){border-color:var(--red);background:rgba(176,48,32,.05)}
.cq-kill{display:flex;align-items:center;gap:9px;height:34px;padding:0 13px 0 9px;border:1px solid rgba(176,48,32,.4);background:rgba(176,48,32,.06);border-radius:8px;font-family:var(--font-body);font-weight:700;font-size:12.5px;color:var(--red);cursor:pointer}
.cq-kill.on{border-color:rgba(45,122,58,.35);background:rgba(45,122,58,.06);color:var(--tg-head)}
.cq-kill .cadm-sw{position:relative;width:34px;height:20px;border-radius:999px;background:rgba(28,28,30,.22);flex:none;transition:background var(--t-fast,.15s)}
.cq-kill .cadm-sw::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform var(--t-fast,.15s)}
.cq-kill.on .cadm-sw{background:var(--tg-line)}
.cq-kill.on .cadm-sw::after{transform:translateX(14px)}
.cq-meta{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0 10px;font-family:var(--font-body);font-size:12.5px;color:var(--stone)}
.cq-meta b{color:var(--ink)}
.cq-note{font-family:var(--font-body);font-size:13px;line-height:1.65;color:var(--stone);background:var(--off);border-radius:8px;padding:10px 14px;margin-bottom:14px}
.cq-note b{color:var(--ink)}
.cq-err{font-family:var(--font-body);font-size:12.5px;color:var(--red);margin-bottom:10px}
.cq-src{border:1px solid rgba(28,28,30,.12);border-radius:var(--radius);padding:14px 16px;margin-bottom:14px;background:#fff}
.cq-srchead{font-family:var(--font-body);font-size:12px;font-weight:700;color:var(--ink);margin-bottom:10px}
.cq-srcrow{display:grid;grid-template-columns:44px minmax(90px,180px) minmax(0,1fr) 70px 34px;gap:10px;align-items:center;padding:7px 0;border-bottom:1px solid rgba(28,28,30,.07)}
.cq-srcrow .nm{font-family:var(--font-body);font-size:13px;font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cq-srcrow .url{font-family:var(--font-body);font-size:12px;color:var(--stone);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cq-srcrow .stt{font-family:var(--font-body);font-size:11.5px;color:var(--stone);text-align:right}
.cq-srcadd{display:grid;grid-template-columns:minmax(120px,200px) minmax(0,1fr) 150px auto;gap:8px;margin-top:12px}
.cq-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.cq-tabs{display:flex;gap:6px}
.cq-tabs button{height:32px;padding:0 13px;border-radius:999px;border:1px solid rgba(28,28,30,.16);background:#fff;font-family:var(--font-body);font-size:12.5px;font-weight:600;color:var(--stone);cursor:pointer}
.cq-tabs button b{margin-left:4px;color:var(--ink)}
.cq-tabs button.on{background:var(--ink);border-color:var(--ink);color:#fff}
.cq-tabs button.on b{color:#fff}
.cq-bulk{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cq-bulk .cnt{font-family:var(--font-body);font-size:12.5px;font-weight:700;color:var(--ink)}
.cq-row{display:grid;grid-template-columns:20px 132px 132px 48px minmax(150px,1fr) 124px minmax(90px,140px) 120px;gap:9px;align-items:center;padding:10px 16px;border-bottom:1px solid rgba(28,28,30,.07)}
.cq-row:last-child{border-bottom:0}
.cq-row.head{background:var(--off);border-bottom:1px solid rgba(28,28,30,.1);font-family:var(--font-mono);font-size:10px;letter-spacing:.1em;color:var(--stone);padding-top:9px;padding-bottom:9px}
.cq-row.sel{background:rgba(45,122,58,.05)}
.cq-chk{width:18px;height:18px;border:1.5px solid rgba(28,28,30,.35);border-radius:4px;cursor:pointer;background:#fff;position:relative}
.cq-chk.on{background:var(--ink);border-color:var(--ink)}
.cq-chk.on::after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.cq-from{font-family:var(--font-body);font-size:12px;color:var(--stone);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}
.cq-from{display:flex;gap:10px;min-width:0}.cq-from a{color:inherit;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.cq-from a:last-child:not(:first-child){flex:none}.cq-from a:hover{color:var(--ink)}
.cq-do{display:flex;gap:6px;justify-content:flex-end}
.cq-do .cq-btn{height:32px;padding:0 11px}
.cadm-in.warn{border-color:var(--red)}
.cq-empty{padding:26px;text-align:center;color:var(--stone);font-family:var(--font-body);font-size:13px}
.cq-empty.sm{padding:10px 0;text-align:left}
@media (max-width:1100px){.cq-row{grid-template-columns:20px 1fr 1fr 48px}.cq-row.head{display:none}.cq-row>input[type=text],.cq-row>select,.cq-from,.cq-do{grid-column:2 / -1}.cq-do{justify-content:flex-start}.cq-srcadd{grid-template-columns:1fr 1fr}.cq-srcrow{grid-template-columns:44px 1fr 34px}.cq-srcrow .url,.cq-srcrow .stt{display:none}}

/* 2026.10.17 · 일정 화면 재정돈 */
.cadm-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:rgba(28,28,30,.1);border:1px solid rgba(28,28,30,.1);border-radius:var(--radius);overflow:hidden;margin-bottom:18px}
.cadm-guide .g{display:flex;gap:12px;align-items:flex-start;background:#fff;padding:14px 18px}
.cadm-guide .k{flex:none;font-family:var(--font-body);font-size:11px;font-weight:700;color:var(--red);background:rgba(176,48,32,.07);border-radius:999px;padding:3px 9px;margin-top:1px;white-space:nowrap}
.cadm-guide .tx{font-family:var(--font-body);font-size:12.5px;line-height:1.65;color:var(--stone);text-wrap:pretty}
.cadm-guide .tx b{color:var(--ink)}
@media (max-width:900px){.cadm-guide{grid-template-columns:1fr}}
.cadm-tabs{display:flex;gap:4px;border-bottom:1px solid rgba(28,28,30,.12);margin-bottom:18px}
.cadm-tabs button{display:flex;align-items:center;gap:8px;height:42px;padding:0 16px;border:0;background:none;border-bottom:2px solid transparent;margin-bottom:-1px;font-family:var(--font-body);font-size:14px;font-weight:700;color:var(--stone);cursor:pointer}
.cadm-tabs button:hover{color:var(--ink)}
.cadm-tabs button.on{color:var(--ink);border-bottom-color:var(--red)}
.cadm-tabs button b{min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:rgba(28,28,30,.08);color:var(--ink);font-size:11.5px;display:inline-flex;align-items:center;justify-content:center}
.cadm-tabs button b.hot{background:var(--red);color:#fff}
.cadm-split{grid-template-columns:minmax(0,1fr) minmax(360px,32%)!important;gap:20px!important}
@media (max-width:1240px){.cadm-split{grid-template-columns:1fr!important}}
.cadm-main{padding:20px}
.cadm-prevwrap{position:sticky;top:88px}
.cadm-prevcard{padding:0;overflow:hidden}
.cadm-prevtop{display:flex;align-items:baseline;gap:10px;padding:14px 18px;border-bottom:1px solid rgba(28,28,30,.08);background:var(--off)}
.cadm-prevtop .t{font-family:var(--font-body);font-size:13.5px;font-weight:700;color:var(--ink)}
.cadm-prevtop .en{font-family:var(--font-mono);font-size:10px;letter-spacing:.12em;color:var(--stone)}
.cadm-prevtop a{margin-left:auto;font-family:var(--font-body);font-size:12px;color:var(--stone);text-decoration:none}
.cadm-prevtop a:hover{color:var(--ink)}
.cadm-prevcard .cadm-prev{padding:14px}
.cadm-prevcard .cadm-prev>*{border:0!important;box-shadow:none!important}
.cq-card{margin-bottom:0}

/* 긴급 정지 · 삭제 확인 창 */
.cq-btn.no.solid{background:var(--red);border-color:var(--red);color:#fff}
.cq-btn.no.solid:hover:not(:disabled){background:#8f2618;border-color:#8f2618}
.cq-sep{width:1px;height:20px;background:rgba(28,28,30,.14);margin:0 2px}
.cq-modal{position:fixed;inset:0;z-index:9800;background:rgba(28,28,30,.45);display:flex;align-items:center;justify-content:center;padding:24px}
.cq-mbox{width:100%;max-width:440px;background:#fff;border-radius:10px;padding:22px 22px 18px;box-shadow:0 24px 60px rgba(0,0,0,.25)}
.cq-mbox .t{font-family:var(--font-body);font-weight:700;font-size:16px;color:var(--ink);line-height:1.4}
.cq-mbox .d{font-family:var(--font-body);font-size:13.5px;line-height:1.65;color:#4A4A48;margin-top:8px;text-wrap:pretty}
.cq-mbox .b{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
.cq-mbox .b .cq-btn{height:38px;padding:0 16px;font-size:13.5px}

/* 2026.10.19 · 자동 수집 목록 공통 (10개씩 · 검색 · 필터 · 정렬) */
.cq-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.cq-tools .cq-q{flex:1 1 200px;min-width:160px;max-width:300px;height:32px}
.cq-tools .cq-sort{height:32px;width:auto;min-width:130px}
.cq-bar .cq-tools{margin-bottom:0;flex:1 1 auto}
.cq-pager{flex-wrap:wrap}
.cq-pager .cadm-pginfo{margin-left:8px}
.cq-gap{min-width:20px;text-align:center;color:var(--stone);font-size:13px}
.cq-srcrow .stt.err{color:var(--red);font-weight:700}
.cq-off{margin-top:16px;padding-top:14px;border-top:1px solid rgba(28,28,30,.1)}
.cq-offline{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.cq-offline b{font-family:var(--font-body);font-size:12px;font-weight:700;color:var(--ink)}
.cq-offline span{font-family:var(--font-body);font-size:12px;color:var(--stone);flex:1 1 auto}
.cq-offline em{font-style:normal}.cq-offline em.err{color:var(--red);font-weight:700}
.cq-offnote{font-family:var(--font-body);font-size:11.5px;line-height:1.6;color:var(--stone);margin-top:10px}

/* 2026.10.21 · 다가오는 일정 — 날짜는 같은 크기 상자, 커서를 올리면 줄 전체 색 반전 */
.cal-update{border:1.5px solid var(--ink);border-radius:2px;padding:0;width:56px;height:56px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:#fff;transition:background .15s,border-color .15s}
.cal-update .d{line-height:1}
.cal-update .mo{line-height:1;white-space:nowrap}
.cal-up{transition:opacity .3s ease,background .15s,color .15s}
.cal-up:hover,.cal-up:focus-visible{background:var(--ink);color:#fff}
.cal-up:hover .cal-upbody .ca,.cal-up:focus-visible .cal-upbody .ca,.cal-up:hover .cal-upbody .ca .rg,.cal-up:focus-visible .cal-upbody .ca .rg{color:rgba(255,255,255,.82)}
.cal-up:hover .cal-update,.cal-up:focus-visible .cal-update{background:#fff;border-color:#fff;color:var(--ink)}
.cal-up:hover .cal-update .mo,.cal-up:focus-visible .cal-update .mo{color:var(--stone-d)}
.cal-up:hover .cal-upbody .ca .sw,.cal-up:focus-visible .cal-upbody .ca .sw{box-shadow:0 0 0 1.5px #fff}
.cal-up:hover .cal-ck:not(.on),.cal-up:focus-visible .cal-ck:not(.on){border-color:#fff;background:transparent}
.cal-up:hover .cal-ck.on,.cal-up:focus-visible .cal-ck.on{box-shadow:0 0 0 1.5px #fff}
.cal-up.off:hover{opacity:1}
/* 2026.10.21 · 다가오는 일정 줄 — 체크 · 세로 날짜 상자 · (분류+D-day / 이름 / 기간+일수) */
.cal-up{flex-direction:row;align-items:stretch;gap:12px;padding:14px 18px}
.cal-up .cal-ck{align-self:center;border-radius:4px}
.cal-update{border:0;border-radius:4px;width:54px;min-height:74px;height:auto;padding:8px 0;background:var(--ink);color:#fff;gap:5px;flex:none;align-self:stretch}
.cal-update .d{font-size:27px}
.cal-update .mo{font-size:10.5px;color:rgba(255,255,255,.72)}
.cal-upbody{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:6px}
.cal-upbody .r1,.cal-upbody .r3{display:flex;align-items:center;justify-content:space-between;gap:8px;line-height:1}
.cal-upbody .cat{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:20px;padding:0 7px;border-radius:3px;color:#fff;font-size:11.5px;font-weight:700;white-space:nowrap}
.cal-upbody .dd{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:3px;background:#F1EFEB;color:var(--ink);font-family:var(--font-display);font-size:14.5px;font-weight:700;letter-spacing:.02em;white-space:nowrap}
.cal-upbody .dd.run{background:#FFF2EF;color:#902012;font-family:var(--font-body);font-size:11.5px;letter-spacing:0}
.cal-upbody .nm{font-weight:700;font-size:15px;line-height:1.3;word-break:keep-all;overflow-wrap:anywhere}
.cal-upbody .r3{padding-top:6px;border-top:1px solid #E2E0DC}
.cal-upbody .sp{font-size:12.5px;font-weight:500;color:#3A3A3C;font-variant-numeric:tabular-nums;white-space:nowrap}
.cal-upbody .dy{font-size:12px;font-weight:700;color:var(--ink);white-space:nowrap}
.cal-up:hover .cal-update,.cal-up:focus-visible .cal-update{background:#fff;color:var(--ink)}
.cal-up:hover .cal-update .mo,.cal-up:focus-visible .cal-update .mo{color:#3A3A3C}
.cal-up:hover .cal-upbody .cat,.cal-up:focus-visible .cal-upbody .cat{box-shadow:0 0 0 1.5px #fff}
.cal-up:hover .cal-upbody .dd,.cal-up:focus-visible .cal-upbody .dd{background:#fff;color:var(--ink)}
.cal-up:hover .cal-upbody .dd.run,.cal-up:focus-visible .cal-upbody .dd.run{background:#FFDBD5;color:#670B03}
.cal-up:hover .cal-upbody .r3,.cal-up:focus-visible .cal-upbody .r3{border-top-color:rgba(255,255,255,.18)}
.cal-up:hover .cal-upbody .sp,.cal-up:hover .cal-upbody .dy,.cal-up:focus-visible .cal-upbody .sp,.cal-up:focus-visible .cal-upbody .dy{color:#fff}
.cal-upbody .dy{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:3px;background:#F1EFEB;font-size:11.5px}
.cal-up:hover .cal-upbody .dy,.cal-up:focus-visible .cal-upbody .dy{background:rgba(255,255,255,.16);color:#fff}

/* 2026.10.21 · 달력 머리 — 전광판과 같은 칸(타일) 톤 */
.cal-head{padding:16px 20px}
.cal-mtitle{align-items:center;gap:6px;flex-wrap:wrap}
.cal-tile{position:relative;display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 9px;border-radius:4px;background:var(--ink);color:#fff;font-family:var(--font-display);font-weight:700;line-height:1;letter-spacing:.02em;font-variant-numeric:tabular-nums;overflow:hidden}
.cal-tile::after{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(255,255,255,.14)}
.cal-tile.y{font-size:19px;background:#3A3A3C}
.cal-tile.m{font-size:27px;min-width:44px;box-sizing:border-box}
.cal-munit{font-family:var(--font-body);font-weight:900;font-size:22px;color:var(--ink);margin:0 10px 0 2px}
.cal-mcount{display:inline-flex;align-items:center;gap:8px;height:28px;padding:0 4px 0 10px;border-radius:4px;background:#F1EFEB;border:0;margin:0;color:#3A3A3C;font-family:var(--font-body);font-size:12px;font-weight:700;letter-spacing:0}
.cal-mcount b{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;padding:0 6px;box-sizing:border-box;border-radius:3px;background:#fff;color:var(--ink);font-family:var(--font-display);font-size:15px;font-weight:700}
.cal-nav{gap:6px}
.cal-navbtn,.cal-today{height:36px;border-radius:4px;border:1px solid #E2E0DC;background:#fff;color:var(--ink);transition:background .15s,color .15s,border-color .15s}
.cal-navbtn{width:36px}
.cal-today{padding:0 14px;font-size:13px}
.cal-navbtn:hover,.cal-today:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.cal-catchip{border-radius:4px}
.cal-catchip .sw{border-radius:2px}
@media (max-width:540px){.cal-tile{height:34px}.cal-tile.y{font-size:16px}.cal-tile.m{font-size:23px;min-width:38px}.cal-munit{font-size:19px}}
.cal-mtitle .cal-tile.y,.cal-mtitle .cal-tile.m{color:#fff;font-family:var(--font-display);font-weight:700;letter-spacing:.02em;line-height:1}
.cal-mtitle .cal-tile.y{font-size:19px}.cal-mtitle .cal-tile.m{font-size:27px}
@media (max-width:540px){.cal-mtitle .cal-tile.y{font-size:16px}.cal-mtitle .cal-tile.m{font-size:23px}}

/* 2026.10.21 · 종료 표시 — 띠 끝 점 하나 (흰 점: 종료일 · 빨간 점: 오늘 종료) */
.cal-bar{position:relative}
.cal-bar .fin-dot,.cal-legend .fin-dot{position:absolute;right:4px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:#fff}
.cal-bar.fin0 .fin-dot,.cal-legend .lg.fin0 .fin-dot{width:8px;height:8px;margin-top:-4px;right:3px;background:#B03020;box-shadow:0 0 0 1.5px #fff}
.cal-bar.fin .t{padding-right:12px}
.cal-legend{display:flex;flex-wrap:wrap;gap:18px;padding:10px 16px;border-top:1px solid rgba(28,28,30,.08);background:#F5F4F2;font-size:12px;font-weight:600;color:#3A3A3C}
.cal-legend span{display:inline-flex;align-items:center;gap:7px}
.cal-legend .lg{position:relative;display:inline-block;width:28px;height:12px;border-radius:2px;background:#3A3A3C}
.cal-upbody .dd.run{background:#E8F5EA;color:#1E5C28;font-family:var(--font-body);font-size:11.5px}
.cal-upbody .dd.end0{background:#B03020;color:#fff;font-family:var(--font-body);font-size:11.5px}
.cal-upbody .sp b{font-weight:500}
.cal-upbody .sp .lft{color:#5E5E57}
.cal-up:hover .cal-upbody .dd.run,.cal-up:focus-visible .cal-upbody .dd.run{background:#CDEFCF;color:#074115}
.cal-up:hover .cal-upbody .dd.end0,.cal-up:focus-visible .cal-upbody .dd.end0{background:#B03020;color:#fff;box-shadow:0 0 0 1.5px #fff}
.cal-up:hover .cal-upbody .sp .lft,.cal-up:focus-visible .cal-upbody .sp .lft{color:rgba(255,255,255,.75)}

/* 2026.10.21 · 일정 팝업 — 달력·다가오는 일정과 같은 톤 (모서리 4/3 · 분류 색 상자 · 상태 상자 · 기간 블록) */
.cal-pop{width:300px;border:1px solid var(--ink);border-radius:4px;box-shadow:0 12px 32px rgba(0,0,0,.16)}
.cal-pop-in{padding:14px 14px 14px}
.cal-pop-top{gap:8px}
.cal-pop-top .pcat{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:3px;color:#fff;font-size:11.5px;font-weight:700;line-height:1;white-space:nowrap}
.cal-pop-top .pst{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:3px;background:#F1EFEB;color:var(--ink);font-family:var(--font-display);font-size:14.5px;font-weight:700;letter-spacing:.02em;line-height:1;white-space:nowrap}
.cal-pop-top .pst.run{background:#E8F5EA;color:#1E5C28;font-family:var(--font-body);font-size:11.5px;letter-spacing:0}
.cal-pop-top .pst.end0{background:#B03020;color:#fff;font-family:var(--font-body);font-size:11.5px;letter-spacing:0}
.cal-pop-top .pst.fin{color:#5E5E57;font-family:var(--font-body);font-size:11.5px;letter-spacing:0}
.cal-pop-nm{margin-top:10px;font-size:16px;line-height:1.35}
.cal-pop-when{display:flex;align-items:center;gap:10px;margin-top:12px;padding:10px 12px;border-radius:4px;background:#F1EFEB}
.pw-dates{flex:1;min-width:0;display:flex;align-items:center;gap:8px}
.pw-d{display:flex;flex-direction:column;gap:4px;min-width:0}
.pw-d .k{font-size:10.5px;font-weight:700;letter-spacing:.04em;color:#5E5E57;line-height:1}
.pw-d .v{display:flex;align-items:baseline;gap:4px;line-height:1;white-space:nowrap}
.pw-d .v b{font-family:var(--font-display);font-size:17px;font-weight:700;letter-spacing:.01em;color:var(--ink);font-variant-numeric:tabular-nums}
.pw-d .v .wd{font-size:11px;font-weight:700;color:#5E5E57}
.pw-ar{align-self:flex-end;font-size:13px;font-weight:700;color:#8A8A82;line-height:17px}
.pw-days{flex:none;align-self:center;display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:3px;background:var(--ink);color:#fff;font-size:11.5px;font-weight:700;white-space:nowrap}
.cal-pop-pick{height:36px;margin-top:10px;border-radius:4px;border:1px solid #E2E0DC;transition:background .15s,color .15s,border-color .15s}
.cal-pop-pick:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.cal-pop-pick .cal-ck{border-radius:3px}
.cal-pop-pick.on{border-color:var(--ink)}
.cal-pop{width:320px;border-radius:4px !important}
.cal-pop-when{flex-direction:column;align-items:stretch;gap:8px}
.pw-days{align-self:flex-start}
.pw-dates{justify-content:space-between}
.pw-d .v b{font-size:16px}

/* 2026.10.21 · 일정 팝업 확정안 T2 — 흰 카드 · 시작|종료 두 칸 · 남은 날 상자 (상태 칩 없음) */
.cal-pop{width:340px;border:0!important;border-radius:12px!important;box-shadow:0 1px 2px rgba(0,0,0,.05),0 12px 32px rgba(0,0,0,.14)}
.cal-pop-in{padding:16px;display:flex;flex-direction:column;gap:12px}
.cal-pop-top .pcat{border-radius:6px}
.cal-pop-nm{margin:0!important;font-size:16.5px;font-weight:700;line-height:1.4}
.cal-pop-t2{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:8px}
.cal-pop-t2 .pd{display:flex;background:#F5F4F2;border-radius:8px;overflow:hidden;min-width:0}
.cal-pop-t2 .dc{flex:1;display:flex;flex-direction:column;gap:5px;padding:11px 10px 11px 13px;min-width:0}
.cal-pop-t2 .dc+.dc{box-shadow:inset 1px 0 0 rgba(60,60,67,.1)}
.cal-pop-t2 .dc .k{font-size:11.5px;font-weight:600;color:#6E6E73}
.cal-pop-t2 .dc b{font-family:var(--font-display);font-weight:700;font-size:25px;line-height:1;font-variant-numeric:tabular-nums;color:var(--ink)}
.cal-pop-t2 .dc small{font-size:11.5px;font-weight:600;color:#6E6E73;white-space:nowrap}
.cal-pop-t2 .pc{border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 4px;text-align:center;background:var(--pb);color:var(--pt)}
.cal-pop-t2 .pc .pn{font-family:var(--font-display);font-weight:700;font-size:34px;line-height:1}
.cal-pop-t2 .pc .pn.sm{font-size:22px}
.cal-pop-t2 .pc span{font-size:11.5px;font-weight:700;white-space:nowrap}
.cal-pop-t2.s-run{--pb:#E6F1E7;--pt:#1E5C28}
.cal-pop-t2.s-soon{--pb:#EEEDEA;--pt:var(--ink)}
.cal-pop-t2.s-end{--pb:#F1EFEB;--pt:#6E6E73}
.cal-pop-t2.s-end0{--pb:#F6E2DE;--pt:#8A2418}
.cal-pop-len{margin-top:-4px;padding:0 2px;font-size:12px;font-weight:700;color:#6E6E73}
.cal-pop-len b{color:var(--ink)}
.cal-pop-pick{margin-top:0!important;height:40px;border:0!important;border-radius:8px!important;background:#F1EFEB}
.cal-pop-pick:hover{background:var(--ink)!important;color:#fff}
.cal-pop-pick.on{background:var(--ink);color:#fff}
.cal-pop.cal-pop{border-radius:12px!important}
.cal-pop .cal-pop-t2 .pc .pn{font-family:var(--font-display);font-weight:700;font-size:34px;line-height:1;letter-spacing:0}
.cal-pop .cal-pop-t2 .pc .pn.sm{font-size:24px}
.cal-pop .cal-pop-t2 .pc .pn.kr{font-family:var(--font-body);font-weight:800;font-size:22px}
.cal-pop .cal-pop-t2 .pc span{font-size:12px;font-weight:700}
.cal-pop .cal-pop-t2 .pc{gap:6px}
.cal-pop .cal-pop-t2 .pc .pn{font-size:38px}
.cal-pop .cal-pop-t2 .pc .pn.sm,.cal-pop .cal-pop-t2 .pc .pn.dday{font-size:27px;letter-spacing:.01em}
.cal-pop .cal-pop-t2 .pc span{font-size:12.5px;font-weight:800}

/* 2026.10.22 · 달력 띠 F4 확정 — 시작 블록(●) · 중간 얇은 선 · 종료 칩(○ + 남은 기간). 진행 중 = 분류 옅은 색 · 종료 = 회색. 꾸밈선 없음 */
.cal-bar.k{position:relative;background:none!important;margin:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;gap:6px;color:#77776F;--f:color-mix(in srgb,var(--cc) 8%,#fff);--l:color-mix(in srgb,var(--cc) 22%,#fff);--kc:color-mix(in srgb,var(--cc) 45%,#fff)}
.cal-bar.k.on{color:var(--ink);--f:color-mix(in srgb,var(--cc) 18%,#fff);--l:color-mix(in srgb,var(--cc) 48%,#fff);--kc:var(--cc)}
.cal-bar.k::before{content:"";position:absolute;top:0;bottom:0;left:5px;right:0;background:var(--f);border-radius:4px;display:none}
.cal-bar.k-S::before{display:block}
.cal-bar.k-SE::before,.cal-bar.k-W::before{display:block;right:5px}
.cal-bar.k .t{position:relative;flex:0 1 auto;min-width:0;padding:0!important}
.cal-bar.k-C .t,.cal-bar.k-W .t{margin-left:23px}
.cal-bar.k-C .t{color:#8A8A82;font-weight:500}.cal-bar.k-C.on .t{color:#5E5E57}
.cal-bar.k .sd{position:relative;flex:none;width:6px;height:6px;border-radius:50%;background:var(--kc);margin-left:11px}
.cal-bar.k .ln{flex:1 1 0;min-width:6px;height:3px;background:var(--l);transition:height .15s}
.cal-bar.k-E .ln{min-width:0}
.cal-bar.k .ch{position:relative;flex:none;margin-left:auto;margin-right:5px;height:100%;display:flex;align-items:center;gap:4px;padding:0 6px;border-radius:4px;background:var(--f);font-size:9.5px;font-weight:600;color:#8A8A82;white-space:nowrap;font-variant-numeric:tabular-nums}
.cal-bar.k-W .ch,.cal-bar.k-SE .ch{background:none;padding:0 6px 0 0;margin-right:5px}
.cal-bar.k-SE .t{flex:1 1 auto}
.cal-bar.k.on .ch{color:#5E5E57}
.cal-bar.k.soon .ch{color:var(--ink);font-weight:800}
.cal-bar.k .rg{flex:none;width:7px;height:7px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1.5px var(--kc);box-sizing:border-box}
.cal-bar.k.t0 .ch{color:#B03020;font-weight:800}
.cal-bar.k.t0:not(.k-W):not(.k-SE) .ch{background:#F6E4E1}
.cal-bar.k.t0 .rg{background:#B03020;box-shadow:0 0 0 1.5px #fff}
.cal-bar.k.on{--l:color-mix(in srgb,var(--cc) 88%,#fff)}
.cal-bar.k.hv .ln{height:4px;position:relative;overflow:visible;background:var(--kc,#8A8A82)}
.cal-bar.k.hv .ln::after{content:"";position:absolute;left:50%;top:50%;width:9px;height:9px;border-radius:50%;background:var(--kc,#8A8A82);box-shadow:0 0 0 2px #fff;transform:translate(-50%,-50%)}
.cal-bar.k.hv .sd{width:8px;height:8px;margin-left:10px;box-shadow:0 0 0 2px #fff}
.cal-day.hvd{background:color-mix(in srgb,var(--hc) 9%,#fff)!important}
.cal-day.hvd .cal-dnum{font-weight:800;color:color-mix(in srgb,var(--hc) 80%,#000)}
.cal-bar.k.hl::before,.cal-bar.k.hl .ln,.cal-bar.k.hl .ch{filter:saturate(1.6) brightness(.94)}
.cal-day.past .cal-bar.k:not(.dim){opacity:1;filter:none}
.cal-day.past .cal-bar.k.dim{opacity:.15}
.cal-legend .lg2{display:inline-block;flex:none;width:7px;height:7px;border-radius:50%;box-sizing:border-box}
.cal-legend .lg2.sd{background:#3A3A3C}
.cal-legend .lg2.rg{background:#fff;box-shadow:inset 0 0 0 1.5px #3A3A3C}
.cal-legend .lg2.rg.t0{background:#B03020;box-shadow:none}
.cal-legend .lg2-note{font-weight:500;color:#8A8A82}
@media (max-width:540px){.cal-bar.k .cx{display:none}.cal-bar.k .ch{padding:0 4px}.cal-bar.k-C .t,.cal-bar.k-W .t{margin-left:8px}.cal-bar.k .sd{margin-left:9px;width:5px;height:5px}}

/* 2026.10.22 · 노트북 화면 정돈 — 왼쪽 메뉴(248px)를 뺀 실제 작업 칸 폭에 맞춰 줄바꿈 */
.cq-srcrow{grid-template-columns:44px minmax(90px,200px) minmax(0,1fr) auto 34px}
.cq-srcrow .stt{white-space:nowrap}
.cal-today,.cal-navbtn{white-space:nowrap}
@media (max-width:1600px){
  .cadm-split{grid-template-columns:1fr!important}
  .cadm-prevwrap{position:static}
}
@media (max-width:1380px){
  .cq-row{grid-template-columns:20px 1fr 1fr 48px!important}
  .cq-row.head{display:none!important}
  .cq-row>input[type=text],.cq-row>select,.cq-from,.cq-do{grid-column:2 / -1}
  .cq-do{justify-content:flex-start}
  .cq-srcadd{grid-template-columns:1fr 1fr}
  .cq-srcrow{grid-template-columns:44px minmax(0,1fr) auto 34px}
  .cq-srcrow .url{display:none}
}
@media (max-width:700px){
  .cq-srcrow{grid-template-columns:44px minmax(0,1fr) 34px}
  .cq-srcrow .stt{display:none}
}

/* 2026.10.24 · 지난 날 vs 남은 날 대비 강화 · 다른 달 빗금 진하게 */
.cal-day.empty{background:repeating-linear-gradient(-45deg,rgba(28,28,30,.2) 0 1.5px,transparent 1.5px 7px),#E4E2DC}
.cal-day.past:not(.today):not(.sel){background:#ECEAE5}
.cal-day.past.has:not(.sel):hover{background:#E0DDD7}
.cal-day.past .cal-dnum{color:rgba(28,28,30,.3)}
.cal-day.past .cal-dnum.sun{color:rgba(176,48,32,.35)}
.cal-day.past .cal-bar.k:not(.dim):not(.hv):not(.hl){opacity:.6}
.cal-day:not(.past):not(.empty) .cal-dnum{font-weight:700}
.cal-day.empty{background:repeating-linear-gradient(-45deg,rgba(28,28,30,.22) 0 1.5px,transparent 1.5px 7px),#D2CFC8}
.cal-day.past:not(.today):not(.sel){background:#DFDCD6}
.cal-day.past.has:not(.sel):hover{background:#D5D2CB}
.cal-day.past .cal-dnum{color:rgba(28,28,30,.42)}
.cal-day.past:not(.today):not(.sel){background:#E8E6E1}
.cal-day.past.has:not(.sel):hover{background:#DEDBD5}
