/* 암기완료 page (memorized.html). item-card-improvement Phase 1.
   Index-style normal-scroll shell. Tree/card detail styles arrive in Phase 4. */
@import "../components/AppTabs/styles.css";
@import "../components/CardItem/styles.css";
@import "../components/StudyList/styles.css";
@import "../components/ConfirmDialog/styles.css";

:root {
  color-scheme: light;
  --ink: #17202b;
  --muted: #667085;
  --line: #d5dde7;
  --bg: #edf2f7;
  --panel: #ffffff;
  --soft: #f7f9fc;
  --green: #238765;
  --blue: #3464a2;
  --red: #a94336;
  --track: #dbe3ee;
  --warning-bg: #fff5e2;
  --warning-border: #f1c27d;
  --warning-ink: #855e1a;
  --app-tabs-height: 48px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.page-banner {
  display: none;
  padding: 10px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 850;
}

.page-banner:not([hidden]) { display: block; }

.page-banner--warning {
  background: var(--warning-bg);
  border-bottom-color: var(--warning-border);
  color: var(--warning-ink);
}

.memorized-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 24px 48px;
}

.memorized-page__head h1 {
  margin: 4px 0 2px;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 950;
}

.memorized-page__head p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

/* The StudyList markup (head + list) renders straight into the body; frame it
   as one panel so it reads like a card (same as the 북마크 page). */
.memorized-page__body {
  min-height: 120px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
