:root{
  color-scheme:light;
  --bg:#07111f;
  --bg-2:#0a1628;
  --sidebar:#07101f;
  --sidebar-2:#0c1728;
  --surface:#f3f6fb;
  --surface-2:#e9eef6;
  --card:#ffffff;
  --card-soft:#f8fafd;
  --ink:#0b1220;
  --text:#162033;
  --muted:#5e6b82;
  --muted-2:#7a879a;
  --line:#d3dbea;
  --line-strong:#b7c3d7;
  --brand:#0b4db3;
  --brand-2:#1769e0;
  --brand-3:#082f73;
  --brand-soft:#e8f1ff;
  --accent:#2c7cff;
  --teal:#0f766e;
  --green:#067647;
  --violet:#5b45b5;
  --danger:#b42318;
  --danger-soft:#fff0ee;
  --success:#067647;
  --success-soft:#e8f8ef;
  --radius-xl:28px;
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 20px 60px rgba(5,16,35,.20);
  --shadow-strong:0 34px 80px rgba(3,10,22,.34);
  --focus:0 0 0 4px rgba(23,105,224,.22);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  background:
    radial-gradient(circle at 12% 0%,rgba(23,105,224,.20),transparent 30%),
    radial-gradient(circle at 98% 18%,rgba(11,77,179,.18),transparent 28%),
    linear-gradient(180deg,var(--bg),#08101d 100%);
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.6) 42%,transparent 100%);
}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.62}
:focus-visible{outline:none;box-shadow:var(--focus)}

.enterpriseShell{
  min-height:100vh;
  display:grid;
  grid-template-columns:clamp(240px,15vw,286px) minmax(0,1fr);
}

.topbar{
  position:sticky;
  top:0;
  z-index:10;
  height:100vh;
  padding:20px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:22px;
  background:
    linear-gradient(180deg,rgba(15,28,49,.96),rgba(7,16,31,.98)),
    var(--sidebar);
  border-right:1px solid rgba(255,255,255,.10);
  box-shadow:12px 0 48px rgba(0,0,0,.22);
}
.sidebarTop{display:grid;gap:26px}
.brand{
  display:flex;
  align-items:center;
  gap:13px;
  padding:10px;
  border-radius:20px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.brand:hover{transform:translateY(-1px);background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.18)}
