:root {
  --aura-primary: #2563eb;
  --aura-primary-soft: #eaf2ff;
  --aura-secondary: #6d4aff;
  --aura-secondary-soft: #f0edff;
  --aura-accent: #0891b2;
  --aura-accent-soft: #e5f8fc;
  --aura-success: #168a55;
  --aura-success-soft: #e8f7ef;
  --aura-warning: #b96809;
  --aura-warning-soft: #fff4dd;
  --aura-danger: #c23846;
  --aura-danger-soft: #fff0f1;
  --aura-info: #4f46e5;
  --aura-info-soft: #eef0ff;
  --aura-surface: #ffffff;
  --aura-surface-alt: #f8f7fb;
  --aura-surface-soft: #f2f0f7;
  --aura-border: #e7e2ed;
  --aura-text: #1f1930;
  --aura-text-muted: #6d657a;
  --aura-radius-sm: 10px;
  --aura-radius-md: 16px;
  --aura-radius-lg: 24px;
  --aura-shadow-sm: 0 4px 18px rgba(58, 43, 87, .06);
  --aura-shadow-md: 0 16px 44px rgba(58, 43, 87, .1);
  --aura-focus: 0 0 0 3px rgba(37, 99, 235, .23);
}

* { box-sizing: border-box; }

.aura-dashboard-body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--aura-text);
  background:
    radial-gradient(circle at 8% -10%, rgba(109, 74, 255, .09), transparent 32rem),
    radial-gradient(circle at 100% 14%, rgba(8, 145, 178, .08), transparent 28rem),
    var(--aura-surface-alt);
  font-family: Inter, "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.55;
}

.aura-dashboard-body[dir="rtl"],
html[dir="rtl"] .aura-dashboard-body { font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif; }

.aura-skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--aura-primary);
  border-radius: 0 0 var(--aura-radius-sm) var(--aura-radius-sm);
}

.aura-skip-link:focus { top: 0; }

.aura-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid rgba(231, 226, 237, .9);
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8);
  backdrop-filter: blur(16px);
}

.aura-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--aura-text);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .035em;
}

.aura-brand img { width: 38px; height: 38px; object-fit: contain; }
.aura-brand span { display: grid; line-height: 1.05; }
.aura-brand small { margin-top: 4px; color: var(--aura-text-muted); font-size: 10px; font-weight: 750; letter-spacing: .08em; }

.aura-top-actions { display: flex; align-items: center; gap: 8px; }

.aura-icon-button,
.aura-ghost-button,
.aura-primary-button,
.aura-danger-button,
.aura-action-card,
.aura-nav-link {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.aura-icon-button,
.aura-ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 13px;
  color: var(--aura-text);
  border: 1px solid var(--aura-border);
  border-radius: 12px;
  background: var(--aura-surface);
}

.aura-primary-button,
.aura-danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 10px 17px;
  color: #fff;
  border-radius: 12px;
  background: var(--aura-primary);
  font-weight: 800;
}

.aura-danger-button { background: var(--aura-danger); }
.aura-primary-button[disabled], .aura-danger-button[disabled] { opacity: .58; cursor: wait; }

:where(a, button, input, select, textarea):focus-visible {
  outline: none;
  box-shadow: var(--aura-focus);
}

.aura-dashboard-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) 0 56px;
}

.aura-welcome-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid #ded8f0;
  border-radius: var(--aura-radius-lg);
  background: linear-gradient(135deg, #fff 0%, #f3f0ff 55%, #e7f8fc 100%);
  box-shadow: var(--aura-shadow-md);
}

.aura-welcome-panel::after {
  content: "";
  position: absolute;
  inset-inline-end: -70px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border: 36px solid rgba(109, 74, 255, .075);
  border-radius: 50%;
}

