/*
  SUT SSO theme — Neumorphism (soft UI) for Apereo CAS 8.0.3
  Served at /cas/css/custom.css and loaded after the stock cas.css.

  - Colours: SUT Orange #F26522, SUT Gold #A67436, SUT Gray #6D6E70, SUT Black #000000 and white
  - Font: Noto Sans + Noto Sans Thai
  - Light mode is the default; dark mode is html[data-theme="dark"], set by the switch in footer.html (localStorage)
  - Background: animated polygon mesh (SVG + SMIL, embedded below), still under reduced motion
  - Icons: Lucide-style line icons drawn as CSS masks, so they take the theme colour
*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap");

/* ================================================================
   1. Tokens
   ================================================================ */
:root {
    color-scheme: light;

    /* brand */
    --sut-orange: #F26522;
    --sut-gold: #A67436;
    --sut-gray: #6D6E70;
    --sut-black: #000000;

    /* light surface */
    --n-bg: #e9ebee;
    --n-bg-hi: #f1f3f5;
    --n-bg-lo: #dfe2e6;
    --n-shade: #c3c7cd;
    --n-light: #ffffff;
    --n-text: #1c1c1e;
    --n-muted: #55575a;
    --n-link: #b04510;
    --n-link-hover: #7f300a;
    --n-gold-text: #8a5a22;
    --n-ring: rgba(242, 101, 34, 0.38);
    --n-danger: #b02a1e;
    --n-danger-bg: rgba(176, 42, 30, 0.07);

    /* button: deep SUT orange so white text passes AA */
    --n-btn-from: #e2601f;
    --n-btn-to: #bb470f;
    --n-btn-glow: rgba(226, 96, 31, 0.35);

    /* soft shadows */
    --n-raise: 14px 14px 32px var(--n-shade), -14px -14px 32px var(--n-light);
    --n-raise-md: 7px 7px 16px var(--n-shade), -7px -7px 16px var(--n-light);
    --n-raise-sm: 4px 4px 9px var(--n-shade), -4px -4px 9px var(--n-light);
    --n-inset: inset 5px 5px 11px var(--n-shade), inset -5px -5px 11px var(--n-light);
    --n-inset-sm: inset 3px 3px 6px var(--n-shade), inset -3px -3px 6px var(--n-light);

    --n-radius-card: 32px;
    --n-radius: 16px;
    --n-ease: cubic-bezier(0.22, 1, 0.36, 1);

    --sut-font: "Noto Sans", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;

    --mesh-opacity: 0.95;

    /* icons (24px line icons, used as masks) */
    --i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
    --i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2.5'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3C/svg%3E");
    --i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
    --i-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E");
    --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
    --i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
    --i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E");
    --i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E");
    --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    --i-logout: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E");
    --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
    --i-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
    --i-sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E");
    --i-moon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 14.5A8.5 8.5 0 1 1 9.5 3.5a6.5 6.5 0 0 0 11 11z'/%3E%3C/svg%3E");
    --i-eye-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.6 5.1A10 10 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-3 3.9M6.6 6.6A17 17 0 0 0 2 12s3.6 7 10 7a10 10 0 0 0 5.4-1.6M9.9 9.9a3 3 0 0 0 4.2 4.2M3 3l18 18'/%3E%3C/svg%3E");

    /* polygon mesh background (generated; animated + still) */
    --sut-mesh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500' preserveAspectRatio='xMidYMid slice'%3E%3Cpath fill='%23F26522' fill-opacity='0.08' d='M750,-150L900,-150L721,17ZM900,-150L1050,-150L1050,0ZM286,-3L310,93L195,166ZM32,159L95,242L-5,276ZM310,93L247,283L95,242ZM609,144L735,331L590,332ZM590,332L798,508L574,467ZM938,272L881,501L798,508ZM176,444L287,448L184,621ZM574,467L798,508L708,566ZM-57,566L0,750L-150,750ZM405,577L450,750L300,750ZM911,583L1050,600L900,750Z'%3E%3Canimate attributeName='d' dur='32s' repeatCount='indefinite' values='M750,-150L900,-150L721,17ZM900,-150L1050,-150L1050,0ZM286,-3L310,93L195,166ZM32,159L95,242L-5,276ZM310,93L247,283L95,242ZM609,144L735,331L590,332ZM590,332L798,508L574,467ZM938,272L881,501L798,508ZM176,444L287,448L184,621ZM574,467L798,508L708,566ZM-57,566L0,750L-150,750ZM405,577L450,750L300,750ZM911,583L1050,600L900,750Z;M750,-150L900,-150L723,31ZM900,-150L1050,-150L1050,0ZM273,6L298,109L192,175ZM25,145L94,256L10,277ZM298,109L250,304L94,256ZM617,138L752,336L582,351ZM582,351L781,508L579,489ZM948,291L873,493L781,508ZM189,434L291,461L184,633ZM579,489L781,508L718,577ZM-57,553L0,750L-150,750ZM412,571L450,750L300,750ZM922,580L1050,600L900,750Z;M750,-150L900,-150L738,33ZM900,-150L1050,-150L1050,0ZM261,-3L309,125L199,180ZM11,148L106,262L15,263ZM309,125L271,307L106,262ZM625,144L763,321L562,349ZM562,349L776,492L601,490ZM932,306L879,483L776,492ZM184,419L304,462L173,636ZM601,490L776,492L731,570ZM-46,549L0,750L-150,750ZM409,563L450,750L300,750ZM923,569L1050,600L900,750Z;M750,-150L900,-150L744,20ZM900,-150L1050,-150L1050,0ZM265,-17L328,119L206,175ZM8,162L115,252L3,254ZM328,119L281,288L115,252ZM622,154L752,306L557,329ZM557,329L789,483L609,469ZM913,296L890,486L789,483ZM168,419L309,450L166,626ZM609,469L789,483L729,556ZM-38,559L0,750L-150,750ZM400,563L450,750L300,750ZM913,565L1050,600L900,750Z;M750,-150L900,-150L734,10ZM900,-150L1050,-150L1050,0ZM281,-18L328,100L204,166ZM21,169L109,240L-9,262ZM328,100L266,273L109,240ZM612,154L734,312L575,319ZM575,319L803,492L592,455ZM917,274L891,497L803,492ZM163,434L299,441L173,617ZM592,455L803,492L714,553ZM-45,569L0,750L-150,750ZM397,572L450,750L300,750ZM906,573L1050,600L900,750Z;M750,-150L900,-150L721,17ZM900,-150L1050,-150L1050,0ZM286,-3L310,93L195,166ZM32,159L95,242L-5,276ZM310,93L247,283L95,242ZM609,144L735,331L590,332ZM590,332L798,508L574,467ZM938,272L881,501L798,508ZM176,444L287,448L184,621ZM574,467L798,508L708,566ZM-57,566L0,750L-150,750ZM405,577L450,750L300,750ZM911,583L1050,600L900,750Z'/%3E%3C/path%3E%3Cpath fill='%23A67436' fill-opacity='0.07' d='M300,-150L286,-3L161,18ZM900,-150L940,0L721,17ZM161,18L286,-3L195,166ZM310,93L447,289L247,283ZM463,197L590,332L447,289ZM930,213L1050,150L938,272ZM1050,150L1050,300L938,272ZM938,272L1050,450L881,501ZM176,444L184,621L-57,566ZM287,448L405,577L275,613ZM275,613L405,577L300,750Z'%3E%3Canimate attributeName='d' dur='32s' repeatCount='indefinite' values='M300,-150L286,-3L161,18ZM900,-150L940,0L721,17ZM161,18L286,-3L195,166ZM310,93L447,289L247,283ZM463,197L590,332L447,289ZM930,213L1050,150L938,272ZM1050,150L1050,300L938,272ZM938,272L1050,450L881,501ZM176,444L184,621L-57,566ZM287,448L405,577L275,613ZM275,613L405,577L300,750Z;M300,-150L273,6L155,25ZM900,-150L932,7L723,31ZM155,25L273,6L192,175ZM298,109L453,275L250,304ZM482,201L582,351L453,275ZM947,206L1050,150L948,291ZM1050,150L1050,300L948,291ZM948,291L1050,450L873,493ZM189,434L184,633L-57,553ZM291,461L412,571L287,622ZM287,622L412,571L300,750Z;M300,-150L261,-3L146,21ZM900,-150L937,17L738,33ZM146,21L261,-3L199,180ZM309,125L442,265L271,307ZM492,185L562,349L442,265ZM946,187L1050,150L932,306ZM1050,150L1050,300L932,306ZM932,306L1050,450L879,483ZM184,419L173,636L-46,549ZM304,462L409,563L300,614ZM300,614L409,563L300,750Z;M300,-150L265,-17L147,12ZM900,-150L948,15L744,20ZM147,12L265,-17L206,175ZM328,119L429,273L281,288ZM479,170L557,329L429,273ZM928,183L1050,150L913,296ZM1050,150L1050,300L913,296ZM913,296L1050,450L890,486ZM168,419L166,626L-38,559ZM309,450L400,563L295,599ZM295,599L400,563L300,750Z;M300,-150L281,-18L156,10ZM900,-150L949,4L734,10ZM156,10L281,-18L204,166ZM328,100L432,287L266,273ZM462,177L575,319L432,287ZM918,199L1050,150L917,274ZM1050,150L1050,300L917,274ZM917,274L1050,450L891,497ZM163,434L173,617L-45,569ZM299,441L397,572L280,599ZM280,599L397,572L300,750Z;M300,-150L286,-3L161,18ZM900,-150L940,0L721,17ZM161,18L286,-3L195,166ZM310,93L447,289L247,283ZM463,197L590,332L447,289ZM930,213L1050,150L938,272ZM1050,150L1050,300L938,272ZM938,272L1050,450L881,501ZM176,444L184,621L-57,566ZM287,448L405,577L275,613ZM275,613L405,577L300,750Z'/%3E%3C/path%3E%3Cg fill='none' stroke-width='.6' stroke-linecap='round'%3E%3Cpath stroke='%23F26522' stroke-opacity='0.34' d='M0,-150L41,-8M41,-8L-150,-150M41,-8L-150,0M150,-150L161,18M161,18L41,-8M300,-150L286,-3M286,-3L161,18M450,-150L286,-3M600,-150L416,35M600,-150L603,3M603,3L416,35M750,-150L721,17M721,17L600,-150M721,17L603,3M900,-150L721,17M900,-150L940,0M940,0L721,17M41,-8L-150,150M41,-8L32,159M161,18L32,159M161,18L195,166M195,166L32,159M310,93L195,166M416,35L310,93M603,3L463,197M609,144L463,197M721,17L724,142M724,142L609,144M940,0L724,142M940,0L930,213M930,213L724,142M1050,150L930,213M32,159L-5,276M-5,276L-150,300M95,242L32,159M310,93L247,283M247,283L95,242M463,197L447,289M447,289L310,93M447,289L247,283M590,332L463,197M590,332L447,289M724,142L735,331M735,331L609,144M735,331L590,332M1050,300L938,272M-5,276L-7,396M-7,396L-150,450M95,242L176,444M247,283L287,448M287,448L95,242M287,448L176,444M590,332L574,467M938,272L881,501M881,501L798,508M1050,450L881,501M-7,396L-150,600M-7,396L-57,566M176,444L-57,566M176,444L184,621M275,613L184,621M405,577L275,613M708,566L574,467M708,566L561,632M881,501L911,583M911,583L798,508M911,583L708,566M1050,600L881,501M275,613L300,750M300,750L184,621M561,632L450,750M708,566L750,750M750,750L561,632'%3E%3Canimate attributeName='d' dur='32s' repeatCount='indefinite' values='M0,-150L41,-8M41,-8L-150,-150M41,-8L-150,0M150,-150L161,18M161,18L41,-8M300,-150L286,-3M286,-3L161,18M450,-150L286,-3M600,-150L416,35M600,-150L603,3M603,3L416,35M750,-150L721,17M721,17L600,-150M721,17L603,3M900,-150L721,17M900,-150L940,0M940,0L721,17M41,-8L-150,150M41,-8L32,159M161,18L32,159M161,18L195,166M195,166L32,159M310,93L195,166M416,35L310,93M603,3L463,197M609,144L463,197M721,17L724,142M724,142L609,144M940,0L724,142M940,0L930,213M930,213L724,142M1050,150L930,213M32,159L-5,276M-5,276L-150,300M95,242L32,159M310,93L247,283M247,283L95,242M463,197L447,289M447,289L310,93M447,289L247,283M590,332L463,197M590,332L447,289M724,142L735,331M735,331L609,144M735,331L590,332M1050,300L938,272M-5,276L-7,396M-7,396L-150,450M95,242L176,444M247,283L287,448M287,448L95,242M287,448L176,444M590,332L574,467M938,272L881,501M881,501L798,508M1050,450L881,501M-7,396L-150,600M-7,396L-57,566M176,444L-57,566M176,444L184,621M275,613L184,621M405,577L275,613M708,566L574,467M708,566L561,632M881,501L911,583M911,583L798,508M911,583L708,566M1050,600L881,501M275,613L300,750M300,750L184,621M561,632L450,750M708,566L750,750M750,750L561,632;M0,-150L63,-9M63,-9L-150,-150M63,-9L-150,0M150,-150L155,25M155,25L63,-9M300,-150L273,6M273,6L155,25M450,-150L273,6M600,-150L413,51M600,-150L618,-11M618,-11L413,51M750,-150L723,31M723,31L600,-150M723,31L618,-11M900,-150L723,31M900,-150L932,7M932,7L723,31M63,-9L-150,150M63,-9L25,145M155,25L25,145M155,25L192,175M192,175L25,145M298,109L192,175M413,51L298,109M618,-11L482,201M617,138L482,201M723,31L706,129M706,129L617,138M932,7L706,129M932,7L947,206M947,206L706,129M1050,150L947,206M25,145L10,277M10,277L-150,300M94,256L25,145M298,109L250,304M250,304L94,256M482,201L453,275M453,275L298,109M453,275L250,304M582,351L482,201M582,351L453,275M706,129L752,336M752,336L617,138M752,336L582,351M1050,300L948,291M10,277L-23,383M-23,383L-150,450M94,256L189,434M250,304L291,461M291,461L94,256M291,461L189,434M582,351L579,489M948,291L873,493M873,493L781,508M1050,450L873,493M-23,383L-150,600M-23,383L-57,553M189,434L-57,553M189,434L184,633M287,622L184,633M412,571L287,622M718,577L579,489M718,577L568,626M873,493L922,580M922,580L781,508M922,580L718,577M1050,600L873,493M287,622L300,750M300,750L184,633M568,626L450,750M718,577L750,750M750,750L568,626;M0,-150L69,-30M69,-30L-150,-150M69,-30L-150,0M150,-150L146,21M146,21L69,-30M300,-150L261,-3M261,-3L146,21M450,-150L261,-3M600,-150L427,60M600,-150L636,0M636,0L427,60M750,-150L738,33M738,33L600,-150M738,33L636,0M900,-150L738,33M900,-150L937,17M937,17L738,33M69,-30L-150,150M69,-30L11,148M146,21L11,148M146,21L199,180M199,180L11,148M309,125L199,180M427,60L309,125M636,0L492,185M625,144L492,185M738,33L689,142M689,142L625,144M937,17L689,142M937,17L946,187M946,187L689,142M1050,150L946,187M11,148L15,263M15,263L-150,300M106,262L11,148M309,125L271,307M271,307L106,262M492,185L442,265M442,265L309,125M442,265L271,307M562,349L492,185M562,349L442,265M689,142L763,321M763,321L625,144M763,321L562,349M1050,300L932,306M15,263L-40,394M-40,394L-150,450M106,262L184,419M271,307L304,462M304,462L106,262M304,462L184,419M562,349L601,490M932,306L879,483M879,483L776,492M1050,450L879,483M-40,394L-150,600M-40,394L-46,549M184,419L-46,549M184,419L173,636M300,614L173,636M409,563L300,614M731,570L601,490M731,570L575,631M879,483L923,569M923,569L776,492M923,569L731,570M1050,600L879,483M300,614L300,750M300,750L173,636M575,631L450,750M731,570L750,750M750,750L575,631;M0,-150L51,-42M51,-42L-150,-150M51,-42L-150,0M150,-150L147,12M147,12L51,-42M300,-150L265,-17M265,-17L147,12M450,-150L265,-17M600,-150L440,49M600,-150L631,20M631,20L440,49M750,-150L744,20M744,20L600,-150M744,20L631,20M900,-150L744,20M900,-150L948,15M948,15L744,20M51,-42L-150,150M51,-42L8,162M147,12L8,162M147,12L206,175M206,175L8,162M328,119L206,175M440,49L328,119M631,20L479,170M622,154L479,170M744,20L696,162M696,162L622,154M948,15L696,162M948,15L928,183M928,183L696,162M1050,150L928,183M8,162L3,254M3,254L-150,300M115,252L8,162M328,119L281,288M281,288L115,252M479,170L429,273M429,273L328,119M429,273L281,288M557,329L479,170M557,329L429,273M696,162L752,306M752,306L622,154M752,306L557,329M1050,300L913,296M3,254L-34,413M-34,413L-150,450M115,252L168,419M281,288L309,450M309,450L115,252M309,450L168,419M557,329L609,469M913,296L890,486M890,486L789,483M1050,450L890,486M-34,413L-150,600M-34,413L-38,559M168,419L-38,559M168,419L166,626M295,599L166,626M400,563L295,599M729,556L609,469M729,556L573,639M890,486L913,565M913,565L789,483M913,565L729,556M1050,600L890,486M295,599L300,750M300,750L166,626M573,639L450,750M729,556L750,750M750,750L573,639;M0,-150L34,-28M34,-28L-150,-150M34,-28L-150,0M150,-150L156,10M156,10L34,-28M300,-150L281,-18M281,-18L156,10M450,-150L281,-18M600,-150L433,33M600,-150L611,22M611,22L433,33M750,-150L734,10M734,10L600,-150M734,10L611,22M900,-150L734,10M900,-150L949,4M949,4L734,10M34,-28L-150,150M34,-28L21,169M156,10L21,169M156,10L204,166M204,166L21,169M328,100L204,166M433,33L328,100M611,22L462,177M612,154L462,177M734,10L717,162M717,162L612,154M949,4L717,162M949,4L918,199M918,199L717,162M1050,150L918,199M21,169L-9,262M-9,262L-150,300M109,240L21,169M328,100L266,273M266,273L109,240M462,177L432,287M432,287L328,100M432,287L266,273M575,319L462,177M575,319L432,287M717,162L734,312M734,312L612,154M734,312L575,319M1050,300L917,274M-9,262L-15,415M-15,415L-150,450M109,240L163,434M266,273L299,441M299,441L109,240M299,441L163,434M575,319L592,455M917,274L891,497M891,497L803,492M1050,450L891,497M-15,415L-150,600M-15,415L-45,569M163,434L-45,569M163,434L173,617M280,599L173,617M397,572L280,599M714,553L592,455M714,553L564,640M891,497L906,573M906,573L803,492M906,573L714,553M1050,600L891,497M280,599L300,750M300,750L173,617M564,640L450,750M714,553L750,750M750,750L564,640;M0,-150L41,-8M41,-8L-150,-150M41,-8L-150,0M150,-150L161,18M161,18L41,-8M300,-150L286,-3M286,-3L161,18M450,-150L286,-3M600,-150L416,35M600,-150L603,3M603,3L416,35M750,-150L721,17M721,17L600,-150M721,17L603,3M900,-150L721,17M900,-150L940,0M940,0L721,17M41,-8L-150,150M41,-8L32,159M161,18L32,159M161,18L195,166M195,166L32,159M310,93L195,166M416,35L310,93M603,3L463,197M609,144L463,197M721,17L724,142M724,142L609,144M940,0L724,142M940,0L930,213M930,213L724,142M1050,150L930,213M32,159L-5,276M-5,276L-150,300M95,242L32,159M310,93L247,283M247,283L95,242M463,197L447,289M447,289L310,93M447,289L247,283M590,332L463,197M590,332L447,289M724,142L735,331M735,331L609,144M735,331L590,332M1050,300L938,272M-5,276L-7,396M-7,396L-150,450M95,242L176,444M247,283L287,448M287,448L95,242M287,448L176,444M590,332L574,467M938,272L881,501M881,501L798,508M1050,450L881,501M-7,396L-150,600M-7,396L-57,566M176,444L-57,566M176,444L184,621M275,613L184,621M405,577L275,613M708,566L574,467M708,566L561,632M881,501L911,583M911,583L798,508M911,583L708,566M1050,600L881,501M275,613L300,750M300,750L184,621M561,632L450,750M708,566L750,750M750,750L561,632'/%3E%3C/path%3E%3Cpath stroke='%23A67436' stroke-opacity='0.32' d='M161,18L0,-150M286,-3L310,93M724,142L603,3M-5,276L-150,150M195,166L95,242M95,242L-5,276M310,93L95,242M609,144L590,332M938,272L724,142M938,272L735,331M-7,396L-150,300M176,444L-5,276M176,444L-7,396M574,467L439,424M798,508L590,332M798,508L574,467M938,272L798,508M1050,450L938,272M-57,566L-150,600M184,621L-57,566M439,424L405,577M405,577L287,448M561,632L405,577M798,508L708,566M1050,600L911,583M405,577L300,750M561,632L600,750M911,583L900,750'%3E%3Canimate attributeName='d' dur='32s' repeatCount='indefinite' values='M161,18L0,-150M286,-3L310,93M724,142L603,3M-5,276L-150,150M195,166L95,242M95,242L-5,276M310,93L95,242M609,144L590,332M938,272L724,142M938,272L735,331M-7,396L-150,300M176,444L-5,276M176,444L-7,396M574,467L439,424M798,508L590,332M798,508L574,467M938,272L798,508M1050,450L938,272M-57,566L-150,600M184,621L-57,566M439,424L405,577M405,577L287,448M561,632L405,577M798,508L708,566M1050,600L911,583M405,577L300,750M561,632L600,750M911,583L900,750;M155,25L0,-150M273,6L298,109M706,129L618,-11M10,277L-150,150M192,175L94,256M94,256L10,277M298,109L94,256M617,138L582,351M948,291L706,129M948,291L752,336M-23,383L-150,300M189,434L10,277M189,434L-23,383M579,489L447,430M781,508L582,351M781,508L579,489M948,291L781,508M1050,450L948,291M-57,553L-150,600M184,633L-57,553M447,430L412,571M412,571L291,461M568,626L412,571M781,508L718,577M1050,600L922,580M412,571L300,750M568,626L600,750M922,580L900,750;M146,21L0,-150M261,-3L309,125M689,142L636,0M15,263L-150,150M199,180L106,262M106,262L15,263M309,125L106,262M625,144L562,349M932,306L689,142M932,306L763,321M-40,394L-150,300M184,419L15,263M184,419L-40,394M601,490L455,424M776,492L562,349M776,492L601,490M932,306L776,492M1050,450L932,306M-46,549L-150,600M173,636L-46,549M455,424L409,563M409,563L304,462M575,631L409,563M776,492L731,570M1050,600L923,569M409,563L300,750M575,631L600,750M923,569L900,750;M147,12L0,-150M265,-17L328,119M696,162L631,20M3,254L-150,150M206,175L115,252M115,252L3,254M328,119L115,252M622,154L557,329M913,296L696,162M913,296L752,306M-34,413L-150,300M168,419L3,254M168,419L-34,413M609,469L452,415M789,483L557,329M789,483L609,469M913,296L789,483M1050,450L913,296M-38,559L-150,600M166,626L-38,559M452,415L400,563M400,563L309,450M573,639L400,563M789,483L729,556M1050,600L913,565M400,563L300,750M573,639L600,750M913,565L900,750;M156,10L0,-150M281,-18L328,100M717,162L611,22M-9,262L-150,150M204,166L109,240M109,240L-9,262M328,100L109,240M612,154L575,319M917,274L717,162M917,274L734,312M-15,415L-150,300M163,434L-9,262M163,434L-15,415M592,455L442,414M803,492L575,319M803,492L592,455M917,274L803,492M1050,450L917,274M-45,569L-150,600M173,617L-45,569M442,414L397,572M397,572L299,441M564,640L397,572M803,492L714,553M1050,600L906,573M397,572L300,750M564,640L600,750M906,573L900,750;M161,18L0,-150M286,-3L310,93M724,142L603,3M-5,276L-150,150M195,166L95,242M95,242L-5,276M310,93L95,242M609,144L590,332M938,272L724,142M938,272L735,331M-7,396L-150,300M176,444L-5,276M176,444L-7,396M574,467L439,424M798,508L590,332M798,508L574,467M938,272L798,508M1050,450L938,272M-57,566L-150,600M184,621L-57,566M439,424L405,577M405,577L287,448M561,632L405,577M798,508L708,566M1050,600L911,583M405,577L300,750M561,632L600,750M911,583L900,750'/%3E%3C/path%3E%3Cpath stroke='%236D6E70' stroke-opacity='0.26' d='M300,-150L161,18M450,-150L416,35M416,35L286,-3M1050,0L940,0M32,159L-150,150M286,-3L195,166M416,35L463,197M463,197L310,93M603,3L609,144M1050,150L940,0M930,213L938,272M1050,150L938,272M447,289L439,424M439,424L247,283M439,424L287,448M574,467L447,289M735,331L798,508M287,448L184,621M287,448L275,613M574,467L405,577M574,467L561,632M-57,566L-150,750M-57,566L0,750M184,621L150,750M150,750L-57,566M405,577L450,750M900,750L708,566'%3E%3Canimate attributeName='d' dur='32s' repeatCount='indefinite' values='M300,-150L161,18M450,-150L416,35M416,35L286,-3M1050,0L940,0M32,159L-150,150M286,-3L195,166M416,35L463,197M463,197L310,93M603,3L609,144M1050,150L940,0M930,213L938,272M1050,150L938,272M447,289L439,424M439,424L247,283M439,424L287,448M574,467L447,289M735,331L798,508M287,448L184,621M287,448L275,613M574,467L405,577M574,467L561,632M-57,566L-150,750M-57,566L0,750M184,621L150,750M150,750L-57,566M405,577L450,750M900,750L708,566;M300,-150L155,25M450,-150L413,51M413,51L273,6M1050,0L932,7M25,145L-150,150M273,6L192,175M413,51L482,201M482,201L298,109M618,-11L617,138M1050,150L932,7M947,206L948,291M1050,150L948,291M453,275L447,430M447,430L250,304M447,430L291,461M579,489L453,275M752,336L781,508M291,461L184,633M291,461L287,622M579,489L412,571M579,489L568,626M-57,553L-150,750M-57,553L0,750M184,633L150,750M150,750L-57,553M412,571L450,750M900,750L718,577;M300,-150L146,21M450,-150L427,60M427,60L261,-3M1050,0L937,17M11,148L-150,150M261,-3L199,180M427,60L492,185M492,185L309,125M636,0L625,144M1050,150L937,17M946,187L932,306M1050,150L932,306M442,265L455,424M455,424L271,307M455,424L304,462M601,490L442,265M763,321L776,492M304,462L173,636M304,462L300,614M601,490L409,563M601,490L575,631M-46,549L-150,750M-46,549L0,750M173,636L150,750M150,750L-46,549M409,563L450,750M900,750L731,570;M300,-150L147,12M450,-150L440,49M440,49L265,-17M1050,0L948,15M8,162L-150,150M265,-17L206,175M440,49L479,170M479,170L328,119M631,20L622,154M1050,150L948,15M928,183L913,296M1050,150L913,296M429,273L452,415M452,415L281,288M452,415L309,450M609,469L429,273M752,306L789,483M309,450L166,626M309,450L295,599M609,469L400,563M609,469L573,639M-38,559L-150,750M-38,559L0,750M166,626L150,750M150,750L-38,559M400,563L450,750M900,750L729,556;M300,-150L156,10M450,-150L433,33M433,33L281,-18M1050,0L949,4M21,169L-150,150M281,-18L204,166M433,33L462,177M462,177L328,100M611,22L612,154M1050,150L949,4M918,199L917,274M1050,150L917,274M432,287L442,414M442,414L266,273M442,414L299,441M592,455L432,287M734,312L803,492M299,441L173,617M299,441L280,599M592,455L397,572M592,455L564,640M-45,569L-150,750M-45,569L0,750M173,617L150,750M150,750L-45,569M397,572L450,750M900,750L714,553;M300,-150L161,18M450,-150L416,35M416,35L286,-3M1050,0L940,0M32,159L-150,150M286,-3L195,166M416,35L463,197M463,197L310,93M603,3L609,144M1050,150L940,0M930,213L938,272M1050,150L938,272M447,289L439,424M439,424L247,283M439,424L287,448M574,467L447,289M735,331L798,508M287,448L184,621M287,448L275,613M574,467L405,577M574,467L561,632M-57,566L-150,750M-57,566L0,750M184,621L150,750M150,750L-57,566M405,577L450,750M900,750L708,566'/%3E%3C/path%3E%3C/g%3E%3Cpath stroke='%23F26522' stroke-opacity='.8' stroke-width='3.6' stroke-linecap='round' d='M41,-8h0M286,-3h0M416,35h0M721,17h0M940,0h0M195,166h0M463,197h0M609,144h0M724,142h0M-5,276h0M447,289h0M590,332h0M735,331h0M938,272h0M-7,396h0M176,444h0M287,448h0M439,424h0M574,467h0M798,508h0M881,501h0M-57,566h0M275,613h0M405,577h0M708,566h0'%3E%3Canimate attributeName='d' dur='32s' repeatCount='indefinite' values='M41,-8h0M286,-3h0M416,35h0M721,17h0M940,0h0M195,166h0M463,197h0M609,144h0M724,142h0M-5,276h0M447,289h0M590,332h0M735,331h0M938,272h0M-7,396h0M176,444h0M287,448h0M439,424h0M574,467h0M798,508h0M881,501h0M-57,566h0M275,613h0M405,577h0M708,566h0;M63,-9h0M273,6h0M413,51h0M723,31h0M932,7h0M192,175h0M482,201h0M617,138h0M706,129h0M10,277h0M453,275h0M582,351h0M752,336h0M948,291h0M-23,383h0M189,434h0M291,461h0M447,430h0M579,489h0M781,508h0M873,493h0M-57,553h0M287,622h0M412,571h0M718,577h0;M69,-30h0M261,-3h0M427,60h0M738,33h0M937,17h0M199,180h0M492,185h0M625,144h0M689,142h0M15,263h0M442,265h0M562,349h0M763,321h0M932,306h0M-40,394h0M184,419h0M304,462h0M455,424h0M601,490h0M776,492h0M879,483h0M-46,549h0M300,614h0M409,563h0M731,570h0;M51,-42h0M265,-17h0M440,49h0M744,20h0M948,15h0M206,175h0M479,170h0M622,154h0M696,162h0M3,254h0M429,273h0M557,329h0M752,306h0M913,296h0M-34,413h0M168,419h0M309,450h0M452,415h0M609,469h0M789,483h0M890,486h0M-38,559h0M295,599h0M400,563h0M729,556h0;M34,-28h0M281,-18h0M433,33h0M734,10h0M949,4h0M204,166h0M462,177h0M612,154h0M717,162h0M-9,262h0M432,287h0M575,319h0M734,312h0M917,274h0M-15,415h0M163,434h0M299,441h0M442,414h0M592,455h0M803,492h0M891,497h0M-45,569h0M280,599h0M397,572h0M714,553h0;M41,-8h0M286,-3h0M416,35h0M721,17h0M940,0h0M195,166h0M463,197h0M609,144h0M724,142h0M-5,276h0M447,289h0M590,332h0M735,331h0M938,272h0M-7,396h0M176,444h0M287,448h0M439,424h0M574,467h0M798,508h0M881,501h0M-57,566h0M275,613h0M405,577h0M708,566h0'/%3E%3C/path%3E%3Cpath stroke='%23A67436' stroke-opacity='.8' stroke-width='3' stroke-linecap='round' d='M161,18h0M603,3h0M32,159h0M310,93h0M930,213h0M95,242h0M247,283h0M184,621h0M561,632h0M911,583h0'%3E%3Canimate attributeName='d' dur='32s' repeatCount='indefinite' values='M161,18h0M603,3h0M32,159h0M310,93h0M930,213h0M95,242h0M247,283h0M184,621h0M561,632h0M911,583h0;M155,25h0M618,-11h0M25,145h0M298,109h0M947,206h0M94,256h0M250,304h0M184,633h0M568,626h0M922,580h0;M146,21h0M636,0h0M11,148h0M309,125h0M946,187h0M106,262h0M271,307h0M173,636h0M575,631h0M923,569h0;M147,12h0M631,20h0M8,162h0M328,119h0M928,183h0M115,252h0M281,288h0M166,626h0M573,639h0M913,565h0;M156,10h0M611,22h0M21,169h0M328,100h0M918,199h0M109,240h0M266,273h0M173,617h0M564,640h0M906,573h0;M161,18h0M603,3h0M32,159h0M310,93h0M930,213h0M95,242h0M247,283h0M184,621h0M561,632h0M911,583h0'/%3E%3C/path%3E%3Ccircle cx='32' cy='159' r='2' fill='none' stroke='%23A67436' stroke-width='.6' stroke-opacity='.3'%3E%3CanimateMotion dur='32s' repeatCount='indefinite' path='M0,0L-7,-14L-21,-11L-24,3L-11,10L0,0'/%3E%3Canimate attributeName='r' values='2;9' dur='3.9s' begin='3.4s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' values='.6;0' dur='3.9s' begin='3.4s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='447' cy='289' r='2' fill='none' stroke='%23F26522' stroke-width='.6' stroke-opacity='.3'%3E%3CanimateMotion dur='32s' repeatCount='indefinite' path='M0,0L6,-14L-5,-24L-18,-16L-15,-2L0,0'/%3E%3Canimate attributeName='r' values='2;9' dur='3.7s' begin='0.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' values='.6;0' dur='3.7s' begin='0.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='938' cy='272' r='2' fill='none' stroke='%23F26522' stroke-width='.6' stroke-opacity='.3'%3E%3CanimateMotion dur='32s' repeatCount='indefinite' path='M0,0L10,19L-6,34L-25,24L-21,2L0,0'/%3E%3Canimate attributeName='r' values='2;9' dur='5.4s' begin='1.4s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' values='.6;0' dur='5.4s' begin='1.4s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='176' cy='444' r='2' fill='none' stroke='%23F26522' stroke-width='.6' stroke-opacity='.3'%3E%3CanimateMotion dur='32s' repeatCount='indefinite' path='M0,0L13,-10L8,-25L-8,-25L-13,-10L0,0'/%3E%3Canimate attributeName='r' values='2;9' dur='3.2s' begin='3.0s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' values='.6;0' dur='3.2s' begin='3.0s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='881' cy='501' r='2' fill='none' stroke='%23F26522' stroke-width='.6' stroke-opacity='.3'%3E%3CanimateMotion dur='32s' repeatCount='indefinite' path='M0,0L-8,-8L-2,-18L9,-15L10,-4L0,0'/%3E%3Canimate attributeName='r' values='2;9' dur='4.3s' begin='0.9s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' values='.6;0' dur='4.3s' begin='0.9s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='-57' cy='566' r='2' fill='none' stroke='%23F26522' stroke-width='.6' stroke-opacity='.3'%3E%3CanimateMotion dur='32s' repeatCount='indefinite' path='M0,0L0,-13L11,-17L19,-7L12,3L0,0'/%3E%3Canimate attributeName='r' values='2;9' dur='3.6s' begin='2.4s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' values='.6;0' dur='3.6s' begin='2.4s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='708' cy='566' r='2' fill='none' stroke='%23F26522' stroke-width='.6' stroke-opacity='.3'%3E%3CanimateMotion dur='32s' repeatCount='indefinite' path='M0,0L10,11L23,4L21,-10L6,-13L0,0'/%3E%3Canimate attributeName='r' values='2;9' dur='5.5s' begin='3.6s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' values='.6;0' dur='5.5s' begin='3.6s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='911' cy='583' r='2' fill='none' stroke='%23A67436' stroke-width='.6' stroke-opacity='.3'%3E%3CanimateMotion dur='32s' repeatCount='indefinite' path='M0,0L11,-3L12,-14L2,-18L-5,-10L0,0'/%3E%3Canimate attributeName='r' values='2;9' dur='3.0s' begin='3.2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' values='.6;0' dur='3.0s' begin='3.2s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
    --sut-mesh-still: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500' preserveAspectRatio='xMidYMid slice'%3E%3Cpath fill='%23F26522' fill-opacity='0.08' d='M750,-150L900,-150L721,17ZM900,-150L1050,-150L1050,0ZM286,-3L310,93L195,166ZM32,159L95,242L-5,276ZM310,93L247,283L95,242ZM609,144L735,331L590,332ZM590,332L798,508L574,467ZM938,272L881,501L798,508ZM176,444L287,448L184,621ZM574,467L798,508L708,566ZM-57,566L0,750L-150,750ZM405,577L450,750L300,750ZM911,583L1050,600L900,750Z'%3E%3C/path%3E%3Cpath fill='%23A67436' fill-opacity='0.07' d='M300,-150L286,-3L161,18ZM900,-150L940,0L721,17ZM161,18L286,-3L195,166ZM310,93L447,289L247,283ZM463,197L590,332L447,289ZM930,213L1050,150L938,272ZM1050,150L1050,300L938,272ZM938,272L1050,450L881,501ZM176,444L184,621L-57,566ZM287,448L405,577L275,613ZM275,613L405,577L300,750Z'%3E%3C/path%3E%3Cg fill='none' stroke-width='.6' stroke-linecap='round'%3E%3Cpath stroke='%23F26522' stroke-opacity='0.34' d='M0,-150L41,-8M41,-8L-150,-150M41,-8L-150,0M150,-150L161,18M161,18L41,-8M300,-150L286,-3M286,-3L161,18M450,-150L286,-3M600,-150L416,35M600,-150L603,3M603,3L416,35M750,-150L721,17M721,17L600,-150M721,17L603,3M900,-150L721,17M900,-150L940,0M940,0L721,17M41,-8L-150,150M41,-8L32,159M161,18L32,159M161,18L195,166M195,166L32,159M310,93L195,166M416,35L310,93M603,3L463,197M609,144L463,197M721,17L724,142M724,142L609,144M940,0L724,142M940,0L930,213M930,213L724,142M1050,150L930,213M32,159L-5,276M-5,276L-150,300M95,242L32,159M310,93L247,283M247,283L95,242M463,197L447,289M447,289L310,93M447,289L247,283M590,332L463,197M590,332L447,289M724,142L735,331M735,331L609,144M735,331L590,332M1050,300L938,272M-5,276L-7,396M-7,396L-150,450M95,242L176,444M247,283L287,448M287,448L95,242M287,448L176,444M590,332L574,467M938,272L881,501M881,501L798,508M1050,450L881,501M-7,396L-150,600M-7,396L-57,566M176,444L-57,566M176,444L184,621M275,613L184,621M405,577L275,613M708,566L574,467M708,566L561,632M881,501L911,583M911,583L798,508M911,583L708,566M1050,600L881,501M275,613L300,750M300,750L184,621M561,632L450,750M708,566L750,750M750,750L561,632'%3E%3C/path%3E%3Cpath stroke='%23A67436' stroke-opacity='0.32' d='M161,18L0,-150M286,-3L310,93M724,142L603,3M-5,276L-150,150M195,166L95,242M95,242L-5,276M310,93L95,242M609,144L590,332M938,272L724,142M938,272L735,331M-7,396L-150,300M176,444L-5,276M176,444L-7,396M574,467L439,424M798,508L590,332M798,508L574,467M938,272L798,508M1050,450L938,272M-57,566L-150,600M184,621L-57,566M439,424L405,577M405,577L287,448M561,632L405,577M798,508L708,566M1050,600L911,583M405,577L300,750M561,632L600,750M911,583L900,750'%3E%3C/path%3E%3Cpath stroke='%236D6E70' stroke-opacity='0.26' d='M300,-150L161,18M450,-150L416,35M416,35L286,-3M1050,0L940,0M32,159L-150,150M286,-3L195,166M416,35L463,197M463,197L310,93M603,3L609,144M1050,150L940,0M930,213L938,272M1050,150L938,272M447,289L439,424M439,424L247,283M439,424L287,448M574,467L447,289M735,331L798,508M287,448L184,621M287,448L275,613M574,467L405,577M574,467L561,632M-57,566L-150,750M-57,566L0,750M184,621L150,750M150,750L-57,566M405,577L450,750M900,750L708,566'%3E%3C/path%3E%3C/g%3E%3Cpath stroke='%23F26522' stroke-opacity='.8' stroke-width='3.6' stroke-linecap='round' d='M41,-8h0M286,-3h0M416,35h0M721,17h0M940,0h0M195,166h0M463,197h0M609,144h0M724,142h0M-5,276h0M447,289h0M590,332h0M735,331h0M938,272h0M-7,396h0M176,444h0M287,448h0M439,424h0M574,467h0M798,508h0M881,501h0M-57,566h0M275,613h0M405,577h0M708,566h0'%3E%3C/path%3E%3Cpath stroke='%23A67436' stroke-opacity='.8' stroke-width='3' stroke-linecap='round' d='M161,18h0M603,3h0M32,159h0M310,93h0M930,213h0M95,242h0M247,283h0M184,621h0M561,632h0M911,583h0'%3E%3C/path%3E%3Ccircle cx='32' cy='159' r='2' fill='none' stroke='%23A67436' stroke-width='.6' stroke-opacity='.3'%3E%3C/circle%3E%3Ccircle cx='447' cy='289' r='2' fill='none' stroke='%23F26522' stroke-width='.6' stroke-opacity='.3'%3E%3C/circle%3E%3Ccircle cx='938' cy='272' r='2' fill='none' stroke='%23F26522' stroke-width='.6' stroke-opacity='.3'%3E%3C/circle%3E%3Ccircle cx='176' cy='444' r='2' fill='none' stroke='%23F26522' stroke-width='.6' stroke-opacity='.3'%3E%3C/circle%3E%3Ccircle cx='881' cy='501' r='2' fill='none' stroke='%23F26522' stroke-width='.6' stroke-opacity='.3'%3E%3C/circle%3E%3Ccircle cx='-57' cy='566' r='2' fill='none' stroke='%23F26522' stroke-width='.6' stroke-opacity='.3'%3E%3C/circle%3E%3Ccircle cx='708' cy='566' r='2' fill='none' stroke='%23F26522' stroke-width='.6' stroke-opacity='.3'%3E%3C/circle%3E%3Ccircle cx='911' cy='583' r='2' fill='none' stroke='%23A67436' stroke-width='.6' stroke-opacity='.3'%3E%3C/circle%3E%3C/svg%3E");
}

