@charset "UTF-8";
.pdf-main { padding-bottom:40px; }
.pdf-hero { padding:45px 0 28px; text-align:left; }
.pdf-hero .eyebrow { margin:0 0 12px; color:var(--muted); font-size:11px; font-weight:650; letter-spacing:1.5px; }
.pdf-hero h1 { margin:0 0 15px; color:var(--ink); font-size:clamp(32px,4vw,48px); font-weight:720; letter-spacing:-1.8px; line-height:1.3; }
.pdf-intro { max-width:750px; margin:0; color:var(--muted); font-size:15px; line-height:1.85; word-break:keep-all; }
.pdf-trust { display:flex; flex-wrap:wrap; gap:9px 22px; margin:19px 0 0; padding:0; list-style:none; color:var(--muted); font-size:12px; line-height:1.7; }
.pdf-trust li { display:inline-flex; align-items:center; gap:7px; }
.pdf-trust li>span { color:var(--blue); }
.pdf-main .photo-tools { justify-content:flex-start; flex-wrap:wrap; margin:0 0 24px; }
.pdf-main .photo-tools a { border-radius:6px; font-size:12px; }
.pdf-main .photo-tools a[aria-current=page] { border-color:var(--ink); background:var(--ink); color:white; }
.pdf-workspace { display:grid; grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr); gap:22px; align-items:start; }
.pdf-panel { min-width:0; padding:24px; border:1px solid var(--line); border-radius:10px; background:var(--paper); }
.pdf-panel-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 16px; margin-bottom:20px; }
.pdf-panel-heading h2 { display:flex; align-items:center; gap:10px; margin:0; color:var(--ink); font-size:20px; font-weight:700; letter-spacing:-.7px; line-height:1.5; }
.pdf-step { display:inline-grid; place-items:center; flex-shrink:0; width:28px; height:28px; border-radius:6px; background:var(--pale); color:var(--blue); font-size:11px; font-weight:750; letter-spacing:0; }
.pdf-text-button { min-height:44px; padding:7px 0 7px 10px; border:0; background:transparent; color:var(--muted); font-size:12px; font-weight:650; line-height:1.6; text-decoration:underline; text-underline-offset:4px; }
.pdf-text-button:hover:not(:disabled) { color:var(--blue-dark); }
.pdf-text-button:disabled { color:var(--muted); opacity:.5; }
.pdf-drop { display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:0; min-height:266px; padding:26px 20px; border:1.5px dashed #abb4d8; border-radius:8px; background:#f5f5f1; text-align:center; }
.pdf-drop.is-dragover { border-color:var(--blue); background:var(--pale); outline:3px solid #b7c2ff; outline-offset:3px; }
.pdf-drop:has(#pdf-empty[hidden]) { min-height:0; padding:18px; }
.pdf-empty svg { width:56px; height:56px; margin:0 auto 15px; color:var(--blue); }
.pdf-empty h3 { margin:0 0 9px; font-size:17px; font-weight:700; letter-spacing:-.45px; line-height:1.6; }
.pdf-empty p { margin:0; color:var(--muted); font-size:13px; line-height:1.85; }
.pdf-add-row { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px 14px; margin-top:22px; }
.pdf-drop:has(#pdf-empty[hidden]) .pdf-add-row { margin-top:0; }
.pdf-add-row>span { color:var(--muted); font-size:12px; }
.pdf-add-button,.pdf-primary,.pdf-secondary { display:inline-flex; align-items:center; justify-content:center; gap:18px; min-height:48px; max-width:100%; padding:11px 20px; border:1px solid var(--blue); border-radius:6px; background:var(--blue); color:white; font:inherit; font-size:13px; font-weight:700; line-height:1.6; text-align:center; text-decoration:none; }
.pdf-add-button>span,.pdf-primary>span { flex-shrink:0; }
.pdf-add-button:hover:not(:disabled),.pdf-primary:hover:not(:disabled) { border-color:var(--blue-dark); background:var(--blue-dark); color:white; }
.pdf-secondary { gap:8px; border-color:var(--line); background:white; color:var(--ink); }
.pdf-secondary:hover:not(:disabled) { border-color:#a4b1df; background:var(--pale); }
.pdf-add-button:disabled,.pdf-primary:disabled { border-color:#d4daf0; background:#d4daf0; color:#596a96; }
.pdf-limit-note,.pdf-list-help { margin:13px 0 0; color:var(--muted); font-size:11px; line-height:1.9; overflow-wrap:anywhere; }
.pdf-list { display:flex; flex-direction:column; gap:10px; max-height:600px; padding:3px; margin:20px 0 0; overflow-y:auto; scrollbar-gutter:stable; list-style:none; }
.pdf-list:empty { display:none; }
.pdf-list:empty+.pdf-list-help { margin-top:12px; }
.pdf-item { display:grid; grid-template-columns:64px minmax(0,1fr); gap:11px 13px; min-width:0; padding:12px; border:1px solid var(--line); border-radius:7px; background:#fcfcfa; }
.pdf-item.is-selected { border-color:#929ce8; background:#f4f4fe; }
.pdf-thumb-button { display:grid; place-items:center; align-self:center; width:64px; height:76px; padding:0; overflow:hidden; border:0; border-radius:5px; background:transparent; cursor:pointer; }
.pdf-thumb-button .pdf-thumb { max-width:100%; max-height:100%; }
.pdf-thumb { display:block; align-self:center; width:64px; height:64px; border:1px solid var(--line); border-radius:5px; background:#edf0f4; object-fit:contain; }
.pdf-item-info { min-width:0; align-self:center; }
.pdf-item-info strong { display:block; color:var(--ink); font-size:13px; font-weight:650; line-height:1.6; overflow-wrap:anywhere; }
.pdf-item-info small,.pdf-item-info p { display:block; margin:4px 0 0; color:var(--muted); font-size:11px; line-height:1.7; overflow-wrap:anywhere; }
.pdf-item-actions { display:flex; grid-column:1/-1; flex-wrap:wrap; gap:7px; }
.pdf-item-actions button { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-width:44px; min-height:44px; padding:8px 10px; border:1px solid var(--line); border-radius:6px; background:white; color:var(--ink); font:inherit; font-size:12px; line-height:1.5; }
.pdf-item-actions button:hover:not(:disabled) { border-color:#a4b1df; background:var(--pale); color:var(--blue-dark); }
.pdf-item-actions button:disabled { opacity:.45; }
.pdf-side { display:grid; min-width:0; gap:22px; }
.pdf-controls { min-width:0; margin:0; padding:0; border:0; }
.pdf-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.pdf-field { display:block; min-width:0; color:var(--ink); font-size:13px; font-weight:650; line-height:1.6; }
.pdf-field>span:first-child { display:block; margin-bottom:8px; }
.pdf-field select,.pdf-name-field { display:flex; align-items:center; width:100%; min-width:0; min-height:48px; border:1px solid #d7dce7; border-radius:6px; background:white; }
.pdf-field select { padding:10px 34px 10px 12px; color:var(--ink); font:inherit; font-size:14px; font-weight:450; }
.pdf-field-row { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:12px; }
.pdf-help { margin:8px 0 18px; color:var(--muted); font-size:11px; line-height:1.85; overflow-wrap:anywhere; }
.pdf-name-field input { flex:1; width:100%; min-width:0; min-height:46px; padding:10px 12px; border:0; border-radius:6px; color:var(--ink); background:transparent; font:inherit; font-size:14px; font-weight:450; }
.pdf-name-field>span { flex-shrink:0; padding-right:12px; color:var(--muted); font-size:13px; font-weight:450; }
.pdf-controls:disabled select,.pdf-controls:disabled input { background:#f4f5f7; color:#7d889c; cursor:not-allowed; }
.pdf-create-actions { display:flex; align-items:stretch; flex-wrap:wrap; gap:10px; }
.pdf-create-actions .pdf-primary { flex:1; min-width:160px; }
.pdf-settings .status { margin:13px 0 0; font-size:12px; }
.pdf-preview-panel .pdf-panel-heading { margin-bottom:14px; }
.pdf-preview-panel .pdf-panel-heading h2 { font-size:16px; letter-spacing:-.3px; }
.pdf-preview-tag { color:var(--muted); font-size:11px; }
.pdf-preview-stage { display:flex; align-items:center; justify-content:center; min-width:0; height:350px; padding:18px; overflow:hidden; border:1px solid var(--line); border-radius:7px; background:#edede9; }
.pdf-preview-stage>p { max-width:240px; margin:0; color:var(--muted); font-size:13px; line-height:1.85; text-align:center; }
.pdf-preview-stage canvas { display:block; max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; box-shadow:0 2px 14px #1721331a; }
.pdf-preview-pagination { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:13px; }
.pdf-preview-pagination button { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; gap:7px; min-width:70px; min-height:44px; padding:8px 10px; border:1px solid var(--line); border-radius:6px; background:white; color:var(--ink); font:inherit; font-size:12px; line-height:1.5; }
.pdf-preview-pagination button:hover:not(:disabled) { border-color:#a4b1df; background:var(--pale); }
.pdf-preview-pagination button:disabled { opacity:.45; }
#pdf-preview-label { min-width:0; color:var(--muted); font-size:12px; line-height:1.7; text-align:center; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.pdf-preview-help { margin-bottom:0; }
.pdf-result { display:flex; grid-column:1/-1; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px 24px; padding-block:24px; border-color:#c9d2fa; background:#f7f7ff; }
.pdf-result>div:first-child { flex:1; min-width:0; }
.pdf-result-eyebrow { margin:0 0 6px; color:var(--blue); font-size:10px; font-weight:700; letter-spacing:1.4px; }
.pdf-result h2 { margin:0; font-size:22px; font-weight:700; letter-spacing:-.6px; line-height:1.5; }
.pdf-result-summary { margin:8px 0 0; color:var(--muted); font-size:13px; line-height:1.8; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.pdf-result-actions { display:flex; flex-wrap:wrap; gap:10px; }
.pdf-save-status { flex-basis:100%; margin:0; color:var(--muted); font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.pdf-save-status:empty { display:none; }
.pdf-guide,.pdf-faq { margin-top:24px; }
.pdf-guide h2,.pdf-faq h2 { margin:0 0 20px; font-size:25px; font-weight:700; letter-spacing:-.9px; line-height:1.5; }
.pdf-guide-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:0; padding:0; list-style:none; counter-reset:pdf-guide; }
.pdf-guide-steps li { min-width:0; counter-increment:pdf-guide; }
.pdf-guide-steps strong { display:flex; align-items:baseline; gap:9px; color:var(--ink); font-size:14px; font-weight:650; line-height:1.6; }
.pdf-guide-steps strong::before { content:"0" counter(pdf-guide); flex-shrink:0; color:var(--blue); font-size:11px; font-weight:750; }
.pdf-guide-steps p { margin:9px 0 0; color:var(--muted); font-size:12px; line-height:1.9; }
.pdf-faq details+details { border-top:1px solid var(--line); }
.pdf-faq summary { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:56px; padding:14px 0; color:var(--ink); font-size:13px; font-weight:650; line-height:1.8; cursor:pointer; list-style:none; }
.pdf-faq summary::-webkit-details-marker { display:none; }
.pdf-faq summary::after { content:"+"; flex-shrink:0; color:var(--muted); font-size:18px; font-weight:450; }
.pdf-faq details[open] summary::after { content:"−"; }
.pdf-faq details p { max-width:860px; margin:0 0 18px; color:var(--muted); font-size:13px; line-height:1.9; }
.pdf-main button:focus-visible,.pdf-main a:focus-visible,.pdf-main input:focus-visible,.pdf-main select:focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
@media(max-width:850px) {
  .pdf-workspace { grid-template-columns:minmax(0,1fr); }
  .pdf-preview-stage { height:370px; }
  .pdf-guide-steps { grid-template-columns:minmax(0,1fr); gap:19px; }
  .pdf-guide-steps p { margin-top:5px; }
}
@media(max-width:560px) {
  .pdf-hero { padding:30px 0 24px; }
  .pdf-hero h1 { font-size:32px; letter-spacing:-1.3px; }
  .pdf-intro { font-size:14px; }
  .pdf-trust { gap:7px 15px; font-size:11px; }
  .pdf-workspace,.pdf-side { gap:16px; }
  .pdf-panel { padding:20px 16px; }
  .pdf-panel-heading { gap:6px 12px; margin-bottom:16px; }
  .pdf-panel-heading h2 { font-size:18px; }
  .pdf-drop { min-height:240px; padding:24px 14px; }
  .pdf-empty h3 { font-size:16px; }
  .pdf-empty p { font-size:12px; }
  .pdf-add-row { gap:9px 11px; }
  .pdf-item { gap:9px 11px; padding:10px; }
  .pdf-field-row { grid-template-columns:minmax(0,1fr); gap:16px; }
  .pdf-field select,.pdf-name-field input { font-size:16px; }
  .pdf-preview-stage { height:330px; padding:14px; }
  .pdf-preview-pagination { gap:7px; }
  .pdf-preview-pagination button { min-width:64px; padding-inline:8px; font-size:11px; }
  #pdf-preview-label { font-size:11px; }
  .pdf-result { align-items:stretch; }
  .pdf-result h2 { font-size:20px; }
  .pdf-result-actions { flex-basis:100%; }
  .pdf-result-actions>* { width:100%; }
  .pdf-guide,.pdf-faq { margin-top:18px; }
  .pdf-guide h2,.pdf-faq h2 { font-size:22px; letter-spacing:-.7px; }
  .pdf-faq summary,.pdf-faq details p { font-size:12px; }
}
