/* Tycon ONE v66 — tile-first precision control surface in the Tycon identity. */
:root {
  color-scheme: light;
  --one-blue: #004aad;
  --one-blue-bright: #0c66d6;
  --one-blue-deep: #002e70;
  --one-orange: #f28a25;
  --one-orange-deep: #c9650b;
  --one-graphite: #16283c;
  --one-page-bg: #edf0f3;
  --one-page-bg-2: #dce2e8;
  --one-panel: rgba(245, 248, 251, .92);
  --one-panel-solid: #f7f9fb;
  --one-panel-soft: #e8edf2;
  --one-panel-deep: #d5dde5;
  --one-ink: #12283f;
  --one-muted: #526a82;
  --one-faint: #8396aa;
  --one-line: rgba(62, 91, 121, .22);
  --one-line-strong: rgba(35, 67, 102, .36);
  --one-good: #23885f;
  --one-warn: #c96d13;
  --one-bad: #c63f4d;
  --one-shadow: 0 25px 54px rgba(26, 43, 61, .16), 0 7px 16px rgba(24, 42, 61, .09), inset 0 1px 0 rgba(255,255,255,.94);
  --one-shadow-soft: 0 14px 30px rgba(26, 44, 63, .11), 0 3px 7px rgba(24, 42, 61, .07), inset 0 1px 0 rgba(255,255,255,.92);
  --one-inset: inset 0 2px 4px rgba(52, 76, 104, .15), inset 0 -1px 0 rgba(255,255,255,.9);
  --one-radius: 25px;
  --one-radius-sm: 16px;
  --one-bar-height: 72px;
  --one-dock-height: 74px;
  --one-focus: 0 0 0 3px rgba(0,74,173,.28), 0 0 0 6px rgba(22,40,60,.12);
}

:root[data-theme="night"] {
  color-scheme: dark;
  --one-page-bg: #071321;
  --one-page-bg-2: #0a1b2d;
  --one-panel: rgba(13, 30, 48, .9);
  --one-panel-solid: #0f2033;
  --one-panel-soft: #142a40;
  --one-panel-deep: #0a1828;
  --one-ink: #f0f6fc;
  --one-muted: #a9bbcd;
  --one-faint: #71879e;
  --one-line: rgba(132, 163, 194, .2);
  --one-line-strong: rgba(133, 172, 211, .36);
  --one-good: #58d49d;
  --one-warn: #ffad55;
  --one-bad: #ff7480;
  --one-shadow: 0 30px 72px rgba(0, 7, 16, .58), 0 8px 20px rgba(0, 7, 16, .36), inset 0 1px 0 rgba(190,218,244,.12);
  --one-shadow-soft: 0 18px 44px rgba(0, 7, 16, .42), 0 3px 10px rgba(0, 7, 16, .3), inset 0 1px 0 rgba(190,218,244,.1);
  --one-inset: inset 0 2px 8px rgba(0, 4, 12, .64), inset 0 -1px 0 rgba(143,178,213,.1);
}

html { min-height: 100%; background: var(--one-page-bg); }
body.one-v66-shell {
  min-width: 0;
  min-height: 100dvh;
  margin: 0 !important;
  padding: 0 0 76px !important;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% -4%, rgba(0, 74, 173, .095), transparent 30rem),
    radial-gradient(circle at 88% 4%, rgba(29, 49, 69, .07), transparent 27rem),
    linear-gradient(145deg, var(--one-page-bg), var(--one-page-bg-2)) fixed !important;
  color: var(--one-ink);
  font: 14px/1.45 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.one-v66-shell::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(43,62,82,.032) 1px, transparent 1px), linear-gradient(90deg, rgba(43,62,82,.032) 1px, transparent 1px);
  background-size: 30px 30px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
body.one-v66-shell *, body.one-v66-shell *::before, body.one-v66-shell *::after { box-sizing: border-box; }
body.one-v66-shell [hidden] { display: none !important; }
body.one-v66-shell :is(button,input,select,textarea) { font: inherit; }
body.one-v66-shell :is(a,button,input,select,textarea,summary):focus-visible { outline: none !important; box-shadow: var(--one-focus) !important; }
body.one-v66-shell a { color: var(--one-blue-bright); }

/* Shared identity, without restoring the retired application menu bar. */
.one-page-identity { display:flex; width:min(1680px,calc(100% - 32px)); min-height:64px; align-items:center; gap:18px; margin:0 auto; padding:6px 8px; color:var(--one-ink); }
.one-page-brand { display:flex; align-items:center; gap:11px; color:var(--one-ink)!important; text-decoration:none; }
.one-page-brand img { width:48px; height:48px; filter:drop-shadow(0 7px 10px rgba(3,20,39,.28)); }
.one-page-brand span,.one-page-context { display:grid; gap:1px; }
.one-page-brand strong { font-size:19px; letter-spacing:-.025em; }
.one-page-brand small { color:var(--one-muted); font-size:8px; font-weight:800; letter-spacing:.16em; }
.one-page-context { min-width:0; padding-left:18px; border-left:1px solid var(--one-line-strong); }
.one-page-context strong { overflow:hidden; color:var(--one-ink); font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
.one-page-context small { color:var(--one-muted); font-size:9px; }
.one-identity-account { display:grid; width:44px; height:44px; min-width:44px; min-height:44px; place-items:center; margin-left:auto; padding:0!important; border:1px solid var(--one-line-strong)!important; border-radius:14px!important; background:var(--one-panel-soft)!important; color:var(--one-ink)!important; box-shadow:var(--one-inset)!important; cursor:pointer; }
.one-identity-account svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.9; }

