/* 출처: 디자인 저장소 docs/design/관리자/admin.css + screens.css(커밋 3500746) 복사. 글꼴 경로만 바꿈. 고치지 말고 배치는 styles.css에 둔다. */
/* 확정안 ① — 관리자 틀. 토큰·부품 이름은 DESIGN.md 「관리자」 절과 같다. */
@font-face { font-family: SUIT; src: url(/fonts/SUIT-Regular.ttf); font-weight: 400; }
@font-face { font-family: SUIT; src: url(/fonts/SUIT-Bold.ttf); font-weight: 700; }

:root {
  --bg: #F4F1EA; --surface: #FFFEFA; --group: #F6F2EA; --sunk: #EFEAE0;
  --ink: #2B2B2B; --walnut: #8B6F47; --walnut-ink: #755B38; --line: #D8D2C8; --muted: #6B665D; --danger: #8F3B2B;
  --ok-bg: #E3EEE5; --ok-fg: #2C5E43; --attn-bg: #F6E6CB; --attn-fg: #774C14; --off-bg: #ECE8E1; --off-fg: #57524A; --pend-bg: #E3EAF1; --pend-fg: #3C5874;
  --err-bg: #F8ECE8;
  --r-card: 14px; --r-ctl: 10px;
  --tap: 44px;                 /* 누르는 것은 모두 44px 이상 */
  --gap-group: 16px; --pad-group: 20px 24px;
  --t-press: 80ms; --t-change: 180ms; --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-w: 208px; --top-h: 60px; --panel-w: 480px;
}
* { box-sizing: border-box; }
html { font-family: SUIT, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: 'ss18'; font-size: 15px; }
body { margin: 0; }
::selection { background: rgba(139, 111, 71, .22); }
h1, h2, h3, p, dl, dd { margin: 0; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
/* 포커스: 진한 2px 고리 하나 */
:focus-visible, .is-focus { outline: 2px solid var(--ink) !important; outline-offset: 2px; }

/* 글자: 정보는 14px 이상, 13px은 묶음 제목만 */
.h1 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.h2 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.h3 { font-size: 15px; font-weight: 700; }
.sub { font-size: 14px; color: var(--muted); }
.lede { font-size: 15px; color: var(--muted); margin-top: 6px; }
.num { font-weight: 700; }
.money-out { color: var(--danger); }
/* 시안 표시: 점선 밑줄 = Store가 주는 값 */
.sv { text-decoration: underline dotted rgba(139, 111, 71, .75); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.legend-sv { position: absolute; top: 18px; right: 116px; font-size: 13px; color: var(--muted); background: var(--surface); padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); }
.legend-sv .sv { color: var(--walnut-ink); }

/* ---------- 틀 ---------- */
.shell { display: grid; grid-template-columns: var(--nav-w) minmax(0, 1fr); grid-template-rows: var(--top-h) 1fr; min-height: 100vh; position: relative; }
.top { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 0 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.top .mark { width: 30px; height: 30px; }
.top .who { font-weight: 700; }
.top .store { color: var(--muted); font-size: 14px; }
.top .spacer { flex: 1; }
.top .menu-btn { display: none; }
.nav { background: var(--surface); border-right: 1px solid var(--line); padding: 12px 10px; }
.nav .sec { margin: 18px 12px 4px; font-size: 13px; color: var(--muted); }
.nav a { display: flex; align-items: center; justify-content: space-between; min-height: var(--tap); padding: 0 12px; border-radius: var(--r-ctl); text-decoration: none; transition: background var(--t-change) var(--ease); }
.nav a:hover { background: var(--group); }
.nav a[aria-current] { background: var(--sunk); font-weight: 700; color: var(--walnut-ink); }
.nav .count { min-width: 24px; height: 24px; padding: 0 8px; border-radius: 12px; background: var(--attn-bg); color: var(--attn-fg); font-size: 13px; font-weight: 700; display: inline-grid; place-items: center; }
.main { padding: 32px 40px 48px; min-width: 0; position: relative; }
.page { max-width: 920px; margin: 0 auto; display: grid; gap: var(--gap-group); align-content: start; }
.page.wide { max-width: 1200px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: var(--tap); color: var(--walnut-ink); font-weight: 700; text-decoration: none; margin: -8px 0 -8px -6px; padding: 0 6px; border-radius: var(--r-ctl); }

/* ---------- 묶음 ---------- */
.group { background: var(--surface); border-radius: var(--r-card); padding: var(--pad-group); display: grid; gap: 12px; align-content: start; }
.group-title { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .01em; }
.group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--tap); margin: -8px 0 -4px; }
.groups { display: grid; gap: var(--gap-group); }