html[data-theme="dark"] {
        color-scheme: dark;
        --n-bg: #222327;
        --n-bg-hi: #2a2b30;
        --n-bg-lo: #1c1d20;
        --n-shade: #141517;
        --n-light: #303237;
        --n-text: #f1f1f2;
        --n-muted: #b4b5b8;
        --n-link: #ff8a50;
        --n-link-hover: #ffc2a1;
        --n-gold-text: #d6a066;
        --n-ring: rgba(255, 138, 80, 0.42);
        --n-danger: #ff9b8f;
        --n-danger-bg: rgba(255, 155, 143, 0.08);
        --n-btn-glow: rgba(242, 101, 34, 0.28);
        --mesh-opacity: 0.75;
}

/* ================================================================
   2. Page, fonts and background
   ================================================================ */
html {
    background: var(--n-bg) !important;
    -webkit-text-size-adjust: 100%;
}
html::before { content: none !important; }

body,
body.mdc-typography,
.mdc-typography,
input, button, select, textarea,
.mdc-floating-label, .mdc-button, .mdc-button__label,
.mdc-typography--headline4, .mdc-typography--headline5, .mdc-typography--headline6 {
    font-family: var(--sut-font) !important;
}

body {
    background: var(--n-bg) !important;
    color: var(--n-text);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden !important;
    overflow-y: auto !important; /* cas.css sets body { overflow: hidden } */
    -webkit-font-smoothing: antialiased;
}

