/* LEOS Atelier Royal. Presentation only; native feature DOM is retained. */
html.leos-ux-preview {
  --ux-ivory:#f7f5ef; --ux-ink:#1c2946; --ux-muted:#67738b;
  --ux-royal:#2645c8; --ux-deep:#152b82; --ux-turquoise:#06aeb7;
  --ux-border:rgba(151,170,198,.24); --ux-glass:rgba(255,255,255,.76);
  --ux-header-height:64px; --ux-copy-height:26px;
  --bg:var(--ux-ivory); --surface:#fff; --surface-soft:#f4f6fa;
  --line:#dfe5ef; --line-strong:#cbd6e8; --text:var(--ux-ink);
  --muted:var(--ux-muted); --navy:var(--ux-royal); --navy-deep:var(--ux-deep);
  --cyan:var(--ux-turquoise); --cyan-soft:#e8f7f7;
  --font-display:Georgia,'Times New Roman',serif;
  color-scheme:light!important;
  background:var(--ux-ivory);
}
html.leos-ux-preview #leosE83 {
  margin:0!important; color:var(--ux-ink)!important;
  background:radial-gradient(ellipse at 100% 3%,rgba(23,177,187,.065),transparent 42%),radial-gradient(ellipse at 2% 70%,rgba(45,73,202,.045),transparent 50%),var(--ux-ivory)!important;
  font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  -webkit-font-smoothing:antialiased;
}
html.leos-ux-preview #leosE83 #appShell.app:not(.hidden) {
  display:block!important; height:100dvh!important; min-height:0!important;
  padding:0!important; overflow:hidden!important;
}
html.leos-ux-preview #leosE83 #appShell>.mobile-header,
html.leos-ux-preview #leosE83 #appShell>.sidebar,
html.leos-ux-preview #leosE83 #appShell>.mobile-nav-backdrop,
html.leos-ux-preview #leosE83 .e83-bottom-nav,
html.leos-ux-preview #leosE83 #e83BottomNav,
html.leos-ux-preview #leosE83 #e83MobileNav,
html.leos-ux-preview #leosE83 .e83-mobile-nav,
html.leos-ux-preview #leosE83 #e83MobileBottomNav,
html.leos-ux-preview #leosE83 .e83-mobile-bottom-nav,
html.leos-ux-preview #leosE83 .mobile-bottom-nav,
html.leos-ux-preview #leosE83 .bottom-nav {
  display:none!important;
}
html.leos-ux-preview #leosE83 #appShell #mainContent {
  display:block!important; position:relative!important; width:100%!important;
  height:calc(100dvh - var(--ux-header-height) - var(--ux-copy-height) - env(safe-area-inset-top,0px))!important;
  max-height:none!important; min-height:0!important;
  margin:calc(var(--ux-header-height) + var(--ux-copy-height) + env(safe-area-inset-top,0px)) 0 0!important;
  padding:25px 30px calc(24px + env(safe-area-inset-bottom,0px)) 22px!important;
  overflow-y:auto!important; overflow-x:hidden!important;
  overscroll-behavior-y:contain; box-sizing:border-box!important;
  background:transparent!important; scroll-padding-top:12px;
}
html.leos-ux-preview #leosE83 #mainContent>section {
  width:min(1120px,100%)!important; max-width:1120px!important; margin:0 auto!important;
  min-width:0!important; padding-bottom:14px;
}
html.leos-ux-preview #leosE83 #mainContent>section.hidden {display:none!important}
html.leos-ux-preview #leosE83 .ux-native-hero {display:none!important}
html.leos-ux-preview #leosE83 #uxPreviewShell {color:var(--ux-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
html.leos-ux-preview.ux-authenticated #leos-preview-banner {display:none!important}
#uxPreviewShell [hidden] {display:none!important}
html.leos-ux-preview.ux-native-dialog-open #uxEdge {visibility:hidden!important;pointer-events:none!important}
html.leos-ux-preview.ux-native-dialog-open .ux-header {pointer-events:none!important}
html.leos-ux-preview #leosE83 #modal .modalbg {z-index:20000!important}
.ux-icon {width:21px;height:21px;flex-shrink:0;display:block}
.ux-header {
  box-sizing:border-box; position:fixed; inset:0 0 auto; z-index:10010;
  height:calc(var(--ux-header-height) + env(safe-area-inset-top,0px));
  padding:calc(8px + env(safe-area-inset-top,0px)) 20px 8px;
  display:flex; align-items:center; gap:18px;
  background:rgba(250,250,248,.88); border-bottom:1px solid rgba(255,255,255,.85);
  box-shadow:0 1px 0 rgba(140,156,185,.18),0 6px 28px rgba(21,43,130,.035);
  -webkit-backdrop-filter:blur(30px) saturate(1.35);backdrop-filter:blur(30px) saturate(1.35);
}
html.leos-ux-preview #leosE83 .ux-header .ux-brand {
  border:0!important; background:transparent!important; box-shadow:none!important;
  padding:0!important; width:123px; min-width:104px; height:44px;
  display:flex; align-items:center; color:var(--ux-deep); outline-offset:5px;
}
.ux-brand img {display:block;max-width:100%;width:123px;max-height:43px;object-fit:contain;object-position:left center}
.ux-brand-fallback {font:30px/1 Georgia,'Times New Roman',serif;letter-spacing:-1px;color:var(--ux-deep)}
html.leos-ux-preview #leosE83 .ux-return-button {
  display:flex;align-items:center;gap:7px;min-width:104px;max-width:180px;
  min-height:44px!important;padding:0 11px!important;border-radius:14px!important;
  border:1px solid rgba(170,186,218,.32)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(235,243,252,.7))!important;
  box-shadow:inset 0 1px 0 #fff,0 3px 12px rgba(37,61,132,.055)!important;
  color:var(--ux-deep)!important;font:600 12px/1.2 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
