/* PBS GALIAN v1.1.0 enterprise dashboard; adapts existing operational layouts. */
:root{--bg:#edf3fa;--ink:#0b2545;--navy:#08294d;--navy2:#133c6b;--line:#dbe6f2;--shadow:0 7px 18px rgba(10,42,80,.075);--muted:#647c99}
body{background:var(--bg);font-family:Inter,'Segoe UI',Roboto,Arial,sans-serif}
.sidebar{width:258px;background:linear-gradient(175deg,#082b53 0%,#0a315b 58%,#061b35 100%)}.main{margin-left:258px}.sidebar-brand{min-height:86px;background:#071f3e;padding:17px 12px}.pbsmark{height:54px;width:65px;border:none;padding:2px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:9px;overflow:hidden}.pbsmark img{max-width:100%;max-height:100%;object-fit:contain}.sidebar-brand strong{font-size:15px;color:#eaf9ff}.sidebar-brand span{font-size:9px}.user-info{padding:17px}.nav-btn{font-size:13px;border-radius:7px;padding:10px 11px;min-height:41px}.nav-btn.active{background:#1463ad;box-shadow:0 2px 7px #061b314d}.nav-btn:hover{background:#145089}.sidebar footer{border-top:1px solid #ffffff21}
.topbar{background:#fff;height:76px;box-shadow:0 2px 5px rgba(8,37,72,.025)}.top-left h2{font-size:20px}.top-subtitle{font-size:11px}#pageContent{max-width:none;padding:22px 24px 100px}.page-heading{margin-bottom:17px}.eyebrow{color:#2477bd;letter-spacing:1.1px}.page-heading h1{font-size:25px;color:#0d2c50}.page-heading p{font-size:12px}.today-box{font-size:12px;color:#526e88;background:#e8f2fc;border:1px solid #d5e5f4;padding:9px 12px;border-radius:8px}
.card{border:1px solid #dce7f2;border-radius:12px;box-shadow:0 5px 14px rgba(17,49,85,.05);padding:17px}.premium-card{margin-bottom:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:11px;margin-bottom:9px;border-bottom:1px solid #e8eff6}.panel-head h3{font-size:14px;margin:0;color:#133b64}.gap-top{margin-top:16px}.grid{gap:16px}.kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin-bottom:17px}.kpi{background:#fff;border:1px solid #dce7f2;border-radius:11px;box-shadow:0 5px 13px #0c31570a;padding:15px 12px;display:flex;align-items:center;gap:10px;min-width:0}.kpi-icon{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:11px;font-size:25px;color:#fff;font-weight:900;background:linear-gradient(145deg,#2e9def,#1462ba)}.kpi-icon.green{background:linear-gradient(145deg,#2cce82,#0b885b)}.kpi-icon.orange{background:linear-gradient(145deg,#ffae42,#ed7619)}.kpi-icon.cyan{background:linear-gradient(145deg,#20a4d6,#1475aa)}.kpi-label{font-weight:700;font-size:10px;color:#59718b}.kpi-value{font-size:19px;font-weight:900;letter-spacing:-.5px;line-height:1.4;white-space:nowrap}.kpi-note{font-size:9px;color:#8497a9}.table.beautified th{background:#eaf1f9;color:#355a79}.table.beautified tr:hover td{background:#f7fafe}.inline-progress{display:flex;align-items:center;gap:8px;min-width:130px}.inline-progress .progress-track{margin:0;min-width:70px;flex:1}.inline-progress strong{font-size:11px;white-space:nowrap}.livechart{width:100%;height:auto;max-height:255px}.chart-note{font-size:10px;color:#708398;margin-top:10px}.kpi-grid + .grid{align-items:stretch}.map-preview{min-height:242px;display:flex;align-items:center;justify-content:center;background:linear-gradient(155deg,#d2e7d2,#e8f3ee 49%,#cbddeb);border:1px solid #d6e2dc;border-radius:10px;position:relative;overflow:hidden}.map-preview:before{content:'';height:140px;width:85%;position:absolute;border:10px dashed #3ba47a;transform:rotate(-12deg);border-radius:60%;opacity:.34}.map-preview>div{background:#ffffffde;border-radius:12px;z-index:1;padding:23px;text-align:center;max-width:380px;box-shadow:0 8px 30px #143a6020}.map-preview p{font-size:12px;color:#62788a}.map-preview .btn{margin-top:10px}.activity{display:grid;gap:0}.activity>div{display:flex;align-items:center;gap:11px;border-bottom:1px solid #eef2f6;padding:10px 0}.activity>div:last-child{border-bottom:0}.activity-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#eaf4fc;color:#177bc4;font-size:16px;font-weight:800}.activity>div>span:nth-child(2){flex:1;min-width:0}.activity b{display:block;font-size:12px}.activity small{display:block;font-size:10px;color:#71859b}.mini-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-top:13px}.mini-stats>div{border:1px solid #e1eaf1;border-radius:9px;padding:13px 7px;text-align:center;background:#f8fbff}.mini-stats b{font-size:20px;display:block}.mini-stats small{font-size:10px;color:#6b849b}.process-flow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:21px 0}.process-flow span{padding:10px;border-radius:8px;background:#eaf3f9;color:#27618a;font-size:11px;font-weight:800}.process-flow>b{color:#1673b2}.feature-list>div{display:flex;gap:10px;padding:13px 0;border-bottom:1px solid #ecf1f6;align-items:center;color:#2b78ae}.feature-list>div b{color:#1a3c5c;font-size:12px;min-width:118px}.feature-list small{color:#74879a;font-size:11px}.work-bars{padding:12px 0}.work-bar{display:grid;grid-template-columns:150px 1fr 95px;align-items:center;gap:10px;margin:13px 0}.work-bar>small{font-size:11px;color:#51738f}.work-bar>b{font-size:11px;text-align:right}.work-bar-track{height:14px;background:#ebf0f5;border-radius:6px;overflow:hidden;display:flex}.work-bar-track i{display:block;background:#23a26f}.work-bar-track em{display:block;background:#f6aa4d}.brand-preview{display:flex;gap:15px;align-items:center;padding:12px 0}.brand-preview img{width:110px;height:95px;object-fit:contain;border-radius:10px;border:1px solid #dbe4ee;background:#fff}.brand-preview b{display:block;font-size:13px}.brand-preview small{display:block;font-size:11px;color:#778ba2}.brand-login-logo{width:103px;height:91px;object-fit:contain;background:#fff;border-radius:8px}.brand-big small{font-size:11px}.login-icon{display:none}.login-card h1{margin-top:18px}.login-screen{background:radial-gradient(circle at 75% 15%,#1466a0,#062849 65%)}.map-enhance .page-heading{display:none}.map-enhance .grid{margin-top:0}.premium-card .form-grid label input,.premium-card .form-grid label select{min-height:41px}
@media(max-width:1440px){.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1080px){.sidebar{width:230px}.main{margin-left:230px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi{padding:13px}.work-bar{grid-template-columns:110px 1fr 60px}}
@media(max-width:760px){.sidebar{width:265px}.main{margin-left:0}#pageContent{padding:15px 11px 110px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kpi{padding:10px 8px;gap:7px}.kpi-icon{width:33px;height:33px;font-size:19px}.kpi-value{font-size:15px;white-space:normal}.kpi-label{font-size:9px}.kpi-note{font-size:8px}.top-left h2{font-size:15px}.topbar{height:65px}.mini-stats{grid-template-columns:repeat(2,1fr)}.work-bar{grid-template-columns:110px 1fr 64px;gap:6px}.work-bar>small,.work-bar>b{font-size:9px}.process-flow{gap:4px}.process-flow span{font-size:9px;padding:7px 5px}}

/* Wordmark fallback is plain text, never an invented graphic logo. */
.pbsmark,.brand-big{position:relative}.pbs-logo-text{font-size:24px;font-weight:950;letter-spacing:-1px;color:#0d4774;position:absolute;z-index:0}.pbsmark img{position:relative;z-index:1;background:#fff}.brand-login-logo{position:relative;z-index:1}.pbs-login-text{position:absolute;z-index:0;font-size:33px;font-weight:900;color:#16456b;left:17px}.brand-big img:not([src]),.pbsmark img:not([src]){display:none}
/* PBS Galian 1.2 — camera multi-photo, Drive status and Remote Test */
.pbs-extra-photos{border:1px dashed #9bb6c9;padding:14px;border-radius:13px;background:#f5fafd}
.pbs-extra-photos h4{margin:0 0 5px;color:#123956}
.pbs-gallery{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.pbs-photo-tile,.pbs-gallery>a{display:flex;flex-direction:column;position:relative;width:100px;max-width:calc(33.333% - 7px);gap:4px;overflow:hidden;color:#154567;text-decoration:none}
.pbs-photo-tile img,.pbs-gallery>a img{width:100px;max-width:100%;height:87px;object-fit:cover;border-radius:10px;border:1px solid #bbd3e3}
.pbs-photo-tile button{position:absolute;top:2px;right:2px;width:24px;height:24px;border:0;border-radius:99px;background:#a83d2f;color:white;cursor:pointer}
.pbs-gallery small{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pbs-test-item{padding:12px;margin-bottom:12px;border:1px solid #d6e4ee;border-radius:12px;background:#fff}
.pbs-test-item p{font-size:12px;color:#567;line-height:1.5}
.pbs-switch{display:flex;gap:8px;align-items:center}
#pbs-test-permissions .table-scroll{max-height:440px;overflow:auto}
#pbs-remote-nav{border-left:3px solid #33b1ac}
@media(max-width:720px){.pbs-gallery{gap:7px}.pbs-photo-tile,.pbs-gallery>a{width:calc(33.333% - 5px)}.pbs-photo-tile img,.pbs-gallery>a img{width:100%;height:90px}.pbs-extra-photos .btn-row{display:grid;grid-template-columns:1fr 1fr}.pbs-extra-photos .btn{white-space:normal;font-size:12px}}

.pbs-logo{object-fit:contain!important;max-width:100%!important;max-height:100%!important}
.brand-login-logo{width:96px!important;height:96px!important;object-fit:contain!important}
