/* SubCheck V1 — real-app layer on top of the approved subcheck.css (design baseline). */
@font-face{font-family:"Noto Sans KR";src:url('/fonts/noto-sans-kr.woff') format('woff');font-weight:100 900;font-display:swap}
[hidden]{display:none!important}
a{color:inherit}
.btn{cursor:pointer;text-decoration:none}
.btn[disabled],.btn.is-busy{opacity:.55;cursor:not-allowed}
.btn:focus-visible,.side-link:focus-visible,.pill-tab:focus-visible,.chip:focus-visible,.toggle:focus-visible,.faq-button:focus-visible,.choice-card:focus-visible,.bar:focus-visible{outline:3px solid rgba(13,150,124,.35);outline-offset:2px}
.toggle{cursor:pointer}
.toggle[disabled]{opacity:.45;cursor:not-allowed}
.pill-tab,.chip{cursor:pointer;text-decoration:none;display:inline-flex;align-items:center}
.top-search{position:relative}
.top-search input{border:0;background:transparent;outline:none;width:100%;font:inherit;color:var(--ink)}
.top-actions a{display:flex;align-items:center;position:relative;text-decoration:none}
.top-actions .dot{position:absolute;top:-2px;right:-2px;width:8px;height:8px;border-radius:50%;background:var(--danger)}
.field-error{color:var(--danger);font-size:13px;margin-top:6px;font-weight:700}
.field[aria-invalid="true"]{border-color:var(--danger)}
.check-row{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin:6px 0}
.check-row input{accent-color:var(--green)}
.data-table tr[data-go]{cursor:pointer}
.data-table tr[data-go]:hover td{background:#f6fbf9}
.choice-card{cursor:pointer;width:100%;text-align:left;font:inherit;background:#fff}
.choice-card.active{border-color:var(--green)}
.drop-menu{z-index:80}
.drop-menu a{display:block;padding:9px 12px;border-radius:7px;text-decoration:none;color:var(--ink);font-size:13px}
.drop-menu a:hover,.drop-menu a.active{background:var(--mint-2);color:var(--green-2)}
.toast-stack{position:fixed;right:24px;bottom:24px;z-index:200;display:grid;gap:10px;max-width:min(380px,calc(100vw - 32px))}
.toast-stack .toast{position:static}
.toast-stack .toast.error{background:#5c1d1c}
.toast-stack .toast.error .check{background:var(--danger)}
.drop-zone{border:1.5px dashed var(--line);border-radius:12px;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px;cursor:pointer;background:#fbfdfc}
.drop-zone.drag{border-color:var(--green);background:var(--mint-2)}
.drop-zone input{display:none}
.timeline-empty,.empty-inline{color:var(--muted);font-size:13px;padding:14px 0}
.cal-cell.other{color:var(--muted-2);background:#fbfdfc}
.cal-cell.today{box-shadow:inset 0 0 0 2px var(--green)}
.cal-cell .event{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-day.today{outline:2px solid var(--green)}
.legal-content h2{scroll-margin-top:80px}
.legal-content p,.legal-content li{line-height:1.8}
.legal-content table{width:100%;border-collapse:collapse;font-size:13px}
.legal-content th,.legal-content td{border:1px solid var(--line-2);padding:7px 9px;text-align:left}
.sheet-backdrop{position:fixed;inset:0;background:rgba(24,40,36,.43);z-index:90}
.sheet.live{position:fixed;z-index:91;max-height:85vh}
.skeleton .skel-row{animation:sc-pulse 1.2s ease-in-out infinite}
@keyframes sc-pulse{50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){.skeleton .skel-row{animation:none}}
.chart-area .bar{cursor:default}
.notice-line{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
@media(max-width:760px){
 .mobile-page{width:100%;min-height:100vh;margin:0;overflow:visible}
 .mobile-top{position:sticky;top:0}
 .mobile-nav{position:fixed!important;left:0;right:0;bottom:0;z-index:30}
 .overlay{padding:12px;align-items:flex-end}
 .overlay .modal{width:100%;max-height:90vh;overflow:auto}
 .drawer{top:0;width:100vw}
 .form-row{grid-template-columns:1fr!important}
 .toast-stack{left:16px;right:16px;bottom:84px}
 .auth-card{width:calc(100% - 32px)}
 .data-table{display:block;overflow-x:auto}
}
/* QA 2026-10-18: month grid — weekday header, Sunday/holiday red, Saturday blue, holiday names, "이번 달로 이동" */
:root{--cal-sun:#d1343a;--cal-sat:#2563c9}
.cal-week{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:14px;font-weight:700;color:var(--muted);padding:8px 0;border-bottom:1px solid var(--line-2)}
.cal-week .sun,.cal-cell.sun .cal-day{color:var(--cal-sun)}
.cal-week .sat,.cal-cell.sat .cal-day{color:var(--cal-sat)}
.cal-head .cal-nav{display:flex;gap:6px}
.cal-cell{min-width:0;display:flex;flex-direction:column;gap:2px;height:auto;min-height:92px}
.cal-cell .cal-day{font-weight:700;font-size:14px}
.cal-cell .cal-holiday{font-size:13px;color:var(--cal-sun);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cal-cell .event{margin-top:4px}
.cal-cell .cal-more{font-size:13px}
.cal-legend{margin:12px 2px 0;font-size:13px;color:var(--cal-sun);line-height:1.5}
.cal-empty{margin-top:14px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.cal-today[aria-disabled=true]{opacity:.55;pointer-events:none}
.cal-total{font-size:25px;font-weight:850;margin-top:8px}
.cal-total-note{font-size:13px;margin-top:5px}
.cal-mobile-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.cal-mobile-head h1{flex:1;font-size:23px;margin:0}
.mobile-cal .cal-grid{border:0;gap:3px}
.mobile-cal .cal-cell{min-height:46px;padding:4px;border:1px solid var(--line-2);border-radius:6px;align-items:center}
.mobile-cal .cal-cell.other{border-color:transparent;background:none}
.mobile-cal .cal-cell .cal-holiday{display:none}
.mobile-cal .cal-dot{display:block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-top:4px}
@media (max-width:1100px){.cal-cell{min-height:78px;padding:6px}.cal-cell .event{font-size:13px;padding:3px}}
.cal-cell a.event{text-decoration:none}.cal-cell a.event:hover{text-decoration:underline}
/* QA 2026-10-18: auth card header shares the left edge with its fields */
.auth-card .logo{justify-content:flex-start}.auth-title{text-align:left}.auth-foot{text-align:left}
/* QA 2026-10-18: ≤760px public header keeps its menu (second scrollable row) and 로그인/마이페이지/로그아웃; footer wraps instead of squeezing */
@media(max-width:760px){
  .public-header{height:auto}
  .public-header .inner{flex-wrap:wrap;row-gap:6px;padding:9px 0 0}
  .public-nav{display:flex;order:3;width:100%;margin:0;gap:20px;overflow-x:auto;white-space:nowrap;padding:4px 0 10px;scrollbar-width:none}
  .public-nav a{font-size:14px}
  .public-actions .btn.ghost{display:inline-flex}
  .public-actions .btn{padding-left:10px;padding-right:10px}
  .public-footer{height:auto;padding:16px 0}
  .public-footer .inner{flex-wrap:wrap;row-gap:10px}
  .public-footer .footer-links{width:100%;margin-left:0;display:flex;flex-wrap:wrap;gap:8px 16px}
  .public-footer .footer-links a{white-space:nowrap}
}
.pay-bubble.user{background:var(--green)}
/* the pricing view sets a 2-column inline style; one column on phones */
@media(max-width:560px){.pricing-grid{grid-template-columns:1fr!important}}
/* QA 2026-10-19: text colours at 4.5:1 or better on white (primary 3.70→5.07, muted 3.83→5.30, warning badge 2.36→5.50) */
:root{--green:#0a7d67;--muted:#5f6f69;--warn:#8a5a00}
.report-export{margin-top:18px;padding-top:16px;border-top:1px solid var(--line-2)}
.report-export-row{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0}
.report-export-row select{flex:1;min-width:130px;min-height:40px;font-size:16px}
/* QA 2026-10-19 audit re-check: footer 3.05, chart month labels 2.96, legal body 4.49 → 4.5:1+ */
.public-footer,.public-footer a,.footer-links a{color:var(--muted)}
.chart-labels span{color:var(--muted)}
.legal-content p{color:#56665f}
/* QA 2026-10-19: inactive pill tabs 4.05 and grey badge 4.41 → 5.5:1+ */
.pill-tab{color:#53635d}.badge.gray{color:#4f5e58}
/* P8 design-b 2026-10-21: public pages — flatter corners, no pastel wash, balanced headings */
.public{--radius:6px}
.public .hero{background:#fff;border-bottom:1px solid var(--line-2);min-height:0}
.public .hero h1{font-size:42px;line-height:1.2;word-break:keep-all;text-wrap:balance}
.public .section-head h2,.public .public-title h1,.public .cta-strip h3{word-break:keep-all;text-wrap:balance}
.public .hero-demo{border-radius:4px;transform:none;box-shadow:0 18px 40px -26px rgba(16,35,30,.45)}
.public .section.tint{background:#f4f6f5}
.public .cta-strip{border-radius:4px;background:#0c4a3e}
.public .feature-card .fi,.public .avatar-letter{border-radius:4px}
@media(max-width:760px){.public .hero h1{font-size:32px}.public .cta-strip{flex-direction:column;align-items:flex-start;gap:16px}}
