.tgdemo{margin:16px 0 48px;padding:30px;border:1px solid #dce7f4;border-radius:20px;background:linear-gradient(145deg,#f1f6ff,#fff);color:#152a49}
.tgdemo [hidden]{display:none!important}
.tgdemo *{box-sizing:border-box;min-width:0}
.tgdemo-heading{max-width:790px;margin-bottom:26px}
.tgdemo h2{font-size:clamp(26px,3vw,36px);line-height:1.15;margin:8px 0 16px;letter-spacing:-.025em}
.tgdemo h3{font-size:19px;line-height:1.3;margin:0 0 18px}
.tgdemo h4{font-size:17px;line-height:1.4;margin:10px 0}
.tgdemo p{font-size:15px;line-height:1.65;margin:0 0 12px;overflow-wrap:anywhere}
.tgdemo .tgdemo-disclosure{font-size:13px;color:#52647d}
.tgdemo-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:0 0 20px}
.tgdemo-stages li{padding:12px;border-radius:9px;background:#e7edf6;color:#415672;font-size:13px;font-weight:650;text-align:center}
.tgdemo-stages [aria-current]{background:#075dff;color:#fff}
.tgdemo-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:20px;align-items:start}
.tgdemo-panel{padding:24px;border:1px solid #dce7f4;border-radius:14px;background:#fff}
.tgdemo form label{display:block;font-size:13px;font-weight:700;margin:16px 0 8px}
.tgdemo select,.tgdemo textarea{font:inherit;width:100%;padding:12px;border:1px solid #91a5c0;border-radius:8px;color:#152a49;background:#fff;font-size:14px;line-height:1.5;min-height:46px}
.tgdemo textarea{resize:vertical}
.tgdemo input:disabled,.tgdemo select:disabled,.tgdemo textarea:disabled{opacity:1;color:#52647d;background:#f5f8fc}
.tgdemo .tgdemo-hint{font-size:12px;margin:10px 0 16px;color:#52647d}
.tgdemo .tgstore-btn{font-size:13px;white-space:normal;line-height:1.4;text-align:center;max-width:100%;min-height:46px;cursor:pointer}
.tgdemo .tgstore-btn:disabled{background:#e8edf5;color:#415672!important;border-color:#cbd8e8;cursor:default}
.tgdemo :focus-visible{outline:3px solid #2f71e7;outline-offset:4px}
.tgdemo-panel-top{display:flex;gap:12px;justify-content:space-between;align-items:start;flex-wrap:wrap}
.tgdemo-badge{font-size:11px;font-weight:700;line-height:1.4;padding:6px 9px;border-radius:7px;background:#edf4ff;color:#174ea6}
.tgdemo .tgdemo-reference{font-size:12px;color:#52647d}
.tgdemo-case-message{white-space:pre-wrap}
.tgdemo-task{margin:20px 0;display:grid;gap:12px;padding:16px;border-radius:10px;background:#f4f8ff}
.tgdemo-task dt{font-size:11px;color:#52647d;margin-bottom:4px}
.tgdemo-task dd{font-size:13px;font-weight:650;margin:0;overflow-wrap:anywhere}
.tgdemo-reply{border-top:1px solid #dce7f4;padding-top:10px}
.tgdemo-reply p{font-size:13px}
.tgdemo-report{margin-top:20px;padding:24px;border:1px solid #dce7f4;border-radius:14px;background:#fff;display:grid;grid-template-columns:1fr 1.1fr;gap:20px;align-items:center}
.tgdemo-report h3{margin:0 0 8px}
.tgdemo-report p{font-size:12px;margin:0;color:#52647d}
.tgdemo-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}
.tgdemo-metrics div{padding:12px;border-radius:9px;background:#f1f6ff}
.tgdemo-metrics dt{font-size:11px;color:#52647d;line-height:1.4}
.tgdemo-metrics dd{font-size:29px;font-weight:750;color:#075dff;margin:8px 0 0;line-height:1}
.tgdemo-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:18px}
.tgdemo-footer p{font-size:12px;margin:0;max-width:680px;color:#415672}
.tgdemo-reset{border:1px solid #91a5c0;border-radius:8px;background:#fff;padding:12px 16px;font:inherit;font-size:12px;font-weight:650;color:#174ea6;cursor:pointer;flex-shrink:0}
.tgdemo-next{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:24px;margin-top:26px;border-top:1px solid #dce7f4}
.tgdemo-next p{max-width:660px;margin:0;font-size:14px}
@media(max-width:900px){.tgdemo-grid,.tgdemo-report{grid-template-columns:1fr}.tgdemo-next{align-items:start;flex-direction:column}}
@media(max-width:600px){.tgdemo{padding:18px;margin-top:8px;border-radius:14px}.tgdemo-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.tgdemo-panel,.tgdemo-report{padding:18px}.tgdemo-footer{align-items:start;flex-direction:column}.tgdemo-metrics{gap:6px}.tgdemo-metrics div{padding:10px}.tgdemo-metrics dd{font-size:26px}.tgdemo .tgstore-btn{width:100%}}
