.cis-v2,
.cis-methodology {
  --cis-ink: #0c1a33;
  --cis-muted: #64748b;
  --cis-teal: #0d7f7a;
  --cis-teal-soft: #e9f6f4;
  --cis-blue: #3579d4;
  --cis-blue-soft: #edf4ff;
  --cis-orange: #d97706;
  --cis-orange-soft: #fff7e9;
  --cis-line: #cfdde5;
  --cis-bg: #f4f9fb;
  color: var(--cis-ink);
  font-family: "Inter", "Noto Sans SC", system-ui, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

.terminal-page--inventory-dashboard,
.terminal-page--inventory-vessel-detail,
.terminal-page--inventory-shipping,
.terminal-page--inventory-vessels {
  max-width: none;
  padding: 0;
}
.terminal-page--inventory-dashboard > h1,
.terminal-page--inventory-vessel-detail > h1,
.terminal-page--inventory-shipping > h1,
.terminal-page--inventory-vessels > h1 { display: none; }
.content--terminal:has(.terminal-page--inventory-dashboard),
.content--terminal:has(.terminal-page--inventory-vessel-detail),
.content--terminal:has(.terminal-page--inventory-shipping),
.content--terminal:has(.terminal-page--inventory-vessels) {
  width: 100%;
  max-width: none;
  padding: 0;
}

.cis-v2 {
  width: min(100%, 1536px);
  margin: 0 auto;
  padding: 18px 20px 26px;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.cis-v2 *, .cis-v2 *::before, .cis-v2 *::after,
.cis-methodology *, .cis-methodology *::before, .cis-methodology *::after { box-sizing: border-box; }
.cis-v2 h1, .cis-v2 h2, .cis-v2 p, .cis-v2 ul, .cis-v2 dl { margin-top: 0; }
.cis-v2 button, .cis-v2 a { font: inherit; }

.cis-screen {
  scroll-margin-top: 72px;
  margin-bottom: 14px;
  padding: 16px 20px;
  border: 1px solid var(--cis-line);
  border-radius: 8px;
  background-color: #fff;
  background-image: linear-gradient(#edf4f6 1px, transparent 1px), linear-gradient(90deg, #edf4f6 1px, transparent 1px);
  background-size: 44px 44px;
}
.cis-screen__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.cis-screen__head > div > span, .cis-judgement header span, .cis-port-panel header span,
.cis-change-table header span, .cis-vessel-panel header span, .cis-flow-facts header span,
.cis-forecast header span { display: block; color: var(--cis-teal); font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.cis-screen__head h1 { margin: 4px 0 0; font-size: 34px; line-height: 1.2; letter-spacing: 0; }
.cis-screen__head h2 { margin: 4px 0 0; font-size: 28px; line-height: 1.2; letter-spacing: 0; }
.cis-screen__head h2 small { color: var(--cis-orange); font-size: .55em; vertical-align: middle; }
.cis-screen__head p { max-width: 780px; margin: 8px 0 0; color: var(--cis-muted); font-size: .84rem; line-height: 1.6; }
.cis-vessel-entry { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; color: var(--cis-teal); font-size: .78rem; font-weight: 800; text-decoration: none; }
.cis-vessel-entry:hover, .cis-vessel-entry:focus-visible { text-decoration: underline; }
.cis-screen__head time { flex: 0 0 auto; color: var(--cis-muted); font-size: .8rem; font-weight: 700; }

.cis-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cis-kpis article { min-width: 0; min-height: 208px; padding: 20px 20px 17px; border: 1px solid var(--cis-line); border-radius: 4px; background: #fff; }
.cis-kpis span, .cis-trend-summary span, .cis-status-row span, .cis-scope-row span,
.cis-flow-facts div span, .cis-forecast__kpis span { display: block; color: #52647b; font-size: .78rem; font-weight: 800; }
.cis-kpis strong { display: block; margin: 14px 0 23px; font-size: 42px; line-height: 1; white-space: nowrap; }
.cis-kpis article:last-child strong { font-size: clamp(1.55rem, 2.2vw, 2.15rem); white-space: normal; }
.cis-kpis small, .cis-status-row small { color: var(--cis-muted); line-height: 1.45; }
.cis-v2 .is-positive { color: var(--cis-teal); }
.cis-v2 .is-risk { color: #bd4a38; }

.cis-overview-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 0; min-height: 350px; margin-top: 14px; }
.cis-judgement, .cis-port-panel, .cis-chart-panel, .cis-change-table, .cis-vessel-panel,
.cis-flow-facts, .cis-forecast { border: 1px solid var(--cis-line); background: rgba(255,255,255,.96); }
.cis-judgement { padding: 15px 20px; border-left: 0; border-right: 0; }
.cis-judgement header, .cis-port-panel header, .cis-change-table header, .cis-vessel-panel header,
.cis-flow-facts header, .cis-forecast header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cis-judgement header b, .cis-port-panel header b, .cis-change-table header b,
.cis-vessel-panel header b, .cis-flow-facts header b, .cis-forecast header b { color: var(--cis-muted); font-size: .8rem; }
.cis-judgement h2 { margin: 0 0 12px; font-size: 1.45rem; line-height: 1.25; letter-spacing: 0; }
.cis-judgement h2 strong.is-positive { color: var(--cis-teal); }
.cis-judgement h2 strong.is-risk { color: #bd4a38; }
.cis-v2[lang="en"] .cis-judgement h2 { font-size: clamp(1.1rem, 1.4vw, 1.4rem); line-height: 1.2; }
.cis-judgement ul { display: grid; gap: 7px; margin-bottom: 0; padding-left: 16px; }
.cis-judgement li { display: flex; align-items: center; gap: 9px; color: #2d4058; font-size: .84rem; font-weight: 700; line-height: 1.45; }
.cis-judgement li svg { flex: 0 0 17px; width: 17px; height: 17px; color: var(--cis-teal); stroke-width: 2.5; }
.cis-judgement > small { color: var(--cis-muted); }
.cis-port-panel { padding: 15px 20px; }
.cis-port-table { margin-top: 11px; }
.cis-port-table > div { display: grid; grid-template-columns: minmax(86px,.7fr) minmax(80px,.45fr) minmax(120px,1fr) 66px; align-items: center; gap: 10px; padding: 9px 10px; border-top: 1px solid #e3ebef; }
.cis-port-table > .cis-port-table__head { padding: 8px 10px; background: var(--cis-bg); color: var(--cis-muted); font-size: .7rem; }
.cis-port-table > .cis-port-table__head strong, .cis-port-table > .cis-port-table__head em { text-align: right; }
.cis-port-table > .cis-port-table__head em { grid-column: 4; }
.cis-port-table > div span { font-weight: 800; }
.cis-port-table > div strong { text-align: right; white-space: nowrap; }
.cis-port-table i { position: relative; height: 5px; overflow: hidden; background: #e7eff2; }
.cis-port-table i::before { content: ""; display: block; width: var(--share); height: 100%; background: var(--cis-teal); }
.cis-port-table em { color: var(--cis-muted); font-size: .7rem; font-style: normal; text-align: right; }
.cis-port-table small { grid-column: 1 / -1; color: var(--cis-muted); font-size: .64rem; }
.cis-status-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.cis-status-row article { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 9px 14px; border: 1px solid var(--cis-line); border-radius: 4px; background: #fff; }
.cis-status-row article > svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--cis-teal); }
.cis-status-row article.is-forecast > svg { color: var(--cis-orange); }
.cis-status-row article.is-watch > svg { color: #59677e; }
.cis-status-row article.is-forecast { border-top: 3px solid var(--cis-blue); }
.cis-status-row article.is-watch { border-top: 3px solid var(--cis-orange); }
.cis-status-row strong { display: block; margin: 3px 0; font-size: 1rem; }
.cis-status-row small { font-size: .7rem; line-height: 1.3; }

.cis-periods { display: inline-flex; border: 1px solid var(--cis-line); background: #fff; }
.cis-periods button { min-width: 64px; min-height: 38px; border: 0; border-right: 1px solid var(--cis-line); background: transparent; color: #40536a; font-weight: 800; cursor: pointer; }
.cis-periods button:last-child { border-right: 0; }
.cis-periods button.is-active { background: var(--cis-teal); color: #fff; }
.cis-periods button:focus-visible { outline: 3px solid rgba(13,127,122,.28); outline-offset: 2px; }
.cis-trend-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(390px, 1fr); gap: 14px; }
.cis-chart-panel { padding: 18px; }
.cis-trend-summary { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-bottom: 1px solid #e0e9ed; }
.cis-trend-summary div { min-width: 0; padding: 4px 12px 14px; border-right: 1px solid #e0e9ed; }
.cis-trend-summary div:last-child { border-right: 0; }
.cis-trend-summary strong { display: block; margin-top: 5px; font-size: 1.15rem; white-space: nowrap; }
.cis-chart { height: 390px; }
.cis-chart-panel > p { margin: 6px 0 0; color: var(--cis-muted); font-size: .82rem; }
.cis-change-table { padding: 18px; }
.cis-change-table__head, .cis-change-table > div:not(.cis-change-table__head) { display: grid; grid-template-columns: minmax(74px, 1.05fr) repeat(3,minmax(62px,.9fr)); align-items: center; gap: 5px; padding: 12px 2px; border-bottom: 1px solid #e0e9ed; }
.cis-change-table__head { margin-top: 10px; background: var(--cis-bg); color: var(--cis-muted); font-size: .7rem; font-weight: 800; }
.cis-change-table > div span { font-weight: 750; }
.cis-change-table > div strong, .cis-change-table > div em { text-align: right; font-size: .78rem; font-style: normal; line-height: 1.2; overflow-wrap: anywhere; }
.cis-change-table > .cis-change-table__total { border-top: 2px solid #b9cad3; background: var(--cis-bg); font-weight: 850; }

.cis-map-toggle { min-height: 40px; padding: 0 14px; border: 1px solid var(--cis-line); background: #fff; color: var(--cis-teal); font-weight: 800; cursor: pointer; }
.cis-map-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(440px, .95fr); gap: 14px; }
.cis-map { height: 500px; border: 1px solid var(--cis-line); background: #eaf2f4; }
.cis-map .leaflet-control-attribution { font-size: 9px; }
.cis-vessel-panel { padding: 12px; }
.cis-map-grid > .cis-vessel-panel { display: flex; flex-direction: column; height: 500px; min-height: 0; overflow: hidden; }
.cis-monitor-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 9px; }
.cis-monitor-meta section { min-width: 0; padding: 7px 9px; border: 1px solid #dce7eb; background: #fff; }
.cis-monitor-meta strong, .cis-monitor-meta span { display: block; }
.cis-monitor-meta strong { margin-bottom: 5px; color: #52647b; font-size: .72rem; }
.cis-monitor-meta span { margin-top: 3px; color: #43576e; font-size: .7rem; line-height: 1.25; }
.cis-monitor-meta .is-fresh { color: var(--cis-teal); }
.cis-monitor-meta .is-recent { color: var(--cis-orange); }
.cis-monitor-meta .is-delayed { color: #9a6a11; }
.cis-vessel-total { margin: 7px 0; padding: 7px 10px; background: var(--cis-teal-soft); }
.cis-vessel-total strong { display: block; color: var(--cis-teal); font-size: 1.45rem; }
.cis-vessel-total span, .cis-vessel-total small { display: block; margin-top: 4px; color: var(--cis-muted); }
.cis-vessel-total small { font-size: .72rem; }
.cis-vessel-total small:last-child { font-size: .68rem; line-height: 1.3; }
.cis-vessels { display: grid; gap: 4px; }
.cis-vessels--scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #8aaab5 #edf3f5; }
.cis-vessels--scroll:focus-visible { outline: 3px solid rgba(13,127,122,.24); outline-offset: 2px; }
.cis-vessels--scroll::-webkit-scrollbar { width: 9px; }
.cis-vessels--scroll::-webkit-scrollbar-track { background: #edf3f5; }
.cis-vessels--scroll::-webkit-scrollbar-thumb { border: 2px solid #edf3f5; border-radius: 8px; background: #8aaab5; }
.cis-vessels--scroll::-webkit-scrollbar-thumb:hover { background: #648d9b; }
.cis-map-grid > .cis-vessel-panel > .cis-vessels--scroll { flex: 1 1 auto; }
.cis-vessels--head { grid-template-columns: 1.25fr .72fr 1fr 1fr; gap: 8px; padding: 0 0 8px; border-bottom: 1px solid #d6e2e7; color: var(--cis-muted); font-size: .72rem; font-weight: 800; }
.cis-vessels--head span:not(:first-child) { text-align: right; }
.cis-vessels article { display: grid; grid-template-columns: 1.25fr .72fr 1fr 1fr; align-items: center; gap: 3px 8px; padding: 6px 0; border-top: 1px solid #e0e9ed; }
.cis-vessels article > span { color: var(--cis-muted); font-size: .74rem; text-align: right; }
.cis-vessels article b { color: var(--cis-teal); font-size: .8rem; text-align: right; white-space: nowrap; }
.cis-vessels article small { grid-column: 1 / -1; color: var(--cis-muted); font-size: .7rem; line-height: 1.3; }
.cis-vessel-panel details { margin-top: 8px; padding-top: 8px; border-top: 1px solid #e0e9ed; }
.cis-vessel-panel summary { color: var(--cis-teal); font-weight: 800; cursor: pointer; }
.cis-vessel-panel details p, .cis-limit { margin-bottom: 0; color: var(--cis-muted); font-size: .72rem; line-height: 1.4; }
.cis-scope-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin-top: 16px; border: 1px solid var(--cis-line); background: #fff; }
.cis-scope-row article { padding: 15px 18px; border-top: 4px solid var(--cis-teal); border-right: 1px solid var(--cis-line); }
.cis-scope-row article.is-sample { border-top-color: #7897a4; }
.cis-scope-row article.is-forecast { border-top-color: var(--cis-blue); }
.cis-scope-row strong { display: block; margin: 7px 0 4px; font-size: 1.45rem; white-space: nowrap; }
.cis-scope-row small { color: var(--cis-muted); }
.cis-scope-row > p { grid-column: 1 / -1; margin: 0; padding: 10px 18px; color: var(--cis-muted); font-size: .8rem; text-align: center; border-top: 1px solid var(--cis-line); }

.cis-flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cis-evidence-grid { display: grid; grid-template-columns: 1.55fr .55fr .55fr 1.15fr; gap: 10px; min-height: 350px; }
.cis-flow-facts, .cis-forecast, .cis-calculated, .cis-signal { min-width: 0; padding: 11px; border: 1px solid var(--cis-line); background: rgba(255,255,255,.96); }
.cis-flow-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.cis-flow-facts header, .cis-flow-facts > p { grid-column: 1 / -1; }
.cis-flow-facts > div { padding: 9px; border: 1px solid #dce7eb; background: #fff; }
.cis-flow-facts > div strong { display: block; margin-top: 5px; font-size: 1.2rem; white-space: nowrap; }
.cis-flow-facts > div small { display: block; margin-top: 5px; color: var(--cis-muted); font-size: .66rem; line-height: 1.3; }
.cis-flow-facts > p { margin: 0; padding: 9px; border-left: 4px solid var(--cis-orange); background: var(--cis-orange-soft); color: #6f4b1e; font-size: .74rem; }
.cis-calculated, .cis-signal { display: flex; flex-direction: column; }
.cis-calculated header span, .cis-signal header span, .cis-evidence-grid header span { color: var(--cis-teal); font-size: .72rem; font-weight: 850; }
.cis-evidence-grid header i { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 6px; border-radius: 50%; background: var(--cis-teal-soft); color: var(--cis-teal); font-style: normal; }
.cis-calculated > strong, .cis-signal > strong { margin-top: 19px; color: #52647b; font-size: .76rem; }
.cis-calculated > b, .cis-signal > b { margin-top: 8px; color: var(--cis-teal); font-size: 1.35rem; }
.cis-signal > b { color: var(--cis-orange); }
.cis-calculated > p, .cis-signal > p { margin: auto 0 0; color: var(--cis-muted); font-size: .7rem; line-height: 1.4; }
.cis-forecast { border-top: 4px solid var(--cis-blue); }
.cis-forecast__kpis { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 12px; border: 1px solid #d8e5f5; }
.cis-forecast__kpis > div { padding: 9px 8px; border-right: 1px solid #d8e5f5; }
.cis-forecast__kpis > div:last-child { border-right: 0; }
.cis-forecast__kpis > div:nth-child(2) { border-right: 0; }
.cis-forecast__kpis > div:nth-child(-n+2) { border-bottom: 1px solid #d8e5f5; }
.cis-forecast__kpis strong { display: block; margin-top: 6px; color: var(--cis-blue); font-size: 1.15rem; white-space: nowrap; }
.cis-forecast dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; margin: 10px 0 0; }
.cis-forecast dl div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid #e2eaf1; font-size: .72rem; }
.cis-forecast dt { color: var(--cis-muted); }
.cis-forecast dd { margin: 0; font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.cis-forecast dl div:nth-last-child(-n+2) dd { max-width: 55%; font-size: .72rem; }
.cis-timeline { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 18px; border: 1px solid var(--cis-line); background: #fff; }
.cis-timeline article { position: relative; padding: 17px 14px 12px; border-top: 3px solid var(--cis-teal); border-right: 1px solid var(--cis-line); text-align: center; }
.cis-timeline article:last-child { border-right: 0; }
.cis-timeline article.is-forecast { border-top: 3px dashed var(--cis-blue); }
.cis-timeline article.is-watch { border-top: 3px dashed var(--cis-orange); }
.cis-timeline article::before { content: ""; position: absolute; top: -8px; left: 50%; width: 13px; height: 13px; transform: translateX(-50%); border: 3px solid var(--cis-teal); border-radius: 50%; background: #fff; }
.cis-timeline article.is-forecast::before { border-color: var(--cis-blue); }
.cis-timeline article.is-watch::before { border-color: var(--cis-orange); }
.cis-timeline span { color: var(--cis-muted); font-size: .82rem; font-weight: 850; }
.cis-timeline strong, .cis-timeline small { display: block; margin-top: 5px; }
.cis-timeline small { color: var(--cis-muted); font-size: .78rem; }

.cis-method-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; padding: 13px 16px; border-top: 1px solid var(--cis-line); border-bottom: 1px solid var(--cis-line); }
.cis-method-links a { padding: 0 14px; border-right: 1px solid var(--cis-line); color: #4a6078; font-size: .78rem; font-weight: 700; text-decoration: none; }
.cis-method-links a:last-child { border-right: 0; }
.cis-method-links a:hover, .cis-method-links a:focus-visible { color: var(--cis-teal); text-decoration: underline; }

.cis-drawer { position: fixed; inset: 0 0 0 auto; z-index: 10002; width: min(620px, 40vw); padding: 34px; overflow-y: auto; transform: translateX(102%); transition: transform .18s ease; background: #fff; box-shadow: -10px 0 28px rgba(12,26,51,.16); }
.cis-drawer.is-open { transform: translateX(0); }
.cis-drawer > button { position: absolute; top: 16px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--cis-line); background: #fff; color: var(--cis-ink); font-size: 1.4rem; cursor: pointer; }
.cis-drawer > span { color: var(--cis-teal); font-size: .75rem; font-weight: 850; }
.cis-drawer h2 { margin: 10px 40px 18px 0; font-size: 1.6rem; }
.cis-drawer [data-cis-drawer-body] { color: #334960; line-height: 1.8; white-space: pre-line; }
.cis-drawer footer { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--cis-line); }
.cis-drawer footer a { color: var(--cis-teal); font-weight: 800; }
.cis-drawer-backdrop { position: fixed; inset: 0; z-index: 10001; pointer-events: none; opacity: 0; background: rgba(8,21,39,.3); transition: opacity .18s ease; }
.cis-drawer-backdrop.is-open { pointer-events: auto; opacity: 1; }
body.cis-drawer-lock { overflow: hidden; }

.cis-methodology { width: min(980px, calc(100% - 40px)); margin: 28px auto 64px; }
.cis-methodology header { padding-bottom: 24px; border-bottom: 2px solid var(--cis-teal); }
.cis-methodology header span { color: var(--cis-teal); font-size: .78rem; font-weight: 850; }
.cis-methodology h1 { margin: 8px 0; font-size: 2rem; }
.cis-methodology header p, .cis-methodology__summary { color: var(--cis-muted); }
.cis-methodology section { scroll-margin-top: 80px; padding: 28px 0; border-bottom: 1px solid var(--cis-line); }
.cis-methodology section h2 { font-size: 1.3rem; }
.cis-methodology section p { line-height: 1.8; }
.cis-methodology__summary { font-weight: 750; }

@media (max-width: 1100px) {
  .cis-v2 { width: min(100% - 24px, 1040px); }
  .cis-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cis-overview-grid, .cis-trend-grid, .cis-map-grid, .cis-flow-grid { grid-template-columns: 1fr; }
  .cis-evidence-grid { grid-template-columns: 1fr 1fr; }
  .cis-map { height: 440px; }
  .cis-map-grid > .cis-vessel-panel { height: 440px; }
}

@media (max-width: 768px) {
  .cis-v2 { width: min(100% - 16px, 720px); margin-top: 10px; font-size: 15px; }
  .cis-v2__anchors { justify-content: flex-start; gap: 18px; overflow-x: auto; white-space: nowrap; }
  .cis-screen { padding: 16px; background-size: 36px 36px; }
  .cis-screen__head { display: block; }
  .cis-screen__head time { display: block; margin-top: 10px; }
  .cis-kpis article { padding: 15px; }
  .cis-kpis strong { font-size: 1.55rem; }
  .cis-status-row, .cis-scope-row { grid-template-columns: 1fr; }
  .cis-scope-row article { border-right: 0; border-bottom: 1px solid var(--cis-line); }
  .cis-trend-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cis-trend-summary div { border-bottom: 1px solid #e0e9ed; }
  .cis-chart { height: 330px; }
  .cis-change-table { overflow-x: auto; }
  .cis-change-table__head, .cis-change-table > div:not(.cis-change-table__head) { min-width: 560px; }
  .cis-map-toggle { display: block; width: 100%; margin-top: 12px; }
  .cis-map-grid { display: flex; flex-direction: column; }
  .cis-map-grid .cis-map { display: none; order: 2; height: 390px; }
  .cis-map-grid .cis-vessel-panel { order: 1; }
  .cis-map-grid > .cis-vessel-panel { height: min(480px, 66vh); min-height: 380px; }
  .cis-map-grid.is-expanded .cis-map { display: block; }
  .cis-evidence-grid, .cis-flow-facts { grid-template-columns: 1fr; }
  .cis-flow-facts header, .cis-flow-facts > p { grid-column: auto; }
  .cis-forecast__kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cis-forecast__kpis > div:nth-child(2) { border-right: 0; }
  .cis-forecast__kpis > div:nth-child(-n+2) { border-bottom: 1px solid #d8e5f5; }
  .cis-timeline { grid-template-columns: 1fr; }
  .cis-timeline article { border-right: 0; border-bottom: 1px solid var(--cis-line); }
  .cis-method-links { display: grid; grid-template-columns: 1fr 1fr; text-align: center; }
  .cis-method-links a { border-right: 0; }
  .cis-drawer { inset: auto 0 0; width: 100%; max-height: min(82vh, 720px); padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(102%); border-radius: 8px 8px 0 0; }
  .cis-drawer.is-open { transform: translateY(0); }
}

@media (max-width: 430px) {
  .cis-kpis { grid-template-columns: 1fr 1fr; }
  .cis-screen__head h1 { font-size: 21px; }
  .cis-kpis article { min-height: 142px; padding: 13px 14px; }
  .cis-kpis span { min-height: 38px; }
  .cis-kpis strong { font-size: 1.32rem; white-space: normal; overflow-wrap: anywhere; }
  .cis-kpis article:last-child strong {
    margin: 8px 0 15px;
    font-size: 1.08rem;
    line-height: 1.15;
    word-break: normal;
  }
  .cis-kpis small { font-size: .72rem; }
  .cis-judgement h2 { font-size: 1.15rem; }
  .cis-monitor-meta { grid-template-columns: 1fr; }
  .cis-port-table > div { grid-template-columns: 1fr auto; }
  .cis-port-table > .cis-port-table__head { grid-template-columns: 1fr auto; }
  .cis-port-table > .cis-port-table__head em { grid-column: 2; }
  .cis-port-table i { grid-column: 1 / -1; }
  .cis-periods { width: 100%; margin-top: 12px; }
  .cis-periods button { flex: 1; }
  .cis-forecast dl { grid-template-columns: 1fr; }
  .cis-method-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .cis-drawer, .cis-drawer-backdrop { transition: none; }
}
