/* ═══════════════════════════════════════════════════════════
   QR Menu — Global Stylesheet  v2
   RTL Arabic · Sidebar layout · Noto Sans Arabic
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;500;600;700;800&display=swap');

/* ── Variables ───────────────────────────────────────────── */
:root {
  --primary:       #e05529;
  --primary-d:     #c04420;
  --primary-bg:    #fef3ee;
  --success:       #1a7a3c;
  --success-bg:    #eaf7ef;
  --danger:        #c0392b;
  --danger-bg:     #fdecea;
  --warning:       #b45309;
  --warning-bg:    #fef9ec;

  --dark:          #111827;

  /* ── Sidebar colors (from SevinHub reference) ── */
  --sb-bg:         #151c2c;   /* deep navy background */
  --sb-bg2:        #1a2235;   /* slightly lighter — brand strip & footer */
  --sb-active:     #f5a623;   /* amber-orange active pill */
  --sb-active-d:   #d98e10;   /* hover on active */
  --sb-hover:      rgba(255,255,255,.06);
  --sb-text:       rgba(255,255,255,.68);
  --sb-text-hi:    #ffffff;
  --sb-label:      rgba(255,255,255,.28);
  --sb-border:     rgba(255,255,255,.06);
  --sb-width:      256px;

  --bg:            #f3f4f6;
  --surface:       #ffffff;
  --border:        #e5e7eb;
  --text:          #111827;
  --muted:         #6b7280;
  --subtle:        #f9fafb;

  --radius:        12px;
  --radius-sm:     8px;
  --radius-xs:     6px;
  --shadow:        0 4px 24px rgba(0,0,0,.09);
  --shadow-sm:     0 1px 4px rgba(0,0,0,.07);
}

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

html {
  font-size:15px;
  direction:rtl;   /* RTL at root so every element inherits it */
}

body {
  font-family:'Noto Sans Arabic',system-ui,-apple-system,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
  direction:rtl;
  text-align:right;
}

a { color:var(--primary); text-decoration:none; }
a:hover { text-decoration:underline; }
img { display:block; max-width:100%; }

/* ═══════════════════════════════════════════════════════════
   APP SHELL — sidebar (sticky) + scrollable main
═══════════════════════════════════════════════════════════ */

.app {
  display:flex;
  flex-direction:row;      /* RTL direction already puts sidebar on the right */
  align-items:flex-start;  /* required for position:sticky to work on sidebar */
  min-height:100vh;
}

