/* =========================================================
   고수 통합 작업실 — app.css
   색: 코발트 #1A5CFF 한 가지 + 남색 #0B1B45 + 흰·회색 (노랑 금지)
   글꼴: Pretendard (index.html 에서 불러옴 — DESIGN.md 참고)
   ========================================================= */

/* ---------- 1. 토큰 (밝은 테마 기본) ---------- */
:root {
  color-scheme: light;

  /* 브랜드 */
  --brand: #1A5CFF;          /* 코발트 — 주 버튼·선택·링크 */
  --brand-hover: #134BE0;
  --brand-press: #0F3DB8;
  --brand-soft: #EEF3FF;     /* 옅은 코발트 바탕 (선택된 줄·배지) */
  --brand-line: #C9D8FF;
  --navy: #0B1B45;           /* 남색 — 사이드바·로그인 패널·제목 */
  --navy-2: #13275E;         /* 남색 위 hover */
  --navy-3: #1C3272;         /* 남색 위 선 */

  /* 바탕·면 */
  --bg: #F4F6FA;             /* 페이지 바탕 */
  --surface: #FFFFFF;        /* 카드·표·모달 */
  --surface-2: #F8F9FC;      /* 카드 안 옅은 칸, 표 머리 */
  --line: #E4E8F0;           /* 기본 선 */
  --line-strong: #CFD6E3;

  /* 글자 */
  --text: #0E1629;           /* 본문 */
  --text-2: #4A5470;         /* 보조 */
  --text-3: #8891A7;         /* 흐린 설명·placeholder */
  --on-brand: #FFFFFF;

  /* 상태 (배지 전용 — 넓은 면적에 쓰지 않는다) */
  --ok: #0F8A5F;   --ok-soft: #E7F6EF;
  --bad: #D93036;  --bad-soft: #FDECEC;
  --mute-soft: #EEF0F5;

  /* 사이드바 (밝은 테마에서도 남색) */
  --side-bg: var(--navy);
  --side-text: #B9C3DD;
  --side-text-strong: #FFFFFF;
  --side-hover: var(--navy-2);
  --side-active-bg: rgba(26, 92, 255, .22);
  --side-line: var(--navy-3);

  /* 모양 */
  --r-sm: 6px;  --r: 10px;  --r-lg: 14px;  --r-xl: 20px;  --r-full: 999px;
  --sh-1: 0 1px 2px rgba(11, 27, 69, .06);
  --sh-2: 0 1px 2px rgba(11, 27, 69, .05), 0 4px 14px rgba(11, 27, 69, .07);
  --sh-3: 0 12px 40px rgba(11, 27, 69, .18);
  --focus: 0 0 0 3px rgba(26, 92, 255, .28);

  /* 간격 (4px 단위) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;

  /* 크기 */
  --side-w: 248px;
  --top-h: 60px;
  --tab-h: 62px;
  --content-max: 1280px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. 어두운 테마 ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #4C7DFF;  --brand-hover: #6891FF;  --brand-press: #3A6BF0;
  --brand-soft: rgba(76, 125, 255, .14);  --brand-line: rgba(76, 125, 255, .38);
  --bg: #0A1022;  --surface: #111A33;  --surface-2: #16203D;
  --line: #222D4D;  --line-strong: #2E3A5E;
  --text: #E8ECF6;  --text-2: #A9B2CA;  --text-3: #6F7A97;
  --ok: #3CC98E;  --ok-soft: rgba(60, 201, 142, .14);
  --bad: #FF6B70; --bad-soft: rgba(255, 107, 112, .14);
  --mute-soft: rgba(169, 178, 202, .12);
  --side-bg: #070C1C;  --side-hover: #111A33;  --side-line: #19233F;
  --side-active-bg: rgba(76, 125, 255, .2);
  --sh-1: 0 1px 2px rgba(0, 0, 0, .3);
  --sh-2: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .28);
  --sh-3: 0 16px 48px rgba(0, 0, 0, .5);
  --focus: 0 0 0 3px rgba(76, 125, 255, .4);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --brand: #4C7DFF;  --brand-hover: #6891FF;  --brand-press: #3A6BF0;
    --brand-soft: rgba(76, 125, 255, .14);  --brand-line: rgba(76, 125, 255, .38);
    --bg: #0A1022;  --surface: #111A33;  --surface-2: #16203D;
    --line: #222D4D;  --line-strong: #2E3A5E;
    --text: #E8ECF6;  --text-2: #A9B2CA;  --text-3: #6F7A97;
    --ok: #3CC98E;  --ok-soft: rgba(60, 201, 142, .14);
    --bad: #FF6B70; --bad-soft: rgba(255, 107, 112, .14);
    --mute-soft: rgba(169, 178, 202, .12);
    --side-bg: #070C1C;  --side-hover: #111A33;  --side-line: #19233F;
    --side-active-bg: rgba(76, 125, 255, .2);
    --sh-1: 0 1px 2px rgba(0, 0, 0, .3);
    --sh-2: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .28);
    --sh-3: 0 16px 48px rgba(0, 0, 0, .5);
    --focus: 0 0 0 3px rgba(76, 125, 255, .4);
  }
}

