
/* Reseller form only — preserve original site navigation and all other dialogs. */
#resellerDialog.npxrs-create-dialog[open]{
  position:fixed;inset:0;margin:auto;width:100%;height:100dvh;max-width:none;max-height:none;
  display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0;
  border:0;background:transparent;
}
#resellerDialog.npxrs-create-dialog .npxrs-create-sheet{
  position:relative!important;inset:auto!important;transform:none!important;margin:0!important;
  width:min(720px,calc(100vw - 28px));height:auto;max-height:min(90dvh,880px);
  min-width:0;padding:20px;display:flex;flex-direction:column;
  background:#131313!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  border:1px solid rgba(255, 255, 255, .14)!important;border-radius:26px;
  box-shadow:0 28px 70px rgba(0, 0, 0, .6)!important;
  overflow:hidden;isolation:isolate;
}
/* An ordinary full-screen mobile form has no drag action: avoid a misleading grabber. */
#resellerDialog.npxrs-create-dialog .sheet-handle{display:none!important}
#resellerDialog .npxrs-modal-header{margin:0 0 18px;align-items:center}
#resellerDialog .npxrs-modal-header h3{text-transform:none;font-size:29px}
#resellerDialog .npxrs-modal-header .sheet-subtitle{font-size:13px}
#resellerDialog .npxrs-form-scroll{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#4f4f4f transparent}
#resellerDialog .npxrs-form-grid{gap:16px}
#resellerDialog .npxrs-form-grid .field{display:flex;flex-direction:column;gap:8px;min-width:0}
#resellerDialog .npxrs-form-grid .field>span:first-child{font-size:13px;font-weight:750}
#resellerDialog .npxrs-input{height:56px;padding:0 15px;gap:12px;background:#262626;border-radius:15px;min-width:0}
#resellerDialog .npxrs-input input,
#resellerDialog .npxrs-input select{
  flex:1 1 auto;min-width:0;width:100%;height:100%;min-height:0!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;background-image:none!important;box-shadow:none!important;
  outline:none!important;font:700 15px/1.3 Anuphan,system-ui,sans-serif!important;
  letter-spacing:0!important;color:#f6f6f6!important;
}
#resellerDialog .npxrs-input input:hover,
#resellerDialog .npxrs-input select:hover,
#resellerDialog .npxrs-input input:focus,
#resellerDialog .npxrs-input select:focus{
  background:transparent!important;border:0!important;box-shadow:none!important;
}
#resellerDialog .npxrs-input:focus-within{border-color:#afafaf;box-shadow:0 0 0 2px rgba(215, 215, 215, .10)}
#resellerDialog .npxrs-input input::placeholder{color:#838383;opacity:1;font-weight:600}
#resellerDialog .npxrs-profile{grid-column:1/-1}
#resellerDialog .npxrs-create-footer{
  flex:0 0 auto;padding:14px 0 0;margin:0;
  background:#131313;border-top:1px solid rgba(255, 255, 255, .08);
}
#resellerDialog .npxrs-slide{width:100%;height:62px;min-width:0;margin:0;background:#262626}
#resellerDialog .npxrs-slide-label{padding:0 14px 0 62px;font-size:15px;white-space:nowrap}
#resellerDialog .npxrs-slide-handle{top:5px;left:5px;width:50px;height:50px}
@media(max-width:600px){
 #resellerDialog.npxrs-create-dialog[open]{align-items:stretch;justify-content:stretch}
 #resellerDialog.npxrs-create-dialog .npxrs-create-sheet{
   width:100%;height:100dvh;max-height:none;max-width:none;
   border:0!important;border-radius:0!important;
   padding:calc(18px + env(safe-area-inset-top,0px)) 16px max(18px,env(safe-area-inset-bottom,0px));
 }
 #resellerDialog .npxrs-form-grid{grid-template-columns:1fr;gap:15px}
 #resellerDialog .npxrs-form-scroll{padding:0 0 12px}
 #resellerDialog .npxrs-create-footer{padding:12px 0 0}
 #resellerDialog .npxrs-slide-label{font-size:14px}
}
@media(prefers-reduced-motion:reduce){#resellerDialog .npxrs-form-icon svg,#resellerDialog .npxrs-slide-handle svg{animation:none!important}}


/* NPXSHOP SCRIPTX — Fastwork-inspired editorial workspace · V28
 * Scoped to authenticated application only. Login V16 stays byte-for-byte intact.
 * Visual-only CSS layer: no route, reseller, account or service logic changes.
 * Cards use solid translucent paint instead of repeated backdrop-filter (mobile GPU).
 */
#appView {
  color-scheme: light;
  --bg-0:#f7f7f7;--bg-1:#f9f9f9;
  --panel:rgba(255, 255, 255, .88);--panel-strong:rgba(255, 255, 255, .94);
  --panel-hover:#f6f6f6;
  --line:#e3e3e3;--line-soft:#ececec;
  --text:#181818;--text-soft:#616161;--muted:#7f7f7f;
  --blue:#6f6f6f;--blue-soft:#666666;--green:#808080;
  --orange:#7e7e7e;--red:#787878;--purple:#6d6d6d;
  --shadow:0 14px 38px rgba(70, 70, 70, .09);
  --inner:inset 0 1px 0 rgba(255, 255, 255, .88);
  --r-sm:14px;--r-md:20px;--r-lg:24px;--r-xl:30px;
  --sidebar:258px;--topbar:98px;
  background:radial-gradient(ellipse 900px 520px at 80% -160px,rgba(192, 192, 192, .24),transparent 72%),linear-gradient(180deg,#fbfbfb,#f5f5f5 72%,#f8f8f8);
  min-height:100dvh;
  color:var(--text);
  font-family:var(--font-thai-ui);
  -webkit-font-smoothing:antialiased;
}
html:has(#appView:not([hidden])),body:has(#appView:not([hidden])){
  background-color:#f8f8f8 !important;
}
body:has(#appView:not([hidden])){background:#f8f8f8 !important;}
#appView *,#appView *::before,#appView *::after{scroll-margin-top:100px}
#appView button,#appView input,#appView select,#appView textarea{font-family:inherit}
#appView .page-root{position:relative;padding-top:20px;padding-bottom:64px;padding-left:calc(var(--sidebar) + 42px);padding-right:24px;min-width:0;}
#appView .page{max-width:1460px;min-width:0;animation:npxfw-page-in .36s cubic-bezier(.2,.7,.25,1) both;}
#appView .page-section+.page-section{margin-top:26px}
#appView .glass-panel{background:rgba(255, 255, 255, .85);border:1px solid #e7e7e7;box-shadow:0 20px 55px rgba(75, 75, 75, .09),inset 0 1px 0 white;backdrop-filter:blur(14px) saturate(120%);-webkit-backdrop-filter:blur(14px) saturate(120%)}
#appView .sidebar{
  inset:14px auto 14px 14px;width:var(--sidebar);padding:16px;border-radius:27px;
  box-shadow:0 22px 60px rgba(51, 51, 51, .1),inset 0 1px 0 white;
}
#appView .sidebar-brand{padding:7px 8px 23px;margin-bottom:8px;gap:12px;border-bottom:1px solid #f1f1f1}
#appView .sidebar-brand .brand-mark{background:#6f6f6f;color:white;border:1px solid #888888;box-shadow:0 8px 22px rgba(102, 102, 102, .2);border-radius:14px;font-size:18px;font-weight:800;transform:rotate(-7deg)}
#appView .sidebar-brand strong{font-size:15px;color:#1e1e1e;letter-spacing:-.035em;font-weight:800}
#appView .sidebar-brand span{font-size:10px;color:#6a6a6a;letter-spacing:.11em;font-weight:800}
#appView .nav-list{gap:6px}
#appView .nav-item{position:relative;min-height:47px;padding:0 12px;gap:12px;border-radius:15px;color:#656565;font-size:12px;font-weight:700;transition:background-color .16s ease,color .16s ease,transform .16s ease}
#appView .nav-item:hover{color:#636363;background:#f5f5f5;transform:translateX(2px)}
#appView .nav-item.active{color:#525252;border-color:#e5e5e5;background:linear-gradient(100deg,#efefef,#f7f7f7);box-shadow:inset 3px 0 0 #6f6f6f,inset 0 1px 0 white}
#appView .nav-item svg{color:inherit}
#appView .nav-glyph,#appView .nav-glyph-premium{background:transparent!important;box-shadow:none!important;border-color:transparent!important;color:inherit!important}
#appView .sidebar-bottom{gap:10px;padding-top:16px;border-top:1px solid #ececec}
#appView .admin-card{background:#f7f7f7;border:1px solid #ebebeb;padding:11px;border-radius:17px}
#appView .admin-copy strong{color:#262626;font-size:12px}
#appView .admin-copy span{color:#797979;font-size:10px}
#appView .avatar{background:linear-gradient(135deg,#717171,#525252);color:#ffffff;border-radius:13px}
#appView #desktopLogout{min-height:40px;border-radius:13px;color:#656565;border-color:#e7e7e7;background:#f4f4f4}
#appView #desktopLogout:hover{background:#ececec}

/* Editorial header: deliberate hierarchy, dark ink, open whitespace */
#appView .topbar.topbar-premium-header{
  background:linear-gradient(118deg,rgba(255, 255, 255, .95),rgba(249, 249, 249, .91))!important;
  border:1px solid #e7e7e7!important;border-radius:25px!important;
  box-shadow:inset 0 1px 0 white,0 13px 28px rgba(61, 61, 61, .065)!important;
  padding:18px 23px!important;
  top:8px!important;
  margin:8px 24px 14px calc(var(--sidebar) + 42px)!important;
  min-height:102px;
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
#appView .topbar.topbar-premium-header::before{background:linear-gradient(120deg,rgba(109, 109, 109, .042),transparent 48%,rgba(162, 162, 162, .03));}
#appView .topbar.topbar-premium-header::after{background:#eeeeee;left:23px;right:23px}
#appView .topbar h2{color:#1e1e1e;font-size:clamp(22px,2vw,31px);letter-spacing:-.045em;line-height:1.12;font-weight:800}
#appView .topbar-subtitle{font-size:12px;line-height:1.5;color:#7f7f7f}
#appView .topbar .eyebrow,#appView .eyebrow{color:#696969;font-size:10px;letter-spacing:.13em}
#appView .topbar-live-chip{border-color:#e7e7e7!important;background:#f4f4f4!important;color:#656565!important}
#appView .topbar-live-chip i{background:#7c7c7c}
#appView .topbar #apiStatus{color:#6d6d6d!important;background:#f5f5f5!important;border-color:#e8e8e8!important;box-shadow:none!important;font-size:10px}
#appView .topbar #apiStatus span{background:#9f9f9f;box-shadow:0 0 0 3px #e8e8e8;animation:none!important}
#appView .topbar-logout{color:#626262!important;background:white!important;border:1px solid #e7e7e7!important;box-shadow:none!important;font-size:11px!important;border-radius:13px!important}
#appView .topbar-logout:hover{background:#f3f3f3!important;color:#5a5a5a!important}

/* Fastwork-like large editorial overview, not a generic dark status console */
#appView .oc-overview{
  border:1px solid #e4e4e4!important;border-radius:30px!important;
  background:radial-gradient(ellipse 45% 125% at 105% 0%,rgba(155, 155, 155, .14),transparent 80%),linear-gradient(133deg,#ffffff,#f8f8f8 65%,#f2f2f2)!important;
  box-shadow:0 24px 50px rgba(73, 73, 73, .085),inset 0 1px 0 #ffffff!important;
  padding:clamp(22px,3.2vw,37px)!important;overflow:hidden;
}
#appView .oc-overview::before{background:radial-gradient(circle at 88% 0%,rgba(132, 132, 132, .08),transparent 44%)!important}
#appView .oc-brand{color:#636363!important;font-size:11px;font-weight:800;letter-spacing:.09em}
#appView .oc-brand-led{background:#727272!important;box-shadow:0 0 0 5px rgba(114, 114, 114, .09)!important;animation:none!important}
#appView .oc-theme-label{background:#f4f4f4!important;color:#676767!important;border:1px solid #e7e7e7!important;letter-spacing:.07em;font-size:9px}
#appView .oc-kicker{font-size:12px!important;color:#747474!important;letter-spacing:.02em!important}
#appView .oc-overview-heading h3{font-size:clamp(32px,4.3vw,57px)!important;color:#1c1c1c!important;letter-spacing:-.065em!important;line-height:1.15!important;font-weight:800}
#appView .oc-heading-copy>p:last-child{font-size:13px!important;color:#787878!important;line-height:1.65}
#appView .oc-overview-heading{margin-block:26px 29px;align-items:center}
#appView .oc-create{border-radius:15px!important;min-height:48px!important;padding:0 20px!important;background:linear-gradient(120deg,#777777,#565656)!important;color:#ffffff!important;box-shadow:0 14px 24px rgba(111, 111, 111, .22)!important;font-size:12px!important}
#appView .oc-stats{gap:12px!important}
#appView .oc-stat{
  padding:20px!important;min-height:140px!important;border:1px solid #e8e8e8!important;border-radius:21px!important;
  background:rgba(255, 255, 255, .82)!important;box-shadow:inset 0 1px 0 white,0 7px 20px rgba(70, 70, 70, .035)!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
#appView .oc-stat:hover{transform:translateY(-3px);box-shadow:0 15px 26px rgba(70, 70, 70, .07)!important;border-color:#d9d9d9!important}
#appView .oc-stat-top span:first-child{font-size:12px!important;color:#6f6f6f!important;font-weight:700}
#appView .oc-stat strong{color:#1b1b1b!important;font-size:clamp(29px,3vw,39px)!important;line-height:1.16;font-weight:800}
#appView .oc-stat small{color:#868686!important;font-size:11px!important}
#appView .oc-stat-icon{border-color:#ececec!important;background:#f4f4f4!important;color:#6a6a6a!important}
#appView .oc-stat-active .oc-stat-icon{background:#f4f4f4!important;color:#848484!important}
#appView .oc-stat-expiring .oc-stat-icon{background:#f6f6f6!important;color:#8c8c8c!important}

/* Materials: translucent paint on content cards; real blur only persistent chrome */
#appView .card,#appView .up-mobile-card,#appView .up-reference-shell,#appView .up-overview,
#appView .up-table-shell,#appView .npxrs-header-card,#appView .npxrs-card,#appView .npxrs-metric,
#appView .service-pro-shell,#appView .service-pro-card {
  border:1px solid #e6e6e6!important;
  background:linear-gradient(155deg,rgba(255, 255, 255, .97),rgba(253, 253, 253, .89))!important;
  box-shadow:inset 0 1px 0 #ffffff,0 12px 32px rgba(69, 69, 69, .045)!important;
  color:#232323;
}
#appView .card::before{background:radial-gradient(420px 150px at 30% -10%,rgba(129, 129, 129, .07),transparent 72%)}
#appView .page .card{border-radius:23px}
#appView .section-head{margin-bottom:16px}
#appView .section-head h3{font-size:18px!important;font-weight:800;letter-spacing:-.035em;color:#262626}
#appView .section-head p{font-size:12px!important;color:#808080;line-height:1.55}
#appView .quick-grid-premium{gap:13px!important}
#appView .quick-card{min-height:146px!important;padding:21px!important;border-radius:22px!important;}
#appView .quick-card:hover{border-color:#d8d8d8!important;transform:translateY(-4px)!important;box-shadow:0 20px 36px rgba(70, 70, 70, .095)!important}
#appView .quick-card .quick-icon{width:47px;height:47px;border-radius:16px;background:#f2f2f2!important;border-color:#e7e7e7!important;color:#636363!important}
#appView .quick-card strong{color:#292929;font-size:14px!important;margin-top:19px}
#appView .quick-card span{font-size:11px!important;color:#838383;line-height:1.5}
#appView #hostCard{padding:23px!important}
#appView .user-title strong,#appView .profile-title strong{color:#262626;font-size:14px!important}
#appView .user-title span,#appView .profile-title span{color:#7a7a7a;font-size:11px!important}
#appView .runtime-grid{gap:12px}
#appView .runtime-grid>*{border-color:#e9e9e9!important;background:#fafafa!important;color:#292929}
#appView .runtime-grid strong,#appView .runtime-grid b{color:#262626}

