@import "./risk.css?v=20260728-appraisal-v1-reliability-2";

.photo-slot-grid {
  display: grid;
  gap: 12px;
}

.photo-slot-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(250, 246, 238, 0.72);
  border: 1px solid rgba(84, 100, 86, 0.12);
}

.photo-slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.photo-slot-head strong {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6c5543;
}

.photo-slot-preview {
  display: grid;
  place-items: center;
  min-height: 148px;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(236, 230, 220, 0.95), rgba(246, 240, 231, 0.95));
  border: 1px dashed rgba(84, 100, 86, 0.18);
  color: #6f7d71;
  text-align: center;
  padding: 12px;
}

.photo-slot-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.appraisal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(213, 178, 95, 0.16);
  color: #8a6a18;
  font-size: 0.82rem;
  font-weight: 700;
}

.value-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(33, 63, 47, 0.98), rgba(50, 80, 61, 0.96));
  color: #f8f3ea;
}

.value-card strong {
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.value-card span {
  font-size: 0.84rem;
  color: rgba(248, 243, 234, 0.78);
}

.damage-loss-card {
  background: linear-gradient(135deg, rgba(111, 82, 54, 0.96), rgba(79, 93, 64, 0.94));
}

.damage-loss-card.active {
  background: linear-gradient(135deg, rgba(148, 71, 44, 0.98), rgba(104, 82, 45, 0.96));
}

.damage-editor {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(221, 181, 109, 0.18), transparent 46%),
    rgba(250, 246, 238, 0.78);
  border: 1px solid rgba(84, 100, 86, 0.12);
}

.compact-heading {
  margin: 0;
}

.compact-heading h2 {
  font-size: 0.94rem;
}

.compact-heading p {
  font-size: 0.84rem;
}

.calculation-list {
  display: grid;
  gap: 10px;
}

.calculation-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(84, 100, 86, 0.12);
}

.calculation-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.calculation-row span {
  color: #667568;
}

.calculation-row strong {
  color: #294131;
}

.calculation-step > span {
  display: grid;
  gap: 2px;
}

.calculation-step small,
.appraisal-rating-field small {
  color: #7a887c;
  font-size: 0.72rem;
  line-height: 1.35;
}

.appraisal-model-review,
.appraisal-separation-note {
  display: grid;
  gap: 7px;
  padding: 13px 14px;
  border: 1px solid rgba(184, 94, 55, 0.28);
  border-radius: 17px;
  background: rgba(184, 94, 55, 0.1);
  color: #4e392c;
}

.appraisal-model-review span,
.appraisal-separation-note span {
  font-size: 0.8rem;
  line-height: 1.45;
}

.appraisal-model-review button {
  justify-self: start;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  color: #fffaf2;
  background: #8f4f34;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.appraisal-separation-note {
  border-color: rgba(79, 116, 79, 0.24);
  background: rgba(79, 116, 79, 0.1);
  color: #294131;
}

.professional-capture-panel .calculation-step small,
.professional-capture-panel .appraisal-rating-field small {
  color: rgba(226, 233, 224, 0.6);
}

.professional-capture-panel .appraisal-model-review,
.professional-capture-panel .appraisal-separation-note {
  color: #f8f4e9;
  background: rgba(231, 177, 98, 0.09);
}

.damage-law-card {
  background:
    radial-gradient(circle at top left, rgba(221, 181, 109, 0.18), transparent 46%),
    rgba(250, 246, 238, 0.72);
}

.damage-law-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.damage-law-grid .notes-field,
.damage-law-warning,
.damage-law-summary {
  grid-column: 1 / -1;
}

.damage-law-toggle {
  align-self: end;
  min-height: 48px;
  padding: 11px 13px;
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.76);
  border: 1px solid rgba(84, 100, 86, 0.12);
}

.damage-law-summary {
  display: grid;
  gap: 10px;
  padding: 15px;
  border-radius: 18px;
  background: #203128;
  color: #f8f3ea;
}

.damage-law-summary strong {
  font-size: 1.45rem;
  line-height: 1;
}

.damage-law-summary span,
.damage-law-summary p {
  margin: 0;
  color: rgba(248, 243, 234, 0.76);
}

.damage-law-summary a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  color: #f4c791;
  font-weight: 800;
}

.damage-law-warning {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 15px;
  border: 1px solid rgba(218, 169, 92, 0.34);
  border-radius: 18px;
  color: #f8f3ea;
  background: rgba(117, 75, 32, 0.92);
}

.damage-law-warning strong,
.damage-law-warning p {
  margin: 0;
}

.damage-law-warning strong {
  display: block;
  margin-bottom: 4px;
  color: #ffe1b5;
}

.damage-law-warning p {
  max-width: 760px;
  color: rgba(255, 247, 235, 0.82);
  font-size: 0.83rem;
  line-height: 1.45;
}

.damage-law-warning-actions {
  display: grid;
  justify-items: end;
  gap: 7px;
  flex: 0 0 auto;
}

.damage-law-warning-actions > span {
  color: #ffe1b5;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.damage-law-warning .ghost-button {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff8ed;
  background: rgba(255, 255, 255, 0.08);
}

