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

html, body {
  height: 100%;
  font-family: 'Pretendard', 'Segoe UI', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
}
a { color: inherit; }
button, input, select { font-family: inherit; }

/* ---------- header ---------- */
header {
  height: 52px;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px var(--shadow);
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  gap: 14px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14.5px; color: var(--text);
  white-space: nowrap; cursor: pointer; padding: 4px 8px; border-radius: 6px;
  transition: background .15s;
}
.logo:hover { background: var(--hover-surface); }
.logo-icon {
  width: 28px; height: 28px; background: var(--accent); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0;
  color: #fff;
}
.logo-icon-img {
  width: 28px; height: 28px; border-radius: 6px; object-fit: contain; flex-shrink: 0; display: block;
}

.app-nav { display: flex; gap: 2px; margin-right: auto; flex-wrap: nowrap; }
.app-nav-btn {
  padding: 7px 12px; font-size: 13px; font-weight: 600; border-radius: 7px; cursor: pointer;
  border: 1px solid transparent; background: transparent; color: var(--muted);
  display: flex; align-items: center; gap: 5px; transition: all .15s; white-space: nowrap;
}
.app-nav-btn:hover { color: var(--text); background: var(--hover-surface); }
.app-nav-btn.active { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-soft-border); }

.h-tools { display: flex; align-items: center; gap: 8px; }
.search-wrap { position: relative; }
.search-wrap input {
  background: var(--input-bg); border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 12px 6px 32px; color: var(--text); font-size: 13px; outline: none; width: 180px;
}
.search-wrap input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-wrap input::placeholder { color: var(--muted); }
.search-ico { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 13px; pointer-events: none; }

.h-btn {
  padding: 5px 11px; font-size: 12.5px; border-radius: 5px; cursor: pointer;
  border: 1px solid var(--border); background: var(--input-bg); color: var(--text);
  transition: all .15s; white-space: nowrap;
}
.h-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.h-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); font-weight: 700; }

/* ---------- subbar ---------- */
.subbar {
  position: fixed; top: 52px; left: 0; right: 0; z-index: 90;
  background: var(--header-bg); border-bottom: 1px solid var(--border);
  padding: 0 20px; min-height: 40px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.st-tab {
  display: flex; align-items: center; gap: 5px; padding: 5px 14px; font-size: 13px; font-weight: 600;
  border-radius: 7px; cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--muted);
  transition: all .15s;
}
.st-tab:hover { border-color: var(--accent); color: var(--accent); }
.st-tab.active { color: #fff; }
.fb-chip {
  display: flex; align-items: center; gap: 5px; padding: 3px 12px; font-size: 13px; border-radius: 20px;
  cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--muted); transition: all .15s;
}
.fb-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.fb-chip.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.fb-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.fb-count { margin-left: auto; font-size: 12px; color: var(--muted); }
.sep-v { width: 1px; height: 20px; background: var(--border); margin: 0 2px; }
.subbar-note { font-size: 13px; color: var(--muted); }

/* ---------- page / layout ---------- */
.page { padding-top: 92px; min-height: 100vh; }
.view { display: none; }
.view.active { display: block; }
.content-pad { padding: 20px; }

/* .split-panel is a normal (non-sticky) flex item whose height stretches to
   match .split-main via align-items: stretch -- this gives the sticky inner
   panel (.split-panel-sticky) a "track" as tall as the left column to stick
   within, so the detail panel keeps following the viewport all the way down
   to wherever .split-main's content (and footer) actually ends, instead of
   losing its stickiness after one screen's worth of scroll. min-height keeps
   it at least one viewport tall even when .split-main is short. */