/* Every-day controls: touch, contrast and feedback */
#appView .button{font-size:12px!important;font-weight:800;min-height:42px;border-radius:13px;letter-spacing:0;transition:transform .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
#appView .button:hover:not(:disabled){transform:translateY(-2px)}
#appView .button:active:not(:disabled){transform:scale(.975)}
#appView .button.primary{color:white!important;background:linear-gradient(125deg,#797979,#565656)!important;border-color:#646464!important;box-shadow:inset 0 1px 0 rgba(255, 255, 255, .2),0 9px 20px rgba(102, 102, 102, .15)!important}
#appView .button.secondary,#appView .mini-button{color:#4f4f4f!important;background:#f8f8f8!important;border:1px solid #e7e7e7!important;box-shadow:none}
#appView .mini-button{font-size:11px!important;min-height:35px;border-radius:10px;font-weight:700}
#appView .mini-button:hover{background:#f1f1f1!important;color:#606060!important}
#appView .mini-button.blue{background:#f1f1f1!important;color:#626262!important;border-color:#e4e4e4!important}
#appView .button.danger,#appView .mini-button.red{background:#f3f3f3!important;color:#696969!important;border-color:#e7e7e7!important}
#appView .field>span,#appView .field small{font-size:11px!important;color:#717171!important}
#appView .field input,#appView .field select,#appView .search-input,#appView input[type="search"]{
  border-color:#e4e4e4!important;background:#ffffff!important;color:#242424!important;font-size:13px!important;
  box-shadow:0 1px 2px rgba(67, 67, 67, .02)
}
#appView input::placeholder{color:#a8a8a8}
#appView select option{background:white;color:#2d2d2d}
#appView :is(button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid rgba(109, 109, 109, .32);outline-offset:3px}
#appView .badge{font-size:10px!important;color:#727272;background:#f8f8f8;border-color:#e7e7e7}
#appView .badge.green{background:#f5f5f5;color:#737373;border-color:#e7e7e7}
#appView .badge.red{background:#f3f3f3;color:#686868;border-color:#e5e5e5}
#appView .badge.blue{background:#f1f1f1;color:#636363;border-color:#e3e3e3}
#appView .badge.orange{background:#f6f6f6;color:#787878;border-color:#e2e2e2}
#appView .status-pill{font-size:10px}
#appView .demo-card-sub,#appView .service-meta,#appView .audit-copy span{font-size:11px!important;color:#7b7b7b!important}
#appView .audit-copy strong,#appView .service-card strong,#appView .backup-card strong{font-size:13px!important;color:#292929}
#appView .stat-box,#appView .service-overview-stat,#appView .service-setting-row,
#appView .user-card .ip-note-item,#appView .profile-preview{
  background:#f9f9f9!important;border:1px solid #ebebeb!important;
}
#appView .stat-box span,#appView .service-overview-stat span,#appView .service-setting-row span{font-size:11px!important;color:#7a7a7a!important}
#appView .stat-box strong,#appView .service-overview-stat strong,#appView .service-setting-row strong{font-size:13px!important;color:#262626!important}
#appView .service-pro-headline strong{color:#272727;font-size:15px!important}
#appView .service-pro-headline span,#appView .service-row-value{color:#7a7a7a!important;font-size:11px!important}
#appView .service-pro-icon{background:#f3f3f3!important;border-color:#e7e7e7!important;color:#5f5f5f!important;box-shadow:none!important}
#appView .service-version-chip,#appView .service-unit-chip{color:#636363!important;background:#f7f7f7!important;border-color:#e9e9e9!important;font-size:10px!important}
#appView .up-users-page,#appView .npxrs-page{color:#2a2a2a}
#appView .up-users-heading h3,#appView .npxrs-heading h3{color:#212121!important;letter-spacing:-.04em}
#appView .up-users-heading p,#appView .npxrs-heading p{color:#7c7c7c!important}
#appView .up-table-shell th,#appView .up-table-shell td{border-color:#ececec!important;color:#2a2a2a}
#appView .up-data-row:hover{background:#f8f8f8!important}
#appView .up-mobile-card{border-radius:20px!important}
#appView .up-identity strong,#appView .up-mc-account strong{color:#272727}
#appView .up-identity small,#appView .up-mc-account span{color:#7f7f7f}
#appView .up-users-page .up-overview *,#appView .npxrs-page .npxrs-metrics *{box-shadow:none}
#appView .npxrs-page .npxrs-card{border-radius:23px!important}
#appView .npxrs-page .npxrs-kicker{color:#696969}
#appView .npxrs-page .npxrs-search-bar input{background:white!important;color:#272727!important;border-color:#e5e5e5!important}
#appView .npxrs-page :is(.npxrs-data,.npxrs-capacity,.npxrs-search,.npxrs-filter,.npxrs-filters){background:#fafafa!important;border-color:#e9e9e9!important;color:#444444}
#appView .npxrs-page .npxrs-filter.is-active,#appView .npxrs-page .npxrs-filters .is-active{background:#efefef!important;color:#5e5e5e!important}

/* Lightweight route entrance, hover polish, no scroll hijack */
#appView .page :is(.card,.up-mobile-card,.npxrs-card,.oc-stat){transition:transform .2s cubic-bezier(.2,.75,.25,1),border-color .2s ease,box-shadow .2s ease}
#appView .page .card:hover{transform:translateY(-2px);border-color:#d9d9d9!important}
#appView .page :is(.oc-overview,.up-reference-shell,.npxrs-page) {overflow:visible}
#appView .page .card::before{transition:opacity .18s ease}
@keyframes npxfw-page-in{from{opacity:.78;transform:translateY(11px)}to{opacity:1;transform:translateY(0)}}

