.tool-workbench.plant-identifier-mounted {
  width: min(1280px, calc(100vw - 72px)) !important;
  max-width: 1280px !important;
}

.plant-identifier-mounted > .tool-titlebar,
.plant-identifier-mounted .tool-titlebar + .timestamp-grid {
  display: none;
}

.plant-identifier-mounted,
.plant-identifier-mounted * {
  box-sizing: border-box;
}

#plantIdentifierMount {
  color: #07142f;
}

.plant-identifier-shell {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.plant-panel {
  border: 1px solid rgba(190, 207, 239, 0.82);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 58px rgba(34, 74, 145, 0.1);
}

.plant-input-panel {
  padding: 20px;
}

.plant-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.plant-head h2 {
  margin: 0;
  color: #07142f;
  font-size: 20px;
}

.plant-head span {
  color: #65789d;
  font-size: 13px;
}

.plant-upload {
  min-height: 220px;
  border: 1px dashed #98b7e8;
  border-radius: 22px;
  background:
    radial-gradient(circle at 25% 16%, rgba(34, 197, 94, 0.12), transparent 34%),
    linear-gradient(180deg, #f8fbff, #fff);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #355681;
  cursor: pointer;
}

.plant-upload input {
  display: none;
}

.plant-upload img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.plant-upload div {
  display: grid;
  place-items: center;
  gap: 8px;
}

.plant-upload svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #1677ff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plant-upload b {
  font-size: 15px;
}

.plant-upload span {
  color: #7888a6;
  font-size: 13px;
}

.plant-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.plant-field {
  display: grid;
  gap: 7px;
  color: #405b88;
  font-size: 13px;
  font-weight: 760;
}

.plant-field.wide {
  margin-top: 14px;
}

.plant-field input,
.plant-field select {
  width: 100%;
  height: 42px;
  border: 1px solid #bdd0f4;
  border-radius: 12px;
  background: #fff;
  color: #091631;
  outline: none;
  padding: 0 12px;
  font: inherit;
  font-weight: 500;
}

.plant-field input:focus,
.plant-field select:focus {
  border-color: #16a36f;
  box-shadow: 0 0 0 4px rgba(22, 163, 111, 0.1);
}

.plant-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.plant-actions button {
  height: 42px;
  border-radius: 14px;
  border: 1px solid #d4e1f7;
  background: #fff;
  color: #38527d;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.plant-actions button:first-child {
  border: 0;
  background: linear-gradient(135deg, #16b981, #1677ff);
  color: #fff;
  box-shadow: 0 14px 30px rgba(22, 185, 129, 0.2);
}

.plant-result-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 197, 94, 0.18), transparent 34%),
    radial-gradient(circle at 96% 12%, rgba(59, 130, 246, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.96));
}

.plant-result-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border-radius: 24px;
  background-image: radial-gradient(circle, rgba(22, 163, 111, 0.14) 1px, transparent 1.6px);
  background-size: 34px 34px;
  opacity: 0.5;
}

.plant-hero,
.plant-summary,
.plant-result-list {
  position: relative;
  z-index: 1;
}

.plant-hero {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.plant-orb {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at 25% 22%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(145deg, #21d39b, #1677ff);
  box-shadow: 0 22px 42px rgba(22, 185, 129, 0.24);
}

.plant-orb span {
  color: #fff;
  font-size: 38px;
  font-weight: 900;
}

.plant-hero h1 {
  margin: 4px 0;
  color: #07142f;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
}

.plant-hero span,
.plant-hero p {
  margin: 0;
  color: #64779d;
}

.plant-hero span {
  font-size: 14px;
  font-weight: 800;
}

.plant-hero strong {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  color: #12986f;
  font-size: 24px;
  box-shadow: inset 0 0 0 1px rgba(204, 220, 241, 0.88);
}

.plant-summary {
  margin: 22px 0 14px;
  border: 1px solid rgba(190, 207, 239, 0.76);
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.plant-summary b,
.plant-result-title h3,
.plant-care b {
  color: #07142f;
}

.plant-summary p {
  margin: 9px 0 0;
  color: #53678f;
  font-size: 14px;
  line-height: 1.8;
}

.plant-result-list {
  display: grid;
  gap: 12px;
}

.plant-result-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(202, 215, 240, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  padding: 16px;
}

.plant-result-card.primary {
  border-color: rgba(22, 185, 129, 0.42);
  background: rgba(242, 255, 249, 0.82);
}

.plant-result-rank {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #16b981, #1677ff);
  color: #fff;
  font-weight: 900;
}

.plant-result-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plant-result-title h3 {
  margin: 0;
  font-size: 18px;
}

.plant-result-title span {
  color: #12986f;
  font-size: 13px;
  font-weight: 900;
}

.plant-result-card p {
  margin: 8px 0 10px;
  color: #53678f;
  font-size: 14px;
  line-height: 1.7;
}

.plant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.plant-tags em {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(22, 185, 129, 0.1);
  color: #10865f;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.plant-care {
  display: grid;
  gap: 4px;
  border-top: 1px solid rgba(211, 224, 242, 0.82);
  padding-top: 10px;
}

.plant-care span {
  color: #60718f;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .tool-workbench.plant-identifier-mounted {
    width: min(100% - 28px, 1280px) !important;
  }

  .plant-identifier-shell {
    grid-template-columns: 1fr;
  }

  .plant-hero {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .plant-hero strong {
    grid-column: 1 / -1;
    width: 100%;
    height: 54px;
  }

  .plant-form-grid {
    grid-template-columns: 1fr;
  }
}
