:root {
  --background: #ffffff;
  --foreground: #09090b;
  --card: #ffffff;
  --muted: #f4f4f5;
  --muted-2: #fafafa;
  --muted-foreground: #71717a;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --primary: #18181b;
  --primary-foreground: #fafafa;
  --blue: #2563eb;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --shadow: 0 28px 80px rgba(24, 24, 27, 0.1);
  --radius: 12px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: "Geist", "Geist Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.embedded {
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  background: transparent;
}

body.modal-open {
  overflow: hidden;
}

button {
  font: inherit;
}

button,
a {
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img,
svg {
  display: block;
}

svg path,
svg line,
svg polyline,
svg circle,
svg rect {
  vector-effect: non-scaling-stroke;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 28px 10px;
}

.brand-link {
  display: flex;
  width: 142px;
  align-items: center;
}

.brand-link img {
  width: 142px;
  height: auto;
}

.preview-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 500;
}

.status-dot,
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.preview-main {
  display: grid;
  min-width: 0;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 28px 56px;
}

body.embedded .preview-main {
  display: block;
  width: 100%;
  max-width: none;
  height: 100svh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.lede {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(320px, 0.62fr) minmax(260px, 0.38fr);
  gap: 8px 24px;
  align-items: end;
  max-width: none;
}

.lede .eyebrow {
  grid-column: 1 / -1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 36px;
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.lede p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 1.5;
}

.film-shell {
  --cursor-x: 45%;
  --cursor-y: 20%;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  min-height: 640px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: border-color 240ms ease;
}

body.embedded .film-shell {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  border-color: var(--border-strong);
  box-shadow: none;
}

.film-shell[data-scene="0"] {
  --cursor-x: 45%;
  --cursor-y: 20%;
}

.film-shell[data-scene="1"] {
  --cursor-x: 66%;
  --cursor-y: 19%;
}

.film-shell[data-scene="2"] {
  --cursor-x: 84%;
  --cursor-y: 19%;
}

.window-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(250, 250, 250, 0.72);
}

.window-dots {
  display: inline-flex;
  gap: 8px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border-strong);
}

.window-dots span:nth-child(1) {
  background: #f97316;
}

.window-dots span:nth-child(2) {
  background: #d4a037;
}

.window-dots span:nth-child(3) {
  background: #267064;
}

.window-bar strong,
.window-bar > span {
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 600;
}

.film-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.scene-step {
  position: relative;
  height: 32px;
  border-radius: 999px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease;
}

.scene-step.is-active {
  background: var(--primary);
  color: var(--primary-foreground);
}

.film-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.38fr) minmax(0, 0.62fr);
  gap: 0;
  min-height: 582px;
}

