/* Teclight Cable Drum Calculator v1 — component-scoped styles only. */
.tlcd{--tlcd-yellow:#ffeb2f;--tlcd-text:#242424;--tlcd-line:#dedede;--tlcd-muted:#676767;--tlcd-soft:#fffbe4;max-width:1060px;margin:24px auto;padding:clamp(16px,3vw,30px);border:1px solid var(--tlcd-line);border-radius:18px;background:#fff;color:var(--tlcd-text);font-family:inherit;line-height:1.5}
.tlcd,.tlcd *,.tlcd *::before,.tlcd *::after{box-sizing:border-box}
.tlcd .tlcd-title{margin:0 0 6px;font-size:clamp(23px,2.3vw,31px);font-weight:500;line-height:1.2}
.tlcd .tlcd-subtitle{margin:0 0 24px;color:var(--tlcd-muted);font-size:14px;line-height:1.5}
.tlcd .tlcd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 16px}
.tlcd .tlcd-field{display:flex;flex-direction:column;min-width:0}
.tlcd .tlcd-label{margin:0 0 7px;font-size:14px;line-height:1.35;font-weight:500;color:var(--tlcd-text)}
.tlcd .tlcd-field input,.tlcd .tlcd-field select{appearance:auto;min-height:46px;width:100%;min-width:0;padding:10px 12px;border:1px solid #cacaca;border-radius:10px;background:#fff;color:#242424;font:inherit;font-size:15px;box-shadow:none}
.tlcd .tlcd-field input:focus-visible,.tlcd .tlcd-field select:focus-visible,.tlcd .tlcd-copy:focus-visible,.tlcd .tlcd-quote:focus-visible{outline:2px solid #d1a800;outline-offset:2px}
.tlcd .tlcd-field small{margin-top:6px;font-size:12px;color:var(--tlcd-muted);line-height:1.4}
.tlcd .tlcd-rec{margin:24px 0 26px;padding:18px 20px;border:1px solid #e6d786;border-radius:14px;background:var(--tlcd-soft)}
.tlcd .tlcd-rec-label{display:block;font-size:13px;color:#5e5618;margin:0 0 6px}
.tlcd .tlcd-rec-head{display:block;font-weight:500;font-size:clamp(20px,2.3vw,27px);line-height:1.3;margin:4px 0 8px}
.tlcd .tlcd-rec-line{margin:5px 0;font-size:14px;line-height:1.6}
.tlcd .tlcd-rec-warning{color:#a33b10}
.tlcd .tlcd-table-title{margin:0 0 12px;font-size:20px;font-weight:500}
.tlcd .tlcd-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--tlcd-line);border-radius:12px}
.tlcd .tlcd-table{width:100%;min-width:690px;border-collapse:collapse;margin:0;font-size:14px;background:#fff}
.tlcd .tlcd-table thead th{padding:12px 13px;background:#f5f5f5;color:#555;font-size:12px;font-weight:500;border-bottom:1px solid var(--tlcd-line);line-height:1.4}
.tlcd .tlcd-table td{padding:11px 13px;border-bottom:1px solid #ededed;font-variant-numeric:tabular-nums}
.tlcd .tlcd-table tbody tr:last-child td{border-bottom:0}
.tlcd .tlcd-table th,.tlcd .tlcd-table td{text-align:right;vertical-align:middle}
.tlcd .tlcd-table th:first-child,.tlcd .tlcd-table td:first-child{text-align:left}
.tlcd .tlcd-table tr.tlcd-picked td{background:#fff5bc;font-weight:500}
.tlcd .tlcd-table tr.tlcd-unfit td{color:#939393}
.tlcd .tlcd-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:22px 0 10px}
.tlcd .tlcd-copy,.tlcd .tlcd-quote{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 19px;border:1px solid var(--tlcd-line);border-radius:999px;background:#fff;color:#242424;font:inherit;font-size:14px;font-weight:500;line-height:1.25;text-align:center;text-decoration:none;cursor:pointer;transition:background-color .18s ease}
.tlcd .tlcd-quote{background:var(--tlcd-yellow);border-color:var(--tlcd-yellow)}
.tlcd .tlcd-copy:hover{background:#f3f3f3;color:#242424;text-decoration:none}
.tlcd .tlcd-quote:hover{background:#ffdb00;border-color:#ffdb00;color:#242424;text-decoration:none}
.tlcd .tlcd-quote-hint,.tlcd .tlcd-disclaimer{color:var(--tlcd-muted);font-size:12px;line-height:1.55;margin:8px 0 0}
.tlcd .tlcd-disclaimer{margin-top:16px}
@media(max-width:820px){.tlcd .tlcd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.tlcd{margin:16px auto;padding:16px;border-radius:14px}.tlcd .tlcd-grid{grid-template-columns:1fr;gap:14px}.tlcd .tlcd-actions{flex-direction:column;align-items:stretch}.tlcd .tlcd-copy,.tlcd .tlcd-quote{width:100%}.tlcd .tlcd-rec{padding:15px}}

/* v2: isolated product search + accessible calculation-request dialog */
.tlcd .tlcd-product-picker{position:relative;margin:0 0 22px}
.tlcd .tlcd-product-search{display:flex;gap:8px;align-items:center}
.tlcd .tlcd-product-query{box-sizing:border-box;min-height:46px;flex:1;min-width:0;padding:10px 13px;border:1px solid #cacaca;border-radius:10px;background:#fff;font:inherit;font-size:15px}
.tlcd .tlcd-product-clear{border:1px solid #ddd;border-radius:10px;background:white;font-size:24px;cursor:pointer;padding:4px 12px}
.tlcd .tlcd-product-suggestions{position:absolute;z-index:40;left:0;right:0;top:100%;max-height:240px;overflow:auto;border:1px solid #ddd;background:white;box-shadow:0 6px 24px rgba(0,0,0,.11);border-radius:10px}
.tlcd .tlcd-product-option{display:block;width:100%;padding:10px 13px;text-align:left;border:0;border-bottom:1px solid #eee;background:white;cursor:pointer;font:inherit;font-size:13px}
.tlcd .tlcd-product-option:hover,.tlcd .tlcd-product-option:focus-visible{background:#fff8d8}
.tlcd .tlcd-product-selected{margin:5px 0;color:#656565;font-size:13px}
.tlcd .tlcd-quote:disabled{cursor:not-allowed;opacity:.45}
.tlcd .tlcd-overlay[hidden],.tlcd .tlcd-dialog [hidden]{display:none}
.tlcd .tlcd-overlay{position:fixed;z-index:210000;inset:0;display:flex;align-items:center;justify-content:center;width:100%;max-width:100vw;overflow-x:hidden;overflow-y:auto;background:rgba(16,16,16,.63);padding:14px}
.tlcd .tlcd-dialog{position:relative;flex:0 1 570px;min-width:0;width:100%;max-width:570px;max-height:calc(100dvh - 28px);overflow-x:hidden;overflow-y:auto;padding:clamp(18px,3vw,30px);border-radius:18px;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.2);font-weight:400;overscroll-behavior:contain}
.tlcd .tlcd-dialog-title{font-size:23px;font-weight:500;margin:0 38px 8px 0}
.tlcd .tlcd-dialog-summary{font-size:13px;color:#606060;line-height:1.5;margin-bottom:19px;overflow-wrap:anywhere}
.tlcd .tlcd-dialog-close{position:absolute;right:17px;top:12px;width:38px;height:38px;border:1px solid #dedede;border-radius:50%;background:white;font-size:26px;line-height:1;cursor:pointer}
.tlcd .tlcd-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tlcd .tlcd-form-grid label{display:flex;flex-direction:column;font-size:13px;gap:6px;font-weight:500;min-width:0}
.tlcd .tlcd-form-grid label.tlcd-wide{grid-column:1/-1}
.tlcd .tlcd-form-grid input,.tlcd .tlcd-form-grid textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;font:inherit;font-size:15px;font-weight:400;min-width:0;min-height:44px;padding:10px;border:1px solid #d1d1d1;border-radius:9px;background:white;color:#242424}
.tlcd .tlcd-consent{display:flex;gap:10px;align-items:flex-start;min-width:0;max-width:100%;font-size:12px;line-height:1.5;margin:15px 0 7px;cursor:pointer;overflow-wrap:anywhere}
.tlcd .tlcd-consent input[type="checkbox"]{display:block;position:static;flex:0 0 20px;box-sizing:border-box;width:20px;height:20px;min-width:20px;min-height:20px;margin:1px 0 0;padding:0;border:1px solid #777;border-radius:4px;background:#fff;opacity:1;visibility:visible;-webkit-appearance:checkbox;appearance:checkbox;accent-color:#ffeb2f;cursor:pointer}
.tlcd .tlcd-trap{position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none;clip-path:inset(50%)}
.tlcd .tlcd-form-message{min-height:1.4em;color:#865400;margin:9px 0;font-size:13px}
.tlcd .tlcd-form-submit{width:100%;min-height:50px;background:#ffeb2f;border:0;border-radius:999px;color:#171717;font-weight:500;font-size:15px;cursor:pointer}
.tlcd .tlcd-form-submit:hover{background:#ffdc00}
.tlcd .tlcd-form-submit:disabled{opacity:.5;cursor:wait}
@media(max-width:520px){.tlcd .tlcd-form-grid{grid-template-columns:1fr}.tlcd .tlcd-dialog{padding:18px}}

.tlcd .tlcd-product-note{font-size:12px;line-height:1.4;color:var(--tlcd-muted)}
.tlcd .tlcd-product-warning{color:#9a5600}

/* Standalone page SEO copy — structured, responsive content from the module editor. */
.tlcd-seo-section { margin:30px 0 35px; }
.tlcd-seo-copy { line-height:1.75; overflow-wrap:anywhere; }
.tlcd-seo-copy > :first-child { margin-top:0; }
.tlcd-seo-copy > :last-child { margin-bottom:0; }
.tlcd-seo-copy p { margin:0 0 1em; }
.tlcd-seo-copy h3 { margin:1.5em 0 .55em; font-size:1.22em; line-height:1.35; }
.tlcd-seo-copy h4 { margin:1.2em 0 .5em; font-size:1.08em; line-height:1.4; }
.tlcd-seo-copy ul,.tlcd-seo-copy ol { padding-left:1.5em; margin:0 0 1em; }
.tlcd-seo-copy li { margin-bottom:.3em; }
.tlcd-seo-copy blockquote { padding:10px 16px; border-left:3px solid currentColor; margin:0 0 1em; }
.tlcd-seo-copy table { width:100%; max-width:100%; margin:0 0 1.2em; border-collapse:collapse; }
.tlcd-seo-copy th,.tlcd-seo-copy td { border:1px solid #dce0e3; padding:9px 12px; text-align:left; overflow-wrap:anywhere; }
