/* =====================================================================
   NURTUR DESIGN SYSTEM — Foundations
   "The engine powering your marketing"
   --------------------------------------------------------------------
   Source: Nurtur Brand Guidelines (Frontify)
   Headline: Kurye (Arodora Type)  Body: Inter
   ===================================================================== */

/* ---------- Fonts ---------- */
/* Kurye installs as 4 separate families (Kurye I–IV) — but for ergonomic
   use we map them to weight axes on a single "Kurye" family. */
@font-face {
  font-family: "Kurye";
  src: url("fonts/Kurye/Arodora Type - Kurye-ExtraLight.otf") format("opentype");
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Kurye";
  src: url("fonts/Kurye/Arodora Type - Kurye-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Kurye";
  src: url("fonts/Kurye/Arodora Type - Kurye-SemiBold.otf") format("opentype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Kurye";
  src: url("fonts/Kurye/Arodora Type - Kurye-ExtraBold.otf") format("opentype");
  font-weight: 800; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter/Inter-Light.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter/Inter-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter/Inter-Italic.otf") format("opentype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter/Inter-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* =====================================================================
   COLOR TOKENS
   ===================================================================== */
:root {
  /* --- Primary --- */
  --ntr-teal:        #5EC1CA;
  --ntr-dark:        #272C33;

  /* --- Accents --- */
  --ntr-orange:      #F28919;
  --ntr-lilac:       #84319B;

  /* --- Teal tint scale (lightest → darkest) --- */
  --ntr-teal-50:     #C0EEF0;  /* Blizzard Blue   */
  --ntr-teal-100:    #9FDFE4;  /* Morning Glory   */
  --ntr-teal-200:    #7FD0D7;  /* Morning Glory 1 */
  --ntr-teal-300:    #5EC1CA;  /* Nurtur Teal     */
  --ntr-teal-500:    #4BA0A8;  /* Fountain Blue   */
  --ntr-teal-700:    #397F86;  /* Ming            */
  --ntr-teal-900:    #265E64;  /* Blue Dianne     */

  /* --- Neutral / Grey scale --- */
  --ntr-gray-900:    #272C33;  /* Dark / brand    */
  --ntr-gray-700:    #595959;
  --ntr-gray-500:    #828082;
  --ntr-gray-200:    #E8E8E8;
  --ntr-gray-100:    #FAFAFA;
  --ntr-white:       #FFFFFF;

  /* --- Beige / warm neutrals --- */
  --ntr-beige-100:   #FAF9F8;  /* lightest */
  --ntr-beige-200:   #F6F4F2;
  --ntr-beige-300:   #F1EEEA;
  --ntr-beige-400:   #ECE9E3;
  --ntr-beige-500:   #E7E3DC;  /* darkest  */

  /* --- Orange tints --- */
  --ntr-orange-100:  #FCF4E9;
  --ntr-orange-200:  #F9E7D3;
  --ntr-orange-400:  #F3D1A9;
  --ntr-orange-600:  #EDBB7F;
  --ntr-orange-800:  #E8A558;
  --ntr-orange-900:  #F28919;

  /* --- Lilac tints --- */
  --ntr-lilac-100:   #F0EAF3;
  --ntr-lilac-200:   #E3D7E9;
  --ntr-lilac-400:   #C9AFD4;
  --ntr-lilac-600:   #AD85BF;
  --ntr-lilac-900:   #84319B;

  /* =====================================================================
     SEMANTIC TOKENS
     ===================================================================== */

  /* Surfaces */
  --bg-canvas:       var(--ntr-white);
  --bg-subtle:       var(--ntr-beige-100);
  --bg-muted:        var(--ntr-beige-200);
  --bg-warm:         var(--ntr-beige-400);
  --bg-inverse:      var(--ntr-dark);
  --bg-brand:        var(--ntr-teal);
  --bg-brand-soft:   var(--ntr-teal-50);

  /* Foregrounds */
  --fg-default:      var(--ntr-gray-900);   /* primary text, near-black */
  --fg-muted:        var(--ntr-gray-700);   /* secondary text          */
  --fg-subtle:       var(--ntr-gray-500);   /* tertiary / captions     */
  --fg-on-brand:     var(--ntr-white);
  --fg-on-inverse:   var(--ntr-white);
  --fg-brand:        var(--ntr-teal-700);   /* teal text on light      */
  --fg-link:         var(--ntr-teal-700);

  /* Borders / lines */
  --border-default:  var(--ntr-gray-200);
  --border-strong:   #D4D4D4;
  --border-brand:    var(--ntr-teal);
  --border-inverse:  rgba(255,255,255,0.12);

  /* Status (mapped from accents — there is no dedicated red in brand) */
  --status-success:  var(--ntr-teal-700);
  --status-warning:  var(--ntr-orange);
  --status-info:     var(--ntr-teal);
  --status-danger:   #C8413A;  /* derived from orange family — use sparingly */

  /* =====================================================================
     SPACING & RADIUS
     ===================================================================== */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Elevation — three semantic levels matching the portal pattern */
  /* RESTING: separation from borders, not shadow */
  --shadow-xs: 0 1px 2px rgba(39,44,51,0.06);
  --shadow-sm: 0 2px 6px rgba(39,44,51,0.08);
  /* HOVER / RAISED: soft, picks up a hint of teal */
  --shadow-md: 0 6px 18px rgba(39,44,51,0.10);
  --shadow-hover: 0 8px 24px rgba(94,193,202,0.18), 0 2px 6px rgba(39,44,51,0.06);
  /* FLOATING: modals, tour tooltips, dropdowns */
  --shadow-lg: 0 18px 40px rgba(39,44,51,0.14);
  --shadow-xl: 0 28px 60px rgba(39,44,51,0.20);
  /* FOCUS: 3px translucent teal halo */
  --shadow-focus: 0 0 0 3px rgba(94,193,202,0.35);

  /* Motion — three semantic durations matching the portal pattern */
  --ease-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-out:      cubic-bezier(0.0, 0.0, 0.2, 1);   /* entrances */
  --ease-in:       cubic-bezier(0.4, 0.0, 1, 1);     /* exits */
  --dur-feedback:  150ms;   /* button hover, toggle, border shifts */
  --dur-surface:   200ms;   /* modal/sidebar fade */
  --dur-entrance:  300ms;   /* cards / modals fade-and-rise, progress fills */
  /* legacy aliases — keep for back-compat with earlier components */
  --dur-fast:   var(--dur-feedback);
  --dur-base:   var(--dur-surface);
  --dur-slow:   var(--dur-entrance);

  /* =====================================================================
     TYPOGRAPHY — base
     ===================================================================== */
  --font-display: "Kurye", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Type scale (8pt grid, modular ~1.25) */
  --fs-xs:    12px;
  --fs-sm:    14px;
  --fs-base:  16px;
  --fs-md:    18px;
  --fs-lg:    20px;
  --fs-xl:    24px;
  --fs-2xl:   32px;
  --fs-3xl:   42px;
  --fs-4xl:   56px;
  --fs-5xl:   72px;

  --lh-tight:   1.1;
  --lh-snug:    1.25;
  --lh-normal:  1.5;
  --lh-loose:   1.7;

  --tracking-tight:  -0.02em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;
}

/* =====================================================================
   SEMANTIC TYPE CLASSES
   Use these directly: <h1 class="ntr-h1">, <p class="ntr-body">, etc.
   ===================================================================== */

html { font-family: var(--font-body); color: var(--fg-default); }

.ntr-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-5xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--fg-default);
}
.ntr-h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-4xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--fg-default);
}
.ntr-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-3xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
}
.ntr-h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
}
.ntr-h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
}
.ntr-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--fg-brand);
}
.ntr-lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-lg);
  line-height: var(--lh-normal);
  color: var(--fg-muted);
}
.ntr-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--fg-default);
}
.ntr-body-sm {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--fg-muted);
}
.ntr-caption {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-xs);
  line-height: var(--lh-snug);
  color: var(--fg-subtle);
}
.ntr-strong { font-weight: 700; color: var(--fg-default); }
.ntr-mono   { font-family: var(--font-mono); font-size: 0.92em; }

