/* Manager tickets only: preserve the original form, report table and controls. */
@media screen{
html body.leave-style #app-shell #manager-leave-view{border:1px solid #b8cfe2!important;border-radius:22px!important;background:linear-gradient(145deg,#fff,#fafcff)!important;padding:16px 16px 108px!important;min-width:0;min-height:var(--mt-height,calc(100dvh - 100px));box-sizing:border-box;box-shadow:inset 0 1px 0 #fff,0 5px 18px #284c6810!important;}
html body.leave-style #manager-leave-view>.page-head{margin:0 0 12px!important;padding:0 2px!important;}
#manager-leave-view>.page-head .eyebrow,#manager-transport-app>.panel>h2{display:none!important}
html body.leave-style #manager-leave-view>.page-head h1{font-size:19px!important;margin:0!important;}
html body.leave-style #manager-leave-view :is(.panel,.leave-embedded){min-width:0!important;max-width:none!important;}
html body.leave-style #manager-leave-view .panel{border:1px solid #c8daea!important;border-radius:17px!important;background:#fff!important;padding:12px!important;box-shadow:0 3px 12px #294e6d08!important;}
#manager-transport-app>.panel>p:first-of-type{margin:0 2px 10px;font-size:12px;line-height:1.6;color:#5c788d}
html body.leave-style #manager-leave-view :is(input,select){min-width:0!important;max-width:100%;min-height:36px!important;border:1px solid #bdd1e1!important;border-radius:10px!important;background:#fff!important;color:#24465f;padding:7px 10px!important;box-sizing:border-box}
html body.leave-style #manager-leave-view :is(button,a.portal-card){min-height:36px!important;border-radius:10px!important;padding:7px 12px!important;white-space:nowrap;flex-shrink:0;}
html body.leave-style #manager-transport-app .transport-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border:1px solid #d2e0ed;background:#f7fafc;border-radius:12px;padding:9px!important;margin:0 0 10px!important;}
#manager-transport-app .transport-controls input[type=search]{flex:1;min-width:160px!important;}
html body.leave-style #manager-transport-app [data-search],html body.leave-style #manager-leave-view #search-button{background:#17689f!important;color:#fff!important;border-color:#17689f!important;}
#manager-transport-app [data-count]{font-size:12px;font-weight:600;color:#50728c;margin:0;margin-inline-start:auto}
#manager-transport-app [role=alert]:empty{display:none}
#manager-transport-app .transport-table-wrap{overflow:visible!important;min-width:0;}
html body.leave-style #manager-transport-app table{display:table!important;width:100%!important;min-width:0!important;border-collapse:separate!important;border-spacing:0 5px!important;table-layout:auto;font-size:13px!important;}
#manager-transport-app{container:transport / inline-size}
html body.leave-style #manager-transport-app :is(th,td):last-child:not([colspan]){
  width:1%;white-space:nowrap!important;text-align:end;
}
html body.leave-style #manager-transport-app :is(th,td){padding:10px!important;white-space:normal!important;overflow-wrap:anywhere;vertical-align:middle!important;line-height:1.55;}
html body.leave-style #manager-transport-app thead th{background:#eef5fa!important;color:#416981;border-top:1px solid #cbdde9;border-bottom:1px solid #cbdde9!important;font-weight:600;}
html body.leave-style #manager-transport-app tbody td{border-top:1px solid #c7dbea!important;border-bottom:1px solid #c7dbea!important;background:#fff!important;transition:background .18s,border-color .18s;}
#manager-transport-app :is(th,td):first-child{border-left:1px solid #c7dbea;border-radius:12px 0 0 12px}
#manager-transport-app :is(th,td):last-child{border-right:1px solid #c7dbea;border-radius:0 12px 12px 0}
html body.leave-style #manager-transport-app tbody tr:hover td{background:#f2f8fd!important;border-color:#98bdd8!important;}
#manager-transport-app tbody td:first-child{font-weight:600;color:#214e70}#manager-transport-app td small{font-size:11px;font-weight:400;color:#6a8599;margin-top:3px}
html body.leave-style #manager-transport-app [data-edit]{border:1px solid #abc9df!important;background:#edf6fd!important;color:#205e87!important;box-shadow:none!important;min-width:84px;}
#manager-transport-app .transport-controls:has([data-prev]){border:0;background:none;justify-content:flex-end;margin:6px 0 0!important;padding:0!important;}
#manager-transport-app [data-editor]:not(:empty){margin-top:14px;border:1px solid #b6d1e5;border-radius:15px;background:#f9fcff;overflow:hidden;}
#manager-transport-app [data-editor]>h3{font-size:15px;padding:12px 14px;margin:0;border-bottom:1px solid #d4e4ef;background:#eef6fc;}
html body.leave-style #manager-transport-app .transport-form{background:#fff!important;border-radius:0!important;padding:14px!important;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));}
#manager-transport-app .transport-form>p{grid-column:1/-1;margin:0;font-size:12px;color:#617f95;line-height:1.6}
#manager-transport-app .transport-form>p[role=alert]{color:#a82323}
#manager-transport-app .transport-actions{border-top:1px solid #d8e6f0;padding-top:12px;}
html body.leave-style #manager-transport-app .transport-actions button{min-width:104px;}
#manager-leave-view #report-app .panel-head{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:0 0 10px;}
#manager-leave-view #report-app .panel-head h2{font-size:15px;margin:0 0 6px;color:#244e6c}
#manager-leave-view #report-app .panel-head p,#manager-leave-view #report-app .hint{font-size:12px;color:#678398;line-height:1.6;}
#manager-leave-view #report-app .search-row{display:flex;gap:8px;flex-wrap:wrap;padding:9px;border:1px solid #d0e0ec;border-radius:12px;background:#f7fafc;}
#manager-leave-view #report-app .search-row input{flex:1;}
#manager-leave-view #report-app .export-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:end;}
#manager-leave-view #report-app .table-wrap{max-width:100%;overflow:auto;border:1px solid #c8dce9;border-radius:12px;}
#manager-leave-view #report-app table{width:100%;min-width:580px;table-layout:auto;font-size:12px;}
#manager-leave-view #report-app :is(td,th):last-child{overflow-wrap:anywhere}
#manager-leave-view #report-app :is(th,td){padding:8px!important;line-height:1.5;}
#manager-leave-view #report-app th{background:#eef5fa!important;color:#416981;}
html body.leave-style #manager-ticket-dock{position:fixed;bottom:12px;display:flex;align-items:center;justify-content:center;gap:8px;width:max-content!important;min-width:0!important;height:74px;box-sizing:border-box;padding:10px 14px!important;margin:0!important;transform:translateX(-50%);border:1px solid #a9c7df!important;border-radius:22px!important;background:linear-gradient(160deg,#fffffff2,#edf6fcd9)!important;box-shadow:inset 0 1px 0 #fff,0 7px 24px #244e7525;z-index:45;overflow:visible;backdrop-filter:blur(10px);}
html body.leave-style #manager-ticket-dock[hidden],html body.leave-style #manager-ticket-dock [role=tab].hidden{display:none!important}
html body.leave-style #manager-ticket-dock [role=tab]{position:relative;display:grid;place-items:center;width:calc(48px + var(--mt-extra,0px));height:48px!important;min-height:48px!important;padding:0!important;flex:none;border:0!important;border-radius:13px!important;background:transparent!important;box-shadow:none!important;transform:none!important;transition:width .24s ease!important;}
#manager-ticket-dock .mt-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #b9cfdf;border-radius:12px;background:linear-gradient(145deg,#fff,#edf5fb);box-shadow:inset 0 1px 0 #fff,0 3px 7px #284f6d18;color:#315e7b;transform:translateY(var(--mt-lift,0px)) scale(var(--mt-scale,1));transition:transform .24s ease;}
#manager-ticket-dock .mt-icon svg{width:23px;height:23px}
#manager-ticket-dock [aria-selected=true] .mt-icon{background:linear-gradient(145deg,#dceefb,#c2ddf1);border-color:#7eaccd;color:#07538a;box-shadow:inset 0 1px 0 #fff,0 3px 9px #286c9e30;}
#manager-ticket-dock .mt-label{position:absolute;bottom:calc(100% + 13px);left:50%;transform:translateX(-50%);padding:5px 10px;border:1px solid #b6cede;border-radius:8px;background:#fffffff5;color:#244e6c;font-size:12px;white-space:nowrap;opacity:0;pointer-events:none;box-shadow:0 4px 14px #294e6d20;}
#manager-ticket-dock button:hover .mt-label,#manager-ticket-dock button:focus-visible .mt-label{opacity:1}
#manager-ticket-dock button:focus-visible{outline:2px solid #4686b4!important;outline-offset:3px}
}
@container transport (max-width:720px){
html body.leave-style #manager-transport-app :is(table,tbody){display:block!important;width:100%!important;}
#manager-transport-app thead{display:none}
html body.leave-style #manager-transport-app tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;border:1px solid #bfd6e7;border-radius:12px;padding:7px 8px;margin:4px 0;background:#fff;}
html body.leave-style #manager-transport-app tbody td{display:block;border:0!important;border-radius:0!important;padding:0!important;min-width:0;}
#manager-transport-app tbody td:nth-child(2){grid-column:1/-1;grid-row:2}
#manager-transport-app tbody td:nth-child(3),#manager-transport-app tbody td:nth-child(4){grid-row:3;}
html body.leave-style #manager-transport-app tbody td:last-child:not([colspan]){width:auto;grid-row:1;grid-column:2;justify-self:end;}
#manager-transport-app tbody td:nth-child(3)::before,#manager-transport-app tbody td:nth-child(4)::before{content:attr(data-mt-label);display:block;font-size:11px;color:#6b879a;margin-bottom:3px}
#manager-transport-app tbody td[colspan]{grid-column:1/-1;grid-row:auto!important;justify-self:stretch!important;font-weight:400!important;color:#6b879a!important;padding:16px!important;text-align:center;}
}
@media screen and (max-width:600px){
html body.leave-style #app-shell #manager-leave-view{padding:12px 12px 94px!important;border-radius:18px!important;}
html body.leave-style #manager-leave-view .panel{padding:10px!important;border-radius:14px!important;}
#manager-transport-app .transport-controls input[type=search]{flex-basis:100%;width:100%;min-width:0!important;}
html body.leave-style #app-shell #manager-leave-view #manager-transport-app .transport-controls select{flex:1 1 120px!important;width:auto!important;}
html body.leave-style #manager-transport-app [data-search]{font-size:12px!important;padding:7px 10px!important;}
html body.leave-style #manager-transport-app .transport-form{grid-template-columns:1fr;padding:12px!important;}
html body.leave-style #manager-leave-view #report-app .export-actions a{width:auto;max-width:100%;}
html body.leave-style #manager-ticket-dock{height:66px;bottom:10px;gap:6px;padding:8px 10px!important;}
html body.leave-style #manager-ticket-dock [role=tab]{width:40px;height:40px!important;min-height:40px!important;}
#manager-ticket-dock .mt-icon{width:36px;height:36px;border-radius:11px;}
#manager-ticket-dock .mt-icon svg{width:21px;height:21px;}
}