.split-wrap { display: flex; align-items: stretch; --panel-w: 460px; }
.split-main { flex: 1; min-width: 0; }
.split-panel {
  /* overflow: clip (not hidden) -- clips the collapsed-width content exactly
     like hidden would, but unlike hidden it does NOT establish a scroll
     container. hidden was making this the nearest "scrolling ancestor" for
     .split-panel-sticky's position:sticky below, which made its `top: 92px`
     resolve relative to *this* box instead of the viewport -- stacking an
     extra ~92px of blank space above the panel's content on top of the
     page's own 92px header offset. */
  width: 0; overflow: clip; flex-shrink: 0; min-height: calc(100vh - 92px);
  border-left: 1px solid var(--border); background: var(--card); transition: width .2s;
}
.split-wrap.open .split-panel { width: var(--panel-w); }
.split-wrap.resizing .split-panel { transition: none; }
.split-panel-sticky { position: sticky; top: 92px; height: calc(100vh - 92px); }
.split-panel-inner { width: var(--panel-w); height: 100%; overflow-y: auto; overflow-x: hidden; padding: 22px 24px; position: relative; }
.split-resize-handle {
  position: absolute; left: -4px; top: 0; width: 8px; height: 100%; cursor: col-resize; z-index: 5; touch-action: none;
}
.split-resize-handle::after {
  content: ''; position: absolute; left: 3px; top: 0; width: 2px; height: 100%; background: transparent; transition: background .15s;
}
.split-resize-handle:hover::after, .split-wrap.resizing .split-resize-handle::after { background: var(--accent); }

