.poster-tiler .pt-intro{margin-top:0}.poster-tiler .pt-columns{grid-template-areas:"editor preview""advanced preview";gap:0 24px}.poster-tiler .pt-editor{grid-area:editor;min-width:0}.poster-tiler .pt-stage{grid-area:preview;min-width:0}.poster-tiler .pt-advanced{grid-area:advanced;min-width:0}.poster-tiler .pt-step{border:1px solid var(--line);background:var(--paper);border-radius:16px;margin-bottom:16px;padding:18px}.poster-tiler .pt-step h2{align-items:center;gap:10px;margin:0 0 16px;scroll-margin-top:90px;font-size:1.15rem;display:flex}.poster-tiler .pt-step h2>span{background:var(--mint);width:30px;height:30px;color:var(--ink);border-radius:50%;flex-shrink:0;place-items:center;font-size:1rem;display:grid}.poster-tiler .field{margin-block:12px}.poster-tiler input,.poster-tiler select,.poster-tiler button{min-height:44px}.poster-tiler .image-upload{background:#f3eee7}.poster-tiler .image-upload.is-dragover{outline:3px solid var(--green);outline-offset:2px}.poster-tiler .pt-source-card{align-items:center;gap:12px;margin-block:12px;display:flex}.poster-tiler #pt-source{overflow-wrap:anywhere;word-break:break-word;margin:0}.poster-tiler #pt-thumbnail{object-fit:contain;border:1px solid var(--line);background:#fff;border-radius:8px;flex-shrink:0}.poster-tiler .pt-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.poster-tiler .pt-metrics>div{background:var(--mint);overflow-wrap:anywhere;color:var(--ink);border-radius:10px;padding:10px;font-size:.85rem}.poster-tiler .pt-metrics strong{margin-top:4px;font-size:1.1rem;line-height:1.4;display:block}.poster-tiler #pt-count{font-size:1.6rem}.poster-tiler #pt-summary{background:0 0;margin:0 0 12px;padding:0;font-size:.9rem}.poster-tiler .pt-view-switch{flex-wrap:wrap;gap:8px;margin-block:14px;display:flex}.poster-tiler .print-frame{border-radius:10px;max-height:650px;padding:10px}.poster-tiler #pt-plan>svg{max-height:none}.poster-tiler .pt-page-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;display:grid}.poster-tiler .pt-page-button{background:var(--paper);border:1px solid var(--line);width:100%;color:var(--ink);content-visibility:auto;contain-intrinsic-size:160px 240px;cursor:zoom-in;border-radius:10px;min-width:0;padding:8px}.poster-tiler .pt-page-card{min-width:0}.poster-tiler .pt-page-card .checkbox{justify-content:center}.poster-tiler #pt-source-page{max-width:100px}.poster-tiler #pt-pdf-source .actions{align-items:end}.poster-tiler .pt-crop-interactive{touch-action:none;cursor:grab}.poster-tiler .pt-crop-interactive:active{cursor:grabbing}.poster-tiler input[type=range]{width:100%}.poster-tiler #pt-cost-summary{overflow-wrap:anywhere}.poster-tiler .pt-page-button svg{width:100%;max-height:none}.poster-tiler .pt-page-button strong{padding:5px 0;font-size:.85rem;display:block}.poster-tiler .pt-crop{border:1px solid var(--line);border-radius:10px;margin-block:10px;padding:10px}.poster-tiler .pt-crop svg{background:#fff;width:100%;height:140px;display:block}.poster-tiler .pt-legend{flex-wrap:wrap;gap:5px 14px;font-size:.8rem;display:flex}.poster-tiler .pt-field-error{color:#a33726;font-size:.85rem}.poster-tiler .pt-field-error:empty{display:none}.poster-tiler [aria-invalid=true]{border-color:#a33726}.poster-tiler .pt-advanced small{color:var(--muted);font-size:.85rem;font-weight:400;display:block}.poster-tiler .pt-zoom-field{max-width:210px}.poster-tiler progress{width:100%;height:16px}.poster-tiler .pt-detail{border:1px solid var(--line);background:var(--paper);width:min(95vw,1000px);max-width:95vw;max-height:94dvh;color:var(--ink);border-radius:16px;padding:18px;overflow:auto}.poster-tiler .pt-detail::backdrop{background:#0008}.poster-tiler .pt-detail-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.poster-tiler .pt-detail-head h2{margin:0;font-size:1.15rem}.poster-tiler .pt-detail .actions{align-items:end}.poster-tiler .pt-detail .field{margin:0}.poster-tiler #pt-detail-frame{max-height:65dvh}.poster-tiler #pt-detail-frame svg{max-height:none}.poster-tiler [hidden]{display:none!important}@media (width<=900px){.poster-tiler .pt-columns{grid-template-areas:"editor""preview""advanced"}.poster-tiler .pt-stage{position:static}.poster-tiler .pt-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=430px){.poster-tiler .pt-step{padding:14px}.poster-tiler .print-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.poster-tiler .pt-metrics{grid-template-columns:1fr 1fr}.poster-tiler .pt-metrics>div:last-child{grid-column:1/-1}.poster-tiler .pt-detail{width:96vw;max-width:96vw;padding:12px}.poster-tiler .pt-detail-head{align-items:start}.poster-tiler .pt-detail .actions{margin-block:12px}.poster-tiler .pt-detail-head .btn{white-space:nowrap}.poster-tiler #pt-thumbnail{width:64px;height:64px}}#pt-tool .pt-p2{min-width:0;margin-block:1rem}#pt-tool .pt-p2 summary{cursor:pointer;padding:.7rem 0;font-weight:700}#pt-tool .pt-p2-card{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:.65rem;min-width:0;margin-block:.6rem;padding:.8rem}#pt-tool .pt-p2-card button{margin:.25rem}#pt-tool .pt-p2-card img{object-fit:contain;max-width:100%}#pt-tool .pt-p2 input:not([type=checkbox]),#pt-tool .pt-p2 select{min-width:0;max-width:100%}#pt-tool .pt-p2 progress{max-width:100%}#pt-tool .pt-grayscale{filter:grayscale()}#pt-tutorial-image svg{width:100%;max-height:330px}#pt-tool .pt-tutorial-moving{transform-origin:50%;animation:.75s ease-out pt-assemble}@keyframes pt-assemble{0%{opacity:.6;transform:translate(10px)}to{opacity:1;transform:translate(0)}}@media (prefers-reduced-motion:reduce){#pt-tool .pt-tutorial-moving{animation:none}}
