/* 1DG Neon V3: authenticated UI only. No auth, routing, or API changes. */
#appView{--bg:#070c23;--card:#0b1430;--ink:#f5f8ff;--muted:#a9bde1;--line:#2d4d91;--blue:#14b9ff;--blue2:#8b32fa;--navy:#080f29;--shadow:0 12px 36px #0006;color:#f5f8ff;background:radial-gradient(ellipse at 85% 90%,#390c65a8,transparent 34%),radial-gradient(ellipse at 13% 36%,#003c6c70,transparent 42%),#070c23}
#appView .main,#appView .content,#appView .page{background:transparent;color:#f5f8ff}
#appView .sidebar{background:linear-gradient(170deg,#08152e,#080b20 75%)!important;border-right:1px solid #3177dd!important;box-shadow:inset -2px 0 #3c20a866,0 0 16px #0965ff3b!important}
#appView .sidebar .brand-name,#appView .sidebar .nav-btn{color:#e8f1ff}
#appView .sidebar .brand-sub{color:#9fb8dc}
#appView .sidebar .brand-mark{background:linear-gradient(125deg,#168dff,#4d68ff);box-shadow:0 0 16px #138aff7d}
#appView .sidebar .nav-btn.active{background:linear-gradient(95deg,#12325f,#1c0d52)!important;color:#75caff!important;border:1px solid #2b92fc!important;box-shadow:inset 3px 0 #19c8ff,0 0 14px #158bff50,0 0 7px #a324ff33!important}
#appView .sidebar .nav-btn:hover{background:#13264a;color:#fff}
#appView .sidebar .nav-sep{background:#284071}
#appView .sidebar .server-badge{background:#062c34;border:1px solid #136d7d;border-radius:10px;color:#2af5c0}
#appView .sidebar-bottom .btn{background:#0b1737!important;border:1px solid #2d60b0!important;color:#edf4ff!important}
#appView .topbar{background:#080f29ee!important;border-bottom:1px solid #284a8d!important;color:#f7f9ff;box-shadow:0 3px 20px #05092355}
#appView .topbar h1,#appView h1,#appView h2,#appView h3,#appView h4{color:#fff}
#appView .topbar .muted,#appView .muted,#appView .small,#appView .section-head p{color:#b3c4e6!important}
#appView .wallet-chip,#appView .user-chip,#appView .icon-btn,#appView .lang-switch{background:#0b1635!important;color:#eaf2ff!important;border:1px solid #315393!important;box-shadow:inset 0 1px #7995ff18!important}
#appView .wallet-chip strong{color:#57c8ff!important}
#appView .wallet-chip span,#appView .user-chip small{color:#b0c1e2!important}
#appView .user-chip>span{background:linear-gradient(140deg,#156eea,#6425df)!important;color:#fff!important}
#appView .lang-switch{border-color:#0bbdff!important;box-shadow:0 0 12px #06b7ff66!important}
#appView .card,#appView .stat-card,#appView .credit-quote,#appView .deposit-current{background:linear-gradient(145deg,#0c1736,#0b102b 80%)!important;border:1px solid #3159aa!important;color:#edf4ff!important;box-shadow:inset 0 1px #8cc8ff14,0 9px 28px #02071e75!important}
#appView #page-order .order-grid>.card:first-child{border-color:#0bc6ff!important;box-shadow:0 0 0 1px #11cfff44,0 0 22px #068dff27,0 15px 32px #02071e88!important}
#appView #page-order .service-detail-card{position:relative;overflow:hidden;border-color:#9c30ff!important;box-shadow:0 0 0 1px #8a2fff25,0 0 22px #aa24f12c,0 12px 35px #03071f99!important;background:radial-gradient(ellipse at 85% 83%,#2c0d5877,transparent 55%),linear-gradient(145deg,#0c1736,#0b102b 80%)!important}
#appView .card h2,#appView .card h3,#appView .card label,#appView .card strong{color:#f8faff}
#appView .card p,#appView .card small,#appView .detail-info,#appView #detailInfo,#appView .detail-meta{color:#b7c9e9!important}
#appView .detail-id,#appView .detail-id b,#appView .count-badge{color:#6ecaff!important}
#appView .detail-meta{font-weight:650}
#appView input:not([type=checkbox]):not([type=radio]),#appView select,#appView textarea{background:#0c1a3d!important;border:1px solid #345ca2!important;color:#f7faff!important;box-shadow:inset 0 1px 3px #030a1d88!important}
#appView input::placeholder,#appView textarea::placeholder{color:#a7bde2!important;opacity:1}
#appView input:focus,#appView select:focus,#appView textarea:focus{border-color:#26c8ff!important;outline:none!important;box-shadow:0 0 0 2px #1dbeff33,0 0 12px #8c2bff33!important}
#appView option,#appView optgroup{background:#0d1837;color:#f7faff}
#appView input[type=checkbox],#appView input[type=radio]{accent-color:#19bfff}
#appView .quote-badge,#appView #quoteBadge{background:#102b59!important;color:#68cfff!important;border:1px solid #2d69bc!important;box-shadow:0 0 15px #149fff30!important}
#appView .btn.primary,#appView button.primary{background:linear-gradient(100deg,#119ff7 0%,#5758f0 52%,#c500df 100%)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 6px 18px #641ad650!important}
#appView .btn.secondary,#appView .btn.ghost,#appView .btn.success,#appView .btn.danger{background:#152449!important;border:1px solid #3c62a1!important;color:#e5efff!important}
#appView .btn:disabled,#appView button:disabled{opacity:.62}
#appView .field-note,#appView .advanced-box,#appView .summary-box,#appView .status-line,#appView .modal-pre,#appView .safety-box,#appView .warning-box,#appView .order-quick-empty{background:#101d42!important;border:1px solid #30518f!important;color:#c8dcff!important;box-shadow:none!important}
#appView #orderAdvanced.schedule-reference{background:linear-gradient(145deg,#101d42,#0b1533)!important;border:1px solid #345eab!important;color:#e9f3ff!important}
#appView #orderAdvanced.schedule-reference>summary{background:#142650!important;color:#f1f6ff!important;border-bottom:1px solid #2c4e89!important}
#appView #orderAdvanced .schedule-layout,#appView #orderAdvanced .schedule-fields{background:transparent!important;color:#e7f0ff!important}
#appView #orderAdvanced .schedule-check,#appView #orderAdvanced .check{background:#101f42!important;color:#d9eaff!important;border:1px solid #294b85!important}
#appView #orderAdvanced .schedule-check input{accent-color:#16c4ff}
#appView #orderSummary,#appView #orderSummary.r63-checkout{background:#0d1938!important;color:#eef4ff!important;border:1px solid #3764b5!important;box-shadow:inset 0 1px #5a92ef1a,0 0 15px #0b8fff16!important}
/* Checkout: override the original r63-checkout.css light palette for every nested cell. */
#appView #orderSummary .r63-heading{background:#17254c!important;border-bottom:1px solid #34558f!important;color:#f2f7ff!important}
#appView #orderSummary .r63-heading-icon{background:#153c6a!important;color:#7ed9ff!important}
#appView #orderSummary .r63-title{color:#fff!important}
#appView #orderSummary .r63-meta{color:#b5c8e8!important}
#appView #orderSummary .r63-badge{background:#063e39!important;border:1px solid #0a9f83!important;color:#5ff4c5!important}
#appView #orderSummary .r63-three{background:#0d1938!important}
#appView #orderSummary .r63-cell{background:transparent!important}
#appView #orderSummary .r63-label{color:#b5c8e8!important}
#appView #orderSummary .r63-number{color:#fff!important}
#appView #orderSummary .r63-discount .r63-label,#appView #orderSummary .r63-discount .r63-number{color:#31e6a8!important}
#appView #orderSummary .r63-total{background:linear-gradient(130deg,#123464,#182450)!important;border:1px solid #3388df!important;box-shadow:inset 0 1px #6cc6ff22,0 0 15px #137aff20!important}
#appView #orderSummary .r63-total .r63-label{color:#9fd8ff!important}
#appView #orderSummary .r63-total .r63-number{color:#5cc9ff!important}
#appView #orderSummary .r63-note{color:#f2c878!important}
#appView #orderSummary .r63-plain{background:#0e1d43!important;color:#f5f8ff!important}
#appView #orderSummary .r63-plain-label{color:#b5c8e8!important}
#appView #orderSummary .r63-plain-price{color:#62c9ff!important}
#appView .order-quick-results{background:#0d1b3d!important;border:1px solid #3d70b9!important}
#appView .order-quick-item{background:#0e1a3b!important;color:#edf4ff!important;border-color:#2c4d85!important}
#appView .order-quick-item:hover,#appView .order-quick-item:focus{background:#173365!important}
#appView .order-quick-item small{color:#a9bfe2!important}
#appView .table-wrap,#appView .responsive-table{background:#0e1837!important;border-color:#315492!important;color:#f1f5ff!important}
#appView table,#appView .table-wrap table{background:#0e1837!important;color:#f1f5ff!important}
#appView th,#appView thead{background:#162850!important;color:#8fd7ff!important;border-color:#2e518d!important}
#appView td,#appView tr{border-color:#283f72!important;color:#dceaff!important}
#appView tbody tr:nth-child(even){background:#16244870!important}
#appView tbody tr:hover{background:#1b396770!important}
#appView .status.green{background:#073d37!important;color:#62f2c4!important}
#appView .status.orange{background:#513016!important;color:#ffd080!important}
#appView .status.red{background:#511b35!important;color:#ffa1b7!important}
#appView .status.blue{background:#123a68!important;color:#a1dbff!important}
#appView .status.gray{background:#27324f!important;color:#d2def1!important}
#appView .announcement-stack>*{background:linear-gradient(100deg,#092b3b,#0c1a3e)!important;border:1px solid #12b5d8!important;color:#c7f8f4!important;box-shadow:0 0 14px #00cfff19!important}
#appView .announcement-stack>* *{color:inherit}
#appView #page-order .r558-welcome{background:radial-gradient(ellipse at 100% 0%,#33136b80,transparent 40%),linear-gradient(120deg,#0b1735,#0d1331)!important;border:1px solid #18c6ff!important;color:#f3f8ff!important;box-shadow:0 0 0 1px #9b22ff44,0 0 18px #138aff33,0 0 18px #a522ff24!important}
#appView #page-order .r558-welcome h2{color:#fff!important}
#appView #page-order .r558-welcome p,#appView #page-order .r558-eyebrow{color:#bdd1f1!important}
#appView #page-order .r558-wallet{background:#11214b!important;border:1px solid #345fa8!important;color:#e8f3ff!important}
#appView #page-order .r558-wallet *{color:#e8f3ff!important}
#appView #page-order .r558-discount{background:#063b3a!important;border:1px solid #09aa88!important;color:#50f3bb!important}
#appView #page-order .r558-discount *{color:#50f3bb!important}
/* Activity toast lives outside #appView in some versions: scope by authenticated body state via :has(). */
body:has(#appView:not(.hidden)) .activity-toast{background:linear-gradient(115deg,#0c234b,#17103b)!important;border:1px solid #28bfff!important;color:#eaf3ff!important;box-shadow:0 0 18px #0d8fff35,0 0 12px #a22dff26,0 18px 38px #02071d99!important}
body:has(#appView:not(.hidden)) .activity-toast b{color:#f6f9ff!important}
body:has(#appView:not(.hidden)) .activity-toast small{color:#b2c8e8!important}
body:has(#appView:not(.hidden)) .activity-toast-icon{background:linear-gradient(130deg,#1169d7,#6623db)!important;color:#fff!important}
body:has(#appView:not(.hidden)) .modal{background:#101b3d!important;color:#f1f7ff!important;border:1px solid #3c68b1!important}
body:has(#appView:not(.hidden)) .modal h3{color:#fff!important}
body:has(#appView:not(.hidden)) .modal-pre{background:#0d1836!important;color:#e8f2ff!important;border-color:#345b9c!important}
body:has(#appView:not(.hidden)) .toast{background:#14244c!important;color:#f4f8ff!important;border:1px solid #3b67a9!important}
#appView a{color:#78d1ff}
#appView ::-webkit-scrollbar{width:9px;height:9px}
#appView ::-webkit-scrollbar-thumb{background:#35538e;border-radius:10px}
@media(max-width:900px){#appView .responsive-table tbody tr{background:#101d3d!important;border-color:#35588e!important}#appView .responsive-table tbody td{border-color:#2a487e!important}#appView .responsive-table tbody td::before{color:#8fd4ff!important}}
@media(max-width:760px){#appView .card{box-shadow:0 5px 20px #0005!important}}
@media(prefers-reduced-motion:no-preference){#appView .nav-btn,#appView .card,#appView input,#appView select,#appView textarea{transition:border-color .15s,box-shadow .15s,background-color .15s}}


/* FIX: payment request summary cards only (four white fields) */
#appView .deposit-current .payment-summary > span {
  background: #101d42 !important;
  border: 1px solid #345ca2 !important;
  color: #f5f8ff !important;
}
#appView .deposit-current .payment-summary > span > small {
  color: #b8c9e8 !important;
}
#appView .deposit-current .payment-summary > span > b {
  color: #f5f8ff !important;
}
#appView .deposit-current .payment-summary > span > strong {
  color: #62c9ff !important;
}