/* ---------- matrix (lifecycle view) ---------- */
.matrix-pad { padding: 20px; }
.matrix-cols { display: grid; gap: 12px; align-items: start; grid-auto-columns: minmax(0,1fr); }
.matrix-cols > div { min-width: 0; }
.col-head { border-radius: 10px; padding: 14px; margin-bottom: 10px; cursor: pointer; transition: all .15s; }
.col-head:hover { box-shadow: 0 3px 12px var(--shadow); }
.ch-label { font-size: 11px; font-weight: 700; opacity: .75; letter-spacing: .5px; margin-bottom: 5px; font-family: 'Consolas', monospace; }
.ch-title { font-size: 15px; font-weight: 700; line-height: 1.35; overflow-wrap: break-word; }
.ch-count { font-size: 12px; opacity: .65; margin-top: 6px; }
.sec-head {
  background: var(--hover-surface); border: 1px solid var(--border); border-radius: 6px; padding: 7px 10px;
  margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .2px; cursor: pointer; transition: all .15s;
}
.sec-head:hover { border-color: var(--accent); color: var(--accent); }
.tech-card {
  border-radius: 7px; border: 1px solid var(--border); background: var(--card); padding: 9px 11px; margin-bottom: 4px;
  cursor: pointer; transition: all .15s; border-left-width: 3px; position: relative;
}
.tech-card:hover { background: var(--hover-surface); transform: translateY(-1px); box-shadow: 0 3px 10px var(--shadow); }
.tech-card.selected { background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent) inset; }
.tc-code { font-size: 10.5px; color: var(--muted); margin-bottom: 3px; font-weight: 700; font-family: 'Consolas', monospace; }
.tc-name { font-size: 13px; color: var(--text); line-height: 1.4; font-weight: 500; overflow-wrap: break-word; }
.tc-badge { position: absolute; top: 8px; right: 8px; font-size: 10px; padding: 1px 6px; border-radius: 10px; font-weight: 600; }
.tc-has-l4 { background: rgba(124,58,237,.12); color: #7c3aed; }

/* ---------- detail panel ---------- */
.dp-close {
  position: absolute; top: 22px; right: 24px; border: 1px solid var(--border); background: var(--input-bg);
  border-radius: 6px; padding: 3px 9px; font-size: 13px; cursor: pointer; color: var(--muted); z-index: 2;
}
.dp-close:hover { color: var(--text); border-color: var(--muted); }
.dp-id { font-family: 'Consolas', monospace; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .3px; margin-bottom: 6px; }
.dp-title { font-size: 20px; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 10px; padding-right: 64px; }
.dp-crumb-row { font-size: 12.5px; margin-bottom: 14px; color: var(--muted); }
.dp-crumb-link { color: var(--accent); cursor: pointer; font-weight: 700; font-family: 'Consolas', monospace; }
.dp-crumb-link:hover { text-decoration: underline; }
.dp-crumb-sep { color: var(--muted); margin: 0 5px; }
.dp-level { border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; background: var(--hover-surface); margin-bottom: 18px; line-height: 1.7; font-size: 12.5px; color: var(--text); }
.dp-level-label { font-size: 10.5px; font-weight: 700; letter-spacing: .5px; margin-bottom: 3px; }
.dp-level-name { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.dp-level-desc { font-size: 12px; line-height: 1.6; color: var(--muted); }
.dp-note { margin-top: 8px; padding: 8px 10px; background: rgba(217,119,6,.12); border: 1px solid rgba(217,119,6,.35); border-radius: 6px; font-size: 12px; color: #b45309; }
.dp-sec-title {
  font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .4px; text-transform: uppercase;
  margin: 20px 0 10px; display: flex; align-items: center; gap: 8px; user-select: none;
}
.dp-sec-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* collapsible references/tools sections in the detail panel */
.dp-collapse { margin: 20px 0 10px; }
.dp-collapse > summary {
  cursor: pointer; list-style: none; user-select: none;
  font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .4px; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.dp-collapse > summary::-webkit-details-marker { display: none; }
.dp-collapse > summary::before {
  content: '▸'; display: inline-block; font-size: 10px; color: var(--muted); transition: transform .15s; flex-shrink: 0;
}
.dp-collapse[open] > summary::before { transform: rotate(90deg); }
.dp-collapse > summary::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.dp-collapse-body { margin-top: 10px; }
.dp-child {
  border: 1px solid var(--border); border-radius: 7px; padding: 9px 11px; margin-bottom: 6px; cursor: pointer; transition: all .15s;
}
.dp-child:hover { background: var(--hover-surface); box-shadow: 0 2px 8px var(--shadow); }
.dp-child-id { font-family: 'Consolas', monospace; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.dp-child-name { font-size: 13.5px; font-weight: 600; color: var(--text); }
.dp-child-count { font-size: 11px; color: var(--muted); margin-top: 3px; }
.dp-ref-item { border: 1px solid var(--border); border-radius: 7px; padding: 9px 11px; margin-bottom: 6px; cursor: pointer; transition: all .15s; }
.dp-ref-item:hover { border-color: var(--accent); background: var(--hover-surface); }
.dp-ref-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 3px; }
.dp-ref-meta { font-size: 11.5px; color: var(--muted); }
.dp-empty { font-size: 12px; color: var(--muted); font-style: italic; padding: 10px 0; }

.type-badge { font-size: 11px; padding: 2px 7px; border-radius: 20px; font-weight: 700; white-space: nowrap; background: var(--accent-soft); color: var(--accent); }
.leaf-tag-lg {
  font-size: 12px; padding: 6px 13px; border-radius: 7px; font-family: 'Consolas', monospace; font-weight: 700;
  cursor: pointer; border: 1px solid transparent; display: inline-flex; align-items: center; gap: 5px; transition: all .15s;
}
.leaf-tag-lg:hover { filter: brightness(.95); transform: translateY(-1px); box-shadow: 0 2px 6px var(--shadow); }
.rt-group { margin-bottom: 14px; }
.rt-group:last-child { margin-bottom: 0; }
.rt-label { font-size: 10.5px; font-weight: 700; color: var(--muted); letter-spacing: .4px; text-transform: uppercase; margin-bottom: 7px; }
.rt-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ref-kw-tag {
  font-size: 11px; padding: 4px 10px; border-radius: 20px; font-weight: 600;
  background: var(--hover-surface); color: var(--muted); border: 1px solid var(--border); display: inline-block;
}

/* ---------- tables / lists ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.tab-search { background: var(--input-bg); border: 1px solid var(--border); border-radius: 5px; padding: 4px 10px; color: var(--text); font-size: 13px; outline: none; width: 180px; }
.tab-select { background: var(--input-bg); border: 1px solid var(--border); border-radius: 5px; padding: 4px 8px; color: var(--text); font-size: 12px; outline: none; }
.table-wrap { border: 1px solid var(--border); border-radius: 8px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { background: var(--hover-surface); padding: 8px 12px; text-align: left; font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .4px; text-transform: uppercase; border-bottom: 1px solid var(--border); }
td { padding: 8px 12px; font-size: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; word-break: break-word; overflow-wrap: anywhere; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--hover-surface); }
.leaf-tag { font-size: 10.5px; padding: 2px 7px; border-radius: 5px; font-family: 'Consolas', monospace; font-weight: 700; cursor: pointer; border: 1px solid transparent; display: inline-block; margin: 1px; }
.title-link { background: none; border: none; padding: 0; margin: 0; font-size: 12.5px; font-weight: 600; color: var(--text); text-align: left; cursor: pointer; line-height: 1.4; }
.title-link:hover { color: var(--accent); text-decoration: underline; }

.pg-bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 12px 0; }
.pg-info { font-size: 12px; color: var(--muted); }
.pg-bar .btn[disabled] { opacity: .35; cursor: not-allowed; pointer-events: none; }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.tool-card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 14px; transition: all .15s; cursor: default; overflow: hidden; }
.tool-card.clickable { cursor: pointer; }
.tool-card:hover { border-color: var(--accent); box-shadow: 0 2px 8px var(--shadow); }
.tc2-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; gap: 8px; }
.tc2-name { font-size: 14px; font-weight: 600; color: var(--text); overflow-wrap: break-word; word-break: break-word; min-width: 0; flex: 1; }
.tc2-desc { font-size: 12px; color: var(--muted); margin-bottom: 9px; line-height: 1.5; overflow-wrap: break-word; word-break: break-word; }
.tc2-meta { font-size: 11px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; overflow-wrap: break-word; word-break: break-word; min-width: 0; }
.tc2-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.empty { text-align: center; padding: 48px; color: var(--muted); }
.empty-icon { font-size: 33px; margin-bottom: 10px; }

@media (max-width: 1300px) { .matrix-cols { grid-template-columns: repeat(3, minmax(0,1fr)) !important; } }
@media (max-width: 900px) { .matrix-cols { grid-template-columns: repeat(2, minmax(0,1fr)) !important; } .split-wrap.open .split-panel { width: 100%; position: fixed; inset: 92px 0 0 0; z-index: 150; } .split-panel-inner { width: 100%; } .split-resize-handle { display: none; } }

.btn { padding: 6px 14px; font-size: 13px; border-radius: 6px; cursor: pointer; border: none; font-weight: 500; transition: all .15s; display: inline-flex; align-items: center; gap: 4px; }
.btn-primary { background: var(--accent); color: #fff; text-decoration: none; border: 1px solid var(--accent); }
.btn-primary:hover { filter: brightness(.92); }
.btn-secondary { background: var(--input-bg); color: var(--text); border: 1px solid var(--border); text-decoration: none; }
.btn-secondary:hover { border-color: var(--muted); }
.btn-sm { padding: 4px 10px; font-size: 12px; }

.lc-heading { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .4px; text-transform: uppercase; margin-bottom: 4px; }
.lc-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

.lang-toggle, .theme-toggle { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.lang-toggle button, .theme-toggle button {
  padding: 5px 9px; font-size: 12px; border: none; background: var(--input-bg); color: var(--muted); cursor: pointer; transition: all .15s;
}
.lang-toggle button.active, .theme-toggle button.active { background: var(--accent); color: #fff; }

footer.app-footer { text-align: center; padding: 24px; font-size: 11.5px; color: var(--muted); }
footer.app-footer a { color: var(--accent); }

/* ---------- targets (대상) tag pills -- reuse the existing objective color
   variables so axis colors stay consistent with the rest of the app and
   automatically follow light/dark theme, without adding new variables. ---------- */
.tag-pill { font-size: 10.5px; padding: 3px 9px; border-radius: 6px; font-weight: 700; display: inline-block; margin: 1px 4px 1px 0; white-space: nowrap; }
.tag-pill-Dev { background: color-mix(in srgb, var(--c-pre) 15%, transparent); color: var(--c-pre); }
.tag-pill-FS { background: color-mix(in srgb, var(--c-idc) 15%, transparent); color: var(--c-idc); }
.tag-pill-OS { background: color-mix(in srgb, var(--c-col) 15%, transparent); color: var(--c-col); }
.tag-pill-APP { background: color-mix(in srgb, var(--c-anl) 15%, transparent); color: var(--c-anl); }
.tag-pill-CLOUD { background: color-mix(in srgb, var(--c-cmn) 15%, transparent); color: var(--c-cmn); }
.tag-pill-OTHER { background: var(--hover-surface); color: var(--muted); }

/* ---------- target detail: collection/examination artifact blocks ---------- */
.artifact-block { border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; }
.artifact-block:last-child { margin-bottom: 0; }
.artifact-name { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.artifact-fields { display: flex; flex-direction: column; gap: 7px; }
.af-row { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 10px; font-size: 12px; line-height: 1.6; }
.af-key { color: var(--muted); font-weight: 600; }
.af-val { color: var(--text); word-break: break-word; overflow-wrap: anywhere; min-width: 0; }
.af-val p { margin-bottom: 4px; }
.af-val p:last-child { margin-bottom: 0; }
.af-val code, .dp-level code { font-family: 'Consolas', monospace; background: var(--hover-surface); padding: 1px 5px; border-radius: 4px; font-size: 11px; }
.md-list { margin: 2px 0 4px 18px; }
.md-list li { margin-bottom: 3px; }
.code-block { background: var(--hover-surface); border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; font-size: 11.5px; font-family: 'Consolas', monospace; overflow-x: auto; margin: 6px 0; line-height: 1.5; }
.code-block code { white-space: pre; }
@media (max-width: 900px) { .af-row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- tool detail (markdown-sourced): "분석 대상"/"주요 기능" feature
   cards -- same bordered-card language as .artifact-block above, so a
   headed group (e.g. "대상 OS", "Magnet Outrider") reads as a distinct
   block instead of one long nested bullet list. ---------- */
.tool-feat-card { border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; }
.tool-feat-card:last-child { margin-bottom: 0; }
.tool-feat-title { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.tool-feat-list, .tool-feat-flat { margin: 0; padding-left: 18px; }
.tool-feat-list li, .tool-feat-flat li { font-size: 12px; line-height: 1.6; color: var(--text); margin-bottom: 5px; }
.tool-feat-list li:last-child, .tool-feat-flat li:last-child { margin-bottom: 0; }
.tool-feat-list ul { margin: 4px 0 2px 16px; }
.tool-feat-flat { margin-bottom: 10px; }
.tool-feat-flat:last-child { margin-bottom: 0; }

/* ---------- Tree Explorer (트리 탐색) ---------- */
.tree-col-head { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .4px; text-transform: uppercase; margin-bottom: 8px; }
.tree-leaf { margin: 0; }
.tree-leaf-match { box-shadow: 0 0 0 2px var(--accent) inset; }
.tree-leaf-dim { opacity: .35; }

/* ---------- Tree Explorer -- filter-chip chain view ---------- */
.tree-explorer-layout { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.tree-filter-col { display: flex; flex-direction: column; min-width: 0; }
.tree-results-col { min-width: 0; }
@media (max-width: 900px) { .tree-explorer-layout { grid-template-columns: 1fr; } }
.tree-chip-pool { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.tree-chip-axis { }
.tree-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tree-chip {
  cursor: grab; display: inline-flex; align-items: center; gap: 6px; user-select: none;
  border: 1px solid transparent; transition: all .15s;
}
.tree-chip:hover:not(.tree-chip-disabled) { border-color: currentColor; box-shadow: 0 2px 6px var(--shadow); }
.tree-chip-disabled { opacity: .3; cursor: not-allowed; }
.tree-chip-count { font-size: 9.5px; font-weight: 800; opacity: .75; }
.tree-chip-active {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 48px;
  border: 2px dashed var(--border); border-radius: 10px; padding: 10px 12px; background: var(--hover-surface);
  margin: 10px 0 18px;
}
.tree-chip-placeholder { font-size: 12.5px; color: var(--muted); }
.tree-chip-active-item { cursor: grab; padding-right: 6px; box-shadow: 0 0 0 1px currentColor inset; }
.tree-chip-active-item:active { cursor: grabbing; }
.tree-chip-remove {
  background: none; border: none; cursor: pointer; color: inherit; font-size: 10px; opacity: .7;
  padding: 0 0 0 2px; line-height: 1;
}
.tree-chip-remove:hover { opacity: 1; }
.tree-chip-leaves { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 10px; }
