/* TR Global v227 — professional Tech Pack artwork + measurement workflow */
body[data-tech-pack-page] .tech-pack-core-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body[data-tech-pack-page] .tech-pack-artwork-rule{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:12px 14px;border:1px solid #ccd5ef;border-radius:15px;background:linear-gradient(135deg,#f5f7ff,#fff);color:#56617e;font-size:.74rem}
body[data-tech-pack-page] .tech-pack-artwork-rule strong{margin-right:auto;color:#15194b;font-size:.8rem}
body[data-tech-pack-page] .tech-pack-artwork-rule span{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#fff;border:1px solid #dbe1f1;font-weight:850}
body[data-tech-pack-page] .tech-pack-artwork-rule span:before{content:"✓";display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#e8edff;color:#2f48b7;font-size:.62rem}
body[data-tech-pack-page] .tech-pack-image-editor>span{display:flex;align-items:center;justify-content:space-between;gap:8px}
body[data-tech-pack-page] .tech-pack-image-editor>span em{padding:4px 7px;border-radius:999px;background:#edf1ff;color:#3049b6;font-style:normal;font-size:.57rem;letter-spacing:.05em;text-transform:uppercase}
body[data-tech-pack-page] .technical-flat-editor{border-color:#aebbe7;background:linear-gradient(180deg,#f5f7ff,#fff)}
body[data-tech-pack-page] .colored-reference-editor{border-color:#d6b76d;background:linear-gradient(180deg,#fffaf0,#fff)}
body[data-tech-pack-page] .technical-flat-editor .tech-pack-image-editor-preview{background:#fff}
body[data-tech-pack-page] .technical-flat-editor .tech-pack-image-editor-preview img{filter:grayscale(1) contrast(1.45);mix-blend-mode:multiply}
body[data-tech-pack-page] .colored-reference-editor .tech-pack-image-editor-preview img{filter:none!important}
body[data-tech-pack-page] .tech-pack-image-guidance{min-height:2.6em;color:#6e7892;font-size:.66rem!important;font-weight:700!important;line-height:1.35}
body[data-tech-pack-page] .tech-pack-supporting-images{margin-top:16px;border:1px solid #dfe4ef;border-radius:16px;background:#fafbfe;overflow:hidden}
body[data-tech-pack-page] .tech-pack-supporting-images summary{cursor:pointer;padding:14px 16px;color:#303962;font-size:.78rem;font-weight:900}
body[data-tech-pack-page] .tech-pack-supporting-images[open] summary{border-bottom:1px solid #e2e6ef}
body[data-tech-pack-page] .tech-pack-supporting-images .tech-pack-image-editor-grid{padding:14px}
body[data-tech-pack-page] .doc-drawing.technical-flat img{filter:grayscale(1) contrast(1.5);mix-blend-mode:multiply}
body[data-tech-pack-page] .doc-image.colored-reference img{filter:none!important}

body[data-tech-pack-page] .tech-pack-measurement-head{display:flex;align-items:end;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid #e0e4ed}
body[data-tech-pack-page] .tech-pack-measurement-head>div{margin-right:auto}
body[data-tech-pack-page] .tech-pack-measurement-head h4{margin:0;color:#15194b;font-size:.95rem}
body[data-tech-pack-page] .tech-pack-measurement-head p{margin:5px 0 0;color:#737c94;font-size:.72rem}
body[data-tech-pack-page] .tech-pack-measurement-head label{display:grid;gap:5px;color:#343d63;font-size:.7rem;font-weight:900}
body[data-tech-pack-page] .tech-pack-measurement-head select{min-width:92px;border:1px solid #dce1ec;border-radius:11px;background:#fff;padding:9px}
body[data-tech-pack-page] .tech-pack-measurement-editor{display:grid;gap:8px;margin-top:14px;overflow:auto;padding-bottom:5px}
body[data-tech-pack-page] .tech-pack-measurement-row{display:grid;grid-template-columns:62px 230px 86px repeat(var(--tech-measurement-size-count,5),74px) 34px;gap:7px;align-items:end;min-width:max-content}
body[data-tech-pack-page] .tech-pack-measurement-row>input{height:42px;border:1px solid #dce1ec;border-radius:11px;padding:0 9px}
body[data-tech-pack-page] .tech-pack-measurement-row label{display:grid;gap:4px;color:#65708c;font-size:.62rem;text-align:center}
body[data-tech-pack-page] .tech-pack-measurement-row label input{width:74px;height:42px;border:1px solid #dce1ec;border-radius:11px;text-align:center}
body[data-tech-pack-page] .tech-pack-measurement-row>button{width:34px;height:34px;margin-bottom:4px;border:1px solid #ead4d4;border-radius:50%;background:#fff;color:#a44444;font-size:1.1rem;cursor:pointer}

body[data-tech-pack-page] .tech-pack-readiness{display:grid;grid-template-columns:190px 1fr;gap:18px;align-items:center;margin:0 24px;padding:16px 18px;border-top:1px solid #e0e4ed;background:#fafbfe}
body[data-tech-pack-page] .tech-pack-readiness>div{display:grid;gap:4px}
body[data-tech-pack-page] .tech-pack-readiness strong{color:#171b4c;font-size:.84rem}
body[data-tech-pack-page] .tech-pack-readiness span{color:#798198;font-size:.68rem}
body[data-tech-pack-page] .tech-pack-readiness ul{display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:0;list-style:none}
body[data-tech-pack-page] .tech-pack-readiness li{display:flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid #e0c6c2;border-radius:999px;background:#fff5f3;color:#8b322c;font-size:.65rem;font-weight:850}
body[data-tech-pack-page] .tech-pack-readiness li.complete{border-color:#b9ddc8;background:#f1fbf5;color:#207445}
body[data-tech-pack-page] .tech-pack-readiness li b{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:currentColor;color:#fff;font-size:.58rem}
body[data-tech-pack-page] .tech-pack-readiness li em{color:inherit;font-style:normal;font-size:.52rem;text-transform:uppercase;opacity:.75}

body[data-tech-pack-page] .tech-pack-preview-scroll>.tech-pack-document+.tech-pack-document{margin-top:24px}
body[data-tech-pack-page] .tech-pack-measurement-page{display:flex;flex-direction:column;min-height:790px}
body[data-tech-pack-page] .tech-pack-measurement-page-head{display:grid;grid-template-columns:1fr 2fr;min-height:92px;border-bottom:1px solid #c9ced9}
body[data-tech-pack-page] .tech-pack-measurement-page-head>div{display:flex;align-items:center;gap:12px;padding:10px;border-right:1px solid #c9ced9}
body[data-tech-pack-page] .tech-pack-measurement-page-head img{width:70px;height:70px;object-fit:contain}
body[data-tech-pack-page] .tech-pack-measurement-page-head strong{display:block;color:#08206c;font-size:22px}
body[data-tech-pack-page] .tech-pack-measurement-page-head span{display:block;margin-top:5px;color:#33427b;font-size:8px;font-weight:900}
body[data-tech-pack-page] .tech-pack-measurement-page-head dl{display:grid;grid-template-columns:1fr 2fr .8fr .7fr;margin:0}
body[data-tech-pack-page] .tech-pack-measurement-page-head dl div{padding:14px;border-right:1px solid #c9ced9}
body[data-tech-pack-page] .tech-pack-measurement-page-head dt{color:#69718a;font-size:7px;font-weight:900}
body[data-tech-pack-page] .tech-pack-measurement-page-head dd{margin:8px 0 0;color:#171b38;font-size:10px;font-weight:900}
body[data-tech-pack-page] .tech-pack-measurement-sheet{flex:1;padding:12px}
body[data-tech-pack-page] .tech-pack-measurement-sheet-title{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;background:#071c70;color:#fff}
body[data-tech-pack-page] .tech-pack-measurement-sheet-title span{font-size:9px;font-weight:900;letter-spacing:.04em}
body[data-tech-pack-page] .tech-pack-measurement-sheet-title strong{font-size:7px}
body[data-tech-pack-page] .tech-pack-measurement-sheet table{width:100%;border-collapse:collapse;font-size:9px}
body[data-tech-pack-page] .tech-pack-measurement-sheet th,body[data-tech-pack-page] .tech-pack-measurement-sheet td{border:1px solid #c9ced9;padding:7px;text-align:center}
body[data-tech-pack-page] .tech-pack-measurement-sheet th{background:#f3f5fa;color:#171b38;font-size:7px}
body[data-tech-pack-page] .tech-pack-measurement-sheet th:nth-child(2),body[data-tech-pack-page] .tech-pack-measurement-sheet td:nth-child(2){width:34%;text-align:left}
body[data-tech-pack-page] .tech-pack-measurement-notes{display:grid;grid-template-columns:1.6fr .8fr 1.4fr;min-height:110px}
body[data-tech-pack-page] .tech-pack-measurement-notes>div{border-top:1px solid #c9ced9;border-right:1px solid #c9ced9;padding:10px}
body[data-tech-pack-page] .tech-pack-measurement-notes h4{margin:-10px -10px 8px;background:#071c70;color:#fff;padding:6px 9px;font-size:8px}
body[data-tech-pack-page] .tech-pack-measurement-notes p{margin:0;white-space:pre-wrap;font-size:8px;line-height:1.45}
body[data-tech-pack-page] .tech-pack-measurement-page .tech-pack-doc-footer{margin-top:auto}

@media(max-width:980px){
  body[data-tech-pack-page] .tech-pack-core-image-grid{grid-template-columns:1fr}
  body[data-tech-pack-page] .tech-pack-measurement-head{align-items:stretch;flex-direction:column}
  body[data-tech-pack-page] .tech-pack-measurement-head>div{margin-right:0}
  body[data-tech-pack-page] .tech-pack-readiness{grid-template-columns:1fr;margin:0;padding:15px}
}
