/* 스테이데스크 다중 계정·온보딩 시연 (lodging) */

.ld {
  --bg: #FAF6F0;
  --surface: #FFFFFF;
  --line: #E7DED2;
  --text: #2A211B;
  --muted: #7C6F64;
  --primary: #B4532A;
  --primary-press: #96421F;
  --accent: #2F5D50;
  --ok: #2E8B57;
  --ok-ink: #1F6B41;
  --warn: #D98A00;
  --warn-ink: #8A5600;
  --danger: #B3261E;
  --band: #B4532A;
  --radius: 10px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

.ld {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
:where(.ld) :where(p, h1, h2, h3, ol, ul, dl, dd) { margin: 0; }
:where(.ld) :where(ul, ol) { padding: 0; list-style: none; }
:where(.ld) :where(a) { color: inherit; }
:where(.ld) :where(button, input, select) { font: inherit; color: inherit; }
.ld [hidden] { display: none !important; }
.ld :focus-visible { outline: 3px solid color-mix(in srgb, var(--band) 45%, transparent); outline-offset: 2px; }
.ld-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 계정별 표시: 현재 계정이 아닌 데이터는 숨긴다 */
.ld[data-account="haedam"] [data-acct="solbaram"],
.ld[data-account="solbaram"] [data-acct="haedam"] { display: none !important; }
.ld--admin { --band: #2A211B; }

.ld .demo-notice {
  order: -2;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: #F1EAE0;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ld-band { order: -1; height: 4px; background: var(--band); transition: background 0.3s; }

.ld-app { flex: 1; display: grid; grid-template-columns: 220px minmax(0, 1fr); border-left: 4px solid var(--band); transition: border-color 0.3s; }
.ld-side { background: var(--surface); border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 18px; min-height: calc(100vh - 32px); }
.ld-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; padding: 0 6px; }

/* 계정 전환기(시그니처) */
.ld-switch { position: relative; }
.ld-switch__btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); cursor: pointer; text-align: left; min-height: 56px; box-shadow: inset 3px 0 0 var(--band); }
.ld-switch__btn:hover { border-color: var(--band); }
.ld-switch__avatar { width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--band); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.ld-switch__avatar--admin { background: var(--text); }
.ld-switch__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ld-switch__text b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-switch__text small { font-size: 12px; color: var(--muted); }
.ld-switch--admin { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px dashed var(--text); border-radius: var(--radius); min-height: 56px; }
.ld-switch__menu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 240px; z-index: 40; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; box-shadow: 0 16px 40px -12px rgba(42, 33, 27, 0.3); }
.ld-switch__opt { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; border: 0; background: none; border-radius: 8px; cursor: pointer; text-align: left; min-height: 52px; }
.ld-switch__opt:hover { background: var(--bg); }
.ld-switch__dot { width: 30px; height: 30px; border-radius: 8px; background: var(--c); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.ld-switch__check { color: var(--band); font-weight: 700; opacity: 0; }
.ld-switch__opt.is-on .ld-switch__check { opacity: 1; }

.ld-nav { display: flex; flex-direction: column; gap: 2px; }
.ld-nav__item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--muted); }
.ld-nav__item:hover { background: var(--bg); color: var(--text); }
.ld-nav__item.is-on { background: color-mix(in srgb, var(--band) 10%, white); color: var(--band); }
.ld-nav__group { font-size: 12px; color: var(--muted); padding: 14px 12px 4px; border-top: 1px solid var(--line); margin-top: 10px; }
.ld-side__foot { margin-top: auto; }

.ld-body { min-width: 0; }
.ld-mtop { display: none; }
.ld-main { max-width: 1040px; padding: 32px 40px 104px; }

.ld-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.ld-kicker { font-size: 13px; font-weight: 600; color: var(--band); }
.ld-h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-top: 4px; }
.ld-h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.ld-lead, .ld-muted { color: var(--muted); }
.ld-lead { margin-top: 6px; }
.ld-muted { font-size: 14px; }
.ld-fine { font-size: 13px; color: var(--muted); margin-top: 16px; }
.ld-scope { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13px; color: var(--band); background: color-mix(in srgb, var(--band) 9%, white); border: 1px solid color-mix(in srgb, var(--band) 30%, white); white-space: nowrap; position: sticky; top: 12px; transition: color 0.3s, background 0.3s; }
.ld-scope b { font-weight: 700; }
.ld-scope--admin { color: var(--text); background: #F1EAE0; border-color: var(--line); white-space: normal; }

.ld-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.ld-card + .ld-card { margin-top: 16px; }
.ld-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }

.ld-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.ld-btn--primary { background: var(--primary); color: #fff; }
.ld-btn--primary:hover { background: var(--primary-press); }
.ld-btn--dark { background: var(--text); color: #fff; }
.ld-btn--ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.ld-btn--ghost:hover { border-color: var(--text); }
.ld-btn--danger { background: var(--danger); color: #fff; }
.ld-btn--sm { min-height: 38px; padding: 0 12px; font-size: 14px; }
.ld-btn--block { width: 100%; }
.ld-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.ld-spin { display: none; width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; }
.ld-btn.is-loading { opacity: 1; }
.ld-btn.is-loading .ld-spin { display: inline-block; animation: ld-spin 0.8s linear infinite; }
@keyframes ld-spin { to { transform: rotate(360deg); } }
.ld-x { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; font-size: 22px; line-height: 1; cursor: pointer; flex: none; }

.ld-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.ld-badge--ok { background: #E7F4EC; color: var(--ok-ink); }
.ld-badge--warn { background: #FDF1DC; color: var(--warn-ink); }
.ld-badge--danger { background: #FBE9E7; color: var(--danger); }
.ld-badge--off { background: #EFEAE4; color: var(--muted); }
.ld-mock { display: inline-flex; font-size: 12px; font-weight: 600; color: var(--muted); border: 1px dashed var(--muted); border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.ld-count { font-size: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; color: var(--muted); }

/* 온보딩 */
.ld-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.ld-steps__item { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; min-width: 0; }
.ld-steps__no { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.ld-steps__item.is-on { color: var(--text); }
.ld-steps__item.is-on .ld-steps__no { border-color: var(--band); color: var(--band); }
.ld-steps__item.is-done .ld-steps__no { background: var(--band); border-color: var(--band); color: #fff; }
.ld-progress { height: 6px; background: #EFE7DC; border-radius: 999px; overflow: hidden; margin-bottom: 20px; }
.ld-progress span { display: block; height: 100%; width: 0; background: var(--band); border-radius: 999px; transition: width 0.35s; }
.ld-progress--thin { height: 6px; margin: 0; }
.ld-wiz__card { max-width: 720px; }
.ld-pane { display: flex; flex-direction: column; gap: 16px; }
.ld-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 4px; }
.ld-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ld-field--full { grid-column: 1 / -1; }
.ld-field input, .ld-inline input, .ld-invite select { min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 15px; font-weight: 400; color: var(--text); width: 100%; }
.ld-field input:focus, .ld-inline input:focus { outline: none; border-color: var(--band); box-shadow: 0 0 0 3px color-mix(in srgb, var(--band) 18%, transparent); }
.ld-field input[readonly] { background: var(--bg); }
.ld-inline { display: flex; gap: 8px; }
.ld-inline input { flex: 1; min-width: 0; }
.ld-result { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 8px; background: #F2F8F4; border: 1px solid #CFE6D7; flex-wrap: wrap; }
.ld-actions { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; flex-wrap: wrap; }
.ld-actions:has(> :only-child) { justify-content: flex-end; }
.ld-actions--center { justify-content: center; border-top: 0; }
.ld-props { display: flex; flex-direction: column; gap: 8px; }
.ld-prop { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; position: relative; min-height: 56px; }
.ld-prop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ld-prop__box { width: 22px; height: 22px; border: 2px solid var(--line); border-radius: 6px; flex: none; display: flex; align-items: center; justify-content: center; }
.ld-prop input:checked + .ld-prop__box { background: var(--band); border-color: var(--band); }
.ld-prop input:checked + .ld-prop__box::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.ld-prop input:focus-visible + .ld-prop__box { outline: 3px solid color-mix(in srgb, var(--band) 45%, transparent); outline-offset: 2px; }
.ld-prop:has(input:checked) { border-color: color-mix(in srgb, var(--band) 45%, white); background: color-mix(in srgb, var(--band) 4%, white); }
.ld-prop__name { flex: 1; display: flex; flex-direction: column; }
.ld-prop__name small { color: var(--muted); font-size: 13px; }
.ld-prop__rooms { font-weight: 700; }
.ld-import { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ld-import b { color: var(--ok-ink); }
.ld-invites { display: flex; flex-direction: column; gap: 8px; }
.ld-invite { display: grid; grid-template-columns: 1fr 150px 44px; gap: 8px; align-items: center; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.ld-invite__mail { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-invite select { min-height: 38px; border-radius: 999px; font-size: 14px; }
.ld-invite__rm { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface); font-size: 18px; cursor: pointer; color: var(--muted); }
.ld-done { align-items: center; text-align: center; padding: 12px 0; }
.ld-summary { width: 100%; max-width: 440px; text-align: left; border: 1px solid var(--line); border-radius: 8px; }
.ld-summary li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.ld-summary li:last-child { border-bottom: 0; }
.ld-summary span:first-child { color: var(--muted); }
.ld-summary b { display: inline-flex; gap: 6px; align-items: center; }

/* 권한 표 */
.ld-legend { display: flex; gap: 6px; }
.ld-table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ld-tr { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 8px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.ld-tr:last-child { border-bottom: 0; }
.ld-tr:not(.ld-tr--head):hover { background: var(--bg); }
.ld-tr--head { background: #F6F0E8; font-weight: 700; font-size: 13px; }
.ld-th--admin { color: var(--muted); }
.ld-tr__name { font-weight: 600; }
.ld-cell { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.ld-cell--y { background: #E7F4EC; color: var(--ok-ink); }
.ld-cell--y::before { content: "✓"; }
.ld-cell--n { background: #F3EEE8; color: #9A8D82; }
.ld-cell--n::before { content: "–"; }
.ld-cell--c { background: #FDF1DC; color: var(--warn-ink); }
.ld-cell--c::before { content: "◐"; font-size: 10px; }

.ld-iso__meter { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ld-iso__meter .ld-progress { flex: 1; }
.ld-iso__count { font-weight: 700; font-size: 14px; min-width: 64px; }
.ld-cases { max-height: 360px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; background: #FCFAF7; }
.ld-cases__empty { padding: 20px 16px; color: var(--muted); font-size: 14px; }
.ld-case { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 14px; border-bottom: 1px solid #F0E8DD; font-size: 13px; }
.ld-case:last-child { border-bottom: 0; }
.ld-case__no { color: var(--muted); font-weight: 600; }
.ld-case__what b { font-weight: 700; }
.ld-case__exp { color: var(--muted); white-space: nowrap; }
.ld-iso__done { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.ld-iso__done p { display: flex; gap: 10px; align-items: center; }

.ld-report { border: 0; padding: 0; width: min(820px, calc(100vw - 24px)); max-height: calc(100vh - 40px); border-radius: 6px; background: #fff; }
.ld-report::backdrop { background: rgba(42, 33, 27, 0.5); }
.ld-report__page { padding: 40px 44px; font-size: 13px; color: #1E1A17; }
.ld-report__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 2px solid #1E1A17; padding-bottom: 14px; }
.ld-report__head h2 { font-size: 22px; margin-top: 4px; }
.ld-report__k { font-size: 12px; color: var(--muted); }
.ld-report__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 16px 0; border: 1px solid #D9D2C9; }
.ld-report__meta div { display: grid; grid-template-columns: 90px 1fr; border-bottom: 1px solid #D9D2C9; }
.ld-report__meta dt { background: #F6F0E8; padding: 8px 10px; font-weight: 700; }
.ld-report__meta dd { padding: 8px 10px; }
.ld-report__table { width: 100%; border-collapse: collapse; }
.ld-report__table th, .ld-report__table td { border: 1px solid #D9D2C9; padding: 6px 8px; text-align: left; }
.ld-report__table th { background: #F6F0E8; }
.ld-report__foot { margin-top: 14px; color: var(--muted); }

/* 로그인 기기 */
.ld-alert { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: #FFF8EC; border: 1px solid #F1D9A8; margin-bottom: 16px; }
.ld-alert__icon { width: 44px; height: 44px; border-radius: 50%; background: #FDEBC8; color: var(--warn-ink); display: flex; align-items: center; justify-content: center; }
.ld-alert__k { font-size: 12px; font-weight: 700; color: var(--warn-ink); }
.ld-alert__t { font-size: 16px; }
.ld-alert__actions { display: flex; gap: 8px; }
.ld-devs { border: 1px solid var(--line); border-radius: 8px; }
.ld-dev { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ld-dev:last-child { border-bottom: 0; }
.ld-dev__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.ld-dev.is-current .ld-dev__icon { background: color-mix(in srgb, var(--band) 10%, white); color: var(--band); }
.ld-dev__info { display: flex; flex-direction: column; min-width: 0; }
.ld-dev__info small { color: var(--muted); font-size: 13px; }
.ld-dev__tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ld-dev.is-out .ld-dev__info { text-decoration: line-through; color: var(--muted); }
.ld-dev.is-out .ld-badge--warn { display: none; }

/* 슈퍼어드민 */
.ld-admin__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.ld-admin__stats div { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; }
.ld-admin__stats span { font-size: 13px; color: var(--muted); }
.ld-admin__stats b { font-size: 24px; }
.ld-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.ld-chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer; color: var(--muted); }
.ld-chip.is-on { background: var(--text); color: #fff; border-color: var(--text); }
.ld-ctable { border: 1px solid var(--line); border-radius: 8px; }
.ld-crow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.4fr) 70px 90px 110px; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.ld-crow:last-of-type { border-bottom: 0; }
.ld-crow--head { background: #F6F0E8; font-size: 13px; font-weight: 700; }
.ld-crow__name { display: flex; flex-direction: column; min-width: 0; }
.ld-crow__name small { color: var(--muted); font-size: 13px; }
.ld-crow__steps { display: flex; align-items: center; gap: 10px; }
.ld-dots { display: inline-flex; gap: 4px; }
.ld-dots i { width: 10px; height: 10px; border-radius: 50%; background: #EAE2D8; }
.ld-dots i.is-on { background: var(--primary); }
.ld-crow__stepname { font-size: 13px; color: var(--muted); white-space: nowrap; }
.ld-crow__act { text-align: right; }
.ld-crow.is-off .ld-crow__name b { color: var(--muted); }
.ld-crow.is-off .ld-dots i.is-on { background: #C9BDB0; }
.ld-cempty { padding: 20px 16px; color: var(--muted); }

/* 하단 탭·대응표·토스트 */
.ld-tabbar { display: none; }
.ld-fab { position: fixed; right: 24px; bottom: 24px; z-index: 50; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--text); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(42, 33, 27, 0.5); }
.ld-sheet { border: 1px solid var(--line); border-radius: 14px; padding: 0; width: min(560px, calc(100vw - 32px)); background: var(--surface); color: var(--text); }
.ld-sheet::backdrop { background: rgba(42, 33, 27, 0.45); }
.ld-sheet__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.ld-sheet__head { display: flex; justify-content: space-between; gap: 12px; }
.ld-sheet__title { font-size: 22px; font-weight: 700; }
.ld-map li { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--line); }
.ld-map a { color: var(--primary); font-weight: 600; font-size: 14px; text-decoration: none; }
.ld-sheet__foot { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.ld-toast { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); z-index: 60; background: var(--text); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; max-width: calc(100vw - 32px); text-align: center; box-shadow: 0 12px 28px -8px rgba(42, 33, 27, 0.5); }

@media (max-width: 960px) {
  .ld-main { padding: 28px 24px 104px; }
  .ld-head { flex-direction: column; align-items: flex-start; }
  .ld-crow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 90px 100px; }
  .ld-crow > :nth-child(3) { display: none; }
}
@media (max-width: 760px) {
  .ld-app { grid-template-columns: 1fr; border-left: 0; }
  .ld-side { display: none; }
  .ld-mtop { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
  .ld-mtop .ld-logo { padding: 0; }
  .ld-switch--m { flex: 1; min-width: 0; }
  .ld-switch--m .ld-switch__btn, .ld-switch--m.ld-switch--admin { min-height: 48px; padding: 6px 10px; }
  .ld-switch--m .ld-switch__avatar { width: 30px; height: 30px; }
  .ld-switch--m .ld-switch__text small { display: none; }
  .ld-main { padding: 20px 16px 132px; }
  .ld-h1 { font-size: 24px; }
  .ld-h2 { font-size: 19px; }
  .ld-scope { white-space: normal; position: static; }
  .ld-card { padding: 18px 16px; }
  .ld-steps__label { display: none; }
  .ld-steps__item.is-on .ld-steps__label { display: inline; }
  .ld-form { grid-template-columns: 1fr; }
  .ld-inline { flex-direction: column; }
  .ld-invite { grid-template-columns: 1fr 44px; border-radius: 12px; padding: 10px 6px 10px 12px; }
  .ld-invite select { grid-column: 1; grid-row: 2; }
  .ld-invite__rm { grid-column: 2; grid-row: 1 / span 2; }
  .ld-actions .ld-btn { flex: 1; }
  .ld-tr { grid-template-columns: minmax(0, 1fr) repeat(4, 50px); gap: 4px; padding: 10px; font-size: 13px; }
  .ld-tr--head { font-size: 11px; }
  .ld-cell { font-size: 0; padding: 4px 6px; justify-content: center; }
  .ld-cell::before { font-size: 12px; }
  .ld-cell--c { font-size: 10px; white-space: normal; text-align: center; }
  .ld-cell--c::before { display: none; }
  .ld-legend .ld-cell { font-size: 12px; }
  .ld-case { grid-template-columns: 24px 1fr auto; }
  .ld-case__exp { grid-column: 2; grid-row: 2; }
  .ld-case .ld-badge { grid-row: 1 / span 2; grid-column: 3; }
  .ld-alert { grid-template-columns: auto 1fr; }
  .ld-alert__actions { grid-column: 1 / -1; }
  .ld-alert__actions .ld-btn { flex: 1; }
  .ld-dev { grid-template-columns: 44px 1fr auto; }
  .ld-dev__tags { grid-column: 2; justify-content: flex-start; }
  .ld-dev__btn { grid-column: 3; grid-row: 1 / span 2; }
  .ld-admin__stats { grid-template-columns: repeat(2, 1fr); }
  .ld-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 14px; padding: 0 16px; }
  .ld-chip { flex: none; }
  .ld-crow--head { display: none; }
  .ld-crow { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .ld-crow > :nth-child(3) { display: none; }
  .ld-crow__steps { grid-column: 1; grid-row: 2; }
  .ld-crow > :nth-child(4) { grid-column: 2; grid-row: 1; justify-self: end; }
  .ld-crow__act { grid-column: 2; grid-row: 2; }
  .ld-report__page { padding: 24px 18px; }
  .ld-report__meta { grid-template-columns: 1fr; }
  .ld-tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .ld-tabbar__item { min-height: 56px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 13px; font-weight: 600; color: var(--muted); border-top: 3px solid transparent; }
  .ld-tabbar__item.is-on { color: var(--band); border-top-color: var(--band); }
  .ld-fab { bottom: 72px; right: 16px; }
  .ld-toast { bottom: 128px; }
  .ld-sheet { margin: auto auto 0; width: 100vw; max-width: 100vw; border-radius: 16px 16px 0 0; }
}

@media print {
  .ld-app, .ld-tabbar, .ld-fab, .ld-band, .demo-notice, .ld-noprint { display: none !important; }
  .ld-report { position: static; width: 100%; max-height: none; box-shadow: none; }
  .ld-report::backdrop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ld-band, .ld-app, .ld-switch__avatar, .ld-scope, .ld-progress span { transition: none; }
  .ld-btn.is-loading .ld-spin { animation: none; }
}

/* 보정 */
.ld-side .ld-switch__text b { white-space: normal; overflow: visible; line-height: 1.3; }
@media (max-width: 760px) {
  .ld-steps { display: flex; justify-content: space-between; }
  .ld-steps__label { white-space: nowrap; }
}