/* Mobile: keep navigation on screen without expensive scrolling blur */
@media(max-width:760px){
  #appView{--sidebar:0px;--topbar:72px}
  #appView .page-root{padding:5px 14px calc(var(--mobile-nav) + 40px);}
  #appView .topbar.topbar-premium-header{margin:10px 13px 12px!important;min-height:84px;padding:15px 16px!important;border-radius:20px!important;top:8px!important}
  #appView .topbar h2{font-size:23px!important}
  #appView .topbar-subtitle{font-size:11px!important}
  #appView .oc-overview{padding:21px!important;border-radius:24px!important}
  #appView .oc-overview-heading{margin:22px 0 22px;gap:16px}
  #appView .oc-overview-heading h3{font-size:36px!important}
  #appView .oc-stat{padding:14px!important;min-height:124px!important}
  #appView .oc-stat strong{font-size:30px!important}
  #appView .oc-stat-top span:first-child{font-size:11px!important}
  #appView .oc-create{min-height:44px!important}
  #appView .quick-card{padding:19px!important;min-height:126px!important}
  #appView .mobile-nav{left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));background:rgba(255, 255, 255, .93)!important;border:1px solid #e5e5e5!important;box-shadow:0 12px 40px rgba(62, 62, 62, .16)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:24px}
  #appView .mobile-nav-item{font-size:10px!important;color:#727272!important;border-radius:15px}
  #appView .mobile-nav-item svg{width:19px;height:19px}
  #appView .mobile-nav-item.active{color:#606060!important;background:#f1f1f1!important}
  #appView .mobile-create{background:linear-gradient(140deg,#848484,#616161)!important;color:white;box-shadow:0 8px 20px rgba(105, 105, 105, .25)!important}
  #appView .glass-panel{backdrop-filter:none;-webkit-backdrop-filter:none}
  #appView .page-section+.page-section{margin-top:21px}
}
@media(max-width:440px){
  #appView .oc-overview-heading{align-items:stretch}
  #appView .oc-overview-heading .oc-create{width:auto}
  #appView .oc-stats{gap:9px!important}
  #appView .oc-stat{padding:12px!important;border-radius:16px!important}
  #appView .oc-stat strong{font-size:28px!important}
  #appView .oc-stat small{font-size:10px!important}
  #appView .topbar #apiStatus{min-width:0!important}
}
@media(prefers-reduced-motion:reduce){
  #appView .page{animation:none!important}
  #appView *,#appView *::before,#appView *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
@media(hover:none),(pointer:coarse){
  #appView .page .card:hover,#appView .quick-card:hover,#appView .nav-item:hover,#appView .oc-stat:hover{transform:none!important}
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  #appView .glass-panel,#appView .topbar.topbar-premium-header{background:#ffffff!important}
}
/* R8 legacy Obsidian rules are !important; override only the authenticated app. */
#appView{
  background:radial-gradient(ellipse 880px 490px at 93% -8%,rgba(193, 193, 193, .18),transparent 76%),linear-gradient(180deg,#fafafa,#f5f5f5 78%,#f9f9f9)!important;
  background-color:#f8f8f8!important;
}
#appView .page-root{background:transparent!important;background-image:none!important}
#appView .sidebar.glass-panel{
  background:linear-gradient(155deg,rgba(255, 255, 255, .96),rgba(250, 250, 250, .93))!important;
  border:1px solid #e6e6e6!important;
  box-shadow:inset 0 1px 0 white,0 19px 48px rgba(70, 70, 70, .09)!important;
  backdrop-filter:blur(14px) saturate(120%)!important;
  -webkit-backdrop-filter:blur(14px) saturate(120%)!important;
}
#appView .topbar.topbar-premium-header{
  left:auto!important;right:auto!important;position:sticky!important;
  background:linear-gradient(122deg,rgba(255, 255, 255, .98),rgba(250, 250, 250, .94))!important;
  border:1px solid #e7e7e7!important;
  box-shadow:inset 0 1px 0 white,0 13px 28px rgba(61, 61, 61, .065)!important;
  backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;
}
#appView .mobile-nav.glass-panel{
  background:rgba(255, 255, 255, .96)!important;border:1px solid #e5e5e5!important;
  box-shadow:0 12px 40px rgba(62, 62, 62, .16)!important;
}
#appView .nav-item,#appView .nav-item.active,#appView .nav-item:hover{color:#6c6c6c!important}
#appView .nav-item.active{color:#636363!important;background:linear-gradient(110deg,#eeeeee,#f8f8f8)!important;border:1px solid #e5e5e5!important;box-shadow:inset 3px 0 0 #6d6d6d!important}
#appView .nav-item:hover{color:#575757!important;background:#f4f4f4!important}
#appView .quick-card.quick-card-premium{
  background:linear-gradient(145deg,#ffffff,#fafafa)!important;
  border:1px solid #e6e6e6!important;box-shadow:inset 0 1px 0 white,0 10px 28px rgba(71, 71, 71, .048)!important;
  color:#272727!important;
}
#appView .quick-card.quick-card-premium strong{color:#252525!important}
#appView .quick-card.quick-card-premium span:not(.quick-icon){color:#7b7b7b!important}
#appView .quick-card.quick-card-premium::before{opacity:.3!important}
#appView .user-card,#appView .runtime-card{background:linear-gradient(145deg,white,#fafafa)!important;color:#282828!important}
#appView .oc-overview-section .oc-overview{background-color:#fafafa!important}
@media(max-width:760px){
  #appView .topbar.topbar-premium-header{margin:10px 13px 12px!important;left:auto!important;right:auto!important}
  #appView .mobile-nav.glass-panel{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  #appView .sidebar.glass-panel{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}
/* Visual QA R2: close the inherited spacing and contrast regressions. */
#appView #pageRoot{padding:8px 24px 64px calc(var(--sidebar) + 42px)!important}
#appView .page .section-head h3,#appView .page .section-head p{color:#252525!important}
#appView .page .section-head p{color:#7a7a7a!important}
#appView .topbar .eyebrow-chip{color:#6c6c6c!important;background:#f4f4f4!important;border:1px solid #e7e7e7!important;text-shadow:none!important}
#appView .topbar .topbar-live-chip{color:#666666!important;background:#f2f2f2!important}
#appView .oc-heading-copy p{letter-spacing:0!important}

/* Users: legacy data tables used pure black panels and white ink. */
#appView .up-users-page .up-overview-item,
#appView .up-users-page .up-desktop-table,
#appView .up-users-page .up-table,
#appView .up-users-page .up-mobile-card{
 background:linear-gradient(140deg,#ffffff,#f9f9f9)!important;
 border:1px solid #e7e7e7!important;
 border-radius:20px!important;
 box-shadow:inset 0 1px white,0 8px 18px rgba(63, 63, 63, .035)!important;
 color:#2a2a2a!important;
}
#appView .up-users-page .up-overview-item{padding:20px 24px!important}
#appView .up-users-page .up-overview-item strong{color:#272727!important}
#appView .up-users-page .up-overview-item span{color:#7b7b7b!important}
#appView .up-users-page .up-overview-item :is(.up-overview-icon,svg){color:#6c6c6c!important}
#appView .up-users-page .up-desktop-table{overflow:auto;border-radius:21px!important}
#appView .up-users-page .up-table{border:0!important;box-shadow:none!important}
#appView .up-users-page .up-table th{background:#f5f5f5!important;color:#757575!important;border-color:#eaeaea!important;font-size:12px!important}
#appView .up-users-page .up-table td{color:#393939!important;background:#ffffff!important;border-color:#eeeeee!important;font-size:12px!important}
#appView .up-users-page .up-table tbody tr:hover td{background:#f7f7f7!important}
#appView .up-users-page .up-identity strong{color:#5b5b5b!important}
#appView .up-users-page .up-identity small{color:#7f7f7f!important}
#appView .up-users-page .up-days{color:#4a4a4a!important}
#appView .up-users-page .up-days.near{color:#7f7f7f!important}
#appView .up-users-page .up-filter{color:#747474!important}
#appView .up-users-page .up-filter.selected{color:#616161!important;border-bottom-color:#777777!important}
#appView .up-users-page .up-filter:hover{color:#585858!important}
#appView .up-users-page .up-search-wrap{background:#ffffff!important;border:1px solid #e5e5e5!important;border-radius:16px!important;color:#767676!important}
#appView .up-users-page .up-search-wrap input{color:#2c2c2c!important;background:transparent!important;font-size:13px!important}
#appView .up-users-page .up-sort-label{color:#808080!important}
#appView .up-users-page .up-sort-label select{color:#4d4d4d!important;background:#f6f6f6!important}
#appView .up-users-page .up-listbar h4{color:#242424!important}
#appView .up-users-page .up-listbar span{color:#818181!important}
#appView .up-users-page .up-state{font-size:11px!important;position:relative;overflow:visible;gap:8px!important;padding:8px 12px!important;border-radius:999px!important;font-weight:600!important;transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease}
#appView .up-users-page .up-state:hover{transform:translateY(-1px)}
#appView .up-users-page .up-state i{position:relative;width:8px!important;height:8px!important;border-radius:50%;background:currentColor!important;flex:none;animation:npx-state-core 1.9s ease-in-out infinite}
#appView .up-users-page .up-state i::after{content:'';position:absolute;inset:-4px;border-radius:999px;border:1px solid currentColor;opacity:.4;animation:npx-state-ring 1.9s ease-out infinite}
#appView .up-users-page .up-state.online{background:rgba(52,199,89,.12)!important;color:#1f9a49!important;border-color:rgba(52,199,89,.25)!important;box-shadow:0 8px 20px rgba(52,199,89,.10),inset 0 1px 0 rgba(255,255,255,.75)!important;animation:npx-state-chip-green 2.2s ease-in-out infinite}
#appView .up-users-page .up-state.suspended{background:rgba(255,149,0,.12)!important;color:#d87a00!important;border-color:rgba(255,149,0,.24)!important;box-shadow:0 8px 20px rgba(255,149,0,.10),inset 0 1px 0 rgba(255,255,255,.75)!important;animation:npx-state-chip-orange 2.2s ease-in-out infinite}
#appView .up-users-page .up-state.expired{background:rgba(255,59,48,.12)!important;color:#d83a34!important;border-color:rgba(255,59,48,.24)!important;box-shadow:0 8px 20px rgba(255,59,48,.11),inset 0 1px 0 rgba(255,255,255,.75)!important;animation:npx-state-chip-red 2.2s ease-in-out infinite}
#appView .up-users-page .up-state.offline{background:#f5f5f5!important;color:#787878!important;border-color:#e6e6e6!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important}
#appView .up-users-page .up-state.offline i::after{display:none}
@keyframes npx-state-core{0%,100%{transform:scale(.9);opacity:.92}50%{transform:scale(1.1);opacity:1}}
@keyframes npx-state-ring{0%{transform:scale(.55);opacity:.48}70%{transform:scale(1.45);opacity:0}100%{transform:scale(1.45);opacity:0}}
@keyframes npx-state-chip-green{0%,100%{box-shadow:0 8px 20px rgba(52,199,89,.08),inset 0 1px 0 rgba(255,255,255,.78)}50%{box-shadow:0 10px 24px rgba(52,199,89,.18),0 0 0 1px rgba(52,199,89,.05),inset 0 1px 0 rgba(255,255,255,.92)}}
@keyframes npx-state-chip-orange{0%,100%{box-shadow:0 8px 20px rgba(255,149,0,.08),inset 0 1px 0 rgba(255,255,255,.78)}50%{box-shadow:0 10px 24px rgba(255,149,0,.18),0 0 0 1px rgba(255,149,0,.06),inset 0 1px 0 rgba(255,255,255,.92)}}
@keyframes npx-state-chip-red{0%,100%{box-shadow:0 8px 20px rgba(255,59,48,.08),inset 0 1px 0 rgba(255,255,255,.78)}50%{box-shadow:0 10px 24px rgba(255,59,48,.18),0 0 0 1px rgba(255,59,48,.06),inset 0 1px 0 rgba(255,255,255,.92)}}
#appView .up-users-page .up-avatar,#appView .up-users-page .up-mc-account .up-avatar{background:#f1f1f1!important;color:#606060!important;border-color:#e7e7e7!important}
#appView .up-users-page .up-row-actions button{background:#f7f7f7!important;color:#717171!important;border-color:#e8e8e8!important}
#appView .up-users-page .up-usage>span,#appView .up-users-page .up-ip{color:#4e4e4e!important}
#appView .up-users-page .up-meter{background:#eeeeee!important}
#appView .up-users-page .up-meter i{background:linear-gradient(90deg,#878787,#646464)!important}
#appView .up-users-page .up-mc-stats>div{background:#f9f9f9!important;border-color:#e7e7e7!important}
#appView .up-users-page .up-mc-stats strong{color:#2b2b2b!important}
#appView .up-users-page .up-mc-stats span{color:#808080!important}
#appView .up-users-page .up-mc-actions button{background:#f4f4f4!important;color:#5d5d5d!important;border:1px solid #e4e4e4!important}

/* Reseller workspace: light panels, clear hierarchy and legible actions */
#appView .npxrs-page .npxrs-header-card,#appView .npxrs-page .npxrs-card,#appView .npxrs-page .npxrs-metric{color:#252525!important}
#appView .npxrs-page .npxrs-heading h3,#appView .npxrs-page .npxrs-section-heading h3{color:#262626!important}
#appView .npxrs-page .npxrs-heading p,#appView .npxrs-page .npxrs-section-heading p{color:#7f7f7f!important}
#appView .npxrs-page .npxrs-metric span,#appView .npxrs-page .npxrs-data span,#appView .npxrs-page .npxrs-identity small{color:#797979!important}
#appView .npxrs-page .npxrs-metric strong,#appView .npxrs-page .npxrs-data strong,#appView .npxrs-page .npxrs-identity strong{color:#303030!important}
#appView .npxrs-page .npxrs-data,#appView .npxrs-page .npxrs-capacity{background:#f8f8f8!important;border-color:#e8e8e8!important}
#appView .npxrs-page .npxrs-filters button{color:#767676!important;background:#f6f6f6!important;border-color:#e9e9e9!important}
#appView .npxrs-page .npxrs-filters button.is-active{background:#ececec!important;color:#606060!important;border-color:#dfdfdf!important}
#appView .npxrs-page .npxrs-action-more,#appView .npxrs-page .npxrs-action-secondary{color:#545454!important;background:#f6f6f6!important;border-color:#e7e7e7!important}
#appView .npxrs-page .npxrs-state{color:#767676!important}
#appView .npxrs-page .npxrs-capacity-track{background:#eaeaea!important}
#appView .npxrs-page .npxrs-capacity-track>span{background:linear-gradient(90deg,#777777,#989898)!important}

/* Services, Profiles and recovery collections */
#appView .service-pro-shell,#appView .service-pro-card{background:#ffffff!important}
#appView .service-pro-shell h3,#appView .service-pro-card h3{color:#262626!important}
#appView .service-pro-shell p,#appView .service-pro-card p{color:#787878!important}
#appView .service-pro-card .service-version-chip{color:#6a6a6a!important}
#appView .service-pro-card .service-pro-rows>div{background:#f9f9f9!important}
#appView .service-pro-card .sp-control{border-color:#e7e7e7!important;background:#f9f9f9!important;color:#444444!important}
#appView .service-pro-card .sp-stop{background:#f4f4f4!important;color:#676767!important;border-color:#e5e5e5!important}
#appView .service-pro-card .sp-start{background:#f4f4f4!important;color:#727272!important;border-color:#eaeaea!important}
#appView .service-pro-card .sp-restart{background:#f1f1f1!important;color:#5f5f5f!important;border-color:#e7e7e7!important}
#appView .service-card,#appView .profile-card,#appView .backup-card,#appView .audit-card{color:#292929!important}
#appView .service-card strong,#appView .profile-card strong,#appView .backup-card strong,#appView .audit-card strong{color:#272727!important}
#appView .service-card .mini-button,#appView .backup-card .mini-button{min-height:36px}
#appView .more-row{background:#f9f9f9!important;border-color:#ebebeb!important}
#appView .more-row strong{color:#2d2d2d!important;font-size:13px!important}
#appView .more-row span{color:#797979!important;font-size:11px!important}

@media(max-width:760px){
  #appView #pageRoot{padding:6px 14px calc(var(--mobile-nav) + 42px)!important}
  #appView .up-users-page .up-overview-item{padding:15px!important}
  #appView .up-users-page .up-mobile-card{padding:16px!important}
  #appView .page .section-head h3{font-size:17px!important}
}
/* Final control polish */
#appView .up-users-page .up-filter{
  min-height:36px!important;padding:0 15px!important;
  background:#f7f7f7!important;color:#727272!important;
  border:1px solid #e9e9e9!important;border-radius:999px!important;
  font-size:11px!important;
}
#appView .up-users-page .up-filter.selected{
  color:#5f5f5f!important;background:#f0f0f0!important;border:1px solid #dfdfdf!important;
}
#appView .up-users-page .up-filter:hover{background:#f1f1f1!important;color:#5e5e5e!important}
/* Dark-ink task sheets maintain original form contrast while fitting the blue theme. */
body:has(#appView:not([hidden])) .sheet-dialog .sheet,
body:has(#appView:not([hidden])) .confirm-dialog .confirm-card{
  border-color:rgba(157, 157, 157, .22)!important;
  background:linear-gradient(150deg,#232323,#171717 70%)!important;
  box-shadow:inset 0 1px 0 rgba(255, 255, 255, .08),0 32px 80px rgba(28, 28, 28, .34)!important;
}



/* V29 — Fastwork Light / Liquid Glass consistency patch.
   Styling only. No user, reseller, service or auth logic is changed.
   Deliberately selective: preserve functional controls and card flip/slider transforms. */
:root{color-scheme:light}
html,body{background:#f6f6f6!important;color-scheme:light}
body{color:#252525;background-image:radial-gradient(ellipse 700px 440px at 0% -5%,#f0f0f0,transparent 80%),linear-gradient(180deg,#fcfcfc,#f6f6f6)!important}
body>.ambient{opacity:.38;pointer-events:none}
body .ambient-orb{opacity:.10!important;filter:blur(76px)!important;animation:none!important}

/* 01 — Access card login: keep V16 layout + flipping card + slide-to-login intact.
   Replace surrounding black canvas and black form with a light editorial shell. */
#loginView.login-view{
  color-scheme:light!important;color:#262626!important;
  background:radial-gradient(ellipse at 8% 9%,rgba(206, 206, 206, .5),transparent 52%),linear-gradient(160deg,#fdfdfd,#f4f4f4 78%)!important;
  background-image:radial-gradient(ellipse at 8% 9%,rgba(206, 206, 206, .5),transparent 52%),linear-gradient(160deg,#fdfdfd,#f4f4f4 78%)!important;
}
#loginView .npxgate-wrap{color:#262626!important}
#loginView .npxgate-shell{
  background:linear-gradient(152deg,rgba(255, 255, 255, .97),rgba(249, 249, 249, .94))!important;
  background-image:linear-gradient(152deg,rgba(255, 255, 255, .97),rgba(249, 249, 249, .94))!important;
  border:1px solid #e4e4e4!important;
  box-shadow:0 30px 64px rgba(77, 77, 77, .12),inset 0 1px 0 #ffffff!important;
}
#loginView .npxgate-intro>span{color:#696969!important}
#loginView .npxgate-intro h1{color:#222222!important}
#loginView .npxgate-intro p,#loginView .npxgate-hint{color:#7a7a7a!important}
#loginView .npxgate-field-meta,#loginView .npxgate-field-meta label,
#loginView .npxgate-slide-head strong{color:#393939!important}
#loginView .npxgate-label-icon{color:#6c6c6c!important;background:#f1f1f1!important;border-color:#e4e4e4!important}
#loginView .npxgate-field,#loginView .npxgate-control{
  background:#f8f8f8!important;
  border-color:#e4e4e4!important;
  color:#313131!important;
  box-shadow:inset 0 1px 0 #ffffff!important;
}
#loginView .npxgate-field:focus-within,#loginView .npxgate-control:focus-within{
  background:#ffffff!important;border-color:#898989!important;
  box-shadow:0 0 0 3px rgba(120, 120, 120, .12)!important;
}
#loginView .npxgate-control input,#loginView .npxgate-field input,
#loginView .npxgate-field-compact input{
  background:transparent!important;background-image:none!important;
  border:0!important;color:#2a2a2a!important;box-shadow:none!important;
  -webkit-text-fill-color:#2a2a2a;
}
#loginView .npxgate-control input::placeholder,#loginView .npxgate-field input::placeholder{
  color:#949494!important;-webkit-text-fill-color:#949494!important;opacity:1!important;
}
#loginView .npxgate-field-icon,#loginView .npxgate-visibility{color:#6e6e6e!important}
#loginView .npxgate-visibility:hover{background:#eeeeee!important}
#loginView .npxgate-slide{
  color:#575757!important;background:linear-gradient(180deg,#fbfbfb,#f0f0f0)!important;
  border-color:#e3e3e3!important;
  box-shadow:inset 0 1px 0 #ffffff!important;
}
#loginView .npxgate-slide-caption{color:#5b5b5b!important;text-shadow:none!important}
#loginView .npxgate-slide-fill{background:linear-gradient(90deg,rgba(143, 143, 143, .22),rgba(111, 111, 111, .32))!important}
#loginView .npxgate-slide-knob{
  background:linear-gradient(155deg,#818181,#5a5a5a)!important;
  border:1px solid #6d6d6d!important;color:white!important;
  box-shadow:0 5px 14px rgba(99, 99, 99, .22),inset 0 1px 0 rgba(255, 255, 255, .22)!important;
}
#loginView .npxgate-error{color:#656565!important}
#loginView .npxgate-verify{
  background:rgba(252, 252, 252, .97)!important;color:#313131!important;
  border:1px solid #e9e9e9!important;
}
#loginView .npxgate-verify strong{color:#282828!important}
#loginView .npxgate-verify p{color:#7c7c7c!important}
#loginView .npxgate-verify-emblem{color:#646464!important;border-top-color:#707070!important}
/* Blue-silver access card: retain the reversible card's depth and typography. */
#loginView .npxgate-card-front{
  color:#fbfbfb!important;
  background:linear-gradient(122deg,#727272 0%,#535353 44%,#343434 100%)!important;
  border:1px solid rgba(217, 217, 217, .65)!important;
  box-shadow:0 17px 35px rgba(78, 78, 78, .27),inset 0 1px 0 rgba(255, 255, 255, .24)!important;
}
#loginView .npxgate-card-back{
  color:#fbfbfb!important;
  background:linear-gradient(125deg,#4e4e4e,#343434 65%,#585858)!important;
  border:1px solid rgba(217, 217, 217, .6)!important;
}
#loginView .npxgate-card-top,#loginView .npxgate-card-middle,
#loginView .npxgate-card-foot,#loginView .npxgate-card-foot strong,
#loginView .npxgate-wordmark strong{color:#ffffff!important}
#loginView .npxgate-card small,#loginView .npxgate-wordmark span,
#loginView .npxgate-index,#loginView .npxgate-back-grid small{color:#e3e3e3!important}
#loginView .npxgate-back-grid strong{color:#ffffff!important}
#loginView .npxgate-symbol{background:rgba(255, 255, 255, .13)!important;border-color:rgba(235, 235, 235, .4)!important;color:#f9f9f9!important}
#loginView .npxgate-rule{background:linear-gradient(90deg,#e8e8e8,#aeaeae,transparent)!important}
#loginView .npxgate-back-keyword{background:rgba(47, 47, 47, .42)!important;border-color:rgba(231, 231, 231, .34)!important}
#loginView .npxgate-back-secret-meta span{color:#e4e4e4!important}
#loginView .npxgate-back-keyword strong{color:#ffffff!important}

