/* Plantillas de prueba láser · identidad marfil de la web pública (no depende de la calculadora) */
.tg-hero{padding:38px 0 30px}
.tg-hero-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr);gap:40px;align-items:center}
.tg-hero h1{font-size:clamp(28px,4vw,44px);line-height:1.12;letter-spacing:-.04em;max-width:820px;margin:0}
.tg-lead{font-size:15px;line-height:1.6;max-width:690px;color:#5b6266;margin:18px 0}
.tg-benefits{display:flex;flex-wrap:wrap;gap:8px 20px;color:#78523b;font-size:.83rem}
.tg-info{padding:20px;border-radius:10px}
.tg-info-kicker{font-size:.75rem;font-weight:800;letter-spacing:.12em;color:var(--orange);text-transform:uppercase}
.tg-info p{font-size:.89rem;line-height:1.6;color:#5b6266;margin:12px 0 0}
.tg-section{padding:18px 0 50px}
.tg-layout{display:grid;grid-template-columns:minmax(0,1fr) 400px;align-items:start;gap:20px}
.tg-form{display:grid;gap:20px;min-width:0}
.tg-panel{padding:28px;border-radius:10px;min-width:0}
.tg-panel-head{display:flex;gap:17px;align-items:flex-start;margin-bottom:22px}
.tg-panel-head h2{margin:0;font-size:1.2rem;letter-spacing:-.02em}
.tg-panel-head p{margin:5px 0 0;color:#5b6266;font-size:.83rem}
.tg-step{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:11px;background:#f0e4d7;color:#88431e;font-weight:900;font-size:.85rem}
.tg-fields{display:grid;gap:17px;margin-top:6px}
.tg-fields.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.tg-field{display:grid;gap:8px;font-size:.82rem;font-weight:690;color:#556066;min-width:0}
.tg-field input,.tg-field select{display:block;width:100%;min-width:0;background:#fff;color:#24282b;border:1px solid #aeb6ad;border-radius:8px;padding:12px 13px;font-size:.95rem;min-height:48px}
.tg-field input:focus,.tg-field select:focus{outline:2px solid #a44e25;outline-offset:2px;border-color:transparent}
.tg-field input::placeholder{color:#8a9196}
.tg-footnote{color:#6b7378;font-size:.79rem;line-height:1.5;margin:15px 0 0}
.tg-modes{display:flex;gap:8px;flex-wrap:wrap}
.tg-mode{border:1px solid #cad0c9;background:#fff;color:#3a464b;padding:12px 22px;border-radius:10px;cursor:pointer;font-weight:780;font-size:.92rem;min-height:46px}
.tg-mode:hover{background:#f5f5f2}
.tg-mode.is-active{color:#fff;background:#a44e25;border-color:#a44e25}
.tg-mode:focus-visible{outline:2px solid #a44e25;outline-offset:2px}
.tg-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:20px}
.tg-error{border:1px solid #d3a092;background:#fff1eb;color:#8e3022;padding:12px 14px;border-radius:10px;font-size:.87rem;margin-top:18px}
.tg-kerf-result{font-size:1.25rem;font-weight:800;color:#3c643f;margin:16px 0 0;min-height:1.6em}
.tg-summary{padding:22px;border-radius:10px;position:sticky;top:96px;min-width:0}
.tg-result-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px;flex-wrap:wrap}
.tg-result-head .eyebrow{margin:0}
.tg-live-dot{font-size:.7rem;color:#3f6244;background:#edf5eb;border:1px solid #cfdfc9;border-radius:100px;padding:5px 10px;font-variant-numeric:tabular-nums}
.tg-preview{background:#e9d6b5;border-radius:10px;padding:10px;display:grid;place-items:center;min-height:120px;border:1px solid #dfe1df}
.tg-preview svg{display:block;width:100%;height:auto;max-height:420px}
.tg-buttons{display:grid;gap:10px;margin-top:16px}
.tg-buttons .button{width:100%;text-align:center;cursor:pointer}
.tg-buttons .button:disabled{opacity:.5;cursor:not-allowed}
.tg-copy{width:100%;padding:12px;border-radius:10px;border:1px solid #bb977c;background:#faf5ee;color:#94441f;cursor:pointer;font-weight:750;min-height:46px}
.tg-copy:disabled{opacity:.5;cursor:not-allowed}
.tg-status{min-height:1.2em;font-size:.8rem;color:#3f6244;margin:10px 0 0}
.tg-summary-note{font-size:.76rem;line-height:1.5;color:#6b7378;margin:8px 0 0}
.tg-results{margin-top:20px}
.tg-results h2{margin:0 0 6px;font-size:1.2rem;letter-spacing:-.02em}
.tg-table-intro{color:#5b6266;font-size:.86rem;margin:0 0 18px;max-width:760px}
.tg-subheading{font-size:1.05rem;margin:30px 0 8px}
.tg-table-wrap{overflow-x:auto;border:1px solid #dfe1df;border-radius:10px}
.tg-table{width:100%;border-collapse:collapse;font-size:.85rem;min-width:520px}
.tg-table th,.tg-table td{padding:10px 14px;text-align:left;border-bottom:1px solid #e6e8e5;white-space:nowrap}
.tg-table td:last-child{white-space:normal}
.tg-table th{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#556066;background:#f0f1ee}
.tg-table tbody tr:last-child td{border-bottom:0}
.tg-table td{font-variant-numeric:tabular-nums;color:#24282b}
.tg-swatch{display:inline-block;width:16px;height:16px;border-radius:4px;vertical-align:-3px;margin-right:9px;border:1px solid rgba(0,0,0,.28)}
.tg-table code{font-size:.8rem;color:#3a464b}
.tg-guide{padding-top:20px}
.tg-gap{margin-top:56px}
.tg-steps{list-style:none;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.tg-steps li{display:grid;gap:12px;align-content:start;padding:20px;border:1px solid #dfe1df;border-radius:10px;background:#fff}
.tg-steps span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f0e4d7;color:#88431e;font-weight:900}
.tg-steps p{margin:0;font-size:.9rem;line-height:1.55;color:#556066}
.tg-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:26px}
.tg-card{padding:22px;border-radius:10px;display:grid;gap:10px;align-content:start}
.tg-card h3{margin:0;font-size:1.05rem}
.tg-card p{margin:0;font-size:.88rem;line-height:1.55;color:#556066}
.tg-card .text-link{margin-top:6px}
.tg-faq{display:grid;gap:12px;margin-top:26px;max-width:900px}
.tg-faq article{padding:18px 20px;border:1px solid #dfe1df;border-radius:10px;background:#fff}
.tg-faq h3{margin:0 0 8px;font-size:1rem}
.tg-faq p{margin:0;font-size:.9rem;line-height:1.6;color:#556066}
.tg-footer-note{padding-top:0;text-align:center}
.tg-footer-note p{font-size:.85rem;color:#6b7378;max-width:820px;margin:auto}
[hidden]{display:none!important}
@media(max-width:1060px){
 .tg-layout{grid-template-columns:minmax(0,1fr) 340px}
 .tg-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:840px){
 .tg-hero-grid,.tg-layout{grid-template-columns:1fr}
 .tg-summary{position:static}
 .tg-info{max-width:680px}
 .tg-cards{grid-template-columns:1fr}
}
@media(max-width:560px){
 .tg-panel,.tg-summary{padding:18px}
 .tg-fields.cols-2{grid-template-columns:1fr}
 .tg-steps{grid-template-columns:1fr}
 .tg-gap{margin-top:40px}
 .tg-mode{flex:1 1 100%}
}
@media print{
 .site-header,.site-footer,.tg-hero,.tg-form,.tg-buttons,.tg-guide,.tg-footer-note{display:none!important}
 .tg-layout{display:block}
 .tg-summary{position:static;border:0;box-shadow:none}
}
