/* Isolated cover-only import. No change to strict MRZ editor or other pages. */
.pending-identity-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain}
.pending-identity-dialog .pending-identity-guide{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 17px}
.pending-identity-dialog .pending-identity-guide-item{padding:13px 14px;border:1px solid #e0e6ee;border-radius:11px;background:#f8fafc}
.pending-identity-dialog .pending-identity-guide-item:first-child{border-color:#d9c59d;background:#fbf8f1}
.pending-identity-dialog .pending-identity-guide-item strong{display:block;margin-bottom:5px;color:#1d334e;font-size:13px}
.pending-identity-dialog .pending-identity-guide-item p{margin:0;color:#53657a;font-size:12px;line-height:1.48}
.pending-identity-dialog .pending-identity-completeness{margin:0;padding:10px 12px;border-radius:9px;background:#f1f5f9;color:#27425f;font-size:12px;line-height:1.5}
.pending-identity-dialog .pending-identity-completeness[data-state="one"]{border:1px solid #e4d0a7;background:#fffaf0;color:#71552c}
.pending-identity-dialog .identity-editor-review{display:grid;gap:12px;margin-top:14px}
.pending-identity-dialog .identity-editor-review[hidden]{display:none}
.pending-identity-dialog .pending-identity-previews{display:flex;align-items:stretch;flex-wrap:wrap;gap:12px;padding:8px 0}
.pending-identity-dialog .pending-identity-preview-item{box-sizing:border-box;display:flex;flex:0 1 140px;flex-direction:column;align-items:center;justify-content:center;min-height:100px;gap:6px;border:1px solid #e3e8ee;border-radius:12px;background:#f9fafc;overflow:hidden}
.pending-identity-dialog .pending-identity-preview-item img{display:block;width:100%;height:110px;max-height:110px;object-fit:contain;margin:0;background:#f8f9fb}
.pending-identity-dialog .pending-identity-preview-item small{padding:0 8px 7px;font-size:11px;color:#5b6a7d}
.pending-identity-dialog .identity-editor-type-choice{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:center;gap:10px;margin:0}
.pending-identity-dialog .identity-editor-type-choice select{box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:8px 12px;border:1px solid #d6dde7;border-radius:9px;background:#fff;color:#17263d;font:inherit;font-size:15px}
.pending-identity-dialog .identity-editor-type-choice select:focus-visible{outline:2px solid #a18856;outline-offset:2px}
.pending-identity-dialog .identity-editor-actions{position:sticky;bottom:-24px;z-index:1;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:20px;padding:14px 0 0;background:#fff;border-top:1px solid #edf0f4}
.pending-identity-dialog .identity-editor-actions button{flex:0 1 auto;min-height:46px}
.library-unclassified-row .library-warning{display:block;color:#87601e;font-size:12px;line-height:1.4}
.library-unclassified-row:has(.library-unclassified-known-image) .library-unclassified-visual{overflow:visible}
@media(max-width:560px){.pending-identity-dialog{padding:18px;max-height:94dvh}.pending-identity-dialog .pending-identity-guide{grid-template-columns:1fr}.pending-identity-dialog .identity-editor-type-choice{grid-template-columns:minmax(0,1fr);gap:6px}.pending-identity-dialog .pending-identity-preview-item{flex-basis:calc(50% - 6px)}.pending-identity-dialog .identity-editor-actions{bottom:-18px;flex-direction:column-reverse}.pending-identity-dialog .identity-editor-actions button{width:100%}.library-unclassified-row .library-file-actions{flex-wrap:wrap}}


/* Lightweight owner-pinned traveler creation, no passport or MRZ required. */
.traveler-profile-dialog{width:min(500px,calc(100vw - 24px));max-height:90dvh;overflow:auto;overscroll-behavior:contain}
.traveler-profile-heading h3{margin:0 0 10px;font:700 20px/1.35 var(--atlas-font,Manrope,sans-serif)}
.traveler-profile-intro{margin:0 0 16px;color:#586b80;line-height:1.6;font-size:13px}
.traveler-profile-form{display:grid;gap:14px}
.traveler-profile-field{display:grid;gap:6px;color:#24354c;font-size:13px;font-weight:600}
.traveler-profile-field input{box-sizing:border-box;width:100%;min-height:48px;padding:11px 13px;border:1px solid #ccd5e2;border-radius:10px;background:#fff;color:#162942;font:inherit;font-size:16px}
.traveler-profile-field input:focus-visible{outline:2px solid #ac8951;outline-offset:2px}
.traveler-profile-status{min-height:0;margin:0;font-size:12px;color:#66758a}
.traveler-profile-status[data-tone=error]{color:#9d3834}
.traveler-profile-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:6px}
.atlas-space-page .library-traveler-heading{flex-wrap:wrap;align-items:center;row-gap:9px}
.atlas-space-page .library-delete-traveler{flex:none;margin-top:16px;min-height:42px;padding:9px 12px;border:1px solid #e7cecb;border-radius:9px;color:#933a37;background:#fff;font-size:12px;font-weight:600}
.atlas-space-page .library-delete-traveler:hover:not(:disabled){background:#fff4f2;border-color:#d99b98}
.atlas-space-page .library-delete-confirm{border:1px solid #ab534c;background:#a3423c;color:#fff}
.atlas-space-page .library-delete-confirm:hover:not(:disabled){background:#87352e;color:#fff}
@media(max-width:560px){.traveler-profile-dialog{padding:18px}.traveler-profile-actions{flex-direction:column-reverse}.traveler-profile-actions button{width:100%}.atlas-space-page .library-delete-traveler{margin:0 0 8px}}
/* Stored-copy review, shared by the account and the trip. */
.traveler-documents-dialog{width:min(1000px,94vw);max-width:1000px;max-height:90dvh;overflow:auto;padding:24px}.traveler-documents-dialog>p{color:#617088;font-size:14px}/* Review layout is owned by atlas-document-review-recovery.css. */
/* One document, an explicit photo example, and a visible processing stage. */
.pending-identity-photo-tip{font-size:13px;line-height:1.5;color:#52627a;margin:0 0 18px}
.identity-photo-example{position:relative;width:90px;height:60px;margin:0 0 12px;border:1px solid #b8c3d1;border-radius:5px;background:#fff;overflow:hidden}
.identity-photo-example[data-kind=passport]{height:70px;border-radius:3px;border-left:4px solid #192d49}
.identity-photo-portrait{position:absolute;width:22px;height:27px;left:8px;top:9px;border-radius:8px 8px 3px 3px;background:#c9d3df}
.identity-photo-lines{position:absolute;left:37px;right:8px;top:12px;height:24px;background:repeating-linear-gradient(to bottom,#d9dfE8 0 2px,transparent 2px 7px)}
.identity-photo-mrz{position:absolute;bottom:4px;left:7px;color:#72829a;font:9px monospace;letter-spacing:1px;white-space:nowrap}
.pending-identity-remove{border:0;background:transparent;color:#7c382c;text-decoration:underline;padding:8px;min-height:44px;font:inherit;font-size:12px;cursor:pointer}
.identity-progress[hidden]{display:none!important}.identity-progress{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px 16px;padding:22px;margin:12px 0 24px;border:1px solid #dfc99e;border-radius:14px;background:linear-gradient(115deg,#fffdf8,#f4f6fa);color:#172b46}
.identity-progress-logo{animation:atlas-document-pulse 1.8s ease-in-out infinite;object-fit:contain}.identity-progress-copy strong{font-size:18px;line-height:1.3}.identity-progress-copy p{font-size:14px;line-height:1.5;margin:6px 0;color:#53647b}.identity-progress-copy small{color:#92713a;font-size:12px}
.identity-progress-rail{grid-column:1/-1;height:4px;border-radius:4px;overflow:hidden;background:#e5e9ef}.identity-progress-rail span{display:block;width:35%;height:100%;border-radius:4px;background:#b9995d;animation:atlas-document-progress 1.8s ease-in-out infinite}
@keyframes atlas-document-pulse{0%,100%{transform:translateY(2px);opacity:.6}50%{transform:translateY(-4px);opacity:1}}@keyframes atlas-document-progress{from{transform:translateX(-105%)}to{transform:translateX(290%)}}
@media(prefers-reduced-motion:reduce){.identity-progress-logo,.identity-progress-rail span{animation:none}.identity-progress-rail span{width:100%;opacity:.6}}
@media(max-width:560px){.identity-progress{padding:16px;gap:10px}.identity-progress-copy strong{font-size:16px}}

.identity-review-dialog [hidden],.pending-identity-dialog [hidden]{display:none!important}

@media(max-width:560px){.pending-identity-dialog .pending-identity-guide-item{display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:12px;align-items:start}.pending-identity-dialog .identity-photo-example{grid-column:1;grid-row:1/3;width:72px;margin:0}.pending-identity-dialog .pending-identity-guide-item strong,.pending-identity-dialog .pending-identity-guide-item p{grid-column:2}.pending-identity-dialog .identity-photo-mrz{font-size:8px;letter-spacing:.3px}}

.pending-identity-dialog .pending-identity-photo-tip{margin:0 0 18px;font-size:12px;color:#617187}
.pending-identity-dialog .pending-identity-photo-tip summary{cursor:pointer;min-height:32px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:3px}
.pending-identity-dialog .pending-identity-photo-tip p{max-width:560px;margin:4px 0 12px;line-height:1.6}
.pending-identity-dialog .identity-photo-example{float:right;margin:0 0 0 12px;width:68px;height:48px}
.pending-identity-dialog .identity-photo-example[data-kind=passport]{height:55px}
.pending-identity-dialog .pending-identity-guide-item{padding:16px}
@media(max-width:560px){.pending-identity-dialog .pending-identity-guide{gap:8px}.pending-identity-dialog .pending-identity-guide-item{padding:12px}.pending-identity-dialog .identity-photo-example{float:none;width:64px;margin:0}.pending-identity-dialog .pending-identity-guide-item p{font-size:12px}}
/* One instruction per state: guide first, document preview after selection. */
.pending-identity-dialog .pending-identity-previews{display:flex;justify-content:center;align-items:stretch;flex-wrap:wrap;gap:16px}.pending-identity-dialog .pending-identity-preview-item{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;max-width:240px;flex:1 1 160px}.pending-identity-dialog .identity-editor-preview{width:100%;height:180px;object-fit:contain;background:#f5f7fa;border-radius:12px}.pending-identity-dialog .pending-identity-completeness{font-size:13px;text-align:center;color:#63728a}.pending-identity-dialog .identity-editor-status:empty{display:none}.pending-identity-dialog .identity-editor-actions{justify-content:flex-end}.pending-identity-dialog .identity-editor-actions>.library-soft{display:none}.pending-identity-dialog .identity-editor-upload{display:flex;justify-content:center;margin-inline:auto;width:fit-content}.pending-identity-dialog .pending-identity-guide-item{align-content:start}.pending-identity-dialog [hidden]{display:none!important}
