.protection-import {
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: min(680px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  color: #183b2a;
  background: #f5f8f5;
  box-shadow: 0 16px 70px #143b2d40;
  overscroll-behavior: contain;
}
.protection-import::backdrop {
  background: #102c236b;
}
.protection-import-shell {
  padding: 18px;
}
.protection-import-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.protection-import h2 {
  font-size: 1.25rem;
  margin: 4px 0 12px;
}
.protection-import fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  min-width: 0;
}
.protection-import label {
  display: grid;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 10px 0;
}
.protection-import input,
.protection-import textarea,
.protection-import select {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  font-size: 16px;
  padding: 9px;
  border: 1px solid #ccd9cf;
  border-radius: 9px;
  background: white;
  color: #183b2a;
}
.protection-import textarea {
  font-family: inherit;
  resize: vertical;
}
.protection-import button {
  min-height: 42px;
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
}
.protection-import button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.protection-import-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.protection-import-row {
  padding: 14px;
  background: white;
  border: 1px solid #dce6df;
  border-radius: 14px;
  margin-top: 14px;
}
.protection-import-row header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.protection-import-source,
.protection-import-footnote {
  color: #5e7064;
  font-size: 0.82rem;
  line-height: 1.5;
}
.protection-import-match {
  background: #eef6ee;
  padding: 10px;
  margin-top: 10px;
  border-radius: 9px;
  font-size: 0.85rem;
}
.protection-import-match small {
  display: block;
  margin-top: 4px;
}
.protection-import-match.warning {
  background: #fff4e1;
  color: #805514;
}
.protection-import .protection-import-ack {
  display: flex;
  align-items: flex-start;
  font-weight: 500;
  gap: 8px;
}
.protection-import-ack input {
  width: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
}
.protection-import-error {
  color: #922e27;
  background: #fff0ed;
  padding: 10px;
  border-radius: 10px;
}
.protection-import-error[hidden] {
  display: none;
}
.protection-import-footer {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.protection-import-footer small {
  color: #5e7064;
}
.protection-import-photos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.protection-import-photos > div {
  display: grid;
  gap: 5px;
  width: 120px;
}
.protection-import-photos img {
  object-fit: contain;
  width: 120px;
  height: 130px;
  border-radius: 10px;
  background: #e5ece7;
}
.protection-import details summary {
  cursor: pointer;
  font-size: 0.85rem;
}
.protection-import-original img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 8px;
}
.cultivation [data-protection-import] {
  margin: 10px 0;
}
.cultivation [data-protection-import][hidden] {
  display: none;
}
@media (max-width: 480px) {
  .protection-import {
    width: 100%;
    max-width: 100%;
    max-height: 100dvh;
    border-radius: 16px 16px 0 0;
    margin: auto 0 0;
  }
  .protection-import-shell {
    padding: 16px 12px max(16px, env(safe-area-inset-bottom));
  }
}
