/* v318 - visual correction sweep: stable AmSpec command center + TV */
:root{
  --ams-red:#8A2A2B;
  --ams-red-bright:#C91724;
  --ams-ink:#07162C;
  --ams-muted:#5F6B7D;
  --ams-line:#DCE4EE;
  --ams-bg:#F3F6F9;
  --ams-card:#FFFFFF;
  --ams-shadow:0 10px 24px rgba(15,23,42,.055);
  --ams-radius:16px;
  --ams-font:Inter,"Segoe UI",Roboto,Arial,sans-serif;
}
html,body{font-family:var(--ams-font)!important;}

/* ------------------------------------------------------------------
   GLOBAL PLATFORM SIDEBAR TYPOGRAPHY NORMALIZATION
------------------------------------------------------------------ */
.app-shell .platform-sidebar-v295,
.app-shell .platform-sidebar-v295 *{font-family:var(--ams-font)!important;}
.app-shell .platform-sidebar-v295{width:248px!important;min-width:248px!important;background:#fff!important;border-right:1px solid #E4EAF2!important;color:var(--ams-ink)!important;}
.app-shell .platform-brand-v295{padding:18px 18px 15px!important;border-bottom:1px solid #E4EAF2!important;background:#fff!important;box-shadow:none!important;}
.app-shell .platform-brand-v295 .brand-logo-large{width:142px!important;max-height:68px!important;object-fit:contain!important;margin:0 0 20px!important;filter:none!important;}
.app-shell .platform-brand-v295 .brand-subtitle{font-size:10px!important;line-height:1.1!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.05em!important;color:#07162C!important;}
.app-shell .platform-brand-v295 .brand-tag{font-size:9.5px!important;line-height:1.25!important;font-weight:500!important;color:#64748B!important;margin-top:8px!important;}
.app-shell .platform-nav-v295{padding:18px 16px!important;gap:14px!important;display:flex!important;flex-direction:column!important;}
.app-shell .platform-nav-v295 .nav-module-v294{border:0!important;background:transparent!important;border-radius:14px!important;margin:0!important;box-shadow:none!important;}
.app-shell .platform-nav-v295 .nav-module-v294[open]{border:1px solid #DCE4EE!important;background:#fff!important;box-shadow:0 8px 18px rgba(15,23,42,.035)!important;overflow:hidden!important;}
.app-shell .platform-nav-v295 .nav-module-v294>summary{min-height:54px!important;height:auto!important;padding:11px 12px!important;display:grid!important;grid-template-columns:20px minmax(0,1fr) 16px!important;gap:10px!important;align-items:center!important;border-radius:14px!important;list-style:none!important;cursor:pointer!important;}
.app-shell .platform-nav-v295 .nav-module-v294[open]>summary{border-radius:14px 14px 0 0!important;background:#fff!important;}
.app-shell .platform-nav-v295 .nav-module-v294>summary i:first-child,
.app-shell .platform-nav-v295 .nav-link i{width:16px!important;height:16px!important;min-width:16px!important;stroke-width:1.8!important;color:#42526A!important;}
.app-shell .platform-nav-v295 .nav-module-v294>summary i:last-child{width:13px!important;height:13px!important;color:#42526A!important;}
.app-shell .platform-nav-v295 .nav-module-v294>summary span{font-size:13px!important;line-height:1.05!important;font-weight:850!important;letter-spacing:-.015em!important;color:#07162C!important;display:block!important;min-width:0!important;}
.app-shell .platform-nav-v295 .nav-module-v294>summary small{display:block!important;margin-top:3px!important;font-size:9.2px!important;line-height:1.12!important;font-weight:550!important;color:#66758A!important;letter-spacing:0!important;max-width:130px!important;}
.app-shell .platform-nav-v295 .nav-module-body-v294{padding:5px 8px 12px!important;display:grid!important;gap:5px!important;background:#fff!important;}
.app-shell .platform-nav-v295 .nav-link{min-height:37px!important;height:auto!important;padding:9px 10px!important;border-radius:10px!important;display:grid!important;grid-template-columns:17px minmax(0,1fr)!important;gap:9px!important;align-items:center!important;font-size:11.8px!important;line-height:1.08!important;font-weight:800!important;color:#17243A!important;text-decoration:none!important;letter-spacing:-.01em!important;background:transparent!important;}
.app-shell .platform-nav-v295 .nav-link.active{background:#C91724!important;color:#fff!important;box-shadow:0 8px 18px rgba(201,23,36,.18)!important;}
.app-shell .platform-nav-v295 .nav-link.active i{color:#fff!important;stroke:#fff!important;}

/* ------------------------------------------------------------------
   COMMAND CENTER DASHBOARD
------------------------------------------------------------------ */
body.endpoint-main-dashboard .content,
body.endpoint-main-dashboard main{font-family:var(--ams-font)!important;}
body.endpoint-main-dashboard .command-center-v291{display:grid!important;gap:16px!important;padding:16px 18px 24px!important;max-width:100%!important;}
body.endpoint-main-dashboard .cc-hero-amspec-v297.cc-hero-v291{height:230px!important;min-height:230px!important;max-height:230px!important;position:relative!important;border:1px solid var(--ams-line)!important;border-radius:18px!important;overflow:hidden!important;background-image:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.94) 28%,rgba(255,255,255,.73) 44%,rgba(255,255,255,.18) 66%,rgba(255,255,255,.02) 100%),url('img/amspec-hero-sunset-v318.png')!important;background-size:100% 100%!important;background-position:center center!important;background-repeat:no-repeat!important;box-shadow:var(--ams-shadow)!important;}
body.endpoint-main-dashboard .cc-hero-amspec-v297.cc-hero-v291::before,
body.endpoint-main-dashboard .cc-hero-amspec-v297.cc-hero-v291::after{display:none!important;content:none!important;}
body.endpoint-main-dashboard .cc-hero-copy-v297{width:560px!important;max-width:560px!important;padding:36px 34px 28px!important;position:relative!important;z-index:2!important;}
body.endpoint-main-dashboard .cc-hero-copy-v297>span{font-size:9px!important;line-height:1!important;font-weight:900!important;letter-spacing:.26em!important;text-transform:uppercase!important;color:#C91724!important;}
body.endpoint-main-dashboard .cc-hero-v291 h1{margin:14px 0 14px!important;white-space:nowrap!important;font-size:31px!important;line-height:1!important;font-weight:950!important;letter-spacing:-.04em!important;color:#0A1A30!important;}
body.endpoint-main-dashboard .cc-hero-v291 p{width:500px!important;max-width:500px!important;margin:0!important;color:#20314A!important;font-size:13.3px!important;line-height:1.45!important;font-weight:650!important;}
body.endpoint-main-dashboard .cc-hero-actions-v297.cc-quick-actions-v291{position:absolute!important;right:28px!important;top:28px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;z-index:4!important;}
body.endpoint-main-dashboard .cc-hero-actions-v297 a{height:42px!important;min-width:92px!important;padding:0 16px!important;border:1px solid #D6DEE9!important;border-radius:12px!important;background:rgba(255,255,255,.92)!important;color:#0F1E34!important;box-shadow:0 10px 20px rgba(15,23,42,.08)!important;font-size:11px!important;font-weight:900!important;text-decoration:none!important;}
body.endpoint-main-dashboard .cc-hero-actions-v297 a:first-child{min-width:112px!important;background:#C91724!important;border-color:#C91724!important;color:#fff!important;box-shadow:0 14px 26px rgba(201,23,36,.22)!important;}
body.endpoint-main-dashboard .cc-metrics-v291{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;}
body.endpoint-main-dashboard .cc-metrics-v291 article{height:102px!important;min-height:102px!important;display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;align-items:center!important;gap:14px!important;padding:16px 18px!important;border:1px solid var(--ams-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--ams-shadow)!important;}
body.endpoint-main-dashboard .cc-kpi-icon-v297{width:52px!important;height:52px!important;border-radius:14px!important;background:#fff1f1!important;border:1px solid rgba(201,23,36,.22)!important;display:grid!important;place-items:center!important;}
body.endpoint-main-dashboard .cc-kpi-icon-v297 i{width:25px!important;height:25px!important;stroke:#C91724!important;color:#C91724!important;stroke-width:2!important;}
body.endpoint-main-dashboard .cc-kpi-copy-v297{min-width:0!important;display:grid!important;gap:4px!important;}
body.endpoint-main-dashboard .cc-kpi-copy-v297 small{font-size:9.5px!important;line-height:1!important;font-weight:900!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:#66758A!important;}
body.endpoint-main-dashboard .cc-kpi-copy-v297 strong{font-size:20px!important;line-height:1!important;font-weight:950!important;letter-spacing:-.02em!important;color:#C91724!important;white-space:nowrap!important;}
body.endpoint-main-dashboard .cc-kpi-copy-v297 span{font-size:10.7px!important;line-height:1.15!important;font-weight:750!important;color:#07162C!important;}
body.endpoint-main-dashboard .cc-layout-v291{display:grid!important;grid-template-columns:minmax(0,1fr) 328px!important;gap:16px!important;align-items:start!important;}
body.endpoint-main-dashboard .cc-main-v291,body.endpoint-main-dashboard .cc-rail-v291{display:grid!important;gap:16px!important;}
body.endpoint-main-dashboard .cc-panel-v291{border:1px solid var(--ams-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--ams-shadow)!important;overflow:hidden!important;}
body.endpoint-main-dashboard .cc-panel-v291>header{min-height:76px!important;padding:16px 20px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;border-bottom:1px solid #EEF2F6!important;}
body.endpoint-main-dashboard .cc-panel-v291 header span{font-size:9.5px!important;line-height:1!important;font-weight:900!important;letter-spacing:.22em!important;text-transform:uppercase!important;color:#C91724!important;}
body.endpoint-main-dashboard .cc-panel-v291 h2{margin:7px 0 0!important;font-size:17px!important;line-height:1.15!important;font-weight:900!important;letter-spacing:-.02em!important;color:#07162C!important;}
body.endpoint-main-dashboard .cc-panel-v291 header a,body.endpoint-main-dashboard .cc-panel-v291 header button{height:42px!important;padding:0 18px!important;border:1px solid #D7E0EA!important;border-radius:12px!important;background:#fff!important;color:#07162C!important;font-size:11.5px!important;font-weight:900!important;text-decoration:none!important;white-space:nowrap!important;}
body.endpoint-main-dashboard .cc-table-wrap-v291{padding:0!important;overflow:auto!important;}
body.endpoint-main-dashboard .cc-lineup-table-v307{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;}
body.endpoint-main-dashboard .cc-lineup-table-v307 .cc-col-etb{width:10%!important}.cc-lineup-table-v307 .cc-col-terminal{width:10%!important}.cc-lineup-table-v307 .cc-col-vessel{width:18%!important}.cc-lineup-table-v307 .cc-col-client{width:12%!important}.cc-lineup-table-v307 .cc-col-product{width:12%!important}.cc-lineup-table-v307 .cc-col-qty{width:12%!important}.cc-lineup-table-v307 .cc-col-status{width:11%!important}.cc-lineup-table-v307 .cc-col-os{width:15%!important}
body.endpoint-main-dashboard .cc-table-wrap-v291 th{height:36px!important;padding:0 14px!important;background:#061125!important;color:#fff!important;font-size:9px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.05em!important;text-align:left!important;}
body.endpoint-main-dashboard .cc-table-wrap-v291 td{height:46px!important;padding:9px 14px!important;border-bottom:1px solid #E8EEF5!important;font-size:10.8px!important;line-height:1.2!important;font-weight:740!important;color:#07162C!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body.endpoint-main-dashboard .cc-table-wrap-v291 tbody tr:nth-child(even) td{background:#FAFBFD!important;}
body.endpoint-main-dashboard .cc-table-wrap-v291 td strong{font-size:11px!important;line-height:1.15!important;font-weight:900!important;color:#07162C!important;display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body.endpoint-main-dashboard .cc-table-wrap-v291 td small{font-size:8px!important;line-height:1!important;color:#708098!important;display:block!important;margin-top:3px!important;}
body.endpoint-main-dashboard .cc-table-wrap-v291 td:nth-child(6),body.endpoint-main-dashboard .cc-table-wrap-v291 th:nth-child(6){text-align:right!important;}
body.endpoint-main-dashboard .cc-table-wrap-v291 td:nth-child(7),body.endpoint-main-dashboard .cc-table-wrap-v291 th:nth-child(7){text-align:center!important;}
body.endpoint-main-dashboard .cc-lineup-v291 mark{height:24px!important;min-width:82px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:8px!important;font-weight:900!important;letter-spacing:.04em!important;}
body.endpoint-main-dashboard .cc-ai-v291 a{min-height:50px!important;margin:0 16px 10px!important;padding:0 14px!important;border-radius:12px!important;border:1px solid rgba(201,23,36,.18)!important;background:#FFF7F7!important;font-size:11.5px!important;line-height:1.25!important;font-weight:850!important;color:#07162C!important;white-space:normal!important;}
body.endpoint-main-dashboard .cc-ai-v291 a span,body.endpoint-main-dashboard .cc-ai-v291 a p{overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;}
body.endpoint-main-dashboard .cc-weather-v291>header,body.endpoint-main-dashboard .cc-atlas-quick-v297>header{min-height:66px!important;}
body.endpoint-main-dashboard .cc-weather-v291 #ccWeatherNow{padding:0 16px 12px!important;font-size:13px!important;line-height:1.35!important;font-weight:850!important;}
body.endpoint-main-dashboard .cc-weather-days-v291{padding:0 16px 16px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 article{min-height:78px!important;border-radius:11px!important;}

/* ------------------------------------------------------------------
   LINE-UP TV v318
------------------------------------------------------------------ */
body.lineup-tv-body.lineup-tv-v318{--red:#8A2A2B;--red2:#C91724;--ink:#07162C;--muted:#607086;--line:#DCE4EE;--bg:#F3F6F9;--card:#fff;--shadow:0 8px 20px rgba(15,23,42,.045);margin:0!important;width:100vw!important;height:100vh!important;min-height:100vh!important;overflow:hidden!important;box-sizing:border-box!important;background:var(--bg)!important;color:var(--ink)!important;font-family:var(--ams-font)!important;display:grid!important;grid-template-rows:66px 40px 94px minmax(0,1fr) 230px!important;gap:8px!important;padding:8px!important;}
body.lineup-tv-v318 *{box-sizing:border-box!important;font-family:var(--ams-font)!important;}
body.lineup-tv-v318 .tv-detail-backdrop[hidden],body.lineup-tv-v318 .tv-vessel-detail[hidden]{display:none!important;}
body.lineup-tv-v318 .lineup-tv-top{height:66px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;padding:8px 16px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--shadow)!important;}
body.lineup-tv-v318 .lineup-tv-brand{display:grid!important;grid-template-columns:126px minmax(0,1fr)!important;align-items:center!important;gap:14px!important;min-width:0!important;}
body.lineup-tv-v318 .lineup-tv-brand img{width:120px!important;height:auto!important;display:block!important;}
body.lineup-tv-v318 .lineup-tv-kicker{font-size:10px!important;line-height:1!important;font-weight:900!important;letter-spacing:.21em!important;color:var(--red2)!important;text-transform:uppercase!important;margin-bottom:4px!important;}
body.lineup-tv-v318 .lineup-tv-brand h1{margin:0!important;font-size:25px!important;line-height:1!important;font-weight:950!important;letter-spacing:-.035em!important;text-transform:uppercase!important;color:#07162C!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body.lineup-tv-v318 .lineup-tv-toolbar{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;}
body.lineup-tv-v318 .lineup-live-pill{height:32px!important;padding:0 12px!important;border-radius:10px!important;border:1px solid #D6EBDC!important;background:#F2FBF5!important;color:#16844E!important;font-size:9px!important;font-weight:900!important;display:flex!important;align-items:center!important;gap:6px!important;}
body.lineup-tv-v318 .lineup-live-pill span{width:7px!important;height:7px!important;border-radius:50%!important;background:#1CB060!important;display:block!important;}
body.lineup-tv-v318 .btn{height:32px!important;min-height:32px!important;border-radius:10px!important;padding:0 13px!important;font-size:9.5px!important;font-weight:900!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;text-decoration:none!important;}
body.lineup-tv-v318 .btn-primary{background:var(--red)!important;border:1px solid var(--red)!important;color:#fff!important;box-shadow:0 8px 18px rgba(138,42,43,.18)!important;}
body.lineup-tv-v318 .btn-light{background:#fff!important;border:1px solid var(--line)!important;color:#16253A!important;}
body.lineup-tv-v318 .lineup-tv-clock{min-width:150px!important;text-align:right!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:1px!important;}
body.lineup-tv-v318 .lineup-tv-clock strong{font-size:19px!important;line-height:1!important;color:#06152B!important;letter-spacing:-.02em!important;font-weight:950!important;}body.lineup-tv-v318 .lineup-tv-clock small{font-size:8px!important;line-height:1!important;color:#66758A!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.05em!important;}
body.lineup-tv-v318 .lineup-tv-filter-hint{height:40px!important;padding:5px 10px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) auto auto!important;gap:9px!important;align-items:center!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:12px!important;box-shadow:var(--shadow)!important;}
body.lineup-tv-v318 .lineup-tv-filter-hint::before{content:''!important;width:28px!important;height:28px!important;border-radius:7px!important;background:#C91724!important;color:#fff!important;grid-column:1!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18l-7 8v5l-4 2v-7L3 4z'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;}
body.lineup-tv-v318 .lineup-tv-filter-hint>div:first-child{grid-column:2!important;display:flex!important;flex-direction:column!important;gap:1px!important;}
body.lineup-tv-v318 .lineup-tv-filter-hint strong{font-size:10px!important;line-height:1!important;letter-spacing:.18em!important;font-weight:900!important;text-transform:uppercase!important;color:#07162C!important;}body.lineup-tv-v318 .lineup-tv-filter-hint span{font-size:8.7px!important;line-height:1.12!important;color:#607086!important;font-weight:600!important;}
body.lineup-tv-v318 .tv-active-filters{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;}body.lineup-tv-v318 .tv-filter-none,body.lineup-tv-v318 .tv-filter-pill{height:26px!important;padding:0 10px!important;border-radius:999px!important;background:#F3F6FA!important;border:1px solid #E3E9F1!important;color:#718096!important;font-size:8.6px!important;font-weight:800!important;display:inline-flex!important;align-items:center!important;}body.lineup-tv-v318 #clearFiltersBtn{display:none!important;}
body.lineup-tv-v318 .lineup-tv-kpi-row{height:94px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0!important;}
body.lineup-tv-v318 .lineup-tv-kpi-row article{height:94px!important;display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;align-items:center!important;gap:14px!important;padding:0 22px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--shadow)!important;overflow:hidden!important;}
body.lineup-tv-v318 .lineup-tv-kpi-row article::before,body.lineup-tv-v318 .lineup-tv-kpi-row article::after{content:none!important;display:none!important;}
body.lineup-tv-v318 .tv-kpi-icon{width:56px!important;height:56px!important;border-radius:50%!important;background:linear-gradient(180deg,#C91724 0%,#8A2A2B 100%)!important;color:#fff!important;display:grid!important;place-items:center!important;}
body.lineup-tv-v318 .tv-kpi-icon svg{width:29px!important;height:29px!important;stroke:#fff!important;fill:none!important;stroke-width:2!important;}
body.lineup-tv-v318 .tv-kpi-copy{display:grid!important;grid-template-areas:'num' 'label' 'small'!important;gap:4px!important;min-width:0!important;}body.lineup-tv-v318 .tv-kpi-copy strong{grid-area:num!important;font-size:27px!important;line-height:1!important;font-weight:950!important;letter-spacing:-.03em!important;color:#07162C!important;white-space:nowrap!important;}body.lineup-tv-v318 .tv-kpi-copy span{grid-area:label!important;font-size:11px!important;line-height:1!important;color:#3C4B5F!important;font-weight:780!important;text-transform:uppercase!important;}body.lineup-tv-v318 .tv-kpi-copy small{grid-area:small!important;font-size:9.5px!important;line-height:1!important;color:#C91724!important;font-weight:900!important;text-transform:uppercase!important;white-space:nowrap!important;}
body.lineup-tv-v318 .lineup-tv-dashboard{height:auto!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1.42fr) minmax(0,.84fr) 274px!important;gap:8px!important;margin:0!important;}
body.lineup-tv-v318 .lineup-tv-table-panel,body.lineup-tv-v318 .lineup-tv-chart-panel{background:#fff!important;border:1px solid var(--line)!important;border-radius:13px!important;box-shadow:var(--shadow)!important;overflow:hidden!important;display:grid!important;grid-template-rows:38px minmax(0,1fr)!important;min-height:0!important;}
body.lineup-tv-v318 .lineup-tv-section-title{height:38px!important;min-height:38px!important;padding:0 16px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;background:linear-gradient(180deg,#B93A3B 0%,#8A2A2B 100%)!important;color:#fff!important;font-size:11.5px!important;line-height:1!important;font-weight:950!important;letter-spacing:.05em!important;text-transform:uppercase!important;text-align:left!important;}
body.lineup-tv-v318 .lineup-tv-section-title::before{color:#fff!important;font-size:13px!important;line-height:1!important;}body.lineup-tv-v318 .lineup-tv-table-panel.estimated .lineup-tv-section-title::before{content:'⚓';}body.lineup-tv-v318 .lineup-tv-table-panel.operating .lineup-tv-section-title::before{content:'⚓';}
body.lineup-tv-v318 .lineup-tv-table-wrap{min-height:0!important;overflow:auto!important;background:#fff!important;}body.lineup-tv-v318 .lineup-tv-table-wrap::-webkit-scrollbar,.lineup-tv-support-rail::-webkit-scrollbar{width:5px!important;height:5px!important;}body.lineup-tv-v318 .lineup-tv-table-wrap::-webkit-scrollbar-thumb,.lineup-tv-support-rail::-webkit-scrollbar-thumb{background:#B7C3D1!important;border-radius:999px!important;}
body.lineup-tv-v318 .lineup-tv-data-table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;}body.lineup-tv-v318 .lineup-tv-data-table th{position:sticky!important;top:0!important;z-index:2!important;height:25px!important;padding:0 5px!important;background:#fff!important;color:#5F6D82!important;border-bottom:1px solid #E6ECF3!important;text-align:left!important;font-size:7.4px!important;line-height:1!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.04em!important;}body.lineup-tv-v318 .lineup-tv-data-table tbody td{height:25px!important;padding:4px 5px!important;border-bottom:1px solid #EDF2F7!important;color:#07162C!important;font-size:8px!important;line-height:1.05!important;font-weight:720!important;vertical-align:middle!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;background:#fff!important;}body.lineup-tv-v318 .lineup-tv-data-table tbody tr:nth-child(even) td{background:#FAFBFD!important;}body.lineup-tv-v318 .lineup-tv-data-table td strong{font-size:8.3px!important;line-height:1.05!important;font-weight:900!important;color:#07162C!important;display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;}body.lineup-tv-v318 .lineup-tv-data-table td small{font-size:6px!important;line-height:1!important;font-weight:700!important;color:#728198!important;display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body.lineup-tv-v318 .lineup-tv-data-table.wide th:nth-child(1),body.lineup-tv-v318 .lineup-tv-data-table.wide td:nth-child(1){width:5%;}body.lineup-tv-v318 .lineup-tv-data-table.wide th:nth-child(2),body.lineup-tv-v318 .lineup-tv-data-table.wide td:nth-child(2){width:6%;}body.lineup-tv-v318 .lineup-tv-data-table.wide th:nth-child(3),body.lineup-tv-v318 .lineup-tv-data-table.wide td:nth-child(3){width:6%;}body.lineup-tv-v318 .lineup-tv-data-table.wide th:nth-child(4),body.lineup-tv-v318 .lineup-tv-data-table.wide td:nth-child(4),body.lineup-tv-v318 .lineup-tv-data-table.wide th:nth-child(5),body.lineup-tv-v318 .lineup-tv-data-table.wide td:nth-child(5),body.lineup-tv-v318 .lineup-tv-data-table.wide th:nth-child(6),body.lineup-tv-v318 .lineup-tv-data-table.wide td:nth-child(6){width:4.5%;text-align:center!important;}body.lineup-tv-v318 .lineup-tv-data-table.wide th:nth-child(7),body.lineup-tv-v318 .lineup-tv-data-table.wide td:nth-child(7){width:10%;}body.lineup-tv-v318 .lineup-tv-data-table.wide th:nth-child(8),body.lineup-tv-v318 .lineup-tv-data-table.wide td:nth-child(8){width:13%;}body.lineup-tv-v318 .lineup-tv-data-table.wide th:nth-child(9),body.lineup-tv-v318 .lineup-tv-data-table.wide td:nth-child(9){width:9%;}body.lineup-tv-v318 .lineup-tv-data-table.wide th:nth-child(10),body.lineup-tv-v318 .lineup-tv-data-table.wide td:nth-child(10){width:10%;}body.lineup-tv-v318 .lineup-tv-data-table.wide th:nth-child(11),body.lineup-tv-v318 .lineup-tv-data-table.wide td:nth-child(11){width:12%;}body.lineup-tv-v318 .lineup-tv-data-table.wide th:nth-child(12),body.lineup-tv-v318 .lineup-tv-data-table.wide td:nth-child(12){width:10%;text-align:right!important;}
body.lineup-tv-v318 .operating-table th:nth-child(1),body.lineup-tv-v318 .operating-table td:nth-child(1){width:9%;}body.lineup-tv-v318 .operating-table th:nth-child(2),body.lineup-tv-v318 .operating-table td:nth-child(2){width:9%;text-align:center!important;}body.lineup-tv-v318 .operating-table th:nth-child(3),body.lineup-tv-v318 .operating-table td:nth-child(3){width:14%;}body.lineup-tv-v318 .operating-table th:nth-child(4),body.lineup-tv-v318 .operating-table td:nth-child(4){width:19%;}body.lineup-tv-v318 .operating-table th:nth-child(5),body.lineup-tv-v318 .operating-table td:nth-child(5){width:14%;}body.lineup-tv-v318 .operating-table th:nth-child(6),body.lineup-tv-v318 .operating-table td:nth-child(6){width:19%;}body.lineup-tv-v318 .operating-table th:nth-child(7),body.lineup-tv-v318 .operating-table td:nth-child(7){width:16%;text-align:right!important;}
body.lineup-tv-v318 .tv-flag{height:17px!important;min-width:34px!important;border-radius:999px!important;font-size:7px!important;font-weight:900!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 7px!important;border:1px solid #E1E8F0!important;background:#F1F5F9!important;color:#56667A!important;}body.lineup-tv-v318 .tv-flag.yes{background:#C91724!important;border-color:#C91724!important;color:#fff!important;}body.lineup-tv-v318 .tv-flag.no{background:#F3F7FA!important;color:#607086!important;}body.lineup-tv-v318 .tv-number{text-align:right!important;font-weight:900!important;}
body.lineup-tv-v318 .lineup-tv-support-rail{height:auto!important;min-height:0!important;display:grid!important;grid-template-rows:1fr 1.25fr!important;gap:8px!important;overflow:hidden!important;}body.lineup-tv-v318 .watch-card{min-height:0!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:13px!important;box-shadow:var(--shadow)!important;padding:12px!important;overflow:hidden!important;}body.lineup-tv-v318 .watch-card-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:8px!important;margin:0 0 10px!important;}body.lineup-tv-v318 .watch-card-head span{display:block!important;font-size:8.2px!important;line-height:1!important;font-weight:900!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:#607086!important;}body.lineup-tv-v318 .watch-card-head strong{display:block!important;font-size:17px!important;line-height:1!important;font-weight:950!important;color:#07162C!important;margin-top:4px!important;}body.lineup-tv-v318 .watch-card-head small{font-size:8px!important;line-height:1.12!important;font-weight:800!important;color:#728198!important;text-align:right!important;max-width:108px!important;}body.lineup-tv-v318 .watch-list{display:flex!important;flex-direction:column!important;gap:7px!important;overflow:auto!important;min-height:0!important;}body.lineup-tv-v318 .watch-row{height:32px!important;min-height:32px!important;display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,.85fr) auto 48px!important;gap:6px!important;align-items:center!important;padding:0 9px!important;border:1px solid #E8EEF5!important;border-radius:9px!important;background:#fff!important;}body.lineup-tv-v318 .watch-vessel{font-size:8.6px!important;font-weight:900!important;color:#07162C!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}body.lineup-tv-v318 .watch-terminal,body.lineup-tv-v318 .watch-time{font-size:7.5px!important;font-weight:800!important;color:#607086!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}body.lineup-tv-v318 .pi-watch-check{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;font-size:7px!important;font-weight:900!important;color:#8A2A2B!important;white-space:nowrap!important;}body.lineup-tv-v318 .pi-watch-check input{appearance:auto!important;width:11px!important;height:11px!important;min-width:11px!important;max-width:11px!important;margin:0!important;accent-color:#8A2A2B!important;}body.lineup-tv-v318 .watch-empty{border:1px dashed #CBD5E1!important;border-radius:12px!important;display:grid!important;place-items:center!important;text-align:center!important;color:#69788E!important;font-size:12px!important;font-weight:800!important;padding:16px!important;}
body.lineup-tv-v318 .lineup-tv-lower{height:auto!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr) minmax(0,.98fr)!important;gap:8px!important;margin:0!important;}body.lineup-tv-v318 .lineup-tv-chart-panel{grid-template-rows:38px minmax(0,1fr)!important;}body.lineup-tv-v318 .lineup-tv-product-bars{min-height:0!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(128px,1fr))!important;gap:10px!important;padding:12px!important;overflow:hidden!important;}body.lineup-tv-v318 .tv-product-bar{height:100%!important;min-height:0!important;border:1px solid #DFE7F0!important;border-radius:12px!important;background:#fff!important;padding:8px!important;display:grid!important;grid-template-rows:15px minmax(74px,1fr) 14px 16px!important;gap:4px!important;align-items:center!important;justify-items:center!important;text-align:center!important;}body.lineup-tv-v318 .tv-product-value{font-size:9.4px!important;line-height:1!important;font-weight:900!important;color:#1B2B42!important;}body.lineup-tv-v318 .tv-product-donut{width:82px!important;height:82px!important;border-radius:50%!important;background:conic-gradient(#C91724 calc(var(--pct)*1%),#DEE5ED 0)!important;display:grid!important;place-items:center!important;position:relative!important;}body.lineup-tv-v318 .tv-product-donut::before{content:''!important;width:60px!important;height:60px!important;border-radius:50%!important;background:#fff!important;box-shadow:inset 0 0 0 1px #EDF2F7!important;position:absolute!important;}body.lineup-tv-v318 .tv-product-icon{position:relative!important;z-index:2!important;display:block!important;width:50px!important;height:50px!important;background-position:center!important;background-repeat:no-repeat!important;background-size:48px 48px!important;opacity:1!important;}body.lineup-tv-v318 .tv-product-icon.fertilizer,body.lineup-tv-v318 .tv-product-icon.generic{background-image:url('img/icon_product_fertilizer_v315.png')!important;}body.lineup-tv-v318 .tv-product-icon.sugar{background-image:url('img/icon_product_sugar_v315.png')!important;}body.lineup-tv-v318 .tv-product-icon.soybean{background-image:url('img/icon_product_soybean_v315.png')!important;}body.lineup-tv-v318 .tv-product-icon.corn{background-image:url('img/icon_product_corn_v315.png')!important;}body.lineup-tv-v318 .tv-product-icon.oil{background-image:url('img/icon_product_oil_v315.png')!important;}body.lineup-tv-v318 .tv-product-bar strong{font-size:9.5px!important;line-height:1!important;font-weight:900!important;color:#07162C!important;text-transform:uppercase!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;}body.lineup-tv-v318 .tv-product-bar em{font-size:13px!important;line-height:1!important;font-weight:950!important;font-style:normal!important;color:#07162C!important;}
body.lineup-tv-v318 .lineup-tv-micro-grid.split-two{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding:12px!important;min-height:0!important;}body.lineup-tv-v318 .lineup-tv-micro-grid h2{margin:0 0 8px!important;font-size:8.4px!important;line-height:1!important;font-weight:900!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:#607086!important;}body.lineup-tv-v318 .lineup-tv-mini-list{display:flex!important;flex-direction:column!important;gap:7px!important;overflow:hidden!important;min-height:0!important;}body.lineup-tv-v318 .tv-mini-row{height:27px!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(72px,1fr) 20px!important;gap:8px!important;align-items:center!important;background:transparent!important;border:0!important;padding:0!important;text-align:left!important;}body.lineup-tv-v318 .tv-mini-row span{font-size:8.5px!important;line-height:1.05!important;font-weight:850!important;color:#1B2B42!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}body.lineup-tv-v318 .tv-mini-row div{height:8px!important;border-radius:999px!important;background:#E8EDF3!important;overflow:hidden!important;}body.lineup-tv-v318 .tv-mini-row div i{height:100%!important;border-radius:999px!important;background:#C91724!important;display:block!important;}body.lineup-tv-v318 .tv-mini-row strong{font-size:9px!important;font-weight:900!important;color:#1B2B42!important;}
body.lineup-tv-v318 .lineup-tv-control-grid{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;padding:11px 12px!important;overflow:hidden!important;}body.lineup-tv-v318 .tv-control-card{height:26px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 44px 44px!important;gap:7px!important;align-items:center!important;background:transparent!important;border:0!important;padding:0!important;text-align:left!important;}body.lineup-tv-v318 .tv-control-card strong{font-size:8.8px!important;font-weight:850!important;line-height:1!important;color:#17243A!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}body.lineup-tv-v318 .tv-control-card div{height:22px!important;border:1px solid #E6ECF3!important;border-radius:999px!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;}body.lineup-tv-v318 .tv-control-card span{font-size:7px!important;font-weight:850!important;color:#78869A!important;}body.lineup-tv-v318 .tv-control-card b{font-size:11px!important;font-weight:900!important;}body.lineup-tv-v318 .tv-control-card div:first-of-type b{color:#137A52!important;}body.lineup-tv-v318 .tv-control-card div:last-of-type b{color:#C91724!important;}
@media(max-height:820px), (max-width:1400px){body.lineup-tv-body.lineup-tv-v318{grid-template-rows:54px 34px 78px minmax(0,1fr) 168px!important;gap:6px!important;padding:6px!important;}body.lineup-tv-v318 .lineup-tv-top{height:54px!important;padding:6px 12px!important;}body.lineup-tv-v318 .lineup-tv-brand{grid-template-columns:112px minmax(0,1fr)!important;gap:10px!important;}body.lineup-tv-v318 .lineup-tv-brand img{width:110px!important;}body.lineup-tv-v318 .lineup-tv-brand h1{font-size:21px!important;}body.lineup-tv-v318 .lineup-tv-kicker{font-size:8.8px!important;margin-bottom:3px!important;}body.lineup-tv-v318 .lineup-tv-kpi-row{height:78px!important;}body.lineup-tv-v318 .lineup-tv-kpi-row article{height:78px!important;grid-template-columns:58px minmax(0,1fr)!important;padding:0 14px!important;}body.lineup-tv-v318 .tv-kpi-icon{width:46px!important;height:46px!important;}body.lineup-tv-v318 .tv-kpi-icon svg{width:24px!important;height:24px!important;}body.lineup-tv-v318 .tv-kpi-copy strong{font-size:22px!important;}body.lineup-tv-v318 .tv-kpi-copy span{font-size:9px!important;}body.lineup-tv-v318 .tv-kpi-copy small{font-size:8px!important;}body.lineup-tv-v318 .lineup-tv-dashboard{grid-template-columns:minmax(0,1.36fr) minmax(0,.80fr) 240px!important;}body.lineup-tv-v318 .lineup-tv-data-table th{font-size:6.8px!important;}body.lineup-tv-v318 .lineup-tv-data-table tbody td{height:22px!important;font-size:7.1px!important;}body.lineup-tv-v318 .lineup-tv-data-table td strong{font-size:7.4px!important;}body.lineup-tv-v318 .lineup-tv-data-table td small{font-size:5.5px!important;}body.lineup-tv-v318 .tv-product-donut{width:72px!important;height:72px!important;}body.lineup-tv-v318 .tv-product-donut::before{width:52px!important;height:52px!important;}body.lineup-tv-v318 .tv-product-icon{width:44px!important;height:44px!important;background-size:42px 42px!important;}}

/* Movement TV v318 */
body.movement-tv-body.movement-tv-v318{background:#F3F6F9!important;color:#07162C!important;font-family:var(--ams-font)!important;}body.movement-tv-body.movement-tv-v318 .btn-primary{background:#8A2A2B!important;border-color:#8A2A2B!important;color:#fff!important;}