/* ── Sidebar ── */
.sidebar {
  width: var(--sb-width);
  flex-shrink: 0;
  background: var(--sb-bg);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar::-webkit-scrollbar { width:4px; }
.sidebar::-webkit-scrollbar-thumb { background:rgba(255,255,255,.1); border-radius:2px; }

/* ── Brand strip (top) ── */
.sb-brand {
  display:flex;
  align-items:center;
  gap:12px;
  padding:18px 16px 16px;
  border-bottom:1px solid var(--sb-border);
  background:var(--sb-bg2);
  color:var(--sb-text-hi);
  font-weight:700;
  font-size:.92rem;
  flex-shrink:0;
}

.sb-brand-icon {
  width:38px; height:38px;
  background:var(--sb-active);
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  font-size:1.1rem;
  color:#fff;
  box-shadow:0 4px 12px rgba(245,166,35,.35);
}

.sb-brand-text { line-height:1.25; }
.sb-brand-text .brand-name { font-weight:800; font-size:.92rem; color:#fff; }
.sb-brand-text .brand-role { font-size:.72rem; color:rgba(255,255,255,.4); margin-top:1px; }

/* ── Section label ── */
.sb-group-label {
  padding:18px 18px 6px;
  font-size:.63rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--sb-label);
  flex-shrink:0;
}

/* ── Nav list ── */
.sb-nav {
  list-style:none;
  padding:2px 10px;
  margin:0;
  flex-shrink:0;
}

.sb-nav li { margin:2px 0; }

.sb-nav a {
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px 13px;
  border-radius:10px;
  color:var(--sb-text);
  font-size:.875rem;
  font-weight:500;
  transition:background .15s, color .15s;
  text-decoration:none;
}

.sb-nav a:hover {
  background:var(--sb-hover);
  color:var(--sb-text-hi);
  text-decoration:none;
}

.sb-nav a.active {
  background:var(--sb-active);
  color:#fff;
  font-weight:700;
  box-shadow:0 4px 14px rgba(245,166,35,.30);
}

.sb-nav a.active:hover { background:var(--sb-active-d); }

/* icon — fixed width so text aligns across all items */
.sb-nav .ico {
  width:20px;
  flex-shrink:0;
  text-align:center;
  font-style:normal;
  font-size:.9rem;
  opacity:.7;
  line-height:1;
}

.sb-nav a.active .ico { opacity:1; }
.sb-nav a:hover .ico  { opacity:.9; }

/* restaurant submenu — scrollable if many */
.sb-nav.restaurants { max-height:260px; overflow-y:auto; }
.sb-nav.restaurants::-webkit-scrollbar { width:3px; }
.sb-nav.restaurants::-webkit-scrollbar-thumb { background:rgba(255,255,255,.08); }

/* ── Footer / user strip ── */
.sb-footer {
  margin-top:auto;
  padding:10px 10px 12px;
  border-top:1px solid var(--sb-border);
  background:var(--sb-bg2);
  flex-shrink:0;
}

.sb-footer a {
  display:flex; align-items:center; gap:10px;
  padding:10px 13px;
  border-radius:10px;
  color:rgba(255,255,255,.45);
  font-size:.85rem;
  font-weight:500;
  transition:background .15s, color .15s;
  text-decoration:none;
}

.sb-footer a:hover {
  background:var(--sb-hover);
  color:var(--sb-text-hi);
  text-decoration:none;
}

/* ── Main content ── */
.main {
  flex:1;
  min-width:0;
  padding:32px 40px 60px;
  overflow-x:hidden;
}

/* ── Mobile hamburger ── */
.hamburger {
  display:none;
  position:fixed;
  top:12px; left:12px;
  z-index:300;
  background:var(--sb-bg);
  color:#fff;
  border:none;
  border-radius:var(--radius-sm);
  width:40px; height:40px;
  cursor:pointer;
  font-size:1.1rem;
  align-items:center; justify-content:center;
}

.sb-overlay {
  display:none;
  position:fixed; inset:0;
  background:rgba(0,0,0,.45);
  z-index:200;
}

@media(max-width:780px){
  .app { flex-direction:column; }
  .sidebar {
    position:fixed;
    top:0; right:0; bottom:0;
    transform:translateX(100%);
    transition:transform .25s ease;
    z-index:250;
    height:100%; width:var(--sb-width);
  }
  .sidebar.open { transform:translateX(0); }
  .sb-overlay.open { display:block; }
  .hamburger { display:flex; }
  .main { padding:64px 16px 40px; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER
═══════════════════════════════════════════════════════════ */
.page-header {
  display:flex; align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap; gap:12px;
  margin-bottom:28px;
}

.page-header h1 {
  font-size:1.45rem; font-weight:800;
  color:var(--dark); line-height:1.2;
}

.page-header .sub {
  color:var(--muted); font-size:.82rem; margin-top:3px;
}

.page-header .actions { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }

/* ═══════════════════════════════════════════════════════════
   STATS ROW
═══════════════════════════════════════════════════════════ */
.stats {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
  gap:14px;
  margin-bottom:28px;
}

.stat {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px 20px;
  box-shadow:var(--shadow-sm);
}

.stat-val {
  font-size:1.9rem; font-weight:800;
  color:var(--primary); line-height:1;
}

.stat-label {
  color:var(--muted); font-size:.78rem; margin-top:5px;
}

/* ═══════════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════════ */
.card {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px 24px;
  margin-bottom:18px;
  box-shadow:var(--shadow-sm);
}

.card-head {
  display:flex; align-items:center;
  justify-content:space-between;
  flex-wrap:wrap; gap:10px;
  padding-bottom:14px; margin-bottom:16px;
  border-bottom:1px solid var(--border);
}

.card-head h2, .card-head h3 {
  font-size:.95rem; font-weight:700; color:var(--dark);
}

/* ═══════════════════════════════════════════════════════════
   RESTAURANT CARDS (grid)
═══════════════════════════════════════════════════════════ */
.r-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:18px;
}

.r-card {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column;
  transition:box-shadow .18s, transform .18s;
}

.r-card:hover { box-shadow:var(--shadow); transform:translateY(-2px); }

.r-cover {
  height:80px;
  background:linear-gradient(120deg, #1e2740 0%, #2d3a5e 100%);
  position:relative;
  overflow:hidden;
}

.r-cover img { width:100%; height:100%; object-fit:cover; }

/* logo bubble sitting on cover bottom */
.r-logo {
  position:absolute;
  bottom:-18px; right:16px;
  width:42px; height:42px;
  border-radius:10px;
  border:3px solid var(--surface);
  background:var(--subtle);
  object-fit:cover;
  box-shadow:var(--shadow-sm);
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem;
  color:var(--muted);
  overflow:hidden;
}

.r-logo img { width:100%; height:100%; object-fit:cover; }

.r-body {
  padding:26px 18px 14px;
  flex:1;
}

.r-name {
  font-weight:700; font-size:.98rem;
  color:var(--dark); margin-bottom:6px;
}

.r-meta {
  font-size:.78rem; color:var(--muted);
  display:flex; align-items:center;
  flex-wrap:wrap; gap:6px;
  margin-bottom:10px;
}

.badge-scan {
  display:inline-flex; align-items:center; gap:3px;
  background:var(--primary-bg); color:var(--primary);
  font-size:.72rem; font-weight:700;
  padding:2px 8px; border-radius:20px;
}

.r-link { font-size:.78rem; color:var(--primary); }

.r-actions {
  display:flex; flex-wrap:wrap; gap:6px;
  padding:12px 18px;
  border-top:1px solid var(--border);
  background:var(--subtle);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:9px 18px;
  border-radius:var(--radius-sm);
  border:none;
  font-size:.86rem; font-weight:600;
  font-family:inherit;
  cursor:pointer;
  white-space:nowrap;
  text-decoration:none !important;
  transition:background .15s, box-shadow .15s, transform .1s;
  line-height:1;
}

.btn:active { transform:translateY(1px); }

/* primary */
.btn-primary, .btn {
  background:var(--primary); color:#fff !important;
  box-shadow:0 2px 8px rgba(224,85,41,.28);
}
.btn-primary:hover, .btn:hover {
  background:var(--primary-d);
  box-shadow:0 4px 14px rgba(224,85,41,.38);
  text-decoration:none;
}

/* secondary */
.btn-secondary {
  background:var(--surface); color:var(--dark) !important;
  border:1px solid var(--border);
  box-shadow:var(--shadow-sm);
}
.btn-secondary:hover { background:var(--subtle); }

/* danger */
.btn-danger {
  background:var(--danger); color:#fff !important;
  box-shadow:0 2px 8px rgba(192,57,43,.22);
}
.btn-danger:hover { background:#a93226; }

/* ghost */
.btn-ghost {
  background:transparent; color:var(--muted) !important;
  border:1px solid var(--border); box-shadow:none;
}
.btn-ghost:hover { background:var(--subtle); color:var(--text) !important; }

/* sizes */
.btn-sm { padding:6px 12px; font-size:.78rem; }
.btn-lg { padding:12px 26px; font-size:.95rem; }
.btn-block { width:100%; justify-content:center; }

/* ═══════════════════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════════════════ */
.form-group { margin-bottom:18px; }

.form-group label {
  display:block; font-size:.82rem;
  font-weight:600; color:var(--dark);
  margin-bottom:6px;
}

.form-group input:not([type=checkbox]):not([type=radio]),
.form-group textarea,
.form-group select {
  width:100%; padding:10px 13px;
  border:1.5px solid var(--border);
  border-radius:var(--radius-sm);
  font-size:.9rem; font-family:inherit;
  background:#fff; color:var(--text);
  direction:rtl;
  transition:border-color .15s, box-shadow .15s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(224,85,41,.12);
}

.form-group textarea { resize:vertical; min-height:90px; }

.form-hint { font-size:.76rem; color:var(--muted); margin-top:4px; }

.check-row {
  display:flex; align-items:center; gap:10px;
  padding:11px 13px;
  background:var(--subtle);
  border:1.5px solid var(--border);
  border-radius:var(--radius-sm);
  cursor:pointer;
}

.check-row input[type=checkbox] {
  width:17px; height:17px;
  accent-color:var(--primary);
  cursor:pointer; flex-shrink:0;
}

.check-row span { font-size:.88rem; font-weight:500; }

.form-actions {
  display:flex; gap:10px; flex-wrap:wrap;
  padding-top:10px;
  border-top:1px solid var(--border);
  margin-top:8px;
}

.img-preview {
  border-radius:var(--radius-sm);
  object-fit:cover;
  border:1px solid var(--border);
  margin-bottom:10px;
}

/* inline add-category form */
.inline-form {
  display:flex; gap:10px; align-items:stretch;
}

.inline-form input {
  flex:1; padding:10px 13px;
  border:1.5px solid var(--border);
  border-radius:var(--radius-sm);
  font-size:.9rem; font-family:inherit;
  direction:rtl;
  transition:border-color .15s;
}

.inline-form input:focus {
  outline:none; border-color:var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   FLASH / ALERT
═══════════════════════════════════════════════════════════ */
.flash {
  display:flex; align-items:flex-start; gap:10px;
  padding:12px 16px; border-radius:var(--radius-sm);
  font-size:.86rem; line-height:1.55;
  margin-bottom:18px;
}

.flash .fi { font-style:normal; flex-shrink:0; }

.flash-error   { background:var(--danger-bg);  color:var(--danger);  border:1px solid #f5c2be; }
.flash-success { background:var(--success-bg); color:var(--success); border:1px solid #b2e4c7; }
.flash-warning { background:var(--warning-bg); color:var(--warning); border:1px solid #fcd34d; }
.flash-info    { background:#eff6ff; color:#1d4ed8; border:1px solid #bfdbfe; }

/* ═══════════════════════════════════════════════════════════
   CATEGORY + ITEM LIST  (dashboard & admin menu editor)
═══════════════════════════════════════════════════════════ */
.cat-section { margin-bottom:12px; }

.cat-head {
  display:flex; align-items:center;
  justify-content:space-between;
  padding:13px 20px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius) var(--radius) 0 0;
  border-bottom:none;
}

.cat-name {
  font-size:1rem; font-weight:700; color:var(--dark);
  display:flex; align-items:center; gap:8px;
}

.cat-badge {
  font-size:.7rem; font-weight:700;
  background:var(--primary-bg); color:var(--primary);
  padding:2px 8px; border-radius:20px;
}

.items-list {
  background:var(--surface);
  border:1px solid var(--border);
  border-top:none;
  border-radius:0 0 var(--radius) var(--radius);
  overflow:hidden;
  margin-bottom:20px;
}

.item-row {
  display:flex; align-items:center; gap:13px;
  padding:13px 20px;
  border-bottom:1px solid var(--border);
  transition:background .12s;
}

.item-row:last-child { border-bottom:none; }
.item-row:hover { background:var(--subtle); }

.item-photo {
  width:56px; height:56px;
  border-radius:9px; object-fit:cover;
  background:var(--border); flex-shrink:0;
  border:1px solid var(--border);
}

.item-info { flex:1; min-width:0; }

.item-name {
  font-weight:600; font-size:.9rem; color:var(--dark);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.item-desc {
  color:var(--muted); font-size:.78rem; margin-top:2px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.item-tags { display:flex; flex-wrap:wrap; gap:3px; margin-top:4px; }

.item-tags span {
  background:#f1ede8; color:var(--muted);
  font-size:.68rem; padding:2px 7px;
  border-radius:20px; font-weight:500;
}

.item-price {
  font-weight:700; color:var(--primary);
  font-size:.92rem; white-space:nowrap; flex-shrink:0;
}

.item-actions { display:flex; gap:5px; flex-shrink:0; }

.item-unavailable { opacity:.5; }
.item-unavailable .item-name::after {
  content:" (غير متاح)";
  font-size:.73rem; font-weight:400; color:var(--danger);
}

.items-empty {
  padding:22px 20px;
  color:var(--muted); font-size:.85rem; text-align:center;
}

/* ═══════════════════════════════════════════════════════════
   QR BOX
═══════════════════════════════════════════════════════════ */
.qr-box {
  text-align:center; padding:30px 20px;
}

.qr-box img {
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:10px; background:#fff;
  display:inline-block;
  box-shadow:var(--shadow-sm);
}

.qr-url {
  word-break:break-all; color:var(--muted);
  font-size:.75rem; margin:14px auto 20px;
  max-width:360px;
  background:var(--subtle); padding:8px 12px;
  border-radius:var(--radius-sm);
  border:1px solid var(--border);
  font-family:monospace;
}

.qr-btns { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }

/* ═══════════════════════════════════════════════════════════
   CREDENTIALS BOX (create restaurant success)
═══════════════════════════════════════════════════════════ */
.creds {
  background:var(--subtle); border:1px solid var(--border);
  border-radius:var(--radius-sm); padding:14px 16px; margin:14px 0;
}

.cred-row {
  display:flex; justify-content:space-between; align-items:center;
  padding:7px 0; border-bottom:1px solid var(--border);
  font-size:.86rem;
}

.cred-row:last-child { border-bottom:none; }
.cred-label { color:var(--muted); font-weight:500; }
.cred-val { font-weight:700; font-family:monospace; }

/* ═══════════════════════════════════════════════════════════
   LOGIN PAGE
═══════════════════════════════════════════════════════════ */
.login-wrap {
  min-height:100vh; display:flex;
  align-items:center; justify-content:center;
  background:linear-gradient(135deg, #1e2740 0%, #2d3a5e 55%, #111827 100%);
  padding:20px;
}

.login-box {
  background:var(--surface); border-radius:18px;
  padding:38px 34px; width:100%; max-width:390px;
  box-shadow:0 8px 48px rgba(0,0,0,.28);
}

.login-logo {
  text-align:center; margin-bottom:26px;
}

.login-icon {
  width:56px; height:56px;
  background:var(--primary); border-radius:14px;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:1.6rem; margin-bottom:10px;
}

.login-logo h1 { font-size:1.2rem; font-weight:800; color:var(--dark); }
.login-logo p  { color:var(--muted); font-size:.8rem; margin-top:3px; }

/* ═══════════════════════════════════════════════════════════
   PUBLIC MENU PAGE
═══════════════════════════════════════════════════════════ */
.menu-cover { width:100%; max-height:220px; object-fit:cover; display:block; }

.menu-hero {
  text-align:center; padding:26px 20px 14px;
  background:#fff;
}

.menu-logo {
  width:82px; height:82px; border-radius:50%;
  object-fit:cover; border:4px solid #fff;
  box-shadow:var(--shadow); margin:0 auto 10px;
  display:block;
}

.menu-hero h1 { font-size:1.5rem; font-weight:800; color:var(--dark); margin-bottom:5px; }
.menu-hero .meta { color:var(--muted); font-size:.85rem; line-height:1.7; }

.menu-wrap { max-width:640px; margin:0 auto; padding:0 0 48px; }

.menu-cat-title {
  font-size:1.05rem; font-weight:800; color:var(--dark);
  padding:8px 0 6px; margin:20px 16px 0;
  border-bottom:2px solid var(--primary);
  display:inline-block;
}

.menu-item {
  display:flex; gap:12px; align-items:flex-start;
  padding:14px 16px; border-bottom:1px solid var(--border);
}

.menu-item:last-child { border-bottom:none; }

.menu-item-img {
  /* fluid: 72px on small phones, 80px on wider screens */
  width: clamp(62px, 18vw, 80px);
  height: clamp(62px, 18vw, 80px);
  border-radius:10px;
  object-fit:cover; flex-shrink:0;
  border:1px solid var(--border);
}

.menu-item-info { flex:1; min-width:0; }
.menu-item-name { font-weight:700; font-size:.93rem; color:var(--dark); margin-bottom:4px; }
.menu-item-desc { color:var(--muted); font-size:.8rem; line-height:1.5; margin-bottom:5px; }

.menu-tags { display:flex; flex-wrap:wrap; gap:3px; }
.menu-tags span {
  background:#f1ede8; color:var(--muted);
  font-size:.68rem; padding:2px 7px;
  border-radius:20px;
}

.menu-item-price {
  font-weight:800; color:var(--primary);
  font-size:.93rem; white-space:nowrap;
  flex-shrink:0; padding-top:2px;
}

/* ── Mobile menu tweaks ── */
@media (max-width: 480px) {
  .menu-item {
    gap:10px;
    padding:12px 14px;
  }

  /* image shrinks to 58px on very small screens */
  .menu-item-img {
    width:58px;
    height:58px;
    border-radius:8px;
  }

  .menu-item-name  { font-size:.88rem; }
  .menu-item-desc  { font-size:.77rem; }
  .menu-item-price { font-size:.88rem; }

  .menu-hero h1    { font-size:1.25rem; }
  .menu-logo       { width:68px; height:68px; }
  .menu-cover      { max-height:160px; }

  /* category title full-width on mobile */
  .menu-cat-title {
    display:block;
    margin:16px 0 0;
    font-size:.95rem;
  }
}

.menu-footer {
  text-align:center; color:var(--muted);
  font-size:.72rem; padding:28px 0 16px;
}

/* ═══════════════════════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════════════════════ */
.empty {
  text-align:center; padding:56px 20px; color:var(--muted);
}
.empty-ico { font-size:2.6rem; margin-bottom:10px; opacity:.45; }
.empty p   { font-size:.9rem; margin-bottom:14px; }

/* ═══════════════════════════════════════════════════════════
   MISC UTILITIES
═══════════════════════════════════════════════════════════ */
.back-link {
  display:inline-flex; align-items:center; gap:5px;
  color:var(--muted); font-size:.82rem; margin-bottom:18px;
  transition:color .15s;
}
.back-link:hover { color:var(--primary); text-decoration:none; }

hr.divider { border:none; border-top:1px solid var(--border); margin:20px 0; }

.text-muted   { color:var(--muted); }
.text-primary { color:var(--primary); }
.text-sm      { font-size:.8rem; }
.fw-bold      { font-weight:700; }
.mt-0         { margin-top:0; }
.mb-0         { margin-bottom:0; }

/* narrow content wrapper (forms, settings) */
.narrow { max-width:520px; }