body.embedded .film-grid {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

body.embedded .workspace-pane,
body.embedded .workspace-tabs,
body.embedded .workspace-content,
body.embedded .source-grid {
  width: 100%;
}

body.embedded .conversation-pane,
body.embedded .workspace-pane {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

body.embedded .workspace-pane {
  display: flex;
  flex-direction: column;
}

body.embedded .workspace-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

body.embedded .globe-film {
  height: 100%;
  min-height: 0;
}

body.embedded .globe-stage {
  min-height: 0;
}

.conversation-pane {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid var(--border);
  background: var(--background);
}

.run-status {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 500;
}

.live-dot {
  animation: live-pulse 1.7s ease-in-out infinite;
}

.message-stack {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.message-stack.is-empty {
  display: none;
}

body.embedded .message-stack {
  flex: 0 1 auto;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
  padding: 12px 14px;
}

.message {
  display: none;
  min-width: 0;
  min-height: 92px;
  padding: 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

body.embedded .message {
  min-height: 0;
  padding: 12px;
  font-size: 13px;
  line-height: 1.35;
}

.message.is-visible {
  display: block;
  animation: item-in 220ms ease both;
}

.message span {
  display: block;
  margin-bottom: 8px;
  color: inherit;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.62;
}

body.embedded .message span {
  margin-bottom: 6px;
  font-size: 10px;
}

.message p {
  margin: 0;
  overflow-wrap: anywhere;
}

body.embedded .message p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

body.embedded .user-message p {
  -webkit-line-clamp: 3;
}

body.embedded .assistant-message p {
  -webkit-line-clamp: 3;
}

.user-message {
  background: var(--primary);
  color: var(--primary-foreground);
}

.assistant-message {
  border: 1px solid var(--border);
  background: var(--muted-2);
}

.activity-list {
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 0 16px;
}

body.embedded .activity-list {
  flex: 0 0 auto;
  min-height: 96px;
  gap: 4px;
  padding: 0 14px;
}

.activity-item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: var(--muted-foreground);
  font-size: 13px;
  animation: item-in 320ms ease both;
}

body.embedded .activity-item {
  min-height: 28px;
  font-size: 12px;
}

.activity-item i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--border-strong);
}

.activity-item.is-live i {
  background: var(--green);
  animation: live-pulse 1.7s ease-in-out infinite;
}

.activity-item b {
  color: var(--foreground);
  font-weight: 600;
}

.activity-item span:last-child {
  color: var(--muted-foreground);
  font-size: 12px;
}

.prompt-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: center;
  min-height: 74px;
  margin: auto 16px 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--background);
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.05);
}

body.embedded .prompt-card {
  flex: 0 0 auto;
  min-height: 60px;
  margin-inline: 14px;
  margin-bottom: 14px;
  padding: 10px;
}

.film-shell[data-scene="1"] .prompt-card,
.film-shell[data-scene="2"] .prompt-card {
  display: none;
}

.prompt-text {
  min-width: 0;
  color: var(--foreground);
  font-size: 14px;
  line-height: 1.45;
}

.typing-caret {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 2px;
  transform: translateY(2px);
  background: var(--foreground);
  animation: caret 900ms steps(1) infinite;
}

.send-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  transition: transform 180ms ease, opacity 180ms ease;
}

.film-shell[data-scene="0"] .send-button {
  animation: send-ready 1.35s ease-in-out infinite;
}

.send-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workspace-pane {
  min-width: 0;
  background: var(--muted-2);
}

.workspace-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.workspace-tabs button {
  min-width: 0;
  padding: 13px 14px;
  border-right: 1px solid var(--border);
  background: transparent;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  transition: background 180ms ease;
}

.workspace-tabs button:last-child {
  border-right: 0;
}

.workspace-tabs button span {
  display: block;
  margin-top: 4px;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 500;
}

.film-shell[data-output="table"] .workspace-tabs button:nth-child(1),
.film-shell[data-output="map"] .workspace-tabs button:nth-child(2),
.film-shell[data-output="action"] .workspace-tabs button:nth-child(3) {
  background: var(--muted);
}

.workspace-content {
  padding: 16px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.source-card,
.database-card,
.chart-card,
.action-card,
.metric-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--background);
}

.source-card {
  display: grid;
  min-height: 118px;
  align-content: space-between;
  gap: 16px;
  padding: 16px;
  animation: card-in 420ms ease both;
}

.source-card strong,
.source-card span {
  display: block;
}

.source-card strong {
  font-size: 15px;
  font-weight: 600;
}

.source-card span {
  color: var(--muted-foreground);
  font-size: 13px;
}

.ready-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ready-line i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.database-card {
  overflow: hidden;
}

.research-preview-card {
  height: 100%;
}

.database-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.database-toolbar h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.database-toolbar span {
  color: var(--muted-foreground);
  font-weight: 500;
}

.ghost-button {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 500;
}

