/* SES Horizon 3D · Light visual layer only · no data/security changes */
:root{
 --ses-blue:#0e69b0;--ses-blue-dark:#103c78;--ses-blue-light:#e7f4ff;
 --ses-gold:#f5b82e;--ses-gold-dark:#b97905;--ses-gold-light:#fff1c7;
 --ses-deep:#082d58;--ses-navy:#082d58;--bg-main:#eaf5ff;
 --bg-card:#ffffff;--text-dark:#102e50;--text-muted:#45617c;
 --border-light:#bfd8ee;--green:#0d7d53;--red:#c13e3e;
 --shadow:0 14px 28px #123c711e,0 3px 6px #ffffffbb;
 color-scheme:light
}
html,body{color:#102e50!important;background:#edf6ff!important}
body{background:linear-gradient(150deg,#eff8fff0 0%,#e9f4ffd9 57%,#f6fbfff0 100%),url('ses-solar-sunset.jpg') center / cover fixed no-repeat!important}
#appShell,#sesWebRoot,.ses-workspace{background:transparent!important;color:#102e50!important}
#sesWebRoot{isolation:isolate}
.ses-sidebar{background:linear-gradient(165deg,#f8fcffef,#e7f3fffa 60%,#f7fbffff)!important;color:#123c72!important;border-left:2px solid #e6b64e!important;box-shadow:-10px 0 36px #113d6928!important}
.ses-brand{background:linear-gradient(145deg,#ffffff,#eaf4ff)!important;border-bottom:1px solid #c7dcec!important}
.ses-brand strong{color:#0d4a91!important}.ses-brand small{color:#ad7a13!important}
.ses-brand img{background:#fff!important;filter:drop-shadow(0 5px 5px #174d8b23)!important}
.ses-nav-label{color:#6b83a2!important}
.ses-nav button{color:#103e79!important;font-weight:850!important}
.ses-nav button svg{color:#0c559e!important}
.ses-nav button:hover{background:#d9ebff!important}
.ses-nav button.active{background:linear-gradient(135deg,#f8c856,#e9a820)!important;color:#173653!important;border:1px solid #d49a1b!important;box-shadow:inset 0 2px 2px #ffecb9,0 8px 17px #a077292b!important}
.ses-nav button.active svg{color:#103a70!important}
.ses-side-foot{background:linear-gradient(150deg,#e4f2ff,#f4f9ff)!important;color:#405b7f!important;border-top:1px solid #b8d0e9!important}
.ses-side-foot strong{color:#0c4383!important}.ses-side-foot button{background:#fff!important;color:#0f4584!important;border:1px solid #c1d5e9!important}
#sesWebRoot .top-header{background:linear-gradient(120deg,#ffffffed,#edf7fff2)!important;border-bottom:2px solid #eaba47!important;box-shadow:0 8px 22px #1e548923!important}
#sesWebRoot #currentUserBadge{background:linear-gradient(135deg,#fff,#e4f2ff)!important;border:1px solid #bcd6f2!important;color:#0c3c77!important;box-shadow:0 3px 8px #184a7717!important}
#sesWebRoot .top-header #syncStatus{background:#d9f7e6!important;color:#07673f!important}
.ses-top-picker label,.ses-location{color:#164b82!important}
#sesWebProjectSelect,.ses-menu-toggle{background:linear-gradient(135deg,#ffffff,#e9f3ff)!important;border:1px solid #a9c9e9!important;color:#13477a!important;box-shadow:0 3px 7px #1d59871c!important}
.ses-page-head{background:linear-gradient(95deg,#114a78ad,#13588b86),url('ses-solar-sunset.jpg') center 41% / cover no-repeat!important;min-height:190px!important;border-bottom:3px solid #edbb51!important}
.ses-page-head .ses-head-kicker{color:#ffe29a!important}.ses-page-head h1{color:#fff!important;text-shadow:0 2px 10px #0a305d6c}.ses-page-head p{color:#fff5e2!important;text-shadow:0 1px 4px #052b5490}
#sesWebRoot main.container{background:linear-gradient(120deg,#eff7ffb0,#f7fbffba)!important;backdrop-filter:blur(3px);border-inline:1px solid #ffffff9c}
.ses-section-intro h2,#sesWebRoot .card-title,.ses-web-card h3{color:#10447f!important}
.ses-section-intro p,.ses-web-card p,.ses-web-card small{color:#496989!important}
.ses-section-intro .ses-tag{color:#815208!important;background:#fff4d8!important;border:1px solid #e2ba65!important}
#sesWebRoot :is(.card,.custody-banner,.profit-hero,.ses-web-card,.ses-mini-task,.ses-action-card,.ses-kpi,.ses-fact,.mini-stat,.v8-line,.team-person,.exp-item){
 background:linear-gradient(145deg,#fffffffa,#eef5ffef)!important;color:#103657!important;
 border:1px solid #c4d9ee!important;border-radius:19px!important;
 box-shadow:inset 0 2px 0 #fff,0 13px 30px #154f8522,0 3px 7px #194b7610!important
}
#sesWebRoot .dashboard-welcome{background:linear-gradient(92deg,#0a4876a1,#154b7791),url('ses-solar-sunset.jpg') center/cover no-repeat!important;border:2px solid #f2c560!important;box-shadow:0 12px 28px #1c497b35!important}
#sesWebRoot .dashboard-welcome :is(h2,h3,strong,p){color:#fff!important;text-shadow:0 2px 6px #03234475}
#sesWebRoot .profit-hero{background:linear-gradient(145deg,#fff8e7,#f0f7ff)!important;border-right:4px solid #e7b74b!important}
#sesWebRoot .profit-hero :is(h2,h3,.title){color:#17457a!important}
.ses-kpi small,.ses-kpi i{color:#486889!important}.ses-kpi strong{color:#123f83!important}
.ses-kpi.gold,.ses-kpi.green{background:linear-gradient(140deg,#fffef8,#edf7ff)!important}
.ses-kpi.gold strong{color:#a96c00!important}.ses-kpi.green strong{color:#087044!important}
.ses-action-card strong,#sesWebRoot .v8-line b,#sesWebRoot .exp-item strong{color:#103b70!important}
#sesWebRoot :is(.v8-line small,.exp-item small,.microcopy,.spec-mini,.v8-muted,.staff-lbl,.photo-help,.spec-detail-row span,.grid-3-money small,.team-person small,.v84-tile small,.spec-quick small){color:#4f6785!important;opacity:1!important}
#sesWebRoot :is(.permission-panel,.spec-create-box,.spec-form-section,.v8-quick-box,.spec-details,.spec-quick>div,.spec-feed-item,.grid-3-money>div,.staff-box,.custody-cell,.kpi-box,.v84-tile,.camera-zone,.pin-display,.permission-option,.assignment-option,.spec-detail-row){background:linear-gradient(140deg,#fff,#edf6ff)!important;color:#12385c!important;border:1px solid #b6d3ef!important}
#sesWebRoot :is(.spec-alert,.spec-approved,.spec-consent,.staff-val,.spec-quick strong,.spec-detail-row strong,.grid-3-money strong,.v84-tile label){color:#173f70!important}
#sesWebRoot :is(.spec-form-section h4,.spec-section h4,.spec-top strong,.spec-feed-item .rowline strong,.spec-details summary){color:#13549a!important}
#sesWebRoot .form-control{background:#fff!important;color:#113f76!important;border:1.5px solid #9cbce1!important;font-size:15px!important}
#sesWebRoot .form-control::placeholder{color:#5d7591!important}
#sesWebRoot .form-label{color:#194979!important}
#sesWebRoot :is(.form-control,textarea,select):focus-visible{outline:3px solid #e8ac31!important;outline-offset:2px!important}
#sesWebRoot .select-chip{background:linear-gradient(135deg,#fff,#e6f2ff)!important;color:#0f4281!important;border:2px solid #a9c4e2!important;font-weight:900!important}
#sesWebRoot .select-chip.active{background:linear-gradient(135deg,#fff0be,#f4c35c)!important;color:#2a3650!important;border-color:#c48c21!important;box-shadow:inset 0 2px 0 #fff2c7!important}
#sesWebRoot :is(.btn-pill.gold,.btn-pill.blue,.btn-submit,.ses-phase-action,.ses-action-card button,.ses-mini-task button,.ses-notify-quick){background:linear-gradient(155deg,#ffe08e,#efb62e)!important;border:1px solid #c98d11!important;color:#263754!important;font-weight:900!important;box-shadow:inset 0 2px 0 #fff1bf,0 5px 10px #906a292b!important}
#sesWebRoot .btn-pill.danger{background:#fff1ed!important;color:#a42b26!important;border:1px solid #e5a6a0!important}
#sesWebRoot .btn-pill:not(.blue):not(.gold):not(.danger){background:linear-gradient(#fff,#eef5ff)!important;color:#134a82!important;border:1px solid #a8c8e5!important}
#sesWebRoot .ses-phase-item{background:#fff!important;border:1px solid #b9d7f1!important;color:#154470!important}
#sesWebRoot .ses-phase-content strong{color:#103f78!important}
#sesWebRoot .ses-phase-content small,#sesWebRoot .ses-stage-time{color:#496c90!important}
#sesWebRoot .ses-phase-item.done{background:#e8fff3!important;border-color:#8fceae!important}
#sesWebRoot .ses-phase-item.rejected{background:#fff3ee!important;border-color:#d8aa87!important}
#sesWebRoot :is(.project-view-switch,.mode-switcher){background:#eaf4ff!important;border:1px solid #bdd3ed!important}
#sesWebRoot :is(.project-view-btn,.mode-btn){color:#104b87!important}
#sesWebRoot :is(.project-view-btn.active,.mode-btn.active-admin,.mode-btn.active-tech){background:#f5cb71!important;color:#213c59!important}
#sesWebRoot :is(.badge-blue,.badge-gold){background:#fff0cb!important;color:#815708!important;border:1px solid #e4bf62!important}
#sesWebRoot .badge-green{background:#dff7e9!important;color:#096842!important;border:1px solid #8cccaa!important}
#sesWebRoot :is(.icon-btn,.btn-cam.gallery){background:#eff7ff!important;color:#0e4e8e!important;border:1px solid #a9cee9!important}
#sesWebRoot .proj-chip:not(.active){background:#f3f9ff!important;border-color:#b5cfe9!important}
#sesWebRoot .proj-chip:not(.active) :is(.proj-chip-name,.proj-chip-staff,.proj-chip-custody){color:#18436e!important}
#sesWebRoot .toast{background:#124e87!important;color:#fff!important}
.ses-site-footer{background:linear-gradient(135deg,#0f5e9b,#0b3769)!important;color:#eef6ff!important;border-top:3px solid #efc15a!important}
/* Legacy dialogs are siblings of the visual workspace: style independently. */
:is(#appShell .modal-backdrop,body>.modal-backdrop) .modal-card{background:linear-gradient(145deg,#fffefd,#edf6ff)!important;color:#12385e!important;border:2px solid #b2ceeb!important;color-scheme:light;box-shadow:0 20px 65px #153f7545!important}
:is(#appShell .modal-backdrop,body>.modal-backdrop) .modal-card :is(.modal-title,.form-label,.card-title,h2,h3,h4,.permission-panel strong,.spec-form-section h4,.spec-section h4,.spec-details summary,.spec-top strong,.spec-feed-item .rowline strong){color:#144980!important;text-shadow:none!important;opacity:1!important}
:is(#appShell .modal-backdrop,body>.modal-backdrop) .modal-card :is(p,small,.microcopy,.spec-mini,.photo-help,.v8-muted,.form-locked-note,.spec-detail-row span){color:#4a6681!important;opacity:1!important}
:is(#appShell .modal-backdrop,body>.modal-backdrop) .modal-card :is(.form-control,input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),textarea,select){color:#133c73!important;background:#fff!important;border:1.5px solid #9dbfe2!important;box-shadow:inset 0 1px 3px #25609912!important}
:is(#appShell .modal-backdrop,body>.modal-backdrop) .modal-card :is(input,textarea)::placeholder{color:#5c718d!important}
:is(#appShell .modal-backdrop,body>.modal-backdrop) .modal-card option{color:#153d73!important;background:#fff!important}
:is(#appShell .modal-backdrop,body>.modal-backdrop) .modal-card :is(.permission-panel,.spec-create-box,.spec-form-section,.v8-quick-box,.spec-details,.spec-quick>div,.spec-feed-item,.grid-3-money>div,.spec-alert,.pin-display,.permission-option,.assignment-option,.team-person,.v8-line,.staff-box){background:#f2f8ff!important;color:#174575!important;border:1px solid #bfd4ee!important}
:is(#appShell .modal-backdrop,body>.modal-backdrop) .modal-card :is(.spec-detail-row strong,.spec-quick strong,.grid-3-money strong,.spec-consent,.staff-val){color:#12457c!important}
:is(#appShell .modal-backdrop,body>.modal-backdrop) .modal-card :is(.close-x,.pin-key){background:#eef6ff!important;color:#113e74!important;border:1px solid #a2c5e8!important}
:is(#appShell .modal-backdrop,body>.modal-backdrop) .modal-card :is(.select-chip,.mode-btn){background:#eaf4ff!important;color:#10497f!important;border:1.5px solid #a1c7e8!important}
:is(#appShell .modal-backdrop,body>.modal-backdrop) .modal-card :is(.select-chip.active,.mode-btn.active,.mode-btn.active-tech,.mode-btn.active-admin){background:linear-gradient(150deg,#ffe29c,#efb938)!important;color:#29394e!important;border-color:#c59127!important}
:is(#appShell .modal-backdrop,body>.modal-backdrop) .modal-card :is(.btn-submit,.btn-pill.gold,.btn-pill.blue){color:#263753!important;background:linear-gradient(110deg,#ffe4a0,#efb530)!important}
:is(#appShell .modal-backdrop,body>.modal-backdrop) .modal-card :is(input[type="checkbox"],input[type="radio"]){accent-color:#0d67ab!important;opacity:1!important}
.ses-horizon-home-finance{margin:2px 0 19px}
.ses-horizon-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ses-horizon-metric{padding:18px;min-width:0;background:linear-gradient(150deg,#fff,#e9f4ff)!important;border:1px solid #bcd5ec!important;border-bottom:3px solid #edb939!important;border-radius:18px;box-shadow:inset 0 2px 0 #fff,0 12px 24px #17497b20!important}
.ses-horizon-metric small{display:block;font-size:12px;font-weight:800;color:#345f89!important}
.ses-horizon-metric strong{display:block;font-size:clamp(19px,2.2vw,29px);color:#0a4a89!important;overflow-wrap:anywhere;margin:8px 0 3px}
.ses-horizon-metric em{font-style:normal;font-size:11px;font-weight:700;color:#55718d!important}
.ses-horizon-metric.green strong{color:#137348!important}.ses-horizon-metric.gold strong{color:#a56d0d!important}
.ses-horizon-table-card{background:#fffffff5!important;border:1px solid #bcd5ef!important;border-radius:20px;padding:19px;margin:0 0 18px;box-shadow:0 15px 28px #0c3f7720!important}
.ses-horizon-table-card h3{color:#0d4687!important;margin:0 0 13px;font-size:17px}
.ses-horizon-table-scroll{overflow-x:auto}.ses-horizon-table{width:100%;border-collapse:collapse;text-align:right;min-width:620px}
.ses-horizon-table th{background:#125ca1!important;color:#fff!important;padding:11px 9px;font-size:12px}
.ses-horizon-table td{background:#ffffffc9!important;color:#163a67!important;padding:12px 9px;border-bottom:1px solid #cde0ee;font-size:12px}
.ses-horizon-table tr:last-child td{border-bottom:0}
.ses-horizon-table button{border:1px solid #a6c7e9;background:#edf6ff;color:#164d8d;border-radius:9px;padding:7px 10px;font-weight:800}
.ses-horizon-status{border-radius:50px;background:#dceeff;color:#145b9b;padding:5px 9px;white-space:nowrap;font-weight:900}
.ses-horizon-status.done{background:#d9f6e7;color:#126c44}
@media(max-width:850px){.ses-horizon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ses-horizon-metric{padding:14px}}
@media(max-width:540px){body{background-attachment:scroll!important}.ses-horizon-grid{gap:9px}.ses-horizon-metric strong{font-size:21px}.ses-horizon-table-card{padding:12px}#sesWebRoot main.container{backdrop-filter:none}}
