/* Readable type scale. Loaded after layout styles on every device. */
@font-face {
  font-family: "Showform Noto Sans KR";
  src: url("/fonts/noto-sans-kr-ui-v1.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root { --ink:#18263d; --muted:#536178; }
body {
  font-family:"Showform Noto Sans KR", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size:17px;
  font-weight:500;
  line-height:1.65;
  letter-spacing:0;
  -webkit-font-smoothing:auto;
  -moz-osx-font-smoothing:auto;
  text-rendering:auto;
}
button, input, select, textarea { font-family:inherit; letter-spacing:0; }
strong, b { font-weight:700; }
button { font-size:16px; font-weight:600; min-height:46px; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea,
.period-nav select, .period-nav #mode, .bar select, .filters select,
.field-group input:not([type="checkbox"]):not([type="radio"]), .field-group select, .field-group textarea {
  font-size:17px; font-weight:500; line-height:1.55; min-height:46px;
}
input::placeholder, textarea::placeholder { color:#617087; opacity:1; }
h1 { font-size:30px; font-weight:700; line-height:1.4; letter-spacing:0; }
h2 { font-size:22px; font-weight:700; letter-spacing:0; }
.brand #companyName { font-size:18px; font-weight:600; letter-spacing:0; color:#f1eaf9; }
.header-meta, .header-meta #tenant { font-size:14px; font-weight:500; color:#f0edf6; }
.env-tag { font-size:12px; font-weight:600; color:#f1e8ff; }
.top .tools button, .more > summary, .top .tools .more-menu button { font-size:16px; min-height:46px; }
.more-menu { min-width:245px; }
.top .tools .more-menu button { color:#18263d; font-weight:600; }
.test { font-size:14px; font-weight:500; color:#58436f; }
.test b { color:#4f356d; }
.period-nav button { font-size:19px; min-width:44px; min-height:46px; }
.bar button, .bar label { font-size:16px; }
.last-sync, .last-sync #lastSync, .last-sync strong { font-size:14px; color:#4a5b74; font-weight:500; }
.muted, .listhead .muted, #count, .status-line, #syncstate,
.status-line strong, .queue-actions button, .status-line button {
  font-size:14px; color:var(--muted); font-weight:500; line-height:1.6;
}
.card .metric-label, .card small, .card h2 {
  font-size:16px; line-height:1.55; font-weight:600; letter-spacing:0; min-height:0; color:#34445d;
}
.overview-main .card { min-height:158px; padding:18px; }
.overview-main .card strong, .overview-main .card.featured strong {
  font-size:34px; line-height:1.3; font-weight:750; letter-spacing:0; font-variant-numeric:tabular-nums;
}
.card p, .card .profit-note { font-size:14px; color:#4d5c74; font-weight:500; line-height:1.65; }
.card.featured .metric-label, .card.featured small, .card.featured h2,
.card.featured p, .card.featured .profit-note { color:#fff; }
.tax > span, .tax > div, .tax .tax-note { font-size:14px; line-height:1.6; font-weight:500; color:#58416e; }
.tax .tax-note { color:var(--muted); }
.tax b { font-size:20px; font-weight:700; color:#493260; }
.agenda-heading b, .agenda-heading span, .agenda-item > span,
.agenda-item small, .agenda-item .event-meta { font-size:14px; font-weight:500; color:#536178; }
.agenda-item b, .agenda-item strong { font-size:16px; font-weight:600; color:#3e2b59; }
.agenda-items > .muted { font-size:14px; }
.tabs { overflow-x:auto; overflow-y:hidden; }
.tabs button { font-size:16px; min-height:48px; font-weight:600; white-space:nowrap; }
.tabs button:not([aria-selected="true"]) { color:#4a5971; }
.events-table { min-width:1260px; }
.events-table th, .history th, .schedule-table th { font-size:15px; font-weight:600; }
.events-table td, .history td, .schedule-table td { font-size:16px; font-weight:500; line-height:1.6; }
.event-title button, .eventname, button.event-title,
.events-table .event-title, .schedule-card h3 button, .schedule-card button[data-open-event] {
  font-size:17px; font-weight:650; letter-spacing:0; line-height:1.6;
}
.event-meta, .date-range, .schedule-card-head, .schedule-card .address, .schedule-memo,
.schedule-card .schedule-actions > span, .no-payment {
  font-size:14px; font-weight:500; letter-spacing:0; color:#4d5d75; line-height:1.6;
}
.money-edit, .editmoney, .event-cell .money-edit, .event-cell .editmoney {
  font-size:19px; font-weight:700; letter-spacing:0; line-height:1.5; color:#493264;
  min-height:60px; font-variant-numeric:tabular-nums;
}
.money-edit small, .editmoney small, .event-cell .money-edit small, .event-cell .editmoney small {
  font-size:14px; font-weight:500; line-height:1.55; color:#604873;
}
.money-edit.is-complete { color:#1c6049; }
.money-edit.is-complete small { color:#316a53; }
.check-label, .complete-check, .event-cell .check-label, .event-cell .complete-check {
  font-size:15px; font-weight:600; color:#4d5d75;
}
.check-label:has(input:disabled), .complete-check:has(input:disabled) { opacity:1; }
.partial-btn, .partbtn, .event-foot .partial-btn,
.schedule-actions button, .event-edit-actions button { font-size:16px; min-height:46px; }
.state-badge, .badge, .event-top .state-badge { font-size:14px; font-weight:600; }
.carry-heading, .events-table .carry-heading td { font-size:16px; }
.carry-heading small, .event-foot .event-meta, .mobile-events > .carry-heading { font-size:14px; }
.calendar-weekdays span { font-size:14px; color:#536178; }
button.calendar-day, .calendar-day > button { font-size:16px; font-weight:550; min-height:36px; }
.mini-calendar-head h2, #miniCalendarTitle { font-size:16px; }
.mini-calendar-head button { font-size:20px; }
.calendar-footer button, .calendar-footer #showSchedule, .calendar-mobile-toggle { font-size:16px; min-height:46px; }
.calendar-footer button { padding-inline:5px; }
.calendar-footer .muted { font-size:14px; }
.notice, .notice small, .notice button, .alert-summary > summary, #reminders > details > summary,
.connection-row, .archive-item, .archive-item small, .empty { font-size:15px; line-height:1.7; }
#utilities, #utilities button { font-size:16px; }
.schedule-toolbar h2 { font-size:22px; }
.scheduleDeletedToggle { font-size:15px; }
.field-help, .field-group small { font-size:14px; line-height:1.7; color:#536178; }
dialog p, dialog .muted, dialog label, .field-group label, .choice label,
.preview, .memoview, .memoview a, .memoview button { font-size:16px; line-height:1.7; }
dialog label, .field-group label { font-weight:600; color:#34445d; }
.choice small, .dialog-error, #dialogerror, #copyStatus, .reset-link, .dangerlink, .rowreset,
.partybox .danger, .toast, #message, .login label { font-size:14px; line-height:1.65; }
.dialog-head h2, #dialogtitle { font-size:24px; }
dialog .amountinput, dialog input#amount { font-size:36px; }
.keypad button { font-size:26px; }
.keypad button:nth-last-child(-n+2) { font-size:16px; }
#addParty { font-size:16px; }
footer { font-size:14px; color:#536178; }
@media (max-width:1100px) and (min-width:801px) {
  .overview-main .card strong { font-size:32px; }
  .overview-main .card.featured strong { font-size:36px; }
}
@media (max-width:800px) {
  .shell { padding-inline:12px; }
  h1 { font-size:25px; }
  .brand #companyName { font-size:17px; }
  .top .tools button, .more > summary, .top .tools .more-menu button { font-size:16px; min-height:48px; }
  .top .tools { gap:8px; }
  .top .tools #sync, .top .tools .header-add-event { flex:1 1 calc(50% - 8px); }
  .top .tools .more { margin-left:auto; }
  .overview-main .cards { grid-template-columns:minmax(0,1fr); }
  .overview-main .card, .overview-main .card.featured { grid-column:auto; min-height:130px; padding:16px 20px; }
  .overview-main .card strong, .overview-main .card.featured strong { font-size:36px; margin:8px 0 6px; }
  .overview-main .card p { font-size:14px; }
  .overview-main .card .metric-label { font-size:16px; min-height:0; }
  .tax b { font-size:20px; }
  .tabs button { font-size:16px; min-height:48px; flex:0 0 auto; }
  .event-top .event-title, .event-top .eventname { font-size:18px; }
  .event-top .date-range, .event-top .event-meta { font-size:14px; }
  .event-grid { grid-template-columns:minmax(0,1fr); }
  .event-cell {
    display:grid; grid-template-columns:minmax(0,1fr) 82px; align-items:center; gap:7px 10px;
    border-right:0; border-bottom:1px solid #cbd3e0; padding:13px 14px;
  }
  .event-cell .cell-label, .event-cell .sectionlabel { grid-column:1/-1; font-size:15px; margin:0; color:#43526a; }
  .event-cell .money-edit, .event-cell .editmoney { font-size:22px; min-height:64px; }
  .event-cell .money-edit small, .event-cell .editmoney small { font-size:14px; }
  .event-cell .check-label, .event-cell .complete-check { min-height:48px; margin:0; font-size:15px; }
  .event-foot .partial-btn { flex:1; font-size:16px; min-height:48px; }
  .calendar-days, .calendar-weekdays { gap:2px; }
  button.calendar-day, .calendar-day > button { font-size:16px; min-height:44px; }
  .mini-calendar-head button { width:44px; min-width:44px; min-height:44px; }
  .mini-calendar-head h2, #miniCalendarTitle { font-size:17px; }
  .calendar-footer button, .calendar-footer #showSchedule, .calendar-mobile-toggle { font-size:16px; min-height:48px; }
  .agenda-item b, .agenda-item strong { font-size:16px; }
  .schedule-card h3 button, .schedule-card button[data-open-event] { font-size:18px; }
  .schedule-card-head, .schedule-card .address, .schedule-memo { font-size:15px; }
  .schedule-card .schedule-actions { gap:10px; }
  .schedule-card .schedule-actions > span:first-child { flex-basis:100%; }
  .dialogtools { flex-wrap:wrap; }
  .dialogtools .muted { flex-basis:100%; font-size:14px; }
  .dialogtools .primary { flex:1; max-width:none; }
}
@media (max-width:360px) {
  h1 { font-size:23px; }
  .overview-main .card strong, .overview-main .card.featured strong { font-size:33px; }
  .event-cell { grid-template-columns:minmax(0,1fr) 70px; padding-inline:10px; gap:7px; }
  .event-cell .money-edit, .event-cell .editmoney { font-size:20px; }
}
@media print { body { font-size:12pt; } .events-table { min-width:0; } }