/* Reset-ish defaults so tags work without classes */
h1 { font: 600 var(--fs-4xl)/var(--lh-tight) var(--font-display); letter-spacing: var(--tracking-tight); margin: 0; }
h2 { font: 600 var(--fs-3xl)/var(--lh-tight) var(--font-display); letter-spacing: var(--tracking-tight); margin: 0; }
h3 { font: 600 var(--fs-2xl)/var(--lh-snug) var(--font-display); margin: 0; }
h4 { font: 400 var(--fs-xl)/var(--lh-snug) var(--font-display); margin: 0; }
p  { font: 400 var(--fs-base)/var(--lh-normal) var(--font-body); margin: 0; }
a  { color: var(--fg-link); text-decoration: none; transition: opacity var(--dur-fast) var(--ease-standard); }
a:hover { opacity: 0.78; }

/* =====================================================================
   COMPONENT BASE STYLES
   Optional drop-in styles. Use the .ntr-* class to opt in; everything
   stays unstyled if you don't.
   ===================================================================== */

/* ---- Buttons ---- */
.ntr-btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font: 600 var(--fs-sm)/1 var(--font-body);
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--dur-feedback) var(--ease-standard),
              color var(--dur-feedback) var(--ease-standard),
              border-color var(--dur-feedback) var(--ease-standard),
              box-shadow var(--dur-feedback) var(--ease-standard),
              transform var(--dur-feedback) var(--ease-standard);
}
.ntr-btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.ntr-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.ntr-btn--primary {
  background: var(--ntr-teal); color: var(--ntr-dark);
}
.ntr-btn--primary:hover:not(:disabled) { background: var(--ntr-teal-500); color: #fff; }
.ntr-btn--primary:active:not(:disabled) { background: var(--ntr-teal-700); color: #fff; transform: translateY(1px); }

.ntr-btn--secondary {
  background: var(--bg-muted); color: var(--fg-default);
}
.ntr-btn--secondary:hover:not(:disabled) { background: var(--bg-warm); }

.ntr-btn--tertiary {
  background: transparent; color: var(--fg-link);
  padding-left: 4px; padding-right: 4px;
}
.ntr-btn--tertiary:hover:not(:disabled) { color: var(--ntr-teal-900); opacity: 1; }

.ntr-btn--icon {
  width: 32px; height: 32px; padding: 0;
  border-radius: var(--radius-pill);
  background: transparent; color: var(--fg-muted);
}
.ntr-btn--icon:hover:not(:disabled) { background: var(--bg-muted); color: var(--fg-default); }

/* Pill / filter button — fully rounded, used as tab-style filters */
.ntr-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 var(--fs-sm)/1 var(--font-body);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-default);
  background: transparent;
  color: var(--fg-default);
  cursor: pointer;
  transition: background var(--dur-feedback) var(--ease-standard),
              border-color var(--dur-feedback) var(--ease-standard),
              color var(--dur-feedback) var(--ease-standard);
}
.ntr-pill:hover:not(:disabled) { border-color: var(--ntr-teal); }
.ntr-pill[aria-pressed="true"], .ntr-pill--active {
  background: var(--ntr-teal); border-color: var(--ntr-teal); color: #fff;
}

