/* ═══════════════════════════════════════════════════════════════════
   HORSAN TECHNOLOGY — Restaurant POS Premium UI System
   Dark-mode first · Bootstrap 5 overrides · Sidebar layout
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. CSS TOKENS ─────────────────────────────────────────────── */
:root {
  /* Brand (overridden per-page via PHP inline style) */
  --brand-primary: #7C3AED;
  --brand-accent:  #A78BFA;
  --brand-grad:    linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%);

  /* Surfaces */
  --app-bg:        #080D1A;
  --app-surface:   #0F1629;
  --app-elevated:  #162038;
  --app-card:      #162038;
  --app-text:      #E2E8F0;
  --app-muted:     #64748B;
  --app-line:      rgba(255,255,255,0.07);
  --app-shadow:    0 16px 40px rgba(0,0,0,0.40);

  /* Semantic colors */
  --clr-success:   #10B981;
  --clr-warning:   #F59E0B;
  --clr-danger:    #EF4444;
  --clr-info:      #0EA5E9;
  --clr-orange:    #F97316;

  /* Sidebar */
  --sidebar-w:     248px;
  --sidebar-bg:    #060A14;
  --sidebar-border:rgba(255,255,255,0.05);

  /* Layout */
  --header-h:      64px;
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-xl:     22px;
  --radius-2xl:    28px;

  /* Transition */
  --ease:          cubic-bezier(0.4,0,0.2,1);
}

/* ── 2. BASE ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--app-bg);
  color: var(--app-text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.925rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.22); }

/* ── 3. BOOTSTRAP OVERRIDES ──────────────────────────────────── */
.card {
  background: var(--app-card);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-lg);
  color: var(--app-text);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.card-header {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--app-line);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  font-weight: 700;
  color: var(--app-text);
  padding: 0.85rem 1.25rem;
}
.card-body { color: var(--app-text); }

/* Tables */
.table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(255,255,255,0.025);
  --bs-table-hover-bg: rgba(255,255,255,0.04);
  --bs-table-color: var(--app-text);
  --bs-table-border-color: var(--app-line);
  vertical-align: middle;
}
.table thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--app-muted);
  border-bottom: 1px solid var(--app-line);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  font-weight: 600;
}
.table td { border-color: var(--app-line); }
.table-responsive { border-radius: var(--radius-md); }

/* Forms */
.form-control, .form-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--app-text);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-control::placeholder { color: var(--app-muted); }
.form-control:focus, .form-select:focus {
  background: rgba(255,255,255,0.09);
  border-color: var(--brand-primary);
  color: var(--app-text);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.18);
}
.form-select option { background: var(--app-elevated); color: var(--app-text); }
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--app-muted); letter-spacing: 0.03em; margin-bottom: 0.35rem; }
.input-group-text {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: var(--app-muted);
}

/* Buttons */
.btn { border-radius: var(--radius-md); font-weight: 600; transition: all 0.18s var(--ease); }
.btn-primary { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--brand-primary) 85%, #fff 15%); border-color: transparent; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(124,58,237,0.35); }
.btn-success { background: var(--clr-success); border-color: var(--clr-success); }
.btn-danger { background: var(--clr-danger); border-color: var(--clr-danger); }
.btn-warning { background: var(--clr-warning); border-color: var(--clr-warning); color: #000; }
.btn-outline-secondary { border-color: rgba(255,255,255,0.2); color: var(--app-muted); }
.btn-outline-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); color: var(--app-text); }
.btn-outline-primary { border-color: var(--brand-primary); color: var(--brand-accent); }
.btn-outline-primary:hover { background: rgba(124,58,237,0.15); border-color: var(--brand-primary); color: var(--brand-accent); }
.btn-outline-danger { border-color: rgba(239,68,68,0.5); color: var(--clr-danger); }
.btn-outline-danger:hover { background: rgba(239,68,68,0.12); color: var(--clr-danger); }
.btn-light { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: var(--app-text); }
.btn-light:hover { background: rgba(255,255,255,0.18); color: var(--app-text); }
.btn-lg { border-radius: var(--radius-lg); }

