.file-tool-form{min-width:0;display:grid;gap:1rem}
.file-tool-form fieldset{min-width:0;border:1px solid #d8e2df;border-radius:12px;padding:1rem}
.file-tool-form legend{font-weight:700}
.file-tool-form input:not([type=checkbox]),.file-tool-form textarea,.file-tool-form select{min-width:0;width:100%}
.file-tool-form input[type=checkbox]{width:auto}
.file-tool-form [hidden],.file-tool-root [hidden]{display:none!important}
.file-tool-root .seller-tool-calculator{gap:1.25rem}
.file-tool-status{display:block;overflow-wrap:anywhere;padding:.5rem 0}
.file-tool-error{color:#9d221d;display:block;overflow-wrap:anywhere}
.file-preview{min-width:0}
.file-preview svg{display:block;width:100%;height:auto;max-height:590px;border:1px solid #d8e2df;background:white}
.file-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:1rem;margin:1.5rem 0}
.file-template-grid article{padding:1rem;display:grid;gap:.5rem;align-content:start}
.file-template-grid img{display:block;width:100%;height:210px;object-fit:contain;background:#f0f4f1}
.file-template-grid h3{margin:.2rem 0}
.file-tools-table{max-width:100%;overflow:auto}
.file-tools-table table{border-collapse:collapse;width:100%;min-width:22rem}
.file-tools-table th,.file-tools-table td{padding:.5rem;border-bottom:1px solid #d8e2df;text-align:left}
.file-tools-table input{min-width:6rem!important}
.file-tool-root .actions{gap:.45rem;flex-wrap:wrap}
.file-tool-root .button{min-height:42px;max-width:100%;white-space:normal;text-align:center}
.crop-frame{position:relative;max-width:36rem;margin:auto;touch-action:none}
.crop-frame canvas{width:100%;display:block;height:auto}
.crop-frame div{position:absolute;outline:2px solid #008542;background:#198d4930;pointer-events:none}
@media(max-width:900px){.file-tool-root .seller-tool-form{order:0}.file-tool-root .seller-tool-results{order:1}}
@media(max-width:600px){.file-tool-root .seller-tool-calculator{padding:14px}.file-tool-root .seller-tool-intro h1{font-size:clamp(2rem,9vw,2.6rem)}}
