/* music-admin.css — 共通スタイル (Sprint4 L1+L2+L5+L6) */

:root {
  --primary: #1a1a2e;
  --primary-dark: #0f0f1f;
  --primary-light: #2c2c4a;
  --accent: #e94560;
  --accent-dark: #c2344a;
  --success: #27ae60;
  --warning: #f39c12;
  --danger: #e74c3c;
  --info: #3498db;
  --bg: #f0f2f5;
  --card: #fff;
  --text: #2d3436;
  --text-muted: #718096;
  --text-light: #a0aec0;
  --border: #dee2e6;
  --border-light: #edf2f7;
  --sidebar-w: 240px;
  --sidebar-mini-w: 72px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --z-sidebar: 100;
  --z-dialog: 1000;
  --z-toast: 1100;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ===== App shell ===== */
.app { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-w);
  background: var(--primary);
  color: #fff;
  padding: 1rem 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: var(--z-sidebar);
  transition: width 0.2s;
}
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 1.5rem;
  min-width: 0;
  transition: margin-left 0.2s;
}

/* ===== Sidebar nav ===== */
.sidebar h1 { font-size: 1.1rem; padding: 0 1rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.sidebar .user { padding: 0.75rem 1rem; font-size: 0.8rem; opacity: 0.7; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.nav-section { padding: 0.75rem 1rem 0.25rem; font-size: 0.7rem; text-transform: uppercase; opacity: 0.5; letter-spacing: 0.05em; }
.nav-item {
  display: block;
  padding: 0.5rem 1rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
  border-left: 3px solid transparent;
}
.nav-item:hover { background: rgba(255, 255, 255, 0.08); }
.nav-item.active { background: rgba(255, 255, 255, 0.1); border-left-color: var(--accent); }

/* ===== Page header ===== */
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.page-head h1 { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.page-head p { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }
.page-head .page-head-meta { display: flex; gap: 0.75rem; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }
.page-head .page-head-meta strong { color: var(--primary); font-weight: 700; }

/* ===== Cards ===== */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.card-title { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat { background: var(--card); border-radius: var(--radius); padding: 1.25rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat .number { font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ===== Data table ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--card);
}
.data-table th {
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-weight: 500;
  position: sticky;
  top: 0;
}
.data-table th.sortable { cursor: pointer; user-select: none; }
.data-table th.sortable:hover { background: var(--primary-light); }
.data-table th.sortable::after { content: ''; display: inline-block; width: 0.6em; margin-left: 0.25em; opacity: 0.5; }
.data-table th.sortable[aria-sort="ascending"]::after { content: '▲'; opacity: 1; }
.data-table th.sortable[aria-sort="descending"]::after { content: '▼'; opacity: 1; }
.data-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); }
.data-table tr:hover td { background: #f8f9fa; }
.data-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table .checkbox-cell { width: 2.5rem; text-align: center; }

/* Wrapper for horizontal scroll */
.table-wrap { overflow-x: auto; margin: 0 -1.25rem; padding: 0 1.25rem; }

/* ===== Sub-table (project-detail) ===== */
.section-title { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.6rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--accent); }
.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.6rem 1rem; font-size: 0.9rem; }
.kv-item { padding: 0.4rem 0; border-bottom: 1px dashed var(--border-light); }
.kv-key { color: var(--text-muted); font-size: 0.78rem; }
.kv-val { font-weight: 600; margin-top: 0.1rem; }
.sub-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.sub-table th { background: #f6f7f8; color: #4a5568; padding: 0.5rem 0.6rem; border-bottom: 2px solid #e5e7eb; text-align: left; font-weight: 600; }
.sub-table td { padding: 0.4rem 0.6rem; border-bottom: 1px solid #e5e7eb; }

/* ===== Toolbar ===== */
.toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
  padding: 0.75rem 1rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.toolbar-search { flex: 1; min-width: 220px; max-width: 320px; position: relative; }
.toolbar-search input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
}
.toolbar-search::before {
  content: '🔍';
  position: absolute;
  left: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  opacity: 0.6;
  pointer-events: none;
}
.toolbar-search input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.toolbar-filter select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  background: #fff;
  min-width: 140px;
}
.toolbar-spacer { flex: 1; }
.toolbar-info { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; }
.toolbar-bulk-actions { display: flex; gap: 0.4rem; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.88rem; }
.pagination button { background: var(--card); border: 1px solid var(--border); padding: 0.4rem 0.75rem; border-radius: 6px; min-width: 2.25rem; }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination button[aria-current="page"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination button:not(:disabled):not([aria-current="page"]):hover { background: var(--border-light); }

/* ===== Status tokens (意味ベース) ===== */
.status { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.status--success, .status--done { background: #e8f3ec; color: #1f5c3f; }
.status--warning, .status--pending { background: #fff4db; color: #8a5a00; }
.status--danger, .status--stop { background: #fdeaea; color: #9b2c2c; }
.status--info { background: #e3f0ff; color: #1a4b80; }
.status--neutral { background: #edf2f7; color: #4a5568; }
.status--hold { background: #f3e8ff; color: #553c9a; }

/* Legacy badge aliases (互換) */
.badge { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
.badge-done { background: #e8f3ec; color: #1f5c3f; }
.badge-pending { background: #fff4db; color: #8a5a00; }

/* Pill (detail view) */
.pill { display: inline-block; padding: 0.1rem 0.5rem; border-radius: 10px; font-size: 0.72rem; font-weight: 600; background: var(--border-light); color: #4a5568; }
.pill.-ok { background: #c6f6d5; color: #276749; }
.pill.-wait { background: #fef3c7; color: #92400e; }
.pill.-manual { background: #fed7d7; color: #9b2c2c; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.9rem; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: all 0.15s; text-decoration: none; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover:not(:disabled) { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-secondary { background: var(--card); color: var(--primary); border-color: var(--border); }
.btn-secondary:hover:not(:disabled) { background: var(--border-light); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover:not(:disabled) { background: #c0392b; }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover:not(:disabled) { background: var(--border-light); }
.btn-sm { padding: 0.3rem 0.6rem; font-size: 0.8rem; }

.primary-action { background: var(--accent); color: #fff; border: none; padding: 0.6rem 1.2rem; border-radius: 6px; font-size: 0.95rem; font-weight: 600; cursor: pointer; }
.primary-action:hover:not(:disabled) { background: var(--accent-dark); }

.recalc-btn { border: 1px solid #2b6cb0; background: #2b6cb0; color: #fff; border-radius: 6px; padding: 0.45rem 0.9rem; cursor: pointer; font-size: 0.86rem; font-weight: 600; }
.recalc-btn:hover { opacity: 0.9; }
.recalc-btn:disabled { opacity: 0.6; cursor: wait; }

/* ===== Form sections (Sprint4 L4) ===== */
.form-section {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.form-section h3 { font-size: 0.95rem; color: var(--primary); margin-bottom: 0.9rem; padding-bottom: 0.45rem; border-bottom: 2px solid var(--accent); display: flex; align-items: center; gap: 0.4rem; }
.form-section-hint { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.75rem 1rem; }
.form-grid-full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 0.3rem; }
.field label .required { color: var(--accent); margin-left: 0.15rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.field textarea { resize: vertical; min-height: 5rem; }
.field .hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.field .field-error { font-size: 0.78rem; color: var(--danger); margin-top: 0.25rem; display: flex; align-items: center; gap: 0.3rem; }
.field .field-error::before { content: '⚠'; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error input:focus, .field.has-error select:focus { outline-color: var(--danger); }

/* Checkbox group */
.checkbox-group { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; max-height: 160px; overflow-y: auto; padding: 0.5rem; border: 1px solid var(--border); border-radius: 6px; }
.checkbox-group label { display: flex; align-items: center; gap: 0.35rem; font-size: 0.86rem; font-weight: normal; cursor: pointer; }

/* Save bar */
.save-bar {
  position: sticky;
  bottom: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
  margin: 1rem -1.5rem -1.5rem;
  z-index: 10;
  font-size: 0.85rem;
  color: var(--text-muted);
  align-items: center;
}
.save-bar .save-bar-hint { flex: 1; }
.save-bar.-saved .save-bar-hint { color: var(--success); }
.save-bar.-saved .save-bar-hint::before { content: '✓ '; }
.save-bar.-dirty .save-bar-hint { color: var(--warning); }

/* ===== Dialog (modal) (Sprint4 L2 + L6) ===== */
.dialog-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: var(--z-dialog); display: flex; justify-content: center; align-items: center; padding: 1rem; animation: fadein 0.15s; }
.dialog {
  background: var(--card);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideup 0.2s;
}
.dialog-lg { max-width: 920px; }
.dialog-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.dialog-header h3 { font-size: 1.05rem; color: var(--primary); }
.dialog-close { background: transparent; border: none; font-size: 1.25rem; color: var(--text-muted); padding: 0.25rem 0.5rem; border-radius: 4px; }
.dialog-close:hover { background: var(--border-light); color: var(--text); }
.dialog-body { padding: 1.25rem; overflow-y: auto; flex: 1; }
.dialog-footer { padding: 0.75rem 1.25rem; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 0.5rem; }

/* ===== Tabs (Sprint4 L6) ===== */
.tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 1rem; }
.tabs [role="tab"] {
  background: transparent;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
}
.tabs [role="tab"]:hover { color: var(--text); }
.tabs [role="tab"][aria-selected="true"] { color: var(--primary); border-bottom-color: var(--accent); }
.tabs [role="tab"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[role="tabpanel"][hidden] { display: none; }

/* ===== Toast (Sprint4 L2) ===== */
.toast-region { position: fixed; top: 1rem; right: 1rem; z-index: var(--z-toast); display: flex; flex-direction: column; gap: 0.5rem; pointer-events: none; }
.toast {
  background: var(--card);
  border-left: 4px solid var(--info);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-md);
  font-size: 0.88rem;
  min-width: 260px;
  max-width: 360px;
  pointer-events: auto;
  animation: slideright 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.toast.-success { border-left-color: var(--success); }
.toast.-success::before { content: '✓'; color: var(--success); font-weight: 700; }
.toast.-warning { border-left-color: var(--warning); }
.toast.-warning::before { content: '⚠'; color: var(--warning); font-weight: 700; }
.toast.-danger { border-left-color: var(--danger); }
.toast.-danger::before { content: '✕'; color: var(--danger); font-weight: 700; }
.toast.-info::before { content: 'ℹ'; color: var(--info); }

/* ===== Animations ===== */
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideright { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* ===== Misc ===== */
.loading { text-align: center; padding: 2rem; color: var(--text-muted); }
.empty-state { text-align: center; padding: 3rem 1.5rem; color: var(--text-muted); }
.empty-state .empty-icon { font-size: 2.5rem; opacity: 0.3; margin-bottom: 0.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== Responsive: Tablet (1024px以下) — sidebar mini ===== */
@media (max-width: 1024px) {
  .sidebar { width: var(--sidebar-mini-w); }
  .sidebar h1 { font-size: 0; padding: 0.5rem; }
  .sidebar h1::first-letter { font-size: 1.2rem; }
  .sidebar .user { display: none; }
  .nav-section { font-size: 0; padding: 0.4rem 0; position: relative; }
  .nav-section::before { content: '—'; color: rgba(255,255,255,0.3); }
  .nav-item {
    font-size: 0;
    text-align: center;
    padding: 0.6rem 0;
    position: relative;
  }
  .nav-item::first-letter { font-size: 0.85rem; letter-spacing: 0; }
  .main { margin-left: var(--sidebar-mini-w); padding: 1rem; }
  .page-head h1 { font-size: 1.3rem; }
}

/* ===== Responsive: Mobile (640px以下) — card list ===== */
@media (max-width: 640px) {
  :root { --sidebar-w: 100%; --sidebar-mini-w: 100%; }
  .sidebar {
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    padding: 0.5rem 0;
  }
  .sidebar h1 { font-size: 1rem; padding: 0.25rem 1rem; border-bottom: none; }
  .sidebar h1::first-letter { font-size: 1rem; }
  .sidebar .user, .nav-section { display: none; }
  .sidebar nav { display: flex; overflow-x: auto; gap: 0.25rem; padding: 0 0.5rem; }
  .nav-item {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    white-space: nowrap;
    border-left: none;
    border-bottom: 2px solid transparent;
  }
  .nav-item::first-letter { font-size: 0.75rem; }
  .nav-item.active { border-left: none; border-bottom-color: var(--accent); }
  .main { margin-left: 0; padding: 0.75rem; }
  .app { flex-direction: column; }

  .page-head { flex-direction: column; align-items: stretch; }
  .page-head h1 { font-size: 1.2rem; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .stat { padding: 0.75rem; }
  .stat .number { font-size: 1.5rem; }

  .toolbar { flex-direction: column; align-items: stretch; padding: 0.5rem; }
  .toolbar-search, .toolbar-filter select { width: 100%; max-width: none; min-width: 0; }

  /* Table → card list */
  .table-wrap.table-mobile-cards { display: block; }
  .table-wrap.table-mobile-cards .data-table thead { display: none; }
  .table-wrap.table-mobile-cards .data-table,
  .table-wrap.table-mobile-cards .data-table tbody,
  .table-wrap.table-mobile-cards .data-table tr { display: block; }
  .table-wrap.table-mobile-cards .data-table tr {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem;
    margin-bottom: 0.5rem;
  }
  .table-wrap.table-mobile-cards .data-table td {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border: none;
    font-size: 0.85rem;
  }
  .table-wrap.table-mobile-cards .data-table td::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.78rem;
    flex-shrink: 0;
  }
  .table-wrap.table-mobile-cards .data-table td:empty { display: none; }

  .dialog { max-height: 95vh; max-width: 100%; }
  .dialog-footer { flex-direction: column-reverse; }
  .dialog-footer .btn { width: 100%; }

  .form-grid { grid-template-columns: 1fr; }
  .save-bar { flex-direction: column; align-items: stretch; gap: 0.5rem; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== Admin Home page additions ===== */
.home-hero { background: linear-gradient(135deg, var(--primary) 0%, #16213e 100%); color: #fff; padding: 3rem 2rem; text-align: center; border-radius: 12px; margin-bottom: 2rem; }
.home-hero h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.home-hero p { opacity: 0.8; margin-bottom: 1.5rem; }
.departments { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.dept { background: var(--card); border-radius: 12px; padding: 1.25rem; box-shadow: var(--shadow-sm); }
.dept h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.75rem; }
.dept ul { list-style: none; }
.dept li { padding: 0.35rem 0; font-size: 0.85rem; border-bottom: 1px solid var(--border-light); }
.dept li a { color: var(--text); text-decoration: none; cursor: pointer; }
.dept li a:hover { color: var(--accent); }
.dept li::before { content: "→ "; color: var(--accent); font-weight: 600; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.feature { background: var(--card); border-radius: 12px; padding: 1rem; text-align: center; box-shadow: var(--shadow-sm); }
.feature .icon { font-size: 1.8rem; margin-bottom: 0.4rem; }
.feature h4 { font-size: 0.9rem; color: var(--primary); margin-bottom: 0.2rem; }
.feature p { font-size: 0.75rem; color: var(--text-muted); }
.login-screen { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--bg); }
.login-box { background: var(--card); border-radius: 16px; padding: 3rem; text-align: center; box-shadow: var(--shadow-lg); max-width: 400px; }
.login-box h1 { color: var(--primary); margin-bottom: 0.5rem; }
.login-box p { color: var(--text-muted); margin-bottom: 2rem; }
.login-box .btn { padding: 0.75rem 2rem; font-size: 1rem; }

@media (max-width: 768px) {
  .departments, .features { grid-template-columns: 1fr; }
  .home-hero { padding: 2rem 1rem; }
  .home-hero h2 { font-size: 1.4rem; }
}
