/* Traxtic Operations OS V0.8.6.25 — visual compatibility freeze.
   Consolidated from retired behavior-patch styles; no runtime behavior lives here. */


/* source: src/compatibility/legacy-runtime/patches/styles/006_traxtic-v091-correction-css.css */

/* V0.9.1 — correction pass requested after V0.9.0 merge */
:root{--v091-body:15px;--v091-small:12px;--v091-micro:11px}
html{color-scheme:dark}
html,body,button,input,select,textarea{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
body{font-size:var(--v091-body)!important;line-height:1.58!important}
button,input,select,textarea{font-size:13px!important}
select{color-scheme:dark!important;background-color:var(--panel-soft)!important;color:var(--text)!important}
select option,select optgroup{background:#17191e!important;color:#f4f5f7!important}

/* Only the TF mark remains in the rail; hide every delayed/legacy dashboard wordmark before first paint. */
.brand-full-logo,#view-overview .calm-brand,#view-overview .lean-hero-logo,#view-overview .v5-hero-brand{display:none!important}
.rail-top.brand-lockup{justify-content:center!important;gap:0!important}
.rail-top .brand-copy{display:none!important}
.logo-image{margin-inline:auto!important}

/* Consistent readable type across all pages and operational surfaces. */
.page-head h1{font-size:clamp(36px,3.5vw,56px)!important;line-height:1.04!important}
.page-head p,.hero p,.card-sub,.lean-subtitle,.v071-copy,.inspector-section p,.data-source-note{font-size:14px!important;line-height:1.6!important}
.section-title,.card-title,.v071-head h2,.lean-block-head h2,.action-modal-title{font-size:19px!important;line-height:1.25!important}
.section-kicker,.eyebrow,.lean-eyebrow,.mini-label{font-size:11px!important;line-height:1.35!important}
.nav-copy,.resource-row strong,.row-label strong,.schedule-block strong,.gx-line-name,.gx-editor-context strong,.gx-canvas-head h3{font-size:13px!important;line-height:1.35!important}
.req-id,.req-customer,.req-meta,.inline-id,.inline-type,.inline-route,.inline-metric span,.inline-metric b,.inspector-title,.inspector-sub,.inspector-label,.inspector-value,.next-action small,.next-action strong{font-size:12px!important;line-height:1.45!important}
.dark-table th,.lean-table th,.queue-table th,.v071-table th,.gx-quote-table th,.workspace-table th{font-size:11px!important;line-height:1.4!important}
.dark-table td,.lean-table td,.queue-table td,.v071-table td,.gx-quote-table td,.workspace-table td{font-size:13px!important;line-height:1.5!important}
.status,.lean-status,.v071-status,.gx-line-status,.primary,.secondary,.lean-btn,.lean-mini-btn{font-size:12px!important}
.form-field label{font-size:11px!important}.form-field input,.form-field select,.form-field textarea{font-size:13px!important;min-height:42px!important}

/* Comparison and workflow modals were too small. */
.action-modal-card{width:min(860px,calc(100vw - 28px))!important}
.action-modal-head{padding:22px!important}.action-modal-body{padding:22px!important}
#actionModalTitle{font-size:28px!important;line-height:1.15!important}
#actionModalSub{font-size:13px!important}
.gx-compare-grid{gap:12px!important}.gx-compare-card{padding:15px!important;border-radius:15px!important}
.gx-compare-card h4{font-size:13px!important;margin:0 0 10px!important}
.gx-diff-row{font-size:11.5px!important;line-height:1.45!important;padding:9px 0!important}
.gx-diff-row span,.gx-diff-row b{font-size:11.5px!important}

/* Smart Preview route: departure and destination always opposite each other, including narrow screens. */
#inspector .inspector-route{display:block!important;padding:15px!important}
#inspector .v091-opposite-route{display:grid!important;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;width:100%!important}
#inspector .city-box{min-width:0!important;padding:12px!important;border-radius:15px!important}
#inspector .city-box small{font-size:10px!important;margin-bottom:5px!important}
#inspector .city-box strong{font-size:12px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
#inspector .route-destination{text-align:right!important}
#inspector .route-bridge{width:100%!important;height:2px!important;margin:0!important;background:linear-gradient(90deg,rgba(249,64,6,.55),rgba(249,64,6,.18))!important;border-radius:999px!important}
#inspector .route-bridge::after{width:8px!important;height:8px!important;right:0!important;top:50%!important;bottom:auto!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;border-top:2px solid rgba(249,64,6,.85)!important;border-right:2px solid rgba(249,64,6,.85)!important;transform:translateY(-50%) rotate(45deg)!important}

/* Live distance calculation in New Request. */
.v091-route-live{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--panel-soft)}
.v091-route-mark{display:grid;gap:5px;justify-items:center;min-width:52px;color:var(--text-faint);font-size:9px;font-weight:900;letter-spacing:.1em}.v091-route-mark i{width:10px;height:10px;border-radius:50%;background:#89939a;box-shadow:0 0 0 5px rgba(137,147,154,.08)}
.v091-route-live>div:nth-child(2) strong,.v091-route-live>div:nth-child(2) small,.v091-route-price small,.v091-route-price strong{display:block}.v091-route-live>div:nth-child(2) strong{font-size:13px}.v091-route-live>div:nth-child(2) small{margin-top:4px;color:var(--text-faint);font-size:11px;line-height:1.45}
.v091-route-price{min-width:130px;padding-left:13px;border-left:1px solid var(--line)}.v091-route-price small{font-size:10px;color:var(--text-faint)}.v091-route-price strong{font-size:12px;margin-top:4px}
#v091RouteRetry{min-height:38px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--text);font-size:11px;font-weight:800}
.v091-route-live.loading{border-color:rgba(127,169,255,.3);background:rgba(127,169,255,.055)}.v091-route-live.loading .v091-route-mark{color:var(--info)}.v091-route-live.loading .v091-route-mark i{background:var(--info);animation:signalPulse 1.45s ease-in-out infinite}
.v091-route-live.ready{border-color:rgba(102,221,162,.3);background:rgba(102,221,162,.055)}.v091-route-live.ready .v091-route-mark{color:var(--success)}.v091-route-live.ready .v091-route-mark i{background:var(--success);box-shadow:0 0 0 5px rgba(102,221,162,.1),0 0 15px rgba(102,221,162,.36)}
.v091-route-live.error{border-color:rgba(244,198,107,.3);background:rgba(244,198,107,.06)}.v091-route-live.error .v091-route-mark{color:var(--warning)}.v091-route-live.error .v091-route-mark i{background:var(--warning)}

/* Calendar: remove decorative red dots behind labels and improve event readability. */
#view-calendar .now-line::before,#view-calendar .schedule-block::before,#view-calendar .schedule-block::after,#view-calendar .resource-avatar::before,#view-calendar .resource-avatar::after{display:none!important;content:none!important}
#view-calendar .now-line{width:1px!important;box-shadow:none!important;background:rgba(249,64,6,.55)!important}
#view-calendar .now-line span{top:-18px!important;left:-15px!important;font-size:9px!important;padding:3px 6px!important;border-radius:6px!important}
#view-calendar .schedule-block{height:72px!important;padding:10px 11px!important;border-radius:13px!important;box-shadow:none!important}
#view-calendar .schedule-block strong{font-size:12px!important}#view-calendar .schedule-block span{font-size:11px!important}#view-calendar .schedule-block small{font-size:10px!important}
#view-calendar .resource-row{min-height:62px!important;padding:10px!important}.dispatch-sidebar .resource-state{box-shadow:none!important}

@media(max-width:760px){
  #inspector .v091-opposite-route{grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr)!important;gap:7px!important}
  #inspector .city-box{padding:10px 9px!important}
  #inspector .city-box strong{font-size:11px!important}
  .v091-route-live{grid-template-columns:1fr!important}.v091-route-mark{justify-items:start!important}.v091-route-price{padding-left:0!important;border-left:0!important}.v091-route-live button{width:100%!important}
  .gx-compare-grid{grid-template-columns:1fr!important}
}


/* source: src/compatibility/legacy-runtime/patches/styles/019_traxtic-v095-functional-polish-css.css */

/* V0.9.5 — concise section titles and fully interactive operational cards */
.view .page-head .eyebrow,.view .page-head>div>p{display:none!important}
#view-quotes .page-head .v071-save-state{display:none!important}
.v095-card-active{cursor:pointer!important;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.v095-card-active:hover{border-color:rgba(249,64,6,.34)!important;background-color:rgba(255,255,255,.025)!important}
.v095-card-active:focus-visible{outline:2px solid rgba(249,64,6,.65)!important;outline-offset:2px!important}
.v095-pdf-preview{width:100%;height:min(68vh,760px);border:0;border-radius:12px;background:#fff}
.v095-send-note{margin-top:10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;color:var(--text-faint);font-size:7px;line-height:1.55}


/* source: src/compatibility/legacy-runtime/patches/styles/021_traxtic-v097-final-css.css */

.v097-signature-preview{max-width:760px;overflow:auto;border:1px solid var(--line);border-radius:14px;background:#fff;padding:8px}
.v097-archive-note{margin-top:10px;padding:11px 13px;border:1px solid rgba(249,64,6,.22);border-radius:11px;background:rgba(249,64,6,.055);color:var(--text-faint);font-size:9px;line-height:1.5}
.v097-archive-note strong{color:var(--text)}
.v097-offer-ready{background:linear-gradient(135deg,#ff6334,#f23800)!important;border-color:#ff6d3e!important;color:#fff!important;box-shadow:0 8px 22px rgba(249,64,6,.22)!important}
#view-invoices .payment-progress{width:80px!important;min-width:80px!important;height:6px!important;min-height:6px!important;padding:0!important;border:0!important;border-radius:999px!important;background:rgba(255,255,255,.12)!important;display:block!important;overflow:hidden!important}
#view-invoices .payment-progress.v097-zero{height:22px!important;min-height:22px!important;border:1px solid var(--line)!important;background:rgba(255,255,255,.035)!important;display:grid!important;place-items:center!important;overflow:visible!important}
#view-invoices .payment-progress.v097-zero:after{content:"0 %";font-size:8px;font-weight:800;color:var(--text-faint);line-height:1}
#view-invoices .payment-progress.v097-zero.danger:after{color:var(--danger)}
#view-invoices .payment-progress.v097-zero i{display:none!important}
@media(max-width:720px){.v097-signature-preview table{min-width:680px}}


/* source: src/compatibility/legacy-runtime/patches/styles/038_traxtic-v07-final-stabilization-css.css */

/* Functional stabilization only: preserve approved layout and hide internal pricing controls. */
#view-quotes [data-golden-action="add-pricebook"],
#view-quotes [data-golden-action="add-custom-line"],
#view-quotes [data-golden-action="bulk-edit"],
#view-quotes [data-v071-pricebook],
#view-quotes [data-v071-add-item],
#view-quotes [data-v071-bulk-edit],
#view-quotes [data-v072-open-pricebook],
#view-quotes .v072-match-button{display:none!important}
#view-quotes .gx-line-source.v07-internal-source{display:none!important}
#goldenSendCenter .v07-email-only-action{border-color:rgba(249,64,6,.32)!important}


/* source: src/compatibility/legacy-runtime/patches/styles/050_traxtic-v0734-final-css.css */

/* V0.7.3.4 — final de-duplication patch. Visual structure remains unchanged. */
#view-quotes .v0734-restored-quote-table{width:100%!important;min-width:1080px!important;table-layout:fixed!important}
#view-quotes .v0734-restored-quote-table th{white-space:nowrap!important;text-transform:uppercase!important;letter-spacing:.08em!important}
#view-quotes .v0734-restored-quote-table th:nth-child(1){width:42px!important}
#view-quotes .v0734-restored-quote-table th:nth-child(2){width:15%!important}
#view-quotes .v0734-restored-quote-table th:nth-child(3){width:28%!important}
#view-quotes .v0734-restored-quote-table th:nth-child(4){width:14%!important}
#view-quotes .v0734-restored-quote-table th:nth-child(5){width:12%!important}
#view-quotes .v0734-restored-quote-table th:nth-child(6){width:14%!important}
#view-quotes .v0734-restored-quote-table th:nth-child(7){width:13%!important}
#view-quotes .v0734-restored-quote-table th:nth-child(8){width:11%!important}
.v0734-line-status{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border-radius:999px;border:1px solid rgba(110,215,167,.26);background:rgba(110,215,167,.08);color:#6ed7a7;font-weight:800;font-size:10px;white-space:nowrap}
.v0734-line-status.missing{border-color:rgba(249,64,6,.35);background:rgba(249,64,6,.08);color:#ff6941}
#view-request .v0734-pricing-table-wrap{overflow:auto}
#view-request .v0734-aligned-pricing-table{width:100%;min-width:960px;table-layout:fixed}
#view-request .v0734-aligned-pricing-table th{white-space:nowrap;text-transform:uppercase;letter-spacing:.08em}
#view-request .v0734-aligned-pricing-table th:nth-child(1){width:16%}
#view-request .v0734-aligned-pricing-table th:nth-child(2){width:30%}
#view-request .v0734-aligned-pricing-table th:nth-child(3){width:10%}
#view-request .v0734-aligned-pricing-table th:nth-child(4){width:11%}
#view-request .v0734-aligned-pricing-table th:nth-child(5){width:14%}
#view-request .v0734-aligned-pricing-table th:nth-child(6){width:13%}
#view-request .v0734-aligned-pricing-table th:nth-child(7){width:12%}
#view-request .v0734-offers-clean{width:100%;table-layout:fixed}
#view-request .v0734-offers-clean th:nth-child(1){width:10%}
#view-request .v0734-offers-clean th:nth-child(2){width:14%}
#view-request .v0734-offers-clean th:nth-child(3){width:14%}
#view-request .v0734-offers-clean th:nth-child(4){width:14%}
#view-request .v0734-offers-clean th:nth-child(5){width:48%}
#view-request .v0734-message-detail{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px 22px}
#view-request .v0734-message-detail>div,.v0734-message-detail>div{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel-soft)}
.v0734-message-detail span{display:block;color:var(--text-faint);font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}
.v0734-message-detail section{grid-column:1/-1;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--panel-soft)}
.v0734-message-detail section h3{margin:0 0 12px;font-size:17px}.v0734-message-detail section p{line-height:1.7;color:var(--text);margin:0 0 10px}
#view-request .v0732-message.sent:hover{background:rgba(255,255,255,.025)}
@media(max-width:900px){#view-request .v0734-message-detail{grid-template-columns:1fr}.v0734-message-detail section{grid-column:auto}}



/* source: src/compatibility/legacy-runtime/patches/styles/051_traxtic-v0735-final-patch-css.css */

/* V0.7.3.5 — Quote data restoration, calculation detail and compact Smart Preview. */
#view-quotes .v0735-quote-table{table-layout:fixed!important;min-width:1180px!important}
#view-quotes .v0735-quote-table th:nth-child(1){width:42px}
#view-quotes .v0735-quote-table th:nth-child(2){width:16%}
#view-quotes .v0735-quote-table th:nth-child(3){width:31%}
#view-quotes .v0735-quote-table th:nth-child(4){width:11%}
#view-quotes .v0735-quote-table th:nth-child(5){width:13%}
#view-quotes .v0735-quote-table th:nth-child(6){width:14%}
#view-quotes .v0735-quote-table th:nth-child(7){width:15%}
#view-quotes .v0735-quote-table td:nth-child(4),
#view-quotes .v0735-quote-table td:nth-child(6),
#view-quotes .v0735-quote-table td:nth-child(7),
#view-quotes .v0735-quote-table th:nth-child(4),
#view-quotes .v0735-quote-table th:nth-child(6),
#view-quotes .v0735-quote-table th:nth-child(7){text-align:right}
#view-quotes #v071QuoteMissing.v0735-missing-button{white-space:nowrap}
#view-request .v0735-pricing-table{width:100%;min-width:1050px;table-layout:fixed}
#view-request .v0735-pricing-table th:nth-child(1){width:18%}
#view-request .v0735-pricing-table th:nth-child(2){width:32%}
#view-request .v0735-pricing-table th:nth-child(3){width:11%}
#view-request .v0735-pricing-table th:nth-child(4){width:12%}
#view-request .v0735-pricing-table th:nth-child(5){width:14%}
#view-request .v0735-pricing-table th:nth-child(6){width:15%}
#view-request .v0735-pricing-table th:nth-child(n+3),#view-request .v0735-pricing-table td:nth-child(n+3){text-align:right}
#view-request .v0735-pricing-table .v0733-group-row td{text-align:left!important}
#view-request .v0735-pricing-table-wrap{overflow:auto;max-height:520px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#inspector .v0732-smart-docs.v0735-smart-actions-shell{margin-top:16px;padding:0;border:0;background:transparent}
#inspector .v0735-smart-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#inspector .v0735-smart-actions button{min-height:56px;border-radius:15px;font-weight:900}
#inspector .v0735-smart-actions button.primary{background:linear-gradient(135deg,#ff6339,#f23505);color:#fff;border-color:#ff6339;box-shadow:0 12px 28px rgba(249,64,6,.2)}
#inspector .v0735-responsible-name{cursor:pointer}
#inspector .v0735-responsible-name:hover{text-decoration:underline;text-underline-offset:3px}
.v0735-pdf-list{display:grid;gap:10px}
.v0735-pdf-list button{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--panel-soft);color:var(--text);text-align:left}
.v0735-pdf-list button i{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:rgba(249,64,6,.12);color:var(--accent);font-style:normal;font-size:10px;font-weight:900}
.v0735-pdf-list button span strong,.v0735-pdf-list button span small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v0735-pdf-list button span small{margin-top:4px;color:var(--text-muted);font-size:10px}
.v0735-pdf-list button b{font-size:11px}
@media(max-width:1100px){#view-quotes .v0735-quote-table,#view-request .v0735-pricing-table{min-width:920px}}