/* ---------- 3. 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.025em; color: var(--text); }
h2 { font-size: 18px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
::selection { background: var(--brand-soft); }
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; gap: var(--s2); }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: var(--s4); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 4. 아이콘 ----------
   (가) 인라인 SVG:  <svg class="ic"><use href="icons/home.svg#i"/></svg> 또는 SVG 코드 그대로
   (나) 파일 경로:   <i class="ic" style="--i:url(icons/home.svg)"></i>   ← 글자색을 그대로 따름 */
.ic {
  width: 20px; height: 20px; flex: none;
  display: inline-block; vertical-align: middle;
  color: inherit; stroke: currentColor;
}
i.ic, span.ic {
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
          mask: var(--i) center / contain no-repeat;
}
.ic.sm { width: 16px; height: 16px; }
.ic.lg { width: 24px; height: 24px; }

/* ---------- 5. 체험 모드 띠 ---------- */
.demo-bar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 34px; padding: 6px var(--s4);
  background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 500; text-align: center;
}
.demo-bar b { font-weight: 700; white-space: nowrap; flex: none; }
.demo-bar a, .demo-bar button {
  color: #fff; background: rgba(255, 255, 255, .16); border: 0;
  padding: 2px 10px; border-radius: var(--r-full); font-size: 12px; font-weight: 600; cursor: pointer;
  text-decoration: none; white-space: nowrap; flex: none;
}
.demo-bar a:hover, .demo-bar button:hover { background: rgba(255, 255, 255, .26); }

/* ---------- 6. 뼈대 ---------- */
.app {
  display: grid;
  grid-template-columns: var(--side-w) minmax(0, 1fr);
  grid-template-rows: var(--top-h) minmax(0, 1fr);
  grid-template-areas: "side top" "side main";
  min-height: 100vh;
  min-height: 100dvh;
}
.demo-bar + .app { min-height: calc(100dvh - 34px); }