/* 02 — Server resources: old dark-theme colors were nearly white on white. */
#appView #hostCard .runtime-stat{
  background:#fafafa!important;color:#292929!important;
  border:1px solid #e6e6e6!important;
  box-shadow:inset 0 1px 0 white!important;
}
#appView #hostCard .runtime-copy,
#appView #hostCard .runtime-copy>strong{color:#282828!important;opacity:1!important}
#appView #hostCard .runtime-meta,#appView #hostCard .runtime-meta>span,
#appView #hostCard .runtime-usage{color:#767676!important;opacity:1!important}
#appView #hostCard .runtime-icon{background:#f1f1f1!important;color:#686868!important;border:1px solid #e7e7e7!important;box-shadow:none!important;opacity:1!important}
#appView #hostCard .runtime-icon svg{color:#6d6d6d!important;stroke:currentColor;opacity:1!important}
#appView #hostCard .runtime-meter{background:#ececec!important;opacity:1!important}
#appView #hostCard .runtime-meter>span{background:linear-gradient(90deg,#7e7e7e,#b8b8b8)!important}
#appView #hostCard .runtime-stat[data-health="normal"] .runtime-live{color:#666666!important;background:#f3f3f3!important;border:1px solid #e4e4e4!important}
#appView #hostCard .runtime-stat[data-health="watch"] .runtime-live{color:#6a6a6a!important;background:#f6f6f6!important;border:1px solid #e3e3e3!important}
#appView #hostCard .runtime-stat[data-health="abnormal"] .runtime-live{color:#626262!important;background:#f3f3f3!important;border:1px solid #e2e2e2!important}
#appView #hostCard .runtime-stat[data-health="unknown"] .runtime-live{color:#727272!important;background:#f2f2f2!important;border:1px solid #e6e6e6!important}
#appView #hostCard .runtime-stat[data-health="watch"]{border-color:#dcdcdc!important;background:#fbfbfb!important}
#appView #hostCard .runtime-stat[data-health="abnormal"]{border-color:#d4d4d4!important;background:#fafafa!important}
#appView #hostCard .runtime-stat .runtime-live{opacity:1!important;font-size:10px!important;font-weight:750!important}
#appView #hostCard .runtime-stat .runtime-status-dot{background-color:currentColor!important}

/* 03 — Fullscreen user detail: mounted as document.body child, not #appView. */
#upUserDialog.up-full-dialog{
  color-scheme:light!important;color:#2b2b2b!important;
  background:linear-gradient(165deg,#fdfdfd,#f7f7f7 80%)!important;
}
#upUserDialog .up-full-header,#upUserDialog .up-full-footer{
  background:rgba(255, 255, 255, .97)!important;border-color:#e9e9e9!important;
  box-shadow:0 5px 18px rgba(66, 66, 66, .045)!important;
}
#upUserDialog .up-full-header-titles strong,#upUserDialog .up-full-identity h2,
#upUserDialog .up-full-section-title h3{color:#262626!important}
#upUserDialog .up-full-header-titles span,#upUserDialog .up-full-brand,
#upUserDialog .up-full-eyebrow,#upUserDialog .up-full-profile,
#upUserDialog .up-full-section-title>span{color:#747474!important}
#upUserDialog .up-full-back{
  color:#626262!important;background:#f6f6f6!important;border:1px solid #e4e4e4!important;
  box-shadow:inset 0 1px 0 #ffffff!important;
}
#upUserDialog .up-full-avatar{
  background:linear-gradient(135deg,#efefef,#e4e4e4)!important;border:1px solid #dddddd!important;
  color:#606060!important;box-shadow:inset 0 1px 0 #ffffff!important;
}
#upUserDialog .up-full-intro{border-color:#e8e8e8!important}
#upUserDialog .up-state{border-color:#e8e8e8!important;background:#f5f5f5!important;color:#6c6c6c!important}
#upUserDialog .up-full-stat-band,#upUserDialog .up-full-usage,
#upUserDialog .up-full-info,#upUserDialog .up-full-management-list{
  background:linear-gradient(145deg,#ffffff,#fafafa)!important;border:1px solid #e6e6e6!important;
  box-shadow:inset 0 1px 0 #ffffff,0 10px 26px rgba(64, 64, 64, .045)!important;
}
#upUserDialog .up-full-stat+.up-full-stat{border-color:#ebebeb!important}
#upUserDialog .up-full-stat span,#upUserDialog .up-full-usage-numbers>div>span,
#upUserDialog .up-full-info span{color:#7a7a7a!important}
#upUserDialog .up-full-stat strong,#upUserDialog .up-full-usage-numbers strong,
#upUserDialog .up-full-info strong{color:#282828!important}
#upUserDialog .up-full-stat strong small,#upUserDialog .up-full-usage-numbers strong small{color:#6f6f6f!important}
#upUserDialog .online-text{color:#6c6c6c!important}
#upUserDialog .warning-text,#upUserDialog .near{color:#747474!important}
#upUserDialog .up-full-meter{background:#ececec!important}
#upUserDialog .up-full-meter span{background:linear-gradient(90deg,#767676,#b1b1b1)!important}
#upUserDialog .up-full-usage p{color:#838383!important}
#upUserDialog .up-full-info>div+div,#upUserDialog .up-full-manage-row+.up-full-manage-row{border-color:#eaeaea!important}
#upUserDialog .up-full-manage-row{color:#292929!important;background:transparent!important}
#upUserDialog .up-full-manage-row:hover{background:#f5f5f5!important}
#upUserDialog .up-full-action-copy strong{color:#2f2f2f!important}
#upUserDialog .up-full-action-copy small,#upUserDialog .up-full-manage-row>svg:last-child{color:#7c7c7c!important}
#upUserDialog .up-full-manage-row>.up-full-action-icon{color:#666666!important;background:#f1f1f1!important;border-color:#e5e5e5!important}
#upUserDialog .up-full-danger-zone h3{color:#707070!important}
#upUserDialog .up-full-danger-button{color:#656565!important;background:#f5f5f5!important;border-color:#dedede!important}
#upUserDialog .up-full-danger-button:hover{background:#ededed!important}
#upUserDialog .up-full-main-button{color:#ffffff!important;background:linear-gradient(135deg,#7c7c7c,#585858)!important;border-color:#676767!important;box-shadow:0 8px 18px rgba(108, 108, 108, .15)!important}
#upUserDialog .up-full-second-button{color:#525252!important;background:#f5f5f5!important;border-color:#e6e6e6!important}
#upUserDialog .up-full-scroll{scrollbar-color:#c8c8c8 transparent}