.tab-strip {
  display: flex;
  min-width: 0;
  overflow: auto;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.tab-strip button {
  position: relative;
  flex: 0 0 auto;
  padding: 12px 16px;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 500;
}

.tab-strip button.is-active {
  color: var(--foreground);
}

.tab-strip button.is-active::after {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 2px;
  content: "";
  background: var(--primary);
}

.data-table-wrap {
  overflow: auto;
}

.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--muted-2);
  color: var(--muted-foreground);
  font-weight: 500;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr {
  animation: item-in 320ms ease both;
}

.entity-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.row-caret {
  color: var(--muted-foreground);
  font-size: 12px;
}

.score-positive {
  color: var(--green);
  font-weight: 600;
}

.claim-badge {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.forecast-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
  min-width: 0;
}

.modal-map-view {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.modal-map-view--primary {
  margin-top: 0;
  margin-bottom: 14px;
  padding-top: 0;
  border-top: 0;
}

.modal-map-view--primary .globe-film {
  min-height: min(520px, calc(100svh - 260px));
}

.modal-forecast-summary {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.modal-forecast-summary--primary {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.chart-card {
  min-width: 0;
  padding: 16px;
  overflow: hidden;
}

.chart-header,
.action-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.chart-header h3,
.action-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.chart-header span,
.action-header span {
  color: var(--muted-foreground);
  font-size: 13px;
}

.chart-svg {
  width: 100%;
  max-width: 100%;
  height: 260px;
}

.chart-axis {
  stroke: var(--border);
  stroke-width: 1;
}

.chart-area {
  fill: rgba(24, 24, 27, 0.05);
}

.chart-interval {
  fill: rgba(113, 113, 122, 0.36);
  stroke: rgba(82, 82, 91, 0.52);
  stroke-width: 1;
  animation: item-in 420ms ease both;
}

.chart-interval-boundary,
.chart-interval-whisker {
  stroke: rgba(82, 82, 91, 0.62);
  stroke-linecap: round;
  stroke-width: 1.4;
}

.chart-interval-boundary {
  fill: none;
}

.chart-now-line {
  stroke: rgba(113, 113, 122, 0.42);
  stroke-dasharray: 4 5;
  stroke-width: 1.2;
}

.chart-now-label {
  fill: var(--muted-foreground);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chart-bar {
  fill: #e4e4e7;
  animation: bar-rise 680ms ease both;
}

.chart-line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: chart-draw 1.8s ease forwards;
}

.chart-point {
  fill: var(--background);
  stroke: var(--primary);
  stroke-width: 2;
}

.chart-label {
  fill: var(--muted-foreground);
  font-size: 11px;
  font-weight: 500;
}

.impact-list {
  display: grid;
  gap: 8px;
}

.impact-row {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--background);
  animation: item-in 320ms ease both;
}

.impact-row strong {
  font-size: 13px;
}

.impact-row span {
  color: var(--muted-foreground);
  font-size: 12px;
}

.globe-film {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.36fr);
  gap: 12px;
  min-height: 380px;
}

.globe-stage,
.globe-inspector {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  background: #07111d;
  color: #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.globe-stage {
  position: relative;
  min-height: 360px;
}

.globe-svg {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.vessel-globe-stage {
  background:
    radial-gradient(circle at 54% 50%, rgba(34, 211, 238, 0.18), transparent 48%),
    #000;
}

.vessel-globe-frame {
  position: fixed;
  top: 0;
  left: -200vw;
  z-index: 60;
  display: block;
  width: 620px;
  height: 420px;
  border: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.vessel-globe-frame.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.vessel-globe-frame.is-inline {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.globe-frame-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(226, 232, 240, 0.82);
  font-size: 13px;
  font-weight: 600;
}

.globe-overlay-host {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.vessel-globe-inspector .globe-inspector-head strong {
  font-size: 17px;
}

.vessel-globe-film--impact .globe-status-line i {
  background: #fb7185;
}

.globe-backdrop {
  fill: #06101c;
}

.globe-outer-glow {
  fill: rgba(20, 184, 166, 0.08);
  stroke: rgba(103, 232, 249, 0.2);
  stroke-width: 1;
}

.globe-earth {
  stroke: rgba(186, 230, 253, 0.34);
  stroke-width: 1.2;
}

.globe-ocean-sheen {
  opacity: 0.9;
}

.globe-rim {
  fill: none;
  stroke: rgba(226, 232, 240, 0.48);
  stroke-width: 1.1;
}

.globe-gridline {
  fill: none;
  stroke: rgba(148, 163, 184, 0.23);
  stroke-width: 0.8;
}

.globe-storm ellipse {
  fill: rgba(251, 113, 133, 0.18);
  stroke: rgba(251, 191, 36, 0.52);
  stroke-width: 1.2;
}

.globe-storm path {
  fill: none;
  stroke: rgba(251, 191, 36, 0.8);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 8 9;
  animation: globe-dash 2.8s linear infinite;
}

.globe-storm circle {
  fill: rgba(244, 63, 94, 0.26);
  stroke: rgba(254, 226, 226, 0.62);
  stroke-width: 1;
}

.globe-storm.is-active ellipse {
  fill: rgba(244, 63, 94, 0.26);
}

.globe-route {
  fill: none;
  stroke: rgba(125, 211, 252, 0.46);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: globe-route-in 1.35s ease forwards;
}

.globe-route--supplier {
  stroke: rgba(167, 139, 250, 0.58);
  stroke-dasharray: 4 6;
  stroke-dashoffset: 0;
}

.globe-route--storm {
  stroke: rgba(251, 113, 133, 0.54);
  stroke-dasharray: 5 7;
  stroke-dashoffset: 0;
}

.globe-route--high,
.globe-route--critical {
  stroke: rgba(251, 191, 36, 0.78);
  stroke-width: 1.9;
}

.globe-route--critical {
  stroke: rgba(251, 113, 133, 0.82);
}

.globe-track path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.68);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: 3 6;
}

.globe-track circle {
  fill: #f8fafc;
  stroke: rgba(15, 23, 42, 0.86);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 8px rgba(125, 211, 252, 0.7));
  animation: globe-vessel-pulse 1.8s ease-in-out infinite;
}

.globe-node {
  animation: item-in 320ms ease both;
}

.globe-node circle {
  fill: #38bdf8;
  stroke: #e0f2fe;
  stroke-width: 1.2;
}

.globe-node--supplier circle {
  fill: #a78bfa;
  stroke: #ede9fe;
}

.globe-node--chokepoint circle {
  fill: #f59e0b;
  stroke: #fef3c7;
}

.globe-node-label {
  fill: rgba(226, 232, 240, 0.88);
  font-size: 10px;
  font-weight: 650;
  paint-order: stroke;
  stroke: rgba(2, 6, 23, 0.78);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.globe-inspector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(6, 17, 29, 0.98)),
    #07111d;
  scrollbar-width: none;
}

