@import url('/assets/mac/typography555.css');
html.mac139-pending body{visibility:hidden}.mac139 [hidden]{display:none!important}.mac139>header,.mac139>.preview,.mac139 main>nav,.mac139 #loginPanel,.mac139 #dashboard>.nav,.mac139 #loginScreen,.mac139 .operators100-back{display:none!important}
#mac139-shell{position:sticky;top:0;background:#060b13;z-index:20;width:100%;color:#f8fafc;font-family:var(--eagle-font)}#mac139-shell *{box-sizing:border-box}.mac139-band{text-align:center;font-size:var(--eagle-size-10,10px);letter-spacing:1px;padding:7px;background:#111b31;color:#94a3b8}.mac139-head{display:flex;align-items:center;gap:18px;padding:12px max(24px,4vw);background:#0d1527;border-bottom:1px solid #1e293b;min-height:102px}.mac139-logo img{display:block;width:108px;height:72px;object-fit:contain}.mac139-divider{height:45px;width:1px;background:linear-gradient(transparent,#334155,transparent)}.mac139-title{display:flex;flex-direction:column;gap:6px}.mac139-title strong{font-size:23px}.mac139-title span{font-size:var(--eagle-size-12,12px);color:#94a3b8}#mac139-clock{margin-left:auto;font-size:16px;white-space:nowrap;color:#bdcadd}.mac139-person{display:flex;flex-direction:column;gap:4px;font-size:var(--eagle-size-13,13px)}.mac139-person small{font-size:var(--eagle-size-11,11px);color:#94a3b8}#mac139-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#0a4da2;color:white;font-weight:600}#mac139-logout{padding:9px 12px;background:transparent;color:#f87171;border:1px solid #ef444466;border-radius:8px;cursor:pointer}.mac139-sub [aria-current=page]{background:linear-gradient(135deg,#0a4da2,#073875);color:white;border-color:#2664ab}.mac139-sub{display:flex;gap:8px;width:92%;margin:16px auto}.mac139-sub a{color:#bdcadd;padding:10px 18px;text-decoration:none;border-radius:8px;border:1px solid #29394f}.mac139-legacy{padding:0!important;display:block!important}.mac139-legacy #dashboard{margin:24px auto;max-width:1600px;width:92%}.mac139-legacy .operators100-root{margin:28px auto;width:92%;max-width:1450px}.mac139-legacy .operators100-root header{position:static;background:none;box-shadow:none}.mac139-error{padding:40px;color:#f8fafc;background:#0d1527}.mac139-error a{color:#93c5fd}.mac139 .home-link,.mac139 .home-btn{display:none!important}

/* Isolate the shared header from legacy global button/width rules. */
.mac139 .home-btn-global,.mac139>.lang-switcher-global{display:none!important}#mac139-shell button{width:auto;margin:0;font-family:inherit;line-height:1.3}#mac139-logout{flex:0 0 auto;font-size:var(--eagle-size-13,13px);font-weight:600;min-height:38px}.mac139-logo{flex:0 0 115px}.mac139-title{flex:0 1 auto;min-width:160px}.mac139-person{flex:0 1 auto;max-width:200px;min-width:80px}#mac139-avatar{flex:0 0 40px}.mac139-head>.mac139-divider{flex:0 0 1px}.mac139-language{width:65px!important;flex:0 0 65px;font-size:var(--eagle-size-11,11px);padding:8px!important;background:#111b31;color:#cbd5e1;border:1px solid #29394f;border-radius:8px}