/* layer 1: the moving polygon mesh, clear in the middle where the card sits */
body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: 0;
    filter: none;
    width: auto;
    height: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
body::before {
    background: var(--sut-mesh) center / cover no-repeat;
    opacity: var(--mesh-opacity);
    -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 46%, transparent 0 22%, #000 78%);
    mask-image: radial-gradient(ellipse 58% 62% at 50% 46%, transparent 0 22%, #000 78%);
    transform-origin: 50% 50%;
    animation: sut-drift 48s ease-in-out infinite alternate;
}
/* layer 2: two soft brand lights */
body::after {
    background:
        radial-gradient(38rem 30rem at 8% 6%, rgba(242, 101, 34, 0.16), transparent 70%),
        radial-gradient(34rem 28rem at 94% 96%, rgba(166, 116, 54, 0.16), transparent 70%);
    opacity: 1;
    animation: sut-breathe 12s ease-in-out infinite alternate;
}

@keyframes sut-drift {
    0%   { transform: scale(1.04) translate3d(-1%, -1%, 0); }
    100% { transform: scale(1.12) translate3d(1.5%, 1%, 0); }
}
@keyframes sut-breathe {
    0%   { opacity: 0.65; }
    100% { opacity: 1; }
}

/* live mesh: footer.html draws the same polygon mesh on a canvas and makes it follow the pointer.
   While it runs, the CSS mesh above steps aside; without script or under reduced motion the CSS mesh stays. */
.sut-mesh {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: var(--mesh-opacity);
    -webkit-mask-image: radial-gradient(ellipse 60% 64% at 50% 46%, rgba(0, 0, 0, 0.18) 0 20%, #000 76%);
    mask-image: radial-gradient(ellipse 60% 64% at 50% 46%, rgba(0, 0, 0, 0.18) 0 20%, #000 76%);
}
html.sut-mesh-live body::before {
    background-image: none;
    animation: none;
}

/* light graphics for older or slower machines (set by footer.html / the page head):
   the still mesh, no endless loops. Entrances and hover answers stay. */
html.sut-lowfx body::before {
    background-image: var(--sut-mesh-still);
    animation: none;
    transform: none;
}
html.sut-lowfx body::after {
    animation: none;
}
html.sut-lowfx .sut-logo img {
    animation: sut-wipe 1s var(--n-ease) 0.3s both; /* the write-in once, no repeating light */
}
@media (max-width: 600px) {
    .sut-mesh {
        -webkit-mask-image: radial-gradient(ellipse 85% 58% at 50% 45%, rgba(0, 0, 0, 0.15) 0 28%, #000 85%);
        mask-image: radial-gradient(ellipse 85% 58% at 50% 45%, rgba(0, 0, 0, 0.15) 0 28%, #000 85%);
    }
}

/* the stock top bar, drawer and their spacing are not used */
#app-bar,
.mdc-drawer,
.mdc-drawer-scrim {
    display: none !important;
}
.mdc-top-app-bar--fixed-adjust {
    padding-top: 0 !important;
}

/* stock background photo off, content centred */
.bgimage,
.mdc-drawer-app-content {
    background: none !important;
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
    display: flex;
    align-items: center;
}
#main-content {
    width: 100%;
    max-width: none !important;
    display: flex;
    justify-content: center;
    padding: 56px 24px 28px !important;
}
#content,
div#content {
    width: 100%;
    box-shadow: none !important; /* cas.css draws a frame here */
}
#content .login-section {
    border: 0 !important;
}

a { color: var(--n-link); }
a:hover, a:focus { color: var(--n-link-hover); }
:focus-visible {
    outline: 2px solid var(--sut-orange) !important;
    outline-offset: 3px;
}
::selection {
    background: rgba(242, 101, 34, 0.25);
}

/* ================================================================
   3. Card
   ================================================================ */
#content .mdc-card,
#content .card {
    position: relative;
    width: 100%;
    max-width: 456px;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--n-bg-hi), var(--n-bg-lo)) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: var(--n-radius-card) !important;
    box-shadow: var(--n-raise) !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    clip-path: none !important;
    color: var(--n-text) !important;
    animation: sut-rise 0.9s var(--n-ease) both;
}
html[data-theme="dark"] #content .mdc-card,
html[data-theme="dark"] #content .card {
    border-color: rgba(255, 255, 255, 0.04) !important;
}
@keyframes sut-rise {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to   { opacity: 1; transform: none; }
}

