/* v327 Home "Quick start".
   Phones (<700px): landscape rectangles (16:9), nearly the full row width, scroll-snap centred with even side padding so a swipe never leaves a half-cut box, dots underneath. Icon and label sit dead centre.
   Tablet / laptop / desktop: all five square cards in one flush row that spans the full content width evenly (short landscape stays a little flatter).
   Layout + style of the Quick start row only (links and behaviour unchanged). quick326.js adds .q326 + the dots. */
html body #view-home .h286-row.q326{position:relative;margin:0!important;padding:0!important}
html body #view-home .h286-row.q326 .h286-nav{display:none!important}
html body #view-home .h286-row.q326 .hd-quick.h286-track{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-flow:column!important;gap:12px!important;
  overflow:visible!important;padding:4px 0 6px!important;margin:0!important;width:auto!important;max-width:none!important;box-sizing:border-box!important;
  scroll-snap-type:none!important;cursor:auto!important}
html body #view-home .h286-row.q326 .hd-quick.h286-track>.hd-q{
  position:relative;flex:none!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;
  aspect-ratio:1/1!important;margin:0!important;box-sizing:border-box!important;overflow:hidden;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:clamp(10px,4%,18px)!important;
  padding:12px!important;text-align:center!important;text-decoration:none;color:var(--text,#111);
  border-radius:24px!important;border:1px solid rgba(var(--accent-rgb,74,222,128),.32)!important;
  background:radial-gradient(120% 90% at 50% 0%,rgba(var(--accent-rgb,74,222,128),.16),rgba(var(--accent-rgb,74,222,128),0) 62%),var(--surface,#fff)!important;
  box-shadow:0 1px 2px rgba(16,24,40,.05),0 10px 26px -14px rgba(16,24,40,.28)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
html body #view-home .h286-row.q326 .hd-quick.h286-track>.hd-q::after{content:"";position:absolute;left:calc(50% - 16px);width:32px;bottom:9%;height:4px;border-radius:4px;background:var(--accent,#4ade80);opacity:.0;transition:opacity .18s ease}
html body #view-home .h286-row.q326 .hd-quick .hd-q .hd-ic{
  width:clamp(56px,42%,112px)!important;height:auto!important;aspect-ratio:1/1!important;flex:0 0 auto!important;margin:0!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;background:rgba(var(--accent-rgb,74,222,128),.16)!important;color:var(--accent-deep,#169c4b)!important;
  border:1px solid rgba(var(--accent-rgb,74,222,128),.38)!important;box-shadow:inset 0 0 0 6px rgba(255,255,255,.55)}
html body #view-home .h286-row.q326 .hd-quick .hd-q .hd-ic svg{width:46%!important;height:46%!important;stroke-width:2}
html body #view-home .h286-row.q326 .hd-quick .hd-q .hd-q-l{
  font-size:clamp(14px,1.45vw,21px)!important;font-weight:900!important;font-style:italic;text-transform:uppercase;letter-spacing:.01em;line-height:1.1;
  margin:0!important;text-align:center!important;max-width:100%!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #view-home .h286-row.q326 .hd-quick .hd-q .hd-q-short{display:none!important}
html body #view-home .h286-row.q326 .hd-quick .hd-q .hd-q-long{display:block!important}
@media (hover:hover) and (pointer:fine){
  html body #view-home .h286-row.q326 .hd-quick.h286-track>.hd-q:hover{transform:translateY(-3px);border-color:rgba(var(--accent-rgb,74,222,128),.7)!important;box-shadow:0 2px 4px rgba(16,24,40,.06),0 18px 34px -16px rgba(16,24,40,.35)!important}
  html body #view-home .h286-row.q326 .hd-quick.h286-track>.hd-q:hover::after{opacity:1}}
html body #view-home .h286-row.q326 .hd-quick.h286-track>.hd-q:focus-visible{outline:3px solid var(--accent,#4ade80);outline-offset:2px}
/* desktop / laptop: stay square so the five-up row is a tidy set of equal squares */
/* short landscape screens (phones on their side): keep all five in one row, a little flatter */
@media (min-width:700px) and (max-height:480px){
  html body #view-home .h286-row.q326 .hd-quick.h286-track>.hd-q{aspect-ratio:5/4!important;gap:8px!important}
  html body #view-home .h286-row.q326 .hd-quick .hd-q .hd-ic{width:clamp(48px,36%,84px)!important}}
html body #view-home .h286-head.q326h .h286-hint{display:none}
.q326-dots{display:none}

/* phones: landscape 16:9 rectangles, nearly the full row width, snapped in the middle with even side padding
   so a swipe lands on the next complete card (no half-cut neighbours). Shorter than the old squares. */
@media (max-width:699.98px){
  html body #view-home .h286-row.q326{
    container-type:inline-size;
    --q326s:calc((100vw - 20px) * .92);
    --q326h:calc(var(--q326s) * 9 / 16);
    --q326pad:calc((100% - var(--q326s)) / 2);
    --q326gap:calc(var(--q326pad) + 8px)}
  @supports (width:1cqw){
    html body #view-home .h286-row.q326{--q326s:92cqw;--q326h:calc(92cqw * 9 / 16);--q326pad:4cqw;--q326gap:calc(4cqw + 8px)}}
  html body #view-home .h286-row.q326 .hd-quick.h286-track{
    display:flex!important;flex-wrap:nowrap!important;gap:var(--q326gap)!important;overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x proximity!important;scroll-behavior:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y!important;
    scrollbar-width:none;padding:4px var(--q326pad) 8px!important;scroll-padding-inline:var(--q326pad)}
  html body #view-home .h286-row.q326 .hd-quick.h286-track::-webkit-scrollbar{display:none}
  /* explicit width+height (WebKit ignores aspect-ratio on flex items in a scroller); every card is the same 16:9 rectangle */
  html body #view-home .h286-row.q326 .hd-quick.h286-track>.hd-q{flex:0 0 var(--q326s)!important;width:var(--q326s)!important;height:var(--q326h)!important;min-width:var(--q326s)!important;min-height:var(--q326h)!important;max-width:var(--q326s)!important;max-height:var(--q326h)!important;aspect-ratio:auto!important;scroll-snap-align:center;scroll-snap-stop:normal!important;
    opacity:1;transform:none;transition:border-color .25s ease,box-shadow .25s ease;padding:10px 14px!important;gap:8px!important}
  html body #view-home .h286-row.q326 .hd-quick.h286-track>.hd-q.q326-on{border-color:rgba(var(--accent-rgb,74,222,128),.75)!important}
  html body #view-home .h286-row.q326 .hd-quick.h286-track>.hd-q.q326-on::after{opacity:1;bottom:8px}
  html body #view-home .h286-row.q326 .hd-quick .hd-q .hd-ic{width:auto!important;height:42%!important;max-height:72px!important;max-width:72px!important}
  html body #view-home .h286-row.q326 .hd-quick .hd-q .hd-q-l{font-size:clamp(16px,4.8vw,22px)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%!important}
  html body #view-home .h286-head.q326h .h286-hint{display:inline}
  .q326-dots{display:flex;justify-content:center;align-items:center;gap:6px;margin:6px 0 2px;padding:0}
  .q326-dots button{appearance:none;-webkit-appearance:none;border:0;padding:0;margin:0;width:8px;height:8px;border-radius:8px;background:rgba(var(--accent-rgb,74,222,128),.3);cursor:pointer;transition:width .25s ease,background .25s ease;position:relative}
  .q326-dots button::before{content:"";position:absolute;inset:-10px -4px}
  .q326-dots button[aria-current="true"]{width:24px;background:var(--accent,#4ade80)}
}
@media (prefers-reduced-motion:reduce){
  html body #view-home .h286-row.q326 .hd-quick.h286-track{scroll-behavior:auto}
  html body #view-home .h286-row.q326 .hd-quick.h286-track>.hd-q,.q326-dots button{transition:none!important}}
