/* GLOVISION Responsive Engine: Phase 2, v1.
 * Values only. Consumers are migrated separately; loading this file must
 * not alter existing dimensions, typography, interactions or animation.
 * Viewport modes are declared here; component container bounds stay local.
 */
:root {
  --gv-r-mode: app;
  --gv-r-content-max: 1680px;
  --gv-r-detail-wide-legacy: 1800px;
  --gv-r-detail-medium-legacy: 1080px;
  --gv-r-content-wide-legacy: 1760px;
  --gv-r-content-home-legacy: 1320px;
  --gv-r-content-narrow: 1200px;
  --gv-r-page-gutter: clamp(16px, 2.5vw, 40px);
  --gv-r-space-1: 4px;
  --gv-r-space-2: 8px;
  --gv-r-space-3: 12px;
  --gv-r-space-4: 16px;
  --gv-r-space-5: 20px;
  --gv-r-space-6: 24px;
  --gv-r-space-7: 32px;
  --gv-r-space-8: 40px;
  --gv-r-space-9: 48px;
  --gv-r-space-10: 64px;
  --gv-r-grid-gap: 24px;
  --gv-r-grid-gap-compact: 20px;
  --gv-r-touch-target: 44px;
  --gv-r-admin-sidebar: 290px;
  --gv-r-admin-sidebar-compact: 270px;
  --gv-r-admin-topbar-reference: 96px;
  --gv-r-text-label: 12px;
  --gv-r-text-body: 14px;
  --gv-r-text-body-compact: 13px;
  --gv-r-card-title: clamp(18px, 1.35vw, 23px);
  --gv-r-card-title-compact: 20px;
  --gv-r-modal-viewport-gap: 16px;
  --gv-r-safe-area-top: env(safe-area-inset-top, 0px);
  --gv-r-safe-area-right: env(safe-area-inset-right, 0px);
  --gv-r-safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --gv-r-safe-area-left: env(safe-area-inset-left, 0px);
}

@media (min-width: 768px) {
  :root { --gv-r-mode: tablet-app; }
}
@media (min-width: 1024px) {
  :root { --gv-r-mode: tablet-hybrid; }
}
@media (min-width: 1280px) {
  :root { --gv-r-mode: desktop; }
}
@media (min-width: 1600px) {
  :root { --gv-r-mode: desktop-wide; }
}
@media (min-width: 1920px) {
  :root { --gv-r-mode: large-desktop; }
}
@media (min-width: 2560px) {
  :root { --gv-r-mode: ultra; }
}