#content .mdc-card p,
#content .mdc-card label,
#content .mdc-card section,
#content .mdc-card span:not(.mdc-button__label) {
    color: inherit;
}
#content .card-body,
#loginForm {
    padding: 44px 40px 32px !important;
}
#content h1, #content h2, #content h3,
#content .mdc-typography--headline4,
#content .mdc-typography--headline5,
#content .mdc-typography--headline6 {
    color: var(--n-text);
}

/* ================================================================
   4. Brand block (logo + heading)
   ================================================================ */
.sut-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    margin-bottom: 8px;
}
.sut-brand > * {
    position: relative;
    animation: sut-fade-up 0.8s var(--n-ease) both;
}
.sut-brand > :nth-child(1) { animation-delay: 0.15s; }
.sut-brand > :nth-child(2) { animation-delay: 0.25s; }
.sut-brand > :nth-child(3) { animation-delay: 0.32s; }
.sut-brand > :nth-child(4) { animation-delay: 0.39s; }
@keyframes sut-fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

/* SUT wordmark (images/SUT_logo.svg) on a raised plate.
   The template's <img> still points at sut-logo.png (th:src is left alone); CSS draws the SVG instead:
   padding hides the PNG, the SVG becomes a mask, and an orange gradient shows through it.
   Keeping the <img> keeps its alt text. The SVG has empty margins, so the mask is cropped to the
   letters: content box x 100.25-741.64, y 155.91-439.37 of a 841.89 x 595.28 viewBox. */
