:root { --accent: #336f77; --accent-dark: #234f56; --accent-mid: #57959a; --accent-soft: #edf7f6; }
body { background: radial-gradient(circle at 74% 7%, rgba(118, 184, 187, .16), transparent 28%), linear-gradient(135deg, #fffefd 0%, #f3f8f7 100%); }
.id-photo-header .old-photo-heading > div { display: grid; gap: 7px; }
.id-photo-header .old-photo-heading h1 { line-height: 1; }
.id-photo-header .old-photo-heading small { color: #708487; font-family: Georgia, "Songti SC", serif; font-size: 12px; letter-spacing: .08em; }
.id-photo-header .repair-step.is-active span, .id-photo-settings-card .family-step-number { border-color: #39737a; background: linear-gradient(135deg, #72aeb0, #2c6169); }
.id-photo-header .header-action.is-accent { color: #2f6870; border-color: #bed8d8; }
.id-photo-workspace { grid-template-columns: 580px minmax(0, 1fr); }
.id-photo-settings-card { min-height: 720px; padding-top: 22px; border-radius: 22px; }
.id-photo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.id-photo-upload-note { display: flex; align-items: flex-start; gap: 6px; margin: 10px 0 0; color: #817a74; font-size: 10px; line-height: 1.5; }
.id-photo-upload-note svg { flex: 0 0 auto; width: 14px; height: 14px; color: #4d858a; }
.id-photo-type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.id-photo-type { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 65px; padding: 9px 11px; border: 1px solid #d8e1df; border-radius: 11px; color: #625e58; background: #fff; text-align: left; cursor: pointer; }
.id-photo-type:hover { border-color: #8fb9bb; background: #f8fcfb; }
.id-photo-type.is-selected { border: 2px solid #4b8a8e; padding: 8px 10px; color: #285e65; background: #f2faf9; box-shadow: 0 4px 10px rgba(49, 105, 110, .1); }
.id-photo-type > svg { width: 24px; height: 24px; color: #57999b; stroke-width: 1.7; }
.id-photo-type > span { display: grid; gap: 4px; min-width: 0; }
.id-photo-type strong { font-size: 12px; }
.id-photo-type small { overflow: hidden; color: #918b84; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.id-photo-design-grid { gap: 10px; }
.id-photo-spec { display: grid; align-content: center; gap: 3px; height: 45px; padding: 0 12px; border: 1px solid #dce3e1; border-radius: 10px; background: #f7fbfa; }
.id-photo-spec strong { color: #376c72; font-size: 12px; }
.id-photo-spec small { color: #96908a; font-size: 9px; }
.id-photo-quality-note { color: #35676b; border-color: #c9dddd; background: linear-gradient(120deg, #f3fbfa, #e8f4f3); }
.id-photo-quality-note > svg { color: #4e8a8e; }
.id-photo-settings-card .start-repair-button { background: linear-gradient(105deg, #66a4a6 0%, #37777e 58%, #254f59 100%); box-shadow: 0 8px 16px rgba(40, 99, 105, .2); }
.id-photo-result-card .result-heading h2 { color: #2d646b; }
.id-photo-result-card .result-heading h2 svg { color: #4a898e; }
.id-photo-result-stage { padding: 14px; background: radial-gradient(circle at 50% 42%, rgba(205, 235, 234, .56), transparent 32%), linear-gradient(135deg, #e8f2f1, #c8dcdd); }
.id-photo-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: center; gap: 13px; width: 100%; height: 100%; }
.id-photo-result-slot { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 310px; overflow: hidden; border: 2px solid transparent; border-radius: 13px; background: rgba(255,255,255,.68); box-shadow: 0 6px 14px rgba(45, 89, 92, .1); cursor: pointer; }
.id-photo-result-slot.is-selected { border-color: #3d858a; box-shadow: 0 0 0 3px rgba(61, 133, 138, .13), 0 7px 18px rgba(45, 89, 92, .14); }
.id-photo-result-slot img { display: block; width: 100%; height: 100%; object-fit: contain; background: #eef6f5; }
.id-photo-result-slot > span { position: absolute; right: 8px; bottom: 8px; padding: 5px 8px; border-radius: 7px; color: #fff; background: rgba(35, 79, 84, .72); font-size: 10px; }
.id-photo-progress-slot { display: grid; align-content: center; justify-items: center; gap: 10px; min-height: 310px; padding: 20px; border-radius: 13px; color: #708487; background: rgba(255,255,255,.58); text-align: center; }
.id-photo-progress-slot strong { color: #315e63; font-size: 13px; }
.id-photo-progress-slot small { font-size: 10px; line-height: 1.5; }
.id-photo-progress-slot.is-failed { color: #9a514b; background: rgba(255,245,243,.78); }
.id-photo-compliance-note { border-color: #ccdedc; background: linear-gradient(90deg, #eef8f6, #fafcfb); }
.id-photo-compliance-note strong { color: #376d71; }
.id-photo-compliance-note .next-step-visual { color: #4d8589; }

@media (max-width: 1280px) {
  .id-photo-workspace { grid-template-columns: 510px minmax(0, 1fr); }
  .id-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .id-photo-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-y: auto; }
}
@media (max-width: 860px) {
  .id-photo-workspace { grid-template-columns: 1fr; }
  .id-photo-settings-card { height: auto; }
  .id-photo-result-grid { min-height: 420px; }
}
@media (max-width: 560px) {
  .id-photo-header .old-photo-heading small { display: none; }
  .id-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .id-photo-type-grid, .id-photo-design-grid { grid-template-columns: 1fr; }
  .id-photo-result-grid { grid-template-columns: 1fr; }
  .id-photo-result-slot, .id-photo-progress-slot { min-height: 360px; }
}