.ux-return-button span {min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.leos-ux-preview.ux-has-return #leosE83 .ux-header .ux-brand {display:none!important}
.ux-header-context {display:flex;align-items:center;gap:11px;font-size:13px;min-width:0;flex:1}
.ux-header-context>#uxPageName {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#5f6c87}
.ux-preview-pill {display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid rgba(38,69,200,.13);border-radius:999px;background:rgba(239,243,255,.72);font-size:10px;letter-spacing:.03em;font-weight:650;color:var(--ux-deep);white-space:nowrap}
.ux-preview-pill i {width:4px;height:4px;border-radius:50%;background:var(--ux-turquoise);box-shadow:0 0 0 3px rgba(6,174,183,.09)}
.ux-header-actions {display:flex;gap:7px;align-items:center}
html.leos-ux-preview #leosE83 .ux-icon-button,
html.leos-ux-preview #leosE83 .ux-quiet-icon {
  flex:0 0 44px; width:44px; height:44px; min-height:44px!important; padding:0!important;
  border-radius:15px!important; display:grid; place-items:center; cursor:pointer;
  color:#2c4384!important; border:1px solid rgba(255,255,255,.98)!important;
  background:linear-gradient(140deg,rgba(255,255,255,.95),rgba(241,246,252,.6))!important;
  box-shadow:inset 0 0 0 1px rgba(149,166,196,.12),inset 0 1px 0 #fff,0 3px 10px rgba(43,61,110,.055)!important;
}
html.leos-ux-preview #leosE83 .ux-quiet-icon {background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:#79869c!important}
.ux-copy-strip {box-sizing:border-box;position:fixed;top:calc(var(--ux-header-height) + env(safe-area-inset-top,0px));height:var(--ux-copy-height);left:0;right:0;z-index:10000;display:flex;align-items:center;justify-content:center;gap:7px;background:#edf1f9;border-bottom:1px solid #e0e5f1;font-size:10px;color:#5e6d89;letter-spacing:.01em}
.ux-copy-strip span {color:#a6b2c6}
html.leos-ux-preview #leosE83 button:focus-visible,
html.leos-ux-preview #leosE83 a:focus-visible,
html.leos-ux-preview #leosE83 input:focus-visible,
html.leos-ux-preview #leosE83 textarea:focus-visible,
html.leos-ux-preview #leosE83 select:focus-visible {outline:3px solid #08aeb8!important;outline-offset:3px!important}
html.leos-ux-preview #leosE83 button {touch-action:manipulation;transition:background .18s,box-shadow .18s,transform .18s}
html.leos-ux-preview #leosE83 button:disabled {opacity:.45;cursor:default}
html.leos-ux-preview #leosE83 :is(.card,.member-panel,.member-list-item,.e112-course-card,.e125mc,.hub124-item,.dcv3-card,.dc-v2-card) {
  border:1px solid rgba(147,167,199,.24)!important; border-radius:21px!important;
  background:#fff!important; box-shadow:0 5px 22px rgba(29,50,106,.035),inset 0 1px 0 rgba(255,255,255,.9)!important;
}
html.leos-ux-preview #leosE83 :is(h1,h2,h3) {color:var(--ux-ink);letter-spacing:-.025em}
html.leos-ux-preview #leosE83 h1 {font-family:Georgia,'Times New Roman',serif;font-weight:400}
html.leos-ux-preview #leosE83 :is(h2,h3) {font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-weight:600}
html.leos-ux-preview #leosE83 h1 {font-size:clamp(28px,5vw,42px);line-height:1.1}
html.leos-ux-preview #leosE83 h2 {font-size:24px;line-height:1.17}
html.leos-ux-preview #leosE83 :is(input,textarea,select) {font-size:max(16px,.94rem);border-radius:12px;border-color:#d7dfed;color:var(--ux-ink);background:#fff}
html.leos-ux-preview #leosE83 button.primary,
html.leos-ux-preview #leosE83 .button-link.primary {
  background:linear-gradient(145deg,#3358de 0%,#2445c7 55%,#1f3ca8 100%)!important;
  border:1px solid rgba(27,54,153,.2)!important;border-radius:14px!important;color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 4px 12px rgba(36,69,199,.18)!important;
}
html.leos-ux-preview #leosE83 .ux-today {margin-bottom:18px}
.ux-greeting {display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 22px}
.ux-kicker {display:block;font:600 9px/1.4 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.15em;color:#6b7b9c}
html.leos-ux-preview #leosE83 .ux-greeting h1 {margin:7px 0 7px;font-size:39px;letter-spacing:-.045em;color:#152b57}
.ux-greeting p {margin:0;color:#7b8595;font-size:12px;line-height:1.4}
html.leos-ux-preview #leosE83 .ux-leo-launch {
  display:flex;align-items:center;gap:18px;position:relative;isolation:isolate;
  width:100%;box-sizing:border-box;min-height:150px;padding:27px 25px!important;text-align:left;
  border:1px solid rgba(255,255,255,.82)!important;border-radius:27px!important;
  background:radial-gradient(ellipse at 101% 0,rgba(51,220,219,.65),transparent 52%),radial-gradient(ellipse at 1% 100%,rgba(45,93,230,.85),transparent 72%),linear-gradient(128deg,#1e348f 5%,#304dd1 52%,#177996 100%)!important;
  color:#fff!important;overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.52),inset 0 -1px 0 rgba(5,31,106,.3),0 14px 30px rgba(36,63,145,.16),0 3px 6px rgba(21,58,131,.07)!important;
}
.ux-leo-launch:before {content:'';position:absolute;inset:1px;border-radius:25px;pointer-events:none;border:1px solid rgba(255,255,255,.14);background:linear-gradient(115deg,rgba(255,255,255,.1),transparent 42%,rgba(86,239,228,.08))}
.ux-leo-launch:after {content:'';position:absolute;width:190px;height:190px;border-radius:50%;right:-90px;top:-125px;box-shadow:0 0 0 1px rgba(255,255,255,.2),0 0 0 26px rgba(255,255,255,.035);pointer-events:none}
.ux-leo-jewel {flex:0 0 52px;width:52px;height:58px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,rgba(218,251,255,.26),rgba(85,205,232,.05));border:1px solid rgba(255,255,255,.38);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),inset 0 -1px 0 rgba(26,72,160,.14),0 7px 16px rgba(11,37,111,.1);transform:rotate(-5deg)}
.ux-leo-jewel .ux-icon {width:28px;height:28px;color:#b8ffff;filter:drop-shadow(0 2px 3px rgba(8,37,105,.2));transform:rotate(5deg)}
.ux-leo-launch-copy {display:grid;gap:7px;flex:1;min-width:0;z-index:1}
.ux-leo-launch-copy .ux-kicker {color:#c9e0ff;font-size:9px;letter-spacing:.13em}
.ux-leo-launch-copy strong {font:600 27px/1.1 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.035em;color:#fff}
.ux-leo-launch-copy>span:last-child {font-size:12px;color:#e2eafb;line-height:1.5;max-width:210px}
.ux-leo-go {display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.2)}
.ux-leo-go .ux-icon {width:17px;height:17px}
.ux-today-shortcuts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 25px}
html.leos-ux-preview #leosE83 .ux-today-shortcuts>button {display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:44px;padding:10px 8px!important;background:linear-gradient(130deg,rgba(255,255,255,.92),rgba(246,249,253,.8))!important;color:#415275!important;font-size:13px;font-weight:550;border:1px solid rgba(255,255,255,.9)!important;border-radius:14px!important;box-shadow:inset 0 0 0 1px rgba(159,176,204,.14),0 3px 9px rgba(34,55,108,.025)!important}
.ux-today-shortcuts .ux-icon {width:16px;height:16px;color:#3a56b8}
.ux-agenda-card {border:1px solid var(--ux-border);border-radius:24px;background:rgba(255,255,255,.9);padding:20px 20px 10px;box-shadow:0 5px 24px rgba(26,49,106,.035),inset 0 1px 0 #fff}
.ux-section-head {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
html.leos-ux-preview #leosE83 .ux-section-head h2 {font-size:23px;margin:5px 0 1px}
html.leos-ux-preview #leosE83 .ux-text-button {display:flex;align-items:center;gap:3px;min-height:44px;padding:3px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#4a5d8e!important;font-size:13px;white-space:nowrap}
.ux-text-button .ux-icon {width:14px;height:14px}
.ux-agenda {min-width:0}
html.leos-ux-preview #leosE83 .ux-agenda-row {display:flex;align-items:center;gap:13px;box-sizing:border-box;width:100%;min-height:77px;padding:13px 0!important;border:0!important;border-bottom:1px solid #edf0f6!important;border-radius:0!important;text-align:left;background:transparent!important;box-shadow:none!important;color:var(--ux-ink)!important;min-width:0}
.ux-agenda-row:last-child {border-bottom:0!important}
.ux-agenda-time {flex:0 0 42px;font-size:13px;font-weight:650;color:#314c92;font-variant-numeric:tabular-nums;align-self:flex-start;margin-top:3px;line-height:1.4}
.ux-agenda-time small {display:block;font-size:10px;font-weight:450;color:#9aa4b8;margin-top:1px}
.ux-agenda-copy {display:grid;gap:4px;min-width:0;flex:1;padding-left:13px;border-left:2px solid #a9dfe2}
.ux-agenda-copy strong {font-size:14px;line-height:1.4;font-weight:600;color:#263653;overflow-wrap:anywhere}
.ux-agenda-copy>span {font-size:11px;color:#8290a5;line-height:1.4;overflow-wrap:anywhere}
.ux-agenda-copy>small {font-size:10px;color:#3b8e76}
.ux-agenda-chevron {width:15px;height:15px;color:#acb8ce}
html.leos-ux-preview #leosE83 .ux-more-agenda {display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:42px;margin-top:5px;border:0!important;background:transparent!important;color:var(--ux-royal)!important;font-size:12px}
.ux-more-agenda .ux-icon {width:15px;height:15px}
.ux-data-stamp {font-size:9px;color:#99a3b4;margin:8px 0 0;text-align:right}
.ux-original-head {margin:29px 3px 16px}
html.leos-ux-preview #leosE83 .ux-original-head h2 {font-size:26px}
.ux-empty {display:grid;justify-items:start;gap:7px;padding:21px 0;color:#7b889c;font-size:12px;line-height:1.6}
.ux-empty strong {color:#485c80;font-weight:550}
.ux-empty-icon {display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#eef5fb;color:#7694b7;margin-bottom:3px}
.ux-load-error {display:grid;gap:7px;padding:16px 0;color:#885c48;font-size:12px;line-height:1.6}
.ux-load-error button {justify-self:start;min-height:40px}

/* Three app-owned gesture handles, inset from the OS edge. No permanent sidebar. */
.ux-edge {position:fixed;z-index:10040;right:7px;top:calc(var(--ux-header-height) + var(--ux-copy-height) + 18px + env(safe-area-inset-top,0px));bottom:calc(25px + env(safe-area-inset-bottom,0px));width:23px;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));pointer-events:none;gap:9px}
.ux-edge-zone {--ux-edge-color:#3152ca;position:relative;min-height:0;pointer-events:none;display:flex;align-items:center}
.ux-edge-zone.ux-edge-turquoise {--ux-edge-color:#04a6b2}
.ux-edge-zone.ux-edge-violet {--ux-edge-color:#7673ae}
html.leos-ux-preview #leosE83 .ux-edge-trigger {position:relative;pointer-events:auto;display:flex;align-items:center;justify-content:center;width:23px;height:100%;min-height:44px!important;border:0!important;background:transparent!important;border-radius:15px!important;padding:0!important;box-shadow:none!important;color:var(--ux-edge-color)!important;touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:pointer}
.ux-edge-line {height:70%;max-height:120px;min-height:36px;width:3px;border-radius:999px;background:var(--ux-edge-color);opacity:.75;box-shadow:1px 0 0 rgba(255,255,255,.9),0 0 8px rgba(44,73,154,.07)}
.ux-edge-glyph {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:23px;height:34px;border-radius:12px;background:linear-gradient(130deg,rgba(255,255,255,.96),rgba(246,249,255,.9));border:1px solid rgba(255,255,255,.96);box-shadow:inset 0 0 0 1px rgba(159,178,204,.16),0 2px 8px rgba(36,63,119,.075);display:grid;place-items:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.ux-edge-glyph .ux-icon {width:13px;height:13px;stroke-width:1.8}
.ux-edge-trigger.is-dragging .ux-edge-glyph {transform:translate(calc(-50% - min(var(--ux-drag,0px),40px)),-50%);box-shadow:0 3px 16px rgba(36,63,119,.15)}
.ux-edge-trigger[aria-expanded=true] .ux-edge-glyph {background:#eaf0ff;border-color:#bccced}
.ux-peek {box-sizing:border-box;position:fixed;z-index:10030;right:34px;top:calc(var(--ux-header-height) + var(--ux-copy-height) + 13px + env(safe-area-inset-top,0px));bottom:calc(18px + env(safe-area-inset-bottom,0px));width:clamp(168px,47vw,306px);display:flex;flex-direction:column;border-radius:24px;background:rgba(250,252,255,.94);border:1px solid rgba(255,255,255,.96);box-shadow:inset 0 0 0 1px rgba(148,171,205,.2),-12px 8px 38px rgba(23,47,106,.14),0 2px 6px rgba(26,58,121,.07);-webkit-backdrop-filter:blur(28px) saturate(1.5);backdrop-filter:blur(28px) saturate(1.5);transform:translateX(12px);opacity:0;transition:transform .24s cubic-bezier(.16,.8,.3,1),opacity .2s}
.ux-peek[hidden] {display:none!important}
.ux-peek.is-open {transform:translateX(0);opacity:1}
.ux-peek-head {display:flex;align-items:center;justify-content:space-between;gap:5px;padding:12px 9px 9px 15px;border-bottom:1px solid #e9edf6;flex:0 0 auto}
.ux-peek-head>span {display:flex;align-items:center;gap:6px;min-width:0}
.ux-peek-head>span>.ux-icon {color:var(--ux-royal);width:16px;height:16px}
.ux-peek-head strong {font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.leos-ux-preview #leosE83 .ux-peek-head .ux-icon-button {width:44px;height:44px;min-height:44px!important;flex-basis:44px;border-radius:12px!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.ux-peek-head .ux-icon-button>.ux-icon {width:16px;height:16px}
.ux-peek-body {overflow-y:auto;overflow-x:hidden;min-height:0;flex:1;padding:13px 14px;overscroll-behavior:contain;scrollbar-width:thin}
.ux-peek-date {font-size:10px;color:#7989a4;margin:0 0 8px;line-height:1.5}
.ux-agenda-mini .ux-agenda-row {gap:6px!important;min-height:80px!important;padding:12px 0!important;flex-wrap:wrap!important}
.ux-agenda-mini .ux-agenda-time {flex:0 0 37px;font-size:12px;margin-top:1px}
.ux-agenda-mini .ux-agenda-copy {padding-left:8px;min-width:65px}
.ux-agenda-mini .ux-agenda-copy strong {font-size:12px;line-height:1.5}
.ux-agenda-mini .ux-agenda-copy>span {font-size:10px;line-height:1.5}
.ux-agenda-mini .ux-agenda-chevron {display:none}
.ux-peek-foot {flex:0 0 auto;padding:11px;border-top:1px solid #e3eaf5}
html.leos-ux-preview #leosE83 .ux-peek-foot>button {display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;border:1px solid #d5e0f3!important;border-radius:13px!important;background:#eff4ff!important;color:#2a4ba5!important;font-size:13px;font-weight:600;box-shadow:inset 0 1px 0 #fff!important}
.ux-peek-foot .ux-icon {width:15px;height:15px}
.ux-peek-body h3 {font:600 22px/1.2 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin:15px 0 9px;letter-spacing:-.03em}
.ux-peek-body p {font-size:12px;line-height:1.7;color:#687b9b}
.ux-peek-body>small {display:block;font-size:10px;line-height:1.6;color:#8a98af;margin:12px 0}
.ux-peek-body button.primary {display:flex;align-items:center;justify-content:center;gap:6px;padding:11px!important;width:100%;font-size:11px;margin-top:18px;min-height:44px}
.ux-peek-body button.primary>.ux-icon {width:14px;height:14px}
.ux-peek-leo-mark {display:grid;place-items:center;width:43px;height:43px;border-radius:15px;background:linear-gradient(135deg,#375bd7,#1aa0b7);box-shadow:inset 0 1px 0 #8fc6eb,0 6px 14px rgba(38,69,200,.13);color:#ddffff}
.ux-peek-leo-mark .ux-icon {width:25px;height:25px}
.ux-peek-leo-mark.ux-peek-mail {background:#edf3ff;color:#4762ac;box-shadow:none}
.ux-peek-history {margin:20px 0 0;font-size:11px;color:#72819e}
.ux-peek-history summary {cursor:pointer;line-height:1.5}
.ux-peek-history p {white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}
.ux-peek-summary {white-space:pre-line}
.ux-peek-metrics {display:grid;gap:8px;margin:16px 0}
.ux-peek-metrics>div {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #d4e5e8;border-radius:12px;background:#fff}
.ux-peek-metrics dt {min-width:0;font-size:13px;line-height:1.4;color:#375367;overflow-wrap:anywhere}
.ux-peek-metrics dd {margin:0;font-size:22px;line-height:1.2;font-weight:750;color:#2445c7}

/* Compact modal tool directory. Every destination delegates native routing. */
.ux-dialog-backdrop {position:fixed;z-index:15000;inset:0;display:flex;align-items:flex-start;justify-content:center;box-sizing:border-box;padding:calc(75px + env(safe-area-inset-top,0px)) 16px calc(16px + env(safe-area-inset-bottom,0px));background:rgba(21,34,69,.24);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}
.ux-dialog {box-sizing:border-box;display:flex;flex-direction:column;width:min(560px,100%);max-height:100%;background:rgba(249,251,255,.98);border-radius:28px;border:1px solid rgba(255,255,255,.95);box-shadow:inset 0 0 0 1px rgba(169,185,215,.2),0 30px 90px rgba(15,35,91,.2);overflow:hidden}
.ux-dialog-head {display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:24px 21px 14px;flex:0 0 auto}
html.leos-ux-preview #leosE83 .ux-dialog-head h2 {font-size:25px;margin:6px 0 0;max-width:330px;line-height:1.2}
#uxDialogContent {overflow-y:auto;min-height:0;padding:0 20px 20px;overscroll-behavior:contain}
.ux-tool-search {display:flex;align-items:center;gap:10px;background:rgba(237,242,251,.8);border:1px solid #dfe7f3;border-radius:15px;padding:0 13px;margin:0 0 16px;min-height:47px;color:#8394b1}
html.leos-ux-preview #leosE83 .ux-tool-search input {min-width:0;flex:1;border:0!important;box-shadow:none!important;background:transparent!important;outline:none!important;min-height:43px;padding:7px 0!important;font-size:14px}
.ux-tool-search .ux-icon {width:17px;height:17px}
.ux-tools-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
html.leos-ux-preview #leosE83 .ux-tools-grid>button {display:flex;align-items:center;gap:8px;text-align:left;min-width:0;min-height:65px;padding:11px!important;border:1px solid #e1e7f2!important;border-radius:15px!important;background:#fff!important;box-shadow:inset 0 1px 0 #fff,0 3px 10px rgba(34,57,111,.025)!important;color:#334766!important}
.ux-tools-grid>button>span:nth-child(2) {font-size:12px;font-weight:500;line-height:1.5;flex:1;min-width:0;overflow-wrap:anywhere}
.ux-tool-icon {display:grid;place-items:center;flex:0 0 30px;width:30px;height:33px;border-radius:10px;background:linear-gradient(140deg,#f2f6ff,#edf8f9);color:#4d70b6}
.ux-tool-icon>.ux-icon {width:17px;height:17px}
.ux-tools-grid>button>.ux-icon {width:12px;height:12px;color:#b0bed5}
.ux-tools-grid>button[hidden] {display:none!important}
.ux-tools-footer {display:flex;flex-wrap:wrap;gap:9px;margin-top:18px;padding-top:14px;border-top:1px solid #e2e8f3}
html.leos-ux-preview #leosE83 .ux-tools-footer>button {display:flex;align-items:center;gap:7px;padding:8px 0!important;min-height:44px;color:#6a7d9d!important;font-size:13px;border:0!important;background:transparent!important;box-shadow:none!important}
.ux-tools-footer>button:first-child {margin-right:auto}
.ux-tools-footer .ux-icon {width:15px;height:15px}
.ux-dialog-intro {font-size:13px;line-height:1.8;color:#73819a;margin:4px 0 20px}
.ux-edge-settings {display:grid;gap:10px;margin-bottom:20px}
.ux-edge-setting {display:grid;grid-template-columns:25px minmax(0,1fr) minmax(0,.8fr);align-items:center;gap:8px;padding:15px 11px;background:#fff;border-radius:15px;border:1px solid #e0e8f3}
.ux-setting-index {font:400 23px/1 Georgia,serif;color:#8f9ab3}
.ux-edge-setting>label {display:grid;gap:6px;font-size:11px;color:#8291aa}
html.leos-ux-preview #leosE83 .ux-edge-setting select {box-sizing:border-box;min-width:0;width:100%;font-size:12px;min-height:42px;padding:7px;background:#f5f8fd;border:1px solid #dce5f3;border-radius:10px}
html.leos-ux-preview #leosE83 .ux-settings-done {width:100%;min-height:46px;padding:10px}
.ux-sr-only {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Calendar keeps its actual native grid/controls with more usable viewport height. */
html.leos-ux-preview #leosE83 #mainContent #page-calendar .calendar-page-top {display:none!important}
html.leos-ux-preview #leosE83 #mainContent #page-calendar .calendar-shell {grid-template-columns:190px minmax(0,1fr)}
html.leos-ux-preview #leosE83 #mainContent #page-calendar .calendar-board {border-radius:17px!important;box-shadow:0 3px 16px rgba(29,50,106,.035)!important}
html.leos-ux-preview #leosE83 #mainContent #page-calendar .calendar-event {border-radius:8px;box-shadow:0 2px 6px rgba(29,50,106,.08);min-height:0}
html.leos-ux-preview #leosE83 .calendar-view-tabs button.active {background:var(--ux-royal)!important;color:#fff!important;border-color:transparent!important}

/* One native Leo conversation and one composer; no decorative duplicate. */
html.leos-ux-preview #leosE83 #page-leo .leo-shell {gap:15px;max-width:860px;margin:auto}
html.leos-ux-preview #leosE83 #page-leo .leo-hero {padding:25px 27px;background:radial-gradient(ellipse at 100% 0,rgba(33,197,204,.35),transparent 65%),linear-gradient(130deg,#1d338a,#2e4bc8)!important;color:#fff!important;border:1px solid rgba(255,255,255,.8)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 10px 24px rgba(38,69,200,.1)!important;border-radius:25px!important}
html.leos-ux-preview #leosE83 #page-leo .leo-hero h1 {color:#fff;font:400 33px/1.15 Georgia,serif;letter-spacing:-.03em;margin:8px 0}
html.leos-ux-preview #leosE83 #page-leo .leo-hero p {color:#d9e2ff;font-size:12px;line-height:1.7;max-width:510px}
html.leos-ux-preview #leosE83 #page-leo .leo-eyebrow {color:#b9e8f3;font-size:9px;letter-spacing:.14em}
html.leos-ux-preview #leosE83 #page-leo .leo-status {background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.17);color:#e5edff;font-size:10px;padding:8px 10px}
html.leos-ux-preview #leosE83 #page-leo .leo-chat-card {padding:19px 20px;border-radius:25px!important;overflow:hidden}
html.leos-ux-preview #leosE83 #page-leo .leo-messages {min-height:190px;max-height:calc(100dvh - 420px);padding:0 3px 15px;gap:17px}
html.leos-ux-preview #leosE83 #page-leo .leo-bubble {background:#f6f8fc;border:1px solid #e6ecf5;border-radius:17px;padding:14px;font-size:13px;line-height:1.7;box-shadow:none}
html.leos-ux-preview #leosE83 #page-leo .leo-message-user .leo-bubble {background:linear-gradient(135deg,#edf3ff,#eff9fa);border-color:#d5e2f5;color:#263d73}
html.leos-ux-preview #leosE83 #page-leo .leo-avatar {background:linear-gradient(145deg,#3a58cd,#168fae);color:#eaffff;box-shadow:inset 0 1px 0 rgba(255,255,255,.45);border-radius:12px}
html.leos-ux-preview #leosE83 #page-leo .leo-suggestions {gap:5px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:7px}
html.leos-ux-preview #leosE83 #page-leo .leo-prompt-chip {font-size:10px;min-height:35px;border-radius:10px!important;border:1px solid #e0e7f4!important;background:#f8faff!important;color:#61759c!important;white-space:nowrap}
html.leos-ux-preview #leosE83 #page-leo .leo-composer {display:flex;align-items:center;gap:7px;border:1px solid #d5e1f2;border-radius:18px;padding:8px;background:linear-gradient(130deg,#fff,#f4f8ff);box-shadow:inset 0 1px 0 #fff,0 4px 15px rgba(35,62,126,.04);margin-top:8px;position:relative;bottom:auto}
html.leos-ux-preview #leosE83 #page-leo #leoInput {flex:1;min-width:0;background:transparent!important;border:0!important;border-radius:0!important;padding:8px 4px!important;box-shadow:none!important;font-size:16px;line-height:1.5;min-height:39px;max-height:125px;resize:vertical}
html.leos-ux-preview #leosE83 #page-leo .leo-mic-btn {border-radius:12px;background:#eff5fd;color:#5771a2;border:1px solid #dde7f6;height:44px;min-height:44px;width:44px;min-width:44px;padding:9px;box-shadow:none}
html.leos-ux-preview #leosE83 #page-leo .leo-mic-btn[aria-pressed=true] {background:#fff0ed!important;color:#ad3b3b!important;border-color:#e8b8b2!important;box-shadow:0 0 0 3px rgba(199,82,74,.1)!important}
html.leos-ux-preview #leosE83 #page-leo .leo-send-btn {height:44px;min-height:44px;min-width:44px;width:44px;padding:10px;border-radius:12px!important;display:grid;place-items:center}
html.leos-ux-preview #leosE83 #page-leo .leo-send-btn>span {display:none}
html.leos-ux-preview #leosE83 #page-leo .leo-send-btn>svg {width:19px;height:19px;display:block}
html.leos-ux-preview #leosE83 #page-leo .leo-footnote {font-size:9px;color:#8b98ac;padding:10px 3px 0;line-height:1.6}

/* Native fallback menu stays available, including unclassified original actions. */
html.leos-ux-preview.ux-show-native-menu #leosE83 #appShell>.sidebar {display:flex!important;position:fixed!important;inset:0 auto 0 0!important;z-index:16000!important;width:min(360px,90vw)!important;height:100dvh!important;max-height:100dvh!important;transform:none!important;background:#fbfcff!important;border-right:1px solid #dfe6f2!important;padding:18px!important;overflow:auto!important;box-sizing:border-box!important}
html.leos-ux-preview.ux-show-native-menu #leosE83 #appShell>.mobile-nav-backdrop {display:block!important;position:fixed!important;inset:0!important;z-index:15990!important;background:rgba(18,33,67,.28)!important}
html.leos-ux-preview.ux-show-native-menu #leosE83 .mobile-drawer-close {display:block!important}

@media(min-width:1100px) {
  .ux-header {padding-left:max(28px,calc((100vw - 1120px)/2));padding-right:max(28px,calc((100vw - 1120px)/2))}
  .ux-today {display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:0 28px;align-items:start}
  .ux-greeting {grid-column:1;margin-top:10px}
  .ux-leo-launch {grid-column:1}
  .ux-today-shortcuts {grid-column:1}
  .ux-agenda-card {grid-column:2;grid-row:1/4}
  .ux-original-head {grid-column:1/-1;margin-bottom:0}
  .ux-edge {right:13px;width:28px}
  html.leos-ux-preview #leosE83 .ux-edge-trigger {width:28px}
  .ux-edge-glyph {width:29px;height:40px}
  .ux-edge-glyph .ux-icon {width:16px;height:16px}
  .ux-peek {right:48px;width:306px}
}
@media(max-width:900px), (pointer:coarse) and (orientation:landscape) and (max-height:600px) {
  html.leos-ux-preview #leosE83 #appShell #mainContent {padding:22px 39px calc(22px + env(safe-area-inset-bottom,0px)) 19px!important;flex:none!important}
  html.leos-ux-preview #leosE83 #mainContent #page-calendar:not(.hidden) {height:100%!important;min-height:0!important;max-height:none!important;padding-bottom:0!important;display:flex!important;flex-direction:column!important}
  html.leos-ux-preview #leosE83 #mainContent #page-calendar .calendar-shell {display:flex!important;flex:1!important;min-height:0!important;flex-direction:column!important;gap:0!important}
  html.leos-ux-preview #leosE83 #mainContent #page-calendar .calendar-sidebar {display:none!important}
  html.leos-ux-preview #leosE83 #mainContent #page-calendar .calendar-main {display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;max-height:none!important}
  html.leos-ux-preview #leosE83 #mainContent #page-calendar .calendar-toolbar-card {border-radius:14px!important;padding:7px 6px!important}
  html.leos-ux-preview #leosE83 #mainContent #page-calendar .calendar-board {flex:1!important;min-height:0!important;max-height:none!important;height:auto!important;border-radius:15px!important}
  html.leos-ux-preview #leosE83 #mainContent #page-calendar .calendar-toolbar {display:flex!important;flex-wrap:wrap!important;gap:5px!important}
  html.leos-ux-preview #leosE83 #mainContent #page-calendar .calendar-view-tabs {width:100%;display:flex;gap:4px}
  html.leos-ux-preview #leosE83 #mainContent #page-calendar .calendar-view-tabs button {flex:1;height:35px!important;min-height:35px!important;padding:4px!important;border-radius:9px!important;font-size:11px!important}
  html.leos-ux-preview #leosE83 #mainContent #page-calendar .calendar-staff-filter {flex:1;min-width:85px}
  html.leos-ux-preview #leosE83 #mainContent #page-calendar .calendar-staff-filter select {width:100%;font-size:12px!important}
  html.leos-ux-preview #leosE83 #page-members .member-layout {display:block}
  html.leos-ux-preview #leosE83 #page-communications .communications-shell {padding:0;min-width:0}
  html.leos-ux-preview #leosE83 #page-communications .communications-head {display:block;margin-bottom:14px}
  html.leos-ux-preview #leosE83 #page-communications .communications-head h1 {font-size:31px;text-transform:none}
  html.leos-ux-preview #leosE83 #page-communications .communications-safety {font-size:11px;line-height:1.7;padding:12px 14px;display:block}
  html.leos-ux-preview #leosE83 #page-communications .communications-safety>strong {display:block;margin-bottom:4px}
  html.leos-ux-preview #leosE83 #page-communications .hub124 {padding:15px!important;border-radius:22px!important;background:linear-gradient(135deg,#eff4ff,#eff9fa)!important;border:1px solid #dbe5f4!important}
  html.leos-ux-preview #leosE83 #page-communications .hub124 h2 {font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;font-size:23px!important}
  html.leos-ux-preview #leosE83 #page-communications .communications-kpis {gap:6px;grid-template-columns:repeat(2,minmax(0,1fr))}
  html.leos-ux-preview #leosE83 #page-communications .communications-kpi {border-radius:14px;padding:11px 12px;background:#fff;border:1px solid #e0e7f2}
  html.leos-ux-preview #leosE83 #page-communications .communications-kpi strong {font:400 26px/1.3 Georgia,serif;color:#294b92}
  html.leos-ux-preview #leosE83 #page-communications .communications-kpi span {font-size:10px}
  html.leos-ux-preview #leosE83 #page-communications .communications-kpi small {font-size:9px;margin-top:3px}
}
@media(max-width:480px) {
  html.leos-ux-preview {--ux-header-height:58px}
  .ux-header {gap:9px;padding-left:18px;padding-right:13px}
  html.leos-ux-preview #leosE83 .ux-header .ux-brand {width:98px;min-width:98px}
  .ux-brand img {width:98px;max-height:37px}
  html.leos-ux-preview #leosE83 .ux-return-button {min-width:98px;max-width:132px;padding:0 9px!important;font-size:11px}
  .ux-brand-fallback {font-size:28px}
  .ux-header-context {gap:6px}
  .ux-header-context>#uxPageName {display:none}
  .ux-header-actions {gap:5px}
  html.leos-ux-preview #leosE83 .ux-header-actions .ux-icon-button {width:44px;height:44px;min-height:44px!important;flex-basis:44px;border-radius:13px!important}
  .ux-copy-strip {font-size:8px;gap:5px}
  .ux-greeting {margin-bottom:19px}
  html.leos-ux-preview #leosE83 .ux-greeting h1 {font-size:32px}
  .ux-kicker {font-size:8px;letter-spacing:.13em}
  .ux-greeting p {font-size:11px}
  html.leos-ux-preview #leosE83 .ux-leo-launch {padding:15px 16px!important;gap:12px;min-height:100px;border-radius:24px!important}
  .ux-leo-jewel {width:44px;height:51px;flex-basis:44px;border-radius:16px}
  .ux-leo-jewel .ux-icon {width:25px;height:25px}
  .ux-leo-launch-copy strong {font-size:25px}
  .ux-leo-launch-copy>span:last-child {font-size:11px;line-height:1.6}
  .ux-leo-launch-copy .ux-kicker {font-size:7px;letter-spacing:.11em}
  .ux-leo-go {width:27px;height:27px;flex-basis:27px}
  .ux-today-shortcuts {gap:5px;margin:12px 0 23px}
  html.leos-ux-preview #leosE83 .ux-today-shortcuts>button {gap:5px;padding:8px 4px!important;min-height:44px;font-size:12px;line-height:1.5;border-radius:12px!important}
  .ux-today-shortcuts .ux-icon {width:14px;height:14px}
  .ux-agenda-card {padding:18px 16px 10px;border-radius:22px}
  html.leos-ux-preview #leosE83 .ux-section-head h2 {font-size:21px}
  .ux-agenda-copy strong {font-size:13px}
  .ux-agenda-copy>span {font-size:10px}
  .ux-agenda-time {font-size:12px;flex-basis:39px}
  html.leos-ux-preview #leosE83 .ux-agenda-row {gap:10px;min-height:75px}
  .ux-agenda-copy {padding-left:10px}
  .ux-peek {right:32px;width:clamp(168px,51vw,260px)}
  .ux-dialog-backdrop {padding-top:calc(58px + env(safe-area-inset-top,0px));padding-left:10px;padding-right:10px}
  .ux-dialog {border-radius:23px}
  .ux-dialog-head {padding:20px 17px 14px}
  html.leos-ux-preview #leosE83 .ux-dialog-head h2 {font-size:27px}
  #uxDialogContent {padding:0 15px 17px}
  .ux-tools-grid {gap:6px}
  html.leos-ux-preview #leosE83 .ux-tools-grid>button {gap:7px;min-height:66px;padding:9px!important;border-radius:14px!important}
  .ux-tools-grid>button>span:nth-child(2) {font-size:11px}
  .ux-tool-icon {flex-basis:26px;width:26px;height:31px;border-radius:9px}
  .ux-tool-icon>.ux-icon {width:15px;height:15px}
  html.leos-ux-preview #leosE83 #page-leo .leo-hero {padding:22px 19px;display:block}
  html.leos-ux-preview #leosE83 #page-leo .leo-hero h1 {font-size:30px}
  html.leos-ux-preview #leosE83 #page-leo .leo-status {margin-top:12px;display:inline-flex}
  html.leos-ux-preview #leosE83 #page-leo .leo-chat-card {padding:14px 12px}
  html.leos-ux-preview #leosE83 #page-leo .leo-messages {min-height:165px;max-height:none}
  html.leos-ux-preview #leosE83 #page-leo .leo-avatar {width:27px;height:29px;min-width:27px;font-size:11px;border-radius:9px}
  html.leos-ux-preview #leosE83 #page-leo .leo-bubble {padding:12px;font-size:12px;border-radius:14px}
  html.leos-ux-preview #leosE83 #page-leo .leo-composer {gap:4px;padding:6px;border-radius:15px}
}
@media(min-width:481px) and (max-width:600px) {
  html.leos-ux-preview #leosE83 .ux-greeting h1 {font-size:32px}
  html.leos-ux-preview #leosE83 .ux-leo-launch {min-height:104px;padding:16px 20px!important}
  .ux-leo-jewel {width:44px;height:48px;flex-basis:44px}
  .ux-leo-launch-copy strong {font-size:25px}
}
@media(max-height:500px) {
  html.leos-ux-preview {--ux-header-height:48px;--ux-copy-height:21px}
  .ux-header {padding-top:4px;padding-bottom:4px}
  .ux-edge {top:83px;bottom:14px;gap:3px}
  .ux-edge-line {min-height:15px;max-height:45px}
  .ux-peek {top:82px;bottom:10px}
  .ux-dialog-backdrop {padding-top:12px;padding-bottom:12px}
}
@media(prefers-reduced-motion:reduce) {
  html.leos-ux-preview *,html.leos-ux-preview *:before,html.leos-ux-preview *:after {scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
@media(prefers-contrast:more) {
  .ux-header,.ux-peek,.ux-dialog {background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-color:#9cacc9!important}
  .ux-kicker,.ux-greeting p,.ux-agenda-copy>span,.ux-peek-body p {color:#495f82!important}
}
