.creative-pdf-shell{background:var(--background);min-height:100dvh;color:var(--foreground)}.creative-pdf-main{max-width:1800px;margin:auto;padding:30px clamp(16px,3vw,48px)}.creative-pdf-title{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.creative-pdf-title h1{letter-spacing:-.04em;margin:0 0 10px;font-size:clamp(26px,4vw,38px)}.creative-pdf-title p,.creative-pdf-export p{color:var(--muted);line-height:1.7}.creative-pdf-main button{border:1px solid var(--border);background:var(--card);min-height:44px;color:var(--foreground);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;display:inline-flex}.creative-pdf-main button:disabled{opacity:.45;cursor:default}.creative-pdf-main :is(button,input,select):focus-visible{outline:3px solid var(--primary);outline-offset:3px}.creative-pdf-main label{flex-direction:column;gap:8px;margin:14px 0;font-size:.88rem;display:flex}.creative-pdf-main input:not([type=file]),.creative-pdf-main select{border:1px solid var(--border);background:var(--background);min-height:44px;color:var(--foreground);box-sizing:border-box;width:100%;font:inherit;border-radius:10px;padding:10px}.creative-pdf-layout{grid-template-columns:minmax(0,1fr) 330px;gap:28px;display:grid}.creative-pdf-controls{border:1px solid var(--border);background:var(--card);border-radius:22px;align-self:start;max-height:calc(100dvh - 120px);padding:24px;position:sticky;top:90px;overflow:auto}.creative-pdf-controls h2{margin-top:0;font-size:1.25rem}.creative-pdf-controls h2 span{color:var(--muted);font-size:.9rem}.creative-pdf-controls p,.creative-pdf-controls li{color:var(--muted);font-size:.9rem;line-height:1.7}.creative-pdf-nav{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px;display:flex}.creative-pdf-nav label:first-child{flex:1;min-width:180px}.creative-pdf-nav input{width:64px!important}.creative-pdf-preview{background:var(--soft);border-radius:22px;min-height:300px;padding:24px}.creative-pdf-page{max-width:760px;margin:auto;line-height:0;position:relative}.creative-pdf-page>img{width:100%;height:auto;box-shadow:0 12px 30px #0002}.creative-pdf-page>svg{touch-action:none;cursor:crosshair;width:100%;height:100%;position:absolute;inset:0}.creative-pdf-percent{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.creative-pdf-clips{gap:16px;margin-top:24px;display:grid}.creative-pdf-clips>div{background:var(--background);border:1px solid var(--border);border-radius:14px;padding:12px}.creative-pdf-clips img{object-fit:contain;background:#fff;width:100%;max-height:140px}.creative-pdf-row-actions{gap:8px;margin-top:12px;display:flex}.creative-pdf-row-actions button{padding:10px}.creative-pdf-main .creative-pdf-primary{background:var(--primary);color:var(--primary-foreground,#fff);border-color:var(--primary);font-weight:650}.creative-pdf-map-row{border:1px solid var(--border);border-left:4px solid var(--primary);background:var(--card);border-radius:16px;margin-bottom:16px;padding:22px}.creative-pdf-map-row h3{overflow-wrap:anywhere}.creative-pdf-export{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-top:24px;padding:20px 0;display:flex}.creative-pdf-export p{max-width:650px;margin:0;font-size:.85rem}.creative-pdf-drop{text-align:center;border:2px dashed var(--border);background:var(--card);border-radius:24px;padding:80px 24px}.creative-pdf-drop>svg{color:var(--primary);margin:auto}.creative-pdf-error{background:var(--card);border-left:4px solid #cc4168;border-radius:10px;padding:16px}.creative-pdf-main [hidden]{display:none!important}@media (max-width:800px){.creative-pdf-layout{grid-template-columns:1fr;gap:20px}.creative-pdf-controls{max-height:none;position:static}.creative-pdf-title{align-items:start}.creative-pdf-title>button{flex-shrink:0;padding:10px}.creative-pdf-title p{font-size:.85rem}.creative-pdf-preview{padding:10px}.creative-pdf-export{background:var(--background);z-index:5;border-top:1px solid var(--border);padding:12px 0;position:sticky;bottom:0}.creative-pdf-export p{display:none}.creative-pdf-export .creative-pdf-primary{flex:1}.creative-pdf-clips{grid-template-columns:repeat(2,minmax(0,1fr))}.creative-pdf-nav label:first-child{flex-basis:100%}}