.brandIcon{
  width:46px;
  height:46px;
  border-radius:15px;
  display:block;
  object-fit:cover;
  flex:0 0 auto;
  background:#fff;
  box-shadow:0 14px 30px rgba(0,0,0,.28),0 0 0 1px rgba(255,255,255,.25);
}
.brandText{min-width:0;display:grid;gap:1px}
.brandText strong{color:#fff;font-size:17px;line-height:1.15;font-weight:900;letter-spacing:-.02em}
.brandText small{color:#a9b8cf;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.nav{display:grid;gap:8px}
.navItem{
  width:100%;
  min-height:42px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 12px;
  border:1px solid transparent;
  border-radius:14px;
  color:#d8e3f6;
  background:transparent;
  text-align:left;
  font-weight:800;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.navItem span{color:#4e8fff;font-size:10px}
.navItem:hover,.navItem:focus-visible{
  color:#fff;
  background:rgba(23,105,224,.16);
  border-color:rgba(91,148,255,.28);
  transform:translateX(2px);
}
.navItem[aria-current="page"]{
  color:#fff;
  background:rgba(23,105,224,.20);
  border-color:rgba(91,148,255,.34);
}
.navButton{appearance:none}

.session{
  display:grid;
  gap:10px;
  padding:12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:20px;
  background:rgba(255,255,255,.055);
}
.identity{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
  border-radius:13px;
  color:#dbe7fa;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.11);
  font-size:13px;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.layout{
  position:relative;
  z-index:1;
  width:100%;
  max-width:1720px;
  min-width:0;
  margin-inline:auto;
  padding:32px clamp(18px,2.6vw,42px) 56px;
  display:grid;
  gap:22px;
}

.dashboardCard,.sectionCard,.card{
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.dashboardCard{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-xl);
  padding:28px;
  color:#fff;
  background:
    linear-gradient(135deg,rgba(9,31,70,.98),rgba(11,77,179,.94) 68%,rgba(23,105,224,.92)),
    var(--brand-3);
  border-color:rgba(255,255,255,.16);
  box-shadow:var(--shadow-strong);
}
.dashboardCard::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 78% 12%,rgba(255,255,255,.18),transparent 18%),
    linear-gradient(120deg,transparent 0 46%,rgba(255,255,255,.10) 46% 46.4%,transparent 46.4% 100%);
}
.dashboardMain,.stats,.notice{position:relative;z-index:1}
.dashboardMain{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:22px;
}
.titleBlock{display:grid;gap:6px}
.domainTag{
  width:max-content;
  padding:6px 10px;
  border-radius:999px;
  color:#cfe1ff;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
}
h1,h2,h3,h4,p{margin:0}
h1{
  font-size:clamp(44px,7vw,82px);
  line-height:.92;
  letter-spacing:-.07em;
  color:#fff;
  text-shadow:0 8px 28px rgba(0,0,0,.26);
}
.heroActions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:28px;
}
.stats article{
  min-height:96px;
  padding:18px;
  border-radius:20px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter:blur(12px);
}
.statLabel{
  color:#d7e6ff;
  text-transform:uppercase;
  font-size:11px;
  font-weight:950;
  letter-spacing:.09em;
}
.stats strong{color:#fff;font-size:30px;line-height:1;font-weight:950;letter-spacing:-.04em}

.sectionCard{
  overflow:hidden;
  border-radius:var(--radius-xl);
  padding:18px;
  background:linear-gradient(180deg,#f7f9fd,#eef3fa);
}
.cardToolbar{
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.82);
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset;
}
.toolbarTitle{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
h2{font-size:22px;letter-spacing:-.035em;color:var(--ink)}
.toolbarCount{
  padding:5px 9px;
  border-radius:999px;
  color:var(--brand-3);
  background:var(--brand-soft);
  border:1px solid #c8dcff;
  font-size:12px;
  font-weight:900;
}
.search{
  width:min(360px,100%);
  min-height:44px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 12px;
  border:1px solid var(--line-strong);
  border-radius:15px;
  background:#fff;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.search:focus-within{border-color:var(--brand-2);box-shadow:var(--focus)}
.search svg{width:18px;height:18px;fill:none;stroke:var(--brand);stroke-width:2.4;stroke-linecap:round}
.search input{min-width:0;flex:1;border:0;background:transparent;padding:11px 0;color:var(--text);outline:0}
.search input::placeholder{color:#8a96aa}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));
  gap:16px;
  padding:16px 0 0;
  align-items:stretch;
}
.service{
  position:relative;
  overflow:hidden;
  min-height:246px;
  display:flex;
  flex-direction:column;
  gap:13px;
  padding:18px;
  border-radius:22px;
  background:linear-gradient(180deg,#fff,#fbfcff);
  border:1px solid var(--line);
  box-shadow:0 12px 34px rgba(18,32,56,.10);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.service::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg,var(--brand-3),var(--brand-2));
}

.service:hover{
  transform:translateY(-4px);
  border-color:#9fb8e3;
  box-shadow:0 22px 50px rgba(18,32,56,.16);
}

.serviceTop{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

/* Contenitore icona */
.serviceIcon{
  width:56px;
  height:56px;
  position:relative;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:16px;
  overflow:hidden;
  font-size:14px;
  font-weight:950;
  letter-spacing:-.03em;
}

/* Stato con icona reale caricata: niente contorno blu, niente sfondo */
.serviceIcon.iconHost{
  background:transparent;
  box-shadow:none;
  isolation:isolate;
}

/* Fallback con iniziali, usato solo se l'immagine non esiste */
.serviceIconFallback{
  position:absolute;
  inset:0;
  z-index:1;
  display:grid;
  place-items:center;
  border-radius:inherit;
  color:#fff;
  background:linear-gradient(135deg,var(--brand-3),var(--brand-2));
  box-shadow:0 10px 20px rgba(23,105,224,.20);
}

/* Immagine dell'app */
.serviceIconImg{
  position:absolute;
  inset:0;
  z-index:2;
  width:100%;
  height:100%;
  padding:2px;
  border-radius:inherit;
  object-fit:contain;
  background:transparent;
}

/* Quando l'icona è caricata, nasconde le iniziali */
.serviceIcon.iconLoaded .serviceIconFallback{
  opacity:0;
  pointer-events:none;
}

/* Quando l'icona manca, mostra le iniziali */
.serviceIcon.iconImageMissing .serviceIconFallback{
  opacity:1;
}

.serviceIcon.iconImageMissing .serviceIconImg{
  display:none;
}
.pill,.miniPill,.statusBadge,.counter{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  border-radius:999px;
  padding:4px 9px;
  font-size:12px;
  font-weight:900;
  line-height:1;
}
.pill{color:var(--brand-3);background:var(--brand-soft);border:1px solid #c8dcff}
.pill.teal,.service.teal::before{--brand-3:#0f766e;--brand-2:#10a296;--brand-soft:#e6fffb}
.pill.green,.service.green::before{--brand-3:#067647;--brand-2:#12a066;--brand-soft:#e8f8ef}
.pill.violet,.service.violet::before{--brand-3:#5145a5;--brand-2:#7868e6;--brand-soft:#f0edff}
.service h3{font-size:19px;color:var(--ink);letter-spacing:-.035em;line-height:1.18}
.service p{color:var(--muted);line-height:1.55;font-size:14px}
.serviceMeta{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto}
.miniPill{background:#edf2f8;color:#52627a;border:1px solid #d5deeb;font-size:11px}
.serviceFooter{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px;
  align-items:center;
  justify-content:space-between;
  padding-top:13px;
  border-top:1px solid var(--line);
}
.serviceActions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.path{min-width:0;max-width:none;color:#66758c;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}

.card{
  border-radius:22px;
  padding:18px;
  background:#fff;
}
.panelGrid{
  display:grid;
  grid-template-columns:minmax(320px,.85fr) minmax(0,1.15fr);
  gap:16px;
  padding-top:16px;
}
.tabs{
  width:max-content;
  display:flex;
  gap:4px;
  margin-top:16px;
  padding:5px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#dfe7f3;
}
.tab{
  border:0;
  border-radius:12px;
  padding:10px 14px;
  color:#40506a;
  background:transparent;
  font-weight:950;
  transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.tab:hover{background:rgba(255,255,255,.55);color:var(--ink)}
.tab.active{color:#fff;background:linear-gradient(135deg,var(--brand),var(--brand-2));box-shadow:0 9px 20px rgba(23,105,224,.25)}
.form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form h3,.form h4,.form .full,.actions{grid-column:1/-1}
h3{font-size:18px;color:var(--ink);letter-spacing:-.03em}
h4{font-size:15px;color:var(--ink);letter-spacing:-.02em}
.form label,.login label,.appPerms label{
  display:grid;
  gap:7px;
  color:#35445c;
  font-size:13px;
  font-weight:900;
}
input,select,textarea{
  width:100%;
  border:1px solid var(--line-strong);
  border-radius:13px;
  padding:11px 12px;
  color:var(--text);
  background:#fff;
  outline:0;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
textarea{resize:vertical;min-height:92px}
input:focus,select:focus,textarea:focus{border-color:var(--brand-2);box-shadow:var(--focus)}
.check{display:flex!important;align-items:center;gap:10px}
.check input{width:auto!important;accent-color:var(--brand)}
.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.primaryButton,.secondaryButton,.dangerButton,.quietButton,.iconButton{
  min-height:40px;
  border:1px solid transparent;
  border-radius:13px;
  padding:10px 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:950;
  line-height:1;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease,color .16s ease;
}
.primaryButton{
  color:#fff;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  border-color:rgba(255,255,255,.12);
  box-shadow:0 12px 24px rgba(23,105,224,.28), inset 0 1px 0 rgba(255,255,255,.22);
}
.primaryButton:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(23,105,224,.34), inset 0 1px 0 rgba(255,255,255,.22)}
.primaryButton:active,.secondaryButton:active,.dangerButton:active,.quietButton:active{transform:translateY(0)}
.secondaryButton{
  color:#24324a;
  background:linear-gradient(180deg,#fff,#edf2f8);
  border-color:var(--line-strong);
  box-shadow:0 8px 18px rgba(18,32,56,.08), inset 0 1px 0 rgba(255,255,255,.9);
}
.secondaryButton:hover{color:var(--brand-3);border-color:#9cb5dd;transform:translateY(-1px);box-shadow:0 14px 24px rgba(18,32,56,.12)}
.secondaryButton.inverse{color:#eaf2ff;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.24);box-shadow:none}
.secondaryButton.inverse:hover{background:rgba(255,255,255,.18);color:#fff}
.dangerButton{color:#8f1d13;background:#fff1ef;border-color:#ffc7c1;box-shadow:0 8px 18px rgba(180,35,24,.09)}
.dangerButton:hover{background:#ffe7e3;border-color:#ffaaa0;transform:translateY(-1px)}
.quietButton{
  min-height:36px;
  padding:8px 10px;
  color:#45556f;
  background:#f1f5fb;
  border-color:#d8e0ec;
  font-size:12px;
}
.quietButton:hover{color:var(--brand-3);background:#e8f1ff;border-color:#b8cdf2}
.iconButton{width:38px;height:38px;padding:0;border-radius:12px;background:#eef3fa;color:#25334b;border-color:var(--line)}

.cardTitleRow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.counter{color:#fff;background:linear-gradient(135deg,var(--brand),var(--brand-2));border:0;min-width:30px;justify-content:center}
.list{display:grid;gap:10px}
.row{
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:linear-gradient(180deg,#fff,#f9fbfe);
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.row:hover{border-color:#aec2e2;box-shadow:0 12px 24px rgba(18,32,56,.09);transform:translateY(-1px)}
.row strong{color:var(--ink);font-size:14px}
.row p{margin-top:5px;color:var(--muted);font-size:13px;display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.rowActions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.statusBadge{color:#067647;background:var(--success-soft);border:1px solid #b9e8ce}
.statusBadge.off{color:#8f1d13;background:#fff1ef;border-color:#ffd0ca}
.statusBadge.role{color:#3b4a61;background:#edf2f8;border-color:#d5deeb}
.filters{display:grid;grid-template-columns:1fr 150px 150px auto;gap:9px;margin-bottom:12px}
.appPerms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.emptyState{
  padding:18px;
  border:1px dashed #b7c3d7;
  border-radius:18px;
  color:var(--muted);
  background:#f7faff;
  font-weight:850;
}
.muted{color:var(--muted)}
.srOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.notice{
  margin-bottom:18px;
  padding:13px 15px;
  border-radius:16px;
  color:#103a7a;
  background:#e8f1ff;
  border:1px solid #b8cdf2;
  font-weight:900;
  box-shadow:0 12px 24px rgba(3,10,22,.12);
}
.notice.error{color:#8f1d13;background:#fff1ef;border-color:#ffc7c1}
.notice.success{color:#05603a;background:#e8f8ef;border-color:#b9e8ce}

.modal{
  position:fixed;
  inset:0;
  z-index:50;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(3,10,22,.72);
  backdrop-filter:blur(10px);
}
.login{
  position:relative;
  width:min(440px,100%);
  display:grid;
  gap:14px;
  padding:26px;
  border-radius:26px;
  color:var(--text);
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-strong);
}
.loginLogo{width:52px;height:52px;border-radius:16px;box-shadow:0 14px 28px rgba(18,32,56,.15)}
.login h2{font-size:28px;color:var(--ink);letter-spacing:-.045em}
.x{position:absolute;right:16px;top:16px}

.fadeIn{animation:fadeIn .22s ease both}
@keyframes fadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.loadingPulse{pointer-events:none;animation:pulse 1.1s ease-in-out infinite alternate}
.loadingPulse h3,.loadingPulse p,.loadingPulse .path{color:transparent;background:#e8eef7;border-radius:10px}
.loadingPulse .serviceIcon,.loadingPulse .pill,.loadingPulse .primaryButton{color:transparent;background:#dbe5f2;box-shadow:none}
@keyframes pulse{from{opacity:.62}to{opacity:1}}

.termsPage .layout{
  align-content:start;
}
.termsHero{
  display:grid;
  gap:16px;
  min-height:auto;
}
.termsHero .dashboardMain{
  align-items:flex-end;
}
.legalHeader{
  display:grid;
  gap:10px;
  max-width:920px;
}
.eyebrow{
  width:max-content;
  padding:6px 10px;
  border-radius:999px;
  color:#cfe1ff;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  font-size:12px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.legalMeta{
  color:#d7e6ff;
  font-weight:850;
  line-height:1.5;
}
.legalActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.termsCard{
  overflow:hidden;
  width:100%;
  background:linear-gradient(180deg,#ffffff,#f7f9fd);
  border-radius:var(--radius-xl);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  display:grid;
}
.termsCard section{
  padding:24px 28px;
  border-top:1px solid var(--line);
}
.termsCard section:first-child{border-top:0}
.termsCard h2{
  margin-bottom:9px;
  color:var(--ink);
  font-size:20px;
  letter-spacing:-.035em;
}
.termsCard p,.termsCard li{color:var(--muted);line-height:1.68}
.termsCard p + p{margin-top:8px}
.termsCard ul{margin:0;padding-left:22px}
.termsCard a{color:var(--brand);font-weight:900;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.termsBack{width:max-content}
.siteFooter{
  position:relative;
  z-index:1;
  width:100%;
  max-width:none;
  margin:0;
  padding:0 4px 0;
  display:flex;
  justify-content:space-between;
  gap:14px;
  color:#a9b8cf;
  font-size:13px;
  font-weight:800;
}
.siteFooter a{color:#dce8fb}

@media(max-width:1100px){
  .enterpriseShell{grid-template-columns:1fr}
  .topbar{
    position:sticky;
    height:auto;
    padding:12px;
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.10);
  }
  .sidebarTop{gap:12px}
  .nav{display:flex;gap:8px;overflow:auto;padding-bottom:2px}
  .navItem{width:auto;white-space:nowrap;justify-content:center}
  .session{display:flex;align-items:center;justify-content:flex-end;padding:0;background:transparent;border:0}
  .identity{max-width:260px}
  .layout{width:100%;padding:20px 14px 38px}
}
@media(max-width:820px){
  .dashboardMain{flex-direction:column;align-items:stretch}
  .heroActions,.legalActions{justify-content:flex-start}
  .stats,.panelGrid{grid-template-columns:1fr}
  .cardToolbar{align-items:stretch;flex-direction:column}
  .search{width:100%}
  .grid{grid-template-columns:1fr}
  .service{min-height:auto}
  .form{grid-template-columns:1fr}
  .filters{grid-template-columns:1fr 1fr}
  .appPerms{grid-template-columns:1fr}
}
@media(max-width:560px){
  .brand{padding:8px}.brandIcon{width:42px;height:42px}.brandText strong{font-size:16px}
  .session{align-items:stretch;flex-direction:column}.identity{max-width:none}
  .dashboardCard,.sectionCard,.card{border-radius:20px;padding:14px}
  h1{font-size:42px}.stats article{min-height:auto;align-items:flex-start;flex-direction:column}.serviceFooter{grid-template-columns:1fr}.path{text-align:left;max-width:100%}.filters{grid-template-columns:1fr}.tabs{width:100%}.tab{flex:1}.row{align-items:stretch;flex-direction:column}.rowActions{justify-content:flex-start}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