.aura-eyebrow {
  margin: 0 0 8px;
  color: var(--aura-secondary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.aura-welcome-panel h1,
.aura-page-heading h1 { margin: 0; font-size: clamp(28px, 5vw, 44px); line-height: 1.15; letter-spacing: -.035em; }
.aura-welcome-panel p:not(.aura-eyebrow), .aura-page-heading p { max-width: 680px; margin: 12px 0 0; color: var(--aura-text-muted); }
.aura-section { margin-top: 28px; }
.aura-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.aura-section-heading h2 { margin: 0; font-size: clamp(20px, 3vw, 27px); letter-spacing: -.025em; }
.aura-section-heading p { margin: 4px 0 0; color: var(--aura-text-muted); font-size: 14px; }
.aura-section-heading a { color: var(--aura-primary); font-weight: 800; text-decoration: none; }

.aura-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.aura-metric-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--aura-border);
  border-radius: var(--aura-radius-md);
  background: var(--aura-surface);
  box-shadow: var(--aura-shadow-sm);
}
.aura-metric-card[data-tone="primary"] { background: var(--aura-primary-soft); border-color: #cfdefc; }
.aura-metric-card[data-tone="warning"] { background: var(--aura-warning-soft); border-color: #f2ddaf; }
.aura-metric-card[data-tone="success"] { background: var(--aura-success-soft); border-color: #c9ead8; }
.aura-metric-card[data-tone="secondary"] { background: var(--aura-secondary-soft); border-color: #ddd5ff; }
.aura-metric-card[data-tone="danger"] { background: var(--aura-danger-soft); border-color: #f2d0d4; }
.aura-metric-card[data-tone="info"] { background: var(--aura-info-soft); border-color: #d7d9ff; }
.aura-metric-icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 11px; background: rgba(255, 255, 255, .82); font-size: 18px; }
.aura-metric-label { display: block; color: var(--aura-text-muted); font-size: 13px; font-weight: 750; }
.aura-metric-value { display: block; margin-top: 4px; font-size: clamp(24px, 3.5vw, 34px); font-weight: 900; line-height: 1.1; letter-spacing: -.035em; }

.aura-action-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.aura-action-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  color: var(--aura-text);
  border: 1px solid var(--aura-border);
  border-radius: var(--aura-radius-md);
  background: var(--aura-surface);
  box-shadow: var(--aura-shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.aura-action-card:hover { transform: translateY(-2px); border-color: #cfc5e5; box-shadow: var(--aura-shadow-md); }
.aura-action-icon { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; color: var(--aura-primary); border-radius: 13px; background: var(--aura-primary-soft); font-size: 20px; }
.aura-action-card:nth-child(2) .aura-action-icon { color: var(--aura-secondary); background: var(--aura-secondary-soft); }
.aura-action-card:nth-child(3) .aura-action-icon { color: var(--aura-warning); background: var(--aura-warning-soft); }
.aura-action-card:nth-child(4) .aura-action-icon { color: var(--aura-success); background: var(--aura-success-soft); }
.aura-action-card:nth-child(5) .aura-action-icon { color: var(--aura-accent); background: var(--aura-accent-soft); }
.aura-action-card strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aura-action-card small { display: block; margin-top: 3px; overflow: hidden; color: var(--aura-text-muted); text-overflow: ellipsis; white-space: nowrap; }

.aura-two-column { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 20px; }
.aura-card { border: 1px solid var(--aura-border); border-radius: var(--aura-radius-lg); background: var(--aura-surface); box-shadow: var(--aura-shadow-sm); }
.aura-card-body { padding: clamp(18px, 3vw, 26px); }
.aura-card h2, .aura-card h3 { margin-top: 0; }

.aura-order-card { overflow: hidden; }
.aura-order-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.aura-order-title { margin: 0; font-size: 20px; }
.aura-order-package { margin: 4px 0 0; color: var(--aura-text-muted); }
.aura-status { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 850; white-space: nowrap; }
.aura-status[data-status="pending"] { color: #8a4b05; background: var(--aura-warning-soft); }
.aura-status[data-status="processing"] { color: #244fc2; background: var(--aura-primary-soft); }
.aura-status[data-status="completed"] { color: #0f7043; background: var(--aura-success-soft); }
.aura-status[data-status="rejected"] { color: #a82c39; background: var(--aura-danger-soft); }
.aura-order-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.aura-order-fact { min-width: 0; padding: 12px; border-radius: 12px; background: var(--aura-surface-alt); }
.aura-order-fact span { display: block; color: var(--aura-text-muted); font-size: 12px; }
.aura-order-fact strong { display: block; margin-top: 3px; overflow-wrap: anywhere; }
.aura-order-actions { display: flex; justify-content: flex-end; gap: 10px; }

.aura-empty-state { padding: 36px 22px; text-align: center; }
.aura-empty-state .aura-empty-icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 14px; color: var(--aura-secondary); border-radius: 20px; background: var(--aura-secondary-soft); font-size: 26px; }
.aura-empty-state h3 { margin: 0; }
.aura-empty-state p { margin: 7px auto 18px; color: var(--aura-text-muted); }

.aura-profile-group + .aura-profile-group { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--aura-border); }
.aura-profile-group h3 { margin: 0 0 12px; font-size: 16px; }
.aura-profile-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; }
.aura-profile-row span { color: var(--aura-text-muted); }
.aura-profile-row strong { max-width: 62%; overflow-wrap: anywhere; text-align: end; }

.aura-loading { display: grid; place-items: center; min-height: 180px; color: var(--aura-text-muted); }
.aura-spinner { width: 34px; height: 34px; margin-bottom: 12px; border: 3px solid #e8e2ef; border-top-color: var(--aura-primary); border-radius: 50%; animation: aura-spin .8s linear infinite; }
@keyframes aura-spin { to { transform: rotate(360deg); } }

.aura-dialog[hidden] { display: none; }
.aura-dialog { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: rgba(31, 25, 48, .48); backdrop-filter: blur(7px); }
.aura-dialog-panel { width: min(680px, 100%); max-height: min(760px, calc(100vh - 36px)); overflow: auto; border-radius: var(--aura-radius-lg); background: var(--aura-surface); box-shadow: 0 28px 80px rgba(31, 25, 48, .26); }
.aura-dialog-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--aura-border); background: rgba(255, 255, 255, .96); }
.aura-dialog-head h2 { margin: 0; }
.aura-dialog-content { padding: 22px; }
.aura-detail-group + .aura-detail-group { margin-top: 22px; }
.aura-detail-group h3 { margin: 0 0 10px; color: var(--aura-secondary); font-size: 15px; }
.aura-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.aura-detail-item { padding: 11px 13px; border-radius: 11px; background: var(--aura-surface-alt); }
.aura-detail-item span { display: block; color: var(--aura-text-muted); font-size: 12px; }
.aura-detail-item strong { display: block; margin-top: 3px; overflow-wrap: anywhere; }

/* Owner dashboard */
.aura-owner-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: calc(100vh - 72px); }
.aura-owner-sidebar { position: sticky; top: 72px; height: calc(100vh - 72px); overflow-y: auto; padding: 22px 16px 34px; border-inline-end: 1px solid var(--aura-border); background: rgba(255, 255, 255, .82); }
.aura-owner-identity { padding: 14px; border: 1px solid var(--aura-border); border-radius: 15px; background: var(--aura-surface); }
.aura-owner-identity strong, .aura-owner-identity span { display: block; overflow: hidden; text-overflow: ellipsis; }
.aura-owner-identity span { margin-top: 3px; color: var(--aura-text-muted); font-size: 12px; }
.aura-nav-group { margin-top: 22px; }
.aura-nav-group h2 { margin: 0 9px 8px; color: var(--aura-text-muted); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.aura-nav-link { display: flex; align-items: center; gap: 10px; min-height: 42px; margin: 3px 0; padding: 9px 11px; color: #494154; border-radius: 11px; font-size: 14px; font-weight: 720; }
.aura-nav-link:hover, .aura-nav-link[aria-current="page"] { color: var(--aura-primary); background: var(--aura-primary-soft); }
.aura-nav-link span:first-child { width: 22px; text-align: center; }
.aura-owner-main { min-width: 0; padding: clamp(22px, 4vw, 44px); }
.aura-owner-content { width: min(1250px, 100%); margin: 0 auto; }
.aura-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.aura-owner-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aura-owner-summary .aura-metric-card { min-height: 132px; }
.aura-owner-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 20px; }
.aura-attention-list { display: grid; gap: 10px; }
.aura-attention-item { display: flex; align-items: center; gap: 13px; padding: 14px; border: 1px solid var(--aura-border); border-radius: 13px; background: var(--aura-surface-alt); }
.aura-attention-dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--aura-warning); box-shadow: 0 0 0 5px var(--aura-warning-soft); }
.aura-attention-copy { min-width: 0; flex: 1; }
.aura-attention-copy strong, .aura-attention-copy span { display: block; }
.aura-attention-copy span { margin-top: 2px; color: var(--aura-text-muted); font-size: 12px; }
.aura-attention-item a { color: var(--aura-primary); font-size: 13px; font-weight: 850; text-decoration: none; }
.aura-positive-state { display: flex; align-items: center; gap: 12px; padding: 15px; color: #126b43; border: 1px solid #c7e7d5; border-radius: 13px; background: var(--aura-success-soft); }
.aura-mobile-menu { display: none; }
.aura-sidebar-backdrop { display: none; }

/* Server-validated generic coupon checkout */
.aura-store-coupon-panel {
  width: 100%;
  margin: 16px 0;
  padding: clamp(17px, 3vw, 24px);
  color: var(--aura-text);
  border: 1px solid #ded6f4;
  border-radius: var(--aura-radius-lg);
  background: linear-gradient(145deg, #fff 0%, #faf8ff 100%);
  box-shadow: var(--aura-shadow-sm);
}
.aura-store-coupon-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.aura-store-coupon-kicker { display: block; color: var(--aura-secondary); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.aura-store-coupon-heading h2 { margin: 3px 0 0; font-size: 21px; }
.aura-store-coupon-count { padding: 5px 9px; color: #5d3ee0; border-radius: 999px; background: var(--aura-secondary-soft); font-size: 11px; font-weight: 850; }
.aura-store-coupon-help { margin: 10px 0 16px; color: var(--aura-text-muted); font-size: 13px; }
.aura-store-coupon-label { display: block; margin: 11px 0 6px; font-size: 12px; font-weight: 800; }
.aura-store-coupon-select,
.aura-store-coupon-entry input { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--aura-text); border: 1px solid var(--aura-border); border-radius: 11px; background: #fff; font: inherit; }
.aura-store-coupon-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.aura-store-coupon-entry button { min-width: 92px; padding: 9px 15px; color: #fff; border: 0; border-radius: 11px; background: var(--aura-secondary); font: inherit; font-weight: 850; cursor: pointer; }
.aura-store-coupon-entry button[disabled] { opacity: .62; cursor: wait; }
[data-coupon-feedback] { margin-top: 10px; padding: 10px 12px; border-radius: 10px; font-size: 13px; }
[data-coupon-feedback][data-type="error"] { color: #9f2734; background: var(--aura-danger-soft); }
.aura-store-coupon-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 15px; }
.aura-store-coupon-summary[hidden] { display: none; }
.aura-store-coupon-summary > div { padding: 11px; border-radius: 11px; background: var(--aura-surface-alt); }
.aura-store-coupon-summary span, .aura-store-coupon-summary strong { display: block; }
.aura-store-coupon-summary span { color: var(--aura-text-muted); font-size: 11px; }
.aura-store-coupon-summary strong { margin-top: 2px; }
.aura-store-coupon-final { color: var(--aura-success); background: var(--aura-success-soft) !important; }
.aura-store-coupon-remove { grid-column: 1 / -1; justify-self: start; padding: 7px 0; color: var(--aura-danger); border: 0; background: none; font: inherit; font-weight: 800; cursor: pointer; }

/* Shared responsive repairs for recovered storefront/admin surfaces. */
html, body { max-width: 100%; }
img, video { max-width: 100%; }
dialog, [role="dialog"] { max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); }

@media (max-width: 1024px) {
  .aura-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aura-action-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aura-two-column, .aura-owner-grid { grid-template-columns: 1fr; }
  .aura-owner-layout { grid-template-columns: 230px minmax(0, 1fr); }
}

@media (max-width: 768px) {
  .aura-topbar { min-height: 64px; padding-inline: 14px; }
  .aura-brand small { display: none; }
  .aura-dashboard-main { width: min(100% - 24px, 1180px); padding-top: 20px; }
  .aura-welcome-panel { grid-template-columns: 1fr; }
  .aura-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aura-order-facts { grid-template-columns: 1fr; }
  .aura-owner-layout { display: block; }
  .aura-owner-sidebar { position: fixed; top: 0; inset-inline-start: 0; z-index: 80; width: min(300px, 86vw); height: 100vh; transform: translateX(-105%); transition: transform .22s ease; box-shadow: var(--aura-shadow-md); }
  html[dir="rtl"] .aura-owner-sidebar { transform: translateX(105%); }
  .aura-owner-sidebar[data-open="true"] { transform: translateX(0); }
  .aura-sidebar-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(31, 25, 48, .42); }
  .aura-sidebar-backdrop[data-open="true"] { display: block; }
  .aura-mobile-menu { display: inline-flex; }
  .aura-owner-main { padding: 20px 14px 42px; }
  .aura-owner-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* The recovered history and admin queues were desktop tables. On small
     screens each row becomes a labelled card, so actions stay visible and the
     page never depends on horizontal scrolling. */
  .aura-responsive-table,
  .aura-responsive-table tbody,
  .aura-responsive-table tr,
  .aura-responsive-table td { display: block; width: 100%; }
  .aura-responsive-table { min-width: 0 !important; border: 0; }
  .aura-responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .aura-responsive-table tbody { display: grid; gap: 13px; }
  .aura-responsive-table tbody tr { overflow: hidden; padding: 8px 14px; border: 1px solid var(--aura-border); border-radius: 15px; background: var(--aura-surface); box-shadow: var(--aura-shadow-sm); }
  .aura-responsive-table tbody td { display: grid; grid-template-columns: minmax(92px, 38%) minmax(0, 1fr); align-items: center; gap: 10px; min-height: 38px; padding: 8px 0 !important; border: 0 !important; border-bottom: 1px solid var(--aura-border) !important; overflow-wrap: anywhere; text-align: start !important; }
  .aura-responsive-table tbody td:last-child { border-bottom: 0 !important; }
  .aura-responsive-table tbody td::before { content: attr(data-label); color: var(--aura-text-muted); font-size: 11px; font-weight: 850; letter-spacing: .02em; }
  .aura-responsive-table tbody td button,
  .aura-responsive-table tbody td a { max-width: 100%; }
}

@media (max-width: 520px) {
  .aura-top-actions .aura-ghost-button span { display: none; }
  .aura-welcome-panel { padding: 22px 18px; border-radius: 19px; }
  .aura-summary-grid, .aura-owner-summary { grid-template-columns: 1fr 1fr; gap: 10px; }
  .aura-metric-card { padding: 14px; }
  .aura-metric-icon { margin-bottom: 11px; }
  .aura-action-grid { grid-template-columns: 1fr; }
  .aura-action-card { min-height: 70px; }
  .aura-section-heading { align-items: flex-start; }
  .aura-order-top { flex-direction: column; }
  .aura-order-actions { flex-direction: column; }
  .aura-order-actions > * { width: 100%; }
  .aura-detail-grid { grid-template-columns: 1fr; }
  .aura-store-coupon-entry { grid-template-columns: 1fr; }
  .aura-store-coupon-entry button { width: 100%; }
  .aura-store-coupon-summary { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Simplified dashboard compatibility. aura-core.css loads after this file and
   supplies the shared theme tokens and controls. */
:root {
  --aura-primary: var(--aura-strong);
  --aura-primary-soft: var(--aura-surface-2);
  --aura-secondary: var(--aura-text);
  --aura-secondary-soft: var(--aura-surface-2);
  --aura-accent: var(--aura-text);
  --aura-accent-soft: var(--aura-surface-2);
  --aura-success-soft: var(--aura-success-bg);
  --aura-warning-soft: var(--aura-warning-bg);
  --aura-danger-soft: var(--aura-danger-bg);
  --aura-info-soft: var(--aura-info-bg);
  --aura-surface-alt: var(--aura-surface-2);
  --aura-surface-soft: var(--aura-surface-2);
  --aura-text-muted: var(--aura-muted);
  --aura-shadow-sm: var(--aura-shadow);
  --aura-shadow-md: var(--aura-shadow);
  --aura-radius-lg: var(--aura-radius);
}

.aura-section[hidden] { display: none !important; }
.aura-notification-trigger { position: relative; width: 42px; padding: 9px; }
.aura-notification-trigger svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aura-dialog[role="dialog"] { max-width: none; max-height: none; }

.aura-dashboard-welcome {
  padding: 4px 0 20px;
  border-bottom: 1px solid var(--aura-border);
}

.aura-dashboard-welcome h1 {
  margin: 0;
  font-size: clamp(27px, 4.5vw, 38px);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.aura-owner-summary .aura-metric-card { min-height: 0; }
.aura-action-grid .aura-action-card {
  min-height: 56px;
  justify-content: flex-start;
  padding: 14px 16px;
  color: var(--aura-text);
  text-decoration: none;
}
.aura-action-grid .aura-action-card strong { font-size: 15px; }
.aura-action-card:hover { border-color: var(--aura-border); box-shadow: none; transform: translateY(-1px); }
.aura-order-accent { display: none; }
.aura-section-title a { color: var(--aura-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.aura-empty-state { display: grid; justify-items: start; gap: 14px; padding: 22px; text-align: start; }
.aura-empty-state h3 { margin: 0; font-size: 18px; }

@media (max-width: 520px) {
  .aura-brand-name { display: none; }
  .aura-top-actions { gap: 4px; }
  .aura-top-actions .aura-ghost-button { padding-inline: 10px; }
}