.globe-inspector::-webkit-scrollbar {
  display: none;
}

.globe-inspector-head {
  display: grid;
  gap: 5px;
}

.globe-inspector-head span,
.globe-mini-list span {
  color: #93c5fd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.globe-inspector-head strong {
  font-size: 15px;
  line-height: 1.18;
}

.globe-inspector-head p {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.4;
}

.globe-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.globe-stat-grid div {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.58);
}

.globe-stat-grid span {
  display: block;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 600;
}

.globe-stat-grid strong {
  display: block;
  margin-top: 4px;
  color: #f8fafc;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.globe-mini-list {
  display: grid;
  gap: 8px;
}

.globe-mini-list div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.globe-mini-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.globe-mini-list strong {
  overflow: hidden;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.globe-mini-list em {
  overflow: hidden;
  color: #cbd5e1;
  font-size: 11px;
  font-style: normal;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.globe-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.globe-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 0 7px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 600;
}

.globe-legend i,
.globe-status-line i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #38bdf8;
}

.globe-legend .is-supplier {
  background: #22c8d8;
}

.globe-legend .is-chokepoint {
  background: #f59e0b;
}

.globe-legend .is-storm {
  background: #fb7185;
}

.globe-legend .is-vessel {
  background: #f8fafc;
}

.globe-status-line {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
}

