/* ==========================================================================
   image-to-pdf - built from the supplied prototype

   The prototype's own stylesheet, every selector scoped to .tkw-imgpdf so nothing
   here can reach the rest of the account. Its top bar is left out: the
   Toolkit supplies the page.
   ========================================================================== */

.tkw-imgpdf{--navy:#102e56;--navy-dark:#08274d;--blue:#086af0;--blue-2:#1c84ff;--teal:#078b86;--red:#f72850;--ink:#10315f;--muted:#6f85a6;--line:#dfe8f3;--bg:#f3f8fd;--panel:#fff;--work:#edf3f9;--shadow:0 10px 32px rgba(22,54,95,.055)}
.tkw-imgpdf *{box-sizing:border-box}
.tkw-imgpdf [hidden]{display:none!important}
.tkw-imgpdf{scroll-behavior:smooth}
.tkw-imgpdf{margin:0;background:radial-gradient(ellipse at 84% 12%,#e7f5ff 0,#f4faff 40%,#f4f9fe 78%);font:14px/1.45 'Segoe UI',Inter,Arial,sans-serif;color:var(--ink)}
.tkw-imgpdf button,.tkw-imgpdf input,.tkw-imgpdf select{font:inherit}
.tkw-imgpdf button{cursor:pointer}
.tkw-imgpdf button:disabled{cursor:not-allowed;opacity:.45}
.tkw-imgpdf button:focus-visible,.tkw-imgpdf input:focus-visible,.tkw-imgpdf select:focus-visible{outline:3px solid #95ccff;outline-offset:2px}
.tkw-imgpdf a{text-decoration:none;color:#0867e5}
.tkw-imgpdf .ico{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.85;stroke-linejoin:round;stroke-linecap:round;flex-shrink:0}
.tkw-imgpdf .ico.sm{width:15px;height:15px}
.tkw-imgpdf .ico.lg{width:24px;height:24px}
.tkw-imgpdf .topbar{height:58px;background:#f1f5fb;border-bottom:1px solid #e7edf6;display:flex;justify-content:space-between;align-items:center;padding:0 clamp(19px,1.8vw,36px)}
.tkw-imgpdf .burger{background:white;border:1px solid #e4ebf4;border-radius:10px;width:42px;height:42px;display:grid;place-items:center;color:var(--navy)}
.tkw-imgpdf .topright{display:flex;align-items:center;gap:15px;color:#0864d5}
.tkw-imgpdf .divider-vert{width:1px;height:24px;background:#d9e2ed}
.tkw-imgpdf .person{display:flex;align-items:center;gap:7px;color:var(--navy);font-size:12px;font-weight:750}
.tkw-imgpdf .person small{color:#6882a4;display:block;font-weight:450;font-size:10px;margin-top:-2px}
.tkw-imgpdf .avatar{width:29px;height:29px;border-radius:50%;background:#c8cbd0;color:white;display:grid;place-items:center}
.tkw-imgpdf .chev{color:#0d4e9d}
.tkw-imgpdf .shell{width:min(100%,1540px);padding:19px clamp(19px,1.9vw,34px) 40px;margin:0 auto}
.tkw-imgpdf .crumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:12px;margin-bottom:18px;color:#7a8bac}
.tkw-imgpdf .crumb b{font-weight:700;color:var(--navy)}
.tkw-imgpdf .hero{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:16px;padding: 10px 0px;background: transparent;}
.tkw-imgpdf .hero-main{display:flex;align-items:flex-start;gap:16px}
.tkw-imgpdf .hero-icon{height:52px;width:52px;border-radius:15px;background:#ffecf0;color:#ff3157;display:grid;place-items:center;flex:none}
.tkw-imgpdf .hero-icon .ico{height:27px;width:27px}
.tkw-imgpdf h1{font-size:clamp(27px,2.2vw,36px);line-height:1.1;letter-spacing:-1px;margin:0 0 7px;font-weight:800;color:#0c2c55}
.tkw-imgpdf .hero p{font-size:13.5px;color:#7082a1;margin:0 0 8px}
.tkw-imgpdf .privacy{display:inline-flex;gap:7px;align-items:center;background:#e4f6f1;color:#007c76;border-radius:99px;padding:7px 12px;font-size:12px;font-weight:750}
.tkw-imgpdf .guide-btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;padding:0 18px;height:43px;border-radius:11px;border:1px solid #c9dff6;background:white;color:#155496;font-weight:700;box-shadow:0 3px 10px #0c2c5110;white-space:nowrap}
.tkw-imgpdf .layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(338px,390px);align-items:start;gap:18px}
.tkw-imgpdf .panel{background:white;border-radius:18px;border:1px solid var(--line);box-shadow:var(--shadow);overflow:hidden}
.tkw-imgpdf .workspace-head{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 21px;border-bottom:1px solid #e7edf6;gap:10px}
.tkw-imgpdf .workspace-head h2{font-size:18px;margin:0;letter-spacing:-.2px}
.tkw-imgpdf .live{display:flex;align-items:center;gap:8px;background:#e8f7f1;color:#05856b;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:750;white-space:nowrap}
.tkw-imgpdf .live:before{content:'';background:#09b78e;width:7px;height:7px;border-radius:50%}
.tkw-imgpdf .workspace-pad{padding:15px 19px 18px}
.tkw-imgpdf .workarea{min-height:660px;background:var(--work);border-radius:15px;padding:17px 16px;display:flex;flex-direction:column;gap:17px}
.tkw-imgpdf .worktitle{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tkw-imgpdf .worktitle strong{font-size:13px;color:#184373}
.tkw-imgpdf .workbadge{font-size:11px;color:#0a68c8;background:#e6f1ff;border-radius:99px;font-weight:750;padding:7px 11px;white-space:nowrap}
.tkw-imgpdf .toolbar{display:flex;gap:9px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.tkw-imgpdf .toolgroup{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tkw-imgpdf .light-btn{height:38px;border:1px solid #dce6f3;border-radius:10px;background:white;color:#1c568e;font-size:11.5px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px}
.tkw-imgpdf .light-btn:hover{background:#f7fbff}
.tkw-imgpdf .light-btn.warn:hover{color:#b73548;background:#fff6f6}
.tkw-imgpdf .zoom-group{height:39px;display:flex;align-items:center;background:white;border:1px solid #dce6f3;border-radius:10px;padding:0 6px;gap:8px;color:#52779d;font-size:10px;font-weight:750}
.tkw-imgpdf .zoom-group button{border:0;background:none;color:#0c5fb8;height:28px;width:27px;font-size:17px;font-weight:600}
.tkw-imgpdf .gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:13px}
.tkw-imgpdf .gallery.zoom-small{grid-template-columns:repeat(5,minmax(0,1fr))}
.tkw-imgpdf .gallery.zoom-large{grid-template-columns:repeat(3,minmax(0,1fr))}
.tkw-imgpdf .image-card{background:white;border-radius:14px;border:1px solid #cddff0;padding:11px 10px 12px;box-shadow:0 2px 2px #102c4907;min-width:0;position:relative;transition:border-color .15s,box-shadow .15s;user-select:none}
.tkw-imgpdf .image-card:hover{border-color:#83bafa}
.tkw-imgpdf .image-card.active{border-color:#458ff2;box-shadow:0 0 0 1px #438af532,0 5px 18px #132d5e0d}
.tkw-imgpdf .image-card.dragging{opacity:.38}
.tkw-imgpdf .image-card.dragover{border:2px dashed #0c78ee}
.tkw-imgpdf .card-top{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:9px}
.tkw-imgpdf .position{font-size:10px;border-radius:6px;background:#e8f1ff;color:#1558ab;padding:5px 7px;font-weight:800}
.tkw-imgpdf .handle{border:0;background:transparent;color:#92a5c1;padding:2px;display:grid;place-items:center;cursor:grab}
.tkw-imgpdf .page-art{height:225px;width:100%;display:flex;align-items:center;justify-content:center;position:relative;cursor:zoom-in}
.tkw-imgpdf .page-art canvas{max-height:216px;max-width:100%;width:auto;height:auto;background:#fff;border:1px solid #e1e9f2;box-shadow:0 4px 11px #1b376018;border-radius:2px}
.tkw-imgpdf .page-art:hover .glass{opacity:1}
.tkw-imgpdf .glass{position:absolute;right:6px;bottom:8px;background:#0c4c91db;color:white;border-radius:9px;padding:6px;display:grid;place-items:center;opacity:0;transition:opacity .15s}
.tkw-imgpdf .selected-tag{position:absolute;left:5px;top:1px;display:none;align-items:center;gap:4px;font-size:10px;color:#096fe5;background:#eaf4ff;border-radius:6px;padding:4px 6px;font-weight:750}
.tkw-imgpdf .image-card.is-selected .selected-tag{display:flex}
.tkw-imgpdf .card-name{text-align:center;font-size:11.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:5px 0 0}
.tkw-imgpdf .card-facts{text-align:center;color:#8da0bb;font-size:10.5px;padding-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tkw-imgpdf .card-actions{margin-top:8px;display:flex;align-items:center;justify-content:center;gap:7px}
.tkw-imgpdf .mini{height:30px;width:32px;border:1px solid #e0eaf5;background:white;border-radius:9px;display:grid;place-items:center;color:#2275d1;padding:0}
.tkw-imgpdf .mini:hover{background:#eaf5ff}
.tkw-imgpdf .mini.remove{color:#f3425a}
.tkw-imgpdf .work-filler{flex:1;min-height:90px}
.tkw-imgpdf .workhint{display:flex;align-items:flex-start;gap:8px;font-size:11.5px;color:#7086a8}
.tkw-imgpdf .workhint svg{color:#1d8bf5;margin-top:1px}
.tkw-imgpdf .underhint{display:flex;gap:9px;align-items:center;color:#7186a6;font-size:12px;padding:17px 2px 0}
.tkw-imgpdf .underhint svg{color:#059f9b}
.tkw-imgpdf .empty{display:none;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:360px;text-align:center}
.tkw-imgpdf .empty.show{display:flex}
.tkw-imgpdf .empty-emblem{width:66px;height:66px;display:grid;place-items:center;border-radius:20px;background:white;color:#1a77db;box-shadow:0 4px 17px #16345c0b}
.tkw-imgpdf .empty strong{font-size:16px}
.tkw-imgpdf .empty p{margin:0;color:var(--muted);font-size:12px}
.tkw-imgpdf .controls{position:sticky;top:14px}
.tkw-imgpdf .controls-header{padding:19px 19px 15px;border-bottom:1px solid #e5edf6}
.tkw-imgpdf .controls-header h2{font-size:18px;margin:0 0 6px}
.tkw-imgpdf .controls-header p{font-size:12px;color:#7284a4;line-height:1.55;margin:0 0 6px}
.tkw-imgpdf .scroll-note{font-size:11.5px;font-weight:750;color:#0b6fe0}
.tkw-imgpdf .controls-scroll{max-height:min(57vh,600px);min-height:335px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#a3c5e8 #f0f5fa;scrollbar-width:thin}
.tkw-imgpdf .controls-scroll::-webkit-scrollbar{width:8px}
.tkw-imgpdf .controls-scroll::-webkit-scrollbar-track{background:#f1f6fb}
.tkw-imgpdf .controls-scroll::-webkit-scrollbar-thumb{border-radius:20px;background:#abc5e4}
.tkw-imgpdf .section{padding:17px 19px;border-bottom:1px solid #eaf0f6}
.tkw-imgpdf .stepline{display:flex;gap:10px;align-items:center;color:#164a89;font-size:13px;font-weight:800;margin-bottom:9px}
.tkw-imgpdf .stepcount{height:27px;width:27px;display:grid;place-items:center;border-radius:50%;background:#122f59;color:white;font-size:12px}
.tkw-imgpdf .stepdesc{font-size:12px;color:#7183a2;line-height:1.55;margin:0 0 13px 37px}
.tkw-imgpdf .uploadbox{border:1.5px dashed #b9d7fb;background:#f8fbff;border-radius:13px;min-height:68px;display:flex;align-items:center;gap:10px;padding:9px 11px}
.tkw-imgpdf .uploadbox.over{background:#eaf5ff;border-color:#1281ef}
.tkw-imgpdf .uploadsymbol{background:#e8f2ff;color:#1078ed;width:33px;height:37px;display:grid;place-items:center;border-radius:9px;flex:none}
.tkw-imgpdf .uptext{font-size:11.5px;line-height:1.35;color:#153c6a;flex:1}
.tkw-imgpdf .uptext strong{display:block}
.tkw-imgpdf .uptext small{color:#7288a9}
.tkw-imgpdf .uploadbox button{font-size:11px;white-space:nowrap;height:34px;border:1px solid #d9e4f2;background:white;color:#105cac;padding:0 10px;border-radius:8px;font-weight:750}
.tkw-imgpdf .upload-meta{font-size:11px;color:#6983a7;margin:9px 0 6px;line-height:1.5}
.tkw-imgpdf .inline-link{border:0;background:none;color:#0a6bd6;font-size:11.5px;font-weight:750;padding:0}
.tkw-imgpdf .inline-link:hover{text-decoration:underline}
.tkw-imgpdf .fieldlabel{display:block;font-size:12px;font-weight:750;color:#23456c;margin:11px 0 7px}
.tkw-imgpdf .field{height:38px;width:100%;border:1px solid #dce7f2;border-radius:10px;padding:0 11px;background:#fff;color:#173a64;font-size:12px;outline:none}
.tkw-imgpdf .field:focus{border-color:#3088ed}
.tkw-imgpdf .twocol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tkw-imgpdf .chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.tkw-imgpdf .chip{border:1px solid #e0e9f3;background:#fff;border-radius:9px;padding:8px 5px;min-height:43px;color:#27517e;font-size:11px;font-weight:700}
.tkw-imgpdf .chip.on{border-color:#1687f7;color:#075eb7;background:#ebf5ff;box-shadow:0 0 0 1px #1883f417}
.tkw-imgpdf .hintline{font-size:10.5px;color:#7d92ac;margin:8px 0 0;line-height:1.5}
.tkw-imgpdf .summary{background:#edf7ff;border-radius:10px;padding:11px 12px;color:#275681;font-size:11px;display:flex;gap:8px;line-height:1.5}
.tkw-imgpdf .summary svg{color:#1682df;margin-top:1px}
.tkw-imgpdf .controls-footer{padding:14px 17px 16px;background:white;border-top:1px solid #e4ebf4}
.tkw-imgpdf .footer-actions{display:flex;gap:8px}
.tkw-imgpdf .download{height:45px;background:#112e58;border:0;border-radius:10px;color:white;font-weight:800;font-size:12px;flex:1;display:inline-flex;align-items:center;justify-content:center;gap:9px}
.tkw-imgpdf .download:hover{background:#1a497e}
.tkw-imgpdf .restart{border:1px solid #dde7f1;background:white;color:#234e7a;border-radius:10px;font-size:11px;font-weight:750;padding:0 12px;white-space:nowrap}
.tkw-imgpdf .outname{color:#8798b2;font-size:10.5px;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tkw-imgpdf .progress{height:5px;background:#e7f1f8;border-radius:6px;margin:0 0 10px;overflow:hidden;display:none}
.tkw-imgpdf .progress div{background:linear-gradient(90deg,#0977eb,#12aaad);width:0;height:100%;transition:width .2s}
.tkw-imgpdf .notice{font-size:11px;line-height:1.4;margin:9px 0 0;color:#087a74;display:none}
.tkw-imgpdf .notice.error{color:#ad3c4b}
.tkw-imgpdf .notice.show{display:block}
.tkw-imgpdf .overlay{position:fixed;inset:0;z-index:30;background:rgba(8,25,51,.62);display:none;align-items:center;justify-content:center;padding:22px;backdrop-filter:blur(2px)}
.tkw-imgpdf .overlay.show{display:flex}
.tkw-imgpdf .modal{background:white;border-radius:17px;max-width:min(95vw,760px);width:100%;max-height:90vh;overflow:auto;box-shadow:0 18px 70px #0003}
.tkw-imgpdf .modal-top{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px 21px;border-bottom:1px solid #e7edf5}
.tkw-imgpdf .modal-top h3{font-size:17px;margin:0}
.tkw-imgpdf .close{width:33px;height:33px;border:1px solid #dae6f4;border-radius:9px;background:white;color:#224a7d}
.tkw-imgpdf .bigprev{padding:22px;background:#edf3f9;display:flex;justify-content:center;align-items:center;min-height:350px}
.tkw-imgpdf .bigprev canvas{max-width:100%;max-height:65vh;object-fit:contain;box-shadow:0 8px 22px #0f325125}
.tkw-imgpdf .modal-bottom{padding:11px 20px;color:#627a9e;font-size:12px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.tkw-imgpdf .guide-modal{max-width:585px}
.tkw-imgpdf .guide-content{padding:20px;display:grid;gap:11px}
.tkw-imgpdf .guide-box{border-radius:12px;padding:13px 15px;font-size:12px;line-height:1.55}
.tkw-imgpdf .guide-box strong{display:flex;align-items:center;gap:8px;margin-bottom:5px;font-size:12.5px}
.tkw-imgpdf .guide-box p{margin:0}
.tkw-imgpdf .gb-blue{background:#eaf4ff;border-left:3px solid #0c79eb}
.tkw-imgpdf .gb-green{background:#e9f8f1;color:#107965}
.tkw-imgpdf .gb-orange{background:#fff4e5;color:#9b610d}
.tkw-imgpdf .guide-steps{counter-reset:guide;padding:0 5px;display:grid;gap:10px}
.tkw-imgpdf .guide-row{display:flex;gap:11px;align-items:flex-start;font-size:12px;color:#627e9e}
.tkw-imgpdf .guide-row span{width:22px;height:22px;background:#2295ca;border-radius:50%;display:grid;place-items:center;color:white;flex:none;font-size:11px;font-weight:750}
.tkw-imgpdf .guide-ul{margin:7px 0 0;padding:0;list-style:none;display:grid;gap:8px}
.tkw-imgpdf .guide-ul li:before{content:'✓';font-weight:800;margin-right:8px}
@media(max-width:1100px){.tkw-imgpdf .layout{grid-template-columns:minmax(0,1fr) 330px;gap:12px}
.tkw-imgpdf .gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
.tkw-imgpdf .gallery.zoom-small{grid-template-columns:repeat(4,minmax(0,1fr))}
.tkw-imgpdf .gallery.zoom-large{grid-template-columns:repeat(2,minmax(0,1fr))}
.tkw-imgpdf .workarea{min-height:650px}
.tkw-imgpdf .shell{padding-left:17px;padding-right:17px}}
@media(max-width:800px){.tkw-imgpdf .layout{grid-template-columns:1fr}
.tkw-imgpdf .controls{position:static}
.tkw-imgpdf .controls-scroll{max-height:none;min-height:0;overflow:visible}
.tkw-imgpdf .gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
.tkw-imgpdf .hero{align-items:flex-start}
.tkw-imgpdf .guide-btn{height:39px;padding:0 11px}
.tkw-imgpdf .workarea{min-height:490px}
.tkw-imgpdf .controls-footer{position:static}}
@media(max-width:530px){.tkw-imgpdf .topbar{height:54px;padding:0 14px}
.tkw-imgpdf .burger{width:36px;height:36px}
.tkw-imgpdf .person{font-size:10px}
.tkw-imgpdf .topright{gap:9px}
.tkw-imgpdf .topright>.ico{width:17px}
.tkw-imgpdf .avatar{height:25px;width:25px}
.tkw-imgpdf .shell{padding:14px 12px 28px}
.tkw-imgpdf .crumb{gap:6px;margin-bottom:14px;font-size:10.5px}
.tkw-imgpdf .hero{display:block}
.tkw-imgpdf .hero-main{gap:10px}
.tkw-imgpdf .hero-icon{width:43px;height:43px;border-radius:12px}
.tkw-imgpdf .hero-icon .ico{height:23px;width:23px}
.tkw-imgpdf h1{font-size:25px;margin-top:1px}
.tkw-imgpdf .hero p{font-size:12px}
.tkw-imgpdf .privacy{font-size:10px;line-height:1.4;margin-bottom:8px}
.tkw-imgpdf .guide-btn{margin:0 0 4px 53px}
.tkw-imgpdf .workspace-head{height:58px;padding:0 13px}
.tkw-imgpdf .workspace-head h2{font-size:16px}
.tkw-imgpdf .live{font-size:10px;padding:6px 8px}
.tkw-imgpdf .workspace-pad{padding:10px}
.tkw-imgpdf .workarea{padding:11px;gap:12px}
.tkw-imgpdf .worktitle strong{font-size:11px}
.tkw-imgpdf .workbadge{font-size:10px;padding:5px 7px}
.tkw-imgpdf .gallery,.tkw-imgpdf .gallery.zoom-small,.tkw-imgpdf .gallery.zoom-large{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.tkw-imgpdf .image-card{padding:9px 8px}
.tkw-imgpdf .page-art{height:181px}
.tkw-imgpdf .page-art canvas{max-height:174px}
.tkw-imgpdf .card-actions{gap:4px}
.tkw-imgpdf .mini{width:30px;height:29px}
.tkw-imgpdf .toolgroup{gap:5px}
.tkw-imgpdf .light-btn{font-size:10.5px;padding:0 9px;height:34px}
.tkw-imgpdf .zoom-group{height:34px}
.tkw-imgpdf .zoom-group button{height:25px}
.tkw-imgpdf .underhint{font-size:11px}
.tkw-imgpdf .workhint{font-size:10.5px}
.tkw-imgpdf .controls-header,.tkw-imgpdf .section{padding-left:15px;padding-right:15px}
.tkw-imgpdf .controls-scroll{overflow:visible}
.tkw-imgpdf .hero{margin-bottom:9px}}
@media(max-width:340px){.tkw-imgpdf .gallery,.tkw-imgpdf .gallery.zoom-small,.tkw-imgpdf .gallery.zoom-large{grid-template-columns:1fr}
.tkw-imgpdf .page-art{height:230px}
.tkw-imgpdf .page-art canvas{max-height:220px}}
.tkw-imgpdf .empty{min-height:490px;width:100%;padding:35px 16px;background:#f8fbff;border:2px dashed #b9d6f3;border-radius:16px;gap:13px}
.tkw-imgpdf .empty-emblem{width:76px;height:76px;border:1px solid #e0ebf7;border-radius:22px;background:#e8f3ff;box-shadow:none}
.tkw-imgpdf .empty-emblem .ico{width:34px;height:34px}
.tkw-imgpdf .empty strong{font-size:21px;letter-spacing:-.4px;color:#103562}
.tkw-imgpdf .empty p{font-size:13px;line-height:1.65;color:#7287a4}
.tkw-imgpdf .empty-primary{display:inline-flex;align-items:center;gap:9px;border:0;border-radius:11px;background:#102f59;color:white;font-weight:800;padding:13px 23px;font-size:14px;box-shadow:0 5px 15px #12365e20;margin-top:4px}
.tkw-imgpdf .empty-primary:hover{background:#1763a5}
.tkw-imgpdf .empty-support{font-size:11px;color:#8198b4}
.tkw-imgpdf .workarea:has(.empty.show){gap:14px}
.tkw-imgpdf .workarea:has(.empty.show) .work-filler{min-height:0}
.tkw-imgpdf .workarea.over{background:#e7f2ff;outline:2px dashed #1682ec;outline-offset:-5px}
@media(max-width:530px){.tkw-imgpdf .empty{min-height:330px;padding:25px 12px}
.tkw-imgpdf .empty strong{font-size:17px}
.tkw-imgpdf .empty p{font-size:12px}
.tkw-imgpdf .empty-primary{font-size:13px}
.tkw-imgpdf .desktop-only{display:none}}
.tkw-imgpdf .apply-scope{border:1px solid #cbdff4;border-radius:12px;padding:12px;background:#f2f8ff;margin:2px 0 15px}
.tkw-imgpdf .scope-title{font-size:12px;font-weight:800;color:#164674;margin:0 0 9px;display:flex;align-items:center;gap:7px}
.tkw-imgpdf .scope-switch{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.tkw-imgpdf .scope-choice{min-height:41px;border:1px solid #d9e6f5;background:white;color:#245682;border-radius:9px;padding:8px 6px;font-size:11.5px;font-weight:750;line-height:1.25}
.tkw-imgpdf .scope-choice.on{background:#0e57ab;color:white;border-color:#0e57ab;box-shadow:0 2px 7px #064f9f1c}
.tkw-imgpdf .scope-choice:disabled{background:#f7f9fc;color:#8da0ba;opacity:1;cursor:not-allowed}
.tkw-imgpdf .scope-help{color:#627f9f;line-height:1.5;font-size:11px;margin:9px 1px 0}
.tkw-imgpdf .scope-help strong{color:#205b9a}
.tkw-imgpdf .image-card.is-selected{border:2px solid #1381f2;padding:10px 9px 11px;background:#fafdff;box-shadow:0 0 0 2px #78b9fa2e,0 5px 14px #102c4912}
.tkw-imgpdf .selection-box{height:24px;min-width:24px;border:1.5px solid #a9c2dc;background:#fff;border-radius:7px;display:grid;place-items:center;color:#fff;cursor:pointer;flex-shrink:0}
.tkw-imgpdf .selection-box.is-on{border-color:#1476e5;background:#1476e5}
.tkw-imgpdf .selection-box .ico{width:16px;height:16px}
.tkw-imgpdf .selection-top{display:flex;align-items:center;gap:6px;min-width:0}
.tkw-imgpdf .selection-top .position{white-space:nowrap}
.tkw-imgpdf .card-settings{color:#226aa5;font-size:10px;text-align:center;margin-top:4px;line-height:1.4;min-height:15px}
.tkw-imgpdf .selection-hint{font-size:11px;color:#416e9c;background:#e7f2ff;border:1px solid #d5e6fa;border-radius:9px;padding:9px 11px}
.tkw-imgpdf .selection-hint strong{color:#0b64bf}
.tkw-imgpdf .applied-message{font-size:10.5px;color:#51789b;line-height:1.4;margin-top:8px}
.tkw-imgpdf .margin-status{font-size:10.5px;color:#6484a7;margin:5px 0 0}
@media(max-width:530px){.tkw-imgpdf .scope-choice{font-size:11px}
.tkw-imgpdf .scope-switch{gap:6px}
.tkw-imgpdf .image-card.is-selected{padding:8px 7px}
.tkw-imgpdf .selection-top .position{font-size:9px}
.tkw-imgpdf .card-settings{font-size:9.5px}}