.sut-logo {
    --w: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin: 0 0 20px;
    padding: calc(var(--w) * 0.17) calc(var(--w) * 0.2);
    border-radius: calc(var(--w) * 0.18);
    background: linear-gradient(145deg, var(--n-bg-hi), var(--n-bg-lo));
    box-shadow: var(--n-raise-md);
    overflow: visible !important;
}
.sut-logo::before,
.sut-logo::after {
    content: none;
}
.sut-logo img {
    position: relative;
    box-sizing: border-box;
    display: block;
    width: var(--w);
    height: calc(var(--w) * 0.44196);
    padding-left: var(--w); /* pushes the PNG out of view */
    object-fit: none;
    background:
        linear-gradient(105deg, transparent 0 40%, rgba(255, 238, 220, 0.95) 50%, transparent 60%) 100% 0 / 300% 100% no-repeat,
        linear-gradient(160deg, var(--logo-from), var(--logo-to));
    -webkit-mask: url("/cas/images/SUT_logo-d2eae8cf39a8e573bf9e9975675849fb.svg") no-repeat;
    mask: url("/cas/images/SUT_logo-d2eae8cf39a8e573bf9e9975675849fb.svg") no-repeat;
    -webkit-mask-size: calc(var(--w) * 1.31261) calc(var(--w) * 0.92811);
    mask-size: calc(var(--w) * 1.31261) calc(var(--w) * 0.92811);
    -webkit-mask-position: calc(var(--w) * -0.1563) calc(var(--w) * -0.24308);
    mask-position: calc(var(--w) * -0.1563) calc(var(--w) * -0.24308);
    animation:
        sut-wipe 1s var(--n-ease) 0.3s both,
        sut-shine 6s ease-in-out 1.3s infinite;
}
:root {
    --logo-from: #f77a32;
    --logo-to: #dc5418;
}
html[data-theme="dark"] {
    --logo-from: #ff8c45;
    --logo-to: #f26522;
}
/* the letters write in from the left, like the bracket reads */
@keyframes sut-wipe {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0 0 0); }
}
/* a light passes over the letters, then rests */
@keyframes sut-shine {
    0%        { background-position: 100% 0, 0 0; }
    35%, 100% { background-position: 0% 0, 0 0; }
}
@keyframes sut-spin {
    to { transform: rotate(360deg); }
}

