.sgdtf-order{max-width:1080px;margin:40px auto;color:#111b18;font-family:Arial,sans-serif;line-height:1.6;padding:32px;border:1px solid #dbe5df;border-radius:18px;background:#fafcfb}.sgdtf-order h2{font-size:clamp(28px,4vw,44px);letter-spacing:-1.5px;line-height:1.1}.sgdtf-eyebrow{text-transform:uppercase;font-weight:700;font-size:12px;letter-spacing:2px}.sgdtf-form label{display:block;font-size:14px;font-weight:700;margin:18px 0}.sgdtf-form input:not([type=checkbox]):not([type=hidden]){display:block;width:100%;padding:13px;margin-top:7px;border:1px solid #c6d7cf;border-radius:8px;background:white;box-sizing:border-box;font:inherit}.sgdtf-form input:focus{outline:3px solid #a2cbbd;outline-offset:2px}.sgdtf-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.sgdtf-small{font-size:12px;color:#52665d}.sgdtf-quote,.sgdtf-note{padding:18px;background:#e3f0e9;border-radius:10px}.sgdtf-form button{background:#111b18;color:white;padding:16px 24px;border:0;border-radius:8px;font-size:15px;font-weight:700;cursor:pointer}.sgdtf-form button:hover{background:#305747}.sgdtf-check input{margin-right:8px}@media(max-width:650px){.sgdtf-order{padding:20px}.sgdtf-fields{grid-template-columns:1fr;gap:0}.sgdtf-form button{width:100%}}
.sgdtf-preview{border:1px solid #c6d7cf;border-radius:10px;padding:16px;margin:20px 0}.sgdtf-preview-image{background:repeating-conic-gradient(#e3e8e5 0% 25%,#fff 0% 50%) 0 0/20px 20px;text-align:center;border-radius:6px;padding:12px}.sgdtf-preview-image img{display:block;max-width:100%;max-height:420px;width:auto;height:auto;margin:auto;object-fit:contain}.sgdtf-warning{background:#fff2d4;border-left:4px solid #9b6900;padding:16px;color:#604300}.sgdtf-form [hidden]{display:none!important}
.sgdtf-form .sgdtf-zoom-open{margin-top:12px;background:#e3f0e9;color:#111b18;padding:10px 18px}.sgdtf-zoom{width:min(1100px,90vw);max-height:90vh;border:1px solid #c6d7cf;border-radius:14px;padding:20px;box-sizing:border-box}.sgdtf-zoom::backdrop{background:rgba(0,0,0,.65)}.sgdtf-zoom-scroll{overflow:auto;max-height:65vh;background:repeating-conic-gradient(#e3e8e5 0% 25%,#fff 0% 50%) 0 0/20px 20px}.sgdtf-zoom-scroll img{display:block;width:auto;max-width:none;max-height:none;margin:auto}.sgdtf-form .sgdtf-zoom-close{padding:10px 16px}
/* Transparency belongs to the sheet, not the surrounding viewer. */
.sgdtf-preview-image{background:#eef2ef;padding:16px;overflow:hidden}.sgdtf-preview-image img,.sgdtf-zoom-scroll img{background:repeating-conic-gradient(#e3e8e5 0% 25%,#fff 0% 50%) 0 0/20px 20px;box-shadow:0 0 0 1px #aebcb4}.sgdtf-zoom-scroll{background:#eef2ef;padding:12px}.sgdtf-sheet-size{font-size:13px;font-weight:700;color:#305747;text-align:center;margin:0 0 12px}
.sgdtf-sheet-plane{display:flex;justify-content:center;align-items:flex-start;margin:auto;background:repeating-conic-gradient(#e3e8e5 0% 25%,#fff 0% 50%) 0 0/20px 20px;box-shadow:0 0 0 1px #aebcb4;overflow:hidden}.sgdtf-preview-image .sgdtf-sheet-plane img,.sgdtf-zoom-scroll .sgdtf-sheet-plane img{display:block;max-width:none;max-height:none;height:auto;margin:0;background:none;box-shadow:none;flex-shrink:0}

.sgdtf-sheet-plane{align-items:flex-end}

.sgdtf-form select{display:block;width:100%;padding:13px;margin-top:7px;border:1px solid #c6d7cf;border-radius:8px;background:white;font:inherit}.sgdtf-sheet-plane{position:relative}.sgdtf-sheet-plane .sgdtf-copy{max-width:none}

.sgdtf-preview-image{max-height:540px;overflow:auto;overscroll-behavior:contain}.sgdtf-preview-image .sgdtf-sheet-size{position:sticky;top:0;background:#eef2ef;z-index:1;margin-top:0;padding:8px}.sgdtf-long-preview{scrollbar-gutter:stable}

.sgdtf-preview-navigation{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:12px;align-items:start}.sgdtf-position-controls{display:flex;align-items:center;flex-direction:column;gap:10px;font-size:12px;text-align:center}.sgdtf-form .sgdtf-position-slider{writing-mode:vertical-lr;direction:ltr;appearance:auto;width:24px!important;height:340px;padding:0!important;margin:0!important;accent-color:#305747}.sgdtf-form .sgdtf-position-controls button{padding:8px;font-size:12px;width:100%;background:#e3f0e9;color:#111b18}.sgdtf-position-label{font-weight:700;padding:8px 0}@media(max-width:650px){.sgdtf-preview-navigation{grid-template-columns:minmax(0,1fr) 74px;gap:8px}.sgdtf-form .sgdtf-position-controls button{font-size:11px}}

.sgdtf-form .sgdtf-position-slider{appearance:none;-webkit-appearance:none;background:linear-gradient(to top,#305747 0 var(--sgdtf-progress,0%),#dce6e0 var(--sgdtf-progress,0%) 100%);border:1px solid #a6bcb0;border-radius:12px;box-sizing:border-box}
.sgdtf-position-slider::-webkit-slider-runnable-track{background:transparent;border:0;width:24px}
.sgdtf-position-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:24px;height:16px;border:2px solid #111b18;border-radius:8px;background:#fff;cursor:grab}
.sgdtf-position-slider::-moz-range-track{background:transparent;border:0}.sgdtf-position-slider::-moz-range-progress{background:transparent}.sgdtf-position-slider::-moz-range-thumb{width:20px;height:14px;border:2px solid #111b18;border-radius:8px;background:#fff;cursor:grab}

@media(max-width:650px){.sgdtf-form .sgdtf-position-controls button{min-height:44px}.sgdtf-form .sgdtf-position-slider{width:32px!important}.sgdtf-position-slider::-webkit-slider-thumb{width:30px;height:20px}.sgdtf-position-slider::-moz-range-thumb{width:26px;height:18px}}

.sgdtf-quote p{margin:0 0 8px}.sgdtf-quote-price{display:block;font-size:24px;margin:10px 0}.sgdtf-quote .sgdtf-small{margin-top:12px}

.sgdtf-price-list{margin:16px 0;border:1px solid #c6d7cf;border-radius:10px;padding:14px}.sgdtf-price-list summary{cursor:pointer;font-weight:700}.sgdtf-price-list table{width:100%;border-collapse:collapse;font-size:14px}.sgdtf-price-list th,.sgdtf-price-list td{padding:10px;border-bottom:1px solid #dbe5df;text-align:left}.sgdtf-price-list caption{text-align:left;font-size:12px;margin-bottom:8px}.sgdtf-active-tier{background:#e3f0e9;font-weight:700}

.sgdtf-sheet-plane.sgdtf-background-white{background:#fff}.sgdtf-sheet-plane.sgdtf-background-black{background:#151515}.sgdtf-preview-background-label{max-width:320px}

.sgdtf-flows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.sgdtf-form .sgdtf-flows button{background:#e3f0e9;color:#111b18;padding:14px;font-size:14px}.sgdtf-form .sgdtf-flows button[aria-pressed=true]{background:#305747;color:white}.sgdtf-form .sgdtf-flows button:disabled{opacity:.5;cursor:default}@media(max-width:650px){.sgdtf-flows{grid-template-columns:1fr}}

.sgdtf-test-link{display:inline-block;padding:16px 22px;background:#305747;color:#fff!important;border-radius:8px;font-weight:700}.sgdtf-order select,.sgdtf-order textarea{width:100%;padding:12px;border:1px solid #c6d7cf;border-radius:8px;font:inherit}.sgdtf-order textarea{min-height:90px}

/* Keep long filenames, translated labels and controls inside the order panel. */
.sgdtf-order,.sgdtf-order *{box-sizing:border-box}.sgdtf-order .sgdtf-fields>*,.sgdtf-preview-navigation>*{min-width:0}.sgdtf-preview-info,.sgdtf-sheet-size,.sgdtf-quote,.sgdtf-order .sgdtf-warning{overflow-wrap:anywhere}.sgdtf-form button:focus-visible,.sgdtf-test-link:focus-visible{outline:3px solid #70a78d;outline-offset:3px}.sgdtf-form button:disabled{cursor:not-allowed;opacity:.6}.sgdtf-form select{max-width:100%}.sgdtf-form input[type=file]{white-space:normal;overflow:hidden}.sgdtf-form .sgdtf-check{overflow-wrap:anywhere}.sgdtf-form input[type=checkbox]{min-width:18px;min-height:18px;vertical-align:middle}
@media(max-width:650px){.sgdtf-order{margin:20px auto;padding:16px;border-radius:12px}.sgdtf-order h2{overflow-wrap:anywhere}.sgdtf-preview{padding:10px}.sgdtf-preview-image{padding:8px}.sgdtf-form button,.sgdtf-form select{min-height:44px}.sgdtf-zoom{width:96vw;padding:12px}}

/* Compact quotation: persistent essentials, optional calculation details. */
.sgdtf-quote-metres,.sgdtf-quote-tariff{font-weight:700}.sgdtf-quote-price{font-variant-numeric:tabular-nums;line-height:1.25}.sgdtf-quote-secondary{font-size:14px}.sgdtf-minimum-note{padding:10px 12px;border-left:3px solid #305747;background:#f4f8f5;font-size:14px}.sgdtf-quote-details{border-top:1px solid #c6d7cf;margin-top:14px;padding-top:12px;font-size:14px}.sgdtf-quote-details summary{cursor:pointer;font-weight:700;min-height:44px;display:list-item;padding:8px 0}.sgdtf-quote-details p{margin:8px 0}.sgdtf-quote-lead-time{font-weight:700}.sgdtf-form .sgdtf-add-another{background:#e3f0e9;color:#111b18;border:1px solid #a6bcb0;margin:8px 0}.sgdtf-single-flow>label:first-child{scroll-margin-top:120px}.sgdtf-form .sgdtf-quote-details summary:focus-visible{outline:3px solid #70a78d;outline-offset:3px}
@media(max-width:650px){.sgdtf-quote{padding:14px}.sgdtf-quote-price{font-size:25px}.sgdtf-quote-tariff{font-size:14px}}

/* Shared business selector: readable on phones and keyboard accessible. */
.sgdtf-company-selector{padding:16px;border:1px solid #c4dcd1;border-radius:12px;background:#eef7f2;margin:0 0 24px;max-width:100%;box-sizing:border-box}.sgdtf-company-selector label{display:block;font-weight:700}.sgdtf-company-selector select{display:block;width:100%;max-width:100%;padding:12px;border:1px solid #9db8aa;border-radius:7px;min-height:44px;background:#fff;font:inherit;box-sizing:border-box}.sgdtf-company-selector button{font:inherit;font-weight:700;min-height:44px;padding:10px 18px;margin-top:10px;border:0;border-radius:7px;color:#fff;background:#153c35;cursor:pointer}.sgdtf-company-selector p{font-size:13px;line-height:1.5;margin:10px 0 0;overflow-wrap:anywhere}.sgdtf-company-selector select:focus-visible,.sgdtf-company-selector button:focus-visible{outline:3px solid #228265;outline-offset:3px}

/* Native chooser stays focusable and clickable; visible labels are Slovenian. */
.sgdtf-file-picker{position:relative;display:flex;align-items:center;gap:14px;min-height:52px;margin-top:8px;padding:10px 14px;border:1px solid #a9c4b8;border-radius:10px;background:#fff;max-width:100%;overflow:hidden;box-sizing:border-box}
.sgdtf-file-picker-button{flex-shrink:0;border-radius:6px;padding:9px 12px;background:#151b18;color:#fff;font-weight:700;line-height:1.3}
.sgdtf-file-picker-name{min-width:0;font-size:14px;font-weight:400;line-height:1.4;overflow-wrap:anywhere;color:#394b43}
.sgdtf-file-picker input[type=file]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;opacity:0!important;cursor:pointer;z-index:1}
.sgdtf-file-picker:focus-within{outline:3px solid #39765f;outline-offset:3px}
.sgdtf-file-picker:has(input:disabled){opacity:.6}
@media(max-width:480px){.sgdtf-file-picker{align-items:flex-start;flex-direction:column;gap:8px}}