/* ---- Inputs ---- */
.ntr-field {
  display: block; width: 100%;
  padding: 10px 14px;
  font: 400 var(--fs-sm)/1.4 var(--font-body);
  color: var(--fg-default);
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-feedback) var(--ease-standard),
              box-shadow var(--dur-feedback) var(--ease-standard);
}
.ntr-field::placeholder { color: var(--fg-subtle); }
.ntr-field:focus { outline: none; border-color: var(--ntr-teal); box-shadow: var(--shadow-focus); }
.ntr-field:disabled { background: var(--bg-subtle); cursor: not-allowed; }

/* Search variant — pill, with icon slot via padding */
.ntr-field--search { border-radius: var(--radius-pill); padding-left: 38px; }

/* ---- Toggle switch ---- */
.ntr-toggle {
  position: relative;
  display: inline-block;
  width: 38px; height: 22px;
  background: var(--ntr-gray-200);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--dur-feedback) var(--ease-standard);
}
.ntr-toggle::after {
  content: "";
  position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff; border-radius: 50%;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-feedback) var(--ease-standard);
}
.ntr-toggle[aria-checked="true"], .ntr-toggle--on { background: var(--ntr-teal); }
.ntr-toggle[aria-checked="true"]::after, .ntr-toggle--on::after { transform: translateX(16px); }
/* indeterminate / partial state — half-shifted knob, light teal track */
.ntr-toggle[aria-checked="mixed"], .ntr-toggle--mixed { background: var(--ntr-teal-100); }
.ntr-toggle[aria-checked="mixed"]::after, .ntr-toggle--mixed::after { transform: translateX(8px); }