.sut-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 6px 14px 6px 11px;
    border-radius: 999px;
    box-shadow: var(--n-inset-sm);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--n-link) !important;
}
.sut-eyebrow::before {
    content: "";
    width: 15px;
    height: 15px;
    flex: none;
    background: currentColor;
    -webkit-mask: var(--i-shield) center / contain no-repeat;
    mask: var(--i-shield) center / contain no-repeat;
}
.sut-title {
    margin: 12px 0 0;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--n-text) !important;
}
.sut-subtitle {
    margin: 0;
    max-width: 30ch;
    font-size: 15px;
    line-height: 1.6;
    color: var(--n-muted) !important;
}

/* the stock heading, legend and terms are replaced by the brand block */
#login-form-controls > h2.text-center,
#fieldsLegend,
#termsOfUse,
#loginForm hr {
    display: none !important;
}

/* ================================================================
   5. Text fields — inset wells with a line icon
   ================================================================ */
#usernameSection,
#passwordSection {
    margin-top: 42px !important;
    margin-bottom: 0 !important;
}
#passwordSection { margin-top: 38px !important; }

#content .mdc-text-field--outlined {
    position: relative;
    display: flex !important;
    align-items: center;
    width: 100%;
    height: 56px !important;
    padding: 0 !important;
    background: var(--n-bg) !important;
    border-radius: var(--n-radius) !important;
    box-shadow: var(--n-inset);
    overflow: visible;
    transition: box-shadow 0.35s var(--n-ease);
}
#content .mdc-text-field--outlined.mdc-text-field--focused,
#content .mdc-text-field--outlined:focus-within {
    box-shadow: var(--n-inset), 0 0 0 2px var(--n-ring);
}

