:root {
  --bg: #0b1120;
  --bg-soft: #111827;
  --shell: #eef4ff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-2: rgba(255, 255, 255, 0.78);
  --surface-dark: rgba(15, 23, 42, 0.9);
  --text: #0f172a;
  --text-soft: #475569;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.22);
  --line-strong: rgba(148, 163, 184, 0.34);
  --brand: #2563eb;
  --brand-2: #7c3aed;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --radius-xs: .8rem;
  --radius-sm: 1rem;
  --radius-md: 1.2rem;
  --radius-lg: 1.5rem;
  --radius-xl: 1.85rem;
  --shadow-sm: 0 12px 26px rgba(15, 23, 42, .07);
  --shadow-md: 0 22px 48px rgba(15, 23, 42, .1);
  --shadow-lg: 0 28px 68px rgba(2, 6, 23, .16);
  --hero-gradient: linear-gradient(135deg, #2563eb 0%, #4f46e5 48%, #7c3aed 100%);
  --hero-soft: radial-gradient(circle at top left, rgba(37,99,235,.22), transparent 32%), radial-gradient(circle at bottom right, rgba(124,58,237,.16), transparent 30%);
  --nav-bg: linear-gradient(180deg, #081121 0%, #0f172a 38%, #151f36 100%);
}
* { box-sizing: border-box; }
html, body {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.12), transparent 30%),
    radial-gradient(circle at top right, rgba(124,58,237,.12), transparent 28%),
    linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
  color: var(--text);
}
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}
a { text-decoration: none; }
img { max-width: 100%; }
.app-shell { position: relative; }
.app-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 15% 15%, rgba(255,255,255,.65), transparent 18%);
  opacity: .55;
}
.app-main {
  background: transparent;
  position: relative;
}
.app-content {
  position: relative;
  z-index: 2;
}
.app-sidebar-wrap { position: relative; }
.app-sidebar {
  min-height: 100%;
  position: sticky;
  top: 0;
  background: var(--nav-bg);
  color: #f8fbff;
  box-shadow: 18px 0 40px rgba(2, 6, 23, .18);
  overflow: hidden;
}
.app-sidebar::before,
.app-sidebar::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(6px);
  opacity: .45;
}
.app-sidebar::before {
  width: 220px; height: 220px;
  top: -70px; right: -70px;
  background: radial-gradient(circle, rgba(59,130,246,.48), transparent 65%);
}
.app-sidebar::after {
  width: 180px; height: 180px;
  bottom: 8%; left: -60px;
  background: radial-gradient(circle, rgba(124,58,237,.4), transparent 66%);
}
.brand-lockup { position: relative; z-index: 2; }
.brand-mark {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 1rem;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,.25), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  font-size: 1.35rem;
}
.brand-subtitle {
  color: rgba(226,232,240,.72);
  font-size: .88rem;
}
.sidebar-user-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.2rem;
  padding: 1rem 1rem .95rem;
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.sidebar-user-card .user-role { color: #fff; font-weight: 700; }
.sidebar-user-card .user-meta { color: rgba(226,232,240,.72); font-size: .82rem; }
.sidebar-section-label {
  position: relative;
  z-index: 2;
  color: rgba(226,232,240,.58);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 1.2rem 0 .55rem;
}
.sidebar-nav {
  position: relative;
  z-index: 2;
}
.sidebar-nav a {
  color: rgba(248,250,252,.78);
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .88rem .95rem;
  border-radius: 1rem;
  font-weight: 600;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  position: relative;
}
.sidebar-nav a::after {
  content: "";
  position: absolute;
  left: .65rem;
  top: .55rem;
  bottom: .55rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity .18s ease;
}
.sidebar-nav a i { font-size: 1.02rem; }
.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.07));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  transform: translateX(2px);
}
.sidebar-nav a:hover::after,
.sidebar-nav a.active::after { opacity: 1; }
.sidebar-nav .badge { font-size: .68rem; }
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0 1.1rem !important;
  margin: 0;
}
.topbar-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.topbar-subtitle {
  color: var(--muted);
  max-width: 760px;
}
.topbar-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}
.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .66rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(148,163,184,.2);
  color: #334155;
  box-shadow: var(--shadow-sm);
  font-size: .84rem;
  font-weight: 600;
  backdrop-filter: blur(16px);
}
.page-shell {
  display: grid;
  gap: 1.5rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.section-header h2,
.section-header h3,
.section-header h4,
.section-header h5 { margin: 0; }
.hero-card {
  position: relative;
  overflow: hidden;
  background: var(--hero-gradient) !important;
  color: #fff;
  border: 0 !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-lg) !important;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-soft);
  opacity: .95;
}
.hero-card .card-body { position: relative; z-index: 1; }
.hero-card .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.14);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.hero-card .hero-title {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  margin-bottom: .55rem;
}
.hero-card .hero-copy {
  color: rgba(255,255,255,.82);
  max-width: 760px;
  font-size: 1rem;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .85rem;
  margin-top: 1.35rem;
}
.hero-metric {
  padding: .95rem 1rem;
  border-radius: 1.15rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
}
.hero-metric-label {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.72);
}
.hero-metric-value {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-top: .25rem;
}
.card,
.table-responsive,
.calendar-day,
.order-card,
.stage-panel,
.load-card,
.alert-strip,
.thread-card,
.portal-card,
.file-preview-card,
.quick-action-card {
  border-radius: var(--radius-md) !important;
}
.card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-sm) !important;
}
.card-subtle {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(249,251,255,.8));
}
.card-glass {
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.72));
  backdrop-filter: blur(18px);
}
.card-stat {
  overflow: hidden;
  position: relative;
}
.card-stat::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.card-stat .display-6,
.stat-value {
  font-weight: 800;
  letter-spacing: -.04em;
}
.stat-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: .45rem;
  color: var(--muted);
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat-trend {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  font-size: .74rem;
  font-weight: 700;
  color: var(--success);
}
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.quick-action-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.05rem;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(246,249,255,.84));
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.quick-action-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.quick-action-icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: .95rem;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 24px rgba(79,70,229,.22);
}
.quick-action-title { font-weight: 700; }
.quick-action-meta { color: var(--muted); font-size: .84rem; }
.text-muted, .small.text-muted { color: var(--muted) !important; }
.text-soft { color: var(--text-soft) !important; }
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .72rem;
  border-radius: 999px;
  background: rgba(37,99,235,.1);
  color: #1d4ed8;
  font-size: .76rem;
  font-weight: 700;
}
.btn {
  border-radius: 1rem;
  font-weight: 700;
  padding: .72rem 1rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark {
  background: linear-gradient(135deg, #111827, #1d4ed8);
  border: 0;
  box-shadow: 0 10px 22px rgba(37,99,235,.22);
}
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border: 0;
  box-shadow: 0 10px 22px rgba(99,102,241,.22);
}
.btn-outline-dark,
.btn-outline-secondary,
.btn-outline-primary {
  border-color: #cbd5e1;
  background: rgba(255,255,255,.72);
}
.btn-group .btn.active {
  background: linear-gradient(135deg, rgba(37,99,235,.13), rgba(124,58,237,.12));
  border-color: rgba(37,99,235,.22);
  color: #1e293b;
}
.form-label {
  font-weight: 700;
  font-size: .88rem;
  color: #1e293b;
}
.form-control,
.form-select,
textarea {
  border-radius: 1rem;
  border-color: #dbe4f0;
  padding: .76rem .95rem;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.02);
  background: rgba(255,255,255,.88);
}
.form-control:focus,
.form-select:focus,
textarea:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 .24rem rgba(59,130,246,.12);
}
.form-section {
  border: 1px dashed rgba(148,163,184,.28);
  border-radius: 1.1rem;
  padding: 1rem;
  background: rgba(248,250,252,.72);
}
.table { --bs-table-bg: transparent; }
.table thead th {
  border-bottom-width: 1px;
  color: #475569;
  font-size: .77rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 800;
}
.table > :not(caption) > * > * {
  padding: 1rem .95rem;
  border-color: #edf2f7;
}
.table tbody tr {
  transition: background .14s ease, transform .14s ease;
}
.table tbody tr:hover {
  background: rgba(59,130,246,.04);
}
.priority-Urgent { background: linear-gradient(90deg, rgba(254,226,226,.7), rgba(255,255,255,.8)); }
.priority-Rush { background: linear-gradient(90deg, rgba(255,237,213,.7), rgba(255,255,255,.8)); }
.priority-Standard { background: linear-gradient(90deg, rgba(220,252,231,.55), rgba(255,255,255,.8)); }
.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 999px;
  font-size: .74rem;
  padding: .34rem .68rem;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 700;
  border: 1px solid rgba(99,102,241,.1);
}
.metric-chip.warning { background: #fff7ed; color: #9a3412; border-color: rgba(245,158,11,.14); }
.metric-chip.danger { background: #fef2f2; color: #991b1b; border-color: rgba(239,68,68,.14); }
.metric-chip.success { background: #ecfdf5; color: #166534; border-color: rgba(16,185,129,.14); }
.stage-panel {
  border-top: 0 !important;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,249,255,.94));
}
.stage-panel-head {
  padding: 1rem 1rem .5rem;
}
.stage-band {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .7rem;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #0f172a;
}
.stage-Order\ Placed .stage-band { background: rgba(239,68,68,.12); color: #991b1b; }
.stage-Art\ \&\ Design .stage-band { background: rgba(245,158,11,.14); color: #9a3412; }
.stage-Supplies\ Ordered .stage-band { background: rgba(251,146,60,.14); color: #9a3412; }
.stage-Product\ Ordered .stage-band { background: rgba(139,92,246,.14); color: #6d28d9; }
.stage-Production .stage-band { background: rgba(14,165,233,.14); color: #0c4a6e; }
.stage-Invoiced .stage-band { background: rgba(59,130,246,.14); color: #1d4ed8; }
.stage-Delivered .stage-band { background: rgba(16,185,129,.14); color: #166534; }
.stage-Paid .stage-band { background: rgba(100,116,139,.16); color: #334155; }
.kanban-scroll {
  overflow-x: auto;
  padding-bottom: .75rem;
}
.kanban-grid {
  display: flex;
  gap: 1rem;
  min-width: max-content;
  align-items: flex-start;
}
.kanban-column { width: 360px; }
.drop-zone {
  min-height: 120px;
  border-radius: 1rem;
  transition: background .18s ease, box-shadow .18s ease;
}
.drop-zone.drag-over {
  background: rgba(59,130,246,.06);
  box-shadow: inset 0 0 0 2px rgba(59,130,246,.18);
}
.order-card {
  border-radius: 1.25rem;
  box-shadow: 0 16px 32px rgba(15,23,42,.08);
  border: 1px solid rgba(226,232,240,.85);
  background: rgba(255,255,255,.98);
  transition: transform .16s ease, box-shadow .16s ease;
}
.order-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.order-card.overdue {
  border-color: rgba(239,68,68,.5);
  box-shadow: 0 0 0 2px rgba(239,68,68,.12), 0 16px 28px rgba(239,68,68,.12);
}
.order-card.rush { border-color: rgba(251,146,60,.45); }
.order-card.urgent { border-color: rgba(239,68,68,.45); }
.card-handle {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: .75rem;
  display: inline-grid;
  place-items: center;
  background: rgba(15,23,42,.05);
  color: #334155;
}
.priority-pill {
  font-size: .73rem;
  border-radius: 999px;
  padding: .28rem .65rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.priority-pill.urgent { background: #fee2e2; color: #991b1b; }
.priority-pill.rush { background: #ffedd5; color: #9a3412; }
.priority-pill.standard { background: #dcfce7; color: #166534; }
.timeline-stack {
  display: grid;
  gap: .9rem;
}
.timeline-item {
  position: relative;
  padding: 1rem 1rem 1rem 3.1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(148,163,184,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,252,.92));
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 1.18rem;
  width: .85rem;
  height: .85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 6px rgba(99,102,241,.12);
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: 1.54rem;
  top: 2.2rem;
  bottom: -1rem;
  width: 2px;
  background: rgba(148,163,184,.2);
}
.timeline-item:last-child::after { display: none; }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .75rem;
}
.calendar-day {
  min-height: 132px;
  border: 1px solid rgba(226,232,240,.88);
  padding: .85rem;
  background: rgba(255,255,255,.92);
}
.calendar-day.muted { background: #f8fafc; color: #94a3b8; }
.calendar-day.today { box-shadow: 0 0 0 2px rgba(59,130,246,.25); }
.calendar-day.overload { border-color: #fb923c; background: #fff7ed; }
.calendar-day.alert { border-color: #ef4444; background: #fef2f2; }
.mini-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: .35rem;
}
.alert-strip {
  border-left: 4px solid #94a3b8;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,252,.86));
}
.alert-strip.warning { border-left-color: #f59e0b; background: #fff7ed; }
.alert-strip.danger { border-left-color: #ef4444; background: #fef2f2; }
.alert-strip.info { border-left-color: #3b82f6; background: #eff6ff; }
.load-card {
  border-left: 5px solid #cbd5e1;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,252,.86));
}
.load-card.info { border-left-color: #3b82f6; background: #eff6ff; }
.load-card.warning { border-left-color: #f59e0b; background: #fff7ed; }
.load-card.danger { border-left-color: #ef4444; background: #fef2f2; }
.forecast-score {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.04em;
}
.activity-item {
  border-left: 4px solid #cbd5e1;
  padding-left: 1rem;
}
.activity-item.order { border-left-color: #3b82f6; }
.activity-item.invoice { border-left-color: #10b981; }
.activity-item.customer { border-left-color: #8b5cf6; }
.activity-item.communication { border-left-color: #f59e0b; }
.activity-item.production { border-left-color: #ef4444; }
.portal-shell { max-width: 1280px; margin: 0 auto; }
.portal-shell .hero-card {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 48%, #0ea5e9 100%) !important;
}
.portal-kpi { background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,252,.92)); }
.portal-table td, .portal-table th { vertical-align: middle; }
.portal-card {
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(246,249,255,.88));
}
.portal-order-grid {
  display: grid;
  grid-template-columns: 1.35fr .95fr;
  gap: 1.25rem;
}
.progress-track {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}
.progress-step {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .45rem .72rem;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(148,163,184,.2);
  font-size: .76rem;
  font-weight: 700;
  color: #334155;
}
.progress-step.active {
  background: linear-gradient(135deg, rgba(37,99,235,.15), rgba(124,58,237,.12));
  color: #1d4ed8;
  border-color: rgba(37,99,235,.2);
}
.file-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .85rem;
}
.file-preview-card {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(148,163,184,.18);
  padding: .9rem;
}
.thread-card {
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(255,255,255,.9);
  padding: .95rem 1rem;
}
.thread-meta {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: .5rem;
}
.auth-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.2), transparent 35%),
    radial-gradient(circle at right center, rgba(124,58,237,.2), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0));
  pointer-events: none;
}
.auth-card {
  max-width: 1080px;
  margin: 6vh auto 0;
}
.auth-shell-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}
.auth-side {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 56%, #7c3aed 100%);
  color: #fff;
  padding: 2.35rem;
  position: relative;
  overflow: hidden;
}
.auth-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,.18), transparent 32%), radial-gradient(circle at bottom right, rgba(255,255,255,.12), transparent 28%);
}
.auth-side > * { position: relative; z-index: 1; }
.auth-side h1, .auth-side h2 { font-weight: 800; letter-spacing: -.04em; }
.auth-feature-list {
  display: grid;
  gap: .9rem;
  margin-top: 2rem;
}
.auth-feature {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .95rem 1rem;
  border-radius: 1.15rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
}
.auth-feature-icon {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: .85rem;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.16);
}
.auth-panel {
  padding: 2.35rem;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(18px);
}
.empty-state {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
}
.helper-list {
  display: grid;
  gap: .65rem;
}
.helper-row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .7rem .85rem;
  border-radius: .95rem;
  background: rgba(248,250,252,.88);
  border: 1px solid rgba(148,163,184,.14);
  font-size: .84rem;
}
@media (max-width: 1199.98px) {
  .portal-order-grid { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
  .app-sidebar { position: relative; min-height: auto; }
  .topbar { flex-direction: column; align-items: flex-start; }
  .auth-shell-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .calendar-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kanban-column { width: 310px; }
  .hero-metrics,
  .quick-actions { grid-template-columns: 1fr; }
}

.floor-mode-page .hero-card .hero-title { font-size: clamp(2rem, 2.4vw + 1rem, 3.2rem); }
.floor-column {
  border: 0;
  border-radius: 1.4rem;
  box-shadow: var(--shadow-md);
  min-height: 420px;
}
.floor-column.urgent { background: linear-gradient(180deg, rgba(254,242,242,.96), rgba(255,255,255,.96)); }
.floor-column.progress { background: linear-gradient(180deg, rgba(239,246,255,.96), rgba(255,255,255,.96)); }
.floor-column.upcoming { background: linear-gradient(180deg, rgba(255,251,235,.96), rgba(255,255,255,.96)); }
.floor-column.complete { background: linear-gradient(180deg, rgba(236,253,245,.96), rgba(255,255,255,.96)); }
.floor-task-card {
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: var(--shadow-sm);
}
.floor-task-title { font-size: 1.05rem; font-weight: 700; line-height: 1.2; }
.helper-list .helper-row strong { font-size: 1.05rem; }
@media (max-width: 991px) {
  .floor-column { min-height: auto; }
}
