/* AutoDeal — shared stylesheet. Cool paper base, navy ink, one deep electric blue.
   Dark is reserved for the nav, the footer and one feature band. Mobile first: base rules are the phone layout. */

:root{
  color-scheme:light;

  /* White, barely cool base; navy ink; one deep electric blue. Dark surfaces are navy, not black.
     White-on-white separates with a hairline border plus a soft shadow, or the faint --tint for a whole section. */
  --bg:#FBFCFE;            /* page: near-white */
  --surface:#FFFFFF;       /* cards */
  --tint:#F4F7FB;          /* alternate sections, insets */
  --surface-2:#EEF2F7;     /* wells, tracks, segmented backgrounds */
  --line:#E2E7EF;
  --line-strong:#CAD2DE;
  --ink:#0B1324;           /* headings, navy ink */
  --text:#2A3446;
  --muted:#5A6578;         /* 5.9:1 on page, 5.5:1 on tint, 6:1 on white */
  --placeholder:#687385;   /* 4.8:1 on white */

  --accent:#1D40E0;        /* deep electric blue — white text 7.3:1 */
  --accent-dark:#1632B8;
  --accent-soft:#E8EDFD;
  --accent-line:#C9D3FA;
  --accent-ring:rgba(29,64,224,.28);
  --accent-on-night:#8EA6FF;

  --night:#0A1222;         /* nav, footer, feature band, portal header */
  --night-2:#121B2E;
  --night-line:#1E2A40;
  --night-text:#EEF2F8;
  --night-muted:#97A3B8;   /* 7.3:1 on night */
  --night-glow:radial-gradient(90% 140% at 100% 0%,rgba(29,64,224,.26),rgba(29,64,224,0) 60%);

  --warn:#9A5B00;
  --warn-soft:#FCF3E3;
  --warn-line:#F1DDB8;
  --bad:#B42318;
  --good:#0B7A55;

  --font:"Public Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --display:"Archivo","Public Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --shadow-sm:0 1px 2px rgba(11,19,36,.05),0 2px 8px -2px rgba(11,19,36,.06);
  --shadow-md:0 2px 4px rgba(11,19,36,.04),0 12px 32px -8px rgba(11,19,36,.12);
  --shadow-lg:0 4px 8px rgba(11,19,36,.04),0 24px 56px -12px rgba(11,19,36,.18);
  --r:10px;
  --r-btn:10px;            /* buttons and inputs share one radius */
  --r-card:16px;
  --container:1280px;    /* the one content column: nav, every section, hero, footer */
  --narrow:680px;
  --gutter:20px;
  --ease:cubic-bezier(.2,.7,.2,1);
  --ease-out:cubic-bezier(.16,1,.3,1);
  --dur-1:.15s;          /* hover, press */
  --dur-2:.3s;           /* tab and panel changes */
  --dur-3:.6s;           /* reveals */
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:76px;scroll-padding-bottom:96px}
body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.6 var(--font);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a,button,label,summary,select{-webkit-tap-highlight-color:rgba(29,64,224,.12)}
::selection{background:var(--accent-soft);color:var(--ink)}

h1,h2,h3,h4{color:var(--ink);margin:0 0 12px;text-wrap:balance}
h1,h2{font-family:var(--display);font-weight:700;letter-spacing:-.03em;line-height:1.05}
h1{font-size:clamp(34px,9.5vw,40px)}
h2{font-size:clamp(28px,7vw,32px);margin-bottom:14px}
h3{font-family:var(--font);font-weight:650;font-size:18px;letter-spacing:-.01em;line-height:1.3}
h4{font-family:var(--font);font-weight:650;font-size:16px;line-height:1.35}
p{margin:0 0 16px;text-wrap:pretty}
p:last-child{margin-bottom:0}
a{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:rgba(29,64,224,.35);transition:color .15s,text-decoration-color .15s}
a:hover{color:var(--accent-dark);text-decoration-color:currentColor}
small,.small{font-size:14px}
.muted{color:var(--muted)}
.hidden{display:none !important}
strong{color:var(--ink);font-weight:650}
code,.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em}
ul,ol{margin:0 0 16px;padding-left:22px}
li{margin-bottom:6px}
hr{border:0;border-top:1px solid var(--line);margin:0}

:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* Layout */
.container{max-width:var(--container);margin:0 auto;padding:0 var(--gutter)}
.narrow{max-width:var(--narrow);margin:0 auto;padding:0 var(--gutter)}
.section{padding:40px 0}
.section.alt{background:var(--tint);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{margin-bottom:32px}
.section-head p{color:var(--muted);font-size:18px;line-height:1.55;max-width:60ch;margin-top:10px}

/* Nav (dark) */
.nav{position:sticky;top:0;z-index:20;background:rgba(10,18,34,.9);-webkit-backdrop-filter:saturate(160%) blur(14px);backdrop-filter:saturate(160%) blur(14px);border-bottom:1px solid rgba(255,255,255,.08);color:var(--night-text);height:60px}
.nav .container{height:100%;display:flex;align-items:center;gap:24px}
.wordmark{display:inline-flex;align-items:center;gap:9px;font:700 20px/1 var(--display);letter-spacing:-.04em;color:var(--ink);text-decoration:none}
.wordmark::before{content:"";width:10px;height:10px;border-radius:3px;background:var(--accent);flex-shrink:0;transition:transform .25s var(--ease)}
.wordmark:hover::before{transform:rotate(45deg) scale(1.1)}
.nav .wordmark,.footer .wordmark{color:var(--night-text)}
.wordmark:hover{color:inherit;text-decoration:none}
.nav .wordmark:hover{color:var(--night-text)}
.wordmark b{color:var(--accent);font-weight:700}
.wordmark span{color:var(--muted);font-weight:500}
.nav .wordmark span{color:var(--night-muted)}
.nav-links{display:flex;gap:24px;margin-left:auto;align-items:center}
.nav-links a,.nav-links button{font:500 15px var(--font);color:var(--night-muted);background:none;border:0;padding:8px 0;cursor:pointer;text-decoration:none;touch-action:manipulation;transition:color .15s}
.nav-links a:hover,.nav-links button:hover{color:var(--night-text);text-decoration:none}
.nav-links a.btn{min-height:40px;padding:8px 16px;font-size:14px;font-weight:600;background:var(--accent);border:1px solid var(--accent);color:#fff;box-shadow:0 6px 18px -8px rgba(29,64,224,.9)}
.nav-links a.btn:hover{background:var(--accent-dark);border-color:var(--accent-dark);color:#fff}
.nav-links a.btn:focus-visible{outline-color:var(--accent-on-night)}

/* ── Buttons: one system, defined once ──
   Primary   .btn (or .primary on an app button): blue fill, white text. The one main action in a view.
   Secondary .btn.secondary, and every plain <button> in the app workspace: white, navy text, cool-tint border.
   Ghost     .btn.ghost / .link-btn: text only, blue, underline on hover. Low-emphasis actions.
   Danger    .btn.danger and the remove/stop/suspend actions: white with red text and a red-tint border. Never a red block.
   On dark surfaces every button is primary blue; ghost turns light blue.
   Selectors for app buttons sit in :where() so they carry no specificity and the variants below always win. */
:root{
  --btn-h:44px;
  --btn-h-lg:48px;
  --btn-pad:10px 18px;
  --btn-font:600 15px/1.2 var(--font);
  --btn-primary-shadow:0 1px 2px rgba(11,19,36,.10),0 6px 16px -8px rgba(29,64,224,.6),inset 0 1px 0 rgba(255,255,255,.16);
  --btn-primary-shadow-hover:0 2px 4px rgba(11,19,36,.10),0 12px 24px -10px rgba(29,64,224,.65),inset 0 1px 0 rgba(255,255,255,.16);
  --btn-line:#C9D3F2;      /* secondary border: blue at low strength */
  --btn-hover-tint:#F4F7FF;
  --btn-danger-line:#F1C7C3;
  --btn-danger-tint:#FEF4F3;
  --btn-disabled-bg:#EEF1F5;
  --btn-disabled-text:#8B95A6;
}
.btn,:where(.main,#drawer) button:where(:not(.link-btn)){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--btn-h);padding:var(--btn-pad);font:var(--btn-font);letter-spacing:-.005em;border-radius:var(--r-btn);border:1px solid transparent;cursor:pointer;text-decoration:none;white-space:nowrap;touch-action:manipulation;user-select:none;-webkit-user-select:none;transition:background-color var(--dur-1),border-color var(--dur-1),color var(--dur-1),box-shadow .2s var(--ease),transform .18s var(--ease)}
.btn{min-height:var(--btn-h-lg);padding:12px 22px;font-size:16px}
/* Primary */
.btn,:where(.main,#drawer) button.primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:var(--btn-primary-shadow)}
.btn:hover,:where(.main,#drawer) button.primary:hover{background:var(--accent-dark);border-color:var(--accent-dark);color:#fff;text-decoration:none;transform:translateY(-1px);box-shadow:var(--btn-primary-shadow-hover)}
/* Secondary (also the default for any plain app button) */
.btn.secondary,:where(.main,#drawer) button:where(:not(.btn,.link-btn,.primary)){background:var(--surface);border-color:var(--btn-line);color:var(--ink);box-shadow:var(--shadow-sm)}
.btn.secondary:hover,:where(.main,#drawer) button:where(:not(.btn,.link-btn,.primary)):hover{background:var(--btn-hover-tint);border-color:rgba(29,64,224,.5);color:var(--accent-dark);transform:translateY(-1px);box-shadow:0 1px 2px rgba(11,19,36,.05),0 8px 18px -10px rgba(29,64,224,.35)}
/* Danger */
.btn.danger,:where(.main,#drawer) button:where([data-del],[data-mw-remove],[data-status="suspended"],#pgEnd){background:var(--surface);border-color:var(--btn-danger-line);color:var(--bad);box-shadow:var(--shadow-sm)}
.btn.danger:hover,:where(.main,#drawer) button:where([data-del],[data-mw-remove],[data-status="suspended"],#pgEnd):hover{background:var(--btn-danger-tint);border-color:var(--bad);color:var(--bad);transform:translateY(-1px)}
/* Ghost */
.btn.ghost{background:none;border-color:transparent;color:var(--accent);box-shadow:none;padding-left:4px;padding-right:4px;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px}
.btn.ghost:hover{background:none;color:var(--accent-dark);text-decoration-color:currentColor;transform:none;box-shadow:none}
/* Press, focus, disabled: the same for every variant */
.btn:active,:where(.main,#drawer) button:where(:not(.link-btn)):active{transform:translateY(0) scale(.97);transition-duration:.06s}
.btn:focus-visible,:where(.main,#drawer) button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.btn:disabled,.btn[aria-disabled="true"],:where(.main,#drawer) button:disabled,:where(.main,#drawer) button:disabled:hover{background:var(--btn-disabled-bg) !important;border-color:var(--line) !important;color:var(--btn-disabled-text) !important;box-shadow:none !important;transform:none !important;cursor:not-allowed;opacity:1}
.btn.small,:where(.main,#drawer) button.small{min-height:40px;padding:8px 14px;font-size:14px}
.btn.block{width:100%}
/* On dark surfaces: primary blue for every button; focus ring in light blue */
:where(.nav,.night-head,.ad-cta,.demobar,.tourcard) .btn:focus-visible,:where(.night-head) button:focus-visible{outline-color:var(--accent-on-night)}
.link-btn{background:none;border:0;padding:10px 0;margin:-10px 0;touch-action:manipulation;font:600 15px var(--font);color:var(--accent);cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(29,64,224,.35);transition:color .15s,text-decoration-color .15s,opacity .15s}
.link-btn:hover{color:var(--accent-dark);text-decoration-color:currentColor}
.link-btn:active{opacity:.7}
/* Ghost on dark (Sign out in the portal and admin) */
.btn-ghost-night,.sidebar .bottom button,#sidebar #logoutBtn{background:none;border:0;box-shadow:none;color:var(--accent-on-night);font:600 14px var(--font);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px;cursor:pointer;transition:color var(--dur-1),text-decoration-color var(--dur-1)}
.btn-ghost-night:hover,.sidebar .bottom button:hover,#sidebar #logoutBtn:hover{background:none;color:#fff;text-decoration-color:currentColor}

/* Forms */
label{display:block;font-size:14px;color:var(--ink);margin:0 0 7px;font-weight:600}
input,select,textarea{width:100%;font:400 16px var(--font);color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--r-btn);padding:0 14px;height:48px;outline:0;transition:border-color .15s,box-shadow .15s}
textarea{height:auto;min-height:96px;padding:12px 14px;resize:vertical}
input:hover,select:hover,textarea:hover{border-color:var(--muted)}
input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring);outline:0}
input::placeholder,textarea::placeholder{color:var(--placeholder)}
input[type=number]{font-variant-numeric:tabular-nums}
select{appearance:none;-webkit-appearance:none;background-color:var(--surface);color:var(--ink);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6578' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px}
input[type=checkbox],input[type=radio]{width:20px;height:20px;margin:0;accent-color:var(--accent);flex-shrink:0;padding:0;box-shadow:none}
.field{margin-bottom:22px}
.field .hint,.hint{font-size:14px;color:var(--muted);margin-top:8px;line-height:1.5}
.field .error,.error{font-size:14px;color:var(--bad);margin-top:8px}
.grid-2,.grid-3{display:grid;grid-template-columns:1fr;gap:0 20px}
.form-group{padding:32px 0;border-top:1px solid var(--line)}
.form-group:first-of-type{border-top:0;padding-top:0}
.form-group > h4{font:700 22px/1.2 var(--display);letter-spacing:-.02em;color:var(--ink);margin-bottom:22px}
.check{display:flex;gap:12px;align-items:flex-start;font-size:15px;font-weight:400;color:var(--text);cursor:pointer;transition:color .15s}
.check:hover{color:var(--ink)}
.check input{margin-top:2px}
.checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px 16px}
.choice{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid var(--line-strong);border-radius:var(--r);cursor:pointer;background:var(--surface);font-weight:400;transition:border-color .15s,background-color .15s,box-shadow .15s}
.choice:hover{border-color:var(--muted);background:var(--bg)}
.choice:has(input:checked){border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 1px var(--accent)}
.choice:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.choice input{margin-top:2px}
.choice .t{font-weight:650;color:var(--ink);font-size:16px;font-variant-numeric:tabular-nums}
.choice .d{font-size:14px;color:var(--muted)}

/* Notices */
.notice{padding:14px 16px;border:1px solid var(--line);border-left:3px solid var(--line-strong);background:var(--surface);border-radius:var(--r-btn);font-size:15px;margin:0 0 16px}
.notice.success{background:var(--accent-soft);border-color:var(--accent-line);border-left-color:var(--accent)}
.notice.warn{background:var(--warn-soft);border-color:var(--warn-line);border-left-color:var(--warn);color:var(--ink)}

/* Cards */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);padding:24px;box-shadow:var(--shadow-sm)}

/* Tables */
table{width:100%;border-collapse:collapse;font-size:15px;font-variant-numeric:tabular-nums}
th,td{text-align:left;padding:14px 12px;border-bottom:1px solid var(--line);vertical-align:middle}
th{font-size:13px;color:var(--muted);font-weight:600;white-space:nowrap;border-bottom-color:var(--line-strong)}
td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}
td .sub{font-size:13px;color:var(--muted)}
.table-wrap{overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}

/* Status dot */
.status{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.status::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--muted)}
.status.good::before{background:var(--good)}
.status.warn::before{background:var(--warn)}
.status.bad::before{background:var(--bad)}

/* Footer (dark) */
.footer{background:var(--night-glow),var(--night);color:var(--night-muted);padding:40px 0 24px;font-size:14px}
.footer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px 16px;margin-bottom:36px}
.footer-grid > div:first-child{grid-column:1/-1}
.footer .muted{color:var(--night-muted)}
.footer h4{font-size:13px;color:var(--night-muted);font-weight:600;margin-bottom:12px}
.footer ul{list-style:none;padding:0;margin:0}
.footer li{margin-bottom:8px}
.footer a{color:var(--night-text);text-decoration:none}
.footer a:hover{color:#fff;text-decoration:underline}
.footer-bottom{border-top:1px solid var(--night-line);padding-top:20px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:var(--night-muted);font-size:13px}

/* App shell (dealer portal, admin): dark sidebar that matches the nav, paper workspace, card surfaces */
.shell{display:flex;flex-direction:column;min-height:100vh}
.sidebar{width:100%;background:var(--night);color:var(--night-text);border-bottom:1px solid var(--night-line);padding:12px 16px;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px}
.sidebar .wordmark{display:inline-flex;margin:0 12px 0 0;padding:0;color:var(--night-text)}
.sidebar .wordmark:hover{color:#fff}
.sidebar .who{display:none;font-size:13px;color:var(--night-muted);padding:0 10px;margin-bottom:20px;word-break:break-word;line-height:1.45}
.sidebar button,.sidebar a.nav-item{display:block;width:auto;text-align:left;font:500 14px var(--font);color:var(--night-muted);background:none;border:0;padding:8px 10px;border-radius:var(--r-btn);cursor:pointer;text-decoration:none;touch-action:manipulation;transition:background-color .15s,color .15s}
.sidebar button:hover,.sidebar a.nav-item:hover{background:rgba(255,255,255,.06);color:var(--night-text);text-decoration:none}
.sidebar button.on{background:rgba(255,255,255,.09);color:#fff;box-shadow:inset 3px 0 0 var(--accent)}
.sidebar button:focus-visible{outline-color:var(--accent-on-night)}
.sidebar .bottom{margin-left:auto}
.main{flex:1;min-width:0;padding:20px 16px 60px;font-size:15px}
.main > *{max-width:calc(var(--container) - 64px);margin-left:auto;margin-right:auto}
.main table{min-width:720px}
.main h2{font-size:clamp(26px,4vw,34px);margin-bottom:8px}
.main .lead{color:var(--muted);margin-bottom:24px;max-width:720px}
.topbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.topbar .grow{flex:1;min-width:200px}
.topbar input,.topbar select{height:40px;font-size:16px;width:auto;min-width:180px}
.topbar input[type=search]{width:100%}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-bottom:28px}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 18px 14px;box-shadow:var(--shadow-sm)}
.stat .n{font:700 30px/1.05 var(--display);letter-spacing:-.03em;color:var(--ink);font-variant-numeric:tabular-nums;margin-bottom:4px}
.stat .l{font-size:13px;color:var(--muted)}
.main .table-wrap{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-sm)}
.main .table-wrap th{background:var(--surface);position:sticky;top:0;z-index:1}
.main .table-wrap tr:last-child td{border-bottom:0}
.empty{padding:40px 24px;text-align:center;color:var(--muted);font-size:15px;line-height:1.55;background:var(--surface);border:1px dashed var(--line-strong);border-radius:var(--r-card);text-wrap:pretty}
.err{color:var(--bad);min-height:18px;font-size:14px;margin-top:10px}
.ok{color:var(--good)}
.auth{max-width:440px;margin:10vh auto;padding:0 var(--gutter)}
.auth .card{padding:32px 24px;border-radius:16px;box-shadow:var(--shadow-md)}
.auth h1{font-size:34px;letter-spacing:-.04em;margin-bottom:10px}
.auth .wordmark{display:inline-flex;margin-bottom:28px}

/* ── Larger screens ── */
@media (min-width:641px){
  :root{--gutter:32px}
  .nav{height:64px}
  h1{font-size:clamp(44px,5.6vw,72px)}
  h2{font-size:clamp(32px,3.6vw,44px)}
  .section{padding:72px 0}
  .section-head{margin-bottom:48px}
  .section-head h2{font-size:clamp(36px,4.5vw,56px);letter-spacing:-.035em;line-height:1.05}
  .section-head p{font-size:20px}
  .grid-2{grid-template-columns:1fr 1fr}
  .grid-3{grid-template-columns:1fr 1fr}
  .footer{padding:72px 0 32px}
  .footer-grid{grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;margin-bottom:56px}
  .footer-grid > div:first-child{grid-column:auto}
  .card{padding:32px}
  .auth .card{padding:40px 36px}
  .shell{flex-direction:row}
  .sidebar{width:220px;flex-shrink:0;flex-direction:column;flex-wrap:nowrap;align-items:stretch;padding:24px 14px;border-bottom:0;border-right:0;position:sticky;top:0;height:100vh;overflow-y:auto}
  .sidebar .wordmark{display:flex;padding:0 10px;margin:0 0 20px}
  .sidebar .who{display:block}
  .sidebar button,.sidebar a.nav-item{width:100%;padding:9px 10px;font-size:15px}
  .sidebar .bottom{margin-top:auto;margin-left:0}
  .main{padding:28px 28px 72px}
}
@media (max-width:640px){
  .nav-links{gap:16px}
  .nav-links .hide-m{display:none}
  .btn.m-block{width:100%}
  .btn.small,:where(.main,#drawer) button.small,:where(.main,#drawer) button{min-height:44px}
  .topbar input,.topbar select{height:44px}
  input,select,textarea{font-size:16px !important}
}
@media (min-width:901px){
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .sidebar{width:240px}
  .main{padding:36px 44px 80px}
}

/* ── Motion (shared) ──
   One vocabulary: things rise 12–16px and fade in on --ease-out; panels cross-fade when a tab changes. Everything is
   visible without JS: an element is hidden only while html.motion is set, motion.js has armed it (.rise) and it has
   not been revealed yet (.is-in). */
@keyframes rise-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes fade-in{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:no-preference){
  .motion .rise{transition:opacity var(--dur-3) var(--ease-out),transform .8s var(--ease-out)}
  .motion .rise:not(.is-in){opacity:0;transform:translateY(16px)}
  .panel:not(.hidden){animation:fade-in var(--dur-2) ease-out both}
}

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