.damage-law-disclaimer-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: min(860px, calc(100dvh - 28px));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  color: #f5f1e8;
  background: #18271e;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.58);
}

.damage-law-disclaimer-dialog > article {
  display: grid;
  max-height: min(860px, calc(100dvh - 28px));
}

.damage-law-disclaimer-dialog header,
.damage-law-disclaimer-dialog footer {
  padding: 20px 22px;
}

.damage-law-disclaimer-dialog header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 100% 0%, rgba(228, 183, 111, 0.16), transparent 48%),
    #203128;
}

.damage-law-disclaimer-dialog header span {
  display: block;
  margin-bottom: 7px;
  color: #efc08f;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.damage-law-disclaimer-dialog header h2,
.damage-law-disclaimer-dialog header p,
.damage-law-disclaimer-body p {
  margin: 0;
}

.damage-law-disclaimer-dialog header h2 {
  color: #fff9ef;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.damage-law-disclaimer-dialog header p {
  margin-top: 7px;
  color: rgba(245, 241, 232, 0.7);
}

.damage-law-disclaimer-body {
  display: grid;
  gap: 15px;
  overflow: auto;
  padding: 22px;
  color: rgba(245, 241, 232, 0.82);
  line-height: 1.58;
}

.damage-law-acknowledgement {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(239, 192, 143, 0.24);
  border-radius: 16px;
  color: #fff7eb;
  background: rgba(239, 192, 143, 0.08);
  cursor: pointer;
}

.damage-law-acknowledgement input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #b9ca7a;
}

.damage-law-disclaimer-dialog footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.damage-law-disclaimer-dialog footer button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.report-summary-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #274030;
}

@media (max-width: 900px) {
  .damage-law-grid {
    grid-template-columns: 1fr;
  }

  .damage-law-warning {
    align-items: stretch;
    flex-direction: column;
  }

  .damage-law-warning-actions {
    justify-items: stretch;
  }

  .damage-law-warning-actions > span {
    text-align: left;
  }

  .damage-law-disclaimer-dialog header,
  .damage-law-disclaimer-dialog footer,
  .damage-law-disclaimer-body {
    padding: 17px;
  }

  .damage-law-disclaimer-dialog footer button {
    width: 100%;
  }
}

.appraisal-capture-review {
  display: none;
}

.professional-capture-panel .appraisal-capture-review:not([hidden]) {
  gap: 14px;
}

.appraisal-review-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(210px, 0.75fr);
  gap: 10px;
}

.appraisal-review-hero > div {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(204, 230, 77, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(204, 230, 77, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.appraisal-review-hero > div:last-child {
  border-color: rgba(231, 177, 98, 0.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(231, 177, 98, 0.14), transparent 46%),
    rgba(255, 255, 255, 0.045);
}

.appraisal-review-hero span,
.appraisal-review-facts span {
  color: rgba(226, 233, 224, 0.56);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.appraisal-review-hero strong {
  overflow-wrap: anywhere;
  color: #fffaf0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.25rem, 3.6vw, 2rem);
  line-height: 1.05;
}

.appraisal-review-hero small,
.appraisal-review-facts small {
  overflow-wrap: anywhere;
  color: rgba(226, 233, 224, 0.66);
  line-height: 1.35;
}

.appraisal-review-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.appraisal-review-facts article {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 12px 13px;
  border: 1px solid rgba(246, 241, 232, 0.09);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.appraisal-review-facts strong {
  overflow-wrap: anywhere;
  color: #f8f4e9;
  font-size: 0.84rem;
}

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

.appraisal-review-checks button {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 1px solid rgba(246, 241, 232, 0.1);
  border-radius: 15px;
  color: #f8f4e9;
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  text-align: left;
}

.appraisal-review-checks button[data-state="attention"] {
  border-color: rgba(231, 177, 98, 0.34);
  background: rgba(231, 177, 98, 0.09);
}

.appraisal-review-checks button:hover,
.appraisal-review-checks button:focus-visible {
  border-color: rgba(204, 230, 77, 0.38);
  background: rgba(204, 230, 77, 0.09);
}

.appraisal-review-checks button > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #172216;
  background: #cce64d;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
}

.appraisal-review-checks button[data-state="attention"] > i {
  background: #e7b162;
}

.appraisal-review-checks button > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.appraisal-review-checks button strong,
.appraisal-review-checks button small {
  overflow-wrap: anywhere;
}

.appraisal-review-checks button small {
  color: rgba(226, 233, 224, 0.6);
  font-size: 0.64rem;
}

.appraisal-review-checks button > b {
  color: #cce64d;
  font-size: 0.66rem;
}

.appraisal-review-note {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid rgba(204, 230, 77, 0.56);
  color: rgba(226, 233, 224, 0.6);
  font-size: 0.7rem;
  line-height: 1.45;
}

@media (max-width: 620px) {
  .appraisal-review-hero,
  .appraisal-review-facts,
  .appraisal-review-checks {
    grid-template-columns: 1fr;
  }

  .appraisal-review-hero > div,
  .appraisal-review-facts article {
    padding: 11px 12px;
  }

  .appraisal-review-hero strong {
    font-size: 1.2rem;
  }
}
.legacy-species-rating[hidden] {
  display: none !important;
}
