.tp-desk {
  --tp-line:#a0c7b528;--tp-muted:#a8b9b1;--tp-green:#94efaf;
  display:block;min-width:0;isolation:isolate;border:1px solid var(--tp-line);border-top-color:#b6e1c43d;
  border-radius:20px;padding:clamp(17px,2vw,30px);color:#f0f7f2;
  background:radial-gradient(ellipse 66% 85% at 100% 0%,#265c443b,transparent 85%),linear-gradient(135deg,#19241f,#131b18 65%,#121816);
  box-shadow:inset 0 1px #c4ffdb0b,0 10px 35px #0002;
}
.tp-desk [hidden]{display:none!important}
.tp-desk .tp-header,.tp-ticket-head,.tp-title,.tp-tabs,.tp-desk .tp-balance,.tp-desk .tp-send{display:flex;align-items:center}
.tp-desk .tp-header,.tp-ticket-head,.tp-desk .tp-balance,.tp-desk .tp-send{justify-content:space-between;gap:10px}
.tp-desk .tp-header{flex-wrap:wrap;row-gap:13px;padding-bottom:17px;border-bottom:1px solid var(--tp-line);margin-bottom:17px}
.tp-title{gap:11px;min-width:0}
.tp-emblem{height:42px;width:42px;display:grid;place-items:center;flex:none;border-radius:13px;border:1px solid #93d4ab55;
  color:#bdf2cc;background:linear-gradient(145deg,#5683634d,#20342b6e);box-shadow:inset 0 1px #eaffef20}
.tp-desk h2,.tp-desk h3,.tp-desk p,.tp-desk dl,.tp-desk dd{margin:0}
.tp-desk h2{font:620 clamp(18px,1.65vw,24px)/1.5 Vazirmatn,sans-serif;letter-spacing:-.03em}
.tp-title p{color:#b5c8be;font-size:12px}
.tp-tabs{border:1px solid #a8c5b429;border-radius:22px;background:#0a110e8c;padding:3px;gap:2px}
.tp-desk button.tp-tab{font:inherit;font-size:12px;line-height:1.4;min-height:32px;border:1px solid transparent;border-radius:18px;padding:4px 12px;background:none;color:#b5c7bc}
.tp-desk button.tp-tab[aria-pressed=true]{border-color:#a4d9b541;background:linear-gradient(#304839,#263c30);color:#d9f8e4}
.tp-desk :is(button,input,select,summary):focus-visible{outline:2px solid #a3f1b7;outline-offset:2px}
.tp-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(266px,1fr);gap:clamp(14px,2.2vw,32px);align-items:start}
.tp-editor,.tp-market-inputs,.tp-manual-inputs,.tp-budget,.tp-cost-grid,.tp-map-legend,.tp-values{display:grid;min-width:0}
.tp-editor{align-content:start;gap:11px}
.tp-market-inputs,.tp-manual-inputs,.tp-budget{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}
.tp-desk .tp-field{display:grid;min-width:0;gap:4px;font:480 12px/1.5 Vazirmatn,sans-serif;color:#d2e2d9}
.tp-desk .tp-field :is(input,select){
  box-sizing:border-box;width:100%;min-width:0;height:38px;border:1px solid #a5bfad36;border-radius:9px;
  box-shadow:inset 0 1px 3px #0003;background:#101915;color:#eef6f0;padding:5px 9px;
  font:500 13px/1.45 Vazirmatn,sans-serif;font-variant-numeric:tabular-nums;
}
.tp-desk .tp-field input{font-family:system-ui,sans-serif;text-align:left}
.tp-desk .tp-field input::placeholder{color:#8fa298}
.tp-desk .tp-field select{cursor:pointer}
.tp-desk .tp-note,.tp-desk .tp-message,.tp-costs p,.tp-desk .tp-foot{color:var(--tp-muted);font:440 12px/1.8 Vazirmatn,sans-serif}
.tp-desk .tp-note{padding:0 9px;border-inline-start:2px solid #72a78a86}
.tp-costs{margin-top:1px;border-top:1px solid var(--tp-line);border-bottom:1px solid var(--tp-line)}
.tp-costs summary{list-style:none;display:flex;align-items:center;gap:7px;cursor:pointer;padding:9px 0;color:#d4e1d9;font-size:12px}
.tp-costs summary svg{order:-1;color:#a5c9b1}
.tp-costs summary::after{content:'+';font:400 16px/1 system-ui,sans-serif;margin-inline-start:auto;color:#acbdb3}
.tp-costs[open] summary::after{content:'−'}
.tp-cost-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tp-costs p{margin:8px 0 10px}
.tp-ticket{min-width:0;position:relative;overflow:hidden;border:1px solid #a4ceae31;border-radius:15px;padding:16px;
  background:radial-gradient(ellipse at 5% 0%,#3e74532a,transparent 68%),linear-gradient(155deg,#14211b,#0d1411 73%);
  box-shadow:inset 0 1px #f1fff40b}
.tp-ticket h3{font-size:16px;line-height:1.5;font-weight:580}
.tp-checklist{display:grid;gap:11px;margin-top:10px}
.tp-check-step{display:flex;gap:8px;align-items:flex-start}
.tp-check-step svg{color:#9bceac;flex-shrink:0;margin-top:3px}
.tp-check-step strong{color:#dfebe2;font-size:12px;font-weight:580}
.tp-check-step p{color:var(--tp-muted);font:440 12px/1.7 Vazirmatn,sans-serif}
.tp-flag{color:#cbb999;border:1px solid #ceaf7432;background:#ac874214;font-size:10px;line-height:1.7;padding:1px 7px;border-radius:12px;white-space:nowrap}
.tp-flag[data-tone=active]{color:#a3ecb5;background:#71bc8814;border-color:#72bc893d}
.tp-desk .tp-balance{margin:9px 0 11px;padding-bottom:9px;border-bottom:1px solid var(--tp-line);color:var(--tp-muted);font-size:12px}
.tp-balance bdi,.tp-size bdi,.tp-values bdi,.tp-map-legend bdi{font-family:system-ui,sans-serif;font-variant-numeric:tabular-nums;direction:ltr}
.tp-balance bdi{color:#e7f5eb;font-weight:550}
.tp-size{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.tp-size small{font-size:12px;color:var(--tp-muted)}
.tp-size bdi{font-size:clamp(18px,1.6vw,25px);letter-spacing:-.04em}
.tp-map{direction:ltr;margin:12px 0}
.tp-map svg{display:block;width:100%;height:19px;overflow:visible}
.tp-map svg line{vector-effect:non-scaling-stroke;stroke:currentColor}
.tp-tick{color:#91ac9d52;stroke-width:1}.tp-segment{stroke-width:3}.tp-marker{stroke-width:2}
.tp-stop{color:#f39b96}.tp-target{color:#9de8b7}.tp-entry{color:#dae5dc}
.tp-map-legend,.tp-values{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tp-map-legend span{display:flex;flex-direction:column;align-items:flex-start}.tp-map-legend span:nth-child(2){align-items:center}.tp-map-legend span:last-child{align-items:flex-end}
.tp-map-legend small,.tp-values dt{font-size:10px}.tp-map-legend bdi{font-size:11px}
.tp-desk .tp-values{padding:7px 0;border-block:1px solid var(--tp-line);text-align:start}
.tp-values dt{color:var(--tp-muted)}.tp-values dd{font-size:13px}.tp-values div:first-child dd{color:#f2aaa4}.tp-values div:nth-child(2) dd{color:#a1edb5}
.tp-ticket .tp-message{margin:9px 0}
.tp-desk button.tp-send{width:100%;border:1px solid #8bdba45c;border-radius:9px;min-height:38px;padding:7px 11px;
  background:linear-gradient(130deg,#a8eab6,#78d7a2);color:#10291b;font:590 12px/1.6 Vazirmatn,sans-serif}
.tp-desk button.tp-send:disabled{cursor:default;opacity:1;background:#ffffff05;color:#92a397;border-color:#bfd3c415}
.tp-desk .tp-foot{display:flex;align-items:flex-start;gap:7px;padding-top:13px;margin-top:14px;border-top:1px solid var(--tp-line)}
.tp-foot svg{flex:none;margin-top:3px;color:#acc9b5}
@media(max-width:780px){.tp-grid{grid-template-columns:minmax(0,1fr)}.tp-ticket{padding:14px}}
@media(max-width:500px){.tp-desk{padding:15px;border-radius:15px}.tp-desk .tp-header{margin-bottom:13px;padding-bottom:13px}
  .tp-desk .tp-tab{padding-inline:10px}.tp-desk .tp-field :is(input,select){height:42px;font-size:14px}.tp-desk button.tp-send{min-height:43px}
  .tp-cost-grid{gap:5px}.tp-costs .tp-field{font-size:11px}.tp-title{gap:8px}.tp-emblem{width:37px;height:37px}}
@media(max-width:360px){.tp-desk{padding:12px}.tp-market-inputs,.tp-budget,.tp-manual-inputs{gap:7px}.tp-ticket{padding:11px}}