.globe-status-line i {
  background: #22c55e;
  animation: live-pulse 1.7s ease-in-out infinite;
}

.action-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 12px;
}

.action-card {
  padding: 16px;
}

.action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--border);
  animation: item-in 320ms ease both;
}

.action-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.action-row h4 {
  margin: 0 0 5px;
  font-size: 14px;
}

.action-row p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.4;
}

.score-box {
  display: grid;
  height: 54px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--muted-2);
  color: var(--foreground);
  font-weight: 650;
}

.preference-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--background);
}

.preference-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.pref-chip {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 9px;
  background: var(--muted-2);
  color: var(--muted-foreground);
  font-size: 12px;
}

.pref-chip b {
  color: var(--foreground);
}

.detail-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-strip button {
  display: grid;
  gap: 5px;
  min-height: 76px;
  align-content: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease;
}

.detail-strip button:hover,
.detail-strip button:focus-visible,
.workspace-tabs button:hover,
.workspace-tabs button:focus-visible {
  background: var(--muted-2);
  border-color: var(--border-strong);
}

.detail-strip span {
  font-size: 14px;
  font-weight: 600;
}

.detail-strip strong {
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 500;
}

.cursor-marker {
  position: absolute;
  z-index: 8;
  left: var(--cursor-x);
  top: var(--cursor-y);
  width: 28px;
  height: 28px;
  color: var(--foreground);
  filter: drop-shadow(0 4px 10px rgba(24, 24, 27, 0.18));
  transform: translate(-5px, -3px);
  transition: left 720ms cubic-bezier(0.22, 1, 0.36, 1), top 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cursor-marker svg {
  width: 100%;
  height: 100%;
  fill: var(--background);
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal-layer.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 24, 27, 0.42);
  backdrop-filter: blur(16px);
  animation: fade-in 160ms ease both;
}

.modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1160px, 100%);
  height: min(780px, calc(100svh - 48px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  box-shadow: 0 36px 120px rgba(24, 24, 27, 0.28);
  animation: modal-in 200ms ease both;
}

.modal-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: var(--muted);
  color: var(--muted-foreground);
}

.icon-button:hover,
.icon-button:focus-visible {
  color: var(--foreground);
}

.icon-button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.icon-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.modal-body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 20px;
  background: var(--muted-2);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.metric-card {
  min-height: 78px;
  padding: 13px;
}

.metric-card span {
  display: block;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 500;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 650;
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 14px;
}

.citation-panel {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--background);
}

.citation-panel h3 {
  margin: 0;
  font-size: 14px;
}

.citation-panel p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.45;
}

.citation-card {
  display: grid;
  gap: 5px;
  padding: 10px;
  border-radius: 10px;
  background: var(--muted-2);
}

.citation-card strong {
  font-size: 13px;
}

.citation-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
}

@keyframes live-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.22);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(22, 163, 74, 0);
  }
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

@keyframes send-ready {
  50% {
    transform: translateY(-1px);
  }
}

