/* 이삿날 — 도구 색 네 개 + 이 도구에만 있는 모양. 뼈대는 공용 myosu.css */
:root { --c: #0e7490; --c-deep: #0b5566; --c-soft: #e0f1f5; --bg: #f3f8f9; --red: #c2272d; --sat: #2756b5; }

.hero { display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; text-align: left; padding: 0; }
.hero h1 { margin: 0; font-size: 25px; line-height: 1.3; letter-spacing: -.04em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--c-deep); }
.hero svg { flex: none; }
.lede { margin: 8px 0 12px; color: var(--ink-2); font-size: 15px; }
.from { margin: 0 0 4px; color: var(--c-deep); font-weight: 700; font-size: 15px; }
a.primary, a.secondary { display: flex; align-items: center; justify-content: center; text-decoration: none; }

/* 내 이삿날 */
.mine { margin: 12px 0 4px; background: var(--surface); border-radius: 20px; padding: 16px 18px; box-shadow: inset 0 0 0 2px var(--c), 0 6px 18px rgba(14, 116, 144, .12); }
.mine small { display: block; font-size: 13px; font-weight: 700; color: var(--c-deep); }
.mine > b { display: block; font-size: 22px; letter-spacing: -.03em; margin-top: 2px; }
.mine .dl { display: inline-block; margin-top: 2px; font-weight: 800; color: var(--c-deep); font-size: 15px; }
.mine .primary { margin-top: 12px; height: 52px; font-size: 17px; }
.mine .mini { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.mine .tiny { margin-top: 10px; }

/* 달력 */
.cal-card { margin: 14px 0 0; background: var(--surface); border-radius: 20px; padding: 12px 12px 14px; box-shadow: var(--shadow); }
.cal-top { display: flex; align-items: center; justify-content: space-between; }
.cal-top h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.cal-top .nav { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-soft); color: var(--c-deep); font-size: 24px; font-weight: 800; line-height: 1; }
.cal-top .nav:disabled { opacity: .3; }
.facts { margin: 6px 2px 0; font-size: 14px; color: var(--ink-2); text-align: center; }
.facts b { color: var(--ink); }
.facts .left { color: var(--c-deep); }
.season { display: inline-block; padding: 0 8px; border-radius: 999px; background: #fff4d6; color: #7a5300; font-weight: 700; font-size: 13px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 10px 0 8px; }
.filters button { height: 36px; padding: 0 11px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.filters button.on { background: var(--c-soft); color: var(--c-deep); box-shadow: inset 0 0 0 1.5px var(--c); }
.grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.wd { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding: 2px 0 4px; }
.wd.red { color: var(--red); } .wd.sat { color: var(--sat); }
.day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1px; min-width: 0; height: 58px; padding: 5px 1px 4px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); overflow: hidden; }
.day b { font-size: 16px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.day.red b { color: var(--red); } .day.sat b { color: var(--sat); }
.day .son { display: inline-block; min-width: 18px; padding: 0 4px; border-radius: 6px; background: var(--c); color: #fff; font-size: 11px; font-weight: 800; line-height: 16px; }
.day em { display: block; max-width: 100%; font-style: normal; font-size: 10px; font-weight: 700; line-height: 1.15; color: var(--red); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.day.edge::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 3px; height: 3px; border-radius: 2px; background: #e0a52e; }
.day.today { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.day.cand { background: #fff7e0; box-shadow: inset 0 0 0 2px #e0a52e; }
.day.pick { background: var(--c); }
.day.pick b, .day.pick em { color: #fff; }
.day.pick .son { background: #fff; color: var(--c-deep); }
.day.off { background: #f1f3f4; opacity: .38; }
.day.off.cand, .day.off.pick { opacity: .6; }
.blank { height: 58px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.legend { margin: 10px 2px 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.legend .son { display: inline-block; padding: 0 4px; border-radius: 5px; background: var(--c); color: #fff; font-size: 11px; font-weight: 800; line-height: 16px; }
.red-t { color: var(--red); font-weight: 700; }
.edge-t { font-weight: 700; text-decoration: underline; text-decoration-color: #e0a52e; text-decoration-thickness: 3px; text-underline-offset: 3px; }
.hols { margin: 6px 2px 0; font-size: 13px; color: var(--red); font-weight: 600; line-height: 1.55; }
.why { margin: 10px 4px 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.why a { color: var(--c-deep); font-weight: 700; }

/* 후보 */
.cands { margin: 14px 0 0; background: var(--surface); border-radius: 20px; padding: 14px 16px 16px; box-shadow: inset 0 0 0 2px #f3d48a; }
.cands h2 { margin: 0; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.cchip { display: inline-flex; align-items: center; border-radius: 999px; background: #fff7e0; box-shadow: inset 0 0 0 1px #f3d48a; }
.cchip .ct { border: 0; background: none; height: 40px; padding: 0 4px 0 14px; font-weight: 800; font-size: 15px; color: var(--ink); }
.cchip .cx { border: 0; background: none; width: 36px; height: 40px; font-size: 18px; color: var(--muted); }
.fine.left { text-align: left; }

/* 날짜 창 */
.fl { list-style: none; margin: 6px 0 4px; padding: 0; display: grid; gap: 6px; }
.fl li { display: flex; gap: 8px; align-items: baseline; font-size: 15px; color: var(--ink-2); }
.fl li span { flex: none; font-size: 12px; }
.fl li.yes { color: var(--ink); font-weight: 700; }
.fl li.yes span { color: var(--c); }
.gd-col { flex-direction: column; align-items: stretch; gap: 6px; margin-top: 10px; }
.gd-col .gd-go { width: 100%; height: 48px; margin: 0; }
.gd-sheet .field input { width: 100%; box-sizing: border-box; height: 48px; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; font-size: 17px; }
.fl-help { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.field { margin: 14px 0 0; }
.field > label, .field > .lb { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }

/* 할 일 */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg button { height: 46px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 15px; color: var(--ink); }
.seg button.on { background: var(--c); color: #fff; box-shadow: none; }
.todos { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.todo { display: flex; gap: 12px; background: var(--surface); border-radius: 18px; padding: 14px 14px 12px; box-shadow: var(--shadow); }
.todo .when { flex: none; width: 74px; }
.todo .when b { display: block; font-size: 14px; line-height: 1.3; }
.todo .when small { display: block; font-size: 12.5px; color: var(--c-deep); font-weight: 700; margin-top: 2px; }
.todo .what { flex: 1; min-width: 0; }
.todo .what > b { display: block; font-size: 16px; line-height: 1.35; }
.todo .what p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.todo .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.todo .acts .tiny { font-size: 13px; padding: 7px 11px; }
.tiny.strong { background: var(--c-soft); color: var(--c-deep); font-weight: 800; box-shadow: none; }
.todo.past { opacity: .55; }
.todo .coupang-note { margin: 6px 0 0; }
.note { margin: 14px 2px 0; padding: 12px 14px; border-radius: 14px; background: var(--c-soft); color: var(--ink-2); font-size: 14px; line-height: 1.55; }

/* 받은 후보 */
.pcand { margin-top: 12px; }
.pcand h2 { margin: 0; font-size: 19px; }
.pcand .dl { display: block; font-size: 13px; font-weight: 700; color: var(--c-deep); margin-top: 2px; }

/* 연 페이지 목록 */
.year { display: grid; gap: 6px; margin: 10px 0 0; }
.ym { display: flex; gap: 12px; align-items: baseline; background: var(--surface); border-radius: 14px; padding: 10px 14px; text-decoration: none; color: inherit; box-shadow: inset 0 0 0 1px var(--line); }
.ym b { flex: none; width: 34px; font-size: 15px; }
.ym span { font-size: 14px; color: var(--ink-2); }

/* 묘수 다른 도구 */
.sec-title { margin: 24px 0 0; font-size: 16px; }
.tools { display: grid; gap: 8px; margin: 10px 0 0; }
.tool { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 16px; padding: 12px 14px; text-decoration: none; color: inherit; box-shadow: inset 0 0 0 1px var(--line); }
.tool i { flex: none; width: 14px; height: 14px; border-radius: 50%; margin: 0 4px; }
.tool span { min-width: 0; }
.tool b { display: block; font-size: 15px; }
.tool small { display: block; font-size: 13px; color: var(--ink-2); }
.tool .go { margin-left: auto; color: var(--muted); }

/* 정적 페이지(연·월) — 화면 코드가 그리기 전 / 검색 로봇용 */
.page h1 { font-size: 22px; line-height: 1.35; letter-spacing: -.03em; margin: 18px 0 8px; }
.page table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
.page th, .page td { border: 1px solid var(--line); padding: 4px; text-align: center; vertical-align: top; }
.page ul { padding-left: 20px; font-size: 15px; }
