.tv-page{--tv-purple:#72518f;--tv-ink:#30283d;--tv-muted:#796d84;--tv-line:#e7deed;--tv-green:#2f755b;--tv-amber:#9b640e;--tv-red:#ad4655;color:var(--tv-ink);max-width:1240px;margin:0 auto;padding:4px 0 32px}.tv-page *{box-sizing:border-box}.tv-page h1{font-size:28px;line-height:1.2;margin:8px 0}.tv-page h2{font-size:19px;line-height:1.3;margin:0 0 8px}.tv-page h3{font-size:15px;line-height:1.35;margin:0 0 6px}.tv-page p{line-height:1.5;margin:7px 0}.tv-page small{font-size:12px;line-height:1.45}.tv-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:16px}.tv-eyebrow{font-size:10px;font-weight:700;letter-spacing:.11em;color:var(--tv-purple);margin-top:16px!important}.tv-muted,.tv-source{color:var(--tv-muted);font-size:13px}.tv-source{border-top:1px solid var(--tv-line);padding-top:12px;line-height:1.5;margin-bottom:20px!important}.tv-date{min-width:240px}.tv-date label{display:block;margin-bottom:7px;font-size:12px;color:var(--tv-muted)}.tv-date>div{display:flex;gap:8px}.tv-page input,.tv-page textarea{font:inherit;border:1px solid var(--tv-line);border-radius:10px;background:white;color:var(--tv-ink);min-width:0}.tv-date input{padding:10px;flex:1;width:145px}.tv-button{border:1px solid var(--tv-line);border-radius:10px;padding:11px 15px;min-height:42px;background:#fff;color:var(--tv-purple);font:inherit;font-size:13px;font-weight:600;text-decoration:none;text-align:center;display:inline-flex;justify-content:center;align-items:center;gap:6px;cursor:pointer;line-height:1.35}.tv-button:hover{background:#f3edf8;border-color:#c9b5db}.tv-button:focus-visible,.tv-person:focus-visible{outline:3px solid #9e80b5;outline-offset:3px}.tv-primary{background:var(--tv-purple);color:#fff;border-color:var(--tv-purple)}.tv-primary:hover{background:#5f4079;color:#fff}.tv-button:disabled{opacity:.55;cursor:wait}.tv-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tv-person{padding:22px;text-align:left;background:white;border:1px solid var(--tv-line);border-radius:20px;box-shadow:0 5px 18px #40324f08;color:var(--tv-ink);font:inherit;cursor:pointer;min-width:0}.tv-person:hover{border-color:#b99fce;box-shadow:0 8px 22px #59407112}.tv-person-head{display:flex;gap:12px;align-items:center;margin-bottom:18px}.tv-person-head h2{margin:0;font-size:19px}.tv-person-head p{color:var(--tv-muted);font-size:12px;margin:4px 0 0}.tv-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 45px;height:45px;border-radius:15px;background:#efe6f5;color:var(--tv-purple);font-size:20px;font-weight:700}.tv-chevron{margin-left:auto;color:var(--tv-purple);font-size:26px}.tv-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tv-metric{border-radius:12px;padding:12px;background:#f7f4fa;min-width:0;display:flex;flex-direction:column;gap:8px}.tv-metric span{font-size:11px;line-height:1.35;color:var(--tv-muted)}.tv-metric strong{font-size:19px;line-height:1.3;overflow-wrap:anywhere}.tv-metric-debt{background:#fff7e9}.tv-metric-debt strong{color:var(--tv-amber)}.tv-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.tv-badge{display:inline-flex;border-radius:20px;padding:5px 9px;font-size:11px;line-height:1.35;font-weight:600;max-width:100%;width:fit-content}.tv-neutral{color:#746c7e;background:#f1eef4}.tv-purple{color:#74518f;background:#eee4f5}.tv-green{color:#2f755b;background:#e4f3eb}.tv-amber{color:#9b640e;background:#fff0d6}.tv-red{color:#ad4655;background:#fce7ea}.tv-person-foot{font-size:12px;color:var(--tv-muted);margin-top:14px!important}.tv-person-foot span{display:block;margin-top:11px;color:var(--tv-purple);font-weight:600}.tv-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0}.tv-detail-heading h2{font-size:25px;margin-bottom:0}.tv-detail-heading .tv-eyebrow{margin:0 0 5px!important}.tv-steps{padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.tv-steps li{display:flex;gap:11px;border:1px solid var(--tv-line);border-radius:14px;padding:14px;background:#fff;min-width:0}.tv-steps li>span{flex:0 0 26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#eee5f5;color:var(--tv-purple);font-size:12px;font-weight:700}.tv-steps li>div{display:flex;align-items:flex-start;flex-direction:column;gap:8px;min-width:0}.tv-steps b{font-size:13px}.tv-steps small{color:var(--tv-muted)}.tv-detail-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.tv-detail-metrics .tv-metric{padding:16px}.tv-detail-metrics strong{font-size:25px}.tv-panel{padding:22px;border:1px solid var(--tv-line);border-radius:17px;background:white;margin-bottom:16px;min-width:0}.tv-panel-title{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:8px;flex-wrap:wrap}.tv-panel-title h2{margin:0}.tv-car-panel{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(100deg,#fff,#f6f0fa)}.tv-car-panel .tv-button{flex-shrink:0}.tv-detail-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px}.tv-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.tv-money-row{padding:14px 0;border-bottom:1px solid var(--tv-line)}.tv-money-row:last-child{border-bottom:0}.tv-money-row dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 0}.tv-money-row dt{font-size:10px;color:var(--tv-muted);margin-bottom:5px}.tv-money-row dd{margin:0;font-weight:700;font-size:14px;overflow-wrap:anywhere}.tv-amber-text{color:var(--tv-amber)}.tv-red-text{color:var(--tv-red)}.tv-shipment{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-top:1px solid var(--tv-line)}.tv-shipment:first-child{border-top:0}.tv-shipment>div{min-width:0}.tv-shipment>div:last-child{text-align:right;flex:0 0 128px}.tv-shipment p,.tv-shipment small{font-size:12px;color:var(--tv-muted);display:block;line-height:1.5}.tv-shipment strong{font-size:17px}.tv-shipment .tv-button{margin-top:8px;padding:6px 11px;min-height:34px}.tv-depot{padding:13px 15px;background:#f4eef8;border-radius:11px;margin:16px 0;color:var(--tv-purple);font-size:13px}.tv-depot p{font-size:12px}.tv-depot small{color:var(--tv-amber)}.tv-route{list-style:none;padding:0;margin:18px 0}.tv-route li{display:flex;gap:12px;margin:0;padding:0 0 22px;position:relative}.tv-route li:before{content:'';position:absolute;left:13px;top:27px;bottom:0;width:1px;background:var(--tv-line)}.tv-route li:last-child:before{display:none}.tv-route-number{width:27px;height:27px;border-radius:9px;background:#eee5f5;color:var(--tv-purple);font-size:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.tv-route b{font-size:13px}.tv-route p{font-size:12px;margin:5px 0;color:var(--tv-muted)}.tv-route small{color:var(--tv-muted);font-size:11px}.tv-notice{padding:13px 16px;border-radius:11px;background:#fff3df;border:1px solid #f3deba;color:#8a601f;font-size:13px;line-height:1.5;margin-bottom:16px}.tv-confirm{padding:13px 16px;border-radius:11px;background:#e8f5ee;color:var(--tv-green);font-size:13px}.tv-accept{padding:8px;max-width:560px}.tv-accept label:not(.tv-checkbox){display:block;margin:16px 0 7px;font-size:13px;font-weight:600}.tv-accept input:not([type=checkbox]),.tv-accept textarea{width:100%;padding:12px}.tv-accept textarea{min-height:82px;resize:vertical}.tv-accept form>.tv-button{width:100%;margin-top:15px}.tv-accept .tv-money-row dl{grid-template-columns:repeat(3,minmax(0,1fr))}.tv-checkbox{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.5}.tv-checkbox input{width:20px;height:20px;flex-shrink:0;margin-top:0;accent-color:var(--tv-purple)}.vehicle-readiness{margin:16px 0}.vehicle-readiness ul{list-style:none;padding:0;display:grid;gap:10px}.vehicle-readiness li{padding:11px 13px;border:1px solid #e7deed;border-radius:10px;background:#fff;display:flex;gap:10px;align-items:flex-start}.vehicle-readiness .vr-state{border-radius:50%;width:23px;height:23px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#fff0d6;color:#9b640e;font-size:12px}.vehicle-readiness .vr-ok{background:#e4f3eb;color:#2f755b}.vehicle-readiness small{display:block;color:#796d84;font-size:12px;margin-top:4px}.vehicle-readiness .vehicle-readiness-actions{display:flex;flex-wrap:wrap;gap:8px}.vehicle-readiness .vehicle-readiness-actions button{flex:1;min-width:150px}
@media(max-width:800px){.tv-overview{grid-template-columns:1fr}.tv-detail-grid{grid-template-columns:1fr}.tv-steps{gap:8px}.tv-steps li{padding:12px;gap:8px}.tv-steps li>span{flex-basis:22px;height:22px}.tv-detail-metrics strong{font-size:21px}.tv-car-panel{align-items:stretch;flex-direction:column;gap:8px}.tv-car-panel .tv-button{align-self:flex-start}}@media(max-width:480px){.tv-header{align-items:stretch;flex-direction:column;gap:12px}.tv-header h1{font-size:26px}.tv-date{width:100%;min-width:0}.tv-date input{flex:1}.tv-person{padding:17px}.tv-person-head{margin-bottom:15px}.tv-metrics{gap:6px}.tv-metric{padding:10px 8px}.tv-metric strong{font-size:17px}.tv-metric span{font-size:10px}.tv-detail-heading{align-items:flex-start;flex-direction:column;gap:9px}.tv-detail-heading h2{font-size:22px}.tv-steps{grid-template-columns:1fr}.tv-steps li{padding:12px}.tv-steps li>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center;width:100%}.tv-steps small{grid-column:1/-1}.tv-steps .tv-badge{font-size:10px;max-width:138px}.tv-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tv-detail-metrics .tv-metric{padding:12px}.tv-detail-metrics strong{font-size:22px}.tv-panel{padding:17px}.tv-money-row dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.tv-money-row dd{font-size:15px}.tv-shipment{gap:12px}.tv-shipment>div:last-child{flex-basis:112px}.tv-actions>.tv-button{flex:1 1 140px}.tv-car-panel .tv-button{width:100%}.tv-source{font-size:11px}.tv-route{margin-bottom:0}.tv-accept .tv-money-row dd{font-size:13px}.tv-accept .tv-money-row dt{font-size:10px}}
.tv-tabs{display:flex;gap:8px;margin:18px 0;flex-wrap:wrap}.tv-tab-active{background:#72518f;color:white;border-color:#72518f}.tv-history{display:flex;justify-content:space-between;gap:18px;border-top:1px solid #e7deed;padding:17px 0}.tv-history:first-of-type{border-top:0}.tv-history>div:last-child{text-align:right}.tv-history small{display:block;line-height:1.5;color:#796d84;margin:7px 0}.tv-history .tv-button{margin-top:8px}.tv-plan{border-top:1px solid #e7deed;padding:15px 0}.tv-plan li{padding:7px 0;font-size:13px}.tv-plan .tv-badge{margin-left:7px}@media(max-width:480px){.tv-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tv-tabs .tv-button{padding:10px 5px}.tv-history{flex-direction:column;gap:5px}.tv-history>div:last-child{text-align:left}}
.tv-header{padding:0}.tv-tabs{position:static;transform:none;width:auto;border:0;background:transparent;padding:0;justify-content:flex-start;z-index:auto}.tv-tabs .tv-button{flex:0 1 auto;font-size:13px}.tv-tabs .tv-button:hover{color:#72518f}body:has(#screen .tv-page) #app{max-width:1280px}@media(max-width:480px){.tv-tabs .tv-button{width:100%}}

.tv-money-list .tv-money-row dl{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:480px){.tv-money-list .tv-money-row dl{grid-template-columns:repeat(2,minmax(0,1fr))}}

.tv-money-list .tv-money-row dl{grid-template-columns:repeat(3,minmax(0,1fr))}.tv-surplus{padding:12px 14px;background:#fce7ea;color:#ad4655;border:1px solid #f3c7ce;border-radius:10px}.tv-surplus strong{display:block;font-size:14px}.tv-surplus span{display:block;font-size:12px;line-height:1.5;margin-top:5px}@media(max-width:480px){.tv-money-list .tv-money-row dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
