/* Help pages on support.interfulgent.com. Tokens and font from W1's design system (public/site/site.css); nothing from elsewhere.
   --accent, --on-accent and the sweep stops --sw1..3 come from /<app>/theme.css; on the front page each tile gets its own
   stops from /apps.css (.tile-<id>). The CSP forbids inline styles, so no colour is set in the markup. */
@font-face{font-family:"Recursive";src:url("/site/fonts/recursive-latin-full-normal.woff2") format("woff2");font-weight:400 760;font-style:normal;font-display:swap}
:root{--g:#121110;--g2:#24221F;--ln:rgba(242,237,228,.12);--ln2:rgba(242,237,228,.26);--tx:#F3EEE6;--tx2:#C4BCAF;--tx3:#9A9285;
  --m2:#E8962A;--m3:#F7C35A;--accent:#e8962a;--on-accent:#121110;--sw1:#e8962a;--sw2:#e8962a;--sw3:#e8962a}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--g);color:var(--tx);font:17px/1.6 Recursive,system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
main.support{max-width:44rem;margin:0 auto;padding:1.5rem 16px 3rem}
h1{font-size:1.9rem;line-height:1.2;margin:.5rem 0 1rem}
h2{font-size:1.25rem;margin:2rem 0 .75rem}
p,ul,ol{margin:0 0 1rem}
p,li{text-wrap:pretty}
ul,ol{padding-left:1.4rem}
a{color:var(--accent)}
:focus-visible{outline:2px solid var(--m3);outline-offset:3px;border-radius:4px}
.top{display:flex;align-items:center;gap:12px;margin:0 0 .5rem;color:var(--tx2);text-decoration:none}
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.top img{flex:none;width:28px;height:28px}
.top b{font-size:.95rem;font-weight:600}
.lead{color:var(--tx2);max-width:40rem;text-wrap:pretty}
h1{text-wrap:balance}
/* Front page: a shelf of app icons */
.shelf{list-style:none;padding:0;margin:1.5rem 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(136px,1fr));gap:14px}
.tile{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;height:100%;padding:18px 10px 19px;border-radius:16px;
  background:var(--g2);border:1px solid var(--ln);text-decoration:none;color:var(--tx);position:relative;overflow:hidden}
.tile::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--sw1),var(--sw2) 50%,var(--sw3))}
.tile img{width:88px;height:88px;border-radius:20px}
.tile b{font-size:1.05rem;line-height:1.25}
.tile span{font-size:.9rem;color:var(--tx2);line-height:1.35;text-wrap:balance}
.tile:hover{border-color:var(--ln2)}
/* An app's page: icon, name drawn in its sweep, a sweep line under the header */
.app-head{display:flex;gap:20px;align-items:center;position:relative;padding:0 0 18px;margin:0 0 1.25rem}
.app-head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:2px;background:linear-gradient(90deg,var(--sw1),var(--sw2) 50%,var(--sw3))}
.app-head img{flex:none;width:112px;height:112px;border-radius:24px}
.app-head h1{margin:0;font-size:2.5rem;font-weight:760;line-height:1.15}
.app-sub{margin:.25rem 0 0;color:var(--tx2);font-size:.95rem}
/* The name is large bold text: every sweep stop reaches 3:1 on #121110 (checked by hub content-check). The accent is the fallback. */
.sweep-text{color:var(--accent);width:fit-content;max-width:100%}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .sweep-text{background:linear-gradient(90deg,var(--sw1),var(--sw2) 50%,var(--sw3));-webkit-background-clip:text;background-clip:text;
    color:transparent;-webkit-text-fill-color:transparent}
}
@media (forced-colors:active){.sweep-text{background:none;color:CanvasText;-webkit-text-fill-color:currentColor}}
@media (max-width:599px){.app-head{gap:16px}.app-head img{width:80px;height:80px;border-radius:18px}.app-head h1{font-size:1.9rem}}
.routes{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.routes li{margin:0}
.route{display:inline-flex;align-items:center;padding:12px 16px;border-radius:12px;border:1px solid var(--ln2);color:var(--tx);text-decoration:none;font-weight:600;text-wrap:balance}
.route:hover{border-color:var(--tx3)}
.route.main{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
details{border-top:1px solid var(--ln);padding:.75rem 0}
details p:last-child{margin-bottom:0}
summary{cursor:pointer;font-weight:600;list-style:none;display:flex;gap:.6rem}
summary span{text-wrap:balance}
summary::-webkit-details-marker{display:none}
summary::before{content:"›";flex:none;color:var(--accent);font-weight:760;display:inline-block;transition:transform .15s}
details[open] summary::before{transform:rotate(90deg)}
@media (prefers-reduced-motion:reduce){summary::before{transition:none}}
.small,.crumb{font-size:.95rem;color:var(--tx2)}
form.support-form label{display:block;font-weight:600;margin:1rem 0 .25rem}
form.support-form input,form.support-form select,form.support-form textarea{width:100%;font:inherit;color:var(--tx);background:var(--g2);
  border:1px solid var(--ln2);border-radius:8px;padding:.6rem}
form.support-form textarea{min-height:10rem}
form.support-form button{margin-top:1.25rem;font:inherit;font-weight:600;background:var(--accent);color:var(--on-accent);border:0;border-radius:8px;
  padding:.7rem 1.4rem;cursor:pointer}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.confirm{background:rgba(247,195,90,.16);color:var(--m3);padding:0 .25em;border-radius:4px}
.notice{background:var(--g2);border-left:4px solid var(--accent);padding:.75rem 1rem}
.support-foot{text-align:center;padding:2rem 16px;font-size:.9rem;color:var(--tx3)}
.support-foot a{color:var(--tx3)}