.sidebar {
  grid-area: side;
  position: sticky; top: 0; height: 100vh; height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--side-bg); color: var(--side-text);
  padding: var(--s5) var(--s3) var(--s4);
  overflow-y: auto;
}
.demo-bar + .app .sidebar { top: 34px; height: calc(100dvh - 34px); }
.sidebar .brand {
  display: flex; align-items: center; gap: var(--s3);
  padding: 2px var(--s2) var(--s5);
  margin-bottom: var(--s3);
  border-bottom: 1px solid var(--side-line);
  color: var(--side-text-strong); text-decoration: none;
}
.sidebar .brand img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.sidebar .brand b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; color: #fff; }
.sidebar .brand small { display: block; font-size: 11.5px; color: var(--side-text); font-weight: 500; margin-top: 1px; }
.sidebar .brand:hover { text-decoration: none; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav .group {
  margin: var(--s5) var(--s3) var(--s2);
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  color: #6E7BA0;
}
.nav a {
  position: relative;
  display: flex; align-items: center; gap: var(--s3);
  height: 40px; padding: 0 var(--s3);
  border-radius: var(--r);
  color: var(--side-text); font-size: 14.5px; font-weight: 500;
  text-decoration: none;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav a .ic { width: 19px; height: 19px; opacity: .85; }
.nav a:hover { background: var(--side-hover); color: #fff; }
.nav a.active { background: var(--side-active-bg); color: #fff; font-weight: 600; }
.nav a.active .ic { opacity: 1; color: #8FB0FF; }
.nav a.active::before {
  content: ""; position: absolute; left: -12px; top: 10px; bottom: 10px;
  width: 3px; border-radius: 0 3px 3px 0; background: var(--brand);
}
.nav a .count {
  margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px;
  display: inline-grid; place-items: center;
  border-radius: var(--r-full); background: var(--brand); color: #fff;
  font-size: 11.5px; font-weight: 700;
}
.sidebar .foot { margin-top: auto; padding-top: var(--s4); border-top: 1px solid var(--side-line); }
.sidebar .foot .me { display: flex; align-items: center; gap: var(--s3); padding: var(--s2); color: #fff; font-size: 14px; }
.sidebar .foot .me small { display: block; color: var(--side-text); font-size: 12px; }

.topbar {
  grid-area: top;
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: var(--s3);
  height: var(--top-h); padding: 0 var(--s8);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
          backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.demo-bar + .app .topbar { top: 34px; }
.topbar .search {
  display: flex; align-items: center; gap: var(--s2);
  flex: 1; max-width: 420px; height: 38px; padding: 0 var(--s3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--text-3);
}
.topbar .search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14px; color: var(--text); }
.topbar .search input::placeholder { color: var(--text-3); }
.topbar .search kbd { font: 600 11px var(--font); color: var(--text-3); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
.topbar .spacer { flex: 1; }
.topbar .icon-btn {
  position: relative; width: 38px; height: 38px; display: grid; place-items: center;
  border: 0; background: none; border-radius: var(--r); color: var(--text-2); cursor: pointer;
}
.topbar .icon-btn:hover { background: var(--surface); color: var(--text); box-shadow: var(--sh-1); }
.topbar .icon-btn .dot { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px var(--bg); }
.topbar .menu-btn { display: none; }

.main {
  grid-area: main;
  width: 100%; max-width: calc(var(--content-max) + 2 * var(--s8));
  padding: var(--s8) var(--s8) var(--s10);
}
.page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); flex-wrap: wrap;
  margin-bottom: var(--s6);
}
.page-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.035em; }
.page-head p { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.page-head .actions { display: flex; gap: var(--s2); flex-wrap: wrap; }

.section { margin-top: var(--s8); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.section-head h2 { font-size: 17px; }
.section-head a { font-size: 13.5px; font-weight: 600; }

/* 모바일 아래 탭 (기본은 숨김) */
.bottom-tabs {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  height: calc(var(--tab-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.bottom-tabs a, .bottom-tabs button {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 0; background: none; cursor: pointer;
  color: var(--text-3); font-size: 11px; font-weight: 600; text-decoration: none;
}
.bottom-tabs .ic { width: 22px; height: 22px; }
.bottom-tabs a.active, .bottom-tabs button.active { color: var(--brand); }
.bottom-tabs .fab {
  flex: none; width: 48px; height: 48px; margin: 0 var(--s2); align-self: center;
  border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(26, 92, 255, .35);
}
.bottom-tabs .fab .ic { width: 24px; height: 24px; }

/* ---------- 7. 카드 ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  padding: var(--s5) var(--s6);
}
.card.pad-0 { padding: 0; overflow: hidden; }
.card > h2, .card > h3 { margin-bottom: var(--s3); }
.card .card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.card.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.card.navy h2, .card.navy h3 { color: #fff; }
.card.navy .muted { color: #B9C3DD; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--s4);
}
.card-grid.wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }

/* 작업 카드 */
.job-card {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: var(--s5) var(--s5) var(--s4);
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  color: var(--text); text-decoration: none; text-align: left;
  cursor: pointer;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.job-card:hover { border-color: var(--brand-line); box-shadow: var(--sh-2); transform: translateY(-2px); text-decoration: none; }
.job-card:active { transform: translateY(0); }
.job-card .ic {
  width: 40px; height: 40px; padding: 10px; margin-bottom: var(--s1);
  border-radius: var(--r); background: var(--brand-soft); color: var(--brand);
}
.job-card i.ic, .job-card span.ic {  /* 마스크 아이콘일 때는 네모 칸 안에 넣는다 */
  padding: 0; background: none; -webkit-mask: none; mask: none;
  display: grid; place-items: center;
}
.job-card i.ic::before, .job-card span.ic::before {
  content: ""; width: 22px; height: 22px; background: var(--brand);
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.job-card i.ic, .job-card span.ic { background: var(--brand-soft); }
.job-card h3 { font-size: 16px; font-weight: 700; }
.job-card p { color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
.job-card .meta {
  display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap;
  margin-top: auto; padding-top: var(--s2);
  font-size: 12.5px; color: var(--text-3);
}
.job-card .go { position: absolute; top: var(--s5); right: var(--s5); width: 18px; height: 18px; color: var(--text-3); transition: transform .18s var(--ease), color .18s; }
.job-card:hover .go { color: var(--brand); transform: translateX(2px); }

/* 숫자 타일 */
.stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: var(--s4) var(--s5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.stat span { font-size: 13px; font-weight: 500; color: var(--text-2); }
.stat b { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--text); }
.stat b small { font-size: 14px; font-weight: 600; color: var(--text-3); margin-left: 2px; }
.stat em { font-style: normal; font-size: 12.5px; color: var(--text-3); }
.stat.accent { background: var(--navy); border-color: var(--navy); }
.stat.accent span, .stat.accent em { color: #B9C3DD; }
.stat.accent b { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s4); }

/* 목록 (오늘 할 일·최근 작업) */
.list { list-style: none; margin: 0; padding: 0; }
.list li {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) 0; border-top: 1px solid var(--line);
}
.list li:first-child { border-top: 0; }
.list .grow { flex: 1; min-width: 0; }
.list .title { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list .sub { font-size: 12.5px; color: var(--text-3); }
.check {
  width: 20px; height: 20px; flex: none; border-radius: 6px;
  border: 1.6px solid var(--line-strong); display: grid; place-items: center; cursor: pointer; background: var(--surface);
}
.check.on { background: var(--brand); border-color: var(--brand); }
.check.on::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
li.is-done .title { color: var(--text-3); text-decoration: line-through; }

/* ---------- 8. 표 ---------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.table th, .table td { padding: 12px var(--s4); text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table thead th {
  position: sticky; top: 0;
  background: var(--surface-2); color: var(--text-2);
  font-size: 12.5px; font-weight: 600;
}
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: var(--brand-soft); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td.wrap { white-space: normal; min-width: 220px; }
.table td.r, .table th.r { text-align: right; font-variant-numeric: tabular-nums; }
.table .strong { font-weight: 600; color: var(--text); }
.table tr.clickable { cursor: pointer; }

/* ---------- 9. 배지·칩·아바타·진행 막대 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px;
  border-radius: var(--r-full);
  background: var(--mute-soft); color: var(--text-2);
  font-size: 12px; font-weight: 600; white-space: nowrap; line-height: 1;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.badge.wait { background: var(--mute-soft); color: var(--text-2); }                     /* 대기 */
.badge.run  { background: var(--brand-soft); color: var(--brand); }                       /* 진행 */
.badge.run::before { animation: gh-pulse 1.4s ease-in-out infinite; }
.badge.done { background: var(--ok-soft); color: var(--ok); }                             /* 완료 */
.badge.fail { background: var(--bad-soft); color: var(--bad); }                           /* 실패 */
/* 작업 장소 (점 없이 테두리형) */
.badge.pc, .badge.web { background: transparent; border: 1px solid var(--line-strong); height: 22px; padding: 0 8px; font-size: 11.5px; }
.badge.pc::before, .badge.web::before { display: none; }
.badge.pc  { color: var(--navy); }
.badge.web { color: var(--brand); border-color: var(--brand-line); }
:root[data-theme="dark"] .badge.pc { color: var(--text); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge.pc { color: var(--text); } }
@keyframes gh-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 var(--s3);
  border: 1px solid var(--line); border-radius: var(--r-full);
  background: var(--surface); color: var(--text-2);
  font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: all .15s var(--ease);
}
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip.active, .chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .ic { width: 15px; height: 15px; }
.chips { display: flex; gap: var(--s2); flex-wrap: wrap; }

.avatar {
  width: 34px; height: 34px; flex: none;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  font-size: 13px; font-weight: 700; letter-spacing: -0.02em;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 26px; height: 26px; font-size: 11px; }
.avatar.lg { width: 48px; height: 48px; font-size: 17px; }
.avatar.navy { background: var(--navy); color: #fff; }
.sidebar .avatar { background: var(--navy-3); color: #fff; }

.progress {
  position: relative; width: 100%; height: 6px;
  border-radius: var(--r-full); background: var(--mute-soft); overflow: hidden;
}
.progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--brand); transition: width .4s var(--ease); }
.progress.done i { background: var(--ok); }
.progress.indet i { width: 35% !important; animation: gh-indet 1.3s var(--ease) infinite; }
@keyframes gh-indet { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

/* ---------- 10. 폼 ---------- */
.form { display: grid; gap: var(--s5); max-width: 720px; }
.form .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s4); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.field label .req { color: var(--brand); margin-left: 2px; }
.field .hint { font-size: 12.5px; color: var(--text-3); }
.field .error { font-size: 12.5px; color: var(--bad); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px var(--s3);
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--r);
  font-size: 15px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: var(--focus); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238891A7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.field input[type="checkbox"], .field input[type="radio"] { width: 18px; min-height: 18px; accent-color: var(--brand); }
.drop {
  display: grid; place-items: center; gap: var(--s2); text-align: center;
  padding: var(--s8) var(--s4);
  border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg);
  background: var(--surface-2); color: var(--text-2); font-size: 14px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.drop:hover, .drop.over { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.drop .ic { width: 28px; height: 28px; color: var(--brand); }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  height: 42px; padding: 0 var(--s5);
  border: 1px solid var(--line-strong); border-radius: var(--r);
  background: var(--surface); color: var(--text);
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
  cursor: pointer; text-decoration: none; user-select: none;
  transition: background .15s var(--ease), border-color .15s, color .15s, box-shadow .15s, transform .05s;
}
.btn:hover { border-color: var(--text-3); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: 0 1px 2px rgba(26, 92, 255, .25); }
.btn.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn.primary:active { background: var(--brand-press); }
.btn.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--mute-soft); color: var(--text); }
.btn.danger { background: var(--surface); border-color: var(--bad); color: var(--bad); }
.btn.danger:hover { background: var(--bad); color: #fff; }
.btn.sm { height: 32px; padding: 0 var(--s3); font-size: 13px; border-radius: 8px; }
.btn.sm .ic { width: 16px; height: 16px; }
.btn.lg { height: 50px; padding: 0 var(--s6); font-size: 16px; }
.btn.block { width: 100%; }
.btn.icon { width: 42px; padding: 0; }
.btn.sm.icon { width: 32px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.loading { color: transparent !important; position: relative; pointer-events: none; }
.btn.loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: gh-spin .7s linear infinite;
}
.btn.loading:not(.primary)::after { border-color: var(--line-strong); border-top-color: var(--brand); }
@keyframes gh-spin { to { transform: rotate(360deg); } }

/* ---------- 11. 탭 ---------- */
.tabs {
  display: flex; gap: var(--s1);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s5);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .tabs a {
  position: relative; flex: none;
  height: 44px; padding: 0 var(--s4);
  border: 0; background: none; cursor: pointer;
  color: var(--text-2); font-size: 14.5px; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.tabs button:hover, .tabs a:hover { color: var(--text); }
.tabs button.active, .tabs a.active { color: var(--brand); }
.tabs button.active::after, .tabs a.active::after {
  content: ""; position: absolute; left: var(--s3); right: var(--s3); bottom: -1px;
  height: 2px; border-radius: 2px; background: var(--brand);
}
.tabs .n { font-size: 12px; color: var(--text-3); font-weight: 600; }
.tabs .active .n { color: var(--brand); }

/* ---------- 12. 빈 상태·토스트·모달 ---------- */
.empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s2);
  padding: var(--s10) var(--s5); text-align: center;
  color: var(--text-2); font-size: 14.5px;
}
.empty .ic {
  width: 56px; height: 56px; padding: 15px; margin-bottom: var(--s2);
  border-radius: 50%; background: var(--mute-soft); color: var(--text-3);
}
.empty h3 { font-size: 16px; color: var(--text); }
.empty p { max-width: 340px; color: var(--text-3); font-size: 13.5px; }
.empty .btn { margin-top: var(--s3); }

.toast-wrap { position: fixed; left: 50%; bottom: var(--s6); transform: translateX(-50%); z-index: 90; display: grid; gap: var(--s2); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: var(--s3);
  min-width: 260px; max-width: calc(100vw - 32px);
  padding: 12px var(--s4) 12px var(--s4);
  border-radius: var(--r);
  background: var(--navy); color: #fff;
  font-size: 14px; font-weight: 500;
  box-shadow: var(--sh-3);
  pointer-events: auto;
  animation: gh-toast .25s var(--ease);
}
:root[data-theme="dark"] .toast { background: #1F2B52; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .toast { background: #1F2B52; } }
.toast .ic { width: 18px; height: 18px; color: #8FB0FF; }
.toast.ok .ic { color: #5FE0A8; }
.toast.bad .ic { color: #FF8A8E; }
.toast a, .toast button { margin-left: auto; color: #8FB0FF; background: none; border: 0; font-weight: 700; cursor: pointer; }
/* 토스트를 하나만 쓸 때(래퍼 없이) */
body > .toast { position: fixed; left: 50%; bottom: var(--s6); transform: translateX(-50%); z-index: 90; }
@keyframes gh-toast { from { opacity: 0; transform: translateY(8px); } }
body > .toast { animation: gh-toast-c .25s var(--ease); }
@keyframes gh-toast-c { from { opacity: 0; transform: translate(-50%, 8px); } }

.modal-back {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  padding: var(--s4);
  background: rgba(7, 12, 28, .5);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: gh-fade .18s ease;
}
.modal {
  width: 100%; max-width: 520px; max-height: calc(100dvh - 32px); overflow: auto;
  background: var(--surface); color: var(--text);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  animation: gh-pop .22s var(--ease);
}
.modal.wide { max-width: 760px; }
.modal > header { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s5) var(--s6) 0; }
.modal > header h2 { font-size: 18px; }
.modal > .body { padding: var(--s4) var(--s6) var(--s5); }
.modal > footer {
  display: flex; justify-content: flex-end; gap: var(--s2);
  padding: var(--s4) var(--s6); border-top: 1px solid var(--line); background: var(--surface-2);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
@keyframes gh-fade { from { opacity: 0; } }
@keyframes gh-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- 13. 로그인 ---------- */
.login {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: 100vh; min-height: 100dvh;
  background: var(--surface);
}
.login .brand-panel {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 56px 64px;
  background: var(--navy); color: #fff;
}
.login .brand-panel::after {           /* 큰 코발트 원 한 개 — 장식은 이것뿐 */
  content: ""; position: absolute; right: -180px; bottom: -220px;
  width: 560px; height: 560px; border-radius: 50%;
  border: 1px solid rgba(143, 176, 255, .18);
  box-shadow: 0 0 0 80px rgba(26, 92, 255, .06), 0 0 0 160px rgba(26, 92, 255, .04);
}
.login .brand-panel .logo { width: 84px; height: auto; }
.login .brand-panel h1 { color: #fff; font-size: 40px; font-weight: 800; line-height: 1.22; letter-spacing: -0.04em; margin-top: var(--s8); }
.login .brand-panel h1 em { font-style: normal; color: #8FB0FF; }
.login .brand-panel p { color: #B9C3DD; font-size: 16px; margin-top: var(--s4); max-width: 420px; }
.login .brand-panel .foot { position: relative; z-index: 1; color: #6E7BA0; font-size: 13px; }
.login .form-panel { display: grid; place-items: center; padding: 48px var(--s6); background: var(--surface); }
.login form, .login .form-box { width: 100%; max-width: 380px; display: grid; gap: var(--s4); }
.login form h2, .login .form-box h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.035em; }
.login form > p, .login .form-box > p { color: var(--text-2); margin-top: -8px; }
.login .btn.primary { height: 50px; font-size: 16px; }
.login .or { display: flex; align-items: center; gap: var(--s3); color: var(--text-3); font-size: 12.5px; }
.login .or::before, .login .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- 14. 반응형 ---------- */
@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {                /* 태블릿: 사이드바를 아이콘만 */
  :root { --side-w: 76px; }
  .sidebar { padding: var(--s4) var(--s2); align-items: center; }
  .sidebar .brand { padding: 0 0 var(--s4); justify-content: center; }
  .sidebar .brand > span, .sidebar .brand b, .sidebar .brand small, .nav .group, .nav a span:not(.ic), .nav a .count, .sidebar .foot .me > div { display: none; }
  .nav { width: 100%; }
  .nav a { justify-content: center; padding: 0; height: 44px; }
  .nav a.active::before { left: -8px; }
  .nav .group + a, .nav .sep { margin-top: var(--s3); }
  .topbar, .main { padding-left: var(--s6); padding-right: var(--s6); }
}
@media (max-width: 760px) {                 /* 폰: 사이드바 숨기고 아래 탭 */
  body { font-size: 15px; }
  .app { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "main"; }
  .sidebar { display: none; }
  .sidebar.open {                            /* 메뉴 버튼으로 여는 서랍 */
    display: flex; position: fixed; top: 0; left: 0; bottom: 0; z-index: 85;
    width: 260px; height: 100dvh; align-items: stretch; padding: var(--s5) var(--s3);
    box-shadow: var(--sh-3);
  }
  .sidebar.open .brand > span, .sidebar.open .brand b, .sidebar.open .brand small, .sidebar.open .nav .group,
  .sidebar.open .nav a span:not(.ic), .sidebar.open .nav a .count, .sidebar.open .foot .me > div { display: revert; }
  .sidebar.open .nav a { justify-content: flex-start; padding: 0 var(--s3); }
  .topbar { padding: 0 var(--s4); gap: var(--s2); }
  .topbar .menu-btn { display: grid; }
  .topbar .search { max-width: none; }
  .topbar .search kbd { display: none; }
  .topbar > .btn, .hide-m { display: none !important; }
  .main { padding: var(--s5) var(--s4) calc(var(--tab-h) + var(--s8)); }
  .page-head { margin-bottom: var(--s5); }
  .page-head h1 { font-size: 22px; }
  .page-head p { font-size: 14px; }
  .bottom-tabs { display: flex; }
  .card { padding: var(--s4); border-radius: var(--r); }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s3); }
  .card-grid.wide { grid-template-columns: 1fr; }
  .job-card { padding: var(--s4); }
  .job-card .go { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
  .stat b { font-size: 24px; }
  .toast-wrap, body > .toast { bottom: calc(var(--tab-h) + var(--s4)); }
  .modal-back { align-items: end; padding: 0; }
  .modal { max-width: none; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .modal > footer { border-radius: 0; padding-bottom: calc(var(--s4) + env(safe-area-inset-bottom)); }
  .login { grid-template-columns: 1fr; }
  .login .brand-panel { padding: 32px var(--s5) 36px; min-height: auto; }
  .login .brand-panel h1 { font-size: 28px; margin-top: var(--s5); }
  .login .brand-panel .foot { display: none; }
  .login .form-panel { padding: 32px var(--s5) 48px; place-items: start center; }
  .demo-bar { font-size: 12px; justify-content: space-between; text-align: left; }
  .demo-bar .long { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
@media print {
  .sidebar, .topbar, .bottom-tabs, .demo-bar { display: none !important; }
  .app { display: block; }
  body { background: #fff; }
}

/* ======================================================================
   앱 화면 추가분 (총괄) — 위 토큰만 사용
   ====================================================================== */
.card-title { display: flex; align-items: center; gap: var(--s2); font-size: 16px; margin-bottom: var(--s3); }
.card + .card, .section + .card, .card + .section { margin-top: var(--s4); }
.notice-strip { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); margin-bottom: var(--s4); color: var(--text); text-decoration: none; border-left: 3px solid var(--brand); }
.notice-strip b { flex: 1; font-weight: 600; }
.stats { margin-bottom: var(--s5); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s4); align-items: start; }
.form-layout > .card { margin: 0; }
.side-info h3 { font-size: 15px; margin-bottom: var(--s3); }
.side-info dl, .status-dl { display: grid; grid-template-columns: 96px 1fr; gap: var(--s2) var(--s3); margin: 0 0 var(--s4); font-size: 14px; }
.side-info dt, .status-dl dt { color: var(--text-3); }
.side-info dd, .status-dl dd { margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.note { display: flex; gap: var(--s2); align-items: flex-start; font-size: 13px; color: var(--text-2); background: var(--surface-2); border-radius: var(--r-sm); padding: var(--s2) var(--s3); margin: var(--s2) 0 0; }
.note .ic { width: 16px; height: 16px; margin-top: 2px; color: var(--brand); }
.row-btns { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.file-list { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.result { white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; font-family: var(--font); font-size: 14.5px; line-height: 1.75; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s4); margin: var(--s3) 0 0; max-height: 60vh; overflow: auto; }
.job-status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-bottom: var(--s4); }
.job-status p { flex-basis: 100%; margin: var(--s2) 0 0; }
.progress.big { flex-basis: 100%; height: 10px; margin-top: var(--s3); }
.class-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); padding: var(--s4); border-bottom: 1px solid var(--line); }
.grow { flex: 1; }
.up { color: var(--ok); font-weight: 600; font-size: 12px; }
.down { color: var(--bad); font-weight: 600; font-size: 12px; }
.notes { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: var(--s2); }
.notes li { font-size: 14px; line-height: 1.6; padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.note-form, .inline-form { display: flex; gap: var(--s2); margin-top: var(--s2); }
.note-form input, .note-form select, .inline-form input { font: inherit; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--text); }
.note-form input, .inline-form input { flex: 1; min-width: 0; }
.modal h2 { font-size: 19px; margin-bottom: var(--s4); }
.modal h3 { font-size: 15px; margin: var(--s4) 0 var(--s2); }
.modal .stats { margin: 0 0 var(--s2); grid-template-columns: repeat(3, 1fr); }
.checkline { display: flex; align-items: center; gap: var(--s2); font-size: 14px; margin: var(--s2) 0; }
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); align-items: start; }
.road > .card { margin: 0; }
.idea { padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.idea:last-child { border-bottom: 0; }
.idea b { font-size: 15px; }
.idea p { font-size: 13.5px; color: var(--text-2); margin: 4px 0 var(--s2); }
.idea .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.bars { display: grid; gap: var(--s3); }
.bar { display: grid; grid-template-columns: 200px 1fr 40px; align-items: center; gap: var(--s3); font-size: 14px; }
.bar b { text-align: right; }
.nowrap { white-space: nowrap; }
.notice h3 { display: flex; align-items: center; gap: var(--s2); font-size: 17px; margin-bottom: var(--s2); }
.notice p { color: var(--text-2); line-height: 1.75; }
.notice.pin { border-left: 3px solid var(--brand); }
.card.notice + .card.notice { margin-top: var(--s3); }
.demo-roles { display: grid; gap: var(--s2); }
.demo-roles .btn { justify-content: flex-start; }
.page-head .actions .field { margin: 0; min-width: 240px; }
.tabs { margin-bottom: var(--s4); }
.tabs small { color: var(--text-3); margin-left: 4px; }
.about .flow { display: flex; align-items: stretch; gap: var(--s3); margin-bottom: var(--s5); flex-wrap: wrap; }
.about .node { flex: 1; min-width: 180px; display: grid; gap: 6px; align-content: start; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s4); font-size: 13.5px; color: var(--text-2); }
.about .node b { display: flex; align-items: center; gap: 6px; color: var(--text); font-size: 15px; }
.about .node.split b + span { margin-bottom: var(--s2); }
.about .arrow { align-self: center; color: var(--text-3); font-size: 20px; }
.about h3 { font-size: 16px; margin: var(--s5) 0 var(--s2); }
.about p, .about li { line-height: 1.8; color: var(--text-2); }
.drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop { position: relative; }
.field em { color: var(--bad); font-style: normal; }
@media (max-width: 1024px) {
  .form-layout { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bar { grid-template-columns: 110px 1fr 32px; }
  .about .arrow { display: none; }
  .page-head .actions .field { min-width: 0; width: 100%; }
  .note-form { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .topbar #logout, .topbar a.icon-btn[href="#/notices"] { display: none; }
  .topbar .search { min-width: 0; flex: 1; }
}
/* 요청함·내 폴더 */
.steps { margin: var(--s3) 0 0; padding-left: 20px; font-size: 13.5px; line-height: 1.8; color: var(--text-2); }
.deliver { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px dashed var(--line-strong); }
.deliver h3 { font-size: 15px; margin-bottom: 4px; }
.deliver form { display: grid; gap: var(--s3); margin-top: var(--s3); }
.file-list.col { flex-direction: column; align-items: stretch; margin-bottom: var(--s4); }
.file-list.col .btn { justify-content: flex-start; }
.file-list .btn small { opacity: .7; font-weight: 400; }
.tabs.seg { margin: 0; }
a.stat { color: inherit; text-decoration: none; }
.page-head h1 small { font-size: 14px; font-weight: 500; }
/* 실제판(드라이브 연결) */
.name-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: var(--s4) 0; max-height: 58vh; overflow: auto; }
.name-grid .btn { flex-direction: column; align-items: center; gap: 2px; height: auto; padding: 10px 6px; }
.name-grid .btn small { color: var(--text-3); font-weight: 400; font-size: 12px; }
.login .form-box { width: 100%; max-width: 520px; }
.form-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0 var(--s4); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: var(--s3); }
.thumbs figure { margin: 0; position: relative; aspect-ratio: 3/4; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs figcaption { position: absolute; left: 4px; bottom: 4px; font-size: 11px; background: rgba(11,27,69,.75); color: #fff; padding: 1px 6px; border-radius: 99px; max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s4); }
.lib-item { margin: 0 !important; display: flex; flex-direction: column; }
.lib-item h3 { font-size: 16px; line-height: 1.45; margin: var(--s2) 0 0; word-break: keep-all; flex: 1; }
.lib-top { display: flex; align-items: center; justify-content: space-between; color: var(--brand); }
.done-card { text-align: center; padding: var(--s8) var(--s5); }
.done-card > .ic { width: 44px; height: 44px; color: var(--ok); }
.done-card h2 { margin: var(--s3) 0 var(--s2); }
.done-card .row-btns { justify-content: center; }
.top-name { font-size: 15px; }