/* Badges */
.badge { border-radius: 6px; font-weight: 600; font-size: 0.72rem; }
.badge-pill, .rounded-pill { border-radius: 999px !important; }
.bg-primary { background: var(--brand-primary) !important; }
.bg-success { background: var(--clr-success) !important; }
.bg-danger { background: var(--clr-danger) !important; }
.bg-warning { background: var(--clr-warning) !important; color: #000 !important; }
.bg-info { background: var(--clr-info) !important; }
.bg-light { background: rgba(255,255,255,0.1) !important; color: var(--app-text) !important; }
.bg-secondary { background: rgba(255,255,255,0.12) !important; color: var(--app-muted) !important; }

/* ── Bootstrap utility classes that fight the dark theme ──────────
   Many pages still use Bootstrap's .bg-white / .text-dark / .table-light
   utilities from the old light-theme design. Bootstrap ships these with
   !important, so without these overrides they punch white boxes and
   black text straight through the dark theme on those pages. ── */
.bg-white          { background: var(--app-elevated) !important; color: var(--app-text) !important; }
.text-dark         { color: var(--app-text) !important; }
.text-black        { color: var(--app-text) !important; }
.border-white       { border-color: var(--app-line) !important; }
.table-light, .table-light > th, .table-light > td {
  --bs-table-bg: rgba(255,255,255,0.04) !important;
  --bs-table-color: var(--app-text) !important;
  background: rgba(255,255,255,0.04) !important;
  color: var(--app-text) !important;
  border-color: var(--app-line) !important;
}
.bg-body, .bg-body-tertiary, .bg-body-secondary {
  background: var(--app-bg) !important; color: var(--app-text) !important;
}

/* Alerts */
.alert { border-radius: var(--radius-md); border: none; }
.alert-danger { background: rgba(239,68,68,0.15); color: #FCA5A5; }
.alert-success { background: rgba(16,185,129,0.15); color: #6EE7B7; }
.alert-warning { background: rgba(245,158,11,0.15); color: #FCD34D; }
.alert-info { background: rgba(14,165,233,0.15); color: #7DD3FC; }

/* Modals */
.modal-content {
  background: var(--app-elevated);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-xl);
  color: var(--app-text);
}
.modal-header { border-bottom: 1px solid var(--app-line); }
.modal-footer { border-top: 1px solid var(--app-line); }
.modal-title { font-weight: 700; }
.btn-close { filter: invert(1) opacity(0.6); }

/* Offcanvas */
.offcanvas {
  background: var(--app-elevated);
  color: var(--app-text);
  border-color: var(--app-line);
}

/* List groups */
.list-group-item {
  background: rgba(255,255,255,0.04);
  border-color: var(--app-line);
  color: var(--app-text);
}
.list-group-item-action:hover { background: rgba(255,255,255,0.07); color: var(--app-text); }
.list-group-item.active { background: var(--brand-primary); border-color: var(--brand-primary); }

/* Dropdowns */
.dropdown-menu {
  background: var(--app-elevated);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.40);
}
.dropdown-item { color: var(--app-text); border-radius: var(--radius-sm); }
.dropdown-item:hover, .dropdown-item:focus { background: rgba(255,255,255,0.07); color: var(--app-text); }
.dropdown-divider { border-color: var(--app-line); }

/* Nav tabs */
.nav-tabs { border-bottom: 1px solid var(--app-line); }
.nav-tabs .nav-link { color: var(--app-muted); border: none; border-bottom: 2px solid transparent; border-radius: 0; padding: 0.6rem 1rem; font-weight: 600; }
.nav-tabs .nav-link:hover { color: var(--app-text); border-bottom-color: rgba(255,255,255,0.2); }
.nav-tabs .nav-link.active { color: var(--brand-accent); border-bottom-color: var(--brand-primary); background: transparent; }

/* Pagination */
.page-link { background: var(--app-elevated); border-color: var(--app-line); color: var(--app-muted); }
.page-link:hover { background: rgba(255,255,255,0.08); color: var(--app-text); border-color: var(--app-line); }
.page-item.active .page-link { background: var(--brand-primary); border-color: var(--brand-primary); }

/* ── 4. APP LAYOUT (sidebar + main) ──────────────────────────── */
.pos-app-layout {
  display: flex;
  min-height: 100vh;
  overflow: hidden;
}

.pos-main-content {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--app-bg);
}

.commercial-body { background: var(--app-bg); min-height: 100vh; }

/* ── 5. SIDEBAR ──────────────────────────────────────────────── */
.pos-sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 200;
  scrollbar-width: none;
}
.pos-sidebar::-webkit-scrollbar { display: none; }

/* Brand area */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--sidebar-border);
  text-decoration: none;
  color: inherit;
}
.sidebar-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  overflow: hidden;
  flex-shrink: 0;
}
.sidebar-logo img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-brand-name { font-size: 0.92rem; font-weight: 700; color: var(--app-text); line-height: 1.2; }
.sidebar-brand-sub { font-size: 0.72rem; color: var(--app-muted); }

