/* ==========================================================================
   Design system — "Order Ticket"
   A restaurant dine-in ordering app is, at its core, a paper kitchen ticket:
   punched, torn, stamped, run down a rail from table -> kitchen -> pass.
   That object is the whole visual language below: punched tear-lines on
   menu cards, a stamped order number in mono type, a rail-style status
   tracker, and a kitchen-board admin sidebar.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
  --ink: #201b17;
  --paper: #ffffff;
  --bg: #efece2;
  --bg-soft: #f6f4ec;
  --line: #ddd5c2;
  --muted: #746b5c;

  --chili: #c1391d;
  --chili-dark: #8a2611;
  --turmeric: #dfa22a;
  --turmeric-dark: #93641a;
  --pine: #2e6b52;
  --pine-dark: #1f4a39;
  --maroon: #8c2438;

  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --shadow-stack: 6px 6px 0 var(--turmeric), 12px 12px 0 var(--ink);
  --shadow-stack-sm: 4px 4px 0 var(--turmeric), 8px 8px 0 var(--ink);
  --radius: 14px;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 0; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.55;
}
img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; text-decoration: none; }
hr { border: 0; border-top: 1px solid var(--line); }
button, input, select, textarea { min-width: 0; max-width: 100%; font: inherit; color: inherit; }
button, .button { cursor: pointer; }
button { border: 0; background: none; }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 2px; }
::selection { background: var(--turmeric); color: var(--ink); }

.container, .admin-main {
  width: min(1180px, calc(100% - 36px));
  min-width: 0;
  margin: 0 auto;
}

h1, h2, h3 { min-width: 0; margin: 0 0 12px; font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
h1 { max-width: 720px; font-size: clamp(2.15rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
h3 { font-size: 1.08rem; letter-spacing: -.01em; }
.lead { max-width: 620px; color: var(--muted); font-size: 1.02rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--chili);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--chili); transform: rotate(45deg); flex: 0 0 auto; }
.help { color: var(--muted); font-size: .8rem; }

/* ---------- header / nav ---------- */
.site-header, .admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  padding: 16px max(18px, calc((100% - 1180px) / 2));
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark {
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2.5px solid var(--ink);
  border-radius: 9px;
  background: var(--chili);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.site-nav, .admin-user {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 18px;
  color: var(--muted);
  font-size: .87rem;
  font-weight: 500;
}
.site-nav a, .admin-user a { transition: color .15s ease; }
.site-nav a:hover, .admin-user a:hover { color: var(--chili); }
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink) !important;
  font-weight: 700;
}
.cart-count {
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  background: var(--turmeric);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
  align-items: center;
  min-height: 300px;
  gap: 40px;
  padding: 50px 0 30px;
}
.hero-note {
  position: relative;
  min-width: 0;
  padding: 26px;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: 7px 7px 0 var(--turmeric);
}
.hero-note::before {
  content: '';
  position: absolute;
  top: 22px;
  left: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border-right: 2.5px solid var(--ink);
}
.hero-note strong { display: block; min-width: 0; margin-bottom: 10px; overflow-wrap: anywhere; color: var(--turmeric); font-family: var(--font-mono); font-size: 1.7rem; line-height: 1.1; }
.hero-note span { color: #d8d2c8; font-size: .88rem; }

/* ---------- section heads / tabs ---------- */
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-width: 0;
  gap: 20px;
  margin: 34px 0 18px;
}
.section-heading p { margin: 0; color: var(--muted); }
.category-tabs {
  display: flex;
  max-width: 100%;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 16px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.category-tabs a {
  flex: 0 0 auto;
  padding: 8px 15px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: .87rem;
  white-space: nowrap;
  transition: .15s ease;
}
.category-tabs a.active, .category-tabs a:hover {
  background: var(--chili);
  border-color: var(--chili);
  color: #fff;
}

/* ---------- menu cards: ticket stubs ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px;
  padding-bottom: 55px;
}
.article-wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
  box-shadow: 4px 4px 0 var(--ink);
}
.article-wrapper:hover {
  transform: translate(-6px, -6px);
  box-shadow: var(--shadow-stack-sm);
}
.article-wrapper:active { transform: translate(0, 0); box-shadow: 4px 4px 0 var(--ink); }

.container-project {
  position: relative;
  width: 100%;
  height: 168px;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
  background: #e9dfc6;
}
.container-project::after {
  /* punched tear-line between photo and ticket body */
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 13px;
  background-image: radial-gradient(circle at 7px 7px, var(--paper) 5px, transparent 5.4px);
  background-size: 14px 14px;
  background-position: center;
  background-repeat: repeat-x;
}
.menu-image { width: 100%; height: 100%; object-fit: cover; }
.menu-image.placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--chili);
  background: repeating-linear-gradient(135deg, #e9dfc6, #e9dfc6 10px, #e2d5b6 10px, #e2d5b6 20px);
  font-family: var(--font-display);
  font-size: 2.4rem;
}