@keyframes item-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes chart-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes bar-rise {
  from {
    opacity: 0;
    transform: scaleY(0.2);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes globe-route-in {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes globe-dash {
  to {
    stroke-dashoffset: -34;
  }
}

@keyframes globe-vessel-pulse {
  50% {
    opacity: 0.58;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
}

@media (max-width: 980px) {
  .lede {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .film-grid {
    grid-template-columns: 1fr;
  }

  .conversation-pane {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .film-shell {
    min-height: 0;
  }

  .detail-strip,
  .metric-grid,
  .modal-grid,
  .forecast-grid,
  .globe-film,
  .action-layout {
    grid-template-columns: 1fr;
  }

  .globe-stage {
    min-height: 320px;
  }

  .globe-svg {
    min-height: 320px;
  }

  .cursor-marker {
    display: none;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  body.embedded .film-grid {
    display: flex;
    align-items: stretch;
  }

  body.embedded .conversation-pane {
    flex: 0 0 clamp(280px, 36%, 330px);
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }

  body.embedded .message-stack,
  body.embedded .workspace-content {
    padding: 14px;
  }

  body.embedded .message {
    min-height: 82px;
    padding: 12px;
    font-size: 13px;
  }

  body.embedded .activity-list {
    min-height: 110px;
    padding-inline: 14px;
  }

  body.embedded .prompt-card {
    min-height: 66px;
    margin-inline: 14px;
    margin-bottom: 14px;
  }

  body.embedded .source-card {
    min-height: 104px;
    padding: 14px;
  }

  body.embedded .workspace-pane {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-self: stretch;
    min-width: 0;
    width: auto;
    max-width: none;
    background: var(--muted-2);
  }

  body.embedded .workspace-tabs,
  body.embedded .workspace-content {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }

  body.embedded .workspace-content {
    flex: 1 1 auto;
  }

  body.embedded .workspace-content > * {
    width: 100%;
    max-width: none;
  }

  body.embedded .workspace-tabs,
  body.embedded .source-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.embedded .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.embedded .forecast-grid,
  body.embedded .action-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.embedded .forecast-grid {
    height: 100%;
    min-height: 0;
  }

  body.embedded .forecast-grid .chart-card {
    min-height: 0;
  }

  body.embedded .forecast-grid .impact-list {
    display: none;
  }

  body.embedded .forecast-grid .chart-svg {
    height: clamp(180px, 34vh, 260px);
  }

  body.embedded .globe-film {
    grid-template-columns: minmax(0, 1fr) 164px;
    height: 100%;
    min-height: 0;
  }

  body.embedded .globe-stage {
    min-height: 260px;
  }

  body.embedded .globe-svg {
    min-height: 260px;
  }

  body.embedded .globe-inspector {
    padding: 12px;
  }

  body.embedded .globe-mini-list div:nth-child(n + 3),
  body.embedded .globe-legend span:nth-child(n + 5) {
    display: none;
  }

  body.embedded .chart-svg {
    height: 190px;
  }

  body.embedded .impact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.embedded .impact-row:nth-child(n + 3) {
    display: none;
  }
}

@media (max-width: 640px) {
  .preview-header {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 18px 14px 8px;
  }

  .preview-main {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 20px 14px 40px;
  }

  h1 {
    max-width: 100%;
    font-size: 30px;
    overflow-wrap: anywhere;
  }

  .lede p:not(.eyebrow) {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .film-progress,
  .workspace-tabs {
    display: flex;
    overflow: hidden;
    gap: 6px;
  }

  .film-progress {
    padding: 10px;
  }

  .film-progress .scene-step,
  .workspace-tabs button {
    min-width: 0;
    flex: 1 1 0;
  }

  .workspace-tabs {
    gap: 0;
  }

  .scene-step {
    font-size: 12px;
  }

  .workspace-tabs button {
    padding: 10px 8px;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .workspace-tabs button span {
    font-size: 11px;
  }

  .window-bar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .window-bar > span {
    display: none;
  }

  .message-stack,
  .workspace-content {
    padding: 12px;
  }

  .activity-item {
    grid-template-columns: 14px minmax(0, 1fr);
  }

  .activity-item span:last-child {
    display: none;
  }

  .source-grid {
    grid-template-columns: 1fr;
  }

  .modal-layer {
    padding: 10px;
  }

  .modal-panel {
    height: calc(100svh - 20px);
  }

  body.embedded .window-bar {
    height: 38px;
    padding: 0 12px;
  }

  body.embedded .film-shell {
    width: 100%;
    max-width: 100vw;
  }

  body.embedded .window-dots {
    gap: 6px;
  }

  body.embedded .window-dots span {
    width: 7px;
    height: 7px;
  }

  body.embedded .film-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: auto;
    max-width: 100%;
    padding: 8px 10px;
    gap: 5px;
    overflow: hidden;
  }

  body.embedded .scene-step {
    min-width: 0;
    height: 30px;
    padding-inline: 0;
    font-size: 11px;
  }

  body.embedded .film-grid {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
  }

  body.embedded .conversation-pane {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    border-bottom: 1px solid var(--border);
  }

  body.embedded .run-status {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  body.embedded .message-stack {
    gap: 6px;
    padding: 10px 12px;
  }

  body.embedded .message {
    min-height: 0;
    padding: 9px 10px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.35;
  }

  body.embedded .message span {
    margin-bottom: 4px;
    font-size: 9px;
  }

  body.embedded .assistant-message p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: anywhere;
  }

  body.embedded .activity-list {
    min-height: 0;
    gap: 2px;
    padding: 8px 12px 10px;
  }

  body.embedded .activity-item {
    min-height: 24px;
    font-size: 12px;
  }

  body.embedded .prompt-card {
    grid-template-columns: minmax(0, 1fr) 32px;
    min-height: 54px;
    margin: 0 10px 10px;
    padding: 8px 9px;
    border-radius: 10px;
  }

  body.embedded .prompt-text {
    font-size: 12px;
    line-height: 1.35;
  }

  body.embedded .send-button {
    width: 32px;
    height: 32px;
  }

  body.embedded .film-shell[data-scene="1"] .activity-list,
  body.embedded .film-shell[data-scene="2"] .activity-list,
  body.embedded .film-shell[data-scene="1"] .prompt-card,
  body.embedded .film-shell[data-scene="2"] .prompt-card {
    display: none;
  }

  body.embedded .workspace-pane {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  body.embedded .workspace-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  body.embedded .workspace-tabs button {
    min-width: 0;
    padding: 8px 6px;
    font-size: 11px;
    line-height: 1.15;
    text-align: left;
  }

  body.embedded .workspace-tabs button span {
    display: none;
  }

  body.embedded .workspace-content {
    height: calc(100% - 38px);
    min-height: 0;
    overflow: hidden;
    padding: 10px;
  }

  body.embedded .workspace-content > * {
    min-width: 0;
    max-width: 100%;
  }

  body.embedded .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.embedded .source-card {
    min-height: 74px;
    gap: 8px;
    padding: 10px;
    border-radius: 9px;
  }

  body.embedded .source-card strong {
    font-size: 12px;
    line-height: 1.2;
  }

  body.embedded .source-card span,
  body.embedded .ready-line {
    font-size: 10px;
    line-height: 1.25;
  }

  body.embedded .database-toolbar,
  body.embedded .chart-header,
  body.embedded .action-header {
    gap: 8px;
    padding: 10px;
    margin-bottom: 8px;
  }

  body.embedded .database-toolbar h3,
  body.embedded .chart-header h3,
  body.embedded .action-header h3 {
    font-size: 12px;
  }

  body.embedded .database-toolbar span,
  body.embedded .chart-header span,
  body.embedded .action-header span {
    font-size: 10px;
  }

  body.embedded .ghost-button,
  body.embedded .tab-strip {
    display: none;
  }

  body.embedded .data-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 11px;
  }

  body.embedded .data-table th,
  body.embedded .data-table td {
    padding: 8px 7px;
  }

  body.embedded .data-table th:nth-child(3),
  body.embedded .data-table td:nth-child(3),
  body.embedded .data-table th:nth-child(5),
  body.embedded .data-table td:nth-child(5),
  body.embedded .data-table th:nth-child(6),
  body.embedded .data-table td:nth-child(6) {
    display: none;
  }

  body.embedded .forecast-grid,
  body.embedded .action-layout {
    gap: 8px;
  }

  body.embedded .forecast-grid {
    height: 100%;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  body.embedded .forecast-grid .chart-card {
    width: 100%;
    max-width: calc(100vw - 20px);
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 12px;
  }

  body.embedded .forecast-grid .chart-header {
    margin-bottom: 10px;
  }

  body.embedded .forecast-grid .chart-header span,
  body.embedded .forecast-grid .impact-list {
    display: none;
  }

  body.embedded .forecast-grid .chart-svg {
    min-width: 0;
    height: clamp(150px, 28vh, 210px);
  }

  body.embedded .globe-film {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
    gap: 8px;
  }

  body.embedded .globe-stage {
    min-height: 0;
    border-radius: 9px;
  }

  body.embedded .globe-svg {
    height: 100%;
    min-height: 0;
  }

  body.embedded .globe-node-label {
    display: none;
  }

  body.embedded .globe-inspector {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 9px;
    border-radius: 9px;
  }

  body.embedded .globe-inspector-head {
    gap: 3px;
  }

  body.embedded .globe-inspector-head strong {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.embedded .globe-inspector-head span {
    font-size: 8px;
  }

  body.embedded .globe-inspector-head p,
  body.embedded .globe-mini-list,
  body.embedded .globe-status-line {
    display: none;
  }

  body.embedded .globe-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  body.embedded .globe-stat-grid div:nth-child(n + 3) {
    display: none;
  }

  body.embedded .globe-stat-grid div {
    padding: 6px;
    border-radius: 7px;
  }

  body.embedded .globe-stat-grid span {
    font-size: 8px;
  }

  body.embedded .globe-stat-grid strong {
    font-size: 12px;
  }

  body.embedded .globe-legend {
    grid-column: 1 / -1;
    gap: 4px;
    margin-top: 0;
  }

  body.embedded .globe-legend span {
    min-height: 18px;
    padding: 0 6px;
    font-size: 9px;
  }

  body.embedded .globe-legend span:nth-child(n + 4) {
    display: none;
  }

  body.embedded .chart-card,
  body.embedded .action-card,
  body.embedded .preference-card {
    padding: 10px;
    border-radius: 9px;
  }

  body.embedded .chart-svg {
    height: 132px;
  }

  body.embedded .impact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body.embedded .impact-row {
    padding: 8px;
    border-radius: 8px;
  }

  body.embedded .impact-row:nth-child(n + 3) {
    display: none;
  }

  body.embedded .impact-row strong,
  body.embedded .action-row h4,
  body.embedded .preference-card h3 {
    font-size: 11px;
    line-height: 1.2;
  }

  body.embedded .impact-row span,
  body.embedded .action-row p,
  body.embedded .pref-chip {
    font-size: 10px;
    line-height: 1.25;
  }

  body.embedded .action-row {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
    padding: 8px 0;
  }

  body.embedded .action-row h4 {
    margin-bottom: 3px;
  }

  body.embedded .score-box {
    height: 34px;
    border-radius: 8px;
    font-size: 12px;
  }

  body.embedded .preference-card {
    display: none;
  }
}

.film-shell[data-chat-state="composing"][data-scene="0"] .activity-list {
  display: none;
}

@media (max-width: 340px) {
  body.embedded .assistant-message {
    display: none;
  }

  body.embedded .workspace-tabs button {
    font-size: 10px;
  }

  body.embedded .action-row p {
    display: none;
  }

  body.embedded .action-row {
    min-height: 46px;
  }
}

@media (max-width: 640px) {
  .modal-map-view--primary .globe-film,
  body.embedded .modal-map-view--primary .globe-film {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    min-height: 0;
  }

  .modal-map-view--primary .globe-stage,
  body.embedded .modal-map-view--primary .globe-stage {
    min-height: 300px;
  }

  .modal-map-view--primary .globe-inspector,
  body.embedded .modal-map-view--primary .globe-inspector {
    max-height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
