/* 색상은 업무 화면용 임시 값입니다. Roof. 공식 브랜드 컬러가 아닙니다. */
:root {
  --bg: #f3f1ec; --surface: #ffffff; --surface-2: #ebe8e1; --ink: #141414; --ink-2: #5b5852;
  --line: #d6d2c9; --accent: #ff5a1f; --ok: #1f8a4c; --warn: #b26b00; --danger: #d42a2a; --done: #3b5bdb;
  --skin: #e8c4a0; --floor: #e6e2d9; --desk: #c9b79c; --screen: #2b2b2b;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121212; --surface: #1c1c1c; --surface-2: #272727; --ink: #f2f0eb; --ink-2: #a8a49c;
    --line: #353535; --accent: #ff7a45; --ok: #4cc27f; --warn: #e0a84a; --danger: #ff5b5b; --done: #7c97ff;
    --skin: #d6b08a; --floor: #181818; --desk: #4a3f33; --screen: #0b0b0b;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.3);
  }
}
:root[data-theme="dark"] {
  --bg: #121212; --surface: #1c1c1c; --surface-2: #272727; --ink: #f2f0eb; --ink-2: #a8a49c;
  --line: #353535; --accent: #ff7a45; --ok: #4cc27f; --warn: #e0a84a; --danger: #ff5b5b; --done: #7c97ff;
  --skin: #d6b08a; --floor: #181818; --desk: #4a3f33; --screen: #0b0b0b;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.3);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 14px/1.5 system-ui, -apple-system, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; -webkit-text-size-adjust: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

/* 상단 */
.top { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 10px; padding: 10px 16px; flex-wrap: wrap; max-width: 1400px; margin: 0 auto; }
.brand { font-weight: 900; font-size: 22px; letter-spacing: -.02em; white-space: nowrap; }
.brand small { font-weight: 700; font-size: 13px; color: var(--ink-2); margin-left: 8px; letter-spacing: 0; }
.role { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.role select { font-weight: 800; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; }
.spacer { flex: 1; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-2); }
.badge.ok .dot { background: var(--ok); }
.badge.bad { color: var(--danger); border-color: var(--danger); }
.badge.bad .dot { background: var(--danger); }
.ghost { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 6px 10px; font-weight: 700; font-size: 13px; cursor: pointer; }
.kill { border: 2px solid var(--danger); background: var(--danger); color: #fff; font-weight: 800; padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 13px; }
.kill.on { background: transparent; color: var(--danger); }
.kill:disabled { opacity: .45; cursor: not-allowed; }
.halt-banner { background: var(--danger); color: #fff; font-weight: 700; text-align: center; padding: 8px 16px; }
.notice { background: var(--surface-2); color: var(--ink-2); font-size: 12px; text-align: center; padding: 6px 16px; border-bottom: 1px solid var(--line); }

/* 레이아웃 */
.wrap { max-width: 1400px; margin: 0 auto; padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 16px; align-items: start; }
.office { min-width: 0; background: var(--floor); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px; }
.office-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 16px 0 12px; flex-wrap: wrap; }
.office-head h1 { font-size: 16px; margin: 0; font-weight: 800; }
.office-head span { color: var(--ink-2); font-size: 12px; }
.floor { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; min-width: 0; }
.stat .k { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .v { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat.warn .v { color: var(--warn); }
.stat.danger .v { color: var(--danger); }

.station { position: relative; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 12px; cursor: pointer; box-shadow: var(--shadow); transition: transform .12s ease; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; text-align: center; }
.station:hover { transform: translateY(-2px); }
.station[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: -2px; }
.station.ceo { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.station.ceo .rl, .station.ceo .meta { color: var(--line); }
.station svg { width: 100%; max-width: 150px; height: auto; }
.station .nm { font-weight: 800; font-size: 14px; }
.station .rl { color: var(--ink-2); font-size: 12px; }
.station .meta { color: var(--ink-2); font-size: 11px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.station .bar { width: 100%; height: 5px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.station .bar i { display: block; height: 100%; background: var(--ok); }
.bubble { position: absolute; top: 8px; right: 8px; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.bubble.ok { background: var(--ok); color: #fff; border-color: transparent; }
.bubble.warn { background: var(--warn); color: #fff; border-color: transparent; }
.bubble.danger { background: var(--danger); color: #fff; border-color: transparent; }

/* 패널 */
.panel { position: sticky; top: 72px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); max-height: calc(100vh - 88px); display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.p-head { display: flex; gap: 12px; align-items: center; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.p-head .av { width: 52px; height: 52px; border-radius: 12px; background: var(--surface-2); flex: none; overflow: hidden; }
.p-head .av svg { width: 100%; height: 100%; }
.p-title { min-width: 0; }
.p-head h2 { margin: 0; font-size: 16px; }
.p-head p { margin: 0; color: var(--ink-2); font-size: 12px; }
.p-close { display: none; flex: none; white-space: nowrap; margin-left: auto; border: 0; background: var(--surface-2); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.tabs { display: flex; gap: 2px; padding: 6px 8px 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; background: transparent; padding: 8px 10px; font-size: 13px; font-weight: 700; color: var(--ink-2); border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.cnt { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; font-size: 11px; border-radius: 999px; background: var(--warn); color: #fff; text-align: center; }
.p-body { padding: 14px 16px 20px; overflow-y: auto; }
.p-body h3, .m-body h3 { font-size: 13px; margin: 16px 0 6px; }
.p-body h3:first-child, .m-body h3:first-child { margin-top: 0; }

/* 목록 */
.item { display: block; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; }
.item:hover { border-color: var(--ink-2); }
.item .t { font-weight: 800; display: flex; gap: 6px; align-items: baseline; }
.item .t span:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.item .sub { font-size: 12px; color: var(--ink-2); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.id { font-size: 11px; color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.progress { height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.progress i { display: block; height: 100%; background: var(--ink); }
.tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.tag.ok { color: var(--ok); border-color: var(--ok); background: transparent; }
.tag.warn { color: var(--warn); border-color: var(--warn); background: transparent; }
.tag.danger { color: var(--danger); border-color: var(--danger); background: transparent; }
.tag.done { color: var(--done); border-color: var(--done); background: transparent; }
.tag.muted { color: var(--ink-2); }
.late { color: var(--danger); font-weight: 800; }
.empty { border: 1px dashed var(--line); border-radius: 10px; padding: 16px; color: var(--ink-2); font-size: 13px; text-align: center; }
.info { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.info.warn { color: var(--warn); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.filters button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* 폼 */
form.f { display: grid; gap: 10px; }
.f label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.f input, .f select, .f textarea { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--ink); font-size: 14px; }
.f textarea { resize: vertical; min-height: 70px; }
.f .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f .row-inline { display: flex; gap: 10px; align-items: center; }
.f input[type="range"] { padding: 0; flex: 1; }
.f output { font-weight: 800; min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; }
.f fieldset { border: 0; padding: 0; margin: 0; }
.f fieldset:disabled { opacity: .55; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.primary { background: var(--ink); color: var(--bg); border: 1px solid var(--ink); border-radius: 8px; padding: 9px 14px; font-weight: 800; cursor: pointer; }
.primary:disabled { opacity: .5; cursor: not-allowed; }
.approve { background: var(--ok); border-color: var(--ok); color: #fff; }
.reject { background: transparent; color: var(--danger); border: 1px solid var(--danger); border-radius: 8px; padding: 9px 14px; font-weight: 800; cursor: pointer; }
.secondary.revise { color: var(--warn); border-color: var(--warn); font-weight: 800; }
.secondary { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px; font-weight: 700; cursor: pointer; }
.hint { font-size: 12px; color: var(--ink-2); margin: 0; }

/* 상세 */
.kv { display: grid; grid-template-columns: 84px 1fr; gap: 6px 10px; font-size: 13px; margin: 0 0 4px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.desc { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 12px 14px; font-size: 13px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink-2); }
.timeline li.ev-approved::before { border-color: var(--done); background: var(--done); }
.timeline li.ev-rejected::before { border-color: var(--danger); background: var(--danger); }
.timeline li.ev-submitted::before { border-color: var(--warn); background: var(--warn); }
.timeline .when { font-size: 11px; color: var(--ink-2); }
.timeline .note { white-space: pre-wrap; overflow-wrap: anywhere; }
.check { font-size: 13px; margin: 6px 0 0; padding-left: 18px; }
.check li { margin: 2px 0; }
.check.bad { color: var(--danger); }
.check.warnl { color: var(--warn); }
.caption { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-top: 6px; }
.disabled-feature { display: flex; align-items: center; gap: 8px; border: 1px dashed var(--line); border-radius: 10px; padding: 8px 10px; font-size: 12px; color: var(--ink-2); margin-top: 8px; }
.disabled-feature button { flex: none; white-space: nowrap; border: 1px solid var(--line); background: var(--surface-2); border-radius: 6px; padding: 4px 10px; font-size: 12px; opacity: .6; cursor: not-allowed; }

/* AI 직원 */
.ai-btn.ai-live { border-color: var(--done); color: var(--done); }
.ai-btn.ai-mock { border-style: dashed; }
.bubble.ai { background: var(--done); color: #fff; border-color: transparent; }
.tag.ai { color: #fff; background: var(--done); border-color: var(--done); }
.ai-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-top: 14px; background: var(--surface); }
.ai-box > h3:first-child { margin-top: 0; }
.ai-box form { margin-top: 8px; }
.primary.ai-live { background: var(--done); border-color: var(--done); color: #fff; }
.report { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface-2); border-radius: 10px; padding: 12px; font-size: 13px; line-height: 1.6; max-height: 420px; overflow-y: auto; }
.runs { list-style: none; margin: 0; padding: 0; }
.runs li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; display: grid; gap: 4px; }
.runs li:last-child { border-bottom: 0; }
.err { color: var(--danger); overflow-wrap: anywhere; }
.f label.chk { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 600; color: var(--ink); }
.f label.chk input { width: auto; margin-top: 3px; flex: none; }
code { font: 12px ui-monospace, Consolas, monospace; background: var(--surface-2); padding: 1px 4px; border-radius: 4px; }

/* AI 기획실 */
.station.planning { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 18px; text-align: left; border-style: dashed; border-width: 2px; padding: 12px 16px; }
.station.planning svg { max-width: 260px; flex: 0 1 260px; }
.station.planning .nm { font-size: 16px; }
.station.planning .nm, .station.planning .rl, .station.planning .meta { flex-basis: 100%; text-align: center; }
@media (min-width: 861px) { .station.planning { display: grid; grid-template-columns: 260px 1fr; align-items: center; justify-items: start; } .station.planning svg { grid-row: 1 / 4; } .station.planning .nm, .station.planning .rl, .station.planning .meta { text-align: left; } }
.station.planning[aria-pressed="true"] { outline-offset: -3px; }
.runs.mt li.syn { background: var(--surface-2); border-radius: 10px; padding: 8px; }
.days { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.linkbtn { border: 0; background: none; color: var(--done); font-weight: 800; cursor: pointer; padding: 0; text-decoration: underline; }
details.snap { margin-top: 12px; font-size: 13px; }
details.snap summary { cursor: pointer; font-weight: 700; color: var(--ink-2); }
.item .sub.err { color: var(--danger); }

/* 이력 */
.log { list-style: none; margin: 0; padding: 0; }
.log li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.log li:last-child { border-bottom: 0; }
.log .when { font-size: 11px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.log .sum { overflow-wrap: anywhere; }

/* 모달 */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; z-index: 60; padding: 16px; }
.modal .box { background: var(--surface); border-radius: 16px; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; overflow: hidden; }
.m-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.m-head h3 { margin: 0; font-size: 16px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.m-close { flex: none; white-space: nowrap; border: 0; background: var(--surface-2); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.m-body { padding: 14px 16px 20px; overflow-y: auto; }
.feat { width: 100%; border-collapse: collapse; font-size: 13px; }
.feat td { padding: 6px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.feat td:first-child { width: 78px; }
.code { font: 800 28px/1.2 ui-monospace, Consolas, monospace; letter-spacing: .15em; }
.url { font: 600 15px/1.4 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }

/* 접속 코드 */
.gate { position: fixed; inset: 0; background: var(--bg); z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; }
.gate-box { width: 100%; max-width: 360px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.gate-box h2 { margin: 6px 0 0; font-size: 18px; }
.gate-box p { margin: 0; font-size: 13px; color: var(--ink-2); }
.gate-box input { font: 800 24px/1 ui-monospace, Consolas, monospace; letter-spacing: .3em; text-align: center; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.gate-box .err { color: var(--danger); min-height: 1em; }
.gate-box input.plain { font: 500 15px/1.4 system-ui, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif; letter-spacing: 0; text-align: left; }

.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 90; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--danger); color: #fff; }

/* 반응형 */
@media (max-width: 1100px) {
  .wrap { grid-template-columns: minmax(0, 1fr) 380px; }
  .floor { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .wrap { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .office { padding: 12px; }
  .floor { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .floor .station.ceo { grid-column: 1 / -1; }
  .station svg { max-width: 110px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat .v { font-size: 18px; }
  .panel { position: fixed; left: 0; right: 0; bottom: 0; top: auto; max-height: 88vh; border-radius: 16px 16px 0 0; z-index: 40; transform: translateY(105%); transition: transform .2s ease; padding-bottom: env(safe-area-inset-bottom); }
  .panel.open { transform: translateY(0); }
  .p-close { display: block; }
  .scrim { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 30; }
  .scrim:not(.open) { display: none; }
  .brand small { display: none; }
  .modal { padding: 0; align-items: flex-end; }
  .modal .box { max-width: none; max-height: 92vh; border-radius: 16px 16px 0 0; }
}
@media (min-width: 861px) { .scrim { display: none; } }
@media (max-width: 420px) {
  .top-in { gap: 6px; padding: 8px 12px; }
  .kill, .ghost { padding: 5px 8px; font-size: 12px; }
  .f .two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* 브랜드크리에이티브본부 */
.division { grid-column: 1 / -1; border: 2px solid var(--ink); border-radius: 16px; background: var(--surface-2); padding: 10px; }
.div-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 2px 4px 10px; }
.div-head b { font-size: 15px; }
.div-head span { font-size: 12px; color: var(--ink-2); }
.div-floor { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.prod-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-top: 14px; }
.prod-box > h3:first-child { margin-top: 0; }
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.files li { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 8px; min-width: 0; }
.files li.excluded { opacity: .55; }
.thumb { width: 72px; height: 72px; flex: none; border-radius: 8px; object-fit: cover; background: var(--surface-2); }
.thumb.doc { display: flex; align-items: center; justify-content: center; font: 800 12px/1 ui-monospace, Consolas, monospace; color: var(--ink-2); }
.fmeta { min-width: 0; flex: 1; display: grid; gap: 3px; font-size: 13px; overflow-wrap: anywhere; }
.secondary.sm { padding: 4px 10px; font-size: 12px; }
.lbl { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.prod-fields { display: grid; gap: 8px; border: 1px dashed var(--line); border-radius: 10px; padding: 10px; }
.parts { display: grid; gap: 6px; margin-top: 4px; }
.part { background: var(--surface-2); border-radius: 8px; padding: 8px 10px; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.part b { display: block; font-size: 12px; margin-bottom: 2px; }
.part.objection { border-left: 4px solid var(--danger); }
.item.agenda { cursor: default; }
@media (max-width: 1100px) { .div-floor { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .division { padding: 8px; }
  .div-floor { gap: 10px; }
  .files li { flex-wrap: wrap; }
  .thumb { width: 56px; height: 56px; }
  .btns > button, .btns > .primary, .btns > .secondary, .btns > .reject { min-height: 44px; }
}
.btns > button { min-width: 64px; }
@media (max-width: 860px) { .btns > button { min-height: 44px; } }