.project-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 12px;
  padding: 18px 16px 16px;
}
.flex-pr, .menu-meta, .row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 12px;
}
.project-title { min-width: 0; margin: 0; font-size: 1.15rem; }
.text-nowrap { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-hover {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  transition: all .25s ease;
}
.article-wrapper:hover .project-hover {
  background: var(--turmeric);
  transform: rotate(-45deg);
}
.types { display: flex; flex-wrap: wrap; min-width: 0; gap: 7px; }
.project-type {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  padding: .32em .7em;
  border-radius: 99px;
  background: #fbe4cf;
  color: var(--chili-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.2px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-type-muted { background: #ece7d8; color: var(--muted); }
.menu-content p { flex: 1; margin: 0; color: var(--muted); font-size: .87rem; }
.price { color: var(--chili); font-family: var(--font-mono); font-weight: 700; white-space: nowrap; }
.stock-note { color: var(--muted); font-size: .78rem; font-family: var(--font-mono); }

/* ---------- buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 44px;
  gap: 7px;
  padding: 10px 18px;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  background: var(--chili);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  transition: .15s ease;
  box-shadow: 4px 4px 0 var(--ink);
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); background: var(--chili-dark); }
.button:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--ink); }
.button.secondary { background: var(--turmeric); color: var(--ink); }
.button.secondary:hover { background: var(--turmeric-dark); color: #fff; }
.button.ghost { background: transparent; color: var(--ink); box-shadow: none; }
.button.ghost:hover { background: var(--bg-soft); transform: none; box-shadow: none; }
.button.danger { background: var(--maroon); }
.button.danger:hover { background: #6c1a2a; }
.button.small { min-height: 36px; padding: 7px 12px; border-width: 2px; font-size: .8rem; box-shadow: 3px 3px 0 var(--ink); }
.button.small:hover { box-shadow: 4px 4px 0 var(--ink); }
.button[disabled] { cursor: not-allowed; opacity: .45; transform: none; }

/* ---------- panels / summary ---------- */
.panel, .summary-card {
  min-width: 0;
  max-width: 100%;
  padding: 24px;
  overflow: hidden;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 5px 5px 0 rgba(32, 27, 23, .14);
}
.panel + .panel { margin-top: 18px; }
.page-head { min-width: 0; padding: 40px 0 24px; }
.page-head p { color: var(--muted); }
.checkout-layout, .order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr);
  align-items: start;
  gap: 20px;
  min-width: 0;
  padding-bottom: 55px;
}

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; min-width: 0; gap: 7px; margin-bottom: 15px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .83rem; font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 9px;
  background: var(--bg-soft);
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--chili); background: var(--paper); box-shadow: 0 0 0 3px rgba(193, 57, 29, .13); }
input[type="color"] { height: 44px; padding: 4px; cursor: pointer; }
textarea { min-height: 96px; resize: vertical; }
.radio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.radio-card { position: relative; display: block; min-width: 0; padding: 13px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; transition: .15s ease; }
.radio-card:has(input:checked) { border-color: var(--chili); background: #fdf0e8; box-shadow: 3px 3px 0 var(--turmeric); }
.radio-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.radio-card strong, .radio-card span { display: block; }
.radio-card span { color: var(--muted); font-size: .77rem; }

/* ---------- order lines / totals ---------- */
.order-lines { display: grid; min-width: 0; gap: 14px; }
.order-line, .order-detail-line {
  display: flex;
  justify-content: space-between;
  min-width: 0;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--line);
}
.order-line > *, .order-detail-line > * { min-width: 0; }
.order-line small { display: block; color: var(--muted); font-family: var(--font-mono); font-size: .78rem; }
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  min-width: 0;
  gap: 15px;
  margin-top: 17px;
  padding-top: 17px;
  border-top: 2.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
}