/* Navigation */
.sidebar-nav { flex: 1; padding: 0.75rem 0.75rem; }

.sidebar-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
  padding: 0.85rem 0.5rem 0.35rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.16s var(--ease);
  margin-bottom: 2px;
  white-space: nowrap;
}
.sidebar-link:hover {
  background: rgba(255,255,255,0.06);
  color: var(--app-text);
}
.sidebar-link.active {
  background: rgba(124,58,237,0.18);
  color: #C4B5FD;
  font-weight: 600;
  border-left: 2px solid var(--brand-primary);
  padding-left: calc(0.75rem - 2px);
}
.sidebar-icon { font-size: 1.05rem; width: 22px; text-align: center; flex-shrink: 0; }
.sidebar-link-sm { font-size: 0.82rem; padding: 0.45rem 0.75rem; }

/* User footer */
.sidebar-footer {
  padding: 0.75rem;
  border-top: 1px solid var(--sidebar-border);
  background: rgba(0,0,0,0.15);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.5rem;
  margin-top: 0.5rem;
}
.sidebar-user-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.sidebar-user-name { font-size: 0.82rem; font-weight: 600; color: var(--app-text); line-height: 1.2; }
.sidebar-user-role { font-size: 0.7rem; color: var(--app-muted); text-transform: capitalize; }
.sidebar-user-info { flex: 1; min-width: 0; overflow: hidden; }
.sidebar-logout {
  color: var(--app-muted);
  text-decoration: none;
  font-size: 1.1rem;
  opacity: 0.6;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.sidebar-logout:hover { opacity: 1; color: var(--clr-danger); }

/* Mobile sidebar toggle */
.sidebar-toggle-btn {
  display: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-md);
  color: var(--app-text);
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ── 6. PAGE HEADER ──────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--app-line);
  background: var(--app-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  gap: 1rem;
  flex-wrap: wrap;
}
.page-header-left { display: flex; align-items: center; gap: 0.75rem; }
.page-title { font-size: 1.15rem; font-weight: 700; color: var(--app-text); margin: 0; }
.page-subtitle { font-size: 0.8rem; color: var(--app-muted); margin: 0; }
.page-header-right { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

/* Breadcrumb trail */
.page-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-accent);
  margin-bottom: 0.2rem;
}

