/* 네이티브 케어 보드 · 하이브리드 앱 네이티브 영역 월 유지보수 (maintain) */
.mt {
  --bg: #EEF0EC;
  --surface: #FBFBF8;
  --line: #D7DAD3;
  --line-strong: #B9BEB5;
  --text: #1A1F1B;
  --muted: #5F665F;
  --primary: #0B4F3A;
  --primary-soft: #E3ECE6;
  --accent: #C8A24A;
  --accent-soft: #F5EDD7;
  --accent-ink: #7A5E17;
  --ok: #2E8B57;
  --warn: #C77D0A;
  --danger: #B3372B;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --r: 3px;
}
.mt *, .mt *::before, .mt *::after { box-sizing: border-box; }
.mt [hidden] { display: none !important; }
html:has(body.mt) { background: #EEF0EC; }
body.mt {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
:where(.mt) a { color: inherit; }
:where(.mt) button { font: inherit; color: inherit; }
.mt code { font-family: var(--mono); font-size: .92em; }
.mt :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.mt-band {
  height: 28px; display: flex; align-items: center; justify-content: center;
  padding: 0 16px; background: #E2E5DF; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mt-top { background: var(--surface); border-bottom: 1px solid var(--line); }
.mt-top__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 24px;
}
.mt-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.mt-brand__name { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.mt-brand__sub { font-size: 12px; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line); }
.mt-nav { display: flex; gap: 4px; margin-left: auto; height: 100%; }
.mt-nav__item {
  display: flex; align-items: center; padding: 0 14px;
  text-decoration: none; color: var(--muted); font-weight: 600;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.mt-nav__item:hover { color: var(--text); }
.mt-nav__item.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.mt-reset {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--r); background: transparent;
  color: var(--muted); font-size: 13px; cursor: pointer;
}
.mt-reset:hover { border-color: var(--line-strong); color: var(--text); }

.mt-main { max-width: 1200px; margin: 0 auto; padding: 32px 24px 64px; }
.mt-wrap { display: grid; gap: 32px; }
.mt-eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.mt-h1 { margin: 0; font-size: 26px; line-height: 1.3; letter-spacing: -.02em; }
.mt-h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.mt-h2 span { margin-left: 8px; font-size: 14px; font-weight: 400; color: var(--muted); }
.mt-h3 { margin: 0; font-size: 16px; }
.mt-lead { margin: 8px 0 0; max-width: 680px; color: var(--muted); font-size: 16px; }

.mt-head { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.mt-head--menu { grid-template-columns: 1fr auto; }
.mt-head--policy { grid-template-columns: 1fr; }
.mt-kpis { display: flex; margin: 0; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); }
.mt-kpis div { padding: 10px 16px; min-width: 96px; }
.mt-kpis div + div { border-left: 1px solid var(--line); }
.mt-kpis dt { font-size: 12px; color: var(--muted); }
.mt-kpis dd { margin: 0; font-family: var(--mono); font-size: 20px; font-weight: 600; }
.mt-kpis small { margin-left: 2px; font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--muted); }
.mt-kpis .is-over dd, .mt-kpis .is-over dt { color: var(--warn); }

.mt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface);
  font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.mt-btn:hover { border-color: var(--text); }
