:root{--bg:#07111f;--panel:#0f1d2f;--panel2:#15263a;--line:#29405b;--text:#eef6ff;--muted:#9db0c6;--blue:#2898ff;--green:#35d07f;--yellow:#ffc857;--orange:#ff8a3d;--red:#ff5f67;--gray:#8492a6}
*{box-sizing:border-box}body{margin:0;background:linear-gradient(145deg,#06101d,#0b1829 50%,#07111f);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif}.topbar{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom:1px solid var(--line);background:#091624eF;position:sticky;top:0;z-index:20;backdrop-filter:blur(8px)}h1{margin:0;font-size:22px}.topbar p{margin:3px 0 0;color:var(--muted);font-size:13px}.top-actions{display:flex;gap:8px;flex-wrap:wrap}button,.file-btn{border:1px solid #365574;background:#17314c;color:#fff;border-radius:9px;padding:9px 12px;font-weight:700;cursor:pointer}button:hover,.file-btn:hover{filter:brightness(1.15)}.danger-outline{border-color:#7d3440;background:#281821}nav{display:flex;gap:6px;padding:10px 18px;background:#0b1726;border-bottom:1px solid var(--line);overflow:auto;position:sticky;top:75px;z-index:19}nav button{white-space:nowrap;background:transparent;border-color:transparent;color:var(--muted)}nav button.active{background:#1b3b5b;color:white;border-color:#3c6f9d}main{padding:18px}.toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:14px;flex-wrap:wrap}.toolbar h2{margin:0}.toolbar .left,.toolbar .right{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.primary{background:#1678d2;border-color:#3097ef}.success{background:#17814b;border-color:#35d07f}.danger{background:#8d2731;border-color:#ff5f67}.muted{color:var(--muted)}.card{background:rgba(15,29,47,.94);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 30px #0004;overflow:hidden}.table-wrap{overflow:auto;max-height:calc(100vh - 190px)}table{border-collapse:separate;border-spacing:0;width:100%;min-width:1550px}th,td{padding:8px 9px;border-right:1px solid #22374e;border-bottom:1px solid #22374e;font-size:12px;vertical-align:middle}th{position:sticky;top:0;background:#18314c;color:#d9edff;text-align:left;z-index:3}tr:hover td{background:#12263c}td input,td select,td textarea,.modal input,.modal select,.modal textarea{width:100%;background:#091625;border:1px solid #36516d;color:#fff;border-radius:6px;padding:7px;font:inherit}td textarea{min-height:38px;resize:vertical}.collision{background:#681f2a!important;color:#fff;font-weight:800}.status-pill{display:inline-block;padding:4px 8px;border-radius:999px;font-weight:800;font-size:11px}.s-blue{background:#123f69;color:#8fd0ff}.s-yellow{background:#614d16;color:#ffe28d}.s-orange{background:#653513;color:#ffc18d}.s-green{background:#124e36;color:#87f3bd}.s-red{background:#66202a;color:#ffadb2}.s-gray{background:#344153;color:#d2dae5}.icon-btn{padding:5px 8px;font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px;margin-bottom:14px}.stat{padding:14px;border-radius:12px;background:#10243a;border:1px solid var(--line)}.stat strong{display:block;font-size:24px}.stat span{color:var(--muted);font-size:12px}.tv{padding:10px;background:#02070e;min-height:calc(100vh - 120px)}.tv-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tv-panel{border:2px solid #2b4b68;border-radius:12px;overflow:hidden;background:#08131f;min-height:41vh}.tv-title{padding:10px 14px;font-size:20px;font-weight:900;letter-spacing:.6px;background:#163651}.tv-title.colo{background:#115587}.tv-title.export{background:#734115}.tv-title.domestic{background:#176147}.tv-title.technical{background:#6d2831}.tv-table{width:100%;min-width:0}.tv-table th{position:static;background:#102538;font-size:12px}.tv-table td{font-size:14px;padding:7px}.tv-table tr:nth-child(even) td{background:#0b1b2b}.empty{padding:30px;text-align:center;color:var(--muted)}.fleet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.fleet-col h3{margin:0;padding:12px;background:#18314c}.fleet-item{display:grid;grid-template-columns:1.2fr 1fr .8fr;gap:6px;padding:8px;border-bottom:1px solid #22374e;align-items:center}.fleet-item.busy{background:#4f2027}.fleet-item.manual{background:#4a3b18}.modal-backdrop{position:fixed;inset:0;background:#000a;display:grid;place-items:center;z-index:50;padding:20px}.modal{width:min(900px,100%);max-height:92vh;overflow:auto;background:#0f1d2f;border:1px solid #3e5d7c;border-radius:16px;padding:18px}.modal h2{margin-top:0}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.form-grid label{font-size:12px;color:var(--muted)}.form-grid label span{display:block;margin-bottom:5px}.span-2{grid-column:span 2}.span-3{grid-column:span 3}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.search{max-width:280px;background:#091625;border:1px solid #36516d;color:white;border-radius:8px;padding:9px}#toast{position:fixed;right:20px;bottom:20px;background:#16324b;color:white;padding:12px 16px;border-radius:9px;opacity:0;transform:translateY(10px);transition:.2s;z-index:100}#toast.show{opacity:1;transform:none}@media(max-width:1100px){.stats{grid-template-columns:1fr 1fr}.fleet-grid,.tv-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.span-2,.span-3{grid-column:auto}nav{top:103px}}@media(max-width:650px){.topbar{align-items:flex-start;gap:10px;flex-direction:column}nav{top:145px}.stats{grid-template-columns:1fr}.top-actions{width:100%}main{padding:10px}}

.leave-mini{font-size:10px;color:var(--muted);margin-top:3px}.fleet-item{grid-template-columns:1.2fr 1fr 1.15fr}.fleet-item .icon-btn{margin-top:5px}

.combo-wrap{position:relative}.combo-wrap input{padding-right:30px}.combo-hint{margin:-4px 0 14px;color:var(--muted);font-size:12px;background:#0a1726;border:1px solid var(--line);padding:9px 11px;border-radius:8px}input[type="datetime-local"]{color-scheme:dark}

/* v1.4 */
.tv .toolbar{justify-content:center;position:relative;text-align:center}.tv .toolbar .left{display:block;text-align:center}.tv .toolbar button{position:absolute;right:0}.tv-title{position:relative;text-align:center}.tv-corner-label{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:12px;padding:4px 8px;border-radius:999px;background:#08131f;border:1px solid #ffffff55}.tv-table th,.tv-table td{text-align:center}.order-controls{display:flex;gap:4px;justify-content:center;white-space:nowrap}.order-btn{padding:4px 7px;min-width:30px}.driver-mono{width:62px!important;text-transform:uppercase;text-align:center}.fleet-item.driver-row{grid-template-columns:1.25fr .65fr 1fr 1.2fr}.tv-section-label{font-weight:900;letter-spacing:.5px}.tv-title-wrap{text-align:center;width:100%}

/* V1.5 – holnapi import lerakás figyelmeztetés */
.tomorrow-unload-row td{background:linear-gradient(90deg,#6a240f,#4c1715)!important;border-top:2px solid #ffb020;border-bottom:2px solid #ffb020;animation:tomorrowPulse 2.2s ease-in-out infinite}
.tomorrow-unload-row:hover td{background:linear-gradient(90deg,#7a2b10,#5b1b17)!important}
.tomorrow-alert{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;margin:3px auto;padding:5px 8px;border-radius:8px;background:#ffb020;color:#241200;font-size:11px;font-weight:900;line-height:1.15;text-align:center;box-shadow:0 0 0 2px #fff3 inset,0 0 14px #ff9d0066}
.tomorrow-alert-icon{font-size:15px}.tomorrow-alert span:last-child{white-space:nowrap}
.tv-table .tomorrow-alert{display:flex;margin-top:5px;font-size:10px}.tv-table .tomorrow-unload-row td{font-weight:800}
@keyframes tomorrowPulse{0%,100%{filter:brightness(1)}50%{filter:brightness(1.16)}}
@media (prefers-reduced-motion:reduce){.tomorrow-unload-row td{animation:none}}

/* V1.6 – sofőr mező és monogram */
.driver-combo input{padding-right:72px}.driver-mono-preview{position:absolute;right:9px;top:50%;transform:translateY(-50%);min-width:38px;text-align:center;font-weight:900;letter-spacing:.06em;color:#fff;background:#245a87;border:1px solid #3977aa;border-radius:7px;padding:4px 6px;pointer-events:none}.mono-table{display:block;font-size:14px;letter-spacing:.06em}.driver-fullname{display:block;margin-top:3px;color:var(--muted);font-size:10px;white-space:nowrap}

.planned-collision{background:#5a4716!important;color:#ffe596;font-weight:800}.trailer-wrap{position:relative;display:inline-flex;align-items:center;gap:5px;min-width:68px}.mega-badge{display:inline-block;background:#9b5a00;color:#fff2c7;border:1px solid #f0ae38;border-radius:4px;padding:1px 4px;font-size:9px;font-weight:900;line-height:1.2}.mega-mini{margin-left:4px;background:#9b5a00;color:#fff2c7;border-radius:3px;padding:1px 3px;font-size:8px}.tv-fleet-panel{grid-column:1/-1;min-height:auto;margin-top:10px}.tv-title.fleet{background:#31445d;text-align:center}.tv-fleet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:10px}.tv-fleet-group{background:#0b1b2b;border:1px solid #28435e;border-radius:9px;padding:8px}.tv-fleet-group h4{text-align:center;margin:0 0 7px}.tv-fleet-counts{display:flex;justify-content:center;gap:5px;flex-wrap:wrap}.tv-fleet-counts span{padding:3px 6px;border-radius:999px;font-size:10px;font-weight:900}.tv-fleet-list{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px;justify-content:center}.tv-fleet-list>span{background:#102b43;border:1px solid #294d69;border-radius:5px;padding:2px 5px;font-size:10px}.tv-fleet-list em{color:var(--muted);font-size:11px}@media(max-width:1100px){.tv-fleet-grid{grid-template-columns:1fr}}

/* V1.8 QoL */
.qol-alert{background:#6a240f;border:1px solid #ff9d00;color:#ffd9a0;padding:8px 11px;border-radius:9px;font-weight:900}.location-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px;padding:12px}.location-item{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#10243a;border:1px solid var(--line);border-radius:9px;padding:10px}.tv-note{margin-top:5px;padding:4px 6px;background:#183a58;border:1px solid #3d6f95;border-radius:5px;font-size:10px;font-weight:800}.toolbar .right select.search{max-width:170px}
.unload-badge{display:block;width:max-content;margin:4px auto 0;padding:2px 6px;border-radius:6px;font-weight:900;font-size:11px;line-height:1.2;border:1px solid currentColor;background:rgba(255,255,255,.06)}
.export-badge{color:#ffb347}.import-badge{color:#ff5c67}.route-done{display:inline-block;padding:4px 7px;border-radius:7px;background:rgba(29,185,84,.16);color:#6fe99a;font-weight:900;border:1px solid rgba(111,233,154,.45)}
.check-pill{display:inline-block;padding:4px 7px;border-radius:7px;background:rgba(255,255,255,.07);font-weight:800}.check-pill.done{background:rgba(29,185,84,.18);color:#6fe99a}
.tv-driver-mini{font-size:11px;font-weight:900;opacity:.85;margin-top:3px}

/* V1.10 előhúzás + TV rendszám/MEGA elrendezés */
.trailer-wrap{display:inline-flex!important;flex-direction:column!important;align-items:center!important;gap:2px!important;white-space:nowrap!important}.plate-nowrap{white-space:nowrap!important;word-break:keep-all!important;display:block}.mega-badge{display:block!important;margin:2px auto 0!important;width:max-content}.prepull-badge{margin-top:4px;padding:2px 5px;border-radius:5px;background:#5a4716;color:#ffe596;border:1px solid #a8892f;font-size:9px;font-weight:800;white-space:nowrap}.prepull-extra{display:none}.tv-table td{overflow-wrap:normal;word-break:normal}.tv-table td .plate-nowrap{font-size:inherit}

/* ===== TIMX BÉTA 2.0 ===== */
input,select,textarea{color:#fff!important;color-scheme:dark!important;background-color:#091625!important}
input::selection,textarea::selection{background:#2b79b9!important;color:#fff!important}
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus{-webkit-text-fill-color:#fff!important;-webkit-box-shadow:0 0 0 1000px #091625 inset!important}
input[type="date"]::-webkit-calendar-picker-indicator,input[type="time"]::-webkit-calendar-picker-indicator,input[type="datetime-local"]::-webkit-calendar-picker-indicator{filter:invert(1) brightness(2)!important;opacity:1!important;cursor:pointer}
option{background:#091625;color:#fff}
.yellow-note,.yellow-note-cell{background:#5b4a0f!important;color:#ffe56f!important;border-color:#c5a927!important;font-weight:900!important}
.cooler-badge{display:block;margin:2px auto 0;width:max-content;background:#0e5f9e;color:#d9f3ff;border:1px solid #48b6ff;border-radius:4px;padding:1px 4px;font-size:9px;font-weight:900;line-height:1.2}
.vehicle-person{display:flex;flex-direction:column;align-items:center;gap:2px;white-space:nowrap}.person-mono{display:block;background:#245a87;border:1px solid #3977aa;border-radius:5px;padding:1px 5px;font-size:10px;font-weight:900;line-height:1.15}.person-mono.inline{display:inline-block;margin-left:5px;vertical-align:middle}.tractor-driver-line{white-space:nowrap;display:flex;align-items:center;justify-content:center}.tiny-date{display:block;color:#b9cce0;font-size:9px;margin-top:2px;white-space:nowrap}.date-range{display:block;margin-top:2px;color:#ffd16b;font-size:9px;font-weight:900;white-space:nowrap}.route-compact{line-height:1.1}.route-compact>span:first-child{display:block;white-space:normal}.tv-menu-button{display:none;position:fixed;top:8px;right:8px;z-index:100;background:#17314c;font-size:18px;padding:6px 10px}
.tv-panel{min-height:0}.fixed-tv-grid{grid-template-rows:minmax(0,1fr) minmax(0,1fr);height:calc(100vh - 245px);overflow:hidden}.fixed-tv-grid .tv-panel{height:100%;overflow:hidden}.fixed-tv-grid .tv-table{table-layout:fixed;height:auto}.fixed-tv-grid .tv-table th,.fixed-tv-grid .tv-table td{padding:4px 5px;font-size:11px;line-height:1.08}.fixed-tv-grid .tv-title{padding:6px 10px;font-size:16px}.density-medium .tv-table th,.density-medium .tv-table td{padding:3px 4px;font-size:10px}.density-medium .status-pill{font-size:9px;padding:2px 4px}.density-small .tv-table th,.density-small .tv-table td{padding:2px 3px;font-size:9px}.density-small .status-pill,.density-small .prepull-badge,.density-small .tv-note{font-size:8px;padding:1px 3px;margin-top:1px}.density-small .tv-title{font-size:13px;padding:4px}.density-xsmall .tv-table th,.density-xsmall .tv-table td{padding:1px 2px;font-size:7.5px}.density-xsmall .status-pill,.density-xsmall .prepull-badge,.density-xsmall .tv-note,.density-xsmall .date-range,.density-xsmall .tiny-date,.density-xsmall .person-mono{font-size:7px;padding:1px 2px;margin-top:0}.density-xsmall .tv-title{font-size:11px;padding:3px}.density-xsmall .tomorrow-alert{font-size:7px;padding:1px 2px;margin:1px 0}.tv-fleet-panel{margin-top:6px}.tv-fleet-grid{padding:5px;gap:5px}.tv-fleet-group{padding:4px}.tv-fleet-group h4{font-size:11px;margin-bottom:3px}.tv-fleet-list{max-height:34px;overflow:hidden;margin-top:3px}.tv-fleet-list>span{font-size:8px;padding:1px 3px}.tv-fleet-counts span{font-size:8px;padding:1px 4px}
body.tv-fullscreen{overflow:hidden}.tv-fullscreen .topbar,.tv-fullscreen nav{display:none!important}.tv-fullscreen main{padding:0!important;height:100vh;overflow:hidden}.tv-fullscreen .tv{height:100vh;min-height:100vh;padding:4px;overflow:hidden}.tv-fullscreen .tv-toolbar{display:none}.tv-fullscreen .tv-menu-button{display:block}.tv-fullscreen .fixed-tv-grid{height:calc(100vh - 105px);gap:4px}.tv-fullscreen .tv-panel{border-width:1px;border-radius:5px}.tv-fullscreen .tv-fleet-panel{height:96px;margin-top:4px;overflow:hidden}.tv-fullscreen.tv-menu-open nav{display:flex!important;position:fixed!important;top:0!important;left:0;right:50px;z-index:99}.tv-fullscreen.tv-menu-open main{padding-top:50px!important}.tv-fullscreen.tv-menu-open .fixed-tv-grid{height:calc(100vh - 155px)}
@media (min-width:2500px){.fixed-tv-grid .tv-table th,.fixed-tv-grid .tv-table td{font-size:13px}.density-small .tv-table th,.density-small .tv-table td{font-size:10px}.density-xsmall .tv-table th,.density-xsmall .tv-table td{font-size:8px}}

/* ===== ÁKOS vezetői dashboard – mobil-first ===== */
.akos-dashboard{max-width:1500px;margin:0 auto}.akos-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:18px 20px;border:1px solid #28435e;border-radius:16px;background:linear-gradient(135deg,#102a43,#0b1725)}.akos-head p{margin:0;color:#69b9ef;font-weight:900;letter-spacing:.12em;font-size:11px}.akos-head h2{font-size:34px;margin:3px 0}.akos-head span{color:#b9cce0}.akos-head button{min-width:110px}.akos-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.akos-metric{position:relative;min-height:128px;padding:14px;border-radius:15px;border:1px solid #28435e;background:#0d2033;text-align:center;overflow:hidden}.akos-metric[onclick]{cursor:pointer}.akos-metric .akos-icon{font-size:26px}.akos-metric>strong{display:block;font-size:34px;line-height:1;margin:5px 0}.akos-metric>span{display:block;color:#c4d4e5;font-weight:800;font-size:12px;text-transform:uppercase}.akos-metric.blue{border-bottom:4px solid #3aa7f2}.akos-metric.green{border-bottom:4px solid #37cb78}.akos-metric.orange{border-bottom:4px solid #f2a93b}.akos-metric.purple{border-bottom:4px solid #a276e8}.akos-metric.red{border-bottom:4px solid #ef5b65}.akos-detail{display:none;margin-top:10px;padding-top:8px;border-top:1px solid #ffffff18;color:#d9e6f2;font-size:11px;line-height:1.5}.akos-metric.open .akos-detail{display:block}.akos-sources{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0}.akos-source{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px 15px;border:1px solid #28435e;border-radius:13px;background:#10243a}.akos-source strong{font-size:27px}.akos-source span{font-weight:900}.akos-source small{color:#9fb4c9}.akos-columns{display:grid;grid-template-columns:1.4fr 1fr;gap:10px}.akos-box{border:1px solid #28435e;border-radius:14px;background:#0d2033;overflow:hidden}.akos-box h3{margin:0;padding:11px 14px;background:#142f49;font-size:13px;letter-spacing:.05em}.akos-list{padding:8px}.akos-alert,.akos-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0;padding:10px 11px;border:1px solid #794349;border-radius:10px;background:#34181c}.akos-alert.warning{border-color:#8a682d;background:#342a14}.akos-alert.tech{border-color:#3c6080;background:#122b41}.akos-alert b,.akos-alert span,.akos-alert small{display:block}.akos-alert span{flex:1}.akos-alert small{color:#b8c9d9;text-align:right}.akos-row{border-color:#28435e;background:#10243a}.akos-row div small{display:block;color:#9fb4c9;margin-top:2px}.akos-row>span{white-space:nowrap;color:#d6e4ef}.akos-leaves{display:grid;gap:10px}.akos-empty{padding:18px;text-align:center;color:#8fa6bb}.akos-foot{text-align:center;color:#71879b;font-size:11px;margin:12px 0 0}
@media(max-width:900px){.akos-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.akos-columns{grid-template-columns:1fr}.akos-sources{grid-template-columns:1fr}.akos-head h2{font-size:29px}}
@media(max-width:560px){main{padding:8px}.akos-head{padding:13px}.akos-head h2{font-size:25px}.akos-head span{font-size:11px}.akos-head button{min-width:auto;padding:8px}.akos-metrics{gap:7px}.akos-metric{min-height:112px;padding:10px 6px}.akos-metric>strong{font-size:29px}.akos-metric>span{font-size:10px}.akos-source{padding:9px 11px}.akos-alert{display:block}.akos-alert span,.akos-alert small{margin-top:4px;text-align:left}.akos-row{font-size:12px}.akos-box h3{font-size:12px}nav{overflow-x:auto;flex-wrap:nowrap}nav button{white-space:nowrap}}


/* ===== TIMX BÉTA 2.4 ===== */
.adaptive-tv-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;height:calc(100vh - 245px);overflow:hidden}.tv-column{display:flex;flex-direction:column;gap:5px;min-height:0}.tv-flex-panel{min-height:0;overflow:hidden}.tv-flex-panel>.tv-panel{height:100%;overflow:hidden}.tv-flex-panel .tv-table{table-layout:fixed}.tv-flex-panel .tv-title{flex:0 0 auto}.tv-flex-panel .tv-table th,.tv-flex-panel .tv-table td{padding:3px 4px;font-size:10px;line-height:1.05}.tv-fullscreen .adaptive-tv-grid{height:calc(100vh - 105px)}.tv-fullscreen.tv-menu-open .adaptive-tv-grid{height:calc(100vh - 155px)}
.akos-kpi-line{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid #ffffff16}.akos-metric.open{grid-row:span 2;min-height:230px}.akos-detail{max-height:180px;overflow:auto;text-align:left}.akos-detail .akos-row{font-size:10px;padding:6px}.akos-source{cursor:default}
.rank-row{grid-template-columns:1.1fr .5fr 1fr .9fr 1.15fr!important}.driver-rank{min-width:150px;font-size:10px;padding:6px!important}
.tomorrow-page{max-width:1600px;margin:auto}.free-domestic{background:#10243a;border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:12px}.free-domestic h3{margin:0 0 8px}.free-driver-chip{display:inline-block;padding:5px 8px;margin:3px;border-radius:999px;background:#124e36;color:#8cf0bc;border:1px solid #2a8b5c;font-weight:800;font-size:11px}.tomorrow-job-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:12px}.tomorrow-job{padding:14px}.tomorrow-job header{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.tomorrow-job header b,.tomorrow-job header span{display:block}.tomorrow-job header div>span{margin-top:4px;color:var(--muted)}.tomorrow-form{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}.tomorrow-form label{font-size:11px;color:var(--muted)}.check-card{display:flex!important;align-items:center;justify-content:space-between;background:#14283e;border:1px solid var(--line);border-radius:8px;padding:10px}.check-card input{width:auto!important;transform:scale(1.25)}
@media(max-width:900px){.adaptive-tv-grid{grid-template-columns:1fr;height:auto}.tomorrow-form{grid-template-columns:1fr}.rank-row{grid-template-columns:1fr!important}.akos-metric.open{grid-row:auto}}
/* BÉTA 2.5 */
.open-badge,.rental-badge{display:block;margin:2px auto 0;width:max-content;padding:1px 5px;border-radius:5px;font-size:9px;font-weight:900;line-height:1.25;letter-spacing:.04em}
.open-badge{background:#fff;color:#111;border:1px solid #d9e6f2}.rental-badge{background:#6c4bd6;color:#fff;border:1px solid #a58cf5}
.fleet-category{min-width:145px}.fleet-main{min-width:0}.busy-where{margin-top:4px;color:#ffc857;font-size:10px;line-height:1.25;max-width:250px}.fleet-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.danger-mini{background:#53232b!important;border-color:#9c3c4d!important;color:#fff!important;padding:4px 7px!important;font-size:10px!important}
@media(max-width:900px){.fleet-category{min-width:0}.busy-where{max-width:none}.akos-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* ===== BÉTA 2.6: kategóriás eszközpark ===== */
.categorized-grid{align-items:start}.fleet-col.categorized{overflow:visible}.fleet-col.categorized>h3{position:sticky;top:126px;z-index:5;border-radius:13px 13px 0 0}.fleet-category-group{border-top:1px solid #29405b;background:#0b1928}.fleet-category-group>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 12px;background:#132a42;cursor:pointer;font-size:12px;font-weight:900;list-style:none}.fleet-category-group>summary::-webkit-details-marker{display:none}.fleet-category-group>summary:before{content:'▾';color:#64b9f3;font-size:13px}.fleet-category-group:not([open])>summary:before{content:'▸'}.fleet-category-group>summary>span:first-of-type{flex:1}.category-count{font-size:10px;color:#aebfd0;font-weight:600;text-align:right}.category-count i{color:#71e7aa;font-style:normal}.category-count em{color:#ffb3b7;font-style:normal}.fleet-category-items{background:#091521}.fleet-card{grid-template-columns:minmax(135px,1.2fr) minmax(135px,1fr) minmax(110px,.8fr) minmax(145px,1.05fr)}.fleet-control{min-width:0}.fleet-control select,.fleet-control input{width:100%}.small-empty{padding:14px}.mobile-nav-toggle,.mobile-nav-head{display:none}

/* ===== BÉTA 2.6: reszponzív webalkalmazás ===== */
@media(max-width:1100px){
 .categorized-grid{grid-template-columns:1fr}.fleet-col.categorized>h3{position:static}.fleet-card{grid-template-columns:minmax(160px,1.2fr) minmax(150px,1fr) minmax(120px,.8fr) minmax(160px,1fr)}
}
@media(max-width:760px){
 body{overflow-x:hidden}.topbar{position:sticky;top:0;padding:10px 12px;flex-direction:row;align-items:center}.topbar h1{font-size:17px}.topbar p{font-size:10px}.top-actions{display:none}.mobile-nav-toggle{display:block;flex:0 0 auto;font-size:20px;padding:7px 10px;margin-left:auto}.mobile-nav-head{display:flex;align-items:center;justify-content:space-between;padding:8px 4px 12px;border-bottom:1px solid #29405b;margin-bottom:4px}.mobile-nav-head button{padding:5px 8px}
 nav{position:fixed;left:0;top:0;bottom:0;width:min(310px,88vw);z-index:200;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:12px;background:#081421;transform:translateX(-105%);transition:transform .22s ease;overflow-y:auto;box-shadow:10px 0 35px #0009}body.mobile-nav-open nav{transform:translateX(0)}body.mobile-nav-open:after{content:'';position:fixed;inset:0;background:#0009;z-index:190}nav button{text-align:left;width:100%;padding:11px 12px}main{padding:8px}.toolbar{align-items:stretch}.toolbar .left,.toolbar .right{width:100%;align-items:stretch}.toolbar .right>*{flex:1;min-width:130px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.stat{padding:10px}.stat strong{font-size:20px}.fleet-card,.rank-row{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:11px}.fleet-main{padding-bottom:3px}.fleet-actions{justify-content:flex-start}.fleet-category-group>summary{padding:12px 10px}.category-count{max-width:45%}.form-grid{grid-template-columns:1fr}.modal-backdrop{padding:6px}.modal{padding:12px;border-radius:10px;max-height:96vh}.modal-actions{position:sticky;bottom:-12px;background:#0f1d2f;padding:10px 0}.table-wrap{max-height:none;overflow:auto;-webkit-overflow-scrolling:touch}.table-wrap table{min-width:1000px}.tomorrow-job-grid{grid-template-columns:1fr}.akos-dashboard{width:100%}
}
@media(max-width:420px){.stats{grid-template-columns:1fr 1fr}.topbar h1{font-size:15px}.topbar p{display:none}.category-count{font-size:9px}.fleet-category-group>summary>span:first-of-type{font-size:11px}}

/* BETA 2.6.1 – sofőrlista igazítás javítása */
.fleet-item.driver-row.rank-row{
  display:grid!important;
  grid-template-columns:minmax(180px,1.35fr) minmax(270px,1.25fr) minmax(170px,.9fr) minmax(210px,auto)!important;
  gap:14px!important;
  align-items:center!important;
}
.fleet-item.driver-row .fleet-control{min-width:0;width:100%;}
.fleet-item.driver-row .fleet-category-control{display:grid!important;grid-template-columns:72px minmax(180px,1fr)!important;gap:10px!important;align-items:center!important;}
.fleet-item.driver-row .driver-mono{width:72px!important;min-width:72px!important;margin:0!important;box-sizing:border-box;}
.fleet-item.driver-row .driver-rank{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box;}
.fleet-item.driver-row>select{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box;}
.fleet-item.driver-row .fleet-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;flex-wrap:wrap!important;min-width:0;}
@media(max-width:1100px){
 .fleet-item.driver-row.rank-row{grid-template-columns:1fr 1fr!important;}
 .fleet-item.driver-row .fleet-actions{justify-content:flex-start!important;}
}
@media(max-width:650px){
 .fleet-item.driver-row.rank-row{grid-template-columns:1fr!important;gap:9px!important;}
 .fleet-item.driver-row .fleet-category-control{grid-template-columns:72px minmax(0,1fr)!important;}
 .fleet-item.driver-row .fleet-actions{width:100%;}
}

/* BÉTA 2.7 – TIMX Special */
.akos-sources{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.akos-sources{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.akos-sources{grid-template-columns:1fr}}
\n\n/* ===== BÉTA 2.8 – automatikus TV-magasság + furgon/sofőr foglaltság ===== */
/* A TV-panelek nem vágnak le sort és nincs belső görgetés: a magasság a tartalommal nő. */
.adaptive-tv-grid{height:auto!important;min-height:0!important;overflow:visible!important;align-items:start}
.tv-column{min-height:0!important;height:auto!important;overflow:visible!important}
.tv-flex-panel{min-height:0!important;height:auto!important;overflow:visible!important;flex:none!important}
.tv-flex-panel>.tv-panel{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
.tv-flex-panel .tv-table{height:auto!important}
.tv-fullscreen .adaptive-tv-grid,.tv-fullscreen.tv-menu-open .adaptive-tv-grid{height:auto!important;overflow:visible!important}
/* A főoldal görget, nem az egyes fuvarpanelek. */
.tv{height:auto!important;min-height:100vh!important;overflow:visible!important}
@media(max-width:900px){
 .adaptive-tv-grid{grid-template-columns:1fr!important;height:auto!important;overflow:visible!important}
 .tv-column,.tv-flex-panel,.tv-flex-panel>.tv-panel{height:auto!important;max-height:none!important;overflow:visible!important}
}

/* ===== BÉTA 2.9 – mobil túlcsordulás + jól olvasható TV státusz ===== */
.sync-state{margin-left:auto;padding:5px 9px;border-radius:999px;border:1px solid #31506e;background:#10243a;color:#9fb4c9;font-size:10px;font-weight:900;white-space:nowrap}
body[data-sync="ok"] .sync-state{color:#83e9b3;border-color:#28734d;background:#103523}
body[data-sync="error"] .sync-state{color:#ffb3b7;border-color:#8f3947;background:#3b1920}
.tv,.tv-grid,.adaptive-tv-grid,.tv-column,.tv-flex-panel,.tv-panel{max-width:100%;box-sizing:border-box}
.tv-panel{min-width:0!important}
.tv-table{width:100%!important;max-width:100%!important;table-layout:fixed!important}
.tv-table th,.tv-table td{min-width:0!important;max-width:none!important;overflow-wrap:anywhere;word-break:break-word}
.tv-table .status-pill{display:inline-flex;justify-content:center;align-items:center;max-width:100%;white-space:normal;text-align:center;line-height:1.12;box-sizing:border-box}
.density-small .tv-table .status-pill,.density-xsmall .tv-table .status-pill{font-size:10px!important;min-height:20px;padding:3px 5px!important}
.tv-note{max-width:100%;overflow-wrap:anywhere}
.mobile-native-select{width:100%;min-height:44px;background:#0b1728;color:#e5edf6;border:1px solid #35516e;border-radius:8px;padding:9px 36px 9px 10px;font:inherit}
@media(max-width:760px){
 html,body{max-width:100%;overflow-x:hidden!important}
 .sync-state{display:none}
 main,#app,.tv{width:100%;max-width:100%;overflow-x:hidden!important;box-sizing:border-box}
 .adaptive-tv-grid,.tv-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;gap:8px!important}
 .tv-column,.tv-flex-panel,.tv-panel{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
 .tv-panel{border-radius:12px}
 .tv-title{font-size:22px!important;line-height:1.05;padding:12px 8px!important;overflow:hidden}
 .tv-corner-label{position:static!important;display:inline-block!important;margin-left:6px!important;font-size:10px!important;max-width:45%;vertical-align:middle}
 .tv-table{font-size:9px!important}
 .tv-table th,.tv-table td{padding:5px 2px!important;font-size:9px!important;line-height:1.12!important}
 .tv-table .status-pill{font-size:9px!important;padding:3px 3px!important;width:100%;border-radius:9px}
 .route-compact,.route-compact span,.tiny-date,.tv-driver-mini{font-size:9px!important}
 .tv-fleet-grid{grid-template-columns:1fr!important}
 body.mobile-nav-open{overflow:hidden}
}
/* BÉTA 3.0 – belépés, admin, közös adatbázis */
.logged-user{color:#b9cce0;font-size:12px;align-self:center}.header-link{display:inline-flex;align-items:center;text-decoration:none;border:1px solid #365574;background:#17314c;color:#fff;border-radius:9px;padding:9px 12px;font-weight:700}.auth-page{min-height:100vh;display:grid;place-items:center;padding:18px}.auth-card{width:min(460px,100%);background:#0f1d2f;border:1px solid #3e5d7c;border-radius:18px;padding:24px;box-shadow:0 20px 60px #0008}.auth-card h1{font-size:25px;margin-bottom:5px}.auth-card p{color:var(--muted);margin-top:0}.auth-card label{display:block;margin:13px 0;color:#b9cce0}.auth-card input,.auth-card select{width:100%;margin-top:6px;background:#091625;border:1px solid #36516d;color:#fff;border-radius:9px;padding:12px;font:inherit}.auth-card button{width:100%;margin-top:10px}.auth-error,.auth-success{padding:11px 12px;border-radius:9px;margin:12px 0}.auth-error{background:#5b2028;color:#ffd5d8;border:1px solid #a44752}.auth-success{background:#124e36;color:#bdf6d7;border:1px solid #2d8c61}.install-card{width:min(620px,100%)}.install-card h2{font-size:16px;margin:20px 0 8px}.admin-page{max-width:1250px;margin:0 auto}.admin-form{padding:16px;margin-bottom:14px}.admin-page form{margin:0}.sync-state{font-size:10px;font-weight:900;letter-spacing:.05em;padding:5px 8px;border-radius:999px;background:#20364d;color:#b9d7ef;white-space:nowrap}body[data-sync="ok"] .sync-state{background:#124e36;color:#87f3bd}body[data-sync="error"] .sync-state{background:#66202a;color:#ffadb2}
@media(max-width:760px){.sync-state{position:absolute;right:54px;bottom:7px;font-size:8px}.topbar{padding-bottom:24px}.auth-card{padding:18px}.admin-page{padding:8px}.logged-user{display:none}}


/* ===== BÉTA 3.1 ===== */
.fleet-toolbar .right{display:flex;gap:8px;align-items:center}.fleet-search{width:min(440px,70vw);max-width:none}
.fleet-main-section{overflow:hidden}.fleet-main-section>summary{list-style:none;cursor:pointer}.fleet-main-section>summary::-webkit-details-marker{display:none}
.fleet-main-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:#18314c;font-size:18px;font-weight:900}
.fleet-main-summary:before,.fleet-category-group>summary:before{content:'▸';display:inline-block;margin-right:7px;transition:transform .15s}.fleet-main-section[open]>.fleet-main-summary:before,.fleet-category-group[open]>summary:before{transform:rotate(90deg)}
.fleet-main-summary>span:first-of-type{margin-right:auto}.fleet-main-body{min-width:0}
.fleet-count-badge{margin-left:auto;text-align:right;font-size:11px;font-weight:700;color:#b8cadc;white-space:normal}.fleet-count-badge b{color:#eaf5ff}.fleet-count-badge em{color:#ffadb2;font-style:normal}.fleet-count-badge i{color:#87f3bd;font-style:normal}
.fleet-category-group>summary{display:flex;align-items:center;gap:5px}.fleet-category-group>summary>span:first-of-type{margin-right:auto}

/* Mobil TV: ne préselje össze olvashatatlanra a 6–7 oszlopot. A panel vízszintesen mozgatható, a sorok és betűk nagyobbak maradnak. */
@media(max-width:760px){
 .fleet-toolbar .right{display:grid;grid-template-columns:1fr auto;width:100%}.fleet-search{width:100%;max-width:none;min-width:0}
 .fleet-main-summary{padding:13px 11px;font-size:15px}.fleet-count-badge{font-size:9px;max-width:58%}
 .fleet-category-group>summary{padding:12px 9px}.fleet-category-group>summary .fleet-count-badge{max-width:62%}
 .tv-panel{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
 .tv-panel .tv-table{min-width:720px!important;table-layout:auto!important}
 .tv-panel .tv-table th,.tv-panel .tv-table td{font-size:12px!important;line-height:1.22!important;padding:7px 5px!important;overflow-wrap:normal!important;word-break:normal!important}
 .tv-panel .tv-table .status-pill{font-size:11px!important;min-width:72px;width:auto!important;padding:5px 7px!important}
 .tv-panel .route-compact,.tv-panel .route-compact span,.tv-panel .tiny-date,.tv-panel .tv-driver-mini{font-size:12px!important}
 .tv-title{position:sticky;left:0;z-index:2}
}

/* ===== BÉTA 3.4 – kézi TV nézetek + egyszerű/részletes fuvarnézet ===== */
.view-switcher,.tv-view-switcher{display:flex;flex-wrap:wrap;gap:8px;margin:0 16px 12px}
.view-switcher button,.tv-view-switcher button{border:1px solid #355574;background:#10243a;color:#c9d8e7;border-radius:10px;padding:9px 13px;font-weight:800;cursor:pointer}
.view-switcher button.active,.tv-view-switcher button.active{background:#23639a;color:#fff;border-color:#69a7d8;box-shadow:0 0 0 2px #23639a55}
.tv-view-switcher{position:sticky;top:0;z-index:12;background:#071321;padding:9px 12px;margin:0 0 10px;border-bottom:1px solid #29435e}
.simple-freight-table{width:100%;table-layout:fixed}.simple-freight-table th,.simple-freight-table td{padding:10px 8px;vertical-align:middle}.simple-freight-table td{font-size:13px}.simple-import{margin-top:5px;color:#9fc2df;font-size:11px}.compact-note{margin-top:5px}.simple-table-wrap{max-height:none}
.tv-dual-grid,.tv-today-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:start}.tv-single-view{width:100%}.tv-single-view .tv-table,.tv-dual-grid .tv-table{font-size:clamp(11px,1vw,18px)}
.tv-single-view .tv-table th,.tv-single-view .tv-table td{padding:clamp(7px,.7vw,14px)}.tv-task-panel .tv-title.tasks{background:#4b367c}.task-table td{font-size:clamp(12px,1.15vw,20px);padding:clamp(8px,.8vw,15px)}
.tv-mode-tomorrow .tv-task-panel,.tv-mode-colo .tv-single-view,.tv-mode-freight .tv-single-view{max-width:100%}.tv-mode-dual .tv-panel{height:auto!important;overflow:visible!important}
@media(max-width:900px){.tv-dual-grid,.tv-today-grid{grid-template-columns:1fr}.tv-view-switcher{overflow-x:auto;flex-wrap:nowrap}.tv-view-switcher button{white-space:nowrap}.simple-freight-table{min-width:760px}.freight-view-switcher{margin:0 8px 10px}}
@media(min-width:1600px){.tv-mode-dual .tv-table th,.tv-mode-dual .tv-table td{font-size:13px!important;padding:6px 4px!important}.tv-mode-colo .tv-table th,.tv-mode-colo .tv-table td,.tv-mode-freight .tv-table th,.tv-mode-freight .tv-table td{font-size:16px!important;padding:9px 7px!important}}

/* ===== BÉTA 3.4.2 – egyszerű nézet műveletek + stabil TV Display ===== */
.simple-actions{display:flex;flex-wrap:wrap;gap:5px;justify-content:center;min-width:118px}
.simple-actions .icon-btn{margin:0;font-size:11px;padding:5px 7px}
.tv-fit-stage{position:relative;width:100%;max-width:100%;overflow:hidden;min-height:0}
.tv-fit-inner{width:100%;transform-origin:top left;will-change:transform}

/* Asztali képernyőn minden sor egyben látható; a JS a teljes tartalmat arányosan méretezi. */
@media(min-width:901px){
 .tv-fit-inner .tv-panel{overflow:visible!important}
 .tv-fit-inner .tv-table{height:auto!important}
 .tv-fit-inner .adaptive-tv-grid{height:auto!important;overflow:visible!important}
 .tv-fit-inner .tv-column,.tv-fit-inner .tv-flex-panel{overflow:visible!important;height:auto!important}
}

/* Telefon: nincs 720 px-es kényszerszélesség, ezért nem csordul oldalra. */
@media(max-width:900px){
 .tv-fit-stage,.tv-fit-inner{width:100%!important;max-width:100%!important;height:auto!important;overflow:visible!important;transform:none!important}
 .tv-panel{overflow:hidden!important;width:100%!important;max-width:100%!important}
 .tv-panel .tv-table{min-width:0!important;width:100%!important;max-width:100%!important;table-layout:fixed!important}
 .tv-panel .tv-table th,.tv-panel .tv-table td{font-size:9px!important;line-height:1.12!important;padding:5px 2px!important;overflow-wrap:anywhere!important;word-break:normal!important}
 .tv-panel .tv-table .status-pill{font-size:8px!important;min-width:0!important;width:auto!important;max-width:100%!important;padding:3px!important}
 .tv-panel .tomorrow-alert{font-size:8px!important;padding:4px 2px!important;line-height:1.1!important}
 .tv-panel .tv-note{font-size:8px!important}
 .tv-panel .route-compact,.tv-panel .route-compact span,.tv-panel .tiny-date,.tv-panel .tv-driver-mini{font-size:8px!important}
 .tv-mode-all .tvExportPanel{} /* marker */
 .tv-view-switcher{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
 .tv-view-switcher button{flex:0 0 auto}
 .tv-toolbar h2{font-size:22px!important}
 .tv-toolbar .muted{font-size:12px!important}
}

/* Telefonon a kevésbé fontos oszlopok elrejtése, hogy a fő információ kiférjen. */
@media(max-width:600px){
 .tv-mode-all .tv-panel .tv-table th,.tv-mode-all .tv-panel .tv-table td,
 .tv-mode-dual .tv-panel .tv-table th,.tv-mode-dual .tv-panel .tv-table td,
 .tv-mode-colo .tv-panel .tv-table th,.tv-mode-colo .tv-panel .tv-table td,
 .tv-mode-freight .tv-panel .tv-table th,.tv-mode-freight .tv-panel .tv-table td{font-size:8px!important;padding:4px 1px!important}
 .tv-mode-all .tv-title,.tv-mode-dual .tv-title,.tv-mode-colo .tv-title,.tv-mode-freight .tv-title{font-size:22px!important;padding:9px 4px!important}
 .tv-fleet-grid{grid-template-columns:1fr!important}
 .simple-actions{min-width:104px;gap:3px}.simple-actions .icon-btn{font-size:9px;padding:4px 5px}
}

/* ===== BÉTA 3.4.3 – holnapi munkák és TV feladatnézetek ===== */
.tomorrow-current-assignment{display:flex;flex-wrap:wrap;gap:7px 12px;align-items:center;margin:8px 0 10px;padding:8px 10px;border:1px solid #365574;border-radius:9px;background:#0a1929;color:#bcd0e4;font-size:12px}
.tomorrow-current-assignment>b{color:#fff}.tomorrow-current-assignment strong{color:#fff}
.tv-tomorrow-stack{display:grid;grid-template-columns:1fr;gap:12px}
.tv-title.tomorrow-export-title{background:#8a4a17}
.tv-mode-tomorrow .task-table th,.tv-mode-tomorrow .task-table td{padding:clamp(8px,.75vw,14px)}
@media(max-width:900px){.tomorrow-current-assignment{font-size:11px}.tv-tomorrow-stack{gap:9px}}

/* BÉTA 3.4.5 – holnapi importlerakás kiemelése az egyszerű nézetben */
.simple-freight-table tbody tr.simple-tomorrow-import>td{
  background:linear-gradient(90deg,rgba(255,193,7,.30),rgba(255,152,0,.18))!important;
  border-top:2px solid #ffd233!important;
  border-bottom:2px solid #ffd233!important;
  animation:simpleTomorrowImportPulse 1.15s ease-in-out infinite alternate;
}
.simple-freight-table tbody tr.simple-tomorrow-import>td:first-child{border-left:3px solid #ffd233!important}
.simple-freight-table tbody tr.simple-tomorrow-import>td:last-child{border-right:3px solid #ffd233!important}
.simple-freight-table tbody tr.simple-tomorrow-import .simple-import::before{
  content:'⚠ IMPORT LERAKÁS!';display:inline-flex;margin:0 0 3px;padding:2px 6px;border-radius:999px;
  background:#ffbf00;color:#151000;font-weight:1000;font-size:9px;line-height:1;letter-spacing:.02em;text-align:center;white-space:nowrap;
}
@keyframes simpleTomorrowImportPulse{from{filter:brightness(1)}to{filter:brightness(1.22)}}
@media (prefers-reduced-motion:reduce){.simple-freight-table tbody tr.simple-tomorrow-import>td{animation:none}}


/* ===== BÉTA 3.4.6 – stabil TV-kioszk mód =====
   Nincs tartalomfüggő transform/scale, ezért a TV böngészőben nem ugrál és nem omlik szét. */
.tv-fit-stage{overflow:visible!important;height:auto!important;contain:layout paint}
.tv-fit-inner{transform:none!important;width:100%!important;height:auto!important;will-change:auto!important}
.tv .tv-panel,.tv .tv-table,.tv .adaptive-tv-grid,.tv .tv-column,.tv .tv-flex-panel{transform:none!important}
.tv-view-switcher{position:relative!important;top:auto!important}
.tv-table{border-collapse:collapse}
.tv-table th,.tv-table td{box-sizing:border-box}

/* Stabil sűrűség: csak a sorok betűmérete/paddingje változik, a teljes oldal nem nagyítódik át. */
@media(min-width:901px){
 .tv-density-normal .tv-table th,.tv-density-normal .tv-table td{font-size:clamp(13px,.72vw,18px)!important;padding:7px 5px!important;line-height:1.14!important}
 .tv-density-compact .tv-table th,.tv-density-compact .tv-table td{font-size:clamp(11px,.58vw,15px)!important;padding:4px 3px!important;line-height:1.08!important}
 .tv-density-ultra .tv-table th,.tv-density-ultra .tv-table td{font-size:clamp(9px,.46vw,12px)!important;padding:2px 2px!important;line-height:1.04!important}
 .tv-density-compact .tv-title{font-size:clamp(20px,1.25vw,32px)!important;padding:7px 5px!important}
 .tv-density-ultra .tv-title{font-size:clamp(17px,1vw,26px)!important;padding:5px 4px!important}
 .tv-density-compact .status-pill,.tv-density-compact .tv-note,.tv-density-compact .tomorrow-alert{font-size:clamp(9px,.48vw,12px)!important;line-height:1.05!important}
 .tv-density-ultra .status-pill,.tv-density-ultra .tv-note,.tv-density-ultra .tomorrow-alert{font-size:clamp(7px,.38vw,10px)!important;line-height:1!important;padding:2px 3px!important}
 .tv-density-ultra .tiny-date,.tv-density-ultra .tv-driver-mini,.tv-density-ultra .route-compact,.tv-density-ultra .route-compact span{font-size:clamp(7px,.37vw,10px)!important}
 .tv-mode-freight .tv-single-view,.tv-mode-colo .tv-single-view{min-height:0!important}
 .tv-mode-freight .tv-table,.tv-mode-colo .tv-table{table-layout:fixed!important;width:100%!important}
 .tv-mode-all .adaptive-tv-grid{align-items:start!important}
}

/* TV-böngészőkben a fullscreen magassága stabil legyen; nincs belső scroll és nincs animált méretezés. */
:fullscreen .tv,:-webkit-full-screen .tv{width:100vw!important;min-height:100vh!important;overflow:hidden!important;background:#020a12}
:fullscreen .topbar,:fullscreen #nav,:-webkit-full-screen .topbar,:-webkit-full-screen #nav{display:none!important}
:fullscreen #app,:-webkit-full-screen #app{padding:0!important;margin:0!important;width:100vw!important;max-width:none!important}
:fullscreen .tv-toolbar,:-webkit-full-screen .tv-toolbar{display:none!important}
:fullscreen .tv-view-switcher,:-webkit-full-screen .tv-view-switcher{margin:0!important;padding:8px 10px!important}

/* A kijelzőn ne fusson semmilyen pulzáló animáció: gyenge TV böngészőknél ez villogást/újrarajzolást okoz. */
.tv .tomorrow-unload-row,.tv .tomorrow-alert,.tv .qol-alert{animation:none!important}

@media(max-width:900px){
 .tv-fit-stage{overflow-x:hidden!important}
 .tv-fit-inner{transform:none!important}
}


/* ===== BÉTA 3.4.7 – stabil, kézi lapozású TV nézet =====
   Fizikai korlát miatt sok sor nem lehet egyszerre nagy és olvasható. Ezért a rendszer
   kézzel lapozható, fix méretű képernyő-oldalakra bontja a fuvarokat. Nincs automatikus váltás. */
.tv-page-controls{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 0 9px;padding:4px 8px}
.tv-page-controls button{min-width:150px;padding:8px 14px;font-size:15px}
.tv-page-controls button:disabled{opacity:.35;cursor:not-allowed}
.tv-page-controls strong{min-width:72px;text-align:center;font-size:18px;color:#fff;background:#17314c;border:1px solid #365574;border-radius:999px;padding:6px 12px}
:fullscreen .tv-page-controls,:-webkit-full-screen .tv-page-controls{margin:0;padding:5px 8px}
:fullscreen .tv-view-switcher,:-webkit-full-screen .tv-view-switcher{padding:5px 8px!important;margin:0!important}
:fullscreen .tv-view-switcher button,:-webkit-full-screen .tv-view-switcher button{padding:7px 12px!important}
:fullscreen .tv-fit-stage,:-webkit-full-screen .tv-fit-stage{height:auto!important;max-height:none!important;overflow:visible!important}
:fullscreen .tv-fit-inner,:-webkit-full-screen .tv-fit-inner{height:auto!important;overflow:visible!important}
:fullscreen .tv-panel,:-webkit-full-screen .tv-panel{max-height:none!important;overflow:visible!important}
.tv .tomorrow-alert{white-space:normal!important}
.tv .tomorrow-alert span:last-child{display:none!important}
@media(max-width:900px){.tv-page-controls{position:sticky;top:0;z-index:13;background:#071321;gap:7px}.tv-page-controls button{min-width:0;flex:1;font-size:11px;padding:7px 5px}.tv-page-controls strong{font-size:13px;min-width:58px;padding:5px 8px}}

/* ===== BÉTA 3.4.8 – TV lapozó mindig látható + biztos képernyőmagasság ===== */
.tv{padding-bottom:76px!important}
.tv-page-controls{position:fixed!important;left:50%!important;bottom:14px!important;transform:translateX(-50%)!important;z-index:9999!important;margin:0!important;padding:7px 10px!important;background:rgba(4,15,27,.96)!important;border:2px solid #3d6f9c!important;border-radius:16px!important;box-shadow:0 8px 30px #000c!important;backdrop-filter:blur(6px)}
.tv-page-controls.single-page{opacity:.8}
.tv-page-controls button{min-width:180px!important;font-size:17px!important;padding:10px 16px!important}
.tv-page-controls strong{font-size:19px!important}
.tv-fit-stage{max-height:calc(100vh - 142px)!important;overflow:hidden!important}
.tv-fit-inner{max-height:100%!important;overflow:hidden!important}
.tv-mode-all .adaptive-tv-grid,.tv-mode-dual .tv-dual-grid,.tv-mode-colo .tv-single-view,.tv-mode-freight .tv-single-view,.tv-mode-today .tv-today-grid,.tv-mode-tomorrow .tv-tomorrow-stack{max-height:calc(100vh - 150px)!important;overflow:hidden!important}
:fullscreen .tv,:-webkit-full-screen .tv{height:100vh!important;min-height:100vh!important;max-height:100vh!important;overflow:hidden!important;padding-bottom:72px!important}
:fullscreen .tv-fit-stage,:-webkit-full-screen .tv-fit-stage{height:calc(100vh - 118px)!important;max-height:calc(100vh - 118px)!important;overflow:hidden!important}
:fullscreen .tv-fit-inner,:-webkit-full-screen .tv-fit-inner{height:100%!important;max-height:100%!important;overflow:hidden!important}
:fullscreen .tv-page-controls,:-webkit-full-screen .tv-page-controls{bottom:10px!important}
@media(max-width:900px){
 .tv{padding-bottom:64px!important}
 .tv-page-controls{left:8px!important;right:8px!important;bottom:8px!important;transform:none!important;width:auto!important}
 .tv-page-controls button{min-width:0!important;font-size:12px!important;padding:9px 6px!important}
 .tv-page-controls strong{font-size:13px!important}
 .tv-fit-stage,.tv-fit-inner{max-height:none!important;overflow:visible!important}
}


/* ===== BÉTA 3.4.10 – kompakt importlerakás-jelzés ===== */
.tomorrow-alert{
  display:inline-flex!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  margin:2px auto 0!important;
  padding:2px 6px!important;
  border-radius:999px!important;
  background:#ffbf00!important;
  color:#171100!important;
  font-size:9px!important;
  font-weight:1000!important;
  line-height:1!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  box-shadow:0 0 0 1px #ffe98a inset!important;
}
.tomorrow-alert-icon{font-size:9px!important;line-height:1!important}
.tomorrow-alert strong{font-size:9px!important;line-height:1!important;white-space:nowrap!important}
.tv-table td:has(.tomorrow-alert){padding-top:3px!important;padding-bottom:3px!important}
.tv .tomorrow-alert{font-size:clamp(7px,.36vw,10px)!important;padding:2px 5px!important;margin:1px auto!important}
.tv .tomorrow-alert-icon,.tv .tomorrow-alert strong{font-size:inherit!important}
.simple-freight-table tbody tr.simple-tomorrow-import .simple-import::before{
  content:'⚠ IMPORT LERAKÁS!'!important;
  display:inline-flex!important;
  width:auto!important;
  margin:0 0 3px!important;
  padding:2px 6px!important;
  border-radius:999px!important;
  font-size:9px!important;
  line-height:1!important;
  white-space:nowrap!important;
}


/* ===== TIMX BÉTA 3.5 – végleges kompakt jelzés + helyes dátumméretek ===== */
/* A figyelmeztetés minden nézetben rövid, egysoros, és nem növeli meg a sort. */
.tomorrow-alert,
.tv .tomorrow-alert,
.tv-density-normal .tomorrow-alert,
.tv-density-compact .tomorrow-alert,
.tv-density-ultra .tomorrow-alert{
  display:inline-flex!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  margin:2px auto!important;
  padding:3px 7px!important;
  border-radius:7px!important;
  font-size:clamp(8px,.42vw,11px)!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  box-shadow:0 0 0 1px #ffe48a inset!important;
}
.tomorrow-alert-icon,.tomorrow-alert strong,
.tv .tomorrow-alert-icon,.tv .tomorrow-alert strong{
  font-size:inherit!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.tv-table td:has(.tomorrow-alert){padding-top:3px!important;padding-bottom:3px!important}

/* TV Displayen a Coloplast dátum marad kompakt, nem óriási. */
.tv .tiny-date{
  font-size:clamp(8px,.43vw,11px)!important;
  line-height:1.05!important;
  font-weight:700!important;
  color:#d6e3ef!important;
  margin-top:2px!important;
}
.tv .tv-table td{vertical-align:middle!important}

/* Csak a normál Coloplast fül egyszerű nézetében legyen kicsivel nagyobb a dátum. */
.simple-coloplast-table .tiny-date{
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:800!important;
  color:#e8f2fb!important;
  margin-top:4px!important;
}

/* A korábbi lapozós maradványok ne jelenjenek meg. */
.tv-page-controls{display:none!important}
.tv{padding-bottom:0!important}

/* Normál nézet görgethető; fullscreenben a tartalom reszponzívan férjen el. */
.tv-fit-stage,.tv-fit-inner{max-height:none!important;overflow:visible!important}
:fullscreen .tv,:-webkit-full-screen .tv{padding-bottom:0!important}

/* ===== TIMX BÉTA 3.5.1 – kizárólag a kért TV Display javítások ===== */
/* Normál (nem teljes képernyős) Összes és Colo + Fuvar nézet legyen függőlegesen görgethető. */
body:not(.tv-fullscreen) .tv-mode-all,
body:not(.tv-fullscreen) .tv-mode-dual{
  height:auto!important;
  min-height:100vh!important;
  max-height:none!important;
  overflow:visible!important;
}
body:not(.tv-fullscreen) .tv-mode-all .tv-fit-stage,
body:not(.tv-fullscreen) .tv-mode-all .tv-fit-inner,
body:not(.tv-fullscreen) .tv-mode-dual .tv-fit-stage,
body:not(.tv-fullscreen) .tv-mode-dual .tv-fit-inner{
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
body:not(.tv-fullscreen) .tv-mode-all .adaptive-tv-grid{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
body:not(.tv-fullscreen) .tv-mode-all .tv-column,
body:not(.tv-fullscreen) .tv-mode-all .tv-flex-panel,
body:not(.tv-fullscreen) .tv-mode-all .tv-flex-panel>.tv-panel,
body:not(.tv-fullscreen) .tv-mode-dual .tv-dual-grid,
body:not(.tv-fullscreen) .tv-mode-dual .tv-panel{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}

/* Mai műveletek és Holnapi teendők: nagyobb, távolabbról is olvasható szöveg. */
.tv-mode-today .tv-task-panel .tv-title,
.tv-mode-tomorrow .tv-task-panel .tv-title{
  font-size:clamp(24px,1.55vw,38px)!important;
  line-height:1.08!important;
  padding:12px 14px!important;
}
.tv-mode-today .task-table th,
.tv-mode-tomorrow .task-table th{
  font-size:clamp(15px,.9vw,22px)!important;
  line-height:1.08!important;
  padding:8px 10px!important;
}
.tv-mode-today .task-table td,
.tv-mode-tomorrow .task-table td{
  font-size:clamp(17px,1.05vw,26px)!important;
  line-height:1.12!important;
  padding:9px 11px!important;
}
.tv-mode-today .task-table .status-pill,
.tv-mode-tomorrow .task-table .status-pill,
.tv-mode-today .task-table .tv-driver-mini,
.tv-mode-tomorrow .task-table .tv-driver-mini,
.tv-mode-today .task-table .mega-badge,
.tv-mode-tomorrow .task-table .mega-badge{
  font-size:clamp(12px,.72vw,18px)!important;
  line-height:1.05!important;
}

/* Teljes képernyős Összes és Colo + Fuvar működéséhez nem nyúlunk. */

/* ===== TIMX BÉTA 3.6 ===== */
.fleet-pair-select{width:100%;min-width:150px}
.pair-control label{display:grid;gap:4px;font-size:11px;color:#9fb2c8}
.linked-pair-note,.tractor-last-activity{margin-top:4px;font-size:11px;color:#9fb2c8}
.linked-leave-warning{margin-top:4px;padding:4px 6px;border:1px solid #f0a126;border-radius:6px;background:#50350c;color:#ffd77d;font-size:11px;font-weight:800}
.tomorrow-assigned{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;max-width:100%;padding:5px 8px;border:1px solid #2cb978;border-radius:7px;background:#0d5d3b;color:#d9ffeb;font-size:11px;line-height:1.05;text-align:center}
.tomorrow-assigned span{font-size:10px;font-weight:800}
.not-assigned{color:#ffcf68!important;font-weight:800}

/* Pseudo fullscreen fallback iPhone/Safari. */
body.tv-mobile-fullscreen{overflow:hidden!important}
body.tv-mobile-fullscreen .topbar,body.tv-mobile-fullscreen #nav{display:none!important}
body.tv-mobile-fullscreen #app{position:fixed!important;inset:0!important;z-index:99999!important;overflow:auto!important;background:#020c16!important;padding:0!important}
body.tv-mobile-fullscreen .tv{min-height:100dvh!important;width:100%!important;margin:0!important;padding:8px!important;overflow:auto!important}
body.tv-mobile-fullscreen .tv-toolbar{display:none!important}
body.tv-mobile-fullscreen .tv-menu-button{position:fixed!important;right:8px!important;top:8px!important;z-index:100001!important}

@media (max-width:760px){
  /* Telefonon a napi/holnapi táblák valódi kártyákká alakulnak, nincs túlfolyás. */
  .tv-mode-today .tv-today-grid,.tv-mode-tomorrow .tv-tomorrow-stack{display:block!important}
  .tv-mode-today .tv-task-panel,.tv-mode-tomorrow .tv-task-panel{margin-bottom:14px!important;overflow:visible!important}
  .tv-mode-today .tv-task-panel .tv-title,.tv-mode-tomorrow .tv-task-panel .tv-title{font-size:22px!important;line-height:1.12!important;padding:12px 10px!important;word-break:normal!important}
  .tv-mode-today .task-table,.tv-mode-tomorrow .task-table{display:block!important;width:100%!important;table-layout:auto!important}
  .tv-mode-today .task-table thead,.tv-mode-tomorrow .task-table thead{display:none!important}
  .tv-mode-today .task-table tbody,.tv-mode-tomorrow .task-table tbody{display:grid!important;gap:10px!important;padding:10px!important}
  .tv-mode-today .task-table tr,.tv-mode-tomorrow .task-table tr{display:grid!important;grid-template-columns:1fr!important;border:1px solid #28465f!important;border-radius:10px!important;overflow:hidden!important;background:#0b1c2c!important}
  .tv-mode-today .task-table td,.tv-mode-tomorrow .task-table td{display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;width:auto!important;max-width:none!important;min-width:0!important;padding:9px 10px!important;font-size:16px!important;line-height:1.2!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;border-right:0!important;border-bottom:1px solid #243e54!important}
  .tv-mode-today .task-table td:last-child,.tv-mode-tomorrow .task-table td:last-child{border-bottom:0!important}
  .tv-mode-today .task-table td::before,.tv-mode-tomorrow .task-table td::before{font-size:11px;font-weight:900;color:#87a9c6;text-transform:uppercase;letter-spacing:.03em}
  .tv-mode-today .task-table td:nth-child(1)::before{content:'Forrás'}
  .tv-mode-today .task-table td:nth-child(2)::before{content:'Feladat'}
  .tv-mode-today .task-table td:nth-child(3)::before{content:'Viszonylat'}
  .tv-mode-today .task-table td:nth-child(4)::before{content:'Vontató + sofőr'}
  .tv-mode-today .task-table td:nth-child(5)::before{content:'Pót'}
  .tv-mode-today .task-table td:nth-child(6)::before{content:'Státusz'}
  .tv-mode-tomorrow .tv-task-panel:first-child .task-table td:nth-child(1)::before{content:'Forrás'}
  .tv-mode-tomorrow .tv-task-panel:first-child .task-table td:nth-child(2)::before{content:'Viszonylat'}
  .tv-mode-tomorrow .tv-task-panel:first-child .task-table td:nth-child(3)::before{content:'Pót'}
  .tv-mode-tomorrow .tv-task-panel:first-child .task-table td:nth-child(4)::before{content:'Ki viszi lerakni'}
  .tv-mode-tomorrow .tv-task-panel:first-child .task-table td:nth-child(5)::before{content:'Státusz'}
  .tv-mode-tomorrow .tv-task-panel:nth-child(2) .task-table td:nth-child(1)::before{content:'Forrás'}
  .tv-mode-tomorrow .tv-task-panel:nth-child(2) .task-table td:nth-child(2)::before{content:'Fuvar'}
  .tv-mode-tomorrow .tv-task-panel:nth-child(2) .task-table td:nth-child(3)::before{content:'Ki rakja'}
  .tv-mode-tomorrow .tv-task-panel:nth-child(2) .task-table td:nth-child(4)::before{content:'Ki viszi'}
  .tv-mode-tomorrow .tv-task-panel:nth-child(2) .task-table td:nth-child(5)::before{content:'Pót'}
  .tv-mode-tomorrow .tv-task-panel:nth-child(2) .task-table td:nth-child(6)::before{content:'Státusz'}
  .tv-mode-today .task-table .status-pill,.tv-mode-tomorrow .task-table .status-pill{justify-self:start!important;font-size:12px!important;max-width:100%!important}
  .tv-view-switcher{overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:5px!important}
  .tv-view-switcher button{flex:0 0 auto!important}
  .tomorrow-assigned,.tomorrow-alert{width:auto!important;max-width:100%!important}

  /* Minden TV-tábla mobilon a saját konténerén belül maradjon. */
  .tv-panel,.tv-table,.tv-fit-stage,.tv-fit-inner{max-width:100%!important}
  .tv-table{table-layout:fixed!important}
  .tv-table th,.tv-table td{overflow-wrap:anywhere!important;word-break:normal!important}
}


/* TIMX BÉTA 3.6.1 – ÁKOS javítás és beosztott import halványzöld kiemelés */
.import-assigned-row td,
.simple-import-assigned td{
  background:linear-gradient(90deg,rgba(33,104,72,.42),rgba(23,75,55,.34))!important;
  border-top:2px solid #4fd18d!important;
  border-bottom:2px solid #4fd18d!important;
  animation:none!important;
}
.import-assigned-row:hover td,
.simple-import-assigned:hover td{
  background:linear-gradient(90deg,rgba(39,122,84,.5),rgba(27,88,63,.42))!important;
}
.tv .import-assigned-row td{font-weight:800}


/* ===== TIMX LIVE PILOT 1.0 ===== */
.vac-calendar{min-width:min(760px,88vw)}.vac-title{text-align:center;font-size:1.2rem;font-weight:800;margin-bottom:10px}.vac-week,.vac-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.vac-week b{text-align:center}.vac-day{min-height:82px;border:1px solid #334155;border-radius:8px;padding:6px;background:#0f172a}.vac-day.empty{opacity:.25}.vac-day>b{display:block}.vac-day span{display:block;font-size:.72rem;margin-top:3px;background:#4c1d95;padding:3px 5px;border-radius:5px}
.akos-live-lastwork{margin-top:18px}.driver-live-status{margin-top:5px;padding:5px 7px;border-radius:6px;background:#172554;color:#bfdbfe;font-size:.78rem}.driver-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.driver-status-card{display:flex;flex-direction:column;gap:7px}.tomorrow-resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
@media(max-width:700px){
 html,body{overflow-x:hidden!important;max-width:100%!important}.topbar{align-items:flex-start}.toolbar,.toolbar .right{flex-direction:column!important;align-items:stretch!important}.toolbar>*{max-width:100%}
 .table-wrap{overflow:visible!important;max-height:none!important}.table-wrap table{min-width:0!important;width:100%!important;table-layout:fixed}.table-wrap th,.table-wrap td{text-align:center!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;padding:7px 4px!important}
 .simple-table th:nth-child(1),.simple-table td:nth-child(1){width:16%}.simple-table th:nth-child(4),.simple-table td:nth-child(4){text-align:center!important}.tiny-date{display:block}.simple-table td:first-child strong,.simple-table td:first-child .tiny-date{display:block}.simple-table td:first-child strong{font-size:0}.simple-table td:first-child strong::after{content:attr(data-day)}
 .tv,.tv-fit-stage,.tv-fit-inner,.tv-single-view,.tv-dual-grid,.adaptive-tv-grid,.tv-today-grid,.tv-tomorrow-stack{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:block!important;width:100%!important;transform:none!important}.tv-panel{height:auto!important;max-height:none!important;margin-bottom:12px}.tv-table{width:100%!important;min-width:0!important;table-layout:fixed!important}.tv-table th,.tv-table td{font-size:12px!important;line-height:1.2!important;padding:6px 3px!important;text-align:center!important;overflow-wrap:anywhere!important}.tv-task-panel .tv-table,.tv-mode-today .tv-table,.tv-mode-tomorrow .tv-table{display:block!important}.tv-task-panel thead,.tv-mode-today thead,.tv-mode-tomorrow thead{display:none!important}.tv-task-panel tbody,.tv-task-panel tr,.tv-mode-today tbody,.tv-mode-today tr,.tv-mode-tomorrow tbody,.tv-mode-tomorrow tr{display:block!important;width:100%!important}.tv-task-panel tr,.tv-mode-today tr,.tv-mode-tomorrow tr{padding:10px;margin:8px 0;border:1px solid #334155;border-radius:10px;background:#111827}.tv-task-panel td,.tv-mode-today td,.tv-mode-tomorrow td{display:block!important;width:100%!important;text-align:center!important;font-size:14px!important;padding:4px!important}.tv-title{font-size:17px!important}.tomorrow-resource-grid{grid-template-columns:1fr}.vac-calendar{min-width:0;width:100%}.vac-day{min-height:60px}.vac-day span{font-size:.62rem}
 body.timx-app-fullscreen{overflow-y:auto!important}.timx-app-fullscreen .tv{position:fixed!important;inset:0!important;overflow-y:auto!important;background:#020617;z-index:9999;padding:8px}
}
.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.permission-grid>div{display:grid;gap:6px;padding:12px;border:1px solid #334155;border-radius:10px}.user-edit-card{margin:14px 0}.driver-page{background:#020617;color:#f8fafc;min-height:100vh}.driver-head{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#0f172a;position:sticky;top:0;z-index:5}.driver-head h1{margin:0}.driver-head a{color:#fff}.driver-page main{max-width:720px;margin:auto;padding:14px}.driver-job-nav{display:flex;justify-content:space-between;align-items:center;margin:10px 0}.driver-job-nav button{min-height:44px}.driver-current{text-align:center}.driver-route{font-size:1.15rem;font-weight:800;margin:10px}.driver-route.import{color:#86efac}.driver-vehicle{display:flex;justify-content:center;gap:22px;font-size:1.35rem}.driver-button-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.driver-button-grid button{min-height:72px;font-size:1rem;font-weight:800;border-radius:12px}.driver-button-grid button:nth-last-child(-n+2){background:#7f1d1d;color:#fff}
@media(max-width:700px){.permission-grid{grid-template-columns:1fr}.driver-button-grid{grid-template-columns:1fr}.driver-button-grid button{min-height:64px}}

/* TIMX LIVE PILOT 1.0.3 – vezetői szabadságlista és stabil mobil napi nézet */
.akos-week-leave{margin-top:18px;padding:14px;border:1px solid #3b5571;border-radius:14px;background:#0b1b2c}
.akos-week-leave h3,.akos-live-lastwork h3{margin:0 0 10px;color:#f8fafc}
.akos-week-leave-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:8px}
.linked-leave-inline{display:block;margin-top:3px;color:#ffd37a;font-weight:800}

@media(max-width:700px){
 html,body{height:auto!important;min-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
 main,#app{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
 .tv,.tv-fit-stage,.tv-fit-inner,.tv-mode-today,.tv-mode-tomorrow,.tv-today-grid,.tv-tomorrow-stack{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;transform:none!important}
 .tv-mode-today .tv-today-grid,.tv-mode-tomorrow .tv-tomorrow-stack{display:block!important;width:100%!important}
 .tv-mode-today .tv-task-panel,.tv-mode-tomorrow .tv-task-panel{display:block!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0 0 14px!important}
 .tv-mode-today .tv-task-panel .tv-title,.tv-mode-tomorrow .tv-task-panel .tv-title{font-size:18px!important;line-height:1.15!important;padding:10px 8px!important;white-space:normal!important}
 .tv-mode-today .task-table,.tv-mode-tomorrow .task-table{display:block!important;width:100%!important;min-width:0!important;table-layout:auto!important}
 .tv-mode-today .task-table thead,.tv-mode-tomorrow .task-table thead{display:none!important}
 .tv-mode-today .task-table tbody,.tv-mode-tomorrow .task-table tbody{display:block!important;width:100%!important;padding:6px!important}
 .tv-mode-today .task-table tr,.tv-mode-tomorrow .task-table tr{display:block!important;width:100%!important;height:auto!important;min-height:0!important;margin:0 0 9px!important;padding:6px!important;border:1px solid #31506b!important;border-radius:10px!important;background:#0d1d2d!important;overflow:visible!important}
 .tv-mode-today .task-table td,.tv-mode-tomorrow .task-table td{display:grid!important;grid-template-columns:102px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;padding:7px 8px!important;font-size:14px!important;line-height:1.2!important;text-align:left!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;border:0!important;border-bottom:1px solid #263f55!important}
 .tv-mode-today .task-table td:last-child,.tv-mode-tomorrow .task-table td:last-child{border-bottom:0!important}
 .tv-mode-today .task-table td::before,.tv-mode-tomorrow .task-table td::before{font-size:10px!important;line-height:1.1!important;text-align:left!important}
 .tv-mode-today .status-pill,.tv-mode-tomorrow .status-pill,.tv-mode-today .tomorrow-assigned,.tv-mode-tomorrow .tomorrow-assigned{justify-self:start!important;width:auto!important;max-width:100%!important;font-size:11px!important}
 body.tv-mobile-fullscreen{overflow:hidden!important}
 body.tv-mobile-fullscreen #app{position:fixed!important;inset:0!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important}
 body.tv-mobile-fullscreen .tv{height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important;padding-bottom:28px!important}
 .akos-week-leave-list{grid-template-columns:1fr}
}


/* TIMX LIVE PILOT 1.0.4 – kizárólag mobil folytonos görgetés, vezetői csoportok és mai lerakás */
.today-unload-row td,.simple-today-import td{
  background:linear-gradient(90deg,rgba(173,88,10,.42),rgba(128,61,8,.30))!important;
  border-top:2px solid #f59e0b!important;border-bottom:2px solid #f59e0b!important;
}
.today-unload-badge{display:inline-flex;align-items:center;justify-content:center;margin-top:4px;padding:3px 7px;border:1px solid #f59e0b;border-radius:999px;background:rgba(245,158,11,.18);color:#ffd38a;font-size:11px;font-weight:900;white-space:nowrap}
.akos-tractor-group{margin:12px 0 16px}.akos-tractor-group h4{margin:0 0 7px;padding:7px 10px;border-left:4px solid #4d8bc2;background:#10263a;color:#dcecff;border-radius:7px;font-size:.92rem}.akos-tractor-group:last-child h4{border-left-color:#f0ad4e;background:#322411;color:#ffe0a3}

@media(max-width:700px){
  html,body{height:auto!important;min-height:100%!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;position:static!important}
  body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen),body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) #app,body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) main{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;position:static!important}
  body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv,body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-fit-stage,body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-fit-inner,body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-single-view,body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-dual-grid,body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .adaptive-tv-grid,body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-today-grid,body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-tomorrow-stack{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;position:static!important;transform:none!important;contain:none!important}
  body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-mode-today .tv-task-panel,body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-mode-tomorrow .tv-task-panel,body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-mode-freight .tv-single-view,body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-mode-freight .tv-panel{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;position:static!important}
  body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-mode-today .task-table tbody,body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-mode-tomorrow .task-table tbody{height:auto!important;max-height:none!important;overflow:visible!important;display:block!important}
  body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-mode-freight .tv-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
  body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-mode-freight .tv-table th,body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-mode-freight .tv-table td{font-size:11px!important;line-height:1.16!important;padding:5px 2px!important;text-align:center!important;vertical-align:middle!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important}
  body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-mode-freight .tv-table tbody{display:table-row-group!important}
  body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-mode-freight .tv-table tr{display:table-row!important;height:auto!important}
  body:not(.tv-native-fullscreen):not(.tv-mobile-fullscreen) .tv-mode-freight .tv-table td{display:table-cell!important;width:auto!important;max-width:none!important}
  .today-unload-badge{font-size:9px;padding:2px 5px;white-space:normal;line-height:1.1}
}
/* LIVE PILOT 1.1.0 */
.overdue-unload-row{background:rgba(220,38,38,.24)!important;box-shadow:inset 5px 0 #dc2626}.overdue-unload-row td{border-color:rgba(239,68,68,.5)!important}.import-assigned-row{background:rgba(34,197,94,.18)!important}.today-unload-row{background:rgba(249,115,22,.2)!important}.tomorrow-unload-row{background:rgba(250,204,21,.2)!important}

/* TIMX LIVE PILOT 1.1.2 – műszaki lejárati panelek egységes sötét/kék dizájn */
.technical-expiry-section{margin-top:22px;padding-top:2px}
.technical-expiry-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:12px}
.technical-expiry-heading h3{margin:0 0 4px;font-size:22px;color:var(--text)}
.technical-expiry-heading p{margin:0;color:var(--muted)}
.technical-expiry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.technical-expiry-card{background:linear-gradient(145deg,#0d1c2e,#10243a);border:1px solid #2d4a68;border-radius:14px;overflow:hidden;box-shadow:0 10px 26px rgba(0,0,0,.25)}
.technical-expiry-card>header{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-bottom:1px solid #31516f;background:linear-gradient(90deg,#173553,#1d456a);color:#eaf6ff}
.technical-expiry-card>header h4{margin:0;font-size:16px;color:#eaf6ff}
.technical-expiry-card>header span{min-width:42px;text-align:center;padding:4px 9px;border-radius:999px;background:#0c2237;border:1px solid #3f6f98;color:#9fd7ff;font-weight:900}
.technical-expiry-card.danger>header{background:linear-gradient(90deg,#173553,#214e77);color:#fff}
.technical-expiry-card.warning>header{background:linear-gradient(90deg,#183752,#24557d);color:#fff}
.technical-expiry-card.notice>header{background:linear-gradient(90deg,#193b59,#28608a);color:#fff}
.technical-expiry-card.future>header{background:linear-gradient(90deg,#1a405f,#2b6997);color:#fff}
.technical-expiry-list{padding:5px 14px 11px;background:transparent}
.technical-expiry-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 2px;border-bottom:1px solid #243e57;color:var(--text)}
.technical-expiry-row:last-child{border-bottom:0}
.technical-expiry-row b{display:block;font-size:15px;color:#eef6ff}
.technical-expiry-row small{display:block;color:#9db0c6;margin-top:2px}
.technical-expiry-row time{white-space:nowrap;font-weight:900;font-size:15px;color:#8fd0ff;background:#123f69;border:1px solid #2c6592;border-radius:7px;padding:4px 7px}
.technical-expiry-empty{padding:18px 2px 10px;color:#8da4bc;font-style:italic}
@media(max-width:760px){.technical-expiry-grid{grid-template-columns:1fr}.technical-expiry-heading h3{font-size:19px}.technical-expiry-row{align-items:flex-start}.technical-expiry-row time{font-size:14px}}

/* TIMX LIVE PILOT 1.1.3 – semleges, jogosultság alapú kezdőlap */
.timx-home{max-width:1500px;margin:0 auto;padding:28px 22px 48px}
.timx-home-hero{display:flex;align-items:center;gap:22px;padding:25px 27px;margin-bottom:22px;border:1px solid #31516f;border-radius:17px;background:linear-gradient(135deg,#0d1d2f,#102942 70%,#123554);box-shadow:0 16px 38px rgba(0,0,0,.25)}
.timx-home-mark{display:grid;place-items:center;flex:0 0 92px;height:92px;border-radius:22px;background:linear-gradient(145deg,#1e6fa8,#2e9ade);border:1px solid #5bbcff;color:white;font-size:24px;font-weight:1000;letter-spacing:.08em;box-shadow:0 8px 24px rgba(27,126,190,.28)}
.timx-home-hero p{margin:0 0 5px;color:#75bcea;font-size:.78rem;font-weight:900;letter-spacing:.12em}
.timx-home-hero h2{margin:0 0 7px;color:#f4faff;font-size:clamp(1.4rem,2.4vw,2.25rem);line-height:1.12}
.timx-home-hero span{color:#adbed1;font-size:1rem}
.timx-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.timx-home-card{display:flex;align-items:center;gap:15px;width:100%;min-height:118px;padding:18px;text-align:left;border:1px solid #2e4e6b;border-radius:15px;background:linear-gradient(145deg,#0c1b2b,#10273d);color:#f0f7ff;box-shadow:0 9px 22px rgba(0,0,0,.18);cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease}
.timx-home-card:hover,.timx-home-card:focus-visible{transform:translateY(-2px);border-color:#4f94c8;background:linear-gradient(145deg,#10253a,#153552);outline:none}
.timx-home-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:12px;background:#173b5c;border:1px solid #32678e;font-size:23px}
.timx-home-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.timx-home-copy strong{font-size:1.04rem;color:#f3f9ff}
.timx-home-copy small{color:#9fb2c7;font-size:.83rem;line-height:1.3}
.timx-home-arrow{color:#74c8ff;font-size:23px;font-weight:900}
.timx-no-access{padding:24px;text-align:center}.timx-no-access h3{margin:0 0 8px;color:#f8fafc}.timx-no-access p{margin:0;color:#a8b7c8}
@media(max-width:1050px){.timx-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.timx-home{padding:15px 12px 35px}.timx-home-hero{align-items:flex-start;padding:18px;gap:14px}.timx-home-mark{flex-basis:62px;height:62px;border-radius:15px;font-size:16px}.timx-home-hero p{font-size:.62rem}.timx-home-hero h2{font-size:1.25rem}.timx-home-hero span{font-size:.9rem}.timx-home-grid{grid-template-columns:1fr;gap:10px}.timx-home-card{min-height:96px;padding:14px}.timx-home-copy strong{font-size:1rem}}

/* TIMX LIVE PILOT 1.1.4 – mobilon olvasható, oldalra húzható táblázatok */
@media (max-width: 700px){
  /* Csak a normál admin táblák kapnak vízszintes, érintésbarát görgetést. */
  .mobile-horizontal-table{
    position:relative!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    max-height:none!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-x:contain!important;
    touch-action:pan-x pan-y!important;
    scroll-behavior:smooth;
  }
  .mobile-horizontal-table::before{
    content:'↔ Húzd oldalra a teljes táblázathoz';
    position:sticky;
    left:0;
    z-index:8;
    display:block;
    width:max-content;
    max-width:calc(100vw - 32px);
    margin:7px 8px 5px;
    padding:5px 9px;
    border:1px solid #315a7d;
    border-radius:999px;
    background:#102b43;
    color:#a9d9fb;
    font-size:11px;
    font-weight:800;
    line-height:1.1;
    pointer-events:none;
  }
  .mobile-horizontal-table table{
    width:max-content!important;
    max-width:none!important;
    table-layout:auto!important;
    border-collapse:separate!important;
  }
  .mobile-horizontal-table th,
  .mobile-horizontal-table td{
    display:table-cell!important;
    width:auto!important;
    max-width:none!important;
    min-width:112px!important;
    padding:9px 10px!important;
    text-align:center!important;
    vertical-align:middle!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    font-size:12px!important;
    line-height:1.25!important;
  }
  .mobile-horizontal-table thead{display:table-header-group!important}
  .mobile-horizontal-table tbody{display:table-row-group!important}
  .mobile-horizontal-table tr{display:table-row!important;height:auto!important}
  .mobile-horizontal-table th{position:sticky!important;top:0!important;z-index:5!important;white-space:nowrap!important}

  /* Nézetenként olyan minimumszélesség, amelyen a tartalom olvasható marad. */
  .mobile-table-archive table,
  .mobile-table-deleted table{min-width:1180px!important}
  .mobile-table-technical table{min-width:1050px!important}
  .mobile-table-freight-simple table{min-width:900px!important}
  .mobile-table-freight-detail table{min-width:1700px!important}

  /* Az egyszerű nézetet se alakítsa mobil kártyává vagy összenyomott fix táblává. */
  .mobile-table-freight-simple .simple-freight-table{
    width:max-content!important;
    min-width:900px!important;
    table-layout:auto!important;
  }
  .mobile-table-freight-simple .simple-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    min-width:145px!important;
  }
  .mobile-horizontal-table .tiny-date{white-space:nowrap!important}
  .mobile-horizontal-table .status-pill{white-space:nowrap!important}
}

/* ===== LIVE PILOT 1.1.5 – jogosultság és adminfelület ===== */
.timx-readonly-note{margin:0 0 12px;padding:10px 14px;border:1px solid #31506d;border-radius:10px;background:#10263a;color:#b9d5ec;font-weight:700}
.timx-readonly .readonly-control,.timx-readonly input:disabled,.timx-readonly select:disabled,.timx-readonly textarea:disabled{opacity:.72;cursor:not-allowed}
.timx-access-denied{max-width:720px;margin:56px auto;padding:42px;text-align:center;border:1px solid #35536e;background:linear-gradient(180deg,#10243a,#0b1828)}
.timx-access-denied-icon{font-size:48px}.timx-access-denied h2{margin:14px 0 8px}.timx-access-denied p{color:#a9bfd2;line-height:1.55}
.permissions-admin{max-width:1500px;margin:0 auto;padding:24px}.admin-hero{margin-bottom:18px}.eyebrow{margin:0 0 4px;color:#69b9f5;font-size:12px;font-weight:900;letter-spacing:.12em}
.admin-user-panel{padding:0;overflow:hidden;border:1px solid #294962;background:#0d1e30;margin-bottom:14px}.admin-user-panel>summary{list-style:none;cursor:pointer;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;background:#122a42;border-bottom:1px solid transparent}.admin-user-panel[open]>summary{border-bottom-color:#294962}.admin-user-panel>summary::-webkit-details-marker{display:none}.admin-user-panel>summary strong{font-size:17px}.admin-user-panel>summary small{display:block;margin-top:3px;color:#90a9bd}.panel-chevron{font-size:22px;color:#79b9e6;transition:.2s}.admin-user-panel[open] .panel-chevron{transform:rotate(180deg)}.panel-body{padding:18px}
.permission-masterbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 10px;padding:12px 14px;border-radius:10px;background:#0a1725;border:1px solid #29445b}.permission-masterbar>div{display:flex;gap:7px;flex-wrap:wrap}.mini-action{border:1px solid #3d6584;background:#15314a;color:#dcefff;border-radius:8px;padding:7px 10px;font-weight:800;cursor:pointer}.mini-action:hover{background:#1d4567}.danger-soft{border-color:#7a3a45;color:#ffc4cb;background:#301b24}
.permission-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.permission-group{border:1px solid #294962;border-radius:10px;overflow:hidden;background:#0b1928}.permission-group summary{cursor:pointer;display:flex;justify-content:space-between;padding:11px 13px;background:#10283e;font-weight:800}.permission-group summary small{color:#7fa6c4}.permission-table{padding:5px 10px 10px}.permission-row{display:grid;grid-template-columns:minmax(170px,1fr) 110px 110px;align-items:center;min-height:38px;border-bottom:1px solid #1b3449}.permission-row:last-child{border-bottom:0}.permission-row>span{text-align:center}.permission-head{font-size:11px;text-transform:uppercase;color:#7f9bb1;font-weight:900}.permission-row input[type=checkbox]{width:19px;height:19px;accent-color:#2f92dd}.admin-actions{display:flex;justify-content:flex-end;margin-top:16px}.users-section-title{display:flex;align-items:center;gap:8px;margin:24px 0 12px}.users-section-title>div{margin-right:auto}.users-section-title h2,.users-section-title p{margin:0}.users-section-title p{color:#7894aa}.user-panels{display:grid;gap:12px}.user-summary-main,.user-summary-state{display:flex;align-items:center;gap:12px}.user-avatar{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#1e5e8f;color:white;font-weight:900;font-size:20px}.active-user,.inactive-user{padding:5px 9px;border-radius:999px;font-size:12px;font-weight:900}.active-user{background:#123d2d;color:#7df0b5}.inactive-user{background:#45222b;color:#ffabb8}.user-toggle-form{margin-top:12px;padding-top:12px;border-top:1px solid #29445b}
@media(max-width:850px){.permissions-admin{padding:12px}.permission-groups{grid-template-columns:1fr}.permission-masterbar{align-items:flex-start;flex-direction:column}.permission-row{grid-template-columns:minmax(130px,1fr) 88px 88px}.users-section-title{flex-wrap:wrap}.users-section-title>div{width:100%}.panel-body{padding:12px}}

/* ===== LIVE PILOT 1.1.6 ===== */
.tech-driver-need-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px;border:1px solid #315674;border-radius:12px;background:#0b1d2f}
.tech-driver-need-fields[hidden]{display:none!important}
.tech-driver-need-fields label{margin:0}
.tech-inline-time{display:block;margin-top:3px;color:#8fc7ef;font-weight:800}
.warning-text{display:block;color:#ffb449;font-weight:900}
.import-done-btn{background:#176341!important;border-color:#34a56d!important;color:#e8fff3!important}
.simple-collision-alert{margin-top:5px;padding:4px 6px;border-radius:7px;background:#6d1820;color:#fff;font-size:10px;font-weight:900;white-space:normal}
.simple-freight-table td.collision{background:linear-gradient(135deg,#7c1720,#4b1017)!important;box-shadow:inset 0 0 0 2px #ff4f5f}
.simple-has-collision{outline:1px solid rgba(255,75,91,.45)}
.import-completed-row,.simple-import-completed{background:rgba(31,132,83,.18)!important}
.compact-complete{display:inline-flex;margin-top:4px}
@media(max-width:850px){.tech-driver-need-fields{grid-template-columns:1fr}.mobile-table-technical table{min-width:1320px!important}}

/* LIVE PILOT 1.1.7 */
.readonly-assignment-field{min-height:38px;display:flex;align-items:center;justify-content:center;background:#0b1a2b;border:1px solid #31506d;border-radius:8px;padding:7px 10px}
.unload-assigned-live117{margin-top:6px}
.tomorrow-tech-job{border-color:#9a6a19;box-shadow:inset 0 0 0 1px rgba(255,174,45,.18)}
.tomorrow-tech-job header{background:rgba(126,76,14,.22)}

/* ===== LIVE PILOT 1.1.8 – sofőr workflow és státuszkártyák ===== */
.assignment-saved-card{position:relative;background:linear-gradient(135deg,rgba(27,108,79,.34),rgba(14,45,55,.92))!important;border-color:#49d69a!important;box-shadow:0 0 0 1px rgba(73,214,154,.18),0 10px 30px rgba(0,0,0,.16)}
.assignment-card-check{position:absolute;right:12px;bottom:10px;padding:6px 10px;border-radius:999px;background:#178a5c;color:#fff;font-weight:900;font-size:12px;box-shadow:0 4px 14px rgba(0,0,0,.22)}
.assignment-success-pop{position:fixed;right:24px;bottom:24px;z-index:99999;display:flex;align-items:center;gap:10px;padding:14px 18px;border:1px solid #4ce2a0;border-radius:14px;background:#0f7c53;color:#fff;font-weight:900;box-shadow:0 14px 40px rgba(0,0,0,.4);opacity:0;transform:translateY(18px);transition:.22s ease}.assignment-success-pop.show{opacity:1;transform:none}.assignment-success-pop b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#d9ffec;color:#087047;font-size:18px}
.driver-status-grid-118{align-items:stretch}.driver-status-card-118{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:250px;position:relative;overflow:hidden}.driver-status-card-118 h3,.driver-status-card-118 p,.driver-status-card-118 b,.driver-status-card-118 small{margin:0;text-align:center}.driver-status-strip{width:100%;padding:8px 10px;border-radius:999px;background:#165786;color:#aee0ff;font-weight:900;text-align:center}.driver-status-strip.driver-loaded{background:#14784d;color:#eafff3}.driver-status-card-118.driver-loaded{background:var(--card,#0f2134)}.driver-status-card-118.driver-complete{background:linear-gradient(145deg,rgba(32,132,88,.54),rgba(11,52,44,.94));border-color:#53e5a4}.driver-status-strip.driver-complete{background:#1c9b67;color:white}.driver-status-card-118.driver-alert{background:linear-gradient(145deg,rgba(162,33,43,.95),rgba(69,10,20,.96));border-color:#ff5d6d;animation:driverAlertPulse118 1s infinite alternate}.driver-status-strip.driver-alert{background:#d61f35;color:#fff}.driver-status-audit{color:#9bb4c9!important}.driver-dispatch-controls{width:100%;display:grid;gap:8px;margin-top:auto}.driver-dispatch-controls select{width:100%;min-width:0}.dispatcher-check{display:flex;align-items:center;justify-content:center;gap:8px;padding:9px;border:1px solid #55dc9f;border-radius:10px;background:rgba(19,129,82,.24);font-weight:800;cursor:pointer}.dispatcher-check input{width:18px;height:18px}.driver-status-archive{margin-top:28px}.driver-status-archive>h2{margin:0 0 12px}
@keyframes driverAlertPulse118{from{box-shadow:0 0 0 0 rgba(255,66,84,.25)}to{box-shadow:0 0 0 8px rgba(255,66,84,.05),0 0 32px rgba(255,49,70,.42)}}
.driver-page{min-height:100dvh}.driver-current-118{transition:.2s ease}.driver-current-118.driver-complete{background:linear-gradient(145deg,#176847,#0e3e35);border-color:#59dfa4}.driver-current-118.driver-alert{background:linear-gradient(145deg,#a51f31,#4b0b17);border-color:#ff5e73;animation:driverAlertPulse118 1s infinite alternate}.driver-mobile-status{margin-top:14px;padding:12px 14px;border-radius:12px;background:#15547d;color:#d7eeff;font-weight:900;text-align:center}.driver-mobile-status.driver-loaded,.driver-mobile-status.driver-complete{background:#16875b;color:#fff}.driver-mobile-status.driver-alert{background:#d72038;color:#fff}.driver-phase,.driver-fixed-alerts{margin-top:18px}.driver-phase h3,.driver-fixed-alerts h3{text-align:center;color:#d7eaff}.driver-flow-grid button{min-height:64px;font-weight:900}.driver-fixed-alerts{display:grid;gap:10px}.driver-danger-btn{width:100%;min-height:62px;border:1px solid #ff5f70!important;background:linear-gradient(145deg,#b61f35,#731322)!important;color:#fff!important;font-weight:900!important;font-size:16px!important}.driver-danger-btn:active{transform:scale(.98)}
@media(max-width:700px){.assignment-success-pop{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));left:12px;justify-content:center}.assignment-card-check{position:static;display:inline-flex;margin-top:10px}.driver-status-card-118{min-height:220px}.driver-dispatch-controls select{font-size:16px}.driver-flow-grid{grid-template-columns:1fr!important}.driver-flow-grid button,.driver-danger-btn{font-size:17px!important;line-height:1.25}}

/* LIVE PILOT 1.1.9 – Holnapi Belföldes beosztási visszajelzés */
.assignment-saved-card-119{position:relative!important;background:linear-gradient(135deg,rgba(32,132,91,.48),rgba(11,53,48,.96))!important;border:2px solid #4ce0a2!important;box-shadow:0 0 0 1px rgba(76,224,162,.24),0 12px 30px rgba(0,0,0,.2)!important}
.assignment-card-check-119{position:absolute!important;right:12px!important;bottom:10px!important;display:inline-flex!important;align-items:center!important;gap:5px!important;padding:7px 11px!important;border-radius:999px!important;background:#15925f!important;border:1px solid #65efb4!important;color:#fff!important;font-size:12px!important;font-weight:950!important;line-height:1!important;z-index:4!important;box-shadow:0 5px 16px rgba(0,0,0,.28)!important}
.assignment-success-pop-119{right:22px!important;bottom:22px!important}
@media(max-width:700px){.assignment-card-check-119{position:static!important;margin:10px 0 0 auto!important;width:max-content!important}.assignment-success-pop-119{left:12px!important;right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important}}

/* ===== LIVE PILOT 1.1.10 – Holnapi beosztott kártya ===== */
.tomorrow-job.assignment-saved-card-110{
  position:relative!important;
  background:linear-gradient(145deg,#1b7657 0%,#15513f 48%,#0d3a32 100%)!important;
  border:2px solid #5ce3a9!important;
  box-shadow:inset 0 0 0 1px rgba(205,255,231,.16),0 10px 28px rgba(0,0,0,.24)!important;
}
.tomorrow-job.assignment-saved-card-110 header{background:rgba(6,55,42,.38)!important}
.tomorrow-job.assignment-saved-card-110 .tomorrow-current-assignment,
.tomorrow-job.assignment-saved-card-110 .tomorrow-form{border-color:rgba(111,240,180,.38)!important}
.assignment-card-check-110{
  position:absolute!important;right:12px!important;bottom:12px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;gap:2px!important;
  min-width:128px!important;padding:8px 12px!important;border-radius:12px!important;
  background:#0f9b62!important;border:1px solid #8af1bf!important;color:#fff!important;
  text-align:center!important;z-index:8!important;box-shadow:0 7px 18px rgba(0,0,0,.3)!important
}
.assignment-card-check-110 b{font-size:13px!important;line-height:1.05!important}.assignment-card-check-110 small{font-size:10px!important;color:#dcfff0!important}
.assignment-button-saved-110{background:#128557!important;border-color:#6ee5ad!important;color:#fff!important}
@media(max-width:700px){.assignment-card-check-110{position:static!important;margin:10px 0 0 auto!important;min-width:0!important;width:max-content!important}.tomorrow-job.assignment-saved-card-110{padding-bottom:12px!important}}

/* ===== LIVE PILOT 1.1.12 – műszakis beosztott kártya ===== */
.tomorrow-tech-job.tech-assigned-112,
.tomorrow-tech-job.assignment-saved-card-110{
  background:linear-gradient(145deg,#1b7657 0%,#15513f 48%,#0d3a32 100%)!important;
  border:2px solid #5ce3a9!important;
  box-shadow:inset 0 0 0 1px rgba(205,255,231,.16),0 10px 28px rgba(0,0,0,.24)!important;
}
.tomorrow-tech-job.tech-assigned-112 header{background:rgba(6,55,42,.38)!important}
.tomorrow-tech-job .tech-check-112{display:flex!important}

/* ===== TIMX LIVE PILOT 1.2.0 ===== */
.driver-current-118.driver-arrived{background:rgba(70,180,120,.10)!important;border-color:rgba(80,220,150,.42)!important;box-shadow:0 0 0 1px rgba(80,220,150,.12) inset}
.driver-mobile-status.driver-arrived,.driver-status-strip.driver-arrived{background:rgba(70,190,125,.24)!important;color:#dffff0!important;border-color:rgba(80,220,150,.42)!important}
.driver-date-row-120{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0;text-align:center}.driver-date-row-120 span{padding:9px;border:1px solid #284861;border-radius:10px;background:#091a2a}.driver-date-row-120 b,.driver-status-dates-120 b{color:#ffd75a}.driver-reference-120,.driver-reference-view-120{margin:10px 0;padding:10px;border-radius:10px;background:#102b43;border:1px solid #2d5e82;text-align:center}.driver-reference-edit-120{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin:8px 0}.driver-reference-edit-120 input{min-width:0}.driver-status-dates-120{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:8px 0;font-size:.88rem}.export-load-job-120{border-color:#9a5a18}.export-load-job-120 header{background:rgba(165,93,22,.16)}


/* ===== LIVE PILOT 1.2.1 – külön felrakási és lerakási referenciaszám ===== */
.driver-reference-pair-121{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end;margin:10px 0;padding:10px;border:1px solid #2d5e82;border-radius:12px;background:#0a1d2e}
.driver-reference-pair-121 label{display:grid;gap:5px;text-align:left;font-size:.82rem;color:#a9bfd2}
.driver-reference-pair-121 input{width:100%;min-width:0}
@media(max-width:700px){.driver-reference-pair-121{grid-template-columns:1fr}.driver-reference-pair-121 .icon-btn{width:100%}}

/* LIVE PILOT 1.2.2 – rendezett jogosultságok és referencia kártyák */
.permissions-admin{max-width:1560px}
.new-user-panel{box-shadow:0 16px 44px rgba(0,0,0,.22)}
.new-user-panel>summary{background:linear-gradient(135deg,#143552,#102942)}
.permission-masterbar{position:sticky;top:0;z-index:2;background:#0b1d2e}
.permission-masterbar strong{font-size:1rem;color:#eaf6ff}
.permission-masterbar .mini-action{min-height:34px}
.role-groups-admin{display:grid;gap:16px;margin-top:14px}
.role-user-group{border:1px solid #2b4d67;border-radius:14px;overflow:hidden;background:#091827}
.role-user-group>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 18px;cursor:pointer;background:linear-gradient(90deg,#173651,#10283e);border-bottom:1px solid transparent}
.role-user-group[open]>summary{border-bottom-color:#31556f}
.role-user-group>summary::-webkit-details-marker{display:none}
.role-user-group>summary strong{font-size:1.15rem;color:#eef8ff}
.role-user-group>summary small{display:block;margin-top:3px;color:#8eabc0}
.role-user-group[open]>summary .panel-chevron{transform:rotate(180deg)}
.role-user-list{padding:14px;display:grid;gap:12px}
.role-user-list .admin-user-panel{margin:0}
.user-delete-form{margin-top:12px;padding-top:12px;border-top:1px solid #29445b;display:flex;justify-content:flex-end}
.user-delete-form .danger-outline{background:#511d27;border-color:#a84b59;color:#ffdbe0;font-weight:900}
.user-delete-form .danger-outline:hover{background:#702532}
.permissions-shell .permission-masterbar>div{display:grid;grid-template-columns:repeat(3,max-content);gap:8px}
.driver-reference-pair-121{grid-template-columns:1fr;align-items:stretch}
.driver-reference-pair-121 label{width:100%}
.driver-reference-pair-121 .icon-btn{width:100%;justify-content:center}
.driver-reference-view-120{display:block;width:100%;text-align:left}
@media(max-width:850px){
 .permissions-shell .permission-masterbar>div{grid-template-columns:1fr;width:100%}
 .permission-masterbar .mini-action{width:100%}
 .role-user-list{padding:8px}
}

/* LIVE PILOT 1.2.4 – Vezetői napi aktivitás */
.timx-daily-activity{margin-top:16px}.akos-daily-activity-group{margin-top:12px;background:#0d1f32;border:1px solid #294863;border-radius:12px;padding:12px}.akos-daily-activity-group h4{margin:0 0 10px;color:#dbeeff;font-size:16px}.akos-daily-activity-card{background:#10263c;border:1px solid #315879;border-radius:10px;padding:12px;margin:8px 0}.akos-daily-activity-card.leave{border-color:#805b9d;background:#241f36}.akos-daily-activity-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.akos-daily-activity-head b{font-size:18px}.akos-daily-activity-head span{background:#174f7b;color:#bde5ff;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:900}.akos-daily-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.akos-daily-activity-grid>div{background:#0b1b2b;border:1px solid #28435e;border-radius:8px;padding:8px}.akos-daily-activity-grid small{display:block;color:#8eabc4;margin-bottom:3px}.akos-daily-activity-grid strong{display:block;color:#edf7ff;overflow-wrap:anywhere}@media(max-width:900px){.akos-daily-activity-grid{grid-template-columns:1fr}.akos-daily-activity-head{align-items:flex-start;flex-direction:column}}

/* ===== LIVE PILOT 1.2.5 – kompakt napi aktivitás ===== */
.compact-activity{padding-bottom:10px}.akos-daily-activity-group{margin:8px 0;border:1px solid #29465f;border-radius:12px;overflow:hidden;background:#0d1e30}.akos-daily-group-head{width:100%;border:0;background:#17324b;color:#edf7ff;display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:10px 13px;font-weight:800;text-align:left;cursor:pointer}.akos-daily-group-head b{background:#24577e;border-radius:999px;padding:3px 9px;font-size:12px}.akos-daily-group-head i{font-style:normal;transition:transform .18s}.akos-daily-group-head[aria-expanded="true"] i{transform:rotate(180deg)}.danger-group .akos-daily-group-head{background:#5b1f28}.danger-group .akos-daily-group-head b{background:#a52e3b}.leave-group .akos-daily-group-head{background:#2d3d55}.akos-daily-group-body{padding:7px}.akos-daily-activity-card.compact{margin:5px 0;border:1px solid #2c4b65;border-radius:9px;overflow:hidden;background:#102338}.akos-daily-activity-card.compact.stalled{border-color:#e54855;box-shadow:inset 4px 0 0 #e54855}.akos-daily-summary{width:100%;border:0;background:transparent;color:#eef7ff;display:grid;grid-template-columns:minmax(130px,180px) minmax(250px,1fr) minmax(110px,150px) minmax(125px,170px) 22px;gap:10px;align-items:center;padding:9px 11px;text-align:left;cursor:pointer}.akos-daily-summary:hover{background:#173149}.akos-daily-main{display:flex;flex-direction:column;gap:2px}.akos-daily-main b{font-size:16px}.akos-daily-main small{color:#a9bed0;font-size:12px}.akos-daily-summary-event{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#d8e9f7;font-size:13px}.akos-daily-idle,.akos-daily-state{justify-self:start;border-radius:999px;padding:4px 8px;background:#1d5277;color:#dff3ff;font-size:11px;font-weight:900}.akos-daily-idle.danger,.akos-daily-activity-card.stalled .akos-daily-state{background:#9e2733;color:#fff}.akos-daily-chevron{font-size:18px;transition:transform .18s}.akos-daily-activity-card.open .akos-daily-chevron{transform:rotate(180deg)}.akos-daily-details{border-top:1px solid #29465f;padding:8px 10px 10px}.compact-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}.compact-grid>div{padding:7px 9px!important;min-height:auto!important}.compact-grid small{font-size:11px}.compact-grid strong{font-size:12px}.danger-text{color:#ff6b76!important}.akos-daily-group-body[hidden],.akos-daily-details[hidden]{display:none!important}
@media(max-width:900px){.akos-daily-summary{grid-template-columns:1fr auto;gap:6px}.akos-daily-summary-event{grid-column:1/-1;white-space:normal}.akos-daily-idle,.akos-daily-state{font-size:10px}.akos-daily-chevron{position:absolute;right:12px}.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* LIVE PILOT 1.2.6 – tartalék kamion */
.akos-daily-activity-group.reserve-group{border-color:#3d6f8f}
.akos-daily-activity-group.reserve-group .akos-daily-group-head{background:linear-gradient(90deg,#163249,#1b405b);color:#d9f1ff}
.akos-daily-activity-card.compact:has(.akos-daily-state){transition:border-color .2s,background .2s}
.akos-daily-state{white-space:nowrap}

/* ===== LIVE PILOT 1.3.0 – Bérszámfejtés + TIMX Special timeline ===== */
.payroll-toolbar{margin-bottom:10px}.payroll-tabs{display:flex;gap:8px;margin:0 0 12px;flex-wrap:wrap}.payroll-tabs button{background:#102a43;border:1px solid #3f6d96;color:#dceeff;border-radius:9px;padding:9px 14px;font-weight:800}.payroll-tabs button.active{background:#2389d7;box-shadow:0 0 0 2px rgba(73,174,255,.25)}
.payroll-wrap,.special-timeline-wrap{overflow:auto;max-width:100%;border:1px solid #31506d;background:#071522}.payroll-table,.special-timeline-table{border-collapse:separate;border-spacing:0;min-width:max-content;width:max-content;color:#e9f5ff}.payroll-table th,.payroll-table td,.special-timeline-table th,.special-timeline-table td{border-right:1px solid #2b4862;border-bottom:1px solid #2b4862;text-align:center}
.payroll-table thead th{position:sticky;top:0;z-index:5;background:#bfe3f5;color:#071522;padding:10px 8px;min-width:118px}.payroll-table thead th small{display:block;font-size:9px;line-height:1.2;margin-top:4px;color:#27465e}.payroll-table .payroll-corner{left:0;z-index:8;min-width:130px}.payroll-table .pay-date,.payroll-table .pay-day{position:sticky;background:#d6e8f5;color:#071522;font-weight:900;z-index:3}.payroll-table .pay-date{left:0;min-width:78px}.payroll-table .pay-day{left:78px;min-width:52px}.payroll-table td{height:42px;background:#0b1d2e;padding:0}.payroll-table tr.weekend td,.payroll-table tr.weekend .pay-date,.payroll-table tr.weekend .pay-day{background:#16314a}.payroll-table select{width:100%;height:100%;border:0;background:transparent;color:#eaf6ff;text-align:center;font-weight:800;padding:6px;appearance:none}.payroll-table td.pay-money{background:#153f2e}.payroll-table td.pay-leave{background:#572943}.payroll-table td.pay-sick{background:#78421e}.payroll-table td.pay-code{background:#223b54}.payroll-total th,.payroll-total td{position:sticky;bottom:0;background:#f0e900!important;color:#111!important;z-index:4;padding:5px}.payroll-summary{display:grid;gap:2px;font-size:10px;min-width:118px}.payroll-summary b{font-size:12px}.payroll-hint{margin-top:8px}
.special-timeline-section{margin-top:22px;padding-top:18px;border-top:1px solid #27455f}.special-timeline-table thead th{position:sticky;top:0;z-index:6;background:#f0a800;color:#101820;min-width:105px;padding:8px 5px}.special-timeline-table thead th small{display:block}.special-timeline-table thead th.weekend{background:#cf7a12}.special-timeline-table .timeline-corner{left:0;z-index:9;min-width:205px}.timeline-driver{position:sticky;left:0;z-index:4;background:#eaa800;color:#0b1721;min-width:205px;padding:9px;text-align:left!important}.timeline-driver strong,.timeline-driver span{display:block}.timeline-driver strong{font-size:13px}.timeline-driver span{font-size:11px;margin-top:3px}.timeline-cell{background:#0c1c2b;min-width:105px;max-width:150px;padding:4px;vertical-align:top}.timeline-cell.timeline-auto{background:#123d2c}.timeline-cell.timeline-leave{background:#7c1021}.timeline-auto-text{display:block;font-size:9px;line-height:1.15;font-weight:800;color:#fff;margin-bottom:4px;white-space:normal}.timeline-cell input{width:100%;min-width:95px;background:#081522;border:1px solid #365a79;color:#e8f6ff;border-radius:5px;padding:5px;font-size:10px}.timeline-cell input:focus{outline:2px solid #3fa6ff}
@media(max-width:760px){.payroll-toolbar .right{width:100%}.payroll-toolbar .right button{width:100%}.payroll-table thead th{min-width:105px}.payroll-table .pay-date{min-width:70px}.payroll-table .pay-day{left:70px;min-width:46px}.special-timeline-section .toolbar .right{display:flex;width:100%}.special-timeline-section .toolbar .right button{flex:1}.special-timeline-table .timeline-corner,.timeline-driver{min-width:170px}}


/* ===== LIVE PILOT 1.3.1 – Bérszámfejtés olvashatóság + kategóriaszínek ===== */
.payroll-table .pay-driver-head.cat-domestic,.payroll-table td.cat-domestic{background:#bfe3f5;color:#071522}
.payroll-table .pay-driver-head.cat-normal-timx,.payroll-table td.cat-normal-timx{background:#FFDD87;color:#000}
.payroll-table .pay-driver-head.cat-normal-ec,.payroll-table td.cat-normal-ec{background:#FFFAB6;color:#000}
.payroll-table .pay-driver-head.cat-mega,.payroll-table td.cat-mega{background:#C00000;color:#fff}
.payroll-table .pay-driver-head.cat-special,.payroll-table td.cat-special{background:#EE0000;color:#000}
.payroll-table .pay-driver-head.cat-van,.payroll-table td.cat-van{background:#E97132;color:#000}
.payroll-table .pay-driver-head.cat-other,.payroll-table td.cat-other{background:#fff;color:#000}
.payroll-table .pay-driver-head small{color:inherit!important;opacity:.78}
.payroll-table td select{color:inherit!important;text-shadow:none}
.payroll-table tr.weekend .pay-date,.payroll-table tr.weekend .pay-day{background:#274861!important;color:#fff!important}
.payroll-table tr.weekend td{box-shadow:inset 0 0 0 9999px rgba(5,15,25,.18)}
.payroll-table tr.weekend td select{font-weight:900}
.payroll-table td.pay-money{box-shadow:inset 0 0 0 9999px rgba(24,120,67,.30)}
.payroll-table td.pay-leave{box-shadow:inset 0 0 0 9999px rgba(184,31,99,.38)}
.payroll-table td.pay-sick{box-shadow:inset 0 0 0 9999px rgba(196,91,26,.38)}
.payroll-table td.pay-code{box-shadow:inset 0 0 0 9999px rgba(37,78,112,.28)}
.special-timeline-wrap{scroll-behavior:smooth}

/* ===== LIVE PILOT 1.3.2 – timeline kétirányú görgetés + kompakt, olvasható bérszámfejtés ===== */
.special-timeline-wrap{
  overflow-x:auto!important;
  overflow-y:auto!important;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
  cursor:grab;
}
.special-timeline-wrap:active{cursor:grabbing}

/* Erősebb cellahatárok, kisebb sormagasság és világosabb alap */
.payroll-wrap{background:#0b1d2d!important;border:1px solid #4a708f!important}
.payroll-table{background:#0b1d2d!important}
.payroll-table th,.payroll-table td{
  border-right:1px solid #587792!important;
  border-bottom:1px solid #587792!important;
}
.payroll-table thead th{
  padding:7px 7px!important;
  min-width:114px!important;
  line-height:1.15!important;
}
.payroll-table .pay-date,.payroll-table .pay-day{
  background:#d5e8f4!important;
  color:#071522!important;
}
.payroll-table td{
  height:30px!important;
  min-height:30px!important;
  background:#173149!important;
  padding:0!important;
}
.payroll-table select{
  display:block!important;
  width:100%!important;
  height:30px!important;
  min-height:30px!important;
  padding:2px 6px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  text-align:center!important;
  text-align-last:center!important;
  opacity:1!important;
}
.payroll-table select option{background:#fff!important;color:#111!important}

/* A kategóriaszín a fejlécen marad; a napi cellák egységesen jól olvashatók. */
.payroll-table td.cat-domestic,
.payroll-table td.cat-normal-timx,
.payroll-table td.cat-normal-ec,
.payroll-table td.cat-mega,
.payroll-table td.cat-special,
.payroll-table td.cat-van,
.payroll-table td.cat-other{
  background:#173149!important;
  color:#fff!important;
}
.payroll-table td select,
.payroll-table td select:focus,
.payroll-table td select:active{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Kitöltött kódok jól elkülönítve. */
.payroll-table td.pay-money{background:#1d6642!important;box-shadow:none!important}
.payroll-table td.pay-leave{background:#9a2c61!important;box-shadow:none!important}
.payroll-table td.pay-sick{background:#a75222!important;box-shadow:none!important}
.payroll-table td.pay-code{background:#315b7c!important;box-shadow:none!important}
.payroll-table td.pay-money select,
.payroll-table td.pay-leave select,
.payroll-table td.pay-sick select,
.payroll-table td.pay-code select{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* A hétvége teljes sorban, bal széltől jobb szélig egybefüggő jelölést kap. */
.payroll-table tr.weekend th,
.payroll-table tr.weekend td{
  background:#294b68!important;
  color:#fff!important;
  box-shadow:none!important;
}
.payroll-table tr.weekend td.pay-money{background:#276b4a!important}
.payroll-table tr.weekend td.pay-leave{background:#963860!important}
.payroll-table tr.weekend td.pay-sick{background:#a45a31!important}
.payroll-table tr.weekend td.pay-code{background:#3e6482!important}
.payroll-table tr.weekend select{color:#fff!important;-webkit-text-fill-color:#fff!important}

.payroll-total th,.payroll-total td{padding:4px!important}
.payroll-summary{font-size:9px!important;min-width:114px!important}
.payroll-summary b{font-size:11px!important}

/* ===== TIMX LIVE 2.0 ===== */
.live20-job-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}.live20-job{display:flex;flex-direction:column;gap:12px}.live20-job header{display:flex;justify-content:space-between;gap:12px}.live20-job header div{display:flex;flex-direction:column;gap:4px}.live20-job-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.live20-job-meta span{background:rgba(255,255,255,.06);padding:8px;border-radius:8px}.live20-job.done{background:rgba(31,180,100,.18);border-color:#41d88a}.live20-stage-btn{background:#0d85cf!important;color:white!important;font-weight:800}.planned-collision{background:rgba(255,190,0,.2)!important;box-shadow:inset 0 0 0 2px #ffc400}.collision{animation:live20Blink 1s infinite;background:rgba(190,0,0,.32)!important;box-shadow:inset 0 0 0 2px #ff3636}@keyframes live20Blink{50%{filter:brightness(1.45)}}
.driver-view-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}.driver-view-toolbar button.active{background:#159be8;color:#fff}.live20-driver-card details summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;list-style:none}.live20-driver-card details summary::-webkit-details-marker{display:none}.live20-driver-body{display:grid;gap:10px;margin-top:12px}.live20-status-timeline-wrap{overflow:auto;max-height:72vh}.live20-status-timeline{min-width:1500px;border-collapse:separate;border-spacing:0}.live20-status-timeline th,.live20-status-timeline td{border:1px solid rgba(120,190,230,.25);padding:8px;min-width:110px;text-align:center}.live20-status-timeline th:first-child{position:sticky;left:0;z-index:2;background:#102b40;min-width:220px}.live20-status-timeline th small{display:block;color:#8fd2ff}.live20-status-timeline .timeline-leave{background:#8b1840;color:#fff;font-weight:800}.live20-driver-board:fullscreen,.live20-driver-board.pseudo-fullscreen{background:#071824;padding:18px;overflow:auto;width:100%;height:100%}.live20-work-page .tomorrow-page>.toolbar{display:none}
@media(max-width:700px){.live20-job-grid{display:block}.live20-job{margin-bottom:12px}.live20-job-meta{grid-template-columns:1fr}.driver-view-toolbar{display:grid;grid-template-columns:1fr 1fr}.live20-status-timeline-wrap{max-height:none}.live20-driver-card details summary{align-items:flex-start;flex-direction:column}}

/* ===== TIMX LIVE 2.0.1 ===== */
.fixed-domestic-section{margin:18px 14px 28px;border-top:1px solid #294963;padding-top:16px}.fixed-job-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:12px}.fixed-job-card{display:grid;grid-template-columns:1.4fr 1fr auto;gap:14px;align-items:center;padding:14px;border:1px solid #315c7b;background:#0d2033}.fixed-job-card h4{margin:0 0 4px;font-size:17px}.fixed-job-card p{margin:4px 0;color:#adc1d3}.fixed-job-card.inactive{opacity:.55}.fixed-job-meta{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#b6cadb}.fixed-job-actions{display:flex;gap:7px;flex-wrap:wrap}.fixed-job-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fixed-job-form label{display:flex;flex-direction:column;gap:5px}.fixed-job-form input,.fixed-job-form select,.fixed-job-form textarea{width:100%}.fixed-wide,.fixed-weekdays{grid-column:1/-1}.fixed-weekdays>div{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.fixed-day-chip{display:block!important}.fixed-day-chip input{display:none}.fixed-day-chip span{display:block;padding:7px 11px;border:1px solid #3a6483;border-radius:9px;background:#0b1a29}.fixed-day-chip input:checked+span{background:#2386d8;color:#fff;border-color:#56b3ff}.fixed-active{flex-direction:row!important;align-items:center}.fixed-active input{width:auto}.live201-daily-timeline td{vertical-align:top;min-width:150px;padding:5px}.timeline-task{display:block;margin:2px 0;padding:4px 6px;border-radius:6px;background:#143a56;border-left:3px solid #38a7ef;color:#eef8ff;font-size:11px;line-height:1.25}.live201-daily-timeline th:first-child{min-width:190px}.permissions-shell .permission-row label{font-weight:700}
@media(max-width:700px){.fixed-job-card{grid-template-columns:1fr}.fixed-job-form{grid-template-columns:1fr}.fixed-wide,.fixed-weekdays{grid-column:auto}.fixed-domestic-section{margin:12px 8px}.fixed-job-grid{grid-template-columns:1fr}}

/* ===== TIMX LIVE 2.1.0 ===== */
.live210-domestic-form .live210-allocation-field{order:-10;background:#153653;border:1px solid #4b8bc2;border-radius:12px;padding:14px;text-align:center}.live210-domestic-form .live210-allocation-field>span{font-weight:900;color:#fff;font-size:1.05rem}.live210-domestic-form .live210-allocation-field input{font-weight:800;text-align:center}.live210-domestic-form [hidden]{display:none!important}
.live210-work-page{display:flex;flex-direction:column;gap:16px}.live210-work-section>h3{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px;padding:11px 14px;border-radius:10px;background:#153653;color:#fff}.live210-work-section>h3 span{font-size:.78rem;color:#9cc5e5}.live210-work-section.domestic>h3{background:#176548}.live210-vehicle-group{padding:0;overflow:hidden;margin-bottom:10px}.live210-vehicle-group>header{padding:11px 14px;background:#17324c;border-bottom:1px solid #31516d}.live210-vehicle-group>header b{display:block;font-size:1.05rem}.live210-vehicle-group>header span{font-size:.78rem;color:#a9bfd2}.live210-work-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:10px 14px;border-bottom:1px solid #28445c}.live210-work-row:last-child{border-bottom:0}.live210-work-row.done{opacity:.72;background:#123e32}.live210-work-main strong{display:block}.live210-work-main small{color:#9fb4c8}.live210-work-state{display:flex;align-items:center;gap:10px}.live210-work-state button{white-space:nowrap}
.timeline-group-row th{position:sticky;left:0;background:#204765!important;color:#fff!important;text-align:left!important;padding:8px 12px!important;letter-spacing:.04em;border-top:3px solid #64a6d6}.live210-click-task{display:block;width:100%;border:1px solid #3d6b8b;background:#164b70;color:#fff;border-radius:7px;padding:5px 7px;margin:3px 0;text-align:left;font-size:.76rem;cursor:pointer}.live210-click-task:hover{background:#2078aa;transform:translateY(-1px)}
@media(max-width:760px){.live210-work-row{grid-template-columns:1fr}.live210-work-state{justify-content:space-between}.live210-domestic-form .live210-allocation-field{grid-column:1/-1}}

/* LIVE 2.1.1 – archivált timeline elemek */
.timeline-task-archived{
  background:#495766!important;
  border-color:#73808d!important;
  color:#dce3e9!important;
  font-weight:500!important;
  opacity:.72;
  filter:saturate(.35);
  box-shadow:none!important;
}
.timeline-task-archived:hover{opacity:.95;filter:saturate(.55);transform:none!important}
.timeline-task-archived .archive-mark{
  display:inline-block;margin-right:5px;padding:1px 5px;border-radius:999px;
  background:#29343e;color:#c7d0d8;font-size:9px;font-weight:800;letter-spacing:.04em;
}

/* TIMX LIVE 2.1.3 – egységes kiosztásmód-kártya és visszavonás */
.live213-freight-form .live213-allocation-field{
  order:-100;
  display:block;
  padding:14px 16px;
  border:1px solid #3b82b6;
  border-radius:14px;
  background:linear-gradient(180deg,#163a58,#112f49);
  text-align:center;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}
.live213-freight-form .live213-allocation-field>span{
  display:block;
  margin-bottom:8px;
  color:#fff;
  font-size:20px;
  font-weight:900;
}
.live213-freight-form .live213-allocation-field .combo-wrap,
.live213-freight-form .live213-allocation-field input{
  width:100%;
}
.live213-freight-form .live213-allocation-field input{
  text-align:center;
  font-weight:800;
  min-height:42px;
}
.live213-rollback-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:18px;
  padding:14px 16px;
  border:1px solid #8d3a45;
  border-radius:12px;
  background:#2a1720;
}
.live213-rollback-box div{display:flex;flex-direction:column;gap:3px}
.live213-rollback-box strong{color:#ffd9dd}
.live213-rollback-box small{color:#d7aab0}
.live213-rollback-box .danger{white-space:nowrap;background:#a92f3d;border-color:#d94c5c;color:#fff}
@media(max-width:720px){
 .live213-rollback-box{align-items:stretch;flex-direction:column}
 .live213-rollback-box .danger{width:100%;white-space:normal}
 .live213-freight-form .live213-allocation-field>span{font-size:17px}
}

/* ===== TIMX LIVE 2.1.4 ===== */
.archive-filterbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.archive-filterbar input.search{min-width:260px}.archive-filterbar select.search{min-width:220px}.special-auto-task{width:100%;margin:2px 0;padding:4px 6px;border:1px solid #3d6b8b;border-radius:6px;background:#164b70;color:#fff;text-align:left;font-size:10px;line-height:1.2;cursor:pointer}.special-auto-task:hover{background:#2078aa}.special-timeline-table .timeline-cell{vertical-align:top}.special-timeline-table .timeline-cell input{margin-top:4px}
@media(max-width:760px){.archive-filterbar{width:100%}.archive-filterbar input.search,.archive-filterbar select.search{width:100%;min-width:0}}

/* ===== TIMX LIVE 2.1.5 – stabil, többnapos timeline ===== */
.timeline-task{transition:background-color .12s ease,border-color .12s ease,opacity .12s ease;contain:layout paint}
.special-timeline-wrap,.live20-status-timeline-wrap{scroll-behavior:auto!important;overflow-anchor:none}
.special-timeline-table,.live20-status-timeline{overflow-anchor:none}

/* ===== TIMX LIVE 2.1.7 – holnapi munkák szekciók és SMS állapot ===== */
.live217-work-section{margin-top:22px}
.live217-section-title{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border:1px solid #315573;border-radius:12px 12px 0 0;background:#18344e}
.live217-section-title h3{margin:0;font-size:18px;letter-spacing:.03em}
.live217-section-title span{background:#24628f;border-radius:999px;padding:4px 10px;font-weight:800}
.live217-work-section .tomorrow-job-grid{border:1px solid #315573;border-top:0;border-radius:0 0 14px 14px;padding:12px}
.live217-tomorrow-card{position:relative;background:#10253a!important;border:2px solid #315573!important;box-shadow:none!important}
.live217-tomorrow-card.live217-assigned-border{background:#10253a!important;border-color:#45d999!important;box-shadow:0 0 0 1px rgba(69,217,153,.18)!important}
.live217-tomorrow-card.live217-sms-sent{background:linear-gradient(135deg,#124f3d,#17664a)!important;border-color:#62efae!important;box-shadow:0 0 0 1px rgba(98,239,174,.22)!important}
.live217-card-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}
.live217-sms-button{border:1px solid #ffb547;background:#6b4514;color:#fff;font-weight:900;padding:10px 14px;border-radius:9px;cursor:pointer}
.live217-sms-button:hover:not(:disabled){background:#87591a}
.live217-sms-button:disabled{opacity:.42;cursor:not-allowed}
.live217-sms-button.sent{background:#1f9b62;border-color:#62efae}
.live217-assigned-mark,.live217-sms-mark{position:absolute;right:12px;bottom:12px;border-radius:9px;padding:8px 11px;font-weight:900;font-size:12px}
.live217-assigned-mark{background:#173f32;border:1px solid #45d999;color:#a7fbd7}
.live217-sms-mark{background:#28a76c;border:1px solid #7affbb;color:#fff}
@media(max-width:760px){.live217-assigned-mark,.live217-sms-mark{position:static;display:inline-flex;margin-top:10px}.live217-card-actions>*{width:100%}.live217-section-title h3{font-size:15px}}

/* ===== TIMX LIVE 2.1.8 – kártyarendezés és üres hazatérés ===== */
.live217-tomorrow-card{display:flex;flex-direction:column;min-width:0;overflow:visible}
.live218-card-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:auto;padding-top:10px}
.live218-state-area{display:flex;align-items:center;justify-content:flex-end;min-height:38px;max-width:190px}
.live217-assigned-mark,.live217-sms-mark{position:static!important;display:inline-flex!important;align-items:center;justify-content:center;max-width:100%;margin:0!important;white-space:normal;text-align:center;line-height:1.15}
.live217-card-actions{margin:0;display:grid;grid-template-columns:minmax(120px,1fr) minmax(120px,1fr);gap:8px;min-width:0}
.live217-card-actions button{min-width:0;white-space:normal;line-height:1.15}
.live218-return-date-field[hidden],.live210-import-field[hidden],.live210-prepull-field[hidden]{display:none!important}
.live218-empty-return-badge{display:inline-block;padding:3px 7px;border:1px solid #e6a735;border-radius:7px;background:#5f4313;color:#ffd985;font-weight:900;font-size:11px}
.live218-empty-return-date{display:block;margin-top:3px;color:#ffd46a;font-weight:800}
.live218-empty-return{display:flex;flex-direction:column;gap:3px;color:#ffd46a}
.live218-empty-return strong{color:#ffd46a}
@media(max-width:1100px){
 .live218-card-footer{grid-template-columns:1fr}
 .live218-state-area{justify-content:flex-start;max-width:none}
}
@media(max-width:760px){
 .live217-card-actions{grid-template-columns:1fr}
 .live218-state-area{width:100%}
 .live217-assigned-mark,.live217-sms-mark{width:100%}
}
\n\n/* ===== TIMX LIVE 2.1.9 – holnapi kártyák végleges elrendezése ===== */
.live217-work-section .tomorrow-job-grid{
  grid-template-columns:repeat(auto-fit,minmax(390px,1fr))!important;
  align-items:stretch;
}
.live217-tomorrow-card{
  min-height:330px;
  padding:16px!important;
  overflow:hidden!important;
}
.live217-tomorrow-card>header{
  min-height:58px;
  align-items:flex-start;
}
.live217-tomorrow-card .tomorrow-current-assignment{
  display:flex!important;
  flex-wrap:wrap;
  gap:7px 14px;
  align-items:center;
  min-height:56px;
}
.live217-tomorrow-card .tomorrow-current-assignment>b{
  flex:0 0 100%;
}
.live219-assignment-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:12px!important;
  width:100%;
  min-width:0;
}
.live219-assignment-form label,
.live219-assignment-form .combo-wrap,
.live219-assignment-form input{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.live218-card-footer{
  display:flex!important;
  flex-direction:column;
  align-items:stretch!important;
  gap:10px!important;
  margin-top:auto;
}
.live217-card-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  width:100%;
  gap:10px!important;
}
.live217-card-actions button{
  width:100%;
  min-height:44px;
  padding:9px 10px!important;
}
.live218-state-area{
  width:100%!important;
  max-width:none!important;
  min-height:42px!important;
  justify-content:stretch!important;
}
.live217-assigned-mark,.live217-sms-mark{
  width:100%!important;
  min-height:42px;
  box-sizing:border-box;
}
@media(max-width:1250px){
 .live217-work-section .tomorrow-job-grid{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))!important}
}
@media(max-width:760px){
 .live217-work-section .tomorrow-job-grid{grid-template-columns:1fr!important}
 .live217-tomorrow-card{min-height:0}
 .live219-assignment-form{grid-template-columns:1fr!important}
 .live217-card-actions{grid-template-columns:1fr!important}
}

/* ===== TIMX LIVE 2.2.0 – következő kiosztási munkanap ===== */
.live220-calendar-info{display:flex;flex-direction:column;gap:6px;margin:0 0 14px;padding:13px 16px;border-color:#2f6489;background:linear-gradient(135deg,#10283d,#0d2133)}
.live220-calendar-info strong{font-size:15px;color:#eaf6ff}.live220-calendar-info small{color:#9fb8cc}
@media(max-width:700px){.live220-calendar-info{padding:11px 12px}.live220-calendar-info strong{font-size:13px}.live220-planning-page .toolbar .muted{white-space:normal}}

/* ===== LIVE 2.2.1 – Jelenleg szabad vontatók ===== */
.live221-free-page .toolbar{align-items:flex-start;gap:18px;flex-wrap:wrap}
.live221-free-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.live221-free-middle{display:grid;gap:16px}
.live221-free-column{border:1px solid #315979;border-radius:14px;background:#0d2032;overflow:hidden}
.live221-free-column>h3{display:flex;justify-content:space-between;align-items:center;margin:0;padding:14px 16px;background:#193b57;font-size:18px}
.live221-free-column>h3 span,.live221-free-subgroup h4 span{background:#286694;border-radius:999px;padding:3px 9px;font-size:12px}
.live221-free-subgroup{padding:10px}
.live221-free-subgroup+h4{margin-top:8px}
.live221-free-subgroup h4{display:flex;justify-content:space-between;gap:10px;margin:0 0 8px;padding:7px 9px;border-radius:8px;background:#102b42;font-size:12px;color:#bcd3e7}
.live221-free-card{border:1px solid #315979;border-left:5px solid #5b87aa;border-radius:11px;background:#10263a;padding:11px;margin-bottom:9px}
.live221-free-card.import{border-left-color:#35d29a}.live221-free-card.export{border-left-color:#f0a33b}
.live221-free-card header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}
.live221-free-card header div{display:grid}.live221-free-card header b{font-size:17px}.live221-free-card header small{color:#a8bfd2}
.live221-free-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.live221-free-grid>div{display:grid;gap:2px;padding:8px;border:1px solid #294963;border-radius:8px;background:#0a1b2b;min-width:0}
.live221-free-grid .task{grid-column:1/-1}.live221-free-grid small{color:#91abc0;font-size:11px}.live221-free-grid strong{overflow-wrap:anywhere}
@media(max-width:1200px){.live221-free-layout{grid-template-columns:1fr 1fr}.live221-free-column.other{grid-column:1/-1}}
@media(max-width:760px){.live221-free-layout{grid-template-columns:1fr}.live221-free-column.other{grid-column:auto}.live221-free-grid{grid-template-columns:1fr}.live221-free-grid .task{grid-column:auto}}

/* ===== TIMX LIVE 2.3.0 – Digitális Mágnesfal 2.0 ===== */
.magnet-board-page{min-height:calc(100vh - 118px);background:radial-gradient(circle at 30% 0%,rgba(255,255,255,.04),transparent 35%),#081522;padding:12px}.magnet-toolbar{position:sticky;top:0;z-index:25;background:#091827;border:1px solid #284761;border-radius:12px;padding:10px 12px}.magnet-zoom{display:flex;align-items:center;gap:8px;font-weight:800}.magnet-zoom input{width:140px}.magnet-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.magnet-tabs button.active{background:#f2b500;color:#111;border-color:#ffd54b}.magnet-board-canvas{overflow:auto;max-height:calc(100vh - 210px);border:1px solid #31516b;border-radius:14px;background:#d9d5c7;padding:12px;box-shadow:inset 0 0 40px rgba(0,0,0,.18)}.magnet-board-layout{display:grid;grid-template-columns:minmax(900px,1fr) 250px;gap:12px;min-width:1200px;transform-origin:top left;font-size:calc(14px * var(--magnet-zoom,1))}.magnet-board-grid{display:grid;grid-template-columns:1fr;gap:14px}.magnet-board-layout.all .magnet-board-grid{grid-template-columns:1fr 1fr;align-items:start}.magnet-panel{background:linear-gradient(180deg,#f7f4e9,#e9e5d8);border:4px solid #33505d;border-radius:8px;box-shadow:0 8px 18px rgba(0,0,0,.24);overflow:hidden}.magnet-panel>header{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:7px 10px;background:#154f72;color:#fff;border-bottom:3px solid #132f42}.magnet-fuvartábla>header{background:#8b4915}.magnet-belföld>header{background:#16786f}.magnet-timx-special-fuvarok>header{background:#8a6600}.magnet-panel>header h3{margin:0;text-align:center;font-size:1.25em;letter-spacing:.04em}.magnet-panel>header button{padding:4px 8px}.magnet-column-head,.magnet-freight-row{display:grid;grid-template-columns:88px 130px 115px 110px minmax(150px,1fr) minmax(150px,1fr) 125px 95px}.magnet-column-head{background:#d9e6ed;color:#122635;font-weight:900;text-align:center;border-bottom:2px solid #365c74}.magnet-column-head span{padding:5px;border-right:1px solid #87a1b1}.magnet-freight-row{min-height:74px;background:#fbfaf4;border-bottom:2px solid #7a8e96;transition:.15s}.magnet-freight-row:hover{filter:brightness(.98);box-shadow:inset 0 0 0 3px #f1b500}.magnet-freight-row.export{border-left:6px solid #2584c4}.magnet-freight-row.import{border-left:6px solid #e6a800}.magnet-freight-row.prepull{border-left:6px solid #9c5fe3}.magnet-freight-row.done{border-left:6px solid #2bb673;background:#e9f8ef}.magnet-freight-row.danger{border-left:6px solid #d8273d;background:#fde8eb}.magnet-freight-row.technical{border-left:6px solid #d25d28}.magnet-freight-row.empty-return{border-left:6px solid #ee7c2c}.magnet-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:5px;border-right:1px solid #879aa3;min-width:0}.magnet-cell small{display:block;font-size:.78em;color:#4c5d67;margin-top:2px}.magnet-cell.export,.magnet-cell.import{font-size:.86em}.magnet-cell.state span{background:#214e70;color:#fff;border-radius:999px;padding:4px 6px;font-size:.75em;font-weight:900}.magnet-plate{display:inline-flex;align-items:center;justify-content:center;min-width:82px;min-height:27px;padding:3px 8px;background:#f8f6ee;border:2px solid #6b5d55;border-radius:3px;box-shadow:2px 3px 3px rgba(0,0,0,.28);font-family:Arial,sans-serif;font-size:1.02em;font-weight:900;letter-spacing:.03em;cursor:grab}.magnet-plate.trailer{color:#a22d31}.magnet-plate.tractor{color:#233b54}.magnet-driver{display:inline-flex;gap:5px;align-items:center;justify-content:center;max-width:100%;font-weight:800;cursor:grab}.magnet-driver b{background:#2b75a3;color:#fff;border-radius:5px;padding:2px 4px;font-size:.75em}.magnet-empty-drop{display:inline-flex;align-items:center;justify-content:center;min-width:78px;padding:5px;border:2px dashed #80929a;border-radius:4px;color:#65747a;font-size:.78em}.magnet-empty-return{display:block;margin-top:4px;background:#ee7c2c;color:white;padding:2px 5px;border-radius:4px;font-size:.72em;font-weight:900}.magnet-panel-empty{padding:25px;text-align:center;color:#60727a;font-style:italic}.magnet-resource-pool{position:sticky;top:0;align-self:start;display:flex;flex-direction:column;gap:8px}.magnet-resource-pool details{background:#f1eee4;border:3px solid #4b626d;border-radius:7px;overflow:hidden}.magnet-resource-pool summary{display:flex;justify-content:space-between;padding:8px;background:#273f4b;color:#fff;font-weight:900;cursor:pointer}.magnet-resource-pool details>div{display:flex;flex-wrap:wrap;gap:5px;padding:8px;max-height:260px;overflow:auto}.magnet-pool-item{background:#fffaf0;border:2px solid #6a5b50;border-radius:3px;padding:4px 6px;box-shadow:1px 2px 2px rgba(0,0,0,.2);font-weight:900;cursor:grab}.magnet-pool-item.trailer{color:#a22d31}.magnet-pool-item.driver{background:#d9edf8;color:#1b4965}.magnet-context-menu{display:none;position:fixed;z-index:99999;width:220px;background:#0a1b2c;border:1px solid #47769a;border-radius:9px;padding:6px;box-shadow:0 12px 35px rgba(0,0,0,.5)}.magnet-context-menu.open{display:flex;flex-direction:column}.magnet-context-menu button{text-align:left;background:transparent;border:0;padding:9px;color:#fff}.magnet-context-menu button:hover{background:#173a55}.magnet-board-page:fullscreen{padding:8px;background:#07121d}.magnet-board-page:fullscreen .magnet-board-canvas{max-height:calc(100vh - 110px)}@media(max-width:1200px){.magnet-board-layout.all .magnet-board-grid{grid-template-columns:1fr}.magnet-board-layout{grid-template-columns:minmax(900px,1fr) 220px}}@media(max-width:700px){.magnet-board-canvas{max-height:none}.magnet-board-layout{min-width:1150px}.magnet-toolbar .right{align-items:flex-start}.magnet-board-page{padding:6px}}

/* ===== TIMX LIVE 2.3.1 – Mágnesfal kontrasztjavítás ===== */
.magnet-board-page .magnet-freight-row,
.magnet-board-page .magnet-cell,
.magnet-board-page .magnet-driver,
.magnet-board-page .magnet-cell.export,
.magnet-board-page .magnet-cell.import{
  color:#142838 !important;
}
.magnet-board-page .magnet-cell > span:not(.magnet-empty-return),
.magnet-board-page .magnet-cell > div,
.magnet-board-page .magnet-driver > span,
.magnet-board-page .magnet-driver{
  color:#142838 !important;
  font-weight:800;
  text-shadow:none !important;
}
.magnet-board-page .magnet-cell small{
  color:#405665 !important;
  font-weight:700;
}
.magnet-board-page .magnet-cell.export,
.magnet-board-page .magnet-cell.import{
  color:#18384d !important;
  font-weight:800;
}
.magnet-board-page .magnet-cell.export small,
.magnet-board-page .magnet-cell.import small{
  color:#405665 !important;
}
.magnet-board-page .magnet-freight-row.done .magnet-cell,
.magnet-board-page .magnet-freight-row.danger .magnet-cell,
.magnet-board-page .magnet-freight-row.technical .magnet-cell,
.magnet-board-page .magnet-freight-row.empty-return .magnet-cell{
  color:#142838 !important;
}
.magnet-board-page .magnet-column-head,
.magnet-board-page .magnet-column-head span{
  color:#102534 !important;
}
.magnet-board-page .magnet-plate.tractor{
  color:#153a5b !important;
}
.magnet-board-page .magnet-plate.trailer{
  color:#a31925 !important;
}
.magnet-board-page .magnet-pool-item{
  color:#18334a !important;
}
.magnet-board-page .magnet-pool-item.trailer{
  color:#a31925 !important;
}
.magnet-board-page .magnet-pool-item.driver{
  color:#123f5d !important;
}
.magnet-board-page .magnet-panel-empty,
.magnet-board-page .magnet-empty-drop{
  color:#4b616e !important;
}

/* ===== TIMX LIVE 2.3.2 – Mágnesfal teljes szerkesztés ===== */
.magnet-cell{position:relative}.magnet-editable{cursor:pointer}.magnet-editable:hover{background:rgba(255,193,7,.10)}
.magnet-inline-edit{position:absolute;right:2px;top:2px;width:20px;height:20px;padding:0;border:0;border-radius:4px;background:rgba(18,54,76,.12);color:#17364a;opacity:0;transition:.15s;font-size:12px}.magnet-editable:hover .magnet-inline-edit{opacity:1}
.magnet-assignment{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0}.magnet-plate-stack,.magnet-pool-stack{display:inline-flex;flex-direction:column;align-items:center;gap:2px;min-width:0}
.magnet-driver-monogram{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:18px;padding:1px 5px;border:1px solid #145d88;border-radius:5px;background:#2b75a3;color:#fff;font-size:.72em;font-weight:900;line-height:1}.magnet-driver-monogram.empty{background:#e3e7e9;color:#59666d;border-color:#8d999f}
.magnet-cell-caption{font-size:.62em!important;text-transform:uppercase;font-weight:900;color:#52646e!important;letter-spacing:.03em;margin-bottom:2px!important}
.magnet-date-range{display:block;margin-top:4px!important;padding:2px 5px;border-radius:4px;background:#e7edf0;color:#243b4a!important;font-weight:900}.magnet-date-range b{color:#b26a00}
.magnet-trailer-type{display:inline-flex!important;align-items:center;justify-content:center;margin-top:1px!important;padding:1px 5px;border-radius:999px;background:#b88700!important;color:#fff!important;font-size:.58em!important;font-weight:900!important;line-height:1.25;white-space:nowrap;box-shadow:0 1px 2px rgba(0,0,0,.18)}
.magnet-trailer-type.hűtős,.magnet-trailer-type.hutos{background:#1880bd!important}.magnet-trailer-type.nyitott{background:#5a5f66!important}.magnet-trailer-type.bérlős,.magnet-trailer-type.berlos{background:#713aa5!important}.magnet-trailer-type.mega{background:#d99400!important;color:#111!important}
.magnet-pool-stack .magnet-trailer-type{font-size:.55em!important}.magnet-resource-pool details>div{align-items:flex-start}
.magnet-editor-sections{display:grid;gap:12px;max-height:68vh;overflow:auto;padding-right:4px}.magnet-editor-sections fieldset{border:1px solid #31516b;border-radius:10px;padding:10px;background:#0d2033}.magnet-editor-sections legend{padding:0 7px;color:#a8d8f7;font-weight:900}
.magnet-editor-sections .form-grid{margin:0}.magnet-editor-sections input{width:100%}
@media(max-width:700px){.magnet-inline-edit{opacity:1}.magnet-editor-sections{max-height:72vh}}

/* ===== TIMX LIVE 2.3.3 – Mágnesfal jelzések, csere és ütközésjavítás ===== */
.magnet-board-canvas{overflow:auto!important;scrollbar-gutter:stable both-edges}
.magnet-board-layout{grid-template-columns:minmax(1180px,1fr) 250px!important;min-width:1480px!important}
.magnet-board-layout.all .magnet-board-grid{grid-template-columns:1fr 1fr!important;align-items:start!important}
.magnet-panel{min-width:1180px}
.magnet-column-head,.magnet-freight-row{grid-template-columns:92px 148px 138px 122px minmax(180px,1fr) minmax(205px,1.1fr) 128px 170px!important}
.magnet-cell.state{padding:7px!important;gap:5px;align-items:stretch!important}
.magnet-status-pill{display:flex!important;align-items:center;justify-content:center;min-height:34px;width:100%;box-sizing:border-box;background:#214e70;color:#fff;border-radius:7px!important;padding:5px 7px!important;font-size:.76em!important;font-weight:900;line-height:1.15;white-space:normal;overflow-wrap:anywhere;text-align:center}
.magnet-next-badge{display:block;margin-top:5px;padding:4px 6px;border:2px solid #f1b900;border-radius:6px;background:#ffd63d;color:#241900;font-size:.72em;font-weight:1000;line-height:1.1;animation:magnetNextPulse 1.15s ease-in-out infinite}
.magnet-next-badge.assigned{background:#d8f6e6;border-color:#31bd7d;color:#075b37;animation:none}
.magnet-freight-row.magnet-next-unassigned{background:#fff8cf!important;box-shadow:inset 0 0 0 3px #f0bd00}
.magnet-freight-row.magnet-next-assigned{box-shadow:inset 0 0 0 3px #39c987}
@keyframes magnetNextPulse{0%,100%{filter:brightness(1);box-shadow:0 0 0 rgba(255,190,0,0)}50%{filter:brightness(1.12);box-shadow:0 0 13px rgba(255,190,0,.75)}}
.magnet-freight-row.magnet-has-collision{background:#ffe7e9!important;box-shadow:inset 0 0 0 4px #dc243c!important}
.magnet-freight-row.magnet-has-collision .magnet-cell.tractor,
.magnet-freight-row.magnet-has-collision .magnet-cell.trailer{position:relative}
.magnet-cell-conflict{display:inline-flex;margin-top:4px;padding:2px 5px;border-radius:5px;background:#c81e35;color:#fff;font-size:.66em;font-weight:1000;animation:magnetCollisionPulse .85s infinite}
.magnet-collision-badge{display:block;padding:4px 5px;border-radius:6px;background:#c81e35;color:#fff;font-size:.67em;font-weight:1000;line-height:1.15;overflow-wrap:anywhere;animation:magnetCollisionPulse .85s infinite}
@keyframes magnetCollisionPulse{0%,100%{opacity:1}50%{opacity:.55}}
.magnet-driver{flex-direction:column;gap:2px;line-height:1.05}
.magnet-driver>span{max-width:100%;overflow-wrap:anywhere}
.magnet-plate-stack{max-width:100%}
.magnet-plate{max-width:100%;box-sizing:border-box}
.magnet-cell.import,.magnet-cell.export{overflow-wrap:anywhere}
@media(max-width:1400px){.magnet-board-layout{grid-template-columns:minmax(1120px,1fr) 225px!important;min-width:1380px!important}.magnet-panel{min-width:1120px}.magnet-column-head,.magnet-freight-row{grid-template-columns:86px 138px 130px 116px minmax(165px,1fr) minmax(185px,1.05fr) 118px 155px!important}}

/* ===== TIMX LIVE 2.3.4 – kizárólag Mágnesfal státusz redesign ===== */
.magnet-cell.state .magnet-status-pill{
  color:#fff!important;
  text-shadow:0 1px 1px rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.26);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 2px 5px rgba(0,0,0,.18);
  letter-spacing:.01em;
}
.magnet-cell.state .magnet-status-pill.status-default{background:#285d82!important;color:#fff!important}
.magnet-cell.state .magnet-status-pill.status-export{background:#176aa0!important;color:#fff!important}
.magnet-cell.state .magnet-status-pill.status-import{background:#168255!important;color:#fff!important}
.magnet-cell.state .magnet-status-pill.status-warning{background:#f0ae19!important;color:#151008!important;text-shadow:none}
.magnet-cell.state .magnet-status-pill.status-danger{background:#c92539!important;color:#fff!important;animation:magnetCollisionPulse .85s infinite}
.magnet-cell.state .magnet-status-pill.status-technical{background:#555d66!important;color:#fff!important}
.magnet-cell.state .magnet-status-pill.status-muted{background:#6c737a!important;color:#fff!important;opacity:.9}
.magnet-cell.state .magnet-collision-badge{color:#fff!important}

/* ===== TIMX LIVE 2.3.6 – Eszközpark stabil elrendezés ===== */
#app .fleet-grid.categorized-grid{align-items:start;gap:14px}
#app .fleet-col{min-width:0;overflow:hidden}
#app .fleet-category-items{display:flex;flex-direction:column;gap:6px;padding:8px}
#app .fleet-item{
  display:grid!important;
  grid-template-columns:minmax(150px,1.25fr) minmax(105px,.8fr) minmax(145px,1fr) minmax(110px,.8fr) auto;
  align-items:center;
  gap:8px;
  min-height:58px;
  padding:8px 10px!important;
  box-sizing:border-box;
}
#app .fleet-item.driver-row{
  grid-template-columns:minmax(150px,1.15fr) 64px minmax(150px,1fr) minmax(150px,1fr) auto;
}
#app .fleet-item .fleet-main{min-width:0;overflow-wrap:anywhere}
#app .fleet-item input,#app .fleet-item select,#app .fleet-item button{max-width:100%;min-width:0;box-sizing:border-box}
#app .fleet-item .driver-mono{width:100%!important}
#app .fleet-item .fleet-category,#app .fleet-item .driver-rank{width:100%!important}
#app .fleet-item .fleet-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;min-width:0}
#app .fleet-item .status-pill{white-space:nowrap}
#app .fleet-item .busy-where{margin-top:4px;line-height:1.25;overflow-wrap:anywhere}
@media(max-width:1500px){
  #app .fleet-item,#app .fleet-item.driver-row{grid-template-columns:minmax(135px,1fr) minmax(90px,.7fr) minmax(125px,.9fr);align-items:start}
  #app .fleet-item .fleet-actions{grid-column:1/-1;justify-content:flex-start}
}
@media(max-width:900px){
  #app .fleet-item,#app .fleet-item.driver-row{grid-template-columns:1fr 1fr}
  #app .fleet-item .fleet-main{grid-column:1/-1}
  #app .fleet-item .fleet-actions{grid-column:1/-1}
}

/* ===== LIVE 2.3.7 – Coloplast mágnesfal és pontos importidők ===== */
.magnet-coloplast-row,
.magnet-coloplast-head{grid-template-columns:minmax(150px,1.05fr) minmax(150px,1.05fr) minmax(145px,.95fr) minmax(110px,.72fr) minmax(210px,1.45fr) minmax(230px,1.6fr) minmax(125px,.82fr) minmax(175px,1.15fr)!important}
.magnet-colo-operation{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:72px;width:100%}
.magnet-colo-operation .magnet-assignment{width:100%;justify-content:center}
.magnet-operation-date{display:block;font-size:12px;font-weight:800;color:#18364a;text-align:center;white-space:nowrap}
.magnet-coloplast-row .magnet-cell.entry,.magnet-coloplast-row .magnet-cell.pickup{padding:6px 8px}
.magnet-date-range{white-space:normal;line-height:1.25}
@media(max-width:1100px){.magnet-coloplast-row,.magnet-coloplast-head{grid-template-columns:150px 150px 145px 110px 210px 230px 125px 175px!important}}

/* ===== LIVE 2.3.8 – napjelzés, piros duplikáció, kategorizált szabad eszközök ===== */
.magnet-cell.state .magnet-collision-badge,
.magnet-has-collision .magnet-collision-badge{
  background:#d71920!important;
  color:#fff!important;
  border:2px solid #ff6770!important;
  box-shadow:0 0 0 2px rgba(215,25,32,.24),0 0 14px rgba(215,25,32,.65)!important;
  text-shadow:0 1px 1px rgba(0,0,0,.45)!important;
  opacity:1!important;
}
.magnet-has-collision .magnet-status-pill{background:#d71920!important;color:#fff!important;border-color:#ff7b82!important}
.magnet-categorized-pool{display:block!important;padding:6px!important;max-height:300px!important;overflow:auto}
.magnet-pool-category{margin:0 0 7px;border:1px solid #a79f8b;border-radius:6px;background:#e7e2d4;overflow:hidden}
.magnet-pool-category:last-child{margin-bottom:0}
.magnet-pool-category h4{display:flex;justify-content:space-between;align-items:center;margin:0;padding:4px 6px;background:#cfc8b5;color:#263844;font-size:.68em;letter-spacing:.025em;font-weight:1000}
.magnet-pool-category h4 b{display:inline-flex;min-width:20px;justify-content:center;border-radius:999px;background:#334d5c;color:#fff;padding:1px 5px}
.magnet-pool-category>div{display:flex;flex-wrap:wrap;align-items:flex-start;gap:5px;padding:6px;max-height:none!important;overflow:visible!important}
.magnet-pool-category.simple{border:0;background:transparent}
.magnet-pool-category.simple>div{padding:2px}
.magnet-resource-pool .magnet-pool-item{font-size:.78em}
.magnet-resource-pool .magnet-trailer-type{display:block;max-width:100%;white-space:normal;text-align:center}
.magnet-cell.import .date-range{display:block;margin-top:3px;font-weight:900;color:#344b59;white-space:normal}

/* ===== TIMX LIVE 2.4.0 – admin napló és SMS időbélyeg ===== */
.live217-sms-mark small{display:block;margin-top:4px;font-size:.72rem;font-weight:700;opacity:.95;white-space:nowrap}
.audit-page{max-width:1680px;margin:0 auto;padding:24px}.audit-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}.audit-head h2{margin:0 0 4px}.audit-head p{margin:0;color:#9fb2c8}.audit-tools{display:flex;gap:8px;flex-wrap:wrap}.audit-tools input{min-width:320px}.audit-notice{padding:12px 16px;border:1px solid #315675;background:#10263a;border-radius:12px;margin-bottom:14px;color:#dbeafe}.audit-list{display:grid;gap:12px}.audit-card{background:#102235;border:1px solid #294963;border-radius:14px;overflow:hidden}.audit-card.is-undone{opacity:.62}.audit-card>header{display:flex;justify-content:space-between;gap:16px;padding:14px 16px;background:#18334c;border-bottom:1px solid #315675}.audit-card>header>div:first-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.audit-card small{color:#9fb2c8}.audit-meta{text-align:right;display:flex;flex-direction:column}.audit-action{padding:5px 9px;border-radius:999px;font-size:.75rem;font-weight:900}.a-create{background:#176b45;color:#d1fae5}.a-update{background:#175b88;color:#e0f2fe}.a-delete{background:#8f2632;color:#fff}.a-undo{background:#7050a0;color:#fff}.audit-changes{padding:10px 16px}.audit-changes>div{display:grid;grid-template-columns:minmax(160px,260px) 1fr 30px 1fr;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #203d55}.audit-changes>div:last-child{border-bottom:0}.audit-changes span{font-weight:800}.audit-changes del,.audit-changes ins{padding:7px 9px;border-radius:8px;text-decoration:none;overflow-wrap:anywhere}.audit-changes del{background:#4b2028;color:#fecaca}.audit-changes ins{background:#123f31;color:#bbf7d0}.audit-card footer{display:flex;justify-content:flex-end;padding:12px 16px;border-top:1px solid #294963}.audit-undone{font-weight:800;color:#c4b5fd}@media(max-width:800px){.audit-head{align-items:stretch;flex-direction:column}.audit-tools input{min-width:0;width:100%}.audit-changes>div{grid-template-columns:1fr}.audit-changes b{display:none}.audit-meta{text-align:left}.audit-card>header{flex-direction:column}}

/* ===== TIMX LIVE 2.4.1 – SMS időpont külön sorban ===== */
.live218-state-area .live217-sms-mark{
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
}
.live218-state-area .live217-sms-mark small{
  display:block!important;
  margin:0!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:1.15!important;
  color:#d7e4ed!important;
  opacity:.95!important;
  white-space:nowrap!important;
}

/* ===== TIMX LIVE 2.4.2 – opcionális import időpontok ===== */
.timx242-optional-datetime{display:grid;grid-template-columns:minmax(150px,1fr) auto minmax(105px,.55fr);gap:10px;align-items:center;width:100%}
.timx242-optional-datetime input[type="date"],.timx242-optional-datetime input[type="time"]{width:100%;min-width:0}
.timx242-fixed-time-toggle{display:flex!important;flex-direction:row!important;align-items:center;gap:7px;white-space:nowrap;padding:8px 10px;border:1px solid #355873;border-radius:8px;background:#0b1c2e;color:#dce9f4;font-weight:600}
.timx242-fixed-time-toggle input{width:auto!important;margin:0}
.timx242-optional-datetime input[hidden]{display:none!important}
@media(max-width:760px){.timx242-optional-datetime{grid-template-columns:1fr}.timx242-fixed-time-toggle{justify-content:flex-start}}

/* ===== TIMX LIVE 2.4.3 – opcionális export/import időpontok ===== */
.magnet-date-range,.date-range{font-variant-numeric:tabular-nums}

/* LIVE 2.4.5 */
.timx245-tech-warning{background:#a85d08!important;color:#fff!important;border-color:#ffad33!important;font-weight:800!important}
.tech-noncritical-card{border:1px solid #d98514!important;background:rgba(217,133,20,.12)!important}
.tech-noncritical-card span{color:#ffd18c!important;font-weight:800}
.timx245-tech-row{background:rgba(210,118,15,.12)!important}
.timx245-tech-row td{border-color:rgba(255,168,51,.35)!important}
.timx245-tech-row .timx245-tech-warning{display:inline-flex;margin-left:8px;vertical-align:middle}

/* ===== TIMX LIVE 2.5.0 – Mágnesfal munkairányító ===== */
.timx250-tabs{display:flex;flex-wrap:wrap;gap:8px}.timx250-tabs button:nth-last-child(-n+3){border-color:#2f8acb;background:#102c43}.timx250-tabs button.active:nth-last-child(-n+3){background:#1689d8;color:#fff}
.magnet-board-canvas.timx250-canvas{overflow:auto;background:#07131f;padding:14px}.timx250-page{min-width:1100px;color:#eaf4ff}.timx250-title,.timx250-availability-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;background:#10253a;border:1px solid #2a5878;border-radius:14px;padding:16px;margin-bottom:14px}.timx250-title h3,.timx250-availability-toolbar h3{margin:0 0 4px}.timx250-title p,.timx250-availability-toolbar p{margin:0;color:#9fb4c8}.timx250-availability-toolbar label{display:flex;flex-direction:column;gap:6px;font-weight:800;min-width:270px}.timx250-availability-toolbar input{padding:10px;border-radius:8px;border:1px solid #46708f;background:#081727;color:#fff}
.timx250-resource-section{background:#0b1b2a;border:1px solid #274d69;border-radius:14px;padding:14px;margin-bottom:14px}.timx250-resource-section>h3{margin:0 0 12px}.timx250-resource-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.timx250-resource-groups>section{background:#102235;border-radius:12px;border:1px solid #294f6c;padding:12px}.timx250-resource-groups h4{margin:0 0 10px;display:flex;justify-content:space-between}.timx250-resource-groups h4 span{font-size:12px;color:#91b6d1}.timx250-availability-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:10px}.timx250-availability-card{border:2px solid #2b5877;border-radius:12px;padding:11px;background:#0b1a29;min-height:145px}.timx250-availability-card.free{border-color:#32c987;background:#0d332d}.timx250-availability-card.conditional{border-color:#f0a52b;background:#3c2c10}.timx250-availability-card.busy{border-color:#df4d59;background:#351823}.timx250-availability-card header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.timx250-availability-card header strong{font-size:17px}.timx250-availability-card header span{font-size:11px;font-weight:900;border-radius:99px;padding:5px 9px;background:rgba(255,255,255,.13)}.timx250-availability-card p{margin:5px 0;font-size:13px;line-height:1.3}.timx250-availability-card footer{margin-top:9px;padding-top:8px;border-top:1px solid rgba(255,255,255,.17);color:#d8efff}
.timx250-ops-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.timx250-ops-columns>section,.timx250-next-groups>section{background:#0d2032;border:1px solid #2a5878;border-radius:14px;overflow:hidden;margin-bottom:14px}.timx250-ops-columns h3,.timx250-next-groups h3{margin:0;padding:12px 14px;background:#193b57;display:flex;justify-content:space-between}.timx250-ops-columns h3 span,.timx250-next-groups h3 span{font-size:13px;color:#b9d9ee}.timx250-ops-row{display:grid;grid-template-columns:145px minmax(300px,1fr) minmax(260px,.7fr) 95px;align-items:center;gap:12px;padding:11px 14px;border-top:1px solid #25465f}.timx250-ops-row time{font-weight:900;color:#ffcf68}.timx250-ops-row>div{display:flex;flex-direction:column;gap:4px}.timx250-ops-row small{color:#9eb5c8}.timx250-ops-row>div:nth-child(3){align-items:flex-start}.timx250-ops-row button{padding:7px 9px}.timx250-status{padding:4px 8px;border-radius:999px;background:#1f5981;font-size:11px;font-weight:800}.timx250-status.done{background:#17875d}.timx250-status.danger{background:#a92b3b}.timx250-status.technical{background:#7a5425}.timx250-next-groups{display:grid;grid-template-columns:1fr;gap:0}
@media(max-width:900px){.timx250-page{min-width:800px}.timx250-resource-groups,.timx250-ops-columns{grid-template-columns:1fr}.timx250-ops-row{grid-template-columns:120px minmax(260px,1fr) minmax(220px,.7fr) 90px}}

/* ===== TIMX LIVE 2.6.0 – Operatív Munkafal ===== */
.magnet-freight-row.magnet-has-collision{background:inherit!important;animation:none!important;box-shadow:none!important}
.magnet-freight-row.magnet-has-collision>.magnet-cell{background:inherit!important}
.magnet-plate.conflict,.timx260-driver.conflict,.magnet-cell-conflict{background:#b91c1c!important;color:#fff!important;border-color:#ff5252!important;animation:timx260Pulse 1.1s infinite;box-shadow:0 0 0 3px rgba(239,68,68,.25)!important}
@keyframes timx260Pulse{50%{filter:brightness(1.35);transform:scale(1.025)}}
.timx260-canvas{overflow:auto;background:#07182a;padding:14px}
.timx260-page{min-width:1180px;display:grid;gap:16px}
.timx260-heading{background:#102a43;border:1px solid #315a78;border-radius:14px;padding:16px 20px}.timx260-heading h2{margin:0 0 4px}.timx260-heading p{margin:0;color:#a8c0d5}
.timx260-section{border:1px solid #315a78;border-radius:14px;overflow:hidden;background:#0c2033}.timx260-section>header{display:flex;justify-content:space-between;align-items:center;padding:11px 15px;background:#183b59}.timx260-section>header h3{margin:0}.timx260-section>header span{background:#2474a6;border-radius:999px;padding:3px 10px;font-weight:800}
.timx260-work-card{display:grid;grid-template-columns:160px 250px 120px minmax(330px,1fr) 260px;gap:12px;align-items:center;padding:12px 14px;border-top:1px solid #254a68;min-height:82px}.timx260-work-card:hover{background:#112b43}.timx260-work-card.done,.timx260-work-card.archived{opacity:.62;background:#172432}.timx260-work-card.done *{font-weight:500}.timx260-time{display:flex;flex-direction:column}.timx260-time small,.timx260-route small{display:block;color:#9fb5c9;margin-top:3px}.timx260-assignment{display:grid;grid-template-columns:1fr 1fr;gap:7px;align-items:center}.timx260-assignment>div{text-align:center}.timx260-driver{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #47718e;background:#eef4f8;color:#10283d;padding:7px 9px;border-radius:5px;font-weight:800;min-width:105px}.timx260-driver b{background:#2474a6;color:#fff;border-radius:5px;padding:2px 5px}.timx260-unassigned{display:inline-block;border:1px dashed #e6a23c;color:#ffc866;padding:7px;border-radius:5px}.timx260-sms{display:inline-flex;align-items:center;gap:3px;background:#17985b;color:#fff;border-radius:999px;padding:2px 6px;font-size:10px}.timx260-sms small{font-weight:400}.timx260-route b{font-size:15px}.timx260-state{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.timx260-state>span{border-radius:999px;padding:5px 9px;font-weight:800;font-size:12px}.timx260-state>span.active{background:#195b8a}.timx260-state>span.done{background:#53616d}.timx260-state button{border:1px solid #44708f;background:#153854;color:#fff;border-radius:7px;padding:7px 9px}.timx260-state .timx260-done{background:#168f51;border-color:#48d58b}
.magnet-resource-pool details>summary{position:sticky;top:0;z-index:1}.magnet-pool-category h4{display:flex;justify-content:space-between;align-items:center}
@media(max-width:900px){.timx260-page{min-width:980px}.timx260-work-card{grid-template-columns:135px 220px 110px minmax(280px,1fr) 220px}}

/* ===== TIMX LIVE 2.6.1 – Operatív Munkafal stabilitási hotfix ===== */
.timx260-canvas{overflow:auto!important;max-width:100%;padding:12px!important;box-sizing:border-box}
.timx260-page{width:100%;min-width:0!important;display:block!important}
.timx260-heading{margin-bottom:14px}
.timx260-section{margin-bottom:14px;overflow:hidden}
.timx260-section>div{width:100%;overflow-x:auto}
.timx260-work-card{width:100%;box-sizing:border-box;display:grid!important;grid-template-columns:minmax(130px,160px) minmax(230px,280px) minmax(100px,130px) minmax(260px,1fr) minmax(220px,280px)!important;gap:10px!important;align-items:center}
.timx260-assignment{min-width:0!important}.timx260-assignment>div,.timx260-route,.timx260-state{min-width:0}
.timx260-driver,.magnet-plate{max-width:100%;box-sizing:border-box}
.timx260-route b,.timx260-route small,.timx260-state>span{overflow-wrap:anywhere;word-break:break-word}
.timx260-state{justify-content:flex-end!important;align-content:center}
.timx261-row-error,.timx261-view-error{background:#4a1f25!important;color:#fff!important;border:1px solid #e05260!important;padding:18px!important;border-radius:10px!important}
.timx261-row-error{display:flex!important;flex-direction:column!important;min-height:auto!important}
@media(max-width:1200px){.timx260-work-card{min-width:1080px}.timx260-section>div{overflow-x:auto}}
@media(max-width:700px){.timx260-canvas{padding:6px!important}.timx260-work-card{min-width:980px;grid-template-columns:130px 220px 110px 290px 210px!important}.timx260-heading{padding:12px}.timx260-section>header{position:sticky;left:0}}
/* TIMX LIVE 3.0 */
input[type="date"],input[type="time"]{min-width:140px}.timx300-health{display:flex;gap:10px;flex-wrap:wrap}.timx300-health>*{white-space:nowrap}

/* ===== TIMX LIVE 3.1.1 HOTFIX – TV ütközési hibaok ===== */
.timx311-tv-resource{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0}
.timx311-tv-conflict{display:block;max-width:100%;padding:2px 4px;border-radius:4px;font-size:.56em;line-height:1.12;font-weight:900;white-space:normal;text-align:center;overflow-wrap:anywhere}
.timx311-tv-conflict.hard{background:#991b1b;color:#fff;border:1px solid #ff6b6b}
.timx311-tv-conflict.planned{background:#7c5d00;color:#fff4b8;border:1px solid #eab308}
.tv-table td.collision .timx311-tv-conflict{animation:none}

/* ===== TIMX LIVE 3.1.2 – időablakos ütközés + TV biztonságos lapozás ===== */
.tv-page-controls{position:relative;z-index:5}
.tv-fit-stage{min-height:0!important;overflow:hidden!important}
.tv-fit-inner{min-height:0!important}
.tv-mode-all .adaptive-tv-grid{align-items:start!important;min-height:0!important}
.tv-mode-all .tv-column{min-height:0!important;align-content:start!important}
.tv-mode-all .tv-panel{min-height:0!important}
body.tv-native-fullscreen .tv-fit-stage,body.tv-mobile-fullscreen .tv-fit-stage{height:calc(100vh - 116px)!important;max-height:calc(100vh - 116px)!important;overflow:hidden!important}
body.tv-native-fullscreen .tv-fit-inner,body.tv-mobile-fullscreen .tv-fit-inner{height:100%!important;max-height:100%!important;overflow:hidden!important}
@media(max-height:1100px){.tv-density-compact .tv-table th,.tv-density-compact .tv-table td{padding:3px 2px!important;font-size:10px!important;line-height:1.08!important}.tv-density-compact .tv-title{padding:3px 6px!important;font-size:17px!important}.timx311-tv-conflict{font-size:.52em!important;padding:1px 3px!important}}

/* ===== TIMX LIVE 3.1.3 – fuvarablak egy képernyőn ===== */
@media (min-width:1101px) and (min-height:760px){
  .modal.timx313-freight-modal{
    width:calc(100vw - 24px);
    height:calc(100vh - 24px);
    max-width:1760px;
    max-height:none;
    overflow:hidden;
    padding:11px 14px;
    border-radius:12px;
    display:flex;
    flex-direction:column;
  }
  .timx313-freight-modal h2{font-size:21px;margin:0 0 5px}
  .timx313-freight-modal>.combo-hint{margin:0 0 7px;padding:7px 10px;font-size:11px;line-height:1.25}
  .timx313-freight-modal .live213-freight-form{
    flex:1;
    min-height:0;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-auto-rows:min-content;
    gap:5px 9px;
    align-content:start;
    overflow:visible;
  }
  .timx313-freight-modal .live213-freight-form>label{font-size:10.5px;min-width:0}
  .timx313-freight-modal .live213-freight-form>label>span{margin-bottom:2px;line-height:1.1}
  .timx313-freight-modal input,.timx313-freight-modal select,.timx313-freight-modal textarea{padding:5px 7px;min-height:30px}
  .timx313-freight-modal textarea{min-height:42px;max-height:52px;resize:none}
  .timx313-freight-modal .live213-allocation-field{grid-column:1/-1!important;padding:7px 12px!important}
  .timx313-freight-modal .live213-allocation-field>span{font-size:16px!important;margin-bottom:4px!important}
  .timx313-freight-modal .live213-freight-form>label.span-3:not(.live213-allocation-field){grid-column:span 2}
  .timx313-freight-modal .modal-actions{margin-top:7px;flex:0 0 auto}
  .timx313-freight-modal .live213-rollback-box{margin-top:6px;padding:6px 9px}
  .timx313-freight-modal .timx313-duplicate-time-field{display:none!important}
  .timx313-freight-modal .timx242-optional-datetime.timx313-optional-datetime{
    display:grid;
    grid-template-columns:minmax(125px,1.15fr) minmax(90px,.7fr) auto;
    gap:5px;
    align-items:center;
  }
  .timx313-freight-modal .timx313-optional-datetime small{font-size:9px;color:var(--muted);white-space:nowrap}
}
@media (max-height:850px) and (min-width:1101px){
  .modal.timx313-freight-modal{padding:8px 11px}
  .timx313-freight-modal .live213-freight-form{gap:3px 7px}
  .timx313-freight-modal input,.timx313-freight-modal select,.timx313-freight-modal textarea{min-height:27px;padding:3px 6px}
  .timx313-freight-modal .live213-allocation-field{padding:4px 10px!important}
  .timx313-freight-modal>.combo-hint{padding:4px 8px;margin-bottom:4px}
}
@media (max-width:1100px), (max-height:759px){
  .timx313-duplicate-time-field{display:none!important}
  .timx242-optional-datetime.timx313-optional-datetime{grid-template-columns:1fr 105px;gap:6px}
  .timx313-optional-datetime small{grid-column:1/-1;font-size:10px;color:var(--muted)}
}

/* ===== TIMX LIVE 3.1.4 – kiegyensúlyozott fuvarablak + stabil mobil TV ===== */
@media (min-width:1101px) and (min-height:760px){
  .modal.timx313-freight-modal.timx314-balanced-modal{
    width:min(1380px,calc(100vw - 48px))!important;
    height:auto!important;
    max-height:calc(100vh - 32px)!important;
    overflow:hidden!important;
    padding:16px 18px!important;
    border-radius:14px!important;
  }
  .timx314-balanced-modal h2{font-size:23px!important;margin:0 0 7px!important}
  .timx314-balanced-modal>.combo-hint{font-size:12px!important;line-height:1.3!important;padding:8px 11px!important;margin:0 0 9px!important}
  .timx314-balanced-modal .live213-freight-form{
    flex:0 1 auto!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px 10px!important;
    align-content:start!important;
  }
  .timx314-balanced-modal .live213-freight-form>label{font-size:12px!important}
  .timx314-balanced-modal .live213-freight-form>label>span{margin-bottom:4px!important;line-height:1.2!important}
  .timx314-balanced-modal input,.timx314-balanced-modal select,.timx314-balanced-modal textarea{
    min-height:34px!important;padding:7px 9px!important;font-size:13px!important
  }
  .timx314-balanced-modal textarea{min-height:48px!important;max-height:56px!important}
  .timx314-balanced-modal .live213-allocation-field{padding:9px 13px!important}
  .timx314-balanced-modal .live213-allocation-field>span{font-size:18px!important}
  .timx314-balanced-modal .modal-actions{margin-top:10px!important}
  .timx314-balanced-modal .modal-actions button{font-size:13px!important;padding:9px 14px!important}
  .timx314-balanced-modal .timx313-optional-datetime small{font-size:10px!important}
}

@media (min-width:1800px) and (min-height:950px){
  .modal.timx313-freight-modal.timx314-balanced-modal{width:min(1460px,calc(100vw - 80px))!important}
  .timx314-balanced-modal .live213-freight-form>label{font-size:13px!important}
  .timx314-balanced-modal input,.timx314-balanced-modal select,.timx314-balanced-modal textarea{font-size:14px!important;min-height:37px!important}
}

@media (max-width:700px){
  .tv{padding:5px!important;min-height:auto!important;overflow-x:hidden!important}
  .tv .toolbar.tv-toolbar{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;text-align:left!important;margin-bottom:6px!important}
  .tv .toolbar.tv-toolbar .left{display:block!important;text-align:left!important;min-width:0!important}
  .tv .toolbar.tv-toolbar h2{font-size:18px!important;line-height:1.1!important}
  .tv .toolbar.tv-toolbar .muted{display:none!important}
  .tv .toolbar.tv-toolbar button{position:static!important;flex:0 0 auto!important;padding:7px 8px!important;font-size:11px!important}
  .tv-view-switcher{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:5px!important;padding:5px 2px!important;margin:0 0 6px!important;position:relative!important}
  .tv-view-switcher button{flex:0 0 auto!important;padding:7px 9px!important;font-size:11px!important;white-space:nowrap!important}
  .tv-page-controls{position:relative!important;top:auto!important;margin:0 0 6px!important;padding:3px!important}
  .tv-fit-stage,.tv-fit-inner{width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;transform:none!important}
  .adaptive-tv-grid,.tv-dual-grid,.tv-today-grid{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;min-width:0!important}
  .tv-column,.tv-flex-panel{display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;gap:8px!important}
  .tv-panel{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;border-radius:9px!important}
  .tv-title{position:sticky!important;left:0!important;z-index:4!important;font-size:18px!important;line-height:1.1!important;padding:8px 7px!important;min-width:100%!important}
  .tv-corner-label{position:static!important;transform:none!important;display:inline-block!important;margin-left:5px!important;font-size:9px!important;padding:2px 5px!important}
  .tv-panel .tv-table{width:max-content!important;min-width:760px!important;max-width:none!important;table-layout:auto!important;border-collapse:collapse!important}
  .tv-panel .tv-table th,.tv-panel .tv-table td{font-size:11px!important;line-height:1.18!important;padding:6px 5px!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;min-width:84px!important}
  .tv-panel .tv-table th:first-child,.tv-panel .tv-table td:first-child{min-width:105px!important}
  .tv-panel .status-pill{font-size:10px!important;line-height:1.1!important;padding:4px 5px!important;width:auto!important;min-width:0!important}
  .tv-panel .route-compact,.tv-panel .route-compact span,.tv-panel .tiny-date,.tv-panel .tv-driver-mini{font-size:10px!important;line-height:1.15!important}
  .tv-panel .timx311-tv-conflict{font-size:9px!important;padding:3px 4px!important}
  body.tv-mobile-fullscreen .tv-fit-stage,body.tv-mobile-fullscreen .tv-fit-inner{height:auto!important;max-height:none!important;overflow:visible!important}
}

/* TIMX LIVE 3.3.0 */
.timx330-tech-warning{grid-column:1/-1;margin:12px 0}
.timx330-tech-ok{padding:10px 12px;border:1px solid #b8dfc3;border-radius:10px;background:#effaf2;color:#176b36;font-weight:700}
.timx330-tech-alert{padding:12px 14px;border:2px solid #f0a000;border-radius:12px;background:#fff7df;color:#6f4300}
.timx330-tech-alert>b{display:block;font-size:1rem;margin-bottom:8px}
.timx330-tech-alert>div{display:flex;flex-wrap:wrap;gap:6px 12px;padding:6px 0;border-top:1px solid rgba(111,67,0,.16)}
.timx330-tech-alert>div span{font-size:.92rem}
.timx330-tech-alert small{display:block;margin-top:8px;font-weight:700}

/* TIMX LIVE 3.5.0 – egységes figyelmeztetések, timeline, history */
.timx350-warning-stack{display:flex;flex-direction:column;gap:5px;min-width:210px;margin-top:6px}.timx350-warning-stack.compact{min-width:0}.timx350-warning{display:flex;flex-direction:column;gap:2px;padding:6px 8px;border-radius:8px;border:1px solid transparent;font-size:12px;line-height:1.25}.timx350-warning small{opacity:.9}.timx350-red{background:#fee2e2;border-color:#f87171;color:#7f1d1d}.timx350-yellow{background:#fef3c7;border-color:#f59e0b;color:#78350f}.timx350-blue{background:#dbeafe;border-color:#60a5fa;color:#1e3a8a}.timx350-green{background:#dcfce7;border-color:#4ade80;color:#14532d}.timx350-warning-stack.compact .timx350-warning{padding:4px 6px;font-size:11px}.timx350-simple-extras{display:flex;flex-direction:column;gap:5px;margin-top:5px}.timx350-history-btn{padding:4px 7px;border-radius:7px;font-size:11px;width:max-content}.timx350-modal-warning-panel{margin:8px 0 12px;padding:10px;border-radius:10px;background:rgba(15,23,42,.04)}.timx350-no-warning{display:block;padding:7px;color:#166534;background:#dcfce7;border-radius:8px}.timx350-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.timx350-history-head h2{margin-bottom:4px}.timx350-history-head p{margin:0;color:var(--muted,#64748b)}.timx350-history-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:18px;margin-top:18px;max-height:68vh;overflow:auto}.timx350-history-grid section{min-width:0}.timx350-timeline,.timx350-history-list{display:flex;flex-direction:column;gap:8px}.timx350-timeline-item{position:relative;padding:10px 10px 10px 16px;border-left:3px solid #3b82f6;background:rgba(59,130,246,.08);border-radius:0 10px 10px 0}.timx350-timeline-item time,.timx350-timeline-item small{display:block;color:var(--muted,#64748b);font-size:12px}.timx350-history-list article{padding:10px;border:1px solid rgba(100,116,139,.25);border-radius:10px;background:var(--card,#fff)}.timx350-history-list article header{display:flex;justify-content:space-between;gap:12px}.timx350-history-list article header time{font-size:12px;color:var(--muted,#64748b)}.timx350-history-list article>div{display:flex;justify-content:space-between;gap:16px;padding-top:5px;font-size:12px}.timx350-history-list article>div span{text-align:right}.timx350-all-history{display:flex;flex-direction:column;gap:7px;max-height:70vh;overflow:auto;margin-top:15px}.timx350-all-history article{display:grid;grid-template-columns:150px 1fr 160px auto;align-items:center;gap:12px;padding:9px;border-bottom:1px solid rgba(100,116,139,.2)}
@media(max-width:900px){.timx350-history-grid{grid-template-columns:1fr}.timx350-all-history article{grid-template-columns:1fr auto}.timx350-all-history article small{grid-column:1/2}.timx350-warning-stack{min-width:170px}}

/* ===== TIMX LIVE 3.6.0 – Resource Center + Smart Search ===== */
.timx360-search-wrap{position:relative;display:flex;align-items:center;gap:6px;min-width:300px;max-width:480px;flex:1;margin:0 12px}.timx360-search-wrap input{width:100%;min-height:40px;border:1px solid rgba(148,163,184,.35);border-radius:12px;background:rgba(15,23,42,.72);color:#fff;padding:0 14px;font-size:14px;outline:none}.timx360-search-wrap input:focus{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.16)}.timx360-center-btn{min-width:40px;height:40px;border-radius:12px;font-size:21px}.timx360-search-results{position:absolute;left:46px;right:0;top:46px;z-index:10020;background:#0f172a;border:1px solid rgba(148,163,184,.35);border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.45);padding:7px;max-height:480px;overflow:auto}.timx360-search-results>button{display:grid;grid-template-columns:34px 1fr auto;align-items:center;width:100%;gap:8px;padding:10px;border:0;border-radius:10px;background:transparent;color:#fff;text-align:left}.timx360-search-results>button:hover{background:rgba(56,189,248,.13)}.timx360-search-results small{color:#94a3b8}.timx360-search-icon{font-size:18px}.timx360-resource-link{cursor:pointer!important;text-decoration:underline dotted rgba(56,189,248,.65);text-underline-offset:3px}.timx360-resource-link:hover{color:#0ea5e9!important}.timx360-modal{width:min(1500px,96vw)!important;max-width:1500px!important;max-height:94vh!important;padding:0!important;overflow:hidden!important}.timx360-head{display:flex;justify-content:space-between;align-items:flex-start;padding:22px 24px;background:linear-gradient(135deg,#0f172a,#172554);color:#fff}.timx360-head p{margin:0 0 3px;font-size:11px;font-weight:900;letter-spacing:.14em;color:#7dd3fc}.timx360-head h2{margin:0;font-size:28px}.timx360-head span{display:block;margin-top:4px;color:#cbd5e1}.timx360-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 20px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.timx360-summary>div{background:#fff;border:1px solid #e2e8f0;border-radius:13px;padding:12px}.timx360-summary small,.timx360-summary span{display:block;color:#64748b}.timx360-summary b{display:block;margin:3px 0;font-size:16px}.timx360-warnings{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:8px;padding:10px 20px}.timx360-warnings article{display:flex;flex-direction:column;border-radius:11px;padding:10px 12px}.timx360-warnings article.yellow{background:#fef3c7;border:1px solid #f59e0b;color:#78350f}.timx360-warnings article.red{background:#fee2e2;border:1px solid #ef4444;color:#7f1d1d}.timx360-ok{padding:11px 13px;border-radius:11px;background:#dcfce7;color:#166534;border:1px solid #86efac}.timx360-tabs{display:flex;gap:5px;padding:0 20px;border-bottom:1px solid #e2e8f0}.timx360-tabs button{border:0;border-bottom:3px solid transparent;border-radius:8px 8px 0 0;background:transparent;padding:11px 16px}.timx360-tabs button.active{border-bottom-color:#0284c7;color:#0369a1;background:#e0f2fe}.timx360-content{padding:16px 20px 22px;overflow:auto;max-height:58vh}.timx360-content h3{margin:0 0 10px}.timx360-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(310px,1fr);gap:16px}.timx360-grid section,.timx360-grid aside{min-width:0}.timx360-assignment{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #e2e8f0;border-left:5px solid #38bdf8;border-radius:12px;padding:11px 13px;margin-bottom:8px;background:#fff}.timx360-assignment.is-archived{opacity:.65;border-left-color:#94a3b8}.timx360-assignment>div:first-child{min-width:0}.timx360-assignment b,.timx360-assignment span,.timx360-assignment small{display:block}.timx360-assignment span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timx360-assignment small{color:#64748b;margin-top:3px}.timx360-assignment>div:last-child{display:flex;align-items:center;gap:7px;flex-shrink:0}.timx360-tech,.timx360-leave{display:flex;flex-direction:column;padding:10px 12px;border-radius:11px;margin-bottom:8px}.timx360-tech{background:#fef3c7;border:1px solid #fbbf24}.timx360-leave{background:#ede9fe;border:1px solid #c4b5fd}.timx360-tech small,.timx360-leave small{color:#64748b}.timx360-grid dl{display:grid;grid-template-columns:110px 1fr;gap:7px;margin:0;padding:12px;background:#f8fafc;border-radius:11px}.timx360-grid dt{font-weight:700;color:#64748b}.timx360-grid dd{margin:0;overflow-wrap:anywhere}.timx360-timeline-row{display:grid;grid-template-columns:160px 1fr;gap:14px;position:relative;padding:10px 12px 10px 22px;margin-left:6px;border-left:3px solid #38bdf8}.timx360-timeline-row:before{content:"";position:absolute;width:11px;height:11px;border-radius:50%;background:#0284c7;left:-7px;top:15px}.timx360-timeline-row.is-archived{opacity:.6}.timx360-timeline-row time{font-weight:800;color:#0369a1}.timx360-timeline-row b,.timx360-timeline-row span{display:block}.timx360-timeline-row span{color:#64748b}.timx360-history-row{display:grid;grid-template-columns:190px 1fr;gap:12px;padding:11px;border-bottom:1px solid #e2e8f0}.timx360-history-row time{color:#64748b}.timx360-history-row small,.timx360-history-row span{display:block}.timx360-history-row span{margin-top:3px}.timx360-browser-modal .timx360-browser{padding:16px;overflow:auto;max-height:78vh}.timx360-browser{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.timx360-browser section{min-width:0}.timx360-browser h3{display:flex;justify-content:space-between;margin:0 0 8px}.timx360-browser h3 span{background:#e2e8f0;border-radius:999px;padding:2px 8px}.timx360-browser-list{display:flex;flex-direction:column;gap:5px}.timx360-browser-list button{display:flex;justify-content:space-between;align-items:center;gap:8px;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;padding:8px 10px}.timx360-browser-list button:hover{border-color:#38bdf8;background:#e0f2fe}.timx360-browser-list small{color:#64748b;text-align:right}
@media(max-width:1000px){.timx360-search-wrap{order:5;flex-basis:100%;max-width:none;margin:8px 0 0}.timx360-summary{grid-template-columns:repeat(2,1fr)}.timx360-grid{grid-template-columns:1fr}.timx360-browser{grid-template-columns:1fr}.timx360-content{max-height:62vh}}@media(max-width:620px){.timx360-modal{width:100vw!important;max-height:100dvh!important;border-radius:0!important}.timx360-head{padding:16px}.timx360-head h2{font-size:22px}.timx360-summary{grid-template-columns:1fr 1fr;padding:10px}.timx360-content{padding:12px;max-height:64vh}.timx360-assignment{align-items:flex-start;flex-direction:column}.timx360-timeline-row,.timx360-history-row{grid-template-columns:1fr}.timx360-tabs{overflow:auto;padding:0 10px}.timx360-search-results{left:0}}

/* ===== TIMX LIVE 3.6.1 – Resource Center kontraszt + stabil mobil fejléc ===== */
.timx360-modal{color:#0f172a!important}
.timx360-summary,.timx360-content,.timx360-tabs,.timx360-browser{color:#0f172a}
.timx360-summary small,.timx360-summary span{color:#475569!important}
.timx360-summary b,.timx360-content h3,.timx360-content h4,.timx360-assignment b,.timx360-assignment span,.timx360-grid dd,.timx360-browser b{color:#0f172a!important}
.timx360-assignment small,.timx360-tech small,.timx360-leave small,.timx360-grid dt,.timx360-timeline-row span,.timx360-history-row time,.timx360-browser-list small{color:#475569!important}
.timx360-tabs button{color:#334155!important}
.timx360-tabs button.active{color:#075985!important}
.timx360-tech,.timx360-tech b,.timx360-tech span{color:#713f12!important}
.timx360-leave,.timx360-leave b,.timx360-leave span{color:#4c1d95!important}
.timx360-ok{color:#14532d!important}
.timx360-browser-list button{color:#0f172a!important}
.timx360-search-results{background:#f8fafc!important;border-color:#cbd5e1!important;box-shadow:0 20px 60px rgba(0,0,0,.4)!important}
.timx360-search-results>button{color:#0f172a!important}
.timx360-search-results>button:hover{background:#e0f2fe!important}
.timx360-search-results b{color:#0f172a!important}
.timx360-search-results small{color:#475569!important}
.timx360-search-results .empty{color:#64748b!important}

@media(max-width:760px){
  html,body{max-width:100%;overflow-x:hidden!important}
  .topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;width:100%!important;max-width:100vw!important;padding:9px 10px 10px!important;gap:6px 8px!important}
  .topbar>div:first-child{min-width:0;overflow:hidden}
  .topbar h1,.topbar p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-nav-toggle{grid-column:2;grid-row:1;margin:0!important}
  .timx360-search-wrap{grid-column:1/-1;grid-row:2;width:100%!important;max-width:100%!important;min-width:0!important;flex:none!important;margin:2px 0 0!important;gap:6px!important}
  .timx360-search-wrap input{min-width:0!important;width:100%!important;font-size:16px!important}
  .timx360-center-btn{flex:0 0 40px!important}
  .timx360-search-results{left:0!important;right:0!important;width:auto!important;max-width:calc(100vw - 20px)!important;top:46px!important}
  .sync-state{right:58px!important;bottom:auto!important;top:45px!important;font-size:7px!important;pointer-events:none}
  nav{top:112px!important;max-width:100vw!important}
  main{width:100%!important;max-width:100vw!important;overflow-x:hidden!important}
  .timx360-modal{width:100vw!important;max-width:100vw!important;margin:0!important}
}
@media(max-width:420px){
  .topbar p{display:block!important;font-size:9px!important}
  .timx360-search-wrap input{padding:0 10px!important}
  nav{top:111px!important}
}

/* ===== TIMX LIVE 3.6.2 – automatikus kontraszt + rendszerezett kereső ===== */
/* Sötét Resource Center felületek: mindig világos szöveg */
.timx360-tabs,
.timx360-content{background:#0d1c2d!important;color:#eaf2ff!important}
.timx360-tabs{border-bottom-color:#38506a!important}
.timx360-tabs button{color:#d7e6f5!important}
.timx360-tabs button:not(.active):hover{background:#17314b!important;color:#fff!important}
.timx360-tabs button.active{background:#dff2ff!important;color:#075985!important}
.timx360-content>section>h3,
.timx360-grid>section>h3,
.timx360-grid>aside>h3,
.timx360-content h3{color:#f4f8fc!important}
.timx360-timeline-row b,
.timx360-history-row b,
.timx360-history-row small,
.timx360-history-row span{color:#eef6ff!important}
.timx360-timeline-row span,
.timx360-history-row time{color:#b8cce0!important}
.timx360-history-row{border-bottom-color:#30475e!important}

/* Világos kártyák: mindig sötét szöveg */
.timx360-summary,
.timx360-summary>div,
.timx360-assignment,
.timx360-grid dl,
.timx360-tech,
.timx360-leave,
.timx360-ok,
.timx360-warnings article,
.timx360-browser,
.timx360-browser-list button,
.timx360-search-results,
.timx360-search-results button{color:#0f172a!important}
.timx360-assignment b,
.timx360-assignment span,
.timx360-grid dt,
.timx360-grid dd,
.timx360-browser h3,
.timx360-browser h3 span,
.timx360-browser-list b{color:#0f172a!important}
.timx360-assignment small,
.timx360-browser-list small{color:#475569!important}

/* Kereső találatok rendszerezve: Vontatók / Pótkocsik / Sofőrök */
.timx360-search-results{padding:8px!important}
.timx360-search-group+ .timx360-search-group{margin-top:8px;padding-top:8px;border-top:1px solid #cbd5e1}
.timx360-search-group>header{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:7px;padding:7px 9px;margin-bottom:3px;border-radius:8px;background:#e2e8f0;color:#0f172a}
.timx360-search-group>header b{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#0f172a!important}
.timx360-search-group>header em{min-width:24px;padding:2px 7px;border-radius:999px;background:#cbd5e1;color:#334155;font-size:11px;font-style:normal;font-weight:800;text-align:center}
.timx360-search-group>div{display:flex;flex-direction:column;gap:2px}
.timx360-search-group button{display:grid!important;grid-template-columns:30px minmax(100px,1fr) minmax(120px,auto)!important;align-items:center!important;width:100%!important;gap:8px!important;padding:8px 10px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#0f172a!important;text-align:left!important}
.timx360-search-group button:hover{background:#dbeafe!important}
.timx360-search-group button b{color:#0f172a!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.timx360-search-group button small{color:#475569!important;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:620px){
  .timx360-search-group button{grid-template-columns:27px minmax(0,1fr)!important}
  .timx360-search-group button small{grid-column:2;text-align:left;white-space:normal}
}

/* ===== TIMX LIVE 3.6.3 – Resource Center fejléc-kontraszt + TV nézetek ===== */
/* Az Erőforrás Központ teljes listájának sötét hátterén világos címek. */
.timx360-browser-modal .timx360-browser{
  background:#0d1c2d!important;
  color:#eef6ff!important;
}
.timx360-browser-modal .timx360-browser section>h3{
  color:#f4f8fc!important;
  text-shadow:0 1px 1px rgba(0,0,0,.35);
}
.timx360-browser-modal .timx360-browser section>h3 span{
  background:#e2e8f0!important;
  color:#0f172a!important;
  text-shadow:none!important;
}
.timx360-browser-modal .timx360-browser-list button{
  background:#f8fafc!important;
  color:#0f172a!important;
}
.timx360-browser-modal .timx360-browser-list button b{color:#0f172a!important}
.timx360-browser-modal .timx360-browser-list button small{color:#475569!important}
.timx360-browser-modal .timx360-browser-list button:hover{background:#dff2ff!important;border-color:#38bdf8!important}

/* Holnapi teendők: nagy kijelzőn két oszlop, ezért az alsó panel nem vágódik le. */
.tv-mode-tomorrow .tv-tomorrow-stack{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
  max-height:none!important;
  overflow:visible!important;
}
.tv-mode-tomorrow .tv-tomorrow-stack>.tv-panel{min-width:0!important;max-height:none!important;overflow:visible!important}
.tv-mode-tomorrow .tv-fit-stage,.tv-mode-tomorrow .tv-fit-inner{max-height:none!important;overflow:visible!important}

/* Külön teljes műszaki TV-nézet. */
.tv-mode-technical .tv-single-view,.tv-mode-technical .tv-technical-only{width:100%!important;max-width:100%!important}
.tv-mode-technical .tv-panel{max-height:none!important;overflow:visible!important}
.tv-mode-technical .tv-title.technical{font-size:clamp(22px,1.45vw,40px)!important;padding:10px 12px!important}
.tv-mode-technical .tv-table th{font-size:clamp(12px,.72vw,20px)!important;padding:7px 8px!important}
.tv-mode-technical .tv-table td{font-size:clamp(13px,.82vw,23px)!important;line-height:1.14!important;padding:8px 9px!important}

@media(max-width:900px){
  .tv-mode-tomorrow .tv-tomorrow-stack{grid-template-columns:1fr!important;gap:14px!important}
  .tv-mode-technical .tv-table{min-width:760px!important}
  .tv-mode-technical .tv-single-view{overflow-x:auto!important}
}

/* ===== TIMX LIVE 3.7.0 ===== */
#nav a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:inherit;border:0;background:transparent;padding:12px 14px;font-weight:800;white-space:nowrap}
#nav a:hover,#nav a.active{background:rgba(42,157,244,.15);color:#7fd2ff}
.mobile-nav-head{display:none}

.misc370-page{padding:14px}.misc370-toolbar .right{display:flex;gap:8px;flex-wrap:wrap}.misc370-stats{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px;margin:12px 0}.misc370-stats button{background:#13253a;border:1px solid #29445f;border-radius:12px;color:#eef8ff;padding:12px;text-align:left}.misc370-stats strong{font-size:22px;display:block;color:#73d4ff}.misc370-stats span{font-size:11px;font-weight:900}.misc370-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:12px}.misc370-card{background:#f7f9fc;color:#142238;border-left:5px solid #54aee8;border-radius:12px;padding:14px;box-shadow:0 8px 24px rgba(0,0,0,.18)}.misc370-card.important{border-left-color:#e4a11b}.misc370-card.urgent{border-left-color:#d94141}.misc370-card.expired{opacity:.72}.misc370-card.archived{opacity:.58;filter:grayscale(.45)}.misc370-card header{display:flex;justify-content:space-between;gap:12px}.misc370-card h3{margin:4px 0 2px;font-size:18px;color:#102038}.misc370-category,.misc370-priority{font-size:10px;font-weight:950;letter-spacing:.04em}.misc370-priority{background:#e7edf5;border-radius:99px;padding:5px 8px;height:max-content}.misc370-person,.misc370-date{margin:7px 0;color:#34465e;font-weight:750}.misc370-text{border-top:1px solid #d8e0ea;padding-top:10px;min-height:58px;line-height:1.45}.misc370-card footer{margin-top:12px;padding-top:10px;border-top:1px solid #d8e0ea;display:flex;justify-content:space-between;gap:10px;align-items:center}.misc370-card footer div{display:flex;gap:6px;flex-wrap:wrap}.misc370-card footer button{padding:6px 8px}.misc370-form textarea{resize:vertical}

.timx370-status-dock{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:10px 12px;margin:0 10px 10px;background:#0c1a2a;border:1px solid #28435c;border-radius:10px;color:#eef8ff;position:sticky;top:0;z-index:12}.timx370-status-dock strong{font-size:12px;color:#8ed7ff}.timx370-status-dock button{font-size:10px;font-weight:900;padding:7px 9px;border:1px dashed #55748f;background:#14283d;color:#f7fbff;border-radius:8px}.timx370-status-dock button.drag-over{background:#ffcf4b;color:#1a2430;transform:scale(1.04);border-style:solid}
.magnet-context-menu{max-height:min(78vh,620px);overflow:auto;min-width:270px}.magnet-context-menu details{border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12)}.magnet-context-menu summary{padding:9px 11px;color:#80d5ff;font-weight:900;cursor:pointer}.magnet-context-menu details button{padding-left:22px;font-size:11px}.timx370-context-title{padding:10px 12px;font-weight:950;color:#fff;background:#17324a;position:sticky;top:0;z-index:2}.magnet-context-menu .danger{color:#ff9e9e}

@media(max-width:760px){#nav a{width:100%;justify-content:flex-start;padding:13px 16px}.mobile-nav-head{display:flex}.misc370-page{padding:8px}.misc370-toolbar .right{display:grid;grid-template-columns:1fr;width:100%}.misc370-toolbar .right>*{width:100%;max-width:none}.misc370-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.misc370-grid{grid-template-columns:1fr}.misc370-card footer{align-items:flex-start;flex-direction:column}.timx370-status-dock{position:relative;margin:6px;padding:8px;overflow-x:auto;flex-wrap:nowrap}.timx370-status-dock strong{min-width:135px}.timx370-status-dock button{white-space:nowrap}}

/* TIMX LIVE 3.7.1 */
button.qol-alert{font:inherit;cursor:pointer;text-align:left;appearance:none;-webkit-appearance:none}.qol-alert:hover{filter:brightness(1.12);transform:translateY(-1px)}.qol-alert.active{outline:2px solid #ffd166;box-shadow:0 0 0 3px rgba(255,209,102,.18)}


/* TIMX LIVE 3.7.3 – Resource Center rendezett állapotok */
.timx373-assignment-section{margin:0 0 14px}
.timx373-assignment-section>h4{display:flex;align-items:center;justify-content:space-between;margin:0 0 7px;padding:7px 10px;border-radius:8px;background:#17314b;color:#f8fbff!important;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.timx373-assignment-section>h4 span{min-width:24px;padding:2px 7px;border-radius:999px;background:#dff2ff;color:#075985!important;text-align:center}
.timx373-assignment-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.timx373-assignment-title em{padding:2px 7px;border-radius:999px;font-size:10px;font-style:normal;font-weight:900;letter-spacing:.04em}
.timx373-current{border-left-color:#22c55e!important;background:#f0fdf4!important}
.timx373-current .timx373-assignment-title em{background:#dcfce7;color:#166534}
.timx373-future{border-left-color:#38bdf8!important;background:#f8fafc!important}
.timx373-future .timx373-assignment-title em{background:#dbeafe;color:#1d4ed8}
.timx373-past{border-left-color:#94a3b8!important;background:#f8fafc!important;opacity:.88}
.timx373-past .timx373-assignment-title em{background:#e2e8f0;color:#475569}
.timx373-archive{border-left-color:#64748b!important;background:#e2e8f0!important;opacity:.72}
.timx373-archive .timx373-assignment-title em{background:#cbd5e1;color:#334155}
.timx373-modal .timx360-content{overflow:auto}
@media(max-width:720px){.timx373-assignment-title{align-items:flex-start}.timx373-assignment-section>h4{position:sticky;top:0;z-index:2}}

/* TIMX LIVE 3.8.0 – Task Engine */
.timx380-section{margin:0 0 14px}.timx380-section h4{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px;padding:8px 10px;border-radius:8px;background:#183957;color:#f5fbff}.timx380-section h4 span{min-width:24px;text-align:center;border-radius:999px;background:#eaf6ff;color:#0b2a45;padding:2px 7px}.timx380-task{display:flex;justify-content:space-between;gap:14px;align-items:center;background:#f8fbff;color:#10233b;border-left:5px solid #41b9ff;border-radius:10px;padding:11px 12px;margin-bottom:8px}.timx380-task>div:first-child{min-width:0}.timx380-task>div:last-child{display:flex;align-items:center;gap:8px;flex-shrink:0}.timx380-task-title{display:flex;align-items:center;gap:8px}.timx380-task-title em{font-style:normal;font-size:11px;font-weight:800;border-radius:999px;padding:2px 7px;background:#dcecff;color:#0b4770}.timx380-task span,.timx380-task small{display:block}.timx380-task small{color:#51647a;margin-top:2px}.timx380-current{background:#edfff5;border-left-color:#16c96b}.timx380-current .timx380-task-title em{background:#c9f9dc;color:#087238}.timx380-future{background:#f4f9ff;border-left-color:#248bd1}.timx380-past,.timx380-archive{background:#c7ced7;color:#26374a;border-left-color:#72849a}.timx380-past small,.timx380-archive small{color:#44566a}.timx380-archive{opacity:.82}
@media(max-width:760px){.timx380-task{align-items:flex-start;flex-direction:column}.timx380-task>div:last-child{width:100%;justify-content:flex-end}.timx380-task-title{flex-wrap:wrap}}


/* TIMX LIVE 3.8.1 – Resource Center kontrasztjavítás */
.timx373-modal .timx360-content,
.timx373-modal .timx360-grid,
.timx373-modal .timx360-grid > section,
.timx373-modal .timx360-grid > aside { color:#f4f8ff; }
.timx373-modal .timx360-content h2,
.timx373-modal .timx360-content h3,
.timx373-modal .timx360-content h4,
.timx373-modal .timx360-grid > section > h3,
.timx373-modal .timx360-grid > aside > h3,
.timx380-section > h4 { color:#f7fbff !important; }
.timx380-section > h4 span { color:#0b2a45 !important; }
.timx380-task,
.timx380-task strong,
.timx380-task .timx380-task-title { color:#10233b !important; }
.timx380-task small { color:#51647a !important; }
.timx380-past,
.timx380-archive,
.timx380-past strong,
.timx380-archive strong,
.timx380-past .timx380-task-title,
.timx380-archive .timx380-task-title { color:#26374a !important; }
.timx380-past small,
.timx380-archive small { color:#44566a !important; }
.timx373-modal .timx360-tabs button { color:#eef7ff !important; }
.timx373-modal .timx360-tabs button.active { color:#075985 !important; }

/* ===== TIMX LIVE 3.8.2 – Navbar 2.0 / 1080p optimalizálás ===== */
/* Asztali, 1080p szélességű monitorokon kompakt, több sorba törhető navigáció. */
@media (min-width:761px) and (max-width:2100px){
  .topbar{
    min-height:56px!important;
    padding:7px 12px!important;
    gap:8px!important;
  }
  .topbar h1{font-size:18px!important;line-height:1.1!important}
  .topbar p{font-size:10px!important;line-height:1.1!important;margin-top:2px!important}
  .top-actions{gap:5px!important;flex-wrap:nowrap!important}
  .top-actions .header-link,
  .top-actions button,
  .top-actions .logged-user{
    font-size:10px!important;
    line-height:1!important;
  }
  .top-actions .header-link,
  .top-actions button{padding:7px 8px!important;border-radius:7px!important}
  .logged-user{white-space:nowrap!important}
  .sync-state{font-size:8px!important;padding:3px 6px!important;white-space:nowrap!important}
  .timx360-search-wrap{
    min-width:220px!important;
    max-width:360px!important;
    margin:0 6px!important;
  }
  .timx360-search-wrap input{min-height:34px!important;height:34px!important;font-size:12px!important;border-radius:9px!important}
  .timx360-center-btn{min-width:34px!important;width:34px!important;height:34px!important;padding:0!important;border-radius:9px!important;font-size:17px!important}
  .timx360-search-results{top:40px!important;left:40px!important}

  #nav,
  nav{
    top:56px!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    align-content:center!important;
    gap:2px 3px!important;
    padding:4px 8px!important;
    overflow-x:hidden!important;
    overflow-y:visible!important;
    scrollbar-width:none!important;
  }
  #nav::-webkit-scrollbar,
  nav::-webkit-scrollbar{display:none!important}
  #nav a,
  nav a,
  nav button{
    flex:0 0 auto!important;
    min-width:0!important;
    width:auto!important;
    padding:7px 8px!important;
    border-radius:6px!important;
    font-size:10.5px!important;
    line-height:1.05!important;
    letter-spacing:0!important;
    white-space:nowrap!important;
  }
}

/* 1080p-nél keskenyebb asztali böngészőablak: további finom tömörítés. */
@media (min-width:761px) and (max-width:1700px){
  .topbar h1{font-size:16px!important}
  .topbar p{font-size:9px!important}
  .timx360-search-wrap{min-width:180px!important;max-width:285px!important}
  .top-actions .logged-user{display:none!important}
  #nav a,
  nav a,
  nav button{padding:6px 7px!important;font-size:9.5px!important}
}

/* Mobil menü marad oldalsó paneles, nem örökli az asztali tömörítést. */
@media (max-width:760px){
  #nav,nav{flex-wrap:nowrap!important;overflow-y:auto!important}
}

/* ===== TIMX LIVE 3.8.4 – Quick Task Actions ===== */
.timx384-task-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.timx384-status-btn{background:#0e7490!important;border-color:#22d3ee!important;color:#fff!important;font-weight:800!important}
.timx384-status-btn:hover{background:#155e75!important}
.timx384-quick-btn{width:36px!important;min-width:36px!important;padding:8px 0!important;background:#f59e0b!important;border-color:#fbbf24!important;color:#111827!important;font-size:16px!important;font-weight:900!important}
.timx384-quick-btn:hover{background:#fbbf24!important}
.timx384-modal{max-width:720px!important}
.timx384-status-modal>p{margin:0 0 16px;padding:12px 14px;border-radius:10px;background:#e0f2fe;color:#0f172a;line-height:1.45}
.timx384-status-modal select,.timx384-status-modal input{color:#0f172a!important;background:#fff!important}
@media(max-width:760px){
  .timx384-task-actions{justify-content:flex-start;width:100%;margin-top:8px}
  .timx380-task{align-items:flex-start!important;flex-direction:column!important}
  .timx384-status-btn{flex:1 1 110px}
  .timx384-quick-btn{flex:0 0 42px}
  .timx384-modal{width:calc(100vw - 18px)!important;max-width:none!important}
}

/* TIMX LIVE 3.8.5 – univerzális gyors státusz */
.timx385-quick-status{background:#f59e0b!important;color:#111827!important;border-color:#fbbf24!important;font-weight:800!important;white-space:nowrap}
.timx385-quick-status:hover{filter:brightness(1.08)}
.timx385-modal{max-width:680px!important}
@media(max-width:900px){.simple-actions .timx385-quick-status{order:-1}.simple-actions{gap:5px;flex-wrap:wrap}}

/* TIMX LIVE 3.8.6 – Egy pillantásos Erőforrások most */
.timx386-page{padding-bottom:32px}
.timx386-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 10px}
.timx386-summary>b{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:12px;font-size:24px;background:#13283b;border:1px solid #294963;color:#fff}
.timx386-summary>b small{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#d8e8f4}
.timx386-summary .free{border-color:#22c55e}.timx386-summary .busy{border-color:#ef4444}.timx386-summary .check{border-color:#f59e0b}.timx386-summary .blocked{border-color:#64748b}
.timx386-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0 0 12px;padding:10px 12px;border-radius:10px;background:#102236;color:#e7f2fa;font-size:12px;font-weight:800}
.timx386-legend .free{color:#4ade80}.timx386-legend .reserved{color:#60a5fa}.timx386-legend .check{color:#fbbf24}.timx386-legend .busy{color:#f87171}.timx386-legend .blocked{color:#cbd5e1}
.timx386-layout{display:grid;grid-template-columns:repeat(4,minmax(280px,1fr));gap:12px;align-items:start}
.timx386-category{background:#0e2032;border:1px solid #2b4c65;border-radius:12px;overflow:hidden}
.timx386-category>h2{display:flex;justify-content:space-between;align-items:center;margin:0;padding:12px 14px;background:#204866;color:#fff;font-size:17px}
.timx386-category>h2 span,.timx386-state>h3 span{background:#dbeafe;color:#10233b;border-radius:999px;padding:2px 9px;font-size:12px}
.timx386-state{padding:8px}.timx386-state>h3{display:flex;justify-content:space-between;align-items:center;margin:0 0 7px;padding:7px 9px;border-radius:8px;background:#173955;color:#fff;font-size:12px;letter-spacing:.03em}
.timx386-card{margin:0 0 8px;padding:10px;border-radius:10px;background:#f8fafc;color:#10233b;border-left:5px solid #94a3b8;cursor:pointer;box-shadow:0 1px 0 rgba(255,255,255,.5) inset}
.timx386-card:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(0,0,0,.25)}
.timx386-card.free{border-color:#22c55e;background:#ecfdf5}.timx386-card.reserved{border-color:#3b82f6;background:#eff6ff}.timx386-card.check{border-color:#f59e0b;background:#fffbeb}.timx386-card.busy{border-color:#ef4444;background:#fef2f2}.timx386-card.blocked{border-color:#64748b;background:#e2e8f0}
.timx386-card header{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;margin-bottom:7px}.timx386-card header b{display:block;font-size:17px}.timx386-card header small{display:block;color:#475569}.timx386-card header span{max-width:52%;text-align:right;border-radius:999px;padding:4px 7px;background:#102f49;color:#fff;font-size:10px;font-weight:900}
.timx386-now,.timx386-next{display:grid;gap:2px;padding-top:6px;border-top:1px solid #cbd5e1}.timx386-next{margin-top:7px}.timx386-now small,.timx386-next small{font-size:10px;text-transform:uppercase;color:#64748b}.timx386-now strong,.timx386-next strong{font-size:13px}.timx386-next em{font-size:11px;color:#475569;font-style:normal}
.timx386-empty{padding:9px;color:#b9ccdc;font-size:12px}
@media(max-width:1500px){.timx386-layout{grid-template-columns:repeat(2,minmax(300px,1fr))}}
@media(max-width:760px){.timx386-summary{grid-template-columns:repeat(2,1fr)}.timx386-summary>b{font-size:20px;padding:10px}.timx386-layout{grid-template-columns:1fr}.timx386-card header{align-items:center}.timx386-card header span{max-width:58%}}


/* TIMX LIVE 3.8.7 – Központi erőforrás-állapotmotor */
.timx387-layout{grid-template-columns:repeat(5,minmax(270px,1fr))}
.timx386-card.severity-attention{border-color:#f59e0b!important;background:#fffbeb!important}
.timx386-card.severity-critical{border-color:#dc2626!important;background:#fff1f2!important;box-shadow:0 0 0 1px rgba(220,38,38,.18)}
.timx387-alerts{display:grid;gap:5px;margin-top:7px}
.timx387-alerts em{display:block;padding:7px 8px;border-radius:7px;font-size:11px;font-style:normal;font-weight:800;line-height:1.3}
.timx387-alerts em.yellow{background:#fef3c7;color:#78350f;border:1px solid #f59e0b}
.timx387-alerts em.red{background:#fee2e2;color:#7f1d1d;border:1px solid #ef4444}
.timx386-now>span{display:block;font-size:12px;line-height:1.35;margin-top:2px}
.timx386-now>span b{font-size:12px}
.timx386-category.special>h2{background:#6d28d9}
.timx386-category.other>h2{background:#475569}
@media(max-width:1850px){.timx387-layout{grid-template-columns:repeat(3,minmax(290px,1fr))}}
@media(max-width:1250px){.timx387-layout{grid-template-columns:repeat(2,minmax(290px,1fr))}}
@media(max-width:760px){.timx387-layout{grid-template-columns:1fr}}

/* ===== TIMX LIVE 3.8.9 – TV Display: nincs levágás, adaptív sűrűség ===== */
.tv .tv-page-controls{display:none!important}
.tv-fit-stage,.tv-fit-inner{max-height:none!important;height:auto!important;overflow:visible!important;transform:none!important}
body.tv-native-fullscreen .tv-fit-stage,body.tv-mobile-fullscreen .tv-fit-stage,
body.tv-native-fullscreen .tv-fit-inner,body.tv-mobile-fullscreen .tv-fit-inner{
  max-height:none!important;height:auto!important;overflow:visible!important;
}
.tv .tv-title{display:flex!important;align-items:center;justify-content:center;position:relative}
.tv .tv-title .tv-corner-label{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:.68em;opacity:.9}
.tv-density-ultra .tv-table th,.tv-density-ultra .tv-table td{font-size:10px!important;line-height:1.08!important;padding:3px 3px!important}
.tv-density-ultra .status-pill{font-size:9px!important;padding:2px 5px!important}
.tv-density-ultra .tiny-date,.tv-density-ultra .tv-driver-mini,.tv-density-ultra .route-date{font-size:8px!important;line-height:1.05!important}
.tv-density-micro .tv-title{font-size:15px!important;line-height:1!important;padding:5px 8px!important}
.tv-density-micro .tv-table th,.tv-density-micro .tv-table td{font-size:8.5px!important;line-height:1.02!important;padding:2px 2px!important}
.tv-density-micro .status-pill{font-size:7.5px!important;line-height:1!important;padding:1px 4px!important}
.tv-density-micro .tiny-date,.tv-density-micro .tv-driver-mini,.tv-density-micro .route-date,
.tv-density-micro small{font-size:7px!important;line-height:1!important}
.tv-density-micro .assignment-card-check,.tv-density-micro .warning-chip{font-size:7px!important;padding:1px 3px!important}
.tv-density-micro .tv-note{font-size:7px!important;line-height:1!important;margin-top:1px!important}
@media (max-width:900px){
  .tv-fit-stage,.tv-fit-inner{overflow:visible!important}
  .tv-density-ultra .tv-table th,.tv-density-ultra .tv-table td,
  .tv-density-micro .tv-table th,.tv-density-micro .tv-table td{font-size:12px!important;line-height:1.2!important;padding:6px 3px!important}
}

/* ===== TIMX LIVE 3.9.0 – Colo + Fuvar fullscreen teljes tartalom ===== */
:fullscreen .tv-mode-dual .tv-fit-stage,
:-webkit-full-screen .tv-mode-dual .tv-fit-stage,
body.tv-fullscreen .tv-mode-dual .tv-fit-stage,
body.tv-native-fullscreen .tv-mode-dual .tv-fit-stage{
  height:calc(100vh - 64px)!important;
  max-height:calc(100vh - 64px)!important;
  overflow:hidden!important;
}
:fullscreen .tv-mode-dual .tv-fit-inner,
:-webkit-full-screen .tv-mode-dual .tv-fit-inner,
body.tv-fullscreen .tv-mode-dual .tv-fit-inner,
body.tv-native-fullscreen .tv-mode-dual .tv-fit-inner{
  max-height:none!important;
  overflow:visible!important;
  will-change:transform;
}
:fullscreen .tv-mode-dual .tv-dual-grid,
:-webkit-full-screen .tv-mode-dual .tv-dual-grid,
body.tv-fullscreen .tv-mode-dual .tv-dual-grid,
body.tv-native-fullscreen .tv-mode-dual .tv-dual-grid{
  height:auto!important;
  min-height:0!important;
  align-items:start!important;
}
:fullscreen .tv-mode-dual .tv-panel,
:-webkit-full-screen .tv-mode-dual .tv-panel,
body.tv-fullscreen .tv-mode-dual .tv-panel,
body.tv-native-fullscreen .tv-mode-dual .tv-panel{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}

/* ===== TIMX LIVE 3.9.1 – TV fullscreen: minden aktív sor látható ===== */
body.tv-native-fullscreen .tv-fit-stage,
body.tv-mobile-fullscreen .tv-fit-stage,
body.tv-fullscreen .tv-fit-stage,
:fullscreen .tv-fit-stage,
:-webkit-full-screen .tv-fit-stage{
  min-height:0!important;
  overflow:hidden!important;
}
body.tv-native-fullscreen .tv-fit-inner,
body.tv-mobile-fullscreen .tv-fit-inner,
body.tv-fullscreen .tv-fit-inner,
:fullscreen .tv-fit-inner,
:-webkit-full-screen .tv-fit-inner{
  overflow:visible!important;
  max-height:none!important;
  min-height:0!important;
  will-change:transform;
}
/* A korábbi dual-only 64px-es magasságbecslést felülírjuk. A pontos
   magasságot a 3.9.1 JavaScript a valós képernyőpozícióból számolja. */
body.tv-native-fullscreen .tv-mode-dual .tv-fit-stage,
body.tv-mobile-fullscreen .tv-mode-dual .tv-fit-stage,
body.tv-fullscreen .tv-mode-dual .tv-fit-stage,
:fullscreen .tv-mode-dual .tv-fit-stage,
:-webkit-full-screen .tv-mode-dual .tv-fit-stage,
body.tv-native-fullscreen .tv-mode-freight .tv-fit-stage,
body.tv-mobile-fullscreen .tv-mode-freight .tv-fit-stage,
body.tv-fullscreen .tv-mode-freight .tv-fit-stage,
:fullscreen .tv-mode-freight .tv-fit-stage,
:-webkit-full-screen .tv-mode-freight .tv-fit-stage,
body.tv-native-fullscreen .tv-mode-colo .tv-fit-stage,
body.tv-mobile-fullscreen .tv-mode-colo .tv-fit-stage,
body.tv-fullscreen .tv-mode-colo .tv-fit-stage,
:fullscreen .tv-mode-colo .tv-fit-stage,
:-webkit-full-screen .tv-mode-colo .tv-fit-stage{
  overflow:hidden!important;
}
.tv-mode-freight .tv-single-view,
.tv-mode-colo .tv-single-view,
.tv-mode-dual .tv-dual-grid{
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  align-items:start!important;
}
.tv-mode-freight .tv-panel,
.tv-mode-colo .tv-panel,
.tv-mode-dual .tv-panel{
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}

/* TIMX LIVE 3.10.0 – CVS GPS + geofence */
.timx3100-location{display:flex;align-items:center;justify-content:space-between;gap:14px;border-left:5px solid #16a34a}.timx3100-location.missing{border-left-color:#dc2626;background:#fff7f7}.timx3100-location small{display:block;margin-top:5px;color:#667085}.timx3100-location.missing small{color:#b42318;font-weight:800}.timx3100-gps{margin:8px 12px 12px;padding:9px 11px;border-radius:10px;background:#eef7ff;border:1px solid #b8d9f5;display:grid;grid-template-columns:auto 1fr;gap:2px 10px}.timx3100-gps small{grid-row:1/3;color:#35627f}.timx3100-gps b{font-size:12px}.timx3100-gps span{font-size:11px;color:#667085}html[data-cvs="error"] #syncState:after{content:" · CVS HIBA";color:#ffb4ab}html[data-cvs="ok"] #syncState:after{content:" · GPS ÉLŐ";color:#bbf7d0}

/* TIMX LIVE 4.0.0 */
.timx400-stops-card{margin:18px 0;padding:16px;border:1px solid #2d4f67;border-radius:14px;background:#0c2130}.timx400-stops-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:12px}.timx400-stops-head h3{margin:0}.timx400-stops-head p{margin:5px 0 0;color:#a8c0d0}.timx400-stop{display:grid;grid-template-columns:34px 100px 110px minmax(180px,1fr) 145px 110px 155px 38px;gap:7px;align-items:center;padding:8px 0;border-top:1px solid #244357}.timx400-handle{font-weight:900;color:#ffbc35}.timx400-attention{margin:28px 0 10px;padding:18px;border:2px solid #d94a4a;border-radius:18px;background:linear-gradient(180deg,rgba(110,20,25,.35),rgba(32,13,18,.72))}.timx400-attention-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.timx400-attention-head h2{margin:0;color:#ffb0b0}.timx400-attention-head p{margin:5px 0;color:#e7c2c2}.timx400-attention-head>strong{font-size:24px;background:#c82f3b;padding:8px 15px;border-radius:999px}.timx400-issue-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:12px;margin-top:15px}.timx400-issue{padding:14px;border-radius:14px;background:#fff;color:#102333;border-left:8px solid #ef8e22}.timx400-issue.red{border-left-color:#d51e36;background:#fff1f2}.timx400-issue header{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #ddd;padding-bottom:8px}.timx400-issue header div{display:flex;flex-direction:column}.timx400-issue header span{font-weight:900;color:#bb172a}.timx400-issue h4{margin:11px 0 5px}.timx400-issue p{margin:0 0 12px}.timx400-issue-actions{display:flex;flex-wrap:wrap;gap:8px}.timx386-card.reserved header>span{background:#e5a70b;color:#102333}.timx386-card.reserved{border-left-color:#f4bd2c}
@media(max-width:900px){.timx400-stop{grid-template-columns:28px 1fr 1fr}.timx400-stop .stop-name{grid-column:2/4}.timx400-stop .stop-date,.timx400-stop .stop-time,.timx400-stop .stop-status{grid-column:auto}.timx400-stops-head,.timx400-attention-head{flex-direction:column}.timx400-issue-grid{grid-template-columns:1fr}}

/* ===== TIMX LIVE 4.0.4 – Fuvarablak / STOP elrendezés azonnali javítás ===== */
@media (min-width:1101px) and (min-height:760px){
  .modal.timx313-freight-modal.timx314-balanced-modal{
    overflow:auto!important;
    overscroll-behavior:contain;
  }
  .timx313-freight-modal .live213-freight-form>.timx400-stops-card,
  .timx314-balanced-modal .live213-freight-form>.timx400-stops-card{
    grid-column:1 / -1!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:10px 0 0!important;
    position:relative!important;
    inset:auto!important;
    z-index:1!important;
    align-self:start!important;
    overflow:hidden!important;
  }
  .timx313-freight-modal .live213-freight-form>.modal-actions,
  .timx314-balanced-modal .live213-freight-form>.modal-actions{
    grid-column:1 / -1!important;
    width:100%!important;
  }
  .timx313-freight-modal .timx400-stops-head{
    margin-bottom:8px!important;
  }
  .timx313-freight-modal .timx400-stop{
    grid-template-columns:30px 92px 104px minmax(220px,1fr) 140px 100px 150px 38px!important;
    gap:6px!important;
    padding:7px 0!important;
  }
  .timx313-freight-modal .timx400-stop>*{
    min-width:0!important;
  }
}

@media (max-width:1100px), (max-height:759px){
  .timx313-freight-modal .live213-freight-form>.timx400-stops-card,
  .timx314-balanced-modal .live213-freight-form>.timx400-stops-card{
    grid-column:1 / -1!important;
    width:100%!important;
    min-width:0!important;
    margin:10px 0 0!important;
    position:relative!important;
    inset:auto!important;
    overflow-x:auto!important;
  }
  .timx313-freight-modal .live213-freight-form>.modal-actions,
  .timx314-balanced-modal .live213-freight-form>.modal-actions{
    grid-column:1 / -1!important;
  }
}

/* ===== TIMX LIVE 4.0.5 – Stabil többszörös lerakók ===== */
#modal .live213-freight-form>.timx405-multi-unloads{
  grid-column:1 / -1!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:14px!important;
  width:100%!important;
  min-width:0!important;
  position:relative!important;
  inset:auto!important;
  margin:12px 0 0!important;
  z-index:1!important;
}
#modal .timx405-unload-section{
  min-width:0!important;
  padding:14px!important;
  border:1px solid #2d5873!important;
  border-radius:14px!important;
  background:#0c2130!important;
  overflow:visible!important;
}
#modal .timx405-section-head h3{margin:0 0 4px!important;font-size:17px!important}
#modal .timx405-section-head p{margin:0 0 12px!important;color:#a8c0d0!important;font-size:13px!important;line-height:1.35!important}
#modal .timx405-extra-list{display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important}
#modal .timx405-extra-row{
  display:grid!important;
  grid-template-columns:minmax(220px,1fr) 150px 115px 38px!important;
  gap:8px!important;
  align-items:end!important;
  width:100%!important;
  min-width:0!important;
  padding:10px!important;
  border:1px solid #29485d!important;
  border-radius:11px!important;
  background:#0a1a28!important;
}
#modal .timx405-extra-row label{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;margin:0!important}
#modal .timx405-extra-row label span{font-size:12px!important;color:#b8cad7!important;white-space:nowrap!important}
#modal .timx405-extra-row input{width:100%!important;min-width:0!important;box-sizing:border-box!important}
#modal .timx405-remove{width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;align-self:end!important}
#modal .timx405-add-check{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;margin:12px 0 0!important;padding:9px 12px!important;border:1px solid #39708f!important;border-radius:10px!important;background:#102c40!important;cursor:pointer!important;width:max-content!important;max-width:100%!important}
#modal .timx405-add-check input{width:22px!important;height:22px!important;margin:0!important;flex:0 0 auto!important}
#modal .timx405-add-check span{font-weight:800!important;color:#eef7ff!important}
#modal .live213-freight-form>.modal-actions{grid-column:1 / -1!important;position:relative!important;z-index:2!important}
#modal .timx405-freight-modal{overflow:auto!important;overscroll-behavior:contain!important}
@media(max-width:1200px){
  #modal .live213-freight-form>.timx405-multi-unloads{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  #modal .timx405-extra-row{grid-template-columns:1fr 1fr!important}
  #modal .timx405-extra-row .timx405-place{grid-column:1 / -1!important}
  #modal .timx405-remove{grid-column:2!important;justify-self:end!important}
}

/* ===== TIMX LIVE 4.0.6 – FUVARABLAK VÉGLEGES ELRENDEZÉSI HOTFIX ===== */
/* A régi általános STOP blokk a fuvarablakban többé nem jelenhet meg. */
#modal .timx400-stops-card{display:none!important}

#modal .modal.timx406-freight-modal{
  display:block!important;
  width:min(1460px,calc(100vw - 28px))!important;
  height:auto!important;
  max-height:calc(100vh - 28px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:16px 18px!important;
  scroll-behavior:smooth;
}
#modal .timx406-freight-modal .live213-freight-form{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-rows:min-content!important;
  gap:8px 10px!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  flex:none!important;
  overflow:visible!important;
  position:static!important;
  align-content:start!important;
}
#modal .timx406-freight-modal .live213-freight-form>*{
  min-width:0!important;
  position:relative!important;
  inset:auto!important;
}
#modal .timx406-freight-modal .timx405-multi-unloads{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:14px!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  margin:14px 0 0!important;
  padding:0!important;
  position:static!important;
  clear:both!important;
  z-index:auto!important;
}
#modal .timx406-freight-modal .timx405-unload-section{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  position:static!important;
  overflow:hidden!important;
}
#modal .timx406-freight-modal .timx405-extra-list,
#modal .timx406-freight-modal .timx405-extra-row{
  position:static!important;
  height:auto!important;
}
#modal .timx406-freight-modal>.modal-actions{
  display:flex!important;
  position:sticky!important;
  bottom:-16px!important;
  z-index:20!important;
  margin:14px -18px -16px!important;
  padding:12px 18px!important;
  background:#0f1d2f!important;
  border-top:1px solid #29485d!important;
}
@media(max-width:1100px){
  #modal .modal.timx406-freight-modal{width:calc(100vw - 12px)!important;max-height:calc(100vh - 12px)!important;padding:12px!important}
  #modal .timx406-freight-modal .live213-freight-form{grid-template-columns:1fr 1fr!important}
  #modal .timx406-freight-modal .live213-allocation-field,
  #modal .timx406-freight-modal .live213-freight-form>label.span-3{grid-column:1/-1!important}
  #modal .timx406-freight-modal .timx405-multi-unloads{grid-template-columns:1fr!important}
  #modal .timx406-freight-modal>.modal-actions{bottom:-12px!important;margin:14px -12px -12px!important;padding:10px 12px!important}
}
@media(max-width:680px){
  #modal .timx406-freight-modal .live213-freight-form{grid-template-columns:1fr!important}
  #modal .timx406-freight-modal .live213-freight-form>*{grid-column:1!important}
  #modal .timx406-freight-modal .timx405-extra-row{grid-template-columns:1fr!important}
  #modal .timx406-freight-modal .timx405-extra-row .timx405-place,
  #modal .timx406-freight-modal .timx405-remove{grid-column:1!important}
  #modal .timx406-freight-modal .timx405-remove{justify-self:end!important}
}

/* ===== TIMX LIVE 4.0.7 – operatív logikai javítás ===== */
.timx386-card.free .timx387-alerts em.yellow{background:#fff7d6;color:#7a4b00;border-color:#e1b94d}
.timx407-attention{margin-top:24px}

/* TIMX LIVE 4.1.0 */
.timx410-tech-warning{background:#f6c945!important;color:#2d2300!important;border-color:#ffe586!important;cursor:help;box-shadow:0 0 0 1px rgba(255,229,134,.25)}
.timx410-resource-grid .free-driver-chip{white-space:nowrap}

/* TIMX LIVE 4.2.0 – előhúzások a következő munkanapi nézetben */
.timx420-prepull-section{margin-top:14px}
.timx420-prepull-section .live217-section-title{background:#4a3612;border-color:#b7872b}
.timx420-prepull-section .live217-section-title span{background:#8a651f}
.timx420-prepull-card{position:relative;border-color:#8a651f!important}
.timx420-prepull-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.timx420-unassigned-mark{display:inline-flex;margin-top:10px;padding:5px 9px;border-radius:999px;background:#5b4216;color:#ffd87b;border:1px solid #a97922;font-size:11px;font-weight:900}
@media(max-width:760px){.timx420-prepull-form{grid-template-columns:1fr!important}}

/* ===== TIMX TESZT STAGE 3.4 – EGYSÉGES MÁGNESFAL / FUVAR UI ===== */
.timx34-magnet-controls{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:0 0 6px;padding:0;background:transparent;border:0}
.timx34-fullscreen-button{font-weight:900;border-color:#4c8fbc;background:#123653;color:#fff;padding:8px 13px}
.timx34-screen-tabs,.timx34-editor-tabs{margin:0 0 7px!important;padding:0!important;gap:5px!important}
.timx34-screen-tabs button,.timx34-editor-tabs button{padding:6px 9px!important;font-size:11px!important}
.magnet-board-page{padding:8px!important;min-height:calc(100vh - 108px)!important}
.magnet-board-canvas{max-height:calc(100vh - 168px)!important;padding:8px!important;box-sizing:border-box!important;scrollbar-gutter:stable both-edges}
.magnet-board-layout{grid-template-columns:minmax(0,1fr) minmax(205px,235px)!important;min-width:0!important;width:100%!important;gap:8px!important;font-size:13px!important;transform-origin:top left}
.magnet-board-grid{min-width:0!important;gap:9px!important}
.magnet-board-layout.all .magnet-board-grid{grid-template-columns:1fr!important}
.magnet-panel{min-width:0!important;width:100%!important;border-width:3px!important}
.magnet-panel>header{padding:5px 8px!important}
.magnet-panel>header h3{font-size:1.05em!important}
.magnet-column-head,.magnet-freight-row{grid-template-columns:72px 112px 105px 98px minmax(125px,1fr) minmax(135px,1.05fr) 104px 138px!important}
.magnet-freight-row{min-height:62px!important}
.magnet-cell{padding:4px!important}
.magnet-cell.date strong,.magnet-operation-date,.magnet-date-range,.timx34-domestic-dates{color:#c8172c!important;font-weight:950!important;text-shadow:none!important}
.magnet-cell.date small,.magnet-operation-date small,.timx34-domestic-dates small{color:#7f1724!important;font-weight:900!important}
.magnet-date-range{background:#fff0f1!important;border:1px solid #e8a4ac!important}
.magnet-coloplast-row,.magnet-coloplast-head{grid-template-columns:104px 104px 116px 96px minmax(135px,1fr) minmax(145px,1.08fr) 104px 140px!important}
.magnet-colo-operation{min-height:58px!important;gap:3px!important}
.magnet-operation-date{font-size:11px!important;white-space:normal!important;line-height:1.1!important}
.magnet-resource-pool{gap:6px!important;min-width:0!important}
.magnet-resource-pool details{border-width:2px!important}
.magnet-resource-pool summary{padding:6px 7px!important;font-size:11px!important}
.magnet-resource-pool details>div{padding:6px!important;max-height:205px!important;gap:4px!important}
.magnet-resource-pool .magnet-pool-item{font-size:10px!important;padding:3px 5px!important}
.timx34-tomorrow-release{border-color:#d58a13!important;background:#fff4d6!important}
.timx34-tomorrow-release summary{background:#8b5b09!important;color:#fff!important}
.timx34-tomorrow-release>div{display:grid!important;grid-template-columns:1fr!important;max-height:245px!important}
.timx34-release-stack{align-items:stretch!important;width:100%!important;border:1px solid #d4a043;border-radius:6px;padding:4px;background:#fff8df}
.timx34-release-stack .magnet-pool-item{width:100%;justify-content:center;box-shadow:none!important}
.timx34-release-info{display:block;color:#6d4300!important;font-size:9px!important;line-height:1.25;text-align:center;font-weight:900;white-space:normal!important}
.timx34-future-resource{border-color:#d69a25!important;background:#fff4c6!important}
.timx34-domestic-dates{display:grid;gap:3px;min-width:118px;font-variant-numeric:tabular-nums}
.timx34-domestic-dates span{display:flex;align-items:center;gap:5px;white-space:nowrap}
.timx34-domestic-dates b{display:inline-flex;min-width:27px;justify-content:center;border-radius:4px;padding:2px 4px;background:#c8172c;color:#fff!important;font-size:10px;letter-spacing:.04em}
.timx34-domestic-dates.compact{min-width:0;font-size:10px;gap:1px}
.timx34-domestic-dates.compact span{white-space:normal;line-height:1.15}
.timx34-domestic-table th:first-child{min-width:175px}
.timx34-freight-modal{border:2px solid #3d7dab!important;box-shadow:0 0 0 4px rgba(39,119,171,.14),0 25px 80px rgba(0,0,0,.65)!important}
.timx34-new-freight{border-top:7px solid #22a86b!important}
.timx34-edit-freight{border-top:7px solid #2b8ed6!important}
.timx34-modal-mode{display:inline-flex;margin:-5px 0 10px;padding:4px 9px;border-radius:999px;background:#17476a;color:#dff4ff;font-size:11px;font-weight:950;letter-spacing:.05em}
.timx34-new-freight .timx34-modal-mode{background:#12643e;color:#eafff4}
.timx34-trailer-field{position:relative!important;padding:9px!important;border:2px solid #f4b625!important;border-radius:10px!important;background:linear-gradient(180deg,rgba(244,182,37,.20),rgba(244,182,37,.08))!important;box-shadow:0 0 0 3px rgba(244,182,37,.08)!important}
.timx34-trailer-field>span{color:#ffd66a!important;font-weight:950!important;font-size:12px!important}
.timx34-trailer-field input,.timx34-trailer-field select{border-color:#f4b625!important;background:#102238!important;font-weight:900!important}

@media(max-height:950px){
  .magnet-board-page{padding:5px!important}.magnet-board-canvas{max-height:calc(100vh - 145px)!important;padding:5px!important}
  .timx34-magnet-controls{margin-bottom:3px}.timx34-screen-tabs,.timx34-editor-tabs{margin-bottom:4px!important}
  .magnet-freight-row{min-height:52px!important}.magnet-cell{padding:2px 3px!important;font-size:10px!important}
  .magnet-panel>header{padding:3px 6px!important}.magnet-panel>header h3{font-size:12px!important}
  .magnet-column-head span{padding:3px!important;font-size:9px!important}
  .magnet-status-pill{min-height:27px!important;padding:3px 4px!important;font-size:9px!important}
  .magnet-resource-pool details>div{max-height:150px!important}
}
@media(max-width:2200px){
  .magnet-board-layout.all .magnet-board-grid{grid-template-columns:1fr!important}
}
@media(max-width:1350px){
  .magnet-board-layout{grid-template-columns:minmax(0,1fr) 190px!important;gap:6px!important}
  .magnet-column-head,.magnet-freight-row{grid-template-columns:65px 98px 94px 88px minmax(112px,1fr) minmax(120px,1fr) 92px 122px!important}
  .magnet-coloplast-row,.magnet-coloplast-head{grid-template-columns:92px 92px 100px 86px minmax(118px,1fr) minmax(126px,1fr) 92px 125px!important}
  .magnet-plate{min-width:66px!important;font-size:10px!important}.magnet-driver{font-size:10px!important}
}

#app:fullscreen,#app:-webkit-full-screen{width:100vw!important;height:100vh!important;max-width:none!important;padding:0!important;margin:0!important;overflow:hidden!important;background:#06111d!important}
#app:fullscreen .magnet-board-page,#app:-webkit-full-screen .magnet-board-page{display:flex!important;flex-direction:column!important;width:100vw!important;height:100vh!important;min-height:100vh!important;padding:5px!important;box-sizing:border-box!important;overflow:hidden!important;background:#06111d!important}
#app:fullscreen .timx34-magnet-controls,#app:-webkit-full-screen .timx34-magnet-controls{flex:0 0 auto;margin-bottom:3px!important}
#app:fullscreen .timx34-editor-tabs,#app:-webkit-full-screen .timx34-editor-tabs{display:none!important}
#app:fullscreen .timx34-screen-tabs,#app:-webkit-full-screen .timx34-screen-tabs{display:flex!important;flex:0 0 auto;margin-bottom:4px!important}
#app:fullscreen .timx370-status-dock,#app:-webkit-full-screen .timx370-status-dock{flex:0 0 auto;margin:0 0 4px!important;padding:4px 6px!important}
#app:fullscreen .magnet-board-canvas,#app:-webkit-full-screen .magnet-board-canvas{flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;width:100%!important;overflow:hidden!important;padding:4px!important;border-radius:8px!important}
#app:fullscreen .magnet-board-layout,#app:-webkit-full-screen .magnet-board-layout{width:1600px!important;min-width:1600px!important;grid-template-columns:minmax(0,1fr) 210px!important;gap:6px!important;transform-origin:top left!important}
#app:fullscreen .timx34-composite-all .magnet-board-grid,#app:-webkit-full-screen .timx34-composite-all .magnet-board-grid,
#app:fullscreen .timx34-composite-colo-freight .magnet-board-grid,#app:-webkit-full-screen .timx34-composite-colo-freight .magnet-board-grid{grid-template-columns:1fr 1fr!important;align-items:start!important}
#app:fullscreen .timx34-composite-colo-freight-domestic .magnet-board-grid,#app:-webkit-full-screen .timx34-composite-colo-freight-domestic .magnet-board-grid{grid-template-columns:1fr 1fr!important;align-items:start!important}
#app:fullscreen .timx34-composite-colo-freight-domestic .magnet-belföld,#app:-webkit-full-screen .timx34-composite-colo-freight-domestic .magnet-belföld{grid-column:1/-1!important}
#app:fullscreen .magnet-panel,#app:-webkit-full-screen .magnet-panel{box-shadow:none!important}
#app:fullscreen .magnet-freight-row,#app:-webkit-full-screen .magnet-freight-row{min-height:47px!important}
#app:fullscreen .magnet-cell,#app:-webkit-full-screen .magnet-cell{padding:2px!important;font-size:9px!important}
#app:fullscreen .magnet-column-head span,#app:-webkit-full-screen .magnet-column-head span{padding:2px!important;font-size:8px!important}
#app:fullscreen .magnet-resource-pool details>div,#app:-webkit-full-screen .magnet-resource-pool details>div{max-height:128px!important}
#app:fullscreen .timx34-tomorrow-release>div,#app:-webkit-full-screen .timx34-tomorrow-release>div{max-height:170px!important}
#app:fullscreen .timx34-composite-technical .tv-panel,#app:-webkit-full-screen .timx34-composite-technical .tv-panel{height:auto!important;max-height:none!important;overflow:visible!important}
#app:fullscreen .timx34-composite-misc .toolbar,#app:-webkit-full-screen .timx34-composite-misc .toolbar{position:static!important}

/* ===== TIMX TESZT STAGE 3.4.1 – MÁGNESFAL, STÁTUSZ ÉS GLOBÁLIS UX ===== */
:root{color-scheme:dark}
input[type="date"],input[type="time"],input[type="datetime-local"]{color-scheme:dark!important}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator{
  filter:invert(1) brightness(2.4) contrast(1.2)!important;
  opacity:1!important;
  cursor:pointer!important;
}

/* A Mágnesfalon a kevésbé fontos első oszlopok kisebbek, a szerelvény és a
   fuvarfeladatok nagyobb, olvashatóbb helyet kapnak. */
.magnet-board-layout{grid-template-columns:minmax(0,1fr) minmax(245px,285px)!important}
.magnet-column-head,.magnet-freight-row{
  grid-template-columns:72px 100px 148px 96px minmax(205px,1.15fr) minmax(225px,1.28fr) 158px 178px!important;
}
.magnet-coloplast-row,.magnet-coloplast-head{
  grid-template-columns:88px 88px 148px 96px minmax(205px,1.15fr) minmax(225px,1.28fr) 158px 178px!important;
}
.magnet-cell.tractor .magnet-assignment,.magnet-cell.unload .magnet-assignment{width:100%;min-width:0}
.magnet-cell.tractor .magnet-plate,.magnet-cell.unload .magnet-plate{min-width:96px!important;font-size:12px!important}
.magnet-cell.driver .magnet-assignment,.magnet-cell.tractor .magnet-assignment,.magnet-cell.unload .magnet-assignment{gap:5px!important}
.magnet-cell.export,.magnet-cell.import{font-size:11px!important;line-height:1.25!important}
.magnet-cell.date strong,.magnet-operation-date,.timx34-domestic-dates{font-size:14px!important;line-height:1.1!important}
.magnet-cell.date small,.magnet-operation-date small{font-size:11px!important}
.magnet-cell.state{gap:5px!important;align-items:stretch!important;padding:5px!important}
.magnet-cell.state>.magnet-status-pill{width:100%;justify-content:center;text-align:center}

.timx341-row-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px;width:100%;margin-top:2px}
.timx341-row-actions button{padding:4px 5px!important;min-height:26px;border-radius:5px!important;font-size:9px!important;font-weight:950!important;white-space:nowrap}
.timx341-row-actions button:first-child{background:#f3ad17!important;border-color:#ffc54b!important;color:#152032!important}
.timx341-row-actions button:last-child{background:#1d608e!important;border-color:#57a5d9!important;color:#fff!important}
.timx341-next-tasks{display:grid;gap:3px;width:100%;margin-top:3px}
.timx341-next-tasks span{display:block;padding:4px 5px;border:1px solid #df9b1a;border-radius:5px;background:#fff2c8;color:#6b4200;font-size:8.5px;line-height:1.2;font-weight:950;text-align:left;white-space:normal}

/* A jobb oldali közös erőforráslista nagyobb, olvashatóbb marad. */
.timx34-resource-pool summary{font-size:12px!important;padding:7px 8px!important}
.timx34-resource-pool details>div{max-height:240px!important;padding:7px!important}
.timx34-resource-pool .magnet-pool-item{font-size:11px!important;padding:4px 6px!important;min-height:25px}
.timx34-resource-pool .magnet-pool-category h4{font-size:10px!important;margin:4px 0!important}
.timx34-release-info{font-size:10px!important;line-height:1.3!important}

/* A teljes képernyős nézet ténylegesen a teljes vásznat használja; a JS a
   magassághoz igazít, így nincs levágott jobb oldal vagy alsó sor. */
#app:fullscreen .magnet-board-layout,#app:-webkit-full-screen .magnet-board-layout{
  width:100%!important;min-width:0!important;grid-template-columns:minmax(0,1fr) minmax(285px,315px)!important;gap:8px!important;
}
#app:fullscreen .magnet-board-grid,#app:-webkit-full-screen .magnet-board-grid{width:100%!important;min-width:0!important}
#app:fullscreen .magnet-column-head,#app:fullscreen .magnet-freight-row,
#app:-webkit-full-screen .magnet-column-head,#app:-webkit-full-screen .magnet-freight-row{
  grid-template-columns:72px 100px 150px 98px minmax(225px,1.18fr) minmax(245px,1.32fr) 165px 185px!important;
}
#app:fullscreen .magnet-coloplast-row,#app:fullscreen .magnet-coloplast-head,
#app:-webkit-full-screen .magnet-coloplast-row,#app:-webkit-full-screen .magnet-coloplast-head{
  grid-template-columns:88px 88px 150px 98px minmax(225px,1.18fr) minmax(245px,1.32fr) 165px 185px!important;
}
#app:fullscreen .magnet-resource-pool summary,#app:-webkit-full-screen .magnet-resource-pool summary{font-size:12px!important}
#app:fullscreen .magnet-resource-pool .magnet-pool-item,#app:-webkit-full-screen .magnet-resource-pool .magnet-pool-item{font-size:11px!important}

/* Mágnesfalról nyitott szerkesztés: ugyanaz a teljes fuvarablak, nagy munkatérrel. */
#modal .timx341-magnet-origin-modal{
  width:calc(100vw - 22px)!important;
  height:calc(100vh - 22px)!important;
  max-width:none!important;
  max-height:none!important;
  margin:11px!important;
  border-radius:13px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#modal .timx341-magnet-origin-modal .live213-freight-form{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:auto!important;
  padding-right:7px!important;
}
#modal .timx341-magnet-origin-modal .modal-actions{flex:0 0 auto!important;position:sticky!important;bottom:0!important;z-index:10!important}
#modal .timx341-freight-modal .live213-freight-form label:has(#fld_tractor),
#modal .timx341-freight-modal .live213-freight-form label:has(#fld_driver),
#modal .timx341-freight-modal .live213-freight-form label:has(#fld_loadTractor),
#modal .timx341-freight-modal .live213-freight-form label:has(#fld_loadDriver),
#modal .timx341-freight-modal .live213-freight-form label:has(#fld_unloadTractor),
#modal .timx341-freight-modal .live213-freight-form label:has(#fld_unloadDriver){
  min-width:0!important;
}

.timx341-modal-status-bar{margin:0 0 12px;padding:10px;border:1px solid #356482;border-radius:10px;background:#0c2033}
.timx341-modal-status-bar>strong{display:block;margin-bottom:7px;color:#8ed7ff;font-size:11px;letter-spacing:.06em}
.timx341-modal-status-bar>div{display:flex;flex-wrap:wrap;gap:6px}
.timx341-modal-status-button{padding:7px 9px!important;font-size:10px!important;background:#15324b!important;border-color:#416b8c!important;color:#fff!important}
.timx341-modal-status-button.active{background:#f3ad17!important;border-color:#ffd46d!important;color:#142031!important;box-shadow:0 0 0 2px rgba(243,173,23,.22)!important}
.timx341-archive-note{margin:8px 0 0;padding:8px 10px;border:1px solid #d49120;border-radius:8px;background:#3c2a0c;color:#ffe5a6;font-size:12px}

/* Minden egyszerű fuvartáblán kisebb a bevitel/kihozatal vagy rakodás/rakodó,
   a fontos útvonal- és szerelvénymezők nagyobbak. */
.simple-freight-table.simple-coloplast-table th:nth-child(1),.simple-freight-table.simple-coloplast-table td:nth-child(1),
.simple-freight-table.simple-coloplast-table th:nth-child(2),.simple-freight-table.simple-coloplast-table td:nth-child(2){width:9%!important}
.simple-freight-table.simple-coloplast-table th:nth-child(3),.simple-freight-table.simple-coloplast-table td:nth-child(3){width:13%!important}
.simple-freight-table.simple-coloplast-table th:nth-child(4),.simple-freight-table.simple-coloplast-table td:nth-child(4){width:8%!important}
.simple-freight-table.simple-coloplast-table th:nth-child(5),.simple-freight-table.simple-coloplast-table td:nth-child(5),
.simple-freight-table.simple-coloplast-table th:nth-child(6),.simple-freight-table.simple-coloplast-table td:nth-child(6){width:20%!important}
.simple-freight-table.simple-coloplast-table th:nth-child(7),.simple-freight-table.simple-coloplast-table td:nth-child(7){width:14%!important}
.simple-freight-table.simple-coloplast-table th:nth-child(8),.simple-freight-table.simple-coloplast-table td:nth-child(8){width:7%!important}
.simple-freight-table.simple-coloplast-table td:nth-child(-n+2) .tiny-date{font-size:15px!important;font-weight:950!important;color:#ff6575!important;margin-top:5px!important}

.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) th:nth-child(1),
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) td:nth-child(1){width:9%!important}
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) th:nth-child(2),
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) td:nth-child(2){width:10%!important}
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) th:nth-child(3),
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) td:nth-child(3){width:14%!important}
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) th:nth-child(4),
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) td:nth-child(4){width:9%!important}
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) th:nth-child(5),
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) td:nth-child(5),
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) th:nth-child(6),
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) td:nth-child(6){width:19%!important}
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) td:first-child>strong{font-size:15px!important;color:#ff6575!important;font-weight:950!important}
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) td:first-child>.tiny-date{font-size:12px!important;font-weight:900!important}

@media(max-width:1350px){
  .magnet-board-layout{grid-template-columns:minmax(0,1fr) 220px!important}
  .magnet-column-head,.magnet-freight-row{grid-template-columns:64px 88px 126px 86px minmax(165px,1.12fr) minmax(180px,1.22fr) 132px 150px!important}
  .magnet-coloplast-row,.magnet-coloplast-head{grid-template-columns:76px 76px 126px 86px minmax(165px,1.12fr) minmax(180px,1.22fr) 132px 150px!important}
  .timx34-resource-pool .magnet-pool-item{font-size:10px!important}
}
@media(max-height:900px){
  .timx341-next-tasks span{font-size:8px;padding:3px 4px}
  .timx341-row-actions button{min-height:22px;padding:3px!important;font-size:8px!important}
  .magnet-cell.date strong,.magnet-operation-date,.timx34-domestic-dates{font-size:12px!important}
}

/* ===== TIMX TESZT STAGE 3.4.2 – MÁGNESFAL FULLSCREEN OLVASHATÓSÁG =====
   Csak teljes képernyős elrendezés. A fuvarlogika és a normál Mágnesfal UI változatlan. */
#app:fullscreen .magnet-board-canvas,
#app:-webkit-full-screen .magnet-board-canvas{
  overflow:auto!important;
  scrollbar-gutter:stable!important;
  overscroll-behavior:contain;
  scroll-behavior:auto;
}
#app:fullscreen .timx342-composite,
#app:-webkit-full-screen .timx342-composite{
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  transform:none!important;
  font-size:14px!important;
  align-items:start!important;
}
#app:fullscreen .timx342-composite>.magnet-board-grid,
#app:-webkit-full-screen .timx342-composite>.magnet-board-grid{
  width:100%!important;
  min-width:0!important;
  gap:10px!important;
  align-items:start!important;
}

/* Az Összes nézet szándékosan egymás alatt mutatja a teljes paneleket.
   Így minden sor olvasható marad; a vászon függőlegesen görgethető. */
#app:fullscreen .timx342-view-all>.magnet-board-grid,
#app:-webkit-full-screen .timx342-view-all>.magnet-board-grid,
#app:fullscreen .timx342-view-colo>.magnet-board-grid,
#app:-webkit-full-screen .timx342-view-colo>.magnet-board-grid,
#app:fullscreen .timx342-view-freight>.magnet-board-grid,
#app:-webkit-full-screen .timx342-view-freight>.magnet-board-grid,
#app:fullscreen .timx342-view-domestic>.magnet-board-grid,
#app:-webkit-full-screen .timx342-view-domestic>.magnet-board-grid,
#app:fullscreen .timx342-view-special>.magnet-board-grid,
#app:-webkit-full-screen .timx342-view-special>.magnet-board-grid,
#app:fullscreen .timx342-view-technical>.magnet-board-grid,
#app:-webkit-full-screen .timx342-view-technical>.magnet-board-grid,
#app:fullscreen .timx342-view-misc>.magnet-board-grid,
#app:-webkit-full-screen .timx342-view-misc>.magnet-board-grid{
  grid-template-columns:minmax(0,1fr)!important;
}

/* A két fő tábla valódi 50/50 nézetben marad, magasság szerinti zsugorítás nélkül. */
#app:fullscreen .timx342-view-colo-freight>.magnet-board-grid,
#app:-webkit-full-screen .timx342-view-colo-freight>.magnet-board-grid,
#app:fullscreen .timx342-view-colo-freight-domestic>.magnet-board-grid,
#app:-webkit-full-screen .timx342-view-colo-freight-domestic>.magnet-board-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
}
#app:fullscreen .timx342-view-colo-freight-domestic .magnet-belföld,
#app:-webkit-full-screen .timx342-view-colo-freight-domestic .magnet-belföld{
  grid-column:1/-1!important;
}

/* Olvasható, teljes szélességű táblák. */
#app:fullscreen .timx342-composite .magnet-panel,
#app:-webkit-full-screen .timx342-composite .magnet-panel{
  min-width:0!important;
  width:100%!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .magnet-panel>header,
#app:-webkit-full-screen .timx342-composite .magnet-panel>header{
  min-height:34px!important;
  padding:6px 9px!important;
}
#app:fullscreen .timx342-composite .magnet-panel>header h3,
#app:-webkit-full-screen .timx342-composite .magnet-panel>header h3{
  font-size:14px!important;
}
#app:fullscreen .timx342-composite .magnet-column-head,
#app:fullscreen .timx342-composite .magnet-freight-row,
#app:-webkit-full-screen .timx342-composite .magnet-column-head,
#app:-webkit-full-screen .timx342-composite .magnet-freight-row{
  grid-template-columns:7% 9% 13% 9% 20% 22% 9% 11%!important;
  width:100%!important;
  min-width:0!important;
}
#app:fullscreen .timx342-composite .magnet-coloplast-head,
#app:fullscreen .timx342-composite .magnet-coloplast-row,
#app:-webkit-full-screen .timx342-composite .magnet-coloplast-head,
#app:-webkit-full-screen .timx342-composite .magnet-coloplast-row{
  grid-template-columns:7% 7% 13% 9% 21% 23% 9% 11%!important;
}
#app:fullscreen .timx342-composite .magnet-freight-row,
#app:-webkit-full-screen .timx342-composite .magnet-freight-row{
  min-height:72px!important;
}
#app:fullscreen .timx342-composite .magnet-cell,
#app:-webkit-full-screen .timx342-composite .magnet-cell{
  padding:4px!important;
  font-size:11px!important;
  line-height:1.22!important;
  overflow-wrap:anywhere;
}
#app:fullscreen .timx342-composite .magnet-column-head span,
#app:-webkit-full-screen .timx342-composite .magnet-column-head span{
  padding:4px 3px!important;
  font-size:10px!important;
  line-height:1.1!important;
}
#app:fullscreen .timx342-composite .magnet-cell.date strong,
#app:fullscreen .timx342-composite .magnet-operation-date,
#app:fullscreen .timx342-composite .timx34-domestic-dates,
#app:-webkit-full-screen .timx342-composite .magnet-cell.date strong,
#app:-webkit-full-screen .timx342-composite .magnet-operation-date,
#app:-webkit-full-screen .timx342-composite .timx34-domestic-dates{
  font-size:14px!important;
}
#app:fullscreen .timx342-composite .magnet-cell.export,
#app:fullscreen .timx342-composite .magnet-cell.import,
#app:-webkit-full-screen .timx342-composite .magnet-cell.export,
#app:-webkit-full-screen .timx342-composite .magnet-cell.import{
  font-size:11px!important;
  line-height:1.26!important;
}
#app:fullscreen .timx342-composite .magnet-plate,
#app:-webkit-full-screen .timx342-composite .magnet-plate{
  min-width:0!important;
  max-width:100%!important;
  padding:3px 5px!important;
  font-size:11px!important;
}
#app:fullscreen .timx342-composite .magnet-driver,
#app:-webkit-full-screen .timx342-composite .magnet-driver{
  max-width:100%!important;
  font-size:11px!important;
  flex-wrap:wrap;
}
#app:fullscreen .timx342-composite .magnet-status-pill,
#app:-webkit-full-screen .timx342-composite .magnet-status-pill{
  min-height:28px!important;
  padding:4px 5px!important;
  font-size:9px!important;
  line-height:1.15!important;
}
#app:fullscreen .timx342-composite .timx341-row-actions button,
#app:-webkit-full-screen .timx342-composite .timx341-row-actions button{
  min-height:25px!important;
  padding:4px!important;
  font-size:8.5px!important;
}
#app:fullscreen .timx342-composite .timx341-next-tasks span,
#app:-webkit-full-screen .timx342-composite .timx341-next-tasks span{
  font-size:9px!important;
  padding:4px 5px!important;
}

/* A kétpaneles nézetekben a kisebb panelek is olvashatók maradnak. */
#app:fullscreen .timx342-view-colo-freight .magnet-column-head,
#app:fullscreen .timx342-view-colo-freight .magnet-freight-row,
#app:fullscreen .timx342-view-colo-freight-domestic .magnet-panel:not(.magnet-belföld) .magnet-column-head,
#app:fullscreen .timx342-view-colo-freight-domestic .magnet-panel:not(.magnet-belföld) .magnet-freight-row,
#app:-webkit-full-screen .timx342-view-colo-freight .magnet-column-head,
#app:-webkit-full-screen .timx342-view-colo-freight .magnet-freight-row,
#app:-webkit-full-screen .timx342-view-colo-freight-domestic .magnet-panel:not(.magnet-belföld) .magnet-column-head,
#app:-webkit-full-screen .timx342-view-colo-freight-domestic .magnet-panel:not(.magnet-belföld) .magnet-freight-row{
  grid-template-columns:7% 9% 12% 9% 20% 22% 10% 11%!important;
}
#app:fullscreen .timx342-view-colo-freight .magnet-coloplast-head,
#app:fullscreen .timx342-view-colo-freight .magnet-coloplast-row,
#app:fullscreen .timx342-view-colo-freight-domestic .magnet-coloplast-head,
#app:fullscreen .timx342-view-colo-freight-domestic .magnet-coloplast-row,
#app:-webkit-full-screen .timx342-view-colo-freight .magnet-coloplast-head,
#app:-webkit-full-screen .timx342-view-colo-freight .magnet-coloplast-row,
#app:-webkit-full-screen .timx342-view-colo-freight-domestic .magnet-coloplast-head,
#app:-webkit-full-screen .timx342-view-colo-freight-domestic .magnet-coloplast-row{
  grid-template-columns:7% 7% 12% 9% 21% 23% 10% 11%!important;
}
#app:fullscreen .timx342-view-colo-freight .magnet-cell,
#app:fullscreen .timx342-view-colo-freight-domestic .magnet-panel:not(.magnet-belföld) .magnet-cell,
#app:-webkit-full-screen .timx342-view-colo-freight .magnet-cell,
#app:-webkit-full-screen .timx342-view-colo-freight-domestic .magnet-panel:not(.magnet-belföld) .magnet-cell{
  padding:3px!important;
  font-size:10px!important;
}
#app:fullscreen .timx342-view-colo-freight .magnet-cell.date strong,
#app:fullscreen .timx342-view-colo-freight-domestic .magnet-panel:not(.magnet-belföld) .magnet-cell.date strong,
#app:-webkit-full-screen .timx342-view-colo-freight .magnet-cell.date strong,
#app:-webkit-full-screen .timx342-view-colo-freight-domestic .magnet-panel:not(.magnet-belföld) .magnet-cell.date strong{
  font-size:12px!important;
}
#app:fullscreen .timx342-view-colo-freight .magnet-plate,
#app:fullscreen .timx342-view-colo-freight-domestic .magnet-panel:not(.magnet-belföld) .magnet-plate,
#app:-webkit-full-screen .timx342-view-colo-freight .magnet-plate,
#app:-webkit-full-screen .timx342-view-colo-freight-domestic .magnet-panel:not(.magnet-belföld) .magnet-plate{
  font-size:10px!important;
  padding:3px!important;
}

/* A kilenc nézetgomb 1080p-n is rendezett, jól olvasható marad. */
#app:fullscreen .timx34-screen-tabs,
#app:-webkit-full-screen .timx34-screen-tabs{
  gap:5px!important;
  margin:0 0 5px!important;
  padding-right:150px;
}
#app:fullscreen .timx34-screen-tabs button,
#app:-webkit-full-screen .timx34-screen-tabs button{
  padding:6px 9px!important;
  font-size:11px!important;
  line-height:1!important;
  white-space:nowrap;
}

@media(max-width:1600px){
  #app:fullscreen .magnet-board-layout,
  #app:-webkit-full-screen .magnet-board-layout{
    grid-template-columns:minmax(0,1fr) minmax(235px,255px)!important;
  }
  #app:fullscreen .timx342-composite .magnet-cell,
  #app:-webkit-full-screen .timx342-composite .magnet-cell{font-size:10px!important}
  #app:fullscreen .timx342-composite .magnet-cell.date strong,
  #app:-webkit-full-screen .timx342-composite .magnet-cell.date strong{font-size:12px!important}
}

/* ===== TIMX TESZT STAGE 3.4.3 – FULLSCREEN FIT + TV OLVASHATÓSÁG =====
   Kizárólag a teljes képernyős Mágnesfal megjelenítése. Az üzleti motor,
   státuszok, drag and drop és mentési útvonalak változatlanok. */
#app:fullscreen .magnet-board-canvas,
#app:-webkit-full-screen .magnet-board-canvas{
  overflow:hidden!important;
  scrollbar-gutter:auto!important;
  overscroll-behavior:none!important;
}
#app:fullscreen .timx342-composite,
#app:-webkit-full-screen .timx342-composite{
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  transform:none!important;
  align-items:start!important;
  grid-template-columns:minmax(0,1fr) minmax(245px,285px)!important;
  gap:7px!important;
}
#app:fullscreen .timx342-composite>.magnet-board-grid,
#app:-webkit-full-screen .timx342-composite>.magnet-board-grid{
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  overflow:hidden!important;
  gap:7px!important;
  align-items:start!important;
}

/* ÖSSZES: két felső fő tábla, alattuk Belföld + TIMX Special. Így minden
   aktív fuvar egy képernyőn marad, a kihasználatlan jobb oldal nélkül. */
#app:fullscreen .timx343-view-all>.magnet-board-grid,
#app:-webkit-full-screen .timx343-view-all>.magnet-board-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.12fr)!important;
  grid-template-rows:auto auto!important;
  grid-template-areas:
    "colo freight"
    "domestic special"!important;
}
#app:fullscreen .timx343-view-all .magnet-coloplast,
#app:-webkit-full-screen .timx343-view-all .magnet-coloplast{grid-area:colo!important}
#app:fullscreen .timx343-view-all .magnet-fuvartábla,
#app:-webkit-full-screen .timx343-view-all .magnet-fuvartábla{grid-area:freight!important}
#app:fullscreen .timx343-view-all .magnet-belföld,
#app:-webkit-full-screen .timx343-view-all .magnet-belföld{grid-area:domestic!important}
#app:fullscreen .timx343-view-all .magnet-timx-special-fuvarok,
#app:-webkit-full-screen .timx343-view-all .magnet-timx-special-fuvarok{grid-area:special!important}

/* Egytáblás nézetek: a fő tábla kapja a teljes hasznos szélességet. */
#app:fullscreen .timx343-view-colo>.magnet-board-grid,
#app:fullscreen .timx343-view-freight>.magnet-board-grid,
#app:fullscreen .timx343-view-domestic>.magnet-board-grid,
#app:fullscreen .timx343-view-special>.magnet-board-grid,
#app:fullscreen .timx343-view-technical>.magnet-board-grid,
#app:fullscreen .timx343-view-misc>.magnet-board-grid,
#app:-webkit-full-screen .timx343-view-colo>.magnet-board-grid,
#app:-webkit-full-screen .timx343-view-freight>.magnet-board-grid,
#app:-webkit-full-screen .timx343-view-domestic>.magnet-board-grid,
#app:-webkit-full-screen .timx343-view-special>.magnet-board-grid,
#app:-webkit-full-screen .timx343-view-technical>.magnet-board-grid,
#app:-webkit-full-screen .timx343-view-misc>.magnet-board-grid{
  grid-template-columns:minmax(0,1fr)!important;
}

/* Két- és háromtáblás nézetek. */
#app:fullscreen .timx343-view-colo-freight>.magnet-board-grid,
#app:-webkit-full-screen .timx343-view-colo-freight>.magnet-board-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1.12fr)!important;
  grid-template-rows:auto!important;
}
#app:fullscreen .timx343-view-colo-freight-domestic>.magnet-board-grid,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic>.magnet-board-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1.12fr)!important;
  grid-template-rows:auto auto!important;
}
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-belföld,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-belföld{
  grid-column:1/-1!important;
}

/* Panel- és sormagasság: a JS nézetenként úgy számolja, hogy az összes aktív
   sor kiférjen. A szövegek mérete külön változó, ezért nem lesz hangyabetű. */
#app:fullscreen .timx342-composite .magnet-panel,
#app:-webkit-full-screen .timx342-composite .magnet-panel{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  overflow:hidden!important;
  align-self:start!important;
  box-shadow:none!important;
}
#app:fullscreen .timx342-composite .magnet-panel>header,
#app:-webkit-full-screen .timx342-composite .magnet-panel>header{
  flex:0 0 29px!important;
  min-height:29px!important;
  height:29px!important;
  padding:3px 7px!important;
}
#app:fullscreen .timx342-composite .magnet-panel>header h3,
#app:-webkit-full-screen .timx342-composite .magnet-panel>header h3{
  font-size:13px!important;
  line-height:1!important;
}
#app:fullscreen .timx342-composite .magnet-panel>header span,
#app:fullscreen .timx342-composite .magnet-panel>header button,
#app:-webkit-full-screen .timx342-composite .magnet-panel>header span,
#app:-webkit-full-screen .timx342-composite .magnet-panel>header button{
  font-size:9px!important;
  line-height:1!important;
  padding:3px 5px!important;
  min-height:20px!important;
}
#app:fullscreen .timx342-composite .magnet-column-head,
#app:-webkit-full-screen .timx342-composite .magnet-column-head{
  flex:0 0 22px!important;
  min-height:22px!important;
  height:22px!important;
}
#app:fullscreen .timx342-composite .magnet-column-head span,
#app:-webkit-full-screen .timx342-composite .magnet-column-head span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:2px!important;
  font-size:9px!important;
  line-height:1!important;
}
#app:fullscreen .timx342-composite .magnet-panel-body,
#app:-webkit-full-screen .timx342-composite .magnet-panel-body{
  display:grid!important;
  grid-auto-rows:var(--timx343-row-height,38px)!important;
  min-height:0!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .magnet-freight-row,
#app:-webkit-full-screen .timx342-composite .magnet-freight-row{
  height:var(--timx343-row-height,38px)!important;
  min-height:var(--timx343-row-height,38px)!important;
  max-height:var(--timx343-row-height,38px)!important;
  overflow:hidden!important;
}

/* Szélességi arányok: a kevésbé fontos első oszlopok kisebbek, az Export,
   Import és a lerakási információk több helyet kapnak. */
#app:fullscreen .timx342-composite .magnet-column-head,
#app:fullscreen .timx342-composite .magnet-freight-row,
#app:-webkit-full-screen .timx342-composite .magnet-column-head,
#app:-webkit-full-screen .timx342-composite .magnet-freight-row{
  grid-template-columns:6.5% 8.5% 12.5% 8% 22% 25% 8.5% 9%!important;
}
#app:fullscreen .timx342-composite .magnet-coloplast-head,
#app:fullscreen .timx342-composite .magnet-coloplast-row,
#app:-webkit-full-screen .timx342-composite .magnet-coloplast-head,
#app:-webkit-full-screen .timx342-composite .magnet-coloplast-row{
  grid-template-columns:6% 6% 12.5% 8% 22.5% 25.5% 8.5% 11%!important;
}

/* TV-ről olvasható tipográfia. */
#app:fullscreen .timx342-composite .magnet-cell,
#app:-webkit-full-screen .timx342-composite .magnet-cell{
  min-width:0!important;
  padding:2px 3px!important;
  font-size:var(--timx343-cell-font,11.5px)!important;
  line-height:1.05!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .magnet-cell.export strong,
#app:fullscreen .timx342-composite .magnet-cell.import strong,
#app:-webkit-full-screen .timx342-composite .magnet-cell.export strong,
#app:-webkit-full-screen .timx342-composite .magnet-cell.import strong{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:var(--timx343-route-lines,2)!important;
  overflow:hidden!important;
  font-size:var(--timx343-route-font,13px)!important;
  line-height:1.08!important;
  font-weight:950!important;
  letter-spacing:.005em!important;
}
#app:fullscreen .timx342-composite .magnet-cell.export small,
#app:fullscreen .timx342-composite .magnet-cell.import small,
#app:fullscreen .timx342-composite .magnet-date-range,
#app:-webkit-full-screen .timx342-composite .magnet-cell.export small,
#app:-webkit-full-screen .timx342-composite .magnet-cell.import small,
#app:-webkit-full-screen .timx342-composite .magnet-date-range{
  margin-top:1px!important;
  font-size:var(--timx343-route-date-font,13px)!important;
  line-height:1.05!important;
  font-weight:950!important;
  color:#c8172c!important;
}
#app:fullscreen .timx342-composite .magnet-cell.date strong,
#app:fullscreen .timx342-composite .magnet-operation-date,
#app:fullscreen .timx342-composite .timx34-domestic-dates,
#app:-webkit-full-screen .timx342-composite .magnet-cell.date strong,
#app:-webkit-full-screen .timx342-composite .magnet-operation-date,
#app:-webkit-full-screen .timx342-composite .timx34-domestic-dates{
  font-size:var(--timx343-date-font,15px)!important;
  line-height:1!important;
  color:#c8172c!important;
  font-weight:950!important;
}
#app:fullscreen .timx342-composite .magnet-cell.date small,
#app:-webkit-full-screen .timx342-composite .magnet-cell.date small{
  font-size:10px!important;
  line-height:1!important;
}
#app:fullscreen .timx342-composite .magnet-plate,
#app:-webkit-full-screen .timx342-composite .magnet-plate{
  min-width:0!important;
  max-width:100%!important;
  min-height:20px!important;
  padding:2px 4px!important;
  font-size:var(--timx343-plate-font,11.5px)!important;
  line-height:1!important;
}
#app:fullscreen .timx342-composite .magnet-driver,
#app:-webkit-full-screen .timx342-composite .magnet-driver{
  max-width:100%!important;
  font-size:var(--timx343-cell-font,11.5px)!important;
  line-height:1.05!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .magnet-driver b,
#app:-webkit-full-screen .timx342-composite .magnet-driver b{
  padding:1px 3px!important;
  font-size:8px!important;
}

/* A státusz- és szerkesztőgombok kompaktak maradnak, hogy a fontos útvonal-
   szöveg és dátum nagyobb lehessen. */
#app:fullscreen .timx342-composite .magnet-cell.state,
#app:-webkit-full-screen .timx342-composite .magnet-cell.state{
  display:grid!important;
  grid-template-rows:minmax(14px,auto) minmax(14px,auto)!important;
  align-content:center!important;
  gap:1px!important;
  padding:2px!important;
}
#app:fullscreen .timx342-composite .magnet-status-pill,
#app:-webkit-full-screen .timx342-composite .magnet-status-pill{
  min-height:14px!important;
  padding:2px 3px!important;
  font-size:7.5px!important;
  line-height:1!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .timx341-row-actions,
#app:-webkit-full-screen .timx342-composite .timx341-row-actions{
  display:flex!important;
  gap:2px!important;
  margin:0!important;
}
#app:fullscreen .timx342-composite .timx341-row-actions button,
#app:-webkit-full-screen .timx342-composite .timx341-row-actions button{
  flex:1 1 0!important;
  min-height:14px!important;
  height:14px!important;
  padding:1px 2px!important;
  font-size:6.8px!important;
  line-height:1!important;
}
#app:fullscreen .timx342-composite .timx341-next-tasks,
#app:-webkit-full-screen .timx342-composite .timx341-next-tasks{
  display:block!important;
  width:100%!important;
  margin-top:1px!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .timx341-next-tasks span,
#app:-webkit-full-screen .timx342-composite .timx341-next-tasks span{
  display:block!important;
  padding:2px 3px!important;
  font-size:8px!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* A jobb oldali eszközsáv nem hoz létre külön görgetést teljes képernyőben. */
#app:fullscreen .timx342-composite>.magnet-resource-pool,
#app:-webkit-full-screen .timx342-composite>.magnet-resource-pool{
  max-height:100%!important;
  overflow:hidden!important;
  gap:4px!important;
}
#app:fullscreen .timx342-composite>.magnet-resource-pool details,
#app:-webkit-full-screen .timx342-composite>.magnet-resource-pool details{
  min-height:0!important;
}
#app:fullscreen .timx342-composite>.magnet-resource-pool details>div,
#app:-webkit-full-screen .timx342-composite>.magnet-resource-pool details>div{
  max-height:19vh!important;
  overflow:hidden!important;
  padding:4px!important;
  gap:3px!important;
}
#app:fullscreen .timx342-composite>.magnet-resource-pool summary,
#app:-webkit-full-screen .timx342-composite>.magnet-resource-pool summary{
  padding:4px 5px!important;
  font-size:9px!important;
}
#app:fullscreen .timx342-composite>.magnet-resource-pool .magnet-pool-item,
#app:-webkit-full-screen .timx342-composite>.magnet-resource-pool .magnet-pool-item{
  min-height:19px!important;
  padding:2px 4px!important;
  font-size:9px!important;
}

/* 1080p: a vezérlősávok is kompaktak, hogy minél több függőleges hely maradjon. */
@media(max-height:1100px){
  #app:fullscreen .timx34-magnet-controls,
  #app:-webkit-full-screen .timx34-magnet-controls{margin-bottom:1px!important}
  #app:fullscreen .timx34-fullscreen-button,
  #app:-webkit-full-screen .timx34-fullscreen-button{padding:4px 7px!important;font-size:9px!important}
  #app:fullscreen .timx34-screen-tabs,
  #app:-webkit-full-screen .timx34-screen-tabs{gap:3px!important;margin-bottom:2px!important;padding-right:125px!important}
  #app:fullscreen .timx34-screen-tabs button,
  #app:-webkit-full-screen .timx34-screen-tabs button{padding:4px 6px!important;font-size:9px!important}
  #app:fullscreen .timx370-status-dock,
  #app:-webkit-full-screen .timx370-status-dock{padding:2px 4px!important;margin-bottom:2px!important;font-size:9px!important}
  #app:fullscreen .magnet-board-canvas,
  #app:-webkit-full-screen .magnet-board-canvas{padding:3px!important}
}

/* ===== TIMX TESZT STAGE 3.4.4 – MÁGNESFAL SORÜTKÖZÉS ÉS LEVÁGÁS JAVÍTÁS =====
   Kizárólag teljes képernyős megjelenítés. A közös motor, státuszfolyamat,
   drag and drop, mentés és archiválás változatlan. */
#app:fullscreen .timx342-composite,
#app:-webkit-full-screen .timx342-composite{
  --timx344-panel-fixed:59px;
  --timx344-panel-gap:7px;
  max-height:100%!important;
}
#app:fullscreen .timx342-composite>.magnet-board-grid,
#app:-webkit-full-screen .timx342-composite>.magnet-board-grid{
  height:var(--timx344-grid-height,auto)!important;
  max-height:100%!important;
  overflow:hidden!important;
}
#app:fullscreen .timx343-view-all>.magnet-board-grid,
#app:-webkit-full-screen .timx343-view-all>.magnet-board-grid{
  grid-template-rows:var(--timx344-band-one-height,auto) var(--timx344-band-two-height,auto)!important;
}
#app:fullscreen .timx343-view-colo-freight-domestic>.magnet-board-grid,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic>.magnet-board-grid{
  grid-template-rows:var(--timx344-band-one-height,auto) var(--timx344-band-two-height,auto)!important;
}
#app:fullscreen .timx342-composite .magnet-panel,
#app:-webkit-full-screen .timx342-composite .magnet-panel{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  contain:layout paint!important;
}
#app:fullscreen .timx342-composite .magnet-panel-body,
#app:-webkit-full-screen .timx342-composite .magnet-panel-body{
  flex:1 1 auto!important;
  grid-auto-rows:minmax(0,var(--timx343-row-height,38px))!important;
  align-content:start!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .magnet-freight-row,
#app:-webkit-full-screen .timx342-composite .magnet-freight-row{
  box-sizing:border-box!important;
  min-height:0!important;
  height:var(--timx343-row-height,38px)!important;
  max-height:var(--timx343-row-height,38px)!important;
  overflow:hidden!important;
  align-items:stretch!important;
  contain:layout paint!important;
}
#app:fullscreen .timx342-composite .magnet-cell,
#app:-webkit-full-screen .timx342-composite .magnet-cell{
  box-sizing:border-box!important;
  min-width:0!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
  gap:1px!important;
  contain:paint!important;
}
#app:fullscreen .timx342-composite .magnet-cell>*,
#app:-webkit-full-screen .timx342-composite .magnet-cell>*{
  min-width:0!important;
  max-width:100%!important;
}
#app:fullscreen .timx342-composite .magnet-assignment,
#app:fullscreen .timx342-composite .magnet-plate-stack,
#app:-webkit-full-screen .timx342-composite .magnet-assignment,
#app:-webkit-full-screen .timx342-composite .magnet-plate-stack{
  min-height:0!important;
  max-height:100%!important;
  gap:1px!important;
  overflow:hidden!important;
}

/* A dátum nem törhet karakterenként több sorba. */
#app:fullscreen .timx342-composite .magnet-cell.date strong,
#app:fullscreen .timx342-composite .magnet-operation-date,
#app:fullscreen .timx342-composite .timx34-domestic-dates span,
#app:-webkit-full-screen .timx342-composite .magnet-cell.date strong,
#app:-webkit-full-screen .timx342-composite .magnet-operation-date,
#app:-webkit-full-screen .timx342-composite .timx34-domestic-dates span{
  display:block!important;
  width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  letter-spacing:-.025em!important;
}
#app:fullscreen .timx342-composite .magnet-cell.date small,
#app:-webkit-full-screen .timx342-composite .magnet-cell.date small{
  margin-top:0!important;
  white-space:nowrap!important;
}

/* Export/import: legfeljebb a rendelkezésre álló sormagasságot használhatja.
   A sűrű nézetben egy útvonalsor + egy dátumsor marad, ezért nem folyik át. */
#app:fullscreen .timx342-composite .magnet-cell.export,
#app:fullscreen .timx342-composite .magnet-cell.import,
#app:-webkit-full-screen .timx342-composite .magnet-cell.export,
#app:-webkit-full-screen .timx342-composite .magnet-cell.import{
  position:relative!important;
  justify-content:center!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .magnet-cell.export strong,
#app:fullscreen .timx342-composite .magnet-cell.import strong,
#app:-webkit-full-screen .timx342-composite .magnet-cell.export strong,
#app:-webkit-full-screen .timx342-composite .magnet-cell.import strong{
  max-height:calc(var(--timx343-route-lines,2) * 1.08em)!important;
  overflow:hidden!important;
  overflow-wrap:anywhere!important;
}
#app:fullscreen .timx342-composite[data-timx344-density="dense"] .magnet-cell.export strong,
#app:fullscreen .timx342-composite[data-timx344-density="dense"] .magnet-cell.import strong,
#app:-webkit-full-screen .timx342-composite[data-timx344-density="dense"] .magnet-cell.export strong,
#app:-webkit-full-screen .timx342-composite[data-timx344-density="dense"] .magnet-cell.import strong{
  -webkit-line-clamp:1!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  overflow-wrap:normal!important;
}
#app:fullscreen .timx342-composite .magnet-cell.export small,
#app:fullscreen .timx342-composite .magnet-cell.import small,
#app:fullscreen .timx342-composite .magnet-date-range,
#app:-webkit-full-screen .timx342-composite .magnet-cell.export small,
#app:-webkit-full-screen .timx342-composite .magnet-cell.import small,
#app:-webkit-full-screen .timx342-composite .magnet-date-range{
  display:block!important;
  width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Következő feladat jelzésből a teljes képernyős táblán az első marad látható,
   a többi továbbra is a DOM-ban és a normál/szerkesztő nézetben elérhető. */
#app:fullscreen .timx342-composite .timx341-next-tasks,
#app:-webkit-full-screen .timx342-composite .timx341-next-tasks{
  flex:0 0 auto!important;
  max-height:10px!important;
  margin:0!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .timx341-next-tasks span,
#app:-webkit-full-screen .timx342-composite .timx341-next-tasks span{
  height:9px!important;
  min-height:9px!important;
  max-height:9px!important;
  padding:1px 3px!important;
  font-size:6.8px!important;
  line-height:7px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#app:fullscreen .timx342-composite .timx341-next-tasks span:not(:first-child),
#app:-webkit-full-screen .timx342-composite .timx341-next-tasks span:not(:first-child){
  visibility:hidden!important;
  position:absolute!important;
  pointer-events:none!important;
}

/* A státuszos cella nem növelheti meg a sort. Minden elem egy soros,
   a gombok pedig fix alsó sávban maradnak. */
#app:fullscreen .timx342-composite .magnet-cell.state,
#app:-webkit-full-screen .timx342-composite .magnet-cell.state{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:stretch!important;
  gap:1px!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .magnet-cell.state>.magnet-status-pill,
#app:fullscreen .timx342-composite .magnet-cell.state>.magnet-collision-badge,
#app:-webkit-full-screen .timx342-composite .magnet-cell.state>.magnet-status-pill,
#app:-webkit-full-screen .timx342-composite .magnet-cell.state>.magnet-collision-badge{
  flex:0 1 auto!important;
  min-height:10px!important;
  max-height:12px!important;
  height:auto!important;
  padding:1px 3px!important;
  font-size:7px!important;
  line-height:9px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  overflow-wrap:normal!important;
}
#app:fullscreen .timx342-composite .timx341-row-actions,
#app:-webkit-full-screen .timx342-composite .timx341-row-actions{
  flex:0 0 12px!important;
  min-height:12px!important;
  max-height:12px!important;
  height:12px!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .timx341-row-actions button,
#app:-webkit-full-screen .timx342-composite .timx341-row-actions button{
  min-height:12px!important;
  max-height:12px!important;
  height:12px!important;
  padding:0 2px!important;
  font-size:6.4px!important;
  line-height:10px!important;
  overflow:hidden!important;
}

/* Rendszámok és sofőrök se lógjanak át a következő sorba. */
#app:fullscreen .timx342-composite .magnet-plate,
#app:-webkit-full-screen .timx342-composite .magnet-plate{
  min-height:var(--timx344-plate-height,19px)!important;
  max-height:var(--timx344-plate-height,19px)!important;
  height:var(--timx344-plate-height,19px)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#app:fullscreen .timx342-composite .magnet-driver,
#app:-webkit-full-screen .timx342-composite .magnet-driver{
  max-height:calc(var(--timx343-row-height,38px) - 4px)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* A sűrű összetett nézetben a fejlécből már ismert ismétlődő cellafeliratok
   nem foglalnak külön sort. */
#app:fullscreen .timx342-composite[data-timx344-density="dense"] .magnet-cell-caption,
#app:fullscreen .timx342-composite[data-timx344-density="dense"] .magnet-cell.entry>small:first-child,
#app:fullscreen .timx342-composite[data-timx344-density="dense"] .magnet-cell.pickup>small:first-child,
#app:-webkit-full-screen .timx342-composite[data-timx344-density="dense"] .magnet-cell-caption,
#app:-webkit-full-screen .timx342-composite[data-timx344-density="dense"] .magnet-cell.entry>small:first-child,
#app:-webkit-full-screen .timx342-composite[data-timx344-density="dense"] .magnet-cell.pickup>small:first-child{
  display:none!important;
}

/* Nézetenkénti oszlopszélességek: a dátumok egy sorban maradnak, az Export és
   Import továbbra is a legnagyobb területet kapja. */
#app:fullscreen .timx343-view-freight .magnet-column-head,
#app:fullscreen .timx343-view-freight .magnet-freight-row,
#app:-webkit-full-screen .timx343-view-freight .magnet-column-head,
#app:-webkit-full-screen .timx343-view-freight .magnet-freight-row{
  grid-template-columns:7.5% 8.5% 11% 8.5% 23% 25% 7.5% 9%!important;
}
#app:fullscreen .timx343-view-colo .magnet-coloplast-head,
#app:fullscreen .timx343-view-colo .magnet-coloplast-row,
#app:-webkit-full-screen .timx343-view-colo .magnet-coloplast-head,
#app:-webkit-full-screen .timx343-view-colo .magnet-coloplast-row{
  grid-template-columns:7.5% 7.5% 11% 8.5% 23% 24% 7.5% 11%!important;
}
#app:fullscreen .timx343-view-all .magnet-column-head,
#app:fullscreen .timx343-view-all .magnet-freight-row,
#app:fullscreen .timx343-view-colo-freight .magnet-column-head,
#app:fullscreen .timx343-view-colo-freight .magnet-freight-row,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-column-head,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-freight-row,
#app:-webkit-full-screen .timx343-view-all .magnet-column-head,
#app:-webkit-full-screen .timx343-view-all .magnet-freight-row,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-column-head,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-freight-row,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-column-head,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-freight-row{
  grid-template-columns:8.5% 9% 11% 9% 22% 24% 7% 9.5%!important;
}
#app:fullscreen .timx343-view-all .magnet-coloplast-head,
#app:fullscreen .timx343-view-all .magnet-coloplast-row,
#app:fullscreen .timx343-view-colo-freight .magnet-coloplast-head,
#app:fullscreen .timx343-view-colo-freight .magnet-coloplast-row,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-coloplast-head,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-coloplast-row,
#app:-webkit-full-screen .timx343-view-all .magnet-coloplast-head,
#app:-webkit-full-screen .timx343-view-all .magnet-coloplast-row,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-coloplast-head,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-coloplast-row,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-coloplast-head,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-coloplast-row{
  grid-template-columns:8.5% 8.5% 11% 9% 22% 23% 7% 11%!important;
}

/* Teljes képernyőben a Bevitel/Kihozatal oszlopcím már a fejlécben látszik,
   ezért a cellán belüli ismétlődő felirat helyét a nagy piros dátum kapja. */
#app:fullscreen .timx342-composite .magnet-cell.entry>small:first-child,
#app:fullscreen .timx342-composite .magnet-cell.pickup>small:first-child,
#app:-webkit-full-screen .timx342-composite .magnet-cell.entry>small:first-child,
#app:-webkit-full-screen .timx342-composite .magnet-cell.pickup>small:first-child{
  display:none!important;
}

/* ===== TIMX TESZT STAGE 3.4.5 – VÉGLEGES FULLSCREEN TÁBLAILLESZTÉS =====
   Csak a Mágnesfal teljes képernyős megjelenítése változik. A közös motor,
   státuszok, drag and drop, szerkesztés és archiválás érintetlen marad. */

/* A bal oldali felrakási / bevitel / kihozatal dátum visszakapja az eredeti,
   sötét színét. Csak az Export/Import lerakási dátum marad piros kiemelésű. */
.magnet-board-page .magnet-cell.date strong,
.magnet-board-page .magnet-operation-date,
.magnet-board-page .timx34-domestic-dates,
.magnet-board-page .timx34-domestic-dates span{
  color:#18364a!important;
  text-shadow:none!important;
}
.magnet-board-page .magnet-cell.date small,
.magnet-board-page .magnet-operation-date small,
.magnet-board-page .timx34-domestic-dates small{
  color:#4c5d67!important;
}
.magnet-board-page .magnet-cell.export small,
.magnet-board-page .magnet-cell.import small,
.magnet-board-page .magnet-cell.export .date-range,
.magnet-board-page .magnet-cell.import .date-range,
.magnet-board-page .magnet-date-range{
  color:#c8172c!important;
  font-weight:950!important;
}

#app:fullscreen .magnet-board-canvas,
#app:-webkit-full-screen .magnet-board-canvas{
  overflow:hidden!important;
  padding:4px!important;
}
#app:fullscreen .timx342-composite,
#app:-webkit-full-screen .timx342-composite{
  grid-template-columns:minmax(0,1fr) minmax(220px,255px)!important;
  gap:5px!important;
}
#app:fullscreen .timx342-composite>.magnet-board-grid,
#app:-webkit-full-screen .timx342-composite>.magnet-board-grid{
  gap:5px!important;
  align-items:start!important;
  overflow:hidden!important;
}
#app:fullscreen .timx343-view-all>.magnet-board-grid,
#app:-webkit-full-screen .timx343-view-all>.magnet-board-grid,
#app:fullscreen .timx343-view-colo-freight-domestic>.magnet-board-grid,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic>.magnet-board-grid{
  grid-template-rows:var(--timx344-band-one-height,auto) var(--timx344-band-two-height,auto)!important;
}

/* Minden panel saját, tényleges sorhossz alapján kap sormagasságot és betűméretet. */
#app:fullscreen .timx342-composite .magnet-panel,
#app:-webkit-full-screen .timx342-composite .magnet-panel{
  align-self:start!important;
  min-height:0!important;
  max-height:var(--timx345-panel-max-height,none)!important;
  overflow:hidden!important;
  contain:layout paint!important;
}
#app:fullscreen .timx342-composite .magnet-panel-body,
#app:-webkit-full-screen .timx342-composite .magnet-panel-body{
  display:grid!important;
  grid-auto-rows:var(--timx343-row-height,38px)!important;
  min-height:0!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .magnet-freight-row,
#app:-webkit-full-screen .timx342-composite .magnet-freight-row{
  box-sizing:border-box!important;
  height:var(--timx343-row-height,38px)!important;
  min-height:var(--timx343-row-height,38px)!important;
  max-height:var(--timx343-row-height,38px)!important;
  overflow:hidden!important;
  contain:layout paint!important;
}
#app:fullscreen .timx342-composite .magnet-cell,
#app:-webkit-full-screen .timx342-composite .magnet-cell{
  box-sizing:border-box!important;
  min-width:0!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
  padding:1px 3px!important;
  gap:0!important;
  font-size:var(--timx343-cell-font,10.5px)!important;
  line-height:1.02!important;
  contain:paint!important;
}

/* A Coloplast Bevitel/Kihozatal mező belseje nem növelheti meg a sort. */
#app:fullscreen .timx342-composite .magnet-colo-operation,
#app:-webkit-full-screen .timx342-composite .magnet-colo-operation{
  display:grid!important;
  grid-template-rows:minmax(0,1fr) auto!important;
  align-items:center!important;
  justify-items:center!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  gap:0!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .magnet-colo-operation>.magnet-cell-caption,
#app:-webkit-full-screen .timx342-composite .magnet-colo-operation>.magnet-cell-caption{
  display:none!important;
}
#app:fullscreen .timx342-composite .magnet-colo-operation .magnet-assignment,
#app:-webkit-full-screen .timx342-composite .magnet-colo-operation .magnet-assignment{
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
  gap:0!important;
}
#app:fullscreen .timx342-composite .magnet-operation-date,
#app:-webkit-full-screen .timx342-composite .magnet-operation-date,
#app:fullscreen .timx342-composite .magnet-cell.date strong,
#app:-webkit-full-screen .timx342-composite .magnet-cell.date strong,
#app:fullscreen .timx342-composite .timx34-domestic-dates,
#app:-webkit-full-screen .timx342-composite .timx34-domestic-dates{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#18364a!important;
  font-size:var(--timx343-date-font,11px)!important;
  line-height:1!important;
  font-weight:900!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  letter-spacing:-.015em!important;
}

/* Export és Import: maximum két útvonalsor + egy nagy, piros dátumsor.
   A következő-napi figyelmeztetés sarokjelzésként marad látható, nem tolja szét a sort. */
#app:fullscreen .timx342-composite .magnet-cell.export,
#app:fullscreen .timx342-composite .magnet-cell.import,
#app:-webkit-full-screen .timx342-composite .magnet-cell.export,
#app:-webkit-full-screen .timx342-composite .magnet-cell.import{
  position:relative!important;
  display:grid!important;
  grid-template-rows:minmax(0,1fr) auto!important;
  align-content:center!important;
  justify-items:center!important;
  overflow:hidden!important;
  padding:1px 4px!important;
}
#app:fullscreen .timx342-composite .magnet-cell.export strong,
#app:fullscreen .timx342-composite .magnet-cell.import strong,
#app:-webkit-full-screen .timx342-composite .magnet-cell.export strong,
#app:-webkit-full-screen .timx342-composite .magnet-cell.import strong{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:var(--timx343-route-lines,2)!important;
  width:100%!important;
  max-width:100%!important;
  max-height:calc(var(--timx343-route-lines,2) * 1.02em)!important;
  margin:0!important;
  overflow:hidden!important;
  color:#18364a!important;
  font-size:var(--timx343-route-font,11px)!important;
  line-height:1.02!important;
  font-weight:950!important;
  text-align:center!important;
  overflow-wrap:anywhere!important;
}
#app:fullscreen .timx342-composite .magnet-cell.export small,
#app:fullscreen .timx342-composite .magnet-cell.import small,
#app:fullscreen .timx342-composite .magnet-cell.export .date-range,
#app:fullscreen .timx342-composite .magnet-cell.import .date-range,
#app:fullscreen .timx342-composite .magnet-date-range,
#app:-webkit-full-screen .timx342-composite .magnet-cell.export small,
#app:-webkit-full-screen .timx342-composite .magnet-cell.import small,
#app:-webkit-full-screen .timx342-composite .magnet-cell.export .date-range,
#app:-webkit-full-screen .timx342-composite .magnet-cell.import .date-range,
#app:-webkit-full-screen .timx342-composite .magnet-date-range{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#c8172c!important;
  font-size:var(--timx343-route-date-font,10px)!important;
  line-height:1!important;
  font-weight:950!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:center!important;
}
#app:fullscreen .timx342-composite .magnet-next-badge,
#app:-webkit-full-screen .timx342-composite .magnet-next-badge{
  position:absolute!important;
  right:2px!important;
  top:2px!important;
  width:9px!important;
  height:9px!important;
  min-width:9px!important;
  max-width:9px!important;
  padding:0!important;
  margin:0!important;
  border-radius:50%!important;
  overflow:hidden!important;
  color:transparent!important;
  font-size:0!important;
  box-shadow:0 0 0 1px #8b6900!important;
}
#app:fullscreen .timx342-composite .magnet-next-badge::before,
#app:-webkit-full-screen .timx342-composite .magnet-next-badge::before{
  content:'!'!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  color:#111!important;
  background:#ffd21f!important;
  font-size:7px!important;
  font-weight:950!important;
  line-height:1!important;
}

/* Rendszám, sofőr, lerakó és pótkocsi fixen a saját cellájában marad. */
#app:fullscreen .timx342-composite .magnet-assignment,
#app:fullscreen .timx342-composite .magnet-plate-stack,
#app:-webkit-full-screen .timx342-composite .magnet-assignment,
#app:-webkit-full-screen .timx342-composite .magnet-plate-stack{
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
  gap:0!important;
}
#app:fullscreen .timx342-composite .magnet-plate,
#app:-webkit-full-screen .timx342-composite .magnet-plate{
  box-sizing:border-box!important;
  min-width:0!important;
  width:auto!important;
  max-width:100%!important;
  height:var(--timx344-plate-height,18px)!important;
  min-height:var(--timx344-plate-height,18px)!important;
  max-height:var(--timx344-plate-height,18px)!important;
  padding:1px 4px!important;
  font-size:var(--timx343-plate-font,10px)!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#app:fullscreen .timx342-composite .magnet-driver,
#app:-webkit-full-screen .timx342-composite .magnet-driver{
  max-width:100%!important;
  max-height:calc(var(--timx343-row-height,38px) - 2px)!important;
  gap:1px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#app:fullscreen .timx342-composite .magnet-driver b,
#app:-webkit-full-screen .timx342-composite .magnet-driver b{
  padding:1px 3px!important;
  font-size:max(6px,calc(var(--timx343-cell-font,10px) * .72))!important;
  line-height:1!important;
}

/* Státusz: a jelzések látszanak, de nem folyhatnak át a következő sorba. */
#app:fullscreen .timx342-composite .magnet-cell.state,
#app:-webkit-full-screen .timx342-composite .magnet-cell.state{
  display:grid!important;
  grid-template-rows:minmax(0,1fr) 11px!important;
  align-items:center!important;
  gap:0!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .magnet-cell.state>.magnet-status-pill,
#app:fullscreen .timx342-composite .magnet-cell.state>.magnet-collision-badge,
#app:-webkit-full-screen .timx342-composite .magnet-cell.state>.magnet-status-pill,
#app:-webkit-full-screen .timx342-composite .magnet-cell.state>.magnet-collision-badge{
  display:block!important;
  min-height:0!important;
  max-height:11px!important;
  padding:1px 3px!important;
  margin:0!important;
  font-size:6.6px!important;
  line-height:9px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#app:fullscreen .timx342-composite .timx341-next-tasks,
#app:-webkit-full-screen .timx342-composite .timx341-next-tasks{
  display:none!important;
}
#app:fullscreen .timx342-composite .timx341-row-actions,
#app:-webkit-full-screen .timx342-composite .timx341-row-actions{
  display:flex!important;
  height:11px!important;
  min-height:11px!important;
  max-height:11px!important;
  gap:1px!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .timx341-row-actions button,
#app:-webkit-full-screen .timx342-composite .timx341-row-actions button{
  flex:1 1 0!important;
  height:11px!important;
  min-height:11px!important;
  max-height:11px!important;
  padding:0 2px!important;
  font-size:6px!important;
  line-height:9px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}

/* A kombinált nézetekben a dátum és a fő fuvarinformáció kap prioritást. */
#app:fullscreen .timx343-view-all .magnet-column-head,
#app:fullscreen .timx343-view-all .magnet-freight-row,
#app:fullscreen .timx343-view-colo-freight .magnet-column-head,
#app:fullscreen .timx343-view-colo-freight .magnet-freight-row,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-column-head,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-freight-row,
#app:-webkit-full-screen .timx343-view-all .magnet-column-head,
#app:-webkit-full-screen .timx343-view-all .magnet-freight-row,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-column-head,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-freight-row,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-column-head,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-freight-row{
  grid-template-columns:7.5% 8% 11% 8.5% 23% 25% 7.5% 9.5%!important;
}
#app:fullscreen .timx343-view-all .magnet-coloplast-head,
#app:fullscreen .timx343-view-all .magnet-coloplast-row,
#app:fullscreen .timx343-view-colo-freight .magnet-coloplast-head,
#app:fullscreen .timx343-view-colo-freight .magnet-coloplast-row,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-coloplast-head,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-coloplast-row,
#app:-webkit-full-screen .timx343-view-all .magnet-coloplast-head,
#app:-webkit-full-screen .timx343-view-all .magnet-coloplast-row,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-coloplast-head,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-coloplast-row,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-coloplast-head,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-coloplast-row{
  grid-template-columns:7% 7% 11% 8.5% 23.5% 25% 7.5% 10.5%!important;
}

@media(max-width:1600px){
  #app:fullscreen .timx342-composite,
  #app:-webkit-full-screen .timx342-composite{
    grid-template-columns:minmax(0,1fr) minmax(190px,220px)!important;
  }
  #app:fullscreen .timx342-composite .magnet-panel>header,
  #app:-webkit-full-screen .timx342-composite .magnet-panel>header{
    min-height:22px!important;
    height:22px!important;
    padding:2px 5px!important;
  }
  #app:fullscreen .timx342-composite .magnet-column-head,
  #app:-webkit-full-screen .timx342-composite .magnet-column-head{
    min-height:18px!important;
    height:18px!important;
  }
}

/* Stage 3.4.5 finomítás: a központi következő-munkanapi feladat első sora
   fullscreenben is látható marad; a további sorok a normál nézetben érhetők el. */
#app:fullscreen .timx342-composite .magnet-cell.state,
#app:-webkit-full-screen .timx342-composite .magnet-cell.state{
  grid-template-rows:minmax(0,1fr) 8px 9px!important;
}
#app:fullscreen .timx342-composite .timx341-next-tasks,
#app:-webkit-full-screen .timx342-composite .timx341-next-tasks{
  display:block!important;
  width:100%!important;
  height:8px!important;
  min-height:8px!important;
  max-height:8px!important;
  margin:0!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .timx341-next-tasks span,
#app:-webkit-full-screen .timx342-composite .timx341-next-tasks span{
  display:block!important;
  width:100%!important;
  height:8px!important;
  min-height:8px!important;
  max-height:8px!important;
  padding:0 2px!important;
  margin:0!important;
  font-size:5.5px!important;
  line-height:8px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#app:fullscreen .timx342-composite .timx341-next-tasks span:not(:first-child),
#app:-webkit-full-screen .timx342-composite .timx341-next-tasks span:not(:first-child){
  display:none!important;
}
#app:fullscreen .timx342-composite .timx341-row-actions,
#app:-webkit-full-screen .timx342-composite .timx341-row-actions,
#app:fullscreen .timx342-composite .timx341-row-actions button,
#app:-webkit-full-screen .timx342-composite .timx341-row-actions button{
  height:9px!important;
  min-height:9px!important;
  max-height:9px!important;
  line-height:8px!important;
}

/* ===== TIMX TESZT STAGE 3.4.6 – PANELTÖRZS SKÁLÁZÁSOS FULLSCREEN =====
   A fejléc és az oszlopfejléc eredeti méretben marad. A természetes,
   olvasható sorokból felépített paneltörzs egységesen skálázódik, ezért
   nincs sorátfedés, nincs levágás és nincs fullscreen görgetés. */
#app:fullscreen .timx342-composite .magnet-panel,
#app:-webkit-full-screen .timx342-composite .magnet-panel{
  height:var(--timx346-panel-height,100%)!important;
  max-height:var(--timx346-panel-height,100%)!important;
  min-height:0!important;
  align-self:start!important;
  overflow:hidden!important;
  contain:layout paint!important;
}
#app:fullscreen .timx342-composite .magnet-panel-body,
#app:-webkit-full-screen .timx342-composite .magnet-panel-body{
  display:grid!important;
  grid-auto-rows:minmax(var(--timx346-natural-row,72px),auto)!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
  overflow:visible!important;
  transform-origin:top left!important;
  align-content:start!important;
  contain:layout!important;
}
#app:fullscreen .timx342-composite .magnet-freight-row,
#app:-webkit-full-screen .timx342-composite .magnet-freight-row{
  height:auto!important;
  min-height:var(--timx346-natural-row,72px)!important;
  max-height:none!important;
  overflow:hidden!important;
  contain:layout paint!important;
  align-items:stretch!important;
}
#app:fullscreen .timx342-composite .magnet-cell,
#app:-webkit-full-screen .timx342-composite .magnet-cell{
  min-width:0!important;
  min-height:auto!important;
  max-height:none!important;
  overflow:hidden!important;
  padding:3px 5px!important;
  gap:2px!important;
  color:#18364a!important;
  font-size:13px!important;
  line-height:1.08!important;
  contain:none!important;
}
#app:fullscreen .timx342-composite .magnet-cell.export,
#app:fullscreen .timx342-composite .magnet-cell.import,
#app:-webkit-full-screen .timx342-composite .magnet-cell.export,
#app:-webkit-full-screen .timx342-composite .magnet-cell.import{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  overflow:hidden!important;
  padding:3px 7px!important;
}
#app:fullscreen .timx342-composite .magnet-cell.export strong,
#app:fullscreen .timx342-composite .magnet-cell.import strong,
#app:-webkit-full-screen .timx342-composite .magnet-cell.export strong,
#app:-webkit-full-screen .timx342-composite .magnet-cell.import strong{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  width:100%!important;
  max-width:100%!important;
  max-height:2.2em!important;
  margin:0!important;
  overflow:hidden!important;
  color:#18364a!important;
  font-size:17px!important;
  line-height:1.08!important;
  font-weight:950!important;
  text-align:center!important;
  overflow-wrap:anywhere!important;
}
#app:fullscreen .timx342-composite .magnet-cell.export small,
#app:fullscreen .timx342-composite .magnet-cell.import small,
#app:fullscreen .timx342-composite .magnet-cell.export .date-range,
#app:fullscreen .timx342-composite .magnet-cell.import .date-range,
#app:fullscreen .timx342-composite .magnet-date-range,
#app:-webkit-full-screen .timx342-composite .magnet-cell.export small,
#app:-webkit-full-screen .timx342-composite .magnet-cell.import small,
#app:-webkit-full-screen .timx342-composite .magnet-cell.export .date-range,
#app:-webkit-full-screen .timx342-composite .magnet-cell.import .date-range,
#app:-webkit-full-screen .timx342-composite .magnet-date-range{
  display:block!important;
  width:100%!important;
  margin:1px 0 0!important;
  color:#c8172c!important;
  font-size:15px!important;
  line-height:1.05!important;
  font-weight:950!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:center!important;
}
#app:fullscreen .timx342-composite .magnet-cell.date strong,
#app:fullscreen .timx342-composite .magnet-operation-date,
#app:fullscreen .timx342-composite .timx34-domestic-dates,
#app:-webkit-full-screen .timx342-composite .magnet-cell.date strong,
#app:-webkit-full-screen .timx342-composite .magnet-operation-date,
#app:-webkit-full-screen .timx342-composite .timx34-domestic-dates{
  color:#18364a!important;
  font-size:14px!important;
  line-height:1.05!important;
  font-weight:900!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#app:fullscreen .timx342-composite .magnet-plate,
#app:-webkit-full-screen .timx342-composite .magnet-plate{
  width:auto!important;
  min-width:64px!important;
  max-width:100%!important;
  height:auto!important;
  min-height:26px!important;
  max-height:none!important;
  padding:3px 7px!important;
  font-size:14px!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#app:fullscreen .timx342-composite .magnet-driver,
#app:-webkit-full-screen .timx342-composite .magnet-driver{
  max-height:none!important;
  font-size:12px!important;
  line-height:1.05!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .magnet-driver b,
#app:-webkit-full-screen .timx342-composite .magnet-driver b{
  padding:2px 4px!important;
  font-size:9px!important;
}
#app:fullscreen .timx342-composite .magnet-cell.state,
#app:-webkit-full-screen .timx342-composite .magnet-cell.state{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:stretch!important;
  gap:2px!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .magnet-cell.state>.magnet-status-pill,
#app:fullscreen .timx342-composite .magnet-cell.state>.magnet-collision-badge,
#app:-webkit-full-screen .timx342-composite .magnet-cell.state>.magnet-status-pill,
#app:-webkit-full-screen .timx342-composite .magnet-cell.state>.magnet-collision-badge{
  display:block!important;
  min-height:15px!important;
  max-height:none!important;
  padding:2px 4px!important;
  margin:0!important;
  font-size:8px!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#app:fullscreen .timx342-composite .timx341-next-tasks,
#app:-webkit-full-screen .timx342-composite .timx341-next-tasks{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .timx341-next-tasks span,
#app:-webkit-full-screen .timx342-composite .timx341-next-tasks span{
  display:block!important;
  visibility:visible!important;
  position:static!important;
  width:100%!important;
  height:auto!important;
  min-height:12px!important;
  max-height:none!important;
  padding:1px 3px!important;
  margin:0!important;
  font-size:7px!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#app:fullscreen .timx342-composite .timx341-row-actions,
#app:-webkit-full-screen .timx342-composite .timx341-row-actions{
  display:flex!important;
  width:100%!important;
  height:auto!important;
  min-height:16px!important;
  max-height:none!important;
  gap:2px!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .timx341-row-actions button,
#app:-webkit-full-screen .timx342-composite .timx341-row-actions button{
  flex:1 1 0!important;
  height:16px!important;
  min-height:16px!important;
  max-height:16px!important;
  padding:1px 3px!important;
  font-size:7px!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
#app:fullscreen .timx342-composite .magnet-next-badge,
#app:-webkit-full-screen .timx342-composite .magnet-next-badge{
  position:static!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:13px!important;
  max-width:100%!important;
  margin:1px 0 0!important;
  padding:2px 4px!important;
  border-radius:5px!important;
  color:#111!important;
  background:#ffd21f!important;
  font-size:7px!important;
  font-weight:950!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  box-shadow:none!important;
}
#app:fullscreen .timx342-composite .magnet-next-badge::before,
#app:-webkit-full-screen .timx342-composite .magnet-next-badge::before{content:none!important}
#app:fullscreen .timx342-composite .magnet-panel>header,
#app:-webkit-full-screen .timx342-composite .magnet-panel>header{
  min-height:25px!important;
  height:25px!important;
  padding:3px 7px!important;
}
#app:fullscreen .timx342-composite .magnet-panel>header h3,
#app:-webkit-full-screen .timx342-composite .magnet-panel>header h3{font-size:13px!important}
#app:fullscreen .timx342-composite .magnet-column-head,
#app:-webkit-full-screen .timx342-composite .magnet-column-head{
  min-height:21px!important;
  height:21px!important;
}
#app:fullscreen .timx342-composite .magnet-column-head span,
#app:-webkit-full-screen .timx342-composite .magnet-column-head span{
  padding:3px!important;
  font-size:9px!important;
  line-height:1!important;
}

/* ===== TIMX TESZT STAGE 3.4.7 – VÉGSŐ FULLSCREEN ILLESZTÉS =====
   Kizárólag teljes képernyős megjelenítés. A Colo önálló nézete változatlan;
   a nagyobb sorozatokat tartalmazó nézetek kompaktabb tipográfiát kapnak,
   hogy minden aktív fuvar görgetés és levágás nélkül látható maradjon. */
#app:fullscreen .timx342-composite .magnet-panel-body,
#app:-webkit-full-screen .timx342-composite .magnet-panel-body{
  backface-visibility:hidden!important;
  -webkit-font-smoothing:antialiased!important;
}

/* Fuvartábla önálló nézet: 18+ sor esetén kisebb, de továbbra is olvasható. */
#app:fullscreen .timx343-view-freight .magnet-fuvartábla .magnet-cell,
#app:-webkit-full-screen .timx343-view-freight .magnet-fuvartábla .magnet-cell{
  padding:2px 4px!important;
  font-size:11px!important;
  line-height:1.02!important;
}
#app:fullscreen .timx343-view-freight .magnet-fuvartábla .magnet-cell.export strong,
#app:fullscreen .timx343-view-freight .magnet-fuvartábla .magnet-cell.import strong,
#app:-webkit-full-screen .timx343-view-freight .magnet-fuvartábla .magnet-cell.export strong,
#app:-webkit-full-screen .timx343-view-freight .magnet-fuvartábla .magnet-cell.import strong{
  font-size:14px!important;
  line-height:1.02!important;
  max-height:2.05em!important;
}
#app:fullscreen .timx343-view-freight .magnet-fuvartábla .magnet-cell.export small,
#app:fullscreen .timx343-view-freight .magnet-fuvartábla .magnet-cell.import small,
#app:fullscreen .timx343-view-freight .magnet-fuvartábla .magnet-date-range,
#app:-webkit-full-screen .timx343-view-freight .magnet-fuvartábla .magnet-cell.export small,
#app:-webkit-full-screen .timx343-view-freight .magnet-fuvartábla .magnet-cell.import small,
#app:-webkit-full-screen .timx343-view-freight .magnet-fuvartábla .magnet-date-range{
  font-size:12px!important;
  line-height:1!important;
}
#app:fullscreen .timx343-view-freight .magnet-fuvartábla .magnet-cell.date strong,
#app:fullscreen .timx343-view-freight .magnet-fuvartábla .magnet-operation-date,
#app:-webkit-full-screen .timx343-view-freight .magnet-fuvartábla .magnet-cell.date strong,
#app:-webkit-full-screen .timx343-view-freight .magnet-fuvartábla .magnet-operation-date{
  font-size:12px!important;
}
#app:fullscreen .timx343-view-freight .magnet-fuvartábla .magnet-plate,
#app:-webkit-full-screen .timx343-view-freight .magnet-fuvartábla .magnet-plate{
  min-height:22px!important;
  padding:2px 5px!important;
  font-size:12px!important;
}

/* Belföld és TIMX Special önálló nézetek. */
#app:fullscreen .timx343-view-domestic .magnet-cell,
#app:fullscreen .timx343-view-special .magnet-cell,
#app:-webkit-full-screen .timx343-view-domestic .magnet-cell,
#app:-webkit-full-screen .timx343-view-special .magnet-cell{
  padding:2px 4px!important;
  font-size:11px!important;
  line-height:1.02!important;
}
#app:fullscreen .timx343-view-domestic .magnet-cell.export strong,
#app:fullscreen .timx343-view-domestic .magnet-cell.import strong,
#app:fullscreen .timx343-view-special .magnet-cell.export strong,
#app:fullscreen .timx343-view-special .magnet-cell.import strong,
#app:-webkit-full-screen .timx343-view-domestic .magnet-cell.export strong,
#app:-webkit-full-screen .timx343-view-domestic .magnet-cell.import strong,
#app:-webkit-full-screen .timx343-view-special .magnet-cell.export strong,
#app:-webkit-full-screen .timx343-view-special .magnet-cell.import strong{
  font-size:14px!important;
  line-height:1.02!important;
}
#app:fullscreen .timx343-view-domestic .magnet-cell.export small,
#app:fullscreen .timx343-view-domestic .magnet-cell.import small,
#app:fullscreen .timx343-view-special .magnet-cell.export small,
#app:fullscreen .timx343-view-special .magnet-cell.import small,
#app:-webkit-full-screen .timx343-view-domestic .magnet-cell.export small,
#app:-webkit-full-screen .timx343-view-domestic .magnet-cell.import small,
#app:-webkit-full-screen .timx343-view-special .magnet-cell.export small,
#app:-webkit-full-screen .timx343-view-special .magnet-cell.import small{
  font-size:12px!important;
}

/* Kombinált és Összes nézet: minden panelnek ugyanazon a képernyőn kell elférnie. */
#app:fullscreen .timx343-view-all .magnet-cell,
#app:fullscreen .timx343-view-colo-freight .magnet-cell,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-cell,
#app:-webkit-full-screen .timx343-view-all .magnet-cell,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-cell,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-cell{
  padding:2px 3px!important;
  font-size:9.8px!important;
  line-height:1!important;
}
#app:fullscreen .timx343-view-all .magnet-cell.export strong,
#app:fullscreen .timx343-view-all .magnet-cell.import strong,
#app:fullscreen .timx343-view-colo-freight .magnet-cell.export strong,
#app:fullscreen .timx343-view-colo-freight .magnet-cell.import strong,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-cell.export strong,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-cell.import strong,
#app:-webkit-full-screen .timx343-view-all .magnet-cell.export strong,
#app:-webkit-full-screen .timx343-view-all .magnet-cell.import strong,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-cell.export strong,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-cell.import strong,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-cell.export strong,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-cell.import strong{
  font-size:12.5px!important;
  line-height:1.01!important;
  max-height:2.03em!important;
}
#app:fullscreen .timx343-view-all .magnet-cell.export small,
#app:fullscreen .timx343-view-all .magnet-cell.import small,
#app:fullscreen .timx343-view-all .magnet-date-range,
#app:fullscreen .timx343-view-colo-freight .magnet-cell.export small,
#app:fullscreen .timx343-view-colo-freight .magnet-cell.import small,
#app:fullscreen .timx343-view-colo-freight .magnet-date-range,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-cell.export small,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-cell.import small,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-date-range,
#app:-webkit-full-screen .timx343-view-all .magnet-cell.export small,
#app:-webkit-full-screen .timx343-view-all .magnet-cell.import small,
#app:-webkit-full-screen .timx343-view-all .magnet-date-range,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-cell.export small,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-cell.import small,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-date-range,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-cell.export small,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-cell.import small,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-date-range{
  font-size:10.5px!important;
  line-height:1!important;
}
#app:fullscreen .timx343-view-all .magnet-plate,
#app:fullscreen .timx343-view-colo-freight .magnet-plate,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-plate,
#app:-webkit-full-screen .timx343-view-all .magnet-plate,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-plate,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-plate{
  min-height:19px!important;
  padding:2px 4px!important;
  font-size:10.5px!important;
}
#app:fullscreen .timx343-view-all .magnet-cell.date strong,
#app:fullscreen .timx343-view-colo-freight .magnet-cell.date strong,
#app:fullscreen .timx343-view-colo-freight-domestic .magnet-cell.date strong,
#app:-webkit-full-screen .timx343-view-all .magnet-cell.date strong,
#app:-webkit-full-screen .timx343-view-colo-freight .magnet-cell.date strong,
#app:-webkit-full-screen .timx343-view-colo-freight-domestic .magnet-cell.date strong{
  font-size:10.5px!important;
}

/* A panel alján mindig maradjon biztonsági sáv; az utolsó sor nem érhet a kerethez. */
#app:fullscreen .timx342-composite .magnet-panel-body,
#app:-webkit-full-screen .timx342-composite .magnet-panel-body{
  padding-bottom:3px!important;
  box-sizing:border-box!important;
}

/* ===== TIMX 5.1 RC2 – célzott UI és operatív javítások =====
   A Mágnesfal meglévő elrendezését nem módosítja. */

/* Pótkocsi: egységes, jól felismerhető kiemelés minden listán és táblán. */
.trailer-wrap{
  padding:4px 8px!important;
  border:1px solid #f0b429!important;
  border-radius:7px!important;
  background:linear-gradient(180deg,rgba(255,211,75,.24),rgba(176,114,0,.16))!important;
  box-shadow:inset 0 0 0 1px rgba(255,239,159,.08)!important;
  color:#fff2a8!important;
  font-weight:950!important;
}
.tv-table .trailer-wrap,
.magnet-board-page .trailer-wrap{
  padding:2px 5px!important;
  border-radius:5px!important;
}
.fleet-trailer-card{
  border-left:5px solid #f0b429!important;
  background:linear-gradient(90deg,rgba(240,180,41,.16),rgba(15,29,47,.94) 38%)!important;
}

/* Fuvar felvitel / szerkesztés: a pótkocsi mező minden forrásnál hangsúlyos. */
#modal .timx341-freight-modal .timx34-trailer-field,
#modal .timx341-freight-modal label:has(#fld_trailer){
  padding:9px!important;
  border:2px solid #f0b429!important;
  border-radius:10px!important;
  background:rgba(151,103,0,.24)!important;
  box-shadow:0 0 0 3px rgba(240,180,41,.10)!important;
}
#modal .timx341-freight-modal label:has(#fld_trailer)>span{
  color:#ffe18a!important;
  font-weight:950!important;
  letter-spacing:.035em!important;
}
#modal .timx341-freight-modal label:has(#fld_trailer) input{
  border-color:#f0b429!important;
  background:#111b25!important;
  font-size:15px!important;
  font-weight:900!important;
}
#modal .timx341-freight-modal .timx-trailer-optional-for-van{
  border-color:#4dc7a0!important;
  background:rgba(27,112,87,.24)!important;
  box-shadow:0 0 0 3px rgba(77,199,160,.10)!important;
}
#modal .timx341-freight-modal .timx-trailer-optional-for-van>span{color:#94f5d3!important}
#modal .timx341-freight-modal .timx-trailer-optional-for-van input{
  border-color:#4dc7a0!important;
  opacity:.78;
}

/* TIMX Special modal: stabil rács, elkülönülő szekciók, biztos mentési kattintási felület. */
#modal .modal.timx-special-freight-modal{
  width:min(1540px,calc(100vw - 32px))!important;
  max-height:calc(100vh - 24px)!important;
  padding:16px 18px 0!important;
  overflow:auto!important;
  border:2px solid #8e63d7!important;
  box-shadow:0 24px 80px rgba(0,0,0,.72),0 0 0 4px rgba(142,99,215,.14)!important;
}
#modal .timx-special-freight-modal .timx-special-freight-form{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px 12px!important;
  align-items:start!important;
}
#modal .timx-special-freight-modal .timx-special-freight-form>label{
  min-width:0!important;
  margin:0!important;
}
#modal .timx-special-freight-modal .timx-special-freight-form>label.span-2{grid-column:span 2!important}
#modal .timx-special-freight-modal .timx-special-freight-form>label.span-3,
#modal .timx-special-freight-modal .timx-special-freight-form>.timx405-multi-unloads,
#modal .timx-special-freight-modal .timx-special-freight-form>.timx400-stops-card{
  grid-column:1 / -1!important;
}
#modal .timx-special-freight-modal .timx-freight-modal-actions,
#modal .timx-special-freight-modal>.modal-actions{
  position:sticky!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  z-index:60!important;
  display:flex!important;
  justify-content:flex-end!important;
  gap:12px!important;
  margin:16px -18px 0!important;
  padding:13px 18px!important;
  background:rgba(10,23,38,.98)!important;
  border-top:1px solid #45617c!important;
  box-shadow:0 -10px 24px rgba(0,0,0,.42)!important;
  pointer-events:auto!important;
}
#modal .timx-special-freight-modal .timx-freight-modal-actions button,
#modal .timx-special-freight-modal>.modal-actions button{
  position:relative!important;
  z-index:61!important;
  min-width:130px!important;
  min-height:46px!important;
  padding:12px 22px!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
}
#modal .timx-special-freight-modal .timx-freight-save-button{
  min-width:180px!important;
  background:#1678d2!important;
  border-color:#61b6ff!important;
  font-size:15px!important;
  box-shadow:0 5px 18px rgba(22,120,210,.35)!important;
}
@media(max-width:1150px){
  #modal .timx-special-freight-modal .timx-special-freight-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  #modal .modal.timx-special-freight-modal{width:calc(100vw - 10px)!important;padding:12px 10px 0!important}
  #modal .timx-special-freight-modal .timx-special-freight-form{grid-template-columns:1fr!important}
  #modal .timx-special-freight-modal .timx-special-freight-form>*{grid-column:1!important}
  #modal .timx-special-freight-modal .timx-freight-modal-actions,
  #modal .timx-special-freight-modal>.modal-actions{margin:12px -10px 0!important;padding:10px!important}
}

/* Bal oldali rakodás / bevitel / kihozatal dátumok: eredeti, semleges szín. */
.simple-freight-table.simple-coloplast-table td:nth-child(-n+2) .tiny-date,
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) td:first-child>strong,
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) td:first-child>.tiny-date{
  color:#b9cce0!important;
  text-shadow:none!important;
}
.simple-freight-table.simple-coloplast-table td:nth-child(-n+2) .tiny-date{
  font-size:12px!important;
  font-weight:800!important;
}
.simple-freight-table:not(.simple-coloplast-table):not(.timx34-domestic-table) td:first-child>strong{
  font-size:13px!important;
  font-weight:850!important;
}
.timx34-domestic-dates,
.timx34-domestic-dates small{color:#b9cce0!important;text-shadow:none!important}
.timx34-domestic-dates b{
  background:#24445f!important;
  color:#d9edff!important;
  border:1px solid #406986!important;
}
/* Mágnesfal: csak a bal oldali indulási dátum színe áll vissza; elrendezés nem változik. */
.magnet-board-page .magnet-cell.date strong,
.magnet-board-page .magnet-cell.date small{color:#b9cce0!important;text-shadow:none!important}

/* A mai importlerakó személy jól látható a TV-n és a Mágnesfal meglévő cellájában. */
.timx-rc2-magnet-today-unload{
  display:block;
  margin-top:4px;
  padding:3px 5px;
  border:1px solid #4fcf9a;
  border-radius:5px;
  background:#123f31;
  color:#baffdf;
  font-size:10px;
  font-weight:950;
  line-height:1.15;
  white-space:normal;
}
.tv-table .unload-assigned-live117,
.tv-table .today-unload-badge{
  margin-top:5px!important;
  font-size:12px!important;
  line-height:1.15!important;
}
.tv-table .unload-assigned-live117 span{font-size:13px!important;font-weight:950!important}

/* TV Coloplast: a Bevitel + Kihozatal egy közös oszlopban, tömören és olvashatóan. */
.tv-coloplast-merged th:nth-child(1){width:18%!important}
.tv-coloplast-merged th:nth-child(2){width:14%!important}
.tv-coloplast-merged th:nth-child(3){width:10%!important}
.tv-coloplast-merged th:nth-child(4),
.tv-coloplast-merged th:nth-child(5){width:22%!important}
.tv-coloplast-merged th:nth-child(6){width:14%!important}
.tv-colo-movement-cell{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5px;
  min-width:0;
}
.tv-colo-movement-line{
  min-width:0;
  padding:4px 5px;
  border:1px solid #315571;
  border-radius:6px;
  background:#0c2031;
  text-align:center;
}
.tv-colo-movement-line>b{
  display:block;
  margin-bottom:3px;
  color:#75c9ff;
  font-size:9px;
  letter-spacing:.04em;
}
.tv-colo-movement-line .tiny-date{color:#d5e6f4!important;font-size:11px!important;font-weight:900!important}

/* Eszközpark: stabil, nem elcsúszó kártyarács. */
#app .fleet-grid.categorized-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(300px,1fr))!important;
  gap:14px!important;
  align-items:start!important;
}
#app .fleet-card{
  display:grid!important;
  grid-template-columns:minmax(145px,1.35fr) minmax(135px,1fr) minmax(130px,.9fr) minmax(170px,1.05fr)!important;
  gap:8px!important;
  align-items:center!important;
  min-width:0!important;
}
#app .fleet-card>*{min-width:0!important}
#app .fleet-card .fleet-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex-wrap:wrap!important}
#app .fleet-card .fleet-control select,
#app .fleet-card .fleet-control input{min-width:0!important;max-width:100%!important}
@media(max-width:1450px){
  #app .fleet-grid.categorized-grid{grid-template-columns:1fr!important}
  #app .fleet-card{grid-template-columns:minmax(180px,1.35fr) minmax(150px,1fr) minmax(140px,.9fr) minmax(190px,1.05fr)!important}
}
@media(max-width:800px){
  #app .fleet-card{grid-template-columns:1fr!important}
  #app .fleet-card .fleet-actions{justify-content:flex-start!important}
}


/* ===== TIMX 5.1 RC3 – kizárólag a kért vizuális korrekciók ===== */
/* Pótkocsi vissza az eredeti megjelenésre. Csak a MEGA/HŰTŐS/NYITOTT/BÉRLŐS
   kategóriajelvény marad külön keretben, ahogy korábban is. */
.trailer-wrap{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:inherit!important;
  font-weight:inherit!important;
}
.tv-table .trailer-wrap,.magnet-board-page .trailer-wrap{padding:0!important;border-radius:0!important}
#app .fleet-trailer-card{border-left:0!important;background:inherit!important}
#modal .timx341-freight-modal .timx34-trailer-field,
#modal .timx341-freight-modal label:has(#fld_trailer){
  padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
#modal .timx341-freight-modal label:has(#fld_trailer)>span{color:var(--muted)!important;font-weight:400!important;letter-spacing:normal!important}
#modal .timx341-freight-modal label:has(#fld_trailer) input{border-color:#36516d!important;background:#091625!important;font-size:inherit!important;font-weight:inherit!important;opacity:1!important}

/* Mágnesfal: a zöld MA LERAKJA doboz felirata fehér. */
.timx-rc2-magnet-today-unload{color:#fff!important}

/* TV Fuvartábla: összevont Rakodás / Rakodó oszlop. */
.tv-freight-merged-loading th:nth-child(1){width:16%!important}
.tv-freight-merged-loading th:nth-child(2){width:14%!important}
.tv-freight-merged-loading th:nth-child(3){width:10%!important}
.tv-freight-merged-loading th:nth-child(4),.tv-freight-merged-loading th:nth-child(5){width:23%!important}
.tv-freight-merged-loading th:nth-child(6){width:14%!important}
.timx-rc3-loading-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0}
.timx-rc3-loading-tractor{font-size:14px;line-height:1.05;color:#fff;white-space:nowrap}
.timx-rc3-loading-driver{font-size:12px;font-weight:950;color:#8fd0ff;white-space:nowrap}
.timx-rc3-loading-date{font-size:12px;font-weight:900;color:#d5e6f4;white-space:nowrap}
.timx-rc3-loading-time{font-size:11px;font-weight:900;color:#ffd486;white-space:nowrap}

/* Eszközpark: Típus + alap pár + státusz egymás alatt. */
#app .fleet-card{display:grid!important;grid-template-columns:minmax(140px,.85fr) minmax(165px,1fr)!important;gap:12px!important;align-items:start!important}
#app .fleet-card .fleet-main{grid-column:1;min-width:0}
#app .fleet-card .timx-rc3-fleet-controls{grid-column:2;display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0}
#app .fleet-card .timx-rc3-fleet-controls label{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0;color:var(--muted);font-size:10px;font-weight:800}
#app .fleet-card .timx-rc3-fleet-controls label>span{display:block!important}
#app .fleet-card .timx-rc3-fleet-controls input,#app .fleet-card .timx-rc3-fleet-controls select{width:100%!important;min-width:0!important;max-width:100%!important}
#app .fleet-card .timx-rc3-fleet-controls .driver-mono{width:100%!important}
#app .fleet-card .fleet-actions{grid-column:1 / -1;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;flex-wrap:wrap!important;min-width:0}
#app .fleet-card .fleet-actions>*{width:auto;min-width:96px;text-align:center}
@media(max-width:1000px){#app .fleet-card{grid-template-columns:1fr!important}#app .fleet-card .fleet-main,#app .fleet-card .timx-rc3-fleet-controls,#app .fleet-card .fleet-actions{grid-column:1!important}}

/* Bérszámfejtési cella mentési visszajelzés. */
.payroll-table select[data-save-state="saving"]{outline:2px solid #f0b429!important;box-shadow:0 0 0 3px rgba(240,180,41,.18)!important}
.payroll-table select[data-save-state="saved"]{outline:2px solid #35d07f!important;box-shadow:0 0 0 3px rgba(53,208,127,.16)!important}
.payroll-table select[data-save-state="error"]{outline:2px solid #ff5f67!important;box-shadow:0 0 0 3px rgba(255,95,103,.18)!important}

/* ===== TIMX 5.1 RC4 – kizárólag a kért célzott korrekciók ===== */
/* Mágnesfal: a zöld MA LERAKJA doboz szövege és minden belső eleme fehér. */
.magnet-board-page .timx-rc2-magnet-today-unload,
.magnet-board-page .timx-rc2-magnet-today-unload *,
.timx-rc2-magnet-today-unload,
.timx-rc2-magnet-today-unload *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 1px 1px rgba(0,0,0,.45)!important;
  opacity:1!important;
}

/* Pótkocsi mező: nincs sárga keret vagy háttér, csak a korábbi kategóriajelvény. */
.timx-rc4-trailer-marker{display:flex;align-items:center;gap:5px;min-height:0;margin-top:4px}
.timx-rc4-trailer-marker[hidden]{display:none!important}
.timx-rc4-trailer-marker .mega-badge,
.timx-rc4-trailer-marker .cooler-badge,
.timx-rc4-trailer-marker .open-badge,
.timx-rc4-trailer-marker .rental-badge{margin:0!important;width:max-content!important}

/* TV Display Fuvartábla és Colo + Fuvar: teljes szélesség, nincs jobb oldali üres sáv. */
body.tv-native-fullscreen .tv-mode-freight .tv-fit-stage,
body.tv-mobile-fullscreen .tv-mode-freight .tv-fit-stage,
body.tv-fullscreen .tv-mode-freight .tv-fit-stage,
:fullscreen .tv-mode-freight .tv-fit-stage,
:-webkit-full-screen .tv-mode-freight .tv-fit-stage,
body.tv-native-fullscreen .tv-mode-dual .tv-fit-stage,
body.tv-mobile-fullscreen .tv-mode-dual .tv-fit-stage,
body.tv-fullscreen .tv-mode-dual .tv-fit-stage,
:fullscreen .tv-mode-dual .tv-fit-stage,
:-webkit-full-screen .tv-mode-dual .tv-fit-stage{
  width:100vw!important;
  max-width:100vw!important;
  overflow:hidden!important;
}
body.tv-native-fullscreen .tv-mode-freight .tv-fit-inner,
body.tv-mobile-fullscreen .tv-mode-freight .tv-fit-inner,
body.tv-fullscreen .tv-mode-freight .tv-fit-inner,
:fullscreen .tv-mode-freight .tv-fit-inner,
:-webkit-full-screen .tv-mode-freight .tv-fit-inner,
body.tv-native-fullscreen .tv-mode-dual .tv-fit-inner,
body.tv-mobile-fullscreen .tv-mode-dual .tv-fit-inner,
body.tv-fullscreen .tv-mode-dual .tv-fit-inner,
:fullscreen .tv-mode-dual .tv-fit-inner,
:-webkit-full-screen .tv-mode-dual .tv-fit-inner{
  max-width:none!important;
  overflow:visible!important;
}
.tv-mode-freight .tv-single-view,
.tv-mode-freight .tv-panel,
.tv-mode-freight .tv-table,
.tv-mode-dual .tv-dual-grid{
  width:100%!important;
  max-width:none!important;
}

/* ===== TIMX 5.1 RC5 – kizárólag a kért kritikus javítások ===== */
/* Egyéb információk: háromoszlopos sofőr-szabadság áttekintés. */
.timx-rc5-driver-leaves{
  margin-top:22px;
  padding:16px;
  border:1px solid #31516d;
  border-radius:14px;
  background:#0b1b2b;
}
.timx-rc5-driver-leaves>header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}
.timx-rc5-driver-leaves h2{margin:0;font-size:22px}
.timx-rc5-driver-leaves>header p{margin:4px 0 0;color:var(--muted)}
.timx-rc5-leave-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.timx-rc5-leave-column{min-width:0;padding:12px;border:1px solid #2b4a65;border-radius:11px;background:#0f2336}
.timx-rc5-leave-column>h3{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px;font-size:16px}
.timx-rc5-leave-column>h3 span{min-width:28px;padding:2px 7px;border-radius:999px;background:#244965;text-align:center;font-size:12px}
.timx-rc5-leave-driver{padding:10px;border:1px solid #365873;border-radius:8px;background:#10283d}
.timx-rc5-leave-driver+.timx-rc5-leave-driver{margin-top:8px}
.timx-rc5-leave-driver>strong{display:block;margin-bottom:6px;font-size:14px;color:#f3f8fc}
.timx-rc5-leave-driver>div{display:grid;grid-template-columns:max-content 12px max-content minmax(0,1fr);gap:5px;align-items:center;color:#d8e8f5;font-weight:800}
.timx-rc5-leave-driver>div+div{margin-top:5px;padding-top:5px;border-top:1px dashed #2f4d66}
.timx-rc5-leave-driver small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-weight:500}
@media(max-width:1050px){.timx-rc5-leave-grid{grid-template-columns:1fr}.timx-rc5-leave-driver>div{grid-template-columns:max-content 12px max-content minmax(0,1fr)}}
@media(max-width:520px){.timx-rc5-leave-driver>div{grid-template-columns:1fr 12px 1fr}.timx-rc5-leave-driver small{grid-column:1 / -1;white-space:normal}}

/* TV fullscreen: egységes skála, soha nem külön X/Y nyújtás. */
.tv-mode-freight .tv-fit-inner,
.tv-mode-dual .tv-fit-inner{transform-box:border-box!important}

/* ===== TIMX 5.1 RC5 HOTFIX 4 – MINDEN FUVAR LÁTSZIK FULLSCREENBEN =====
   A tbody pontos magasságú CSS grid. A cellatartalom nem növelheti meg a
   sort, ezért az utolsó fuvar sem csúszhat a képernyő alá. */
.tv[data-timx-all-rows-fit="1"] .tv-fit-stage,
.tv[data-timx-all-rows-fit="1"] .tv-fit-inner{
  transform:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:100%!important;
  max-height:100%!important;
  overflow:hidden!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-single-view,
.tv[data-timx-all-rows-fit="1"] .tv-dual-grid{
  height:100%!important;
  max-height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  align-items:stretch!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-dual-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:5px!important;
}
.tv[data-timx-all-rows-fit="1"] .timx-tv-hf4-split-grid{
  display:grid!important;
  grid-template-columns:repeat(var(--timx-hf4-columns,2),minmax(0,1fr))!important;
  gap:5px!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  overflow:hidden!important;
}
.tv[data-timx-all-rows-fit="1"] .timx-tv-hf4-cols-2{--timx-hf4-columns:2}
.tv[data-timx-all-rows-fit="1"] .timx-tv-hf4-cols-3{--timx-hf4-columns:3}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"]{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:100%!important;
  max-height:100%!important;
  min-width:0!important;
  min-height:0!important;
  overflow:hidden!important;
  border-radius:5px!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"]>.tv-title{
  flex:0 0 var(--timx-tv-title-height)!important;
  height:var(--timx-tv-title-height)!important;
  min-height:0!important;
  font-size:var(--timx-tv-title-font)!important;
  line-height:1!important;
  padding:3px 5px!important;
  overflow:hidden!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"]>.tv-table{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:0!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  overflow:hidden!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"]>.tv-table>thead{
  display:block!important;
  flex:0 0 var(--timx-tv-header-height)!important;
  width:100%!important;
  height:var(--timx-tv-header-height)!important;
  min-height:0!important;
  overflow:hidden!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"]>.tv-table>tbody{
  display:grid!important;
  flex:1 1 auto!important;
  grid-template-rows:repeat(var(--timx-tv-row-count),minmax(0,1fr))!important;
  width:100%!important;
  min-height:0!important;
  overflow:hidden!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"]>.tv-table>thead>tr,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"]>.tv-table>tbody>tr{
  display:grid!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-coloplast-merged>thead>tr,
.tv[data-timx-all-rows-fit="1"] .tv-coloplast-merged>tbody>tr{
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,.68fr) minmax(0,1.55fr) minmax(0,1.68fr) minmax(0,1.15fr)!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-freight-merged-loading>thead>tr,
.tv[data-timx-all-rows-fit="1"] .tv-freight-merged-loading>tbody>tr{
  grid-template-columns:minmax(0,1.18fr) minmax(0,1fr) minmax(0,.68fr) minmax(0,1.72fr) minmax(0,1.72fr) minmax(0,1.12fr)!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .tv-table th,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .tv-table td{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  max-height:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  text-align:center!important;
  vertical-align:middle!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .tv-table th{
  height:var(--timx-tv-header-height)!important;
  font-size:var(--timx-tv-header-font)!important;
  line-height:1!important;
  padding:1px var(--timx-tv-cell-pad-x)!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .tv-table td{
  height:100%!important;
  font-size:var(--timx-tv-font-size)!important;
  line-height:1.01!important;
  padding:var(--timx-tv-cell-pad-y) var(--timx-tv-cell-pad-x)!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .plate-nowrap,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .vehicle-person,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .trailer-wrap{
  max-width:100%!important;
  min-width:0!important;
  font-size:var(--timx-tv-font-size)!important;
  line-height:1!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .person-mono,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .tiny-date,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .date-range,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .tv-driver-mini,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .route-compact,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .route-compact span,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .status-pill,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .tv-note,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .tomorrow-alert,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .today-unload-badge{
  max-width:100%!important;
  min-width:0!important;
  font-size:var(--timx-tv-secondary-font)!important;
  line-height:1!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .vehicle-person,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .trailer-wrap,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .route-compact{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  gap:1px!important;
  overflow:hidden!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .route-compact>span:first-child{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  max-height:calc(var(--timx-tv-secondary-font) * 2.05)!important;
  overflow:hidden!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .date-range{
  margin-top:1px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .person-mono,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .status-pill,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .tomorrow-alert,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .today-unload-badge{
  padding:1px 3px!important;
  margin:1px 0 0!important;
  white-space:normal!important;
  overflow:hidden!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .tv-note{
  display:block!important;
  margin-top:1px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Fuvartábla: rendszám/monogram balra, dátum/idő jobbra, két sorban. */
.tv[data-timx-all-rows-fit="1"] .tv-freight-merged-loading .timx-rc3-loading-cell{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-areas:"tractor date" "driver time"!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  column-gap:3px!important;
  row-gap:0!important;
  align-content:center!important;
  align-items:center!important;
  justify-items:center!important;
  overflow:hidden!important;
}
.tv[data-timx-all-rows-fit="1"] .timx-rc3-loading-tractor{grid-area:tractor;font-size:var(--timx-tv-font-size)!important;line-height:1!important;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.tv[data-timx-all-rows-fit="1"] .timx-rc3-loading-driver{grid-area:driver;font-size:var(--timx-tv-secondary-font)!important;line-height:1!important}
.tv[data-timx-all-rows-fit="1"] .timx-rc3-loading-date{grid-area:date;font-size:var(--timx-tv-secondary-font)!important;line-height:1!important}
.tv[data-timx-all-rows-fit="1"] .timx-rc3-loading-time{grid-area:time;font-size:var(--timx-tv-secondary-font)!important;line-height:1!important}

/* Coloplast összevont bevitel/kihozatal cella. */
.tv[data-timx-all-rows-fit="1"] .tv-colo-movement-cell{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  gap:2px!important;
  align-items:stretch!important;
  overflow:hidden!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-colo-movement-line{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:0!important;
  padding:0 1px!important;
  border-radius:3px!important;
  overflow:hidden!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-colo-movement-line>b{
  margin:0!important;
  font-size:calc(var(--timx-tv-secondary-font) * .76)!important;
  line-height:1!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-colo-movement-line .tiny-date{
  margin:0!important;
  font-size:var(--timx-tv-secondary-font)!important;
  line-height:1!important;
}

/* Sűrű soroknál a megjegyzés helyett minden fuvar alapadata marad látható. */
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-dense .route-compact>span:first-child,
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .route-compact>span:first-child{
  -webkit-line-clamp:1!important;
  max-height:var(--timx-tv-secondary-font)!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-dense .tv-note,
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .tv-note{
  display:none!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .tomorrow-alert,
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .today-unload-badge{
  padding:0 2px!important;
  margin:0!important;
}

/* ===== TIMX 5.1 RC5 HOTFIX 5 – EGYTÁBLÁS, KOMPAKT TV DISPLAY =====
   Kizárólag fullscreen TV Display finomhangolás: minden sor egy táblában,
   kisebb Coloplast mozgás-/lerakóadatok, elkülönülő belső sorok. */
.tv[data-timx-all-rows-fit="1"] .timx-tv-hf4-split-grid{
  display:block!important;
  grid-template-columns:none!important;
  gap:0!important;
}

/* A cellák belső elemei ne folyjanak egymásra sűrű soroknál. */
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .tv-table td{
  gap:1px!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .tv-table td>*{
  flex-shrink:1!important;
  min-width:0!important;
  min-height:0!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .route-compact{
  gap:1px!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .route-compact>span:first-child{
  line-height:.94!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .date-range{
  line-height:.92!important;
}

/* Coloplast: bevitel/kihozatal személy, rendszám és időpont jóval kisebb. */
.tv[data-timx-all-rows-fit="1"] .tv-colo-movement-cell{
  gap:1px!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-colo-movement-line{
  gap:0!important;
  padding:0!important;
  line-height:.88!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-colo-movement-line>b{
  font-size:calc(var(--timx-tv-secondary-font) * .58)!important;
  line-height:.88!important;
  letter-spacing:0!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-colo-movement-line .vehicle-person{
  height:auto!important;
  min-height:0!important;
  gap:0!important;
  line-height:.86!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-colo-movement-line .plate-nowrap{
  font-size:calc(var(--timx-tv-secondary-font) * .76)!important;
  line-height:.88!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-colo-movement-line .person-mono{
  font-size:calc(var(--timx-tv-secondary-font) * .66)!important;
  line-height:.86!important;
  padding:0 2px!important;
  margin:0!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-colo-movement-line .tiny-date{
  font-size:calc(var(--timx-tv-secondary-font) * .72)!important;
  line-height:.88!important;
  margin:0!important;
}

/* A „MA LERAKJA” jelzés marad látható, de nem foglal el fél cellát. */
.tv[data-timx-all-rows-fit="1"] .unload-assigned-live117,
.tv[data-timx-all-rows-fit="1"] .today-unload-badge{
  width:100%!important;
  max-width:100%!important;
  min-height:0!important;
  padding:1px 2px!important;
  margin:0!important;
  gap:0!important;
  border-radius:3px!important;
  line-height:.86!important;
  overflow:hidden!important;
}
.tv[data-timx-all-rows-fit="1"] .unload-assigned-live117 strong{
  font-size:calc(var(--timx-tv-secondary-font) * .68)!important;
  line-height:.86!important;
  white-space:nowrap!important;
}
.tv[data-timx-all-rows-fit="1"] .unload-assigned-live117 span{
  display:block!important;
  max-width:100%!important;
  font-size:calc(var(--timx-tv-secondary-font) * .72)!important;
  line-height:.86!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.tv[data-timx-all-rows-fit="1"] .today-unload-badge{
  font-size:calc(var(--timx-tv-secondary-font) * .7)!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

/* Fuvartábla: egyetlen tábla, kompakt és jól szétválasztott rakodási cella. */
.tv[data-timx-all-rows-fit="1"] .tv-freight-merged-loading .timx-rc3-loading-cell{
  column-gap:2px!important;
  line-height:.88!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-freight-merged-loading .timx-rc3-loading-tractor{
  font-size:calc(var(--timx-tv-font-size) * .92)!important;
  line-height:.9!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-freight-merged-loading .timx-rc3-loading-driver,
.tv[data-timx-all-rows-fit="1"] .tv-freight-merged-loading .timx-rc3-loading-date,
.tv[data-timx-all-rows-fit="1"] .tv-freight-merged-loading .timx-rc3-loading-time{
  font-size:calc(var(--timx-tv-secondary-font) * .88)!important;
  line-height:.88!important;
}

/* Colo + Fuvar: a fél szélességű táblákban még tömörebb belső információ. */
.tv[data-timx-all-rows-fit="1"].tv-mode-dual .tv-panel[data-timx-all-rows-fit="1"] .tv-table td{
  line-height:.94!important;
  gap:0!important;
}
.tv[data-timx-all-rows-fit="1"].tv-mode-dual .tv-panel[data-timx-all-rows-fit="1"] .status-pill,
.tv[data-timx-all-rows-fit="1"].tv-mode-dual .tv-panel[data-timx-all-rows-fit="1"] .tv-note,
.tv[data-timx-all-rows-fit="1"].tv-mode-dual .tv-panel[data-timx-all-rows-fit="1"] .tomorrow-alert{
  font-size:calc(var(--timx-tv-secondary-font) * .82)!important;
  line-height:.88!important;
  padding:0 2px!important;
}

/* ===== TIMX 5.2 BETA 1 – Bérszámfejtés és munkatervezés olvashatóság ===== */
.payroll-wrap{border:2px solid #3d6685!important;border-radius:12px!important;box-shadow:0 10px 30px rgba(0,0,0,.22)}
.payroll-table{border-spacing:0!important}
.payroll-table thead th{background:#163a55!important;color:#fff!important;border-right:2px solid #315c7b!important;border-bottom:2px solid #5d86a4!important;box-shadow:0 2px 0 rgba(0,0,0,.28)}
.payroll-table thead th small{color:#c8e4f6!important}
.payroll-table .pay-date,.payroll-table .pay-day{background:#17344b!important;color:#fff!important;border-right:2px solid #476d88!important}
.payroll-table tbody tr:nth-child(odd) td:not(.pay-money):not(.pay-leave):not(.pay-sick):not(.pay-code){background:#0b1e2e!important}
.payroll-table tbody tr:nth-child(even) td:not(.pay-money):not(.pay-leave):not(.pay-sick):not(.pay-code){background:#10283b!important}
.payroll-table td.cat-domestic,.payroll-table td.cat-normal-timx,.payroll-table td.cat-normal-ec,.payroll-table td.cat-mega,.payroll-table td.cat-special,.payroll-table td.cat-van,.payroll-table td.cat-other{color:#f5fbff!important;-webkit-text-fill-color:#f5fbff!important}
.payroll-table td{border-right:1px solid #34536a!important;border-bottom:1px solid #2c4a60!important;min-width:116px!important}
.payroll-table td select{font-weight:900!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.payroll-table td select:focus{outline:2px solid #58baff!important;outline-offset:-2px;background:#163d59!important}
.payroll-total th,.payroll-total td{background:#765d00!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-top:3px solid #ffd43b!important;border-bottom:0!important;text-shadow:0 1px 1px #000!important}
.payroll-total .payroll-summary,.payroll-total .payroll-summary b,.payroll-total .payroll-summary span{color:#fff!important;-webkit-text-fill-color:#fff!important}
.payroll-total .payroll-summary b{font-size:13px!important}
.payroll-tabs button{border-width:2px!important}.payroll-tabs button.active{background:#157ec2!important;border-color:#82d0ff!important}

.live217-tomorrow-page{display:flex;flex-direction:column;gap:16px}
.tomorrow-resource-grid{gap:16px!important}
.tomorrow-resource-grid>.free-domestic{border:2px solid #315c7b!important;border-radius:13px!important;padding:12px!important;background:#0b2031!important}
.tomorrow-resource-grid>.free-domestic:first-child{border-left:5px solid #31b7ff!important}
.tomorrow-resource-grid>.free-domestic:last-child{border-left:5px solid #f0b400!important}
.free-domestic>div{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:stretch!important}
.timx52-resource-chip{display:inline-flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;min-width:145px!important;padding:7px 10px!important;border:1px solid #426b89!important;background:#102b3f!important;color:#fff!important;line-height:1.15!important}
.timx52-resource-chip b{font-size:12px}.timx52-resource-chip small{font-size:9px;color:#bcd4e5;white-space:normal}
.live217-work-section{margin-top:4px!important;border:1px solid #2c526d!important;border-radius:13px!important;padding:10px!important;background:#081a28!important}
.live217-work-section+.live217-work-section{margin-top:8px!important}
.timx52-special-tasks{border:2px solid #a451de!important;background:linear-gradient(180deg,#1d1230,#0b1b2a)!important}
.timx52-special-tasks .live217-section-title{border-bottom:2px solid #a451de!important;padding-bottom:8px!important}
.timx52-soon-trailers{border:2px solid #e8a315!important;border-left-width:6px!important;background:#241c08!important;padding:12px!important;border-radius:13px!important}
.timx52-soon-trailers h3{display:flex;justify-content:space-between;gap:10px;color:#ffe29a}
.timx52-soon-trailers .timx52-resource-chip{background:#3b2b08!important;border-color:#8f6e18!important}
.timx420-prepull-form{gap:12px!important}
.timx420-prepull-card .live217-card-actions{flex-wrap:wrap!important;gap:8px!important}
@media(max-width:900px){.timx52-resource-chip{min-width:125px!important}.tomorrow-resource-grid{grid-template-columns:1fr!important}}

/* ===== TIMX 5.2 BETA 3 – Bérszámfejtés sofőrkategória-színek visszaállítása =====
   A BETA 1 általános fejlécszabálya felülírta a korábbi kategóriaszíneket.
   Csak a sofőrnév-fejlécek kapják vissza az eredeti color code-okat. */
.payroll-table thead th.pay-driver-head.cat-domestic{background:#bfe3f5!important;color:#071522!important;-webkit-text-fill-color:#071522!important}
.payroll-table thead th.pay-driver-head.cat-normal-timx{background:#FFDD87!important;color:#000!important;-webkit-text-fill-color:#000!important}
.payroll-table thead th.pay-driver-head.cat-normal-ec{background:#FFFAB6!important;color:#000!important;-webkit-text-fill-color:#000!important}
.payroll-table thead th.pay-driver-head.cat-mega{background:#C00000!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.payroll-table thead th.pay-driver-head.cat-special{background:#EE0000!important;color:#000!important;-webkit-text-fill-color:#000!important}
.payroll-table thead th.pay-driver-head.cat-van{background:#E97132!important;color:#000!important;-webkit-text-fill-color:#000!important}
.payroll-table thead th.pay-driver-head.cat-other{background:#fff!important;color:#000!important;-webkit-text-fill-color:#000!important}
.payroll-table thead th.pay-driver-head small{color:inherit!important;-webkit-text-fill-color:inherit!important;opacity:.82!important}

/* TIMX 5.2 BETA 4 LIVE REPORT 5 – többlépcsős útvonal */
.timx-multistop-route>span,.timx-multistop-route-inline{display:flex;align-items:center;gap:4px;flex-wrap:wrap;line-height:1.28}
.timx-route-origin{font-weight:850}.timx-route-arrow{color:#7dd3fc;font-weight:900}.timx-route-stop{font-weight:800}.timx-route-plus{color:#fbbf24;font-weight:950}.timx-route-done{display:inline-flex;margin-top:3px}
.simple-freight-table .timx-multistop-route{min-width:210px}.tv-table .timx-multistop-route{min-width:0;font-size:clamp(10px,.67vw,15px)}

/* ===== TIMX 5.2 BETA 4 LIVE REPORT 8 – operatív megjelenítés ===== */
.timx-r8-route>span,.timx-r8-route.timx-multistop-route-inline{display:flex;align-items:flex-start;gap:5px;flex-wrap:wrap}
.timx-route-stop-wrap{display:inline-flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;color:#fff!important;font-weight:850}
.timx-route-stop-main{display:inline-flex;align-items:baseline;gap:2px;min-width:0}.timx-route-stop-prefix,.timx-route-stop,.timx-route-plus{color:#fff!important;-webkit-text-fill-color:#fff!important}
.timx-route-stop-prefix{display:inline}.timx-route-stop-time{display:block;color:#f9d56e!important;-webkit-text-fill-color:#f9d56e!important;font-size:.77em;font-weight:850;white-space:nowrap;line-height:1.05}
.timx-shuttle-display>span{display:flex;flex-direction:column;gap:2px}.timx-shuttle-label{font-weight:950;color:#fff}.timx-shuttle-route{font-weight:850;color:#d7efff}
.timx-r8-shuttle-section{grid-column:1/-1;border:1px solid #2d6c91;border-radius:12px;background:#082337;padding:13px;margin:4px 0 12px}
.timx-r8-shuttle-section h3{margin:0;color:#e8f7ff}.timx-r8-shuttle-section p{margin:4px 0 0;color:#a9c9dc;font-size:12px}
.timx-r8-shuttle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.timx-r8-shuttle-grid label{min-width:0}.timx-r8-shuttle-preview{margin-top:10px;border:1px dashed #4c83a5;border-radius:8px;padding:9px 11px;background:#071a28;color:#cceaff}
.timx-r8-location-search{margin:0 0 12px}.timx-r8-location-search input{width:min(520px,100%);background:#071522;color:#fff;border:1px solid #416887;border-radius:9px;padding:10px 12px;font-weight:750}
.timx3100-location.missing{background:#fff7f7!important;border-color:#ef4444!important;color:#5f1111!important}.timx3100-location.missing strong{color:#651111!important;-webkit-text-fill-color:#651111!important}.timx3100-location.missing small{color:#b91c1c!important;-webkit-text-fill-color:#b91c1c!important;font-weight:900}.timx3100-location.missing .icon-btn:not(.danger){background:#173650!important;color:#fff!important}
.timx-r8-gps-nav{margin-left:auto!important;border-color:#2d8ac2!important;background:#0d3b58!important;color:#dff5ff!important;font-weight:950!important}
@media(max-width:900px){.timx-r8-shuttle-grid{grid-template-columns:1fr 1fr}.timx-r8-gps-nav{margin-left:0!important}}
@media(max-width:620px){.timx-r8-shuttle-grid{grid-template-columns:1fr}}

/* ===== TIMX 5.2 BETA 4 LIVE REPORT 9 – felrakási dátum és shuttle útvonal ===== */
.timx-r9-route-flow{display:flex;align-items:flex-start;gap:5px;flex-wrap:wrap;min-width:0}
.timx-r9-route-node{display:inline-flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;max-width:100%}
.timx-r9-route-name{color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:900;line-height:1.08;overflow-wrap:anywhere}
.timx-r9-route-time{display:block;color:#f9d56e!important;-webkit-text-fill-color:#f9d56e!important;font-size:.76em;font-weight:900;line-height:1.08;white-space:nowrap}
.timx-r9-route-arrow{color:#7dd3fc!important;-webkit-text-fill-color:#7dd3fc!important;font-weight:950;align-self:flex-start;line-height:1.08}
.timx-r9-shuttle-display{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;min-width:210px}
.timx-r9-shuttle-label{color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:950;line-height:1.1}
.timx-r9-shuttle-legs{color:#d7efff!important;-webkit-text-fill-color:#d7efff!important;font-weight:850;line-height:1.14;overflow-wrap:anywhere}
.tv-table .timx-r9-route-flow{gap:3px}.tv-table .timx-r9-route-time{font-size:.7em}.tv-table .timx-r9-shuttle-display{min-width:0}
.simple-freight-table .timx-r9-shuttle-legs{font-size:.9em}
@media(max-width:700px){.timx-r9-route-time{white-space:normal}.timx-r9-shuttle-display{min-width:0}}


/* ===== TIMX 5.2 BETA 4 LIVE REPORT 11 – FULLSCREEN TV OLVASHATÓ ÚTVONAL =====
   Az útvonal neve nagyobb, a hozzá tartozó dátum/idő közvetlenül alatta,
   FEL/LE előtag nélkül jelenik meg. A route-oszlopok több helyet kapnak. */
.tv .timx-tv11-route,
.tv .timx-tv11-route-flow,
.tv .timx-tv11-route-node{min-width:0;max-width:100%;box-sizing:border-box}
.tv .timx-tv11-route{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:2px;width:100%;overflow:hidden}
.tv .timx-tv11-route-flow{display:flex!important;align-items:flex-start!important;justify-content:center;gap:4px;flex-wrap:nowrap!important;width:100%;overflow:hidden;white-space:normal!important;-webkit-line-clamp:unset!important;max-height:none!important}
.tv .timx-tv11-route-node{display:flex;flex:1 1 0;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;text-align:center;overflow:hidden}
.tv .timx-tv11-route-name{display:-webkit-box;max-width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:950;line-height:1.04;overflow-wrap:anywhere;word-break:normal}
.tv .timx-tv11-route-date{display:block;max-width:100%;overflow:hidden;color:#ffd65c!important;-webkit-text-fill-color:#ffd65c!important;font-weight:950;line-height:1;white-space:nowrap;text-overflow:ellipsis}
.tv .timx-tv11-arrow{flex:0 0 auto;align-self:center;color:#69d2ff!important;-webkit-text-fill-color:#69d2ff!important;font-weight:1000;line-height:1}
.tv .timx-tv11-plus{color:#ffd43b!important;-webkit-text-fill-color:#ffd43b!important;font-weight:1000}
.tv .timx-tv11-done{width:100%;max-width:100%;box-sizing:border-box;margin-top:2px!important}
.tv .timx-tv11-shuttle{align-items:center;text-align:center}
.tv .timx-tv11-shuttle-name{color:#fff;font-weight:950;line-height:1.04}
.tv .timx-tv11-shuttle-legs{color:#d9f2ff;font-weight:900;line-height:1.05;overflow-wrap:anywhere}

/* Fullscreenben az export/import útvonal több szélességet kap. */
.tv[data-timx-all-rows-fit="1"] .tv-freight-merged-loading th:nth-child(1){width:15%!important}
.tv[data-timx-all-rows-fit="1"] .tv-freight-merged-loading th:nth-child(2){width:13%!important}
.tv[data-timx-all-rows-fit="1"] .tv-freight-merged-loading th:nth-child(3){width:9%!important}
.tv[data-timx-all-rows-fit="1"] .tv-freight-merged-loading th:nth-child(4),
.tv[data-timx-all-rows-fit="1"] .tv-freight-merged-loading th:nth-child(5){width:25%!important}
.tv[data-timx-all-rows-fit="1"] .tv-freight-merged-loading th:nth-child(6){width:13%!important}
.tv[data-timx-all-rows-fit="1"] .tv-coloplast-merged th:nth-child(1){width:16%!important}
.tv[data-timx-all-rows-fit="1"] .tv-coloplast-merged th:nth-child(2){width:13%!important}
.tv[data-timx-all-rows-fit="1"] .tv-coloplast-merged th:nth-child(3){width:9%!important}
.tv[data-timx-all-rows-fit="1"] .tv-coloplast-merged th:nth-child(4),
.tv[data-timx-all-rows-fit="1"] .tv-coloplast-merged th:nth-child(5){width:24%!important}
.tv[data-timx-all-rows-fit="1"] .tv-coloplast-merged th:nth-child(6){width:14%!important}

/* A fuvar neve a fő információ; a dátum kisebb „alsó index”, de TV-ről olvasható. */
.tv[data-timx-all-rows-fit="1"] .timx-tv11-route-name{
  font-size:clamp(10px,calc(var(--timx-tv-font-size) * 1.20),18px)!important;
}
.tv[data-timx-all-rows-fit="1"] .timx-tv11-route-date{
  font-size:clamp(8px,calc(var(--timx-tv-secondary-font) * 1.12),13px)!important;
}
.tv[data-timx-all-rows-fit="1"] .timx-tv11-arrow{
  font-size:clamp(10px,calc(var(--timx-tv-font-size) * 1.05),17px)!important;
}
.tv[data-timx-all-rows-fit="1"] .timx-tv11-shuttle-name{
  font-size:clamp(10px,calc(var(--timx-tv-font-size) * 1.18),18px)!important;
}
.tv[data-timx-all-rows-fit="1"] .timx-tv11-shuttle-legs{
  font-size:clamp(8px,calc(var(--timx-tv-secondary-font) * 1.05),13px)!important;
}

/* Sűrű táblánál is a dátum maradjon látható; csak a név sorainak száma csökken. */
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-dense .timx-tv11-route-name,
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .timx-tv11-route-name{-webkit-line-clamp:1}
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .timx-tv11-route-flow{gap:2px!important}
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .timx-tv11-route-node{gap:0}
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .timx-tv11-route-name{font-size:max(8px,calc(var(--timx-tv-font-size) * 1.06))!important}
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .timx-tv11-route-date{font-size:max(7px,var(--timx-tv-secondary-font))!important}

/* A route-cella sem vízszintesen, sem lefelé nem lóghat ki. */
.tv[data-timx-all-rows-fit="1"] .tv-table td:has(.timx-tv11-route){overflow:hidden!important;padding-left:3px!important;padding-right:3px!important}

/* ===== TIMX 5.2 BETA 4 LIVE REPORT 12 – TV KOMPAKT, EGY SOROS ÚTVONAL =====
   Colo + Fuvar fullscreenben minden helynév egy sor marad. A dátum közvetlenül
   alatta, kisebb méretben jelenik meg; a tartalom nem növelheti meg a sort. */
.tv .timx-tv12-route,
.tv .timx-tv12-route-flow,
.tv .timx-tv12-route-node{min-width:0;max-width:100%;box-sizing:border-box}
.tv .timx-tv12-route{
  position:relative;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  max-height:100%!important;
  gap:1px!important;
  overflow:hidden!important;
}
.tv .timx-tv12-route-flow{
  display:flex!important;
  flex:0 1 auto!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-height:100%!important;
  gap:2px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
.tv .timx-tv12-route-node{
  display:grid!important;
  grid-template-rows:minmax(0,auto) minmax(0,auto)!important;
  flex:var(--timx-tv12-weight,10) 1 0!important;
  align-content:center!important;
  align-items:center!important;
  justify-items:center!important;
  gap:0!important;
  overflow:hidden!important;
  text-align:center!important;
}
.tv .timx-tv12-route-name,
.tv .timx-tv12-shuttle-main{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:var(--timx-tv-font-size,12px)!important;
  font-weight:800!important;
  line-height:.96!important;
  letter-spacing:-.01em!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.tv .timx-tv12-route-date,
.tv .timx-tv12-shuttle-date{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:1px 0 0!important;
  overflow:hidden!important;
  color:#ffd65c!important;
  -webkit-text-fill-color:#ffd65c!important;
  font-size:var(--timx-tv-secondary-font,9px)!important;
  font-weight:800!important;
  line-height:.9!important;
  letter-spacing:-.01em!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
}
.tv .timx-tv12-separator{
  flex:0 0 auto!important;
  color:#6fd5ff!important;
  -webkit-text-fill-color:#6fd5ff!important;
  font-size:calc(var(--timx-tv-font-size,12px) * .92)!important;
  font-weight:850!important;
  line-height:1!important;
}
.tv .timx-tv12-plus{color:#ffd43b!important;-webkit-text-fill-color:#ffd43b!important}
.tv .timx-tv12-done{
  flex:0 0 auto!important;
  width:auto!important;
  max-width:100%!important;
  margin:0 auto!important;
  padding:0 3px!important;
  border-radius:3px!important;
  font-size:calc(var(--timx-tv-secondary-font,9px) * .72)!important;
  line-height:.9!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.tv .timx-tv12-shuttle{gap:0!important}
.tv .timx-tv12-empty{white-space:nowrap}

/* A kritikus Colo + Fuvar nézetben a badge nem foglal külön sort; a státusz
   oszlopban ugyanaz az információ továbbra is látszik. */
.tv[data-timx-all-rows-fit="1"].tv-mode-dual .timx-tv12-done{display:none!important}

/* Fullscreenben soha ne nőhessen a route-cella a kiszámolt sormagasság fölé. */
.tv[data-timx-all-rows-fit="1"] .tv-table td:has(.timx-tv12-route){
  overflow:hidden!important;
  padding-top:0!important;
  padding-bottom:0!important;
  padding-left:2px!important;
  padding-right:2px!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-dense .timx-tv12-route,
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .timx-tv12-route{gap:0!important}
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-dense .timx-tv12-route-flow,
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .timx-tv12-route-flow{gap:1px!important}
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .timx-tv12-route-date,
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .timx-tv12-shuttle-date{margin-top:0!important}

/* A két fél szélességű tábla útvonaloszlopai kapnak valamivel több helyet,
   de nem a sor- vagy betűméret rovására. */
.tv[data-timx-all-rows-fit="1"].tv-mode-dual .tv-coloplast-merged>thead>tr,
.tv[data-timx-all-rows-fit="1"].tv-mode-dual .tv-coloplast-merged>tbody>tr{
  grid-template-columns:minmax(0,1.15fr) minmax(0,.92fr) minmax(0,.60fr) minmax(0,1.82fr) minmax(0,1.88fr) minmax(0,1.03fr)!important;
}
.tv[data-timx-all-rows-fit="1"].tv-mode-dual .tv-freight-merged-loading>thead>tr,
.tv[data-timx-all-rows-fit="1"].tv-mode-dual .tv-freight-merged-loading>tbody>tr{
  grid-template-columns:minmax(0,1.07fr) minmax(0,.91fr) minmax(0,.59fr) minmax(0,1.95fr) minmax(0,1.95fr) minmax(0,.93fr)!important;
}

/* Report 12 prioritási védelem: a régi fullscreen route-szabályok ne tudják
   a név+dátum blokkot egyetlen sor magasságára levágni. */
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .route-compact>.timx-tv12-route-flow,
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-dense .route-compact>.timx-tv12-route-flow,
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .route-compact>.timx-tv12-route-flow{
  display:flex!important;
  max-height:100%!important;
  white-space:nowrap!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:initial!important;
  line-height:1!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .timx-tv12-route-name,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .timx-tv12-shuttle-main{
  font-size:var(--timx-tv-font-size)!important;
  line-height:.96!important;
  white-space:nowrap!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .timx-tv12-route-date,
.tv[data-timx-all-rows-fit="1"] .tv-panel[data-timx-all-rows-fit="1"] .timx-tv12-shuttle-date{
  font-size:var(--timx-tv-secondary-font)!important;
  line-height:.9!important;
  white-space:nowrap!important;
}

/* ===== TIMX 5.2 BETA 4 LIVE REPORT 13 – TV FULLSCREEN TELJES ÚTVONAL =====
   Fontos: a flow DIV, ezért a régi `.route-compact > span:first-child`
   WebKit-line-clamp szabály nem tudja levágni a lerakókat. */
.tv .timx-tv13-route,
.tv .timx-tv13-route-flow,
.tv .timx-tv13-route-node{box-sizing:border-box;min-width:0;max-width:100%}
.tv .timx-tv13-route{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  max-height:100%!important;
  gap:0!important;
  overflow:hidden!important;
}
.tv .timx-tv13-route-flow{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:100%!important;
  gap:2px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:initial!important;
}
.tv .timx-tv13-route-node{
  display:grid!important;
  grid-template-rows:minmax(0,auto) minmax(0,auto)!important;
  flex:var(--timx-tv13-weight,10) 1 0!important;
  width:auto!important;
  min-width:0!important;
  align-content:center!important;
  align-items:center!important;
  justify-items:center!important;
  gap:0!important;
  overflow:hidden!important;
  text-align:center!important;
}
.tv .timx-tv13-route-name{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:var(--timx-tv-font-size,12px)!important;
  font-weight:800!important;
  line-height:.96!important;
  letter-spacing:-.015em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.tv .timx-tv13-route-date{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:1px 0 0!important;
  color:#ffd65c!important;
  -webkit-text-fill-color:#ffd65c!important;
  font-size:var(--timx-tv-secondary-font,9px)!important;
  font-weight:850!important;
  line-height:.9!important;
  letter-spacing:-.015em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
}
.tv .timx-tv13-separator{
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:7px!important;
  color:#6fd5ff!important;
  -webkit-text-fill-color:#6fd5ff!important;
  font-size:calc(var(--timx-tv-font-size,12px) * .88)!important;
  font-weight:900!important;
  line-height:1!important;
}
.tv .timx-tv13-done{
  flex:0 0 auto!important;
  max-width:100%!important;
  margin:0 auto!important;
  padding:0 3px!important;
  font-size:calc(var(--timx-tv-secondary-font,9px) * .68)!important;
  line-height:.88!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.tv .timx-tv13-empty{white-space:nowrap!important}

/* A Colo + Fuvar teljes képernyős nézetben a route-badge ne vegyen el
   magasságot; ugyanaz az állapot a státuszoszlopban továbbra is látható. */
.tv[data-timx-all-rows-fit="1"].tv-mode-dual .timx-tv13-done{display:none!important}
.tv[data-timx-all-rows-fit="1"] .tv-table td:has(.timx-tv13-route){
  overflow:hidden!important;
  padding-top:0!important;
  padding-bottom:0!important;
  padding-left:2px!important;
  padding-right:2px!important;
}
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-dense .timx-tv13-route-flow,
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .timx-tv13-route-flow{gap:1px!important}
.tv[data-timx-all-rows-fit="1"] .tv-panel.timx-tv-row-micro .timx-tv13-route-date{margin-top:0!important}

/* ===== TIMX LIVE REPORT 14 – egyszerű műveleti UX ===== */
.timx14-stop-order{display:flex;gap:3px;align-items:center}.timx14-stop-order button,.timx14-mini-stop-order button{min-width:26px;height:26px;padding:0;border:1px solid #3b6687;border-radius:6px;background:#0e2a40;color:#fff;font-weight:900}.timx14-stop-order button:disabled,.timx14-mini-stop-order button:disabled{opacity:.25}.timx14-stop-help{display:block;max-width:390px;color:#9bc7e4;font-weight:700;line-height:1.25}.timx400-stop{grid-template-columns:auto auto 86px 96px minmax(150px,1fr) 132px 110px 120px auto!important}
.timx14-edit-cell{position:relative;min-width:0;padding:4px 24px 4px 4px;border-radius:8px}.timx14-edit-cell:hover{background:rgba(55,139,199,.08)}.timx14-pencil{position:absolute;right:3px;top:3px;width:20px;height:20px;border:0;border-radius:5px;background:#174c70;color:#dff4ff;opacity:0;cursor:pointer;font-weight:900;line-height:20px;padding:0}.timx14-edit-cell:hover .timx14-pencil,.timx14-pencil:focus{opacity:1}.timx14-gps-signal{display:inline-flex;align-items:center;gap:3px;margin-top:4px;padding:3px 7px;border:1px solid #fb923c;border-radius:999px;background:#9a4e08;color:#fff;font-size:10px;font-weight:900;animation:timx14Pulse 1.25s infinite;white-space:nowrap}.timx14-gps-approval{grid-column:1/-1;margin:4px 0 12px;padding:12px;border:1px solid #d97706;border-radius:10px;background:#422706;color:#fff3c4;line-height:1.45}.timx14-map-btn{font-size:15px!important}.timx14-eta{display:block;margin-top:4px;color:#86efac;font-size:10px;font-weight:900;white-space:normal}.timx14-eta.is-tv{font-size:clamp(5.8px,.42vw,8px);line-height:1.05;color:#8ff5c4;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@keyframes timx14Pulse{0%,100%{box-shadow:0 0 0 0 rgba(251,146,60,.45)}50%{box-shadow:0 0 0 4px rgba(251,146,60,0)}}
.timx14-route{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;max-width:100%;overflow:hidden}.timx14-route-node{display:flex;flex-direction:column;align-items:center;min-width:0;max-width:36%;color:#fff}.timx14-route-node b{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timx14-route-node small{display:block;color:#facc15;font-size:10px;line-height:1.15;white-space:nowrap}.timx14-route-node.done{opacity:.65}.timx14-route-node.done b{text-decoration:line-through}.timx14-route-sep{flex:0 0 auto;color:#38bdf8;font-weight:900}.timx14-date-pair{display:flex;flex-direction:column;gap:4px}.timx14-date-pair span{display:block;font-weight:900}.timx14-date-pair small{color:#facc15}.timx14-prepull-mini{display:block;margin:4px auto 0;padding:2px 5px;border:1px solid #d4a80e;border-radius:5px;background:#534508;color:#ffe57a;font-size:9px;font-weight:900}
.timx14-mini-form{align-items:start}.timx14-mini-stops-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px}.timx14-mini-stops-head .primary{padding:6px 10px}.timx14-mini-stop{display:grid;grid-template-columns:auto 30px minmax(180px,1fr) 145px 110px auto;gap:7px;align-items:center;margin:7px 0;padding:8px;border:1px solid #315674;border-radius:9px;background:#0b2133}.timx14-mini-stop input{min-width:0}.timx14-mini-stop-order{display:flex;gap:2px}.timx14-stop-done,.timx14-stop-primary{display:inline-flex;justify-content:center;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900;white-space:nowrap}.timx14-stop-done{background:#11643f;color:#fff}.timx14-stop-primary{background:#17557e;color:#fff}
.simple-freight-table.timx14-simple td{vertical-align:middle}.simple-freight-table.timx14-simple .simple-actions{min-width:132px}.simple-freight-table.timx14-simple .tiny-date{font-size:11px;color:#facc15}.simple-freight-table.timx14-simple .trailer-wrap{margin-top:2px}
/* A TV-n az előhúzás a vontató és pót oszlop közös határára kerül. */
.tv .tv-table td{position:relative}.tv .tv-table .prepull-badge{position:absolute!important;left:0!important;bottom:2px!important;transform:translateX(-50%)!important;z-index:8;width:max-content;max-width:160%;margin:0!important;padding:1px 4px!important;font-size:clamp(5.5px,.38vw,8px)!important;line-height:1.05!important;white-space:nowrap!important;pointer-events:none}.tv .tv-table td:has(.prepull-badge){overflow:visible!important}.tv .tv-table tr{overflow:visible!important}
/* A régi FEL/LE címkék a fuvarfüleken ne jelenjenek meg. */
body:not(.tv-fullscreen) .timx34-domestic-dates b,.timx-r9-route-time{font-weight:800}.timx14-simple .timx34-domestic-dates b{display:none}
@media(max-width:900px){.timx14-mini-stop{grid-template-columns:auto 26px 1fr 120px 90px auto}.timx14-route-node{max-width:42%}.timx14-pencil{opacity:.85}}
.timx14-mini-stop{grid-template-columns:auto 30px 94px minmax(170px,1fr) 140px 105px auto!important}.timx14-mini-stops-head>div{display:flex;flex-direction:column;gap:2px}.timx14-mini-stops-head small{color:#9bb1c4;font-size:10px}
@media(max-width:900px){.timx14-mini-stop{grid-template-columns:auto 26px 84px minmax(140px,1fr) 120px 90px auto!important}}
/* LIVE REPORT 14: a TV-s ETA ne növelje meg a sormagasságot. */
.tv .timx14-eta.is-tv{
  position:absolute!important;
  left:3px!important;
  right:3px!important;
  bottom:1px!important;
  z-index:9!important;
  display:block!important;
  width:auto!important;
  max-width:calc(100% - 6px)!important;
  margin:0!important;
  padding:0 3px!important;
  border-radius:3px!important;
  background:rgba(4,42,36,.78)!important;
  color:#9ff7ce!important;
  -webkit-text-fill-color:#9ff7ce!important;
  font-size:clamp(5.5px,.37vw,7.5px)!important;
  font-weight:900!important;
  line-height:1.05!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  pointer-events:none!important;
}


/* ===== LIVE REPORT 15 – kompakt ETA, valódi kétcellás előhúzás, fullscreen biztosító ===== */
.timx14-eta.timx15-eta-green{color:#9ff7ce}.timx14-eta.timx15-eta-orange{color:#ffd166}.timx14-eta.timx15-eta-red{color:#ff9b9b}
.tv .timx14-eta.is-tv.timx15-eta-green{background:rgba(4,78,54,.82)!important;color:#a7f3d0!important;-webkit-text-fill-color:#a7f3d0!important}
.tv .timx14-eta.is-tv.timx15-eta-orange{background:rgba(112,72,0,.88)!important;color:#ffe08a!important;-webkit-text-fill-color:#ffe08a!important}
.tv .timx14-eta.is-tv.timx15-eta-red{background:rgba(135,24,38,.9)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.tv .tv-table .prepull-badge[data-timx15-span="1"]{display:flex!important;align-items:center!important;justify-content:center!important;bottom:1px!important;z-index:30!important;box-sizing:border-box!important;text-align:center!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tv .tv-table td:has(.prepull-badge),.tv .tv-table td:has(.prepull-badge)+td{overflow:visible!important}
.tv[data-timx-all-rows-fit="1"].tv-mode-dual .timx-tv13-done,.tv[data-timx-all-rows-fit="1"] .timx-tv13-done{display:inline-flex!important;position:absolute!important;top:1px!important;right:2px!important;bottom:auto!important;z-index:12!important;max-width:48%!important;margin:0!important;background:rgba(8,91,53,.88)!important;color:#9ff7ce!important;-webkit-text-fill-color:#9ff7ce!important;border:1px solid #2bc97a!important;border-radius:4px!important;padding:0 3px!important;font-size:clamp(5px,.32vw,7px)!important;line-height:1!important;pointer-events:none!important}
.tv[data-timx-all-rows-fit="1"] .tv-table tr,.tv[data-timx-all-rows-fit="1"] .tv-table td{min-height:0!important;max-height:var(--timx-tv-row-height)!important}
.tv[data-timx-all-rows-fit="1"] .tv-table td{overflow:hidden!important}.tv[data-timx-all-rows-fit="1"] .tv-table td:has(.prepull-badge){overflow:visible!important}
.timx15-employees-grid{margin-top:12px}.timx15-employees-grid .fleet-col{grid-column:1/-1}.timx15-employee{grid-template-columns:minmax(180px,1fr) minmax(150px,240px) minmax(150px,220px) auto}.timx15-employee .fleet-main small{display:block;color:#86a8bf;margin-top:2px}
@media(max-width:900px){.timx15-employee{grid-template-columns:1fr}.timx15-employees-grid{display:block}}


/* ===== LIVE REPORT 16 – TV DISPLAY FIXEK + BELFÖLD SHUTTLE ===== */
.timx16-shuttle-route{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;line-height:1.1;text-align:center}
.timx16-shuttle-route strong{display:block;max-width:100%;color:#f8fafc;font-weight:900;font-size:16px;line-height:1.05;white-space:normal}
.timx16-shuttle-route span{display:block;max-width:100%;color:#facc15;font-size:12px;font-weight:800;line-height:1.15;white-space:normal}
.timx16-domestic-route-cell .timx14-edit-cell{min-width:220px}

.tv .tv-table td.timx16-prepull-host,
.tv .tv-table td.timx16-prepull-peer,
.tv .tv-table tr.timx16-prepull-row{overflow:visible!important}
.tv .tv-table .prepull-badge,
.tv .tv-table .prepull-badge[data-timx15-span="1"],
.tv .tv-table .prepull-badge[data-timx16-span="1"]{
  z-index:60!important;
  min-height:15px!important;
  padding:2px 7px!important;
  border-radius:6px!important;
  font-size:clamp(7px,.50vw,10.5px)!important;
  line-height:1.12!important;
  font-weight:900!important;
  box-shadow:0 0 0 1px rgba(255,215,94,.25),0 1px 4px rgba(0,0,0,.35)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.tv .timx14-eta.is-tv,
.tv .timx14-eta.is-tv[data-timx16-eta="1"]{
  min-height:15px!important;
  padding:2px 6px!important;
  border-radius:5px!important;
  font-size:clamp(7px,.50vw,9.8px)!important;
  line-height:1.12!important;
  font-weight:900!important;
}
.tv .timx-tv13-done,
.tv .timx-route-done,
.tv [data-timx16-done="1"]{
  padding:2px 7px!important;
  border-radius:6px!important;
  font-size:clamp(7px,.52vw,10px)!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
}
body.tv-native-fullscreen .tv .tv-table .prepull-badge,
body.tv-mobile-fullscreen .tv .tv-table .prepull-badge,
body.tv-fullscreen .tv .tv-table .prepull-badge,
:fullscreen .tv .tv-table .prepull-badge,
:-webkit-full-screen .tv .tv-table .prepull-badge{
  min-height:17px!important;
  padding:3px 10px!important;
  font-size:clamp(8px,.62vw,12px)!important;
  line-height:1.15!important;
}
body.tv-native-fullscreen .tv .timx14-eta.is-tv,
body.tv-mobile-fullscreen .tv .timx14-eta.is-tv,
body.tv-fullscreen .tv .timx14-eta.is-tv,
:fullscreen .tv .timx14-eta.is-tv,
:-webkit-full-screen .tv .timx14-eta.is-tv{
  min-height:17px!important;
  padding:3px 7px!important;
  font-size:clamp(7.8px,.58vw,11px)!important;
  line-height:1.15!important;
}
body.tv-native-fullscreen .tv .timx-tv13-done,
body.tv-mobile-fullscreen .tv .timx-tv13-done,
body.tv-fullscreen .tv .timx-tv13-done,
:fullscreen .tv .timx-tv13-done,
:-webkit-full-screen .tv .timx-tv13-done,
body.tv-native-fullscreen .tv .timx-route-done,
body.tv-mobile-fullscreen .tv .timx-route-done,
body.tv-fullscreen .tv .timx-route-done,
:fullscreen .tv .timx-route-done,
:-webkit-full-screen .tv .timx-route-done{
  padding:2px 8px!important;
  font-size:clamp(7.8px,.60vw,11.2px)!important;
  line-height:1.12!important;
}


/* ===== LIVE REPORT 18 – VALÓDI FULLSCREEN ELŐHÚZÁS ===== */
.timx18-prepull-overlay{
  position:fixed!important;
  z-index:2147483000!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  padding:2px 8px!important;
  border:1px solid #b99428!important;
  border-radius:5px!important;
  background:rgba(91,70,15,.96)!important;
  color:#ffe88a!important;
  -webkit-text-fill-color:#ffe88a!important;
  box-shadow:0 1px 5px rgba(0,0,0,.55)!important;
  font-size:clamp(8px,.62vw,12px)!important;
  font-weight:900!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  pointer-events:none!important;
}


/* ===== LIVE REPORT 19 – NAGYOBB LERAKÓ-BEOSZTÁS + KOMPAKT ETA ===== */
.tv .unload-assigned-live117{padding:3px 7px!important;border-radius:6px!important;line-height:1.05!important}
.tv .unload-assigned-live117 strong{font-size:clamp(7px,.48vw,10px)!important;line-height:1.05!important}
.tv .unload-assigned-live117 span{font-size:clamp(6.5px,.44vw,9px)!important;line-height:1.05!important;font-weight:900!important}
body.tv-native-fullscreen .tv .unload-assigned-live117,
body.tv-mobile-fullscreen .tv .unload-assigned-live117,
body.tv-fullscreen .tv .unload-assigned-live117,
:fullscreen .tv .unload-assigned-live117,
:-webkit-full-screen .tv .unload-assigned-live117{padding:4px 9px!important;border-width:1px!important}
body.tv-native-fullscreen .tv .unload-assigned-live117 strong,
body.tv-mobile-fullscreen .tv .unload-assigned-live117 strong,
body.tv-fullscreen .tv .unload-assigned-live117 strong,
:fullscreen .tv .unload-assigned-live117 strong,
:-webkit-full-screen .tv .unload-assigned-live117 strong{font-size:clamp(8px,.62vw,12px)!important}
body.tv-native-fullscreen .tv .unload-assigned-live117 span,
body.tv-mobile-fullscreen .tv .unload-assigned-live117 span,
body.tv-fullscreen .tv .unload-assigned-live117 span,
:fullscreen .tv .unload-assigned-live117 span,
:-webkit-full-screen .tv .unload-assigned-live117 span{font-size:clamp(7.5px,.56vw,11px)!important}


/* ===== LIVE REPORT 21 – STABIL TV + ETA NEM TAKARJA A DÁTUMOT ===== */
.timx14-mini-form .timx21-main-field{display:flex!important;flex-direction:column!important;min-width:0!important}
.timx14-mini-form .timx21-main-field>.combo-wrap{width:100%!important}
.timx14-mini-form .timx21-main-field input{display:block!important;width:100%!important;min-width:0!important}

.tv .tv-table td:has(.timx-tv13-route):has(.timx14-eta.is-tv){
  --timx21-eta-strip:clamp(11px,calc(var(--timx-tv-row-height,42px) * .27),18px);
  box-sizing:border-box!important;
  padding-bottom:var(--timx21-eta-strip)!important;
}
.tv .tv-table td:has(.timx-tv13-route):has(.timx14-eta.is-tv) .timx-tv13-route{
  height:100%!important;
  max-height:100%!important;
  overflow:hidden!important;
}
.tv .tv-table td:has(.timx-tv13-route):has(.timx14-eta.is-tv) .timx-tv13-route-flow{
  height:100%!important;
  max-height:100%!important;
  align-items:center!important;
}
.tv .tv-table td:has(.timx-tv13-route):has(.timx14-eta.is-tv) .timx14-eta.is-tv{
  bottom:1px!important;
  min-height:calc(var(--timx21-eta-strip) - 2px)!important;
  max-height:calc(var(--timx21-eta-strip) - 2px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  padding:1px 5px!important;
  line-height:1!important;
}
/* A régi fallback-scale ne tudjon visszakapcsolni és új tördelést indítani. */
body.tv-native-fullscreen .tv-fit-inner,
body.tv-mobile-fullscreen .tv-fit-inner,
body.tv-fullscreen .tv-fit-inner,
:fullscreen .tv-fit-inner,
:-webkit-full-screen .tv-fit-inner{
  transform:none!important;
  transform-origin:top left!important;
  width:100%!important;
  max-width:100%!important;
}


/* ===== LIVE REPORT 22 – böngésző- és teljesítményjavítás ===== */
body[data-sync="offline"] .sync-state,body[data-sync="pending"] .sync-state{background:#7c5a00!important;color:#fff3bf!important}
body[data-sync="saveerror"] .sync-state{background:#8f1d2c!important;color:#fff!important}
#app{contain:layout style}
.tv-fit-stage{contain:layout paint}
.tv-table tbody{contain:layout style}
@media (prefers-reduced-motion:reduce){.sync-state,#toast,.timx18-prepull-overlay{transition:none!important;animation:none!important}}

/* ===== TIMX 6.0 – CVS AETR + ÜZEMBIZTONSÁG ===== */
.timx60-availability-card{display:flex!important;align-items:center;justify-content:space-between;gap:12px;border:1px solid #36536f;border-radius:12px;padding:12px 14px;background:#0d2235}
.timx60-availability-card span{display:flex;flex-direction:column;gap:3px}.timx60-availability-card small{color:#9fb4c8;font-weight:500}.timx60-availability-card input{width:22px;height:22px}
.timx60-availability-card.usable{border-color:#2d9a68;background:#0d2a25}.timx60-availability-card.unusable{border-color:#c84048;background:#351719}
.timx60-tech-unusable{box-shadow:inset 5px 0 #e14850}.timx60-tech-usable{box-shadow:inset 5px 0 #2fbf7f}.timx60-tech-warning{box-shadow:inset 5px 0 #f3a821}
.timx60-usable{background:#12653f!important;color:#d9ffec!important;border-color:#2fbf7f!important}
.timx60-safety-hard,.timx60-safety-warn{padding:12px 14px;border-radius:10px;font-weight:700}.timx60-safety-hard{background:#42191d;border:1px solid #e14850;color:#ffd8db}.timx60-safety-warn{background:#3c2d0b;border:1px solid #e6ad20;color:#ffe9a6}
.timx60-safety-list{display:grid;gap:8px;margin:14px 0}.timx60-safety-item{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:9px}.timx60-safety-item.hard{background:#35171a;border:1px solid #a93b42}.timx60-safety-item.warn{background:#30270e;border:1px solid #8b6c15}.timx60-safety-item span{color:#c7d5e2}
.timx60-aetr-page{display:flex;flex-direction:column;gap:16px}.timx60-aetr-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(390px,1fr));gap:14px}.timx60-aetr-card{background:#10283b;border:1px solid #31516b;border-left:6px solid #6d8498;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:12px}.timx60-aetr-card.ok{border-left-color:#2fbf7f}.timx60-aetr-card.warn{border-left-color:#f0ad25}.timx60-aetr-card.block{border-left-color:#e14850}.timx60-aetr-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.timx60-aetr-card h3{margin:0 0 3px}.timx60-aetr-card header small{color:#9fb4c8}.timx60-aetr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.timx60-aetr-grid span{display:flex;justify-content:space-between;gap:10px;background:#0b1d2c;border:1px solid #274258;border-radius:8px;padding:8px 9px}.timx60-advice{margin:0;background:#15344d;border:1px solid #3274a0;padding:9px 11px;border-radius:9px}.timx60-inline-issues{display:flex;flex-direction:column;gap:5px}.timx60-inline-issues span{padding:7px 9px;border-radius:7px;background:#2d2510}.timx60-aetr-card footer{font-size:12px;color:#90a7ba}.timx60-unresolved{border-left:5px solid #f0ad25}.timx60-unresolved>div{display:flex;flex-wrap:wrap;gap:7px}.timx60-legal-note{border-left:5px solid #3b90d0;color:#bdd0df}
@media(max-width:760px){.timx60-aetr-cards{grid-template-columns:1fr}.timx60-aetr-grid{grid-template-columns:1fr}.timx60-aetr-card header{flex-direction:column}}
.timx60-aetr-grid em{font-style:normal;color:#9fb4c8;font-weight:700}.timx60-aetr-details{border:1px solid #2d4a60;border-radius:10px;background:#0b1d2c;overflow:hidden}.timx60-aetr-details summary{cursor:pointer;padding:10px 12px;font-weight:900;color:#d9edf9}.timx60-aetr-details[open] summary{border-bottom:1px solid #2d4a60}.timx60-detail-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px}.timx60-detail-sections section{border:1px solid #29465c;border-radius:9px;padding:9px;background:#10283b}.timx60-detail-sections h4{margin:0 0 7px;color:#d9edf9}.timx60-detail-sections section>div{display:flex;justify-content:space-between;gap:12px;padding:4px 0;border-bottom:1px dashed rgba(159,180,200,.18)}.timx60-detail-sections section>div:last-child{border-bottom:0}.timx60-detail-sections section span{color:#9fb4c8}.timx60-limit-note{margin:0;padding:0 12px 12px;color:#9fb4c8;font-size:12px;line-height:1.4}@media(max-width:760px){.timx60-detail-sections{grid-template-columns:1fr}}

.timx60-mapping-panel{margin-bottom:14px}.timx60-mapping-panel>summary{cursor:pointer;font-weight:900}.timx60-mapping-list{display:grid;gap:7px;margin-top:12px}.timx60-mapping-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid #315674;border-radius:9px;background:#0b2234}.timx60-mapping-list span,.timx60-mapping-list small{display:block}.timx60-mapping-list small{color:#9bb1c4;margin-top:2px}

/* ===== TIMX 6.0.2 – AETR SOFŐR KONTEXTUS ===== */
.timx60-aetr-toolbar{align-items:center}.timx60-aetr-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.timx60-aetr-search{min-width:310px;max-width:440px;background:#0b1d2c;border:1px solid #365d7b;color:#eaf5fc;border-radius:9px;padding:10px 12px}.timx60-aetr-search::placeholder{color:#87a1b5}.timx60-search-count{font-size:13px;color:#9fb4c8;margin:-6px 2px -4px}.timx60-driver-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.timx60-driver-vehicle,.timx60-leave-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800}.timx60-driver-vehicle{background:#0b3850;border:1px solid #28729a;color:#d7f2ff}.timx60-driver-vehicle.last{background:#182e40;border-color:#48647a;color:#bed0de}.timx60-leave-badge{background:#3a2858;border:1px solid #8d62c7;color:#f0e3ff}.timx60-aetr-card.on-leave{box-shadow:inset 0 0 0 1px rgba(154,103,210,.7)}.timx60-map-help{color:#9fb4c8;font-size:12px;line-height:1.45;margin:9px 0 0}.timx60-mapping-list small{line-height:1.35}.timx60-mapping-panel[open]>summary{margin-bottom:4px}
@media(max-width:760px){.timx60-aetr-actions{width:100%;justify-content:stretch}.timx60-aetr-search{min-width:0;max-width:none;flex:1 1 100%;width:100%}}

/* ===== TIMX 6.0.5 – EGYSZERŰ TV ETA + OLVASHATÓ ERŐFORRÁSOK ===== */
/* TV: egy rövid, azonos magasságú ETA-sor, minden állapotnál fehér betűvel. */
.tv .timx14-eta.is-tv{
  left:4px!important;right:4px!important;width:auto!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  font-weight:950!important;letter-spacing:.015em!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.62)!important;
}
.tv .timx14-eta.is-tv.timx15-eta-green{background:#146b4b!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.tv .timx14-eta.is-tv.timx15-eta-orange{background:#8a5b00!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.tv .timx14-eta.is-tv.timx15-eta-red{background:#992b35!important;color:#fff!important;-webkit-text-fill-color:#fff!important}

/* Következő munkanapi erőforrások: kártyák, tiszta tipográfia, fix ritmus. */
.tomorrow-resource-grid>.free-domestic>h3{
  display:flex;align-items:center;min-height:30px;margin:0 0 10px!important;
  color:#f5fbff;font-size:18px;letter-spacing:.01em;
}
.tomorrow-resource-grid>.free-domestic>div:not(.timx605-trailer-groups){
  display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:8px;
}
.timx605-resource-card{
  position:relative;display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:center!important;gap:3px!important;box-sizing:border-box;min-width:0!important;min-height:52px;
  margin:0!important;padding:8px 11px!important;border-radius:12px!important;
  background:#12314a!important;border:1px solid #3d6a8a!important;color:#fff!important;
  box-shadow:0 2px 7px rgba(0,0,0,.16);line-height:1.12!important;white-space:normal!important;
}
.timx605-resource-card b{display:block;max-width:100%;font-size:14px!important;color:#fff!important;letter-spacing:.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.timx605-resource-card small{display:block;font-size:10px!important;color:#d5e7f3!important;font-weight:750;line-height:1.2;white-space:normal!important}
.timx605-resource-card i{position:absolute;right:7px;top:6px;font-style:normal;color:#fff3a6;font-size:14px}
.timx605-resource-card.timx410-tech-warning{border-color:#f1b83e!important;box-shadow:inset 4px 0 #f1b83e,0 2px 7px rgba(0,0,0,.16)}

/* Pótkocsik típusonként: külön szekció, visszafogott, de azonnal felismerhető szín. */
.timx605-trailer-groups{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}
.timx605-trailer-group{min-width:0;padding:9px;border:1px solid #31556f;border-radius:11px;background:#0b1c2b}
.timx605-trailer-group h4{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px;color:#eef8ff;font-size:12px;letter-spacing:.035em;text-transform:uppercase}
.timx605-trailer-group h4 b{padding:2px 7px;border-radius:999px;background:#17364e;color:#ddecf7;font-size:10px;white-space:nowrap}
.timx605-trailer-group>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:7px}
.timx605-trailer-card{min-height:46px!important}
.timx605-cat-normal-ponyva{background:#18466a!important;border-color:#4389b8!important}
.timx605-cat-mega{background:#5b3c12!important;border-color:#c58b35!important}
.timx605-cat-huto{background:#17595c!important;border-color:#3ca1a6!important}
.timx605-cat-nyitott{background:#493b68!important;border-color:#846db0!important}
.timx605-cat-belfoldes-pot{background:#4c5520!important;border-color:#8f9f38!important}
.timx605-cat-trailerberlos{background:#5c304e!important;border-color:#a75e8d!important}
.timx605-cat-egyeb{background:#344454!important;border-color:#60788d!important}
.timx605-trailer-card small{color:#f4f8fb!important;opacity:.88}

/* A hamarosan szabad kártyák is ugyanazt az olvasható fehér tipográfiát kapják. */
.timx52-soon-trailers .timx52-resource-chip{color:#fff!important}
.timx52-soon-trailers .timx52-resource-chip b{color:#fff!important}
.timx52-soon-trailers .timx52-resource-chip small{color:#f6e9bd!important}

/* Biztonsági ablak: figyelmeztetések és valódi tiltások külön blokkban. */
.timx60-safety-section{display:grid;gap:7px;border-radius:11px;padding:10px}
.timx60-safety-section>h3{margin:0 0 2px;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.timx60-safety-section.hard{border:1px solid #9f3941;background:#271216}.timx60-safety-section.hard>h3{color:#ffbec3}
.timx60-safety-section.warn{border:1px solid #80661e;background:#28220f}.timx60-safety-section.warn>h3{color:#ffe39a}
.timx60-safety-section .timx60-safety-item{margin:0}

@media(max-width:1050px){.timx605-trailer-groups{grid-template-columns:1fr}.tomorrow-resource-grid>.free-domestic>div:not(.timx605-trailer-groups){grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}}

/* ===== TIMX 6.1.0 TEST – csoportosított oldalsáv + világos/sötét téma ===== */
:root{--timx-v2-sidebar-w:278px;--timx-v2-sidebar-mini:72px;--timx-v2-topbar-h:78px}
html{color-scheme:dark}
html[data-theme="light"]{color-scheme:light;--bg:#edf3f8;--panel:#ffffff;--panel2:#f5f8fb;--line:#cbd7e2;--text:#152536;--muted:#607386;--blue:#0f70bf;--green:#177a4c;--yellow:#a46c00;--orange:#b65316;--red:#b72d3b;--gray:#68798a}
@media(min-width:901px){
 body.timx-v2-shell{display:grid;grid-template-columns:var(--timx-v2-sidebar-w) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);min-height:100vh;align-items:start}
 body.timx-v2-shell>.topbar{grid-column:1/-1;grid-row:1;z-index:60}
 body.timx-v2-shell>#nav{grid-column:1;grid-row:2;align-self:start}
 body.timx-v2-shell>#app{grid-column:2;grid-row:2;min-width:0;width:100%}
 body.timx-v2-shell.timx-v2-sidebar-collapsed{grid-template-columns:var(--timx-v2-sidebar-mini) minmax(0,1fr)}
}
#nav.timx-v2-sidebar{display:flex;flex-direction:column;gap:0;padding:0;background:#091624;border-right:1px solid #203a52;border-bottom:0;overflow:hidden;z-index:45}
@media(min-width:901px){#nav.timx-v2-sidebar{position:sticky;top:var(--timx-v2-topbar-h)!important;height:calc(100vh - var(--timx-v2-topbar-h));max-height:calc(100vh - var(--timx-v2-topbar-h));width:100%;min-width:0}}
.timx-v2-sidebar-head{height:72px;display:flex;align-items:center;gap:11px;padding:12px 13px;border-bottom:1px solid #203a52;background:linear-gradient(135deg,#0d2237,#0a1827)}
.timx-v2-logo{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#1678d2,#5b38a8);font-size:24px;font-weight:950;color:#fff;box-shadow:0 7px 18px #0005}
.timx-v2-sidebar-head>div:nth-child(2){display:flex;flex-direction:column;min-width:0}.timx-v2-sidebar-head strong{font-size:16px;letter-spacing:.08em}.timx-v2-sidebar-head small{font-size:9px;color:#91abc1;letter-spacing:.12em;margin-top:2px}.timx-v2-sidebar-head>button{margin-left:auto;padding:4px 8px;border:0;background:#122e47;font-size:22px;line-height:1;color:#b8d1e5}
.timx-v2-nav-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:10px 8px 14px;scrollbar-width:thin;scrollbar-color:#35536e transparent}
.timx-v2-nav-group{border:0;margin:0 0 5px;background:transparent}.timx-v2-nav-group>summary{list-style:none;display:grid;grid-template-columns:25px minmax(0,1fr) auto 18px;align-items:center;gap:7px;padding:9px 8px;color:#91a8bb;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;border-radius:9px}.timx-v2-nav-group>summary::-webkit-details-marker{display:none}.timx-v2-nav-group>summary:hover{background:#0f2336;color:#c8dfef}.timx-v2-nav-group>summary small{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#142d44;color:#8ea8bc;font-size:9px}.timx-v2-nav-group>summary b{transition:.15s;transform:rotate(-90deg);font-size:13px}.timx-v2-nav-group[open]>summary b{transform:rotate(0)}.timx-v2-group-icon{font-size:14px;text-align:center}
.timx-v2-nav-group>div,.timx-v2-nav-extras{display:grid;gap:3px;padding:2px 0 6px}
#nav .timx-v2-nav-item{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;min-height:42px;padding:7px 9px!important;margin:0;border:1px solid transparent;border-radius:10px;color:#b7c8d8!important;background:transparent!important;text-decoration:none;font-size:12px!important;font-weight:750!important;text-align:left;white-space:normal;line-height:1.2}
#nav .timx-v2-nav-item:hover{background:#102b43!important;color:#fff!important;border-color:#244760}#nav .timx-v2-nav-item.active{background:linear-gradient(90deg,#153f61,#12324c)!important;color:#fff!important;border-color:#2d668f;box-shadow:inset 3px 0 #38a9ff}.timx-v2-nav-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#102a41;color:#9dd8ff;font-size:13px;font-weight:950}.timx-v2-nav-item.active .timx-v2-nav-icon{background:#1b78b6;color:#fff}.timx-v2-gps-link{margin-top:4px!important;border-color:#26587a!important}.timx-v2-system-group{border-top:1px solid #1e374d;padding-top:6px;margin-top:4px}
.timx-v2-sidebar-foot{display:flex;align-items:center;gap:8px;padding:9px 12px;border-top:1px solid #203a52;background:#08131f;color:#6f879a;white-space:nowrap;overflow:hidden}.timx-v2-sidebar-foot span{background:#71353b;color:#ffd8dc;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:950;letter-spacing:.08em}.timx-v2-sidebar-foot small{font-size:9px;overflow:hidden;text-overflow:ellipsis}
body.timx-v2-sidebar-collapsed .timx-v2-sidebar-head{padding-left:14px}.timx-v2-sidebar-collapsed .timx-v2-sidebar-head>div:nth-child(2),.timx-v2-sidebar-collapsed .timx-v2-sidebar-foot small,.timx-v2-sidebar-collapsed .timx-v2-nav-group>summary span:not(.timx-v2-group-icon),.timx-v2-sidebar-collapsed .timx-v2-nav-group>summary small,.timx-v2-sidebar-collapsed .timx-v2-nav-group>summary b,.timx-v2-sidebar-collapsed .timx-v2-nav-label{display:none}.timx-v2-sidebar-collapsed .timx-v2-sidebar-head>button{position:absolute;left:47px;width:20px;padding:4px 2px;transform:rotate(180deg)}.timx-v2-sidebar-collapsed .timx-v2-nav-group>summary{grid-template-columns:1fr;justify-items:center;padding:7px 3px}.timx-v2-sidebar-collapsed .timx-v2-nav-group>div{display:grid!important}.timx-v2-sidebar-collapsed #nav .timx-v2-nav-item{grid-template-columns:1fr;justify-items:center;padding:7px 3px!important}.timx-v2-sidebar-collapsed .timx-v2-sidebar-foot{justify-content:center;padding:9px 3px}
.timx-theme-toggle{min-width:92px;justify-content:center}

html[data-theme="light"] body{background:linear-gradient(145deg,#edf3f8,#f7fafc 52%,#eaf0f5);color:var(--text)}
html[data-theme="light"] .topbar{background:rgba(255,255,255,.94);border-color:#cbd7e2;box-shadow:0 3px 14px #22384d14}
html[data-theme="light"] .topbar p,html[data-theme="light"] .logged-user,html[data-theme="light"] .muted{color:#607386}
html[data-theme="light"] .header-link,html[data-theme="light"] button,html[data-theme="light"] .file-btn{background:#f4f8fb;color:#193247;border-color:#c5d4df}
html[data-theme="light"] button.primary,html[data-theme="light"] .primary{background:#1478c9;color:#fff;border-color:#1478c9}
html[data-theme="light"] button.success,html[data-theme="light"] .success{background:#19794c;color:#fff;border-color:#19794c}
html[data-theme="light"] button.danger,html[data-theme="light"] .danger{background:#a73540;color:#fff;border-color:#a73540}
html[data-theme="light"] .danger-outline{background:#fff4f5;color:#a32935;border-color:#e5aab0}
html[data-theme="light"] #nav.timx-v2-sidebar{background:#f7fafc;border-color:#cbd7e2}html[data-theme="light"] .timx-v2-sidebar-head{background:linear-gradient(135deg,#ffffff,#eef4f8);border-color:#d4dfe8}html[data-theme="light"] .timx-v2-sidebar-head strong{color:#183247}html[data-theme="light"] .timx-v2-sidebar-head small{color:#6e8293}html[data-theme="light"] .timx-v2-sidebar-head>button{background:#e7f0f7;color:#37566d}html[data-theme="light"] .timx-v2-nav-group>summary{color:#687e90}html[data-theme="light"] .timx-v2-nav-group>summary:hover{background:#eaf2f8;color:#21445e}html[data-theme="light"] .timx-v2-nav-group>summary small{background:#e5edf4;color:#567086}html[data-theme="light"] #nav .timx-v2-nav-item{color:#35546b!important}html[data-theme="light"] #nav .timx-v2-nav-item:hover{background:#e8f2f9!important;color:#143a54!important;border-color:#c1d6e4}html[data-theme="light"] #nav .timx-v2-nav-item.active{background:linear-gradient(90deg,#dceefa,#e9f5fc)!important;color:#0c4d79!important;border-color:#9dc9e4;box-shadow:inset 3px 0 #1786cc}html[data-theme="light"] .timx-v2-nav-icon{background:#e7f1f8;color:#176795}html[data-theme="light"] .timx-v2-nav-item.active .timx-v2-nav-icon{background:#1786cc;color:#fff}html[data-theme="light"] .timx-v2-system-group,html[data-theme="light"] .timx-v2-sidebar-foot{border-color:#d4dfe8}html[data-theme="light"] .timx-v2-sidebar-foot{background:#eef4f8;color:#5f7486}
html[data-theme="light"] .card,html[data-theme="light"] .stat,html[data-theme="light"] .auth-card{background:rgba(255,255,255,.97);border-color:#cbd7e2;box-shadow:0 10px 28px #263d5014}
html[data-theme="light"] th{background:#e6eef5;color:#183247}html[data-theme="light"] th,html[data-theme="light"] td{border-color:#d5e0e8}html[data-theme="light"] tr:hover td{background:#f1f6fa}
html[data-theme="light"] td input,html[data-theme="light"] td select,html[data-theme="light"] td textarea,html[data-theme="light"] .modal input,html[data-theme="light"] .modal select,html[data-theme="light"] .modal textarea,html[data-theme="light"] .search,html[data-theme="light"] .mobile-native-select{background:#fff;color:#183247;border-color:#bdccd8}
html[data-theme="light"] .modal{background:#fff;border-color:#cbd7e2;color:#183247}html[data-theme="light"] .combo-hint{background:#f1f6fa;border-color:#d5e0e8;color:#526b7e}html[data-theme="light"] input[type="datetime-local"]{color-scheme:light}
html[data-theme="light"] .toolbar .muted,html[data-theme="light"] .form-grid label{color:#607386}
/* TV és mágnesfal továbbra is saját, magas kontrasztú megjelenést kap világos témában is. */
html[data-theme="light"] .tv,html[data-theme="light"] .magnet-board-page{color:#eef6ff}

@media(max-width:900px){
 body.timx-v2-shell{display:block}
 #nav.timx-v2-sidebar{position:fixed!important;top:0!important;left:-310px;width:min(305px,88vw)!important;height:100dvh!important;max-height:100dvh!important;z-index:100000;box-shadow:18px 0 45px #0007;transition:left .2s ease;overflow:hidden!important}
 body.mobile-nav-open #nav.timx-v2-sidebar{left:0}
 .timx-v2-sidebar-head{display:none}.timx-v2-nav-scroll{padding-top:6px}.timx-v2-sidebar-foot{padding-bottom:max(10px,env(safe-area-inset-bottom))}
 .mobile-nav-head{display:flex!important;align-items:center;justify-content:space-between;padding:14px 15px;background:#0c2033;border-bottom:1px solid #28445e;color:#fff}.mobile-nav-head button{padding:5px 9px}
 html[data-theme="light"] .mobile-nav-head{background:#e8f1f7;color:#183247;border-color:#cbd7e2}
 body.timx-v2-sidebar-collapsed .timx-v2-nav-label,body.timx-v2-sidebar-collapsed .timx-v2-nav-group>summary span:not(.timx-v2-group-icon),body.timx-v2-sidebar-collapsed .timx-v2-nav-group>summary small,body.timx-v2-sidebar-collapsed .timx-v2-nav-group>summary b{display:initial}
 body.timx-v2-sidebar-collapsed .timx-v2-nav-group>summary{display:grid;grid-template-columns:25px minmax(0,1fr) auto 18px;justify-items:stretch;padding:9px 8px}
 body.timx-v2-sidebar-collapsed #nav .timx-v2-nav-item{display:grid;grid-template-columns:34px minmax(0,1fr);justify-items:stretch;padding:7px 9px!important}
}
/* A korábbi 1080p vízszintes navbar-szabályainak célzott felülírása az új asztali oldalsávon. */
@media(min-width:901px){
 #nav.timx-v2-sidebar{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;align-content:stretch!important;gap:0!important;padding:0!important;overflow:hidden!important;overflow-x:hidden!important;overflow-y:hidden!important}
 #nav.timx-v2-sidebar .timx-v2-nav-scroll{display:block!important;overflow-y:auto!important;overflow-x:hidden!important}
 #nav.timx-v2-sidebar .timx-v2-nav-group>div{display:grid!important}
 #nav.timx-v2-sidebar .timx-v2-nav-item{width:100%!important;max-width:100%!important;flex:none!important;white-space:normal!important;line-height:1.2!important;border-radius:10px!important}
}

/* ===== TIMX 6.2.0 – világos téma finomhangolás + egységes fuvarűrlap ===== */
html[data-theme="light"] body.timx-v2-shell{background:#eef4f8!important;color:#182b3c!important}
html[data-theme="light"] main{background:linear-gradient(180deg,#f6f9fc 0,#edf3f7 100%)}
html[data-theme="light"] .toolbar h2,html[data-theme="light"] .toolbar h3,html[data-theme="light"] .card h3{color:#172b3d}
html[data-theme="light"] .table-wrap{background:#fff;border-color:#c9d7e2}
html[data-theme="light"] .table-wrap td{color:#203547;background-color:#fff}
html[data-theme="light"] .table-wrap tr:nth-child(even) td{background-color:#fbfdff}
html[data-theme="light"] .table-wrap tr.import-assigned-row td{background:#dceee6!important;color:#18392b!important}
html[data-theme="light"] .table-wrap tr.today-unload-row td{background:#e5f3ec!important;color:#18392b!important}
html[data-theme="light"] .table-wrap tr.tomorrow-unload-row td{background:#fff6d7!important;color:#493800!important}
html[data-theme="light"] .table-wrap tr.overdue-unload-row td{background:#ffe3e5!important;color:#5b1e24!important}
html[data-theme="light"] .route-compact,html[data-theme="light"] .timx-r9-route-name,html[data-theme="light"] .timx-route-origin,html[data-theme="light"] .timx-route-stop,html[data-theme="light"] .timx-r9-route-node{color:#1c3447!important}
html[data-theme="light"] .timx-r9-route-time,html[data-theme="light"] .timx-route-stop-time{color:#a26b00!important}
html[data-theme="light"] .status-pill.s-blue{background:#d8eafb;color:#15557e}html[data-theme="light"] .status-pill.s-green{background:#d9efe5;color:#15633f}html[data-theme="light"] .status-pill.s-orange{background:#ffe6d4;color:#8b461a}html[data-theme="light"] .status-pill.s-yellow{background:#fff1c9;color:#745800}html[data-theme="light"] .status-pill.s-red{background:#f8d9dd;color:#8b2530}
html[data-theme="light"] .topbar .timx360-global-search input{background:#fff!important;color:#162d40!important;border-color:#bdccd8!important}
body.timx-v2-shell .top-actions>a[href="users.php"],body.timx-v2-shell .top-actions>a[href="audit.php"],body.timx-v2-shell .top-actions>a[href="diagnostics.php"],body.timx-v2-shell .top-actions>a[href="backup.php"],body.timx-v2-shell .top-actions>a[href="live_update.php"]{display:none!important}
body.timx-v2-shell .top-actions{margin-left:auto;align-items:center;gap:7px}.topbar .logged-user{white-space:nowrap}.topbar .timx-theme-toggle{min-width:88px}

html[data-theme="light"] .tv{background:#edf3f7!important;color:#183247!important}
html[data-theme="light"] .tv .tv-toolbar{background:transparent!important}html[data-theme="light"] .tv .tv-toolbar h2{color:#172b3d!important}html[data-theme="light"] .tv .tv-toolbar .muted{color:#61778a!important}
html[data-theme="light"] .tv-panel{background:#fff!important;border-color:#9eb5c6!important;box-shadow:0 8px 22px #23415a18}
html[data-theme="light"] .tv-table th{background:#dce7ef!important;color:#15334a!important;border-color:#bdccd8!important}
html[data-theme="light"] .tv-table td{background:#fff!important;color:#1b3448!important;border-color:#cdd9e2!important}
html[data-theme="light"] .tv-table tr:nth-child(even) td{background:#f6f9fb!important}
html[data-theme="light"] .tv-table tr.import-assigned-row td{background:#d9eee4!important;color:#17382a!important}
html[data-theme="light"] .tv-table tr.tomorrow-unload-row td{background:#fff0bf!important;color:#4d3900!important}
html[data-theme="light"] .tv-table tr.overdue-unload-row td{background:#ffdfe2!important;color:#602029!important}
html[data-theme="light"] .tv .route-compact,html[data-theme="light"] .tv .timx-r9-route-name,html[data-theme="light"] .tv .timx-route-origin,html[data-theme="light"] .tv .timx-route-stop{color:#183247!important}
html[data-theme="light"] .tv-view-switcher{background:#e7eef4!important;border-color:#c2d0da!important}html[data-theme="light"] .tv-view-switcher button{background:#fff!important;color:#234057!important;border-color:#becdd8!important}html[data-theme="light"] .tv-view-switcher button.active{background:#1d78b8!important;color:#fff!important;border-color:#1d78b8!important}
html[data-theme="light"] .tv-title.colo{background:#1b6798!important;color:#fff!important}html[data-theme="light"] .tv-title.export{background:#97501f!important;color:#fff!important}html[data-theme="light"] .tv-title.domestic{background:#217552!important;color:#fff!important}html[data-theme="light"] .tv-title.technical{background:#8d3944!important;color:#fff!important}
html[data-theme="light"] body.tv-fullscreen,html[data-theme="light"] body.tv-mobile-fullscreen{background:#edf3f7!important}

.timx620-freight-modal{width:min(1240px,96vw)!important;max-height:94vh!important;padding:20px!important}
.timx620-idbar{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:10px;align-items:center;margin:10px 0 14px;padding:10px 12px;border:1px solid #31516c;background:#0b1a2a;border-radius:12px}.timx620-idbar>div{display:flex;flex-direction:column;min-width:0}.timx620-idbar small{font-size:9px;color:#8ca6bc;font-weight:900;letter-spacing:.08em}.timx620-idbar strong,.timx620-idbar span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#e5f3ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timx620-idbar em{font-style:normal;font-size:10px;font-weight:900;color:#ffcf66;background:#5a4314;border-radius:999px;padding:6px 9px;white-space:nowrap}
.timx620-unified-editor{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}.timx620-editor-section{border:1px solid #2c4963;border-radius:14px;background:#0b1827;overflow:hidden}.timx620-editor-section>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;background:#11263b;border-bottom:1px solid #2c4963}.timx620-editor-section>header h3{margin:0;font-size:14px;letter-spacing:.03em}.timx620-editor-section>header p{margin:3px 0 0;color:#8ea6ba;font-size:10px}.timx620-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.timx620-section-grid label{min-width:0;color:#a9bdcc;font-size:11px}.timx620-section-grid label>span{display:block;margin-bottom:5px;font-weight:800}.timx620-editor-section.export-business,.timx620-editor-section.import-business{border-color:#326987}.timx620-editor-section.export-business>header,.timx620-editor-section.import-business>header{background:linear-gradient(135deg,#12314a,#10273b)}.timx620-editor-section.prepull{border-color:#805d1c}.timx620-editor-section.prepull>header{background:#3c3015}.timx620-editor-section.status{grid-column:1/-1}.timx620-editor-section.extra{grid-column:1/-1}.timx620-copy-btn{font-size:10px;padding:6px 9px;white-space:nowrap}.timx620-required>span::after{content:' KÖTELEZŐ';font-size:8px;margin-left:5px;padding:2px 5px;border-radius:999px;background:#6b2430;color:#ffdfe3}.timx620-missing input,.timx620-missing select,.timx620-missing textarea,.timx620-missing .combo-wrap input{border-color:#ff4d5b!important;box-shadow:0 0 0 2px #ff4d5b22!important}.timx620-id-chip{display:inline-flex;margin:0 0 4px;padding:2px 6px;border-radius:999px;background:#173e5e;color:#9ed8ff;font:800 9px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace}.timx620-route-with-id{display:flex;flex-direction:column;align-items:flex-start}
html[data-theme="light"] .timx620-idbar{background:#edf5fa;border-color:#b8cfdf}html[data-theme="light"] .timx620-idbar small{color:#6c8192}html[data-theme="light"] .timx620-idbar strong,html[data-theme="light"] .timx620-idbar span{color:#17384e}html[data-theme="light"] .timx620-idbar em{background:#fff0bd;color:#644a00}
html[data-theme="light"] .timx620-editor-section{background:#fff;border-color:#c8d8e3}html[data-theme="light"] .timx620-editor-section>header{background:#edf4f8;border-color:#c8d8e3}html[data-theme="light"] .timx620-editor-section>header h3{color:#17364d}html[data-theme="light"] .timx620-editor-section>header p{color:#60798c}html[data-theme="light"] .timx620-section-grid label{color:#4f687b}html[data-theme="light"] .timx620-editor-section.export-business>header,html[data-theme="light"] .timx620-editor-section.import-business>header{background:#e3f0f8}html[data-theme="light"] .timx620-editor-section.prepull>header{background:#fff5d8}html[data-theme="light"] .timx620-required>span::after{background:#ffe0e3;color:#9c2732}html[data-theme="light"] .timx620-id-chip{background:#dceefa;color:#13547e}
@media(max-width:900px){.timx620-unified-editor{grid-template-columns:1fr}.timx620-editor-section.status,.timx620-editor-section.extra{grid-column:auto}.timx620-idbar{grid-template-columns:1fr 1fr}.timx620-idbar em{grid-column:1/-1}.timx620-section-grid{grid-template-columns:1fr}}

/* ===== TIMX 6.3.0 – VILÁGOS TÉMA 3.0 + ÁTÁLLÓ + TÖBBSZAKASZOS BELFÖLD ===== */
/* Világos mód: fehér / semleges felületek, sötét tipográfia. A funkcionális színek csak jelzésként maradnak. */
html[data-theme="light"]{--bg:#f3f5f7;--panel:#ffffff;--panel2:#f7f8fa;--line:#d4dbe1;--text:#17212b;--muted:#5d6a75;--blue:#34495a;--green:#2f6b4f;--yellow:#8a6a12;--orange:#925325;--red:#a13642;--gray:#63717c}
html[data-theme="light"] body,
html[data-theme="light"] body.timx-v2-shell{background:#f3f5f7!important;color:#17212b!important}
html[data-theme="light"] main{background:#f6f7f9!important;color:#17212b!important}
html[data-theme="light"] h1,html[data-theme="light"] h2,html[data-theme="light"] h3,html[data-theme="light"] h4,html[data-theme="light"] h5,html[data-theme="light"] h6{color:#17212b}
html[data-theme="light"] .muted,html[data-theme="light"] small{color:#65727d}
html[data-theme="light"] .topbar{background:#fff!important;border-color:#d7dde3!important;box-shadow:0 2px 10px #17212b0d!important}
html[data-theme="light"] .topbar input,html[data-theme="light"] .topbar .search,html[data-theme="light"] .topbar .timx360-global-search input{background:#fff!important;color:#17212b!important;border-color:#cbd4dc!important;box-shadow:none!important}
html[data-theme="light"] .topbar input::placeholder{color:#7a8791!important}
html[data-theme="light"] .topbar .logged-user,html[data-theme="light"] .topbar p{color:#596671!important}
html[data-theme="light"] button,html[data-theme="light"] .file-btn,html[data-theme="light"] .header-link{background:#f7f8fa!important;color:#25323d!important;border-color:#cbd4dc!important;box-shadow:none}
html[data-theme="light"] button:hover,html[data-theme="light"] .file-btn:hover,html[data-theme="light"] .header-link:hover{background:#edf0f3!important;color:#111a22!important;filter:none}
html[data-theme="light"] button.primary,html[data-theme="light"] .primary{background:#293a47!important;color:#fff!important;border-color:#293a47!important}
html[data-theme="light"] button.success,html[data-theme="light"] .success{background:#e4f2ea!important;color:#245c43!important;border-color:#9bcbb1!important}
html[data-theme="light"] button.danger,html[data-theme="light"] .danger{background:#f7e4e7!important;color:#8f2f3a!important;border-color:#dda7ae!important}
html[data-theme="light"] .danger-outline{background:#fff!important;color:#94313d!important;border-color:#d8a5ac!important}
html[data-theme="light"] .search,html[data-theme="light"] input,html[data-theme="light"] select,html[data-theme="light"] textarea,html[data-theme="light"] option,
html[data-theme="light"] td input,html[data-theme="light"] td select,html[data-theme="light"] td textarea,
html[data-theme="light"] .modal input,html[data-theme="light"] .modal select,html[data-theme="light"] .modal textarea{background:#fff!important;color:#17212b!important;border-color:#cbd4dc!important}
html[data-theme="light"] input::placeholder,html[data-theme="light"] textarea::placeholder{color:#7c8790!important}
html[data-theme="light"] input:focus,html[data-theme="light"] select:focus,html[data-theme="light"] textarea:focus{border-color:#8796a2!important;box-shadow:0 0 0 2px #8796a21f!important;outline:none}
html[data-theme="light"] .combo-hint{background:#f7f8fa!important;color:#53616d!important;border-color:#d6dde3!important}
html[data-theme="light"] .modal{background:#fff!important;color:#17212b!important;border-color:#ccd5dc!important;box-shadow:0 20px 55px #1e2b351f!important}
html[data-theme="light"] .modal-backdrop{background:#27333d55!important}
html[data-theme="light"] .modal-actions{background:#fff!important;border-color:#d8dee4!important}
html[data-theme="light"] .form-grid label,html[data-theme="light"] .modal label{color:#4e5d68!important}

/* Táblák: a kiemelt sorokban is sötét szöveg marad. */
html[data-theme="light"] .table-wrap,html[data-theme="light"] .card.table-wrap{background:#fff!important;border-color:#d3dbe2!important;box-shadow:0 8px 22px #25333f0c!important}
html[data-theme="light"] th{background:#edf0f3!important;color:#25323d!important;border-color:#d5dde3!important}
html[data-theme="light"] td{border-color:#dce2e7!important}
html[data-theme="light"] .table-wrap td,html[data-theme="light"] .table-wrap td strong,html[data-theme="light"] .table-wrap td b,
html[data-theme="light"] .table-wrap .route-compact,html[data-theme="light"] .table-wrap .timx-route-origin,html[data-theme="light"] .table-wrap .timx-route-stop,
html[data-theme="light"] .table-wrap .timx-r9-route-name,html[data-theme="light"] .table-wrap .timx-r9-route-node{color:#202d37!important}
html[data-theme="light"] .table-wrap td small,html[data-theme="light"] .table-wrap .driver-fullname{color:#5e6d78!important}
html[data-theme="light"] .table-wrap tr:hover td{filter:none;background-color:#f4f6f8!important}
html[data-theme="light"] .table-wrap tr.import-assigned-row td,html[data-theme="light"] .table-wrap tr.today-unload-row td{background:#e7f2ec!important;color:#1e382c!important}
html[data-theme="light"] .table-wrap tr.tomorrow-unload-row td{background:#fff6d9!important;color:#493b15!important}
html[data-theme="light"] .table-wrap tr.overdue-unload-row td{background:#fbe8ea!important;color:#57242a!important}
html[data-theme="light"] .status-pill.s-blue{background:#e7ecef!important;color:#31414d!important}
html[data-theme="light"] .status-pill.s-gray{background:#eceff1!important;color:#4f5d68!important}
html[data-theme="light"] .driver-mono-preview,html[data-theme="light"] .person-mono{background:#e6ebef!important;color:#2d3b46!important}
html[data-theme="light"] .timx620-id-chip{background:#edf0f3!important;color:#33434f!important;border:1px solid #d3dbe1}

/* Bal oldali menü: világos módban nincs sötétkék panel. */
html[data-theme="light"] #nav.timx-v2-sidebar{background:#fff!important;border-color:#d6dde3!important}
html[data-theme="light"] .timx-v2-sidebar-head{background:#fff!important;border-color:#d9e0e5!important}
html[data-theme="light"] .timx-v2-logo{background:#e8ebef!important;color:#263640!important;box-shadow:none!important}
html[data-theme="light"] .timx-v2-sidebar-head>button{background:#f0f2f4!important;color:#3f4d58!important}
html[data-theme="light"] .timx-v2-nav-group>summary{color:#66737d!important}
html[data-theme="light"] .timx-v2-nav-group>summary:hover{background:#f2f4f6!important;color:#28353f!important}
html[data-theme="light"] .timx-v2-nav-group>summary small{background:#eef1f3!important;color:#5d6973!important}
html[data-theme="light"] #nav .timx-v2-nav-item{color:#36444f!important}
html[data-theme="light"] #nav .timx-v2-nav-item:hover{background:#f1f3f5!important;color:#17212b!important;border-color:#d7dee4!important}
html[data-theme="light"] #nav .timx-v2-nav-item.active{background:#e9edf0!important;color:#17212b!important;border-color:#c9d2d9!important;box-shadow:inset 3px 0 #687986!important}
html[data-theme="light"] .timx-v2-nav-icon,html[data-theme="light"] .timx-v2-nav-item.active .timx-v2-nav-icon{background:#e5e9ec!important;color:#34434e!important}
html[data-theme="light"] .timx-v2-sidebar-foot{background:#f6f7f8!important;color:#66737d!important;border-color:#d8dfe4!important}
html[data-theme="light"] .timx-v2-gps-link{border-color:#cfd7de!important}

/* Vezetői áttekintés és napi aktivitás. */
html[data-theme="light"] .akos-head,html[data-theme="light"] .akos-metric,html[data-theme="light"] .akos-source,html[data-theme="light"] .akos-box,
html[data-theme="light"] .akos-week-leave,html[data-theme="light"] .akos-live-lastwork,html[data-theme="light"] .akos-daily-activity-group,
html[data-theme="light"] .akos-daily-activity-card,html[data-theme="light"] .akos-daily-activity-grid>div{background:#fff!important;border-color:#d3dbe2!important;color:#17212b!important;box-shadow:none!important}
html[data-theme="light"] .akos-head p{color:#52616d!important}html[data-theme="light"] .akos-head h2{color:#17212b!important}html[data-theme="light"] .akos-head span{color:#64727d!important}
html[data-theme="light"] .akos-metric>strong,html[data-theme="light"] .akos-metric>span{color:#25323c!important}
html[data-theme="light"] .akos-detail{color:#34424d!important;border-color:#dce2e7!important}
html[data-theme="light"] .akos-row{background:#f7f8fa!important;border-color:#d8dfe5!important;color:#25323c!important}
html[data-theme="light"] .akos-row>span,html[data-theme="light"] .akos-row div small{color:#5c6974!important}
html[data-theme="light"] .akos-box h3,html[data-theme="light"] .akos-tractor-group h4,html[data-theme="light"] .akos-daily-group-head{background:#eef1f3!important;color:#25323c!important;border-color:#d6dde3!important}
html[data-theme="light"] .akos-daily-group-head b,html[data-theme="light"] .akos-daily-activity-head span,html[data-theme="light"] .akos-daily-idle,html[data-theme="light"] .akos-daily-state{background:#e3e8ec!important;color:#31414c!important}
html[data-theme="light"] .akos-daily-summary{color:#25323c!important;background:#fff!important}
html[data-theme="light"] .akos-daily-summary:hover{background:#f4f6f8!important}
html[data-theme="light"] .akos-daily-main small,html[data-theme="light"] .akos-daily-summary-event{color:#5d6a75!important}
html[data-theme="light"] .danger-group .akos-daily-group-head{background:#f6e4e7!important;color:#7d2933!important}
html[data-theme="light"] .leave-group .akos-daily-group-head{background:#f0edf5!important;color:#544366!important}
html[data-theme="light"] .akos-alert.tech{background:#f2f4f6!important;color:#2e3b45!important;border-color:#cfd8df!important}
html[data-theme="light"] .akos-alert.warning{background:#fff6df!important;color:#5d4915!important}
html[data-theme="light"] .akos-alert{background:#f9e8ea!important;color:#672b32!important}

/* Műszaki, flotta, helyszínek, feladatoldalak. */
html[data-theme="light"] .stat,html[data-theme="light"] .location-item,html[data-theme="light"] .fleet-category-group,html[data-theme="light"] .fleet-category-items,
html[data-theme="light"] .timx250-ops-columns>section,html[data-theme="light"] .timx250-next-groups>section,html[data-theme="light"] .timx250-resource-section,
html[data-theme="light"] .timx250-resource-groups>section,html[data-theme="light"] .timx250-availability-card,html[data-theme="light"] .timx260-section,
html[data-theme="light"] .fixed-job-card,html[data-theme="light"] .live217-work-section,html[data-theme="light"] .free-domestic,
html[data-theme="light"] .technical-expiry-card,html[data-theme="light"] .timx60-availability-card,html[data-theme="light"] .timx60-aetr-card,
html[data-theme="light"] .timx60-aetr-grid span,html[data-theme="light"] .timx60-aetr-details,html[data-theme="light"] .timx60-detail-sections section,
html[data-theme="light"] .timx60-mapping-list>div,html[data-theme="light"] .timx605-trailer-group{background:#fff!important;color:#17212b!important;border-color:#d5dde3!important;box-shadow:none!important}
html[data-theme="light"] .fleet-category-group>summary,html[data-theme="light"] .fleet-col h3,html[data-theme="light"] .fleet-main-summary,
html[data-theme="light"] .timx250-ops-columns h3,html[data-theme="light"] .timx250-next-groups h3,html[data-theme="light"] .timx260-heading,
html[data-theme="light"] .timx260-section>header,html[data-theme="light"] .technical-expiry-card>header{background:#edf0f3!important;color:#26343f!important;border-color:#d3dbe2!important}
html[data-theme="light"] .location-item small,html[data-theme="light"] .timx250-ops-row small{color:#64717c!important}
html[data-theme="light"] .driver-live-status,html[data-theme="light"] .driver-mobile-status,html[data-theme="light"] .driver-status-strip{background:#eceff2!important;color:#33414c!important}
html[data-theme="light"] .timx52-resource-chip{background:#f2f4f6!important;color:#24323c!important;border-color:#d4dce2!important}
html[data-theme="light"] .timx52-resource-chip b{color:#17212b!important}html[data-theme="light"] .timx52-resource-chip small{color:#65727c!important}
html[data-theme="light"] .timx52-special-tasks,html[data-theme="light"] .timx52-soon-trailers{background:#fff!important;color:#17212b!important;border-color:#d5dde3!important}

/* Bér, admin, audit és egyéb nyilvántartások. */
html[data-theme="light"] .payroll-wrap,html[data-theme="light"] .special-timeline-wrap,html[data-theme="light"] .payroll-table{background:#fff!important;color:#17212b!important;border-color:#d4dce2!important}
html[data-theme="light"] .payroll-table thead th,html[data-theme="light"] .payroll-table .pay-date,html[data-theme="light"] .payroll-table .pay-day{background:#edf0f3!important;color:#26343f!important}
html[data-theme="light"] .payroll-table td,html[data-theme="light"] .payroll-table tbody tr:nth-child(odd) td:not(.pay-money):not(.pay-leave):not(.pay-sick):not(.pay-code),html[data-theme="light"] .payroll-table tbody tr:nth-child(even) td:not(.pay-money):not(.pay-leave):not(.pay-sick):not(.pay-code){background:#fff!important;color:#25323c!important}
html[data-theme="light"] .payroll-table tr.weekend th,html[data-theme="light"] .payroll-table tr.weekend td{background:#f1f2f4!important;color:#25323c!important}
html[data-theme="light"] .payroll-table td.pay-money{background:#e7f2eb!important;color:#24583f!important}
html[data-theme="light"] .payroll-table td.pay-code{background:#eef1f3!important;color:#3b4b57!important}
html[data-theme="light"] .payroll-tabs button{background:#f1f3f5!important;color:#34424d!important}html[data-theme="light"] .payroll-tabs button.active{background:#dfe5e9!important;color:#1f2c36!important;border-color:#bfcbd4!important}
html[data-theme="light"] .admin-user-panel,html[data-theme="light"] .permission-masterbar,html[data-theme="light"] .permission-group,html[data-theme="light"] .role-user-group,
html[data-theme="light"] .audit-card,html[data-theme="light"] .audit-notice{background:#fff!important;color:#17212b!important;border-color:#d5dde3!important}
html[data-theme="light"] .admin-user-panel>summary,html[data-theme="light"] .permission-group summary,html[data-theme="light"] .role-user-group>summary,html[data-theme="light"] .audit-card>header{background:#edf0f3!important;color:#26343f!important}

/* Mágnesfal eleve világos táblafelület; a segédpanelek is legyenek világosak. */
html[data-theme="light"] .magnet-board-page{color:#17212b!important}
html[data-theme="light"] .magnet-toolbar,html[data-theme="light"] .magnet-resource-pool details,html[data-theme="light"] .magnet-editor-sections fieldset{background:#fff!important;color:#17212b!important;border-color:#b9c4cc!important}
html[data-theme="light"] .magnet-resource-pool summary{background:#e9edf0!important;color:#25323c!important}
html[data-theme="light"] .magnet-context-menu{background:#fff!important;color:#17212b!important;border-color:#bcc7cf!important}
html[data-theme="light"] .magnet-context-menu button{color:#25323c!important}html[data-theme="light"] .magnet-context-menu button:hover{background:#eef1f3!important}

/* TV Display: a szekciószínek világos árnyalatot kapnak, sötét szöveggel. */
html[data-theme="light"] .tv{background:#f3f5f7!important;color:#17212b!important}
html[data-theme="light"] .tv-panel,html[data-theme="light"] .tv-fleet-group{background:#fff!important;border-color:#cbd5dc!important;color:#17212b!important;box-shadow:none!important}
html[data-theme="light"] .tv-title{background:#e9edf0!important;color:#25323c!important;border-bottom:1px solid #cbd5dc!important}
html[data-theme="light"] .tv-title.colo{background:#e6f0f5!important;color:#254657!important;border-bottom-color:#8fb4c6!important}
html[data-theme="light"] .tv-title.export{background:#f5ece4!important;color:#684526!important;border-bottom-color:#c6a27f!important}
html[data-theme="light"] .tv-title.domestic{background:#e8f3ed!important;color:#2f5a43!important;border-bottom-color:#95bea6!important}
html[data-theme="light"] .tv-title.technical{background:#f5e8ea!important;color:#71343c!important;border-bottom-color:#c9959c!important}
html[data-theme="light"] .tv-title.fleet{background:#edf0f2!important;color:#34424d!important}
html[data-theme="light"] .tv-table th{background:#edf0f3!important;color:#26343f!important;border-color:#d1d9df!important}
html[data-theme="light"] .tv-table td,html[data-theme="light"] .tv-task-panel tr,html[data-theme="light"] .tv-mode-today tr,html[data-theme="light"] .tv-mode-tomorrow tr{background:#fff!important;color:#202d37!important;border-color:#d9e0e5!important}
html[data-theme="light"] .tv-table tr:nth-child(even) td{background:#f8f9fa!important}
html[data-theme="light"] .tv-table .route-compact,html[data-theme="light"] .tv-table .timx-route-origin,html[data-theme="light"] .tv-table .timx-route-stop,html[data-theme="light"] .tv-table strong{color:#202d37!important}
html[data-theme="light"] .tv-view-switcher,html[data-theme="light"] .tv-page-controls{background:#f1f3f5!important;border-color:#d2dae0!important}
html[data-theme="light"] .tv-view-switcher button,html[data-theme="light"] .tv-page-controls button{background:#fff!important;color:#33414c!important;border-color:#c9d2d9!important}
html[data-theme="light"] .tv-view-switcher button.active{background:#dfe5e9!important;color:#1e2b35!important;border-color:#aebcc6!important}
html[data-theme="light"] .tv-fleet-list>span,html[data-theme="light"] .tv-corner-label,html[data-theme="light"] .tv-note{background:#eef1f3!important;color:#34424d!important;border-color:#cbd4db!important}
html[data-theme="light"] body.tv-fullscreen,html[data-theme="light"] body.tv-mobile-fullscreen,html[data-theme="light"] #app:fullscreen,html[data-theme="light"] #app:-webkit-full-screen{background:#f3f5f7!important}

/* Egységes fuvarűrlap: export / előhúzás / átálló / import páros sorok. */
.timx630-deadhead{border-color:#705f3c!important}.timx630-deadhead>header{background:#2f2a1f!important}.timx630-deadhead-summary{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;align-items:center;margin:0 12px 12px;padding:9px 11px;border:1px dashed #806c3f;border-radius:9px;background:#211d15;color:#f5e7bf;font-size:11px}.timx630-deadhead-summary b{font-size:10px;letter-spacing:.05em}.timx630-deadhead-summary[hidden]{display:none!important}
.timx630-domestic-routes{grid-column:1/-1;border-color:#42665c!important}.timx630-domestic-routes>header{background:#17352f!important}.timx630-master-toggle{display:flex!important;align-items:center!important;gap:7px!important;white-space:nowrap!important;color:#d9f3e9!important;font-size:11px!important}.timx630-master-toggle input{width:auto!important}.timx630-master-toggle span{margin:0!important}.timx630-domestic-meta{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:10px;align-items:end;padding:12px 12px 7px}.timx630-domestic-meta label{color:#a9bdcc;font-size:11px}.timx630-domestic-meta label>span{display:block;margin-bottom:5px;font-weight:800}.timx630-segment-head,.timx630-segment-row{display:grid;grid-template-columns:52px minmax(130px,1.25fr) minmax(130px,1.25fr) 85px 100px 110px 110px 38px;gap:7px;align-items:end}.timx630-segment-head{padding:5px 12px;color:#8299aa;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.timx630-segment-row{padding:8px 12px;border-top:1px solid #26483f}.timx630-segment-row label{min-width:0;color:#a9bdcc;font-size:10px}.timx630-segment-row label>span{display:block;margin-bottom:4px;font-weight:800}.timx630-segment-row input{width:100%}.timx630-segment-order{display:flex;gap:3px}.timx630-segment-order button{padding:5px 6px;min-width:22px}.timx630-segment-delete{padding:6px 9px!important}.timx630-domestic-totals{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:10px 12px 12px;border-top:1px solid #26483f}.timx630-domestic-totals span{background:#102b26;border:1px solid #315b50;border-radius:999px;padding:5px 9px;font-size:10px;color:#cfe8df}.timx630-domestic-totals b{color:#fff}.timx630-calculated{background:#0f2630!important;border-style:dashed!important}
html[data-theme="light"] .timx630-deadhead{border-color:#d7c8a9!important}html[data-theme="light"] .timx630-deadhead>header{background:#f5f0e7!important;color:#3f382c!important}html[data-theme="light"] .timx630-deadhead>header h3{color:#3f382c!important}html[data-theme="light"] .timx630-deadhead>header p{color:#6f6658!important}
html[data-theme="light"] .timx630-deadhead-summary{background:#faf7f1!important;color:#443d32!important;border-color:#d9c9aa!important}
html[data-theme="light"] .timx630-domestic-routes{background:#fff!important;border-color:#c9d9d2!important}html[data-theme="light"] .timx630-domestic-routes>header{background:#eef4f1!important;border-color:#c9d9d2!important}html[data-theme="light"] .timx630-domestic-routes>header h3{color:#29483c!important}html[data-theme="light"] .timx630-domestic-routes>header p{color:#60746b!important}
html[data-theme="light"] .timx630-master-toggle{color:#2e4f42!important}html[data-theme="light"] .timx630-segment-head{color:#67756f!important}html[data-theme="light"] .timx630-segment-row{border-color:#e0e6e3!important}html[data-theme="light"] .timx630-segment-row label,html[data-theme="light"] .timx630-domestic-meta label{color:#4d5e56!important}
html[data-theme="light"] .timx630-domestic-totals{border-color:#e0e6e3!important}html[data-theme="light"] .timx630-domestic-totals span{background:#f0f4f2!important;color:#31483e!important;border-color:#cbd8d2!important}html[data-theme="light"] .timx630-domestic-totals b{color:#21352d!important}html[data-theme="light"] .timx630-calculated{background:#f4f6f7!important;color:#26343f!important}
html[data-theme="light"] .timx620-editor-section.export-business>header,html[data-theme="light"] .timx620-editor-section.import-business>header{background:#eef1f3!important}html[data-theme="light"] .timx620-editor-section.prepull>header{background:#f7f2e8!important}

@media(max-width:1100px){.timx630-segment-head{display:none}.timx630-segment-row{grid-template-columns:44px repeat(2,minmax(145px,1fr));}.timx630-segment-row label:nth-of-type(n+3){grid-column:auto}.timx630-segment-delete{align-self:end}.timx630-deadhead-summary{grid-template-columns:1fr 1fr}.timx630-domestic-meta{grid-template-columns:1fr}}
@media(max-width:700px){.timx630-segment-row{grid-template-columns:1fr 1fr}.timx630-segment-order{grid-column:1/-1}.timx630-segment-delete{grid-column:1/-1}.timx630-deadhead-summary{grid-template-columns:1fr}.timx630-domestic-totals{justify-content:flex-start}}
html[data-theme="light"] .timx630-segment-missing{border-color:#d83b48!important;box-shadow:0 0 0 2px #d83b481f!important}
/* A még külön sötét témára rajzolt modulok sem maradhatnak kék panelek világos nézetben. */
html[data-theme="light"] :is(.timx360-tabs,.timx360-content,.timx370-status-dock,.timx386-category,.timx386-state,.timx386-card,.timx400-stops-card,#modal .timx405-unload-section,#modal .timx405-extra-row,#modal .timx405-add-check,.timx-rc5-driver-leaves,.timx-rc5-leave-column,.timx-rc5-leave-driver,.timx60-aetr-search,.timx60-advice,.timx60-inline-issues span,.timx605-resource-card){background:#fff!important;color:#17212b!important;border-color:#d4dce2!important;box-shadow:none!important}
html[data-theme="light"] :is(.timx386-category>h2,.timx386-state>h3,.timx370-context-title,.timx373-assignment-section>h4,.timx380-section h4,.timx-rc5-leave-column>h3,.timx605-trailer-group h4){background:#edf0f3!important;color:#26343f!important;border-color:#d3dbe2!important}
html[data-theme="light"] .timx386-card header span,html[data-theme="light"] .timx-rc5-leave-column>h3 span,html[data-theme="light"] .timx605-trailer-group h4 b{background:#e4e8eb!important;color:#35444f!important}
html[data-theme="light"] .timx605-resource-card,html[data-theme="light"] .timx605-resource-card b,html[data-theme="light"] .timx605-resource-card small{color:#26343f!important}
html[data-theme="light"] :is(.timx605-cat-normal-ponyva,.timx605-cat-mega,.timx605-cat-huto,.timx605-cat-nyitott,.timx605-cat-belfoldes-pot,.timx605-cat-trailerberlos,.timx605-cat-egyeb){background:#f3f5f6!important;border-color:#cbd4db!important;color:#26343f!important}
html[data-theme="light"] .timx60-driver-vehicle,html[data-theme="light"] .timx60-driver-vehicle.last{background:#eef1f3!important;color:#33424d!important}
html[data-theme="light"] .timx60-leave-badge{background:#f1edf5!important;color:#59476a!important}

/* ===== TIMX 6.3.1 – VILÁGOS KONTRASZT HOTFIX + BELFÖLD ISMÉTLŐDŐ MÓD ===== */
/* Kiemelt fuvarsorokban a régi fehér/kék tipográfia se tudjon világos témában visszajönni. */
html[data-theme="light"] .table-wrap :is(.tomorrow-unload-row,.today-unload-row,.import-assigned-row,.overdue-unload-row) td :is(.route-compact,.timx-route-origin,.timx-route-stop,.timx-r9-route-name,.timx-r9-route-node,.timx-tv11-route-name,.timx-tv13-route-name,.timx16-shuttle-route strong,.timx-shuttle-label,.timx-shuttle-route){color:#202d37!important;-webkit-text-fill-color:#202d37!important}
html[data-theme="light"] .table-wrap :is(.tomorrow-unload-row,.today-unload-row,.import-assigned-row,.overdue-unload-row) td :is(.timx-r9-route-time,.timx-route-stop-time,.timx-tv11-route-date,.timx-tv13-route-date,.tiny-date){color:#795b09!important;-webkit-text-fill-color:#795b09!important}
html[data-theme="light"] .table-wrap td :is(.timx16-shuttle-route strong,.timx-shuttle-label){color:#1f2f3a!important;-webkit-text-fill-color:#1f2f3a!important}
html[data-theme="light"] .table-wrap td :is(.timx16-shuttle-route span,.timx-shuttle-route){color:#70570f!important;-webkit-text-fill-color:#70570f!important}
html[data-theme="light"] .table-wrap .timx14-date-pair,html[data-theme="light"] .table-wrap .timx14-date-pair span{color:#273843!important}
html[data-theme="light"] .table-wrap .timx14-date-pair small{color:#6a7882!important}

/* TV: most csak olvashatósági korrekció; a teljes TV redesign külön verzióban jön. */
html[data-theme="light"] .tv-table td :is(.timx-tv13-route-name,.timx-tv11-route-name,.timx-route-origin,.timx-route-stop,.timx-r9-route-name,.timx16-shuttle-route strong){color:#24323c!important;-webkit-text-fill-color:#24323c!important;text-shadow:none!important}
html[data-theme="light"] .tv-table td :is(.timx-tv13-route-date,.timx-tv11-route-date,.timx-route-stop-time,.timx-r9-route-time){color:#8b6500!important;-webkit-text-fill-color:#8b6500!important;text-shadow:none!important}
html[data-theme="light"] .tv-table tr.import-assigned-row td :is(.timx-tv13-route-name,.timx-tv11-route-name,.timx-route-origin,.timx-route-stop),
html[data-theme="light"] .tv-table tr.tomorrow-unload-row td :is(.timx-tv13-route-name,.timx-tv11-route-name,.timx-route-origin,.timx-route-stop){color:#24323c!important;-webkit-text-fill-color:#24323c!important}

/* Ismétlődő belföldi mód: nincs használható klasszikus import/átálló ág. */
.timx631-recurring-disabled{opacity:.58;pointer-events:none;filter:saturate(.35)}
.timx631-recurring-disabled[hidden]{display:none!important}
.timx620-editor-section.export-business.timx631-domestic-mode>header,
.timx620-editor-section.export-ops.timx631-domestic-mode>header{border-color:#3f6d5c!important}
html[data-theme="light"] .timx631-recurring-disabled{opacity:.45}
html[data-theme="light"] .timx631-shuttle-route strong{color:#1f2f3a!important}
html[data-theme="light"] .timx631-shuttle-route span{color:#70570f!important}

/* ===== TIMX 6.4.0 – ÚTVONAL MEMÓRIA + BEVÉTELMEGOSZTÁS ===== */
.timx640-revenue-share{border-color:#286c9a!important}
.timx640-revenue-share>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.timx640-quick-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.timx640-quick-actions button{font-size:12px;padding:7px 10px}
.timx640-task-rows{display:flex;flex-direction:column;gap:10px;padding:10px 12px 4px}
.timx640-task-row{display:grid;grid-template-columns:110px 170px minmax(145px,1fr) minmax(145px,1fr) 130px 150px 130px 85px 100px 145px 38px;gap:7px;align-items:end;padding:10px;border:1px solid #244963;border-radius:10px;background:#0d2235}
.timx640-task-row label{min-width:0}
.timx640-task-row label>span{display:block;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;margin:0 0 4px;color:#9fb8cc}
.timx640-task-row input,.timx640-task-row select{width:100%;min-width:0}
.timx640-task-share{min-height:42px;border:1px dashed #2a709c;border-radius:8px;padding:6px 8px;display:flex;flex-direction:column;justify-content:center;background:#102b42}
.timx640-task-share span{font-size:9px;text-transform:uppercase;font-weight:800;color:#8fb4cf}
.timx640-task-share strong{font-size:14px;color:#fff}
.timx640-task-delete{height:38px;width:38px;padding:0;font-size:19px}
.timx640-revenue-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px 12px}
.timx640-summary-card{border:1px solid #2b5673;border-radius:10px;padding:10px;background:#10283b}
.timx640-summary-card>strong{display:block;margin-bottom:7px;font-size:13px;letter-spacing:.06em;color:#8ed0ff}
.timx640-summary-card>div{display:flex;justify-content:space-between;gap:12px;padding:3px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.timx640-summary-card>div span{color:#a9bdcc;font-size:11px}.timx640-summary-card>div b{font-size:12px;color:#fff}
.timx640-summary-card small{display:block;margin-top:6px;color:#8ba4b7}.timx640-summary-card.invalid{border-color:#d74444;background:#3a171b}
.timx640-rule-note{margin:0 12px 12px;padding:8px 10px;border-radius:8px;background:#153049;color:#b9d4e7;font-size:11px}
.timx640-route-hint{display:block;margin-top:4px;color:#54b9ec;font-weight:700;font-size:10px}
.timx640-route-memory{margin-top:16px}.timx640-route-memory .toolbar{margin-bottom:10px}.timx640-route-table{min-width:850px}.timx640-route-table td:last-child{text-align:right;white-space:nowrap}

html[data-theme="light"] .timx640-revenue-share{border-color:#9cc5df!important;background:#fff!important}
html[data-theme="light"] .timx640-task-row{background:#f7fafc;border-color:#cbdbe6}
html[data-theme="light"] .timx640-task-row label>span{color:#334b5d}
html[data-theme="light"] .timx640-task-share{background:#edf7fc;border-color:#a9cadc}
html[data-theme="light"] .timx640-task-share span{color:#496b80}
html[data-theme="light"] .timx640-task-share strong{color:#102434}
html[data-theme="light"] .timx640-summary-card{background:#f7fbfd;border-color:#c3d8e4}
html[data-theme="light"] .timx640-summary-card>strong{color:#145d88}
html[data-theme="light"] .timx640-summary-card>div{border-bottom-color:#e1ebf0}
html[data-theme="light"] .timx640-summary-card>div span{color:#425867}
html[data-theme="light"] .timx640-summary-card>div b{color:#122635}
html[data-theme="light"] .timx640-summary-card small{color:#516a79}
html[data-theme="light"] .timx640-summary-card.invalid{background:#fff0f0;border-color:#d75656}
html[data-theme="light"] .timx640-rule-note{background:#eef6fa;color:#29495c}
html[data-theme="light"] .timx640-route-hint{color:#14658e}
html[data-theme="light"] .timx640-route-memory{background:#fff!important;color:#172b39!important}
html[data-theme="light"] .timx640-route-memory .muted{color:#526b7a!important}

@media(max-width:1450px){.timx640-task-row{grid-template-columns:repeat(5,minmax(120px,1fr))}.timx640-task-share{grid-column:span 2}.timx640-task-delete{align-self:end}}
@media(max-width:800px){.timx640-task-row{grid-template-columns:1fr 1fr}.timx640-revenue-summary{grid-template-columns:1fr}.timx640-quick-actions{justify-content:flex-start}.timx640-task-share{grid-column:1/-1}}
.timx640-task-warnings{margin:8px 12px 0;padding:8px 10px;border:1px solid #ae7d1a;border-radius:8px;background:#3b2d10;color:#ffd77a;font-size:11px;font-weight:700}.timx640-task-warnings>div+div{margin-top:4px}
html[data-theme="light"] .timx640-task-warnings{background:#fff8df;border-color:#e2bd58;color:#5f4810}

/* ===== TIMX 6.4.1 – RÉSZFELADAT QOL + AUTOMATIKUS KITÖLTÉS ===== */
.timx640-task-row{position:relative;grid-template-columns:120px 185px minmax(170px,1fr) minmax(170px,1fr) 150px!important;padding-right:54px!important;overflow:visible!important}
.timx640-task-row .timx640-task-delete{position:absolute!important;right:10px;top:10px!important;margin:0!important}
.timx640-task-row .timx640-task-share{min-height:54px}
.timx641-task-meta{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:22px;padding:2px 2px 0;flex-wrap:wrap}
.timx641-task-meta small{font-size:10px;font-weight:800}
.timx641-auto-note{color:#f4c95d}
.timx640-task-route-hint{color:#70c9f3!important;margin:0!important}
.timx640-task-row input.timx641-critical,.timx640-task-row select.timx641-critical{border-color:#ef4444!important;box-shadow:0 0 0 2px rgba(239,68,68,.2)!important;background-image:none!important}
.timx640-task-row input.timx641-warning,.timx640-task-row select.timx641-warning,.timx640-task-row input.timx641-auto-filled,.timx640-task-row select.timx641-auto-filled{border-color:#eab308!important;box-shadow:0 0 0 1px rgba(234,179,8,.18)!important}
.timx640-task-row input.timx641-memory-filled,.timx640-task-row select.timx641-memory-filled{border-color:#22c55e!important;box-shadow:0 0 0 1px rgba(34,197,94,.18)!important}
.timx641-critical-label>span{color:#ff7f7f!important}.timx641-warning-label>span{color:#f3cc62!important}
.timx641-auto-task{border-left:4px solid #eab308!important}.timx641-stale-auto{border-left-color:#ef4444!important}
.timx641-auto-main input,.timx641-auto-main select{border-color:#eab308!important;box-shadow:0 0 0 1px rgba(234,179,8,.16)!important}
@media(max-width:1450px){.timx640-task-row{grid-template-columns:repeat(3,minmax(150px,1fr))!important}.timx640-task-share{grid-column:auto!important}}
@media(max-width:900px){.timx640-task-row{grid-template-columns:1fr 1fr!important;padding-right:48px!important}.timx641-task-meta{grid-column:1/-1}}
@media(max-width:620px){.timx640-task-row{grid-template-columns:1fr!important}.timx640-task-share,.timx641-task-meta{grid-column:1/-1!important}}
html[data-theme="light"] .timx641-auto-note{color:#765900!important}
html[data-theme="light"] .timx640-task-route-hint{color:#075f86!important}
html[data-theme="light"] .timx640-task-row input.timx641-critical,html[data-theme="light"] .timx640-task-row select.timx641-critical{background:#fff7f7!important;color:#172b39!important}
html[data-theme="light"] .timx640-task-row input.timx641-warning,html[data-theme="light"] .timx640-task-row select.timx641-warning,html[data-theme="light"] .timx640-task-row input.timx641-auto-filled,html[data-theme="light"] .timx640-task-row select.timx641-auto-filled{background:#fffdf0!important;color:#172b39!important}
html[data-theme="light"] .timx640-task-row input.timx641-memory-filled,html[data-theme="light"] .timx640-task-row select.timx641-memory-filled{background:#f2fff6!important;color:#172b39!important}

/* ===== TIMX 6.4.2 – RÉSZFELADAT TELJES SZÉLESSÉG + TISZTA RÁCS ===== */
.timx620-editor-section.timx640-revenue-share{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
}
.timx640-revenue-share>header{
  align-items:flex-start!important;
}
.timx640-revenue-share .timx640-quick-actions{
  width:100%;
  justify-content:flex-start!important;
}
.timx640-task-rows{
  width:100%;
  box-sizing:border-box;
}
.timx640-task-row{
  width:100%;
  box-sizing:border-box;
  grid-template-columns:120px 190px minmax(220px,1.25fr) minmax(220px,1.25fr) minmax(150px,.8fr) minmax(150px,.8fr)!important;
  grid-template-areas:
    "leg type from from to to"
    "tractor tractor driver driver trailer trailer"
    "km toll share share share share"
    "meta meta meta meta meta meta";
  gap:10px 12px!important;
  padding:12px 56px 12px 12px!important;
}
.timx642-task-leg{grid-area:leg}
.timx642-task-type{grid-area:type}
.timx642-task-from{grid-area:from}
.timx642-task-to{grid-area:to}
.timx642-task-tractor{grid-area:tractor}
.timx642-task-driver{grid-area:driver}
.timx642-task-trailer{grid-area:trailer}
.timx642-task-km{grid-area:km}
.timx642-task-toll{grid-area:toll}
.timx642-task-share{grid-area:share!important;min-width:0!important}
.timx641-task-meta{grid-area:meta!important;grid-column:auto!important}
.timx640-task-row label,
.timx640-task-row input,
.timx640-task-row select{
  max-width:none!important;
  box-sizing:border-box!important;
}
.timx640-task-share{
  width:100%;
  box-sizing:border-box;
}
.timx640-revenue-summary{
  width:100%;
  box-sizing:border-box;
}
@media(max-width:1250px){
  .timx640-task-row{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-areas:
      "leg type from from"
      "to to tractor tractor"
      "driver driver trailer trailer"
      "km toll share share"
      "meta meta meta meta";
  }
}
@media(max-width:760px){
  .timx640-task-row{
    grid-template-columns:1fr 1fr!important;
    grid-template-areas:
      "leg type"
      "from from"
      "to to"
      "tractor tractor"
      "driver driver"
      "trailer trailer"
      "km toll"
      "share share"
      "meta meta";
  }
}
@media(max-width:520px){
  .timx640-task-row{
    grid-template-columns:1fr!important;
    grid-template-areas:
      "leg" "type" "from" "to" "tractor" "driver" "trailer" "km" "toll" "share" "meta";
    padding-right:48px!important;
  }
}

/* ===== TIMX 6.5.0 – KIÉRTÉKELÉS · KÜLÖN PÉNZÜGYI MUNKAFELÜLET ===== */
.timx650-page{display:flex;flex-direction:column;gap:16px;padding-bottom:28px}
.timx650-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:22px 24px;border:1px solid #31506b;border-radius:18px;background:linear-gradient(135deg,#0d2133,#102b42);box-shadow:0 12px 28px rgba(0,0,0,.16)}
.timx650-head h1{margin:3px 0 6px;font-size:30px;letter-spacing:-.02em;color:#fff}.timx650-head p{margin:0;max-width:920px;color:#a9bfd1}.timx650-eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;color:#67c9ff}
.timx650-month-control{min-width:430px;display:grid;grid-template-columns:auto minmax(150px,1fr) auto auto;align-items:end;gap:10px;padding:12px;border:1px solid #365b77;border-radius:14px;background:#0a1a29}
.timx650-month-control>div{display:flex;flex-direction:column}.timx650-month-control small,.timx650-month-control label span{font-size:10px;font-weight:800;letter-spacing:.08em;color:#86a2b8}.timx650-month-control strong{font-size:19px;color:#fff}.timx650-month-control label{margin:0}.timx650-month-control input{min-height:38px}.timx650-month-state{align-self:center;border:1px solid #3e8760;background:#123b29;color:#8ef1b7;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900}
.timx650-filter{padding:14px}.timx650-period-toggle{display:flex;gap:8px;margin-bottom:12px}.timx650-period-toggle button.active{background:#176eb2;border-color:#2c90d9;color:#fff}.timx650-filter-grid{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:10px}.timx650-filter-grid label{margin:0}.timx650-filter-grid label>span{display:block;margin-bottom:5px;font-size:10px;font-weight:800;letter-spacing:.06em;color:#819bb0}.timx650-filter-grid select,.timx650-filter-grid input{width:100%;min-height:38px}.timx650-search{grid-column:span 2}
.timx650-kpis{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:10px}.timx650-kpi{min-height:106px;border:1px solid #2c4b62;border-radius:14px;background:#0d2234;padding:14px;display:flex;flex-direction:column;gap:5px}.timx650-kpi small{font-size:10px;letter-spacing:.08em;font-weight:850;color:#7897ae}.timx650-kpi strong{font-size:20px;color:#fff;line-height:1.15}.timx650-kpi span{font-size:11px;color:#93aabd}.timx650-kpi.accent{border-bottom:3px solid #2eb5ff}.timx650-kpi.cost{border-bottom:3px solid #f0a737}.timx650-kpi.profit{border-bottom:3px solid #38d27f}.timx650-kpi.loss{border-bottom:3px solid #ff6473}
.timx650-work{overflow:hidden}.timx650-work-toolbar,.timx650-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #2b475d}.timx650-work-toolbar h2,.timx650-section-title h2{margin:0;font-size:19px}.timx650-work-toolbar p,.timx650-section-title p{margin:4px 0 0;color:#8099ad;font-size:12px}.timx650-work-toolbar>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.timx650-work-toolbar button:disabled{opacity:.45;cursor:not-allowed}
.timx650-table-wrap{max-height:64vh;overflow:auto}.timx650-table{min-width:1750px}.timx650-table thead th{position:sticky;top:0;z-index:3;white-space:nowrap}.timx650-table td{vertical-align:middle}.timx650-table td small{display:block;margin-top:4px;color:#7f98aa;font-size:10px}.timx650-table tr.is-evaluated td{background:rgba(25,111,74,.08)}.timx650-check{width:34px;text-align:center}.timx650-check input{width:18px;height:18px}.timx650-archived{display:inline-block;margin-top:4px;padding:2px 6px;border-radius:6px;background:#334351;color:#b9c5ce;font-size:9px;font-weight:800}.timx650-leg{display:inline-block;padding:4px 7px;border-radius:7px;font-size:10px;font-weight:900;letter-spacing:.05em}.timx650-leg.export{background:#123e62;color:#89d2ff}.timx650-leg.atallo{background:#3d354c;color:#d9c5ff}.timx650-leg.import{background:#4b2d17;color:#ffc179}.timx650-leg.belföld{background:#173d2e;color:#8eebbd}.timx650-status{display:inline-block;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900;white-space:nowrap}.timx650-status.done{background:#174a31;color:#9af0bf}.timx650-status.pending{background:#4f3a11;color:#ffdc72}.timx650-diff{display:inline-block;margin-top:4px;font-size:9px;font-weight:800}.timx650-diff.ok{color:#63d69b}.timx650-diff.warn{color:#ffc44f}.timx650-diff.bad{color:#ff7180}.timx650-dash{color:#74889a}.timx650-positive{color:#77e9ad}.timx650-negative{color:#ff7585}.tiny{padding:6px 9px!important;font-size:10px!important}
.timx650-fee-changed{display:inline-block;padding:1px 5px;border-radius:5px;background:#5b2f18;color:#ffd4a5;font-size:8px;letter-spacing:.04em}html[data-theme="light"] .timx650-fee-changed{background:#fff0df;color:#7a4212}
.timx650-history{overflow:hidden}.timx650-batch-list{display:flex;flex-direction:column}.timx650-batch-list>div{display:grid;grid-template-columns:minmax(230px,1.5fr) 100px 120px 130px auto;gap:12px;align-items:center;padding:11px 16px;border-bottom:1px solid #203b50}.timx650-batch-list>div:last-child{border-bottom:0}.timx650-batch-list span:first-child{display:flex;flex-direction:column}.timx650-batch-list small{color:#7893a7}.timx650-empty{padding:20px;color:#7893a7}
.timx650-batch-modal{width:min(1220px,94vw);max-width:none}.timx650-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:14px;border-bottom:1px solid #2c4c64}.timx650-modal-head h2{margin:3px 0 6px}.timx650-modal-head p{margin:0;max-width:820px;color:#8fa7b9}.timx650-batch-summary{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.timx650-batch-summary>*{padding:6px 8px;border-radius:8px;background:#10283b;border:1px solid #2d506b}.timx650-batch-summary .warn{color:#ffca56;border-color:#705d27}.timx650-batch-common{margin-top:14px;padding:14px;border:1px solid #31516a;border-radius:14px;background:#0c2031}.timx650-batch-common h3,.timx650-batch-legs h3{margin:0 0 10px}.timx650-batch-common-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:10px}.timx650-batch-common-grid label,.timx650-batch-leg-grid label{margin:0}.timx650-batch-common-grid span,.timx650-batch-leg-grid span,.timx650-note span{font-size:10px;font-weight:800;color:#8da6b9}.timx650-note{display:block;margin-top:10px}.timx650-note textarea{width:100%;min-height:72px}.timx650-allocation-note{margin-top:10px;padding:10px;border-radius:10px;background:#143550;color:#b9d0df;font-size:11px}.timx650-batch-legs{display:flex;flex-direction:column;gap:10px;margin-top:14px}.timx650-batch-leg{padding:12px;border:1px solid #2c4e66;border-radius:12px;background:#0d1f2e}.timx650-batch-leg-head{display:grid;grid-template-columns:auto 170px minmax(260px,1fr) minmax(200px,.7fr);gap:10px;align-items:center;margin-bottom:10px}.timx650-batch-leg-head small{color:#7d98aa}.timx650-batch-leg-grid{display:grid;grid-template-columns:180px minmax(260px,1fr) 220px 220px;gap:10px}.timx650-batch-leg-grid label small{display:block;color:#738b9e;margin-top:3px}.timx650-toll-modal .timx650-batch-leg-grid{grid-template-columns:minmax(280px,420px)}
.timx650-batch-view-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.timx650-batch-view-grid span{display:flex;flex-direction:column;padding:12px;border:1px solid #294860;border-radius:10px;background:#0e2233}.timx650-batch-view-grid small{color:#8199aa}.timx650-batch-view-grid b{font-size:17px;margin-top:4px}

html[data-theme="light"] .timx650-head{background:linear-gradient(135deg,#f8fbfd,#edf4f8);border-color:#c5d6e1;box-shadow:0 10px 24px rgba(34,61,80,.08)}html[data-theme="light"] .timx650-head h1{color:#162535!important}html[data-theme="light"] .timx650-head p{color:#516b7e!important}html[data-theme="light"] .timx650-eyebrow{color:#1475a8!important}
html[data-theme="light"] .timx650-month-control{background:#fff;border-color:#c9d8e2}html[data-theme="light"] .timx650-month-control strong{color:#1b2d3b}html[data-theme="light"] .timx650-month-control small,html[data-theme="light"] .timx650-month-control label span{color:#5d7587}html[data-theme="light"] .timx650-month-state{background:#e9f7ef;color:#17623e;border-color:#9bc9ac}
html[data-theme="light"] .timx650-filter-grid label>span{color:#425e72}html[data-theme="light"] .timx650-kpi{background:#fff;border-color:#cfdae2;box-shadow:0 4px 12px rgba(45,72,91,.05)}html[data-theme="light"] .timx650-kpi small{color:#557083}html[data-theme="light"] .timx650-kpi strong{color:#182a38}html[data-theme="light"] .timx650-kpi span{color:#627b8c}
html[data-theme="light"] .timx650-work-toolbar,html[data-theme="light"] .timx650-section-title{border-color:#d5e0e7}html[data-theme="light"] .timx650-work-toolbar p,html[data-theme="light"] .timx650-section-title p{color:#5b7486}html[data-theme="light"] .timx650-table tr.is-evaluated td{background:#eef8f2!important}html[data-theme="light"] .timx650-table td small{color:#557084!important}html[data-theme="light"] .timx650-leg.export{background:#dff2fd;color:#175b83}html[data-theme="light"] .timx650-leg.atallo{background:#eee7f8;color:#5e4479}html[data-theme="light"] .timx650-leg.import{background:#fff0df;color:#7c4b16}html[data-theme="light"] .timx650-leg.belföld{background:#e5f6ed;color:#216343}html[data-theme="light"] .timx650-status.done{background:#dff4e7;color:#17643e}html[data-theme="light"] .timx650-status.pending{background:#fff1c8;color:#74580d}html[data-theme="light"] .timx650-diff.ok{color:#167245}html[data-theme="light"] .timx650-diff.warn{color:#8a6100}html[data-theme="light"] .timx650-diff.bad{color:#a52c39}html[data-theme="light"] .timx650-positive{color:#176b42!important}html[data-theme="light"] .timx650-negative{color:#a72d3c!important}
html[data-theme="light"] .timx650-batch-list>div{border-color:#d7e1e7}html[data-theme="light"] .timx650-batch-list small,html[data-theme="light"] .timx650-empty{color:#5a7181}html[data-theme="light"] .timx650-modal-head{border-color:#d3e0e8}html[data-theme="light"] .timx650-modal-head p{color:#526b7d}html[data-theme="light"] .timx650-batch-summary>*{background:#eef5f8;border-color:#c6d7e1;color:#263c4d}html[data-theme="light"] .timx650-batch-common,html[data-theme="light"] .timx650-batch-leg{background:#f8fbfd;border-color:#cadbe5}html[data-theme="light"] .timx650-batch-common-grid span,html[data-theme="light"] .timx650-batch-leg-grid span,html[data-theme="light"] .timx650-note span{color:#425e72}html[data-theme="light"] .timx650-allocation-note{background:#eaf4fa;color:#33556c}html[data-theme="light"] .timx650-batch-leg-head small{color:#5d7485}html[data-theme="light"] .timx650-batch-view-grid span{background:#f8fbfd;border-color:#d1dde5}html[data-theme="light"] .timx650-batch-view-grid small{color:#5a7283}

@media(max-width:1500px){.timx650-kpis{grid-template-columns:repeat(4,1fr)}.timx650-filter-grid{grid-template-columns:repeat(4,1fr)}.timx650-batch-common-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1050px){.timx650-head{flex-direction:column}.timx650-month-control{min-width:0;width:100%;grid-template-columns:1fr 1fr auto auto}.timx650-kpis{grid-template-columns:repeat(2,1fr)}.timx650-filter-grid{grid-template-columns:repeat(2,1fr)}.timx650-batch-leg-head{grid-template-columns:auto 1fr}.timx650-batch-leg-grid{grid-template-columns:1fr 1fr}.timx650-batch-common-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.timx650-kpis,.timx650-filter-grid,.timx650-batch-common-grid,.timx650-batch-leg-grid{grid-template-columns:1fr}.timx650-search{grid-column:auto}.timx650-month-control{grid-template-columns:1fr}.timx650-work-toolbar{align-items:flex-start;flex-direction:column}.timx650-batch-list>div{grid-template-columns:1fr 1fr}.timx650-modal-head{flex-direction:column}}
.timx650-manual-month{display:inline-block;margin-left:4px;padding:1px 4px;border-radius:4px;background:#694f17;color:#ffe18b;font-size:8px;letter-spacing:.04em}.timx650-month-move{display:flex;gap:4px;margin-top:5px}.timx650-month-move button{padding:2px 6px;min-height:0;font-size:11px}html[data-theme="light"] .timx650-manual-month{background:#fff0be;color:#745600}
#modal .modal.timx650-eval-modal{width:min(1280px,calc(100vw - 40px));max-width:1280px}
@media(max-width:650px){#modal .modal.timx650-eval-modal{width:calc(100vw - 12px);max-width:none}}

/* ===== TIMX 6.5.1 – Kiértékelés munkalista: részleg + vontató csoportosítás ===== */
.timx651-grouped-table{min-width:1880px}
.timx651-sort{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:850;white-space:nowrap;cursor:pointer}
.timx651-sort span{font-size:9px;opacity:.6}.timx651-sort.active{color:#69caff}.timx651-sort:hover{color:#9bddff}
.timx651-section-group td{position:sticky;top:34px;z-index:2;padding:9px 14px!important;background:#122f46!important;border-top:2px solid #3b7fa7!important;border-bottom:1px solid #315a74!important;color:#e9f7ff!important}
.timx651-section-group td strong{font-size:12px;letter-spacing:.08em}.timx651-section-group td span{margin-left:12px;color:#90b7cf;font-size:10px;font-weight:750}
.timx651-tractor-group td{padding:9px 14px!important;background:#0b2031!important;border-top:1px solid #294c64!important;border-bottom:1px solid #294c64!important}
.timx651-tractor-group td{display:table-cell}.timx651-tractor-group td>div:first-child{float:left;display:flex;align-items:center;gap:10px}.timx651-tractor-group td>div:last-child{float:right;display:flex;align-items:center;gap:10px}.timx651-tractor-group strong{font-size:15px;color:#fff}.timx651-tractor-group span{font-size:10px;color:#8fa9bb}.timx651-tractor-group b{font-size:11px;color:#cbeaff}
.timx650-table tr.is-pending td{background:rgba(111,81,17,.045)}.timx651-id-cell{min-width:170px}.timx651-status-cell{min-width:145px}.timx651-evaluate-cell{min-width:105px;text-align:center}.timx651-evaluate-btn{min-width:84px}
.timx651-row-error td{background:#401c23!important;color:#ffd9de!important;padding:12px 16px!important}.timx651-row-error span{color:#ff9fab}
.timx651-page-error{padding:24px}.timx651-page-error h2{margin-top:0}.timx651-page-error pre{white-space:pre-wrap;padding:12px;border-radius:10px;background:#311820;color:#ffc5cc;overflow:auto}

html[data-theme="light"] .timx651-sort.active{color:#096b9d}html[data-theme="light"] .timx651-sort:hover{color:#07577f}
html[data-theme="light"] .timx651-section-group td{background:#dcecf6!important;border-top-color:#6fa5c4!important;border-bottom-color:#b5cfde!important;color:#17394e!important}
html[data-theme="light"] .timx651-section-group td span{color:#496b7e!important}
html[data-theme="light"] .timx651-tractor-group td{background:#edf5f9!important;border-color:#cadde8!important}
html[data-theme="light"] .timx651-tractor-group strong{color:#183342!important}html[data-theme="light"] .timx651-tractor-group span{color:#597386!important}html[data-theme="light"] .timx651-tractor-group b{color:#265c7a!important}
html[data-theme="light"] .timx650-table tr.is-pending td{background:#fffaf0!important}
html[data-theme="light"] .timx651-row-error td{background:#fff0f1!important;color:#7f1f2a!important}html[data-theme="light"] .timx651-row-error span{color:#9b3440!important}
html[data-theme="light"] .timx651-page-error pre{background:#fff0f1;color:#812832}

@media(max-width:1050px){.timx651-section-group td{top:34px}.timx651-tractor-group td>div:first-child,.timx651-tractor-group td>div:last-child{float:none;justify-content:space-between;margin:2px 0}}

/* ===== TIMX 6.5.2 – Kiértékelés interakció + költség bontás + fuvarpárosítás ===== */
.timx652-quick-status{display:inline-flex;gap:7px;flex-wrap:wrap;margin-left:auto}
.timx652-quick-status button{padding:7px 10px;border-radius:999px;background:#0d2131;border-color:#31526a;color:#bfd3e1;font-size:11px}
.timx652-quick-status button.active{box-shadow:0 0 0 2px rgba(90,180,235,.18) inset}
.timx652-quick-status button.pending.active{background:#5d4615;border-color:#947124;color:#ffe59a}
.timx652-quick-status button.done.active{background:#143f2e;border-color:#2f7857;color:#baf4d2}
.timx652-expense-meta{color:#9fc2d7!important}.timx652-other-note{color:#e1b96c!important;font-style:italic}

#modal .modal.timx650-eval-modal.timx652-eval-modal{width:calc(100vw - 44px);max-width:1540px;max-height:calc(100vh - 32px);padding:18px 18px 0;overflow:auto}
.timx652-eval-modal .timx650-batch-modal{min-width:0}
.timx652-eval-modal .timx650-modal-head{position:sticky;top:-18px;z-index:8;margin:-18px -18px 14px;padding:18px;background:#0f1d2f;border-bottom:1px solid #31516a}
.timx652-eval-modal .timx650-batch-common{padding:16px}
.timx652-eval-modal .timx650-batch-common-grid{grid-template-columns:repeat(5,minmax(160px,1fr));gap:12px}
.timx652-other-costs{margin-top:14px;padding:14px;border:1px solid #355970;border-radius:12px;background:#0b1c2a}
.timx652-other-costs-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.timx652-other-costs-head h3{margin:0 0 3px}.timx652-other-costs-head p{margin:0;color:#8ea7b8;font-size:11px}
#timx652_other_costs{display:flex;flex-direction:column;gap:8px}
.timx652-other-cost-row{display:grid;grid-template-columns:minmax(280px,1fr) 180px 42px;gap:10px;align-items:end;padding:10px;border:1px solid #294d65;border-radius:10px;background:#0e2334}
.timx652-other-cost-row label{margin:0}.timx652-other-cost-row label span{display:block;margin-bottom:5px;font-size:10px;font-weight:800;color:#91aabd}
.timx652-other-remove{width:42px;height:38px;padding:0;font-size:20px;line-height:1}
.timx652-sticky-actions{position:sticky;bottom:0;z-index:9;margin:16px -18px 0!important;padding:12px 18px!important;background:#0f1d2f;border-top:1px solid #31516a;box-shadow:0 -10px 24px rgba(0,0,0,.22)}
.timx652-batch-other-view{display:flex;flex-direction:column;gap:6px;margin-top:12px}.timx652-batch-other-view span{display:flex;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid #294860;border-radius:9px;background:#0e2233}.timx652-batch-other-view em{font-style:normal;font-weight:800}

html[data-theme="light"] .timx652-quick-status button{background:#fff;border-color:#c8d8e2;color:#345166}
html[data-theme="light"] .timx652-quick-status button.pending.active{background:#fff3cc;border-color:#e3c15f;color:#745708}
html[data-theme="light"] .timx652-quick-status button.done.active{background:#e2f5e9;border-color:#8bc6a2;color:#17613d}
html[data-theme="light"] .timx652-expense-meta{color:#426d86!important}html[data-theme="light"] .timx652-other-note{color:#805a12!important}
html[data-theme="light"] .timx652-eval-modal .timx650-modal-head,html[data-theme="light"] .timx652-sticky-actions{background:#fff!important;border-color:#d1dee6!important}
html[data-theme="light"] .timx652-other-costs{background:#f8fbfd;border-color:#ccdae3}html[data-theme="light"] .timx652-other-costs-head p{color:#587285}html[data-theme="light"] .timx652-other-cost-row{background:#fff;border-color:#d3dfe7}html[data-theme="light"] .timx652-other-cost-row label span{color:#405e72}
html[data-theme="light"] .timx652-batch-other-view span{background:#f8fbfd;border-color:#d1dde5}

@media(max-width:1250px){.timx652-eval-modal .timx650-batch-common-grid{grid-template-columns:repeat(3,minmax(150px,1fr))}}
@media(max-width:800px){#modal .modal.timx650-eval-modal.timx652-eval-modal{width:calc(100vw - 12px);max-height:calc(100vh - 12px);padding:12px 12px 0}.timx652-eval-modal .timx650-modal-head{top:-12px;margin:-12px -12px 12px;padding:12px}.timx652-sticky-actions{margin:14px -12px 0!important;padding:10px 12px!important}.timx652-eval-modal .timx650-batch-common-grid{grid-template-columns:1fr 1fr}.timx652-other-cost-row{grid-template-columns:1fr 130px 42px}.timx652-quick-status{width:100%;margin-left:0}}
@media(max-width:560px){.timx652-eval-modal .timx650-batch-common-grid,.timx652-other-cost-row{grid-template-columns:1fr}.timx652-other-remove{justify-self:end}.timx652-other-costs-head{align-items:flex-start;flex-direction:column}}

/* ===== TIMX 6.5.3 – GAZDASÁGI FŐ VONTATÓ / DELEGÁLT RÉSZFELADAT ===== */
.timx653-delegated-operation{display:block;margin-top:5px;padding:4px 7px;border-left:3px solid #d59a24;background:rgba(213,154,36,.12);border-radius:5px;font-weight:700;line-height:1.25}
html[data-theme="light"] .timx653-delegated-operation{color:#563b05;background:#fff4d6;border-left-color:#a56a00}


/* ===== TIMX 6.6.0 – KIÉRTÉKELÉS 2.0 WORKFLOW / HÓNAPZÁRÁS ===== */
.timx650-status.progress{background:#dbeafe;color:#1d4ed8;border-color:#93c5fd}
.timx652-quick-status .progress.active{background:#dbeafe;color:#1e40af;border-color:#60a5fa}
.timx660-month-control{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(220px,1fr) minmax(240px,1.2fr) auto auto;gap:10px 14px;align-items:end}
.timx660-month-control.is-closed{border-color:#64748b;background:linear-gradient(135deg,rgba(100,116,139,.10),rgba(15,23,42,.03))}
.timx660-month-title{display:flex;flex-direction:column;gap:2px}.timx660-month-title strong{font-size:18px}.timx660-month-state{display:inline-flex;width:max-content;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.04em;background:#e2e8f0;color:#334155}.timx660-month-state.ready{background:#dcfce7;color:#166534}.timx660-month-state.closed{background:#334155;color:#fff}.timx660-month-counts{display:flex;gap:7px;flex-wrap:wrap;align-self:center}.timx660-month-counts span{padding:5px 8px;border-radius:9px;background:rgba(148,163,184,.14);font-size:11px}.timx660-close{background:#334155!important;color:#fff!important}.timx660-reopen{background:#f59e0b!important;color:#111827!important}.timx660-close-hint,.timx660-closed-meta{grid-column:1/-1;font-size:11px;color:var(--muted)}
.timx660-month-lock{display:inline-flex;margin-left:4px;padding:2px 5px;border-radius:6px;background:#334155;color:white;font-size:9px;letter-spacing:.03em}
.timx660-draft-btn{background:#dbeafe!important;color:#1e3a8a!important;border-color:#93c5fd!important;font-weight:800}
.timx651-grouped-table tr.is-pending:has(.timx660-month-lock),.timx651-grouped-table tr.is-evaluated:has(.timx660-month-lock){opacity:.82}
[data-theme="light"] .timx650-status.progress{background:#dbeafe;color:#1e3a8a;border-color:#93c5fd}
[data-theme="dark"] .timx660-draft-btn{background:#17345c!important;color:#dbeafe!important;border-color:#2b5f99!important}
@media(max-width:1180px){.timx660-month-control{grid-template-columns:1fr 1fr}.timx660-month-control>*{min-width:0}}
@media(max-width:700px){.timx660-month-control{grid-template-columns:1fr}.timx660-month-counts{align-self:auto}}

/* ===== TIMX 6.7.0 – KÖLTSÉGEK ===== */
.timx670-page{display:grid;gap:16px;min-width:0}
.timx670-controls{display:grid;grid-template-columns:160px auto 180px 190px minmax(220px,1fr) auto auto;gap:10px;align-items:end;padding:14px;border:1px solid var(--border);border-radius:16px;background:var(--panel)}
.timx670-controls label{display:grid;gap:6px}.timx670-controls label>span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.timx670-controls input,.timx670-controls select{width:100%}.timx670-kind-tabs{display:flex;gap:6px}.timx670-kind-tabs button.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.timx670-month-state{display:grid;gap:4px;align-self:center;min-width:145px}.timx670-month-state small{color:var(--muted)}
.timx670-warning{padding:12px 14px;border:1px solid #e2a12b;border-radius:14px;background:rgba(226,161,43,.13);color:var(--text)}
.timx670-summary{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:10px}.timx670-summary article{padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--panel);display:grid;gap:4px}.timx670-summary small{color:var(--muted);font-weight:700}.timx670-summary b{font-size:20px}.timx670-summary .total{border-color:rgba(45,132,255,.55);box-shadow:inset 0 -3px 0 rgba(45,132,255,.65)}
.timx670-company-section{border:1px solid var(--border);border-radius:16px;overflow:hidden;background:var(--panel)}.timx670-company-section>header{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:var(--panel-2);border-bottom:1px solid var(--border)}.timx670-company-section>header h3{margin:0;font-size:15px;letter-spacing:.04em}.timx670-company-section>header span{font-weight:800;color:var(--muted)}
.timx670-cost-table{min-width:1380px;width:100%;border-collapse:collapse}.timx670-cost-table th{position:sticky;top:0;z-index:1;background:var(--panel-2);font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);white-space:nowrap}.timx670-cost-table th,.timx670-cost-table td{padding:9px 10px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle}.timx670-cost-table td:first-child strong{display:block;font-size:14px}.timx670-cost-table td small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.timx670-company{display:block;font-weight:800}.timx670-unresolved{background:rgba(226,161,43,.07)}.timx670-fx-warning{color:#d98b00!important;font-weight:800}
.timx670-cost-modal{width:min(1180px,96vw)!important;max-width:1180px!important}.timx670-modal{display:grid;gap:16px}.timx670-modal-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.timx670-modal-head h2{margin:3px 0 4px}.timx670-modal-head p{margin:0;color:var(--muted)}
.timx670-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.timx670-period-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.timx670-periodic{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:10px;padding:12px;border:1px solid var(--border);border-radius:14px;background:var(--panel-2)}.timx670-periodic h4{grid-column:1/-1;margin:0}.timx670-periodic label,.timx670-meta-grid label,.timx670-fixed-grid label{display:grid;gap:6px}.timx670-periodic label>span,.timx670-meta-grid label>span,.timx670-fixed-grid label>span{font-size:11px;font-weight:800;color:var(--muted)}
.timx670-fixed-grid{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:10px}.timx670-repeat{padding:12px;border:1px solid var(--border);border-radius:14px}.timx670-repeat-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.timx670-repeat-head h4{margin:0}.timx670-repeat-head small{color:var(--muted)}.timx670-repeat-row{display:grid;grid-template-columns:minmax(260px,1fr) 150px 100px 150px 42px;gap:8px;margin-top:8px}.timx670-repeat-row[data-cost-row="recurring"]{grid-template-columns:minmax(260px,1fr) 150px 100px 42px}.timx670-repeat-row button{min-width:42px;padding:6px}
.timx670-direct-preview{padding:12px;border:1px solid rgba(45,132,255,.35);border-radius:14px;background:rgba(45,132,255,.06)}.timx670-direct-preview h4{margin:0 0 10px}.timx670-direct-preview>div{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.timx670-direct-preview span{display:grid;gap:4px;padding:8px;border-radius:10px;background:var(--panel)}.timx670-direct-preview small{display:block;margin-top:8px;color:var(--muted)}.timx670-fx-note{padding:9px 11px;border-radius:10px;background:var(--panel-2);color:var(--muted)}
html[data-theme="light"] .timx670-page,html[data-theme="light"] .timx670-cost-modal{color:#172638}html[data-theme="light"] .timx670-company-section,html[data-theme="light"] .timx670-controls,html[data-theme="light"] .timx670-summary article,html[data-theme="light"] .timx670-periodic,html[data-theme="light"] .timx670-repeat,html[data-theme="light"] .timx670-direct-preview{background:#fff}html[data-theme="light"] .timx670-company-section>header,html[data-theme="light"] .timx670-cost-table th,html[data-theme="light"] .timx670-fx-note{background:#eef4f8;color:#172638}html[data-theme="light"] .timx670-cost-table td{color:#172638}html[data-theme="light"] .timx670-cost-table td small,html[data-theme="light"] .timx670-controls label>span,html[data-theme="light"] .timx670-periodic label>span,html[data-theme="light"] .timx670-meta-grid label>span,html[data-theme="light"] .timx670-fixed-grid label>span{color:#586b7d}
@media(max-width:1300px){.timx670-controls{grid-template-columns:repeat(4,1fr)}.timx670-summary{grid-template-columns:repeat(3,1fr)}.timx670-direct-preview>div{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.timx670-controls,.timx670-meta-grid,.timx670-period-grid,.timx670-fixed-grid{grid-template-columns:1fr}.timx670-periodic{grid-template-columns:1fr}.timx670-summary{grid-template-columns:1fr 1fr}.timx670-repeat-row,.timx670-repeat-row[data-cost-row="recurring"]{grid-template-columns:1fr}.timx670-direct-preview>div{grid-template-columns:1fr 1fr}}
.timx670-section-row td{padding:7px 10px!important;background:rgba(88,166,255,.08);border-top:2px solid var(--border);border-bottom:1px solid var(--border);font-size:11px;text-transform:uppercase;letter-spacing:.06em}.timx670-section-row td b{margin-right:10px}.timx670-section-row td span{color:var(--muted);font-weight:700}html[data-theme="light"] .timx670-section-row td{background:#e7f1f7;color:#183047}

/* ===== TIMX 6.8.0 – PÓTHASZNÁLAT + TIMX SPECIAL / SPECIAL RÉSZLEG ===== */
.timx680-unused-trailer td{background:rgba(226,161,43,.08)}
.timx680-special-note{display:block;margin-top:5px;color:#d89616;font-weight:800;font-size:10px}
.timx680-usage-modal-shell{width:min(1180px,96vw)!important;max-width:1180px!important}
.timx680-usage-modal{display:grid;gap:14px}.timx680-usage-kpis{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.timx680-usage-kpis span{display:grid;gap:3px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:var(--panel-2);font-size:11px;color:var(--muted)}.timx680-usage-kpis b{font-size:14px;color:var(--text)}
.timx680-usage-table{width:100%;min-width:860px;border-collapse:collapse}.timx680-usage-table th,.timx680-usage-table td{padding:9px 10px;border-bottom:1px solid var(--border);border-right:1px solid var(--border);text-align:left}.timx680-usage-table th{background:var(--panel-2);font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
html[data-theme="light"] .timx680-unused-trailer td{background:#fff8e8;color:#172638}html[data-theme="light"] .timx680-usage-kpis span,html[data-theme="light"] .timx680-usage-table th{background:#eef4f8;color:#536779}html[data-theme="light"] .timx680-usage-kpis b,html[data-theme="light"] .timx680-usage-table td{color:#172638}
@media(max-width:760px){.timx680-usage-kpis{justify-content:flex-start}.timx680-usage-modal-shell{width:calc(100vw - 12px)!important}}

/* TIMX 6.8.2 – költség-életciklus + archív eszközök/sofőrök */
.timx682-lifecycle{margin:16px 0;padding:16px;border:1px solid var(--line,#334155);border-radius:14px;background:color-mix(in srgb,var(--card,#111827) 94%,transparent)}
.timx682-life-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}.timx682-life-head h4{margin:0 0 4px}.timx682-life-head small{display:block;max-width:900px;line-height:1.45}
.timx682-validity-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:10px}.timx682-validity-grid label{display:flex;flex-direction:column;gap:5px}.timx682-validity-grid input{width:100%}
.timx682-archive-warning{margin-top:12px;padding:10px 12px;border:1px solid #f59e0b;border-radius:10px;background:rgba(245,158,11,.12)}
.timx670-repeat-row[data-cost-row="recurring"]{grid-template-columns:minmax(240px,1.5fr) minmax(120px,.7fr) minmax(90px,.5fr) minmax(150px,.8fr) auto!important}.timx670-repeat-row[data-cost-row="recurring"] input[data-role="validTo"]{min-width:150px}
.timx682-archive-wrap{margin-top:24px}.timx682-archive-group{opacity:.94}.timx682-archive-row{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:12px;align-items:center;padding:12px;border-top:1px solid var(--line,#334155)}.timx682-archive-row:first-of-type{border-top:0}.timx682-archive-row small{display:block;margin-top:3px}
.timx682-cost-archived{opacity:.72}.timx682-cost-archive-badge{display:inline-block;margin-top:4px;padding:2px 7px;border-radius:999px;background:rgba(239,68,68,.14);color:#ef4444;font-size:11px;font-weight:800}
html[data-theme="light"] .timx682-lifecycle{background:#fff;border-color:#cbd5e1;color:#0f172a}html[data-theme="light"] .timx682-life-head small,html[data-theme="light"] .timx682-archive-row small{color:#475569}html[data-theme="light"] .timx682-archive-group{background:#f8fafc;color:#0f172a}
@media(max-width:1000px){.timx682-validity-grid{grid-template-columns:repeat(2,minmax(170px,1fr))}.timx670-repeat-row[data-cost-row="recurring"]{grid-template-columns:1fr 1fr!important}}
@media(max-width:640px){.timx682-validity-grid{grid-template-columns:1fr}.timx682-archive-row{grid-template-columns:1fr}.timx670-repeat-row[data-cost-row="recurring"]{grid-template-columns:1fr!important}}

/* TIMX 6.8.3 – lejárat mezők egyértelmű üres állapota */
.timx683-expiry-control{position:relative;min-width:0}
.timx683-expiry-control input[type="date"]{width:100%;padding-right:64px!important;background:#091625}
.timx683-expiry-empty{position:absolute;z-index:2;left:1px;right:40px;top:1px;bottom:1px;display:none;align-items:center;padding:0 11px;border-radius:6px 0 0 6px;background:#091625;color:#9db0c6;font-weight:800;pointer-events:none}
.timx683-expiry-control.is-empty:not(.is-editing) .timx683-expiry-empty{display:flex}
.timx683-expiry-control.is-empty:not(.is-editing) input[type="date"]::-webkit-datetime-edit{color:transparent}
.timx683-expiry-clear{position:absolute;z-index:4;right:34px;top:50%;transform:translateY(-50%);width:24px!important;height:24px!important;min-width:24px!important;padding:0!important;border-radius:999px!important;display:grid;place-items:center;background:#5b1f2a!important;border:1px solid #9f3445!important;color:#ffd9de!important;font-size:15px!important;line-height:1!important}
.timx683-expiry-clear[hidden]{display:none!important}
html[data-theme="light"] .timx683-expiry-control input[type="date"],html[data-theme="light"] .timx683-expiry-empty{background:#fff!important;color:#475569!important}
html[data-theme="light"] .timx683-expiry-control.is-empty:not(.is-editing) input[type="date"]{color:transparent!important}

/* ===== TIMX 6.9.0 – SOFŐRBÉR MOTOR ===== */
.timx690-page{display:grid;gap:16px}.timx690-head{align-items:flex-end}.timx690-head .left{display:grid;gap:4px}.timx690-filter{display:grid;grid-template-columns:180px 250px minmax(280px,1fr) auto;gap:12px;align-items:end;padding:16px}.timx690-filter label{display:grid;gap:6px}.timx690-filter label>span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8fa4b6}.timx690-filter input,.timx690-filter select{width:100%}.timx690-cvs-state{align-self:end;min-height:42px;display:flex;align-items:center;padding:0 12px;border:1px dashed #34516a;border-radius:10px;color:#9db0c0;font-size:12px}.timx690-kpis{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:10px}.timx690-kpis>span{display:grid;gap:3px;padding:13px 15px;border:1px solid #28475f;border-radius:12px;background:#0c2133}.timx690-kpis small{text-transform:uppercase;letter-spacing:.08em;font-size:10px;color:#8fa9bc;font-weight:800}.timx690-kpis b{font-size:20px;color:#f2f7fb}.timx690-kpis .grand{border-color:#1b7d55;background:#0c2a25}.timx690-kpis .warn{border-color:#a87515;background:#332714}.timx690-category{display:grid;gap:10px}.timx690-category>header{display:flex;justify-content:space-between;align-items:center;padding:8px 4px;border-bottom:2px solid #2e91cc}.timx690-category>header h2{margin:0;font-size:16px}.timx690-category>header span{font-size:12px;color:#8fa9bc;font-weight:700}.timx690-driver-card{overflow:hidden}.timx690-driver-card>summary{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 16px;cursor:pointer;list-style:none}.timx690-driver-card>summary::-webkit-details-marker{display:none}.timx690-driver-card>summary>div:first-child{display:grid;gap:3px}.timx690-driver-card>summary strong{font-size:16px}.timx690-driver-card>summary small{color:#8fa9bc}.timx690-driver-kpis{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.timx690-driver-kpis span{display:grid;gap:2px;min-width:110px}.timx690-driver-kpis span b{font-size:14px}.timx690-driver-kpis .grand b{color:#5fe1a8}.timx690-driver-kpis .warn{color:#ffd36b}.timx690-driver-kpis i{font-style:normal;font-size:18px;color:#7ca1bb}.timx690-driver-body{border-top:1px solid #25445c}.timx690-driver-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:10px 14px;background:#0b1d2d}.timx690-driver-toolbar span{font-size:12px;color:#a8bac8}.timx690-driver-toolbar span b{color:#f1f6fa}.timx690-driver-toolbar button{margin-left:auto}.timx690-day-table{min-width:1100px}.timx690-day-table th{white-space:nowrap}.timx690-day-table td{vertical-align:middle}.timx690-day-table td:first-child{width:70px}.timx690-day-table td:first-child strong{font-size:15px}.timx690-day-table td:first-child small,.timx690-day-table td small{display:block;margin-top:3px;font-size:10px;color:#839cad}.timx690-day-table td:nth-child(3){min-width:300px}.timx690-jobs{display:flex;gap:5px;flex-wrap:wrap}.timx690-job-tag{display:inline-flex;padding:4px 7px;border:1px solid #31536d;border-radius:999px;background:#10283a;font-size:11px;color:#dbe7ee}.timx690-job-tag.gedia{border-color:#be8b17;background:#3b2d11;color:#ffe18a}.timx690-state{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.04em}.timx690-state.auto{background:#123f31;color:#7cf0bd}.timx690-state.manual{background:#173b5d;color:#8bd2ff}.timx690-state.review{background:#5b4312;color:#ffe078}.timx690-review-row td{background:rgba(173,119,15,.11)!important;border-top-color:#8a671f!important;border-bottom-color:#8a671f!important}.timx690-note{padding:14px 16px;color:#9fb1bf;line-height:1.5}.timx690-day-context{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.timx690-day-context>div{display:grid;gap:4px;padding:12px;border:1px solid #2a4b63;border-radius:12px;background:#0b2132}.timx690-day-context small{color:#8fa9bc;text-transform:uppercase;letter-spacing:.07em;font-weight:800}.timx690-day-context b{font-size:21px}.timx690-day-context span{font-size:12px;color:#e9c965}.timx690-modal-jobs{margin:8px 0 16px;padding-left:22px;max-height:150px;overflow:auto}.timx690-rate-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.timx690-rate-buttons button{font-size:11px}.timx690-month-modal section{margin-top:16px;padding-top:12px;border-top:1px solid #29475d}.timx690-adjust-head{display:flex;justify-content:space-between;align-items:center}.timx690-adjust-head h3{margin:0}.timx690-adjust-row{display:grid;grid-template-columns:minmax(240px,1fr) 180px 42px;gap:8px;margin-top:8px}.timx690-adjust-row input{width:100%}.timx690-info{padding:10px 12px;border-radius:10px;background:#17351e;border:1px solid #2f7c45;color:#c9f7d7;margin-bottom:12px}.timx690-modal-shell{width:min(980px,96vw)!important;max-width:980px!important}.timx690-page button:disabled,.timx690-modal-shell button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1200px){.timx690-kpis{grid-template-columns:repeat(4,1fr)}.timx690-filter{grid-template-columns:170px 220px 1fr}.timx690-cvs-state{grid-column:1/-1}.timx690-driver-card>summary{align-items:flex-start;flex-direction:column}.timx690-driver-kpis{justify-content:flex-start}}
@media(max-width:760px){.timx690-filter{grid-template-columns:1fr}.timx690-kpis{grid-template-columns:repeat(2,1fr)}.timx690-day-context{grid-template-columns:1fr}.timx690-adjust-row{grid-template-columns:1fr 120px 40px}.timx690-driver-toolbar button{margin-left:0;width:100%}}
html[data-theme="light"] .timx690-filter,html[data-theme="light"] .timx690-driver-card,html[data-theme="light"] .timx690-note{background:#fff;border-color:#c9d9e5;color:#1e2d38}.timx690-page html[data-theme="light"]{color:#1e2d38}html[data-theme="light"] .timx690-filter label>span,html[data-theme="light"] .timx690-driver-card small,html[data-theme="light"] .timx690-category>header span,html[data-theme="light"] .timx690-note,html[data-theme="light"] .timx690-day-table td small{color:#526c7d!important}html[data-theme="light"] .timx690-cvs-state{background:#f7fafc;border-color:#b6cad8;color:#40596a}html[data-theme="light"] .timx690-kpis>span{background:#fff;border-color:#c9d9e5}html[data-theme="light"] .timx690-kpis b,html[data-theme="light"] .timx690-driver-toolbar span b{color:#1d2d38}html[data-theme="light"] .timx690-kpis .grand{background:#effaf4;border-color:#93cfad}html[data-theme="light"] .timx690-kpis .warn{background:#fff8e5;border-color:#dfbf66}html[data-theme="light"] .timx690-driver-body{border-color:#c9d9e5}html[data-theme="light"] .timx690-driver-toolbar{background:#f5f9fc}html[data-theme="light"] .timx690-driver-toolbar span{color:#50697a}html[data-theme="light"] .timx690-job-tag{background:#eef5f9;border-color:#bed2df;color:#223b4a}html[data-theme="light"] .timx690-job-tag.gedia{background:#fff4cf;border-color:#e0bb4e;color:#624800}html[data-theme="light"] .timx690-state.auto{background:#dff5ea;color:#1b664a}html[data-theme="light"] .timx690-state.manual{background:#e4f2fd;color:#195984}html[data-theme="light"] .timx690-state.review{background:#fff0bb;color:#6d5107}html[data-theme="light"] .timx690-review-row td{background:#fff9e7!important}html[data-theme="light"] .timx690-day-context>div{background:#f6fafc;border-color:#c5d8e4}html[data-theme="light"] .timx690-day-context small{color:#587081}html[data-theme="light"] .timx690-day-context b{color:#1f2f3a}html[data-theme="light"] .timx690-month-modal section{border-color:#c9d9e5}html[data-theme="light"] .timx690-info{background:#effaf3;border-color:#8bc89e;color:#285d39}

/* ===== TIMX 6.9.1 TEST – SOFŐRBÉR EXCEL NÉZET ===== */
.timx691-view-switch{display:inline-flex;border:1px solid #2b4a62;border-radius:10px;overflow:hidden;background:#091a28}.timx691-view-switch button{border:0;border-radius:0;background:transparent;color:#9fb3c2;font-weight:800}.timx691-view-switch button.active{background:#1f78b8;color:#fff}.timx691-sheet-section{display:grid;gap:8px}.timx691-sheet-title{display:flex;justify-content:space-between;align-items:center;padding:8px 4px;border-bottom:2px solid #2e91cc}.timx691-sheet-title h2{margin:0;font-size:16px}.timx691-sheet-title span{font-size:12px;color:#8fa9bc;font-weight:800}.timx691-sheet-wrap{border:1px solid #29485f;border-radius:12px;background:#081927;max-height:72vh;overflow:auto}.timx691-sheet{border-collapse:separate;border-spacing:0;min-width:max-content;width:100%}.timx691-sheet th,.timx691-sheet td{border-right:1px solid #29485f;border-bottom:1px solid #29485f}.timx691-sheet thead th{position:sticky;top:0;z-index:4;min-width:124px;padding:8px 10px;background:#10283a;color:#e9f2f8}.timx691-sheet thead th:first-child{left:0;z-index:6;min-width:78px}.timx691-sheet thead th small{display:block;margin-top:3px;color:#91a8b8;font-size:10px}.timx691-date{position:sticky;left:0;z-index:3;width:78px;min-width:78px;padding:6px 8px;background:#10283a;color:#e7f0f5;text-align:center}.timx691-date small{display:block;font-size:10px;color:#91a8b8}.timx691-sheet-cell{min-width:124px;padding:4px 5px;vertical-align:top;background:#0a1d2c}.timx691-sheet-cell input{width:100%;min-width:110px;height:32px;border:1px solid #355770;border-radius:7px;background:#071723;color:#eef6fa;text-align:center;font-weight:850;padding:4px 6px}.timx691-sheet-cell small{display:block;max-width:120px;margin:3px auto 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7f99aa;font-size:9px;text-align:center}.timx691-sheet-cell.auto input{border-color:#296c91;background:#0d2b3f}.timx691-sheet-cell.manual input{border-color:#3c9ed5;background:#143653}.timx691-sheet-cell.review input{border-color:#d2a52f;background:#40330f;color:#ffe58d}.timx691-sheet-cell.code input{border-color:#b256a7;background:#3c163b;color:#ffd8fb}.timx691-sheet-cell.empty input{opacity:.65}.timx691-weekend .timx691-date,.timx691-weekend .timx691-sheet-cell{background:#102333}.timx691-summary-row th{position:sticky;left:0;z-index:2;padding:7px 8px;background:#54205e;color:#fff;text-align:left;white-space:nowrap}.timx691-summary-row td{padding:7px 8px;background:#3f1748;color:#fff;text-align:center;white-space:nowrap}.timx691-sheet-help{margin:0 4px 10px;color:#8ea5b5;font-size:11px;line-height:1.45}.timx690-state.code{background:#4b1d52;color:#ffd8fb}.timx691-code-row td{background:rgba(156,68,150,.08)!important}
html[data-theme="light"] .timx691-view-switch{background:#fff;border-color:#b9ccd9}html[data-theme="light"] .timx691-view-switch button{color:#405968}html[data-theme="light"] .timx691-view-switch button.active{background:#237cb6;color:#fff}html[data-theme="light"] .timx691-sheet-title span,html[data-theme="light"] .timx691-sheet-help{color:#526c7d}html[data-theme="light"] .timx691-sheet-wrap{background:#fff;border-color:#c4d5e0}html[data-theme="light"] .timx691-sheet th,html[data-theme="light"] .timx691-sheet td{border-color:#cbd9e2}html[data-theme="light"] .timx691-sheet thead th,html[data-theme="light"] .timx691-date{background:#dcebf4;color:#20313d}html[data-theme="light"] .timx691-sheet thead th small,html[data-theme="light"] .timx691-date small{color:#587081}html[data-theme="light"] .timx691-sheet-cell{background:#fff}html[data-theme="light"] .timx691-sheet-cell input{background:#fff;color:#1d2d38;border-color:#bcced9}html[data-theme="light"] .timx691-sheet-cell.auto input{background:#edf7fc;border-color:#80b8d7}html[data-theme="light"] .timx691-sheet-cell.manual input{background:#e2f1fb;border-color:#58a3d0}html[data-theme="light"] .timx691-sheet-cell.review input{background:#fff4c9;border-color:#d7ae3f;color:#634a00}html[data-theme="light"] .timx691-sheet-cell.code input{background:#f8e7f5;border-color:#c47ab9;color:#602258}html[data-theme="light"] .timx691-weekend .timx691-date,html[data-theme="light"] .timx691-weekend .timx691-sheet-cell{background:#eef4f8}html[data-theme="light"] .timx691-summary-row th{background:#7e2d88;color:#fff}html[data-theme="light"] .timx691-summary-row td{background:#93409e;color:#fff}html[data-theme="light"] .timx690-state.code{background:#f3dff0;color:#6d2765}html[data-theme="light"] .timx691-code-row td{background:#fcf3fb!important}
@media(max-width:900px){.timx691-sheet-wrap{max-height:65vh}.timx691-sheet-cell,.timx691-sheet thead th{min-width:112px}.timx691-sheet-cell input{min-width:98px}.timx691-view-switch{width:100%}.timx691-view-switch button{flex:1}}

/* ===== TIMX 7.0.0 · CONTROLLING ===== */
.timx700-page{padding:0 0 36px}.timx700-page .toolbar{margin-bottom:12px}.timx700-controls{display:grid;grid-template-columns:repeat(6,minmax(145px,1fr));gap:10px;align-items:end;background:var(--panel,#0e2235);border:1px solid var(--line,#24465f);border-radius:16px;padding:14px;margin-bottom:12px}.timx700-controls label{display:flex;flex-direction:column;gap:5px;min-width:0}.timx700-controls label span{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;opacity:.72}.timx700-controls input,.timx700-controls select{width:100%;min-width:0}.timx700-controls button{min-height:38px}.timx700-period-tabs{display:flex;gap:6px;align-self:end}.timx700-period-tabs button,.timx700-tabs button{border-radius:10px}.timx700-period-tabs .active,.timx700-tabs .active{background:#247bc1;color:#fff;border-color:#247bc1}.timx700-search{grid-column:span 2}.timx700-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.timx700-kpis{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:10px;margin-bottom:12px}.timx700-kpis article{background:var(--panel,#0e2235);border:1px solid var(--line,#24465f);border-radius:15px;padding:14px;box-shadow:0 1px 0 rgba(255,255,255,.03)}.timx700-kpis article small{display:block;font-weight:900;letter-spacing:.07em;font-size:10px;opacity:.65}.timx700-kpis article b{display:block;font-size:22px;margin:4px 0}.timx700-kpis article span{font-size:11px;opacity:.68}.timx700-kpis article.pos b,.timx700-table td.pos b,.timx700-rank td.pos b{color:#24b36b}.timx700-kpis article.neg b,.timx700-table td.neg b,.timx700-rank td.neg b{color:#d6525b}.timx700-kpis article.total{border-width:2px}.timx700-warning{padding:11px 13px;border:1px solid #c9942d;background:rgba(201,148,45,.12);border-radius:12px;margin-bottom:10px}.timx700-overview-grid{display:grid;grid-template-columns:1fr;gap:12px}.timx700-overview-grid>.card{padding:14px}.timx700-overview-grid h3{margin:0 0 10px}.timx700-table-wrap{max-height:64vh}.timx700-table{min-width:1680px}.timx700-table th,.timx700-rank th{position:sticky;top:0;z-index:2}.timx700-table td,.timx700-table th,.timx700-rank td,.timx700-rank th{vertical-align:middle}.timx700-table td small{display:block;font-size:10px;opacity:.65;margin-top:2px}.timx700-rank{min-width:800px}.timx700-rank td:nth-last-child(-n+2){font-weight:700}.timx700-central{display:grid;gap:12px}.timx700-central>.card{padding:16px}.timx700-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}.timx700-section-head h3{margin:0}.timx700-section-head p{margin:4px 0 0;opacity:.7}.timx700-central-row{display:grid;grid-template-columns:150px 120px 135px minmax(260px,1fr) 140px 100px 44px;gap:8px;align-items:center;margin-bottom:7px}.timx700-central-row input,.timx700-central-row select{min-width:0;width:100%}.timx700-central .form-grid{grid-template-columns:repeat(4,minmax(180px,1fr))}.timx700-table .pos,.timx700-rank .pos{color:#24b36b}.timx700-table .neg,.timx700-rank .neg{color:#d6525b}
html[data-theme="light"] .timx700-controls,html[data-theme="light"] .timx700-kpis article{background:#fff;border-color:#c9d8e5;color:#1b2b3a}.timx700-page html[data-theme="light"]{color:#1b2b3a}html[data-theme="light"] .timx700-warning{background:#fff6dc;color:#47330c}html[data-theme="light"] .timx700-table th,html[data-theme="light"] .timx700-rank th{background:#e8f0f6;color:#1a2a38}html[data-theme="light"] .timx700-table td,html[data-theme="light"] .timx700-rank td{color:#1e2d3a}
@media(max-width:1500px){.timx700-controls{grid-template-columns:repeat(4,minmax(145px,1fr))}.timx700-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.timx700-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.timx700-search{grid-column:span 2}.timx700-kpis{grid-template-columns:repeat(2,1fr)}.timx700-central-row{grid-template-columns:1fr 1fr}.timx700-central-row [data-note]{grid-column:span 2}.timx700-central .form-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.timx700-controls,.timx700-kpis{grid-template-columns:1fr}.timx700-search{grid-column:auto}.timx700-central .form-grid{grid-template-columns:1fr}}

/* ===== TIMX 7.0.1 – FIX SHUTTLE + ARCHÍVUM 2.0 ===== */
.timx701-fixed-finance{grid-column:1/-1;border:1px solid #365a79;border-radius:12px;padding:14px;background:rgba(16,42,64,.65)}
.timx701-fixed-finance h4{margin:0 0 4px}.timx701-fixed-finance p{margin:0;color:var(--muted);font-size:12px}
.timx701-fixed-finance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.timx701-fixed-finance-grid label span{display:block;margin-bottom:5px;color:var(--muted);font-size:12px}
.timx701-fixed-fee{display:inline-flex;margin-top:8px;padding:5px 8px;border-radius:999px;background:#183e2d;color:#9ff0c2;font-size:11px;font-weight:800}
.timx701-fixed-task-modal-shell{width:min(1480px,98vw)}.timx701-fixed-task-head h2{margin:3px 0}.timx701-fixed-task-head p{margin:0;color:var(--muted)}
.timx701-fixed-task-toolbar{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin:14px 0}.timx701-fixed-task-toolbar label span{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}
.timx701-daily-head,.timx701-daily-task{display:grid;grid-template-columns:125px minmax(150px,1.1fr) minmax(145px,1fr) minmax(145px,1fr) 70px 95px 100px minmax(160px,1fr) 42px;gap:7px;align-items:center}
.timx701-daily-head{padding:7px 8px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:800}.timx701-daily-task{position:relative;padding:8px;border:1px solid #294963;border-radius:10px;margin-bottom:8px;background:#0d2033}.timx701-daily-task input{min-width:0;width:100%;background:#091625;border:1px solid #36516d;color:#fff;border-radius:7px;padding:8px}.timx701-daily-task small{grid-column:3/9;color:#64c4ff;font-size:10px}
.timx701-archive-page{display:grid;gap:14px}.timx701-archive-filters{padding:12px;display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(150px,.8fr) minmax(150px,.8fr) 160px 160px;gap:8px;align-items:end}.timx701-archive-filters input,.timx701-archive-filters select{width:100%;background:#091625;border:1px solid #36516d;color:#fff;border-radius:8px;padding:9px}.timx701-archive-filters label span{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}
.timx701-archive-groups{display:grid;gap:12px}.timx701-archive-group{overflow:hidden}.timx701-archive-group>header{display:flex;justify-content:space-between;padding:12px 14px;background:#18314c;border-bottom:1px solid #2c4b68}.timx701-archive-group>header h3{margin:0;font-size:16px}.timx701-archive-group>header span{color:var(--muted);font-size:11px}
.timx701-archive-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 14px;border-bottom:1px solid #22374e}.timx701-archive-card:last-child{border-bottom:0}.timx701-archive-main{display:grid;grid-template-columns:minmax(180px,.75fr) minmax(280px,1.4fr) minmax(220px,1fr);gap:16px;align-items:center}.timx701-archive-main>div{display:grid;gap:3px;min-width:0}.timx701-archive-main strong,.timx701-archive-main b{overflow:hidden;text-overflow:ellipsis}.timx701-archive-main small{color:var(--muted)}.timx701-archive-source{display:inline-flex;width:max-content;padding:3px 7px;border-radius:999px;background:#183f66;color:#a8ddff;font-size:10px;font-weight:800}.timx701-archive-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.timx701-archive-edit-modal{width:min(1450px,98vw)}.timx701-archive-edit-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:12px}.timx701-archive-edit-head h2{margin:3px 0}.timx701-archive-edit-head p{margin:0;color:var(--muted)}.timx701-archive-edit-section{border:1px solid #294963;border-radius:12px;padding:12px;margin:10px 0;background:#0c2032}.timx701-archive-edit-section h3{margin:0 0 10px;color:#8fd0ff;font-size:14px}
html[data-theme="light"] .timx701-fixed-finance,html[data-theme="light"] .timx701-daily-task,html[data-theme="light"] .timx701-archive-edit-section{background:#f8fbfe;border-color:#c5d5e3;color:#182636}html[data-theme="light"] .timx701-daily-task input,html[data-theme="light"] .timx701-archive-filters input,html[data-theme="light"] .timx701-archive-filters select{background:#fff;color:#182636;border-color:#b8cada}html[data-theme="light"] .timx701-archive-group>header{background:#e9f3f9;border-color:#c5d5e3}html[data-theme="light"] .timx701-archive-card{border-color:#d4e0e9}html[data-theme="light"] .timx701-archive-source{background:#e2f1fb;color:#1a567b}html[data-theme="light"] .timx701-fixed-fee{background:#e6f7ed;color:#17613d}
@media(max-width:1200px){.timx701-daily-head{display:none}.timx701-daily-task{grid-template-columns:repeat(4,minmax(0,1fr))}.timx701-daily-task small{grid-column:1/-1}.timx701-archive-main{grid-template-columns:1fr 1fr}.timx701-archive-main>div:last-child{grid-column:1/-1}.timx701-archive-filters{grid-template-columns:1fr 1fr 1fr}.timx701-fixed-finance-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.timx701-daily-task{grid-template-columns:1fr 1fr}.timx701-archive-card{grid-template-columns:1fr}.timx701-archive-main{grid-template-columns:1fr}.timx701-archive-main>div:last-child{grid-column:auto}.timx701-archive-actions{justify-content:flex-start}.timx701-archive-filters,.timx701-fixed-finance-grid{grid-template-columns:1fr}}

/* ===== TIMX 7.0.2 – BELFÖLDI FUVARFELADAT + ARCHÍVUM ARCHITEKTÚRA ===== */
/* FIX shuttle: teljes napi gazdasági sor */
.timx702-fixed-customer{display:block;margin-top:6px;color:var(--muted);font-size:11px}.timx702-fixed-customer b{color:var(--text)}
.timx702-fixed-task-modal-shell{width:min(1760px,99vw)!important;max-width:1760px!important}
.timx702-daily-head,.timx702-daily-task{grid-template-columns:120px minmax(130px,.8fr) minmax(150px,1fr) minmax(145px,1fr) minmax(145px,1fr) 66px 92px 98px 100px 82px minmax(150px,1fr) 42px!important}
.timx702-daily-task input,.timx702-daily-task select{min-width:0;width:100%}.timx702-daily-task small[data-route-hint]{grid-column:4/12!important;color:#64c4ff}
.timx702-required>span{font-weight:900!important}.timx702-required>span::after{content:' KÖTELEZŐ';display:inline-block;margin-left:5px;padding:2px 5px;border-radius:999px;background:#6b2430;color:#ffdfe3;font-size:8px;font-weight:900}

/* Ismétlődő belföld: a szakasz az igazságforrás; a klasszikus blokkok látszanak, de nem szerkeszthetők. */
.timx630-segment-head,.timx630-segment-row{grid-template-columns:52px minmax(125px,1.05fr) minmax(125px,1.05fr) minmax(145px,1.1fr) 78px 96px 105px 105px 38px!important}
.timx702-segment-customer input{border-style:dashed}
.timx702-recurring-blocked{position:relative;opacity:.62;filter:saturate(.35);background:#17212b!important;border-color:#475569!important}
.timx702-recurring-blocked>header{background:#263340!important}.timx702-recurring-blocked input,.timx702-recurring-blocked select,.timx702-recurring-blocked textarea{cursor:not-allowed!important}
.timx702-block-note,.timx702-partial-note{margin:10px 12px 0;padding:9px 11px;border:1px dashed #c89c3b;border-radius:9px;background:rgba(200,156,59,.12);color:#f0cf82;font-size:11px;font-weight:800;line-height:1.35}
.timx702-recurring-blocked .timx702-block-note{margin-bottom:4px}.timx702-recurring-partial{border-color:#6d6655!important}.timx702-field-muted{opacity:.48!important;filter:grayscale(.65)}

/* Archívum 2.1: tisztább fuvararchív + elkülönített műszaki archív */
.timx702-freight-archive,.timx702-tech-archive{display:grid;gap:14px}.timx702-archive-card{transition:background .15s ease}.timx702-archive-card:hover{background:rgba(76,146,199,.055)}
.timx702-archive-main{grid-template-columns:minmax(190px,.75fr) minmax(300px,1.45fr) minmax(270px,1fr)!important}.timx702-archive-people{display:flex;gap:12px;flex-wrap:wrap;font-size:10px;color:var(--muted)}.timx702-archive-people strong{color:var(--text);font-size:10px}.timx702-recurring-chip{display:inline-flex;margin-left:6px;padding:2px 6px;border:1px solid #8d6d25;border-radius:999px;background:#443510;color:#ffe08a;font-size:8px;font-weight:900}
.timx702-archive-meta{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 12px;padding:10px 12px;border:1px solid #31516c;border-radius:10px;background:#0d2033;color:var(--muted);font-size:11px}.timx702-archive-meta b{color:var(--text)}
.timx702-archive-recurring{margin:12px 0;padding:14px;border:1px solid #42665c;border-radius:12px;background:#0e2822}.timx702-archive-recurring h3{margin:0 0 4px}.timx702-archive-recurring p{margin:0 0 12px;color:var(--muted)}
.timx702-archseg-head,.timx702-archseg{display:grid;grid-template-columns:minmax(150px,1.05fr) minmax(150px,1.05fr) minmax(150px,1.05fr) 72px 95px 100px 100px;gap:7px;align-items:center}.timx702-archseg-head{padding:4px 0;color:var(--muted);font-size:9px;font-weight:900;text-transform:uppercase}.timx702-archseg{padding:7px 0;border-top:1px solid #2a4d42}.timx702-archseg input{min-width:0;width:100%}
.timx702-tech-filters{padding:12px}.timx702-tech-filters input{width:100%}.timx702-tech-groups{display:grid;gap:12px}.timx702-tech-group{overflow:hidden}.timx702-tech-group>header{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;background:#2c2a37;border-bottom:1px solid #49445a}.timx702-tech-group>header h3{margin:0}.timx702-tech-group>header span{color:var(--muted);font-size:11px}.timx702-tech-group article{display:grid;grid-template-columns:minmax(280px,1.2fr) minmax(260px,1fr) auto;gap:14px;align-items:center;padding:11px 14px;border-bottom:1px solid #2b3545}.timx702-tech-group article:last-child{border-bottom:0}.timx702-tech-group article>div{display:grid;gap:3px}.timx702-tech-group article small{color:var(--muted)}

/* Világos mód: a fuvarszerkesztő pótkocsi mezője se maradhat sötét. */
html[data-theme="light"] #modal .timx341-freight-modal label:has(#fld_trailer),html[data-theme="light"] #modal .timx620-freight-modal label:has(#fld_trailer){background:transparent!important;color:#4f687b!important;border:0!important;box-shadow:none!important;opacity:1!important}
html[data-theme="light"] #modal .timx341-freight-modal label:has(#fld_trailer)>span,html[data-theme="light"] #modal .timx620-freight-modal label:has(#fld_trailer)>span{color:#4f687b!important}
html[data-theme="light"] #modal .timx341-freight-modal label:has(#fld_trailer) input,html[data-theme="light"] #modal .timx620-freight-modal label:has(#fld_trailer) input,html[data-theme="light"] #modal #fld_trailer{background:#fff!important;color:#172638!important;border-color:#b8cada!important;opacity:1!important;-webkit-text-fill-color:#172638!important}
html[data-theme="light"] .timx702-required>span::after{background:#ffe0e3;color:#9c2732}
html[data-theme="light"] .timx702-recurring-blocked{background:#edf0f2!important;border-color:#c8d0d6!important;color:#5e6972!important;opacity:.72;filter:grayscale(.55)}html[data-theme="light"] .timx702-recurring-blocked>header{background:#e4e8eb!important}html[data-theme="light"] .timx702-block-note,html[data-theme="light"] .timx702-partial-note{background:#fff7df;color:#6f5511;border-color:#d1ae54}
html[data-theme="light"] .timx702-archive-card:hover{background:#f5f9fc}html[data-theme="light"] .timx702-archive-people{color:#607384}html[data-theme="light"] .timx702-archive-people strong{color:#1b2d3a}html[data-theme="light"] .timx702-recurring-chip{background:#fff3cc;color:#694f00;border-color:#d5b85b}html[data-theme="light"] .timx702-archive-meta{background:#f6fafc;border-color:#c4d5e1;color:#5c7080}html[data-theme="light"] .timx702-archive-meta b{color:#182a37}
html[data-theme="light"] .timx702-archive-recurring{background:#f4faf7;border-color:#bfd7cb;color:#1d3c30}html[data-theme="light"] .timx702-archseg{border-color:#d7e6df}html[data-theme="light"] .timx702-tech-group>header{background:#f0eef5;border-color:#d1ccd9;color:#262231}html[data-theme="light"] .timx702-tech-group article{border-color:#d7dce3;color:#1b2b38}

@media(max-width:1350px){.timx702-daily-head{display:none}.timx702-daily-task{grid-template-columns:repeat(4,minmax(130px,1fr))!important}.timx702-daily-task small[data-route-hint]{grid-column:1/-1!important}.timx630-segment-head{display:none}.timx630-segment-row{grid-template-columns:44px repeat(2,minmax(150px,1fr))!important}.timx702-archive-main{grid-template-columns:1fr 1fr!important}.timx702-archive-main>div:last-child{grid-column:1/-1}.timx702-archseg-head{display:none}.timx702-archseg{grid-template-columns:repeat(2,minmax(150px,1fr))}}
@media(max-width:760px){.timx702-daily-task,.timx702-archseg{grid-template-columns:1fr!important}.timx630-segment-row{grid-template-columns:1fr 1fr!important}.timx702-tech-group article{grid-template-columns:1fr}.timx702-archive-main{grid-template-columns:1fr!important}.timx702-archive-main>div:last-child{grid-column:auto}}

/* ===== TIMX 7.1.0 TEST – JOGOSULTSÁG 2.0 + ARCHÍV ADATMINŐSÉG + TV DISPLAY 2.0 ===== */
/* Oldalsáv: a fő munkaterületek vizuálisan is külön zónák. */
.timx-v2-nav-group{--timx710-group:#55b7ff;--timx710-group-soft:rgba(85,183,255,.10);border-left:3px solid transparent;border-radius:11px;padding-left:2px;transition:.15s}
.timx-v2-nav-group[data-nav-group="overview"]{--timx710-group:#5dc7ff;--timx710-group-soft:rgba(93,199,255,.10)}
.timx-v2-nav-group[data-nav-group="freight"]{--timx710-group:#45d08b;--timx710-group-soft:rgba(69,208,139,.10)}
.timx-v2-nav-group[data-nav-group="fleet"]{--timx710-group:#58a8ff;--timx710-group-soft:rgba(88,168,255,.10)}
.timx-v2-nav-group[data-nav-group="technical"]{--timx710-group:#f1a43a;--timx710-group-soft:rgba(241,164,58,.11)}
.timx-v2-nav-group[data-nav-group="finance"]{--timx710-group:#bd79ff;--timx710-group-soft:rgba(189,121,255,.11)}
.timx-v2-nav-group[data-nav-group="records"]{--timx710-group:#8ea0b3;--timx710-group-soft:rgba(142,160,179,.10)}
.timx-v2-nav-group[open]{border-left-color:var(--timx710-group);background:linear-gradient(90deg,var(--timx710-group-soft),transparent 58%)}
.timx-v2-nav-group>summary{position:relative}.timx-v2-nav-group>summary::after{content:'';position:absolute;left:7px;right:7px;bottom:0;height:1px;background:linear-gradient(90deg,var(--timx710-group),transparent);opacity:.28}
.timx-v2-nav-group .timx-v2-group-icon{color:var(--timx710-group)}
.timx-v2-nav-group .timx-v2-nav-item.active{box-shadow:inset 3px 0 var(--timx710-group)!important}
.timx-v2-nav-group .timx-v2-nav-item.active .timx-v2-nav-icon{background:var(--timx710-group)!important;color:#07121b!important}
.timx-v2-nav-group .timx-v2-nav-item:hover{border-color:color-mix(in srgb,var(--timx710-group) 42%,#244760)!important}
.timx-v2-system-group{--timx710-group:#d5a25e;--timx710-group-soft:rgba(213,162,94,.10)}

/* Fuvarból gyors GPS: a hiány figyelmeztetés, nem mentési blokkoló ok. */
.timx710-gps-state{display:inline-flex;align-items:center;gap:5px;margin-top:5px;padding:4px 7px;border-radius:8px;font-size:9px;font-weight:900;line-height:1.2;width:max-content;max-width:100%}
button.timx710-gps-state{cursor:pointer}.timx710-gps-state.ready{border:1px solid #277b57;background:rgba(39,123,87,.15);color:#75e0aa}.timx710-gps-state.missing{border:1px solid #c49329;background:rgba(196,147,41,.16);color:#ffd777}.timx710-gps-state.idle{border:1px solid var(--border);background:var(--panel-2);color:var(--muted)}
.timx710-gps-missing-input{border-color:#d09a32!important;box-shadow:inset 0 0 0 1px rgba(208,154,50,.22)!important}

/* Archív adatminőség / utólagos adatpótlás */
.timx710-archive-page{display:grid;gap:14px}.timx710-quality-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px;border-radius:14px;border:1px solid var(--border);background:var(--panel)}
.timx710-quality-summary>div{display:grid;gap:4px}.timx710-quality-summary span{font-size:11px;color:var(--muted);line-height:1.4}.timx710-quality-summary.warn{border-color:#c18b28;background:rgba(193,139,40,.10)}.timx710-quality-summary.ok{border-color:#287d58;background:rgba(40,125,88,.08)}.timx710-quality-summary button.active{background:#a87419;color:#fff;border-color:#d0a242}
.timx710-archive-card.has-missing{border-left:4px solid #d39a2d}.timx710-quality-badge{display:inline-flex;margin-top:6px;padding:3px 7px;border-radius:999px;background:#553d10;color:#ffd979;font-size:9px;font-weight:950}.timx710-quality-badge.ok{background:#123d2d;color:#8ee1b4}
.timx710-archive-people{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}.timx710-archive-people span{display:grid;gap:2px;font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.timx710-archive-people strong{font-size:11px;color:var(--text);text-transform:none;letter-spacing:0}
.timx710-archive-empty-field{padding:6px;border-radius:10px;background:rgba(135,149,163,.08);border:1px dashed rgba(135,149,163,.35)}.timx710-archive-empty-field input,.timx710-archive-empty-field select,.timx710-archive-empty-field textarea{background:#18222d!important;color:#94a4b2!important;border-color:#42505d!important}
.timx710-archive-required-missing{padding:6px;border-radius:10px;background:rgba(183,45,59,.11);border:1px solid rgba(218,73,88,.72)!important}.timx710-archive-required-missing input,.timx710-archive-required-missing select,.timx710-archive-required-missing textarea,.timx710-archive-required-input{border-color:#e34c59!important;box-shadow:inset 0 0 0 1px rgba(227,76,89,.30)!important}
.timx710-archive-reminder{display:grid;gap:4px;margin:10px 0 14px;padding:11px 13px;border-radius:12px;border:1px solid var(--border)}.timx710-archive-reminder span{font-size:10px;line-height:1.4}.timx710-archive-reminder.warn{background:rgba(183,45,59,.10);border-color:#a63c47;color:#ffdce0}.timx710-archive-reminder.ok{background:rgba(40,125,88,.09);border-color:#32775a;color:#b5e9cd}

/* TV DISPLAY 2.0: teljesen külön tesztfal; a régi TV Display CSS/markup érintetlen. */
.timx710-tv2-page{--tv2-bg:#07121e;--tv2-panel:#0c1d2c;--tv2-panel2:#10283a;--tv2-line:#24465d;--tv2-text:#f2f7fb;--tv2-muted:#9cb1c2;min-height:calc(100vh - 100px);padding:15px;background:radial-gradient(circle at top,#0e2638 0,#07121e 58%);color:var(--tv2-text);border-radius:18px;display:grid;gap:12px}
.timx710-tv2-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 18px;border:1px solid var(--tv2-line);border-radius:15px;background:linear-gradient(135deg,#0c2133,#081622)}.timx710-tv2-head span{font-size:9px;font-weight:950;letter-spacing:.14em;color:#5bc6ff}.timx710-tv2-head h2{font-size:27px;margin:3px 0}.timx710-tv2-head p{margin:0;color:var(--tv2-muted);font-size:11px}.timx710-tv2-head>div:last-child{display:flex;gap:8px;flex-wrap:wrap}
.timx710-tv-kpis{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:9px}.timx710-tv-kpis>div{padding:11px 13px;border:1px solid var(--tv2-line);border-radius:12px;background:#0b1e2d;display:grid;gap:2px}.timx710-tv-kpis strong{font-size:24px}.timx710-tv-kpis span{font-size:9px;font-weight:900;text-transform:uppercase;color:var(--tv2-muted);letter-spacing:.06em}.timx710-tv-kpis .alert{border-color:#9c3945;background:#31131b}.timx710-tv-kpis .warn{border-color:#9b7227;background:#2d2411}
.timx710-tv-tabs{display:flex;gap:7px;flex-wrap:wrap;padding:9px;border:1px solid var(--tv2-line);border-radius:12px;background:#091a28}.timx710-tv-tabs button{background:#10283a;color:#d8e9f5;border-color:#31556e}.timx710-tv-tabs button.active{background:#1c78b3;color:#fff;border-color:#54bdff;box-shadow:0 0 0 1px #54bdff55}
.timx710-tv-grid{display:grid;grid-template-columns:repeat(2,minmax(480px,1fr));gap:9px;align-items:start}.timx710-tv-card{border:1px solid var(--tv2-line);border-radius:13px;background:#0b1d2b;overflow:hidden;box-shadow:0 5px 16px #0003}.timx710-tv-card.warning{border-color:#9d6e28}.timx710-tv-card>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;padding:10px 12px;background:#10283a;border-bottom:1px solid var(--tv2-line)}.timx710-tv-card>header>div:first-child{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:9px;align-items:center}.timx710-tv-card>header span{grid-row:1/3;display:grid;place-items:center;min-width:75px;padding:5px 7px;border-radius:8px;background:#193d58;color:#88d6ff;font-size:8px;font-weight:950;text-align:center}.timx710-tv-card>header strong{font-size:19px}.timx710-tv-card>header small{color:var(--tv2-muted);font-size:10px}.timx710-tv-state{display:grid;gap:4px;justify-items:end}.timx710-tv-state b{padding:4px 7px;border-radius:999px;background:#1c4f71;color:#dff5ff;font-size:9px}.timx710-tv-state em{font-style:normal;font-size:8px;font-weight:900;color:#ffd373;background:#543a0d;border-radius:6px;padding:3px 5px}
.timx710-tv-route{display:grid;grid-template-columns:1fr .72fr 1fr;min-height:95px}.timx710-tv-route section{padding:10px 11px;border-right:1px solid var(--tv2-line);display:grid;align-content:center;gap:4px;min-width:0}.timx710-tv-route section:last-child{border-right:0}.timx710-tv-route .deadhead{background:#181d25}.timx710-tv-route label{font-size:8px;font-weight:950;letter-spacing:.08em;color:#6cc8ff}.timx710-tv-route .deadhead label{color:#f7c761}.timx710-tv-route b{font-size:13px;overflow:hidden;text-overflow:ellipsis}.timx710-tv-route small{font-size:9px;color:var(--tv2-muted)}
.timx710-tv-card>footer{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:8px;align-items:center;padding:8px 11px;background:#081724;border-top:1px solid #17394e;font-size:9px;color:#a9bdcc}.timx710-tv-gps{display:inline-flex;padding:3px 6px;border-radius:999px;font-weight:900}.timx710-tv-gps.ok{background:#123d2d;color:#8ce0b2}.timx710-tv-gps.stale{background:#573f0f;color:#ffd475}.timx710-tv-gps.no{background:#263440;color:#91a5b5}.timx710-tv-eta,.timx710-tv-suggest{display:block;margin-top:3px}.timx710-tv-suggest{color:#ffd16b}
.timx710-tv2-page:fullscreen{border-radius:0;padding:12px;overflow:auto;background:#06101a}.timx710-tv2-page:fullscreen .timx710-tv-grid{grid-template-columns:repeat(2,minmax(560px,1fr))}

/* Világos téma általános kontraszt-audit: disabled/readonly mező is olvasható marad. */
html[data-theme="light"] input:disabled,html[data-theme="light"] select:disabled,html[data-theme="light"] textarea:disabled,html[data-theme="light"] input[readonly],html[data-theme="light"] textarea[readonly]{background:#edf2f5!important;color:#465966!important;-webkit-text-fill-color:#465966!important;border-color:#c5d0d7!important;opacity:1!important}
html[data-theme="light"] .timx710-gps-state.ready{background:#e5f6ee;color:#17643f;border-color:#80bea0}html[data-theme="light"] .timx710-gps-state.missing{background:#fff4d5;color:#72540c;border-color:#d3af50}html[data-theme="light"] .timx710-gps-state.idle{background:#eef3f6;color:#536878}
html[data-theme="light"] .timx710-archive-empty-field{background:#f2f4f5;border-color:#c9d1d6}html[data-theme="light"] .timx710-archive-empty-field input,html[data-theme="light"] .timx710-archive-empty-field select,html[data-theme="light"] .timx710-archive-empty-field textarea{background:#edf1f3!important;color:#65747e!important;border-color:#c6d0d6!important}html[data-theme="light"] .timx710-archive-required-missing{background:#fff1f2;border-color:#d85d67!important}html[data-theme="light"] .timx710-archive-reminder.warn{background:#fff0f1;color:#7d2730;border-color:#df8b93}html[data-theme="light"] .timx710-archive-reminder.ok{background:#edf9f3;color:#205c42;border-color:#8fc6aa}html[data-theme="light"] .timx710-quality-summary.warn{background:#fff8e5;color:#583f0b}html[data-theme="light"] .timx710-quality-summary.ok{background:#effaf4;color:#1d543d}html[data-theme="light"] .timx710-quality-badge{background:#fff0bd;color:#6a4a00}html[data-theme="light"] .timx710-quality-badge.ok{background:#dff5e9;color:#205d43}
html[data-theme="light"] .timx-v2-nav-group[open]{background:linear-gradient(90deg,color-mix(in srgb,var(--timx710-group) 12%,#fff),transparent 60%)}html[data-theme="light"] .timx-v2-nav-group>summary::after{opacity:.42}html[data-theme="light"] .timx-v2-nav-group .timx-v2-nav-item.active .timx-v2-nav-icon{color:#fff!important}
/* TV2 szándékosan magas kontrasztú operatív fal marad világos alkalmazástémában is. */
html[data-theme="light"] .timx710-tv2-page{color:var(--tv2-text)}

@media(max-width:1350px){.timx710-tv-grid{grid-template-columns:1fr}.timx710-tv-kpis{grid-template-columns:repeat(3,1fr)}.timx710-archive-people{grid-template-columns:1fr}}
@media(max-width:760px){.timx710-quality-summary,.timx710-tv2-head{align-items:stretch;flex-direction:column}.timx710-tv-kpis{grid-template-columns:1fr 1fr}.timx710-tv-route{grid-template-columns:1fr}.timx710-tv-route section{border-right:0;border-bottom:1px solid var(--tv2-line)}.timx710-tv-card>footer{grid-template-columns:1fr}.timx710-tv-grid{display:block}.timx710-tv-card{margin-bottom:10px}}

/* ===== TIMX 7.2.0 TEST – STABILIZÁLÁS / LIGHT AUDIT / TV DISPLAY 2.1 ===== */
/* Kezdőlap – valódi világos téma, erős kontraszt. */
html[data-theme="light"] .timx-home{color:#172635}
html[data-theme="light"] .timx-home-hero{background:linear-gradient(135deg,#ffffff,#eef6fb 72%,#e3f1fa)!important;border-color:#b8d2e3!important;box-shadow:0 14px 34px rgba(38,70,91,.10)!important}
html[data-theme="light"] .timx-home-hero p{color:#146f9f!important}
html[data-theme="light"] .timx-home-hero h2{color:#142737!important;-webkit-text-fill-color:#142737!important;text-shadow:none!important}
html[data-theme="light"] .timx-home-hero span{color:#506a7d!important}
html[data-theme="light"] .timx-home-card{background:#fff!important;color:#172635!important;border-color:#cad8e2!important;box-shadow:0 7px 18px rgba(40,68,88,.07)!important}
html[data-theme="light"] .timx-home-card:hover,html[data-theme="light"] .timx-home-card:focus-visible{background:#f2f8fc!important;border-color:#72a9ca!important}
html[data-theme="light"] .timx-home-copy strong{color:#182b39!important;-webkit-text-fill-color:#182b39!important}
html[data-theme="light"] .timx-home-copy small{color:#536c7c!important;-webkit-text-fill-color:#536c7c!important}
html[data-theme="light"] .timx-home-icon{background:#e6f3fb!important;border-color:#acd1e8!important;color:#164c6b!important}
html[data-theme="light"] .timx-home-arrow{color:#187bb2!important}
html[data-theme="light"] .timx-no-access h3{color:#172635!important}html[data-theme="light"] .timx-no-access p{color:#536c7c!important}

/* Általános világos-mód audit – a régi sötét komponensek se maradjanak sötéten/szürkén olvashatatlanul. */
html[data-theme="light"] :is(.card,.toolbar,.table-wrap,.form-section,.modal .card){color:#182a38}
html[data-theme="light"] :is(.card,.toolbar,.table-wrap) :is(h1,h2,h3,h4,strong,b){text-shadow:none}
html[data-theme="light"] .muted{color:#5c7282!important}
html[data-theme="light"] .empty{color:#687d8b!important}
html[data-theme="light"] #modal :is(input,select,textarea):not(:disabled):not([readonly]){color:#172638;-webkit-text-fill-color:#172638}

/* Coloplast: Kihozatal oszlopban ne ismételjük meg a pót rendszámát – annak külön Pót oszlopa van. */
.simple-coloplast-table.timx14-simple td:nth-child(2) .trailer-wrap{display:none!important}

/* Fuvarból GPS gyorsrögzítés: dinamikus / új helyszíneknél is azonnal látható. */
.timx720-gps-inline{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:5px;font-size:10px;font-weight:800;line-height:1.2}
.timx720-gps-inline span{padding:3px 7px;border-radius:7px;border:1px solid transparent}.timx720-gps-inline .idle{color:#8293a2}.timx720-gps-inline .ok{background:#123b2d;color:#9be7bc;border-color:#2a6e4f}.timx720-gps-inline .warn{background:#4b390c;color:#ffe19a;border-color:#967521}.timx720-gps-inline small{color:#91a6b7;font-weight:600}.timx720-gps-inline button{padding:4px 8px;min-height:0;font-size:10px;background:#936a0c;border-color:#d0a733;color:#fff8df}
input.timx720-location-missing{border-color:#d99a20!important;box-shadow:0 0 0 1px #d99a20aa!important}
html[data-theme="light"] .timx720-gps-inline .idle{color:#607483}html[data-theme="light"] .timx720-gps-inline .ok{background:#e7f7ef;color:#17613f;border-color:#8bc8a5}html[data-theme="light"] .timx720-gps-inline .warn{background:#fff4ce;color:#6e5209;border-color:#d9b34f}html[data-theme="light"] .timx720-gps-inline small{color:#5e7281}html[data-theme="light"] .timx720-gps-inline button{background:#fff0bd;color:#694d05;border-color:#d1ad4f}

/* Életciklus / archív státusz. */
.timx720-life-note{margin-top:12px;padding:10px 12px;border:1px solid #33566f;border-radius:10px;background:#0d2233;color:#a9bed0;font-size:12px;line-height:1.4}.timx720-lifecycle-modal label.wide{grid-column:1/-1}
html[data-theme="light"] .timx720-life-note{background:#eef7fc;color:#3c596c;border-color:#bdd5e5}

/* ---------- TV DISPLAY 2.1 ---------- */
.timx720-tv2-page{--tv-bg:#06111c;--tv-panel:#0b1d2b;--tv-panel2:#10283a;--tv-head:#0a1a27;--tv-line:#2a4a60;--tv-text:#edf6fc;--tv-muted:#95aabd;--tv-blue:#5bc9ff;--tv-yellow:#ffd35f;--tv-green:#72df9c;--tv-red:#ff7d89;box-sizing:border-box;min-height:calc(100vh - 94px);padding:10px;background:var(--tv-bg);color:var(--tv-text);border-radius:16px;display:grid;grid-template-rows:auto auto minmax(420px,1fr) auto;gap:7px}
.timx720-tv-head{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:14px;align-items:center;padding:9px 12px;border:1px solid var(--tv-line);border-radius:11px;background:var(--tv-head)}
.timx720-tv-head>div:first-child span{display:block;color:var(--tv-blue);font-size:9px;font-weight:950;letter-spacing:.13em}.timx720-tv-head h2{margin:2px 0 0;font-size:20px;color:var(--tv-text)}
.timx720-tv-kpis{display:flex;gap:6px;flex-wrap:wrap}.timx720-tv-kpis span{display:flex;align-items:baseline;gap:4px;padding:5px 8px;border-radius:8px;background:var(--tv-panel2);border:1px solid var(--tv-line);color:var(--tv-muted);font-size:9px;font-weight:850}.timx720-tv-kpis b{font-size:15px;color:var(--tv-text)}.timx720-tv-kpis .bad{border-color:#a9424e;background:#39141d}.timx720-tv-kpis .bad b{color:#ff9ba5}
.timx720-tv-actions{display:flex;gap:6px}.timx720-tv-actions button,.timx720-tv-tabs button{min-height:0;padding:6px 10px;font-size:10px}
.timx720-tv-tabs{display:flex;gap:5px;align-items:center;flex-wrap:wrap;padding:5px 7px;border:1px solid var(--tv-line);border-radius:10px;background:var(--tv-head)}.timx720-tv-tabs button{background:var(--tv-panel2);color:var(--tv-text);border-color:var(--tv-line)}.timx720-tv-tabs button.active{background:#1b7db8;border-color:#6ed1ff;color:#fff;box-shadow:0 0 0 1px #6ed1ff55}
.timx720-tv-panels{min-height:0;display:grid;gap:7px;align-items:stretch}.timx720-tv-panels.two{grid-template-columns:1fr 1fr}.timx720-tv-panels.multi{grid-template-columns:1fr 1fr}.timx720-tv-panels.one{grid-template-columns:1fr}
.timx720-tv-panel{min-width:0;min-height:0;border:1px solid var(--tv-line);border-radius:11px;background:var(--tv-panel);overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr)}.timx720-tv-panel>header{display:flex;align-items:center;justify-content:space-between;padding:5px 9px;background:var(--tv-panel2);border-bottom:1px solid var(--tv-line)}.timx720-tv-panel>header h3{margin:0;font-size:14px;color:var(--tv-text)}.timx720-tv-panel>header span{font-size:9px;font-weight:950;color:var(--tv-muted);padding:2px 6px;border-radius:999px;border:1px solid var(--tv-line)}
.timx720-tv-panel.source-coloplast>header{background:#164d74}.timx720-tv-panel.source-fuvartbla>header{background:#693713}.timx720-tv-panel.source-belfld>header{background:#17563d}.timx720-tv-panel.source-timxspecialfuvarok>header{background:#6b1d25}
.timx720-tv-table-wrap{min-height:0;overflow:hidden}.timx720-tv-panel table{width:100%;height:auto;border-collapse:collapse;table-layout:fixed;font-size:9px}.timx720-tv-panel th{height:22px;padding:3px 4px;background:#0d2232;color:#a8c3d5;border-right:1px solid var(--tv-line);border-bottom:1px solid var(--tv-line);font-size:7px;text-transform:uppercase;letter-spacing:.035em}.timx720-tv-panel td{padding:3px 4px;border-right:1px solid var(--tv-line);border-bottom:1px solid #1a3548;vertical-align:middle;overflow:hidden;color:var(--tv-text)}.timx720-tv-panel tr.warn td{background:#2d2812}.timx720-tv-panel th:nth-child(1){width:13%}.timx720-tv-panel th:nth-child(2){width:12%}.timx720-tv-panel th:nth-child(3){width:9%}.timx720-tv-panel th:nth-child(4){width:23%}.timx720-tv-panel th:nth-child(5){width:12%}.timx720-tv-panel th:nth-child(6){width:23%}.timx720-tv-panel th:nth-child(7){width:16%}
.timx720-ops{display:grid;grid-template-columns:1fr 1fr;gap:3px}.timx720-ops.one{grid-template-columns:1fr}.timx720-ops span{display:grid;min-width:0}.timx720-ops small{font-size:6px;color:var(--tv-blue);font-weight:950}.timx720-ops b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timx720-ops em{font-size:7px;color:var(--tv-muted);font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.timx720-main{display:grid;gap:1px;text-align:center}.timx720-main b{font-size:11px}.timx720-main span{font-size:8px;color:var(--tv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timx720-trailer{font-size:13px;font-weight:1000;letter-spacing:.025em;text-align:center;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.timx720-routebox{display:grid;gap:2px}.timx720-routebox>strong{font-size:7px;letter-spacing:.08em;color:var(--tv-blue)}.timx720-routebox.imp>strong{color:#f6a551}.timx720-routebox>small{font-size:6.5px;color:var(--tv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timx720-taskline{display:grid;grid-template-columns:31px minmax(0,1fr) auto;gap:3px;align-items:center}.timx720-taskline b{font-size:6px;color:var(--tv-muted)}.timx720-taskline span{font-size:8px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timx720-taskline time{font-size:7px;font-weight:900;color:var(--tv-yellow);white-space:nowrap}
.timx720-deadhead{display:grid;gap:2px;text-align:center}.timx720-deadhead b{font-size:7px;color:var(--tv-yellow)}.timx720-deadhead span{font-size:7.5px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timx720-deadhead small{font-size:7px;color:var(--tv-muted)}
.timx720-state{display:flex;gap:3px;align-items:flex-start;flex-wrap:wrap}.timx720-state>b{padding:2px 5px;border-radius:999px;background:#164a6c;color:#dff5ff;font-size:7px}.timx720-state em{font-style:normal;padding:2px 4px;border-radius:5px;background:#5a4210;color:#ffe18b;font-size:6px;font-weight:950}.timx720-state small{display:block;width:100%;font-size:6.5px;color:var(--tv-muted)}.timx720-gps{padding:2px 4px;border-radius:999px;font-size:6px;font-weight:950}.timx720-gps.ok{background:#123c2c;color:#8ce0b2}.timx720-gps.stale{background:#593f0f;color:#ffd475}.timx720-gps.no{background:#263846;color:#9fb1bf}
.timx720-tv-foot{display:flex;justify-content:space-between;gap:15px;color:var(--tv-muted);font-size:8px;padding:0 3px}
.timx720-tv-error{padding:24px}

/* Fullscreen: fix 100vh, a fal maga nem görgethető. A sorok a rendelkezésre álló magasságra ülnek rá. */
.timx720-tv2-page:fullscreen{width:100vw;height:100vh;min-height:0;border-radius:0;padding:6px;overflow:hidden;grid-template-rows:auto auto minmax(0,1fr) auto;background:var(--tv-bg)}
.timx720-tv2-page:fullscreen .timx720-tv-panels{min-height:0;overflow:hidden}.timx720-tv2-page:fullscreen .timx720-tv-panel{height:100%;min-height:0}.timx720-tv2-page:fullscreen .timx720-tv-table-wrap{height:100%;overflow:hidden}.timx720-tv2-page:fullscreen .timx720-tv-panel table{height:100%}.timx720-tv2-page:fullscreen .timx720-tv-panel tbody tr{height:calc((100vh - 155px) / var(--tvRows))}.timx720-tv2-page:fullscreen .timx720-tv-panel td{padding-top:1px;padding-bottom:1px}.timx720-tv2-page:fullscreen .timx720-tv-head{padding:5px 9px}.timx720-tv2-page:fullscreen .timx720-tv-head h2{font-size:17px}.timx720-tv2-page:fullscreen .timx720-tv-panel>header{padding:3px 8px}.timx720-tv2-page:fullscreen .timx720-tv-panel>header h3{font-size:12px}.timx720-tv2-page:fullscreen .timx720-tv-tabs{padding:3px 5px}.timx720-tv2-page:fullscreen .timx720-tv-tabs button{padding:3px 7px;font-size:8px}.timx720-tv2-page:fullscreen .timx720-tv-foot{font-size:6px}

/* TV2 valódi világos mód. */
html[data-theme="light"] .timx720-tv2-page{--tv-bg:#eef3f6;--tv-panel:#fff;--tv-panel2:#e4edf3;--tv-head:#f8fbfd;--tv-line:#b7cbd8;--tv-text:#142735;--tv-muted:#526b7c;--tv-blue:#147db3;--tv-yellow:#8c6500;--tv-green:#1b7249;--tv-red:#a72e3d;background:var(--tv-bg);color:var(--tv-text)}
html[data-theme="light"] .timx720-tv-head h2,html[data-theme="light"] .timx720-tv-panel>header h3{color:var(--tv-text)!important}html[data-theme="light"] .timx720-tv-panel.source-coloplast>header{background:#d9eef9}html[data-theme="light"] .timx720-tv-panel.source-fuvartbla>header{background:#f8e7d8}html[data-theme="light"] .timx720-tv-panel.source-belfld>header{background:#ddf3e8}html[data-theme="light"] .timx720-tv-panel.source-timxspecialfuvarok>header{background:#f8dfe2}
html[data-theme="light"] .timx720-tv-panel th{background:#e8f0f5;color:#3c586b}html[data-theme="light"] .timx720-tv-panel td{color:#172b39;border-bottom-color:#d9e3e9}html[data-theme="light"] .timx720-tv-panel tr.warn td{background:#fff8dd}html[data-theme="light"] .timx720-trailer{color:#0c2b3d}html[data-theme="light"] .timx720-main span,html[data-theme="light"] .timx720-ops em,html[data-theme="light"] .timx720-routebox>small,html[data-theme="light"] .timx720-state small{color:#5b7282}html[data-theme="light"] .timx720-state>b{background:#dceef8;color:#18516f}html[data-theme="light"] .timx720-state em{background:#fff0bd;color:#6e5205}html[data-theme="light"] .timx720-gps.ok{background:#def4e8;color:#17613e}html[data-theme="light"] .timx720-gps.stale{background:#fff0c3;color:#725509}html[data-theme="light"] .timx720-gps.no{background:#e8eef2;color:#526978}

@media(max-width:1400px){.timx720-tv-panels.multi{grid-template-columns:1fr}.timx720-tv-panel table{font-size:8px}.timx720-taskline{grid-template-columns:28px minmax(0,1fr)}.timx720-taskline time{grid-column:2}}
@media(max-width:900px){.timx720-tv-head{grid-template-columns:1fr}.timx720-tv-panels.two,.timx720-tv-panels.multi{grid-template-columns:1fr}.timx720-tv2-page{overflow:auto}.timx720-tv-table-wrap{overflow-x:auto}.timx720-tv-panel table{min-width:1050px}}

/* TIMX 7.2.0 – Controlling lekérdező / nyomtatható jelentés */
.timx720-report-builder{padding:15px;margin-bottom:12px;display:grid;gap:12px}.timx720-report-builder-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.timx720-report-builder-head h3{margin:0 0 4px}.timx720-report-builder-head p{margin:0;color:var(--muted);max-width:760px}.timx720-report-presets,.timx720-report-actions{display:flex;gap:7px;flex-wrap:wrap}.timx720-report-dims{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:9px}.timx720-report-dims label{display:grid;gap:4px}.timx720-report-dims label>span{font-size:10px;font-weight:900;color:var(--muted)}.timx720-report-fields{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px;border:1px solid var(--border);border-radius:10px;background:rgba(20,48,69,.25)}.timx720-report-fields>b{margin-right:5px}.timx720-report-check{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:4px 7px!important;border:1px solid var(--border)!important;border-radius:8px!important;background:var(--panel2)!important}.timx720-report-check input{width:auto!important}.timx720-report-check span{font-size:10px!important;font-weight:800!important;color:var(--text)!important}.timx720-report-preview{padding:0;overflow:hidden}.timx720-report-preview-head{display:flex;justify-content:space-between;align-items:center;padding:12px 15px;border-bottom:1px solid var(--border)}.timx720-report-preview-head h3{margin:0}.timx720-report-preview-head span{color:var(--muted);font-size:11px}.timx720-report-document{padding:16px}.timx720-report-document>header{padding-bottom:12px;border-bottom:2px solid var(--border);margin-bottom:12px}.timx720-report-document>header h1{margin:0 0 4px;font-size:23px}.timx720-report-document>header p{margin:0;font-weight:900}.timx720-report-document>header small{color:var(--muted)}.timx720-report-section{margin:14px 0}.timx720-report-section>h2{font-size:16px;margin:0 0 8px;padding-bottom:5px;border-bottom:1px solid var(--border)}.timx720-report-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:7px}.timx720-report-kpis>span{display:grid;gap:3px;padding:10px;border:1px solid var(--border);border-radius:9px;background:var(--panel2)}.timx720-report-kpis small{font-size:8px;font-weight:950;letter-spacing:.06em;color:var(--muted);text-transform:uppercase}.timx720-report-kpis b{font-size:15px}.timx720-report-table{min-width:1250px;width:100%;border-collapse:collapse}.timx720-report-table th,.timx720-report-table td{padding:6px 7px;border:1px solid var(--border);vertical-align:top;font-size:10px}.timx720-report-table th{background:var(--panel2);font-size:8px;text-transform:uppercase}.timx720-report-table td small{display:block;color:var(--muted);margin-top:2px}.timx720-report-chips{display:flex;gap:6px;flex-wrap:wrap}.timx720-report-chips>span{display:grid;gap:2px;padding:7px 9px;border:1px solid var(--border);border-radius:8px;background:var(--panel2)}.timx720-report-chips small{color:var(--muted)}
html[data-theme="light"] .timx720-report-fields,html[data-theme="light"] .timx720-report-check,html[data-theme="light"] .timx720-report-kpis>span,html[data-theme="light"] .timx720-report-chips>span{background:#f7fafc;border-color:#cbd9e2;color:#172b39}html[data-theme="light"] .timx720-report-table th{background:#e8f0f6;color:#1a2a38}html[data-theme="light"] .timx720-report-table td{color:#1b2d39;border-color:#ccd9e2}
@media(max-width:900px){.timx720-report-builder-head{flex-direction:column}.timx720-report-dims{grid-template-columns:1fr}.timx720-report-table{min-width:1100px}}

/* TIMX 7.2.0 – 09.01 előtti archív rekordok nem hibák */
.timx710-quality-badge.legacy{background:#243849;color:#9eb5c5}
.timx710-archive-reminder.legacy{background:#13283a;color:#b8cad7;border:1px solid #355169}
html[data-theme="light"] .timx710-quality-badge.legacy{background:#e7edf1;color:#536b7b}
html[data-theme="light"] .timx710-archive-reminder.legacy{background:#f1f5f7;color:#49606f;border-color:#c6d3db}
.timx720-report-note{margin:8px 0 0;padding:8px 10px;border-radius:8px;background:rgba(30,91,128,.15);color:var(--muted);font-size:10px;line-height:1.4}
html[data-theme="light"] .timx720-report-note{background:#eaf4fa;color:#486879}
.timx720-fuel-table{min-width:720px}

/* TIMX 7.2.1 HOTFIX – világos téma: üzembiztonsági / kiértékelési jelzések olvashatósága */
html[data-theme="light"] .timx60-safety-hard{background:#fff0f1!important;border-color:#d99aa1!important;color:#7f1f2a!important}
html[data-theme="light"] .timx60-safety-warn{background:#fff8df!important;border-color:#d5b75d!important;color:#624a00!important}
html[data-theme="light"] .timx60-safety-item.hard{background:#fff6f6!important;border-color:#e0b2b7!important;color:#542028!important}
html[data-theme="light"] .timx60-safety-item.warn{background:#fffaf0!important;border-color:#dcc77d!important;color:#4f420f!important}
html[data-theme="light"] .timx60-safety-item span{color:#435564!important}
html[data-theme="light"] .timx60-safety-section.hard{background:#fff7f7!important;border-color:#dfaeb4!important}
html[data-theme="light"] .timx60-safety-section.hard>h3{color:#922c37!important}
html[data-theme="light"] .timx60-safety-section.warn{background:#fffaf0!important;border-color:#d9c16f!important}
html[data-theme="light"] .timx60-safety-section.warn>h3{color:#765b00!important}
.timx660-system-lock{display:inline-flex;align-items:center;padding:7px 9px;border:1px solid #7e6a32;border-radius:8px;background:#292412;color:#ffe5a0;font-size:11px;font-weight:700}
html[data-theme="light"] .timx660-system-lock{background:#fff5d8!important;border-color:#d8bd69!important;color:#6d5100!important}
