.deepness-engine-card {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid #cfe0d2;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4fbf3, #ffffff);
}

.engine-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.engine-head > span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #173f2c;
  color: #c9f08a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
}

.engine-head div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.engine-head b {
  font-size: 11px;
}

.engine-head small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.engine-head strong {
  padding: 6px 8px;
  border-radius: 999px;
  background: #e4f2dc;
  color: var(--green);
  font-size: 7px;
  letter-spacing: .09em;
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.engine-grid article {
  padding: 10px;
  border: 1px solid #dce8dd;
  border-radius: 10px;
  background: #fff;
  min-height: 92px;
}

.engine-grid b,
.engine-grid span,
.engine-grid em {
  display: block;
}

.engine-grid b {
  color: var(--green);
  font-size: 9px;
}

.engine-grid span {
  margin-top: 5px;
  color: var(--ink);
  font-size: 8px;
  line-height: 1.45;
}

.engine-grid em {
  margin-top: 8px;
  font-size: 7px;
  font-style: normal;
  color: #8b6a1f;
}

.engine-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.engine-flow li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: var(--muted);
}

.engine-flow span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  flex: 0 0 auto;
}

.native-tif-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 11px;
  border: 1px solid #c7decb;
  border-radius: 11px;
  background: #edf8ee;
}

.native-tif-card > span {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #d9efda;
}

.native-tif-card div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.native-tif-card b {
  font-size: 10px;
  color: var(--green);
}

.native-tif-card small {
  font-size: 8px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 2px;
}

.native-tif-card strong {
  padding: 6px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 8px;
  white-space: nowrap;
}

.model-result-card {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 320px;
  gap: 12px;
  align-items: center;
  margin: 14px 0;
  padding: 13px;
  border: 1px solid #c8dfd2;
  border-radius: 13px;
  background: #f2faf5;
}

.model-result-card > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.model-result-card > div > span {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #173f2c;
  color: #c9f08a;
  font-size: 9px;
  font-weight: 900;
}

.model-result-card p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.model-result-card b {
  font-size: 11px;
}

.model-result-card small {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.model-result-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px dashed var(--green);
  border-radius: 10px;
  background: #fff;
  padding: 12px;
  cursor: pointer;
}

.model-result-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.model-result-drop strong {
  color: var(--green);
  font-size: 10px;
}

.vegetation-index-card {
  margin: 12px 0;
  padding: 13px;
  border: 1px solid #c9dfca;
  border-radius: 13px;
  background: linear-gradient(135deg, #f0fae9, #ffffff);
}

.vegetation-index-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vegetation-index-head > span {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #244c27;
  color: #c7f054;
  font-size: 10px;
  font-weight: 900;
}

.vegetation-index-head div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vegetation-index-head b {
  font-size: 11px;
}

.vegetation-index-head small,
.vegetation-index-card > small {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.vegetation-index-head strong {
  padding: 6px 9px;
  border-radius: 999px;
  background: #e4f2dc;
  color: var(--green);
  font-size: 8px;
  white-space: nowrap;
}

.vegetation-index-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr .8fr;
  gap: 10px;
  margin-top: 12px;
}

.vegetation-index-grid label {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.vegetation-index-grid span {
  font-size: 8px;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.vegetation-index-grid select,
.vegetation-index-grid input {
  border: 1px solid #d7e5d8;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
  font: inherit;
}

.vegetation-index-card > small {
  display: block;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid #d8e8d0;
  color: #4c6b42;
}

@media (max-width: 850px) {
  .vegetation-index-grid {
    grid-template-columns: 1fr;
  }

  .vegetation-index-head {
    align-items: flex-start;
  }
}

@media (max-width: 850px) {
  .model-result-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .engine-grid,
  .engine-flow {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .engine-grid,
  .engine-flow {
    grid-template-columns: 1fr;
  }

  .engine-head {
    align-items: flex-start;
  }
}

.deepness-clean-card {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  margin: 12px 0 18px;
  padding: 13px;
  border: 1px solid #ead7ac;
  border-radius: 12px;
  background: #fffaf0;
}

.deepness-clean-card > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.deepness-clean-card > div > span {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #f1dcaa;
}

.deepness-clean-card p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.deepness-clean-card b {
  font-size: 10px;
}

.deepness-clean-card small {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.deepness-clean-card label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 700;
  color: var(--ink);
}

.deepness-clean-card input[type="checkbox"] {
  accent-color: var(--green);
}

.deepness-clean-card .unit input {
  width: 78px;
}

.deepness-clean-card > small {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid #ead7ac;
  color: #87611d;
}

@media (max-width: 850px) {
  .deepness-clean-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}