/* ── 7. STAT CARDS ──────────────────────────────────────────── */
.stat-card {
  background: var(--app-card);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.30); }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--stat-accent, var(--brand-grad));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.stat-card.accent-success::before { background: linear-gradient(90deg, var(--clr-success), #34D399); }
.stat-card.accent-warning::before { background: linear-gradient(90deg, var(--clr-warning), #FCD34D); }
.stat-card.accent-danger::before  { background: linear-gradient(90deg, var(--clr-danger), #F87171); }
.stat-card.accent-info::before    { background: linear-gradient(90deg, var(--clr-info), #38BDF8); }

.stat-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  background: rgba(124,58,237,0.15);
}
.stat-icon.si-success { background: rgba(16,185,129,0.15); }
.stat-icon.si-warning { background: rgba(245,158,11,0.15); }
.stat-icon.si-danger  { background: rgba(239,68,68,0.15); }
.stat-icon.si-info    { background: rgba(14,165,233,0.15); }

.stat-label { font-size: 0.78rem; color: var(--app-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-value { font-size: 1.65rem; font-weight: 800; color: var(--app-text); line-height: 1.2; margin: 0.2rem 0; }
.stat-hint { font-size: 0.78rem; color: var(--app-muted); }
.stat-hint .up   { color: var(--clr-success); }
.stat-hint .down { color: var(--clr-danger); }

/* ── 8. TILES (module links) ─────────────────────────────────── */
.tile {
  display: block;
  text-decoration: none;
  background: var(--app-card);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  height: 100%;
  color: var(--app-text);
  transition: transform 0.14s var(--ease), box-shadow 0.14s var(--ease), border-color 0.14s var(--ease);
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.30);
  border-color: rgba(124,58,237,0.35);
  color: var(--app-text);
}
.tile .ic {
  font-size: 1.3rem;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(124,58,237,0.14);
  display: flex; align-items: center; justify-content: center;
  margin-right: 0.7rem;
  flex-shrink: 0;
}
.tile h6 { font-weight: 700; margin: 0; font-size: 0.9rem; }
.tile p  { margin: 0.2rem 0 0; color: var(--app-muted); font-size: 0.82rem; }

/* ── 9. HERO CARD (gradient header) ─────────────────────────── */
.commercial-hero,
.header-card {
  background: var(--brand-grad);
  color: #fff;
  border: 0;
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 40px rgba(79,70,229,0.28);
  padding: 1.25rem 1.5rem;
}
.commercial-hero .btn, .header-card .btn { border-color: rgba(255,255,255,0.4); color: #fff; }
.commercial-hero .btn:hover, .header-card .btn:hover { background: rgba(255,255,255,0.15); }

.brand-orb {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-orb img { width: 100%; height: 100%; object-fit: cover; }

/* ── 10. PRODUCT TOUCH GRID ─────────────────────────────────── */
.touch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.touch-tile {
  background: var(--app-card);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-lg);
  padding: 12px;
  min-height: 110px;
  cursor: pointer;
  transition: transform 0.12s var(--ease), border-color 0.12s var(--ease);
}
.touch-tile:hover { transform: translateY(-2px); border-color: rgba(124,58,237,0.4); }
.touch-tile .price { font-weight: 800; color: var(--brand-accent); }

/* ── 11. STATUS DOTS ──────────────────────────────────────────── */
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.dot-ok   { background: var(--clr-success); box-shadow: 0 0 6px rgba(16,185,129,0.5); }
.dot-warn { background: var(--clr-warning); box-shadow: 0 0 6px rgba(245,158,11,0.5); }
.dot-bad  { background: var(--clr-danger);  box-shadow: 0 0 6px rgba(239,68,68,0.5); }

/* Low stock row highlight */
.low-stock { background: rgba(245,158,11,0.06) !important; }

/* ── 12. POS FULL-SCREEN LAYOUT ──────────────────────────────── */
.pos-shell { height: 100vh; overflow: hidden; }
.pos-layout { display: flex; height: 100vh; background: var(--app-bg); }

/* ── 13. SECTION HEADINGS ─────────────────────────────────────── */
.sec-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--app-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--app-line);
}

/* ── 14. SMALL UTILITY CLASSES ───────────────────────────────── */
.text-muted { color: var(--app-muted) !important; }
.text-success { color: var(--clr-success) !important; }
.text-danger  { color: var(--clr-danger) !important; }
.text-warning { color: var(--clr-warning) !important; }
.text-info    { color: var(--clr-info) !important; }
.border-subtle { border-color: var(--app-line) !important; }
.bg-surface { background: var(--app-surface) !important; }
.bg-elevated { background: var(--app-elevated) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }

/* Glow */
.glow-primary { box-shadow: 0 0 20px rgba(124,58,237,0.25); }
.glow-success  { box-shadow: 0 0 20px rgba(16,185,129,0.25); }

/* Shimmer loading */
.skeleton {
  background: linear-gradient(90deg, var(--app-elevated) 25%, rgba(255,255,255,0.04) 50%, var(--app-elevated) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── 15. PRINT ───────────────────────────────────────────────── */
@media print {
  .pos-sidebar, .page-header .btn, .no-print { display: none !important; }
  .pos-main-content { overflow: visible; }
  body, .card { background: #fff !important; color: #000 !important; }
  .card { box-shadow: none !important; border: 1px solid #ddd !important; }
}

/* ── 16. RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .pos-sidebar {
    position: fixed;
    left: -260px;
    top: 0;
    bottom: 0;
    transition: left 0.28s var(--ease);
    z-index: 999;
    box-shadow: 4px 0 24px rgba(0,0,0,0.4);
  }
  .pos-sidebar.sidebar-open { left: 0; }
  .sidebar-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    backdrop-filter: blur(3px);
  }
  .sidebar-backdrop.visible { display: block; }
  .sidebar-toggle-btn { display: flex; }
  .pos-main-content { overflow-y: auto; }
  .commercial-hero, .header-card { border-radius: var(--radius-lg); }
  .touch-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .page-header { padding: 0.85rem 1rem; }
  .stat-value { font-size: 1.3rem; }
  .tile { padding: 0.85rem; }
  .tile .ic { width: 38px; height: 38px; }
}
