/* ==========================================================================
   Atmotech custom CSS — things Tailwind utilities cannot express.
   Loaded after Tailwind in every layout (CDN and build mode).
   ========================================================================== */

/* --- Stitch base (CDN mode: identical to the inline <style> in each screen) */
@layer base {
  html, body { margin: 0; padding: 0; }
  body { overscroll-behavior: none; }
  main > :first-child { margin-top: 0 !important; }
  main > :last-child { margin-bottom: 0 !important; }
}

/* --- Scrollbar hiding (all Stitch screens hide the scrollbar) ------------- */
::-webkit-scrollbar { display: none; }
html { scrollbar-width: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* --- Brand tokens as CSS variables (overridable from Settings > Appearance) */
:root {
  --atmo-navy: #0F2D4A;
  --atmo-forest: #1B2E24;
  --atmo-gold: #D9C9A8;
  --atmo-charcoal: #2E2E2E;
  --atmo-cream: #FAF7F2;
  --atmo-beige: #EDE7DC;
  --atmo-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Material Symbols defaults --------------------------------------------- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-family: 'Material Symbols Outlined' !important; /* never fall back to Hind Siliguri */
  line-height: 1;
  user-select: none;
}
.material-symbols-outlined.icon-fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* --- Bengali -------------------------------------------------------------- */
/* Every Tailwind font stack already falls back to Hind Siliguri per glyph.   */
/* In Bengali mode we also relax tight serif tracking, which hurts conjuncts. */
html[lang="bn"] body { font-feature-settings: normal; }
html[lang="bn"] [class*="tracking-tight"],
html[lang="bn"] [class*="tracking-[-"] { letter-spacing: 0 !important; }
.font-bn { font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif; }

/* --- Gold hairline borders (DESIGN.md elevation levels) ------------------- */
.hairline       { border: 1px solid rgba(217, 201, 168, 0.45); }
.hairline-hover { border: 1px solid rgba(217, 201, 168, 0.85); }
.hairline-modal { border: 1px solid rgba(217, 201, 168, 0.60); }
.elev-1 { box-shadow: 0 4px 20px -2px rgba(15,45,74,0.04), 0 1px 3px rgba(46,46,46,0.02); }
.elev-2 { box-shadow: 0 12px 32px -4px rgba(15,45,74,0.08), 0 4px 12px -2px rgba(217,201,168,0.15); }
.elev-3 { box-shadow: 0 24px 48px -8px rgba(15,45,74,0.12), 0 8px 16px -4px rgba(46,46,46,0.04); }
.lift { transition: transform 240ms var(--atmo-ease), box-shadow 240ms var(--atmo-ease), border-color 240ms var(--atmo-ease); }
.lift:hover { transform: translateY(-3px); }

/* --- Auth screens: botanical dot pattern (atmotech_auth_login) ------------ */
.botanical-pattern {
  background-image: radial-gradient(rgba(197, 168, 128, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* --- Animations used by Stitch markup -------------------------------------- */
@keyframes atmoFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.animate-fadeIn { animation: atmoFadeIn 240ms var(--atmo-ease) both; }
@keyframes atmoSlideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.animate-slideUp { animation: atmoSlideUp 320ms var(--atmo-ease) both; }
@keyframes atmoShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.animate-shake { animation: atmoShake 280ms ease-in-out; }

/* Scroll-reveal (opt-in with data-reveal) */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--atmo-ease), transform 600ms var(--atmo-ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .animate-fadeIn, .animate-slideUp, .animate-shake { animation: none; }
}

/* --- Off-canvas drawers (admin/portal sidebar, public mobile menu) -------- */
/* Desktop (>=1024px) keeps the Stitch fixed sidebar; below that it slides.  */
.atmo-drawer { transition: transform 280ms var(--atmo-ease); }
.atmo-drawer-overlay { transition: opacity 200ms ease; }
body.drawer-open { overflow: hidden; }

/* --- Responsive tables: horizontal scroll wrapper ------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll > table { min-width: 720px; }

/* Stacked-card tables on small screens: add .table-stack to <table> and   */
/* data-label="Column" to each <td>.                                         */
@media (max-width: 767px) {
  table.table-stack thead { display: none; }
  table.table-stack, table.table-stack tbody, table.table-stack tr, table.table-stack td { display: block; width: 100%; }
  table.table-stack tr { margin-bottom: 0.75rem; border-radius: 0.75rem; background: #fff; border: 1px solid rgba(217,201,168,0.45); padding: 0.5rem 0.75rem; }
  table.table-stack td { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0 !important; border: 0 !important; text-align: right; }
  table.table-stack td::before { content: attr(data-label); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; color: #43474d; text-align: left; }
}

/* --- Modals become full-width sheets on mobile ---------------------------- */
@media (max-width: 639px) {
  .atmo-modal-panel { width: 100% !important; max-width: 100% !important; margin: auto 0 0 0 !important; border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; max-height: 92vh; overflow-y: auto; }
}

/* --- Global overflow guard (nothing may overflow horizontally) ------------ */
/* `clip` (not `hidden`) so position:sticky elements in Stitch screens keep working */
html, body { max-width: 100%; overflow-x: clip; }
img, video, iframe { max-width: 100%; }

/* --- Toasts ----------------------------------------------------------------*/
.atmo-toast-wrap { position: fixed; z-index: 9999; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: 0.5rem; max-width: calc(100vw - 2rem); }
.atmo-toast { min-width: 260px; max-width: 420px; animation: atmoSlideUp 260ms var(--atmo-ease) both; }

/* --- Loading state for AJAX buttons --------------------------------------- */
[data-loading="true"] { pointer-events: none; opacity: 0.85; cursor: wait; }
.atmo-spinner { width: 1rem; height: 1rem; border-radius: 9999px; border: 2px solid currentColor; border-right-color: transparent; animation: atmoSpin 700ms linear infinite; display: inline-block; vertical-align: -2px; }
@keyframes atmoSpin { to { transform: rotate(360deg); } }

/* --- Field errors ----------------------------------------------------------*/
.is-invalid { border-color: #ba1a1a !important; box-shadow: 0 0 0 2px rgba(186,26,26,0.12) !important; }

/* --- Honeypot -------------------------------------------------------------- */
.atmo-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* --- Print (invoices, A4 preview) ----------------------------------------- */
@media print {
  .no-print, header, aside, footer, .atmo-toast-wrap { display: none !important; }
  body { background: #fff !important; }
  .print-a4 { width: 210mm; min-height: 297mm; margin: 0; box-shadow: none !important; }
}

/* --- Blog article body (rich text from the editor), mirrors Stitch blog_details typography --- */
.atmo-prose { display: flex; flex-direction: column; gap: 1.25rem; color: #43474d; }
.atmo-prose > * { margin: 0; }
.atmo-prose h2 { font-family: 'Playfair Display', 'Hind Siliguri', serif; font-size: 28px; line-height: 36px; font-weight: 600; color: #00182f; letter-spacing: -0.01em; margin-top: 1.5rem; scroll-margin-top: 8rem; }
.atmo-prose h3 { font-family: 'Playfair Display', 'Hind Siliguri', serif; font-size: 22px; line-height: 30px; font-weight: 600; color: #00182f; margin-top: 0.75rem; scroll-margin-top: 8rem; }
.atmo-prose h4 { font-size: 20px; line-height: 28px; font-weight: 600; color: #00182f; }
.atmo-prose p, .atmo-prose li { font-size: 18px; line-height: 1.8; }
.atmo-prose > p:first-of-type::first-letter { float: left; font-family: 'Playfair Display', serif; font-size: 68px; line-height: 58px; font-weight: 700; color: #00182f; margin: 6px 12px 0 0; }
.atmo-prose ul, .atmo-prose ol { padding-left: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.atmo-prose ul { list-style: disc; } .atmo-prose ol { list-style: decimal; }
.atmo-prose li::marker { color: #4f6357; }
.atmo-prose a { color: #00182f; font-weight: 600; text-decoration: underline; text-decoration-color: #d5c5a4; text-underline-offset: 3px; }
.atmo-prose strong { color: #1b1c1c; font-weight: 700; }
.atmo-prose blockquote { position: relative; padding: 2rem; border-radius: 1rem; background: #f6f3f2; font-family: 'Playfair Display', 'Hind Siliguri', serif; font-style: italic; font-size: 22px; line-height: 1.45; color: #00182f; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.atmo-prose blockquote::before { content: '\201C'; position: absolute; top: -1.25rem; right: 1rem; font-size: 130px; line-height: 1; color: #e4e2e1; opacity: 0.6; }
.atmo-prose code { font-size: 0.9em; background: #f0eded; padding: 0.1em 0.35em; border-radius: 0.3rem; }
.atmo-prose pre { background: #303030; color: #f3f0f0; padding: 1.25rem; border-radius: 0.75rem; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.atmo-prose pre code { background: none; padding: 0; }
.atmo-prose img { border-radius: 1rem; box-shadow: 0 4px 20px -2px rgba(15,45,74,0.06); }
.atmo-prose figure figcaption { font-size: 13px; color: #73777e; margin-top: 0.5rem; text-align: center; }
.atmo-prose hr { border: 0; height: 1px; background: #e4e2e1; margin: 1rem 0; }
.atmo-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.atmo-prose th, .atmo-prose td { padding: 0.6rem 0.8rem; border-bottom: 1px solid #e4e2e1; text-align: left; }
html[lang="bn"] .atmo-prose > p:first-of-type::first-letter { float: none; font-size: inherit; line-height: inherit; margin: 0; font-family: inherit; font-weight: inherit; color: inherit; }

/* ---------------------------------------------------------------------------
   Admin: data tables stack into labelled cards below 768px (no sideways scroll)
--------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .atmo-stack-table thead { display: none; }
  .atmo-stack-table, .atmo-stack-table tbody, .atmo-stack-table tr, .atmo-stack-table td { display: block; width: 100%; }
  .atmo-stack-table tr { padding: 12px 16px; }
  .atmo-stack-table td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 0 !important; text-align: right; }
  .atmo-stack-table td::before { content: attr(data-label); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #74777f; text-align: left; flex-shrink: 0; }
  .atmo-stack-table td[data-label=""]::before { content: none; }
  .atmo-stack-table td[data-label=""] { justify-content: flex-end; }
}
/* Admin rich-text editor */
.atmo-rte[contenteditable] { min-height: 260px; outline: none; }
.atmo-rte h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin: 1rem 0 .5rem; color: #00182f; }
.atmo-rte h3 { font-size: 1.15rem; font-weight: 700; margin: .8rem 0 .4rem; }
.atmo-rte p { margin: 0 0 .75rem; }
.atmo-rte ul, .atmo-rte ol { padding-left: 1.4rem; margin: 0 0 .75rem; list-style: revert; }
.atmo-rte blockquote { border-left: 3px solid #D9C9A8; padding-left: 1rem; color: #43474e; font-style: italic; }
.atmo-rte a { color: #2c6b4f; text-decoration: underline; }

/* ==========================================================================
 * Theme colours (light + dark). Tailwind tokens read these variables, so the
 * whole Material palette flips when <html> gets the "dark" class.
 * ========================================================================== */
:root{
  --c-background:252 249 248;
  --c-error:186 26 26;
  --c-error-container:255 218 214;
  --c-inverse-on-surface:243 240 240;
  --c-inverse-primary:174 201 237;
  --c-inverse-surface:48 48 48;
  --c-on-background:27 28 28;
  --c-on-error:255 255 255;
  --c-on-error-container:147 0 10;
  --c-on-primary:255 255 255;
  --c-on-primary-container:122 149 183;
  --c-on-primary-fixed:0 29 54;
  --c-on-primary-fixed-variant:46 72 103;
  --c-on-secondary:255 255 255;
  --c-on-secondary-container:85 105 93;
  --c-on-secondary-fixed:12 31 22;
  --c-on-secondary-fixed-variant:55 75 64;
  --c-on-surface:27 28 28;
  --c-on-surface-variant:67 71 77;
  --c-on-tertiary:255 255 255;
  --c-on-tertiary-container:160 146 116;
  --c-on-tertiary-fixed:35 27 6;
  --c-on-tertiary-fixed-variant:80 70 45;
  --c-outline:115 119 126;
  --c-outline-variant:195 198 206;
  --c-primary:0 24 47;
  --c-primary-container:15 45 74;
  --c-primary-fixed:210 228 255;
  --c-primary-fixed-dim:174 201 237;
  --c-secondary:79 99 87;
  --c-secondary-container:209 232 217;
  --c-secondary-fixed:209 232 217;
  --c-secondary-fixed-dim:182 204 189;
  --c-surface:252 249 248;
  --c-surface-bright:252 249 248;
  --c-surface-container:240 237 237;
  --c-surface-container-high:234 231 231;
  --c-surface-container-highest:228 226 225;
  --c-surface-container-low:246 243 242;
  --c-surface-container-lowest:255 255 255;
  --c-surface-dim:220 217 217;
  --c-surface-tint:70 96 128;
  --c-surface-variant:228 226 225;
  --c-tertiary:30 23 3;
  --c-tertiary-container:52 43 20;
  --c-tertiary-fixed:242 225 191;
  --c-tertiary-fixed-dim:213 197 164;
}
html.dark{
  color-scheme:dark;
  --c-background:17 20 24;
  --c-on-background:226 226 230;
  --c-surface:17 20 24;
  --c-surface-dim:17 20 24;
  --c-surface-bright:55 57 62;
  --c-surface-container-lowest:12 15 19;
  --c-surface-container-low:25 28 32;
  --c-surface-container:29 32 36;
  --c-surface-container-high:39 42 46;
  --c-surface-container-highest:50 53 57;
  --c-surface-variant:67 71 77;
  --c-on-surface:226 226 230;
  --c-on-surface-variant:195 198 206;
  --c-outline:141 145 153;
  --c-outline-variant:67 71 77;
  --c-inverse-surface:226 226 230;
  --c-inverse-on-surface:46 49 53;
  --c-inverse-primary:70 96 128;
  --c-surface-tint:174 201 237;
  --c-primary:174 201 237;
  --c-on-primary:21 50 80;
  --c-primary-container:46 72 103;
  --c-on-primary-container:210 228 255;
  --c-secondary:182 204 189;
  --c-on-secondary:33 53 42;
  --c-secondary-container:55 75 64;
  --c-on-secondary-container:209 232 217;
  --c-tertiary:213 197 164;
  --c-on-tertiary:58 48 26;
  --c-tertiary-container:80 70 45;
  --c-on-tertiary-container:242 225 191;
  --c-error:255 180 171;
  --c-on-error:105 0 5;
  --c-error-container:147 0 10;
  --c-on-error-container:255 218 214;
}

/* Fixed Stitch colours in public views, re-mapped for dark mode (generated by tools/darkmode.py). */
html.dark .bg-\[\#D1E8D9\]{background-color:rgb(34 51 42)}
html.dark .bg-\[\#D9C9A8\]{background-color:rgb(58 51 38)}
html.dark .bg-\[\#E8F1F8\]{background-color:rgb(26 38 51)}
html.dark .bg-\[\#EAF4EC\]{background-color:rgb(28 43 34)}
html.dark .bg-\[\#EDE7DC\]{background-color:rgb(35 38 42)}
html.dark .bg-\[\#FAF7F2\]{background-color:rgb(29 32 36)}
html.dark .bg-\[\#FCE7EA\]{background-color:rgb(51 32 42)}
html.dark .bg-white{background-color:rgb(25 28 32)}
html.dark .bg-white\/40{background-color:rgb(25 28 32 / 0.4)}
html.dark .bg-white\/60{background-color:rgb(25 28 32 / 0.6)}
html.dark .bg-white\/70{background-color:rgb(25 28 32 / 0.7)}
html.dark .bg-white\/80{background-color:rgb(25 28 32 / 0.8)}
html.dark .from-\[\#E8F1F8\]{--tw-gradient-from:#1a2633 var(--tw-gradient-from-position);--tw-gradient-to:rgb(26 38 51 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}
html.dark .from-\[\#EDE7DC\]{--tw-gradient-from:#23262a var(--tw-gradient-from-position);--tw-gradient-to:rgb(35 38 42 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}
html.dark .from-\[\#FAF7F2\]{--tw-gradient-from:#1d2024 var(--tw-gradient-from-position);--tw-gradient-to:rgb(29 32 36 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}
html.dark .from-\[\#FCE7EA\]{--tw-gradient-from:#33202a var(--tw-gradient-from-position);--tw-gradient-to:rgb(51 32 42 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}
html.dark .hover\:bg-\[\#EAE0CA\]:hover{background-color:rgb(42 45 49)}
html.dark .hover\:text-\[\#0C1F16\]:hover{color:rgb(209 232 217)}
html.dark .hover\:text-\[\#8C2433\]:hover{color:rgb(255 180 171)}
html.dark .hover\:text-black:hover{color:rgb(226 226 230)}
html.dark .placeholder\:text-\[\#73777E\]::placeholder{color:rgb(160 164 171)}
html.dark .text-\[\#0F2D4A\]{color:rgb(210 228 255)}
html.dark .text-\[\#0F2D4A\]\/70{color:rgb(210 228 255 / 0.7)}
html.dark .text-\[\#1B2E24\]{color:rgb(209 232 217)}
html.dark .text-\[\#1B2E24\]\/70{color:rgb(209 232 217 / 0.7)}
html.dark .text-\[\#2B4A67\]{color:rgb(174 201 237)}
html.dark .text-\[\#2E4A3A\]{color:rgb(182 204 189)}
html.dark .text-\[\#342B14\]{color:rgb(242 225 191)}
html.dark .text-\[\#342B14\]\/70{color:rgb(242 225 191 / 0.7)}
html.dark .text-\[\#374B40\]{color:rgb(182 204 189)}
html.dark .text-\[\#3E3E3E\]{color:rgb(214 214 214)}
html.dark .text-\[\#43474D\]{color:rgb(195 198 206)}
html.dark .text-\[\#4A2D30\]{color:rgb(255 217 221)}
html.dark .text-\[\#4A2D30\]\/80{color:rgb(255 217 221 / 0.8)}
html.dark .text-\[\#4A3F35\]{color:rgb(232 220 198)}
html.dark .text-\[\#50462D\]{color:rgb(232 216 184)}
html.dark .text-\[\#6B4F4F\]{color:rgb(231 201 201)}
html.dark .text-\[\#73777E\]{color:rgb(160 164 171)}
html.dark .text-\[\#8C2433\]{color:rgb(255 180 171)}
html.dark .text-\[\#8C2433\]\/70{color:rgb(255 180 171 / 0.7)}
html.dark .text-\[\#A09274\]{color:rgb(213 197 164)}
html.dark .to-\[\#E8F1F8\]{--tw-gradient-to:#1a2633 var(--tw-gradient-to-position)}
html.dark .to-\[\#EAF4EC\]{--tw-gradient-to:#1c2b22 var(--tw-gradient-to-position)}
html.dark .to-\[\#FCE7EA\]{--tw-gradient-to:#33202a var(--tw-gradient-to-position)}

/* Solid primary backgrounds remain brand navy in dark mode; on-primary text is light on them. */
html.dark{--c-on-primary:234 242 251;}
html.dark .bg-primary{background-color:rgb(31 58 90 / 1)}
html.dark .bg-primary\/60{background-color:rgb(31 58 90 / 0.6)}
html.dark .bg-primary\/70{background-color:rgb(31 58 90 / 0.7)}
html.dark .bg-primary\/80{background-color:rgb(31 58 90 / 0.8)}
html.dark .bg-primary\/90{background-color:rgb(31 58 90 / 0.9)}
html.dark .bg-primary\/95{background-color:rgb(31 58 90 / 0.95)}
html.dark .focus\:bg-primary:focus{background-color:rgb(31 58 90 / 1)}
html.dark .from-primary{--tw-gradient-from:rgb(31 58 90 / 1) var(--tw-gradient-from-position);--tw-gradient-to:rgb(31 58 90 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}
html.dark .from-primary\/70{--tw-gradient-from:rgb(31 58 90 / 0.7) var(--tw-gradient-from-position);--tw-gradient-to:rgb(31 58 90 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}
html.dark .from-primary\/80{--tw-gradient-from:rgb(31 58 90 / 0.8) var(--tw-gradient-from-position);--tw-gradient-to:rgb(31 58 90 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}
html.dark .group:hover .group-hover\:bg-primary{background-color:rgb(31 58 90 / 1)}
html.dark .hover\:bg-primary:hover{background-color:rgb(31 58 90 / 1)}
html.dark .hover\:bg-primary\/70:hover{background-color:rgb(31 58 90 / 0.7)}
html.dark .hover\:bg-primary\/80:hover{background-color:rgb(31 58 90 / 0.8)}
html.dark .to-primary{--tw-gradient-to:rgb(31 58 90 / 1) var(--tw-gradient-to-position)}
html.dark .to-primary\/20{--tw-gradient-to:rgb(31 58 90 / 0.2) var(--tw-gradient-to-position)}
html.dark .via-primary{--tw-gradient-to:rgb(31 58 90 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), rgb(31 58 90 / 1) var(--tw-gradient-via-position), var(--tw-gradient-to)}
html.dark .via-primary\/30{--tw-gradient-to:rgb(31 58 90 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), rgb(31 58 90 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to)}
html.dark .via-primary\/40{--tw-gradient-to:rgb(31 58 90 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), rgb(31 58 90 / 0.4) var(--tw-gradient-via-position), var(--tw-gradient-to)}

/* Header: when the desktop menu does not fit, app.js adds .nav-collapsed and the ☰ drawer is used instead. */
html.nav-collapsed #site-header nav[aria-label="Primary"]{display:none !important}
html.nav-collapsed #site-header [data-drawer-open="mobile-menu"]{display:inline-flex !important}
html.nav-collapsed #mobile-menu{display:flex !important}
html.nav-collapsed [data-drawer-overlay="mobile-menu"]{display:block !important}