/* 04 — Confirmation dialog, slider and other overlays; consistent light palette. */
#confirmDialog.npxconfirm-dialog .npxconfirm-card,
body:has(#appView:not([hidden])) #confirmDialog .confirm-card{
  color-scheme:light!important;color:#292929!important;
  background:linear-gradient(155deg,#ffffff,#f8f8f8)!important;
  border:1px solid #e6e6e6!important;
  box-shadow:0 28px 80px rgba(51, 51, 51, .18),inset 0 1px 0 white!important;
}
#confirmDialog .npxconfirm-card h3{color:#262626!important}
#confirmDialog .npxconfirm-eyebrow{color:#6a6a6a!important}
#confirmDialog .npxconfirm-card #confirmMessage{color:#727272!important}
#confirmDialog .npxconfirm-close{color:#6d6d6d!important;background:#f2f2f2!important;border:1px solid #e5e5e5!important}
#confirmDialog .confirm-icon{color:#656565!important;background:#f2f2f2!important;border-color:#e4e4e4!important}
#confirmDialog[data-action="restart"] .confirm-icon,#confirmDialog[data-action="start"] .confirm-icon{color:#656565!important}
#confirmDialog .npxconfirm-summary{background:#f6f6f6!important;border-color:#e7e7e7!important}
#confirmDialog .npxconfirm-summary strong{color:#262626!important}
#confirmDialog .npxconfirm-summary span{color:#666666!important}
#confirmDialog .npxslide-confirm-title{color:#373737!important}
#confirmDialog .npxslide-confirm-note{color:#7c7c7c!important}
#confirmDialog .npxslide-confirm{
  color:#585858!important;background:linear-gradient(180deg,#f7f7f7,#f0f0f0)!important;
  border-color:#e4e4e4!important;box-shadow:inset 0 1px 0 white!important;
}
#confirmDialog .npxslide-confirm-text{color:#545454!important}
#confirmDialog .npxslide-confirm-fill{background:linear-gradient(90deg,#cfcfcf,#a5a5a5)!important}
#confirmDialog .npxslide-confirm-handle{color:#ffffff!important;background:linear-gradient(155deg,#838383,#5a5a5a)!important;border:1px solid #646464!important;box-shadow:0 5px 14px rgba(103, 103, 103, .2)!important}
#confirmDialog .npxslide-confirm.is-danger .npxslide-confirm-fill{background:linear-gradient(90deg,#dcdcdc,#aaaaaa)!important}

/* Modal sheets, calendars and form controls: remove black surface in ALL nested workflows. */
body:has(#appView:not([hidden])) .sheet-dialog .sheet,
#resellerDialog.npxrs-create-dialog .npxrs-create-sheet,
#renewDialog .sheet,#createDialog .sheet,#configDialog .sheet,
#resellerManageDialog .sheet,#resellerPanelDialog .sheet{
  color-scheme:light!important;color:#2e2e2e!important;
  background:linear-gradient(145deg,#ffffff,#f8f8f8)!important;
  border:1px solid #e4e4e4!important;
  box-shadow:0 26px 65px rgba(58, 58, 58, .16),inset 0 1px 0 white!important;
}
.sheet-dialog .sheet-header h3,.sheet-dialog .sheet-header strong{color:#292929!important}
.sheet-dialog .sheet-subtitle,.sheet-dialog .field>span,
.sheet-dialog .field small{color:#787878!important}
.sheet-dialog .sheet-header .icon-button,.sheet-dialog .icon-button.ghost{
  color:#6d6d6d!important;background:#f5f5f5!important;border-color:#e5e5e5!important;
}
.sheet-dialog .field input,.sheet-dialog .field select,.sheet-dialog .field textarea,
#resellerDialog .npxrs-input,#resellerDialog .npxrs-input input,#resellerDialog .npxrs-input select{
  color:#2e2e2e!important;background:#f8f8f8!important;border-color:#e4e4e4!important;
  -webkit-text-fill-color:#2e2e2e;
}
.sheet-dialog .field input::placeholder,#resellerDialog .npxrs-input input::placeholder{color:#989898!important;opacity:1!important}
.sheet-dialog .field select option{background:#ffffff!important;color:#272727!important}
.sheet-dialog .button.secondary{color:#505050!important;background:#f4f4f4!important;border-color:#e6e6e6!important}
.sheet-dialog .button.primary{color:#ffffff!important;background:linear-gradient(135deg,#797979,#5d5d5d)!important}
.sheet-dialog .sheet-actions{background:linear-gradient(180deg,rgba(255, 255, 255, 0),#fafafa 32%)!important}
#resellerDialog .npxrs-create-footer{background:#fafafa!important;border-top-color:#e9e9e9!important}
#resellerDialog .npxrs-slide,#renewDialog .v21-renew-slide,
#createDialog .npxslide-confirm{background:linear-gradient(180deg,#f7f7f7,#efefef)!important;border-color:#e5e5e5!important}
#resellerDialog .npxrs-slide-label,#resellerDialog .npxrs-slide-text,
#renewDialog .v21-renew-slide-text,#createDialog .npxslide-confirm-text{color:#515151!important}
#renewDialog .npxdate-trigger,#createDialog .npxdate-trigger{background:#f8f8f8!important;color:#3a3a3a!important;border-color:#e4e4e4!important}
#renewDialog .npxdate-trigger svg,#createDialog .npxdate-trigger svg{color:#686868!important}
#renewDialog .npxdate-hint,#createDialog .npxdate-hint{color:#7c7c7c!important}
#resellerDialog .npxrs-form-scroll{scrollbar-color:#c4c4c4 transparent}
#npxCalendarDialog.npxcal-dialog{
  color-scheme:light!important;color:#2f2f2f!important;background:#ffffff!important;
  border-color:#e6e6e6!important;box-shadow:0 28px 76px rgba(63, 63, 63, .2)!important;
}
#npxCalendarDialog .npxcal-kicker,#npxCalendarDialog .npxcal-selected,
#npxCalendarDialog .npxcal-weekdays span{color:#818181!important}
#npxCalendarDialog .npxcal-close,#npxCalendarDialog .npxcal-month-bar button,
#npxCalendarDialog .npxcal-quick button{color:#616161!important;background:#f4f4f4!important;border-color:#e6e6e6!important}
#npxCalendarDialog .npxcal-days button{color:#3d3d3d!important}
#npxCalendarDialog .npxcal-days button[aria-pressed="true"]{background:#737373!important;color:#ffffff!important}
#npxCalendarDialog .npxcal-days button:not(:disabled):hover{background:#efefef!important}
#npxCalendarDialog .npxcal-days button[data-today="true"]:not([aria-pressed="true"]){border-color:#a3a3a3!important}
#npxCalendarDialog .npxcal-days button:disabled{color:#a2a2a2!important}
#npxCalendarDialog .npxcal-actions .npxcal-cancel{color:#5c5c5c!important;background:#f3f3f3!important;border-color:#e6e6e6!important}
#npxCalendarDialog .npxcal-actions .npxcal-apply{color:white!important;background:#6c6c6c!important;border-color:#6c6c6c!important}
#npxUserResult.npxresult .npxresult-panel{
  color:#303030!important;background:linear-gradient(150deg,#ffffff,#f7f7f7)!important;border-color:#e5e5e5!important;
}
#npxUserResult .npxresult-panel strong{color:#343434!important}
#npxUserResult .npxresult-panel>span{color:#757575!important}

/* Generic content: avoid faded header/section ink and convert legacy black sub-panels. */
#appView .page{color:#2d2d2d}
#appView .card :is(h3,h4),#appView .page-section .section-head h3{color:#292929!important}
#appView .page-section .section-head p{color:#797979!important}
#appView .page .status-pill{color:#6c6c6c!important}
#appView .up-users-page .up-mobile-card :is(h4,strong){color:#303030}

@media(max-width:760px){
  #loginView.login-view{padding:18px 13px max(22px,env(safe-area-inset-bottom))!important}
  #loginView .npxgate-shell{border-radius:27px!important}
  #appView #hostCard .runtime-stat{min-height:100px!important}
  #upUserDialog .up-full-header{padding-top:env(safe-area-inset-top,0px)!important}
  #upUserDialog .up-full-content{padding-top:26px}
  #upUserDialog .up-full-footer{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))!important}
  #resellerDialog.npxrs-create-dialog .npxrs-create-sheet{border:0!important;border-radius:0!important;box-shadow:none!important}
}
@media(max-width:380px){
  #appView #hostCard .runtime-meta{align-items:flex-start!important}
  #appView #hostCard .runtime-stat{padding:10px!important}
  #appView #hostCard .runtime-stat .runtime-live{font-size:9px!important}
  #loginView .npxgate-slide-caption{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){
  #loginView .npxgate-verify-emblem,#confirmDialog .confirm-icon svg{animation:none!important}
  #appView #hostCard .runtime-status-dot,#appView #hostCard .runtime-icon svg{animation:none!important}
}



/* V29 detail QA: fix nested form surfaces that inherited V18–V27 dark CSS. */
#createDialog.npxcreate-v18 {color:#2b2b2b!important;color-scheme:light!important}
#createDialog.npxcreate-v18 .npxcreate-sheet{
  background:#fbfbfb!important;border:1px solid #e6e6e6!important;
  box-shadow:0 28px 80px rgba(60, 60, 60, .2),inset 0 1px 0 white!important;
}
#createDialog.npxcreate-v18 .sheet-header.npxcreate-header,
#createDialog.npxcreate-v18 .sheet-actions.npxcreate-footer{
  color:#303030!important;background:#fbfbfb!important;border-color:#e4e4e4!important;
}
#createDialog.npxcreate-v18 .sheet-header h3{color:#262626!important}
#createDialog.npxcreate-v18 .sheet-header .eyebrow{color:#6a6a6a!important}
#createDialog.npxcreate-v18 .npxcreate-subtitle{color:#787878!important}
#createDialog.npxcreate-v18 .sheet-header .icon-button.ghost{background:#f3f3f3!important;color:#606060!important;border-color:#e3e3e3!important}
#createDialog.npxcreate-v18 .npxcreate-identity,
#createDialog.npxcreate-v18 .npxcreate-panel{
  color:#2d2d2d!important;background:linear-gradient(145deg,#ffffff,#f8f8f8)!important;
  border:1px solid #e5e5e5!important;
  box-shadow:inset 0 1px 0 white,0 6px 20px rgba(68, 68, 68, .045)!important;
}
#createDialog.npxcreate-v18 .npxcreate-avatar,
#createDialog.npxcreate-v18 .npxcreate-panel-icon{
  background:#f1f1f1!important;color:#6a6a6a!important;border-color:#e3e3e3!important;
}
#createDialog.npxcreate-v18 .npxcreate-identity-copy strong,
#createDialog.npxcreate-v18 .npxcreate-panel-head h4{color:#292929!important}
#createDialog.npxcreate-v18 .npxcreate-identity-copy>span:not(.npxcreate-preview-state),
#createDialog.npxcreate-v18 .npxcreate-section-note{color:#7f7f7f!important}
#createDialog.npxcreate-v18 .npxcreate-preview-state{color:#6d6d6d!important;background:#f4f4f4!important;border-color:#e3e3e3!important}
#createDialog.npxcreate-v18 .npxcreate-identity-side{border-color:#e6e6e6!important}
#createDialog.npxcreate-v18 .npxcreate-identity-side span{color:#797979!important}
#createDialog.npxcreate-v18 .npxcreate-identity-side strong{color:#3c3c3c!important}
#createDialog.npxcreate-v18 .npxcreate-identity-side svg{color:#666666!important;background:#f1f1f1!important;border-color:#e6e6e6!important}
#createDialog.npxcreate-v18 .npxcreate-panel-head{border-bottom-color:#ebebeb!important}
#createDialog.npxcreate-v18 .field.npxcreate-field>span:first-child{color:#4a4a4a!important}
#createDialog.npxcreate-v18 .npxcreate-input-shell{
  color:#424242!important;background:#f9f9f9!important;border:1px solid #e4e4e4!important;
  box-shadow:inset 0 1px 0 white!important;
}
#createDialog.npxcreate-v18 .npxcreate-input-shell:focus-within{border-color:#888888!important;box-shadow:0 0 0 3px rgba(113, 113, 113, .1)!important}
#createDialog.npxcreate-v18 .npxcreate-input-shell>svg:not(.npxcreate-chevron),
#createDialog.npxcreate-v18 .npxcreate-chevron{stroke:#717171!important}
#createDialog.npxcreate-v18 .npxcreate-input-shell>input,
#createDialog.npxcreate-v18 .npxcreate-input-shell>select{
  color:#2c2c2c!important;background:transparent!important;-webkit-text-fill-color:#2c2c2c!important;
}
#createDialog.npxcreate-v18 .npxcreate-input-shell>input::placeholder{color:#9a9a9a!important;-webkit-text-fill-color:#9a9a9a!important}
#createDialog.npxcreate-v18 .npxcreate-input-shell>select option{color:#2c2c2c!important;background:#ffffff!important}
#createDialog.npxcreate-v18 .field.npxcreate-field small{color:#878787!important}
#createDialog.npxcreate-v18 .profile-preview{background:#f6f6f6!important;border-color:#e5e5e5!important;color:#3f3f3f!important}
#createDialog.npxcreate-v18 .npxcreate-footer .button.secondary{color:#555555!important;background:#f4f4f4!important;border-color:#e5e5e5!important}
#createDialog.npxcreate-v18 .npxcreate-footer .button.primary{color:#ffffff!important;background:linear-gradient(135deg,#7d7d7d,#5e5e5e)!important;border-color:#646464!important}
#createDialog.npxcreate-v18 .npxcreate-scroll{scrollbar-color:#bebebe transparent}
#createDialog.npxcreate-v18 .npxslide-confirm-block{color:#353535!important}
#createDialog.npxcreate-v18 .npxslide-confirm-title{color:#3d3d3d!important}
#createDialog.npxcreate-v18 .npxslide-confirm-note{color:#7c7c7c!important}
#createDialog.npxcreate-v18 .npxslide-confirm{
  background:linear-gradient(180deg,#f7f7f7,#f1f1f1)!important;border-color:#e3e3e3!important;
}
#createDialog.npxcreate-v18 .npxslide-confirm-text{color:#5d5d5d!important}
#createDialog.npxcreate-v18 .npxslide-confirm-fill{background:linear-gradient(90deg,#dbdbdb,#b4b4b4)!important}
#createDialog.npxcreate-v18 .npxslide-confirm-handle{color:#ffffff!important;background:linear-gradient(145deg,#868686,#5d5d5d)!important;box-shadow:0 7px 14px rgba(97, 97, 97, .18)!important}

