/* DTF Michel image-preparation tools. Independent of customer login and external services. */
.gs-tools-section{padding:88px 0 76px;background:#eef4e8;color:#183e39}
.gs-tools-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:32px}
.gs-tools-heading>div{max-width:870px}
.gs-tools-heading h2{font-size:clamp(2rem,4.3vw,3.6rem);line-height:1.05;letter-spacing:-.055em;margin:14px 0}
.gs-tools-heading h2 em{color:#488456;font-style:normal}
.gs-tools-heading p{line-height:1.7;color:#607a66;max-width:690px;font-size:1rem}
.gs-tools-mark{flex-shrink:0;border:1px solid #bbd5b2;border-radius:60px;padding:12px 19px;font-size:1.4rem;font-weight:900;color:#21553b}
.gs-tools-mark small{font-size:.62rem;letter-spacing:.14em;color:#7b9980}
.gs-tools-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}
.gs-tool-card{background:white;border-radius:24px;padding:27px;box-shadow:0 18px 60px rgba(29,64,41,.065);border:1px solid #dfe9da;min-width:0}
.gs-tool-card-top{display:flex;gap:16px;align-items:flex-start;margin-bottom:23px}
.gs-tool-number{width:41px;height:41px;min-width:41px;border-radius:12px;background:#d4ee94;display:grid;place-items:center;font-weight:900;font-size:.8rem}
.gs-tool-card h3{font-size:clamp(1.4rem,2.2vw,1.75rem);letter-spacing:-.04em;margin:0 0 8px}
.gs-tool-card-top p{color:#698372;line-height:1.55;font-size:.84rem;margin:0}
.gs-tool-upload{display:flex;gap:15px;align-items:center;border:1.5px dashed #9ac39d;border-radius:15px;padding:18px;background:#f5faf1;cursor:pointer;transition:background .2s,border-color .2s}
.gs-tool-upload:hover,.gs-tool-upload:focus-within{background:#eaf5df;border-color:#4e9a68}
.gs-tool-upload-icon{font-size:2rem;color:#4a905c;line-height:1}
.gs-tool-upload strong{display:block;font-size:.83rem;margin-bottom:5px}
.gs-tool-upload small{font-size:.72rem;color:#73907c;line-height:1.5;display:block}
.gs-tool-upload input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.gs-tool-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 11px}
.gs-tool-control{display:flex;flex-direction:column;gap:8px;font-size:.75rem;font-weight:750;color:#496d52;min-width:0}
.gs-tool-control output{align-self:flex-end;color:#245b3a;font-weight:800}
.gs-tool-control input[type=range]{width:100%;accent-color:#4b915b;cursor:pointer}
.gs-tool-control input[type=number],.gs-tool-control select{font:inherit;font-size:.85rem;border:1px solid #d5e5d0;border-radius:9px;padding:11px 12px;color:#1e4b38;background:#fff;min-width:0;width:100%;max-width:100%}
.gs-tool-editbar{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0 0}
.gs-tool-chip{border:1px solid #d9e8d4;background:#f5f8f2;color:#526e58;font-size:.7rem;line-height:1.35;font-weight:800;cursor:pointer;padding:10px 12px;border-radius:9px}
.gs-tool-chip.is-active{background:#1d503a;color:#fff;border-color:#1d503a}
.gs-tool-color-sample{display:flex;align-items:center;gap:9px;color:#6e8c73;font-size:.7rem;align-self:center}
.gs-tool-color-sample span{width:35px;height:35px;background:#fff;border:2px solid #fff;outline:1px solid #d4e2cd;border-radius:50%;flex-shrink:0}
.gs-tool-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:18px}
.gs-tool-preview-label{display:block;color:#54735d;font-size:.65rem;letter-spacing:.12em;font-weight:900;margin-bottom:8px}
.gs-tool-preview,.gs-tool-convert-preview{position:relative;display:flex;align-items:center;justify-content:center;border:1px solid #dbe6d7;background:#f8faf6;min-height:200px;border-radius:12px;overflow:hidden}
.gs-tool-checker{background-color:#fff;background-image:linear-gradient(45deg,#e2e9dc 25%,transparent 25%),linear-gradient(-45deg,#e2e9dc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e2e9dc 75%),linear-gradient(-45deg,transparent 75%,#e2e9dc 75%);background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0px}
.gs-tool-preview canvas{width:auto;max-width:100%;height:auto;max-height:260px;object-fit:contain;display:block}
.gs-tool-preview canvas:not([width]){display:none}
.gs-tool-preview #gs-cut-result{cursor:crosshair;touch-action:none}
.gs-tool-placeholder{padding:26px;text-align:center;font-size:.76rem;color:#8aa18a;line-height:1.5}
.gs-tool-preview canvas[width]~.gs-tool-placeholder{display:none}
.gs-tool-convert-preview{margin-top:20px;min-height:270px}
.gs-tool-convert-preview img{max-width:100%;height:auto;max-height:290px;object-fit:contain;display:block}
.gs-tool-convert-preview img[hidden]{display:none}
.gs-tool-convert-preview img:not([hidden])~.gs-tool-placeholder{display:none}
.gs-tool-note{font-size:.73rem;color:#6b816f;line-height:1.62;margin:17px 0 20px}
.gs-tool-compact-actions{display:flex;gap:10px;margin-top:13px;flex-wrap:wrap}
.gs-tool-card .gs-btn{font-size:.77rem;white-space:normal;line-height:1.3;padding:13px 15px;min-height:46px}
.gs-tool-card .gs-btn:disabled{opacity:.48;cursor:not-allowed}
.gs-tool-result-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.gs-tool-status{margin:13px 0 0;color:#53735b;font-size:.76rem;line-height:1.6;min-height:21px}
.gs-tool-status.error{color:#a4442d}
.gs-tool-status.busy{color:#2a6c43}
.gs-tool-dimensions{font-size:.76rem;color:#55705a;line-height:1.6;margin:14px 0}
.gs-tool-pdf-availability{display:flex;align-items:center;font-size:.73rem;line-height:1.5;color:#5c785e;border-left:3px solid #9cc682;padding:8px 10px;background:#f1f7eb;border-radius:7px}
.gs-tool-convert-start{width:100%}
.gs-tools-trust{display:flex;flex-wrap:wrap;gap:10px 28px;margin-top:24px;color:#517059;font-size:.79rem;font-weight:750}
@media(max-width:1100px){.gs-tools-grid{grid-template-columns:1fr}.gs-tool-preview,.gs-tool-convert-preview{min-height:240px}}
@media(max-width:680px){.gs-tools-section{padding:50px 0}.gs-tools-heading{display:block}.gs-tools-mark{display:none}.gs-tool-card{padding:18px;border-radius:17px}.gs-tool-control-grid{gap:10px}.gs-tool-card .gs-btn{font-size:.69rem;padding:12px 9px}.gs-tool-preview,.gs-tool-convert-preview{min-height:150px}.gs-tool-result-actions{grid-template-columns:1fr}.gs-tool-editbar{gap:5px}.gs-tool-chip{font-size:.63rem;padding:9px 7px}}
.gs-tool-control-grid[hidden],.gs-tool-preview [hidden],.gs-tool-convert-preview [hidden]{display:none!important}