/* ---- Cards ---- */
.ntr-card {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: border-color var(--dur-feedback) var(--ease-standard),
              box-shadow var(--dur-entrance) var(--ease-standard),
              transform var(--dur-entrance) var(--ease-standard);
}
.ntr-card--interactive { cursor: pointer; }
.ntr-card--interactive:hover {
  border-color: var(--ntr-teal);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

/* "Available to add" — sunken, dashed, lower visual weight */
.ntr-card--available {
  background: var(--bg-subtle);
  border: 1.5px dashed var(--border-strong);
  box-shadow: none;
}
.ntr-card--available:hover { border-color: var(--ntr-teal); border-style: dashed; }

/* ---- Badges ---- */
.ntr-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font: 600 11px/1 var(--font-body);
  letter-spacing: 0.02em;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--ntr-teal-50);
  color: var(--ntr-teal-900);
}
.ntr-badge--success { background: #DCEFE1; color: #1F6E37; }
.ntr-badge--warning { background: var(--ntr-orange-100); color: #9A5410; }
.ntr-badge--info    { background: var(--ntr-teal-50); color: var(--ntr-teal-900); }
.ntr-badge--neutral { background: var(--bg-muted); color: var(--fg-muted); }
.ntr-badge--lilac   { background: var(--ntr-lilac-100); color: var(--ntr-lilac-900); }

/* ---- Banners ---- */
.ntr-banner {
  display: flex; align-items: flex-start; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--ntr-teal-50);
  color: var(--ntr-teal-900);
  font: 400 var(--fs-sm)/1.5 var(--font-body);
}
.ntr-banner--success { background: #DCEFE1; color: #1F6E37; }
.ntr-banner--warning { background: var(--ntr-orange-100); color: #9A5410; }
.ntr-banner--info    { background: var(--ntr-teal-50); color: var(--ntr-teal-900); }
.ntr-banner--inverse { background: var(--ntr-dark); color: #fff; }

/* ---- Toast ---- */
.ntr-toast {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--ntr-dark); color: #fff;
  font: 500 var(--fs-sm)/1.4 var(--font-body);
  box-shadow: var(--shadow-lg);
}

/* ---- Live / pulse dot ---- */
.ntr-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--status-success);
  position: relative;
}
.ntr-dot--live::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--status-success);
  opacity: 0.4;
  animation: ntr-pulse 1.6s ease-out infinite;
}
@keyframes ntr-pulse {
  0%   { transform: scale(0.8); opacity: 0.5; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---- Progress ---- */
.ntr-progress {
  width: 100%; height: 6px;
  background: var(--ntr-gray-200);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.ntr-progress__fill {
  height: 100%;
  background: var(--ntr-teal);
  border-radius: var(--radius-pill);
  transition: width var(--dur-entrance) var(--ease-out);
}

/* =====================================================================
   PROPOSED PATTERNS — fill the gaps in the production system.
   Marked as proposals so the team can adopt or override before shipping.
   ===================================================================== */

/* ---- Field validation ----
   Field state via [data-state] on the field, helper line below.
   Errors use --status-danger (used sparingly, never as a flat fill). */
.ntr-field-group {
  display: flex; flex-direction: column; gap: 6px;
}
.ntr-field-group .ntr-label {
  font: 500 12px/1 var(--font-body); color: var(--fg-muted);
  letter-spacing: 0.01em;
}
.ntr-field-group .ntr-helper {
  font: 400 12px/1.4 var(--font-body); color: var(--fg-subtle);
  display: flex; align-items: flex-start; gap: 6px;
}
.ntr-field[data-state="error"] {
  border-color: var(--status-danger);
}
.ntr-field[data-state="error"]:focus {
  box-shadow: 0 0 0 3px rgba(200,65,58,0.25);
}
.ntr-field-group[data-state="error"] .ntr-helper { color: var(--status-danger); }
.ntr-field[data-state="success"] { border-color: var(--ntr-teal-700); }
.ntr-field[data-state="success"]:focus { box-shadow: var(--shadow-focus); }
.ntr-field-group[data-state="success"] .ntr-helper { color: var(--ntr-teal-900); }

/* ---- Skeleton loading ----
   Beige-200 base with a soft shimmer; respects prefers-reduced-motion. */
.ntr-skeleton {
  display: block;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  color: transparent !important;
}
.ntr-skeleton::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: translateX(-100%);
  animation: ntr-shimmer 1.4s ease-in-out infinite;
}
.ntr-skeleton--text  { height: 12px; border-radius: var(--radius-xs); }
.ntr-skeleton--title { height: 22px; border-radius: var(--radius-xs); }
.ntr-skeleton--block { height: 80px; }
.ntr-skeleton--circle { border-radius: 50%; aspect-ratio: 1; }
@keyframes ntr-shimmer {
  100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ntr-skeleton::after { animation: none; opacity: 0.4; }
}

/* ---- Spinner (inline, for buttons + small async) ---- */
.ntr-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: ntr-spin 0.85s linear infinite;
  vertical-align: middle;
}
@keyframes ntr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .ntr-spinner { animation-duration: 2.4s; }
}

