/* Between Jobs November 25 review: goals, JobJom and City Map */
#goals{width:194px!important;max-width:calc(100vw - 18px)!important;min-width:0!important;padding:7px 9px!important;font-size:11.5px!important;box-sizing:border-box;}
#goals h4{font-size:11.5px!important;line-height:1.15!important;white-space:nowrap;gap:3px;align-items:center;}
#goals h4 span{flex:none;font-size:13px;}
#goals>.btn{min-height:34px!important;height:34px!important;padding:5px 6px!important;font-size:11.5px!important;white-space:nowrap!important;line-height:1!important;letter-spacing:-.1px;}
#goals ul{margin:7px 0 0!important;padding-left:17px!important;max-height:88px;overflow-y:auto;}
#goals li{font-size:11.5px!important;line-height:1.4!important;margin:3px 0!important;color:#152643;font-weight:650;overflow-wrap:anywhere;}
#goals .bj-bills-one-line{display:block;margin-top:6px;padding:5px 2px 4px;border-top:1px dashed #d0c8b8;font-size:10px;line-height:1.25;letter-spacing:-.15px;font-weight:850;white-space:nowrap;}
#goals .bj-bills-one-line.short{color:#b82833;}
#goals .bj-bills-one-line.covered{color:#15704a;}
@media(max-width:370px){#goals{width:186px!important;font-size:11px!important;}#goals h4{font-size:11px!important;}#goals .bj-bills-one-line{font-size:9.5px!important;}}
.bj-jobjom-list{gap:9px!important;}
.bj-jj-filter-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
.bj-jj-filter{display:flex;flex-direction:column;gap:3px;text-align:left;min-width:0;min-height:52px;border:1.5px solid #ccd5e4;border-radius:11px;padding:8px;background:#fff;color:#172744;}
.bj-jj-filter small{font-size:10px;color:#64718b;font-weight:750;line-height:1;}
.bj-jj-filter span{font-size:11px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;}
.bj-jj-filter.on{border-color:#dfaa35;background:#fff8e9;}
.bj-jj-options{padding:10px;background:#f3f5fa;border:1px solid #d8e0ed;border-radius:12px;}
.bj-jj-options strong{display:block;margin-bottom:8px;font-size:12px;color:#253657;}
.bj-jj-options-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:180px;overflow-y:auto;}
.bj-jj-option{border:1px solid #cbd5e5;background:white;border-radius:9px;color:#263b5a;font-size:12px;font-weight:750;text-align:left;padding:9px;min-height:40px;overflow-wrap:anywhere;}
.bj-jj-option.selected{background:#14213d;color:#fff;border-color:#14213d;}
.bj-jobjom-list>.item{padding:10px 11px!important;box-shadow:0 1px 3px rgba(22,32,52,.06);}
.bj-jobjom-list>.item h3{font-size:14px;line-height:1.3;display:flex;gap:5px;flex-wrap:wrap;}
.bj-jobjom-list>.item h3>span{font-size:12px;white-space:nowrap;}
.bj-jobjom-list>.item .meta{line-height:1.4;font-size:11px;}
.bj-jobjom-list>.item .row{gap:4px;}
.bj-jobjom-list>.item .pill{font-size:10px;padding:3px 6px;}
.bj-map-stage{position:relative!important;width:100%;max-width:520px;margin:0 auto;border-radius:13px;overflow:hidden;}
.bj-map-stage>.cmplan{display:block;width:100%;height:auto;aspect-ratio:1;}
.bj-map-pin{position:absolute;transform:translate(-50%,-50%);font:800 clamp(9px,2.7vw,12px)/1.15 system-ui,sans-serif;border:1.5px solid #263c61;border-radius:7px;background:rgba(255,253,245,.96);color:#17253d;padding:3px 5px;max-width:100px;box-shadow:0 2px 4px rgba(7,20,38,.18);cursor:pointer;white-space:nowrap;z-index:1;}
.bj-map-pin.active{color:#14213d;background:#ffdc62;border-color:#14213d;z-index:2;box-shadow:0 0 0 3px rgba(248,197,48,.5);}
.bj-map-pin:focus-visible{outline:3px solid #268eae;outline-offset:2px;}
.bj-places-title{font-size:12px;font-weight:900;color:#243555;padding:3px 2px 0;}
.bj-places-links{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;padding-bottom:5px;-webkit-overflow-scrolling:touch;}
.bj-places-links .btn{white-space:nowrap;min-height:37px;font-size:11px;padding:7px 9px;flex-shrink:0;}
#bjCityTour{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:14px;box-sizing:border-box;}
.bj-city-tour-backdrop{position:absolute;inset:0;background:rgba(12,18,33,.70);}
.bj-city-tour-ring{position:fixed;border:3px solid #ffd851;border-radius:13px;box-shadow:0 0 0 4px rgba(255,220,82,.25);pointer-events:none;z-index:1;}
.bj-city-tour-intro{position:relative;z-index:2;background:#fffaf1;border:2px solid #d7b85e;border-radius:16px;padding:15px;width:min(340px,calc(100vw - 38px));box-shadow:0 16px 36px rgba(0,0,0,.35);color:#14213d;}
.bj-city-tour-intro strong{font-size:17px;}
.bj-city-tour-intro p{font-size:13px;line-height:1.55;margin:9px 0 14px;}
.bj-tour-actions,.bj-city-tour-foot{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end;}
.bj-tour-actions span,.bj-city-tour-foot span{font-size:11px;flex:1;font-weight:800;color:#667189;}
.bj-city-tour-panel{position:relative;z-index:2;width:min(510px,calc(100vw - 20px));max-height:min(92dvh,800px);display:flex;flex-direction:column;gap:8px;border:2px solid #e5c56f;border-radius:17px;background:#fff9ed;padding:11px;overflow:hidden;box-shadow:0 15px 40px rgba(0,0,0,.33);box-sizing:border-box;}
.bj-city-tour-head{display:flex;align-items:center;justify-content:space-between;color:#14213d;font-size:15px;}
.bj-city-tour-close{border:0;color:#28395c;background:#e5eaf2;border-radius:8px;min-width:37px;min-height:37px;font-size:23px;}
.bj-city-tour-panel .bj-map-stage{flex-shrink:1;min-height:0;overflow:hidden;max-height:calc(92dvh - 185px);aspect-ratio:1;}
.bj-city-tour-panel .bj-map-stage>.cmplan{width:100%;height:100%;object-fit:contain;}
.bj-city-tour-info{min-height:72px;flex-shrink:0;background:#fff;border:1px solid #e6d9b6;padding:9px;border-radius:11px;color:#1a2840;}
.bj-city-tour-info b{font-size:14px;}
.bj-city-tour-info p{font-size:12px;line-height:1.4;margin:4px 0 0;}
.bj-city-tour-foot{flex-shrink:0;margin-top:1px;}
.bj-city-tour-foot .btn,.bj-tour-actions .btn{font-size:11px;padding:6px 9px;min-height:35px;}
@media(max-height:650px){.bj-city-tour-panel{gap:5px;padding:7px;max-height:94dvh;}.bj-city-tour-panel .bj-map-stage{max-height:calc(94dvh - 162px);}.bj-city-tour-info{min-height:54px;padding:6px;}.bj-city-tour-info p{font-size:11px;line-height:1.28;}}

/* City Tour: premium, aligned explanation typography. Icon occupies its own column,
   so the place title and description share one consistent text edge. */
#bjCityTour .bj-city-tour-info {
  display:grid;
  grid-template-columns:32px minmax(0,1fr);
  align-items:start;
  gap:10px;
  padding:12px 13px;
  min-height:0;
  flex-shrink:0;
  font-family:'Nunito',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  text-align:left;
  overflow-wrap:break-word;
}
#bjCityTour .bj-tour-place-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  font-size:21px;
  line-height:1;
  background:#f4f0e7;
  border:1px solid #e7decb;
  border-radius:9px;
  margin:0;
}
#bjCityTour .bj-tour-place-copy {min-width:0; text-align:left;}
#bjCityTour .bj-tour-place-copy b {
  display:block;
  margin:0;
  color:#1a2944;
  font-family:'Nunito',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:15px;
  font-weight:800;
  line-height:1.3;
  letter-spacing:0;
  text-align:left;
}
#bjCityTour .bj-tour-place-copy p {
  margin:4px 0 0;
  color:#3b4b63;
  font-family:'Nunito',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:13.5px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:0;
  text-align:left;
}
@media(max-height:650px) {
  #bjCityTour .bj-city-tour-info {grid-template-columns:28px minmax(0,1fr);gap:8px;padding:8px 10px;}
  #bjCityTour .bj-tour-place-icon {width:28px;height:28px;font-size:18px;}
  #bjCityTour .bj-tour-place-copy b {font-size:13px;line-height:1.2;}
  #bjCityTour .bj-tour-place-copy p {font-size:12px;line-height:1.36;margin-top:2px;}
}

/* All interactive Batu Niah destinations, grouped by existing map district. */
.bj-map-district{display:flex;flex-direction:column;gap:3px;min-width:0;}
.bj-map-district-name{font:800 11px/1.25 system-ui,sans-serif;color:#355279;padding:1px 2px;}
.bj-map-district .bj-places-links{min-width:0;}
.bj-map-district .bj-places-links .btn{max-width:min(90vw,340px);overflow-wrap:normal;}
