.passport-modal{z-index:9999;box-sizing:border-box;background:0 0;border:none;width:95%;max-width:960px;margin:auto;padding:1.5rem;position:fixed;inset:0}.passport-modal::backdrop{-webkit-backdrop-filter:blur(8px);background:#0f172ab8}.passport-modal-card{box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;max-height:90vh;display:flex;overflow-y:auto;box-shadow:0 25px 50px -12px #0f172a40}.passport-modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.5rem 1.75rem 1.25rem;display:flex}.passport-modal-title-group{align-items:flex-start;gap:.85rem;display:flex}.passport-modal-icon{background:var(--blue-50);border:1px solid var(--blue-200);width:38px;height:38px;color:var(--blue-600);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.passport-modal-title{color:#0f172a;letter-spacing:-.01em;margin:0 0 .25rem;font-size:1.25rem;font-weight:700}.passport-modal-subtitle{color:#475569;margin:0;font-size:.875rem;line-height:1.4}.passport-modal-close{color:#475569;cursor:pointer;background:0 0;border:1px solid #e2e8f0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;transition:all .15s;display:flex}.passport-modal-close:hover{color:#0f172a;background:#f8fafc;border-color:#cbd5e1}.passport-format-toolbar{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1.75rem;display:flex}.format-label{text-transform:uppercase;letter-spacing:.05em;color:#475569;font-size:.8rem;font-weight:600}.format-pills{gap:.5rem;display:flex}.format-pill{color:#334155;cursor:pointer;text-align:left;background:#fff;border:1px solid #cbd5e1;border-radius:6px;flex-direction:column;align-items:flex-start;padding:.45rem .85rem;font-size:.8rem;font-weight:600;transition:all .15s;display:flex}.format-pill:hover{background:#f1f5f9;border-color:#94a3b8}.format-pill.is-active{background:var(--blue-50);border-color:var(--blue-600);color:var(--blue-800);box-shadow:0 1px 2px color-mix(in srgb, var(--blue-600) 10%, transparent)}.format-pill-hint{color:#475569;margin-top:1px;font-size:.7rem;font-weight:400}.format-pill.is-active .format-pill-hint{color:var(--blue-500)}.passport-preview-container{background:#f1f5f9;flex-direction:column;justify-content:center;align-items:center;min-height:380px;padding:1.5rem 1.75rem;display:flex;position:relative;overflow:hidden}.passport-canvas-wrap{justify-content:center;align-items:center;width:100%;display:flex}.passport-preview-image{object-fit:contain;background:#fff;border:1px solid #cbd5e1;border-radius:6px;max-width:100%;max-height:480px;transition:transform .2s;box-shadow:0 10px 25px -5px #0f172a26,0 8px 10px -6px #0f172a1a}.passport-loading{color:#475569;align-items:center;gap:.75rem;font-size:.9rem;font-weight:500;display:flex}.loading-spinner{border:2px solid #cbd5e1;border-top-color:var(--blue-600);border-radius:50%;width:18px;height:18px;animation:.6s linear infinite passport-spin}@keyframes passport-spin{to{transform:rotate(360deg)}}.passport-stats-bar{background:#fff;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-around;align-items:center;gap:1rem;padding:.85rem 1.75rem;display:flex}.metric-item{align-items:baseline;gap:.4rem;display:flex}.metric-label{color:#475569;text-transform:uppercase;letter-spacing:.04em;font-size:.75rem;font-weight:500}.metric-value{color:#0f172a;font-size:.95rem;font-weight:700}.metric-divider{background:#e2e8f0;width:1px;height:16px}.passport-modal-actions{background:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem 1.75rem;display:flex}.passport-feedback-msg{border-radius:6px;padding:.4rem .75rem;font-size:.85rem;font-weight:500}.passport-feedback-msg.is-success{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.passport-feedback-msg.is-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.action-buttons-group{flex-wrap:wrap;align-items:center;gap:.65rem;margin-left:auto;display:flex}.btn-swiss-primary{background:var(--blue-600);color:#fff;border:1px solid var(--blue-700);cursor:pointer;box-shadow:0 1px 3px color-mix(in srgb, var(--blue-600) 20%, transparent);border-radius:8px;align-items:center;gap:.45rem;padding:.6rem 1.15rem;font-size:.875rem;font-weight:600;transition:all .15s;display:inline-flex}.btn-swiss-primary:hover{background:var(--blue-700)}.btn-swiss-secondary{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:.45rem;padding:.6rem 1rem;font-size:.875rem;font-weight:600;transition:all .15s;display:inline-flex}.btn-swiss-secondary:hover{background:#f8fafc;border-color:#94a3b8}.font-tabular{font-variant-numeric:tabular-nums}@media (width<=640px){.passport-modal{padding:.5rem}.passport-modal-header{padding:1rem}.passport-format-toolbar{flex-direction:column;align-items:stretch;padding:.75rem 1rem}.format-pills{flex-direction:column}.passport-stats-bar{grid-template-columns:1fr 1fr;gap:.75rem;padding:1rem;display:grid}.metric-divider{display:none}.passport-modal-actions{flex-direction:column;align-items:stretch;padding:1rem}.action-buttons-group{flex-direction:column;width:100%;margin-left:0}.action-buttons-group button{justify-content:center;width:100%}}
