/* AEOTEE Phantom: automatic Vault Code login gate only when Native V2 signer is missing. */
.aeotee-phantom-entry{width:100%;display:flex;align-items:center;justify-content:space-between;
 text-align:left;gap:14px;border:1px solid color-mix(in srgb,currentColor 20%,transparent);
 border-radius:18px;padding:16px;background:color-mix(in srgb,currentColor 5%,transparent);
 color:inherit;cursor:pointer;font:inherit;transition:transform .18s ease,border-color .18s ease}
.aeotee-phantom-entry:hover,.aeotee-phantom-entry:focus-visible{transform:translateY(-1px);
 border-color:color-mix(in srgb,#9d89ff 70%,transparent)}
.aeotee-phantom-entry b{display:block;font-size:15px;font-weight:670}
.aeotee-phantom-entry small{display:block;font-size:12px;opacity:.75;margin-top:3px}
.aeotee-phantom-layer{position:fixed;inset:0;z-index:2147483100;background:rgba(13,9,26,.7);
 backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
 display:grid;place-items:center;padding:clamp(12px,4vw,30px);box-sizing:border-box}
.aeotee-phantom-card{width:min(100%,460px);max-height:min(92dvh,680px);overflow:auto;overscroll-behavior:contain;
 border:1px solid rgba(219,206,255,.24);border-radius:26px;background:linear-gradient(145deg,#24213b,#141324);
 color:#f7f4ff;padding:clamp(20px,5vw,32px);box-shadow:0 32px 95px rgba(5,4,14,.55);
 font-family:inherit}
.aeotee-phantom-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.aeotee-phantom-top h2{font-size:22px;line-height:1.2;margin:6px 0 2px}
.aeotee-phantom-kicker{text-transform:uppercase;letter-spacing:.14em;font-size:10px;font-weight:800;color:#bfabff}
.aeotee-phantom-close{width:36px;height:36px;display:grid;place-items:center;border:0;
 border-radius:12px;background:rgba(255,255,255,.1);color:inherit;font-size:24px;cursor:pointer}
.aeotee-phantom-caption{font-size:13px;line-height:1.55;color:#c9c4dc;margin:16px 0}
.aeotee-phantom-form{display:grid;gap:12px;margin-top:20px}
.aeotee-phantom-form label{font-size:12px;font-weight:650}
.aeotee-phantom-form input{width:100%;min-width:0;box-sizing:border-box;border-radius:13px;
 border:1px solid rgba(227,218,255,.24);background:rgba(255,255,255,.06);
 color:#fff;font-size:15px;padding:12px;outline-offset:3px}
.aeotee-phantom-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:4px}
.aeotee-phantom-actions button{flex:1 1 auto;border-radius:12px;min-height:42px;
 border:1px solid rgba(218,205,255,.25);background:rgba(255,255,255,.08);color:#fff;cursor:pointer;
 font:inherit;font-size:13px;padding:9px 13px}
.aeotee-phantom-actions .primary{background:#a98bff;border-color:#a98bff;color:#141022;font-weight:720}
.aeotee-phantom-actions button:disabled{opacity:.48;cursor:wait}
.aeotee-phantom-note{font-size:12px;line-height:1.5;color:#d5d0e8;margin:14px 0}
.aeotee-phantom-note[data-kind="error"]{color:#ffbcbc}
.aeotee-phantom-secret{font-family:ui-monospace,monospace;font-size:14px;line-height:1.5;
 overflow-wrap:anywhere;word-break:break-all;user-select:all;padding:15px;border-radius:12px;
 border:1px solid #b99cff;background:rgba(185,156,255,.12);margin:14px 0}
@media(prefers-reduced-motion:reduce){.aeotee-phantom-entry{transition:none}}

/* Lock newly enrolled browsers until explicit OPAQUE Vault Code verification.
   Existing trusted signers never render this overlay. */
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]){overscroll-behavior:contain}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-card{width:min(100%,420px)}
.aeotee-phantom-signout{width:auto;min-width:88px;min-height:38px;
  padding:0 12px;font-size:12px;font-weight:650;white-space:nowrap}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-form button.primary{
  min-height:48px;font-size:14px}

/* Server attestation is the security boundary. This CSS is defense against
   visual exposure while the server verifies signer or Vault enrollment. */
html[data-aeotee-session-gate="locked"] body > :not(#loginBox):not(#aeoteeVaultGuard):not(.aeotee-phantom-layer):not(script){
 visibility:hidden!important;pointer-events:none!important}
html[data-aeotee-session-gate="locked"][data-aeotee-session-auth="on"] #loginBox{display:none!important}
#aeoteeVaultGuard{display:none;position:fixed;inset:0;z-index:2147483000;
 justify-content:center;align-items:center;padding:24px;box-sizing:border-box;
 background:linear-gradient(145deg,#17132a,#080913);color:#f6f4ff;
 font:inherit;text-align:center}
html[data-aeotee-session-gate="locked"][data-aeotee-session-auth="on"] #aeoteeVaultGuard{display:flex}
.aeotee-v2-guard-card{width:min(100%,420px);border-radius:26px;padding:30px;
 border:1px solid rgba(205,184,255,.24);background:rgba(255,255,255,.04);
 box-shadow:0 25px 85px rgba(0,0,0,.35)}
.aeotee-v2-guard-card h1{font-size:24px;margin:12px 0}
.aeotee-v2-guard-card p{font-size:14px;line-height:1.6;opacity:.9}

/* AEOTEE ✦ Little Universe — intentionally bespoke, expressive and compact.
   Decorative layers never decide whether a login is authorized. */
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]){
 padding:clamp(16px,4vw,34px);
 background:radial-gradient(circle at 18% 14%,rgba(145,131,255,.21),transparent 35%),
   radial-gradient(circle at 88% 80%,rgba(255,154,202,.14),transparent 34%),
   #0b0b18;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-card{
 position:relative;isolation:isolate;
 width:min(100%,430px);max-height:min(94dvh,820px);
 padding:clamp(22px,5vw,32px);border-radius:30px;
 background:
 radial-gradient(circle at 80% 0,rgba(180,147,255,.15),transparent 41%),
 linear-gradient(164deg,#29233d 0%,#171629 57%,#141422 100%);
 border:1px solid rgba(231,208,255,.31);box-shadow:
 0 24px 85px rgba(3,3,16,.48),
 inset 0 1px 0 rgba(255,255,255,.12);
 color:#faf8ff;
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-card::before{
 content:"";position:absolute;inset:7px;z-index:-1;pointer-events:none;
 border:1px solid rgba(221,207,255,.065);border-radius:24px;
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-top{align-items:flex-start}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-kicker{
 letter-spacing:.18em;font-size:10px;color:#cebdff;font-weight:750
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-top h2{
 margin:8px 0 0;font-size:clamp(22px,5.8vw,27px);line-height:1.18;
 letter-spacing:-.03em;font-weight:750;max-width:290px;
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-caption{
 color:#d3cbe2;font-size:13px;line-height:1.65;margin:14px 0 16px;
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-note{
 font-size:12px;line-height:1.5;color:#d7c5fa;
 background:rgba(197,166,255,.075);border:1px solid rgba(197,166,255,.13);
 padding:10px 12px;border-radius:14px;margin:12px 0 0;
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-note[data-kind="error"]{
 color:#ffd0dc;background:rgba(255,95,130,.08);
 border-color:rgba(255,154,179,.3)
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-form{
 gap:10px;margin-top:18px
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-form label{
 font-size:12px;color:#eee6ff;font-weight:690
}
.aeotee-phantom-code-field{display:flex;position:relative;align-items:center}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-form input{
 min-height:50px;background:rgba(9,10,27,.53);color:#fbf9ff;
 border:1px solid rgba(223,206,255,.29);border-radius:15px;
 padding:12px 63px 12px 16px;font-size:15px;letter-spacing:.02em;
 transition:border-color .18s ease,box-shadow .18s ease
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-form input:focus{
 outline:none;border-color:#c6aeff;box-shadow:0 0 0 3px rgba(174,133,255,.16)
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-form input::placeholder{
 color:#9e94b5;font-size:13px;letter-spacing:0
}
.aeotee-phantom-reveal{
 position:absolute;right:7px;top:50%;transform:translateY(-50%);
 background:rgba(193,170,241,.12);color:#e7ddff;border:0;border-radius:9px;
 min-width:46px;min-height:34px;padding:5px;font-size:12px;font-weight:650;cursor:pointer
}
.aeotee-phantom-reveal:hover,.aeotee-phantom-reveal:focus-visible{
 background:rgba(193,170,241,.22);outline:2px solid #bda7fa
}
.aeotee-phantom-input-hint{font-size:10px;color:#b0a4c8;line-height:1.4}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-form .primary{
 background:linear-gradient(110deg,#baa5ff 0%,#d6b8ff 48%,#ffc2db 100%);
 color:#19142b;border:0;font-size:14px;font-weight:780;
 box-shadow:0 8px 22px rgba(187,128,255,.2);min-height:50px;
 transition:transform .15s ease,filter .15s ease;flex:1 1 100%
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-form .primary:active{
 transform:scale(.985)
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-form .primary:hover{
 filter:brightness(1.08)
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-recovery-toggle{
 margin-top:12px;width:100%;border:0;background:none;padding:8px;
 color:#c6b5ff;text-align:center;font-size:11px;cursor:pointer
}
.aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-close{
 border:1px solid rgba(224,210,255,.17);
 background:rgba(255,255,255,.06);border-radius:11px;
 color:#e1d9f0;font-size:11px;min-width:76px;font-weight:650
}
/* Cat guardian: small illustrated face drawn entirely from CSS, no asset
   dependency, no generated clipart and no external image requests. */
.aeotee-phantom-mascot{
 position:relative;width:96px;height:85px;margin:3px auto 13px;
 display:grid;place-items:end center;pointer-events:none;
 animation:aeoteeGuardianFloat 4.4s ease-in-out infinite
}
.aeotee-phantom-mascot-face{
 position:relative;width:74px;height:63px;border-radius:45% 45% 48% 48%;
 background:linear-gradient(145deg,#e8dbff,#c1a6ed 84%);
 box-shadow:inset 0 2px 1px rgba(255,255,255,.6),
 0 9px 22px rgba(183,142,253,.22);
 display:flex;justify-content:space-evenly;align-items:center
}
.aeotee-phantom-mascot-ears{
 position:absolute;top:9px;left:13px;right:13px;height:30px;
 display:flex;justify-content:space-between
}
.aeotee-phantom-mascot-ears i{
 width:27px;height:36px;background:#d9c0fa;
 clip-path:polygon(0 0,100% 20%,77% 100%,0 100%);
 transform:rotate(-11deg)
}
.aeotee-phantom-mascot-ears i:last-child{
 transform:scaleX(-1) rotate(-11deg)
}
.aeotee-mascot-eye{position:relative;width:7px;height:10px;
 border-radius:50%;background:#42305c;margin-top:1px}
.aeotee-mascot-eye::after{position:absolute;content:"";
 width:3px;height:3px;border-radius:50%;background:white;top:1px;left:1px}
.aeotee-mascot-nose{position:absolute;left:50%;bottom:12px;
 transform:translateX(-50%);color:#c56a9d;font-size:12px}
.aeotee-phantom-star{position:absolute;color:#ffe7ae;z-index:2}
.aeotee-phantom-star.star-a{left:-4px;top:19px;font-size:20px}
.aeotee-phantom-star.star-b{right:-3px;top:4px;font-size:23px;color:#c9baff}
@keyframes aeoteeGuardianFloat{0%,100%{transform:translateY(0)}
 50%{transform:translateY(-3px)}}
/* The Security Center keeps one purposeful item per task; obsolete
   link-first onboarding and duplicate status widgets are intentionally gone. */
.aeotee-security-clean{display:flex;flex-direction:column;gap:12px}
.aeotee-security-clean .signature-hub-feature{width:100%;min-height:70px}
.aeotee-security-compact-hero{padding:17px!important;margin:0 0 8px!important;
 display:flex;align-items:center;gap:15px}
.aeotee-security-glow{width:43px;height:43px;flex:none;border-radius:16px;
 display:grid;place-items:center;font-size:22px;color:#ead3ff;
 background:linear-gradient(130deg,rgba(153,128,255,.35),rgba(255,156,207,.18))}
.aeotee-security-device-entry{background:linear-gradient(125deg,
 rgba(160,128,255,.13),rgba(255,161,206,.08))!important}
.aeotee-security-device-entry .signature-feature-icon{
 background:rgba(193,163,255,.17);color:#e4d3ff
}
/* Verified device garden */
.aeotee-garden-overlay{position:fixed;inset:0;z-index:2147483150;
 display:grid;place-items:center;background:rgba(9,7,19,.76);
 backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
 padding:clamp(10px,4vw,26px);box-sizing:border-box}
.aeotee-garden-panel{background:linear-gradient(155deg,#272138,#141322);
 border:1px solid rgba(210,191,255,.29);border-radius:27px;
 box-shadow:0 22px 72px rgba(0,0,0,.4);color:#f6f2ff;
 width:min(100%,570px);padding:clamp(17px,4vw,28px);
 max-height:92dvh;overflow:auto;overscroll-behavior:contain;
 font-family:inherit}
.aeotee-garden-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.aeotee-garden-head h2{font-size:clamp(20px,5vw,25px);line-height:1.2;
 letter-spacing:-.03em;margin:7px 0 0;color:#faf7ff}
.aeotee-garden-eyebrow{font-size:10px;font-weight:750;letter-spacing:.16em;color:#ccb6ff}
.aeotee-garden-close{font-size:22px;background:rgba(255,255,255,.07);
 color:#e8e0fa;border:1px solid rgba(231,219,255,.17);
 border-radius:13px;min-width:39px;min-height:39px;cursor:pointer}
.aeotee-garden-intro{color:#cfc6e2;font-size:13px;line-height:1.65;margin:14px 0}
.aeotee-garden-summary{font-size:12px;color:#c7b2ff;margin:14px 0 8px;font-weight:650}
.aeotee-garden-list{display:grid;gap:10px}
.aeotee-garden-device{display:grid;grid-template-columns:43px minmax(0,1fr) auto;
 align-items:center;gap:11px;padding:13px;position:relative;
 border:1px solid rgba(231,214,255,.15);border-radius:18px;
 background:rgba(255,255,255,.035)}
.aeotee-garden-device.is-current{background:rgba(175,151,253,.095);
 border-color:rgba(209,190,255,.36)}
.aeotee-garden-device-icon{width:42px;height:42px;display:grid;place-items:center;
 border-radius:15px;background:linear-gradient(140deg,#c4a8ff,#f5c3d9);
 color:#241e3d;font-size:22px;font-weight:700}
.aeotee-garden-device-text{display:grid;gap:4px;min-width:0}
.aeotee-garden-device-text strong{font-size:14px;font-weight:720;
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aeotee-garden-device-text span{font-size:11px;color:#d0bee9}
.aeotee-garden-device-text small{font-size:10px;color:#9e91bb}
.aeotee-garden-row-actions{display:flex;gap:6px}
.aeotee-garden-row-actions button,.aeotee-garden-inline button,.aeotee-garden-refresh{
 border:1px solid rgba(227,210,255,.2);background:rgba(255,255,255,.07);
 color:#f5f1ff;border-radius:10px;padding:8px 10px;min-height:36px;
 cursor:pointer;font:inherit;font-size:11px}
.aeotee-garden-row-actions button:hover,.aeotee-garden-inline button:hover,
.aeotee-garden-refresh:hover{background:rgba(198,173,255,.17)}
.aeotee-garden-row-actions .is-danger,.aeotee-garden-inline .is-danger{
 color:#ffbacb;border-color:rgba(255,144,171,.22)}
.aeotee-garden-row-actions button:disabled,.aeotee-garden-inline button:disabled{
 opacity:.4;cursor:not-allowed}
.aeotee-garden-inline{grid-column:1/-1;display:flex;align-items:end;flex-wrap:wrap;gap:8px}
.aeotee-garden-inline:empty{display:none}
.aeotee-garden-inline label{flex:1 1 180px;display:grid;gap:5px;font-size:11px}
.aeotee-garden-inline input{box-sizing:border-box;width:100%;padding:10px;
 color:#faf7ff;background:#181528;border:1px solid #9d84d5;border-radius:10px;
 font:inherit;font-size:13px}
.aeotee-garden-inline .is-primary{color:#201832;
 background:linear-gradient(90deg,#baa7ff,#edbcdc);font-weight:750}
.aeotee-garden-warning,.aeotee-garden-inline-error{flex-basis:100%;
 font-size:12px;line-height:1.6;color:#f1c2d6;margin:4px 0}
.aeotee-garden-empty{color:#d6c4eb;font-size:13px;line-height:1.6;padding:18px 5px}
.aeotee-garden-footer{margin-top:17px;border-top:1px solid rgba(223,211,255,.11);padding-top:13px}
.aeotee-garden-info{font-size:11px;line-height:1.65;color:#b8accd;margin:12px 0 0}
.aeotee-garden-panel button:focus-visible{outline:2px solid #d4baff;outline-offset:2px}
@media(max-width:440px){
 .aeotee-garden-device{grid-template-columns:38px minmax(0,1fr);gap:9px}
 .aeotee-garden-device-icon{width:38px;height:38px}
 .aeotee-garden-row-actions{grid-column:2;justify-content:flex-start}
 .aeotee-garden-panel{border-radius:22px}
 .aeotee-phantom-mascot{margin:0 auto 7px}
}
@media(prefers-reduced-motion:reduce){
 .aeotee-phantom-mascot{animation:none}
 .aeotee-phantom-layer:is([data-auto-unlock="true"],[data-vault-surface="settings"]) .aeotee-phantom-form .primary{
 transition:none}
}

/* AEOTEE ✦ Unified Security Settings • professional minimal + gentle cute
   The original login Vault and Settings Vault now share the same component.
   Decorative styling never changes OPAQUE, Native V2 or session checks. */
.aeotee-phantom-layer[data-vault-surface="settings"]{
 background:radial-gradient(circle at 20% 6%,rgba(174,141,255,.19),transparent 37%),
 radial-gradient(circle at 85% 91%,rgba(255,157,207,.14),transparent 36%),#0c0b19;
 padding:clamp(12px,4vw,26px)}
.aeotee-phantom-layer[data-vault-surface="settings"] .aeotee-phantom-card{
 max-height:min(94dvh,780px);max-width:435px;
 scrollbar-width:thin;scrollbar-color:#9278bb transparent;
 background:radial-gradient(circle at 83% -4%,rgba(222,170,255,.16),transparent 36%),
 linear-gradient(150deg,#27203d,#171629 75%);
 border-radius:30px;border:1px solid rgba(234,205,255,.32);
 box-shadow:0 27px 94px #05030dcc,inset 0 1px 0 #ffffff1a}
.aeotee-phantom-layer[data-vault-surface="settings"] .aeotee-phantom-caption{
 margin:10px 0 8px}
.aeotee-phantom-layer[data-vault-surface="settings"] .aeotee-phantom-note{
 border:1px solid #c1a6ff2a;border-radius:13px;
 padding:12px;background:#b7a4ff0d}
.aeotee-phantom-layer[data-vault-surface="settings"] .aeotee-phantom-actions{
 display:flex;gap:9px;margin-top:10px}
.aeotee-phantom-layer[data-vault-surface="settings"] .aeotee-phantom-actions .primary{
 min-height:48px;border-radius:13px;
 background:linear-gradient(110deg,#baa6ff,#efbbdc);color:#21162d;font-weight:800}
.aeotee-phantom-layer[data-vault-surface="settings"] .aeotee-phantom-recovery-toggle{
 width:100%;margin-top:13px;padding:12px;
 border:1px solid #d1b4ff30;border-radius:13px;
 background:#b6a0ff0e;color:#eadcff;font-size:12px;font-weight:670;
 cursor:pointer;line-height:1.5}
.aeotee-phantom-layer[data-vault-surface="settings"] .aeotee-phantom-code-field input{
 padding-right:64px}
.aeotee-phantom-layer[data-vault-surface="settings"] .aeotee-phantom-secret{
 border-radius:14px;background:#e5c5ff12;color:#fefaff}
.aeotee-security-section-label{font-size:10px;letter-spacing:.16em;
 font-weight:750;color:#cdbbe9;margin:8px 2px 1px}
.app.premium-ready .signature-hub-scroll.aeotee-security-clean{
 display:flex;flex-direction:column;gap:12px;padding:18px 16px 24px!important}
.app.premium-ready .aeotee-security-compact-hero{
 display:flex!important;grid-template-columns:none!important;align-items:center;
 min-height:0!important;margin:0 0 6px!important;padding:16px!important;gap:12px;
 border:1px solid #c5acff38;border-radius:20px;
 background:linear-gradient(130deg,#31274e,#211e3b)!important}
.aeotee-security-compact-hero .signature-hub-status strong{font-size:16px!important}
.aeotee-security-compact-hero .signature-hub-status p{
 font-size:11px!important;line-height:1.5!important;margin:6px 0 0!important}
.app.premium-ready .aeotee-security-tile{
 box-sizing:border-box;width:100%;display:flex;align-items:center;
 gap:13px;padding:15px 13px;min-height:82px;border-radius:20px;
 background:linear-gradient(135deg,#282342,#201d37);
 border:1px solid #d5bfff2c;color:#f9f5ff;text-align:left;
 font:inherit;cursor:pointer;
 box-shadow:inset 0 1px 0 #ffffff0d;
 transition:transform .18s ease,border-color .18s ease,background .18s ease}
.app.premium-ready .aeotee-security-vault-entry{
 border-color:#ccb3ff71;background:linear-gradient(125deg,#35264c,#31223f)!important}
.app.premium-ready .aeotee-security-tile:hover,
.app.premium-ready .aeotee-security-tile:focus-visible{
 border-color:#c5adfa;background:linear-gradient(135deg,#342a50,#26223e);
 outline:2px solid transparent;transform:translateY(-1px)}
.aeotee-security-tile-symbol{width:48px;height:48px;flex:0 0 48px;
 border-radius:16px;display:grid;place-items:center;font-size:22px;
 background:linear-gradient(130deg,#cbb3ff,#ffd0e4);
 color:#322345;box-shadow:0 8px 20px #ba97eb23}
.aeotee-security-device-entry .aeotee-security-tile-symbol{
 background:linear-gradient(130deg,#bbd6ff,#baf3e0)}
.aeotee-security-tile-copy{display:grid;flex:1;gap:5px;min-width:0}
.aeotee-security-tile-copy strong{font-size:14px;font-weight:760;color:#fff9ff}
.aeotee-security-tile-copy small{font-size:11px;color:#cfc6e0;line-height:1.6;
 opacity:1!important}
.aeotee-security-tile-arrow{font-size:19px;color:#d5c0f5}
.aeotee-security-advanced{margin-top:5px;border:1px solid #dcc5ff24;
 border-radius:15px;background:#ffffff06;overflow:hidden}
.aeotee-security-advanced summary{cursor:pointer;padding:14px;
 display:flex;align-items:center;gap:7px;list-style:none;
 color:#dfd5f0;font-size:12px;font-weight:650}
.aeotee-security-advanced summary::-webkit-details-marker{display:none}
.aeotee-security-advanced summary span{margin-left:auto}
.aeotee-security-advanced[open] summary span{transform:rotate(180deg)}
.aeotee-security-advanced p{font-size:11px;line-height:1.6;
 color:#bdb3d2;margin:0;padding:0 14px 11px}
.aeotee-security-advanced button{display:flex;justify-content:space-between;
 align-items:center;margin:0 13px 13px;width:calc(100% - 26px);
 border:1px solid #c7afff4c;background:#c7afff12;color:#f4edff;
 border-radius:11px;min-height:42px;padding:10px 13px;cursor:pointer}
.aeotee-security-footer{margin:6px 9px 0;text-align:center;
 color:#aea1c7;font-size:10px;line-height:1.6}
@media(max-width:480px){
 .app.premium-ready .signature-hub-scroll.aeotee-security-clean{padding:12px!important}
 .app.premium-ready .aeotee-security-tile{min-height:77px;padding:12px}
 .aeotee-security-tile-symbol{flex-basis:43px;width:43px;height:43px}
}
@media(prefers-reduced-motion:reduce){.app.premium-ready .aeotee-security-tile{transition:none}}

/* Consistent security icons and legible device management across sizes.
   Pure presentation: authorization and recovery flows remain unchanged. */
.aeotee-security-tile-symbol svg{
 display:block;width:24px;height:24px;fill:none;stroke:currentColor;
 stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
 flex:none;pointer-events:none;
}
.aeotee-garden-device-text strong{
 white-space:normal;overflow:visible;text-overflow:clip;
 overflow-wrap:anywhere;line-height:1.35;
}
.aeotee-garden-device-text :is(span,small){overflow-wrap:anywhere}
.aeotee-garden-row-actions{flex-wrap:wrap;justify-content:flex-end;min-width:0}
.aeotee-garden-row-actions button,
.aeotee-garden-inline button,
.aeotee-garden-refresh{min-height:44px;min-width:44px}
@media(max-width:440px){
 .aeotee-garden-row-actions{justify-content:flex-start;grid-column:2;gap:8px}
 .aeotee-garden-row-actions button{flex:0 1 auto}
}
@media(max-width:760px){
 .aeotee-phantom-layer,.aeotee-garden-overlay{
   overflow-y:auto;overscroll-behavior:contain;
   padding-top:max(12px,env(safe-area-inset-top));
   padding-bottom:max(12px,env(safe-area-inset-bottom));
 }
 /* iOS Safari otherwise zooms the viewport when the Vault field focuses. */
 .aeotee-phantom-form input,.aeotee-garden-inline input{font-size:16px!important}
}

/* Light-theme Security Center: follow the app's design tokens instead of
   leaving two dark cards inside a light panel. Vault authentication is unchanged. */
html[data-theme="light"] .app.premium-ready .aeotee-security-compact-hero{
 background:linear-gradient(130deg,var(--ui-panel),var(--ui-raised))!important;
 border-color:var(--ui-line);color:var(--ui-text);
}
html[data-theme="light"] .app.premium-ready .aeotee-security-tile,
html[data-theme="light"] .app.premium-ready .aeotee-security-device-entry{
 background:linear-gradient(130deg,var(--ui-panel),var(--ui-raised))!important;
 border-color:var(--ui-line);color:var(--ui-text);
}
html[data-theme="light"] .app.premium-ready .aeotee-security-vault-entry{
 background:linear-gradient(125deg,#ece7f8,#faf6fa)!important;
 border-color:#c3b3df;
}
html[data-theme="light"] .app.premium-ready .aeotee-security-tile:is(:hover,:focus-visible){
 background:var(--ui-hover)!important;border-color:var(--ui-accent);
}
html[data-theme="light"] .aeotee-security-tile-copy strong{color:var(--ui-text)}
html[data-theme="light"] .aeotee-security-tile-copy small,
html[data-theme="light"] .aeotee-security-footer,
html[data-theme="light"] .aeotee-security-section-label,
html[data-theme="light"] .aeotee-security-advanced p{color:var(--ui-muted)}
html[data-theme="light"] .aeotee-security-tile-arrow{color:var(--ui-accent)}
html[data-theme="light"] .aeotee-security-advanced{
 background:var(--ui-panel);border-color:var(--ui-line);
}
html[data-theme="light"] .aeotee-security-advanced summary{
 color:var(--ui-text);
}
html[data-theme="light"] .aeotee-security-advanced button{
 background:var(--ui-raised);border-color:var(--ui-line);color:var(--ui-text);
}

/* Safe three-state auth boot. Password UI waits for INITIAL_SESSION; neither
   pending bootstrap nor signed proof failure exposes authenticated chat data. */
html[data-aeotee-session-auth="pending"] #loginBox.auth-shell{display:none!important}
html[data-aeotee-session-auth="pending"] #aeoteeVaultGuard{display:flex!important}
html[data-aeotee-session-auth="pending"] body > :not(#loginBox):not(#aeoteeVaultGuard):not(.aeotee-phantom-layer):not(script){visibility:hidden!important;pointer-events:none!important}
#aeoteeVaultGuard[data-phase="checking"] .aeotee-phantom-actions{display:none!important}
#aeoteeVaultGuard[data-phase="blocked"] .aeotee-phantom-actions{display:flex}
