.project-dashboard { margin: 0 0 22px; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 0 4px 10px; }
.dashboard-heading h2 { margin: 4px 0 0; font: 600 26px Georgia, serif; color: #1e3326; }
.dashboard-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.dashboard-grid article { position: relative; padding: 20px; border: 1px solid #e0e9e2; border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(32, 64, 43, .055); }
.dashboard-grid article > strong { position: absolute; right: 20px; top: 18px; font: 600 31px Georgia, serif; color: #1f3a29; }
.dashboard-grid h3 { margin: 15px 0 0; font: 700 14px Arial, sans-serif; color: #294333; }
.dashboard-grid p { margin: 5px 0 0; font: 13px/1.5 Arial, sans-serif; color: #738078; }
.dashboard-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #eaf3ec; color: #28634d; font: 700 19px Arial, sans-serif; }
.dashboard-icon.orange { background: #fff0e8; color: #c56335; }
.dashboard-icon.lime { background: #eff5d9; color: #627c21; }
.dashboard-assignment-widget.has-gaps { border-color: #efd1b9; background: #fffaf6; }
.dashboard-ai-review-widget.has-new { border-color: #cfddba; background: #fbfdf4; }
.dashboard-ai-review-widget > small { display: block; margin-top: 5px; color: #7a897f; font: 11px Arial, sans-serif; }
.dashboard-ai-review-widget p b { color: #526b1c; }
.dashboard-ai-review-actions { display: flex; margin-top: 10px; }
.dashboard-ai-review-actions a { padding: 5px 7px; border: 1px solid #c9d8ae; border-radius: 8px; background: #fff; color: #48631b; font: 700 10px Arial, sans-serif; text-decoration: none; }
.dashboard-ai-review-actions a:hover, .dashboard-ai-review-actions a:focus-visible { background: #f1f6e2; outline: 2px solid #78952633; outline-offset: 2px; }
.dashboard-assignment-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dashboard-assignment-actions a { padding: 5px 7px; border: 1px solid #e5bd9e; border-radius: 8px; background: #fff; color: #914717; font: 700 10px Arial, sans-serif; text-decoration: none; }
.dashboard-assignment-actions a:last-child { border-color: #bfd4dc; color: #315f75; }
.dashboard-assignment-actions a:hover, .dashboard-assignment-actions a:focus-visible { background: #fff0e8; outline: 2px solid #d86f3a33; outline-offset: 2px; }
.progress-track { height: 8px; margin-top: 12px; overflow: hidden; border-radius: 999px; background: #e6eee7; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: #28634d; }
.phase-timeline { margin: 0 0 18px; padding: 18px; border: 1px solid #dfe8e1; border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(32, 64, 43, .045); }
.phase-timeline-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.phase-timeline-heading h2 { margin: 4px 0 0; font: 600 24px Georgia, serif; color: #1e3326; }
.phase-timeline-heading p:last-child { margin: 5px 0 0; color: #738078; font: 12px/1.5 Arial, sans-serif; }
.phase-schema-warning { margin: 14px 0 0; padding: 12px 14px; border: 1px solid #e5c99d; border-radius: 12px; background: #fff8e9; color: #765723; font: 12px/1.55 Arial, sans-serif; }
.phase-schema-warning b { display: block; color: #624311; }
.phase-schema-warning code { font-weight: 700; }
.timeline-scroll { margin-top: 18px; overflow-x: auto; padding-bottom: 6px; scrollbar-color: #b6c9ba #edf3ee; }
.timeline-canvas { min-width: 780px; }
.timeline-axis, .timeline-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; }
.timeline-axis { align-items: center; min-height: 28px; padding-bottom: 7px; border-bottom: 1px solid #e5ece6; }
.timeline-axis > b { padding-left: 8px; color: #829087; font: 700 10px Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.timeline-axis > div { position: relative; height: 18px; }
.timeline-axis time { position: absolute; top: 0; transform: translateX(-50%); color: #829087; font: 700 10px Arial, sans-serif; }
.timeline-rows { position: relative; }
.today-marker { position: absolute; top: 0; bottom: 0; z-index: 4; width: 1px; background: #d9743d; pointer-events: none; }
.today-marker b { position: absolute; top: -2px; left: 4px; padding: 3px 6px; border-radius: 6px; background: #fff2ea; color: #b85b2d; font: 700 9px Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.timeline-row { min-height: 74px; padding: 11px 0; border-bottom: 1px solid #eef2ee; }
.timeline-row:last-child { border-bottom: 0; }
.timeline-label { min-width: 0; padding: 2px 8px; }
.timeline-label > a { display: flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.timeline-label > a span { color: #829087; font-size: 12px; opacity: 0; transition: opacity 150ms cubic-bezier(.23, 1, .32, 1); }
.timeline-label > a:hover span, .timeline-label > a:focus-visible span { opacity: 1; }
.timeline-label b, .timeline-label small, .timeline-label em { display: block; }
.timeline-label b { overflow: hidden; color: #294333; font: 700 13px Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.timeline-label small { margin-top: 5px; color: #7b887f; font: 11px Arial, sans-serif; }
.timeline-label em { display: flex; align-items: center; gap: 5px; width: max-content; margin-top: 6px; padding: 3px 7px; border: 1px solid var(--status-border); border-radius: 999px; background: var(--status-soft); color: var(--status-ink); font: 700 9px Arial, sans-serif; font-style: normal; }
.timeline-track { position: relative; align-self: center; height: 40px; border-radius: 11px; background: repeating-linear-gradient(90deg, #f5f8f5 0, #f5f8f5 calc(25% - 1px), #e4ebe5 calc(25% - 1px), #e4ebe5 25%); }
.timeline-bar { position: absolute; top: 6px; display: block; height: 28px; overflow: hidden; border-radius: 8px; background-color: var(--status-solid); background-image: var(--status-pattern); color: #fff; text-decoration: none; box-shadow: 0 3px 9px #19372820; transition: transform 150ms cubic-bezier(.23, 1, .32, 1); }
.timeline-bar[href]:hover, .timeline-bar[href]:focus-visible { transform: scale(1.01); outline: 2px solid #17312633; }
.timeline-bar i { position: absolute; inset: 0 auto 0 0; background: #ffffff25; }
.timeline-bar span { position: relative; display: flex; align-items: center; overflow: hidden; padding: 0 8px; font: 700 10px/28px Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.timeline-bar span b { margin-right: 6px; font-size: 11px; }
.timeline-unscheduled { position: absolute; inset: 8px 8px auto; height: 24px; border: 1px dashed #aebdb2; border-radius: 8px; background: #ffffffcc; color: #75867b; font: 700 10px/22px Arial, sans-serif; text-align: center; text-decoration: none; }
.timeline-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; color: #6f7e74; font: 700 10px Arial, sans-serif; }
.timeline-legend span { display: flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid var(--status-border); border-radius: 999px; background: var(--status-soft); color: var(--status-ink); }
.timeline-legend i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--status-solid); color: #fff; font: 800 9px Arial, sans-serif; font-style: normal; }
.status-planned, .status-card-planned, .status-progress-planned { --status-solid: #315c9b; --status-soft: #eaf1fc; --status-ink: #244a82; --status-border: #b4c8e8; --status-pattern: repeating-linear-gradient(135deg, transparent 0 8px, #ffffff24 8px 11px); }
.status-active, .status-card-active, .status-progress-active { --status-solid: #a64f16; --status-soft: #fff1e6; --status-ink: #843b0a; --status-border: #edc29f; --status-pattern: repeating-linear-gradient(90deg, transparent 0 10px, #ffffff22 10px 13px); }
.status-completed, .status-card-completed, .status-progress-completed { --status-solid: #1f6441; --status-soft: #e5f3eb; --status-ink: #1d583a; --status-border: #afd4bf; --status-pattern: linear-gradient(90deg, #ffffff21 50%, transparent 50%); }
.status-delayed, .status-card-delayed, .status-progress-delayed { --status-solid: #9b3039; --status-soft: #fbeaec; --status-ink: #862b34; --status-border: #e7b7bc; --status-pattern: repeating-linear-gradient(135deg, transparent 0 6px, #ffffff2d 6px 9px); }
.inline-remove { margin-top: 9px; }
.inline-remove button { color: #9b3f38; border-color: #e7c6c2; }
.phase-overview { margin: 0 0 24px; padding: 18px; border: 1px solid #dfe8e1; border-radius: 20px; background: #f8fbf8; }
.phase-overview-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.phase-overview-heading h2 { margin: 4px 0 0; font: 600 24px Georgia, serif; color: #1e3326; }
.phase-overview-heading > span { padding: 6px 11px; border-radius: 999px; background: #fff; color: #527661; font: 700 12px Arial, sans-serif; box-shadow: 0 3px 12px #19372812; }
.phase-empty { margin: 0; padding: 18px; border: 1px dashed #cfdcd2; border-radius: 14px; background: #fff; color: #738078; font: 13px/1.5 Arial, sans-serif; }
.phase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.phase-card { overflow: hidden; border: 1px solid #dfe8e1; border-top: 5px solid var(--status-solid); border-radius: 16px; background: #fff; box-shadow: 0 4px 16px #1937280d; }
.phase-card summary { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 15px; cursor: pointer; list-style: none; }
.phase-card summary::-webkit-details-marker { display: none; }
.phase-card summary h3 { margin: 0; font: 600 18px Georgia, serif; color: #1f3828; }
.phase-card summary small { display: block; margin-top: 4px; color: #7a897f; font: 12px Arial, sans-serif; }
.phase-status-badge { display: flex; align-items: center; gap: 5px; width: max-content; margin-top: 8px; padding: 3px 7px; border: 1px solid var(--status-border); border-radius: 999px; background: var(--status-soft); color: var(--status-ink); font: 700 9px Arial, sans-serif; font-style: normal; }
.phase-card summary > b { padding: 5px 8px; border-radius: 9px; background: #eaf3ec; color: #28634d; font: 700 13px Arial, sans-serif; }
.phase-card[open] { grid-column: span 2; border-color: #9bb8a2; }
.phase-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 15px 12px; text-align: center; }
.phase-metrics span { padding: 7px 3px; border-radius: 10px; background: #f5f8f5; }
.phase-metrics b, .phase-metrics small { display: block; }
.phase-metrics b { color: #294333; font: 700 14px Arial, sans-serif; }
.phase-metrics small { margin-top: 2px; color: #7b887f; font: 10px Arial, sans-serif; }
.phase-card > .progress-track { margin: 0 15px 15px; }
.phase-card > .progress-track span { background: var(--status-solid); }
.phase-detail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 15px 15px; border-top: 1px solid #e5ece6; background: #f8fbf8; }
.phase-detail-columns h4 { margin: 0 0 8px; color: #294333; font: 700 13px Arial, sans-serif; }
.phase-detail-columns p { margin: 0 0 6px; padding: 8px; border-radius: 9px; background: #fff; }
.phase-detail-columns p b, .phase-detail-columns p small { display: block; }
.phase-detail-columns p b { color: #344b3b; font: 600 12px Arial, sans-serif; }
.phase-detail-columns p small, .phase-detail-columns > div > small { margin-top: 3px; color: #7c897f; font: 11px Arial, sans-serif; }
@media (max-width: 1000px) { .phase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1240px) { .dashboard-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1050px) { .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 850px) { .dashboard-grid, .phase-grid { grid-template-columns: 1fr; } .dashboard-grid article { min-height: 145px; } .phase-card[open] { grid-column: auto; } }
@media (max-width: 520px) { .phase-timeline, .phase-overview { padding: 14px; } .phase-timeline-heading { align-items: start; flex-direction: column; } .phase-timeline-heading .primary-link { width: 100%; text-align: center; } .phase-detail-columns { grid-template-columns: 1fr; } .phase-overview-heading { align-items: start; } }

/* Release 1.11.0: evidence-based room documentation report. */
.room-progress-report { margin: 0 0 24px; padding: 18px; border: 1px solid #dfe8e1; border-radius: 20px; background: #f8fbf8; box-shadow: 0 8px 28px rgba(32, 64, 43, .045); }
.room-progress-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.room-progress-heading h2 { margin: 4px 0 0; font: 600 24px Georgia, serif; color: #1e3326; }
.room-progress-heading p:last-child { margin: 5px 0 0; color: #738078; font: 12px/1.5 Arial, sans-serif; }
.room-progress-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.room-progress-summary article { position: relative; min-height: 112px; padding: 16px; border: 1px solid #dfe8e1; border-radius: 16px; background: #fff; }
.room-progress-summary article > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #eaf3ec; color: #28634d; font: 700 16px Arial, sans-serif; }
.room-progress-summary strong { position: absolute; right: 16px; top: 16px; color: #1f3a29; font: 600 26px Georgia, serif; }
.room-progress-summary small { display: block; margin-top: 9px; color: #6f7f73; font: 11px Arial, sans-serif; }
.room-progress-summary .progress-track { margin-top: 10px; }
.room-progress-evidence { margin: 14px 0 0; padding: 11px 13px; border: 1px solid #d7e6da; border-radius: 12px; background: #edf7ef; color: #48634f; font: 12px/1.55 Arial, sans-serif; }
.room-progress-evidence b { color: #28573a; }
.room-progress-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 15px; }
.room-progress-card { overflow: hidden; border: 1px solid #dfe8e1; border-radius: 16px; background: #fff; box-shadow: 0 4px 16px #1937280d; }
.room-progress-card.has-evidence { border-top: 4px solid #3d7b52; }
.room-progress-card.no-evidence { border-top: 4px solid #b8c5bb; }
.room-progress-image { position: relative; display: block; aspect-ratio: 16 / 8; overflow: hidden; background: #edf3ee; color: #fff; text-decoration: none; }
.room-progress-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.room-progress-image:hover img, .room-progress-image:focus-visible img { transform: scale(1.025); }
.room-progress-image span { position: absolute; left: 9px; bottom: 9px; padding: 4px 7px; border-radius: 999px; background: #10251bc7; color: #fff; font: 700 9px Arial, sans-serif; }
.room-progress-placeholder { display: grid; aspect-ratio: 16 / 8; place-items: center; align-content: center; gap: 7px; background: #f3f6f3; color: #8a9b8e; }
.room-progress-placeholder span { font-size: 27px; }
.room-progress-placeholder small { font: 700 11px Arial, sans-serif; }
.room-progress-body { padding: 14px; }
.room-progress-card-head { display: flex; align-items: start; justify-content: space-between; gap: 9px; }
.room-progress-card-head h3 { margin: 0; color: #233c2b; font: 600 19px Georgia, serif; }
.room-progress-card-head small { display: block; margin-top: 3px; color: #7b897f; font: 10px Arial, sans-serif; text-transform: capitalize; }
.room-progress-card-head > b { padding: 4px 7px; border-radius: 999px; background: #e6f3ea; color: #276244; font: 700 9px Arial, sans-serif; }
.room-progress-card.no-evidence .room-progress-card-head > b { background: #f1f3f1; color: #77867b; }
.room-progress-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.room-progress-metrics span { padding: 7px; border-radius: 9px; background: #f5f8f5; text-align: center; }
.room-progress-metrics b, .room-progress-metrics small { display: block; }
.room-progress-metrics b { color: #294333; font: 700 14px Arial, sans-serif; }
.room-progress-metrics small { margin-top: 2px; color: #7b887f; font: 9px Arial, sans-serif; }
.room-phase-coverage { margin-top: 12px; }
.room-phase-coverage > div:first-child { display: flex; justify-content: space-between; color: #607464; font: 700 10px Arial, sans-serif; }
.room-phase-coverage .progress-track { height: 6px; margin-top: 5px; }
.room-phase-coverage .progress-track span { background: #4d8561; }
.room-progress-date { min-height: 17px; margin: 12px 0 0; color: #718176; font: 11px/1.4 Arial, sans-serif; }
.room-phase-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.room-phase-tags span { padding: 4px 6px; border: 1px solid #d8e6da; border-radius: 999px; background: #f7fbf7; color: #4d6a56; font: 700 9px Arial, sans-serif; }
@media (max-width: 1000px) { .room-progress-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .room-progress-heading { align-items: start; flex-direction: column; } .room-progress-heading .button-outline { width: 100%; text-align: center; } .room-progress-summary, .room-progress-grid { grid-template-columns: 1fr; } }

/* Release 1.11.2: dashboard-first individual image assignment workflow. */
.dashboard-assignment-progress,
.dashboard-modal-progress {
  margin-top: 12px;
  display: grid;
  gap: 7px;
}
.dashboard-assignment-progress > div:first-child,
.dashboard-modal-progress > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #664d3c;
  font: 700 11px Arial, sans-serif;
}
.dashboard-assignment-progress small,
.dashboard-modal-progress small { color: #806753; font-size: 11px; line-height: 1.35; }
.dashboard-assignment-widget .dashboard-assignment-progress .progress-track span,
.dashboard-modal-progress .progress-track span { background: #c56335; }
.dashboard-image-assignments-modal > div { width: min(100%, 980px); }
.dashboard-modal-progress {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid #dbe8de;
  border-radius: 14px;
  background: #f6faf6;
}
.dashboard-ai-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 16px 0;
  padding: 15px;
  border: 1px solid #ecd7c6;
  border-radius: 16px;
  background: #fff8f3;
}
.dashboard-ai-card h3 { margin: 3px 0 5px; color: #553b2b; font: 600 19px Georgia, serif; }
.dashboard-ai-card p { margin: 0; color: #7f6552; font-size: 12px; line-height: 1.55; }
.dashboard-ai-status { grid-column: 1 / -1; color: #677a6c; font-size: 12px; min-height: 18px; }
.dashboard-ai-status[data-tone="pending"] { color: #8f571f; }
.dashboard-ai-status[data-tone="success"] { color: #28634d; }
.dashboard-ai-status[data-tone="warning"], .dashboard-ai-status[data-tone="error"] { color: #a84f30; }
.dashboard-quick-image-list { display: grid; gap: 12px; margin-top: 14px; }
.dashboard-quick-image {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 13px;
  padding: 12px;
  border: 1px solid #e0e9e2;
  border-radius: 16px;
  background: #fff;
}
.dashboard-quick-image > a { display: block; min-height: 108px; border-radius: 12px; overflow: hidden; background: #edf3ee; }
.dashboard-quick-image > a img { display: block; width: 100%; height: 100%; min-height: 108px; object-fit: cover; }
.dashboard-quick-image form { display: grid; gap: 10px; }
.dashboard-quick-image-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.dashboard-quick-image-head b, .dashboard-quick-image-head small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-quick-image-head b { color: #294333; font: 700 14px Arial, sans-serif; }
.dashboard-quick-image-head small { margin-top: 3px; color: #7a897f; font-size: 11px; }
.dashboard-quick-image-head em { color: #a84f30; font: 700 10px Arial, sans-serif; font-style: normal; white-space: nowrap; }
.dashboard-quick-image-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.dashboard-quick-image-fields label { color: #607166; font: 700 11px Arial, sans-serif; }
.dashboard-quick-image-fields select, .dashboard-quick-image-fields span { display: block; box-sizing: border-box; width: 100%; min-height: 36px; margin-top: 4px; border: 1px solid #d4e1d6; border-radius: 8px; background: #fff; padding: 8px; color: #334a3a; font: 13px Arial, sans-serif; }
.dashboard-quick-image-fields span { color: #8a6752; background: #fff8f3; }
.dashboard-quick-image form > .text-button { justify-self: end; }
@media (max-width: 620px) {
  .dashboard-ai-card { grid-template-columns: 1fr; }
  .dashboard-ai-card .button-outline { width: 100%; text-align: center; }
  .dashboard-quick-image { grid-template-columns: 1fr; }
  .dashboard-quick-image > a { height: 160px; }
  .dashboard-quick-image-fields { grid-template-columns: 1fr; }
  .dashboard-quick-image form > .text-button { width: 100%; text-align: center; }
}

/* Release 1.12.0: protected human-in-the-loop review for model suggestions. */
.ai-review-modal > div { max-width: 1100px; }
.ai-review-toolbar { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; margin: 18px 0; padding: 14px; border: 1px solid #d4e4d7; border-radius: 16px; background: #f4f9f5; }
.ai-review-toolbar > label { display: flex; gap: 9px; align-items: center; color: #31553c; font-weight: 700; font-size: .9rem; }
.ai-review-toolbar > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ai-review-toolbar output { grid-column: 1 / -1; min-height: 1.25em; color: #496e54; font-size: .8rem; font-weight: 600; }
.ai-review-toolbar output[data-tone="error"] { color: #9a4d3a; }
.ai-review-toolbar output[data-tone="warning"] { color: #8b634d; }
.ai-review-list { display: grid; gap: 14px; }
.ai-review-card { display: grid; grid-template-columns: auto 110px minmax(0,1fr) auto; align-items: start; gap: 14px; padding: 14px; border: 1px solid #dfe8e1; border-radius: 18px; background: #fff; box-shadow: 0 5px 16px rgba(30,62,39,.04); }
.ai-review-check { padding-top: 5px; }
.ai-review-check input { width: 17px; height: 17px; accent-color: #28634d; }
.ai-review-image { display: block; width: 110px; height: 110px; overflow: hidden; border-radius: 12px; background: #edf3ee; }
.ai-review-image img { width: 100%; height: 100%; object-fit: cover; }
.ai-review-content { min-width: 0; }
.ai-review-heading { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ai-review-heading h3 { overflow: hidden; margin: 0; color: #2b4333; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; }
.ai-review-heading small { display: block; overflow: hidden; margin-top: 4px; color: #819087; text-overflow: ellipsis; white-space: nowrap; }
.ai-review-heading > span { flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; background: #edf6ef; color: #356c49; font-size: .66rem; font-weight: 800; }
.ai-review-manual-note { margin: 10px 0 0; padding: 8px 10px; border-radius: 9px; background: #fff8ef; color: #805a31; font-size: .75rem; line-height: 1.4; }
.ai-review-suggestions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; margin-top: 12px; }
.ai-review-suggestions > div { padding: 10px; border: 1px solid #dbe7de; border-radius: 11px; background: #f7fbf8; }
.ai-review-suggestions small { display: block; color: #496953; font-size: .68rem; font-weight: 800; }
.ai-review-suggestions b { display: block; overflow: hidden; margin-top: 4px; color: #244332; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.ai-review-suggestions em { display: block; margin-top: 8px; color: #6c7d70; font-size: .67rem; font-style: normal; }
.ai-review-suggestions span { display: block; height: 5px; margin-top: 4px; overflow: hidden; border-radius: 99px; background: #dbe8de; }
.ai-review-suggestions i { display: block; height: 100%; border-radius: inherit; background: #4b8060; }
.ai-review-actions { display: grid; gap: 7px; min-width: 112px; }
.ai-review-actions button { white-space: nowrap; }
.ai-review-empty { margin: 20px 0; }
@media (max-width: 720px) {
  .ai-review-toolbar { grid-template-columns: 1fr; }
  .ai-review-toolbar > div { justify-content: flex-start; }
  .ai-review-card { grid-template-columns: auto minmax(0,1fr); gap: 10px; }
  .ai-review-image { width: 78px; height: 78px; }
  .ai-review-content { grid-column: 1 / -1; }
  .ai-review-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; min-width: 0; }
  .ai-review-suggestions { grid-template-columns: 1fr; }
}

/* Release 1.12.1: manual correction when rejecting an AI suggestion. */
.ai-review-correction { margin-top: 12px; padding: 10px 12px; border: 1px solid #edcfbf; border-radius: 14px; background: #fff8f4; }
.ai-review-correction summary { cursor: pointer; color: #8a4c31; font-size: .78rem; font-weight: 800; }
.ai-review-correction > p { margin: 8px 0 10px; color: #8d644f; font-size: .72rem; line-height: 1.45; }
.ai-review-correction-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 10px; }
.ai-review-correction-fields label { display: grid; gap: 4px; color: #704a39; font-size: .69rem; font-weight: 800; }
.ai-review-correction-fields select { min-width: 0; height: 35px; border: 1px solid #ebd2c5; border-radius: 8px; background: #fff; color: #3f392f; font: inherit; font-weight: 500; padding: 0 8px; }
.ai-review-correction-fields select:disabled { background: #f5ede8; color: #8e7669; }
.ai-review-correction-fields small { color: #8e624f; font-size: .66rem; font-weight: 500; }
.ai-review-correction .primary { background: #a95736; }
.ai-review-correction .primary:hover { background: #8e452a; }
@media (max-width: 620px) { .ai-review-correction-fields { grid-template-columns: 1fr; } }
