.idphoto-page {
    --idp-navy: #183b61;
    --idp-ink: #152335;
    --idp-muted: #66758a;
    --idp-line: #dce5ef;
    --idp-soft: #f4f8fc;
    --idp-green: #1f8d61;
    --idp-green-soft: #e8f7ef;
    --idp-amber: #a96b13;
    --idp-amber-soft: #fff5df;
    --idp-red: #b43b42;
    --idp-red-soft: #fff0f0;
    width: min(1420px, calc(100% - 40px)) !important;
    color: var(--idp-ink);
}

.idphoto-page * { box-sizing: border-box; }
.idphoto-page button, .idphoto-page select, .idphoto-page input { font: inherit; }
.idphoto-page button { cursor: pointer; }
.idphoto-page button:focus-visible, .idphoto-page select:focus-visible, .idphoto-page input:focus-visible, .idphoto-page summary:focus-visible { outline: 3px solid rgba(31,141,97,.34); outline-offset: 3px; }
.idphoto-page svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.idphoto-page .idphoto-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 520px); align-items: center; gap: 42px; padding: 45px 36px 28px; }
.idphoto-hero-copy { max-width: 710px; }
.idphoto-eyebrow, .idphoto-kicker, .idphoto-content-label { margin: 0; color: var(--idp-green); font-size: 11px; font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.idphoto-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.idphoto-eyebrow-mark { width: 22px; height: 3px; border-radius: 99px; background: var(--idp-green); }
.idphoto-hero h1 { max-width: 780px; margin: 0 0 17px; color: var(--idp-navy); font-size: clamp(32px, 4vw, 58px); font-weight: 750; letter-spacing: -1.9px; line-height: 1.02; }
.idphoto-lede { max-width: 670px; margin: 0; color: var(--idp-muted); font-size: 17px; line-height: 1.75; }
.idphoto-hero-points { display: flex; flex-wrap: wrap; gap: 9px 19px; margin-top: 22px; color: var(--idp-ink); font-size: 13px; font-weight: 700; }
.idphoto-hero-points span { display: inline-flex; align-items: center; gap: 6px; }
.idphoto-hero-points svg { width: 17px; height: 17px; color: var(--idp-green); stroke-width: 2.4; }
.idphoto-hero-art { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 28px rgba(24,59,97,.10)); }
.idphoto-main { position: relative; }
.idphoto-privacy-note { display: flex; align-items: flex-start; gap: 11px; margin: 0 36px 16px; padding: 13px 16px; color: #245b48; background: var(--idp-green-soft); border: 1px solid #bfe7cf; border-radius: 11px; font-size: 13px; line-height: 1.55; }
.idphoto-privacy-note svg { flex: 0 0 auto; width: 21px; height: 21px; margin-top: 1px; color: var(--idp-green); stroke-width: 2; }
.idphoto-progress { display: flex; align-items: center; gap: 11px; margin: 0 36px 18px; color: #8a98a8; font-size: 12px; font-weight: 700; }
.idphoto-progress span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.idphoto-progress b { display: inline-grid; width: 24px; height: 24px; place-items: center; color: #8794a3; background: #eef3f7; border-radius: 50%; font-size: 11px; }
.idphoto-progress .is-active { color: var(--idp-navy); }
.idphoto-progress .is-active b { color: #fff; background: var(--idp-navy); }
.idphoto-progress i { flex: 0 1 72px; height: 1px; background: var(--idp-line); }
.idphoto-workspace { display: grid; grid-template-columns: minmax(280px, 390px) minmax(0, 1fr); gap: 18px; padding: 0 36px; }
.idphoto-controls, .idphoto-preview-panel, .idphoto-print-card, .idphoto-guide-card, .idphoto-faq-section { background: #fff; border: 1px solid var(--idp-line); border-radius: 16px; box-shadow: 0 9px 26px rgba(27,54,83,.06); }
.idphoto-controls { padding: 25px 23px 22px; }
.idphoto-section-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.idphoto-section-heading-tight { margin-top: 28px; margin-bottom: 15px; }
.idphoto-step-number { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; color: #fff; background: var(--idp-navy); border-radius: 9px; font-size: 11px; font-weight: 800; }
.idphoto-section-heading h2, .idphoto-preview-panel h2, .idphoto-print-card h2, .idphoto-guide-card h2, .idphoto-faq-section h2 { margin: 4px 0 0; color: var(--idp-ink); font-size: 20px; font-weight: 750; letter-spacing: -.45px; line-height: 1.25; }
.idphoto-field-label { display: block; margin: 0 0 8px; color: var(--idp-ink); font-size: 13px; font-weight: 750; }
.idphoto-select, .idphoto-number { width: 100%; min-height: 45px; padding: 0 12px; color: var(--idp-ink); background: #fff; border: 1px solid #cbd8e5; border-radius: 9px; }
.idphoto-select:hover, .idphoto-number:hover { border-color: #8aa6c2; }
.idphoto-spec-summary { min-height: 65px; margin-top: 9px; padding: 11px 12px; color: var(--idp-muted); background: var(--idp-soft); border-radius: 9px; font-size: 12px; line-height: 1.55; }
.idphoto-spec-summary strong { display: block; margin-bottom: 3px; color: var(--idp-navy); font-size: 13px; }
.idphoto-dropzone { display: flex; min-height: 126px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 17px; color: var(--idp-navy); background: #fbfdff; border: 1.5px dashed #98b1c9; border-radius: 11px; text-align: center; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.idphoto-dropzone:hover, .idphoto-dropzone.is-dragging { background: #f1f8ff; border-color: var(--idp-green); transform: translateY(-1px); }
.idphoto-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.idphoto-dropzone strong { font-size: 13px; }
.idphoto-dropzone small { color: var(--idp-muted); font-size: 11px; }
.idphoto-upload-icon { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 2px; color: var(--idp-green); background: var(--idp-green-soft); border-radius: 50%; }
.idphoto-upload-icon svg { width: 19px; height: 19px; stroke-width: 2; }
.idphoto-file-status { min-height: 18px; margin: 8px 0 0; color: var(--idp-muted); font-size: 11px; line-height: 1.5; }
.idphoto-slider-row { display: grid; grid-template-columns: 72px 1fr 42px; align-items: center; gap: 8px; margin: 12px 0; color: var(--idp-muted); font-size: 12px; }
.idphoto-slider-row label { color: var(--idp-ink); font-weight: 650; }
.idphoto-slider-row input[type=range] { width: 100%; accent-color: var(--idp-green); }
.idphoto-slider-row output { color: var(--idp-navy); font-size: 11px; font-variant-numeric: tabular-nums; text-align: right; }
.idphoto-button-row { display: flex; gap: 8px; margin: 15px 0 6px; }
.idphoto-control-help { margin: 15px 0 0; padding-top: 14px; color: var(--idp-muted); border-top: 1px solid #edf2f6; font-size: 11px; line-height: 1.65; }
.idphoto-preview-panel { min-width: 0; padding: 25px; }
.idphoto-preview-toolbar, .idphoto-report-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.idphoto-local-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; color: var(--idp-green); background: var(--idp-green-soft); border-radius: 99px; font-size: 11px; font-weight: 800; }
.idphoto-local-badge span { width: 6px; height: 6px; background: var(--idp-green); border-radius: 50%; }
.idphoto-canvas-wrap { position: relative; display: grid; min-height: 380px; margin-top: 20px; place-items: center; overflow: hidden; background: #eaf0f5; border: 1px solid #d4e0ea; border-radius: 13px; }
#idphoto-canvas { display: block; width: min(100%, 520px); max-height: 570px; height: auto; object-fit: contain; background: #fff; box-shadow: 0 12px 28px rgba(27,54,83,.14); }
.idphoto-canvas-wrap:not(.has-image) #idphoto-canvas { display: none; }
.idphoto-empty-state { display: grid; max-width: 240px; justify-items: center; gap: 8px; color: var(--idp-muted); text-align: center; }
.idphoto-empty-state svg { width: 52px; height: 52px; color: #8ea8c1; stroke-width: 1.25; }
.idphoto-empty-state strong { color: var(--idp-navy); font-size: 14px; }
.idphoto-empty-state span { font-size: 12px; line-height: 1.5; }
.idphoto-canvas-wrap.has-image .idphoto-empty-state { display: none; }
.idphoto-guide-overlay { position: absolute; width: min(100%, 520px); height: 100%; inset: 0; margin: auto; pointer-events: none; }
.idphoto-guide-overlay span { position: absolute; left: 11%; right: 11%; border-top: 1px dashed rgba(31,141,97,.76); }
.idphoto-guide-top { top: 23%; }
.idphoto-guide-eye { top: 39%; border-color: rgba(240,185,78,.9) !important; }
.idphoto-guide-bottom { top: 69%; }
.idphoto-preview-meta { margin-top: 12px; color: var(--idp-muted); font-size: 12px; line-height: 1.55; }
.idphoto-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.idphoto-primary-button, .idphoto-secondary-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; padding: 0 15px; border-radius: 9px; font-size: 13px; font-weight: 750; transition: background-color .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease; }
.idphoto-primary-button { color: #fff; background: var(--idp-navy); border: 1px solid var(--idp-navy); }
.idphoto-primary-button:hover:not(:disabled) { background: #25547e; transform: translateY(-1px); }
.idphoto-primary-button svg { width: 17px; height: 17px; stroke-width: 2.2; }
.idphoto-secondary-button { color: var(--idp-navy); background: #fff; border: 1px solid #bdccda; }
.idphoto-secondary-button:hover:not(:disabled) { background: #f2f7fb; border-color: #8fa8c0; }
.idphoto-primary-button:disabled, .idphoto-secondary-button:disabled { cursor: not-allowed; opacity: .45; }
.idphoto-output-note { margin: 11px 0 0; color: #7a8795; font-size: 11px; line-height: 1.55; }
.idphoto-report { margin-top: 22px; padding: 18px; background: #fbfdff; border: 1px solid #e0e9f1; border-radius: 12px; }
.idphoto-report-heading h2 { font-size: 17px; }
.idphoto-status-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 99px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.idphoto-status-pill.is-neutral { color: #617184; background: #edf2f6; }
.idphoto-status-pill.is-review { color: var(--idp-amber); background: var(--idp-amber-soft); }
.idphoto-status-pill.is-ready { color: var(--idp-green); background: var(--idp-green-soft); }
.idphoto-report-list { display: grid; gap: 7px; margin: 14px 0 12px; }
.idphoto-report-list p { margin: 0; color: var(--idp-muted); font-size: 12px; line-height: 1.5; }
.idphoto-report-item { display: grid; grid-template-columns: 20px 1fr; gap: 8px; color: #536476; font-size: 12px; line-height: 1.5; }
.idphoto-report-item .report-icon { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 800; }
.idphoto-report-item.is-pass .report-icon { color: var(--idp-green); background: var(--idp-green-soft); }
.idphoto-report-item.is-warn .report-icon { color: var(--idp-amber); background: var(--idp-amber-soft); }
.idphoto-source-link { color: var(--idp-navy); font-size: 11px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.idphoto-print-card { margin: 18px 36px 0; padding: 25px; }
.idphoto-print-grid { display: grid; grid-template-columns: 1fr 140px auto; gap: 13px; align-items: end; }
.idphoto-print-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.idphoto-sheet-preview { position: relative; min-height: 210px; display: grid; margin-top: 19px; place-items: center; overflow: hidden; background: #edf2f6; border: 1px solid #dce5ef; border-radius: 11px; }
#idphoto-sheet-canvas { display: none; width: min(100%, 640px); height: auto; max-height: 560px; object-fit: contain; background: #fff; box-shadow: 0 9px 24px rgba(27,54,83,.12); }
.idphoto-sheet-preview.has-sheet #idphoto-sheet-canvas { display: block; }
.idphoto-sheet-preview.has-sheet [data-sheet-empty] { display: none; }
.idphoto-sheet-preview p { margin: 0; color: #8190a0; font-size: 12px; }
.idphoto-print-note { margin: 13px 0 0; color: var(--idp-muted); font-size: 12px; line-height: 1.6; }
.idphoto-calculator-card { margin: 18px 36px 0; padding: 25px; background: #fff; border: 1px solid var(--idp-line); border-radius: 16px; box-shadow: 0 9px 26px rgba(27,54,83,.06); }
.idphoto-calculator-intro { max-width: 820px; margin: -7px 0 17px 40px; color: var(--idp-muted); font-size: 13px; line-height: 1.65; }
.idphoto-calculator-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(220px, 1.5fr); gap: 12px; align-items: end; }
.idphoto-calculator-result { min-height: 45px; padding: 8px 12px; color: var(--idp-green); background: var(--idp-green-soft); border: 1px solid #bfe7cf; border-radius: 9px; }
.idphoto-calculator-result strong, .idphoto-calculator-result span { display: block; }
.idphoto-calculator-result strong { font-size: 15px; line-height: 1.3; }
.idphoto-calculator-result span { margin-top: 2px; color: #4d7964; font-size: 11px; line-height: 1.35; }
.idphoto-content-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr); gap: 18px; margin: 32px 36px 0; }
.idphoto-guide-card { padding: 27px; }
.idphoto-guide-card-wide { grid-row: span 2; }
.idphoto-content-label { margin-bottom: 10px; }
.idphoto-guide-card h2, .idphoto-faq-section h2 { margin-top: 0; font-size: 24px; }
.idphoto-guide-card h3 { margin: 27px 0 10px; color: var(--idp-navy); font-size: 17px; line-height: 1.35; }
.idphoto-guide-card p { margin: 0 0 15px; color: #536476; font-size: 14px; line-height: 1.85; }
.idphoto-guide-card p:last-child { margin-bottom: 0; }
.idphoto-size-list { display: grid; gap: 7px; margin-top: 17px; }
.idphoto-size-list button { display: flex; min-height: 50px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 7px 11px; color: var(--idp-navy); background: #fbfdff; border: 1px solid #e2eaf1; border-radius: 8px; text-align: left; transition: border-color .2s ease, background-color .2s ease; }
.idphoto-size-list button:hover { background: #f1f8ff; border-color: #9eb8d0; }
.idphoto-size-list strong { font-size: 12px; }
.idphoto-size-list span { margin-top: 2px; color: var(--idp-muted); font-size: 11px; }
.idphoto-small-note { margin-top: 15px !important; color: #7d8996 !important; font-size: 11px !important; line-height: 1.6 !important; }
.idphoto-check-list { display: grid; gap: 13px; margin: 19px 0 0; padding: 0; list-style: none; }
.idphoto-check-list li { display: grid; grid-template-columns: 23px 1fr; gap: 8px; color: #536476; font-size: 13px; line-height: 1.55; }
.idphoto-check-list .is-no { display: grid; width: 21px; height: 21px; place-items: center; color: var(--idp-red); background: var(--idp-red-soft); border-radius: 50%; font-size: 16px; font-weight: 700; }
.idphoto-faq-section { margin: 18px 36px 0; padding: 27px; }
.idphoto-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 19px; }
.idphoto-faq-grid details { background: #fbfdff; border: 1px solid #e1eaf2; border-radius: 9px; }
.idphoto-faq-grid summary { display: flex; min-height: 53px; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 14px; color: var(--idp-ink); cursor: pointer; font-size: 13px; font-weight: 750; line-height: 1.45; list-style: none; }
.idphoto-faq-grid summary::-webkit-details-marker { display: none; }
.idphoto-faq-grid summary span { color: var(--idp-green); font-size: 21px; font-weight: 400; }
.idphoto-faq-grid details[open] summary { border-bottom: 1px solid #e1eaf2; }
.idphoto-faq-grid details[open] summary span { transform: rotate(45deg); }
.idphoto-faq-grid details p { margin: 0; padding: 14px; color: var(--idp-muted); font-size: 12px; line-height: 1.7; }
.idphoto-disclaimer { margin: 18px 36px 34px; padding: 15px 17px; color: #665227; background: #fffaf0; border: 1px solid #f0dfb3; border-radius: 10px; font-size: 12px; line-height: 1.6; }
@media (max-width: 980px) {
    .idphoto-page .idphoto-hero { grid-template-columns: 1fr; gap: 18px; padding-top: 33px; }
    .idphoto-hero-art { width: min(520px, 100%); margin: 0 auto; }
    .idphoto-workspace { grid-template-columns: 1fr; }
    .idphoto-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 17px; }
    .idphoto-controls > .idphoto-section-heading, .idphoto-controls > .idphoto-control-help { grid-column: 1 / -1; }
    .idphoto-section-heading-tight { margin-top: 19px; }
    .idphoto-dropzone { min-height: 104px; }
}
@media (max-width: 700px) {
    .idphoto-page { width: calc(100% - 20px) !important; }
    .idphoto-page .idphoto-hero { padding: 27px 6px 19px; }
    .idphoto-hero h1 { font-size: 34px; letter-spacing: -1px; }
    .idphoto-lede { font-size: 15px; line-height: 1.65; }
    .idphoto-privacy-note, .idphoto-progress, .idphoto-workspace, .idphoto-print-card, .idphoto-content-grid, .idphoto-faq-section, .idphoto-disclaimer { margin-right: 0; margin-left: 0; }
    .idphoto-progress { gap: 5px; overflow-x: auto; padding-bottom: 3px; }
    .idphoto-progress i { min-width: 16px; }
    .idphoto-progress span { font-size: 10px; }
    .idphoto-progress b { width: 21px; height: 21px; }
    .idphoto-controls { display: block; padding: 19px 16px; }
    .idphoto-preview-panel, .idphoto-print-card, .idphoto-guide-card, .idphoto-faq-section { padding: 19px 16px; }
    .idphoto-canvas-wrap { min-height: 280px; }
    .idphoto-print-grid, .idphoto-content-grid { grid-template-columns: 1fr; }
    .idphoto-calculator-card { margin-right: 0; margin-left: 0; padding: 19px 16px; }
    .idphoto-calculator-intro { margin-left: 0; }
    .idphoto-calculator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .idphoto-calculator-result { grid-column: 1 / -1; }
    .idphoto-faq-grid { grid-template-columns: 1fr; }
    .idphoto-guide-card-wide { grid-row: auto; }
    .idphoto-print-buttons { align-items: stretch; }
    .idphoto-print-buttons button { flex: 1 1 160px; }
}
@media (prefers-reduced-motion: reduce) {
    .idphoto-dropzone, .idphoto-primary-button, .idphoto-secondary-button, .idphoto-size-list button { transition: none; }
}
@media print {
    body.idphoto-printing * { visibility: hidden !important; }
    body.idphoto-printing .idphoto-sheet-preview, body.idphoto-printing .idphoto-sheet-preview * { visibility: visible !important; }
    body.idphoto-printing .idphoto-sheet-preview { position: absolute; inset: 0; width: var(--idphoto-print-width, 6in); height: var(--idphoto-print-height, 4in); min-height: 0; background: #fff; border: 0; }
    body.idphoto-printing #idphoto-sheet-canvas { display: block; width: var(--idphoto-print-width, 6in); height: var(--idphoto-print-height, 4in); max-height: none; box-shadow: none; }
}
