/* SparkChat app page (/bots/) — plugin 2.12.0: catalogue cards, background and FAQ (SPEC §B), sidebar (SPEC §C).
   One scroll area per region, the page itself never scrolls. RTL first. */
/* The site's font, self-hosted (the page has no wp_head, so the theme's fonts never load here; phones then fell back to a
   system font). Almarai, SIL OFL 1.1 — licence in fonts/OFL-Almarai.txt. The widget's shadow root uses these faces too. */
@font-face{font-family:'Almarai';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/almarai-arabic-400-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'Almarai';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/almarai-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Almarai';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/almarai-arabic-700-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'Almarai';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/almarai-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Almarai';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/almarai-arabic-800-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'Almarai';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/almarai-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--sc-accent:#004f93;--sc-brand:#ffcc00;--sc-bg:#fbfcfd;--sc-surface:#fff;--sc-text:#111;--sc-muted:#5f6670;--sc-border:#e3e6ec;--sc-hover:#eef2f6;--sc-current:#e3edf7;--sc-card-border:#d3d3d3;--sc-top:56px;--sc-side:280px;--sc-font:'Almarai','Segoe UI',Tahoma,'Noto Sans Arabic',Arial,sans-serif;color-scheme:light}
@media (prefers-color-scheme:dark){:root{--sc-bg:#0f141b;--sc-surface:#151b24;--sc-text:#e9eaee;--sc-muted:#a0a7b3;--sc-border:#2a3340;--sc-hover:#1d2530;--sc-current:#1f2b3a;--sc-accent:#4d94d8;--sc-card-border:var(--sc-border);color-scheme:dark}}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;height:100%;overflow:hidden}
body.sc-app{height:100vh;height:100dvh;display:grid;grid-template-rows:var(--sc-top) minmax(0,1fr) auto;background:var(--sc-bg);color:var(--sc-text);font-family:var(--sc-font);font-size:15px;line-height:1.6}
a{color:inherit}
:focus-visible{outline:2px solid var(--sc-accent);outline-offset:2px}
 /* --sc-vh: the visible height (visualViewport), set by the page script; on iOS the keyboard does not shrink 100dvh */
body.sc-app.sc-vv{height:var(--sc-vh)}
.sc-skip{position:absolute;inset-inline-start:8px;top:-64px;z-index:100;background:var(--sc-accent);color:#fff;padding:8px 14px;border-radius:8px;text-decoration:none}
.sc-skip:focus{top:8px}
.sc-ico{width:20px;height:20px;flex:none}

/* top bar */
.sc-top{display:flex;align-items:center;gap:12px;padding:0 max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));background:var(--sc-surface);border-bottom:1px solid var(--sc-border);z-index:30;min-width:0}
.sc-logo{display:flex;align-items:center;text-decoration:none;flex:none}
.sc-logo img{height:44px;width:auto;display:block}
.sc-logo-txt{font-weight:800;font-size:20px;direction:ltr}
.sc-links{display:flex;gap:2px;margin-inline-start:12px;flex:1;min-width:0;overflow:hidden}
.sc-links a,.sc-side-links a{padding:8px 12px;border-radius:8px;text-decoration:none;color:var(--sc-muted);white-space:nowrap}
.sc-links a:hover,.sc-side-links a:hover{background:var(--sc-hover);color:var(--sc-text)}
.sc-auth{display:flex;align-items:center;gap:8px;min-width:0}
.sc-top .sc-auth{margin-inline-start:auto;flex:none}
.sc-user{font-weight:700;max-width:16ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.sc-me-av{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--sc-accent);color:#fff;font-weight:700;font-size:14px;line-height:1;flex:none}
a.sc-logout{flex:none;padding:4px 8px;border-radius:6px;color:var(--sc-muted);font-size:13px;text-decoration:none}
a.sc-logout:hover{background:var(--sc-hover);color:var(--sc-text)}
/* while /me is pending: a neutral placeholder over the slot, never a «تسجيل الدخول» that flashes away. sc-js is set in <head>
   (and again by the page script). Fail-safe: if the page script never runs, the placeholder goes and the link shows after 6 s. */
.sc-js [data-pending]{position:relative;min-height:32px}
.sc-js .sc-side-foot [data-pending]{min-height:36px}
.sc-js [data-pending]>*{visibility:hidden;animation:sc-unpend 0s 6s forwards}
.sc-js [data-pending]::before{content:"";position:absolute;inset:0;min-width:112px;border-radius:16px;background:var(--sc-hover);animation:sc-pulse 1.4s ease-in-out infinite,sc-gone 0s 6s forwards}
.sc-js .sc-side-foot [data-pending]::before{border-radius:10px}
@keyframes sc-unpend{to{visibility:visible}}
@keyframes sc-gone{to{visibility:hidden;opacity:0}}
@keyframes sc-pulse{50%{opacity:.55}}
.sc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 16px;border-radius:10px;border:1px solid var(--sc-border);background:var(--sc-surface);color:var(--sc-text);font:inherit;font-weight:700;text-decoration:none;cursor:pointer;white-space:nowrap}
.sc-btn:hover{background:var(--sc-hover)}
.sc-btn-primary{background:var(--sc-accent);border-color:var(--sc-accent);color:#fff}
.sc-btn-primary:hover{background:var(--sc-accent);filter:brightness(1.1)}
.sc-iconbtn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:10px;background:transparent;color:var(--sc-muted);cursor:pointer;flex:none}
.sc-iconbtn:hover{background:var(--sc-hover);color:var(--sc-text)}
.sc-menu,.sc-close{display:none}

/* body: sidebar (right in RTL) + main */
.sc-body{display:flex;min-height:0;min-width:0;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
.sc-side{width:var(--sc-side);flex:none;display:flex;flex-direction:column;min-height:0;background:var(--sc-surface);border-inline-end:1px solid var(--sc-border);font-size:14px;line-height:20px}
.sc-side .sc-ico{width:18px;height:18px}
.sc-side-top{display:flex;align-items:center;gap:4px;height:56px;flex:none;padding:0 10px 0 8px}
.sc-side-brand{display:inline-flex;align-items:center;gap:8px;margin-inline-end:auto;padding:4px 6px;border-radius:8px;text-decoration:none;font-weight:800;font-size:16px;direction:ltr}
.sc-side-brand:hover{background:var(--sc-hover)}
.sc-side-brand img{width:28px;height:28px;border-radius:6px;object-fit:contain;display:block}
.sc-side-top .sc-iconbtn{width:36px;height:36px;border-radius:8px}
.sc-side-actions{display:flex;flex-direction:column;gap:2px;flex:none;padding:0 10px 8px}
.sc-side-actions .sc-new{width:100%;min-height:40px;margin-bottom:6px}
.sc-side-link{display:flex;align-items:center;gap:10px;min-height:36px;padding:8px 10px;border-radius:8px;text-decoration:none;color:var(--sc-text);font-weight:700}
.sc-side-link:hover{background:var(--sc-hover)}
.sc-side-link.is-current{background:var(--sc-current)}
.sc-side-link .sc-ico,.sc-cat-btn>.sc-ico{color:var(--sc-muted)}
.sc-side-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 10px 14px;border-top:1px solid var(--sc-border)}
.sc-side-label{margin:14px 10px 4px;font-size:12px;font-weight:700;color:var(--sc-muted);letter-spacing:.02em}
.sc-cat{margin-top:1px}
.sc-cat-h{margin:0;font-size:inherit}
.sc-cat-btn{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:var(--sc-text);font:inherit;font-weight:700;cursor:pointer;text-align:start}
.sc-cat-btn:hover{background:var(--sc-hover)}
.sc-cat-btn>span:first-of-type{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-count{flex:none;min-width:22px;padding:0 6px;border-radius:999px;background:var(--sc-hover);color:var(--sc-muted);font-size:12px;font-weight:700;line-height:20px;text-align:center}
.sc-chev{display:flex;color:var(--sc-muted);transition:transform .15s}
.sc-chev .sc-ico{width:16px;height:16px}
.sc-cat-btn[aria-expanded="false"] .sc-chev{transform:rotate(90deg)}
.sc-cat-list{list-style:none;margin:2px 0 8px;padding:0}
.sc-bot{position:relative;display:flex;align-items:center;gap:10px;min-height:36px;padding:6px 10px;margin-inline-start:14px;border-radius:8px;text-decoration:none;color:var(--sc-text)}
.sc-bot:hover{background:var(--sc-hover)}
.sc-bot.is-current{background:var(--sc-current);font-weight:700}
.sc-bot.is-current::before{content:"";position:absolute;inset-inline-start:0;top:7px;bottom:7px;width:3px;border-radius:3px;background:var(--sc-accent)}
.sc-bot>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-av{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:none;background:#fff;border:1px solid var(--sc-border)}
.sc-side .sc-av{width:24px;height:24px;border-radius:6px}
.sc-av-txt{display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:var(--sc-accent)}
.sc-side .sc-av-txt{font-size:12px}
.sc-recent-item{align-items:flex-start}
.sc-recent-txt{display:flex;flex-direction:column;min-width:0;line-height:1.4}
.sc-recent-title,.sc-recent-bot{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-recent-bot{font-size:12px;color:var(--sc-muted);font-weight:400}
.sc-recent-note{padding:6px 10px 10px;margin-inline-start:14px;color:var(--sc-muted);font-size:13px;line-height:1.6}
.sc-recent-note a{color:var(--sc-accent);font-weight:700}
.sc-recent [aria-busy="true"]{min-height:40px}
.sc-usage{display:flex;flex-direction:column;gap:6px}
.sc-usage[hidden]{display:none}
.sc-usage-text{margin:0;font-size:12.5px;color:var(--sc-muted);line-height:1.5}
.sc-usage-bar{width:100%;height:6px;border:0;border-radius:3px;background:var(--sc-hover);overflow:hidden;appearance:none;-webkit-appearance:none}
.sc-usage-bar::-webkit-progress-bar{background:var(--sc-hover)}
.sc-usage-bar::-webkit-progress-value{background:var(--sc-accent)}
.sc-usage-bar::-moz-progress-bar{background:var(--sc-accent)}
.sc-usage-bar.is-full::-webkit-progress-value{background:#c0392b}
.sc-usage-bar.is-full::-moz-progress-bar{background:#c0392b}
.sc-side-foot{border-top:1px solid var(--sc-border);padding:10px 12px;padding-bottom:max(10px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:10px;flex:none}
.sc-side-links{display:none;flex-wrap:wrap;gap:2px;font-size:13px}
.sc-side-links a{padding:6px 10px}
.sc-side-foot .sc-auth{min-height:36px}
.sc-side-foot .sc-auth .sc-btn{flex:1}
.sc-side-foot .sc-user{flex:1;max-width:none}

/* main */
.sc-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;outline:none}
.sc-chat{flex:1;min-height:0;position:relative}
#sc-chat>[data-sparkchat-bot]{position:absolute;inset:0}
.sc-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}

/* footer row: the site links, always at the bottom (tablet and desktop; phones have them in the drawer) */
.sc-foot{flex:none;height:36px;display:flex;align-items:center;justify-content:center;border-top:1px solid var(--sc-border);background:var(--sc-bg);font-size:13px}
.sc-foot nav{display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden;max-width:100%;padding:0 12px}
.sc-foot a{color:var(--sc-muted);text-decoration:none;white-space:nowrap;padding:4px 6px;border-radius:6px}
.sc-foot a:hover{color:var(--sc-text);background:var(--sc-hover)}
.sc-foot a+a::before{content:"·";color:var(--sc-border);margin-inline-end:12px;margin-inline-start:6px}

/* icon rail: the collapsed sidebar on desktop (logo, new chat, categories, account) */
.sc-rail{display:none;flex:none;width:60px;flex-direction:column;align-items:center;gap:6px;padding:10px 0;padding-bottom:max(10px,env(safe-area-inset-bottom));background:var(--sc-surface);border-inline-end:1px solid var(--sc-border)}
.sc-rail-logo{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-bottom:6px;border:0;border-radius:12px;background:transparent;cursor:pointer;padding:0}
.sc-rail-logo:hover{background:var(--sc-hover)}
.sc-rail-logo img{width:32px;height:32px;border-radius:8px;object-fit:contain}
.sc-rail-gap{flex:1}
.sc-rail .sc-rail-all{text-decoration:none}
.sc-rail .sc-rail-all.is-current{background:var(--sc-current);color:var(--sc-accent)}
.sc-home{width:100%;max-width:1000px;margin:0 auto;padding:36px 24px 56px}
.sc-hero{margin:0 0 8px}
.sc-hero h1,.sc-home>h1{font-size:28px;line-height:1.4;font-weight:800;margin:0 0 10px}
.sc-lead{color:var(--sc-muted);margin:0 0 20px;max-width:70ch;font-size:16px;line-height:1.8}
.sc-home-cat h2{display:flex;align-items:center;gap:8px;font-size:18px;margin:32px 0 14px}
.sc-home-cat h2 .sc-ico{color:var(--sc-accent)}
.sc-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
/* the site's home boxes, copied value for value (SPEC §B) */
.sc-card{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;row-gap:2px;align-items:center;height:100%;padding:16px;background:#fff;border:1px solid #d3d3d3;border-radius:15px;box-shadow:0 0 35px rgba(0,0,0,.08);text-decoration:none;transition:transform .3s ease-in-out, box-shadow .3s ease-in-out, border-color .3s ease-in-out}
.sc-card:hover,.sc-card:focus-visible{transform:translateY(-5px);box-shadow:0 4px 12px rgba(0,0,0,.15);border-color:#FFCC00}
.sc-card .sc-av{grid-row:1 / span 2;width:48px;height:48px;border-radius:10px}
.sc-card .sc-av-txt{font-size:18px}
.sc-card-t{font-weight:800;line-height:1.5}
.sc-card-d{color:var(--sc-muted);font-size:13.5px;line-height:1.6}
/* the page background: one layer behind the whole scrolled content, never in the way of a click */
.sc-scroll.sc-has-bg{position:relative;display:grid;grid-template-columns:minmax(0,1fr);overflow-x:hidden;container-type:inline-size} /* one auto row: content height, at least the box (stretch) */
/* grid stacking, not position:absolute: an absolute layer in a scroll box is only one screen tall */
.sc-scroll.sc-has-bg::before{content:"";grid-area:1 / 1;align-self:stretch;background:var(--sc-bg-img) center top / 100% auto no-repeat;opacity:var(--sc-bg-op);pointer-events:none;z-index:0;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 28cqw,transparent 50cqw);mask-image:linear-gradient(to bottom,#000 0,#000 28cqw,transparent 50cqw)} /* the image (100% wide, any landscape ratio) fades out before its own bottom edge */
.sc-scroll.sc-has-bg>.sc-home{grid-area:1 / 1;position:relative;z-index:1}
/* the lead never sits on a busy image: the page colour fades in behind the hero, strongest under the lead */
.sc-has-bg .sc-hero{position:relative;isolation:isolate}
.sc-has-bg .sc-hero::before{content:"";position:absolute;z-index:-1;inset:-36px -100vw -28px;background:linear-gradient(to bottom,transparent 0,var(--sc-bg) 42%,var(--sc-bg) 78%,transparent 100%);pointer-events:none}
/* FAQ: native details, the card look without the lift */
.sc-faq{margin-top:44px}
.sc-faq h2{font-size:20px;margin:0 0 14px}
.sc-faq-item{margin:0 0 12px;background:#fff;border:1px solid #d3d3d3;border-radius:15px;box-shadow:0 0 35px rgba(0,0,0,.08)}
.sc-faq-item>summary{display:flex;align-items:center;gap:12px;padding:15px 18px;font-weight:700;line-height:1.6;cursor:pointer;list-style:none;border-radius:15px}
.sc-faq-item>summary::-webkit-details-marker{display:none}
.sc-faq-item>summary::after{content:"";flex:none;width:9px;height:9px;margin-inline-start:auto;border-right:2px solid var(--sc-muted);border-bottom:2px solid var(--sc-muted);transform:translateY(-2px) rotate(45deg);transition:transform .2s ease} /* physical sides: down when closed, up when open, in RTL too */
.sc-faq-item[open]>summary::after{transform:translateY(2px) rotate(225deg)}
.sc-faq-item>summary:hover{color:var(--sc-accent)}
.sc-faq-a{padding:0 18px 16px;color:var(--sc-muted);line-height:1.9}
.sc-faq-a p{margin:0 0 .6em}
.sc-faq-a p:last-child{margin:0}
.sc-faq-a a{color:var(--sc-accent)}
@media (prefers-color-scheme:dark){
  .sc-card,.sc-faq-item{background:var(--sc-surface);border-color:var(--sc-border)}
  .sc-card:hover,.sc-card:focus-visible{border-color:#FFCC00;box-shadow:0 4px 12px rgba(0,0,0,.45)}
  .sc-scroll.sc-has-bg::before{background-image:none} /* no download in dark mode: a dimmed photo is not worth it */
  /* white on the light dark-mode accent is 3.2:1; dark text is 5.9:1 */
  .sc-btn-primary,.sc-btn-primary:hover,.sc-me-av,.sc-skip{color:#08121c}
  /* letter avatars: no white tile on the dark surface (no ring either) */
  .sc-av-txt{background:var(--sc-hover);border-color:var(--sc-border)}
  /* 2.12.0 avatar ring: every bot avatar IMAGE (sidebar rows, cards, recent chats) gets a light 1px ring in dark mode
     (royal-blue icons melt into the dark surface); box-shadow keeps the size and follows each avatar's radius.
     Never on letter avatars (span.sc-av-txt) or the site icon (.sc-side-brand img, .sc-rail-logo img). */
  img.sc-av{box-shadow:0 0 0 1px #8FA8D6}
}
@media (max-width:559.98px){
  .sc-home{padding:24px 16px 40px}
  .sc-hero h1,.sc-home>h1{font-size:23px}
  .sc-lead{font-size:15px}
  .sc-cards{grid-template-columns:minmax(0,1fr);gap:12px}
  .sc-card{padding:14px}
}
.sc-noscript{padding:24px}
/* bottom tab bar (below 1024 px) */
.sc-tabs{display:none;align-items:stretch;justify-content:space-around;height:calc(56px + env(safe-area-inset-bottom));padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:var(--sc-surface);border-top:1px solid var(--sc-border);z-index:30}
.sc-tab{flex:1;max-width:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;padding:4px 2px;border:0;background:transparent;color:var(--sc-muted);font:inherit;font-size:11.5px;font-weight:700;line-height:1.3;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sc-tab>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-tab .sc-ico{width:22px;height:22px}
.sc-tab:hover,.sc-tab[aria-current="page"],.sc-tab[aria-expanded="true"]{color:var(--sc-accent)}
.sc-tab:focus-visible{outline-offset:-3px}
.sc-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:40}
.sc-backdrop[hidden]{display:none}

/* desktop: the sidebar can be hidden (Ctrl+B); the menu button brings it back */
@media (min-width:1024px){
  .sc-side-closed .sc-side{display:none}
  .sc-side-closed .sc-rail{display:flex}
}
/* below 1024 px: the sidebar becomes a drawer from the right; site links move into it */
@media (max-width:1023.98px){
  .sc-menu,.sc-close{display:inline-flex}
  .sc-collapse,.sc-links{display:none}
  .sc-side-links{display:flex}
  .sc-side{position:fixed;top:0;bottom:0;inset-inline-start:0;width:min(300px,86vw);z-index:50;transform:translateX(100%);visibility:hidden;transition:transform .2s ease,visibility .2s;box-shadow:0 0 40px rgba(0,0,0,.18)}
  .sc-drawer-open .sc-side{transform:none;visibility:visible;transition:transform .2s ease,visibility 0s} /* visible at once, so focus can move in */
  .sc-logo img{height:36px}
  .sc-top{gap:8px}
  .sc-top .sc-btn{min-height:36px;padding:0 12px}
  .sc-top .sc-user{display:none}
  .sc-tabs{display:flex}
  .sc-foot{display:none} /* the site links are in the drawer; one bar at the bottom is enough */
  .sc-side{padding-top:env(safe-area-inset-top)}
  .sc-typing .sc-tabs{display:none} /* typing on a phone: the keyboard needs the room */
}

/* short landscape screens (phones turned sideways): compact bars, icon-only tabs, the chat keeps the height */
@media (max-height:500px) and (orientation:landscape) and (max-width:1023.98px){
  :root{--sc-top:44px}
  .sc-logo img{height:28px}
  .sc-iconbtn{width:36px;height:36px}
  .sc-tabs{height:calc(44px + env(safe-area-inset-bottom))}
  .sc-tab>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}.sc-card:hover,.sc-card:focus-visible{transform:none}
  /* no pulse, but the 6 s fail-safe of the pending placeholder is not motion: it must still run */
  .sc-js [data-pending]>*{animation:sc-unpend 0s 6s forwards!important}
  .sc-js [data-pending]::before{animation:sc-gone 0s 6s forwards!important}
}
.sc-vh{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
