.tool-workbench.oil-price-mounted {
  width: min(1500px, calc(100vw - 96px)) !important;
  max-width: 1500px !important;
}

.oil-price-mounted > .tool-titlebar {
  margin-bottom: 18px;
}

#oilPriceMount {
  color: #081735;
}

.oil-hero {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 26px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid rgba(65, 116, 210, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 12%, rgba(22, 119, 255, 0.22), transparent 34%),
    radial-gradient(circle at 12% 10%, rgba(24, 199, 170, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.88));
  box-shadow: 0 24px 70px rgba(30, 74, 148, 0.12);
  overflow: hidden;
  position: relative;
}

.oil-hero::after {
  content: "";
  position: absolute;
  right: 72px;
  top: 42px;
  width: 180px;
  height: 180px;
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(22, 119, 255, 0.88), rgba(110, 92, 255, 0.72));
  transform: rotate(14deg);
  filter: blur(0.1px);
  opacity: 0.12;
}

.oil-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(22, 119, 255, 0.08);
  color: #1b6fff;
  font-size: 13px;
  font-weight: 700;
}

.oil-hero h1 {
  margin: 18px 0 12px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.oil-hero p {
  max-width: 720px;
  margin: 0;
  color: #60749a;
  font-size: 16px;
  line-height: 1.8;
}

.oil-hero-badge {
  position: relative;
  z-index: 1;
  min-height: 190px;
  padding: 28px;
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(16, 116, 255, 0.98), rgba(104, 91, 255, 0.95) 58%, rgba(20, 196, 170, 0.92));
  box-shadow: 0 22px 54px rgba(36, 101, 232, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.oil-hero-badge span,
.oil-hero-badge small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.oil-hero-badge strong {
  margin: 12px 0;
  font-size: 54px;
  line-height: 1;
}

.oil-panel,
.oil-card,
.oil-price-card,
.oil-cost-card {
  border: 1px solid rgba(80, 113, 170, 0.16);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(22, 42, 86, 0.08);
}

.oil-panel {
  margin-top: 18px;
  padding: 20px;
  border-radius: 24px;
}

.oil-toolbar {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.8fr auto;
  gap: 14px;
  align-items: end;
}

.oil-toolbar label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #526a96;
  font-size: 13px;
  font-weight: 700;
}

.oil-toolbar select,
.oil-toolbar input {
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(60, 105, 205, 0.24);
  background: #fff;
  color: #0b1736;
  font-size: 15px;
  font-weight: 700;
  padding: 0 14px;
  outline: none;
}

.oil-toolbar select:focus,
.oil-toolbar input:focus {
  border-color: #1b6fff;
  box-shadow: 0 0 0 4px rgba(27, 111, 255, 0.1);
}

.oil-refresh {
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #1677ff, #6d5cff);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(41, 103, 240, 0.22);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.oil-refresh:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(41, 103, 240, 0.28);
}

.oil-error {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff1f2;
  color: #b42336;
  font-size: 14px;
}

.oil-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  color: #6b7d9e;
  font-size: 13px;
}

.oil-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f5f8ff;
}

.oil-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.35fr;
  gap: 14px;
  margin-top: 18px;
}

.oil-price-card,
.oil-cost-card {
  min-height: 128px;
  border-radius: 22px;
  padding: 22px;
}

.oil-price-card span,
.oil-cost-card span {
  display: block;
  color: #60749a;
  font-size: 13px;
  font-weight: 700;
}

.oil-price-card strong,
.oil-cost-card strong {
  display: block;
  margin-top: 12px;
  color: #0a1738;
  font-size: 34px;
  line-height: 1;
}

.oil-price-card.active {
  background: linear-gradient(145deg, #f7fbff, #ffffff);
  border-color: rgba(27, 111, 255, 0.28);
}

.oil-price-card.diesel strong {
  color: #0c8b6f;
}

.oil-cost-card {
  background: linear-gradient(145deg, #0c1d3f, #154c94);
}

.oil-cost-card span,
.oil-cost-card small {
  color: rgba(255, 255, 255, 0.72);
}

.oil-cost-card strong {
  color: #fff;
}

.oil-cost-card small {
  display: block;
  margin-top: 14px;
  font-size: 12px;
}

.oil-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 420px;
  gap: 18px;
  margin-top: 18px;
}

.oil-card {
  border-radius: 24px;
  padding: 22px;
}

.oil-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.oil-card-head h2 {
  margin: 0;
  color: #081735;
  font-size: 20px;
  line-height: 1.2;
}

.oil-card-head span {
  color: #7184a8;
  font-size: 13px;
}

.oil-chart {
  width: 100%;
  height: 300px;
  display: block;
}

.oil-chart text {
  fill: #7184a8;
  font-size: 13px;
  font-weight: 700;
}

.oil-grid line {
  stroke: rgba(86, 113, 162, 0.13);
  stroke-width: 1;
}

.oil-rank {
  display: grid;
  gap: 10px;
}

.oil-rank button {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: #f7faff;
  color: #183059;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.oil-rank button:hover {
  background: #eef5ff;
  transform: translateX(3px);
}

.oil-rank b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: #e9f1ff;
  color: #1b6fff;
  font-size: 12px;
}

.oil-rank span {
  font-size: 14px;
  font-weight: 800;
}

.oil-rank strong {
  color: #0d8f75;
  font-size: 14px;
}

.oil-table-card {
  margin-top: 18px;
}

.oil-table-wrap {
  max-height: 460px;
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(80, 113, 170, 0.12);
}

.oil-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.oil-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 46px;
  background: #f5f8ff;
  color: #49618d;
  font-size: 13px;
  text-align: left;
}

.oil-table td {
  height: 48px;
  border-top: 1px solid rgba(80, 113, 170, 0.1);
  color: #14264a;
  font-size: 14px;
  font-weight: 700;
}

.oil-table th,
.oil-table td {
  padding: 0 16px;
}

.oil-table tr.selected td {
  background: rgba(27, 111, 255, 0.06);
}

.oil-empty-chart {
  display: grid;
  place-items: center;
  height: 300px;
  color: #7d8ead;
  background: #f7faff;
  border-radius: 20px;
}

@media (max-width: 1180px) {
  .tool-workbench.oil-price-mounted {
    width: min(100% - 32px, 980px) !important;
  }

  .oil-hero,
  .oil-content-grid {
    grid-template-columns: 1fr;
  }

  .oil-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oil-cost-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .oil-hero {
    padding: 24px;
  }

  .oil-hero h1 {
    font-size: 34px;
  }

  .oil-toolbar,
  .oil-dashboard {
    grid-template-columns: 1fr;
  }
}
