:root{--pt-blue:#245fe1;--pt-ink:#203454;--pt-muted:#62748d;--pt-border:#dce5f3}
.pt-main{max-width:1210px;padding:28px 28px 60px;margin:auto;color:var(--pt-ink)}
.pt-back{color:#245ed7;font-size:14px;text-decoration:none;font-weight:650}
.pt-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:24px 0}
.pt-eyebrow{letter-spacing:2px;color:#516fb3;font-weight:800;font-size:11px;margin:0 0 8px}
.pt-heading h1{font-size:clamp(30px,4.6vw,47px);letter-spacing:-1.4px;margin:0 0 8px;line-height:1.1}
.pt-heading h1 span{color:var(--pt-blue)}
.pt-lead{font-size:16px;line-height:1.55;color:var(--pt-muted);max-width:800px;margin:0}
.pt-step-info{padding:16px 19px;background:#eaf2ff;border-radius:15px;min-width:195px;display:grid;gap:3px}
.pt-step-info strong{color:#244fac}
.pt-step-info span{font-size:12px;color:#526b9d}
.pt-info{background:#eff5ff;color:#3d5a89;padding:14px 18px;border-radius:13px;border:1px solid #dce9ff;line-height:1.55;margin:18px 0;font-size:14px}
.pt-card{background:#fff;border:1px solid #dde7f4;border-radius:20px;padding:26px 28px;margin:20px 0;box-shadow:0 5px 26px #1a325408}
.pt-section-title{display:flex;gap:14px;align-items:flex-start;margin-bottom:23px}
.pt-index{display:flex;align-items:center;justify-content:center;border-radius:11px;background:#e8efff;color:#1b54cf;font-size:17px;font-weight:800;flex-shrink:0;width:38px;height:38px}
.pt-section-title h2{font-size:22px;margin:0 0 5px;letter-spacing:-.4px}
.pt-section-title p{color:#667995;margin:0;font-size:14px;line-height:1.5}
.pt-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.pt-field{display:grid;gap:7px;min-width:0}
.pt-field-wide{grid-column:1/-1}
.pt-field label{font-size:13px;font-weight:700;color:#304765}
.pt-field input,.pt-field select,.pt-field textarea{width:100%;max-width:100%;height:45px;padding:9px 12px;border:1px solid #cfdbee;border-radius:10px;background:#fff;color:#223b60;font:inherit;font-size:14px}
.pt-field input[type=file]{height:auto;min-height:48px;line-height:28px}
.pt-field input:focus,.pt-field select:focus,.pt-table-scroll input:focus{outline:2px solid #8fb2ff;outline-offset:1px}
.pt-field small{color:#7a8da6;font-size:12px}
.pt-image-layout{display:grid;grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);gap:20px;margin-top:25px}
.pt-preview-wrap,.pt-crop-controls{background:#f8faff;border:1px solid #e0e9f6;border-radius:14px;min-width:0;padding:15px}
.pt-preview-header{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:13px}
.pt-preview-header span{font-size:12px;color:#75859e}
.pt-photo-box{background:linear-gradient(135deg,#edf2fb,#e4ebf7);border-radius:10px;position:relative;overflow:hidden;min-height:200px;max-height:560px;display:flex;align-items:center;justify-content:center}
.pt-photo-box p{color:#6680a5;font-size:14px;line-height:1.7;padding:35px;text-align:center}
.pt-photo-box img{width:100%;height:auto;max-height:550px;object-fit:contain;display:block}
.pt-photo-box img[hidden]{display:none}
.pt-crop-box{position:absolute;border:3px solid #2966f0;box-shadow:0 0 0 2000px #0a1d3866;z-index:2;pointer-events:none}
.pt-crop-box[hidden]{display:none}
.pt-crop-label{position:absolute;top:0;left:0;background:#245fe1;color:#fff;font-size:10px;letter-spacing:.5px;padding:3px 5px}
.pt-col-lines{position:absolute;inset:0}
.pt-col-line{position:absolute;height:100%;width:1px;border-left:2px dashed #fa9739;top:0}
.pt-crop-controls h3{font-size:18px;margin:3px 0 8px}
.pt-crop-controls p{font-size:13px;line-height:1.55;color:#697b95}
.pt-crop-fields{gap:11px;margin:20px 0 10px}
.pt-crop-fields label{font-size:12px}
.pt-crop-fields input{height:42px}
.pt-divider-settings,.pt-raw-ocr{margin-top:15px;border:1px solid #dbe5f4;border-radius:11px;padding:12px;background:white}
.pt-divider-settings summary,.pt-raw-ocr summary{color:#2f5da8;font-weight:700;font-size:13px;cursor:pointer}
.pt-divider-settings p{font-size:12px}
.pt-actions,.pt-review-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:17px}
.pt-primary,.pt-secondary{padding:12px 17px;border-radius:10px;font-size:14px;font-weight:750;cursor:pointer}
.pt-primary{background:#255be0;border:1px solid #255be0;color:white}
.pt-primary:hover{background:#1848b9}
.pt-secondary{background:#f4f7ff;color:#2454ba;border:1px solid #cfdbf1}
.pt-secondary:hover{background:#e8effe}
.pt-primary:disabled,.pt-secondary:disabled{opacity:.55;cursor:not-allowed}
.pt-status{margin:14px 0 0;color:#4c6b92;font-size:14px;line-height:1.55;min-height:0}
.pt-status.pt-error{color:#bd3535}
.pt-status.pt-ok{color:#267448}
.pt-review-banner{background:#fff8e8;border:1px solid #f4dfa9;border-radius:10px;padding:11px 13px;margin-bottom:15px;color:#7b5b1f;font-size:13px}
.pt-table-scroll{overflow:auto;max-height:650px;border:1px solid #d8e1ed;border-radius:12px}
#pt-table{border-collapse:separate;border-spacing:0;width:100%;min-width:620px;background:white;font-size:13px}
#pt-table thead{position:sticky;top:0;z-index:3;background:#eaf1ff}
#pt-table td,#pt-table th{border-right:1px solid #e1e7f0;border-bottom:1px solid #e1e7f0;padding:5px;vertical-align:middle}
#pt-table th{font-weight:700;text-align:left;min-width:125px}
#pt-table th:first-child,#pt-table td:first-child{min-width:54px;width:58px;background:#f5f7fb;color:#7386a5;text-align:center}
#pt-table input{box-sizing:border-box;width:100%;min-width:64px;line-height:1.35;font-size:13px;padding:9px 8px;color:#243754;border:1px solid transparent;border-radius:5px;background:transparent}
#pt-table input:hover{border-color:#d9e5fb}
#pt-table td.needs-review input{background:#fff4df;border:1px solid #f1d7a0}
#pt-table td.reviewed input{background:#f5fcf7}
#pt-table th input{background:#eaf1ff;font-weight:750}
#pt-table tr:last-child td{border-bottom:0}
.pt-review-actions{margin-top:16px}
.pt-review-actions button{font-size:12px;padding:10px}
.pt-raw-ocr textarea{width:100%;resize:vertical;margin-top:12px;padding:10px;border:1px solid #d9e3f0;border-radius:8px;font:12px/1.5 monospace;color:#314565}
.pt-checkbox{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5;color:#425d7f}
.pt-checkbox input{width:18px;height:18px;accent-color:#255bd7;margin-top:2px}
.pt-faq{margin-top:38px;color:#405a7d}
.pt-faq h2{font-size:21px}
.pt-faq h3{font-size:15px;margin:18px 0 6px}
.pt-faq p{font-size:14px;line-height:1.7;margin:0}
[hidden]{display:none!important}
@media(max-width:840px){.pt-main{padding:22px 18px 50px}.pt-heading{align-items:flex-start}.pt-step-info{display:none}.pt-image-layout{grid-template-columns:1fr}}
@media(max-width:600px){.pt-main{padding:20px 12px 45px}.pt-heading{margin:18px 0}.pt-lead{font-size:14px}.pt-card{border-radius:15px;padding:17px 13px;margin:15px 0}.pt-fields{grid-template-columns:1fr;gap:12px}.pt-image-layout{gap:12px}.pt-section-title h2{font-size:19px}.pt-photo-box{max-height:430px}.pt-primary,.pt-secondary{flex:1;min-width:100%}.pt-review-actions .pt-secondary{flex:1;min-width:auto}.pt-crop-fields{grid-template-columns:1fr 1fr;gap:10px}.pt-crop-fields .pt-field-wide{grid-column:1/-1}}
@media print{.top,.footer,.pt-back,.pt-info,.pt-step-info,.pt-actions,.pt-review-actions,.pt-preview-wrap,.pt-crop-controls,.pt-faq,.pt-checkbox{display:none}.pt-main{max-width:none;padding:0}.pt-card{border:0;box-shadow:none;padding:0}#pt-table{min-width:0}#pt-table input{border:0;background:transparent}}

.pt-photo-stage{position:relative;display:inline-block;max-width:100%;line-height:0}
.pt-photo-stage img{display:block;max-width:100%;max-height:550px;width:auto;height:auto;border-radius:6px}
.pt-photo-stage .pt-crop-box{box-sizing:border-box}

.pt-proof{border:1px solid #b9ceed;background:#f7faff;border-radius:14px;padding:17px;margin:13px 0 18px}
.pt-proof-header{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;color:#264a85}
.pt-proof-header span{font-size:12px;font-weight:500;color:#667f9e}
.pt-proof-image{margin-top:12px;background:white;border:1px dashed #b9cee4;border-radius:12px;padding:6px;overflow:hidden;text-align:center}
#pt-proof-canvas{width:min(100%,760px);height:auto;display:block;margin:auto;image-rendering:auto}
.pt-proof-hint{margin:11px 0;color:#5e718e;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.pt-proof-actions{display:flex;flex-wrap:wrap;gap:10px}
.pt-proof-actions .pt-secondary{font-size:12px;padding:10px 13px}
@media(max-width:600px){.pt-proof{padding:12px}.pt-proof-header{display:block}.pt-proof-header span{display:block;margin-top:7px}.pt-proof-actions .pt-secondary{flex:1;min-width:0}}

.pt-mode-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:0;padding:0;margin:0 0 18px}
.pt-mode-choice legend{font-size:14px;font-weight:750;color:#344a69;padding:0 0 10px}
.pt-mode-option{border:1px solid #d7e3f4;border-radius:12px;padding:15px 13px;display:flex;gap:10px;align-items:flex-start;cursor:pointer;background:#fff}
.pt-mode-option:has(input:checked){border-color:#719be6;background:#f1f6ff;box-shadow:inset 0 0 0 1px #719be6}
.pt-mode-option input{width:18px;height:18px;flex-shrink:0;accent-color:#2359d7;margin-top:1px}
.pt-mode-option span{display:grid;gap:4px}
.pt-mode-option strong{font-size:14px;color:#244268}
.pt-mode-option small{font-size:12px;color:#62758d;line-height:1.45}
.pt-ai-notice{margin:4px 0 20px;padding:17px 18px;background:#fff9ea;border:1px solid #e8ca82;border-radius:13px;font-size:13px;color:#704b20}
.pt-ai-notice p{line-height:1.65;margin:8px 0}
.pt-ai-consent{display:flex;gap:10px;align-items:flex-start;margin:14px 0;padding:12px;background:white;border-radius:9px;line-height:1.5;cursor:pointer}
.pt-ai-consent input{width:19px;height:19px;accent-color:#255bd9;flex-shrink:0;margin:1px 0}
.pt-ai-help{color:#725e40}
.pt-ai-help a{color:#205bc7;text-decoration:underline}
.pt-ai-notice #pt-ai-signin{margin:6px 0 4px}
@media(max-width:690px){.pt-mode-choice{grid-template-columns:1fr}.pt-ai-notice{padding:14px 12px}}
