#tp-widget{--tp-bg:#080a0d;--tp-bg-2:#0f141a;--tp-card:#0f1419;--tp-border:#232a34;--tp-border-soft:#1a2129;--tp-text:#e6ebf2;--tp-muted:#95a1b4;--tp-line:#ff6a1a;--tp-line-2:#ff9d52;--tp-good:#22c55e;--tp-bad:#ef4444;--tp-chip:#11161d;font-family:"Space Grotesk","Segoe UI",sans-serif;color:var(--tp-text);background:radial-gradient(1000px 400px at 0% 0%,#2d180c66 0%,transparent 50%),radial-gradient(800px 600px at 100% 100%,#0f273533 0%,transparent 55%),linear-gradient(180deg,#0a0d11 0%,#080a0d 100%);border:1px solid #2f1f14;border-radius:22px;padding:20px;box-shadow:0 20px 55px #00000055,inset 0 1px 0 #ffffff08;width:100%;box-sizing:border-box}#tp-widget *{box-sizing:border-box}#tp-widget .tp-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:16px}#tp-widget .tp-brand{flex:0 1 420px}#tp-widget .tp-head-center{flex:1 1 auto;display:flex;justify-content:center;align-items:center;min-width:0;padding:0 10px}#tp-widget .tp-logo{width:min(100%, 126px);height:auto;display:block;object-fit:contain;filter:drop-shadow(0 6px 16px rgba(0,0,0,.35))}#tp-widget .tp-brand h2{margin:0;font-size:26px;line-height:1;letter-spacing:-.3px;font-weight:700}#tp-widget .tp-brand p{margin:6px 0 0;color:var(--tp-muted);font-size:12px}#tp-widget .tp-brand-sign{margin-top:4px;font-size:11px;color:#c7d2e4}#tp-widget .tp-brand-sign a{color:#ffb380;text-decoration:none;font-weight:700}#tp-widget .tp-brand-sign a:hover{text-decoration:underline}#tp-widget .tp-actions{flex:0 0 auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}#tp-widget .tp-chip{background:var(--tp-chip);border:1px solid var(--tp-border);color:#c8d1df;border-radius:999px;padding:6px 10px;font-size:11px;white-space:nowrap}#tp-widget .tp-btn{border:1px solid #4a2c16;background:linear-gradient(180deg,#1b120c 0%,#130e0a 100%);color:#ffd6bb;border-radius:12px;padding:8px 12px;font-size:12px;font-weight:700;cursor:pointer;transition:transform .15s ease,box-shadow .2s ease,border-color .2s ease}#tp-widget .tp-btn:hover{transform:translateY(-1px);border-color:#e46926;box-shadow:0 8px 20px #ff6a1a2a}#tp-widget .tp-layout{display:grid;gap:14px;grid-template-columns:1fr}#tp-widget .tp-card{background:linear-gradient(180deg,#121820 0%,#0e141b 100%);border:1px solid var(--tp-border);border-radius:16px;padding:14px;min-width:0;box-shadow:inset 0 1px 0 #ffffff0a}#tp-widget .tp-title{margin:0 0 12px;font-size:13px;color:#d8e0ec;letter-spacing:.2px;font-weight:700;text-transform:uppercase}#tp-widget .tp-row{margin-bottom:12px}#tp-widget .tp-row:last-child{margin-bottom:0}#tp-widget .tp-row-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;gap:12px}#tp-widget .tp-label{color:var(--tp-muted);font-size:12px}#tp-widget .tp-tooltip{cursor:help;text-decoration:underline dotted #5e6b7e;position:relative}#tp-widget .tp-tooltip::before{content:attr(data-tooltip);position:absolute;bottom:100%;left:50%;transform:translateX(-50%) translateY(10px);margin-bottom:8px;width:200px;padding:8px 12px;border-radius:8px;background:#1c2128;border:1px solid #30363d;color:#e6edf3;font-size:11px;font-weight:400;line-height:1.4;text-align:center;white-space:normal;box-shadow:0 10px 30px rgba(0,0,0,.6);opacity:0;visibility:hidden;transition:all 0.2s ease;pointer-events:none;z-index:100}#tp-widget .tp-tooltip::after{content:'';position:absolute;bottom:100%;left:50%;transform:translateX(-50%) translateY(10px);margin-bottom:2px;border-width:6px;border-style:solid;border-color:#30363d transparent transparent transparent;opacity:0;visibility:hidden;transition:all 0.2s ease;z-index:100}#tp-widget .tp-tooltip:hover::before,#tp-widget .tp-tooltip:hover::after{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}#tp-widget .tp-value{font-size:12px;color:#f7f8fa;font-weight:700}#tp-widget .tp-value.bad{color:var(--tp-bad)}#tp-widget .tp-value.good{color:var(--tp-good)}#tp-widget input[type="range"]{width:100%;accent-color:var(--tp-line);cursor:pointer}#tp-widget .tp-number{width:100%;border-radius:10px;border:1px solid var(--tp-border);background:#0c1116;color:#f5f7fb;padding:9px 10px;font-size:13px;outline:none}#tp-widget .tp-number:focus{border-color:#e56926;box-shadow:0 0 0 3px #ff6a1a20}#tp-widget .tp-inline-number{margin-top:8px}#tp-widget .tp-custom-ratio{margin-top:8px;display:grid;gap:6px}#tp-widget .tp-helper{font-size:11px;color:var(--tp-muted)}#tp-widget .tp-save-btn{width:100%;margin-top:8px}#tp-widget .tp-save-status{margin:8px 0 0;font-size:11px;color:var(--tp-muted)}#tp-widget .tp-save-status.ok{color:#86efac}#tp-widget .tp-save-status.error{color:#fca5a5}#tp-widget .tp-input-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}#tp-widget .tp-input-grid .tp-row{margin-bottom:0}#tp-widget .tp-ratio{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}#tp-widget .tp-ratio button{border:1px solid var(--tp-border-soft);background:#111821;color:#cfd8e5;border-radius:10px;padding:8px;font-size:12px;font-weight:700;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease}#tp-widget .tp-ratio button.active{background:linear-gradient(180deg,#ff7b25 0%,#f45a0a 100%);color:#1c1007;border-color:#ff9f63}#tp-widget .tp-chart-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:10px}#tp-widget .tp-chart-head h3{margin:0;color:#f8fafc;font-size:21px;line-height:1.1;letter-spacing:-.2px}#tp-widget .tp-chart-head p{margin:4px 0 0;font-size:12px;color:var(--tp-muted)}#tp-widget .tp-projected{text-align:right;color:var(--tp-muted);font-size:11px}#tp-widget .tp-projected strong{display:block;color:#fff;font-size:28px;line-height:1;margin-top:4px}#tp-widget .tp-chart-wrap{height:322px;width:100%;position:relative}#tp-widget .tp-progress{margin-top:10px;border:1px solid var(--tp-border);border-radius:12px;padding:8px 10px;background:#0c1117}#tp-widget .tp-progress-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px}#tp-widget .tp-progress-row:last-child{margin-bottom:0}#tp-widget .tp-progress-label{font-size:12px;color:var(--tp-muted)}#tp-widget .tp-progress-value{font-size:12px;color:#fff;font-weight:700}#tp-widget .tp-bar{width:100%;height:8px;border-radius:999px;background:#141b24;overflow:hidden;border:1px solid #1f2731}#tp-widget .tp-bar>span{display:block;height:100%;width:0%;background:linear-gradient(90deg,#ff7a22 0%,#ffb16d 100%);box-shadow:0 0 20px #ff7a225c;transition:width .25s ease}#tp-widget .tp-metric-list{display:grid;gap:8px}#tp-widget .tp-metric{border:1px solid var(--tp-border);border-radius:11px;background:#0c1218;padding:10px;display:flex;justify-content:space-between;align-items:center;gap:8px}#tp-widget .tp-metric span{color:#a8b3c4;font-size:12px}#tp-widget .tp-metric strong{color:#fff;font-size:13px}#tp-widget .tp-status{margin-top:10px;border-radius:12px;border:1px solid #14532d7a;background:#052e1630;padding:10px}#tp-widget .tp-status.bad{border-color:#7f1d1d9a;background:#7f1d1d26}#tp-widget .tp-status h4{margin:0 0 3px;color:#86efac;font-size:13px}#tp-widget .tp-status.bad h4{color:#fca5a5}#tp-widget .tp-status p{margin:0;color:#cbd5e1;font-size:12px;line-height:1.45}#tp-widget .tp-kpi-grid{margin-top:10px;display:grid;grid-template-columns:repeat(2,1fr);gap:8px}#tp-widget .tp-kpi{border:1px solid var(--tp-border);background:#0b1117;border-radius:10px;padding:10px;display:flex;flex-direction:column;justify-content:space-between;min-height:85px}#tp-widget .tp-kpi small{display:block;color:var(--tp-muted);font-size:11px;margin-bottom:4px;line-height:1.3}#tp-widget .tp-kpi strong{font-size:14px;color:#fff}#tp-widget .tp-right-col{display:grid;gap:14px;align-content:start}@media (min-width:980px){#tp-widget .tp-layout{grid-template-columns:minmax(300px,360px) 1fr minmax(260px,320px);align-items:stretch}#tp-widget .tp-layout>.tp-card{height:100%;display:flex;flex-direction:column}#tp-widget .tp-right-col{grid-column:3;display:flex;flex-direction:column;height:100%;gap:14px}#tp-widget .tp-right-col .tp-card:last-child{flex-grow:1;display:flex;flex-direction:column}}@media (max-width:520px){#tp-widget{padding:14px;border-radius:16px}#tp-widget .tp-head{align-items:flex-start}#tp-widget .tp-head-center{order:3;width:100%;justify-content:flex-start;padding:4px 0 0}#tp-widget .tp-logo{width:min(100%, 84px)}#tp-widget .tp-brand h2{font-size:22px}#tp-widget .tp-input-grid{grid-template-columns:1fr}#tp-widget .tp-projected strong{font-size:23px}#tp-widget .tp-chart-wrap{height:260px}}