/* SMART PLUS+ V45 — responsive, typography-safe Command Center.
   The user-selected new wordmark is displayed over a mint-tinted integrated sidebar dock.
   No changes to medical operations UI or business logic. */
:root{--v45-ink:#14382d;--v45-mint:#eff8f2;--v45-line:#d9e9df;--v45-focus:#e9ad31}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:clip}
body.command-v35{font-family:'IBM Plex Sans Thai','Noto Sans Thai','Thonburi','Sarabun',Tahoma,system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:clip}
body.command-v35 :lang(th){word-break:normal;overflow-wrap:break-word;line-break:loose}
body.command-v35 *,body.command-v35 *::before,body.command-v35 *::after{box-sizing:border-box}
body.command-v35 .content,body.command-v35 .main,body.command-v35 .command-overview,body.command-v35 .cmd-live-conditions-v42{min-width:0}
body.command-v35 .sidebar .brand.brand-v42.brand-v43{
  display:flex!important;flex-direction:column!important;gap:0!important;justify-content:center!important;
  margin:0 0 13px!important;padding:12px 8px!important;
  border:1px solid rgba(185,222,194,.64)!important;border-radius:18px!important;
  background:linear-gradient(157deg,#f4fbf5 0%,#e3f3e6 58%,#cde8d5 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 8px 19px rgba(0,35,25,.13)!important;
  isolation:isolate;
}
body.command-v35 .sidebar .brand-v43 .brand-v43-wide{
  width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;
  aspect-ratio:1300 / 426!important;object-fit:contain!important;
  -webkit-mask-image:none!important;mask-image:none!important;
  filter:none!important;animation:none!important;display:block!important;
}
body.command-v35 .sidebar .brand-v43 .brand-v43-label{display:none!important}
body.command-v35 .app-shell.sidebar-collapsed .sidebar .brand.brand-v43{
  padding:8px 3px!important;background:linear-gradient(160deg,#f4fbf4,#d4eddc)!important;border-radius:14px!important;
}
body.command-v35 .app-shell.sidebar-collapsed .sidebar .brand-v43 .brand-v43-wide{display:none!important}
body.command-v35 .app-shell.sidebar-collapsed .sidebar .brand-v43 .brand-v43-compact{
 display:block!important;width:58px!important;height:58px!important;max-width:100%!important;
 object-fit:contain!important;padding:3px!important;border:0!important;
 background:transparent!important;box-shadow:none!important;
}
body.command-v35 .command-overview .cmd-intro h2{
  font-family:Kanit,'Noto Sans Thai','Thonburi',Tahoma,sans-serif!important;
  font-size:clamp(29px,3.15vw,51px)!important;line-height:1.35!important;
  overflow:visible!important;letter-spacing:-.02em;
}
body.command-v35 .command-overview .cmd-intro p,
body.command-v35 .cmd-weather-details,body.command-v35 .cmd-digital-date{line-height:1.75!important}
body.command-v35 .topbar-title h1{line-height:1.35!important;min-width:0}
body.command-v35 .cmd-live-conditions-v42 .cmd-weather-primary strong{font-variant-numeric:tabular-nums;white-space:nowrap}
body.command-v35 .cmd-live-conditions-v42 .cmd-digital-time{font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:0!important}
body.command-v35 .cmd-live-conditions-v42 .cmd-condition-weather,body.command-v35 .cmd-live-conditions-v42 .cmd-condition-clock{min-width:0}
body.command-v35 .cmd-live-conditions-v42 .cmd-clock-copy{min-width:0;max-width:100%}
body.command-v35 .cmd-live-conditions-v42 .cmd-weather-primary>span{overflow-wrap:break-word}
body.command-v35 .cmd-live-conditions-v42 .cmd-digital-date{overflow-wrap:break-word}
body.command-v35 .cmd-telemetry-body,body.command-v35 .cmd-live-map,body.command-v35 .cmd-route-side{min-width:0}
body.command-v35 .cmd-route-side h3{overflow-wrap:break-word}
body.command-v35 .sidebar .nav-item,body.command-v35 .sidebar summary{line-height:1.5!important}
body.command-v35 button,body.command-v35 select,body.command-v35 input,body.command-v35 textarea{font-family:'IBM Plex Sans Thai','Noto Sans Thai','Thonburi',Tahoma,sans-serif}
body.command-v35 input:not([type=checkbox]):not([type=radio]),body.command-v35 select,body.command-v35 textarea{font-size:max(16px,1rem)}
body.command-v35 :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--v45-focus)!important;outline-offset:2px!important}
body.command-v35 .map{touch-action:pan-x pan-y}
@media (hover:none) and (pointer:coarse){
 body.command-v35 .content button,body.command-v35 .topbar button,body.command-v35 .nav-item,body.command-v35 .nav-group summary,body.command-v35 .cmd-section-link{min-height:44px}
 body.command-v35 .sidebar .nav-item{padding-block:11px!important}
}
@media (min-width:901px) and (max-width:1199px){
 body.command-v35 .sidebar{width:260px!important;min-width:260px!important}
 body.command-v35 .app-shell.sidebar-collapsed .sidebar{width:82px!important;min-width:82px!important}
 body.command-v35 .topbar{padding:15px 16px!important;gap:8px!important}
 body.command-v35 .topbar-title h1{font-size:clamp(18px,2vw,24px)!important}
 body.command-v35 .topbar .user-pill{max-width:158px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.command-v35 .cmd-live-conditions-v42{grid-template-columns:1fr!important}
 body.command-v35 .cmd-live-conditions-v42 .cmd-condition-clock{border-left:0!important;border-top:1px solid var(--v45-line)!important}
}
@media(max-width:900px){
 body.command-v35 .app-shell{max-width:100%!important}
 body.command-v35 .sidebar .brand.brand-v42.brand-v43,
 body.command-v35 .app-shell.sidebar-collapsed .sidebar .brand.brand-v42.brand-v43{padding:10px 7px!important}
 body.command-v35 .sidebar .brand-v43 .brand-v43-wide,
 body.command-v35 .app-shell.sidebar-collapsed .sidebar .brand-v43 .brand-v43-wide{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:1300 / 426!important}
 body.command-v35 .sidebar .brand-v43 .brand-v43-compact,
 body.command-v35 .app-shell.sidebar-collapsed .sidebar .brand-v43 .brand-v43-compact{display:none!important}
 body.command-v35 .sidebar{padding-top:max(14px,env(safe-area-inset-top,0px))!important;padding-bottom:max(20px,env(safe-area-inset-bottom,0px))!important}
 body.command-v35 .topbar{padding-top:max(12px,env(safe-area-inset-top,0px))!important;z-index:20;min-width:0}
 body.command-v35 .topbar-title{min-width:0;flex:1 1 0}
 body.command-v35 .topbar-title h1{font-size:clamp(17px,2.45vw,22px)!important}
 body.command-v35 .topbar-sub{overflow-wrap:anywhere;white-space:normal}
 body.command-v35 .mobile-bottom-nav{padding-bottom:max(7px,env(safe-area-inset-bottom,0px))!important}
 body.command-v35 .content{padding-bottom:calc(95px + env(safe-area-inset-bottom,0px))!important}
 body.command-v35 .command-overview .cmd-intro h2{font-size:clamp(25px,4.6vw,36px)!important;line-height:1.38!important}
 body.command-v35 .cmd-live-conditions-v42{grid-template-columns:1fr!important}
 body.command-v35 .cmd-live-conditions-v42 .cmd-condition-clock{border-left:0!important;border-top:1px solid var(--v45-line)!important}
 body.command-v35 .cmd-telemetry-body{grid-template-columns:minmax(0,1fr)!important}
 body.command-v35 .cmd-live-map{border-right:0!important;border-bottom:1px solid var(--v45-line)!important}
 body.command-v35 .cmd-live-map .map{height:clamp(300px,52vw,390px)!important;min-height:300px!important}
 body.command-v35 .cmd-activities-grid,body.command-v35 .cmd-lower-grid{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:580px){
 body.command-v35 .topbar{gap:8px!important;padding-left:10px!important;padding-right:10px!important}
 body.command-v35 .topbar-title h1{font-size:clamp(16px,4.1vw,20px)!important}
 body.command-v35 .topbar .cc-build-chip{font-size:10px!important;padding:5px 7px!important;margin:0!important}
 body.command-v35 .topbar .top-actions{margin-left:auto;justify-content:flex-end;min-width:0}
 body.command-v35 .topbar .clock{font-size:12px!important}
 body.command-v35 .topbar .user-pill{max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.command-v35 .command-overview .cmd-intro h2{font-size:clamp(25px,7vw,33px)!important;line-height:1.36!important}
 body.command-v35 .cmd-live-conditions-v42 .cmd-condition-weather,
 body.command-v35 .cmd-live-conditions-v42 .cmd-condition-clock{gap:10px!important;padding:13px 11px!important}
 body.command-v35 .cmd-live-conditions-v42 .cmd-condition-art,
 body.command-v35 .cmd-live-conditions-v42 .cmd-clock-art{width:56px!important;height:56px!important;flex:0 0 56px!important}
 body.command-v35 .cmd-live-conditions-v42 .cmd-condition-art svg,
 body.command-v35 .cmd-live-conditions-v42 .cmd-clock-art svg{width:49px!important;height:49px!important}
 body.command-v35 .cmd-live-conditions-v42 .cmd-weather-primary strong{font-size:clamp(32px,10vw,42px)!important}
 body.command-v35 .cmd-live-conditions-v42 .cmd-digital-time{font-size:clamp(33px,10vw,43px)!important}
 body.command-v35 .cmd-live-conditions-v42 .cmd-condition-kicker{font-size:11px!important}
 body.command-v35 .cmd-live-conditions-v42 .cmd-weather-details,
 body.command-v35 .cmd-live-conditions-v42 .cmd-digital-date{font-size:11px!important}
 body.command-v35 .cmd-section-heading{align-items:flex-start;flex-wrap:wrap}
 body.command-v35 .cmd-activity{padding:15px!important}
 body.command-v35 .cmd-live-map .map{height:300px!important;min-height:300px!important}
 body.command-v35 .cmd-route-side{padding:13px!important}
 body.command-v35 .cmd-telemetry-head,.command-v35 .cmd-telemetry-bar{flex-wrap:wrap!important}
 body.command-v35 .mobile-tab{font-size:10px!important}
 body.command-v35 .mobile-tab svg{width:21px!important;height:21px!important}
}
@media(max-width:360px){
 body.command-v35 .topbar .user-pill{max-width:78px;min-width:0}
 body.command-v35 .cmd-live-conditions-v42 .cmd-condition-art,
 body.command-v35 .cmd-live-conditions-v42 .cmd-clock-art{width:48px!important;height:48px!important;flex-basis:48px!important}
 body.command-v35 .cmd-live-conditions-v42 .cmd-condition-art svg,
 body.command-v35 .cmd-live-conditions-v42 .cmd-clock-art svg{width:43px!important;height:43px!important}
 body.command-v35 .cmd-live-conditions-v42 .cmd-digital-time{font-size:36px!important}
 body.command-v35 .cmd-live-conditions-v42 .cmd-weather-primary strong{font-size:32px!important}
}
@media(prefers-reduced-motion:reduce){body.command-v35 *,body.command-v35 *::before,body.command-v35 *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
