/* v9.7 — integration layer: keep v6.10.22 operational depth inside the approved v9 visual language */
:root{--v97-wine:#8f2441;--v97-text:#20262b;--v97-muted:#6f7980;--v97-line:#e5e4e1;--v97-soft:#faf9f7}
.v97-op-context{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,minmax(130px,180px));gap:12px;align-items:stretch;margin:8px 0 18px;padding:18px 20px;border:1px solid var(--v97-line);border-radius:20px;background:#fff;box-shadow:0 14px 34px rgba(29,37,40,.045)}
.v97-op-context>div{min-width:0}.v97-op-copy{display:flex;flex-direction:column;justify-content:center;padding-right:8px}.v97-op-copy b{font-size:18px;line-height:1.25;color:var(--v97-text);margin-bottom:5px}.v97-op-copy span{font-size:13.5px;line-height:1.5;color:var(--v97-muted)}
.v97-op-context>div:not(.v97-op-copy){display:flex;flex-direction:column;justify-content:center;padding:12px 16px;border:1px solid #eceae7;border-radius:16px;background:#fcfbfa}.v97-op-context small{font-size:10px;font-weight:850;letter-spacing:.12em;color:#7d858a}.v97-op-context>div:not(.v97-op-copy)>b{font-size:25px;line-height:1.1;margin-top:6px;color:var(--v97-text)}
.v5-tabs{display:flex!important;gap:5px!important;width:max-content!important;max-width:100%!important;overflow:auto!important;padding:5px!important;margin:0 0 16px!important;border-radius:16px!important;background:#eeece9!important}.v5-tabs button{min-height:42px!important;padding:9px 16px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:#697278!important;font-size:13.5px!important;font-weight:780!important}.v5-tabs button.active{background:#fff!important;color:var(--v97-wine)!important;box-shadow:0 5px 14px rgba(31,38,42,.06)!important}
.v97-capture-back{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:10px 12px;border:1px solid var(--v97-line);border-radius:14px;background:#fff}.v97-capture-back span{font-size:12.5px;color:var(--v97-muted);font-weight:750}
#tripForm .card,#tripForm .stage,#tripForm .calc,#tripForm .calcbox{border-radius:18px!important;border-color:var(--v97-line)!important;box-shadow:0 8px 24px rgba(31,38,42,.035)!important}#tripForm .field label{font-size:12.5px!important;line-height:1.35!important;margin-bottom:6px!important}#tripForm input,#tripForm select,#tripForm textarea{min-width:0!important;max-width:100%!important;font-size:14px!important}#tripForm .fuel-entry{display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;gap:8px!important}#tripForm .fuel-entry>.btn{width:42px!important;min-width:42px!important;padding:0!important;font-size:17px!important}
.v6116-quick-card{margin-top:0!important}.v6116-quick-card h2{font-size:18px!important}.v6116-quick-select select{min-height:46px!important;font-size:14px!important}
.v97-operator-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:4px 0 14px}.v97-operator-head h2{margin:0;font-size:20px}.v97-operator-head p{margin:5px 0 0;color:var(--v97-muted);font-size:13px}.v97-primary b,.v97-block{display:block!important;line-height:1.25!important;margin:0 0 6px!important}.v97-primary small,.v97-meta{display:block!important;line-height:1.4!important;margin:4px 0 0!important;color:#7b858b!important;font-size:11.5px!important;overflow-wrap:anywhere!important}
.v9-table td>small,.table td>small,.v9-table td>.import-badge,.table td>.import-badge{display:block!important;margin-top:5px!important;line-height:1.4!important}.v9-table td>b,.table td>b{display:block!important;line-height:1.25!important;margin-bottom:4px!important}.v9-table td,.table td{vertical-align:middle!important;overflow-wrap:anywhere!important}.v9-table td *,.table td *{max-width:100%}
.v97-equipment-note{display:flex;flex-direction:column;gap:4px;margin:14px 0 0;padding:12px 14px;border-radius:14px;background:#f8f5f5;border:1px solid #eadfe2}.v97-equipment-note b{font-size:12px;color:var(--v97-wine)}.v97-equipment-note span{font-size:12.5px;line-height:1.5;color:#5f6a70;overflow-wrap:anywhere}
.v94-location-grid{grid-template-columns:minmax(240px,1.5fr) minmax(110px,.55fr) minmax(220px,1fr)!important;gap:12px!important}.v94-location-preview,.v97-location-status{display:flex!important;flex-direction:column!important;gap:3px!important;margin-top:10px!important;padding:10px 12px!important;border-radius:12px!important;background:#fbfaf9!important;color:#667177!important}.v94-location-preview b,.v97-location-status b{font-size:12.5px!important;color:#283137!important}.v94-location-preview span,.v97-location-status span{font-size:11.5px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
.v94-cp-location .v94-location-grid{grid-template-columns:minmax(230px,1.35fr) minmax(100px,.45fr) minmax(150px,.65fr) minmax(230px,1fr)!important}.v94-cp-location [data-k="address"]{grid-column:span 2}.v94-cp-location input[type="datetime-local"]{width:100%!important}
.modal{z-index:100000!important;align-items:flex-start!important;padding:18px!important;overflow:auto!important}.modalbox{position:relative!important;z-index:100001!important;overflow-x:hidden!important;overflow-y:auto!important;max-height:calc(100vh - 36px)!important;transform:none!important}.modalbox input[type="date"],.modalbox input[type="datetime-local"],.modalbox input[type="time"]{position:relative!important;z-index:2!important;width:100%!important;min-width:0!important;max-width:100%!important;color-scheme:light}.v9-doc-section,.v94-cp-location,.v94-good-row,.v94-concept-row{min-width:0!important;max-width:100%!important;overflow:visible!important}
.inline-check{display:flex!important;align-items:flex-start!important;gap:10px!important}.inline-check input[type="checkbox"]{width:18px!important;height:18px!important;min-width:18px!important;flex:0 0 18px!important;margin-top:1px!important}.inline-check span{font-size:13.5px!important;line-height:1.4!important}
@media(max-width:1200px){.v97-op-context{grid-template-columns:minmax(0,1fr) repeat(3,minmax(110px,145px))}.v94-location-grid{grid-template-columns:1fr 160px!important}.v94-location-grid .v94-map{grid-column:1/-1}.v94-cp-location .v94-location-grid{grid-template-columns:1fr 1fr!important}.v94-cp-location [data-k="address"]{grid-column:1/-1}}
@media(max-width:900px){.v97-op-context{grid-template-columns:1fr 1fr!important}.v97-op-copy{grid-column:1/-1}.v97-operator-head{flex-direction:column}.v97-operator-head .btn{width:100%}.formgrid.two-col,#tripForm .formgrid.two-col{grid-template-columns:1fr!important}.v94-location-grid,.v94-cp-location .v94-location-grid{grid-template-columns:1fr!important}.v94-location-grid .v94-map,.v94-cp-location [data-k="address"]{grid-column:auto!important}.modal{padding:8px!important;align-items:flex-end!important}.modalbox{width:100%!important;max-height:94vh!important;border-radius:22px 22px 12px 12px!important}.v5-tabs{width:100%!important}.v5-tabs button{flex:1 0 auto!important}.tablewrap,.v9-tablewrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}}
@media(max-width:560px){.v97-op-context{grid-template-columns:1fr 1fr!important;padding:14px!important}.v97-op-context>div:not(.v97-op-copy){padding:10px 12px}.v97-op-context>div:not(.v97-op-copy)>b{font-size:21px}.v97-op-copy b{font-size:16px}.v97-op-copy span{font-size:12.5px}.v97-capture-back{align-items:flex-start;flex-direction:column}.v94-good-row,.v94-concept-row{grid-template-columns:1fr!important}.v9-doc-sticky{grid-template-columns:1fr!important}.v9-doc-sticky .v9-btn,.v9-doc-sticky .btn{width:100%!important}}
.v97-smart-address,.v97-smart-station{grid-column:1/-1;min-width:0;margin-top:2px}.v97-smart-address>.v9-field{max-width:none}.v97-smart-location-status{margin-top:7px;padding:9px 11px;border:1px solid #ece8e5;border-radius:11px;background:#fbfaf9;color:#6e787e;font-size:11.5px;line-height:1.45;overflow-wrap:anywhere}.v97-smart-address input,.v97-smart-station input{width:100%;min-width:0;max-width:100%;height:46px;border:1px solid #dfe2df;border-radius:12px;padding:0 12px;background:#fff;font:inherit;color:#2d363b}.v97-smart-address input:focus,.v97-smart-station input:focus{outline:2px solid rgba(143,36,65,.12);border-color:#cdaeb7}
@media(max-width:900px){.v97-smart-station .formgrid.two-col{grid-template-columns:1fr!important}}