/* Renewal: summary, presets and slider all match the surrounding light sheet. */
#renewDialog .v20-renew-summary{background:#f7f7f7!important;border-color:#e7e7e7!important}
#renewDialog .v20-renew-summary-label{color:#747474!important}
#renewDialog .v20-renew-summary-item strong,
#renewDialog .v20-renew-summary-item:last-child strong{color:#353535!important}
#renewDialog .v20-renew-arrow{color:#767676!important}
#renewDialog .v21-renew-section-head strong,
#renewDialog .v21-renew-confirm-label{color:#3d3d3d!important}
#renewDialog .v21-renew-section-head span{color:#888888!important}
#renewDialog .v21-renew-preset{color:#555555!important;background:#f3f3f3!important;border-color:#e3e3e3!important}
#renewDialog .v21-renew-preset:hover{color:#5f5f5f!important;background:#eeeeee!important;border-color:#c6c6c6!important}
#renewDialog .v21-renew-preset[aria-pressed="true"],#renewDialog .v21-renew-preset.is-selected{
  color:#ffffff!important;background:#707070!important;border-color:#636363!important;
}
#renewDialog .v21-renew-slide-text{color:#575757!important}
#renewDialog .v21-renew-fill{background:linear-gradient(90deg,#c4c4c4,#acacac)!important;opacity:.68!important}
#renewDialog .v21-renew-handle{color:#ffffff!important;background:linear-gradient(145deg,#7f7f7f,#5d5d5d)!important;box-shadow:0 5px 16px rgba(91, 91, 91, .2)!important}
#renewDialog .npxrenew-expiry>span:first-child{color:#4d4d4d!important}
#renewDialog .v20-renew-header .eyebrow{color:#6a6a6a!important}
#renewDialog .v20-renew-actions .primary{color:#ffffff!important;background:linear-gradient(135deg,#808080,#5d5d5d)!important}
#renewDialog .v20-renew-actions .secondary{color:#585858!important;background:#f4f4f4!important;border-color:#e6e6e6!important}

/* Reseller: nested cards, permissions, icons and input controls. */
#resellerDialog .npxrs-modal-header .eyebrow{color:#6a6a6a!important}
#resellerDialog .npxrs-form-card{background:linear-gradient(145deg,#ffffff,#f8f8f8)!important;border-color:#e5e5e5!important;color:#313131!important}
#resellerDialog .npxrs-form-card-head h4{color:#313131!important}
#resellerDialog .npxrs-form-card-head small,#resellerDialog .npxrs-form-hint,
#resellerDialog .npxrs-permission-note{color:#7d7d7d!important}
#resellerDialog .npxrs-form-icon{color:#686868!important;background:#f1f1f1!important;border-color:#e6e6e6!important}
#resellerDialog .npxrs-form-icon svg{color:#696969!important}
#resellerDialog .npxrs-form-grid .field>span:first-child{color:#4c4c4c!important}
#resellerDialog .npxrs-input{background:#f9f9f9!important;border-color:#e5e5e5!important}
#resellerDialog .npxrs-input>svg{color:#707070!important}
#resellerDialog .npxrs-input input,#resellerDialog .npxrs-input select{
  color:#2e2e2e!important;-webkit-text-fill-color:#2e2e2e!important;background:transparent!important;
}
#resellerDialog .npxrs-visibility{color:#6d6d6d!important;background:#f0f0f0!important}
#resellerDialog .npxrs-date-trigger{color:#444444!important;background:#f7f7f7!important;border-color:#e5e5e5!important}
#resellerDialog .npxrs-permissions label{color:#404040!important;background:#f7f7f7!important;border-color:#e7e7e7!important}
#resellerDialog .npxrs-permissions input{accent-color:#6f6f6f}
#resellerDialog .npxrs-isolation{color:#646464!important;background:#f5f5f5!important;border-color:#e4e4e4!important}
#resellerDialog .npxrs-slide-handle{color:white!important;background:linear-gradient(145deg,#818181,#5c5c5c)!important;box-shadow:0 5px 14px rgba(95, 95, 95, .17)!important}
#resellerDialog .npxrs-slide-fill{background:linear-gradient(90deg,#e2e2e2,#bdbdbd)!important}

/* High readability for dense resource cells on mobile without changing the data model. */
@media(max-width:760px){
 #appView #hostCard .runtime-stat{
   display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
   gap:8px!important;min-height:160px!important;padding:13px!important;
 }
 #appView #hostCard .runtime-stat .runtime-icon{width:34px!important;height:34px!important;flex:none!important;border-radius:12px!important}
 #appView #hostCard .runtime-stat .runtime-copy{display:flex!important;flex-direction:column!important;min-width:0!important;gap:4px!important}
 #appView #hostCard .runtime-stat .runtime-meta{font-size:11px!important;line-height:1.45!important;gap:3px 5px!important}
 #appView #hostCard .runtime-stat .runtime-meta>span{font-size:11px!important;font-weight:750!important}
 #appView #hostCard .runtime-stat .runtime-copy>strong{font-size:18px!important;line-height:1.2!important}
 #appView #hostCard .runtime-stat .runtime-usage{font-size:11px!important;line-height:1.3!important}
 #appView #hostCard .runtime-stat .runtime-meter{margin-top:auto!important;min-height:4px!important}
 #appView #hostCard .runtime-stat .runtime-live{font-size:9px!important}
 #upUserDialog .up-full-section-title h3{font-size:17px!important}
 #upUserDialog .up-full-section-title>span,
 #upUserDialog .up-full-stat span,#upUserDialog .up-full-usage-numbers>div>span,
 #upUserDialog .up-full-info span{font-size:12px!important}
 #upUserDialog .up-full-stat strong{font-size:20px!important}
 #upUserDialog .up-full-usage-numbers strong{font-size:24px!important}
 #upUserDialog .up-full-info strong{font-size:13px!important}
 #upUserDialog .up-full-usage p{font-size:12px!important}
}
@media(max-width:370px){
 #appView #hostCard .runtime-stat{padding:11px!important;min-height:159px!important}
 #appView #hostCard .runtime-stat .runtime-meta>span{font-size:10px!important}
 #appView #hostCard .runtime-stat .runtime-copy>strong{font-size:16px!important}
}


/* Final small-contrast pass in Config and reseller info sheets. */
#configDialog .eyebrow,#resellerManageDialog .eyebrow,#resellerPanelDialog .eyebrow{color:#686868!important;opacity:1!important}
#configDialog .preview-info,#resellerManageDialog .preview-info,#resellerPanelDialog .preview-info{color:#696969!important;background:#f7f7f7!important;border:1px solid #e7e7e7!important;border-radius:14px}
#configDialog .config-code{background:#f5f5f5!important;color:#3e3e3e!important;border:1px solid #e5e5e5!important}
#configDialog .config-field,#configDialog .qr-wrap{background:#f8f8f8!important;border-color:#e7e7e7!important;color:#3d3d3d!important}
#configDialog .config-field span{color:#7c7c7c!important}
#configDialog .config-field code{color:#343434!important}
#resellerManageDialog .sheet p,#resellerPanelDialog .sheet p{color:#777777!important}


/* V32 — typography-only change for both Noto Sans (Latin) and Noto Sans Thai Looped.
   Content, headings, status labels and data: Light 300.
   Buttons, navigation items, and menu controls: Medium 500.
   This legacy single-file preview contains many earlier !important typography rules.
   The specificity below intentionally takes precedence without rewriting legacy CSS.
   Original application scripts and components are unchanged. */
:root {
  --font-thai-ui: "Noto Sans", "Noto Sans Thai Looped", "Noto Sans Thai", "Thonburi", Tahoma, sans-serif;
  --font-regular: 300;
}
html, body,
#appView, #loginView, #loginView .npxgate-wrap,
.sheet-dialog, .confirm-dialog, .npxcal-dialog,
#upUserDialog, .npxresult {
  font-family: var(--font-thai-ui) !important;
}
/* The three guard selectors provide specificity against earlier deeply nested !important rules;
   their IDs are deliberately absent from the document and exclude no real element. */