.mt-btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.mt-btn--primary:hover { background: #09412f; border-color: #09412f; }
.mt-link { border: 0; background: none; color: var(--primary); font-weight: 600; text-decoration: underline; cursor: pointer; padding: 4px; }

.mt-section { display: grid; gap: 16px; min-width: 0; }
.mt-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mt-section__hint { margin: 0; font-size: 13px; color: var(--muted); }

/* 상태·분류 표시 */
.mt-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.mt-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.mt-status--ok { color: var(--ok); }
.mt-status--warn { color: var(--warn); }
.mt-status--work { color: var(--primary); }
.mt-status--work i { background: transparent; border: 2px solid currentColor; }
.mt-chip { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: var(--r); font-size: 12px; font-weight: 700; white-space: nowrap; }
.mt-chip--regular { background: var(--primary-soft); color: var(--primary); }
.mt-chip--extra { background: var(--accent-soft); color: var(--accent-ink); }
.mt-legend { display: flex; gap: 8px; margin: 0; }

/* 시그니처: 2×2 릴리즈 매트릭스 */
.mt-matrix {
  display: grid; grid-template-columns: 120px 1fr 1fr;
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--r);
}
.mt-matrix__corner, .mt-matrix__col, .mt-matrix__row { padding: 10px 16px; font-size: 13px; font-weight: 700; color: var(--muted); }
.mt-matrix__col { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--mono); letter-spacing: .02em; }
.mt-matrix__corner { border-bottom: 1px solid var(--line); }
.mt-matrix__row { display: flex; align-items: center; color: var(--text); font-size: 15px; }
.mt-matrix__row:not(:nth-last-child(-n+3)) { border-bottom: 1px solid var(--line); }
.mt-cell {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ver status" "build build" "date date" "reqs reqs";
  align-items: center; gap: 2px 12px;
  padding: 16px; text-align: left;
  border: 0; border-left: 1px solid var(--line); background: transparent; cursor: pointer;
}
.mt-matrix > .mt-cell:nth-child(5), .mt-matrix > .mt-cell:nth-child(6) { border-bottom: 1px solid var(--line); }
.mt-cell::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.mt-cell--ok::before { background: var(--ok); }
.mt-cell--warn::before { background: var(--warn); }
.mt-cell--work::before { background: var(--primary); }
.mt-cell:hover { background: #F4F5F1; }
.mt-cell.is-selected { background: var(--primary-soft); box-shadow: inset 0 0 0 2px var(--primary); }
.mt-cell__label { display: none; }
.mt-cell__ver { grid-area: ver; font-family: var(--mono); font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.mt-cell .mt-status { grid-area: status; justify-self: start; }
.mt-cell__build { grid-area: build; font-size: 13px; color: var(--muted); }
.mt-cell__build code { color: var(--text); }
.mt-cell__date { grid-area: date; font-size: 13px; }
.mt-cell__reqs { grid-area: reqs; margin-top: 6px; font-size: 12px; color: var(--primary); font-weight: 600; }

/* 요청 보드 */
.mt-filterbar { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; background: var(--primary-soft); border-radius: var(--r); font-size: 13px; font-weight: 600; color: var(--primary); }
.mt-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mt-col { background: #E6E9E3; border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.mt-col__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mt-col__head h3 { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.mt-col__no { width: 20px; height: 20px; display: grid; place-items: center; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mt-col__count { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.mt-col__list { display: grid; gap: 8px; padding: 8px; align-content: start; min-height: 120px; }
.mt-col__empty { margin: 0; padding: 24px 8px; text-align: center; font-size: 13px; color: var(--muted); }
.mt-card {
  display: grid; gap: 6px; width: 100%;
  padding: 12px; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: var(--r);
  cursor: pointer; transition: opacity .2s, border-color .15s;
}
.mt-card--extra { border-left-color: var(--accent); }
.mt-card:hover { border-color: var(--line-strong); }
.mt-card.is-dim { opacity: .32; }
.mt-card.is-new { background: #FFFDF5; }
.mt-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mt-card__id { font-size: 12px; color: var(--muted); }
.mt-card__title { font-weight: 700; font-size: 14px; line-height: 1.45; }
.mt-card__meta { font-size: 12px; color: var(--muted); }
.mt-card__foot { display: flex; justify-content: space-between; gap: 8px; padding-top: 6px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.mt-card__foot b { color: var(--text); font-family: var(--mono); font-weight: 600; }
.mt-card__foot em { font-style: normal; color: var(--accent-ink); font-weight: 600; }

/* 시트(상세·새 요청) */
.mt-drawer {
  margin: 0 0 0 auto; height: 100vh; max-height: 100vh;
  width: min(460px, 100vw); max-width: 100vw; padding: 0; overflow-y: auto; overscroll-behavior: contain;
  border: 0; border-left: 1px solid var(--line-strong); border-radius: 0;
  background: var(--surface); color: var(--text);
}
.mt-drawer::backdrop { background: rgba(26, 31, 27, .35); }
.mt-drawer__body { display: grid; gap: 20px; padding: 20px 20px 24px; }
.mt-drawer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mt-drawer__title { margin: 0; font-size: 20px; line-height: 1.4; }
.mt-drawer__foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.mt-icon-btn { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); background: transparent; cursor: pointer; }
.mt-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r); }
.mt-facts div { padding: 8px 12px; }
.mt-facts div + div { border-left: 1px solid var(--line); }
.mt-facts dt { font-size: 12px; color: var(--muted); }
.mt-facts dd { margin: 0; font-weight: 600; }
.mt-detail__block h3 { margin: 0 0 8px; font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .02em; }
.mt-detail__block h3 small { font-weight: 400; margin-left: 6px; }
.mt-quote { margin: 0; padding: 12px 14px; background: var(--bg); border-left: 3px solid var(--line-strong); font-size: 15px; line-height: 1.65; }
.mt-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mt-tags li { padding: 2px 8px; border: 1px solid var(--line); border-radius: var(--r); font-size: 13px; }
.mt-worklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mt-worklist li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.mt-check { flex: none; width: 18px; height: 18px; margin-top: 2px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 2px; font-size: 12px; color: #fff; }
.mt-worklist li.is-done .mt-check { background: var(--ok); border-color: var(--ok); }
.mt-worklist li.is-done { color: var(--muted); }
.mt-build { margin: 0; }
.mt-build code { font-size: 14px; }
.mt-tl { list-style: none; margin: 0; padding: 0; }
.mt-tl__step { position: relative; display: grid; grid-template-columns: 20px 1fr auto; gap: 8px; align-items: center; padding: 6px 0; }
.mt-tl__step:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 22px; bottom: -8px; width: 2px; background: var(--line); }
.mt-tl__dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); position: relative; z-index: 1; }
.mt-tl__step--done .mt-tl__dot { background: var(--ok); border-color: var(--ok); }
.mt-tl__step--now .mt-tl__dot { background: var(--warn); border-color: var(--warn); box-shadow: 0 0 0 4px #F7E6C8; }
.mt-tl__step--todo { color: var(--muted); }
.mt-tl__label { font-weight: 600; }
.mt-tl__date { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mt-tl__step--now .mt-tl__date { color: var(--warn); font-weight: 600; }
.mt-done-note { align-self: center; font-size: 13px; color: var(--ok); font-weight: 600; }
.mt-mini { width: 220px; border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: #fff; }
.mt-mini__bar { display: flex; justify-content: space-between; padding: 8px 12px; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--line); }
.mt-mini__hero { display: grid; gap: 2px; padding: 12px; background: var(--primary); color: #fff; }
.mt-mini__hero small { font-size: 11px; opacity: .8; }
.mt-mini__hero b { font-size: 20px; }
.mt-mini__hero span { font-size: 12px; color: #F1DFA9; }
.mt-mini__web { padding: 16px 12px; font-size: 11px; color: var(--muted); background: repeating-linear-gradient(0deg, #F4F5F1 0 10px, #fff 10px 20px); text-align: center; }

.mt-form .mt-field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.mt-label { font-size: 13px; font-weight: 700; padding: 0; }
.mt-input {
  width: 100%; min-height: 44px; padding: 8px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--r); background: #fff;
  font: inherit; font-size: 15px; color: var(--text);
}
.mt-input:focus { outline: 2px solid var(--primary); outline-offset: -1px; }
.mt-input--mono { font-family: var(--mono); font-size: 14px; }
.mt-textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
.mt-seg { display: flex; flex-wrap: wrap; border: 1px solid var(--line-strong); border-radius: var(--r); overflow: hidden; background: #fff; width: fit-content; max-width: 100%; }
.mt-seg label { position: relative; }
.mt-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mt-seg span { display: flex; align-items: center; min-height: 40px; padding: 0 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.mt-seg label + label span { border-left: 1px solid var(--line); }
.mt-seg input:checked + span { background: var(--primary); color: #fff; }
.mt-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.mt-classify { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r); font-size: 13px; }
.mt-classify--regular { background: var(--primary-soft); color: var(--primary); }
.mt-classify--extra { background: var(--accent-soft); color: var(--accent-ink); }
.mt-toast {
  position: fixed; left: 50%; bottom: 84px; z-index: 100; transform: translateX(-50%);
  max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: var(--r);
  background: var(--text); color: #fff; font-size: 14px; font-weight: 600;
}

/* 메뉴 트리 작업 */
.mt-seg--app { align-self: end; }
.mt-seg__btn { min-height: 44px; padding: 0 16px; border: 0; background: #fff; font-weight: 700; color: var(--muted); cursor: pointer; }
.mt-seg__btn + .mt-seg__btn { border-left: 1px solid var(--line); }
.mt-seg__btn code { font-weight: 500; margin-left: 4px; }
.mt-seg__btn.is-on { background: var(--primary); color: #fff; }
.mt-menu { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.mt-menu__left { display: grid; gap: 16px; min-width: 0; }
.mt-menu__right { position: sticky; top: 16px; display: grid; justify-items: center; gap: 8px; }
.mt-menu__bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mt-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.mt-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mt-panel__meta { font-size: 13px; color: var(--muted); font-family: var(--mono); }
.mt-tree { padding: 12px 16px 16px; font-size: 14px; }
.mt-tree__root { font-weight: 700; padding: 4px 0; }
.mt-tree__list { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 1px solid var(--line); }
.mt-tree__item { position: relative; }
.mt-tree__row { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; min-height: 34px; padding: 4px 0 4px 10px; }
.mt-tree__row::before { content: ""; position: absolute; left: -16px; top: 17px; width: 20px; height: 1px; background: var(--line); }
.mt-tree__item.has-children > .mt-tree__row .mt-tree__name { font-weight: 700; }
.mt-tree__path { font-size: 12px; color: var(--muted); }
.mt-tree__flags { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-left: auto; align-items: center; }
.mt-flag { padding: 0 6px; border: 1px solid var(--line); border-radius: 2px; font-size: 11px; color: var(--muted); line-height: 18px; }
.mt-flag--mono { font-family: var(--mono); }
.mt-flag--new { background: var(--accent); border-color: var(--accent); color: #2b2005; font-weight: 700; }
.mt-tree__item.is-new > .mt-tree__row { background: var(--accent-soft); }
.mt-tree__remove { width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; color: var(--muted); }
.mt-addform { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 16px; }
.mt-addform .mt-field { display: grid; gap: 6px; }
.mt-field--wide { grid-column: span 1; }
.mt-path { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r); background: #fff; }
.mt-path > span { padding-left: 12px; font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.mt-path .mt-input { border: 0; padding-left: 2px; }
.mt-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 600; align-self: end; }
.mt-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mt-toggle__ui { position: relative; width: 40px; height: 24px; flex: none; border-radius: 12px; background: var(--line-strong); transition: background .15s; }
.mt-toggle__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.mt-toggle input:checked + .mt-toggle__ui { background: var(--primary); }
.mt-toggle input:checked + .mt-toggle__ui::after { transform: translateX(16px); }
.mt-toggle input:focus-visible + .mt-toggle__ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.mt-addform__foot { grid-column: 1 / -1; display: flex; justify-content: flex-end; padding-top: 4px; }

.mt-phone { width: 300px; height: 600px; padding: 10px; border-radius: 40px; background: #1A1F1B; }
.mt-phone__screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #fff; }
.mt-phone__cap { margin: 0; font-size: 12px; color: var(--muted); }
.mt-app, .mt-web { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; }
.mt-app__status { flex: none; display: flex; justify-content: space-between; padding: 10px 20px 4px; font-size: 11px; font-weight: 700; font-family: var(--mono); }
.mt-app__bar { flex: none; display: flex; align-items: baseline; justify-content: space-between; padding: 8px 16px 10px; border-bottom: 1px solid var(--line); }
.mt-app__title { font-size: 18px; font-weight: 800; }
.mt-app__name { font-size: 12px; color: var(--primary); font-weight: 700; }
.mt-app__body { flex: 1; overflow-y: auto; padding-bottom: 8px; }
.mt-app__group { padding: 10px 0 4px; border-bottom: 6px solid #F2F3EF; }
.mt-app__group h3 { margin: 0; padding: 2px 16px 4px; font-size: 12px; color: var(--muted); font-weight: 700; }
.mt-app__sub { margin: 4px 0 0; padding: 4px 16px 0; font-size: 12px; font-weight: 700; color: var(--primary); }
.mt-app__row { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 0 16px; border: 0; background: transparent; text-align: left; font-size: 14px; cursor: pointer; }
.mt-app__row:hover { background: #F6F7F3; }
.mt-app__row em { font-style: normal; margin-left: 4px; padding: 0 5px; border-radius: 2px; background: var(--accent); color: #2b2005; font-size: 10px; font-weight: 800; vertical-align: 1px; }
.mt-app__row.is-new { background: #FFF8E6; animation: mt-flash 1.2s ease-out 1; }
.mt-app__chev { color: var(--line-strong); font-size: 18px; }
.mt-app__tabs { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.mt-app__tabs span { padding: 10px 0 14px; text-align: center; font-size: 11px; color: var(--muted); font-weight: 600; }
.mt-app__tabs .is-on { color: var(--primary); }
@keyframes mt-flash { from { background: #F5DFA0; } to { background: #FFF8E6; } }
.mt-web { z-index: 2; }
.mt-web__bar { flex: none; display: flex; align-items: center; gap: 4px; padding: 2px 8px; border-bottom: 1px solid var(--line); }
.mt-web__back { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.mt-web__title { font-weight: 800; font-size: 16px; }
.mt-web__meta { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; background: #F6F7F3; border-bottom: 1px solid var(--line); }
.mt-web__chip { padding: 2px 8px; border-radius: 2px; background: #fff; border: 1px solid var(--line); font-size: 11px; font-weight: 600; }
.mt-web__chip--mono { font-family: var(--mono); }
.mt-web__chip--ok { color: var(--ok); border-color: #B8D9C5; }
.mt-web__page { display: grid; gap: 10px; padding: 16px; }
.mt-sk { display: block; height: 12px; border-radius: 2px; background: #ECEEE9; }
.mt-sk--title { height: 22px; width: 60%; background: #DCE5DF; }
.mt-sk--short { width: 55%; }
.mt-sk--card { height: 96px; background: linear-gradient(135deg, #E3ECE6, #F2EBD6); }

.mt-diff { padding: 12px 16px 16px; display: grid; gap: 12px; }
.mt-diff__empty { margin: 0; color: var(--muted); font-size: 13px; }
.mt-diff__block { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 13px; }
.mt-diff__head { margin: 0; padding: 6px 10px; background: #F2F3EF; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mt-diff__row { display: grid; grid-template-columns: 20px minmax(80px, 1fr) minmax(0, 1.2fr) auto; gap: 8px; align-items: center; padding: 4px 10px; }
.mt-diff__row.is-add { background: #E3F1E8; color: #0F4A2A; font-weight: 600; }
.mt-diff__sign { font-family: var(--mono); color: var(--muted); }
.mt-diff__row.is-add .mt-diff__sign { color: var(--ok); }
.mt-diff__path { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-diff__flags { font-size: 12px; color: var(--muted); white-space: nowrap; }
.mt-checks { list-style: none; margin: 0; padding: 8px 16px; display: grid; }
.mt-checkrow { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 8px 0; cursor: pointer; }
.mt-checks li + li .mt-checkrow { border-top: 1px dashed var(--line); }
.mt-checkrow input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mt-checkrow__box { flex: none; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid var(--line-strong); border-radius: 2px; background: #fff; display: grid; place-items: center; }
.mt-checkrow input:checked + .mt-checkrow__box { background: var(--ok); border-color: var(--ok); }
.mt-checkrow input:checked + .mt-checkrow__box::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 700; }
.mt-checkrow input:focus-visible + .mt-checkrow__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.mt-checkrow b { display: block; }
.mt-checkrow small { display: block; font-size: 13px; color: var(--muted); }
.mt-note { margin: 0; padding: 12px 16px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* 범위 기준 · 인수인계 */
.mt-stamp { padding: 2px 10px; border: 1.5px solid var(--accent); border-radius: var(--r); color: var(--accent-ink); font-size: 12px; font-weight: 700; transform: rotate(-1.5deg); }
.mt-stamp--muted { border-color: var(--line-strong); color: var(--muted); transform: none; }
.mt-quota { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border: 1px solid var(--primary); border-radius: var(--r); background: var(--primary-soft); }
.mt-quota div { padding: 12px 16px; }
.mt-quota div + div { border-left: 1px solid #BFD3C7; }
.mt-quota dt { font-size: 12px; font-weight: 700; color: var(--primary); }
.mt-quota dd { margin: 2px 0 0; font-size: 14px; }
.mt-quota b { font-family: var(--mono); font-size: 18px; color: var(--primary); }
.mt-policy { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); }
.mt-policy__col { padding: 16px 20px 20px; }
.mt-policy__col + .mt-policy__col { border-left: 1px solid var(--line); }
.mt-policy__col h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 16px; }
.mt-policy__list { list-style: none; margin: 0; padding: 0; }
.mt-policy__list li { display: grid; grid-template-columns: 24px 96px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.mt-policy__no { font-family: var(--mono); color: var(--muted); }
.mt-policy__col--regular .mt-policy__no { color: var(--primary); }
.mt-policy__col--extra .mt-policy__no { color: var(--accent-ink); }
.mt-rules { padding: 16px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r); }
.mt-rules ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.mt-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; align-items: start; }
.mt-two > .mt-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.mt-progress { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.mt-progress b { color: var(--primary); }
.mt-meter { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.mt-meter span { display: block; height: 100%; width: 0; background: var(--primary); transition: width .2s; }
.mt-handover__week { margin: 0; font-size: 12px; font-weight: 700; color: var(--primary); letter-spacing: .04em; }
.mt-handover .mt-checks { padding: 0; }
.mt-two .mt-note { padding: 12px 0 0; }
.mt-report { border: 1px solid var(--line); background: #fff; padding: 20px; display: grid; gap: 16px; }
.mt-report__head { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 2px solid var(--text); }
.mt-report__kicker { margin: 0; font-size: 12px; color: var(--muted); }
.mt-report__title { margin: 0; font-size: 20px; }
.mt-report__meta { display: flex; gap: 16px; margin: 4px 0 0; font-size: 13px; }
.mt-report__meta div { display: flex; gap: 6px; }
.mt-report__meta dt { color: var(--muted); }
.mt-report__meta dd { margin: 0; font-family: var(--mono); }
.mt-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mt-table th { text-align: left; padding: 6px 8px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.mt-table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mt-table td small { display: block; color: var(--muted); font-size: 12px; }
.mt-report__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mt-report__grid h4 { margin: 0 0 6px; font-size: 13px; }
.mt-report__grid ul { margin: 0; padding-left: 16px; font-size: 13px; display: grid; gap: 2px; }

/* 공고 대응표 */
.mt-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  border: 1px solid var(--primary); border-radius: var(--r); background: var(--surface); color: var(--primary);
  font-weight: 700; cursor: pointer;
}
.mt-fab:hover { background: var(--primary-soft); }
.mt-dialog { width: min(600px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--text); }
.mt-dialog::backdrop { background: rgba(26, 31, 27, .35); }
.mt-dialog__body { padding: 20px; }
.mt-dialog__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.mt-dialog__title { margin: 0; font-size: 20px; }
.mt-mapping { list-style: none; margin: 0; padding: 0; }
.mt-mapping li { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.mt-mapping__show { color: var(--primary); font-weight: 600; text-decoration: none; }
.mt-mapping__show:hover { text-decoration: underline; }
.mt-dialog__foot { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

.demo-notice { max-width: 1200px; margin: 0 auto; padding: 0 24px 32px; font-size: 12px; color: var(--muted); text-align: center; }

@media (max-width: 1080px) {
  .mt-head { grid-template-columns: 1fr; align-items: start; }
  .mt-kpis { width: fit-content; }
  .mt-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-menu { grid-template-columns: minmax(0, 1fr) 320px; }
  .mt-two { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .mt-top__inner { height: auto; flex-wrap: wrap; gap: 0 12px; padding: 8px 16px 0; }
  .mt-brand__sub { display: none; }
  .mt-reset { margin-left: auto; }
  .mt-nav { order: 3; width: 100%; margin: 0 -16px; padding: 0 8px; overflow-x: auto; height: 44px; }
  .mt-nav__item { padding: 0 8px; white-space: nowrap; font-size: 14px; }
  .mt-main { padding: 20px 16px 88px; }
  .mt-wrap { gap: 24px; }
  .mt-h1 { font-size: 22px; }
  .mt-head { gap: 16px; padding-bottom: 20px; }
  .mt-kpis { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .mt-kpis div { min-width: 0; }
  .mt-kpis div:nth-child(3) { border-left: 0; }
  .mt-kpis div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mt-head > .mt-btn { width: 100%; }
  .mt-matrix { grid-template-columns: 1fr; }
  .mt-matrix__corner, .mt-matrix__col, .mt-matrix__row { display: none; }
  .mt-cell { border-left: 0; border-bottom: 1px solid var(--line); grid-template-areas: "label label" "ver status" "build build" "date date" "reqs reqs"; }
  .mt-matrix > .mt-cell:last-child { border-bottom: 0; }
  .mt-cell__label { display: block; grid-area: label; font-size: 13px; font-weight: 700; color: var(--muted); }
  .mt-board { grid-template-columns: 1fr; }
  .mt-col__list { min-height: 0; }
  .mt-drawer { width: 100vw; max-width: none; margin: auto 0 0; height: auto; max-height: 88vh; border-left: 0; border-top: 1px solid var(--line-strong); border-radius: 12px 12px 0 0; }
  .mt-drawer__body { padding: 16px 16px 24px; }
  .mt-facts { grid-template-columns: 1fr 1fr; width: 100%; }
  .mt-facts div:nth-child(3) { border-left: 0; }
  .mt-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mt-drawer__foot .mt-btn { flex: 1; }
  .mt-head--menu .mt-seg--app { width: 100%; }
  .mt-seg__btn { flex: 1; }
  .mt-menu { grid-template-columns: 1fr; }
  .mt-menu__left { display: contents; }
  .mt-panel--form { order: 1; }
  .mt-menu__right { position: static; order: 2; }
  .mt-panel--tree { order: 3; }
  .mt-menu__bottom { grid-template-columns: 1fr; }
  .mt-addform { grid-template-columns: 1fr; }
  .mt-phone { width: 280px; height: 520px; }
  .mt-tree { padding: 12px 12px 16px; }
  .mt-tree__flags { margin-left: 0; width: 100%; }
  .mt-diff__row { grid-template-columns: 16px 1fr auto; }
  .mt-diff__flags { grid-column: 2 / -1; }
  .mt-policy { grid-template-columns: 1fr; }
  .mt-quota { grid-template-columns: 1fr; }
  .mt-quota div + div { border-left: 0; border-top: 1px solid #BFD3C7; }
  .mt-policy__col + .mt-policy__col { border-left: 0; border-top: 1px solid var(--line); }
  .mt-policy__list li { grid-template-columns: 24px 1fr; }
  .mt-policy__list li span:last-child { grid-column: 2; color: var(--muted); }
  .mt-two > .mt-section { padding: 16px; }
  .mt-report { padding: 14px; }
  .mt-table thead { display: none; }
  .mt-table, .mt-table tbody, .mt-table tr, .mt-table td { display: block; width: 100%; }
  .mt-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; gap: 4px 8px; }
  .mt-table td { padding: 0; border: 0; }
  .mt-table td[data-label="내용"] { grid-column: 1 / -1; grid-row: 2; }
  .mt-table td[data-label="분류"] { grid-column: 3; grid-row: 1; justify-self: end; }
  .mt-table td[data-label="상태"] { grid-column: 2; grid-row: 1; color: var(--muted); }
  .mt-report__grid { grid-template-columns: 1fr; }
  .mt-fab { right: 16px; bottom: 16px; }
  .mt-mapping li { grid-template-columns: 1fr; gap: 4px; }
  .demo-notice { padding: 0 16px 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .mt *, .mt *::before, .mt *::after { animation: none !important; transition: none !important; }
}
