.shell{gap:1rem;display:grid}.shell .work,.shell .progress,.shell .result{display:none}.shell[data-state=ready] .work{display:block}.shell[data-state=working] .progress,.shell[data-state=done] .result{display:grid}.shell:not([data-state=empty]) .drop{display:none}.shell .drop{border:2px dashed var(--ink-2);border-radius:var(--radius);background:var(--surface);text-align:center;justify-items:center;gap:.75rem;padding:clamp(2rem,6vw,3.5rem) 1.25rem;transition:background-color .16s,border-color .16s;display:grid}.shell[data-dragging] .drop,.shell[data-dragging] .work{background:var(--sun-wash);border-color:var(--ink);border-style:solid}.shell .drop-art{transition:translate .26s var(--ease-out)}.shell[data-dragging] .drop-art{translate:0 -6px}.shell .drop-title{font-family:var(--font-display);font-size:1.25rem;font-weight:600;line-height:1.4}.shell .drop-note{color:var(--ink-2);font-size:.9375rem}@media (hover:none),(width<=640px){.shell .drag-only{display:none}}.shell .work{border:var(--rule);border-radius:var(--radius);background:var(--surface);padding:clamp(.875rem,2.5vw,1.5rem)}.shell .work-head{justify-content:space-between;align-items:center;gap:1rem;display:flex}.shell .work-count{font-variant-numeric:tabular-nums;font-weight:600}.shell .work-hint{color:var(--ink-2);margin-top:.25rem;font-size:.9375rem}.shell .files{grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:.75rem;margin:1rem 0 0;padding:0;list-style:none;display:grid}.shell .file{border:1px solid var(--line);border-radius:var(--radius-small);background:var(--paper);grid-template-rows:auto auto auto auto;min-width:0;display:grid;overflow:hidden}.shell .file[data-dragging]{border-color:var(--ink);background:var(--sun-wash);box-shadow:0 10px 24px -10px #1d1a2a73}.shell .file[data-problem]{border-color:var(--bad);background:var(--bad-wash)}.shell .file-thumb{aspect-ratio:4/5;cursor:grab;place-items:center;padding:.625rem;display:grid;position:relative}.shell .file[data-dragging] .file-thumb{cursor:grabbing}.shell .file-thumb canvas{background:#fff;max-width:100%;min-height:0;max-height:100%;display:none;box-shadow:0 1px 4px #1d1a2a47}.shell .file[data-thumb=ready] canvas{display:block}.shell .file-blank{color:var(--ink-2)}.shell .file[data-thumb=ready] .file-blank{display:none}.shell .file-order{border:var(--rule);background:var(--sun);font-variant-numeric:tabular-nums;border-radius:999px;place-items:center;min-width:1.75rem;height:1.75rem;padding:0 .375rem;font-size:.875rem;font-weight:600;line-height:1;display:grid;position:absolute;top:.375rem;left:.375rem}.shell .file-flag{background:var(--bad);color:#fff;text-align:center;border-radius:4px;padding:.125rem .375rem;font-size:.8125rem;font-weight:600;position:absolute;inset:auto .375rem .375rem}.shell .file-flag:empty{display:none}.shell .file-grip{width:44px;height:44px;color:var(--ink-2);cursor:grab;touch-action:none;background:0 0;border:0;place-items:center;display:grid;position:absolute;top:0;right:0}.shell .file-name,.shell .file-meta{padding:0 .625rem;font-size:.875rem;line-height:1.45}.shell .file-name{-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-weight:600;display:-webkit-box;overflow:hidden}.shell .file-meta{color:var(--ink-2);font-variant-numeric:tabular-nums;padding-bottom:.5rem}.shell .file-actions{border-top:1px solid var(--line);background:var(--surface);grid-template-columns:repeat(3,1fr);display:grid}.shell .file-actions button{min-height:44px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.shell .file-actions button+button{border-left:1px solid var(--line)}.shell .file-actions button:hover:not([disabled]){background:var(--sun-wash)}.shell .file-actions button[disabled]{color:var(--line);cursor:default}.shell .file-actions button:focus-visible,.shell .file-grip:focus-visible{outline-offset:-3px}.shell[data-single] .work-head [data-pick] svg{display:none}.shell .pg-gate{border:var(--rule);border-radius:var(--radius-small);background:var(--surface);margin-top:1.25rem;padding:.25rem 1.125rem}.shell .pg-gate[hidden]{display:none}.shell .pg-gate-list{margin:0;padding:0;list-style:none;display:grid}.shell .pg-gate-row{gap:.5rem;padding-block:.875rem;display:grid}.shell .pg-gate-row+.pg-gate-row{border-top:1px solid var(--line)}.shell .pg-gate-row label{overflow-wrap:anywhere;font-weight:600}.shell .pg-gate-row[data-state=open] .pg-gate-note{color:var(--ink);font-weight:600}.shell .pg-gate-field{flex-wrap:wrap;gap:.5rem;display:flex}.shell .pg-gate-field[hidden],.shell .pg-gate-row label[hidden]{display:none}.shell .pg-gate-field input{border:var(--rule);border-radius:var(--radius-small);background:var(--surface);max-width:22rem;min-height:48px;color:var(--ink);font:inherit;flex:14rem;padding:.25rem .875rem}.shell .pg-gate-field input[aria-invalid=true]{border-color:var(--bad);background:var(--bad-wash)}.shell .pg-gate-note{color:var(--ink-2);font-size:.9375rem}.shell .pg-gate-note[data-state=bad]{color:var(--bad);font-weight:600}.shell .result-slot{display:contents}.shell .options{border-top:1px solid var(--line);margin-top:1.25rem;padding-top:1rem}.shell .option-check{cursor:pointer;align-items:center;gap:.625rem;min-height:44px;display:inline-flex}.shell .option-check input{width:1.25rem;height:1.25rem;margin:0}.shell .option-help{color:var(--ink-2);font-size:.9375rem}.shell .actions{justify-content:flex-end;margin-top:1.25rem;display:flex}.shell .progress{border:var(--rule);border-radius:var(--radius);background:var(--surface);justify-items:center;gap:1rem;padding:clamp(2rem,6vw,3.5rem) 1.25rem}.shell .progress-text{font-variant-numeric:tabular-nums;font-weight:600}.shell .progress-text:focus{outline:none}.shell progress{appearance:none;border:var(--rule);background:var(--paper);border-radius:999px;width:min(100%,26rem);height:14px;overflow:hidden}.shell progress::-webkit-progress-bar{background:var(--paper)}.shell progress::-webkit-progress-value{background:var(--sun);transition:inline-size .2s var(--ease-out)}.shell progress::-moz-progress-bar{background:var(--sun)}.shell .result{border:var(--rule);border-radius:var(--radius);background:var(--surface);text-align:center;justify-items:center;gap:.75rem;padding:clamp(2rem,6vw,3.5rem) 1.25rem}.shell[data-state=done] .result-art{animation:shell-file-lands .42s var(--ease-out)}@keyframes shell-file-lands{0%{opacity:0;translate:0 -14px}}.shell .result h2:focus{outline:none}.shell .result-facts{color:var(--ink-2);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.shell .result-lines{text-align:left;font-variant-numeric:tabular-nums;width:min(100%,36rem);margin:.25rem 0 0;padding:0;font-size:.9375rem;list-style:none}.shell .result-lines[hidden]{display:none}.shell .result-lines li{border-top:1px solid var(--line);overflow-wrap:anywhere;padding-block:.5rem}.shell .result .btn-primary{margin-top:.5rem}.shell .download-size{font-variant-numeric:tabular-nums;font-weight:400}.shell .download-size:before{content:"("}.shell .download-size:after{content:")"}.shell .result-more{flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:.25rem;display:flex}.shell .alert{border:1px solid var(--bad);border-radius:var(--radius-small);background:var(--bad-wash);grid-template-columns:auto 1fr;gap:.75rem;padding:.875rem 1rem;display:grid}.shell .alert[hidden]{display:none}.shell .alert svg{color:var(--bad);margin-top:.2rem}.shell .alert[data-tone=warn]{border-color:var(--ink);background:var(--surface)}.shell .alert[data-tone=warn] svg{color:var(--ink)}.shell .alert-title{overflow-wrap:anywhere;font-weight:600}@media (width<=520px){.shell .actions .btn,.shell .result .btn-primary{width:100%}.shell .pg-gate-field .btn{flex:100%}}
