:root{
  color-scheme:dark;
  --bg:#0a0d0f;
  --text:#eef1ef;
  --muted:#98a49f;
  --quiet:#68756f;
  --green:#9ec9b4;
  --green-dim:#789988;
  --red:#d7a7a1;
  --amber:#d1b880;
  --panel:#111619;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis:none;
}
*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.58}a{color:inherit}
button:focus-visible,a:focus-visible{outline:1px solid var(--green);outline-offset:5px}button{touch-action:manipulation}[hidden]{display:none!important}
.live-app{width:min(100%,1440px);margin:0 auto;padding:env(safe-area-inset-top) clamp(22px,5vw,76px) max(30px,env(safe-area-inset-bottom))}
.live-topbar{height:92px;display:flex;align-items:center;justify-content:space-between}
.live-brand{display:flex;align-items:center;gap:13px;text-decoration:none}.live-brand-mark{width:44px;height:44px}.live-brand-mark img{display:block;width:100%;height:100%;object-fit:contain}.live-brand-word{font-size:24px;font-weight:760;letter-spacing:-.045em}.live-private{font-size:10px;letter-spacing:.19em;color:var(--green);font-weight:600}
.eyebrow{display:block;color:#8f9b96;font-size:9px;font-weight:680;letter-spacing:.18em;line-height:1.45}.eyebrow-line{display:inline-block;width:20px;height:1px;margin-right:8px;background:var(--green);vertical-align:middle}

/* Access */
/* XTZ .201 — isolated, zero-delay authentication opening. Does not animate the workspace. */
.session-loading{position:fixed;inset:0;z-index:2000;display:block;min-height:100svh;width:100%;overflow:hidden;color:var(--text);background:#090d0e;isolation:isolate}
.session-loading::before{content:"";pointer-events:none;position:absolute;inset:-12% -25% 0;background:radial-gradient(ellipse 40% 38% at 50% 43%,rgba(64,111,88,.105),transparent 82%)}
.xtz-boot{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;min-height:100svh;min-height:100dvh;width:min(100%,1280px);margin:auto;padding:calc(env(safe-area-inset-top) + clamp(29px,5.1vw,72px)) clamp(26px,6vw,88px) calc(env(safe-area-inset-bottom) + 37px);font-family:inherit}
.xtz-boot-top{display:flex;align-items:center;gap:19px;min-height:20px}
.xtz-boot-monogram{font-size:16px;font-weight:760;line-height:1;letter-spacing:-.075em;color:#cbd8d0}
.xtz-boot-top-rule{width:1px;height:13px;background:#426052;opacity:.7}
.xtz-boot-top-detail{font-size:9px;letter-spacing:.22em;font-weight:630;color:#7b9988}
.xtz-boot-center{width:min(100%,540px);margin:0 auto;padding:12px 0 24px;transform:translateY(-1.4svh)}
.xtz-boot-eyebrow{display:flex;gap:11px;align-items:center;justify-content:center;margin:0 0 20px;color:#80988a;font-size:clamp(8px,1.8vw,10px);font-weight:630;letter-spacing:.23em;white-space:nowrap}
.xtz-boot-eyebrow span{color:#486454}
.xtz-boot-heading{margin:0;text-align:center;white-space:nowrap;color:#f0f3f0;font-size:clamp(62px,14vw,108px);font-weight:720;line-height:1.04;letter-spacing:-.09em;text-shadow:0 2px 24px rgba(2,11,7,.12)}
.xtz-boot-heading>span{font-weight:485;letter-spacing:-.078em}
.xtz-boot-period{color:#a0d0b8}
.xtz-boot-caption{margin:20px 0 0;text-align:center;color:#83958a;font-size:10px;letter-spacing:.24em;font-weight:560}
.xtz-boot-progress{max-width:292px;margin:53px auto 0}
.xtz-boot-progress-track{width:100%;height:1px;position:relative;overflow:hidden;background:#34483c}
.xtz-boot-progress-sweep{display:block;position:absolute;inset:0 auto 0 -40%;width:40%;background:linear-gradient(90deg,transparent,#b5ddc7,transparent);animation:xtz-boot-sweep 1.8s cubic-bezier(.4,0,.2,1) infinite}
.xtz-boot-verify{display:flex;align-items:center;justify-content:center;gap:11px;margin-top:21px;color:#a2b4a8;font-size:12px;letter-spacing:.025em}
.xtz-boot-pulse{width:6px;height:6px;flex:none;border-radius:50%;background:#9fcab5;box-shadow:0 0 0 4px rgba(159,202,181,.065);animation:xtz-boot-pulse 1.8s ease-in-out infinite}
.xtz-boot-bottom{display:flex;align-items:center;justify-content:center;gap:16px;color:#64796c;font-size:9px;font-weight:640;letter-spacing:.24em}
.xtz-boot-bottom i{display:block;width:2px;height:2px;border-radius:50%;background:#637969}
@keyframes xtz-boot-sweep{0%{transform:translateX(0)}100%{transform:translateX(350%)}}
@keyframes xtz-boot-pulse{0%,100%{opacity:.55}50%{opacity:1}}
@media(max-width:420px){.xtz-boot-heading{font-size:clamp(57px,14.2vw,68px)}.xtz-boot-caption{font-size:8px;letter-spacing:.22em}.xtz-boot-center{transform:translateY(-2svh)}.xtz-boot-progress{margin-top:42px}.xtz-boot-eyebrow{font-size:7.5px;letter-spacing:.17em}}
@media(prefers-reduced-motion:reduce){.xtz-boot-progress-sweep,.xtz-boot-pulse{animation:none}.xtz-boot-progress-sweep{inset:0 auto 0 0;opacity:.8}}
@keyframes spin{to{transform:rotate(360deg)}}
.live-login{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.72fr);gap:clamp(54px,8vw,122px);align-items:center;min-height:calc(100svh - 142px);padding:48px 0}
.live-login h1{margin:20px 0 10px;font-size:clamp(58px,7vw,100px);line-height:1;letter-spacing:-.075em;font-weight:650}.live-login h1 span{color:var(--green)}.access-statement{font-size:clamp(24px,3vw,38px);font-weight:510;letter-spacing:-.035em}.live-login-copy p{max-width:480px;margin:22px 0 0;color:var(--muted);font-size:14px;line-height:1.75}.live-login-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:58px}.live-login-index div{display:grid;gap:8px}.live-login-index span{font-size:8px;letter-spacing:.13em;color:var(--quiet)}.live-login-index strong{font-size:12px;font-weight:520}
.live-access-panel{min-width:0;padding-left:clamp(26px,4vw,54px);border-left:1px solid #27312d}.live-access-heading h2{margin:0 0 10px;font-size:31px;line-height:1;font-weight:570;letter-spacing:-.045em}.live-access-heading p{margin:0;color:var(--muted);font-size:13px}.live-login-form{display:grid;gap:21px;margin-top:30px}.live-login-form label{display:grid;gap:10px;color:#b9c3be;font-size:11px;font-weight:560}.live-login-form input{width:100%;height:55px;padding:0 15px;border:1px solid #35413b;border-radius:7px;outline:0;background:#101517;color:var(--text);font-size:16px}.live-login-form input:focus{border-color:#719582}.live-login-form input::placeholder{color:#66726d}.password-field{display:grid;gap:10px}.password-input{position:relative}.password-input input{padding-right:70px}.password-input button{position:absolute;right:6px;top:6px;height:43px;min-width:57px;padding:0 9px;border:0;border-radius:5px;background:transparent;color:#899690;font-size:11px}.password-input button:hover{background:#ffffff08;color:var(--text)}.live-login-form button[type=submit]{height:55px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;border:0;border-radius:7px;background:#c6d9cf;color:#0f1813;font-size:13px;font-weight:680}.live-login-form button[type=submit] span:last-child{font-size:21px}.form-message{margin:0;color:var(--red);font-size:11px;line-height:1.55}.form-message:empty{display:none}.login-foot{margin:22px 0 0;color:var(--quiet);font-size:10px;line-height:1.65}.password-settings{max-width:560px;margin:54px auto 0;padding:0;border:0}.password-settings h1{margin:10px 0 8px;font-size:44px;letter-spacing:-.06em}.password-settings>p{color:var(--muted);font-size:12px}.password-guidance{margin:0;color:var(--quiet);font-size:10px;line-height:1.6}.account-cancel{margin:12px 14px 0 0;padding:0;border:0;background:none;color:#86938d;font-size:11px}

/* Workspace */
.live-workspace{max-width:1040px;margin:0 auto;padding-top:6px}
.live-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:16px 0 5px}.live-identity{min-width:0}.live-hero h1{margin:7px 0 5px;font-size:clamp(39px,5vw,58px);line-height:.98;letter-spacing:-.067em;font-weight:630}.live-hero h1 span{color:var(--green)}.live-hero p{margin:0;color:#78857f;font-size:11px;letter-spacing:.01em}
.member-menu{position:relative;z-index:8}.member-menu>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:36px;padding:0;color:#6f7c76;cursor:pointer;font-size:8px;letter-spacing:.1em}.member-menu>summary::-webkit-details-marker{display:none}.member-menu>summary i{font-style:normal;font-size:15px;letter-spacing:.09em;color:#91a59a}.member-menu-popover{position:absolute;right:0;top:41px;display:grid;min-width:176px;padding:7px;border:1px solid #24312b;border-radius:12px;background:#111719;box-shadow:0 22px 60px #0008}.member-menu-popover button{height:39px;padding:0 11px;border:0;border-radius:8px;background:transparent;color:#a6b1ac;text-align:left;font-size:10px}.member-menu-popover button:hover{background:#ffffff08;color:var(--text)}
.system-line{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0 4px;color:var(--quiet)}.system-status-primary,.system-actions{display:flex;align-items:center;gap:9px;min-width:0}.system-status-primary strong{font-size:9px;font-weight:600;color:#9da9a3;white-space:nowrap}.system-reference-time,.system-checked{font-size:8px;color:#66736d;white-space:nowrap}.system-reference-time:before{content:"·";padding-right:9px;color:#3e4944}.system-dot{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:#68756f;box-shadow:0 0 0 5px #ffffff04}.system-dot.live{background:var(--green);box-shadow:0 0 0 5px #9ec9b40b,0 0 14px #9ec9b41c}.system-dot.stale{background:var(--amber)}.system-dot.attention{background:var(--red)}.live-refresh-control{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:#84928b}.live-refresh-control span:last-child{display:none}.refresh-symbol{font-size:14px}.live-refresh-control:hover{background:#ffffff07}.refresh-spinner{width:12px;height:12px;border:1px solid #4c5b54;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}.refresh-check,.refresh-error-mark{font-size:11px}.sync-line{display:none!important}

/* Main position — unboxed, one clear composition */
.position-surface{margin-top:36px;background:none;border:0;padding:0;animation:fade-up .3s ease-out}.position-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:34px}.position-core{min-width:0}.position-title-row{display:flex;align-items:baseline;gap:18px;margin-top:7px;min-width:0}.position-title-row h2{margin:0;font-size:clamp(50px,7vw,76px);line-height:.92;font-weight:625;letter-spacing:-.07em}.position-side{position:relative;font-size:clamp(22px,3vw,34px);font-weight:600;letter-spacing:-.035em;color:#c8d2cd;white-space:nowrap}.position-side:after{margin-left:7px;font-size:.7em;color:currentColor;vertical-align:.07em}.position-surface[data-side="SELL"] .position-side:after{content:"↓"}.position-surface[data-side="BUY"] .position-side:after{content:"↑"}.position-surface[data-side="SELL"] .position-side{color:#d79a94}.position-surface[data-side="BUY"] .position-side{color:var(--green)}.position-meta-inline{display:flex;align-items:center;gap:8px 10px;flex-wrap:wrap;margin-top:12px;color:#68756f;font-size:8px;letter-spacing:.015em}.position-meta-inline>span:not(:last-child):after{content:"·";margin-left:10px;color:#36413c}.position-status{color:#9fc8b4!important;font-size:8px!important;font-weight:650;letter-spacing:.11em!important}.position-status:before{content:"";display:inline-block;width:5px;height:5px;margin-right:7px;border-radius:50%;background:currentColor;vertical-align:1px;box-shadow:0 0 11px #9ec9b426}
.position-protection{position:relative;display:grid;justify-items:end;gap:4px;padding:0 0 1px 18px;min-width:170px}.position-protection:before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:2px;border-radius:2px;background:#53615a}.position-protection[data-tone="positive"]:before{background:var(--green);box-shadow:0 0 14px #9ec9b42b}.position-protection[data-tone="negative"]:before{background:var(--red)}.position-protection>span{font-size:7px;font-weight:680;letter-spacing:.16em;color:#75827c}.position-protection>strong{font-size:clamp(31px,4vw,43px);line-height:1;font-weight:600;letter-spacing:-.055em;font-variant-numeric:tabular-nums}.position-protection>strong.positive{color:#a8d3be}.position-protection>strong.negative{color:#dfa9a4}.position-protection>small{font-size:8px;color:#637069;line-height:1.35;text-align:right;max-width:190px}
.position-policy{display:flex;align-items:center;gap:8px;margin-top:20px;color:#718078;font-size:8px;font-weight:610;letter-spacing:.09em;text-transform:uppercase}.position-policy i{font-style:normal;color:#37423d}.policy-lock{width:7px;height:7px;border:1px solid #779483;border-radius:2px}
.position-empty{display:flex;align-items:center;gap:14px;padding:18px 0}.position-empty-signal{width:9px;height:9px;border:1px solid #708078;border-radius:50%}.position-empty-signal i{display:none}.position-empty strong{display:block;font-size:20px;font-weight:560}.position-empty p{margin:6px 0 0;color:var(--quiet);font-size:10px}

/* Execution map — deliberately retained as the visual centrepiece */
.position-map-shell{padding:34px 0 0}.position-map-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:16px}.position-map-head>div{display:grid;gap:5px}.position-map-head span{font-size:9px;font-weight:680;letter-spacing:.16em;color:#7e8b85}.position-map-head small{font-size:10px;color:#6e7a75}.map-scale-note{font-size:7px!important;letter-spacing:.12em!important;color:#53605a!important;white-space:nowrap}.position-level-grid{position:relative;display:grid;grid-template-columns:1fr;gap:0;padding-left:34px}.position-level-grid:before{content:"";position:absolute;left:6px;top:20px;bottom:20px;width:1px;background:linear-gradient(to bottom,#9ec9b42d,#33403a 22%,#33403a 78%,#9ec9b42d)}.position-level{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 22px;min-height:86px;padding:12px 0}.position-level:before{content:"";position:absolute;left:-32px;top:50%;width:7px;height:7px;transform:translateY(-50%);border-radius:50%;background:var(--bg);border:1px solid #64716b;box-shadow:0 0 0 5px var(--bg)}.position-level:after{content:"";position:absolute;left:-23px;top:50%;width:15px;height:1px;background:#2c3732}.position-level>span{grid-column:1;color:#85918c;font-size:9px;font-weight:650;letter-spacing:.16em}.position-level>small{grid-column:1;color:#69756f;font-size:10px;line-height:1.45}.position-level>strong{grid-column:2;grid-row:1 / 3;text-align:right;font-size:clamp(34px,4.4vw,54px);font-weight:570;letter-spacing:-.055em;color:#eef1ef;font-variant-numeric:tabular-nums;white-space:nowrap}.position-level-reversal:before{background:var(--green);border-color:var(--green);box-shadow:0 0 0 5px var(--bg),0 0 0 8px #9ec9b40e,0 0 18px #9ec9b426;animation:xtz-live-node 2.6s ease-in-out infinite}.position-level-reversal>span{color:#9fc5b3}.position-level-target:before{border-radius:2px;border-color:#8aa797}.position-level-target>span:after{content:"  LOCKED";margin-left:8px;color:#6f8b7d;font-size:7px;letter-spacing:.12em}.position-level-entry:before{width:9px;height:9px;left:-33px;border-color:#9ba6a1}@keyframes xtz-live-node{0%,100%{box-shadow:0 0 0 5px var(--bg),0 0 0 7px #9ec9b40a,0 0 12px #9ec9b414}50%{box-shadow:0 0 0 5px var(--bg),0 0 0 10px #9ec9b411,0 0 20px #9ec9b426}}

/* Activity — summary first, history on demand */
.activity-section{padding-top:46px}.activity-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.activity-heading h2{margin:5px 0 0;font-size:clamp(27px,3.5vw,38px);line-height:1;font-weight:585;letter-spacing:-.045em}.activity-heading h2 span{color:var(--green)}.activity-heading>span{font-size:7px;letter-spacing:.12em;color:#5f6c66}.timeline{margin-top:18px}.activity-feature{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 26px;align-items:end}.activity-feature-top{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:14px}.activity-feature-top time{font-size:8px;color:#6d7973}.activity-feature-top span{font-size:7px;font-weight:650;letter-spacing:.14em;color:#88a397}.activity-feature-main{display:grid;gap:7px;min-width:0}.activity-feature-main>strong{font-size:clamp(18px,2.5vw,26px);font-weight:570;letter-spacing:-.025em}.activity-feature-main>small{font-size:9px;color:#69766f;line-height:1.5}.activity-feature-value{display:flex;align-items:baseline;gap:10px;white-space:nowrap;font-variant-numeric:tabular-nums}.activity-feature-value s{font-size:18px;color:#5f6d66;text-decoration-color:#48534e}.activity-feature-value i{font-style:normal;color:var(--green);font-size:14px}.activity-feature-value strong{font-size:clamp(23px,3.2vw,32px);font-weight:590;letter-spacing:-.04em}.activity-feature-stat{font-size:clamp(23px,3.2vw,32px);font-weight:590;letter-spacing:-.04em;white-space:nowrap}.activity-feature-foot{grid-column:1 / -1;display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:2px}.activity-feature-foot span{font-size:7px;letter-spacing:.1em;color:#64716b}.activity-feature-foot strong{font-size:10px;font-weight:570;color:#a3afa9}.activity-archive{margin-top:18px}.activity-archive>summary{list-style:none;display:inline-flex;align-items:center;gap:9px;min-height:34px;padding:0;color:#77847d;font-size:9px;cursor:pointer}.activity-archive>summary::-webkit-details-marker{display:none}.activity-archive>summary:after{content:"+";color:#90ad9e;font-size:13px}.activity-archive[open]>summary:after{content:"−"}.activity-archive-list{display:grid;gap:18px;padding-top:18px}.activity-row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px 18px;align-items:baseline}.activity-node{display:none}.activity-top{display:contents}.activity-top time{grid-column:1;color:#68756f;font-size:8px}.activity-tag{grid-column:3;grid-row:1;color:#73877d;font-size:7px;letter-spacing:.12em}.activity-body{display:contents}.activity-copy{grid-column:2;grid-row:1 / span 2;display:grid;gap:4px}.activity-copy>strong{font-size:12px;font-weight:570}.activity-copy>p{margin:0;color:#64716b;font-size:8px;line-height:1.45}.activity-levels{grid-column:2 / 4;display:flex;gap:12px 24px;flex-wrap:wrap}.activity-level{display:flex;align-items:baseline;gap:7px}.activity-level>span{font-size:6.5px;letter-spacing:.12em;color:#596660}.activity-level>strong,.activity-level>div{font-size:10px;font-weight:570}.activity-level>div{display:flex;align-items:center;gap:6px}.activity-level s{color:#5e6b65}.activity-level i{font-style:normal;color:#89ac9a}

/* Completed history is closed until requested */
.completed-section{padding-top:34px}.completed-drawer>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:48px;cursor:pointer}.completed-drawer>summary::-webkit-details-marker{display:none}.completed-drawer>summary>div{display:grid;gap:3px}.completed-drawer>summary strong{font-size:17px;font-weight:560;letter-spacing:-.02em}.completed-count{font-size:8px;color:#6d7a74}.completed-count:after{content:" +";margin-left:5px;color:#8eac9d}.completed-drawer[open] .completed-count:after{content:" −"}.recent-list{display:grid;gap:13px;padding-top:18px}.recent-row{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(80px,.7fr)) auto;align-items:center;gap:16px}.recent-row>div{display:grid;gap:4px}.recent-row span{font-size:7px;color:#65716c}.recent-row strong,.recent-row b{font-size:11px;font-weight:560}.recent-row .positive{color:var(--green)}.recent-row .negative{color:var(--red)}.recent-outcome{font-size:6.5px!important;letter-spacing:.1em!important}.recent-archive{margin-top:4px}.recent-archive>summary{list-style:none;display:inline-flex;gap:8px;color:#6c7972;font-size:8px;cursor:pointer}.recent-archive>summary::-webkit-details-marker{display:none}.recent-archive>summary:after{content:"+";color:#8eac9d}.recent-archive[open]>summary:after{content:"−"}.recent-archive-list{display:grid;gap:13px;padding-top:13px}.empty-list,.record-empty{color:#69766f;font-size:10px;line-height:1.55}.record-empty{padding-top:28px}.record-empty strong{display:block;color:#9ba7a1;font-size:12px}.record-empty p{margin:6px 0 0}.live-disclosure{margin-top:42px;padding-top:0}.live-disclosure span{display:block;font-size:8px;font-weight:650;letter-spacing:.18em;color:#7d8984;white-space:nowrap}.live-disclosure p{max-width:none;margin:9px 0 0;color:#5f6c66;font-size:9px;line-height:1.4;white-space:nowrap}

@keyframes fade-up{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:760px){
  .live-app{padding-left:clamp(20px,5.2vw,28px);padding-right:clamp(20px,5.2vw,28px)}
  .live-topbar{height:70px}.live-brand{gap:11px}.live-brand-mark{width:39px;height:39px}.live-brand-word{font-size:21px}.live-private{font-size:8px;letter-spacing:.18em}
  .live-login{grid-template-columns:1fr;gap:26px;min-height:0;padding:28px 0}.live-login h1{font-size:50px;margin:14px 0 8px}.access-statement{font-size:22px}.live-login-copy p{margin-top:12px;font-size:12px;line-height:1.65}.live-login-index{display:none}.live-access-panel{padding:10px 0 0;border:0}.live-access-heading h2{font-size:23px}.live-login-form{margin-top:24px;gap:18px}.login-foot{font-size:9px}
  .live-workspace{padding-top:8px}.live-hero{align-items:flex-start;padding:11px 0 2px}.live-hero h1{font-size:40px;margin:6px 0 5px}.live-hero p{font-size:10px}.member-menu>summary span{display:none}.member-menu>summary i{font-size:17px}
  .system-line{padding:14px 0 0}.system-status-primary strong{font-size:8.5px}.system-reference-time,.system-checked{font-size:7.5px}.system-checked{display:none}
  .position-surface{margin-top:32px}.position-hero{grid-template-columns:1fr;gap:18px;align-items:start}.position-title-row{gap:13px}.position-title-row h2{font-size:52px}.position-side{font-size:24px}.position-meta-inline{margin-top:10px;gap:7px 8px}.position-meta-inline>span:not(:last-child):after{margin-left:8px}.position-protection{justify-items:start;width:max-content;max-width:100%;padding-left:15px}.position-protection>span{font-size:7px}.position-protection>strong{font-size:35px}.position-protection>small{text-align:left;max-width:none;font-size:8px}.position-policy{margin-top:18px;font-size:7px}
  .position-map-shell{padding-top:30px}.position-map-head{padding-bottom:7px}.map-scale-note{font-size:6.5px!important}.position-level-grid{padding-left:29px}.position-level-grid:before{left:5px;top:18px;bottom:18px}.position-level{min-height:88px;padding:11px 0;gap:4px 12px}.position-level:before{left:-28px}.position-level:after{left:-19px;width:12px}.position-level-entry:before{left:-29px}.position-level>span{font-size:8px}.position-level>small{max-width:155px;font-size:9px}.position-level>strong{font-size:clamp(31px,9vw,40px)}
  .activity-section{padding-top:40px}.activity-heading h2{font-size:29px}.activity-heading>span{font-size:6.5px}.timeline{margin-top:16px}.activity-feature{grid-template-columns:1fr;gap:8px}.activity-feature-top{grid-column:1}.activity-feature-main>strong{font-size:18px}.activity-feature-value,.activity-feature-stat{justify-self:start}.activity-feature-value s{font-size:16px}.activity-feature-value strong,.activity-feature-stat{font-size:25px}.activity-feature-foot{grid-column:1}.activity-archive{margin-top:13px}.activity-row{grid-template-columns:64px minmax(0,1fr);gap:10px 12px}.activity-tag{grid-column:2;grid-row:auto}.activity-copy{grid-column:2;grid-row:auto}.activity-levels{grid-column:2;display:grid;gap:7px}.activity-copy>p{display:none}
  .completed-section{padding-top:28px}.completed-drawer>summary strong{font-size:16px}.recent-row{grid-template-columns:1.35fr 1fr 1fr;gap:10px}.recent-outcome{grid-column:1;justify-self:start}.live-disclosure{margin-top:36px}
}
@media(max-width:390px){.live-private{font-size:7.5px}.live-brand-mark{width:37px;height:37px}.live-brand-word{font-size:20px}.position-title-row h2{font-size:48px}.position-side{font-size:22px}.position-level>strong{font-size:30px}.position-level>small{max-width:138px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.position-level-reversal:before,.loading-mark{animation:none}.position-surface{animation:none}}

/* XTZ 7.78.8.37 — Live refinement */
html,body,*{scrollbar-width:none;-ms-overflow-style:none}
*::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}
body{min-height:100svh;background:radial-gradient(900px 520px at 50% -190px,#1631281b 0%,#0a11100b 44%,transparent 72%) fixed,#090c0e}
.live-app{width:min(100%,1320px);padding-bottom:max(42px,env(safe-area-inset-bottom))}
.live-topbar{height:78px}.live-brand-mark{width:40px;height:40px}.live-brand-word{font-size:23px}.live-private{font-size:9px;letter-spacing:.21em}
.live-workspace{max-width:980px;padding-top:0}
.live-hero{align-items:center;padding:8px 0 1px}.live-hero h1{margin:5px 0 4px;font-size:clamp(38px,4.4vw,54px)}.live-hero p{font-size:10px;color:#728079}
.member-menu>summary{min-height:32px}.member-menu>summary i{transition:color .2s ease,transform .2s ease}.member-menu[open]>summary i{color:var(--green);transform:translateY(-1px)}
.member-menu-popover{animation:menu-in .16s ease-out;transform-origin:100% 0}@keyframes menu-in{from{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:none}}

.system-line{margin-top:8px;padding:10px 0 8px}.system-status-primary strong{font-size:8.5px;letter-spacing:.01em}.system-reference-time{font-size:7.5px}.system-line[data-market-closed] .system-status-primary strong{color:#b5a47b}.system-line[data-market-closed] .system-reference-time{color:#756e59}.system-actions{gap:6px}.live-refresh-control{width:31px;height:31px;transition:background .18s ease,color .18s ease,transform .18s ease}.live-refresh-control:active{transform:scale(.92)}.live-refresh-control.is-refreshed{color:var(--green);background:#9ec9b40a}.live-refresh-control.is-error{color:var(--red);background:#d7a7a10a}

.position-surface{margin-top:28px}.position-hero{grid-template-columns:minmax(0,1fr) minmax(148px,auto);gap:32px;align-items:end}.position-title-row{margin-top:5px;gap:15px}.position-title-row h2{font-size:clamp(48px,6.5vw,70px)}.position-side{font-size:clamp(20px,2.7vw,31px)}.position-meta-inline{margin-top:9px;gap:6px 9px;font-size:7.6px}.position-status{padding:4px 7px 4px 6px;border:1px solid #385147;border-radius:999px;background:#9ec9b407}.position-status:before{margin-right:6px}.position-protection{min-width:150px;padding-left:16px;gap:3px}.position-protection>strong{font-size:clamp(28px,3.5vw,39px)}.position-protection>small{font-size:7.5px}.position-policy{margin-top:14px;font-size:7.2px;color:#6c7d74}.policy-lock{border-color:#779b88}.position-policy span:nth-child(2){color:#8da99a}

.position-map-shell{position:relative;padding-top:28px}.position-map-head{display:flex;align-items:end;justify-content:space-between;gap:16px;padding-bottom:12px}.position-map-head>div{display:grid;gap:5px}.position-map-head>div>span{font-size:8px;font-weight:680;letter-spacing:.17em;color:#8c9993}.position-map-head small{font-size:9px;color:#627069}.map-scale-note{font-size:6.5px!important;letter-spacing:.16em;color:#52605a}
.position-level-grid{position:relative;display:grid;padding:1px 0 1px 39px}.position-level-grid:before{content:"";position:absolute;left:10px;top:24px;bottom:24px;width:1px;background:linear-gradient(180deg,#3a4741 0%,#2c3933 45%,#23302a 100%)}
.position-level{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 22px;min-height:104px;padding:16px 0;border-bottom:1px solid #151e1a}.position-level:last-child{border-bottom:0}.position-level:before{content:"";position:absolute;left:-36px;top:50%;width:11px;height:11px;transform:translateY(-50%);border:1px solid #73817a;border-radius:50%;background:var(--bg);box-shadow:0 0 0 5px var(--bg)}.position-level:after{content:"";position:absolute;left:-25px;top:50%;width:18px;height:1px;background:#2a3731}.position-level>span{grid-column:1;color:#839089;font-size:8.5px;font-weight:690;letter-spacing:.17em}.position-level>small{grid-column:1;color:#65726c;font-size:9px;line-height:1.45}.position-level>strong{grid-column:2;grid-row:1 / 3;text-align:right;font-size:clamp(34px,4.2vw,50px);font-weight:570;letter-spacing:-.052em;color:#f0f3f1;font-variant-numeric:tabular-nums;white-space:nowrap;transition:color .18s ease,text-shadow .18s ease}.position-level-reversal{background:linear-gradient(90deg,#9ec9b405,transparent 58%)}.position-level-reversal:before{background:var(--green);border-color:var(--green);box-shadow:0 0 0 5px var(--bg),0 0 0 8px #9ec9b40f,0 0 20px #9ec9b42a}.position-level-reversal>span{color:#a7cdbb}.position-level-target:before{border-radius:3px;border-color:#829f90}.position-level-target>span:after{content:" LOCKED";margin-left:8px;color:#719081;font-size:6.5px;letter-spacing:.13em}.position-level-entry:before{background:#0b0f10;border-color:#929f99}
.value-updated{animation:value-confirm .68s ease-out}@keyframes value-confirm{0%{color:#dff7eb;text-shadow:0 0 18px #9ec9b45c}100%{color:inherit;text-shadow:none}}

.activity-section{padding-top:38px}.activity-heading{align-items:end}.activity-heading h2{font-size:clamp(27px,3.3vw,36px)}.activity-heading-note{max-width:470px;margin:7px 0 0;color:#5e6b65;font-size:8.5px;line-height:1.5}.activity-heading>span{padding-bottom:2px}.timeline{margin-top:17px}.activity-feature{position:relative;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px;padding:18px 0 20px}.activity-feature:before{content:"";position:absolute;left:0;top:18px;bottom:20px;width:2px;border-radius:2px;background:#8eb9a4}.activity-feature[data-side="SELL"]:before{background:#b77d77}.activity-feature>*{margin-left:16px}.activity-feature-top{grid-column:1 / -1}.activity-feature-top span{color:#839c90}.activity-feature[data-side="SELL"] .activity-feature-top span{color:#c58e88}.activity-feature[data-side="BUY"] .activity-feature-top span{color:#94bea9}.activity-feature-main>strong{font-size:clamp(18px,2.3vw,24px)}.activity-feature-main>small{font-size:8.5px}.activity-feature-value strong,.activity-feature-stat{font-size:clamp(23px,3vw,30px)}.activity-feature-foot{gap:10px 13px}.activity-feature-foot span{font-size:6.5px}.activity-feature-foot strong{font-size:9.5px;color:#b7c2bd}
.activity-archive{margin-top:8px;border-top:1px solid #19231f}.activity-archive>summary{width:100%;min-height:58px;display:grid;grid-template-columns:minmax(0,1fr) auto 24px;align-items:center;gap:14px;padding:8px 0;list-style:none;color:#9aa69f;cursor:pointer;transition:color .18s ease}.activity-archive>summary::-webkit-details-marker{display:none}.activity-archive-copy{display:grid;gap:3px;min-width:0}.activity-archive-label{font-size:9px;font-weight:570;letter-spacing:.01em}.activity-archive-copy small{font-size:7.2px;font-weight:450;color:#56635d}.activity-label-open{display:none}.activity-archive[open] .activity-label-closed{display:none}.activity-archive[open] .activity-label-open{display:inline}.activity-archive-meta{color:#5d6a64;font-size:6.8px;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}.activity-chevron{position:relative;width:22px;height:22px;border:1px solid #2a3932;border-radius:50%;background:#0d1210;transition:border-color .18s ease,background .18s ease,transform .22s ease}.activity-chevron:before,.activity-chevron:after{content:"";position:absolute;top:10px;width:6px;height:1px;background:#91ad9f;transition:transform .22s ease}.activity-chevron:before{left:5px;transform:rotate(45deg)}.activity-chevron:after{right:5px;transform:rotate(-45deg)}.activity-archive[open] .activity-chevron{background:#9ec9b408;border-color:#385047;transform:rotate(180deg)}.activity-archive>summary:active .activity-chevron{transform:scale(.92)}.activity-archive[open]>summary:active .activity-chevron{transform:rotate(180deg) scale(.92)}
.activity-archive-list{position:relative;display:grid;gap:0;padding:8px 0 0;animation:activity-reveal .22s ease-out}.activity-row{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:0 14px;padding:14px 0}.activity-row:before{content:"";position:absolute;left:5px;top:0;bottom:0;width:1px;background:#223029}.activity-row:first-child:before{top:20px}.activity-row:last-child:before{bottom:calc(100% - 21px)}.activity-node{display:block;grid-column:1;grid-row:1;width:7px;height:7px;margin-top:4px;border-radius:50%;background:#75877e;border:2px solid var(--bg);box-shadow:0 0 0 1px #53645b;z-index:1}.activity-row[data-side="SELL"] .activity-node{background:#b77d77;box-shadow:0 0 0 1px #805c57}.activity-row[data-side="BUY"] .activity-node{background:#8eb9a4;box-shadow:0 0 0 1px #587867}.activity-body{grid-column:2;display:grid;gap:7px}.activity-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.activity-top time{font-size:7.5px;color:#68756f}.activity-tag{font-size:6.8px;color:#788a81;letter-spacing:.12em}.activity-row[data-side="SELL"] .activity-tag{color:#b98580}.activity-row[data-side="BUY"] .activity-tag{color:#8fb8a4}.activity-copy{display:grid;gap:3px}.activity-copy>strong{font-size:12px;font-weight:570;letter-spacing:-.01em}.activity-levels{display:flex;gap:9px 20px;flex-wrap:wrap}.activity-level{display:flex;align-items:baseline;gap:7px}.activity-level>span{font-size:6.2px;letter-spacing:.12em;color:#596660}.activity-level>strong,.activity-level>div{font-size:9.5px;font-weight:570}.activity-level>div{display:flex;align-items:center;gap:6px}.activity-level s{color:#5e6b65}.activity-level i{font-style:normal;color:#89ac9a}@keyframes activity-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}

.completed-section{padding-top:25px}.completed-drawer>summary{min-height:46px;border-top:1px solid #18221d}.completed-drawer>summary strong{font-size:15px}.completed-count{font-size:7.5px}.live-disclosure{margin-top:34px;padding:21px 0 0;border-top:1px solid #17201c}.live-disclosure span{font-size:7.5px}.live-disclosure p{font-size:clamp(6.9px,2vw,8.5px)}

@media(max-width:760px){
  .live-app{padding-left:clamp(20px,5.4vw,26px);padding-right:clamp(20px,5.4vw,26px)}
  .live-topbar{height:62px}.live-brand-mark{width:36px;height:36px}.live-brand-word{font-size:20px}.live-private{font-size:7.5px}
  .live-workspace{padding-top:0}.live-hero{padding:6px 0 0}.live-hero h1{font-size:37px;margin:5px 0 3px}.live-hero p{font-size:9px}.eyebrow{font-size:7.5px}
  .system-line{margin-top:7px;padding:9px 0}.system-status-primary{gap:7px}.system-status-primary strong{font-size:8px}.system-reference-time{font-size:7px}.system-reference-time:before{padding-right:7px}.live-refresh-control{width:30px;height:30px}
  .position-surface{margin-top:25px}.position-hero{grid-template-columns:1fr;gap:13px}.position-title-row{gap:11px}.position-title-row h2{font-size:48px}.position-side{font-size:22px}.position-meta-inline{margin-top:8px;gap:6px 7px}.position-meta-inline>span:not(:last-child):after{margin-left:7px}.position-protection{width:100%;min-width:0;grid-template-columns:auto 1fr;align-items:end;justify-items:start;column-gap:14px;padding:12px 0 0 14px}.position-protection:before{top:12px;bottom:0}.position-protection>span{grid-column:1 / -1;font-size:6.8px}.position-protection>strong{font-size:31px}.position-protection>small{align-self:center;font-size:7.5px;max-width:165px}.position-policy{margin-top:13px;font-size:6.7px}
  .position-map-shell{padding-top:24px}.position-map-head{padding-bottom:8px}.position-map-head small{font-size:8.5px}.map-scale-note{display:none}.position-level-grid{padding-left:31px}.position-level-grid:before{left:6px;top:22px;bottom:22px}.position-level{min-height:91px;padding:13px 0;gap:3px 12px}.position-level:before{left:-29px}.position-level:after{left:-18px;width:11px}.position-level-entry:before{left:-29px}.position-level>span{font-size:7.6px}.position-level>small{max-width:145px;font-size:8.2px}.position-level>strong{font-size:clamp(30px,8.7vw,38px)}
  .activity-section{padding-top:34px}.activity-heading{align-items:end}.activity-heading h2{font-size:27px}.activity-heading-note{max-width:255px;font-size:7.8px}.activity-heading>span{font-size:6.2px}.timeline{margin-top:13px}.activity-feature{grid-template-columns:1fr;gap:7px;padding:16px 0 17px}.activity-feature>*{margin-left:13px}.activity-feature-top{grid-column:1}.activity-feature-value,.activity-feature-stat{justify-self:start}.activity-feature-value s{font-size:14px}.activity-feature-value strong,.activity-feature-stat{font-size:24px}.activity-feature-foot{grid-column:1}.activity-archive{margin-top:7px}.activity-archive>summary{min-height:56px;grid-template-columns:minmax(0,1fr) auto 24px;gap:10px}.activity-archive-copy small{font-size:6.8px}.activity-archive-meta{font-size:6.2px}.activity-row{grid-template-columns:16px minmax(0,1fr);gap:0 11px;padding:13px 0}.activity-row:before{left:4px}.activity-node{width:7px;height:7px}.activity-body{gap:6px}.activity-top time{font-size:7.2px}.activity-copy>strong{font-size:11.5px}.activity-levels{display:grid;gap:6px}.activity-copy>p{display:none}
  .completed-section{padding-top:22px}.live-disclosure{margin-top:30px}
}
@media(max-width:390px){.position-title-row h2{font-size:45px}.position-side{font-size:21px}.position-level>strong{font-size:29px}.position-level>small{max-width:132px}.position-protection>small{max-width:145px}}
@media(prefers-reduced-motion:reduce){.value-updated,.member-menu-popover{animation:none}.live-refresh-control,.member-menu>summary i,.activity-chevron,.activity-chevron:before,.activity-chevron:after{transition:none}.activity-archive-list{animation:none}}


/* XTZ 7.78.8.39 — Live focus: activity history refinement */
.activity-archive{margin-top:6px;border-top:1px solid #18221d}
.activity-archive>summary{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:7px 0;list-style:none;color:#9aa69f;cursor:pointer;user-select:none;transition:color .18s ease}
.activity-archive>summary::-webkit-details-marker{display:none}
.activity-archive>summary:after{content:none!important;display:none!important}
.activity-archive-copy{display:grid;gap:2px;min-width:0}
.activity-archive-label{font-size:8.8px;font-weight:580;letter-spacing:.005em;color:#a1aca7}
.activity-archive-copy small{font-size:6.9px;line-height:1.35;color:#56635d}
.activity-label-open{display:none}.activity-archive[open] .activity-label-closed{display:none}.activity-archive[open] .activity-label-open{display:inline}
.activity-history-action{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;color:#718078;font-size:6.8px;font-weight:620;letter-spacing:.11em;text-transform:uppercase}
.activity-action-open{display:none}.activity-archive[open] .activity-action-closed{display:none}.activity-archive[open] .activity-action-open{display:inline}
.activity-chevron{position:relative;width:10px;height:7px;border:0;border-radius:0;background:none;transition:transform .22s ease}
.activity-chevron:before{content:"";position:absolute;left:1px;top:0;width:6px;height:6px;border-right:1px solid #89a699;border-bottom:1px solid #89a699;background:none;transform:rotate(45deg);transition:border-color .18s ease}
.activity-chevron:after{content:none!important;display:none!important}
.activity-archive[open] .activity-chevron{background:none;border:0;transform:rotate(180deg)}
.activity-archive>summary:active .activity-chevron{transform:translateY(1px)}
.activity-archive[open]>summary:active .activity-chevron{transform:rotate(180deg) translateY(-1px)}
.activity-archive-list{position:relative;display:grid;gap:0;padding:2px 0 2px;animation:activity-reveal .2s ease-out}
.activity-row{position:relative;grid-template-columns:14px minmax(0,1fr);gap:0 12px;padding:12px 0 13px}
.activity-row:before{left:4px;background:#1d2924}
.activity-row:first-child:before{top:17px}.activity-row:last-child:before{bottom:calc(100% - 18px)}
.activity-node{width:7px;height:7px;margin-top:3px}
.activity-body{gap:6px}
.activity-top{justify-content:flex-start;gap:12px}
.activity-top time{font-size:7.2px;color:#6b7771}
.activity-tag{font-size:6.5px;letter-spacing:.13em}
.activity-copy>strong{font-size:11.5px;font-weight:575;letter-spacing:-.008em}
.activity-levels{gap:7px 18px}
.activity-level{gap:6px}
.activity-level>span{font-size:6px;color:#596660}
.activity-level>strong,.activity-level>div{font-size:9.3px}
.activity-row[data-activity-type="open"] .activity-copy>strong{color:#dce2df}
.activity-row[data-activity-type="open"] .activity-levels{opacity:.9}
@media(max-width:760px){
  .activity-archive{margin-top:5px}
  .activity-archive>summary{min-height:49px;padding:6px 0;gap:12px}
  .activity-archive-label{font-size:8.6px}.activity-archive-copy small{font-size:6.6px}
  .activity-history-action{font-size:6.3px;gap:7px}
  .activity-row{grid-template-columns:14px minmax(0,1fr);gap:0 10px;padding:11px 0 12px}
  .activity-row:before{left:4px}.activity-body{gap:5px}.activity-top{gap:10px}.activity-levels{display:flex;gap:7px 15px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.activity-chevron{transition:none}}
/* Keep every Live disclosure on the same premium chevron language. */
.completed-count:after,.recent-archive>summary:after{content:""!important;display:inline-block;width:5px;height:5px;margin-left:8px;border-right:1px solid #82988d;border-bottom:1px solid #82988d;vertical-align:2px;transform:rotate(45deg);transition:transform .2s ease}
.completed-drawer[open] .completed-count:after,.recent-archive[open]>summary:after{content:""!important;transform:rotate(225deg);vertical-align:-1px}
@media(prefers-reduced-motion:reduce){.completed-count:after,.recent-archive>summary:after{transition:none}}

/* XTZ 7.78.8.40 — Live activity rail */
.activity-heading{align-items:end}.activity-heading>span{padding-bottom:3px;color:#5d6963;font-size:6.6px;letter-spacing:.13em;text-transform:uppercase}
.activity-stack{margin-top:16px}
.activity-feature{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 24px;padding:19px 0 20px 18px;border:0}
.activity-feature:before{content:"";position:absolute;left:0;top:19px;bottom:20px;width:2px;border-radius:2px;background:#81978c}
.activity-feature[data-side="SELL"]:before{background:#b87873}.activity-feature[data-side="BUY"]:before{background:#8eb9a4}
.activity-feature>*{margin-left:0}
.activity-feature-top{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:12px}
.activity-feature-top time{font-size:7.4px;color:#6a7770}.activity-feature-top span{font-size:6.8px;font-weight:650;letter-spacing:.14em;color:#84978e}
.activity-feature[data-side="SELL"] .activity-feature-top span{color:#c88d86}.activity-feature[data-side="BUY"] .activity-feature-top span{color:#91bda7}
.activity-feature-main{grid-column:1 / -1;display:grid;gap:4px}.activity-feature-main>span{font-size:6.6px;letter-spacing:.12em;text-transform:uppercase;color:#65716b}.activity-feature-main>strong{font-size:clamp(19px,2.35vw,25px);line-height:1.08;font-weight:590;letter-spacing:-.03em}
.activity-feature-value{grid-column:1 / -1;display:flex;align-items:flex-end;gap:14px;margin-top:5px;white-space:nowrap;font-variant-numeric:tabular-nums}.activity-feature-value>i{align-self:end;padding-bottom:5px;font-style:normal;color:#8fb9a6;font-size:15px}.activity-value-block{display:grid;gap:3px}.activity-value-block small{font-size:6.2px;letter-spacing:.11em;text-transform:uppercase;color:#596660}.activity-value-block s{font-size:17px;color:#5b6862;text-decoration-color:#46514c}.activity-value-block strong{font-size:clamp(27px,3.25vw,34px);font-weight:610;letter-spacing:-.045em}.activity-value-current small{color:#718179}
.activity-feature-single{justify-content:flex-start}
.activity-locked-reference{grid-column:1 / -1;display:flex;align-items:baseline;gap:10px 14px;flex-wrap:wrap;margin-top:2px;padding-top:12px;border-top:1px solid #17211c}.activity-locked-reference>span{font-size:6.4px;letter-spacing:.12em;color:#64716b}.activity-locked-reference>strong{font-size:10.5px;font-weight:590;color:#b8c2bd}.activity-locked-reference>em{font-size:7px;font-style:normal;color:#56635d}
.activity-archive{margin-top:0;border-top:1px solid #18221d;border-bottom:0}
.activity-archive>summary{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 0;list-style:none;cursor:pointer;user-select:none}
.activity-archive>summary::-webkit-details-marker,.activity-archive>summary:after{display:none!important;content:none!important}
.activity-archive-copy{display:grid;gap:3px;min-width:0}.activity-archive-label{font-size:9px;font-weight:590;color:#a4afa9;letter-spacing:.005em}.activity-archive-copy small{font-size:6.8px;line-height:1.35;color:#56635d}
.activity-history-action{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;color:#74827b;font-size:6.5px;font-weight:640;letter-spacing:.11em;text-transform:uppercase}
.activity-action-open{display:none}.activity-archive[open] .activity-action-closed{display:none}.activity-archive[open] .activity-action-open{display:inline}
.activity-chevron{position:relative;width:9px;height:9px;border:0;border-radius:0;background:none;transition:transform .2s ease}.activity-chevron:before{content:"";position:absolute;left:1px;top:0;width:6px;height:6px;border-right:1px solid #89a699;border-bottom:1px solid #89a699;background:none;transform:rotate(45deg)}.activity-chevron:after{display:none!important;content:none!important}.activity-archive[open] .activity-chevron{transform:rotate(180deg)}
.activity-archive-list{position:relative;display:grid;gap:0;padding:2px 0 6px 18px;animation:activity-reveal .18s ease-out}.activity-archive-list:before{content:"";position:absolute;left:3px;top:10px;bottom:14px;width:1px;background:#213029}
.activity-row{position:relative;display:block;padding:14px 0 16px 14px}.activity-row:before{display:none}.activity-node{position:absolute;display:block;left:-18px;top:19px;width:7px;height:7px;margin:0;border-radius:50%;background:#74847c;border:2px solid var(--bg);box-shadow:0 0 0 1px #53645b;z-index:1}.activity-row[data-side="SELL"] .activity-node{background:#b87873;box-shadow:0 0 0 1px #7f5b57}.activity-row[data-side="BUY"] .activity-node{background:#8eb9a4;box-shadow:0 0 0 1px #587867}
.activity-body{display:grid;gap:7px}.activity-top{display:flex;align-items:center;justify-content:flex-start;gap:12px}.activity-top time{font-size:7px;color:#6a7770}.activity-tag{font-size:6.4px;color:#7b8a82;letter-spacing:.13em}.activity-row[data-side="SELL"] .activity-tag{color:#b98580}.activity-row[data-side="BUY"] .activity-tag{color:#8fb8a4}
.activity-copy{display:grid;gap:2px}.activity-copy>strong{font-size:13px;font-weight:590;letter-spacing:-.015em}.activity-copy>small{font-size:6.8px;line-height:1.4;color:#596660}
.activity-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 18px;margin-top:3px}.activity-level{display:grid;gap:3px;align-items:start}.activity-level>span{font-size:5.9px;letter-spacing:.12em;color:#596660}.activity-level>strong,.activity-level>div{font-size:10px;font-weight:580}.activity-level>div{display:flex;align-items:center;gap:6px}.activity-level s{color:#5e6b65}.activity-level i{font-style:normal;color:#89ac9a}
@media(max-width:760px){
  .activity-stack{margin-top:12px}.activity-feature{grid-template-columns:1fr;gap:8px;padding:16px 0 17px 14px}.activity-feature:before{top:16px;bottom:17px}.activity-feature-main>strong{font-size:20px}.activity-feature-value{gap:11px}.activity-value-block s{font-size:15px}.activity-value-block strong{font-size:29px}.activity-feature-value>i{font-size:14px;padding-bottom:4px}.activity-locked-reference{gap:8px 12px;padding-top:10px}.activity-archive>summary{min-height:54px;padding:8px 0}.activity-archive-label{font-size:8.6px}.activity-archive-copy small{font-size:6.5px}.activity-history-action{font-size:6.2px}.activity-archive-list{padding-left:16px}.activity-archive-list:before{left:3px}.activity-row{padding:12px 0 14px 12px}.activity-node{left:-16px;top:17px}.activity-copy>strong{font-size:12px}.activity-copy>small{font-size:6.5px}.activity-levels{grid-template-columns:1fr;gap:7px}.activity-level{grid-template-columns:96px minmax(0,1fr);align-items:baseline;gap:8px}.activity-level>span{font-size:5.8px}.activity-level>strong,.activity-level>div{font-size:9.8px}
}
@media(prefers-reduced-motion:reduce){.activity-chevron{transition:none}.activity-archive-list{animation:none}}

/* 7.78.8.41 — Live content hierarchy: Execution Map is the sole current-level source. */
.position-policy{display:none!important}
.activity-feature:not(:has(.activity-feature-value)){padding-bottom:17px}
.activity-feature:not(:has(.activity-feature-value)) .activity-feature-main{margin-bottom:0}
.activity-archive-list .activity-row[data-activity-type="open"]{padding-top:12px;padding-bottom:13px}
.activity-archive-list .activity-row[data-activity-type="open"] .activity-copy{grid-template-columns:minmax(0,1fr);gap:2px}
.activity-archive-list .activity-row[data-activity-type="open"] .activity-levels{display:none!important}
.activity-archive-list .activity-row[data-activity-type="open"] .activity-copy>small{max-width:460px}


/* 7.78.8.42 — Live shell refinement: signed-in workspace is the identity surface. */
.live-topbar[hidden]{display:none!important}
.live-workspace{padding-top:clamp(12px,2.1vw,24px)}
.live-topbar[hidden] + main .live-workspace{padding-top:clamp(14px,2.2vw,26px)}
.member-menu-popover{will-change:transform,opacity}
@media(max-width:760px){
  .live-workspace{padding-top:clamp(12px,3.4vw,18px)}
  .live-topbar[hidden] + main .live-workspace{padding-top:clamp(14px,3.8vw,20px)}
  .live-hero{padding-top:0}
}

/* XTZ 7.78.8.45 — Completed legs aligned to the Execution History system */
.completed-section{padding-top:38px}
.completed-drawer{border-top:1px solid #18221d}
.completed-summary{list-style:none;display:flex;align-items:flex-end;justify-content:space-between;gap:22px;min-height:76px;padding:18px 0;cursor:pointer}
.completed-summary::-webkit-details-marker{display:none}
.completed-summary-copy{display:grid;gap:5px;min-width:0}
.completed-summary-copy>strong{font-size:clamp(24px,3vw,32px)!important;line-height:1;font-weight:585!important;letter-spacing:-.045em!important;color:var(--text)}
.completed-summary-copy>strong span{color:var(--green)}
.completed-summary-action{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex:0 0 auto;color:#74827b;text-transform:uppercase}
.completed-count{font-size:6.7px!important;letter-spacing:.13em;color:#5f6c66!important}
.completed-action-closed,.completed-action-open{font-size:6.5px;font-weight:650;letter-spacing:.12em;color:#718078}
.completed-action-open{display:none}.completed-drawer[open] .completed-action-closed{display:none}.completed-drawer[open] .completed-action-open{display:inline}
.completed-count:after{content:none!important;display:none!important}
.completed-chevron{display:inline-block;width:7px;height:7px;border-right:1px solid #82988d;border-bottom:1px solid #82988d;transform:rotate(45deg);transition:transform .2s ease}
.completed-drawer[open] .completed-summary .completed-chevron{transform:rotate(225deg)}
.recent-list{display:block;padding:0}
.completed-stack{display:grid;gap:0}
.completed-leg{position:relative;padding:22px 0 24px 18px;border-bottom:1px solid #17211c}
.completed-leg:before{content:"";position:absolute;left:0;top:22px;bottom:24px;width:2px;border-radius:2px;background:#82968c}
.completed-leg[data-side="SELL"]:before{background:#b87873}.completed-leg[data-side="BUY"]:before{background:#8eb9a4}
.completed-leg-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.completed-leg-top time{font-size:7.4px;color:#68756f}
.completed-leg-top span{font-size:6.7px;font-weight:650;letter-spacing:.13em;color:#819188}
.completed-leg[data-side="SELL"] .completed-leg-top span{color:#c58b85}.completed-leg[data-side="BUY"] .completed-leg-top span{color:#91bba6}
.completed-leg-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:end}
.completed-leg-head>div:first-child{display:grid;gap:4px}
.completed-leg-head>div:first-child>strong{font-size:clamp(20px,2.5vw,27px);line-height:1.08;font-weight:590;letter-spacing:-.035em}
.completed-leg-head>div:first-child>small{max-width:430px;color:#65716b;font-size:7.6px;line-height:1.45}
.completed-realised{display:grid;justify-items:end;gap:3px;font-variant-numeric:tabular-nums}
.completed-realised>span{font-size:6px;letter-spacing:.12em;color:#596660}
.completed-realised>strong{font-size:clamp(27px,3.25vw,35px);line-height:1;font-weight:610;letter-spacing:-.045em;color:#cfd5d2}
.completed-realised.positive>strong{color:var(--green)}.completed-realised.negative>strong{color:var(--red)}
.completed-route{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:14px;align-items:end;margin-top:17px;padding-top:12px;border-top:1px solid #15201b;font-variant-numeric:tabular-nums}
.completed-route>span{display:grid;gap:3px}.completed-route>span:last-child{text-align:right}
.completed-route small{font-size:5.9px;letter-spacing:.12em;color:#596660}.completed-route strong{font-size:12px;font-weight:570;color:#cbd2ce}
.completed-route>i{align-self:end;padding-bottom:1px;font-style:normal;color:#88ad9a;font-size:13px}
.recent-archive{margin:0;border-bottom:1px solid #17211c}
.recent-archive>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:66px;padding:12px 0;cursor:pointer;color:inherit!important}
.recent-archive>summary::-webkit-details-marker{display:none}
.recent-archive>summary:after{content:none!important;display:none!important}
.completed-archive-copy{display:grid;gap:3px}.completed-archive-copy>strong{font-size:9px;font-weight:570;color:#9aa6a0}.completed-archive-copy>small{font-size:6.6px;color:#5f6c66}
.completed-archive-action{display:flex;align-items:center;gap:10px;flex:0 0 auto;text-transform:uppercase}
.completed-archive-closed,.completed-archive-open{font-size:6.2px;font-weight:640;letter-spacing:.11em;color:#718078}.completed-archive-open{display:none}.recent-archive[open] .completed-archive-closed{display:none}.recent-archive[open] .completed-archive-open{display:inline}.recent-archive[open] .completed-chevron{transform:rotate(225deg)}
.recent-archive-list{position:relative;display:grid;gap:0;padding:0 0 4px 18px}
.recent-archive-list:before{content:"";position:absolute;left:4px;top:18px;bottom:26px;width:1px;background:#25312c}
.completed-leg-compact{padding:17px 0 19px 14px;border-bottom:1px solid #141d19}
.completed-leg-compact:last-child{border-bottom:0}.completed-leg-compact:before{left:-18px;top:22px;bottom:auto;width:8px;height:8px;border:1px solid currentColor;border-radius:50%;background:var(--bg)}
.completed-leg-compact[data-side="SELL"]:before{color:#b87873;background:var(--bg)}.completed-leg-compact[data-side="BUY"]:before{color:#8eb9a4;background:var(--bg)}
.completed-leg-compact .completed-leg-head>div:first-child>strong{font-size:17px}.completed-leg-compact .completed-realised>strong{font-size:24px}.completed-leg-compact .completed-route{margin-top:13px;padding-top:10px}
@media(max-width:760px){
  .completed-section{padding-top:32px}.completed-summary{min-height:68px;padding:15px 0}.completed-summary-copy>strong{font-size:25px!important}.completed-summary-action{gap:10px}.completed-count{font-size:6.2px!important}.completed-action-closed,.completed-action-open{font-size:6px}
  .completed-leg{padding:18px 0 20px 14px}.completed-leg:before{top:18px;bottom:20px}.completed-leg-head{grid-template-columns:1fr auto;gap:12px}.completed-leg-head>div:first-child>strong{font-size:20px}.completed-leg-head>div:first-child>small{font-size:7px}.completed-realised>strong{font-size:28px}
  .completed-route{gap:10px;margin-top:14px;padding-top:10px}.completed-route strong{font-size:11px}.completed-route small{font-size:5.5px}
  .recent-archive>summary{min-height:60px}.recent-archive-list{padding-left:16px}.recent-archive-list:before{left:3px}.completed-leg-compact{padding-left:12px}.completed-leg-compact:before{left:-16px}.completed-leg-compact .completed-leg-head{grid-template-columns:1fr auto}.completed-leg-compact .completed-leg-head>div:first-child>strong{font-size:16px}.completed-leg-compact .completed-realised>strong{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.completed-chevron{transition:none}}


/* XTZ 7.78.8.45 — Live status + reversal-protection copy polish */
.position-status{
  display:inline-flex;
  align-items:center;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#93b9a7!important;
  font-size:7.4px!important;
  font-weight:650!important;
  letter-spacing:.105em!important;
  line-height:1!important;
}
.position-status:before{
  width:5px;
  height:5px;
  margin-right:6px;
  box-shadow:0 0 9px #9ec9b422;
}
@media(max-width:760px){
  .position-status{font-size:7.2px!important}
}

/* XTZ 7.78.8.50 — member push notifications */
.notification-dialog{width:min(92vw,520px);max-width:520px;padding:0;border:1px solid #26342e;border-radius:20px;background:#0d1214;color:var(--text);box-shadow:0 34px 90px #000c}.notification-dialog::backdrop{background:#020405b8;backdrop-filter:blur(7px)}.notification-dialog-inner{padding:30px}.notification-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.notification-dialog-head button{width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#ffffff05;color:#87938d;font-size:22px;line-height:1}.notification-dialog h2{margin:18px 0 10px;font-size:38px;line-height:.98;letter-spacing:-.055em;font-weight:560}.notification-dialog h2 span{color:var(--green)}.notification-dialog>div>p{margin:0;color:var(--muted);font-size:12px;line-height:1.65}.notification-state{display:flex;align-items:center;gap:14px;margin-top:27px;padding:18px 0;border-top:1px solid #1f2925;border-bottom:1px solid #1f2925}.notification-state-dot{width:9px;height:9px;border-radius:50%;background:#6d7973;box-shadow:0 0 0 7px #ffffff04}.notification-state[data-state="enabled"] .notification-state-dot{background:var(--green);box-shadow:0 0 0 7px #8fc5aa10}.notification-state[data-state="blocked"] .notification-state-dot{background:#d5ad69}.notification-state[data-state="error"] .notification-state-dot{background:var(--red)}.notification-state div{display:grid;gap:4px}.notification-state strong{font-size:12px;font-weight:650}.notification-state small{color:var(--quiet);font-size:10px;line-height:1.45}.notification-guidance{margin-top:16px;padding:14px 15px;border:1px solid #24312c;border-radius:11px;background:#ffffff03;color:#9aa7a1;font-size:10px;line-height:1.6}.notification-actions{display:flex;gap:10px;margin-top:20px}.notification-actions button{min-height:46px;padding:0 17px;border-radius:10px;font-size:11px;font-weight:650}.notification-primary{border:0;background:#c6d9cf;color:#101813}.notification-primary:disabled{opacity:.46}.notification-secondary{border:1px solid #304039;background:transparent;color:#aab5af}.notification-privacy{margin-top:17px!important;color:#66736d!important;font-size:9px!important}.member-menu-popover button[data-notifications]{color:#c2d1c9}@media(max-width:640px){.notification-dialog{width:calc(100vw - 28px);border-radius:17px}.notification-dialog-inner{padding:24px 20px}.notification-dialog h2{font-size:32px}.notification-actions{display:grid}.notification-actions button{width:100%}}

/* XTZ 7.78.8.50 — notification discovery + member identity */
.live-hero-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.notification-quick{position:relative;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #1d2924;border-radius:50%;background:#0c1110;color:#73817a;transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease}
.notification-quick svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.notification-quick:hover{border-color:#2b3a33;background:#0f1513;color:#a2aea8}
.notification-quick:active{transform:scale(.95)}
.notification-quick-dot{position:absolute;right:4px;top:4px;width:5px;height:5px;border-radius:50%;background:#59665f;border:1px solid var(--bg);transition:background .18s ease,box-shadow .18s ease}
.notification-quick[data-state="enabled"]{border-color:#2b4036;color:#9fc8b4;background:#0c1310}
.notification-quick[data-state="enabled"] .notification-quick-dot{background:var(--green);box-shadow:0 0 8px #9ec9b44d}
.notification-quick[data-state="available"] .notification-quick-dot{background:#92a099}
.notification-quick[data-state="blocked"] .notification-quick-dot,.notification-quick[data-state="error"] .notification-quick-dot{background:var(--amber)}

.member-menu>summary{width:34px;height:34px;min-height:34px;display:grid;place-items:center;padding:0;border-radius:50%;transition:background .18s ease,color .18s ease}
.member-menu>summary:hover{background:#ffffff05}
.member-menu>summary i{font-size:14px;line-height:1;letter-spacing:.12em}
.member-menu-popover{top:42px;min-width:252px;padding:9px;border-radius:14px;background:#0f1517;border-color:#25332d;box-shadow:0 28px 74px #000a}
.member-menu-identity{display:grid;gap:8px;padding:10px 10px 12px}
.member-menu-identity>span{font-size:6.6px;font-weight:680;letter-spacing:.16em;color:#68766f}
.member-menu-identity>div{display:flex;align-items:center;justify-content:space-between;gap:14px}
.member-menu-identity strong{min-width:0;font-size:11px;font-weight:590;letter-spacing:.075em;color:#c8d1cd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.member-menu-identity button{height:auto!important;padding:0!important;border:0!important;background:transparent!important;color:#81958a!important;font-size:7px!important;font-weight:640;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.member-menu-identity button:hover{color:var(--green)!important}
.member-menu-rule{height:1px;margin:0 7px 4px;background:#1c2722}
.member-menu-popover .member-menu-row{height:41px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#a6b1ac;text-align:left;font-size:10px}
.member-menu-popover .member-menu-row:hover{background:#ffffff07;color:var(--text)}
.member-menu-popover .member-menu-row small{color:#708077;font-size:7px;font-weight:650;letter-spacing:.08em;text-transform:uppercase}
.member-menu-popover .member-menu-row[data-notifications] small{color:#8ca99a}

.notification-dialog{width:min(92vw,510px);border-color:#293831;background:#0c1113;box-shadow:0 36px 100px #000d}
.notification-dialog-inner{padding:30px 31px 28px}
.notification-dialog-head button{border:1px solid #223029;background:#0d1311;color:#83908a;transition:border-color .18s ease,color .18s ease,transform .18s ease}
.notification-dialog-head button:hover{border-color:#3c5448;color:#b4c0ba}.notification-dialog-head button:active{transform:scale(.94)}
.notification-dialog h2{margin-top:20px;font-size:40px}
.notification-dialog>div>p{max-width:410px;color:#8c9892;font-size:11.5px;line-height:1.65}
.notification-state{margin-top:25px;padding:16px 0;border-top:1px solid #1b2621;border-bottom:0}
.notification-state strong{font-size:11.5px}.notification-state small{font-size:9px}
.notification-walkthrough{margin-top:2px;padding:19px 0 2px;border-top:1px solid #1b2621}
.notification-walkthrough-title{display:block;margin-bottom:10px;color:#8f9c96;font-size:7px;font-weight:680;letter-spacing:.16em;text-transform:uppercase}
.notification-steps{display:grid}
.notification-step{display:grid;grid-template-columns:27px minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid #17201c}
.notification-step:last-child{border-bottom:0}
.notification-step>span{display:grid;place-items:center;width:23px;height:23px;border:1px solid #293a32;border-radius:50%;color:#8fb5a2;font-size:6.5px;font-weight:680;letter-spacing:.07em}
.notification-step>div{display:grid;gap:3px;align-content:center}
.notification-step strong{font-size:10.5px;font-weight:600;color:#c4ceca}
.notification-step small{max-width:360px;color:#6f7c76;font-size:8.5px;line-height:1.5}
.notification-actions{margin-top:18px}
.notification-actions button{min-height:44px}
.notification-primary{background:#c8ddd2;color:#0e1712}
.notification-privacy{margin-top:16px!important;padding-top:15px;border-top:1px solid #17201c;color:#59665f!important;font-size:8px!important;line-height:1.55!important}

@media(max-width:640px){
  .live-hero-actions{gap:5px}.notification-quick,.member-menu>summary{width:32px;height:32px;min-height:32px}.notification-quick svg{width:14px;height:14px}
  .member-menu-popover{right:-2px;top:39px;min-width:min(252px,calc(100vw - 42px))}
  .notification-dialog{width:calc(100vw - 24px);max-height:min(86svh,720px);overflow:auto;border-radius:18px}
  .notification-dialog-inner{padding:23px 20px 22px}.notification-dialog h2{font-size:33px}.notification-dialog>div>p{font-size:10.5px}.notification-state{margin-top:21px}.notification-walkthrough{padding-top:16px}.notification-step{grid-template-columns:25px minmax(0,1fr);gap:9px;padding:10px 0}.notification-step>span{width:21px;height:21px}.notification-step strong{font-size:10px}.notification-step small{font-size:8.2px}.notification-actions{display:grid}.notification-actions button{width:100%}
}
@media(prefers-reduced-motion:reduce){.notification-quick,.notification-quick-dot,.notification-dialog-head button{transition:none}}

/* XTZ 7.78.8.50 — Live Alerts premium polish */
.notification-quick{
  width:auto!important;height:32px!important;min-height:32px!important;padding:0 5px!important;
  display:inline-flex!important;align-items:center!important;gap:7px!important;
  border:0!important;border-radius:8px!important;background:transparent!important;
  color:#75817b!important;box-shadow:none!important;-webkit-tap-highlight-color:transparent;
}
.notification-quick:hover{background:transparent!important;color:#9da9a3!important}
.notification-quick:active{transform:translateY(1px)!important}
.notification-quick-label{font-size:6.6px;font-weight:680;letter-spacing:.16em;line-height:1;text-transform:uppercase;white-space:nowrap}
.notification-quick-dot{
  position:static!important;width:6px!important;height:6px!important;flex:0 0 6px;
  border:0!important;background:#59665f!important;box-shadow:none!important;
}
.notification-quick[data-state="enabled"]{color:#9fc8b4!important}
.notification-quick[data-state="enabled"] .notification-quick-dot{background:var(--green)!important;box-shadow:0 0 9px #9ec9b440!important}
.notification-quick[data-state="blocked"] .notification-quick-dot,
.notification-quick[data-state="error"] .notification-quick-dot{background:var(--amber)!important}
.notification-quick[data-state="available"] .notification-quick-dot{background:#829089!important}

.notification-dialog{
  width:min(92vw,500px)!important;max-width:500px!important;border:1px solid #1d2823!important;
  border-radius:18px!important;background:#0b1011!important;box-shadow:0 34px 96px #000d!important;
}
.notification-dialog::backdrop{background:#020405c7!important;backdrop-filter:blur(8px)!important}
.notification-dialog-inner{padding:28px 30px 26px!important}
.notification-dialog-head{align-items:center!important}
.notification-dialog-head .eyebrow{color:#77857e!important}
.notification-close{
  position:relative!important;width:30px!important;height:30px!important;padding:0!important;border:0!important;
  border-radius:8px!important;background:transparent!important;color:#77827d!important;outline:none!important;
  -webkit-tap-highlight-color:transparent!important;box-shadow:none!important;
}
.notification-close i,.notification-close::before,.notification-close::after{pointer-events:none}
.notification-close i::before,.notification-close i::after{
  content:"";position:absolute;left:8px;top:14px;width:14px;height:1.5px;border-radius:2px;background:currentColor;
}
.notification-close i::before{transform:rotate(45deg)}
.notification-close i::after{transform:rotate(-45deg)}
.notification-close:hover{background:#ffffff05!important;color:#a5b0aa!important}
.notification-close:active{transform:scale(.96)!important;background:#ffffff07!important}
.notification-close:focus,.notification-close:focus-visible{outline:none!important;box-shadow:none!important;border-color:transparent!important}

.notification-dialog h2{margin:18px 0 9px!important;font-size:39px!important;line-height:1!important}
.notification-dialog>div>p{max-width:400px!important;color:#8b9791!important;font-size:11.25px!important;line-height:1.58!important}
.notification-state{margin-top:24px!important;padding:16px 0!important;border-top:1px solid #1a2420!important;border-bottom:0!important;gap:13px!important}
.notification-state-dot{width:8px!important;height:8px!important;box-shadow:0 0 0 6px #ffffff03!important}
.notification-state strong{font-size:11.25px!important;font-weight:620!important;color:#c7cfcb!important}
.notification-state small{color:#6d7a74!important;font-size:8.7px!important;line-height:1.45!important}
.notification-walkthrough{margin-top:0!important;padding:18px 0 0!important;border-top:1px solid #17211c!important}
.notification-walkthrough-title{margin-bottom:8px!important;color:#73827a!important;font-size:6.8px!important;letter-spacing:.17em!important}
.notification-steps{position:relative;display:grid!important;gap:0!important}
.notification-step{
  position:relative;grid-template-columns:28px minmax(0,1fr)!important;gap:10px!important;padding:10px 0!important;border:0!important;
}
.notification-step:not(:last-child)::after{content:"";position:absolute;left:11px;top:31px;bottom:-2px;width:1px;background:#1d2a24}
.notification-step>span{
  width:23px!important;height:23px!important;border:1px solid #2a3b33!important;background:#0a0f0e!important;
  color:#91b4a3!important;font-size:6.2px!important;
}
.notification-step strong{font-size:10.2px!important;font-weight:600!important;color:#c3ccc8!important}
.notification-step small{max-width:355px!important;color:#69756f!important;font-size:8.35px!important;line-height:1.45!important}
.notification-actions{margin-top:19px!important;gap:9px!important}
.notification-actions button{min-height:43px!important;border-radius:9px!important;font-size:10.5px!important}
.notification-primary{background:#c8dcd2!important;color:#0d1712!important}
.notification-secondary{border-color:#26352e!important;color:#98a59f!important}
.notification-privacy{margin-top:17px!important;padding-top:15px!important;border-top:1px solid #17201c!important;color:#5f6c66!important;font-size:8.1px!important;line-height:1.5!important}
.member-menu-popover .member-menu-row[data-notifications] span{color:#bbc8c1}

@media(max-width:640px){
  .live-hero-actions{gap:7px!important}.notification-quick{height:30px!important;min-height:30px!important;padding:0 3px!important}.notification-quick-label{font-size:6.2px!important}
  .notification-dialog{width:calc(100vw - 28px)!important;max-height:min(84svh,680px)!important;border-radius:17px!important}
  .notification-dialog-inner{padding:22px 20px 21px!important}.notification-dialog h2{font-size:32px!important}.notification-dialog>div>p{font-size:10.2px!important;line-height:1.55!important}
  .notification-state{margin-top:20px!important;padding:14px 0!important}.notification-walkthrough{padding-top:15px!important}.notification-step{grid-template-columns:26px minmax(0,1fr)!important;gap:9px!important;padding:9px 0!important}
  .notification-step:not(:last-child)::after{left:10px;top:29px}.notification-step>span{width:21px!important;height:21px!important}.notification-step strong{font-size:9.7px!important}.notification-step small{font-size:8px!important}
  .notification-actions{display:grid!important}.notification-actions button{width:100%!important}
}


/* XTZ 7.78.8.52 — installed app updates + premium alert control */
.notification-quick{
  width:auto!important;height:34px!important;min-height:34px!important;padding:0 10px!important;
  display:inline-flex!important;align-items:center!important;gap:7px!important;
  border:1px solid #223029!important;border-radius:999px!important;
  background:#0b1110!important;color:#87948e!important;box-shadow:inset 0 1px 0 #ffffff05!important;
  cursor:pointer!important;transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease!important;
}
.notification-quick:hover{border-color:#304038!important;background:#0e1512!important;color:#b3bdb8!important}
.notification-quick:active{transform:scale(.975)!important}
.notification-quick-icon{width:13px!important;height:13px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.55!important;stroke-linecap:round!important;stroke-linejoin:round!important;opacity:.9}
.notification-quick-label{font-size:6.35px!important;font-weight:700!important;letter-spacing:.155em!important;line-height:1!important;color:inherit!important}
.notification-quick-status{display:inline-flex!important;align-items:center!important;gap:5px!important;font-size:5.9px!important;font-weight:720!important;letter-spacing:.13em!important;line-height:1!important;color:#728078!important;white-space:nowrap!important}
.notification-quick-status::before{content:"";width:4px;height:4px;border-radius:50%;background:#657169;box-shadow:none}
.notification-quick[data-state="enabled"]{border-color:#2c4036!important;background:#0c1410!important;color:#abcaba!important}
.notification-quick[data-state="enabled"] .notification-quick-status{color:#9fc8b4!important}
.notification-quick[data-state="enabled"] .notification-quick-status::before{background:var(--green)!important;box-shadow:0 0 8px #9ec9b444!important}
.notification-quick[data-state="available"] .notification-quick-status::before{background:#829089!important}
.notification-quick[data-state="blocked"] .notification-quick-status,
.notification-quick[data-state="error"] .notification-quick-status{color:#bca16d!important}
.notification-quick[data-state="blocked"] .notification-quick-status::before,
.notification-quick[data-state="error"] .notification-quick-status::before{background:var(--amber)!important}
.notification-quick[data-state="unsupported"] .notification-quick-status::before,
.notification-quick[data-state="unconfigured"] .notification-quick-status::before{background:#59645e!important}
.notification-quick-dot{display:none!important}
@media(max-width:640px){
  .live-hero-actions{gap:7px!important}.notification-quick{height:32px!important;min-height:32px!important;padding:0 9px!important;gap:6px!important}
  .notification-quick-icon{width:12px!important;height:12px!important}.notification-quick-label{font-size:6px!important}.notification-quick-status{font-size:5.55px!important}
}
@media(prefers-reduced-motion:reduce){.notification-quick{transition:none!important}}

/* XTZ 7.78.8.52 — final Live header + alert control micro-polish */
.live-hero-actions{gap:6px!important}
.notification-quick{
  min-width:104px!important;
  justify-content:center!important;
}
.member-menu>summary{
  display:grid!important;
  place-items:center!important;
}

@media(max-width:760px){
  .live-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:
      "identity-label identity-label"
      "identity-title utilities"
      "identity-sub identity-sub"!important;
    column-gap:11px!important;
    row-gap:0!important;
    align-items:center!important;
    padding:5px 0 0!important;
  }
  .live-identity{display:contents!important}
  .live-identity>.eyebrow{
    grid-area:identity-label!important;
    margin:0 0 3px!important;
    white-space:nowrap!important;
    font-size:7.15px!important;
    line-height:1.3!important;
  }
  .live-identity>h1{
    grid-area:identity-title!important;
    min-width:0!important;
    margin:0!important;
    white-space:nowrap!important;
    font-size:clamp(35px,10.2vw,39px)!important;
    line-height:.98!important;
  }
  .live-identity>p{
    grid-area:identity-sub!important;
    margin:4px 0 0!important;
    white-space:nowrap!important;
    font-size:8.7px!important;
    line-height:1.2!important;
  }
  .live-hero-actions{
    grid-area:utilities!important;
    justify-self:end!important;
    align-self:center!important;
    gap:6px!important;
  }
  .notification-quick{
    width:104px!important;
    min-width:104px!important;
    height:31px!important;
    min-height:31px!important;
    padding:0 8px!important;
    gap:5px!important;
    justify-content:center!important;
  }
  .notification-quick-icon{width:11.5px!important;height:11.5px!important}
  .notification-quick-label{font-size:5.9px!important}
  .notification-quick-status{font-size:5.45px!important;min-width:29px!important;justify-content:flex-start!important}
  .member-menu>summary{
    width:31px!important;
    height:31px!important;
    min-height:31px!important;
  }
  .member-menu>summary i{font-size:13px!important;line-height:1!important}
}

@media(max-width:350px){
  .live-hero{column-gap:7px!important}
  .live-identity>h1{font-size:33px!important}
  .notification-quick{width:98px!important;min-width:98px!important;padding:0 7px!important;gap:4px!important}
  .notification-quick-label{font-size:5.7px!important}
  .notification-quick-status{font-size:5.2px!important;min-width:27px!important}
  .live-hero-actions{gap:4px!important}
}

/* XTZ 7.78.8.53 — membership request entry */
.login-request-access{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;margin-top:22px;color:#75847d;text-decoration:none;font-size:9px;line-height:1.5}.login-request-access strong{color:#9db6aa;font-weight:630}.login-request-access b{color:#829b8f;font-size:13px;font-weight:500}.login-request-access:hover strong{color:#c5d5cd}.login-request-access:focus-visible{outline:2px solid #819b8e;outline-offset:5px;border-radius:3px}

/* XTZ 7.78.8.61 — membership request is a website acquisition flow, not an installed-app action */
@media (display-mode: standalone){.login-request-access{display:none!important}}
html.xtz-live-standalone .login-request-access{display:none!important}


/* XTZ 7.78.8.65 — protected-state clarity: price-level strike-through */
.position-level-entry>strong{position:relative;justify-self:end}
.position-level-grid[data-protection-state="profit"] .position-level-entry>strong{color:#a9b4af}
.position-level-grid[data-protection-state="profit"] .position-level-entry>strong:after{content:"";position:absolute;left:-2%;right:-2%;top:51%;height:1px;transform:translateY(-50%);background:#77998a;opacity:.58;box-shadow:0 0 7px #9ec9b421;pointer-events:none}
.position-level-grid[data-protection-state="profit"].protection-crossing .position-level-entry>strong:after{animation:xtz-entry-cross .75s cubic-bezier(.2,.72,.2,1)}
.position-level-grid[data-protection-state="profit"] .position-level-entry>span{color:#7f9389}
.position-level-grid[data-protection-state="profit"] .position-level-entry>small{color:#70877c}
.position-level-grid[data-protection-state="profit"] .position-level-reversal>small{color:#86a998}
.position-level-grid[data-protection-state="breakeven"] .position-level-entry>span,.position-level-grid[data-protection-state="breakeven"] .position-level-reversal>span{color:#91ad9f}
.position-level-grid[data-protection-state="breakeven"] .position-level-entry>small,.position-level-grid[data-protection-state="breakeven"] .position-level-reversal>small{color:#7f988c}
.position-level-grid[data-protection-state="risk"] .position-level-reversal>small{color:#707c76}
@keyframes xtz-entry-cross{0%{transform:translateY(-50%) scaleX(0);transform-origin:left center;opacity:0}25%{opacity:.72}100%{transform:translateY(-50%) scaleX(1);transform-origin:left center;opacity:.58}}
@media(prefers-reduced-motion:reduce){.position-level-grid[data-protection-state="profit"].protection-crossing .position-level-entry>strong:after{animation:none}}

/* XTZ 7.78.8.66 — Live hierarchy polish
   Preserve the approved Execution Map architecture while removing residual row
   separators and making the actively managed reversal the dominant map value. */
.position-level{border-bottom:0}
.position-level-entry>strong{font-size:clamp(32px,3.85vw,46px);font-weight:540}
.position-level-reversal>strong{font-size:clamp(38px,4.65vw,55px);font-weight:620;color:#f3f7f5}
.position-level-target>strong{font-size:clamp(31px,3.65vw,43px);font-weight:535;color:#d6ddd9}
.position-level-target>span{color:#78857f}
.position-level-target>small{color:#5e6b65}
.position-level-grid[data-protection-state="profit"] .position-level-entry>strong{color:#87958e}
.position-level-grid[data-protection-state="profit"] .position-level-entry>strong:after{background:#6f8f80;opacity:.52;box-shadow:0 0 6px #9ec9b419}
@media(max-width:760px){
  .position-level-entry>strong{font-size:32px}
  .position-level-reversal>strong{font-size:39px}
  .position-level-target>strong{font-size:33px}
  .position-protection>small{max-width:190px;white-space:nowrap}
}
@media(max-width:390px){
  .position-level-entry>strong{font-size:30px}
  .position-level-reversal>strong{font-size:36px}
  .position-level-target>strong{font-size:31px}
  .position-protection>small{max-width:178px;font-size:7.2px}
}


/* XTZ 7.78.8.80 — native XTZ Live position sizing tool refinement
   Makes the sizing extension read as an actual tool without adding card chrome,
   removes duplicate expanded headings, and centres the level connector between
   the Entry and SL / reversal blocks. */
.live-position-sizing{margin-top:34px}
.live-size-disclosure>summary{width:100%;min-height:58px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:10px 0;list-style:none;cursor:pointer;user-select:none}
.live-size-disclosure>summary::-webkit-details-marker{display:none}
.live-size-summary-copy{display:grid;gap:4px;min-width:0}
.live-size-summary-copy>strong{font-size:18px;font-weight:580;letter-spacing:-.025em;color:#dce3df}
.live-size-summary-copy>strong span{color:var(--green)}
.live-size-summary-action{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;color:#74827b;font-size:6.5px;font-weight:640;letter-spacing:.11em;text-transform:uppercase;white-space:nowrap}
.live-size-summary-action .activity-chevron{flex:0 0 9px}
.live-size-action-open{display:none}
.live-size-disclosure[open] .live-size-action-closed{display:none}
.live-size-disclosure[open] .live-size-action-open{display:inline}
.live-size-disclosure[open] .activity-chevron{transform:rotate(180deg)}
.live-size-disclosure>summary:active .activity-chevron{transform:translateY(1px)}
.live-size-disclosure[open]>summary:active .activity-chevron{transform:rotate(180deg) translateY(-1px)}
.live-size-body{padding:5px 0 4px;animation:live-size-reveal .2s ease-out}
.live-size-intro{max-width:650px;margin:0;color:#78857f;font-size:9px;line-height:1.6}
.live-size-levels{display:grid;grid-template-columns:max-content minmax(44px,1fr) max-content;align-items:end;column-gap:18px;row-gap:13px;margin-top:18px}
.live-size-level{display:grid;gap:5px;min-width:0}
.live-size-level-stop{justify-self:end;text-align:left}
.live-size-levels small,.live-size-method small,.live-size-result-main>span,.live-size-result-facts small{font-size:6.6px;font-weight:690;letter-spacing:.14em;color:#6e7c75}
.live-size-levels strong{font-size:24px;font-weight:570;letter-spacing:-.035em;color:#d9e0dc;font-variant-numeric:tabular-nums;white-space:nowrap}
.live-size-level-arrow{align-self:end;justify-self:center;width:28px;height:24px;color:#8fb9a6;font-size:15px;line-height:24px;font-style:normal;text-align:center}
.live-size-distance{grid-column:1/-1;display:grid!important;gap:5px;justify-self:start;text-align:left;margin-top:1px}
.live-size-distance strong{font-size:20px;color:#d9e0dc}
.live-size-distance em{font-size:6.7px;font-style:normal;color:#5d6b64}
.live-position-sizing:not([data-state="risk"]) .live-size-distance strong{color:#76867f}
.live-position-sizing:not([data-state="risk"]) .live-size-distance small,.live-position-sizing:not([data-state="risk"]) .live-size-distance em{color:#56635d}
.live-size-state-note{max-width:680px;margin:13px 0 0;padding-left:12px;border-left:2px solid #34443c;display:grid;gap:4px;color:#74817b}
.live-size-state-note strong{font-size:6.4px;font-weight:690;letter-spacing:.14em;color:#718078}
.live-size-state-note span{font-size:8.5px;line-height:1.55}
.live-position-sizing[data-state="risk"] .live-size-state-note{display:none}
.live-position-sizing[data-state="profit"] .live-size-state-note,.live-position-sizing[data-state="breakeven"] .live-size-state-note{border-left-color:#739884;color:#88a699}
.live-position-sizing[data-state="profit"] .live-size-state-note strong,.live-position-sizing[data-state="breakeven"] .live-size-state-note strong{color:#8fb29f}
.live-size-controls{display:grid;grid-template-columns:minmax(150px,.55fr) minmax(220px,1fr);gap:16px;margin-top:22px;max-width:590px}
.live-size-field{display:grid;gap:8px;color:#aab5af;font-size:9px;font-weight:570}
.live-size-field select,.live-size-value-field{width:100%;height:52px;border:1px solid #2a3731;border-radius:10px;background:#0d1213;color:#e5ebe8;font-size:16px;outline:0}
.live-size-field select{padding:0 38px 0 14px;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#718079 50%),linear-gradient(135deg,#718079 50%,transparent 50%);background-position:calc(100% - 17px) 22px,calc(100% - 12px) 22px;background-size:5px 5px,5px 5px;background-repeat:no-repeat}
.live-size-field select:focus,.live-size-value-field:focus-within{border-color:#587465}
.live-size-field select:disabled,.live-size-value-field:has(input:disabled){opacity:.42}
.live-size-value-field{display:flex;align-items:center;padding:0 14px}
.live-size-value-field b{flex:0 0 auto;color:#7f8e87;font-size:14px;font-weight:540}
.live-size-value-field input{min-width:0;width:100%;height:50px;padding:0 0 0 8px;border:0;outline:0;background:transparent;color:#eef1ef;font-size:16px;font-variant-numeric:tabular-nums}
.live-size-value-field input::placeholder{color:#4f5a55}
.live-size-result{display:grid;grid-template-columns:minmax(190px,.68fr) minmax(0,1fr);gap:30px;align-items:end;margin-top:28px}
.live-size-result-main{display:grid;gap:5px}
.live-size-result-main>div{display:flex;align-items:baseline;gap:8px}
.live-size-result-main>div strong{font-size:clamp(38px,5vw,50px);line-height:.94;font-weight:620;letter-spacing:-.055em;color:#b7dbc9;font-variant-numeric:tabular-nums}
.live-size-result-main>div small{font-size:7px;font-weight:690;letter-spacing:.13em;color:#70827a}
.live-size-result-main>p{margin:3px 0 0;max-width:290px;color:#627069;font-size:7.8px;line-height:1.5}
.live-size-result-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.live-size-result-facts>span{display:grid;gap:5px;min-width:0}
.live-size-result-facts strong{font-size:11px;font-weight:570;color:#c2ccc7;white-space:nowrap;font-variant-numeric:tabular-nums}
.live-size-method{display:flex;align-items:flex-start;gap:26px;flex-wrap:wrap;margin-top:23px;color:#74817b}
.live-size-method>span{display:grid;gap:4px}
.live-size-method strong{font-size:8px;font-weight:520;color:#829089}
.live-size-footnote{max-width:760px;margin:17px 0 0;color:#53605a;font-size:7.6px;line-height:1.6}
.live-position-sizing[data-state="profit"] .live-size-result-main>div strong,.live-position-sizing[data-state="breakeven"] .live-size-result-main>div strong{color:#607069}
.live-position-sizing:not([data-state="risk"]) .live-size-controls,.live-position-sizing:not([data-state="risk"]) .live-size-result,.live-position-sizing:not([data-state="risk"]) .live-size-method,.live-position-sizing:not([data-state="risk"]) .live-size-footnote{display:none}
@keyframes live-size-reveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(max-width:760px){
  .live-position-sizing{margin-top:27px}
  .live-size-disclosure>summary{min-height:54px;gap:12px;padding:8px 0}
  .live-size-summary-copy>strong{font-size:16px}
  .live-size-summary-action{gap:7px;font-size:6.2px}
  .live-size-body{padding-top:4px}
  .live-size-intro{font-size:8.2px}
  .live-size-levels{grid-template-columns:max-content minmax(34px,1fr) max-content;column-gap:10px;row-gap:10px;margin-top:16px}
  .live-size-levels strong{font-size:20px}
  .live-size-level-arrow{height:20px;line-height:20px;font-size:14px}
  .live-size-distance{margin-top:2px}
  .live-size-distance strong{font-size:18px}
  .live-size-state-note{margin-top:11px}
  .live-size-state-note span{font-size:7.8px}
  .live-size-controls{grid-template-columns:1fr 1.45fr;gap:11px;margin-top:19px}
  .live-size-field{font-size:8.2px}.live-size-field select,.live-size-value-field{height:50px;border-radius:9px}.live-size-value-field input{height:48px}
  .live-size-result{grid-template-columns:1fr;gap:19px;margin-top:24px}.live-size-result-main>div strong{font-size:40px}
  .live-size-result-facts{grid-template-columns:1fr 1fr;gap:13px 18px}.live-size-result-facts strong{font-size:10px}
  .live-size-method{gap:20px;margin-top:20px}.live-size-footnote{font-size:7.1px}
}
@media(max-width:390px){
  .live-size-summary-action{font-size:6px}
  .live-size-levels{grid-template-columns:max-content minmax(28px,1fr) max-content;column-gap:8px}
  .live-size-controls{grid-template-columns:1fr}.live-size-field select,.live-size-value-field{height:49px}.live-size-value-field input{height:47px}
  .live-size-result-facts{gap:12px 14px}
}
@media(max-width:340px){
  .live-size-summary-copy>strong{font-size:15px}
  .live-size-summary-action{gap:5px;font-size:5.7px}
  .live-size-levels{grid-template-columns:max-content minmax(20px,1fr) max-content;gap:6px}
  .live-size-levels strong{font-size:18px}
}
@media(prefers-reduced-motion:reduce){.live-size-body{animation:none}.live-size-disclosure .activity-chevron{transition:none}}


/* XTZ 7.78.8.80 — private access / account security interaction polish
   Keeps Login and Change Password on one password-field language, suppresses
   browser autofill colour overrides, and reduces mobile focus reflow. */
html.auth-form-active{scroll-behavior:auto}
.live-login-form input{
  -webkit-appearance:none;appearance:none;
  background:#101517!important;color:var(--text)!important;
  -webkit-text-fill-color:var(--text)!important;caret-color:var(--green);
  box-shadow:0 0 0 1000px #101517 inset!important;
  background-clip:padding-box!important;
}
.live-login-form input:focus{
  background:#101517!important;border-color:#719582!important;
  box-shadow:0 0 0 1000px #101517 inset!important;
}
.live-login-form input:-webkit-autofill,
.live-login-form input:-webkit-autofill:hover,
.live-login-form input:-webkit-autofill:focus,
.live-login-form input:-webkit-autofill:active{
  -webkit-text-fill-color:var(--text)!important;
  -webkit-box-shadow:0 0 0 1000px #101517 inset!important;
  box-shadow:0 0 0 1000px #101517 inset!important;
  caret-color:var(--green)!important;
  background-color:#101517!important;
  transition:background-color 999999s ease-out 0s,color 999999s ease-out 0s;
}
.live-login-form input:autofill{
  color:var(--text)!important;background:#101517!important;
  box-shadow:0 0 0 1000px #101517 inset!important;
}
.password-input button{
  right:8px;top:50%;transform:translateY(-50%);
  height:34px;min-width:48px;padding:0 8px;border-radius:6px;
  color:#899690;font-size:10px;font-weight:610;letter-spacing:.01em;
}
.password-input button:hover{background:#ffffff06;color:#b6c1bc}
.password-input button:active{transform:translateY(-50%);background:#ffffff08}
.password-input button:focus-visible{outline:0;outline-offset:0;background:#ffffff06;color:#a9c7b8;box-shadow:inset 0 0 0 1px #2c4037}
.password-settings{margin:30px auto 0}
.password-settings h1{margin:11px 0 9px;font-size:43px;line-height:1;letter-spacing:-.06em}
.password-settings>p{margin:0;color:#8d9993;font-size:11.5px;line-height:1.6}
.password-settings .live-login-form{gap:18px;margin-top:25px}
.password-settings .live-login-form input{height:52px}
.password-settings .password-input button{height:32px}
.password-settings .live-login-form button[type=submit]{height:52px}
.password-settings .password-guidance{margin-top:-1px}
.password-settings .account-cancel{margin-top:13px}

@media(max-width:760px){
  .password-settings{max-width:100%;margin:18px auto 0}
  .password-settings h1{margin-top:10px;font-size:40px}
  .password-settings>p{font-size:11px;line-height:1.55}
  .password-settings .live-login-form{gap:17px;margin-top:23px}
  .password-settings .live-login-form label{gap:8px}
  .password-settings .live-login-form input{height:50px}
  .password-settings .password-input button{height:31px;right:7px}
  .password-settings .live-login-form button[type=submit]{height:50px}
  .password-settings .password-guidance{font-size:9.5px;line-height:1.55}
}

/* XTZ 7.78.8.80 — native iOS auth focus stability + quiet placeholders
   Auth inputs remain in the normal document flow. There are intentionally no
   fixed keyboard viewports, visualViewport scroll corrections or focus-scroll
   animations. Safari may make one native adjustment to reveal a field, but XTZ
   does not fight that movement. */
.live-login-form input{
  font-weight:480;
  scroll-margin-top:18px;
  scroll-margin-bottom:22px;
}
.live-login-form input::placeholder{
  color:#59645f!important;
  -webkit-text-fill-color:#59645f!important;
  opacity:1!important;
  font-weight:410!important;
  letter-spacing:0!important;
}
@media(max-width:760px){
  html.auth-form-active{scroll-behavior:auto!important}
  html.auth-form-active body{overflow-x:hidden}
}

/* XTZ 7.78.8.88 — recovery history integrity */
.activity-history-note{display:grid;gap:4px;padding:14px 0 16px 12px;border-left:1px solid #213029}
.activity-history-note strong{font-size:11.5px;font-weight:570;color:#98a49e}
.activity-history-note small{max-width:520px;font-size:7px;line-height:1.5;color:#5f6b65}

/* XTZ 7.78.8.90 — canonical execution-history grid
   Every archived lifecycle event uses one fixed metadata/content structure.
   Date, event tag and event content no longer create implicit CSS grid columns,
   so future update/open/reverse/TP rows all begin on the same title axis. */
.activity-archive-list .activity-row .activity-body{
  display:grid;
  grid-template-columns:104px 82px minmax(0,1fr);
  column-gap:18px;
  row-gap:5px;
  align-items:start;
  min-width:0;
}
.activity-archive-list .activity-row .activity-top{display:contents}
.activity-archive-list .activity-row .activity-top time{
  grid-column:1;
  grid-row:1;
  min-width:0;
}
.activity-archive-list .activity-row .activity-tag{
  grid-column:2;
  grid-row:1;
  min-width:0;
}
.activity-archive-list .activity-row .activity-copy{
  grid-column:3;
  grid-row:1;
  min-width:0;
  margin-left:0!important;
}
.activity-archive-list .activity-row .activity-levels{
  grid-column:3;
  grid-row:2;
  min-width:0;
  margin-left:0!important;
}
@media(max-width:760px){
  .activity-archive-list .activity-row .activity-body{
    grid-template-columns:60px 56px minmax(0,1fr);
    column-gap:12px;
    row-gap:5px;
  }
}
@media(max-width:340px){
  .activity-archive-list .activity-row .activity-body{
    grid-template-columns:52px 46px minmax(0,1fr);
    column-gap:9px;
  }
  .activity-archive-list .activity-row .activity-level{
    grid-template-columns:1fr;
    gap:4px;
  }
}

/* XTZ 7.78.8.93 — execution-history mobile containment
   Preserve the canonical Date → Identity → Content axis introduced in .90,
   while making every history payload self-contained on handset widths.
   Level labels now stack above their values inside the content column instead
   of reserving a second fixed-width sub-column that can push prices offscreen. */
.activity-archive-list .activity-row .activity-body,
.activity-archive-list .activity-row .activity-copy,
.activity-archive-list .activity-row .activity-levels,
.activity-archive-list .activity-row .activity-level,
.activity-archive-list .activity-row .activity-level>div{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.activity-archive-list .activity-row .activity-levels{width:100%}
.activity-archive-list .activity-row .activity-level>div{
  font-variant-numeric:tabular-nums;
}

@media(max-width:760px){
  .activity-archive-list .activity-row .activity-body{
    grid-template-columns:58px 50px minmax(0,1fr);
    column-gap:10px;
    row-gap:5px;
    width:100%;
  }
  .activity-archive-list .activity-row .activity-copy,
  .activity-archive-list .activity-row .activity-levels{
    width:100%;
  }
  .activity-archive-list .activity-row .activity-copy>strong{
    max-width:100%;
    overflow-wrap:normal;
  }
  .activity-archive-list .activity-row .activity-levels{
    overflow:visible;
  }
  .activity-archive-list .activity-row .activity-level{
    display:grid;
    grid-template-columns:minmax(0,1fr)!important;
    gap:4px!important;
    align-items:start;
    width:100%;
  }
  .activity-archive-list .activity-row .activity-level>span{
    min-width:0;
  }
  .activity-archive-list .activity-row .activity-level>div{
    display:flex;
    align-items:baseline;
    justify-content:flex-start;
    flex-wrap:nowrap;
    gap:6px;
    width:100%;
    white-space:nowrap;
  }
  .activity-archive-list .activity-row .activity-level>div s,
  .activity-archive-list .activity-row .activity-level>div strong{
    flex:0 1 auto;
    min-width:0;
    white-space:nowrap;
    font-size:9.5px;
  }
  .activity-archive-list .activity-row .activity-level>div i{
    flex:0 0 auto;
  }
}

@media(max-width:390px){
  .activity-archive-list .activity-row .activity-body{
    grid-template-columns:54px 46px minmax(0,1fr);
    column-gap:9px;
  }
  .activity-archive-list .activity-row .activity-level>div{
    gap:5px;
  }
  .activity-archive-list .activity-row .activity-level>div s,
  .activity-archive-list .activity-row .activity-level>div strong{
    font-size:9.2px;
  }
}

@media(max-width:340px){
  .activity-archive-list .activity-row .activity-body{
    grid-template-columns:49px 40px minmax(0,1fr);
    column-gap:8px;
  }
  .activity-archive-list .activity-row .activity-copy>strong{
    font-size:11.2px;
  }
  .activity-archive-list .activity-row .activity-level>div s,
  .activity-archive-list .activity-row .activity-level>div strong{
    font-size:8.8px;
  }
}


/* XTZ 7.78.8.93 — execution-history information discipline
   Event titles name the lifecycle action once. Archived payloads show only
   the changed evidence unless a secondary label adds distinct information. */
.activity-archive-list .activity-level-bare{
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
}
.activity-archive-list .activity-level-bare>strong,
.activity-archive-list .activity-level-bare>div{
  grid-column:1;
}


/* XTZ 7.78.8.93 — completed-leg information discipline
   Event title states the outcome once; support copy adds context only. */
.completed-leg-head>div:first-child{gap:5px}

/* XTZ 7.78.8.94 — optional persistent Live sign-in.
   Compact, accessible checkbox; no new iOS focus/viewport handling. */
.live-login-form .login-stay-row{
  display:flex;align-items:flex-start;gap:11px;min-width:0;margin:-3px 0 0;
  cursor:pointer;color:#bec9c2;font-size:11px;font-weight:480;line-height:1.4;
}
.live-login-form .login-stay-row>input[type="checkbox"]{
  -webkit-appearance:none!important;appearance:none!important;
  position:relative;display:block;flex:0 0 17px;
  width:17px!important;height:17px!important;min-height:17px;
  margin:1px 0 0;padding:0!important;border:1px solid #66796d!important;
  border-radius:4px!important;background:#111714!important;
  box-shadow:none!important;cursor:pointer;
}
.live-login-form .login-stay-row>input[type="checkbox"]:checked{
  border-color:#bed9cb!important;background:#bed9cb!important;
  box-shadow:none!important;
}
.live-login-form .login-stay-row>input[type="checkbox"]:checked::after{
  content:"";position:absolute;left:5px;top:2px;width:4px;height:8px;
  border:solid #112018;border-width:0 2px 2px 0;transform:rotate(45deg);
}
.live-login-form .login-stay-row>input[type="checkbox"]:focus-visible{
  outline:2px solid #a7cbbb!important;outline-offset:3px;
}
.login-stay-copy{display:grid;gap:3px;min-width:0}
.login-stay-copy strong{font-size:11px;font-weight:600;color:#d5e2d9}
.login-stay-copy small{font-size:9px;font-weight:400;line-height:1.55;color:#83938a}

/* XTZ 7.78.8.96 — Live hierarchy polish.
   XTZ Live remains the primary product identity; the active market is a
   strong secondary execution headline rather than a competing hero title. */
.position-title-row{gap:15px}
.position-title-row h2{font-size:clamp(46px,6.2vw,68px)}
.position-side{font-size:clamp(20px,2.6vw,30px)}

@media(max-width:760px){
  .position-surface{margin-top:20px}
  .position-title-row{margin-top:5px;gap:10px}
  .position-title-row h2{font-size:42px}
  .position-side{font-size:20px}
}

@media(max-width:390px){
  .position-surface{margin-top:19px}
  .position-title-row h2{font-size:40px}
  .position-side{font-size:19px}
}


/* XTZ 7.78.8.97 — Completed-leg execution window evidence.
   Keep the established record design while making each leg independently
   understandable: duration at a glance, with proven open/close timestamps
   attached directly to Entry and Exit. */
.completed-leg-top .completed-duration{
  color:#68756f!important;font-weight:500!important;letter-spacing:.055em!important;text-transform:none!important;
}
.completed-route>span>time{
  display:block;margin-top:2px;color:#58655f;font-size:6.2px;font-weight:450;line-height:1.35;letter-spacing:.015em;white-space:nowrap;
}
.completed-route>span:last-child>time{text-align:right}
.completed-leg-compact .completed-route>span>time{font-size:5.8px}

@media(max-width:760px){
  .completed-leg-top .completed-duration{font-size:6.5px!important}
  .completed-route>span>time{font-size:5.8px}
}

@media(max-width:390px){
  .completed-leg-top{gap:10px}
  .completed-leg-top .completed-duration{font-size:6.1px!important}
  .completed-route>span>time{font-size:5.5px;letter-spacing:0}
}

/* XTZ 7.78.8.101 — Isolated Position Sizing Workspace
   Opening Position Sizing now creates a true application workspace instead of
   expanding the document flow. XTZ Live stays frozen underneath, the sizing
   surface owns the viewport and vertical scroll, and closing restores the exact
   Live scroll position without reflow or horizontal drift. */
html.live-size-workspace-open,
body.live-size-workspace-open{
  overflow:hidden!important;
  overscroll-behavior:none;
}
.live-position-sizing.is-workspace-open{
  position:fixed;
  inset:0;
  z-index:120;
  width:auto;
  max-width:none;
  height:100dvh;
  max-height:100dvh;
  margin:0!important;
  padding:0!important;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-y pinch-zoom;
  background:
    radial-gradient(circle at 12% -6%,rgba(158,201,180,.055),transparent 29%),
    #0a0d0f;
  isolation:isolate;
  scrollbar-gutter:stable;
}
.live-position-sizing.is-workspace-open .live-size-disclosure{
  min-height:100%;
  margin:0;
  padding:0;
  border:0;
  background:none;
}
.live-position-sizing.is-workspace-open .live-size-disclosure>summary{
  position:sticky;
  top:0;
  z-index:4;
  width:100%;
  min-height:calc(70px + env(safe-area-inset-top,0px));
  margin:0;
  padding:calc(12px + env(safe-area-inset-top,0px)) max(24px,env(safe-area-inset-right,0px)) 12px max(24px,env(safe-area-inset-left,0px));
  border-bottom:1px solid rgba(158,201,180,.12);
  background:rgba(10,13,15,.94);
  -webkit-backdrop-filter:blur(22px) saturate(115%);
  backdrop-filter:blur(22px) saturate(115%);
  box-shadow:0 12px 32px rgba(0,0,0,.22);
}
.live-position-sizing.is-workspace-open .live-size-summary-copy{gap:3px}
.live-position-sizing.is-workspace-open .live-size-summary-copy>.eyebrow{color:#91a39a}
.live-position-sizing.is-workspace-open .live-size-summary-copy>strong{font-size:19px;color:#eef2f0}
.live-position-sizing.is-workspace-open .live-size-summary-action{color:#91a39a}
.live-position-sizing.is-workspace-open .live-size-body{
  width:min(820px,100%);
  margin:0 auto;
  padding:28px max(24px,env(safe-area-inset-right,0px)) calc(46px + env(safe-area-inset-bottom,0px)) max(24px,env(safe-area-inset-left,0px));
  animation:live-size-workspace-enter .2s ease-out;
}
.live-position-sizing.is-workspace-open .live-size-intro{max-width:650px;color:#7f8c86}
.live-position-sizing.is-workspace-open .live-size-controls{margin-top:27px}
.live-position-sizing.is-workspace-open .live-size-footnote{margin-bottom:0}
.live-position-sizing.is-workspace-open,
.live-position-sizing.is-workspace-open *{min-width:0}
.live-position-sizing.is-workspace-open input,
.live-position-sizing.is-workspace-open select{max-width:100%}
@keyframes live-size-workspace-enter{
  from{opacity:.72;transform:translateY(3px)}
  to{opacity:1;transform:none}
}
@media(max-width:760px){
  .live-position-sizing.is-workspace-open{
    height:100dvh;
    max-height:100dvh;
    scrollbar-gutter:auto;
  }
  .live-position-sizing.is-workspace-open .live-size-disclosure>summary{
    grid-template-columns:minmax(0,1fr) auto;
    min-height:calc(72px + env(safe-area-inset-top,0px));
    gap:14px;
    padding:calc(13px + env(safe-area-inset-top,0px)) max(22px,env(safe-area-inset-right,0px)) 13px max(22px,env(safe-area-inset-left,0px));
  }
  .live-position-sizing.is-workspace-open .live-size-summary-copy>strong{font-size:17px}
  .live-position-sizing.is-workspace-open .live-size-summary-action{font-size:6.4px}
  .live-position-sizing.is-workspace-open .live-size-body{
    width:100%;
    padding:24px max(22px,env(safe-area-inset-right,0px)) calc(44px + env(safe-area-inset-bottom,0px)) max(22px,env(safe-area-inset-left,0px));
  }
  .live-position-sizing.is-workspace-open .live-size-levels{
    grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);
    column-gap:10px;
  }
  .live-position-sizing.is-workspace-open .live-size-level-stop{justify-self:end;max-width:100%}
  .live-position-sizing.is-workspace-open .live-size-controls{grid-template-columns:1fr;margin-top:25px}
  .live-position-sizing.is-workspace-open .live-size-result{margin-top:27px}
}
@media(max-width:390px){
  .live-position-sizing.is-workspace-open .live-size-disclosure>summary{
    padding-left:max(20px,env(safe-area-inset-left,0px));
    padding-right:max(20px,env(safe-area-inset-right,0px));
  }
  .live-position-sizing.is-workspace-open .live-size-body{
    padding-left:max(20px,env(safe-area-inset-left,0px));
    padding-right:max(20px,env(safe-area-inset-right,0px));
  }
  .live-position-sizing.is-workspace-open .live-size-levels strong{font-size:19px}
}
@supports not (height:100dvh){
  .live-position-sizing.is-workspace-open{height:100vh;max-height:100vh}
}
@media(prefers-reduced-motion:reduce){
  .live-position-sizing.is-workspace-open .live-size-body{animation:none}
  .live-position-sizing.is-workspace-open .live-size-disclosure>summary{-webkit-backdrop-filter:none;backdrop-filter:none}
}

/* XTZ 7.78.8.104 — Position Sizing bottom close control.
   Mirrors the viewport header action without introducing another panel or large
   CTA. The existing disclosure close path remains the single source of truth,
   preserving exact Live scroll restoration. */
.live-size-bottom-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  width:100%;
  margin-top:22px;
  padding-top:16px;
  border-top:1px solid rgba(158,201,180,.09);
}
.live-size-bottom-close{
  appearance:none;
  -webkit-appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  min-height:36px;
  margin:0;
  padding:0 2px 0 10px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#87968f;
  font:inherit;
  font-size:6.5px;
  font-weight:660;
  line-height:1;
  letter-spacing:.12em;
  text-transform:uppercase;
  white-space:nowrap;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.live-size-bottom-close .activity-chevron{
  flex:0 0 9px;
  transform:rotate(180deg);
}
.live-size-bottom-close:hover{color:#a8b8b0;background:rgba(255,255,255,.018)}
.live-size-bottom-close:active{background:rgba(255,255,255,.03)}
.live-size-bottom-close:focus-visible{outline:0;color:#b7cfc3;box-shadow:0 0 0 1px rgba(158,201,180,.22)}
@media(max-width:760px){
  .live-size-bottom-actions{margin-top:20px;padding-top:14px}
  .live-size-bottom-close{min-height:34px;font-size:6.25px;padding-left:9px}
}
@media(max-width:390px){
  .live-size-bottom-close{font-size:6.05px;gap:7px}
}


/* XTZ 7.78.8.102 — Completed-leg route alignment polish.
   The route arrow now optically connects the two execution prices instead of
   sitting on the timestamp baseline. Keep the record restrained and evidence-led. */
.completed-route{
  grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);
  gap:12px;
  align-items:start;
}
.completed-route>i{
  align-self:start;
  justify-self:center;
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:20px;
  margin-top:7px;
  padding:0;
  line-height:1;
  font-size:15px;
  transform:translateY(-.5px);
}
@media(max-width:390px){
  .completed-route{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);gap:9px}
  .completed-route>i{width:30px;font-size:14px}
}

/* XTZ 7.78.8.107 — Position Sizing risk semantics polish; preserves viewport close dock + compact mobile density.
   Keep Close Tool immediately accessible from either edge of the isolated workspace
   without turning it into a large CTA. The bottom control is viewport-anchored,
   while the tool itself is tightened just enough to improve information density. */
.live-position-sizing.is-workspace-open .live-size-body{
  padding-bottom:calc(72px + env(safe-area-inset-bottom,0px));
}
.live-position-sizing.is-workspace-open .live-size-bottom-actions{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:7;
  width:auto;
  margin:0;
  padding:8px max(24px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(24px,env(safe-area-inset-left,0px));
  border-top:1px solid rgba(158,201,180,.10);
  background:rgba(10,13,15,.95);
  -webkit-backdrop-filter:blur(18px) saturate(112%);
  backdrop-filter:blur(18px) saturate(112%);
  box-shadow:0 -12px 30px rgba(0,0,0,.18);
}
.live-position-sizing.is-workspace-open .live-size-bottom-close{
  min-height:36px;
  padding:0 2px 0 10px;
}
@media(max-width:760px){
  .live-position-sizing.is-workspace-open .live-size-disclosure>summary{
    min-height:calc(66px + env(safe-area-inset-top,0px));
    padding:calc(10px + env(safe-area-inset-top,0px)) max(22px,env(safe-area-inset-right,0px)) 10px max(22px,env(safe-area-inset-left,0px));
  }
  .live-position-sizing.is-workspace-open .live-size-body{
    padding-top:18px;
    padding-bottom:calc(66px + env(safe-area-inset-bottom,0px));
  }
  .live-position-sizing.is-workspace-open .live-size-intro{
    font-size:8px;
    line-height:1.48;
  }
  .live-position-sizing.is-workspace-open .live-size-levels{
    margin-top:13px;
    row-gap:8px;
  }
  .live-position-sizing.is-workspace-open .live-size-level{gap:4px}
  .live-position-sizing.is-workspace-open .live-size-distance{gap:4px;margin-top:0}
  .live-position-sizing.is-workspace-open .live-size-controls{
    margin-top:18px;
    gap:10px;
  }
  .live-position-sizing.is-workspace-open .live-size-field{gap:6px}
  .live-position-sizing.is-workspace-open .live-size-field select,
  .live-position-sizing.is-workspace-open .live-size-value-field{
    height:46px;
  }
  .live-position-sizing.is-workspace-open .live-size-value-field input{height:44px}
  .live-position-sizing.is-workspace-open .live-size-result{
    margin-top:21px;
    gap:15px;
  }
  .live-position-sizing.is-workspace-open .live-size-result-main{gap:4px}
  .live-position-sizing.is-workspace-open .live-size-result-main>p{margin-top:2px}
  .live-position-sizing.is-workspace-open .live-size-result-facts{gap:10px 16px}
  .live-position-sizing.is-workspace-open .live-size-method{
    gap:18px;
    margin-top:17px;
  }
  .live-position-sizing.is-workspace-open .live-size-footnote{
    margin-top:13px;
    line-height:1.5;
  }
  .live-position-sizing.is-workspace-open .live-size-bottom-actions{
    padding:7px max(22px,env(safe-area-inset-right,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(22px,env(safe-area-inset-left,0px));
  }
  .live-position-sizing.is-workspace-open .live-size-bottom-close{
    min-height:34px;
    font-size:6.2px;
  }
}
@media(max-width:390px){
  .live-position-sizing.is-workspace-open .live-size-body{
    padding-top:16px;
    padding-bottom:calc(64px + env(safe-area-inset-bottom,0px));
  }
  .live-position-sizing.is-workspace-open .live-size-bottom-actions{
    padding-left:max(20px,env(safe-area-inset-left,0px));
    padding-right:max(20px,env(safe-area-inset-right,0px));
  }
}
@media(prefers-reduced-motion:reduce){
  .live-position-sizing.is-workspace-open .live-size-bottom-actions{
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }
}

/* XTZ 7.78.8.107 — Position Sizing disclosure focus polish.
   Prevent iOS/WebKit from leaking its native blue focus rectangle onto the
   collapsed sizing disclosure after selector interaction. Touch users get no
   residual chrome; keyboard users keep a restrained XTZ focus-visible cue. */
.live-size-disclosure>summary{
  outline:none!important;
  -webkit-tap-highlight-color:transparent!important;
}
.live-size-disclosure>summary:focus{
  outline:none!important;
  box-shadow:none!important;
}
.live-size-disclosure>summary:focus-visible{
  outline:1px solid rgba(158,201,180,.34)!important;
  outline-offset:4px;
  border-radius:4px;
  box-shadow:none!important;
}
@media (hover:none) and (pointer:coarse){
  .live-size-disclosure>summary:focus-visible{
    outline:none!important;
    box-shadow:none!important;
  }
}

/* XTZ 7.78.8.109 — Final evidence-density refinements.
   Use the sizing workspace width properly for quiet execution metadata, and
   remove the redundant internal divider from Completed Legs so each completed
   position reads as one continuous execution record. */
.live-position-sizing.is-workspace-open .live-size-method{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  width:100%;
}
.live-position-sizing.is-workspace-open .live-size-method>span{
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  align-items:baseline;
  gap:18px;
  width:100%;
  min-width:0;
}
.live-position-sizing.is-workspace-open .live-size-method strong{
  min-width:0;
  justify-self:end;
  text-align:right;
  overflow-wrap:anywhere;
}
.completed-route{
  margin-top:12px;
  padding-top:0;
  border-top:0;
}
@media(max-width:760px){
  .live-position-sizing.is-workspace-open .live-size-method{
    gap:7px;
    margin-top:16px;
  }
  .live-position-sizing.is-workspace-open .live-size-method>span{gap:14px}
  .live-position-sizing.is-workspace-open .live-size-method strong{font-size:7.8px}
  .completed-route{margin-top:10px}
}
@media(max-width:390px){
  .live-position-sizing.is-workspace-open .live-size-method>span{gap:10px}
  .live-position-sizing.is-workspace-open .live-size-method strong{font-size:7.5px}
}

/* XTZ 7.78.8.110 — Position Activity history integration.
   Execution History is a subordinate control of the current-leg Position
   Activity block, not a third standalone section between activity and the
   permanent Completed Legs record. The inset rule aligns to the activity
   content rail, the disclosure is tighter, and Completed Legs keeps the
   stronger section boundary below. */
.activity-archive{
  position:relative;
  margin-top:0;
  border-top:0;
}
.activity-archive:before{
  content:"";
  position:absolute;
  left:18px;
  right:0;
  top:0;
  height:1px;
  background:#151f1a;
}
.activity-archive>summary{
  min-height:50px;
  padding:7px 0 7px 18px;
}
.activity-archive-copy{gap:2px}
.activity-archive-label{font-size:8.7px;color:#9da9a3}
.activity-archive-copy small{font-size:6.5px;color:#56625c}
.activity-history-action{font-size:6.2px}
.completed-section{padding-top:26px}
.completed-drawer{border-top-color:#1a251f}
@media(max-width:760px){
  .activity-archive:before{left:14px}
  .activity-archive>summary{min-height:48px;padding:6px 0 6px 14px}
  .activity-archive-label{font-size:8.4px}
  .activity-archive-copy small{font-size:6.3px}
  .activity-history-action{font-size:6px}
  .completed-section{padding-top:22px}
}


/* XTZ 7.78.8.112 — Position Activity history footer.
   The disclosure now reads as the compact footer of Position Activity rather
   than carrying a second section heading. The event count supplies the
   context; View History remains the only action label. */
.activity-archive:before{
  left:18px;
  right:0;
  background:#141d19;
}
.activity-archive>summary{
  min-height:46px;
  padding:8px 0 8px 18px;
}
.activity-archive-copy{gap:0}
.activity-archive-label{
  font-size:7.6px;
  font-weight:560;
  letter-spacing:.015em;
  text-transform:none;
  color:#7f8b85;
}
.activity-history-action{
  color:#74817b;
  font-size:6.15px;
}
.completed-section{padding-top:20px}
@media(max-width:760px){
  .activity-archive:before{left:14px}
  .activity-archive>summary{min-height:44px;padding:7px 0 7px 14px}
  .activity-archive-label{font-size:7.35px}
  .activity-history-action{font-size:5.95px}
  .completed-section{padding-top:18px}
}


/* XTZ 7.78.8.112 — Lifecycle notification context handoff.
   Existing alerts now reveal the exact Live evidence they refer to. The
   emphasis is deliberately temporary: no permanent badges, banners or cards. */
@keyframes xtz-update-spotlight{
  0%{background-color:rgba(147,197,173,.115);box-shadow:inset 2px 0 0 rgba(166,220,194,.72),0 0 0 1px rgba(151,207,180,.08)}
  45%{background-color:rgba(147,197,173,.065);box-shadow:inset 2px 0 0 rgba(166,220,194,.48),0 0 0 1px rgba(151,207,180,.045)}
  100%{background-color:transparent;box-shadow:inset 0 0 0 rgba(0,0,0,0),0 0 0 0 rgba(0,0,0,0)}
}
.xtz-update-spotlight{animation:xtz-update-spotlight 4.1s cubic-bezier(.22,.7,.25,1) both}
.activity-feature.xtz-update-spotlight,
.completed-leg.xtz-update-spotlight{border-radius:3px}
.position-level.xtz-update-spotlight{border-radius:2px}
.position-level-grid.xtz-update-spotlight{border-radius:3px;animation-duration:3.7s}
@media(prefers-reduced-motion:reduce){
  .xtz-update-spotlight{animation:none;background-color:rgba(147,197,173,.07);box-shadow:inset 2px 0 0 rgba(166,220,194,.55)}
}

/* XTZ 7.78.8.113 — Position Activity refresh stability + history cohesion.
   Activity DOM is now preserved across unchanged polling refreshes in JS, so an
   open history never replays its reveal animation or flashes. The compact
   footer wording explicitly identifies the archive as earlier activity while
   remaining subordinate to the current Position Activity event. */
.activity-archive-label{letter-spacing:.005em}
.activity-archive[open] .activity-archive-label{color:#8d9993}
.activity-archive[open] .activity-archive-list{padding-top:0}


/* XTZ 7.78.8.120 — Completed record history integration.
   Earlier completed legs now behave like the Position Activity archive: a
   compact subordinate footer inside Completed Legs, not a standalone section.
   The duplicate lower boundary is removed so the page hands off to the
   execution-infrastructure footer with one deliberate divider only. */
.completed-stack.has-history > .completed-leg{
  border-bottom:0;
}
.recent-archive{
  position:relative;
  margin:0;
  border-bottom:0;
}
.recent-archive:before{
  content:"";
  position:absolute;
  left:18px;
  right:0;
  top:0;
  height:1px;
  background:#141d19;
}
.recent-archive>summary{
  min-height:46px;
  padding:8px 0 8px 18px;
}
.completed-archive-copy{
  display:block;
  min-width:0;
}
.completed-archive-copy>strong{
  font-size:7.6px;
  font-weight:560;
  letter-spacing:.005em;
  text-transform:none;
  color:#7f8b85;
}
.completed-archive-copy>small{display:none}
.completed-archive-action{
  gap:10px;
  color:#74817b;
}
.completed-archive-closed,.completed-archive-open{
  font-size:6.15px;
  font-weight:640;
  letter-spacing:.11em;
  color:#74817b;
}
.recent-archive[open] .completed-archive-copy>strong{color:#8d9993}
.recent-archive[open] .recent-archive-list{padding-top:0}
.recent-archive-list .completed-leg:last-child{border-bottom:0}
@media(max-width:760px){
  .recent-archive:before{left:14px}
  .recent-archive>summary{min-height:44px;padding:7px 0 7px 14px}
  .completed-archive-copy>strong{font-size:7.35px}
  .completed-archive-closed,.completed-archive-open{font-size:5.95px}
}


/* XTZ 7.78.8.129 — Completed history rail refinement.
   Older completed legs use the same restrained execution-rail language as the
   current completed leg. The detached timeline spine/circle is removed. */
.recent-archive-list{
  padding-left:0!important;
}
.recent-archive-list:before{
  display:none!important;
  content:none!important;
}
.completed-leg-compact{
  padding-left:14px!important;
}
.completed-leg-compact:before{
  left:0!important;
  top:17px!important;
  bottom:19px!important;
  width:2px!important;
  height:auto!important;
  border:0!important;
  border-radius:2px!important;
  opacity:.68;
}
.completed-leg-compact[data-side="SELL"]:before{
  background:#b87873!important;
}
.completed-leg-compact[data-side="BUY"]:before{
  background:#8eb9a4!important;
}
@media(max-width:760px){
  .recent-archive-list{padding-left:0!important}
  .completed-leg-compact{padding-left:14px!important}
  .completed-leg-compact:before{
    left:0!important;
    top:16px!important;
    bottom:18px!important;
  }
}

/* XTZ 7.78.8.129 — Main #116 record integration does not alter XTZ Live presentation. */


/* XTZ 7.78.8.134 — Live header authority: description removed, operational status pulled into the header rhythm. */
.live-hero{padding-bottom:0!important}
.system-line{margin-top:4px!important;padding:8px 0 4px!important}
.position-surface{margin-top:20px!important}
@media(max-width:760px){
  .live-hero{
    grid-template-areas:
      "identity-label identity-label"
      "identity-title utilities"!important;
    padding:5px 0 0!important;
  }
  .system-line{margin-top:3px!important;padding:7px 0 3px!important}
  .position-surface{margin-top:19px!important}
}
@media(max-width:390px){
  .system-line{margin-top:2px!important;padding-top:6px!important}
  .position-surface{margin-top:18px!important}
}

/* XTZ 7.78.8.136: additive Intelligence execution surface. Main styling frozen. */
.xtzi-live{margin-top:35px;padding:28px 0 15px;border-top:1px solid #1b2721;min-width:0;overflow:hidden}
.xtzi-live__head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}
.xtzi-live__head h2{margin:5px 0 0;font-size:clamp(20px,4.3vw,29px);font-weight:620;letter-spacing:-.035em;color:#edf1ef}
.xtzi-live__head h2 span{color:#8fae9c}
.xtzi-live__head .eyebrow{color:#7b8f84;font-size:8px;letter-spacing:.14em}
.xtzi-live__state{flex:0 0 auto;color:#8c9a91;letter-spacing:.13em;font-size:8px;font-weight:690}
.xtzi-live__state[data-state="active"]{color:#a6d4bd}
.xtzi-live__identity{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:19px}
.xtzi-live__identity>strong{font-size:clamp(27px,6vw,40px);letter-spacing:-.04em;line-height:1;color:#dcece3}
.xtzi-live[data-side="sell"] .xtzi-live__identity>strong{color:#d49a91}
.xtzi-live__identity>span{font-size:10px;letter-spacing:.09em;color:#8c9f94}
.xtzi-live__identity>small{font-size:9px;color:#64746a}
.xtzi-live__levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:20px 0;border-top:1px solid #1a251f;border-bottom:1px solid #1a251f}
.xtzi-live__levels>div{display:grid;gap:6px;min-width:0}
.xtzi-live__levels span{color:#809187;font-size:8px;font-weight:670;letter-spacing:.12em}
.xtzi-live__levels strong{color:#e9f0ec;font-size:clamp(16px,3.3vw,27px);font-variant-numeric:tabular-nums;letter-spacing:-.035em;overflow-wrap:anywhere}
.xtzi-live__levels div:nth-child(2) strong{color:#9fc9b5}
.xtzi-live__levels small{color:#66776c;font-size:9px}
.xtzi-live__note{margin:11px 0 0;color:#7c8e83;font-size:10px;line-height:1.65}
.xtzi-live__empty{padding:10px 0 19px;color:#85958b;font-size:11px;line-height:1.55}
.xtzi-live__history,.xtzi-live__size{margin-top:14px;border-top:1px solid #1a251f}
.xtzi-live__history>summary,.xtzi-live__size>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 0;cursor:pointer;list-style:none;color:#c4d1c9;font-size:11px;font-weight:590}
.xtzi-live__history>summary::-webkit-details-marker,.xtzi-live__size>summary::-webkit-details-marker{display:none}
.xtzi-live__history>summary span{margin-left:auto;color:#91aa9a}
.xtzi-live__history[open] .activity-chevron,.xtzi-live__size[open] .activity-chevron{transform:rotate(180deg)}
.xtzi-live__leg{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #17211c;min-width:0}
.xtzi-live__leg>div{display:grid;gap:4px;min-width:0}.xtzi-live__leg strong{color:#d5e0d9;font-size:12px}
.xtzi-live__leg small{color:#86968b;font-size:9px}.xtzi-live__leg b{font-size:17px;font-weight:630;white-space:nowrap;color:#a6d4bd}
.xtzi-live__leg b[data-negative="true"]{color:#d3988e}
.xtzi-live__sizebody{padding:4px 0 16px;display:grid;gap:12px;max-width:410px}
.xtzi-live__sizebody p{margin:0;color:#8c9c91;font-size:10px;line-height:1.65}
.xtzi-live__sizebody label{display:grid;gap:7px;font-size:9px;color:#83998c;letter-spacing:.1em}
.xtzi-live__sizebody input{min-height:42px;width:100%;border:1px solid #28382f;border-radius:8px;background:#101914;color:#eaf2ed;font-size:16px;padding:10px}
.xtzi-live__answer{display:grid;gap:4px}.xtzi-live__answer span{font-size:8px;letter-spacing:.15em;color:#849589}.xtzi-live__answer strong{font-size:29px;letter-spacing:-.04em;color:#e5f2e9}.xtzi-live__answer small{font-size:9px;color:#718478}
@media(max-width:600px){.xtzi-live{margin-top:27px;padding-top:23px}.xtzi-live__head .eyebrow{font-size:7px}.xtzi-live__head h2{font-size:22px}.xtzi-live__levels{gap:8px;padding:17px 0}.xtzi-live__levels span{font-size:6.7px}.xtzi-live__levels strong{font-size:clamp(13px,4vw,20px)}}

/* 7.78.8.137 — Strategy selection. Existing Main components are reused verbatim. */
.strategy-selector{display:flex;align-items:center;gap:20px;margin:13px 0 6px;border-bottom:1px solid #1b2721;min-width:0}
.strategy-selector button{appearance:none;border:0;border-bottom:2px solid transparent;margin:0 0 -1px;padding:10px 0 12px;min-width:0;background:none;color:#85988c;font-size:11px;font-weight:600;letter-spacing:.018em;cursor:pointer;white-space:nowrap}
.strategy-selector button[aria-pressed="true"]{color:#e7f0eb;border-bottom-color:#88b49d}
.strategy-selector button:focus-visible{outline:2px solid #90b9a3;outline-offset:2px;border-radius:2px}
[data-xtzi-live]{min-width:0}
html[data-xtz-strategy="intelligence"] [data-xtz-main-only]{display:none!important}
html[data-xtz-strategy="main"] [data-xtzi-live],html[data-xtz-strategy="main"] [data-xtzi-system]{display:none!important}
[data-xtzi-live] .position-surface{margin-top:20px}
[data-xtzi-live] .position-empty strong{color:#e3ede6}
[data-xtzi-live] .intel-provenance{margin-top:10px;color:#82948a;font-size:10px;line-height:1.6}
@media(max-width:430px){.strategy-selector{gap:17px}.strategy-selector button{font-size:10px}}

/* 7.78.8.138 — separate Main / Intelligence alert preferences; same dialog */
.notification-strategies{display:grid;gap:0;margin-top:12px;border-top:1px solid #1a2420}
.notification-strategy-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:13px 0;border-bottom:1px solid #1a2420}
.notification-strategy-row>div{display:grid;gap:4px;min-width:0;flex:1}
.notification-strategy-row strong{font-size:11px;font-weight:610;color:#cbd6d0;letter-spacing:.005em}
.notification-strategy-row small{font-size:9px;color:#839188;line-height:1.45;overflow-wrap:anywhere}
.notification-strategy-row button{min-width:65px;min-height:33px;border:1px solid #334239;border-radius:8px;background:#121b17;color:#8d9c93;font-size:9px;font-weight:720;letter-spacing:.11em;flex:none}
.notification-strategy-row button[data-enabled="true"]{border-color:#3b5748;background:#122119;color:#b9d6c5}
.notification-strategy-row button:disabled{opacity:.58;cursor:default}
.notification-strategy-note{display:block;margin-top:11px;color:#76857c;font-size:8.9px;line-height:1.5}
@media(max-width:640px){.notification-strategy-row{gap:10px;padding:12px 0}.notification-strategy-row strong{font-size:10.5px}.notification-strategy-row small{font-size:8.6px}.notification-strategy-note{font-size:8.5px}}

/* 7.78.8.139 — no per-visit flash, product hierarchy, fixed-stop negative R. */
.strategy-selector{display:grid;grid-template-columns:minmax(0,1.09fr) minmax(0,1fr);gap:22px;align-items:stretch;margin:13px 0 7px;border-bottom:1px solid #1d2a23}
.strategy-selector button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;text-align:left;min-width:0;margin:0 0 -1px;padding:12px 0 13px;border-bottom:2px solid transparent;white-space:normal}
.strategy-selector button strong{font-size:clamp(12px,2.7vw,14px);line-height:1.15;font-weight:560;letter-spacing:-.015em;white-space:nowrap}
.strategy-selector button:first-child strong{font-weight:700;letter-spacing:-.025em}
.strategy-selector button small{font-size:7px;line-height:1.1;font-weight:640;letter-spacing:.17em;color:#64766b;white-space:nowrap}
.strategy-selector button[aria-pressed="true"]{border-bottom-color:#98c3ad}
.strategy-selector button[aria-pressed="true"] strong{color:#edf3ee}
.strategy-selector button[aria-pressed="true"] small{color:#7b9c8a}
/* Static view switches should not replay the initial page reveal. */
html[data-xtz-strategy] .position-surface{animation:none}
@media(max-width:400px){.strategy-selector{gap:12px}.strategy-selector button strong{font-size:12px}.strategy-selector button small{font-size:6.4px;letter-spacing:.13em}}

/* 7.78.8.140 — Secondary status provenance without divergent layout. */
[data-xtzi-live] .position-status.is-provisional{color:#b2bdb5!important;border-color:#354139;background:#ffffff04}
[data-xtzi-live] .position-status.is-provisional:before{box-shadow:none}
[data-xtzi-system] .system-dot.stale{background:var(--amber)}

/* XTZ 7.78.8.157 — Secondary snapshot observation is not an opening event. */
[data-xtzi-live] .activity-feature-top .activity-origin-unknown{font:inherit;letter-spacing:inherit;color:inherit}

/* XTZ 7.78.8.161 — allow longer Secondary Main-linked exit clarification
   to wrap within the viewport; no Main CSS/layout change. */
[data-xtzi-live] .position-surface[data-secondary-managed="true"] .position-protection>small{white-space:normal;overflow-wrap:anywhere;max-width:min(190px,100%)}

/* XTZ 7.78.8.167 — native full-width private workspace. No iframe. */
.live-app>main{box-sizing:border-box;display:block;max-width:none;width:100%;margin:0;padding:0;view-transition-name:none}
.live-workspace{width:100%;min-width:0;max-width:980px}
.xtz-private-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:100%;margin:24px 0 8px;border-top:1px solid #1c2722;border-bottom:1px solid #26352d;min-width:0}
.xtz-private-navigation>button{position:relative;display:flex;align-items:center;justify-content:center;gap:11px;min-width:0;padding:19px 5px 18px;border:0;border-bottom:2px solid transparent;color:#75877c;background:transparent;text-align:left;transition:color .15s ease,border-color .15s ease}
.xtz-private-navigation>button.is-current{color:#e9f2ed;border-bottom-color:#a1cbb3}
.xtz-private-navigation>button:focus-visible{outline:2px solid #95c2a7;outline-offset:-3px}
.xtz-private-navigation__icon{display:grid;place-items:center;flex:0 0 auto;width:24px;height:24px}
.xtz-private-navigation__icon svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.65}
.xtz-private-navigation__copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:0}
.xtz-private-navigation strong{font-size:16px;line-height:1;letter-spacing:-.025em;font-weight:580}
.xtz-private-navigation__copy small{font-size:8px;line-height:1;letter-spacing:.13em;font-weight:730;color:#6d8375}
.xtz-private-navigation .is-current small{color:#87b29b}
.xtz-private-execution[hidden],.xtz-private-evidence[hidden]{display:none!important}
.xtz-private-execution,.xtz-private-evidence,.xtz-private-evidence__native{width:100%;max-width:100%;min-width:0;min-height:0}
.xtz-private-evidence{padding-top:22px;overflow-x:clip}
/* The existing public evidence modules render directly into the native shell.
   Hide only the duplicated site strategy tabs — the private selector above
   remains authoritative and is identical across Live, Intel and Results. */
.xtz-private-evidence .xtz-strategy-tabs{display:none!important}
.xtz-private-evidence .strength-page,.xtz-private-evidence .results-head,.xtz-private-evidence [data-results-content],.xtz-private-evidence .results-disclosure{width:100%;min-width:0;max-width:none;margin-left:0;margin-right:0}
.xtz-private-evidence .strength-page{padding-bottom:45px}
.xtz-private-evidence .strength-v2-head,.xtz-private-evidence .results-head{margin-top:0}
.xtz-private-evidence .strength-v2-head h1,.xtz-private-evidence .results-head h1{font-size:clamp(42px,6vw,70px)}
.xtz-private-evidence .xtz-modal-layer{z-index:9000}
.xtz-private-evidence .results-disclosure{margin-bottom:22px}
/* Result detail modals are direct children of body, so public styling remains
   available for their original behaviour and proper iPhone safe area. */
@media(max-width:720px){
 .live-app{padding-left:max(17px,env(safe-area-inset-left));padding-right:max(17px,env(safe-area-inset-right))}
 .xtz-private-navigation{margin:17px 0 6px}
 .xtz-private-navigation>button{gap:7px;padding:15px 3px 14px}
 .xtz-private-navigation__icon{width:19px;height:19px}.xtz-private-navigation__icon svg{width:19px;height:19px}
 .xtz-private-navigation strong{font-size:14px}.xtz-private-navigation__copy small{font-size:7px;letter-spacing:.09em}
 .xtz-private-evidence{padding-top:15px}
 .xtz-private-evidence .strength-page{padding-bottom:26px}
 .xtz-private-evidence .strength-v2-head h1,.xtz-private-evidence .results-head h1{font-size:clamp(39px,10vw,54px)}
 /* Public site has some intentional bleed; here the whole evidence screen
    must remain inside the same mobile content edges as Live. */
 .xtz-private-evidence .strength-hero{margin-left:0;margin-right:0;border-radius:18px;border-left:1px solid rgba(255,255,255,.08);border-right:1px solid rgba(255,255,255,.08)}
}
@media(max-width:365px){.xtz-private-navigation>button{gap:5px}.xtz-private-navigation__copy small{font-size:6.2px}}


/* XTZ 7.78.8.168 — mobile width recovery and navigation reduction.
   Public styles contain global `main { padding: ... !important }` rules;
   the native integration inadvertently applied those rules AGAIN inside Live.
   The rule below restores the original Live layout contract. */
.live-app > main{
  box-sizing:border-box;
  width:100%;max-width:none;margin:0;
  padding:0!important;
  overflow:visible!important;
}
.live-app .live-workspace{width:100%;max-width:980px;min-width:0}
/* A purposeful tab rail; icon and name identify each destination immediately.
   No subtitle blocks, nested cards or second layer of mobile gutter. */
.xtz-private-navigation{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  margin:20px 0 10px;border-top:0;
  border-bottom:1px solid #203027;
}
.xtz-private-navigation>button{
  min-width:0;min-height:53px;gap:9px;
  justify-content:center;align-items:center;
  padding:12px 4px 13px;border-bottom:2px solid transparent;
  text-align:center;color:#728379;
}
.xtz-private-navigation>button.is-current{color:#eaf2ec;border-bottom-color:#97c3aa}
.xtz-private-navigation__icon{width:19px;height:19px}
.xtz-private-navigation__icon svg{width:18px;height:18px}
.xtz-private-navigation__copy{display:block;min-width:0}
.xtz-private-navigation strong{font-size:14px;line-height:1.15;font-weight:590;letter-spacing:-.015em}
.xtz-private-evidence,.xtz-private-evidence__native{
  box-sizing:border-box;min-width:0;max-width:100%;width:100%;
}
/* Public Results figures were designed for a slightly wider card. Adapt
   the numerical pairs to the private mobile rail instead of clipping them. */
.xtz-private-evidence .results-performance__metrics > div{min-width:0}
.xtz-private-evidence .results-performance__metrics--xtz-main .results-performance__metric-pair{
  max-width:100%;font-variant-numeric:tabular-nums;
}
@media(max-width:720px){
 .live-app{
    padding-left:max(14px,env(safe-area-inset-left));
    padding-right:max(14px,env(safe-area-inset-right));
 }
 .live-app > main{padding:0!important;width:100%!important;max-width:none!important}
 .xtz-private-navigation{margin:14px 0 8px}
 .xtz-private-navigation>button{gap:7px;min-height:48px;padding:10px 2px 11px}
 .xtz-private-navigation__icon{width:17px;height:17px}
 .xtz-private-navigation__icon svg{width:17px;height:17px}
 .xtz-private-navigation strong{font-size:13px}
 .xtz-private-evidence{padding-top:12px}
 .xtz-private-evidence .results-performance__metrics--xtz-main .results-performance__metric-pair{
   font-size:clamp(11px,3.3vw,15px)!important;
   letter-spacing:-.045em!important;
 }
}
@media(max-width:360px){
 .live-app{padding-left:max(11px,env(safe-area-inset-left));padding-right:max(11px,env(safe-area-inset-right))}
 .xtz-private-navigation>button{gap:5px}
 .xtz-private-navigation strong{font-size:12px}
 .xtz-private-evidence .results-performance__metrics--xtz-main .results-performance__metric-pair{font-size:11px!important}
}


/* XTZ 7.78.8.169 — Original XTZ website floating dock, 3 native destinations.
   Navigation never creates another content gutter or nested scrolling surface. */
.live-workspace{padding-bottom:max(122px,calc(110px + env(safe-area-inset-bottom)))}
.live-workspace>.xtz-private-dock{
  position:fixed!important;left:50%!important;right:auto!important;
  bottom:max(12px,env(safe-area-inset-bottom))!important;
  width:min(400px,calc(100% - 28px))!important;
  transform:translate3d(-50%,0,0)!important;
  display:block!important;
  padding:6px!important;border-radius:22px!important;
  background:#111419!important;
  border:1px solid rgba(255,255,255,.075)!important;
  box-shadow:0 22px 62px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.035)!important;
  z-index:60;
}
.live-workspace>.xtz-private-dock .nav-track{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:2px!important;width:100%!important;
}
.live-workspace>.xtz-private-dock button{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;height:58px!important;
  gap:4px!important;padding:0 2px!important;border:0!important;border-radius:16px!important;
  color:#737b83!important;background:transparent!important;
  font-family:inherit!important;cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.live-workspace>.xtz-private-dock button.active{
  color:#f0f2f0!important;background:linear-gradient(180deg,#20242a,#1a1e24)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045)!important;
}
.live-workspace>.xtz-private-dock button .nav-icon{
  display:grid!important;place-items:center!important;height:23px!important;line-height:23px!important;
  width:100%!important;margin:0!important;color:inherit!important;
}
.live-workspace>.xtz-private-dock .xtz-nav-glyph{width:22px;height:22px}
.live-workspace>.xtz-private-dock button small{
  display:block!important;width:100%!important;margin:0!important;
  font-size:11px!important;line-height:1.2!important;color:inherit!important;
  text-align:center!important;font-weight:500!important;
}
.live-workspace>.xtz-private-dock.xtz-nav-compact{
  width:min(290px,calc(100% - 90px))!important;
  padding:4px!important;border-radius:18px!important;background:#101318!important;
}
.live-workspace>.xtz-private-dock.xtz-nav-compact button{
  height:43px!important;border-radius:13px!important;gap:0!important;
}
.live-workspace>.xtz-private-dock.xtz-nav-compact .nav-icon{height:22px!important}
.live-workspace>.xtz-private-dock.xtz-nav-compact .xtz-nav-glyph{width:20px;height:20px}
.live-workspace>.xtz-private-dock.xtz-nav-compact button small{
  font-size:0!important;line-height:0!important;opacity:0!important;
  transform:translateY(4px)!important;pointer-events:none!important;
}
.live-workspace>.xtz-private-back-to-top{
  position:fixed!important;z-index:59!important;
  right:max(20px,env(safe-area-inset-right))!important;
  bottom:calc(94px + env(safe-area-inset-bottom))!important;
  width:46px!important;height:46px!important;
  display:grid!important;place-items:center!important;
  border-radius:15px!important;
  background:#15191f!important;border:1px solid rgba(255,255,255,.09)!important;
  color:#f0f2f0!important;cursor:pointer;
  opacity:0;visibility:hidden;transform:translateY(8px) scale(.96);
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease,bottom .28s ease!important;
}
.live-workspace>.xtz-private-back-to-top.visible{
  opacity:1!important;visibility:visible!important;transform:translateY(0) scale(1)!important;
}
.live-workspace:has(>.xtz-private-dock.xtz-nav-compact)>.xtz-private-back-to-top{
  bottom:calc(72px + env(safe-area-inset-bottom))!important;
}
.live-workspace>.xtz-private-back-to-top span{font-size:24px;line-height:1}
.live-workspace>.xtz-private-dock button:focus-visible,
.live-workspace>.xtz-private-back-to-top:focus-visible{
  outline:2px solid #a1cbb3!important;outline-offset:2px!important;
}
@media(max-width:360px){
 .live-workspace>.xtz-private-dock{width:calc(100% - 22px)!important}
 .live-workspace>.xtz-private-dock.xtz-nav-compact{width:calc(100% - 80px)!important}
}
@media(prefers-reduced-motion:reduce){
 .live-workspace>.xtz-private-dock,.live-workspace>.xtz-private-dock *,
 .live-workspace>.xtz-private-back-to-top{transition:none!important}
}


/* XTZ 7.78.8.170 — preserve original .165 sizing appearance by isolating
   public presentation CSS to the two evidence sections at runtime.
   Floating dock icon geometry/finish must be self-contained while Live uses
   only its own native stylesheet (the original premium sizing foundation). */
.live-workspace>.xtz-private-dock .nav-icon .xtz-nav-glyph{
  display:block;overflow:visible;fill:none;stroke:currentColor;
  stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}
.live-workspace>.xtz-private-dock .nav-icon .xtz-nav-glyph__signal{fill:currentColor;stroke:none}
.live-workspace>.xtz-private-dock button:not(.active) .xtz-nav-glyph{opacity:.86}
.live-workspace>.xtz-private-dock button.active .xtz-nav-glyph{stroke-width:1.7}
.live-workspace>.xtz-private-dock button.active .xtz-nav-glyph__signal{filter:drop-shadow(0 0 4px rgba(201,215,209,.28))}


/* XTZ 7.78.8.171 — compact private dock + content-led page endings.
   No alteration to native Live sizing, execution surfaces or numerical layouts.
   Long views use a viewport dock; genuinely short views place it immediately
   after content instead of stranding it far below the page in empty space. */
.live-app:has(>main>.live-workspace:not([hidden])){
  padding-bottom:0!important;
}
.live-workspace{
  position:relative;
  padding-bottom:calc(75px + env(safe-area-inset-bottom,0px))!important;
}
html[data-xtz-private-section="intel"] .live-disclosure,
html[data-xtz-private-section="results"] .live-disclosure{
  display:none!important;
}
/* Compact three-destination navigation: same icon family, smaller chrome. */
.live-workspace>.xtz-private-dock{
  width:min(282px,calc(100% - 44px))!important;
  padding:4px!important;
  bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;
  border-radius:18px!important;
  background:rgba(17,20,24,.96)!important;
  border:1px solid rgba(255,255,255,.085)!important;
  box-shadow:0 13px 36px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.025)!important;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
}
.live-workspace>.xtz-private-dock .nav-track{gap:3px!important}
.live-workspace>.xtz-private-dock button{
  height:48px!important;gap:3px!important;
  border-radius:14px!important;
  padding:3px 2px!important;
}
.live-workspace>.xtz-private-dock button .nav-icon{
  height:20px!important;line-height:20px!important;
}
.live-workspace>.xtz-private-dock .xtz-nav-glyph{width:19px;height:19px}
.live-workspace>.xtz-private-dock button small{
  font-size:10px!important;line-height:1.08!important;
  letter-spacing:.005em!important;font-weight:530!important;
}
.live-workspace>.xtz-private-dock button.active{
  background:linear-gradient(180deg,rgba(36,41,47,.95),rgba(29,33,38,.9))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.live-workspace>.xtz-private-dock.xtz-nav-compact{
  width:min(210px,calc(100% - 106px))!important;
  padding:3px!important;border-radius:16px!important;
}
.live-workspace>.xtz-private-dock.xtz-nav-compact button{
  height:37px!important;border-radius:12px!important;
  padding:0 2px!important;
}
.live-workspace>.xtz-private-dock.xtz-nav-compact .nav-icon{height:21px!important}
.live-workspace>.xtz-private-dock.xtz-nav-compact .xtz-nav-glyph{width:19px;height:19px}
.live-workspace>.xtz-private-back-to-top{
  width:39px!important;height:39px!important;border-radius:13px!important;
  right:max(17px,env(safe-area-inset-right,0px))!important;
  bottom:calc(78px + env(safe-area-inset-bottom,0px))!important;
  background:rgba(21,25,31,.96)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.3)!important;
}
.live-workspace:has(>.xtz-private-dock.xtz-nav-compact)>.xtz-private-back-to-top{
  bottom:calc(64px + env(safe-area-inset-bottom,0px))!important;
}
.live-workspace>.xtz-private-back-to-top span{font-size:21px!important}
/* On short evidence pages, dock follows the real last content instead of the
   viewport floor. As verified records accumulate, it automatically becomes
   the normal floating dock without an empty-region spacer. */
.live-workspace>.xtz-private-dock.xtz-nav-after-content{
  position:absolute!important;
  top:var(--xtz-private-dock-content-top,auto)!important;
  bottom:auto!important;
  left:50%!important;
  transform:translate3d(-50%,0,0)!important;
}
@media(max-width:360px){
  .live-workspace>.xtz-private-dock{width:min(282px,calc(100% - 36px))!important}
  .live-workspace>.xtz-private-dock.xtz-nav-compact{width:min(210px,calc(100% - 80px))!important}
}


/* XTZ 7.78.8.172 — native private workspace hierarchy refinement.
   The 3-destination dock already identifies Intel/Results; their public
   page title blocks are redundant only INSIDE the authenticated app.
   Public pages and underlying data renderers are deliberately untouched. */
.xtz-private-evidence .strength-page.strength-v2 > .strength-v2-head,
.xtz-private-evidence .results-head{
  display:none!important;
}
/* Keep the first live evidence block close to the shared strategy rail.
   No extra whitespace is reserved for suppressed page titles. */
.xtz-private-evidence{padding-top:8px!important}
.xtz-private-evidence .strength-page.strength-v2{
  margin-top:0!important;
  padding-top:0!important;
}
.xtz-private-evidence [data-results-content]{margin-top:0!important}
/* Symmetrical, centred Main/Secondary tabs across Live, Intel and Results.
   Preserve the existing subtle active indicator, accessibility and touch area. */
.live-workspace > .strategy-selector{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0!important;
  width:100%;
}
.live-workspace > .strategy-selector button{
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  min-width:0;
  padding-left:2px!important;
  padding-right:2px!important;
}
.live-workspace > .strategy-selector button strong{
  font-weight:600;
  letter-spacing:-.018em;
}
.live-workspace > .strategy-selector button:first-child strong{
  font-weight:600;
  letter-spacing:-.018em;
}
.live-workspace > .strategy-selector button[aria-pressed="true"] strong{
  font-weight:670;
}
@media(max-width:360px){
  .live-workspace > .strategy-selector button strong{font-size:11.7px}
  .live-workspace > .strategy-selector button small{font-size:6.2px;letter-spacing:.105em}
}


/* XTZ 7.78.8.173 — stable native bottom dock across ALL private routes.
   The previous absolute-after-content mode caused unpredictable position
   changes on empty/short views and repeated live-height measurement work.
   A single fixed compositing layer is cheaper on iOS and location-consistent. */
.live-workspace>.xtz-private-dock,
.live-workspace>.xtz-private-dock.xtz-nav-after-content{
  position:fixed!important;
  top:auto!important;
  bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;
  left:50%!important;
  transform:translate3d(-50%,0,0)!important;
  --xtz-private-dock-content-top:auto;
  /* Avoid expensive behind-the-dock backdrop sampling while Live updates. */
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  background:#111419!important;
  box-shadow:0 7px 20px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.025)!important;
  contain:layout style paint;
}
/* The dock has a consistent bottom position; only the user-facing label/size
   responds to scroll direction. No absolute positioning or layout measurements. */
.live-workspace>.xtz-private-dock{transition:width .23s ease,padding .23s ease,border-radius .23s ease!important}
.live-workspace>.xtz-private-dock button{transition:height .23s ease,background .18s ease!important}
.live-workspace>.xtz-private-dock button small{transition:opacity .16s ease!important}
/* Only reserve enough scroll clearance to keep the final row legible above
   the fixed dock. Remove compounded public-section bottom padding. */
.live-workspace{padding-bottom:calc(66px + env(safe-area-inset-bottom,0px))!important}
.xtz-private-evidence{padding-bottom:0!important;margin-bottom:0!important}
.xtz-private-evidence .strength-page.strength-v2,
.xtz-private-evidence .results-page{
  padding-bottom:0!important;
  margin-bottom:0!important;
}
.xtz-private-evidence .results-disclosure:last-child{margin-bottom:0!important}
@media(prefers-reduced-motion:reduce){
  .live-workspace>.xtz-private-dock,
  .live-workspace>.xtz-private-dock button,
  .live-workspace>.xtz-private-dock button small{transition:none!important}
}

/* 7.78.8.174 — lightweight Instagram-like pull-to-refresh indicator.
   Neither the page nor dock is transformed; no layout/scroll anchoring jumps. */
/* 7.78.8.179 — XTZ private workspace holds its viewport steady during
   pull-to-refresh. Disable Safari root rubber-band, not normal page scrolling;
   scope to logged-in Live/Intel/Results so the public site/login are untouched. */
html:has(.live-workspace:not([hidden])),body:has(.live-workspace:not([hidden])){overscroll-behavior-y:none}
.xtz-private-pull-indicator{
  position:fixed;top:calc(env(safe-area-inset-top,0px) + 92px);
  left:50%;z-index:90;transform:translate3d(-50%,calc(-54px + var(--xtz-pull-distance,0px)),0);
  width:35px;height:35px;border-radius:50%;display:grid;place-items:center;
  color:#a5cdb8;background:rgba(19,27,27,.96);border:1px solid rgba(139,184,160,.22);
  box-shadow:0 7px 20px rgba(0,0,0,.22);pointer-events:none;opacity:0;
  transition:opacity .16s ease,transform .22s cubic-bezier(.2,.7,.2,1);
  contain:layout paint;will-change:transform,opacity;
}
.xtz-private-pull-indicator[data-state="pulling"],
.xtz-private-pull-indicator[data-state="ready"],
.xtz-private-pull-indicator[data-state="loading"],
.xtz-private-pull-indicator[data-state="done"],
.xtz-private-pull-indicator[data-state="error"]{opacity:1}
.xtz-private-pull-indicator[data-state="ready"]{border-color:#a5cdb8}
.xtz-private-pull-ring{width:19px;height:19px;display:grid;place-items:center}
.xtz-private-pull-ring svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform:rotate(calc(135deg * var(--xtz-pull-progress,0)))}
.xtz-private-pull-indicator[data-state="loading"] .xtz-private-pull-ring{animation:xtz-pull-spin .82s linear infinite}
.xtz-private-pull-indicator[data-state="done"] .xtz-private-pull-ring{display:none}
.xtz-private-pull-check{display:none;font-size:19px}
.xtz-private-pull-indicator[data-state="done"] .xtz-private-pull-check{display:block}
.xtz-private-pull-indicator[data-state="error"]{color:#dfa7a0;border-color:rgba(223,167,160,.4)}
@keyframes xtz-pull-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.xtz-private-pull-indicator{transition:none;will-change:auto}.xtz-private-pull-indicator[data-state="loading"] .xtz-private-pull-ring{animation:none}}

/* 7.78.8.178 — discreet success icon and clear error feedback for all sections.
   Only the indicator changes size; the document and bottom dock never move. */
.xtz-private-pull-indicator{display:flex;align-items:center;justify-content:center;gap:0;white-space:nowrap}
/* Successful refresh uses the original discreet circle/checkmark, not a text pill.
   Retain an expanded Retry message only for actual failed requests. */
.xtz-private-pull-indicator[data-state="done"]{width:35px;height:35px;padding:0;gap:0}
.xtz-private-pull-indicator[data-state="error"]{width:auto;min-width:90px;padding:0 10px;gap:6px}
.xtz-private-pull-label{display:none;font-size:10px;font-weight:650;letter-spacing:.025em;line-height:1}
.xtz-private-pull-indicator[data-state="error"] .xtz-private-pull-label{display:inline}
.xtz-private-pull-indicator[data-state="error"] .xtz-private-pull-label:after{content:"Retry"}
/* In the installed iPhone PWA, use the free space beneath the status bar
   rather than letting the brief check obscure the Live hero heading. */
@media(display-mode:standalone){
  .xtz-private-pull-indicator{top:calc(env(safe-area-inset-top,0px) + 20px)}
}

/* XTZ 7.78.8.180 — Live retains ONE prior completed leg in the original card layout.
   This is a static header (no expandable completed-record archive).
   Position Activity history is untouched; older completed legs belong in Results. */
.completed-section>.completed-summary-static{border-top:1px solid #18221d;cursor:default}
.completed-section>.completed-summary-static .completed-count:after{display:none!important;content:none!important}
.completed-section>.completed-stack:last-child .completed-leg:last-child,
.completed-section>.recent-list .completed-leg:last-child{border-bottom:0}

/* XTZ 7.78.8.181 — voluntary installs live in Account Options, never in resume. */
.member-menu-popover .member-menu-row[data-live-update][hidden]{display:none!important}


/* XTZ 7.78.8.182 — same restrained idle presentation across strategies.
   Pending state is not labelled flat until confirmed by a recent reference. */
.position-surface[data-empty-status="pending"] .position-empty-signal{border-color:#7c8981}
.position-surface[data-empty-status="pending"] .position-empty strong{color:#c8d2cb;font-size:clamp(23px,5.5vw,32px);line-height:1.14;letter-spacing:-.033em}
.position-surface[data-empty-status="pending"] .position-empty p{color:#839089}
.position-surface[data-empty-status="confirmed"] .position-empty strong{color:#e3ede6}


/* XTZ 7.78.8.186 — iOS notification-resume private dock containment fix.
   Only the dock is portalled to <body> by xtz-private-navigation.js.
   Own its fixed viewport anchor independently of Live/Intel/Results repaint,
   scroll reservations, reauthentication and WebKit PWA visual state restoration.
   A symmetric left/right anchor deliberately avoids GPU translate3d drifting. */
body > .xtz-private-dock[data-xtz-dock-portal]{
  position:fixed!important;
  top:auto!important;
  left:0!important;
  right:0!important;
  bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;
  margin:0 auto!important;
  width:min(282px,calc(100% - 44px))!important;
  height:auto!important;
  box-sizing:border-box!important;
  display:block!important;
  padding:4px!important;
  z-index:60!important;
  border-radius:18px!important;
  border:1px solid rgba(255,255,255,.085)!important;
  background:#111419!important;
  box-shadow:0 7px 20px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.025)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  -webkit-transform:none!important;
  transform:none!important;
  -webkit-transform-origin:initial!important;
  transform-origin:initial!important;
  will-change:auto!important;
  contain:style;
  transition:width .23s ease,padding .23s ease,border-radius .23s ease!important;
}
body > .xtz-private-dock[data-xtz-dock-portal][hidden]{display:none!important}
body > .xtz-private-dock[data-xtz-dock-portal] .nav-track{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:100%!important;
  gap:3px!important;
}
body > .xtz-private-dock[data-xtz-dock-portal] button{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  width:100%!important;
  height:48px!important;
  gap:3px!important;
  padding:3px 2px!important;
  border:0!important;
  border-radius:14px!important;
  background:transparent!important;
  color:#737b83!important;
  font-family:inherit!important;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:height .23s ease,background .18s ease!important;
}
body > .xtz-private-dock[data-xtz-dock-portal] button.active{
  color:#f0f2f0!important;
  background:linear-gradient(180deg,rgba(36,41,47,.95),rgba(29,33,38,.9))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
body > .xtz-private-dock[data-xtz-dock-portal] button .nav-icon{
  display:grid!important;
  place-items:center!important;
  height:20px!important;
  line-height:20px!important;
  width:100%!important;
  margin:0!important;
  color:inherit!important;
}
body > .xtz-private-dock[data-xtz-dock-portal] .xtz-nav-glyph{
  display:block;
  overflow:visible;
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
  width:19px;
  height:19px;
}
body > .xtz-private-dock[data-xtz-dock-portal] .xtz-nav-glyph__signal{fill:currentColor;stroke:none}
body > .xtz-private-dock[data-xtz-dock-portal] button:not(.active) .xtz-nav-glyph{opacity:.86}
body > .xtz-private-dock[data-xtz-dock-portal] button.active .xtz-nav-glyph{stroke-width:1.7}
body > .xtz-private-dock[data-xtz-dock-portal] button small{
  display:block!important;
  margin:0!important;
  width:100%!important;
  color:inherit!important;
  font-size:10px!important;
  line-height:1.08!important;
  font-weight:530!important;
  text-align:center!important;
  letter-spacing:.005em!important;
  transition:opacity .16s ease!important;
}
body > .xtz-private-dock[data-xtz-dock-portal].xtz-nav-compact{
  width:min(210px,calc(100% - 106px))!important;
  padding:3px!important;
  border-radius:16px!important;
}
body > .xtz-private-dock[data-xtz-dock-portal].xtz-nav-compact button{
  height:37px!important;
  border-radius:12px!important;
  gap:0!important;
  padding:0 2px!important;
}
body > .xtz-private-dock[data-xtz-dock-portal].xtz-nav-compact button .nav-icon{height:21px!important}
body > .xtz-private-dock[data-xtz-dock-portal].xtz-nav-compact button small{
  font-size:0!important;
  line-height:0!important;
  opacity:0!important;
  pointer-events:none!important;
}
body > .xtz-private-dock[data-xtz-dock-portal] button:focus-visible{
  outline:2px solid #a1cbb3!important;
  outline-offset:2px!important;
}
@media(max-width:360px){
  body > .xtz-private-dock[data-xtz-dock-portal]{width:min(282px,calc(100% - 36px))!important}
  body > .xtz-private-dock[data-xtz-dock-portal].xtz-nav-compact{width:min(210px,calc(100% - 80px))!important}
}
@media(prefers-reduced-motion:reduce){
  body > .xtz-private-dock[data-xtz-dock-portal],
  body > .xtz-private-dock[data-xtz-dock-portal] button,
  body > .xtz-private-dock[data-xtz-dock-portal] button small{transition:none!important}
}

/* 7.78.8.187 — isolated V3 preview, no changes to Main/Secondary layout. */
html[data-xtz-strategy="inverse"] [data-xtz-main-only],html[data-xtz-strategy="inverse"] [data-xtzi-live],html[data-xtz-strategy="inverse"] [data-xtzi-system]{display:none!important}
html:not([data-xtz-strategy="inverse"]) [data-xtzf-live]{display:none!important}
.live-workspace > .strategy-selector{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.live-workspace > .strategy-selector button{min-width:0}
.live-workspace > .strategy-selector button strong{font-size:clamp(10px,2.55vw,13px);white-space:normal}
.live-workspace > .strategy-selector button small{letter-spacing:.07em;white-space:normal;font-size:6.8px}
@media(max-width:380px){.live-workspace > .strategy-selector{gap:7px}.live-workspace > .strategy-selector button strong{font-size:10px}.live-workspace > .strategy-selector button small{font-size:6px}}

/* XTZ Inverse uses literal clones of Main Live position/activity/completion components. */
[data-xtzf-live]{min-width:0;width:100%}
[data-xtzf-live] .position-surface:first-child{margin-top:16px}
[data-xtzf-live] .activity-section,[data-xtzf-live] .completed-section{max-width:100%}

html:not([data-xtz-strategy="inverse"]) [data-xtzf-system]{display:none!important}

/* 7.78.8.190 — one premium, three-option strategy rail on every private view.
   Override the legacy .172 two-column !important rule; never wrap a strategy. */
.live-workspace > .strategy-selector{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:0!important;align-items:stretch!important;width:100%;
 margin:12px 0 10px!important;border-bottom:1px solid rgba(158,199,173,.15)!important;
}
.live-workspace > .strategy-selector button{
 position:relative;min-width:0!important;min-height:61px;box-sizing:border-box;
 padding:12px 3px 13px!important;margin:0 0 -1px!important;
 align-items:center!important;justify-content:center!important;text-align:center!important;
 border-bottom:2px solid transparent!important;border-radius:0!important;
 background:none!important;white-space:nowrap!important;
}
.live-workspace > .strategy-selector button[aria-pressed="true"]{border-bottom-color:#9ec9b0!important}
.live-workspace > .strategy-selector button strong{
 font-size:clamp(11px,2.9vw,14px)!important;line-height:1.25!important;
 letter-spacing:-.018em!important;white-space:nowrap!important;font-weight:600!important;
}
.live-workspace > .strategy-selector button[aria-pressed="true"] strong{font-weight:700!important;color:#eaf2ed!important}
.live-workspace > .strategy-selector button small{
 font-size:clamp(6.2px,1.7vw,8px)!important;letter-spacing:.105em!important;white-space:nowrap!important;line-height:1.2;
}
@media(max-width:430px){
 .live-workspace > .strategy-selector button{min-height:50px;padding:11px 1px 12px!important}
 .live-workspace > .strategy-selector button strong{font-size:clamp(10.2px,2.7vw,12.5px)!important}
 .live-workspace > .strategy-selector button small{display:none!important}
}
@media(max-width:340px){.live-workspace > .strategy-selector button strong{font-size:10px!important;letter-spacing:-.028em!important}}
/* Receipt details may be longer than the available iPhone viewport. */
[data-xtzf-system].system-line{flex-wrap:wrap;gap:8px 12px}
[data-xtzf-system] .system-status-primary{flex-wrap:wrap;row-gap:5px;min-width:0}
[data-xtzf-system] .system-reference-time{white-space:normal;overflow-wrap:anywhere}
@media(max-width:430px){[data-xtzf-system] .system-actions .system-checked{display:none}}

/* XTZ 7.78.8.199 — Results motion is the single private navigation language.
   The user-approved Results entrance is a quiet 10px rise + opacity over
   560ms. Present the *whole* destination once, never dozens of child blocks.
   Compositor-only motion: no height, width, borders or scrolling animation. */
@keyframes xtzPrivateResultsArrival {
  from { opacity:0; transform:translate3d(0,10px,0); }
  to { opacity:1; transform:translate3d(0,0,0); }
}
.xtz-private-evidence__native { opacity:1; }
.xtz-private-evidence[data-xtz-stage="preparing"],
.xtz-private-evidence[data-xtz-stage="ready"],
.xtz-private-evidence[data-xtz-stage="failed"] {
  min-height:min(60svh,560px); /* no dock/footer jump while data is prepared */
}
.xtz-private-evidence[data-xtz-stage="preparing"] .xtz-private-evidence__native,
.xtz-private-evidence[data-xtz-stage="ready"] .xtz-private-evidence__native,
.xtz-private-evidence[data-xtz-stage="failed"] .xtz-private-evidence__native {
  opacity:0;
  visibility:hidden;
}
.xtz-private-evidence[data-xtz-stage="visible"] .xtz-private-evidence__native {
  visibility:visible;
  animation:xtzPrivateResultsArrival .56s cubic-bezier(.22,.8,.24,1) both;
}
.xtz-private-execution.xtz-private-view-enter {
  animation:xtzPrivateResultsArrival .56s cubic-bezier(.22,.8,.24,1) both;
}
/* The public site's editorial subsection effects are correct on independent
   public routes. In the authenticated XTZ dock, however, re-rendering a feed
   could replay them in mid-page. Restrict motion here to the parent shell. */
.xtz-private-evidence__native .page > .software-head,
.xtz-private-evidence__native .page > .page-head,
.xtz-private-evidence__native .strength-page.strength-v2 > .strength-v2-head,
.xtz-private-evidence__native .strength-page.strength-v2 > .strength-v2-command,
.xtz-private-evidence__native .strength-page.strength-v2 > .strength-release,
.xtz-private-evidence__native .strength-page.strength-v2 > .strength-signal-gate,
.xtz-private-evidence__native .results-page .results-performance,
.xtz-private-evidence__native .results-page .results-record-depth,
.xtz-private-evidence__native .results-page .public-results-membership {
  animation:none!important;
  will-change:auto!important;
}
.xtz-private-view-wait {
  padding:30px 0 44px;
  font-size:12px;
  font-weight:520;
  letter-spacing:.025em;
  color:#93a49c;
  animation:xtzPrivateWaitArrival .2s ease-out both;
}
.xtz-private-view-wait[hidden] { display:none!important; }
@keyframes xtzPrivateWaitArrival { from { opacity:0; } to { opacity:1; } }
@media(prefers-reduced-motion:reduce) {
  .xtz-private-evidence[data-xtz-stage="visible"] .xtz-private-evidence__native,
  .xtz-private-execution.xtz-private-view-enter,
  .xtz-private-view-wait { animation:none!important; transform:none!important; opacity:1; }
}

/* XTZ 7.78.8.199 — Restore the native fullscreen Main sizing workspace.
   Results-style entrance uses transform with fill-mode:both on execution;
   a transformed ancestor traps position:fixed on iOS. Cancel ONLY while
   Main's sizing workspace is open. Other page transitions are untouched. */
html.xtz-main-size-open .xtz-private-execution {
  animation:none!important;
  transform:none!important;
  will-change:auto!important;
}
html.xtz-main-size-open .live-workspace>.xtz-private-dock,
html.xtz-main-size-open .live-workspace>.xtz-private-back-to-top {
  visibility:hidden!important;
  pointer-events:none!important;
}

/* XTZ 7.78.8.210 — Main sizing viewport isolation on iOS.
   During an expanded tool session JS ports the EXISTING sizing section to
   <body>; fixed sizing and its bottom close action can no longer inherit
   transformed/contained Live execution ancestors after a route animation. */
body > .live-position-sizing.is-workspace-open{
  position:fixed;
  inset:0;
  z-index:120;
  height:100dvh;
  max-height:100dvh;
  margin:0!important;
}

/* XTZ 7.78.8.215 — Shared three-strategy viewport sizing containment.
   Main, Secondary and Inverse forms all move to <body> while expanded.
   The independent, also-portaled navigation dock must never appear above a
   sizing workspace on iPhone, including PWA resume / transition frames. */
html.live-size-workspace-open body > .xtz-private-dock[data-xtz-dock-portal],
html.live-size-workspace-open .xtz-private-back-to-top{
  visibility:hidden!important;
  pointer-events:none!important;
}
body > .live-position-sizing.is-workspace-open{
  position:fixed!important;
  inset:0!important;
  z-index:120!important;
  height:100dvh;
  max-height:100dvh;
}

/* Avoid even a brief transformed containing block around the viewport-fixed
   bottom close action while the sizing panel is entering. */
body > .live-position-sizing.is-workspace-open .live-size-body{
  animation:none!important;
  transform:none!important;
}

/* XTZ .216 — A push-driven event spotlight is programmatic navigation, not
   member scrolling. Prevent inherited smooth scroll and the dock's width
   transition from racing Safari's PWA viewport restoration. Ordinary user
   gestures restore the canonical adaptive dock without a layout reparent. */
html.xtz-notice-route{scroll-behavior:auto!important}
html.xtz-notice-route body > .xtz-private-dock[data-xtz-dock-portal],
html.xtz-notice-route body > .xtz-private-dock[data-xtz-dock-portal] button,
html.xtz-notice-route body > .xtz-private-dock[data-xtz-dock-portal] button small{transition:none!important}

/* XTZ 7.78.8.221 — Notification workspace refinement, scoped to the inbox.
   No global component, trading or push-related CSS changes. */
.notification-quick{position:relative!important}
.xtz-inbox-badge[hidden]{display:none!important}
.xtz-inbox-badge{position:absolute!important;top:-8px!important;right:-7px!important;min-width:18px!important;height:18px!important;padding:0 4px!important;border-radius:99px!important;background:#b3433a!important;color:#fff!important;box-shadow:0 0 0 3px #080d0b!important;display:grid!important;place-items:center!important;font:730 10px/1 system-ui!important}
.xtz-inbox{border:0!important;padding:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important;overflow:hidden!important;background:#090d0e!important;color:#eef1ee!important;box-shadow:none!important;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.xtz-inbox:not([open]){display:none!important}
.xtz-inbox::backdrop{background:rgba(1,4,3,.9);backdrop-filter:blur(7px)}
.xtz-inbox-shell{box-sizing:border-box;display:flex;flex-direction:column;height:100%;min-height:0;max-width:720px;margin:0 auto;padding:calc(env(safe-area-inset-top,0px) + 21px) max(27px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 21px) max(27px,env(safe-area-inset-left,0px));overscroll-behavior:contain}
.xtz-inbox button,.xtz-inbox summary{font-family:inherit;-webkit-tap-highlight-color:transparent}
.xtz-inbox button:focus,.xtz-inbox summary:focus{box-shadow:none}
.xtz-inbox button:focus:not(:focus-visible),.xtz-inbox summary:focus:not(:focus-visible){outline:none!important}
.xtz-inbox button:focus-visible,.xtz-inbox summary:focus-visible{outline:1.5px solid #b4d8bf!important;outline-offset:3px!important}
#xtz-inbox-title:focus{outline:0!important}
.xtz-inbox-header{min-height:44px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:9px}
.xtz-inbox-brand{display:flex;align-items:center;gap:7px;color:#9eb4a5;font-size:9px;font-weight:740;letter-spacing:.145em;white-space:nowrap}
.xtz-inbox-brand-slash{padding:0 3px;color:#4e7460}
.xtz-inbox-header-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.xtz-inbox-close{position:relative;width:38px;height:38px;padding:0;border:0;border-radius:9px;background:transparent;color:#8c9892;cursor:pointer;display:block;box-shadow:none;outline:0;-webkit-tap-highlight-color:transparent}
.xtz-inbox-close i:before,.xtz-inbox-close i:after{content:'';position:absolute;right:1px;top:18px;width:15px;height:1.4px;border-radius:2px;background:currentColor;transform:rotate(45deg)}
.xtz-inbox-close i:after{transform:rotate(-45deg)}
.xtz-inbox-close:hover{background:#ffffff06;color:#d0dbd5}
.xtz-inbox-close:active{background:#ffffff08;transform:scale(.97)}
.xtz-inbox-preferences:hover,.xtz-inbox-manage>summary:hover{background:#19281e;color:#e0eee4}
.xtz-inbox-preferences{display:flex;align-items:center;gap:8px;min-height:38px;border:0!important;padding:0 10px;border-radius:10px;background:transparent!important;color:#92ae9c;cursor:pointer;font:630 11px/1 system-ui;box-shadow:none!important;outline:0}
.xtz-inbox-preferences:hover{background:#17221b!important}
.xtz-inbox-preferences svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.xtz-inbox-manage{position:relative;flex-shrink:0}
.xtz-inbox-manage>summary{display:grid;place-items:center;list-style:none;cursor:pointer;color:#84998b;border-radius:10px;width:36px;height:36px;background:transparent}
.xtz-inbox-manage>summary::-webkit-details-marker{display:none}
.xtz-inbox-manage>summary svg{width:18px;height:18px;fill:currentColor;stroke:none}
.xtz-inbox-manage-options{position:absolute;right:-40px;top:calc(100% + 9px);z-index:30;background:#111b15;border:1px solid #304339;box-shadow:0 20px 50px #000c;border-radius:13px;padding:8px;min-width:216px}
.xtz-inbox-manage-label{color:#7d9e87;font:730 9px/1.3 system-ui;letter-spacing:.13em;padding:8px 9px 7px}
.xtz-inbox-manage-options button{display:block;width:100%;text-align:left;color:#dae7de;font-size:11px;font-weight:570;border:0;background:none;cursor:pointer;border-radius:8px;padding:12px 10px}
.xtz-inbox-manage-options button:hover,.xtz-inbox-item-options button:hover{background:#1e3024}
.xtz-inbox-manage-options button:disabled{opacity:.37;cursor:default}
.xtz-inbox-manage-options p{border-top:1px solid #23352a;padding:11px 10px 6px;margin:3px 0 0;font-size:9px;line-height:1.5;color:#81978a}
.xtz-inbox-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:30px 0 28px;flex-shrink:0}
.xtz-inbox-heading-copy{min-width:0}
.xtz-inbox-heading h2{font:650 clamp(30px,5.7vw,38px)/1.07 -apple-system,BlinkMacSystemFont,'Inter',system-ui,sans-serif;letter-spacing:-.058em;color:#f1f4f0;margin:0 0 11px}
.xtz-inbox-heading h2 span{color:#a8d0b7}
.xtz-inbox-heading p{margin:0;color:#859a8d;font-size:11px;line-height:1.55;letter-spacing:.006em}
.xtz-inbox-unread{display:flex;gap:7px;align-items:center;flex-shrink:0;padding:0 0 2px;color:#92afa0;font-size:10px;font-weight:620;letter-spacing:.02em;white-space:nowrap;border:0;background:none}
.xtz-inbox-unread:before{content:'';width:5px;height:5px;background:#91c1a4;border-radius:50%;opacity:.9}
.xtz-inbox-controls{display:block;flex-shrink:0;margin:0 0 15px;position:relative;z-index:8}
.xtz-inbox-filters{box-sizing:border-box;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;align-items:center;gap:3px;padding:4px;min-width:0;background:#101813;border:1px solid #243329;border-radius:13px;scrollbar-width:none}
.xtz-inbox-filters button{display:grid;place-items:center;min-width:0;width:100%;min-height:41px;padding:9px 2px;border:1px solid transparent;border-radius:9px;background:none;color:#83958a;font-size:11px;font-weight:640;letter-spacing:-.006em;white-space:nowrap;cursor:pointer;transition:color .14s ease}
.xtz-inbox-filters button[aria-pressed=true]{color:#e8f3e9;background:#1c2c23;border-color:#314738;box-shadow:inset 0 1px 0 #ffffff08}
@media(hover:hover){.xtz-inbox-filters button:hover:not([aria-pressed=true]){color:#c7ddce;background:#152118}}
.xtz-inbox-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-color:#293a2f transparent;display:flex;flex-direction:column}
.xtz-inbox-list{display:flex;flex-direction:column;flex:1;min-height:0}
.xtz-inbox-group{display:block}
.xtz-inbox-group-title{font:730 9px/1.3 system-ui;letter-spacing:.15em;text-transform:uppercase;color:#7f9d8a;margin:20px 0 3px;padding:0 0 6px}
.xtz-inbox-item{position:relative;display:grid;grid-template-columns:31px minmax(0,1fr) 29px;gap:13px;align-items:start;min-width:0;padding:16px 0 19px;border-bottom:1px solid #1b2821}
.xtz-inbox-item[data-unread=false]{opacity:.78}
.xtz-inbox-item[data-unread=true]:before{content:'';position:absolute;left:-12px;top:27px;width:4px;height:4px;background:#a4cdb4;border-radius:50%}
.xtz-inbox-symbol{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#132018;color:#a4c4ae;border:1px solid #293c30}
.xtz-inbox-symbol svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.xtz-inbox-item[data-unread=false] .xtz-inbox-symbol{background:#111913;border-color:#1e2d23;color:#75907e}
.xtz-inbox-open{display:block;text-align:left;width:100%;min-width:0;cursor:pointer;border:0;padding:0;background:transparent;color:inherit}
.xtz-inbox-item-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:1px 0 7px}
.xtz-inbox-strategy{font-size:10px;color:#a3c5ae;letter-spacing:.035em;font-weight:740;white-space:nowrap}
.xtz-inbox-date{font-size:9px;white-space:nowrap;color:#718678;font-weight:530;text-align:right}
.xtz-inbox-event-name{display:block;font-size:15px;font-weight:670;color:#e8efe9;letter-spacing:-.02em;line-height:1.31;margin:0 0 5px}
.xtz-inbox-detail{color:#98a99c;font-size:11px;line-height:1.5;margin:0;max-width:49ch}
.xtz-inbox-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:12px;color:#7da18b;font-size:9px;letter-spacing:.06em;font-weight:650}
.xtz-inbox-foot span:last-child{color:#b7d8c1;letter-spacing:.01em;font-size:10px;font-weight:640}
.xtz-inbox-item-menu{position:relative;margin-top:-3px}
.xtz-inbox-item-menu>summary{list-style:none;cursor:pointer;display:grid;place-items:center;border-radius:9px;width:29px;height:29px;color:#809d88;font-size:20px;font-weight:700;letter-spacing:.07em;line-height:1}
.xtz-inbox-item-menu>summary::-webkit-details-marker{display:none}
.xtz-inbox-item-menu>summary:hover,.xtz-inbox-item-menu[open]>summary{color:#cae0d0;background:#15251b}
.xtz-inbox-item-menu>summary span{transform:translateY(-4px);display:block}
.xtz-inbox-item-options{position:absolute;right:0;top:33px;z-index:15;width:max-content;min-width:170px;background:#131d16;padding:6px;border:1px solid #34483a;border-radius:11px;box-shadow:0 14px 35px #000c}
.xtz-inbox-item-options button{display:block;width:100%;text-align:left;cursor:pointer;background:transparent;border:0;padding:11px 10px;color:#cadbd0;font-size:11px;font-weight:550;border-radius:7px}
.xtz-inbox-item-options .xtz-inbox-remove{color:#cbada3}
.xtz-inbox-item:nth-last-child(-n+2) .xtz-inbox-item-options{top:auto;bottom:calc(100% + 4px)}
.xtz-inbox-empty{box-sizing:border-box;display:flex;flex:1;min-height:240px;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px 18px 35px;margin:auto 0}
.xtz-inbox-empty-seal{width:66px;height:66px;border-radius:50%;border:1px solid #263b2c;background:radial-gradient(circle at 50% 40%,#16261b,#0e1711 72%);display:grid;place-items:center;margin:0 auto 23px;color:#9cbaa6}
.xtz-inbox-empty-seal svg{width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.xtz-inbox-empty-eyebrow{font-size:9px;font-weight:720;letter-spacing:.16em;color:#7a9e88;margin:0 0 12px}
.xtz-inbox-empty-title{color:#e9efe9;font-size:20px;font-weight:610;line-height:1.25;letter-spacing:-.032em}
.xtz-inbox-empty-copy{color:#899b8d;font-size:11px;line-height:1.8;margin:12px 0 0;max-width:275px}
.xtz-inbox-empty-action{margin-top:23px;border:1px solid #314739;background:#15241a;color:#b2d9bc;border-radius:10px;padding:11px 15px;font-size:11px;font-weight:620;cursor:pointer}
.xtz-inbox-more{width:100%;background:none;border:0;padding:18px 0;color:#a2cbb1;font-size:11px;font-weight:620;cursor:pointer}
.xtz-inbox-more[hidden]{display:none!important}
.xtz-inbox-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0;padding:14px 0 1px;border-top:1px solid #1f3025;color:#84998c;font-size:9px;font-weight:650;letter-spacing:.075em}
.xtz-inbox-footer-privacy{color:#587560;font-size:8px;white-space:nowrap}
@media(max-width:480px){
 .xtz-inbox-shell{padding:calc(env(safe-area-inset-top,0px) + 14px) 22px calc(env(safe-area-inset-bottom,0px) + 14px)}
 .xtz-inbox-brand{font-size:8px;letter-spacing:.13em;gap:5px}
 .xtz-inbox-header-actions{gap:3px}
 .xtz-inbox-preferences{padding:0 5px;gap:6px;font-size:10px}
 .xtz-inbox-heading{margin:28px 0 23px}.xtz-inbox-heading h2{font-size:33px}
 .xtz-inbox-heading p{font-size:10px}
 .xtz-inbox-unread{font-size:9px}
 .xtz-inbox-filters button{min-height:40px;font-size:10.5px}
 .xtz-inbox-item{gap:10px;grid-template-columns:30px minmax(0,1fr) 27px;padding:17px 0 19px}
 .xtz-inbox-symbol{width:29px;height:29px;border-radius:9px}
 .xtz-inbox-symbol svg{width:14px;height:14px}
 .xtz-inbox-strategy{font-size:10px}.xtz-inbox-event-name{font-size:15px}
 .xtz-inbox-date{font-size:9px}
 .xtz-inbox-item-menu>summary{width:27px;height:27px}
}
@media(max-width:360px){
 .xtz-inbox-brand{font-size:7px;letter-spacing:.075em}
 .xtz-inbox-preferences span{display:none}
 .xtz-inbox-heading p{font-size:9px}
 .xtz-inbox-filters button{font-size:9.5px}
}
@media(prefers-reduced-motion:reduce){.xtz-inbox *{scroll-behavior:auto!important;transition:none!important}}

/* XTZ .222 — one navigation vocabulary, neutral action surfaces.
   Scoped to private notification controls; trading/layout engines untouched. */
.live-hero-actions > [data-notifications][hidden]{display:none!important}
.notification-quick{box-sizing:border-box!important;display:grid!important;place-items:center!important;flex:none!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;gap:0!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:#a7b4ad!important;box-shadow:none!important;transition:color .16s ease,background .16s ease!important}
.notification-quick[data-state]{background:transparent!important;border-color:transparent!important;color:#a7b4ad!important}
.notification-quick:hover,.notification-quick[data-state]:hover{background:#ffffff08!important;color:#f0f2ef!important}
.notification-quick:active{transform:scale(.97)!important}
.notification-quick .notification-quick-icon{display:block!important;width:21px!important;height:21px!important;stroke-width:1.55!important;opacity:1!important}
.notification-quick .notification-quick-status,.notification-quick .notification-quick-label,.notification-quick-dot{display:none!important}
.xtz-inbox-badge{top:-4px!important;right:-4px!important}
.xtz-inbox-manage[hidden],.xtz-inbox-manage-options[hidden],.xtz-inbox-item-options[hidden]{display:none!important}
.xtz-inbox-manage-toggle,.xtz-inbox-item-toggle{appearance:none;-webkit-appearance:none;display:grid;place-items:center;background:transparent!important;border:0!important;border-radius:9px;box-shadow:none!important;cursor:pointer;-webkit-tap-highlight-color:transparent;color:#97a39c;outline:none}
.xtz-inbox-manage-toggle{width:36px;height:36px;padding:0}
.xtz-inbox-manage-toggle svg{height:18px;width:18px;fill:currentColor;stroke:none}
@media(hover:hover){.xtz-inbox-manage-toggle:hover,.xtz-inbox-item-toggle:hover{background:#ffffff08!important;color:#e6eeea}}
.xtz-inbox-manage-toggle:active,.xtz-inbox-item-toggle:active{background:#ffffff06!important;color:#e6eeea}
.xtz-inbox-manage-toggle:focus:not(:focus-visible),.xtz-inbox-item-toggle:focus:not(:focus-visible){outline:0!important;box-shadow:none!important}
.xtz-inbox-manage-toggle:focus-visible,.xtz-inbox-item-toggle:focus-visible{outline:2px solid #aecbb9!important;outline-offset:2px}
.xtz-inbox-manage-options{right:0!important;top:calc(100% + 7px)!important;z-index:90!important;min-width:222px!important;border-radius:12px!important;background:#0f1517!important;border:1px solid #25332d!important;box-shadow:0 23px 65px #000b!important;padding:8px!important;color:#a6b1ac!important}
.xtz-inbox-manage-label{color:#899a90!important}
.xtz-inbox-manage-options button,.xtz-inbox-item-options button{background:transparent!important;color:#a6b1ac!important;border:0!important;border-radius:8px!important;font-size:11px!important}
.xtz-inbox-manage-options button:hover:not(:disabled),.xtz-inbox-item-options button:hover:not(:disabled){background:#ffffff07!important;color:#f0f3f0!important}
.xtz-inbox-manage-options button:active:not(:disabled),.xtz-inbox-item-options button:active:not(:disabled){background:#ffffff0d!important}
.xtz-inbox-manage-options p{border-color:#24302b!important;color:#76847b!important}
.xtz-inbox-item-toggle{width:29px;height:29px;padding:0!important;font-size:20px!important;line-height:1!important;letter-spacing:.05em}
/* XTZ .241: optically align action ellipsis with the event timestamp.
   Keep the entire button, hit target and notification row stationary. */
.xtz-inbox-item-toggle span{display:block;transform:translateY(-7px)}
.xtz-inbox-item-options{position:fixed!important;left:var(--xtz-item-left,12px)!important;top:var(--xtz-item-top,60px)!important;right:auto!important;bottom:auto!important;min-width:188px!important;width:188px!important;z-index:99!important;background:#0f1517!important;border:1px solid #25332d!important;border-radius:12px!important;box-shadow:0 18px 48px #000b!important;padding:7px!important;max-height:240px!important;overflow-y:auto!important}
.xtz-inbox-item-options .xtz-inbox-remove{color:#c1ada9!important}
.xtz-inbox-filters{background:#0e1416!important;border-color:#25312e!important}
.xtz-inbox-filters button[aria-pressed=true]{background:#22282b!important;border-color:#34403b!important;color:#eff3ef!important;box-shadow:inset 0 1px 0 #ffffff0b!important}
@media(hover:hover){.xtz-inbox-filters button:hover:not([aria-pressed=true]){background:#ffffff08!important;color:#d3dcd7!important}}
@media(max-width:480px){.notification-quick{width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important}}
@media(prefers-reduced-motion:reduce){.notification-quick{transition:none!important}}

/* iOS touch should not leave a persistent green hover surface on Preferences. */
.xtz-inbox-preferences{color:#a6b1ac!important;background:transparent!important}
.xtz-inbox-preferences:hover{background:transparent!important;color:#a6b1ac!important}
@media(hover:hover){.xtz-inbox-preferences:hover{background:#ffffff08!important;color:#e9f0ec!important}}
.xtz-inbox-preferences:active{background:#ffffff06!important;color:#e9f0ec!important}


/* XTZ 7.78.8.230 — private first-content clearance (+1px from .229).
   This updates the existing shared rule; no extra top padding is stacked.
   Retains the iOS inset and protection from the blurred top-edge region.
   Previous: XTZ 7.78.8.225 — unified private first-content clearance.
   Live, Intel, Results and all three strategies share ONE authenticated
   workspace. Extend its EXISTING safe-area-aware offset rather than adding
   another viewport inset or altering the fixed navigation / content scroll.
   Do not apply to sign-in, public pages, or the independent notification dialog. */
@media (max-width:760px){
  .live-topbar[hidden] + main .live-workspace{
    padding-top:calc(clamp(14px,3.8vw,20px) + 11px);
  }
  /* Notification header already clears the iOS status region. Bring the
     heading toward that header; preserve the centred empty-state breathing room. */
  .xtz-inbox-heading{margin-top:14px;}
}
@media (min-width:761px){
  .xtz-inbox-heading{margin-top:20px;}
}


/* XTZ .233 — Live management containment; preserve full recorded prices.
   The Inverse manages both SL and TP. On narrow screens these full price
   pairs need separate lines; never allow a row to widen the page. */
[data-xtzf-live] .activity-feature,
[data-xtzf-live] .activity-feature-main,
[data-xtzf-live] .activity-feature-value,
[data-xtzf-live] .activity-value-block,
[data-xtzf-live] .activity-archive,
[data-xtzf-live] .activity-archive-list,
[data-xtzf-live] .activity-row,
[data-xtzf-live] .activity-body,
[data-xtzf-live] .activity-levels,
[data-xtzf-live] .activity-level{min-width:0;max-width:100%;box-sizing:border-box}
[data-xtzf-live] .activity-feature-top{min-width:0;flex-wrap:wrap;row-gap:6px}
[data-xtzf-live] .activity-feature-top span{max-width:100%;white-space:normal;text-align:right;overflow-wrap:break-word}
[data-xtzf-live] .activity-archive-list .activity-level>div{min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:760px){
 [data-xtzf-live] .activity-feature-value:not(.activity-feature-single){
   display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;
   gap:7px;white-space:normal;align-items:start;width:100%;
 }
 [data-xtzf-live] .activity-feature-value:not(.activity-feature-single) .activity-value-block{
   width:100%;max-width:100%;min-width:0;
 }
 [data-xtzf-live] .activity-feature-value:not(.activity-feature-single) .activity-value-previous s{
   display:block;font-size:clamp(13px,3.6vw,16px);line-height:1.25;
   white-space:normal;overflow-wrap:break-word;
 }
 [data-xtzf-live] .activity-feature-value:not(.activity-feature-single) .activity-value-current strong{
   display:block;font-size:clamp(21px,5.65vw,27px);line-height:1.16;
   white-space:normal;overflow-wrap:break-word;letter-spacing:-.04em;
 }
 [data-xtzf-live] .activity-feature-value:not(.activity-feature-single)>i{
   align-self:start;transform:rotate(90deg);font-size:13px;padding:0;
 }
 [data-xtzf-live] .activity-archive-list .activity-level-change{min-width:0}
 [data-xtzf-live] .activity-archive-list .activity-level-change>div{
   display:grid;grid-template-columns:minmax(0,1fr);gap:5px;
   justify-items:start;align-items:start;overflow-wrap:break-word;
 }
 [data-xtzf-live] .activity-archive-list .activity-level-change>div s,
 [data-xtzf-live] .activity-archive-list .activity-level-change>div strong{
   display:block;max-width:100%;min-width:0;white-space:normal;
   font-size:clamp(11px,3.5vw,14px);line-height:1.35;
 }
 [data-xtzf-live] .activity-archive-list .activity-level-change>div i{
   display:block;transform:rotate(90deg);font-size:11px;
 }
 [data-xtzf-live] .activity-archive-list .activity-copy>strong,
 [data-xtzf-live] .activity-archive-list .activity-copy>small{
   max-width:100%;overflow-wrap:break-word;white-space:normal;
 }
}

/* Item actions are portaled into the modal dialog (outside the scrolling list).
   Use dialog-local absolute coordinates to avoid iOS fixed-position clipping. */
.xtz-inbox>.xtz-inbox-item-options{
 position:absolute!important;left:var(--xtz-item-left,12px)!important;
 top:var(--xtz-item-top,60px)!important;right:auto!important;bottom:auto!important;
 width:min(188px,calc(100% - 24px))!important;min-width:0!important;
 box-sizing:border-box!important;z-index:150!important;
}
.xtz-inbox-item[data-opening=true] .xtz-inbox-open{opacity:.72}
.xtz-inbox-item[data-opening=true] .xtz-inbox-foot span:last-child{color:#d6e8db}
.xtz-inbox-item[data-opening=true] .xtz-inbox-foot span:last-child:after{
 content:'';display:inline-block;width:8px;height:8px;margin-left:9px;
 border:1px solid #738e7c;border-top-color:#d6e8db;border-radius:50%;
 animation:xtz-inbox-opening-spin .65s linear infinite;
}
@keyframes xtz-inbox-opening-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
 .xtz-inbox-item[data-opening=true] .xtz-inbox-foot span:last-child:after{animation:none}
}

/* Read items remain legible without competing with unread activity. */
.xtz-inbox-item[data-unread=false]{opacity:.88}


/* XTZ 7.78.8.235 — Inbox lifecycle polish, scoped exclusively to the
   notification dialog. No global motion, viewport or strategy overrides. */
.xtz-inbox-loading{padding:23px 0 20px;min-height:205px;box-sizing:border-box;animation:xtz-inbox-reveal .19s ease both}
.xtz-inbox-loading-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:9px}
.xtz-inbox-loading-eyebrow{font:700 9px/1.4 system-ui;letter-spacing:.15em;color:#96b29f}
.xtz-inbox-loading-track{height:2px;width:56px;overflow:hidden;position:relative;background:#1f3028;border-radius:9px}
.xtz-inbox-loading-track:before{content:'';position:absolute;inset:0;width:45%;border-radius:9px;background:#9cc8ad;animation:xtz-inbox-load-progress 1.3s ease-in-out infinite}
.xtz-inbox-loading-row{display:grid;grid-template-columns:30px minmax(0,1fr) 29px;gap:13px;min-height:101px;align-items:start;padding:18px 0;border-bottom:1px solid #1b2821;box-sizing:border-box}
.xtz-inbox-loading-symbol{height:30px;width:30px;border-radius:9px;background:#1b2922}
.xtz-inbox-loading-lines{display:flex;flex-direction:column;gap:9px;padding-top:2px;min-width:0}
.xtz-inbox-loading-lines i{display:block;height:9px;border-radius:4px;background:#18241e}
.xtz-inbox-loading-lines i:first-child{width:48%;height:8px}
.xtz-inbox-loading-lines i:nth-child(2){width:74%;height:13px}
.xtz-inbox-loading-lines i:last-child{width:92%;height:7px}
.xtz-inbox-loading-row:nth-of-type(3) .xtz-inbox-loading-lines i:nth-child(2){width:58%}
.xtz-inbox-loading-more{width:27px;height:7px;margin-top:2px;border-radius:4px;background:#18241e}
.xtz-inbox-loading-caption{margin:20px 0 0;color:#7f9688;font-size:10px;line-height:1.6}
.xtz-inbox-load-error{display:flex;flex:1;min-height:215px;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:11px;padding:18px 20px}
.xtz-inbox-load-error strong{color:#ecf0ed;font-size:15px;font-weight:640}
.xtz-inbox-load-error p{color:#8fa599;font-size:11px;line-height:1.5;margin:0}
/* XTZ .239 — Tactile feedback without horizontal movement. Keep the
   clicked notification fixed; only opacity and existing accent colours respond. */
.xtz-inbox-item .xtz-inbox-open{border-radius:7px;transition:opacity .14s ease,background-color .16s ease;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.xtz-inbox-item .xtz-inbox-open:active{opacity:.82}
@media(hover:hover){.xtz-inbox-item .xtz-inbox-open:hover .xtz-inbox-foot span:last-child{color:#e2f0e6}}
.xtz-inbox-item[data-opening=true] .xtz-inbox-open{opacity:1}
.xtz-inbox-item[data-opening=true] .xtz-inbox-symbol{border-color:#789d85;background:#1a2a20;transition:background-color .14s ease,border-color .14s ease}
.xtz-inbox-item[data-opening=true] .xtz-inbox-foot span:last-child{color:#e0f1e5}
.xtz-inbox-item[data-opening=true] .xtz-inbox-foot span:last-child:after{content:none!important;display:none!important;animation:none!important}
@keyframes xtz-inbox-load-progress{0%{transform:translateX(-100%)}100%{transform:translateX(245%)}}
@keyframes xtz-inbox-reveal{from{opacity:.4}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
 .xtz-inbox-loading,.xtz-inbox-loading-track:before{animation:none!important}
 .xtz-inbox-item .xtz-inbox-open{transition:none!important}
}

/* XTZ .252 — inbox activity routing uses the same stable fixed dock as
   push routes. Freeze only dock transitions during the covered first-route
   scroll; ordinary member scrolling retains its adaptive dock afterwards. */
html.xtz-inbox-routing body > .xtz-private-dock[data-xtz-dock-portal],
html.xtz-inbox-routing body > .xtz-private-dock[data-xtz-dock-portal] button,
html.xtz-inbox-routing body > .xtz-private-dock[data-xtz-dock-portal] button small{
 transition:none!important;
}

/* XTZ .237 — inbox-only route cover, reveal after event-specific scroll. */
html.xtz-inbox-routing{scroll-behavior:auto!important}
body>.xtz-activity-route-cover{
 position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;
 z-index:2147483000!important;background:#090d0e!important;opacity:1;
 display:flex;align-items:center;justify-content:center;box-sizing:border-box;
 padding:env(safe-area-inset-top,0px) 24px env(safe-area-inset-bottom,0px);
 pointer-events:all;touch-action:none;-webkit-font-smoothing:antialiased;
 transition:opacity .26s cubic-bezier(.2,.8,.2,1)!important;
}
.xtz-activity-route-centre{width:min(250px,100%);display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;transform:translateY(-8px)}
.xtz-activity-route-mark{font:720 34px/.95 system-ui,-apple-system,sans-serif;letter-spacing:-.09em;color:#e9eee9}
.xtz-activity-route-mark:after{content:'.';color:#93c4a9}
.xtz-activity-route-title{font:650 10px/1.6 system-ui,-apple-system,sans-serif;letter-spacing:.15em;color:#9cb1a4;white-space:nowrap}
.xtz-activity-route-line{position:relative;width:72px;height:2px;border-radius:3px;background:#1d3026;overflow:hidden}
.xtz-activity-route-line:after{content:'';position:absolute;left:0;top:0;width:42%;height:100%;border-radius:3px;background:#9bc6ae;animation:xtz-route-line 1.25s ease-in-out infinite}
@keyframes xtz-route-line{from{transform:translateX(-110%)}to{transform:translateX(270%)}}
body>.xtz-activity-route-cover.xtz-activity-route-reveal{opacity:0!important;pointer-events:none!important}
@media(prefers-reduced-motion:reduce){body>.xtz-activity-route-cover{transition:none!important}.xtz-activity-route-line:after{animation:none!important;transform:none!important}}


/* XTZ .243 — Historical Inverse paired levels. Both SL and TP belong to
   the same management event; no suggestion these are current Live levels.
   Scoped only to archived Inverse management, retaining Main's timeline. */
[data-xtzf-live] .activity-archive-list .inverse-history-management .activity-copy{
 display:grid;gap:10px;min-width:0
}
[data-xtzf-live] .activity-archive-list .inverse-history-management .activity-copy>strong{
 line-height:1.3;white-space:normal
}
[data-xtzf-live] .inverse-pair-change{
 display:grid;grid-template-columns:max-content 16px max-content;
 align-items:center;column-gap:8px;justify-content:start;
 font-variant-numeric:tabular-nums;min-width:0;max-width:100%;
}
[data-xtzf-live] .inverse-pair-column{display:grid;grid-template-rows:13px 17px 17px;row-gap:3px;min-width:0}
[data-xtzf-live] .inverse-pair-heading{
 display:block;white-space:nowrap;font-size:8px;font-weight:650;letter-spacing:.10em;
 color:#7e9084;line-height:13px
}
[data-xtzf-live] .inverse-pair-line{display:flex;align-items:baseline;gap:7px;min-width:0;white-space:nowrap}
[data-xtzf-live] .inverse-pair-line small{font-size:8px;line-height:17px;font-weight:650;color:#8aa393;letter-spacing:.06em}
[data-xtzf-live] .inverse-pair-line s,
[data-xtzf-live] .inverse-pair-line strong{font-size:12px;line-height:17px;font-weight:580;letter-spacing:-.012em;white-space:nowrap}
[data-xtzf-live] .inverse-pair-before s{color:#6d7972;text-decoration-color:#69766d;text-decoration-thickness:1px}
[data-xtzf-live] .inverse-pair-set strong{color:#e2e9e3}
[data-xtzf-live] .inverse-pair-arrow{
 display:grid;place-items:center;align-self:center;justify-self:center;
 width:16px;height:22px;color:#8eb6a0;font:normal 18px/1 system-ui,sans-serif;
 transform:translateY(5px)
}
@media(max-width:760px){
 [data-xtzf-live] .activity-archive-list .inverse-history-management .activity-copy{gap:8px}
 [data-xtzf-live] .inverse-pair-change{grid-template-columns:max-content 13px max-content;column-gap:6px}
 [data-xtzf-live] .inverse-pair-column{grid-template-rows:12px 16px 16px;row-gap:3px}
 [data-xtzf-live] .inverse-pair-heading{font-size:7px;letter-spacing:.06em;line-height:12px}
 [data-xtzf-live] .inverse-pair-line{gap:5px}
 [data-xtzf-live] .inverse-pair-line small{font-size:7px;line-height:16px}
 [data-xtzf-live] .inverse-pair-line s,
 [data-xtzf-live] .inverse-pair-line strong{font-size:10.3px;line-height:16px}
 [data-xtzf-live] .inverse-pair-arrow{width:13px;font-size:15px}
}
@media(max-width:360px){
 [data-xtzf-live] .inverse-pair-change{grid-template-columns:max-content 12px max-content;column-gap:4px}
 [data-xtzf-live] .inverse-pair-line{gap:4px}
 [data-xtzf-live] .inverse-pair-line s,
 [data-xtzf-live] .inverse-pair-line strong{font-size:9.4px}
 [data-xtzf-live] .inverse-pair-arrow{width:12px;font-size:14px}
}

/* XTZ .244 — Remove redundant historical-pair captions; keep the paired
   SL/TP values compact and optically centre the one change arrow. */
[data-xtzf-live] .activity-archive-list .inverse-history-management .activity-copy{gap:8px}
[data-xtzf-live] .inverse-history-management .inverse-pair-column{grid-template-rows:17px 17px;row-gap:3px}
[data-xtzf-live] .inverse-history-management .inverse-pair-arrow{transform:none;align-self:center}
@media(max-width:760px){
 [data-xtzf-live] .activity-archive-list .inverse-history-management .activity-copy{gap:6px}
 [data-xtzf-live] .inverse-history-management .inverse-pair-column{grid-template-rows:16px 16px;row-gap:3px}
}


/* XTZ 7.78.8.245 — Unified, full-width Earlier Activity chronology.
   Date + strategy share one metadata line; the event narrative and evidence
   use the complete available text width. The rail and event data are intact.
   Applies to Main, Secondary and Inverse, no notification/routing changes. */
.activity-archive-list .activity-row{
  padding-top:12px;padding-bottom:14px;
}
.activity-archive-list .activity-row .activity-body{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto;
  align-items:start;
  row-gap:7px;
  column-gap:0;
  width:100%;min-width:0;
}
.activity-archive-list .activity-row .activity-top{
  grid-column:1;grid-row:1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  width:100%;min-width:0;
}
.activity-archive-list .activity-row .activity-top time{
  grid-column:auto;grid-row:auto;
  flex:0 0 auto;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
  line-height:1.35;
}
.activity-archive-list .activity-row .activity-tag{
  grid-column:auto;grid-row:auto;
  flex:0 1 auto;
  text-align:right;
  white-space:nowrap;
  line-height:1.35;
}
.activity-archive-list .activity-row .activity-copy{
  grid-column:1;grid-row:2;
  width:100%;min-width:0;
  gap:3px;
}
.activity-archive-list .activity-row .activity-levels{
  grid-column:1;grid-row:3;
  width:100%;min-width:0;
  margin-top:0;
}
.activity-archive-list .activity-row .activity-copy>strong{
  line-height:1.25;
}
/* The paired Inverse evidence fits naturally when it gets the full line. */
[data-xtzf-live] .activity-archive-list .inverse-history-management .activity-copy{
  gap:7px;
}
[data-xtzf-live] .inverse-history-management .inverse-pair-change{
  margin-top:2px;
}
@media(max-width:760px){
  .activity-archive-list .activity-row{
    padding-top:12px;padding-bottom:13px;
  }
  .activity-archive-list .activity-row .activity-body{
    grid-template-columns:minmax(0,1fr);
    row-gap:6px;
  }
  .activity-archive-list .activity-row .activity-top{
    gap:8px;
  }
  .activity-archive-list .activity-row .activity-top time{
    font-size:7.25px;
  }
  .activity-archive-list .activity-row .activity-tag{
    font-size:6.6px;
  }
  [data-xtzf-live] .inverse-history-management .inverse-pair-line s,
  [data-xtzf-live] .inverse-history-management .inverse-pair-line strong{
    font-size:clamp(10px,2.8vw,12px);
  }
}
/* Give the Inverse historical level pair the whole available content row.
   Old and event-set prices balance either side of a centred arrow. */
[data-xtzf-live] .activity-archive-list .inverse-history-management .inverse-pair-change{
  grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr);
  width:min(100%,440px);column-gap:8px;justify-content:stretch;
}
[data-xtzf-live] .activity-archive-list .inverse-history-management .inverse-pair-before{justify-self:start}
[data-xtzf-live] .activity-archive-list .inverse-history-management .inverse-pair-set{justify-self:end}
[data-xtzf-live] .activity-archive-list .inverse-history-management .inverse-pair-arrow{justify-self:center;align-self:center}
@media(max-width:360px){
 [data-xtzf-live] .activity-archive-list .inverse-history-management .inverse-pair-change{
   grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);column-gap:4px;
 }
}
@media(max-width:340px){
  .activity-archive-list .activity-row .activity-top{gap:5px}
  .activity-archive-list .activity-row .activity-top time{font-size:6.8px}
  .activity-archive-list .activity-row .activity-tag{font-size:6.15px;letter-spacing:.07em}
}


/* XTZ 7.78.8.246 — Earlier Activity information discipline and optical alignment.
   The event titles already describe routine actions, so no redundant explanatory
   subtitles. Exceptional unverified/recovered event provenance stays visible.
   Centre each change arrow vertically between its historical price figures;
   retain the shared timeline axis and full-width responsive layout from .245. */
.activity-archive-list .activity-row .activity-level-change>div{
  display:inline-flex;align-items:center;justify-content:flex-start;
  flex-wrap:nowrap;width:max-content;max-width:100%;gap:8px;
  white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.2;
}
.activity-archive-list .activity-row .activity-level-change>div s,
.activity-archive-list .activity-row .activity-level-change>div strong{
  line-height:1.2;flex:0 0 auto;
}
.activity-archive-list .activity-row .activity-level-change>div i{
  display:inline-flex;align-items:center;justify-content:center;
  align-self:center;flex:0 0 16px;width:16px;height:1.2em;
  line-height:1;font-style:normal;transform:translateY(-.5px);
}
@media(max-width:360px){
  .activity-archive-list .activity-row .activity-level-change>div{gap:6px}
  .activity-archive-list .activity-row .activity-level-change>div i{flex-basis:14px;width:14px}
}


/* XTZ 7.78.8.247 — Compact Inverse archived SL/TP group.
   Keep previous and event-set levels together as one visual unit rather
   than distributing them edge-to-edge. Does not affect Main/Secondary,
   event data, timeline axis, notifications, or current Live execution map. */
[data-xtzf-live] .activity-archive-list .inverse-history-management .inverse-pair-change{
  grid-template-columns:max-content 16px max-content;
  width:max-content;max-width:100%;
  justify-content:start;column-gap:10px;
}
[data-xtzf-live] .activity-archive-list .inverse-history-management .inverse-pair-set{
  justify-self:start;
}
[data-xtzf-live] .activity-archive-list .inverse-history-management .inverse-pair-arrow{
  justify-self:center;align-self:center;
}
@media(max-width:360px){
  [data-xtzf-live] .activity-archive-list .inverse-history-management .inverse-pair-change{
    grid-template-columns:max-content 12px max-content;
    column-gap:6px;
  }
}

/* XTZ 7.78.8.249 — Two-strategy member presentation. Reversible; no trade engine changes. */
.live-workspace > .strategy-selector{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.xtz-inbox-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.xtz-strategy-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html [data-strategy-choice="intelligence"],html [data-page-strategy="intelligence"],
html [data-xtz-inbox-filter="intelligence"],html [data-notification-strategy="intelligence"]{display:none!important}

/* XTZ .250 — inbox content containment on iPhone.
   The list is a vertical scroll region. Its intrinsic flex/min-content size
   could exceed the dialog and permit sideways panning while the header stayed
   fixed. Constrain the list and all row columns without shifting tap targets. */
.xtz-inbox-scroll{width:100%;min-width:0;max-width:100%;overflow-x:hidden;overscroll-behavior-x:none;touch-action:pan-y}
.xtz-inbox-list,.xtz-inbox-group{box-sizing:border-box;width:100%;min-width:0;max-width:100%}
.xtz-inbox-item{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
.xtz-inbox-item-meta{min-width:0}
.xtz-inbox-date{min-width:0;max-width:65%;flex:0 1 auto}
.xtz-inbox-detail,.xtz-inbox-event-name{overflow-wrap:break-word}