/* no Material outline: the well is the frame */
#content .mdc-notched-outline__leading,
#content .mdc-notched-outline__notch,
#content .mdc-notched-outline__trailing {
    border: 0 !important;
}
#content .mdc-notched-outline__leading {
    width: 0 !important;
}
#content .mdc-notched-outline__notch {
    max-width: 100% !important;
    width: auto !important;
    padding: 0 !important;
}

/* the label always sits above its well */
#content .mdc-text-field--outlined .mdc-floating-label,
#content .mdc-text-field--outlined .mdc-floating-label--float-above {
    top: -30px !important;
    left: 6px !important;
    right: auto !important;
    transform: none !important;
    max-width: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: var(--n-text) !important;
    cursor: pointer;
    transition: color 0.25s;
}
#content .mdc-text-field--focused .mdc-floating-label,
#content .mdc-text-field--outlined:focus-within .mdc-floating-label {
    color: var(--n-link) !important;
}

/* line icon at the start of the well */
#usernameSection .mdc-text-field--outlined::after,
#passwordSection .mdc-text-field--outlined::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border: 0;
    opacity: 1;
    transform: none;
    background: var(--n-muted);
    -webkit-mask: var(--i-user) center / contain no-repeat;
    mask: var(--i-user) center / contain no-repeat;
    pointer-events: none;
    transition: background-color 0.25s;
}
#passwordSection .mdc-text-field--outlined::after {
    -webkit-mask-image: var(--i-lock);
    mask-image: var(--i-lock);
}
#content .mdc-text-field--outlined:focus-within::after {
    background: var(--sut-orange);
}

#content .mdc-text-field__input,
#content input.form-control {
    flex: 1 1 auto;
    min-width: 0;
    height: 100% !important;
    padding: 0 16px 0 50px !important;
    border: 0 !important;
    border-radius: var(--n-radius) !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--n-text) !important;
    caret-color: var(--sut-orange);
    font-size: 16px !important;
    letter-spacing: 0.01em;
}
#content #password {
    padding-right: 8px !important;
}
#content .mdc-text-field__input:focus,
#content .mdc-text-field__input:focus-visible,
#content input.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}
/* keep the well colour when the browser autofills */
#content input:-webkit-autofill,
#content input:-webkit-autofill:hover,
#content input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--n-text);
    -webkit-box-shadow: none;
    box-shadow: none;
    transition: background-color 600000s 0s, color 600000s 0s;
}
#content input[readonly] {
    color: var(--n-muted) !important;
}

/* show-password button: a small raised key inside the well */
#content .reveal-password {
    position: relative;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px !important;
    width: 44px;
    height: 44px;
    margin: 0 6px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--n-bg) !important;
    box-shadow: var(--n-raise-sm) !important;
    color: var(--n-muted) !important;
    transition: box-shadow 0.25s var(--n-ease), color 0.25s, transform 0.2s var(--n-ease);
}
#content .reveal-password i,
#content .reveal-password .mdc-button__ripple {
    display: none !important;
}
#content .reveal-password::after {
    content: "";
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: var(--i-eye) center / contain no-repeat;
    mask: var(--i-eye) center / contain no-repeat;
}
#content .reveal-password[aria-pressed="true"]::after {
    -webkit-mask-image: var(--i-eye-off);
    mask-image: var(--i-eye-off);
}
#content .reveal-password:hover {
    color: var(--sut-orange) !important;
    transform: translateY(-1px);
}
#content .reveal-password:active,
#content .reveal-password[aria-pressed="true"] {
    box-shadow: var(--n-inset-sm) !important;
    color: var(--sut-orange) !important;
    transform: none;
}

/* validation and caps-lock messages */
#fm1 .invalid-feedback:not(.caps-warn) {
    display: none;
}
#content .mdc-text-field-helper-line {
    padding: 0 6px !important;
}
#content .mdc-text-field-helper-text,
#content .text-danger {
    margin-top: 8px;
    font-size: 13px !important;
    font-weight: 600;
    color: var(--n-danger) !important;
}

/* ================================================================
   6. Primary button
   ================================================================ */
#content #fm1 button[type="submit"],
#content #fm1 input[type="submit"],
#content .mdc-button--raised,
#content .btn-primary:not(.reveal-password) {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    margin-top: 36px;
    overflow: hidden;
    border: 0 !important;
    border-radius: var(--n-radius) !important;
    background: linear-gradient(145deg, var(--n-btn-from), var(--n-btn-to)) !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    box-shadow: var(--n-raise-md), 0 10px 24px -8px var(--n-btn-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
    margin-right: 0 !important;
    padding: 0 20px !important;
    filter: none; /* cas.css adds a teal drop-shadow */
    cursor: pointer !important;
    transition: transform 0.25s var(--n-ease), box-shadow 0.25s var(--n-ease), filter 0.25s;
}
#content #fm1 button[type="submit"]::after,
#content .mdc-button--raised::after {
    content: "";
    position: static;
    width: 20px;
    height: 20px;
    flex: none;
    opacity: 1;
    border-radius: 0;
    background: currentColor;
    -webkit-mask: var(--i-arrow) center / contain no-repeat;
    mask: var(--i-arrow) center / contain no-repeat;
    transition: transform 0.3s var(--n-ease);
}
/* light sweep on hover */
#content #fm1 button[type="submit"]::before,
#content .mdc-button--raised::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 45%;
    opacity: 1;
    border-radius: 0;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-18deg);
    transition: left 0.7s var(--n-ease);
    pointer-events: none;
}
#content #fm1 button[type="submit"]:hover,
#content .mdc-button--raised:hover,
#content .btn-primary:not(.reveal-password):hover {
    transform: translateY(-2px);
    filter: saturate(1.08) brightness(1.04);
    box-shadow: var(--n-raise), 0 16px 30px -10px var(--n-btn-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
#content #fm1 button[type="submit"]:hover::before,
#content .mdc-button--raised:hover::before {
    left: 120%;
}
#content #fm1 button[type="submit"]:hover::after,
#content .mdc-button--raised:hover::after {
    transform: translateX(4px);
}
#content #fm1 button[type="submit"]:active,
#content .mdc-button--raised:active,
#content .btn-primary:not(.reveal-password):active {
    transform: translateY(1px) scale(0.995);
    box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.25), inset -3px -3px 8px rgba(255, 255, 255, 0.15) !important;
}
#content #fm1 button[type="submit"]:disabled {
    cursor: progress;
    filter: saturate(0.8);
    transform: none;
}
#content #fm1 button[type="submit"]:disabled::after {
    -webkit-mask: none;
    mask: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: none;
    border: 2.5px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    animation: sut-spin 0.8s linear infinite;
}
#content #fm1 button[type="submit"] *,
#content .mdc-button--raised * {
    color: #ffffff !important;
}
#content .mdc-button--raised .mdc-button__ripple,
#content .mdc-button--raised i {
    display: none !important;
}

/* ================================================================
   7. Messages
   ================================================================ */
#content .banner-danger,
#content .alert-danger {
    position: relative;
    margin: 28px 0 16px !important;
    padding: 14px 16px 14px 50px !important;
    background: var(--n-danger-bg) !important;
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: var(--n-inset-sm), inset 3px 0 0 var(--n-danger) !important;
    color: var(--n-text) !important;
    animation: sut-shake 0.55s var(--n-ease) 0.6s both;
}
#content .banner-danger::before,
#content .alert-danger::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 15px;
    width: 20px;
    height: 20px;
    background: var(--n-danger);
    -webkit-mask: var(--i-alert) center / contain no-repeat;
    mask: var(--i-alert) center / contain no-repeat;
}
#content .banner-danger h2,
#content .alert-danger h2 {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 0 2px !important;
    color: var(--n-danger) !important;
}
#content .banner-danger p,
#content .alert-danger p {
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.55;
    color: var(--n-text) !important;
}
#content .banner-danger h2::before,
#content .alert-danger h2::before {
    content: none !important; /* our own icon sits at the left */
}
#content .banner-danger .mdi,
#content .banner-danger .btn-close,
#content .banner-danger .close {
    display: none !important;
}
@keyframes sut-shake {
    0%, 100% { transform: none; }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(2px); }
}

/* "already signed in" note above the fields */
#login-form-controls > div:has(#existingSsoMsg) {
    margin-top: 24px;
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: var(--n-inset-sm);
    font-size: 14px;
    line-height: 1.55;
    color: var(--n-text);
}
#login-form-controls > div:has(#existingSsoMsg) i {
    color: var(--sut-orange);
}

/* security notice under the form */
#sidebar,
#sidebar .sidebar-content {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 18px 0 0 !important;
}
#securityNotice {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    text-align: center !important;
    color: var(--n-muted) !important;
}
#securityNotice a,
#content .mdc-card a:not(.sut-button) {
    color: var(--n-link) !important;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(176, 69, 16, 0.35);
    transition: color 0.2s, text-decoration-color 0.2s;
}
#content .mdc-card a:not(.sut-button):hover {
    color: var(--n-link-hover) !important;
    text-decoration-color: currentColor;
}

/* ================================================================
   8. Wide screens: brand panel beside the form
   ================================================================ */