/* ---- Error / empty state stack ----
   Centred icon + heading + supporting line + optional action.
   Variants: empty (muted), error (warning-tinted), critical (danger). */
.ntr-state {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-5);
  max-width: 440px; margin: 0 auto;
}
.ntr-state__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-muted);
}
.ntr-state__icon img { width: 28px; height: 28px; opacity: 0.7; }
.ntr-state__title {
  font: 600 18px/1.3 var(--font-display);
  color: var(--ntr-dark);
}
.ntr-state__body {
  font: 400 14px/1.5 var(--font-body);
  color: var(--fg-muted);
}
.ntr-state--error .ntr-state__icon { background: var(--ntr-orange-100); }
.ntr-state--error .ntr-state__title { color: #9A5410; }
.ntr-state--critical .ntr-state__icon { background: rgba(200,65,58,0.12); }
.ntr-state--critical .ntr-state__title { color: var(--status-danger); }

/* ---- Mobile portal chrome -----
   Below 720px the desktop four-zone canvas collapses:
    - Sidebar becomes a slide-in drawer behind a hamburger.
    - Top bar shrinks to: hamburger · breadcrumb-tail · profile.
    - Shortcut bar becomes a bottom tab strip with 4 tiles + overflow.
   Provided as utility classes; layout owners opt in. */
@media (max-width: 720px) {
  .ntr-portal-grid { grid-template-columns: 1fr !important; }
  .ntr-portal-sidebar {
    position: fixed !important; inset: 0 auto 0 0;
    transform: translateX(-100%);
    transition: transform var(--dur-surface) var(--ease-standard);
    z-index: 60;
  }
  .ntr-portal-sidebar[data-open="true"] { transform: translateX(0); }
  .ntr-portal-topbar { padding: 12px 16px !important; }
  .ntr-portal-shortcut {
    position: fixed !important; bottom: 0; left: 0; right: 0;
    border-radius: 0 !important;
    border-top: 1px solid var(--border-default);
    border-bottom: 0; border-left: 0; border-right: 0;
    padding: 8px !important;
    justify-content: space-around;
  }
  .ntr-portal-shortcut .ntr-tile { width: 56px; height: 56px; }
}