/* Header140: same 90px desktop height and emblem proportions as node brand128. */
#mac139-shell .mac139-head{height:90px;min-height:90px;padding:12px max(24px,calc((100vw - 1360px)/2));gap:18px;background:#0c1724}
#mac139-shell .mac139-logo{display:flex;align-items:center;gap:12px;flex:0 0 auto;color:#e8effb;text-decoration:none}
#mac139-shell .mac139-title{min-width:0;flex:1;gap:0}
#mac139-shell .mac139-title strong{font-size:18px;font-weight:600;letter-spacing:1px;line-height:1.25}
#mac139-shell .mac139-title span{font-size:var(--eagle-size-13,13px);color:#9bb8da;letter-spacing:.3px;line-height:1.35;margin-top:5px}
#mac139-shell .mac139-divider{height:44px;background:linear-gradient(transparent,#59718d,transparent)}
#mac139-shell #mac139-clock{margin-left:auto;font-size:16px;font-weight:600;flex:0 0 10ch;min-height:3em;font-variant-numeric:tabular-nums}
#mac139-shell .mac139-person{min-width:0;max-width:180px;flex:0 0 160px;width:160px;min-height:36px;gap:3px}
#mac139-shell .mac139-person strong{font-size:var(--eagle-size-13,13px);color:#b8c7da;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#mac139-shell .mac139-person small{font-size:var(--eagle-size-11,11px);color:#95aac1}
#mac139-shell .mac140-account{position:relative;flex:0 0 42px;margin:0;padding:0;border:0}
#mac139-shell #mac139-avatar{width:42px;height:42px;flex:0 0 42px;padding:0;overflow:hidden;display:grid;place-items:center;list-style:none;border-radius:50%;background:#173b45;color:#8de1ce;font-size:17px;font-weight:600;cursor:pointer;border:1px solid #34485f}
#mac139-avatar::-webkit-details-marker{display:none}
#mac139-shell .mac140-account-menu{position:absolute;top:50px;right:0;min-width:150px;padding:10px;display:flex;gap:8px;flex-direction:column;background:#101e30;border:1px solid #34485f;border-radius:12px;box-shadow:0 12px 30px #0007;z-index:30}
#mac139-shell .mac140-account:not([open]) .mac140-account-menu{display:none}
#mac139-shell .mac139-language{flex:none;width:100%!important}
@media(min-width:761px) and (max-width:1100px){#mac139-shell .mac139-head{height:auto;min-height:90px;flex-wrap:wrap;gap:10px 16px}#mac139-shell .mac139-title{flex-basis:calc(100% - 250px)}#mac139-shell .mac139-head>.mac139-divider:nth-of-type(2){display:none}}

/* Legacy overflow:hidden must not create a scrolling ancestor for the header. */
html:has(body.mac139),body.mac139{overflow-x:clip!important}
/* Profile141: compact clock, explicit logout and account editor. */
#mac139-shell #mac139-clock{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:var(--eagle-size-14,14px);line-height:1.25}
#mac139-shell #mac141-time{font-size:var(--eagle-size-13,13px);font-weight:500;color:#95aac1}
#mac139-shell #mac139-logout{padding:9px 13px;flex:0 0 auto}
#mac139-shell #mac139-avatar{padding:0;flex:0 0 42px;overflow:hidden}
#mac139-shell #mac139-avatar img{width:100%;height:100%;object-fit:cover}
#mac139-shell .mac139-language{width:55px!important;flex:0 0 55px}
.mac139 .mac141-dialog *{box-sizing:border-box}
.mac139 .mac141-top{display:flex;align-items:center;justify-content:space-between;gap:20px}
.mac139 .mac141-dialog #p141-close{width:40px;height:40px;padding:0;font-size:25px;flex:0 0 40px}
.mac139 .mac141-dialog #p141-user{font-size:var(--eagle-size-15,15px);color:#95aac1;margin:10px 0 16px;overflow-wrap:anywhere}
.mac139 .mac141-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px}
.mac139 .mac141-columns form{display:flex;flex-direction:column;margin:0;min-width:0;gap:12px}
.mac139 #p141-password{border-left:1px solid #34485f;padding-left:30px}
.mac139 .mac141-dialog label{display:flex;flex-direction:column;gap:8px;color:#b7c6da;font-size:var(--eagle-size-14,14px);margin:0;text-align:left}
.mac139 .mac141-dialog small{font-size:var(--eagle-size-12,12px);line-height:1.4;color:#95aac1}
.mac139 .mac141-dialog .mac141-primary{background:#216aa8;border-color:#3789c8;font-weight:600}
.mac139 #p141-message{font-size:var(--eagle-size-14,14px);color:#b9d8ec;margin:18px 0 0;min-height:20px}
.mac139 #p141-draft{width:64px;height:64px;border-radius:50%}
.mac139 #crop141{width:min(400px,calc(100vw - 32px))}
.mac139 #crop141 p{font-size:var(--eagle-size-14,14px);color:#95aac1}
.mac139 #p141-canvas{display:block;width:100%;aspect-ratio:1;border-radius:50%;touch-action:none;background:#172b40;margin:15px 0}
.mac139 #p141-zoom{padding:0}
.mac139 #p141-message:empty{display:none}
.mac139 .mac141-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}

/* Navigation142: keep the shared header visible while fresh authorization is pending. */
html.mac139-pending body{visibility:visible}
html.mac139-pending body>*:not(#mac139-shell){visibility:hidden!important}
html.mac139-pending #mac139-shell{visibility:visible}
#mac142-loading{margin:0;padding:18px 4%;color:#94a3b8;font-size:var(--eagle-size-13,13px);background:#060b13}



html.mac142-denied body>*:not(.mac139-error){display:none!important}

/* Header143: reserve the root scrollbar gutter before any module renders. */
html:has(body.mac139){scrollbar-gutter:stable}

/* Context145: node brand128 navigation, with the authorized number of modules. */
#mac139-shell #mac139-client{min-height:1.35em;overflow-wrap:anywhere}
#mac139-shell #mac139-nav{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(190px,1fr);gap:6px;padding:6px;margin:24px auto 0;width:92%;background:#0c1726;border:1px solid #27384e;border-radius:10px;box-shadow:none;overflow-x:auto}
#mac139-shell #mac139-nav>a,#mac139-shell #mac139-nav>button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;margin:0;border:1px solid transparent;border-radius:8px;background:#141e2b;color:#8a98ac;font-size:var(--eagle-size-12,12px);font-weight:600;letter-spacing:.5px;padding:10px 6px;line-height:1.3;text-align:center;text-decoration:none;box-shadow:none;white-space:nowrap;opacity:1}
#mac139-shell #mac139-nav>[aria-current=page]{background:#173353;color:#dfecff;border-color:#4076af}
#mac139-shell #mac139-nav>button:disabled{color:#687588;cursor:not-allowed;filter:none}
html.mac139-pending #mac139-shell #mac139-nav>button:disabled{cursor:wait}
html.mac139-pending #mac139-shell #mac139-nav>[aria-current=page]{color:#dfecff}
#mac139-shell #mac139-nav>a:hover{border-color:#4076af;color:#dfecff}


/* Embedded module has no competing shell; authorization still gates content. */
html.mac146-embedded.mac139-pending body{visibility:hidden!important}
html.mac146-embedded.mac139-pending body *{visibility:hidden!important}
html.mac146-embedded body{margin-top:0!important}
.mac147-scope-note{font:var(--eagle-size-12,12px)/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#94a3b8;margin:0 0 16px}

/* Keep internal selectors for module synchronization; expose only the header selector. */
.mac146-embedded label:has(> #client),.mac146-embedded label:has(> #clientFilter60),.mac146-embedded #client,.mac146-embedded #simulate,.mac146-embedded .filters:has(#simulate){display:none!important}
.mac146-embedded .search-controls60{grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto}


/* Layout149: node content width and surfaces shared by every embedded module. */
html.mac146-embedded{color-scheme:dark;background:#090f19!important;overflow-y:scroll;scrollbar-gutter:stable}
html.mac146-embedded body{background:transparent!important;min-height:100vh;font-family:var(--eagle-font);color:#e8effb}
html.mac146-embedded body::before{display:none!important}
html.mac146-embedded body main,html.mac146-embedded .mac139-legacy #dashboard,html.mac146-embedded .mac139-legacy>.operators100-root{box-sizing:border-box;width:calc(100% - 48px);max-width:1360px;margin:0 auto!important;padding:0 0 30px!important}
html.mac146-embedded #dashboard .operators100-root{width:100%;max-width:none;margin:0}
html.mac146-embedded .monitor-card,html.mac146-embedded .package-card,html.mac146-embedded .pickup-card,html.mac146-embedded .metrics article,html.mac146-embedded .table-wrap,html.mac146-embedded .units-layout article{background:linear-gradient(130deg,#152237,#101b2a);border:1px solid #30425c;border-radius:16px;box-shadow:none}
html.mac146-embedded .monitor-head,html.mac146-embedded .package-head{background:#192b42;border-bottom:1px solid #2b3d54}
html.mac146-embedded .health{background:#101a28;border:1px solid #26364b;border-radius:9px;margin-top:0;padding:12px 16px;font-size:var(--eagle-size-11,11px)}
html.mac146-embedded .monitor-grid{gap:20px;margin:30px 0}
html.mac146-embedded .monitor-grid>section>h2,html.mac146-embedded .monitor-grid>aside>h2{font-size:19px;margin:0 0 14px;line-height:25px}
html.mac146-embedded .monitor-head{padding:12px 22px}
html.mac146-embedded .monitor-body{padding:20px;gap:24px}
html.mac146-embedded .monitor-body h2{font-size:30px;line-height:1.2}
html.mac146-embedded .portrait{width:221px;height:263.5px;flex:0 0 221px;border-radius:12px}
html.mac146-embedded #devices button{border-radius:10px}
html.mac146-embedded .table-wrap th{background:#142033}

html.mac146-embedded .monitor-card .badge{font-size:16px;padding:12px 15px;border-radius:8px;margin:12px 0 20px}
html.mac146-embedded .portrait{background:linear-gradient(145deg,#1c3850,#122537);border-color:#30425c}
html.mac146-embedded .monitor-body p{font-size:var(--eagle-size-14,14px)}

/* Legacy pages use a real image element, not the theme pseudo-element. */
html.mac146-embedded body>.watermark{display:none!important}

/* Height151: compact door rows from doors124, not the generic form buttons. */
html.mac146-embedded #devices{gap:6px}
html.mac146-embedded #devices button{min-height:44px;padding:7px 12px;gap:10px;line-height:1.2}
html.mac146-embedded #devices button small{font-size:var(--eagle-size-10,10px);line-height:1.2;margin-top:3px;font-weight:400}
html.mac146-embedded .door-icon{display:flex;align-items:center;line-height:1}

html.mac146-embedded #devices button{font-size:var(--eagle-size-12,12px)}
html.mac146-embedded #devices .door-icon svg{width:23px;height:23px}
@media(min-width:851px){html.mac146-embedded .monitor-grid>aside{display:flex;flex-direction:column}html.mac146-embedded #devices:has(button:nth-child(7)){flex:1;grid-auto-rows:minmax(44px,1fr)}}

#mac139-nav button.tab-new668{border-color:#65bdb2;animation:tabPulse668 2.4s ease-in-out infinite}#mac139-nav [data-tab-count668]{font-size:.85em;color:#8de0cd}@keyframes tabPulse668{0%,100%{box-shadow:inset 0 0 0 1px #65bdb238;background-color:#18333e}50%{box-shadow:inset 0 0 0 1px #8ce1ca88;background-color:#24564f}}@media(prefers-reduced-motion:reduce){#mac139-nav button.tab-new668{animation:none;background-color:#20483f;border-color:#8ce1ca}}
