.gv-root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172b3a;background:#fff;border:1px solid #d9e1e8;border-radius:14px;overflow:hidden;box-shadow:0 8px 28px rgba(20,40,60,.08);margin:16px 0;line-height:1.4}
.gv-root *{box-sizing:border-box}.gv-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:#102d46;color:#fff;gap:12px}.gv-header>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.gv-header strong{font-size:20px}.gv-kicker{font-size:10px;letter-spacing:1.2px;color:#9fc4dc}.gv-shell{font-size:12px;color:#d1e0ea;border-left:1px solid #547086;padding-left:12px}.gv-status{font-size:11px;color:#d8f2e4;white-space:nowrap}.gv-status i{display:inline-block;width:7px;height:7px;background:#4bd18b;border-radius:50%;margin-right:6px}
.gv-toolbar{display:flex;gap:7px;flex-wrap:wrap;padding:10px 12px;border-bottom:1px solid #e2e8ed;background:#f7f9fb}.gv-tool{border:1px solid #cbd6df;border-radius:7px;background:#fff;color:#243d50;padding:8px 11px;font-size:12px;cursor:pointer}.gv-tool:hover,.gv-tool[aria-pressed=true]{background:#e5f1f8;border-color:#4385ad;color:#174f73}.gv-body{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:400px}.gv-sidebar{padding:14px;border-right:1px solid #e1e7ec;background:#fbfcfd}.gv-panel-title{font-weight:700;font-size:13px;margin-bottom:10px}.gv-info-title{margin-top:22px}.gv-layer-row{display:flex;align-items:center;gap:8px;font-size:12px;margin:10px 0;color:#344c5e}.gv-layer-row input{accent-color:#236b96}.gv-object-info{font-size:12px;color:#526778;line-height:1.55;background:#f0f4f7;padding:10px;border-radius:8px;min-height:64px}.gv-legend{display:flex;flex-direction:column;gap:7px;margin-top:16px;font-size:11px;color:#617485}.gv-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px}.gv-blue{background:#1976c9}.gv-red{background:#d64c43}.gv-orange{background:#e58c2b}.gv-map-wrap{position:relative;min-width:0}.gv-map{height:var(--gv-map-height,680px);min-height:400px;width:100%;background:#e5ebed}.gv-map-note{position:absolute;z-index:500;bottom:10px;left:10px;background:rgba(255,255,255,.92);padding:5px 8px;border-radius:5px;font-size:10px;color:#596d7b;pointer-events:none}.gv-footer{display:flex;justify-content:space-between;gap:10px;padding:8px 14px;background:#f7f9fb;border-top:1px solid #e1e7ec;color:#71808c;font-size:10px}.gv-error{padding:12px;background:#fff0f0;border:1px solid #d88;color:#922}.gv-vehicle-icon{background:#176eae;border:2px solid #fff;border-radius:50%;width:26px;height:26px;color:white;text-align:center;font-size:11px;line-height:22px;font-weight:700;box-shadow:0 1px 5px #667}.gv-buoy-icon{background:#d34d40;border:2px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg);width:17px;height:17px;box-shadow:0 1px 4px #777}.gv-buoy-icon span{display:block;transform:rotate(45deg);color:#fff;font-size:8px;text-align:center;line-height:13px}
@media(max-width:700px){.gv-body{grid-template-columns:1fr}.gv-sidebar{order:2;border-right:0;border-top:1px solid #e1e7ec}.gv-map{height:520px!important;min-height:360px}.gv-header{align-items:flex-start}.gv-footer{flex-direction:column}.gv-layer-list{display:grid;grid-template-columns:1fr 1fr;gap:0 8px}}

.gv-root.gv-hide-sidebar .gv-sidebar{display:none}.gv-root.gv-hide-sidebar .gv-body{grid-template-columns:minmax(0,1fr)}


.ec-dashboard{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#1d3341;background:#f2f5f6;border-radius:18px;overflow:hidden;line-height:1.45;margin:12px 0 28px}
.ec-dashboard *{box-sizing:border-box}
.ec-hero{background:linear-gradient(115deg,#172e3c,#29495a);color:#fff;padding:25px 30px 30px;position:relative}
.ec-brand{display:flex;align-items:center;gap:11px}.ec-brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e7a64c;color:#172e3c;font-size:25px;font-weight:800}
.ec-brand strong{display:block;letter-spacing:1.4px;font-size:14px}.ec-brand small{display:block;color:#b8c7cf;font-size:11px;margin-top:1px}
.ec-live{position:absolute;right:28px;top:31px;border:1px solid #527080;color:#dce9ed;border-radius:20px;padding:6px 10px;font-size:10px;letter-spacing:.8px}
.ec-live i,.ec-presence{display:inline-block;width:7px;height:7px;border-radius:50%;background:#55c58b;margin-right:6px}
.ec-hero-copy{margin-top:35px}.ec-eyebrow{font-size:9px;letter-spacing:1.35px;color:#8b9ca7;font-weight:800;margin:0 0 6px}
.ec-hero .ec-eyebrow{color:#e8b46a}.ec-hero h1{font-size:29px;line-height:1.15;color:#fff;margin:0 0 9px;font-weight:700}.ec-hero-copy>p:last-child{margin:0;color:#d0dce1;font-size:14px}
.ec-content{padding:22px;max-width:1500px;margin:auto}.ec-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}
.ec-stat,.ec-card{background:#fff;border:1px solid #e1e7ea;border-radius:13px;box-shadow:0 3px 12px rgba(25,48,61,.035)}
.ec-stat{padding:16px 18px;display:flex;flex-direction:column;min-height:125px}.ec-stat-icon{font-size:18px;color:#c58c3d;margin-bottom:5px}.ec-stat strong{font-size:27px;line-height:1.1;color:#203c4c}.ec-stat>span:nth-of-type(2){font-size:11px;color:#516573;margin-top:5px}.ec-stat small{font-size:10px;color:#8b999f;margin-top:5px}
.ec-main-grid,.ec-bottom-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:15px;margin-bottom:15px}
.ec-card{padding:18px}.ec-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:15px}.ec-card h2{font-size:17px;line-height:1.2;margin:0;color:#203c4c;font-weight:700}.ec-subtitle{font-size:11px;color:#75848d;margin:6px 0 0}
.ec-chip{font-size:9px;border-radius:20px;padding:5px 9px;white-space:nowrap;font-weight:700}.ec-chip-blue{background:#eaf2f7;color:#3c6d89}.ec-chip-green{background:#e8f5ee;color:#367b58}
.ec-task-list{display:flex;flex-direction:column}.ec-task{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0;border-top:1px solid #edf0f1}.ec-task-symbol{width:28px;height:28px;border-radius:8px;background:#f0f4f5;color:#9a713a;display:grid;place-items:center}.ec-task strong,.ec-person strong{display:block;font-size:12px;color:#304958}.ec-task small,.ec-person small{display:block;font-size:10px;color:#89969d;margin-top:3px}
.ec-status{font-size:9px;padding:5px 8px;border-radius:15px;white-space:nowrap}.ec-status-progress{background:#eaf2f8;color:#397396}.ec-status-planned{background:#fff4df;color:#9b702d}.ec-status-done{background:#eaf5ed;color:#4c815e}
.ec-person{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid #edf0f1}.ec-person>div{flex:1}.ec-avatar,.ec-message-avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-size:10px;font-weight:800}.ec-avatar-gold{background:#f8ead5;color:#93652c}.ec-avatar-blue{background:#e5eff7;color:#47718d}.ec-avatar-violet{background:#eee9f7;color:#725a9c}.ec-avatar-green{background:#e4f2e9;color:#4b805d}.ec-presence{margin:0;background:#50bd83}
.ec-muted-note{font-size:9px;color:#9aa5aa;margin:10px 0 0}.ec-map-card{margin-bottom:15px}.ec-map-holder .gv-root{margin:0;border-radius:10px;box-shadow:none}.ec-map-holder .gv-header{display:none}.ec-map-holder .gv-body{min-height:380px}.ec-map-holder .gv-map{height:540px!important;min-height:380px}
.ec-message{display:flex;gap:9px;margin:13px 0}.ec-message-avatar{flex:0 0 30px;background:#f4eadb;color:#946a35}.ec-message-alt{background:#e6eef6;color:#52728a}.ec-message strong{font-size:10px;color:#3a5361}.ec-message time{font-size:9px;color:#9aa5aa;font-weight:400;margin-left:6px}.ec-message p{font-size:11px;color:#667984;background:#f4f6f7;border-radius:0 9px 9px 9px;padding:9px 11px;margin:5px 0 0}
.ec-chat-form{display:flex;gap:7px;margin-top:15px}.ec-chat-form input{min-width:0;flex:1;border:1px solid #dfe6e9;border-radius:7px;padding:10px;font-size:11px}.ec-chat-form button{border:0;border-radius:7px;background:#203d4d;color:#fff;padding:0 14px;font-size:11px;cursor:pointer}
.ec-update{display:flex;gap:10px;padding:11px 0;border-top:1px solid #edf0f1}.ec-update-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#68a3bf;margin-top:5px}.ec-dot-orange{background:#dfa64d}.ec-dot-purple{background:#9b83bb}.ec-update strong{font-size:11px;color:#3b5360}.ec-update p{font-size:10px;color:#74838b;margin:3px 0}.ec-update small{font-size:9px;color:#9ba6ab}
.ec-footer{text-align:center;color:#98a4a9;font-size:9px;padding:12px 5px 2px}
@media(max-width:850px){.ec-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-main-grid,.ec-bottom-grid{grid-template-columns:1fr}}
@media(max-width:600px){.ec-content{padding:12px}.ec-hero{padding:20px}.ec-live{right:15px;top:25px;font-size:8px}.ec-hero-copy{margin-top:28px}.ec-hero h1{font-size:24px}.ec-stats{gap:8px}.ec-stat{padding:12px;min-height:112px}.ec-task{grid-template-columns:26px minmax(0,1fr)}.ec-task .ec-status{grid-column:2;justify-self:start}.ec-card{padding:14px}.ec-card-heading{flex-wrap:wrap}.ec-map-holder .gv-body{display:block}.ec-map-holder .gv-sidebar{border:0;border-top:1px solid #e1e7ec}.ec-map-holder .gv-map{height:430px!important}}

/* Politie-layout: rustige blauwgrijze operationele vormgeving */
.pd-dashboard .pd-hero{background:linear-gradient(115deg,#142c43,#244965)}
.pd-dashboard .pd-brand-mark{background:#dce8f1;color:#18384f}
.pd-dashboard .ec-hero .ec-eyebrow{color:#a9c4d7}
.pd-dashboard .ec-stat-icon{color:#2873a8}
.pd-dashboard .ec-chip-blue{background:#e8f0f6;color:#315f7e}
.pd-dashboard .ec-chip-green{background:#e8f4ed;color:#397353}
.pd-dashboard .ec-task-symbol{color:#39799f}
.pd-dashboard .ec-chat-form button{background:#1d4059}
.pd-dashboard .ec-map-holder .gv-header{background:#18364d}

/* Layer-panel visibility fix: keep layer controls visible inside themes/builders. */
.gv-root .gv-sidebar{display:block!important;visibility:visible!important;opacity:1!important;min-width:0;position:relative;z-index:2}
.gv-root .gv-layer-list{display:block!important;visibility:visible!important;min-height:24px}
.gv-root .gv-layer-row{display:flex!important;visibility:visible!important;align-items:center;gap:9px;margin:10px 0;padding:2px 0;cursor:pointer}
.gv-root .gv-layer-row input[type=checkbox]{display:inline-block!important;visibility:visible!important;opacity:1!important;position:static!important;width:16px!important;height:16px!important;min-width:16px;margin:0 2px 0 0;appearance:auto!important;-webkit-appearance:checkbox!important}
.gv-root .gv-layer-row span{display:inline-block!important;visibility:visible!important;color:#344c5e!important;font-size:12px!important}
.gv-root.gv-hide-sidebar .gv-sidebar{display:none!important}