@media (min-width: 960px) {
    #content .sut-card:has(> #loginForm) {
        max-width: 940px;
    }
    #content #loginForm {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
        gap: 44px;
        padding: 22px 48px 22px 22px !important;
    }
    #loginForm > .sut-brand {
        justify-content: center;
        margin: 0;
        padding: 56px 36px;
        border-radius: 24px;
        box-shadow: var(--n-inset);
        overflow: hidden;
        isolation: isolate;
    }
    /* a still piece of the same mesh inside the panel */
    #loginForm > .sut-brand::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: var(--sut-mesh-still) center / cover no-repeat;
        opacity: 0.55;
        -webkit-mask-image: linear-gradient(to top, #000, transparent 62%);
        mask-image: linear-gradient(to top, #000, transparent 62%);
    }
    #loginForm > .sut-brand .sut-logo {
        --w: 196px;
        margin-bottom: 28px;
    }
    #loginForm > .sut-brand .sut-title {
        font-size: 38px;
        margin-top: 18px;
    }
    #loginForm > .sut-brand .sut-subtitle {
        font-size: 16px;
    }
    #loginForm > :not(.sut-brand) {
        width: 100%;
        align-self: center;
        padding: 26px 0 30px;
    }
    #loginForm #usernameSection {
        margin-top: 30px !important;
    }
    #loginForm .banner-danger,
    #loginForm .alert-danger {
        margin-top: 0 !important;
    }
    #loginForm .banner-danger + #usernameSection,
    #loginForm .alert-danger + #usernameSection {
        margin-top: 42px !important;
    }
}

/* ================================================================
   9. Success page
   ================================================================ */
.sut-result {
    text-align: center;
}
.sut-result .sut-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.sut-result .sut-title::before {
    content: "";
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 50%;
    background: var(--sut-orange) var(--i-check) center / 18px no-repeat;
    -webkit-mask: none;
    box-shadow: var(--n-raise-sm);
    animation: sut-pop 0.6s var(--n-ease) 0.55s both;
}
/* white tick on the orange dot */
.sut-result .sut-title::before {
    background: linear-gradient(145deg, var(--n-btn-from), var(--n-btn-to));
}
.sut-result .sut-title::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    background: #ffffff;
    -webkit-mask: var(--i-check) center / contain no-repeat;
    mask: var(--i-check) center / contain no-repeat;
    animation: sut-pop 0.6s var(--n-ease) 0.65s both;
}
.sut-result .sut-title { position: relative; }
@keyframes sut-pop {
    from { opacity: 0; transform: scale(0.4); }
    to   { opacity: 1; transform: none; }
}
.sut-message {
    margin: 22px 0 26px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--n-text) !important;
}
.sut-message strong {
    display: inline-block;
    padding: 1px 10px;
    border-radius: 999px;
    box-shadow: var(--n-inset-sm);
    color: var(--n-link);
    font-weight: 700;
}
.sut-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    border-radius: var(--n-radius);
    background: linear-gradient(145deg, var(--n-btn-from), var(--n-btn-to));
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: var(--n-raise-md), 0 10px 24px -8px var(--n-btn-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform 0.25s var(--n-ease), box-shadow 0.25s var(--n-ease), filter 0.25s;
}
.sut-button::before {
    content: "";
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: var(--i-logout) center / contain no-repeat;
    mask: var(--i-logout) center / contain no-repeat;
}
.sut-button:hover,
.sut-button:focus-visible {
    color: #ffffff !important;
    transform: translateY(-2px);
    filter: saturate(1.08) brightness(1.04);
    box-shadow: var(--n-raise), 0 16px 30px -10px var(--n-btn-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.sut-button:active {
    transform: translateY(1px);
    box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.25), inset -3px -3px 8px rgba(255, 255, 255, 0.15);
}
.sut-note {
    margin: 20px 0 0;
    font-size: 13px;
    line-height: 1.65;
    color: var(--n-muted) !important;
}

/* ================================================================
   10. Footer and language switch
   ================================================================ */
.sut-footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 20px 36px;
    text-align: center;
    font-size: 13px;
    line-height: 1.65;
    color: var(--n-muted);
    animation: sut-fade-up 0.9s var(--n-ease) 0.45s both;
}
.sut-footer p {
    margin: 0;
    max-width: 720px;
}
/* cas.css hides the footer at 960px and below; the language switch lives there */
body #casFooter.sut-footer {
    display: flex !important;
}

/* row: language switch + theme switch */
.sut-prefs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
}

/* theme switch: a raised round key, sun in light mode, moon in dark */
.sut-theme {
    position: relative;
    width: 50px;
    height: 50px;
    flex: none;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--n-bg);
    box-shadow: var(--n-raise-sm);
    color: var(--n-link);
    cursor: pointer;
    transition: box-shadow 0.3s var(--n-ease), transform 0.2s var(--n-ease), color 0.2s;
}
.sut-theme::before,
.sut-theme::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    background: currentColor;
    -webkit-mask: var(--i-sun) center / contain no-repeat;
    mask: var(--i-sun) center / contain no-repeat;
    transition: transform 0.55s var(--n-ease), opacity 0.35s;
}
.sut-theme::after {
    -webkit-mask-image: var(--i-moon);
    mask-image: var(--i-moon);
    opacity: 0;
    transform: rotate(-90deg) scale(0.4);
}
.sut-theme[aria-pressed="true"]::before {
    opacity: 0;
    transform: rotate(90deg) scale(0.4);
}
.sut-theme[aria-pressed="true"]::after {
    opacity: 1;
    transform: none;
}
.sut-theme:hover {
    transform: translateY(-1px);
    box-shadow: var(--n-raise-md);
}
.sut-theme:active {
    transform: none;
    box-shadow: var(--n-inset-sm);
}

/* the reveal when switching themes (footer.html drives the circle) */
::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}

/* segmented switch: the chosen language is pressed in */
.sut-lang {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    background: var(--n-bg);
    box-shadow: var(--n-raise-sm);
}
.sut-lang::before {
    content: "";
    width: 18px;
    height: 18px;
    margin: 0 4px 0 10px;
    background: var(--n-muted);
    -webkit-mask: var(--i-globe) center / contain no-repeat;
    mask: var(--i-globe) center / contain no-repeat;
}
.sut-lang button {
    min-width: 76px;
    min-height: 40px;
    padding: 4px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--n-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s, box-shadow 0.3s var(--n-ease);
}
.sut-lang button:hover {
    color: var(--n-link);
}
.sut-lang button[aria-current="true"] {
    background: var(--n-bg);
    box-shadow: var(--n-inset-sm);
    color: var(--n-link);
}
.sut-org {
    font-size: 14px;
    font-weight: 700;
    color: var(--n-text);
}
.sut-address {
    display: inline;
}
.sut-address::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: -2px;
    background: var(--n-gold-text);
    -webkit-mask: var(--i-pin) center / contain no-repeat;
    mask: var(--i-pin) center / contain no-repeat;
}
.sut-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    margin-top: 8px !important;
}
.sut-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--n-text);
    font-weight: 500;
    text-decoration: none;
    transition: box-shadow 0.3s var(--n-ease), color 0.2s, transform 0.2s var(--n-ease);
}
.sut-contact a::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: none;
    background: var(--n-link);
    -webkit-mask: var(--i-phone) center / contain no-repeat;
    mask: var(--i-phone) center / contain no-repeat;
}
.sut-contact a[href^="mailto:"]::before {
    -webkit-mask-image: var(--i-mail);
    mask-image: var(--i-mail);
}
.sut-contact a:hover,
.sut-contact a:focus-visible {
    color: var(--n-link);
    box-shadow: var(--n-raise-sm);
    transform: translateY(-1px);
}
.sut-contact a:active {
    box-shadow: var(--n-inset-sm);
    transform: none;
}

/* ================================================================
   11. Small screens
   ================================================================ */
@media (max-width: 600px) {
    :root {
        --n-raise: 9px 9px 20px var(--n-shade), -9px -9px 20px var(--n-light);
        --n-radius-card: 26px;
    }
    #main-content { padding: 28px 14px 18px !important; }
    #content .card-body,
    #loginForm { padding: 34px 22px 26px !important; }
    .sut-logo { --w: 124px; }
    .sut-title { font-size: 25px; }
    .sut-subtitle { font-size: 14px; }
    body::before {
        -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 45%, transparent 0 30%, #000 85%);
        mask-image: radial-gradient(ellipse 80% 55% at 50% 45%, transparent 0 30%, #000 85%);
    }
    .sut-footer { padding: 4px 16px 28px; }
    .sut-contact { flex-direction: column; align-items: center; gap: 2px; }
}
@media (max-width: 360px) {
    #content .card-body,
    #loginForm { padding: 30px 16px 22px !important; }
    .sut-eyebrow { letter-spacing: 0.08em; }
    .sut-lang button { min-width: 64px; padding: 4px 12px; }
}
@media (max-height: 700px) and (min-width: 960px) {
    #main-content { padding-top: 28px !important; }
}

/* ================================================================
   12. Reduced motion: everything rests, nothing stays hidden
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    body::before {
        background-image: var(--sut-mesh-still);
        transform: none;
    }
}
