/* 1.27: approved white/navy/cyan app screens; real map and camera providers remain intact. */
@font-face{font-family:KUThai;src:url('../fonts/ibm-plex-thai-regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:KUThai;src:url('../fonts/ibm-plex-thai-semibold.woff2') format('woff2');font-weight:600 900;font-display:swap}
body.ku-app{--ku-ink:#0a214f;--ku-teal:#00afbc;--f-body:KUThai,sans-serif;--f-display:KUThai,sans-serif;background:#edf3f7;color:var(--ku-ink);font-family:KUThai,sans-serif;margin:0;padding-bottom:84px}
.ku-app *{box-sizing:border-box}.ku-app [hidden]{display:none!important}.ku-app button,.ku-app input,.ku-app select{font-family:inherit}.ku-app button,.ku-app a{-webkit-tap-highlight-color:transparent}.ku-app :focus-visible{outline:3px solid #00aeba;outline-offset:3px}
.ku-header{height:82px;max-width:1200px;margin:auto;padding:14px 24px;display:flex;align-items:center;gap:18px;background:#fff;border-bottom:1px solid #edf2f7;position:relative;z-index:20}.ku-brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--ku-ink);margin-right:auto}.ku-brand img{object-fit:contain;width:64px;height:48px}.ku-brand strong{display:block;font-size:17px;line-height:1.25;font-weight:800;letter-spacing:-.4px}.ku-brand em{font-style:normal;color:#ed242d}.ku-brand small{display:block;font-size:10px;font-weight:700;line-height:1.8}.ku-account{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#e9eff5;color:#103455}.ku-account svg{width:21px;height:21px;fill:currentColor;stroke-width:1}.ku-desktop-links{display:flex;gap:24px}.ku-desktop-links a{font-size:14px;color:#32506e;text-decoration:none}
.ku-dock{position:fixed;z-index:1400;left:50%;bottom:0;transform:translateX(-50%);display:grid;grid-template-columns:repeat(5,1fr);width:min(100%,660px);padding:7px 7px max(8px,env(safe-area-inset-bottom));background:#fffffff5;border:1px solid #e2eaf3;border-bottom:0;box-shadow:0 -4px 22px #1834590b;border-radius:19px 19px 0 0;backdrop-filter:blur(18px)}
.ku-dock>a,.ku-dock>button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:55px;background:none;border:0;text-decoration:none;color:#102b55;font-size:12px;font-weight:600;cursor:pointer}.ku-dock svg{width:24px;height:24px}.ku-dock [aria-current=page]{color:var(--ku-teal)}.ku-dock [aria-current=page] svg{stroke-width:2.4}.ku-dock .ku-report{position:relative}.ku-report i{display:grid;place-items:center;width:49px;height:33px;border-radius:10px;background:linear-gradient(145deg,#ff414d,#ff7380);color:#fff;box-shadow:0 3px 10px #ff4e6422;font-style:normal}.ku-report svg{width:23px;height:23px}
.ku-menu{padding:20px;border:0;border-radius:22px;width:min(440px,calc(100% - 24px));color:var(--ku-ink);font-family:KUThai,sans-serif;box-shadow:0 20px 100px #10233d44}.ku-menu::backdrop{background:#09233f66;backdrop-filter:blur(4px)}.ku-menu header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ku-menu h2{font-size:22px;margin:0}.ku-menu header button{border:0;background:#eef4f8;width:40px;height:40px;border-radius:50%;font-size:25px;color:#16385b}.ku-menu>a{display:flex;justify-content:space-between;padding:13px 5px;border-bottom:1px solid #e4edf3;color:inherit;text-decoration:none}.ku-menu p{font-size:13px;margin:18px 0 2px}.ku-menu p a{font-weight:700;color:#cc3446}
/* Home: brand > province > sync > search > map > shortcuts > reports. */
.ku-home .app{max-width:1200px;margin:auto;background:white}.ku-home .poster{background:white;padding:0}.ku-home .grid.kh-map-full{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;margin:0;padding:8px 24px 24px;background:white;max-width:none}.ku-home #mapSection{grid-column:1;grid-row:1}.ku-home #feedSection{grid-column:2;grid-row:1;align-self:start;margin-top:66px}
.ku-app.kh-studio #mapSection{border:0;box-shadow:none;overflow:visible;border-radius:0;background:white;min-width:0}.ku-home.kh-studio #mapSection .kh-map-signature{padding:0 0 9px;display:flex;gap:12px;align-items:center}.ku-app .kh-map-signature .kh-water-emblem,.ku-app .kh-map-signature .kh-map-kicker,.ku-app .kh-map-signature .kh-map-area-tag{display:none}.ku-home .kh-map-signature h1{font-size:36px;line-height:1.3;letter-spacing:-1.3px;font-weight:800;color:var(--ku-ink);margin:0}.ku-home #fDist{height:33px;max-width:168px;width:auto;border:1px solid #d7e4f1;border-radius:22px;padding:3px 28px 3px 12px;color:#162f5b;font-size:13px;background-color:#fff}
.ku-app.kh-studio #mapSection .mapbar{display:flex;flex-direction:column;gap:7px;padding:0 0 10px;background:white;position:relative;z-index:720}.ku-app .ks-livebar{order:0;width:100%;height:31px;min-height:31px;padding:3px 7px;margin:0;border:1px solid #d5e3f2;border-radius:9px;background:#fff;gap:8px}.ku-app .ks-status{font-size:10px;line-height:1.2;color:#395477;font-weight:400}.ku-app .ks-status:before{width:7px;height:7px;flex-basis:7px}.ku-app .ks-time-wrap{flex-direction:row;align-items:center;gap:4px}.ku-app .ks-time-wrap small{font-size:9px}.ku-app .ks-clock{font-size:11px;font-weight:400}.ku-app .ks-refresh{width:28px;height:25px;border:0;border-left:1px solid #dce6f0;border-radius:0;background:#fff}.ku-app .ks-refresh svg{width:19px;height:19px}
.ku-app #searchForm{position:relative;display:flex;order:1;width:100%;margin:0;min-width:0;border:1px solid #c9dcf1;border-radius:24px;background:#fff;height:43px;padding:0;box-shadow:none}.ku-app #searchForm input{height:100%;width:100%;padding:8px 15px 8px 42px;border:0;outline:none;border-radius:24px;background:transparent;color:#294672;font-size:15px}.ku-app #searchForm input::placeholder{color:#45638c;opacity:1}.ku-app #searchForm button{position:absolute;left:7px;top:4px;display:grid;place-items:center;min-width:32px;width:32px;height:33px;padding:4px;border:0;background:transparent;color:#355985}.ku-app #searchForm button svg{width:21px;height:21px}.ku-app .mapbar>.row:empty{display:none}
.ku-home.kh-studio #mapSection .mapbox{margin:0;width:100%;border-radius:14px;overflow:hidden;isolation:isolate;height:480px;min-height:0}.ku-home.kh-studio #map{height:100%;min-height:0;background:#194a4d}.ku-app .mapbox{position:relative}.ku-app .kh-basemap-note{bottom:21px;left:8px;background:#083b4bc9;border:1px solid #afc8cc66;color:#fff;border-radius:7px;font-size:9px;padding:3px 6px;z-index:510}.ku-app .mapbox .leaflet-control-attribution{font:9px/1.4 KUThai,sans-serif!important;background:#ffffffd9!important;padding:1px 5px;color:#20434e}.ku-app .mapbox .legend{display:none}.ku-app .mapbox .locate{bottom:38px;right:10px;width:40px;height:40px;background:#fff;border:1px solid #d4e1ed;border-radius:50%;box-shadow:0 3px 12px #0a233044;color:#112d51}.ku-app .mapbox .locate svg{width:24px;height:24px}
.ku-map-overlay{position:absolute;z-index:710;top:12px;right:12px;display:flex;align-items:flex-start;gap:7px;max-width:calc(100% - 24px);pointer-events:none}.ku-map-overlay>*{pointer-events:auto}.ku-app .ks-modes{margin:0;padding:3px;border:1px solid #b9d7de;border-radius:26px;background:#073744e8;box-shadow:0 3px 12px #10293922;max-width:none;gap:0;backdrop-filter:blur(8px)}.ku-app .ks-modes button{min-height:32px;min-width:48px;flex:none;font-size:12px;padding:4px 10px;border-radius:22px;color:white;background:transparent;box-shadow:none;gap:6px}.ku-app .ks-modes button svg{width:19px;height:19px}.ku-app .ks-modes button:first-child{background:transparent}.ku-app .ks-modes button:last-child{background:white;color:#00a4b6;font-size:15px;font-weight:700}.ku-app .ks-modes button+button{border-left:1px solid #72969e;border-radius:0}.ku-app .ks-modes button:last-child{border-radius:0 22px 22px 0}
.ku-app .ks-tools{margin:0;background:#073744e8;border:1px solid #a6c6cf;border-radius:22px;color:white;position:static}.ku-app .ks-tools>summary{list-style:none;padding:8px 10px;min-height:38px;font-size:11px;cursor:pointer;white-space:nowrap}.ku-app .ks-tools>summary::-webkit-details-marker{display:none}.ku-app .ks-tools[open]>.ks-tools-body{position:absolute;right:0;top:48px;width:min(400px,calc(100vw - 40px));max-height:350px;overflow:auto;border:1px solid #d2e1ec;box-shadow:0 12px 40px #0b253944;background:#fff;color:#173755;border-radius:15px;padding:14px;z-index:1000}.ku-app .ks-tools-body>*{max-width:100%}.ku-app .ks-tools-body button,.ku-app .ks-tools-body select{min-height:38px}.ku-app .ks-tools-body .ku-google-option{border:1px solid #b9d4e3;border-radius:10px;background:#f1fbfc;color:#12576a;padding:8px 14px;margin:8px 0}.ku-app .ks-tools-body .row{display:flex}.ku-app .ks-tools-body .ks-health{margin:6px 0}.ku-map-state{position:absolute;z-index:700;left:12px;top:62px;padding:6px 10px;border:1px solid #d5e5e9;border-radius:22px;background:#fff;color:#183659;box-shadow:0 2px 8px #0c33441f;font-size:10px;cursor:pointer;max-width:calc(100% - 80px);text-align:left}.ku-map-state:before{content:'';width:8px;height:8px;border-radius:50%;background:#e6a329;display:inline-block;margin-right:6px}.ku-map-state[data-state=ready]:before{background:#00bbc4}.ku-map-state[data-state=offline]:before{background:#84929c}
.ku-app .kh-map-navigation-row{display:flex;flex-direction:column;gap:7px}.ku-app .kh-map-navigation{background:transparent;border:0;box-shadow:none}.ku-app .kh-map-fullscreen,.ku-app .kh-map-compass{width:38px;height:38px;border-radius:50%;background:#073948de;color:#fff;border:1px solid #c1d8df}.ku-app .kh-map-fullscreen svg{width:20px;height:20px}.ku-home .leaflet-top.leaflet-left{top:112px;left:0}.ku-home .leaflet-control-zoom{display:none}.ku-home .kh-map-compass{display:none}.ku-app .leaflet-control-layers{display:none}
.ku-app .ks-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:10px 0 7px;margin:0;background:#fff}.ku-app .ks-quick button{gap:5px;min-height:76px;padding:0;border:0;background:none;color:#0a2453;font-size:12px}.ku-app .ks-quick .ks-icon{width:54px;height:54px;border-radius:50%}.ku-app .ks-quick svg{width:32px;height:32px;stroke-width:2.7}.ku-app .ks-quick-water .ks-icon{background:#efe6ff;color:#8c4aff}.ku-app .ks-quick-traffic .ks-icon{background:#fff0db;color:#ff8900}.ku-app .ks-quick-wifi .ks-icon{background:#e1f4ff;color:#008dff}.ku-app .ks-quick-help .ks-icon{background:#ffe7eb;color:#ff4a5e}.ku-app .ks-quick b{font-weight:600;white-space:nowrap}
.ku-home #feedSection{border:1px solid #e1eaf4;box-shadow:none;border-radius:14px;background:#fff;overflow:hidden;max-height:600px}.ku-home .kh-feed-heading{background:white;display:flex;padding:10px 12px;border-bottom:1px solid #edf2f7;gap:8px;color:#102753}.ku-home .kh-feed-heading b{font-size:15px}.ku-home #khFeedFold{font-size:0;width:25px;padding:0;border:0;min-height:26px;background:#f3f7fb}.ku-home #khFeedFold:after{content:'⌃';font-size:16px}.ku-all-reports{margin-left:auto;white-space:nowrap;color:#102753;font-size:12px;text-decoration:none}.ku-home #feedSection .tabs{padding:0 7px;gap:0;border-bottom:1px solid #edf2f7;overflow:auto;flex-wrap:nowrap}.ku-home #feedSection .tab{font-size:10px;padding:7px 8px;white-space:nowrap;border-radius:0;border:0;background:white}.ku-home #feedSection .tab[aria-selected=true]{color:#00a4b1;border-bottom:2px solid #00adb8}.ku-home #feedSection .list{padding:8px;max-height:380px;height:auto;min-height:60px;display:block}.ku-home #feedSection .item{border:1px solid #e3edf6;border-radius:10px;width:100%;margin:0 0 8px;min-height:0}.ku-home #feedSection #notice{font-size:11px}.ku-home #feedSection .empty{font-size:12px;padding:15px;line-height:1.7}.ku-home .ku-home-about{margin:5px 24px 20px;border:1px solid #e0eaf2;border-radius:12px;background:#f7fafc;font-size:13px}.ku-home .ku-home-about>summary{padding:14px;cursor:pointer;color:#38536e}.ku-home .ku-home-about .hero{max-height:600px}.ku-home .reserve,.ku-home .lower,.ku-home .features,.ku-home .bridge-footer,.ku-home #servicesSec{margin-left:24px;margin-right:24px}.ku-home .bridge-footer{border-radius:15px}.ku-home .site-foot{font-size:11px}
/* Full map screen: floating search, mode switch, compass and a real selected-camera sheet. */
body.ku-map{overflow:hidden;padding:0;background:#123f4a}.ku-map>.ku-header{display:none}.ku-map .kh-focus-app{height:100dvh}.ku-map .kh-focus-tools{display:contents}.ku-map .kh-focus-tools>summary{display:none}.ku-map .kh-focus-head{padding:0;display:block;position:static;background:none;border:0;z-index:auto}.ku-map .kh-focus-title,.ku-map .kh-focus-mark{display:none}.ku-map .kh-focus-actions{display:grid;grid-template-columns:1fr 1fr;margin:10px 0}.ku-map .kh-focus-info{position:static;margin-top:8px}.ku-map .kh-focus-info>div{position:static;width:100%;box-shadow:none}.ku-map .kh-focus-live{display:block;font-size:10px;margin:8px 0}
body.ku-map.kh-focus-map main.grid.kh-map-full{height:calc(100dvh - 72px - env(safe-area-inset-bottom));min-height:240px;padding:0;margin:0;overflow:visible}body.ku-map.kh-focus-map #mapSection.mapwrap{height:100%;position:relative;background:#123f4a}body.ku-map.kh-focus-map:not(.kh-picking) #mapSection.mapwrap .mapbox{height:100%;min-height:0;flex:none;max-height:none;border-radius:0;margin:0;width:100%}body.ku-map.kh-focus-map #map{height:100%;min-height:0}
body.ku-map #mapSection .mapbar{position:absolute;z-index:760;top:20px;left:20px;width:calc(100% - 105px);padding:0;background:none;pointer-events:none}body.ku-map #mapSection .mapbar>*{pointer-events:auto}.ku-map #searchForm{height:46px;box-shadow:0 6px 25px #0b26312b}.ku-map #mapSection .ks-livebar{display:none}.ku-map #mapSection .ks-quick{display:none}.ku-map .ku-map-overlay{top:80px;left:20px;right:auto}.ku-map .ku-map-state{top:138px;left:20px}.ku-map-brand{position:absolute;right:18px;top:17px;z-index:730;width:62px;height:55px;padding:5px;background:#fff;border:1px solid #d9e7f1;border-radius:15px;box-shadow:0 5px 20px #0c223033}.ku-map-brand img{width:100%;height:100%;object-fit:contain}.ku-map .leaflet-top.leaflet-left{top:170px;right:15px;left:auto}.ku-map .kh-map-navigation-row{gap:10px}.ku-map .kh-map-fullscreen{display:none}.ku-map .kh-map-compass{height:46px;width:46px}.ku-map .leaflet-control-zoom{position:absolute;right:0;top:117px;left:auto;margin:10px 0;border:0;border-radius:14px;box-shadow:0 3px 16px #17374a33;overflow:hidden}.ku-map .leaflet-control-zoom a{width:44px;height:40px;line-height:40px;background:#fff;color:#142b52;font-weight:400;border-color:#e8eff5}.ku-map .ku-flat{position:absolute;right:15px;top:240px;width:46px;height:43px;z-index:700;border:0;border-radius:13px;color:#122a53;background:#fff;font-size:15px;font-weight:700;box-shadow:0 4px 18px #0b293233}.ku-map .mapbox .locate{top:294px;bottom:auto;right:15px;border-radius:13px;width:46px;height:43px}.ku-map .leaflet-control-zoom{top:164px}.ku-map-instruction{position:absolute;z-index:600;bottom:38px;left:15px;right:15px;max-width:420px;background:#fffefa;color:#3d5772;border-radius:12px;border:1px solid #dce7ec;padding:12px 14px;font-size:12px;text-align:center;margin:0;box-shadow:0 4px 25px #0f2f3722}.ku-has-sheet .ku-map-instruction{display:none}
.ku-camera-sheet{position:absolute;z-index:790;bottom:0;left:0;right:0;background:#fff;border-radius:22px 22px 0 0;padding:8px 16px 12px;box-shadow:0 -6px 40px #0d2b4033;max-width:540px;margin:auto;color:#0a2453}.ku-sheet-grab{width:34px;height:4px;background:#b8c4d3;border-radius:5px;margin:0 auto 7px}.ku-sheet-head{display:flex;align-items:center;gap:9px;margin-bottom:9px}.ku-sheet-symbol{width:36px;height:40px;background:#fff0dc;border-radius:12px;color:#ff8700;display:grid;place-items:center;flex-shrink:0}.ku-sheet-symbol svg{width:23px;height:32px}.ku-sheet-title{display:flex;flex-direction:column;line-height:1.5;flex:1;min-width:0}.ku-sheet-title strong{font-size:16px}.ku-sheet-title small{font-size:11px;color:#395879}.ku-sheet-close{border:0;background:none;font-size:26px;color:#163452;min-width:38px;min-height:38px}.ku-camera-sheet>.kt-preview{display:block;width:100%;aspect-ratio:3.8;height:auto;min-height:94px;border-radius:10px;overflow:hidden;position:relative}.ku-sheet-actions{display:flex;gap:9px;margin-top:9px}.ku-sheet-actions>a,.ku-sheet-actions>button{flex:1;display:flex;align-items:center;justify-content:center;padding:8px;border:1px solid #00b0bd;border-radius:9px;color:#102954;text-decoration:none;font:600 14px KUThai,sans-serif;background:white;min-height:38px}.ku-sheet-actions>button{background:#00aebb;color:#fff}.ku-map .kh-focus-alert{bottom:88px}
/* CCTV: one search, three tabs, two columns on phones. */
.ku-cctv .ku-header,.ku-cctv .ku-cameras{max-width:1080px}.ku-cameras{margin:auto;padding:15px 24px 30px;background:white;min-height:calc(100dvh - 150px)}.ku-camera-heading{display:flex;align-items:center;gap:10px;margin-bottom:13px}.ku-camera-heading h1{font-size:34px;line-height:1.3;letter-spacing:-1px;margin:0;color:#091f4e;font-weight:800}.ku-province{padding:5px 10px;border:1px solid #dfebf5;border-radius:20px;font-size:11px;white-space:nowrap}.ku-thai-clock{margin-left:auto;padding-left:11px;border-left:1px solid #e1e9f2;line-height:1.35;white-space:nowrap}.ku-thai-clock small{font-size:10px}.ku-thai-clock time{display:block;font-weight:700;font-size:16px;font-variant-numeric:tabular-nums}.ku-camera-search{display:flex;gap:8px;margin-bottom:10px}.ku-camera-search label{height:43px;border:1px solid #c9dcf1;border-radius:20px;display:flex;align-items:center;padding:0 12px;flex:1;min-width:0;gap:9px}.ku-camera-search svg{width:21px;height:21px;flex-shrink:0;color:#365784}.ku-camera-search input{width:100%;min-width:0;border:0;outline:none;background:transparent;padding:8px 0;font-size:15px;color:#365784}.ku-camera-search input::placeholder{color:#45638c}.ku-camera-search>button{border:1px solid #c9dcf1;border-radius:13px;width:43px;background:#fff;display:grid;place-items:center}.ku-camera-tabs{display:flex;border-bottom:1px solid #e0eaf3;margin:0 0 12px}.ku-camera-tabs button{position:relative;flex:1;min-height:44px;font-size:15px;font-weight:600;color:#132957;border:0;background:transparent}.ku-camera-tabs button+button:before{content:'';width:1px;height:16px;background:#bccddd;position:absolute;left:0;top:14px}.ku-camera-tabs [aria-selected=true]{color:#ff8700}.ku-camera-tabs [aria-selected=true]:after{content:'';height:3px;background:#ff8900;position:absolute;bottom:-1px;left:7px;right:7px;border-radius:4px}
.ku-cctv .kh-traffic-source{display:none}.ku-cctv #khTrafficWall{margin:0;padding:0;border:0;background:white;box-shadow:none}.ku-cctv #kuCameraFilters{border:1px solid #dbe7f2;background:#f5f9fc;border-radius:14px;padding:12px;margin-bottom:9px}.ku-cctv .kh-camera-tools{margin:0;border:0;background:none;padding:0}.ku-cctv .kh-camera-tools>summary{font-size:12px}.ku-cctv .kt-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ku-cctv .kt-filters label{font-size:10px}.ku-cctv .kt-filters select{max-width:100%;width:100%;font-size:12px;padding:6px;min-height:36px}.ku-cctv #kuCameraFilters[data-category=traffic] .kh-camera-tools:has(#ctQ),.ku-cctv #kuCameraFilters[data-category=water] .kh-camera-tools:has(#ktQuery),.ku-cctv #kuCameraFilters[data-category=water] .ki-toolbar{display:none}.ku-cctv .ki-toolbar{margin:8px 0 0;padding:8px;font-size:11px}.ku-cctv .ki-toolbar small{font-size:10px}.ku-cctv .ct-chips{margin:0 0 10px}.ku-cctv .ct-chips button{font-size:11px;padding:5px 8px;min-height:32px}
body.ku-cctv .kt-grid,body.ku-cctv .ct-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0;padding:0}.ku-cctv article.kt-card,.ku-cctv .ct-card{border:1px solid #dde8f2;border-radius:10px;overflow:hidden;box-shadow:none;background:white;color:#0a234f;min-width:0;gap:0}.ku-cctv .ki-player{border-radius:0;background:#fff;color:#3b5474}.ku-cctv .ki-screen{aspect-ratio:1.42;background:#e4edf4}.ku-cctv .ki-thai-clock{display:none}.ku-cctv .ki-screen>.kt-preview{border-radius:0;height:100%;min-height:0}.ku-cctv .ki-poster-play{right:9px;bottom:8px;width:35px;height:35px;border:2px solid white;color:#0c284f;background:#fffffff2;box-shadow:0 1px 6px #18354633;font-size:17px}.ku-cctv .kt-preview-type{font-size:9px;bottom:8px;left:7px;top:auto;right:auto;padding:3px 7px;background:#123346a6;border-radius:12px;color:#fff}.ku-cctv .ki-player:not(:has(video,iframe)) .ki-controls{display:none}.ku-cctv .ki-player:not(:has(video,iframe)) .ki-status{padding:3px 7px;font-size:9px;min-height:0;background:#f4f8fb;color:#466078}.ku-cctv .ki-controls{gap:4px;padding:4px}.ku-cctv .ki-controls button,.ku-cctv .ki-controls a{min-height:30px;font-size:10px;padding:3px 7px}.ku-cctv .ki-status{font-size:10px;color:#35566e;background:#f2f8fa;padding:4px 7px;min-height:0}.ku-cctv .ki-status.is-live{color:#087a66}.ku-cctv .kt-card-body{display:flex;flex-direction:column;padding:7px 9px 8px;gap:3px}.ku-cctv .kt-card-body strong{font-size:15px;line-height:1.4;color:#0b2453;-webkit-line-clamp:2}.ku-cctv .kt-card-body>span:not(.kt-card-state):not(.kt-card-action){font-size:11px;line-height:1.4;color:#38557c;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.ku-cctv .kt-card-body>small{font-size:9px;line-height:1.4;color:#59708a}.ku-cctv .kt-card-state{display:none}.ku-cctv .kt-card-action{font-size:11px;color:#234575;line-height:1.5;margin-top:2px;display:block}.ku-cctv .kt-location-card{padding:12px 10px 34px;justify-content:center;background:linear-gradient(145deg,#eef5fa,#d7e6ef)}.ku-cctv .kt-location-card strong{font-size:13px;max-width:90%}.ku-cctv .kt-location-card small{font-size:10px}.ku-cctv .kt-location-icon{opacity:.15!important}.ku-cctv .ct-shot{aspect-ratio:1.42}.ku-cctv .ct-info{padding:8px}.ku-cctv .ct-info strong{font-size:14px}.ku-cctv .ct-info small{font-size:10px}.ku-cctv .kt-pages{display:flex;justify-content:center;gap:8px;margin:12px 0 6px}.ku-cctv .kt-pages button{min-height:34px;border:1px solid #d7e4f0;border-radius:8px;background:white;color:#27456a;font-size:11px}.ku-cctv .kt-pages span{font-size:11px}.ku-cctv #ktReload{display:none}.ku-source-details{font-size:10px;color:#506986;padding:8px 2px}.ku-source-details summary{cursor:pointer;min-height:25px}.ku-cctv .kt-note,.ku-cctv .ct-src{font-size:10px;line-height:1.7;margin:10px 0}.ku-clock-note{margin:8px 0 6px;border-radius:8px;background:#f0f5f9;color:#345071;font-size:10px;text-align:center;padding:7px}.ku-view-map{display:flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;padding:8px;border:1px solid #bed4e9;border-radius:9px;background:#f7fafc;color:#17345b;font-size:13px}.ku-view-map svg{width:20px;height:20px}.ku-cctv .ki-unavailable{min-height:130px;background:#edf4f8;padding:20px 10px;font-size:12px;margin:0;color:#536c83}
/* Google uses its licensed native map surface with a matching overlay frame. */
.ku-app .ks-google-dialog{padding:0;max-width:100vw;width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;background:#e9f0f4;color:#14304d;font-family:KUThai,sans-serif}.ku-app .ks-google-dialog>header{position:absolute;top:16px;left:16px;right:16px;z-index:5;background:#fffffff5;border-radius:15px;padding:10px 14px;box-shadow:0 4px 28px #102f4222}.ku-app .ks-google-dialog h2{font-size:16px}.ku-app .ks-google-dialog>header button{border:1px solid #0ab2bc;background:white;color:#029dab;border-radius:10px;padding:7px 12px}.ku-app .ks-google-stage{position:absolute;inset:0;width:100%;height:100%;background:#dde9ee}.ku-app .ks-google-controls{position:absolute;right:16px;top:110px;z-index:5;display:flex;flex-direction:column;gap:8px}.ku-app .ks-google-controls button{width:47px;height:44px;border:0;border-radius:12px;background:#fff;color:#133553;box-shadow:0 3px 18px #18394a33}.ku-app .ks-google-message{position:absolute;left:16px;right:80px;bottom:100px;z-index:4;padding:12px 14px;border-radius:14px;background:#fff;color:#24445d;font-size:12px;margin:0;box-shadow:0 3px 20px #102f4022}.ku-app .ks-google-hint{position:absolute;bottom:0;left:0;right:0;margin:0;padding:12px 16px 47px;background:#fffffff2;font-size:11px;z-index:5}.ku-app .ks-google-dialog>a{position:absolute;bottom:13px;left:16px;z-index:6;font-size:12px;color:#047e92}
@media(max-width:760px){body.ku-app{background:white}.ku-header{height:67px;padding:10px 14px;border:0}.ku-brand img{width:58px;height:44px}.ku-brand strong{font-size:15px}.ku-brand small{font-size:9px}.ku-account{width:35px;height:35px}.ku-desktop-links{display:none}.ku-home .grid.kh-map-full{display:flex;flex-direction:column;gap:0;padding:0 12px 8px}.ku-home #mapSection{order:0;width:100%}.ku-home #feedSection{order:1;width:100%;margin-top:0;max-height:none}.ku-home.kh-studio #mapSection .kh-map-signature{padding:0 2px 7px;gap:10px}.ku-home .kh-map-signature h1{font-size:31px}.ku-home #fDist{max-width:145px;height:30px;font-size:12px}.ku-home.kh-studio #mapSection .mapbox{height:clamp(310px,43svh,420px);border-radius:12px}.ku-home .ks-tools>summary{font-size:10px;padding:8px;min-height:36px}.ku-home .ks-modes button{font-size:11px;padding:4px 8px;min-width:39px;min-height:29px}.ku-home .ks-modes svg{width:16px;height:16px}.ku-map-overlay{top:10px;right:9px;gap:5px}.ku-home .ku-map-state{top:57px;font-size:9px;left:9px;max-width:calc(100% - 45px)}.ku-app .ks-quick button{font-size:11px;min-height:73px;gap:4px}.ku-app .ks-quick .ks-icon{width:51px;height:51px}.ku-home .ks-quick{padding:9px 0 7px}.ku-home #feedSection .tabs{display:flex}.ku-home #feedSection .list{max-height:280px}.ku-home .kh-feed-heading{padding:8px 10px}.ku-home .ku-home-about{margin:12px}.ku-home .reserve,.ku-home .lower,.ku-home .features,.ku-home .bridge-footer,.ku-home #servicesSec{margin-left:12px;margin-right:12px}.ku-cameras{padding:8px 12px 24px}.ku-camera-heading{gap:7px;margin-bottom:12px}.ku-camera-heading h1{font-size:28px;letter-spacing:-.8px}.ku-province{font-size:9px;padding:4px 7px}.ku-thai-clock{padding-left:8px}.ku-thai-clock time{font-size:15px}.ku-thai-clock small{font-size:9px}body.ku-cctv .kt-grid,body.ku-cctv .ct-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ku-camera-tabs{margin-bottom:11px}.ku-cctv .kt-card-body strong{font-size:14px}.ku-cctv .kt-card-body{padding:7px}.ku-cctv .kt-card-action{font-size:10px}.ku-cctv .ki-screen{aspect-ratio:1.38}.ku-cctv .kt-filters{grid-template-columns:1fr 1fr}.ku-cctv .ct-bar{display:flex;flex-wrap:wrap}.ku-cctv .ct-bar select{max-width:48%;font-size:12px}.ku-camera-sheet>.kt-preview{aspect-ratio:3.5}.ku-dock{border-radius:17px 17px 0 0}.ku-map .ks-tools[open]>.ks-tools-body{max-height:calc(100dvh - 220px)}}
@media(min-width:761px){.ku-home .ks-tools[open]>.ks-tools-body{max-height:440px}.ku-home .kh-map-signature h1{font-size:34px}.ku-map .mapbar{max-width:470px}.ku-map-brand{left:510px;right:auto}.ku-map .ku-camera-sheet{right:24px;left:auto;bottom:24px;width:400px;border-radius:20px}.ku-map .ku-camera-sheet>.kt-preview{aspect-ratio:2.4}.ku-map .ku-dock{bottom:14px;border-radius:20px;border:1px solid #d9e4ed}.ku-map .ku-map-instruction{bottom:100px}}
@media(max-width:350px){.ku-camera-heading h1{font-size:24px}.ku-province{display:none}.ku-home .kh-map-signature h1{font-size:28px}.ku-app .ks-status{font-size:9px}.ku-app .ks-time-wrap small{display:none}.ku-app .ks-quick button{font-size:10px}.ku-app .ks-quick .ks-icon{width:45px;height:45px}.ku-home #fDist{max-width:135px}.ku-dock>a,.ku-dock>button{font-size:11px}}
@media(prefers-reduced-motion:reduce){.ku-app *{scroll-behavior:auto!important}.ku-app .ks-new{animation:none!important}}
/* Explicitly reset older theme layout rules whose selectors include the workspace ID. */
.ku-app .ku-header{width:100%;flex:none}.ku-app #mapSection,.ku-app #mapSection button,.ku-app #mapSection input,.ku-app #mapSection select{font-family:KUThai,sans-serif}.ku-app #searchForm{flex:none}.ku-app #mapSection .kh-map-signature{min-height:0;border:0;overflow:visible}.ku-app #mapSection .kh-map-ribbon,.ku-app #mapSection .kh-map-aura{display:none}.ku-app #mapSection .kh-basemap-note{top:auto;height:auto}.ku-app #mapSection .mapbar{border:0}.ku-app .app{padding-bottom:0}
body.ku-home:not(.kh-picking) main.grid.kh-map-full #mapSection .mapbox{flex:none;height:480px;min-height:0;max-height:none}
body.ku-map:not(.kh-picking) main.grid.kh-map-full #mapSection .mapbox{flex:none;height:100%;min-height:0;max-height:none}
body.ku-map.kh-focus-map.kh-studio main.grid.kh-map-full #mapSection .mapbar{position:absolute;background:none;max-height:none;padding:0}
body.ku-map.kh-focus-map.kh-studio main.grid.kh-map-full #mapSection .kh-focus-tools{display:contents}
.ku-app .ki-screen .kt-preview-play,.ku-app .ki-screen .kt-preview-cta,.ku-cctv .kt-preview-tag{display:none}.ku-cctv .kt-grid .kt-location-card{background:linear-gradient(135deg,#eaf3f8,#cfdfeb)!important;padding:16px 10px 32px;border:0;border-radius:0;inset:0}.ku-cctv .kt-grid .kt-location-card strong{color:#3d5d7b!important;font-size:13px;max-width:100%}.ku-cctv .kt-grid .kt-preview-type{bottom:6px;top:auto;right:47px;left:6px;width:max-content;max-width:calc(100% - 50px);font-size:8px;border:0}.ku-cctv .kt-grid .kt-preview-caption{display:none}.ku-cctv .kt-grid .kt-card-body>span:not(.kt-card-action){display:none}.ku-cctv .kt-grid .kt-card-body small{font-size:12px}.ku-cctv .kt-grid .kt-card-action{font-size:12px}.ku-cctv .ki-player[data-state=poster] .ki-status{display:none}
@media(max-width:760px){body.ku-home:not(.kh-picking) main.grid.kh-map-full #mapSection .mapbox{height:clamp(310px,43svh,420px);min-height:0;max-height:none}}
.ku-app .ku-camera-sheet>.kt-preview .kt-preview-play,.ku-app .ku-camera-sheet>.kt-preview .kt-preview-cta,.ku-app .ku-camera-sheet>.kt-preview .kt-preview-tag{display:none}.ku-app .ku-camera-sheet>.kt-preview .kt-location-card{background:#e3eef4!important;border:0;border-radius:0;inset:0;padding:12px 16px;color:#294962}.ku-app .ku-camera-sheet>.kt-preview .kt-location-card strong{color:#294962!important;font-size:14px;max-width:100%}.ku-app .ku-camera-sheet>.kt-preview .kt-location-card small{color:#627d90!important}.ku-app .ku-camera-sheet>.kt-preview .kt-preview-caption{font-size:9px;background:#315b7133;color:#21475d;padding:3px 10px}.ku-app .ku-camera-sheet>.kt-preview .kt-preview-type{display:none}
.ku-app .ks-google-dialog.ku-google-selected .ks-google-stage{bottom:var(--ku-sheet-height,260px);height:auto}.ku-app .ks-google-dialog.ku-google-selected .ks-google-hint{display:none}.ku-app .ks-google-dialog.ku-google-selected>a{bottom:auto;top:81px;background:white;border-radius:10px;padding:7px 12px}.ku-app .ks-google-dialog.ku-google-selected .ks-google-message{bottom:calc(var(--ku-sheet-height,260px) + 36px)}.ku-app .ks-google-dialog.ku-google-selected .ku-camera-sheet{bottom:0}
.ku-app .ku-camera-sheet{bottom:29px;border-radius:20px}.ku-app .ku-sheet-close:focus-visible{outline-offset:-3px}.ku-app.kh-picking .ku-dock,.ku-app.kh-picking .ku-map-overlay,.ku-app.kh-picking .ku-map-state,.ku-app.kh-picking .ku-camera-sheet,.ku-app.kh-picking .ku-map-brand,.ku-app.kh-picking .ku-flat,.ku-app.kh-picking .ku-map-instruction{display:none!important}
@media(max-width:760px){.ku-cctv .ki-screen{aspect-ratio:1.5}.ku-cctv .kt-pages{margin:9px 0 3px}.ku-cctv .ku-source-details{padding:4px}.ku-cctv .kt-grid .kt-card-body{padding:7px 8px}.ku-map .ku-camera-sheet{left:0;right:0;bottom:27px;border-radius:20px 20px 0 0}.ku-home .ku-camera-sheet{left:5px;right:5px;padding:7px 10px}.ku-home .ku-camera-sheet>.kt-preview{min-height:60px;aspect-ratio:5}}
.ku-app .mapbox>.ku-camera-sheet{bottom:var(--ku-attribution-height,29px)}
@media(min-width:761px) and (max-width:1000px){.ku-home .grid.kh-map-full{display:flex;flex-direction:column;gap:15px}.ku-home #mapSection{order:0;width:100%}.ku-home #feedSection{order:1;width:100%;margin:0}.ku-home .ku-desktop-links{gap:12px}.ku-home .ku-desktop-links a{font-size:12px}}
body.ku-map.admin-bar{--ku-admin-height:32px}body.ku-map.admin-bar.kh-focus-map main.grid.kh-map-full{height:calc(100dvh - 72px - var(--ku-admin-height) - env(safe-area-inset-bottom))}
@media(max-width:782px){body.ku-map.admin-bar{--ku-admin-height:46px}}
.ku-app #mapSection .kh-map-signature:after{display:none}.ku-app #map .kcm-pin{border-radius:50%;height:31px;width:31px;border-width:2px}.ku-app #map .kcm-pin:after{content:'';position:absolute;bottom:-5px;left:10px;width:8px;height:8px;transform:rotate(45deg);background:inherit;border-right:2px solid white;border-bottom:2px solid white}.ku-app #map .kcm-pin.is-traffic:not(.off){background:#ff9200!important}.ku-app #map .kcm-pin.is-traffic.off{background:#718398!important}.ku-app #map .kcm-pin.is-traffic>svg{width:18px;height:23px}.ku-app #map .kcm-pin.is-traffic rect,.ku-app #map .kcm-pin.is-traffic circle{fill:none;stroke:white;stroke-width:1.6}.ku-app #map .ku-map-selected .kcm-pin{box-shadow:0 0 0 7px #00d9e65c,0 0 0 12px #00d9e629,0 3px 12px #0a354c66}.ku-app #map .kt-map-tag{display:none}
.ku-cctv .ki-player[data-state=error] .ki-controls{display:flex}
.ku-app .ks-google-dialog>header:has(#searchForm){display:flex;gap:9px;padding:0;background:none;box-shadow:none;align-items:center}.ku-app .ks-google-dialog>header #searchForm{flex:1;min-width:0;height:46px;order:0;box-shadow:0 4px 20px #0c293422}.ku-app .ks-google-dialog>header:has(#searchForm) h2{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}.ku-app .ks-google-dialog>header:has(#searchForm)>button{height:45px;white-space:nowrap;order:1;background:#fff}.ku-app .ks-google-dialog #searchForm .srch-box{max-height:55dvh;text-align:left}

/* AI has a dedicated navigation slot, never a floating overlay on report or map buttons. */
.ku-app .ku-dock{grid-template-columns:repeat(6,minmax(0,1fr))}.ku-dock .ku-ai-link{color:#087f8c}.ku-dock .ku-ai-link svg{background:#e5fbfc;border-radius:9px;padding:3px;width:29px;height:29px}.ku-ai-header{background:#e5fbfc;border-radius:10px;padding:8px 12px!important;color:#007988!important}@media(max-width:380px){.ku-app .ku-dock>a,.ku-app .ku-dock>button{font-size:10px;min-width:0;padding-left:2px;padding-right:2px}}