/* ---------- alerts / badges / misc feedback ---------- */
.alert { margin: 18px 0; padding: 13px 16px; border: 2px solid currentColor; border-radius: 11px; font-size: .87rem; }
.alert.success { background: #e6f2ec; color: var(--pine-dark); }
.alert.danger { background: #f7e5e8; color: var(--maroon); }
.alert.warning { background: #fbf0da; color: var(--turmeric-dark); }
.empty { padding: 50px 20px; color: var(--muted); text-align: center; }

.badge { display: inline-flex; max-width: 100%; padding: 5px 10px; border-radius: 99px; font-size: .68rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.badge.success { background: #e0efe7; color: var(--pine-dark); }
.badge.warning { background: #f8ecd2; color: var(--turmeric-dark); }
.badge.danger { background: #f5dfe2; color: var(--maroon); }
.badge.neutral { background: #eae5d6; color: var(--muted); }

.success-page { max-width: 720px; margin: 60px auto; text-align: center; }
.success-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-size: 2rem;
  box-shadow: 5px 5px 0 var(--turmeric);
}
.tracking-box { margin: 28px 0; padding: 22px; border: 2.5px dashed var(--ink); border-radius: var(--radius); background: var(--bg-soft); }
.tracking-box span { color: var(--muted); font-size: .82rem; }
.tracking-box code { display: block; max-width: 100%; margin-top: 7px; overflow-wrap: anywhere; color: var(--chili); font-family: var(--font-mono); font-size: 1.2rem; font-weight: 700; }

.status-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 26px 0; }
.status-step { min-width: 0; padding: 12px 5px 0; border-top: 4px solid var(--line); color: var(--muted); font-size: .72rem; text-align: center; overflow-wrap: anywhere; }
.status-step.done { border-color: var(--pine); color: var(--pine-dark); font-weight: 700; }
.status-step.current { border-color: var(--turmeric); color: var(--turmeric-dark); font-weight: 700; }

/* ---------- footer ---------- */
.site-footer {
  display: flex;
  justify-content: space-between;
  min-width: 0;
  gap: 20px;
  padding: 32px max(18px, calc((100% - 1180px) / 2));
  border-top: 2px solid var(--ink);
  color: var(--muted);
  font-size: .84rem;
}
.site-footer div { display: grid; min-width: 0; gap: 3px; }
.site-footer strong { font-family: var(--font-display); color: var(--ink); }

/* ---------- admin: kitchen board ---------- */
.admin-body { background: var(--bg); }
.admin-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr); min-height: calc(100vh - 69px); min-width: 0; }
.admin-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
  padding: 22px 12px;
  background: var(--ink);
  color: #ece6d8;
}
.admin-sidebar a {
  position: relative;
  padding: 11px 13px 11px 17px;
  border-radius: 8px;
  font-size: .87rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: .15s ease;
}
.admin-sidebar a:hover { background: rgba(255, 255, 255, .06); }
.admin-sidebar a.active { background: rgba(223, 162, 42, .14); border-left-color: var(--turmeric); color: var(--turmeric); font-weight: 700; }
.admin-main { padding: 30px 0 60px; }
.admin-main .page-head { padding-top: 0; }
.admin-user { white-space: nowrap; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.summary-card { padding: 18px; }
.summary-card span { display: block; color: var(--muted); font-size: .78rem; }
.summary-card strong { display: block; margin-top: 9px; font-family: var(--font-mono); color: var(--chili); font-size: 1.55rem; overflow-wrap: anywhere; }
.admin-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; min-width: 0; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .85rem; }
th, td { padding: 13px 10px; border-bottom: 2px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
td strong { font-family: var(--font-mono); }
.actions { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; gap: 7px; }
.inline-form { display: inline; min-width: 0; }
.inline-form select { width: auto; max-width: 100%; padding: 8px; }
.menu-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.admin-menu-item { display: flex; align-items: center; min-width: 0; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.admin-menu-item img, .admin-menu-item .menu-image { flex: 0 0 68px; width: 68px; height: 68px; border: 2px solid var(--ink); border-radius: 10px; object-fit: cover; }
.admin-menu-item .menu-image.placeholder { font-size: 1.3rem; }
.admin-menu-info { flex: 1 1 auto; min-width: 0; }
.admin-menu-info p { margin: 3px 0; overflow-wrap: anywhere; color: var(--muted); font-size: .8rem; }
.admin-menu-item .actions { flex: 0 0 auto; }
.order-detail-list { display: grid; min-width: 0; gap: 12px; }
.proof-image { max-width: 100%; max-height: 420px; border: 2px solid var(--line); border-radius: 12px; object-fit: contain; }

/* ---------- login ---------- */
.login-wrap { display: grid; place-items: center; min-height: 100vh; padding: 20px; background: var(--ink); background-image: radial-gradient(circle at 15% 20%, rgba(223, 162, 42, .18), transparent 40%); }
.login-card { width: min(420px, 100%); padding: 30px; border: 2.5px solid var(--ink); border-radius: var(--radius); background: var(--paper); box-shadow: 8px 8px 0 var(--chili); }
.login-card .brand { margin-bottom: 25px; }
.login-card h1 { font-size: 1.8rem; }
.login-card .button { width: 100%; }
.install-note { margin: 15px 0; padding: 12px; border: 2px solid var(--turmeric-dark); border-radius: 10px; background: #fbf0da; color: var(--turmeric-dark); font-size: .85rem; }

/* ==========================================================================
   Responsive — mobile-first safety net. Nothing below may introduce a
   fixed width wider than 100%; every grid collapses before content clips.
   ========================================================================== */
@media (max-width: 1050px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .hero, .checkout-layout, .order-detail-grid, .admin-two-col { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
  }
  .admin-sidebar a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-left: none; border-radius: 8px; }
  .admin-sidebar a.active { border-left: none; box-shadow: inset 0 -3px 0 var(--turmeric); }
  .admin-main { width: min(100% - 28px, 1180px); padding-top: 22px; }
}
@media (max-width: 600px) {
  .site-header, .admin-topbar { align-items: flex-start; padding: 14px; flex-wrap: wrap; }
  .site-nav, .admin-user { flex-wrap: wrap; gap: 10px; }
  .container { width: min(100% - 28px, 1180px); }
  .hero { gap: 22px; padding-top: 32px; min-height: 0; }
  h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .hero-note { padding: 20px; box-shadow: 5px 5px 0 var(--turmeric); }
  .hero-note::before { top: 18px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 8px; }
  .menu-grid, .form-grid, .radio-grid { grid-template-columns: 1fr; }
  .article-wrapper:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--turmeric), 6px 6px 0 var(--ink); }
  .checkout-layout, .order-detail-grid { padding-bottom: 35px; }
  .panel { padding: 18px; box-shadow: 4px 4px 0 rgba(32, 27, 23, .14); }
  .site-footer { display: grid; padding: 24px 14px; }
  .status-steps { gap: 2px; }
  .status-step { padding: 9px 2px 0; font-size: .6rem; }
  .summary-grid { gap: 10px; }
  .summary-card { padding: 14px; }
  .summary-card strong { font-size: 1.3rem; }
  .admin-menu-item { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .admin-menu-info { flex-basis: calc(100% - 83px); }
  .admin-menu-item .actions { width: 100%; padding-left: 83px; }
  .admin-sidebar { grid-template-columns: 1fr 1fr; }
  .order-line, .order-detail-line { flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .site-nav a:first-child { display: none; }
  .brand { max-width: 58%; }
  .brand-mark { flex-basis: 32px; width: 32px; height: 32px; }
  .summary-grid { grid-template-columns: 1fr; }
  .admin-sidebar { grid-template-columns: 1fr; }
  .admin-menu-info { flex-basis: calc(100% - 80px); }
  .admin-menu-item .actions { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .article-wrapper, .button, .project-hover, .admin-sidebar a { transition: none; }
}