/* UI028: real original editor in a Genie dialog, not an inline duplicate. */
html body.leave-style #manager-transport-app .transport-selectable{cursor:pointer}
html body.leave-style #manager-transport-app .transport-selectable:focus-visible{outline:2px solid #428ab3;outline-offset:2px;border-radius:12px}
html body.leave-style #manager-transport-app [data-editor].transport-editor-overlay{position:fixed!important;inset:0!important;display:flex!important;align-items:center;justify-content:center;z-index:1200!important;margin:0!important;padding:16px!important;border:0!important;border-radius:0!important;background:#183b5e55!important;overflow:auto!important;box-sizing:border-box}
html body.leave-style #manager-transport-app .transport-ticket-modal{width:min(760px,100%);max-height:calc(100dvh - 32px);overflow:auto;min-width:0;padding:0!important;border:1px solid #9dbfd9;border-radius:22px!important;background:#fff;box-shadow:0 18px 55px #1b3f6b35;box-sizing:border-box}
html body.leave-style #manager-transport-app .transport-ticket-modal h3{margin:0;padding:15px 18px;border-bottom:1px solid #d4e4ef;background:#f3f8fc;font-size:16px}
html body.leave-style #manager-transport-app .transport-ticket-modal .transport-form{border-radius:0!important}
html body.leave-style #manager-transport-app .transport-ticket-modal .transport-actions{position:sticky;bottom:0;background:#fff;padding:10px 0 0}
html body.leave-style #manager-transport-app .transport-ticket-modal .transport-actions button{min-width:96px;min-height:36px}
@media(max-width:600px){html body.leave-style #manager-transport-app .transport-ticket-modal .transport-form{grid-template-columns:minmax(0,1fr)}}

@media screen {
html body.leave-style #manager-leave-view #manager-transport-app>.panel {
  width:100%;box-sizing:border-box;
}
html body.leave-style #manager-transport-app .transport-controls {
  padding:5px 7px!important;margin-bottom:5px!important;
}
html body.leave-style #manager-transport-app :is(th,td) {padding:4px 8px!important;line-height:1.4}
html body.leave-style #manager-leave-view #manager-transport-app [data-edit] {
  min-height:30px!important;min-width:0;padding:4px 9px!important;
}
#manager-transport-app .transport-person {display:flex;align-items:center;gap:6px}
#manager-transport-app .transport-person>span {min-width:0;overflow-wrap:anywhere}
html body.leave-style #manager-leave-view #manager-transport-app [data-filter-person] {
  display:grid;place-items:center;width:26px;height:26px;min-height:26px!important;
  padding:0!important;border:1px solid #bdd1e1;border-radius:7px!important;
  background:#fff;color:#416981;
}
html body.leave-style #manager-transport-app [data-filter-person][aria-pressed="true"] {
  background:#e2f1fb;color:#155d91;border-color:#85b1d2;
}
#manager-transport-app [data-clear-person][hidden] {display:none!important}
}
