/* TR Global v242 — editable one-page Style Summary */
.style-summary-print-shortcut .style-po-shortcut-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.style-summary-editor-shell{position:fixed;inset:0;z-index:10080;display:grid;place-items:center;padding:24px}
.style-summary-editor-backdrop{position:absolute;inset:0;background:rgba(8,13,32,.68);backdrop-filter:blur(4px)}
.style-summary-editor{position:relative;z-index:1;width:min(1120px,calc(100vw - 36px));max-height:calc(100vh - 36px);overflow:auto;border:1px solid #d4dbea;border-radius:22px;background:#fff;box-shadow:0 26px 80px rgba(5,10,30,.3);color:#111a3e}
.style-summary-editor>header{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:22px 24px;border-bottom:1px solid #dde3ee;background:#fff}
.style-summary-editor>header h2{margin:5px 0 7px;font-size:26px;color:#111a70}
.style-summary-editor>header p{margin:0;max-width:760px;color:#667087;line-height:1.5}
.style-summary-editor-close{width:40px;height:40px;border:1px solid #d6ddeb;border-radius:50%;background:#fff;color:#45516d;font-size:24px;line-height:1;cursor:pointer}
.style-summary-editor form{display:grid;gap:18px;padding:20px 24px 24px}
.style-summary-editor fieldset{margin:0;padding:18px;border:1px solid #d8dfeb;border-radius:16px;background:#fbfcfe}
.style-summary-editor legend{padding:0 8px;color:#111a70;font-size:13px;font-weight:900;letter-spacing:.035em;text-transform:uppercase}
.style-summary-editor-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.style-summary-editor-grid label{display:grid;gap:6px;min-width:0;color:#525d75;font-size:12px;font-weight:800}
.style-summary-editor-grid input,.style-summary-editor-grid select,.style-summary-editor-grid textarea,.style-summary-editor-ratios input{width:100%;min-height:42px;border:1px solid #ccd4e2;border-radius:10px;background:#fff;padding:9px 10px;color:#111a3e;font:inherit;font-size:14px;font-weight:650}
.style-summary-editor-grid textarea{min-height:82px;resize:vertical;line-height:1.45}
.style-summary-editor-grid input[readonly]{background:#f1f4f8;color:#667087}
.style-summary-editor-grid .span-2{grid-column:span 2}
.style-summary-editor-ratios{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.style-summary-editor-ratios label{display:grid;gap:6px;text-align:center;color:#566079;font-size:12px;font-weight:850}
.style-summary-editor-visual{display:grid;grid-template-columns:190px 1fr;gap:18px;align-items:stretch}
.style-summary-editor-image{display:grid;place-items:center;min-height:190px;border:1px solid #d8dfeb;border-radius:16px;background:#fafbfc;overflow:hidden;color:#7d879d;font-weight:800}
.style-summary-editor-image img{width:100%;height:190px;object-fit:contain;background:#fff}
.style-summary-editor-derived{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;border:1px solid #d8dfeb;border-radius:16px;background:#fff;overflow:hidden}
.style-summary-editor-derived>span{padding:18px;border-right:1px solid #e2e6ee}
.style-summary-editor-derived>span:nth-child(3){border-right:0}
.style-summary-editor-derived b{display:block;margin-bottom:7px;color:#7b8499;font-size:10px;letter-spacing:.05em;text-transform:uppercase}
.style-summary-editor-derived small{grid-column:1/-1;padding:14px 18px;border-top:1px solid #e2e6ee;color:#677187;line-height:1.45}
.style-summary-editor-total{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:10px 14px;border:1px solid #cbd7ff;border-radius:12px;background:#f4f7ff}
.style-summary-editor-total span{font-size:11px;color:#69738b;font-weight:800;text-transform:uppercase}
.style-summary-editor-total strong{font-size:20px;color:#111a70}
.style-summary-editor form>footer{position:sticky;bottom:-24px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 -24px -24px;padding:16px 24px;border-top:1px solid #d9e0ec;background:#fff;box-shadow:0 -8px 24px rgba(20,30,55,.06)}
.style-summary-editor form>footer>span{color:#6b7488;font-size:12px;line-height:1.4}
.style-summary-editor form>footer>div{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:900px){.style-summary-editor-shell{padding:8px}.style-summary-editor{width:calc(100vw - 16px);max-height:calc(100vh - 16px);border-radius:16px}.style-summary-editor-grid{grid-template-columns:1fr 1fr}.style-summary-editor-ratios{grid-template-columns:repeat(4,1fr)}.style-summary-editor-visual{grid-template-columns:140px 1fr}.style-summary-editor-derived{grid-template-columns:1fr}.style-summary-editor-derived>span{border-right:0;border-bottom:1px solid #e2e6ee}.style-summary-editor-grid .span-2{grid-column:1/-1}}
@media(max-width:600px){.style-summary-editor>header{padding:18px}.style-summary-editor form{padding:16px 18px 20px}.style-summary-editor-grid{grid-template-columns:1fr}.style-summary-editor-grid .span-2{grid-column:auto}.style-summary-editor-ratios{grid-template-columns:repeat(3,1fr)}.style-summary-editor-visual{grid-template-columns:1fr}.style-summary-editor-image img{height:220px}.style-summary-editor form>footer{margin:0 -18px -20px;padding:14px 18px;align-items:flex-start;flex-direction:column}.style-summary-editor form>footer>div{width:100%}.style-summary-editor form>footer .btn{flex:1}}