html body:not(#__npx_v32_weight_guard_a):not(#__npx_v32_weight_guard_b):not(#__npx_v32_weight_guard_c),
body :not(#__npx_v32_weight_guard_a):not(#__npx_v32_weight_guard_b):not(#__npx_v32_weight_guard_c) {
  font-weight: 300 !important;
}
/* Only actionable UI gets Medium 500. Include nested spans/strong/icon labels so
   content inside a button does not accidentally revert to 300. */
body :is(button, button *, input[type="button"], input[type="submit"],
         [role="button"], [role="button"] *,
         [role="menuitem"], [role="menuitem"] *,
         [role="tab"], [role="tab"] *,
         nav a, nav a *,
         .button, .button *, .mini-button, .mini-button *,
         .nav-item, .nav-item *, .mobile-nav-item, .mobile-nav-item *,
         .mobile-create, .mobile-create *):not(#__npx_v32_action_guard_a):not(#__npx_v32_action_guard_b):not(#__npx_v32_action_guard_c):not(#__npx_v32_action_guard_d) {
  font-weight: 500 !important;
}
/* Technical values remain monospaced to prevent copying errors. */
#loginView #loginCardKeyword,
#configDialog .config-code, .config-field code, code, pre, kbd, samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}
/* Keep the existing mobile font-size improvements from the previous revision. */
body :is(p, li, label, input, textarea, select, option) { letter-spacing: normal; }
@media (max-width: 760px) {
  #appView .page-section .section-head p,
  #appView .hero-copy {font-size: max(12px, .75rem) !important; line-height: 1.65;}
}


/* V33 — Strict grayscale, light iOS workspace. All earlier CSS hues normalized.
   Preserve all JS, DOM, card flip, sliders, routing, datepicker and previews.
   Semantics use labels/shapes/icons instead of colored status only. */
:root {
  color-scheme:light;
  --mono-bg:#f6f6f6; --mono-ink:#181818; --mono-muted:#666666;
  --mono-line:#e2e2e2; --mono-surface:#ffffff; --mono-subtle:#f4f4f4;
  --mono-glass:rgba(255,255,255,.85);
  --bg-0:#f6f6f6; --bg-1:#fafafa;
  --panel:rgba(255,255,255,.92); --panel-strong:#fff; --panel-hover:#f2f2f2;
  --text:#1a1a1a; --text-soft:#525252; --muted:#717171;
  --blue:#242424; --blue-soft:#414141; --green:#4a4a4a;
  --orange:#666666; --red:#303030; --purple:#555555;
  --line:#e2e2e2; --line-soft:#ebebeb;
  --shadow:0 12px 32px rgba(0,0,0,.045);
  --inner:inset 0 1px 0 rgba(255,255,255,.8);
}
html,body {background:#f6f6f6!important;color:var(--mono-ink)!important;color-scheme:light!important;}
body {background-image:none!important;}
body .ambient {opacity:0!important;animation:none!important;}
#appView{
  --bg-0:#f6f6f6;--bg-1:#fafafa;--panel:#fff;--panel-strong:#fff;
  --panel-hover:#f1f1f1;--line:#e2e2e2;--line-soft:#ececec;
  --text:#191919;--text-soft:#545454;--muted:#727272;
  --blue:#242424;--blue-soft:#444;--green:#4a4a4a;
  --orange:#666;--red:#333;--purple:#555;
  --shadow:0 12px 34px rgba(0,0,0,.05);
  background:#f6f6f6!important;background-image:none!important;
  color:#181818!important;color-scheme:light!important;
}
body:has(#appView:not([hidden])), html:has(#appView:not([hidden])) {background:#f6f6f6!important;}
#appView .page{color:#181818!important;}
#appView .glass-panel,
#appView .card, #appView .quick-card, #appView .user-card,
#appView .profile-card, #appView .service-card, #appView .audit-card,
#appView .backup-card, #appView .npxrs-card {
  background:#fff!important;background-image:none!important;
  border-color:#e4e4e4!important;
  box-shadow:0 10px 28px rgba(0,0,0,.045),inset 0 1px 0 #fff!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
/* Restrict realtime blur to low-count persistent layers. */
#appView .sidebar.glass-panel,
#appView .topbar.topbar-premium-header,
#appView .mobile-nav.glass-panel{
  background:rgba(255,255,255,.9)!important;
  background-image:none!important;
  border:1px solid rgba(217,217,217,.95)!important;
  box-shadow:0 12px 38px rgba(0,0,0,.065),inset 0 1px 0 #fff!important;
  backdrop-filter:blur(10px) saturate(100%)!important;
  -webkit-backdrop-filter:blur(10px) saturate(100%)!important;
}
#appView .topbar.topbar-premium-header::before,
#appView .oc-overview::before{background:none!important;}
#appView .oc-overview{
  background:#fff!important;background-image:none!important;
  border:1px solid #e2e2e2!important;
  box-shadow:0 14px 38px rgba(0,0,0,.055),inset 0 1px 0 white!important;
}
#appView .sidebar-brand .brand-mark,
#appView .mobile-create,
#appView .button.primary,
#appView .npxrs-primary,
#appView .topbar .button.primary{
  color:#fff!important;
  background:#1d1d1d!important;background-image:none!important;
  border-color:#1d1d1d!important;
  box-shadow:0 7px 17px rgba(0,0,0,.14)!important;
}
#appView .sidebar-brand .brand-mark{transform:none!important;}
#appView .nav-item.active,
#appView .mobile-nav-item.active{
  color:#151515!important;background:#ededed!important;background-image:none!important;
  border-color:#dedede!important;box-shadow:inset 3px 0 0 #222!important;
}
#appView .nav-item:hover,#appView .mobile-nav-item:hover{
  color:#151515!important;background:#f2f2f2!important;
}
#appView .topbar h2,
#appView .oc-overview-heading h3,
#appView .page .section-head h3,
#appView .card h3{color:#181818!important;}
#appView .topbar .eyebrow,#appView .eyebrow,
#appView .oc-brand,#appView .oc-kicker{color:#515151!important;}
#appView .oc-theme-label,#appView .topbar-live-chip,
#appView #apiStatus,#appView .status-pill,
#appView .badge.green,#appView .badge.red,#appView .badge.blue,#appView .badge.orange{
  background:#f2f2f2!important;color:#373737!important;
  border-color:#dedede!important;box-shadow:none!important;
}
#appView #apiStatus span,#appView .status-pill span,
#appView .oc-brand-led,#appView .topbar-live-chip i{
  background:#5e5e5e!important;box-shadow:0 0 0 3px #ededed!important;
}
#appView #hostCard .runtime-stat{
  color:#222!important;background:#fafafa!important;
  border-color:#e5e5e5!important;
}
#appView #hostCard .runtime-meta,
#appView #hostCard .runtime-meta>span,
#appView #hostCard .runtime-usage{color:#666!important;opacity:1!important;}
#appView #hostCard .runtime-copy>strong,
#appView #hostCard .runtime-copy{color:#202020!important;opacity:1!important;}
#appView #hostCard .runtime-icon{
  background:#f0f0f0!important;color:#323232!important;
  border-color:#e5e5e5!important;
}
#appView #hostCard .runtime-icon svg{color:#3e3e3e!important;opacity:1!important;}
#appView #hostCard .runtime-meter{background:#e9e9e9!important;}
#appView #hostCard .runtime-meter>span{
  background:linear-gradient(90deg,#525252,#949494)!important;
}
#appView #hostCard .runtime-stat .runtime-live{
  color:#3d3d3d!important;background:#eeeeee!important;border:1px solid #dcdcdc!important;
}
#appView #hostCard .runtime-stat[data-health="abnormal"] .runtime-live{
  color:#171717!important;background:#d9d9d9!important;border:1px dashed #555!important;
}
#appView #hostCard .runtime-stat[data-health="watch"] .runtime-live{
  color:#292929!important;background:#e3e3e3!important;border:1px dotted #8a8a8a!important;
}
#appView .button.secondary,#appView .button.subtle,
#appView .mini-button,#appView .icon-button.glass-button{
  color:#2c2c2c!important;background:#f6f6f6!important;border-color:#dedede!important;
  box-shadow:none!important;
}
#appView .button.danger,#appView .mini-button.red,#appView #desktopLogout{
  color:#222!important;background:#efefef!important;
  border:1px dashed #777!important;box-shadow:none!important;
}
#appView :is(input,textarea,select,.search-input){accent-color:#333;color:#1e1e1e;}
#appView :is(input,textarea,select,.search-input):focus-visible,
body :is(button,a,input,select,textarea):focus-visible{
  outline:2px solid #484848!important;outline-offset:3px!important;
}
::selection{color:#fff;background:#4b4b4b;}
/* Login: light iOS surface and charcoal card instead of legacy blue. */
#loginView.login-view{
  background:#f6f6f6!important;background-image:none!important;color:#181818!important;
}
#loginView .npxgate-shell{
  background:rgba(255,255,255,.92)!important;background-image:none!important;
  border-color:#e2e2e2!important;
  box-shadow:0 25px 60px rgba(0,0,0,.09),inset 0 1px 0 white!important;
  backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;
}
#loginView .npxgate-card-front{
  background:linear-gradient(128deg,#373737,#151515 72%,#0f0f0f)!important;
  color:#fff!important;border-color:#6c6c6c!important;
  box-shadow:0 16px 34px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.25)!important;
}
#loginView .npxgate-card-back{
  background:linear-gradient(128deg,#2e2e2e,#111 82%)!important;
  color:#fff!important;border-color:#737373!important;
}
#loginView .npxgate-field,
#loginView .npxgate-control{background:#f8f8f8!important;border-color:#e1e1e1!important;}
#loginView .npxgate-label-icon,
#loginView .npxgate-field-icon{background:#f0f0f0!important;color:#454545!important;border-color:#e2e2e2!important;}
#loginView .npxgate-control input,
#loginView .npxgate-field input{color:#242424!important;-webkit-text-fill-color:#242424!important;}
#loginView .npxgate-slide-handle,
#loginView .npxgate-slider-handle{
  color:#fff!important;background:#242424!important;background-image:none!important;
  box-shadow:0 5px 13px rgba(0,0,0,.18)!important;
}
#loginView .npxgate-slide-track,
#loginView .npxgate-slider{background:#efefef!important;border-color:#e0e0e0!important;}
#loginView .npxgate-slide-fill{background:#b9b9b9!important;background-image:none!important;}
/* Modals: eliminate leftover dark surfaces, including nested form cards. */
.sheet-dialog,.confirm-dialog,#upUserDialog,.npxcal-dialog{color-scheme:light!important;color:#1c1c1c!important;}
.sheet-dialog .sheet,.confirm-dialog .confirm-card,
#upUserDialog .up-full-panel,#upUserDialog .up-full-content,
.npxcal-dialog .npxcal-shell{
  color:#202020!important;background:#fff!important;background-image:none!important;
  border-color:#dddddd!important;
  box-shadow:0 22px 64px rgba(0,0,0,.16)!important;
}
:is(#createDialog,#renewDialog,#resellerDialog,#configDialog,#resellerManageDialog,#resellerPanelDialog)
  :is(.npxcreate-panel,.npxcreate-identity,.npxrs-form-card,.v20-renew-summary,.profile-preview,.qr-wrap,.config-field){
  color:#222!important;background:#fafafa!important;background-image:none!important;border-color:#e2e2e2!important;
}
:is(#createDialog,#renewDialog,#resellerDialog)
  :is(.npxcreate-input-shell,.npxrs-input,.npxrs-date-trigger,.v21-renew-preset,.npxslide-confirm,.npxrs-slide-track){
  background:#f3f3f3!important;background-image:none!important;border-color:#dedede!important;
}
:is(#createDialog,#renewDialog,#resellerDialog,#confirmDialog)
  :is(.button.primary,.npxslide-confirm-handle,.v21-renew-handle,.npxrs-slide-handle,.npxconfirm-slide-handle){
  color:#fff!important;background:#252525!important;background-image:none!important;
  border-color:#3b3b3b!important;box-shadow:0 6px 16px rgba(0,0,0,.16)!important;
}
:is(#createDialog,#renewDialog,#resellerDialog)
  :is(.npxslide-confirm-fill,.v21-renew-fill,.npxrs-slide-fill){
  background:#9c9c9c!important;background-image:none!important;
}
:is(#createDialog,#renewDialog,#resellerDialog,#confirmDialog)
  :is(input,select,textarea){accent-color:#333!important;}
/* More exact selectors for legacy sheets with inline importance. */
#createDialog.npxcreate-v18 .npxcreate-sheet,
#renewDialog.v20-renew-dialog .sheet,
#resellerDialog.npxrs-create-dialog .npxrs-create-sheet{background:#fff!important;background-image:none!important;border-color:#dedede!important;}
#createDialog.npxcreate-v18 .npxcreate-panel,
#createDialog.npxcreate-v18 .npxcreate-identity,
#resellerDialog .npxrs-form-card{background:#fafafa!important;background-image:none!important;border-color:#e4e4e4!important;}
#resellerDialog .npxrs-permissions input{accent-color:#2f2f2f!important;}
#npxCalendarDialog :is(.npxcal-selected,.npxcal-day[aria-selected="true"]){background:#242424!important;color:white!important;}
/* Semantic state without chroma. */
body :is(.badge.red,.badge.green,.badge.orange,.badge.blue){border-width:1px!important;}
body .badge.red{border-style:dashed!important;}
body .badge.orange{border-style:dotted!important;}
body .badge.green{border-style:solid!important;}
@media(max-width:760px){
  #appView .sidebar.glass-panel,#appView .topbar.topbar-premium-header,
  #appView .mobile-nav.glass-panel,#loginView .npxgate-shell{
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
  #appView .page{animation-duration:.23s!important;}
}
/* Fine-grained contrast for Light 300 labels: readable without adding weight. */
#appView .quick-card span,#appView .section-head p,#appView .topbar-subtitle,
#appView .oc-stat small,#appView .oc-kicker,
#appView .oc-stat-top>span,#appView .service-meta,
#appView .user-title span,#appView .profile-title span{
  color:#5e5e5e!important;opacity:1!important;
}
#appView .quick-card strong,#appView .oc-stat strong{color:#242424!important;opacity:1!important;}
#appView .quick-card span{font-size:12px!important;line-height:1.6!important;}
#appView .section-head p{font-size:12px!important;line-height:1.65!important;}
#upUserDialog .up-full-header-titles span,
#upUserDialog .up-full-section-title>span,
#upUserDialog .up-full-info span,
#upUserDialog .up-full-usage p{
  color:#606060!important;opacity:1!important;
}
:is(#createDialog,#renewDialog,#resellerDialog,#confirmDialog)
 :is(.npxcreate-subtitle,.npxslide-confirm-note,.v21-renew-section-head span,.npxrs-form-hint,.npxconfirm-hint){
  color:#626262!important;opacity:1!important;
}
@media(prefers-reduced-motion:reduce){
  #appView .page{animation:none!important;}
}


/* V34: restore a single subtle focus treatment rather than the V33 double black ring.
   Keep focus visible on form-field shells for keyboard accessibility. */
#loginView .npxgate-field input:focus-visible,
#loginView .npxgate-control input:focus-visible,
#loginView .npxgate-field-compact input:focus-visible,
#createDialog .npxcreate-input-shell input:focus-visible,
#resellerDialog .npxrs-input input:focus-visible,
#renewDialog .field input:focus-visible,
.sheet-dialog .field input:focus-visible,
.sheet-dialog .field select:focus-visible,
#appView .field input:focus-visible,
#appView .search-input:focus-visible {
  outline:none!important;
  outline-offset:0!important;
  box-shadow:none!important;
}
#loginView .npxgate-field:focus-within,
#loginView .npxgate-control:focus-within,
#loginView .npxgate-field-compact:focus-within,
#createDialog.npxcreate-v18 .npxcreate-input-shell:focus-within,
#resellerDialog .npxrs-input:focus-within {
  outline:0!important;
  border-color:#cbcbcb!important;
  box-shadow:0 0 0 3px rgba(0,0,0,.055)!important;
}
/* Standalone form fields keep a soft, accessible focus indication. */
#appView .field input:focus,
#appView .search-input:focus,
.sheet-dialog .field input:focus,
.sheet-dialog .field select:focus {
  border-color:#bcbcbc!important;
  box-shadow:0 0 0 3px rgba(0,0,0,.055)!important;
}
/* Restore compact two-column resource grid on phones; retain all four metrics. */
@media (max-width:760px) {
  #appView #hostCard {padding:15px!important;border-radius:22px!important;}
  #appView #hostCard .user-head {gap:7px!important;}
  #appView #hostCard .runtime-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;margin-top:10px!important;
  }
  #appView #hostCard .runtime-stat {
    display:grid!important;
    grid-template-columns:28px minmax(0,1fr)!important;
    align-items:center!important;
    justify-content:initial!important;
    gap:7px!important;
    min-height:100px!important;
    padding:9px!important;
    border-radius:14px!important;
  }
  #appView #hostCard .runtime-icon {
    width:28px!important;height:28px!important;
    border-radius:9px!important;
    align-self:start!important;
  }
  #appView #hostCard .runtime-icon svg {width:16px!important;height:16px!important;}
  #appView #hostCard .runtime-copy {gap:2px!important;min-width:0!important;}
  #appView #hostCard .runtime-meta {
    display:flex!important;flex-wrap:wrap!important;
    align-items:center!important;justify-content:flex-start!important;
    gap:3px 5px!important;margin-bottom:2px!important;
    line-height:1.25!important;letter-spacing:0!important;
  }
  #appView #hostCard .runtime-stat .runtime-meta>span:first-child {font-size:10px!important;}
  #appView #hostCard .runtime-stat .runtime-live {
    font-size:8px!important;line-height:1.2!important;
    min-height:17px!important;padding:2px 5px!important;
  }
  #appView #hostCard .runtime-stat .runtime-copy>strong {
    font-size:15px!important;line-height:1.25!important;
    margin:0!important;
  }
  #appView #hostCard .runtime-stat .runtime-usage {font-size:9px!important;line-height:1.25!important;}
  #appView #hostCard .runtime-stat .runtime-meter {
    width:100%!important;height:3px!important;min-height:3px!important;
    margin-top:5px!important;
  }
}
@media(max-width:360px){
  #appView #hostCard {padding:12px!important;}
  #appView #hostCard .runtime-stat {padding:8px!important;gap:6px!important;min-height:98px!important;}
  #appView #hostCard .runtime-stat .runtime-copy>strong {font-size:14px!important;}
}