/* Command center and ONE tools share the glass navigation tiles. */
.one-navigation-deck {
  width: calc(100% - 2 * var(--one-page-gutter));
  margin: 6px auto 16px;
  padding: clamp(16px, 2vw, 26px);
  overflow: hidden;
  border: 1px solid var(--one-line-strong);
  border-radius: 24px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--one-panel-solid) 97%, var(--one-blue) 3%), var(--one-panel));
  box-shadow: var(--one-shadow);
  position: relative;
}
.one-navigation-deck::before { position: absolute; inset: 0; background: linear-gradient(rgba(25,53,81,.026) 1px, transparent 1px), linear-gradient(90deg,rgba(25,53,81,.026) 1px,transparent 1px), radial-gradient(circle at 88% 10%, rgba(0,74,173,.075), transparent 27%); background-size:24px 24px,24px 24px,auto; content: ""; pointer-events: none; }
.one-deck-heading { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.one-deck-heading > div:first-child { display: grid; gap: 5px; }
.one-deck-heading span { color: var(--one-blue-bright); font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.one-deck-heading h1 { margin: 0; color: var(--one-ink); font-size: clamp(1.75rem, 2.7vw, 2.6rem); letter-spacing: -.055em; line-height: 1; }
.one-deck-heading p { margin: 0; color: var(--one-muted); font-size: 12px; }
.one-deck-instrument { position:relative; display:flex; min-width:240px; align-items:center; justify-content:flex-end; gap:14px; color:var(--one-muted); }
.one-deck-instrument > div:last-child { display:grid; gap:3px; text-align:right; }
.one-deck-instrument strong { color:var(--one-ink); font-size:10px; letter-spacing:.12em; }
.one-deck-instrument small { color:var(--one-muted); font-size:8px; letter-spacing:.11em; }
.one-deck-radar { position:relative; display:grid; width:72px; height:72px; flex:0 0 72px; place-items:center; border:1px solid var(--one-line-strong); border-radius:50%; background:repeating-conic-gradient(from -9deg,color-mix(in srgb,var(--one-blue) 34%,transparent) 0 1deg,transparent 1deg 10deg),radial-gradient(circle,var(--one-panel-solid) 0 44%,transparent 45%),linear-gradient(145deg,var(--one-panel-soft),var(--one-panel-deep)); box-shadow:var(--one-inset),0 10px 22px rgba(21,42,63,.13); }
.one-deck-radar::before { position:absolute; inset:10px; border:1px solid color-mix(in srgb,var(--one-blue) 35%,var(--one-line)); border-radius:50%; content:""; }
.one-deck-radar span { z-index:1; color:var(--one-ink); font-size:18px; font-weight:780; letter-spacing:-.05em; }
.one-deck-radar i { position:absolute; width:3px; height:3px; border-radius:50%; background:var(--one-orange); box-shadow:0 0 7px var(--one-orange); transform:translate(20px,-17px); }

.one-tile-grid { position: relative; display: grid; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.one-app-tile {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 132px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px !important;
  overflow: hidden;
  border: 1px solid var(--one-line-strong) !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, var(--one-panel-solid), color-mix(in srgb,var(--one-panel-solid) 80%,#65b7ec)) !important;
  color: var(--one-ink) !important;
  box-shadow: 0 13px 24px rgba(26,46,67,.12), 0 3px 6px rgba(25,44,63,.08), inset 0 1px 0 rgba(255,255,255,.84), inset 0 -2px 0 rgba(31,52,73,.12) !important;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
:root[data-theme="night"] .one-app-tile { background: linear-gradient(145deg, #213b51, #142e43) !important; box-shadow: 0 20px 34px rgba(0,5,14,.45), inset 0 1px 0 rgba(184,215,245,.1), inset 0 -1px 0 rgba(0,0,0,.3) !important; }
.one-app-tile::before { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.24), transparent 28%, transparent 72%, rgba(26,47,70,.035)); content: ""; }
.one-app-tile::after { position:absolute; inset:auto 0 0; height:28%; pointer-events:none; background:repeating-linear-gradient(90deg,transparent 0 13px,rgba(35,56,77,.055) 13px 14px); content:""; mask-image:linear-gradient(to top,#000,transparent); }
.one-app-tile:hover { z-index: 2; border-color: color-mix(in srgb, var(--one-blue) 44%, var(--one-line)) !important; box-shadow: 0 20px 36px rgba(20,42,65,.17), 0 4px 9px rgba(25,44,63,.1), inset 0 1px 0 rgba(255,255,255,.88) !important; transform: translateY(-3px); }
.one-app-tile[aria-current="page"] { border-color: color-mix(in srgb, var(--one-blue) 52%, var(--one-line)) !important; }
.one-tile-index { position:absolute; z-index:2; top:13px; right:44px; color:var(--one-faint); font:750 8px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.12em; }
.one-tile-icon { position: relative; z-index: 1; display: grid; width: 49px; height: 49px; place-items: center; border: 1px solid rgba(145,174,202,.48); border-radius: 13px; background: radial-gradient(circle at 23% 14%, #effcff, transparent 46%), linear-gradient(145deg, #c9edff, #72bde9); color: #124b73; box-shadow: 0 10px 18px rgba(11,29,48,.22), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -2px 4px rgba(0,0,0,.28); }
[data-nav-id="setup"] .one-tile-icon { border-color: #d19b61; }
:root[data-theme="night"] .one-tile-icon {
  background: radial-gradient(circle at 23% 14%, #80c8ee, transparent 53%), linear-gradient(145deg, #4d97c3, #285f87);
  color: #f4fbff;
}
.one-tile-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.one-tile-copy { position: relative; z-index: 1; display: grid; gap: 4px; }
.one-tile-copy strong { color: var(--one-ink); font-size: 16px; letter-spacing: -.025em; }
.one-tile-copy small { color: var(--one-muted); font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.one-tile-arrow { position: relative; z-index: 1; align-self: start; padding-top: 14px; color: var(--one-blue-bright); }
.one-tile-arrow svg { display:block; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.one-tile-signal { position:absolute; z-index:2; right:14px; bottom:13px; width:54px; height:2px; overflow:hidden; border-radius:2px; background:var(--one-line); }
.one-tile-signal i { display:block; width:38%; height:100%; background:var(--one-blue); box-shadow:0 0 7px rgba(0,74,173,.5); }
.one-app-tile[data-nav-id="setup"] .one-tile-signal i { background:var(--one-orange); box-shadow:0 0 7px rgba(242,138,37,.45); }
:root { --one-bubble-background: radial-gradient(circle at 34% 26%,rgba(83,193,239,.92),rgba(19,108,180,.9) 44%,rgba(7,59,112,.92) 78%,rgba(3,32,65,.94)); }

/* ONE is the single launcher for tools and the assistant on every page. */
.one-tile-dock { position:fixed; z-index:8150; right:max(20px,env(safe-area-inset-right)); bottom:max(20px,env(safe-area-inset-bottom)); display:block; width:82px; height:82px; min-height:82px!important; padding:0!important; overflow:visible!important; border:0!important; border-radius:50%!important; background:transparent!important; box-shadow:none!important; }
.one-tile-dock::before,.one-tile-dock::after { content:none; }
html body .one-tile-dock .one-one-launch { appearance:none!important; position:relative!important; display:grid!important; box-sizing:border-box!important; width:82px!important; height:82px!important; min-width:82px!important; min-height:82px!important; max-width:82px!important; max-height:82px!important; place-items:center!important; padding:0!important; overflow:hidden!important; clip-path:circle(50% at 50% 50%); border:1px solid rgba(110,215,251,.82)!important; border-radius:50%!important; background:var(--one-bubble-background)!important; color:#fff!important; box-shadow:0 15px 32px rgba(0,13,33,.42),inset 0 1px 0 rgba(255,255,255,.36),inset 0 0 18px rgba(56,190,237,.26),0 0 0 0 rgba(41,184,235,.4)!important; backdrop-filter:blur(12px) saturate(140%); -webkit-backdrop-filter:blur(12px) saturate(140%); cursor:pointer; animation:one-one-pulse 2.4s ease-in-out infinite; }
html body .one-tile-dock .one-one-launch>span { position:relative; z-index:2; font-size:16px!important; font-weight:850; line-height:1!important; letter-spacing:.08em; text-shadow:0 2px 7px #00101f; }
html body .one-tile-dock .one-one-launch::before,html body .one-tile-dock .one-one-launch::after { content:none!important; }
html body .one-tile-dock .one-one-launch:hover { transform:translateY(-2px) scale(1.035); box-shadow:0 19px 38px rgba(0,13,33,.48),inset 0 1px 0 rgba(255,255,255,.36),inset 0 0 21px rgba(56,190,237,.25),0 0 30px rgba(25,172,226,.38)!important; }
@keyframes one-one-pulse { 0%,100%{transform:scale(1);box-shadow:0 15px 32px rgba(0,13,33,.42),inset 0 1px 0 rgba(255,255,255,.36),inset 0 0 18px rgba(56,190,237,.26),0 0 0 0 rgba(41,184,235,.38)} 50%{transform:scale(1.045);box-shadow:0 17px 35px rgba(0,13,33,.46),inset 0 1px 0 rgba(255,255,255,.4),inset 0 0 22px rgba(56,190,237,.34),0 0 0 10px rgba(41,184,235,0)} }
/* All-tools tile board: a grid, never a side drawer. */
html body dialog.one-tile-board { width: min(920px, calc(100vw - 28px)); max-width: none; max-height: min(760px, calc(100dvh - 28px)); padding: 0; overflow: auto; border: 1px solid var(--one-line-strong); border-radius: 28px; background: var(--one-panel-solid); color: var(--one-ink); box-shadow: 0 50px 110px rgba(2,14,30,.5); }
html body dialog.one-tile-board::backdrop { background: rgba(4,16,31,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.one-tile-board > header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--one-line); background: color-mix(in srgb, var(--one-panel-solid) 88%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.one-tile-board > header span { color: var(--one-blue-bright); font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.one-tile-board h2 { margin: 3px 0 0; color: var(--one-ink); font-size: 26px; letter-spacing: -.04em; }
.one-tile-board > header button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--one-line); border-radius: 14px; background: var(--one-panel-soft); color: var(--one-ink); cursor: pointer; }
.one-tile-board > header svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.one-tile-board-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 22px; }
.one-tile-board-grid .one-app-tile { min-height: 132px; }
.one-tile-board > footer { display: flex; justify-content: space-between; padding: 13px 24px 20px; color: var(--one-muted); font-size: 10px; }

/* Ask ONE keeps its own illuminated blue glass across the complete tile. */
html body .one-app-tile[data-nav-id="assistant"] {
  border-color: rgba(97,202,255,.92) !important;
  background: radial-gradient(ellipse at 11% -14%, #79daff 0%, transparent 55%), linear-gradient(125deg, #287faf, #185788) !important;
  color: #fff !important;
  box-shadow: 0 18px 34px rgba(6,91,185,.32), inset 0 1px 0 rgba(255,255,255,.42), inset 0 -4px 14px rgba(0,39,92,.28) !important;
}
html body .one-app-tile[data-nav-id="assistant"]::before {
  background: radial-gradient(circle at 20% 14%, rgba(255,255,255,.30), transparent 32%) !important;
}
html body .one-app-tile[data-nav-id="assistant"]::after {
  background: repeating-linear-gradient(90deg, transparent 0 13px, rgba(255,255,255,.08) 13px 14px) !important;
}
html body .one-app-tile[data-nav-id="assistant"] :is(.one-tile-copy strong,.one-tile-copy small,.one-tile-arrow,.one-tile-index) { color: #fff !important; text-shadow: 0 1px 3px #05375588; }
html body .one-app-tile[data-nav-id="assistant"] .one-tile-icon {
  border-color: rgba(206,239,255,.96) !important;
  background: linear-gradient(145deg, #e1f8ff61, #064a8370) !important;
  color: #f4fbff;
  box-shadow: 0 10px 18px rgba(0,32,78,.26), inset 0 1px 0 rgba(255,255,255,.34) !important;
}

.one-app-tile[data-nav-id="assistant"] .one-tile-signal{background:#ffffff42}.one-app-tile[data-nav-id="assistant"] .one-tile-signal i{background:#fff;box-shadow:0 0 8px #fff8}

body.one-v66-shell {
  --one-page-gutter: max(12px, env(safe-area-inset-left), env(safe-area-inset-right));
}
html body.one-v66-shell :is(.one-app-tile,.one-one-launch,.one-tile-board [data-close]):focus-visible {
  outline: 2px solid var(--one-blue-bright) !important;
  outline-offset: 2px;
}

/* Page placement; old sidebar dimensions are explicitly retired. */
body.one-v66-shell > .one-rail, body.one-v66-shell > .one-mobile-nav, body.one-v66-shell > .one-universal-header { display: none !important; }
body.one-v66-shell #root,
body.one-v66-shell > main,
body.one-v66-shell > .shell,
body.one-v66-shell > [class$="-shell"] { width: min(1680px, calc(100% - 32px)) !important; max-width: none !important; margin-inline: auto !important; }
body.one-v66-shell.tycon-one-app #root { width: 100% !important; }
body.one-v66-shell #root { min-height: 40vh; padding: 14px 0 28px !important; }
body.one-v66-shell:has(.one-navigation-deck:not([hidden])) #root { padding-top: 0 !important; }
body.one-v66-shell.one-static-page > main,
body.one-v66-shell.one-static-page > .shell,
body.one-v66-shell.one-static-page > [class$="-shell"] { padding-top: 14px !important; }
body.one-v66-shell #root > * { min-width: 0; margin-inline: auto; }
body.one-v66-shell #root :is(.site-portfolio,.site-overview,.device-dashboard,.one-site-workspace) { width: 100% !important; max-width: none !important; margin-left: 0 !important; }

/* Shared 3D surfaces for the established pages. */
body.one-v66-shell :is(.hero,.section,.card,.agent-hero,.agent-card,.agent-panel,.support-heading,.device-setup-hero,.location-panel,.devices-panel,.access-panel,.danger,.site-chooser,.device-choice,.verification,.package,.provision-card,.access-card,.detail-box,.section-card,.site-settings-card,.device-panel,.site-status-card,.camera-card,.web3-card) {
  border: 1px solid var(--one-line-strong) !important;
  border-radius: var(--one-radius) !important;
  background: linear-gradient(145deg, var(--one-panel-solid), var(--one-panel)) !important;
  color: var(--one-ink) !important;
  box-shadow: var(--one-shadow-soft) !important;
}
body.one-v66-shell :is(.hero,.agent-hero,.device-setup-hero,.support-heading) { position: relative; overflow: hidden; padding: clamp(22px, 3vw, 38px) !important; }
body.one-v66-shell :is(.hero,.agent-hero,.device-setup-hero,.support-heading)::after { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 88% 18%, rgba(31,52,73,.09), transparent 25%), linear-gradient(120deg, rgba(0,74,173,.055), transparent 48%); content: ""; }
body.one-v66-shell :is(.hero,.agent-hero,.device-setup-hero,.support-heading) > * { position: relative; z-index: 1; }
body.one-v66-shell :is(.section,.card,.agent-card,.agent-panel,.location-panel,.devices-panel,.access-panel,.danger,.site-chooser,.device-choice,.verification,.package,.provision-card,.access-card,.detail-box) { padding: clamp(18px, 2.2vw, 28px) !important; }
body.one-v66-shell :is(h1,h2,h3,h4) { color: var(--one-ink) !important; letter-spacing: -.035em !important; }
body.one-v66-shell h1 { font-size: clamp(2rem, 4vw, 3.6rem) !important; line-height: 1.02 !important; }
body.one-v66-shell h2 { font-size: clamp(1.3rem, 2.2vw, 2rem) !important; line-height: 1.15 !important; }
body.one-v66-shell :is(p,small,.muted,.sub) { color: var(--one-muted); }
body.one-v66-shell .eyebrow { color: var(--one-blue-bright) !important; font-size: 10px !important; font-weight: 850 !important; letter-spacing: .15em !important; text-transform: uppercase; }
body.one-v66-shell :is(input,select,textarea) { min-height: 44px; padding: 10px 12px; border: 1px solid var(--one-line-strong) !important; border-radius: 13px !important; background: var(--one-panel-soft) !important; color: var(--one-ink) !important; box-shadow: var(--one-inset) !important; }
body.one-v66-shell textarea { min-height: 96px; resize: vertical; }
body.one-v66-shell :is(input,select,textarea)::placeholder { color: var(--one-faint); }
body.one-v66-shell label { color: var(--one-muted); font-size: 12px; font-weight: 680; }
body.one-v66-shell :is(main button,.btn,.back,.agent-btn,.router-btn,.tab,.one-v7-action-link,.primary-button,.agent-device-top a) {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 9px 16px !important;
  border: 2px solid var(--one-line-strong) !important;
  border-radius: 13px !important;
  background: linear-gradient(145deg, var(--one-panel-solid), var(--one-panel-soft)) !important;
  color: var(--one-ink) !important;
  box-shadow: 0 7px 15px rgba(11,35,58,.10), inset 0 1px 0 rgba(255,255,255,.72) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease !important;
}
body.one-v66-shell :is(main button,.btn,.back,.agent-btn,.router-btn,.tab,.one-v7-action-link,.primary-button,.agent-device-top a):not(:disabled):hover {
  border-color: var(--one-blue-bright) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,74,173,.16), inset 0 1px 0 rgba(255,255,255,.8) !important;
}
body.one-v66-shell :is(.btn.primary,button.primary,a.primary,.primary-button,.agent-btn:not(.secondary),.tab[aria-selected="true"],main button[type="submit"],.view-toggle button.active) { border-color: var(--one-blue) !important; border-radius: 13px !important; background: linear-gradient(145deg, var(--one-blue-bright), var(--one-blue-deep)) !important; color: #fff !important; box-shadow: 0 12px 22px rgba(0,74,173,.22), inset 0 1px 0 rgba(255,255,255,.3) !important; }
body.one-v66-shell :is(main button,.btn,.back,.agent-btn,.router-btn,.tab,.one-v7-action-link,.primary-button):disabled { opacity: .5 !important; cursor: not-allowed !important; transform: none !important; box-shadow: none !important; }
body.one-v66-shell :is(.btn.danger,button.danger) { border-color: rgba(181,45,61,.62) !important; color: var(--one-danger, #a62636) !important; }
body.one-v66-shell [hidden] { display: none !important; }
body.one-v66-shell :is(.metric,.stat,.plan-metric,.device-card,.device-choice) { border: 1px solid var(--one-line) !important; border-radius: 18px !important; background: linear-gradient(145deg, var(--one-panel-soft), var(--one-panel-solid)) !important; box-shadow: var(--one-inset) !important; }
body.one-v66-shell table { width: 100%; color: var(--one-ink); }

/* Detailed equipment artwork with separately routed desktop and phone diagrams. */
.one-flow-v66 {
  --flow66-panel-top: #f9fcff;
  --flow66-panel-mid: #d8e4f0;
  --flow66-panel-bottom: #8ea5bc;
  --flow66-rim-hi: #fff;
  --flow66-rim-mid: #92a9c0;
  --flow66-rim-low: #344b62;
  --flow66-shadow: #061a35;
  --flow66-grid: rgba(0,74,173,.085);
  --flow66-blue: #0054b8;
  --flow66-orange: #ff922e;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--one-line-strong);
  border-radius: 17px;
  background: radial-gradient(circle at 50% 48%, rgba(0,74,173,.09), transparent 35%), linear-gradient(145deg, var(--one-panel-soft), var(--one-panel-solid));
  box-shadow: var(--one-inset);
}
:root[data-theme="night"] .one-flow-v66 { --flow66-panel-top:#415a72; --flow66-panel-mid:#213a52; --flow66-panel-bottom:#0b1b2c; --flow66-rim-hi:#8aa9c8; --flow66-rim-mid:#2d4963; --flow66-rim-low:#06111f; --flow66-grid:rgba(80,151,226,.10); background: radial-gradient(circle at 50% 48%, rgba(0,88,190,.15), transparent 36%), linear-gradient(145deg, #10263a, #081625); }
.flow66-diagram { display: block; width: 100%; max-width: 1160px; height: auto; margin-inline: auto; }
.flow66-mobile { display: none; }
.flow66-grid { opacity: .8; }
.flow66-center-ring { fill:none; stroke:color-mix(in srgb,var(--one-line-strong) 74%,transparent); stroke-width:1; }
.flow66-center-ring.is-outer { stroke-width:2; }
.flow66-center-ring.is-mid { stroke:color-mix(in srgb,var(--flow66-blue) 26%,var(--one-line)); stroke-width:4; opacity:.52; }
.flow66-center-ring.is-inner { stroke-dasharray:2 8; opacity:.7; }
.flow66-center-ticks { stroke:color-mix(in srgb,var(--one-muted) 58%,transparent); stroke-width:1; }
.flow66-center-trace { fill:none; stroke:var(--flow66-blue); stroke-width:2; stroke-linecap:round; stroke-dasharray:28 900; opacity:.74; filter:drop-shadow(0 0 4px rgba(0,74,173,.45)); transform-box:fill-box; transform-origin:center; transform:rotate(-42deg); }
.flow66-node-shadow { fill: rgba(4,18,36,.17); filter: blur(4px); }
.flow66-node-rim { stroke: var(--flow66-rim-hi); stroke-width: 1.2; filter: drop-shadow(0 5px 5px rgba(4,18,36,.16)); }
.flow66-node-face { stroke: var(--flow66-rim-low); stroke-width: 1; }
.flow66-node-highlight { fill: none; stroke: var(--flow66-rim-hi); stroke-width: 2; stroke-linecap: round; opacity: .72; }
.flow66-equipment { color: var(--one-blue); filter: drop-shadow(0 6px 5px rgba(0,31,78,.22)); }
.flow66-equipment-art { stroke-linecap:round; stroke-linejoin:round; }
.flow66-art-shadow { fill:rgba(1,12,25,.34); transform:translate(3px,5px); }
.flow66-art-frame { fill:#496b87; stroke:#9bc3df; stroke-width:1.4; }
.flow66-art-dark { fill:#071a2d; stroke:#244c6c; stroke-width:1; }
.flow66-art-glass { fill:#0b5c91; stroke:#55c7e7; stroke-width:1.2; }
.flow66-art-cells { fill:none; stroke:#91ddf2; stroke-width:1; opacity:.9; }
.flow66-art-metal,.flow66-art-fins { fill:none; stroke:#88aabd; stroke-width:2; }
.flow66-art-highlight { fill:none; stroke:rgba(225,247,255,.78); stroke-width:1.4; }
.flow66-art-orange { fill:#ff922e; stroke:#ffb65f; stroke-width:.8; filter:drop-shadow(0 0 3px rgba(255,146,46,.55)); }
.flow66-art-cyan { fill:#2ed6e1; stroke:#a0f5ff; stroke-width:.7; filter:drop-shadow(0 0 3px rgba(46,214,225,.45)); }
.flow66-art-cell { fill:#2eaad2; stroke:#7ce1ed; stroke-width:.7; }
.flow66-art-window { fill:#f0a549; stroke:#ffd18a; stroke-width:.7; }
.flow66-art-wave { fill:none; stroke:#42dfeb; stroke-width:2; filter:drop-shadow(0 0 3px rgba(66,223,235,.55)); }
.flow66-relay-bank rect { fill:#2e4a60; stroke:#85acc7; stroke-width:.8; }
.flow66-symbol { fill: color-mix(in srgb, var(--one-blue) 8%, var(--one-panel-solid)); stroke: var(--one-blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.flow66-solar-symbol path:nth-child(n+2), .flow66-grid-symbol { fill: none; }
.flow66-symbol-fill { fill: var(--one-orange); stroke: var(--one-orange-deep); }
.flow66-screen { fill: color-mix(in srgb, var(--one-blue) 18%, #07192c); stroke: var(--one-blue-bright); }
.flow66-label { fill: var(--one-muted); font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.flow66-primary { fill: var(--one-ink); font-size: 18px; font-weight: 780; letter-spacing: -.03em; }
.flow66-secondary { fill: var(--one-muted); font-size: 10px; }
.flow66-node-state circle:first-child { fill: color-mix(in srgb, var(--one-good) 16%, transparent); }
.flow66-node-state circle:last-child { fill: var(--one-good); filter: drop-shadow(0 0 5px var(--one-good)); }
.flow66-node.is-offline { opacity: .57; }
.flow66-node.is-offline .flow66-node-state circle:last-child { fill: var(--one-faint); filter: none; }
.flow66-link-bed { fill: none; stroke: color-mix(in srgb, var(--one-line-strong) 70%, transparent); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.flow66-link-core { fill: none; stroke: var(--flow66-orange); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: .35; }
.flow66-link.is-idle .flow66-link-bed { stroke: none; }
.flow66-link.is-idle .flow66-link-core { stroke: var(--one-line-strong); stroke-dasharray: 4 5; opacity: 1; }
.flow66-link.is-signal.is-active .flow66-link-core { stroke: var(--flow66-blue); }
.flow66-link.is-active .flow66-link-core { opacity: 1; filter: drop-shadow(0 0 5px currentColor); }
.flow66-particle { fill: var(--flow66-orange); filter: drop-shadow(0 0 5px var(--flow66-orange)); }
.flow66-link.is-signal .flow66-particle { fill: var(--flow66-blue); filter: drop-shadow(0 0 5px var(--flow66-blue)); }

@media (max-width: 760px) {
  .flow66-desktop { display: none; }
  .flow66-mobile { display: block; max-width: 520px; }
  .flow66-center-instrument { opacity: .45; }
  .flow66-label { font-size: 12px; }
  .flow66-primary { font-size: 20px; }
  .flow66-secondary { font-size: 11px; }
}

/* ONE Assistant launcher and conversation panel now belong to the same instrument system. */
body .site-assistant-launch {
  position: fixed !important;
  z-index: 8150 !important;
  right: 18px !important;
  bottom: 18px !important;
  display: none !important;
  min-width: 154px !important;
  min-height: 58px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 10px 18px 10px 48px !important;
  border: 1px solid color-mix(in srgb, var(--one-blue) 42%, var(--one-line-strong)) !important;
  border-radius: 15px !important;
  background: linear-gradient(145deg, #38536b, #10283f 58%, #071b30) !important;
  color: #fff !important;
  box-shadow: 0 18px 34px rgba(2,20,40,.3), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -2px 0 rgba(0,74,173,.75) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
}
body .site-assistant-launch::before { position: absolute; left: 13px; display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(152,185,216,.46); border-radius: 8px; background: linear-gradient(145deg, #38536b, #132a40); box-shadow: 0 5px 10px rgba(2,20,39,.28), inset 0 -2px 0 rgba(242,138,37,.76); content: "✦"; color: #fff; font-size: 14px; }
body .site-assistant-launch:hover { transform: translateY(-2px); }

@media (max-width: 760px) {
  :root { --one-bar-height: 60px; --one-dock-height: 68px; }
  body.one-v66-shell { padding-bottom: max(72px,calc(62px + env(safe-area-inset-bottom))) !important; }
  .one-page-identity { width:calc(100% - 16px); min-height:58px; gap:9px; margin-top:0; padding:4px; }
  .one-page-brand { gap:8px; }
  .one-page-brand img { width:42px; height:42px; }
  .one-page-brand strong { font-size:17px; }
  .one-page-brand small { font-size:7px; }
  .one-page-context { display:none; }
  .one-identity-account { width:40px; height:40px; min-width:40px; min-height:40px; padding:0!important; }
  .one-identity-account svg { display:block; width:22px; height:22px; }
  .one-navigation-deck { margin-block: 6px 16px; padding: 16px 12px; border-radius: 19px; }
  .one-deck-heading { margin-bottom: 12px; }
  .one-deck-instrument { display: none; }
  .one-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .one-app-tile { min-height: 116px; grid-template-columns: minmax(0, 1fr) auto; align-content: space-between; gap: 8px; padding: 12px !important; }
  .one-tile-icon { width: 40px; height: 40px; border-radius: 11px; }
  .one-tile-icon svg { width: 22px; height: 22px; }
  .one-tile-copy { grid-column: 1 / -1; }
  .one-tile-copy strong { font-size: 14px; }
  .one-tile-arrow { grid-column: 2; grid-row: 1; padding-top: 6px; }
  .one-tile-index { top: 12px; right: 35px; }
  .one-tile-signal { right: 12px; bottom: 8px; width: 34px; }
  .one-tile-dock { right:max(10px,env(safe-area-inset-right)); bottom:max(10px,env(safe-area-inset-bottom)); width:66px; height:66px; min-height:66px!important; padding:0; }
  html body .one-tile-dock .one-one-launch { width:66px!important; height:66px!important; min-width:66px!important; min-height:66px!important; max-width:66px!important; max-height:66px!important; }
  .one-one-launch>span { font-size:14px; }
  body.one-v66-shell #root, body.one-v66-shell > main, body.one-v66-shell > .shell, body.one-v66-shell > [class$="-shell"] { width: calc(100% - 16px) !important; }
  body.one-v66-shell.one-static-page > main, body.one-v66-shell.one-static-page > .shell, body.one-v66-shell.one-static-page > [class$="-shell"] { padding-top: 10px !important; }
  body.one-v66-shell :is(.hero,.agent-hero,.device-setup-hero,.support-heading) { padding: 21px 17px !important; }
  body.one-v66-shell :is(.section,.card,.agent-card,.agent-panel,.location-panel,.devices-panel,.access-panel,.danger,.site-chooser,.device-choice,.verification,.package,.provision-card,.access-card,.detail-box) { padding: 16px !important; }
  body.one-v66-shell :is(input,select,textarea) { font-size: 16px !important; }
  body .site-assistant-launch { display:none !important; }
  body .site-assistant-launch::before { inset: 8px !important; width: auto !important; height: auto !important; left: 8px !important; }
}

@media (max-width: 760px), (max-width: 950px) and (pointer: coarse) {
  html body dialog.one-tile-board { width: min(440px, calc(100% - 24px)); }
  .one-tile-board > header { padding: 14px; }
  .one-tile-board > footer { padding: 8px 14px 14px; }
  .one-tile-board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 12px; }
  .one-tile-board-grid .one-app-tile {
    aspect-ratio: 1;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: space-between;
    gap: 8px;
    padding: 12px 12px 16px !important;
  }
  .one-tile-board-grid .one-tile-copy { grid-column: 1 / -1; }
  .one-tile-board-grid .one-tile-arrow { grid-column: 2; grid-row: 1; padding-top: 6px; }
  .one-tile-board-grid .one-tile-index { top: 12px; right: 35px; }
}

@media (max-width: 370px) {
  .one-tile-board-grid .one-tile-copy small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.one-v66-shell *, body.one-v66-shell *::before, body.one-v66-shell *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Monthly Cloud Data hard stop and Zoho Billing recovery. */
.one-data-lock {
  position: fixed;
  z-index: 20000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 18, 33, .72);
  backdrop-filter: blur(12px);
}
.one-data-lock-card {
  width: min(560px, 100%);
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid var(--one-line-strong, rgba(118, 145, 172, .42));
  border-radius: 22px;
  background: var(--one-panel-solid, #fff);
  color: var(--one-ink, #142d45);
  box-shadow: 0 28px 80px rgba(0, 18, 38, .34);
}
.one-data-lock-kicker {
  margin: 0 0 8px;
  color: var(--one-blue, #0067d9);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.one-data-lock-card h2 { margin: 0 0 10px; font-size: clamp(26px, 5vw, 38px); line-height: 1.05; }
.one-data-lock-copy, .one-data-lock-meter, .one-data-lock-price, .one-data-lock-status { color: var(--one-muted, #5e7285); line-height: 1.45; }
.one-data-lock-meter { font-weight: 800; color: var(--one-ink, #142d45); }
.one-data-lock-field { display: grid; gap: 7px; margin-top: 18px; color: var(--one-muted, #5e7285); font-weight: 800; }
.one-data-lock-field span { display: flex; align-items: center; gap: 9px; color: var(--one-ink, #142d45); }
.one-data-lock-field input { width: 130px; min-height: 48px; padding: 0 14px; border: 1px solid var(--one-line-strong, #9aabba); border-radius: 12px; background: var(--one-panel, #f6f9fc); color: inherit; font: inherit; }
.one-data-lock-status { min-height: 22px; margin: 10px 0 0; }
.one-data-lock-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.one-data-lock-actions .btn { min-height: 48px; }
@media (max-width: 520px) {
  .one-data-lock-actions { display: grid; }
  .one-data-lock-actions .btn { width: 100%; }
}

/* Compact square workspace tiles, shared by the home deck and tools dialog. */
html body .one-tile-grid, html body .one-tile-board-grid {
 display:grid; grid-template-columns:repeat(auto-fill,minmax(128px,148px)); gap:12px; justify-content:start;
}
html body .one-tile-grid .one-app-tile, html body .one-tile-board-grid .one-app-tile {
 box-sizing:border-box; width:100%; height:auto; min-height:0; aspect-ratio:1;
 display:flex; flex-direction:column; align-items:center; justify-content:center;
 gap:8px; padding:14px 10px!important; text-align:center;
}
html body .one-app-tile .one-tile-icon { flex:none; width:34px; height:34px; border-radius:10px; }
html body .one-app-tile .one-tile-icon svg { width:21px; height:21px; }
html body .one-app-tile .one-tile-copy { display:grid; gap:4px; }
html body .one-app-tile .one-tile-copy strong { font-size:13px; line-height:1.2; }
html body .one-app-tile .one-tile-copy small { display:block; font-size:10px; line-height:1.2; }
html body .one-app-tile .one-tile-index { top:7px; right:9px; font-size:8px; }
html body .one-app-tile .one-tile-arrow { position:absolute; top:9px; left:9px; padding:0; }
html body .one-app-tile .one-tile-arrow svg { width:12px; height:12px; }
html body .one-app-tile .one-tile-signal { width:36px; right:10px; bottom:7px; }
@media(max-width:700px){
 html body .one-tile-grid, html body .one-tile-board-grid { grid-template-columns:repeat(auto-fill,minmax(82px,104px));gap:8px; }
 html body .one-tile-grid .one-app-tile,html body .one-tile-board-grid .one-app-tile { padding:10px 5px!important;gap:6px; }
 html body .one-app-tile .one-tile-copy strong { font-size:11px;line-height:1.15; }
 html body .one-app-tile .one-tile-copy small { display:none; }
 html body .one-app-tile .one-tile-icon { width:28px;height:28px;border-radius:8px; }
 html body .one-app-tile .one-tile-icon svg { width:18px;height:18px; }
 html body .one-tile-board-grid { padding:12px; }
}
html body a.one-back-button {
 display:inline-flex;align-items:center;gap:8px;min-height:44px;box-sizing:border-box;
 margin:0 0 20px;padding:10px 16px;border:1px solid var(--one-line-strong);border-radius:12px;
 background:linear-gradient(145deg,var(--one-panel-solid),var(--one-panel-soft));
 color:var(--one-ink);font:600 14px/1.2 Inter,system-ui,sans-serif;text-decoration:none;
 box-shadow:0 3px 9px #17314a18,inset 0 1px 0 #ffffff55;
}
html body a.one-back-button:hover { border-color:var(--one-blue);color:var(--one-blue); }
html body a.one-back-button:focus-visible { outline:3px solid var(--one-blue-bright);outline-offset:3px; }

/* Web 132 — compact professional command center and tools panel. */
.one-navigation-deck {
  margin-block: 4px 14px;
  padding: 18px 20px 20px;
  border-color: color-mix(in srgb, var(--one-line-strong) 76%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--one-panel-solid) 97%, var(--one-blue) 3%);
  box-shadow: 0 8px 24px rgba(4, 18, 34, .16);
}
.one-navigation-deck::before { content: none; }
.one-deck-heading {
  min-height: 62px;
  margin-bottom: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--one-line);
}
.one-deck-heading > div:first-child { gap: 3px; }
.one-deck-heading span { font-size: 9px; letter-spacing: .13em; }
.one-deck-heading h1 { font-size: clamp(1.65rem, 2.1vw, 2.15rem); letter-spacing: -.035em; }
.one-deck-heading p { font-size: 11px; }
.one-deck-instrument { min-width: 226px; gap: 11px; }
.one-deck-instrument > div:last-child { gap: 2px; }
.one-deck-instrument strong { font-size: 9px; letter-spacing: .11em; }
.one-deck-instrument small { font-size: 8px; letter-spacing: .08em; }
.one-deck-radar {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--one-panel-soft) 86%, var(--one-blue) 14%);
  box-shadow: none;
}
.one-deck-radar::before { inset: 5px; border-radius: 3px; }
.one-deck-radar span { font-size: 12px; letter-spacing: .02em; }
.one-deck-radar i { display: none; }

html body .one-tile-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
html body .one-tile-grid .one-app-tile,
html body .one-tile-board-grid .one-app-tile {
  display: grid;
  width: 100%;
  min-height: 72px;
  aspect-ratio: auto;
  grid-template-columns: 34px minmax(0, 1fr) 15px;
  grid-template-rows: 1fr;
  align-items: center;
  justify-content: stretch;
  gap: 10px;
  padding: 12px !important;
  border-color: var(--one-line) !important;
  border-radius: 6px !important;
  background: color-mix(in srgb, var(--one-panel-soft) 88%, var(--one-panel-solid)) !important;
  box-shadow: none !important;
  text-align: left;
  transform: none;
  transition: border-color .14s ease, background-color .14s ease, box-shadow .14s ease;
}
html body .one-app-tile::before,
html body .one-app-tile::after { content: none !important; }
html body .one-app-tile:hover {
  border-color: color-mix(in srgb, var(--one-blue) 58%, var(--one-line)) !important;
  background: color-mix(in srgb, var(--one-panel-soft) 78%, var(--one-blue) 22%) !important;
  box-shadow: inset 3px 0 0 var(--one-blue) !important;
  transform: none;
}
html body .one-app-tile[aria-current="page"] {
  border-color: color-mix(in srgb, var(--one-blue) 65%, var(--one-line)) !important;
  box-shadow: inset 3px 0 0 var(--one-blue) !important;
}
html body .one-app-tile .one-tile-icon {
  width: 34px;
  height: 34px;
  border-color: color-mix(in srgb, var(--one-blue) 34%, var(--one-line)) !important;
  border-radius: 5px;
  background: color-mix(in srgb, var(--one-panel-solid) 82%, var(--one-blue) 18%) !important;
  color: var(--one-blue-bright);
  box-shadow: none !important;
}
html body .one-app-tile .one-tile-icon svg { width: 19px; height: 19px; stroke-width: 1.7; }
html body .one-app-tile .one-tile-copy { display: grid; min-width: 0; gap: 2px; }
html body .one-app-tile .one-tile-copy strong { overflow: hidden; font-size: 12px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
html body .one-app-tile .one-tile-copy small { display: block; overflow: hidden; font-size: 9px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
html body .one-app-tile .one-tile-index { top: 5px; right: 7px; color: var(--one-faint); font-size: 7px; }
html body .one-app-tile .one-tile-arrow {
  position: static !important;
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  padding: 0 !important;
  color: var(--one-muted);
}
html body .one-app-tile .one-tile-arrow svg { width: 13px; height: 13px; }
html body .one-app-tile .one-tile-signal { display: none; }

html body .one-app-tile[data-nav-id="assistant"] {
  border-color: color-mix(in srgb, var(--one-blue) 62%, var(--one-line)) !important;
  background: color-mix(in srgb, var(--one-panel-soft) 76%, var(--one-blue) 24%) !important;
  color: var(--one-ink) !important;
  box-shadow: inset 3px 0 0 var(--one-blue) !important;
}
html body .one-app-tile[data-nav-id="assistant"] :is(.one-tile-copy strong,.one-tile-copy small,.one-tile-arrow,.one-tile-index) {
  color: var(--one-ink) !important;
  text-shadow: none;
}
html body .one-app-tile[data-nav-id="assistant"] .one-tile-icon {
  border-color: color-mix(in srgb, var(--one-blue) 48%, var(--one-line)) !important;
  background: color-mix(in srgb, var(--one-panel-solid) 75%, var(--one-blue) 25%) !important;
  color: var(--one-blue-bright);
  box-shadow: none !important;
}

html body dialog.one-tile-board {
  width: min(900px, calc(100vw - 32px));
  max-height: min(690px, calc(100dvh - 32px));
  border-color: var(--one-line-strong);
  border-radius: 10px;
  background: var(--one-panel-solid);
  box-shadow: 0 24px 70px rgba(2, 12, 26, .48);
}
html body dialog.one-tile-board::backdrop {
  background: rgba(3, 13, 27, .68);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.one-tile-board > header {
  padding: 16px 18px;
  background: var(--one-panel-solid);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.one-tile-board > header span { font-size: 8px; letter-spacing: .13em; }
.one-tile-board h2 { margin-top: 2px; font-size: 21px; letter-spacing: -.025em; }
.one-tile-board > header button {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: var(--one-panel-soft);
}
.one-tile-board > header svg { width: 17px; height: 17px; }
html body .one-tile-board-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 18px;
}
.one-tile-board-grid .one-app-tile { min-height: 72px; }
.one-tile-board > footer { padding: 10px 18px 14px; border-top: 1px solid var(--one-line); font-size: 9px; }

.one-tile-dock {
  width: 56px;
  height: 56px;
  min-height: 56px !important;
  border-radius: 8px !important;
}
html body .one-tile-dock .one-one-launch {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  clip-path: none;
  border-color: color-mix(in srgb, var(--one-blue-bright) 70%, var(--one-line)) !important;
  border-radius: 8px !important;
  background: color-mix(in srgb, var(--one-blue-deep) 88%, var(--one-panel-solid)) !important;
  box-shadow: 0 10px 24px rgba(0, 18, 42, .34), inset 0 0 0 1px rgba(255,255,255,.06) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: none;
}
html body .one-tile-dock .one-one-launch > span { font-size: 12px !important; letter-spacing: .1em; text-shadow: none; }
html body .one-tile-dock .one-one-launch:hover {
  transform: none;
  border-color: #5ab8f2 !important;
  box-shadow: 0 12px 28px rgba(0, 18, 42, .4), inset 0 0 0 1px rgba(255,255,255,.1) !important;
}

@media (max-width: 1180px) {
  html body .one-tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px), (max-width: 950px) and (pointer: coarse) {
  .one-navigation-deck { padding: 14px; border-radius: 8px; }
  .one-deck-heading { min-height: 0; margin-bottom: 10px; padding-bottom: 10px; }
  html body .one-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  html body .one-tile-board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 12px; }
  html body .one-tile-grid .one-app-tile,
  html body .one-tile-board-grid .one-app-tile {
    min-height: 66px;
    aspect-ratio: auto;
    grid-template-columns: 30px minmax(0, 1fr) 12px;
    padding: 10px !important;
  }
  html body .one-app-tile .one-tile-icon { width: 30px; height: 30px; }
  html body .one-app-tile .one-tile-copy { grid-column: 2; grid-row: 1; }
  html body .one-app-tile .one-tile-copy strong { font-size: 11px; }
  html body .one-app-tile .one-tile-copy small { display: none; }
  html body dialog.one-tile-board { width: min(620px, calc(100% - 20px)); border-radius: 8px; }
  .one-tile-board > header { padding: 12px; }
  .one-tile-board > footer { padding: 8px 12px 11px; }
  .one-tile-dock { right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); width: 50px; height: 50px; min-height: 50px !important; }
  html body .one-tile-dock .one-one-launch { width: 50px !important; height: 50px !important; min-width: 50px !important; min-height: 50px !important; max-width: 50px !important; max-height: 50px !important; }
}
@media (max-width: 520px) {
  html body .one-tile-grid,
  html body .one-tile-board-grid { grid-template-columns: 1fr; }
}

/* Preserve the square tile language while removing the toy-like gloss. */
html body .one-tile-grid {
  grid-template-columns: repeat(auto-fill, minmax(128px, 148px));
  gap: 10px;
  justify-content: start;
}
html body .one-tile-board-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
html body .one-tile-grid .one-app-tile,
html body .one-tile-board-grid .one-app-tile {
  display: flex;
  min-height: 0;
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px !important;
  border-radius: 8px !important;
  text-align: center;
}
html body .one-app-tile .one-tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 5px;
  background: transparent !important;
}
html body .one-app-tile .one-tile-icon svg { width: 21px; height: 21px; stroke-width: 1.45; }
html body .one-app-tile .one-tile-copy { display: grid; gap: 3px; }
html body .one-app-tile .one-tile-copy strong {
  overflow: visible;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: clip;
  white-space: normal;
}
html body .one-app-tile .one-tile-copy small {
  display: block;
  overflow: visible;
  font-size: 9px;
  line-height: 1.25;
  text-overflow: clip;
  white-space: normal;
}
html body .one-app-tile .one-tile-index { top: 7px; right: 9px; }
html body .one-app-tile .one-tile-arrow {
  position: absolute !important;
  top: 9px;
  left: 9px;
  padding: 0 !important;
}
html body .one-app-tile .one-tile-arrow svg { width: 11px; height: 11px; }
html body .one-app-tile .one-tile-signal {
  right: 10px;
  bottom: 7px;
  display: block;
  width: 32px;
  height: 1px;
  background: var(--one-line);
}

html body .one-app-tile[data-nav-id="assistant"] {
  border-color: rgba(91, 199, 244, .84) !important;
  background: var(--one-bubble-background) !important;
  box-shadow: 0 12px 30px rgba(3, 83, 151, .3), inset 0 1px 0 rgba(255,255,255,.28), inset 0 0 18px rgba(65,190,239,.18) !important;
}
html body .one-app-tile[data-nav-id="assistant"] :is(.one-tile-copy strong,.one-tile-copy small,.one-tile-arrow,.one-tile-index) {
  color: #fff !important;
}
html body .one-app-tile[data-nav-id="assistant"] .one-tile-icon {
  border-color: rgba(202, 239, 255, .72) !important;
  background: rgba(5, 50, 95, .3) !important;
  color: #fff;
}
html body .one-app-tile[data-nav-id="assistant"]:hover {
  border-color: #9be4ff !important;
  background: var(--one-bubble-background) !important;
  box-shadow: 0 15px 36px rgba(3, 83, 151, .4), inset 0 1px 0 rgba(255,255,255,.32), 0 0 24px rgba(47,179,232,.2) !important;
}

.one-tile-dock {
  width: 74px;
  height: 74px;
  min-height: 74px !important;
  border-radius: 50% !important;
}
html body .one-tile-dock .one-one-launch {
  width: 74px !important;
  height: 74px !important;
  min-width: 74px !important;
  min-height: 74px !important;
  max-width: 74px !important;
  max-height: 74px !important;
  clip-path: circle(50% at 50% 50%);
  border-color: rgba(110, 215, 251, .82) !important;
  border-radius: 50% !important;
  background: var(--one-bubble-background) !important;
  box-shadow: 0 14px 30px rgba(0,13,33,.4), inset 0 1px 0 rgba(255,255,255,.36), inset 0 0 18px rgba(56,190,237,.25) !important;
  animation: one-one-pulse 2.8s ease-in-out infinite;
}
html body .one-tile-dock .one-one-launch:hover {
  transform: translateY(-1px) scale(1.02);
  border-color: #a5e9ff !important;
  box-shadow: 0 18px 36px rgba(0,13,33,.46), inset 0 1px 0 rgba(255,255,255,.4), 0 0 28px rgba(25,172,226,.3) !important;
}

@media (max-width: 760px), (max-width: 950px) and (pointer: coarse) {
  html body .one-tile-grid,
  html body .one-tile-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  html body .one-tile-grid .one-app-tile,
  html body .one-tile-board-grid .one-app-tile {
    min-height: 0;
    aspect-ratio: 1;
    padding: 11px 7px !important;
  }
  html body .one-app-tile .one-tile-copy { grid-column: auto; grid-row: auto; }
  html body .one-app-tile .one-tile-copy small { display: none; }
  .one-tile-dock { width: 62px; height: 62px; min-height: 62px !important; }
  html body .one-tile-dock .one-one-launch { width: 62px !important; height: 62px !important; min-width: 62px !important; min-height: 62px !important; max-width: 62px !important; max-height: 62px !important; }
}

/* Mode-specific metallic materials; the new technical glyphs remain unembellished. */
:root {
  --one-command-deck: linear-gradient(150deg, #f8fafc 0%, #e8edf2 48%, #d6dee5 100%);
  --one-command-tile: linear-gradient(145deg, #fbfdff 0%, #e1e8ee 52%, #c1ccd6 100%);
  --one-command-tile-hover: linear-gradient(145deg, #ffffff 0%, #e5eef5 50%, #bdccd9 100%);
  --one-command-icon: linear-gradient(145deg, #f9fbfd 0%, #d6dfe6 52%, #aebbc6 100%);
  --one-command-icon-ink: #24455f;
  --one-command-edge: rgba(48, 76, 101, .42);
  --one-command-highlight: rgba(255, 255, 255, .82);
  --one-command-shadow: 0 8px 18px rgba(25, 43, 61, .13), inset 0 1px 0 rgba(255,255,255,.95), inset 0 -2px 3px rgba(38,59,79,.14);
}
:root[data-theme="night"] {
  --one-command-deck: linear-gradient(150deg, #142b40 0%, #0f2235 52%, #091827 100%);
  --one-command-tile: linear-gradient(145deg, #29455c 0%, #183247 52%, #0c2133 100%);
  --one-command-tile-hover: linear-gradient(145deg, #31526d 0%, #1b3a52 50%, #0d263b 100%);
  --one-command-icon: linear-gradient(145deg, #516d84 0%, #2e4a60 48%, #172e42 100%);
  --one-command-icon-ink: #d8e9f7;
  --one-command-edge: rgba(132, 169, 201, .42);
  --one-command-highlight: rgba(211, 232, 249, .16);
  --one-command-shadow: 0 10px 22px rgba(0, 7, 16, .34), inset 0 1px 0 rgba(211,232,249,.16), inset 0 -2px 3px rgba(0,5,12,.32);
}
.one-navigation-deck { background: var(--one-command-deck); }
html body .one-tile-grid .one-app-tile,
html body .one-tile-board-grid .one-app-tile {
  border-color: var(--one-command-edge) !important;
  background: var(--one-command-tile) !important;
  box-shadow: var(--one-command-shadow) !important;
}
html body .one-app-tile::before {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  background: linear-gradient(118deg, var(--one-command-highlight), transparent 29%, transparent 72%, rgba(0, 18, 38, .05));
  content: "" !important;
}
html body .one-app-tile:hover {
  border-color: color-mix(in srgb, var(--one-blue-bright) 58%, var(--one-command-edge)) !important;
  background: var(--one-command-tile-hover) !important;
  box-shadow: 0 11px 24px rgba(13, 37, 61, .18), inset 3px 0 0 var(--one-blue), inset 0 1px 0 var(--one-command-highlight) !important;
}
html body .one-app-tile .one-tile-icon {
  border-color: var(--one-command-edge) !important;
  background: var(--one-command-icon) !important;
  color: var(--one-command-icon-ink);
  box-shadow: inset 0 1px 0 var(--one-command-highlight), inset 0 -1px 2px rgba(0, 18, 38, .18) !important;
}
html body dialog.one-tile-board { background: var(--one-command-deck); }
.one-tile-board > header { background: color-mix(in srgb, var(--one-panel-solid) 84%, transparent); }

html body .one-app-tile[data-nav-id="assistant"],
html body .one-app-tile[data-nav-id="assistant"]:hover {
  border-color: rgba(91, 199, 244, .9) !important;
  background: var(--one-bubble-background) !important;
  box-shadow: 0 13px 31px rgba(3, 83, 151, .34), inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 18px rgba(65,190,239,.2) !important;
}
html body .one-app-tile[data-nav-id="assistant"]::before {
  background: linear-gradient(118deg, rgba(255,255,255,.28), transparent 31%, transparent 72%, rgba(0,20,48,.16));
}
html body .one-app-tile[data-nav-id="assistant"] .one-tile-icon {
  border-color: rgba(202, 239, 255, .76) !important;
  background: linear-gradient(145deg, rgba(187,235,255,.34), rgba(3,48,92,.42)) !important;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 2px rgba(0,16,39,.28) !important;
}

/* Web 133 — larger symbols and denser three-column phone navigation. */
html body .one-tile-grid .one-app-tile,
html body .one-tile-board-grid .one-app-tile {
  gap: 9px;
  padding: 11px 8px !important;
}
html body .one-app-tile .one-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 7px;
}
html body .one-app-tile .one-tile-icon svg {
  width: 29px;
  height: 29px;
  stroke-width: 1.55;
}
html body .one-app-tile .one-tile-copy strong { font-size: 13px; }
html body .one-app-tile .one-tile-copy small { font-size: 9px; line-height: 1.2; }

@media (max-width: 760px), (max-width: 950px) and (pointer: coarse) {
  .one-navigation-deck {
    width: calc(100% - 12px);
    margin-block: 3px 10px;
    padding: 10px;
  }
  .one-deck-heading {
    margin-bottom: 8px;
    padding: 6px 2px 9px;
  }
  body.one-v66-shell .one-deck-heading h1 {
    font-size: clamp(1.75rem, 9vw, 2.2rem) !important;
    line-height: 1 !important;
  }
  .one-deck-heading p { max-width: 34rem; font-size: 11px; line-height: 1.3; }
  html body .one-tile-grid,
  html body .one-tile-board-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  html body .one-tile-board-grid { padding: 9px; }
  html body .one-tile-grid .one-app-tile,
  html body .one-tile-board-grid .one-app-tile {
    min-width: 0;
    aspect-ratio: 1;
    gap: 6px;
    padding: 8px 4px !important;
    border-radius: 7px !important;
  }
  html body .one-app-tile .one-tile-icon {
    width: 44px;
    height: 44px;
    border-radius: 6px;
  }
  html body .one-app-tile .one-tile-icon svg {
    width: 27px;
    height: 27px;
  }
  html body .one-app-tile .one-tile-copy strong {
    font-size: clamp(9px, 2.8vw, 12px);
    line-height: 1.08;
  }
  html body .one-app-tile .one-tile-copy small { display: none; }
  html body .one-app-tile .one-tile-index { top: 5px; right: 6px; font-size: 6px; }
  html body .one-app-tile .one-tile-arrow { top: 7px; left: 6px; }
  html body .one-app-tile .one-tile-signal { right: 7px; bottom: 5px; width: 25px; }
  html body dialog.one-tile-board {
    width: calc(100% - 12px);
    max-height: calc(100dvh - 12px);
  }
  .one-tile-board > header { padding: 10px; }
  .one-tile-board h2 { font-size: 19px; }
  .one-tile-board > footer { padding: 7px 10px 9px; }
}

@media (max-width: 370px) {
  html body .one-app-tile .one-tile-icon { width: 39px; height: 39px; }
  html body .one-app-tile .one-tile-icon svg { width: 24px; height: 24px; }
  html body .one-app-tile .one-tile-copy strong { font-size: 9px; }
}