/* 누르는 줄: 줄 전체가 대상, 선 없음 */
.rows { display: grid; gap: 4px; margin: 0 -12px; }
.row { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 12px; border-radius: 10px; text-decoration: none; transition: background var(--t-change) var(--ease); }
.row:hover { background: var(--group); }
.row:active, .row.is-pressed { background: var(--sunk); }
.row-main { flex: 1; display: grid; gap: 3px; min-width: 0; }
.chev { color: #8E877B; display: flex; flex: none; }
.row.sel { background: #F1EBDF; box-shadow: inset 0 0 0 1px #E2D6C2; }

/* ---------- 꼬리표: Store status.tone + status.label 그대로 ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 11px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--ok-bg); color: var(--ok-fg); } .pill.attention { background: var(--attn-bg); color: var(--attn-fg); }
.pill.off { background: var(--off-bg); color: var(--off-fg); } .pill.pending { background: var(--pend-bg); color: var(--pend-fg); }

/* ---------- 버튼 3종 + 위험 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); min-width: var(--tap); padding: 0 18px; border-radius: var(--r-ctl); border: 1px solid transparent; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background var(--t-change) var(--ease), transform var(--t-press) var(--ease); }
.btn:active, .btn.is-pressed { transform: scale(.98); }
.btn.primary { background: var(--ink); color: #FFFEFA; min-width: 116px; }
.btn.primary:hover, .btn.primary.is-hover { background: #3A3936; }
.btn.secondary { background: var(--surface); border-color: #CFC7BA; }
.btn.secondary:hover, .btn.secondary.is-hover { background: var(--group); }
.btn.text { background: none; color: var(--walnut-ink); padding: 0 12px; }
.btn.text:hover, .btn.text.is-hover { background: var(--group); }
.btn.danger { background: var(--surface); border-color: #D9B9B1; color: var(--danger); }
.btn.block { width: 100%; min-height: 52px; font-size: 16px; }
.btn:disabled { background: var(--off-bg); border-color: transparent; color: #6E685E; cursor: default; transform: none; }
.btn:disabled:hover { background: var(--off-bg); }
.btn.text:disabled, .btn.text:disabled:hover { background: none; }
/* 처리 중: 누른 버튼은 제 모양 그대로, 글자만 「처리 중…」, 폭 유지 */
.btn[aria-busy="true"] { position: relative; color: transparent !important; cursor: progress; }
.btn[aria-busy="true"]::after { content: attr(data-busy); position: absolute; inset: 0; padding-left: 22px; display: inline-flex; align-items: center; justify-content: center; color: var(--busy-fg, var(--ink)); }
.btn.primary[aria-busy="true"] { --busy-fg: #FFFEFA; }
.btn[aria-busy="true"]::before { content: ""; position: absolute; left: calc(50% - 40px); top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 2px solid var(--busy-fg, var(--ink)); border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 입력 ---------- */
.field { display: grid; gap: 6px; }
.field > label, .label { font-size: 14px; font-weight: 700; }
.input, .select { min-height: var(--tap); padding: 0 14px; border: 1px solid #CFC7BA; border-radius: var(--r-ctl); background: var(--surface); font-size: 15px; }
.input.money { width: 180px; text-align: right; font-weight: 700; }
.input.is-error { border: 2px solid var(--danger); }
.field-error { font-size: 14px; color: var(--danger); font-weight: 700; }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%232B2B2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.select:disabled, .input:disabled { background-color: var(--off-bg); color: #6E685E; border-color: transparent; }
.switch { display: inline-flex; align-items: center; gap: 12px; min-height: var(--tap); cursor: pointer; font-weight: 700; border-radius: var(--r-ctl); }
.switch i { position: relative; width: 48px; height: 28px; border-radius: 14px; background: #B9B1A4; transition: background var(--t-change) var(--ease); flex: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform var(--t-change) var(--ease); }
.switch.on i { background: var(--ink); } .switch.on i::after { transform: translateX(20px); }
.switch.is-pressed i::after { width: 26px; }
.switch.disabled { color: #6E685E; cursor: default; } .switch.disabled i { background: #D9D3C8; }
.changed { font-size: 13px; font-weight: 700; color: var(--walnut-ink); background: #F3EADB; border-radius: 6px; padding: 2px 7px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { min-height: var(--tap); padding: 0 16px; border-radius: 999px; border: 1px solid transparent; background: var(--group); font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.chip.on { background: var(--ink); color: #FFFEFA; }
.chip.attn { background: var(--attn-bg); color: var(--attn-fg); }
.steps .chip:not(.on), .question .chip:not(.on) { background: var(--surface); border-color: #CFC7BA; }
.seg { display: inline-flex; background: var(--sunk); border-radius: 12px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; min-height: 40px; padding: 0 14px; border-radius: 9px; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.seg { min-height: var(--tap); }
.search { position: relative; display: block; }
.search .ico { position: absolute; left: 14px; top: 13px; color: var(--muted); }
.search .input { width: 100%; padding-left: 42px; background: var(--group); border-color: transparent; }

/* ---------- 상태 조각 ---------- */
.notice { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--attn-bg); color: var(--attn-fg); }
.notice .body { flex: 1; display: grid; gap: 3px; }
.notice .sub { color: var(--attn-fg); }
.notice.err { background: var(--err-bg); color: var(--danger); } .notice.err .sub { color: #7A3A2C; }
.notice.off { background: var(--off-bg); color: var(--off-fg); } .notice.off .sub { color: var(--off-fg); }
.notice .h3 { color: inherit; }
.empty { display: grid; gap: 12px; justify-items: start; padding: 20px; border-radius: 12px; background: var(--group); }
.skeleton { background: linear-gradient(90deg, var(--group) 0, var(--sunk) 50%, var(--group) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- 이름–값 ---------- */
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 12px 16px; align-items: center; }
.kv dt { color: var(--muted); font-size: 14px; }
.kv.tight { grid-template-columns: 110px 1fr; gap: 10px 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.spacer { flex: 1; }

/* ---------- 저장 막대: 바뀐 설정이 있을 때만 ---------- */
.savebar { position: sticky; bottom: 16px; display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: var(--r-card); padding: 12px 14px 12px 24px; box-shadow: 0 8px 24px rgba(43, 43, 43, .12); }
.savebar .txt { flex: 1; display: grid; gap: 2px; }

/* ---------- 옆 판: 매출 거래 상세 · 이용권 관리 두 곳만 ---------- */
.with-panel { display: grid; grid-template-columns: minmax(0, 1fr) var(--panel-w); gap: 24px; align-items: start; }
.panel { background: var(--surface); border-radius: var(--r-card); padding: 20px 22px 24px; display: grid; gap: 16px; align-content: start; box-shadow: 0 1px 0 var(--line); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.panel-head .sub { display: block; margin-bottom: 2px; }
.panel .pill { justify-self: start; }
.panel-back { display: none; }
.scrim { display: none; }
.question { display: grid; gap: 12px; padding: 18px; border-radius: 12px; background: var(--group); }
.question .lookup { font-size: 14px; color: var(--muted); }
.answer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sum { display: grid; gap: 8px; font-size: 15px; }
.sum > div { display: flex; justify-content: space-between; gap: 12px; }
.sum .tot { padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; font-size: 17px; }
.steps { display: grid; gap: 18px; padding: 18px; background: var(--group); border-radius: 12px; }
.memo { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); color: var(--walnut-ink); font-weight: 700; }
.done-line { display: grid; gap: 4px; padding: 16px; border-radius: 12px; background: var(--ok-bg); color: var(--ok-fg); }

/* 1600 미만: 옆 판은 목록 위에 덮는다 */
@media (max-width: 1599px) {
  .with-panel { display: block; }
  .with-panel > .panel { position: absolute; top: 0; right: 0; bottom: 0; width: var(--panel-w); border-radius: 0; box-shadow: -12px 0 32px rgba(43,43,43,.14); overflow: auto; z-index: 3; }
  .with-panel > .scrim { display: block; position: absolute; inset: 0; background: rgba(43, 43, 43, .18); z-index: 2; }
}
/* 1200 이하: 옆 판은 전체 화면, 뒤로 가기로 목록 */
@media (max-width: 1200px) {
  .with-panel > .panel { position: static; width: auto; box-shadow: none; border-radius: var(--r-card); }
  .with-panel.open > :not(.panel) { display: none; }
  .with-panel > .scrim { display: none; }
  .panel-back { display: inline-flex; }
  .main { padding: 24px 24px 40px; }
}
/* 휴대폰: 메뉴는 머리띠의 [메뉴] 단추로, 줄은 두 줄로 */
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .nav { display: none; }
  .top .menu-btn { display: inline-flex; }
  .top .store, .legend-sv { display: none; }
  .main { padding: 16px 16px 32px; }
  .group { padding: 16px; }
  .row { flex-wrap: wrap; row-gap: 6px; }
  .row-main { flex-basis: calc(100% - 40px); }
  .row .pill { order: 3; margin-left: 0; }
  .row .chev { order: 2; }
  .page-head { align-items: flex-start; }
  .h1 { font-size: 22px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 8px; }
  .answer { grid-template-columns: 1fr; }
  .savebar { flex-wrap: wrap; padding: 12px 16px; }
}

.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
  .btn:active { transform: none; }
}
/* 시안 화면 배치. 구현 때는 frame.css 부품으로 옮기고 화면별 CSS에 폭·열·여백을 새로 적지 않는다. */
.page.narrow { max-width: 760px; }
.w-m { width: 320px; max-width: 100%; }
.fold summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: var(--tap); cursor: pointer; margin: -10px 0; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary .sub { flex: 1; }
.fold[open] summary .ico { transform: rotate(180deg); }

/* 설정 홈: 1600 이상 2열 */
@media (min-width: 1600px) { .page.settings { max-width: 1400px; } .settings .groups { grid-template-columns: 1fr 1fr; align-items: start; } }

/* 매출·환불 */
.band { background: var(--attn-bg); }
.band .group-title { color: var(--attn-fg); }
.band .row:hover { background: rgba(255,255,255,.45); }
.band-ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.6); color: var(--attn-fg); display: grid; place-items: center; flex: none; }
.ledger-top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-group); }
.stats { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.stat { display: grid; gap: 4px; }
.stat .num { font-size: 22px; }
.stat.big { grid-column: 1 / -1; }
.stat.big .num { font-size: 32px; color: var(--walnut-ink); }
.methods .m { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; min-height: 36px; }
.methods .m .num { min-width: 100px; text-align: right; }
.row.tx { display: grid; grid-template-columns: 52px minmax(0, 1fr) 110px 200px 20px; }
.row.tx .t { font-weight: 700; color: var(--muted); }
.row.tx .amt { text-align: right; }
.row.tx .pill { justify-self: start; }
.row.tx.is-refund .row-main { padding-left: 18px; }
@media (min-width: 1600px) { .page.ledger { max-width: 1400px; } .with-panel .page.ledger { max-width: none; } }
@media (min-width: 1600px) and (max-width: 99999px) { .with-panel .ledger-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1200px) { .ledger-top { grid-template-columns: 1fr; } .row.tx { grid-template-columns: 52px minmax(0, 1fr) 100px 20px; } .row.tx .pill { grid-column: 2 / 4; grid-row: 2; } .row.tx .chev { grid-row: 1; grid-column: 4; } }
@media (max-width: 760px) {
  .page-head > div, .page-head .actions { width: 100%; min-width: 0; } .page-head .actions { display: grid; } .seg { overflow-x: auto; max-width: 100%; justify-self: stretch; } .seg button { white-space: nowrap; }
  .row.tx { grid-template-columns: 44px minmax(0, 1fr) 20px; } .row.tx .amt { grid-column: 2; grid-row: 2; text-align: left; } .row.tx .pill { grid-column: 2; grid-row: 3; } .row.tx .chev { grid-column: 3; grid-row: 1; }
  .stats { grid-template-columns: 1fr 1fr; } .methods .m .num { min-width: 0; }
}

/* 이용권 관리 */
.ent-page { max-width: 920px; }
.with-panel .ent-page { margin: 0; }
.member-pick { display: flex; align-items: center; gap: 12px; }
.row .dd { min-width: 48px; text-align: right; }
.work { display: flex; flex-wrap: wrap; gap: 6px; }
.work-tab { min-height: var(--tap); padding: 0 14px; border-radius: var(--r-ctl); border: 1px solid #CFC7BA; background: var(--surface); font-size: 15px; font-weight: 700; cursor: pointer; }
.work-tab[aria-selected="true"] { background: var(--ink); color: #FFFEFA; border-color: var(--ink); }
.money-row { display: flex; align-items: center; gap: 8px; }
.pay-pick { margin: 0; }
.pay-pick .row { cursor: pointer; background: var(--surface); }
.pay-pick input { width: 20px; height: 20px; accent-color: var(--ink); }
@media (max-width: 760px) { .member-pick { flex-wrap: wrap; } .input.money { width: 100%; } }

/* 회원 상세 */
.hero { padding: 24px; gap: 14px; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; }
.phone { color: var(--muted); font-weight: 400; margin-left: 8px; }
.now-state { font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin: 10px 0 2px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; color: var(--muted); }
.two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--gap-group); align-items: start; }
.col { display: grid; gap: var(--gap-group); }
.ent-list { display: grid; gap: 8px; }
.ent { background: var(--group); border-radius: 12px; padding: 8px 12px 14px; display: grid; gap: 8px; }
.ent-top { display: flex; align-items: center; gap: 12px; min-height: 56px; text-decoration: none; border-radius: 10px; padding: 0 4px; }
.list { display: grid; }
.li { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; min-height: var(--tap); }
.li.pay { grid-template-columns: 70px 1fr auto auto; }

/* 상태 모음 */
.sheet { max-width: 1360px; }
.sheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.state { display: grid; gap: 8px; align-content: start; }
.state-label { font-size: 14px; font-weight: 700; color: var(--walnut-ink); background: #FBF3E3; border-radius: 8px; padding: 6px 10px; justify-self: start; }
.state .savebar { position: static; }
.state .panel { position: static !important; width: auto !important; }
.locked { justify-items: center; text-align: center; padding: 40px 24px; color: var(--muted); }
.locked .h3 { color: var(--ink); }
.dialog-demo { background: rgba(43,43,43,.18); border-radius: var(--r-card); padding: 32px; display: grid; place-items: center; }
.dialog { background: var(--surface); border-radius: 16px; padding: 24px; display: grid; gap: 14px; width: 420px; max-width: 100%; box-shadow: 0 16px 40px rgba(43,43,43,.2); }
.actions.end { justify-content: flex-end; }
.modal-scrim { position: absolute; inset: 0; background: rgba(43,43,43,.32); display: grid; place-items: center; z-index: 10; }
.swatches { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; }
.swatch { display: grid; gap: 4px; }
.swatch i { height: 44px; border-radius: 10px; border: 1px solid var(--line); }
.type { display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap; }
.btn-grid { display: grid; grid-template-columns: 90px repeat(6, minmax(0, 1fr)); gap: 12px; align-items: center; justify-items: start; }
.widths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.widths > div { display: grid; gap: 4px; padding: 14px; border-radius: 12px; background: var(--group); }
.parts .two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-group); }
.fold[open] { gap: 16px; }
.fold[open] summary { margin-bottom: 0; }