/* =========================================================
   V35 — menu polish, iOS-like nav icons, input cleanup
   ========================================================= */

/* shared nav polish */
#appView #desktopNav .nav-item,
#appView #mobileNav .mobile-nav-item,
#appView #desktopLogout {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .16s ease, box-shadow .18s ease !important;
}

#appView #desktopNav .nav-item {
  min-height: 62px !important;
  padding: 0 14px !important;
  gap: 12px !important;
  border-radius: 20px !important;
  color: #5d5d5d !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}
#appView #desktopNav .nav-item:hover {
  color: #151515 !important;
  background: rgba(0, 0, 0, .035) !important;
  border-color: rgba(0, 0, 0, .06) !important;
}
#appView #desktopNav .nav-item.active {
  color: #111111 !important;
  background: linear-gradient(180deg, rgba(0,0,0,.055), rgba(0,0,0,.028)) !important;
  border-color: rgba(0, 0, 0, .10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 8px 20px rgba(0,0,0,.045) !important;
}
#appView #desktopNav .nav-item::before,
#appView #desktopNav .nav-item::after,
#appView #desktopNav .nav-glyph::before,
#appView #desktopNav .nav-glyph::after,
#appView #desktopNav .nav-glyph-premium::before,
#appView #desktopNav .nav-glyph-premium::after {
  display: none !important;
  content: none !important;
}
#appView #desktopNav .nav-glyph,
#appView #desktopNav .nav-glyph-premium,
#desktopLogout .nav-glyph,
#desktopLogout .nav-glyph-ios {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 15px !important;
  border: 1px solid rgba(0, 0, 0, .08) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(236,236,236,.96)) !important;
  color: #5b5b5b !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 5px 14px rgba(0,0,0,.05) !important;
}
#appView #desktopNav .nav-item.active .nav-glyph,
#appView #desktopNav .nav-item.active .nav-glyph-premium,
#desktopLogout:hover .nav-glyph,
#desktopLogout:hover .nav-glyph-ios {
  color: #101010 !important;
  border-color: rgba(0, 0, 0, .12) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(224,224,224,.98)) !important;
}
#appView #desktopNav .nav-item > span:last-child,
#desktopLogout > span:last-child {
  display: inline-flex !important;
  align-items: center !important;
  min-width: 0 !important;
  font-size: 16px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  text-transform: none !important;
}
#desktopLogout {
  gap: 12px !important;
  justify-content: flex-start !important;
  min-height: 58px !important;
  border-radius: 18px !important;
  background: rgba(0, 0, 0, .035) !important;
  border: 1px solid rgba(0,0,0,.06) !important;
  color: #212121 !important;
}

/* mobile nav polish */
#appView #mobileNav {
  left: 10px !important;
  right: 10px !important;
  bottom: max(10px, env(safe-area-inset-bottom)) !important;
  height: 76px !important;
  padding: 7px 8px !important;
  border-radius: 25px !important;
  border: 1px solid rgba(0, 0, 0, .08) !important;
  background: rgba(247,247,247,.94) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.86) !important;
  backdrop-filter: blur(16px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.05) !important;
}
#appView #mobileNav .mobile-nav-item,
#appView #mobileNav .mobile-create {
  min-height: 58px !important;
  padding: 6px 2px !important;
  gap: 6px !important;
  border: 1px solid transparent !important;
  border-radius: 18px !important;
  background: transparent !important;
  color: #797979 !important;
  box-shadow: none !important;
  transform: none !important;
}
#appView #mobileNav .mobile-nav-item:hover,
#appView #mobileNav .mobile-nav-item:focus-visible {
  background: rgba(0, 0, 0, .035) !important;
  border-color: rgba(0,0,0,.05) !important;
  color: #232323 !important;
}
#appView #mobileNav .mobile-nav-item.active {
  background: linear-gradient(180deg, rgba(0,0,0,.065), rgba(0,0,0,.035)) !important;
  border-color: rgba(0,0,0,.085) !important;
  color: #111111 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72) !important;
}
#appView #mobileNav .mobile-nav-item svg,
#appView #mobileNav .mobile-create svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 1.72 !important;
}
#appView #mobileNav .mobile-nav-glyph,
#appView #mobileNav .mobile-create-glyph {
  width: 30px !important;
  height: 30px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 11px !important;
  background: rgba(255,255,255,.58) !important;
  border: 1px solid rgba(0,0,0,.07) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92) !important;
}
#appView #mobileNav .mobile-nav-item.active .mobile-nav-glyph {
  background: rgba(17,17,17,.96) !important;
  color: #ffffff !important;
  border-color: rgba(17,17,17,.96) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.12) !important;
}
#appView #mobileNav .mobile-nav-item span:last-child,
#appView #mobileNav .mobile-create span:last-child {
  display: block !important;
  min-height: 12px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
#appView #mobileNav .mobile-create {
  width: 56px !important;
  height: 56px !important;
  min-height: 56px !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #181818, #0d0d0d) !important;
  border-color: rgba(0,0,0,.72) !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 14px 24px rgba(0,0,0,.14) !important;
}
#appView #mobileNav .mobile-create .mobile-create-glyph {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
}

/* cleaner form fields — remove inner border / inset frame */
#loginView .npxgate-field,
#loginView .npxgate-control,
#appView .field,
.sheet-dialog .field,
.sheet-dialog .npxcreate-input-shell,
.sheet-dialog .reseller-panel-search,
.sheet-dialog .reseller-panel-form-grid .field,
.sheet-dialog .reseller-panel-form-grid > div {
  box-shadow: none !important;
}
#loginView .npxgate-control,
.sheet-dialog .npxcreate-input-shell,
.sheet-dialog .reseller-panel-search,
.sheet-dialog .reseller-panel-form-grid .field,
.sheet-dialog .reseller-panel-form-grid > div {
  border-radius: 16px !important;
  border: 1px solid rgba(125,125,125,.18) !important;
  background: rgba(255,255,255,.88) !important;
}
#loginView .npxgate-field {
  border-radius: 18px !important;
  background: rgba(255,255,255,.84) !important;
  border: 1px solid rgba(125,125,125,.18) !important;
}
#loginView .npxgate-field:focus-within,
.sheet-dialog .npxcreate-input-shell:focus-within,
.sheet-dialog .reseller-panel-search:focus-within,
.sheet-dialog .reseller-panel-form-grid .field:focus-within,
.sheet-dialog .reseller-panel-form-grid > div:focus-within {
  border-color: rgba(35,35,35,.18) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 4px rgba(0,0,0,.035) !important;
}
#loginView .npxgate-field input,
#loginView .npxgate-control input,
#appView .field input,
#appView .field select,
.sheet-dialog input,
.sheet-dialog select,
.sheet-dialog textarea,
.sheet-dialog .npxcreate-input-shell > input,
.sheet-dialog .npxcreate-input-shell > select,
.sheet-dialog .reseller-panel-search input,
.sheet-dialog .reseller-panel-form-grid input,
.sheet-dialog .reseller-panel-form-grid select {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
#loginView .npxgate-field input:focus,
#loginView .npxgate-control input:focus,
#appView .field input:focus,
#appView .field select:focus,
.sheet-dialog input:focus,
.sheet-dialog select:focus,
.sheet-dialog textarea:focus,
.sheet-dialog .npxcreate-input-shell > input:focus,
.sheet-dialog .npxcreate-input-shell > select:focus {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
#loginView .npxgate-field input::placeholder,
#appView .field input::placeholder,
.sheet-dialog input::placeholder,
.sheet-dialog textarea::placeholder {
  color: rgba(112,112,112,.78) !important;
}

/* slightly prettier runtime block on mobile without oversized height */
@media (max-width: 768px) {
  #appView #hostCard {
    padding: 14px !important;
    border-radius: 24px !important;
  }
  #appView #hostCard .runtime-grid {
    gap: 10px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #appView #hostCard .runtime-stat {
    min-height: 120px !important;
    padding: 12px !important;
    border-radius: 18px !important;
    gap: 8px !important;
    align-content: start !important;
  }
  #appView #hostCard .runtime-stat.runtime-cpu,
  #appView #hostCard .runtime-stat.runtime-ram,
  #appView #hostCard .runtime-stat.runtime-ssd,
  #appView #hostCard .runtime-stat.runtime-uptime {
    min-height: 120px !important;
  }
  #appView #hostCard .runtime-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 14px !important;
  }
  #appView #hostCard .runtime-copy > strong {
    font-size: 13px !important;
    line-height: 1.18 !important;
  }
  #appView #hostCard .runtime-copy > span,
  #appView #hostCard .runtime-usage,
  #appView #hostCard .runtime-meta,
  #appView #hostCard .runtime-live {
    font-size: 9px !important;
    line-height: 1.22 !important;
  }
  #appView #hostCard .runtime-meter {
    height: 3px !important;
    min-height: 3px !important;
    margin-top: 3px !important;
  }
}
@media (max-width: 390px) {
  #appView #hostCard { padding: 12px !important; }
  #appView #hostCard .runtime-grid { gap: 9px !important; }
  #appView #hostCard .runtime-stat {
    min-height: 112px !important;
    padding: 10px !important;
    gap: 7px !important;
  }
  #appView #hostCard .runtime-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 12px !important;
  }
  #appView #hostCard .runtime-copy > strong { font-size: 12px !important; }
}
