/* Daily handoff workspace. Every override stays inside the company screen. */
body.af-ux #company #handoff-workspace{--handoff-ink:#18354d;--handoff-muted:#5c7386;--handoff-line:#dce6ee;min-width:0!important;padding:20px!important;border:1px solid var(--handoff-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 3px 16px #163e5f06!important;margin-bottom:16px!important;color:var(--handoff-ink);font-variant-numeric:tabular-nums}
body.af-ux #company #handoff-workspace *,body.af-ux #company #handoff-workspace *::before,body.af-ux #company #handoff-workspace *::after{box-sizing:border-box}
body.af-ux #company #handoff-workspace [hidden]{display:none!important}
body.af-ux #company #handoff-workspace .af-handoff-head{display:flex!important;justify-content:space-between;align-items:flex-start;gap:12px;margin:0 0 16px!important}
body.af-ux #company #handoff-workspace .af-handoff-head>div{min-width:0}
body.af-ux #company #handoff-workspace .af-handoff-head small{display:block;font-size:11px!important;font-weight:750;letter-spacing:.09em;color:#1877ca}
body.af-ux #company #handoff-workspace .af-handoff-head h2{margin:5px 0 0!important;font-size:24px!important;line-height:1.25!important;font-weight:750!important;color:var(--handoff-ink)}
body.af-ux #company #handoff-workspace .af-handoff-head p{margin:6px 0 0!important;font-size:13px!important;line-height:1.45!important;color:var(--handoff-muted)}
body.af-ux #company #handoff-workspace .af-handoff-day-label{flex-shrink:0;max-width:100%;padding:7px 10px;border-radius:8px;background:#edf5fc;color:#1c659f;font-size:12px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .af-handoff-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr);gap:10px;margin-bottom:14px}
body.af-ux #company #handoff-workspace .af-handoff-filters label{display:grid;gap:5px;min-width:0;margin:0;color:var(--handoff-muted);font-size:12px;font-weight:650}
body.af-ux #company #handoff-workspace .af-handoff-filters :is(input,select){width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;padding:9px 10px!important;border:1px solid #cbdbe7!important;border-radius:9px!important;background:#fff!important;color:var(--handoff-ink)!important;font:400 16px/1.4 system-ui!important;box-shadow:none!important}
body.af-ux #company #handoff-workspace .af-handoff-filters input::placeholder{color:#728496;font-size:14px}
body.af-ux #company #handoff-workspace .af-handoff-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body.af-ux #company #handoff-workspace .af-handoff-kpi{display:flex;flex-direction:column;gap:5px;min-width:0;min-height:98px;padding:13px 14px;border:1px solid var(--handoff-line);border-radius:11px;background:#f8fafc}
body.af-ux #company #handoff-workspace .af-handoff-kpi.received{background:#f1f7ff;border-color:#d9e8f8}
body.af-ux #company #handoff-workspace .af-handoff-kpi.returned{background:#f0f9f5;border-color:#d5eadd}
body.af-ux #company #handoff-workspace .af-handoff-kpi small{font-size:12px;font-weight:650;line-height:1.35;color:var(--handoff-muted)}
body.af-ux #company #handoff-workspace .af-handoff-kpi strong{font-size:26px!important;line-height:1.25!important;font-weight:750!important;letter-spacing:-.02em;color:var(--handoff-ink);overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .af-handoff-kpi.received strong{color:#1766b5}
body.af-ux #company #handoff-workspace .af-handoff-kpi.returned strong{color:#087b59}
body.af-ux #company #handoff-workspace .af-handoff-kpi em{font-size:.7em;font-style:normal;color:#718798}
body.af-ux #company #handoff-workspace .af-handoff-kpi span{font-size:12px;line-height:1.4;color:var(--handoff-muted);overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .af-handoff-finance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:10px 0 0;padding:12px 0;border-bottom:1px solid var(--handoff-line)}
body.af-ux #company #handoff-workspace .af-handoff-finance>div{min-width:0;padding:0 12px;border-right:1px solid var(--handoff-line)}
body.af-ux #company #handoff-workspace .af-handoff-finance>div:first-child{padding-left:0}
body.af-ux #company #handoff-workspace .af-handoff-finance>div:last-child{padding-right:0;border:0}
body.af-ux #company #handoff-workspace .af-handoff-finance dt{font-size:12px;line-height:1.4;color:var(--handoff-muted)}
body.af-ux #company #handoff-workspace .af-handoff-finance dd{margin:5px 0 0;font-size:17px;font-weight:700;line-height:1.35;overflow-wrap:anywhere;color:var(--handoff-ink)}
body.af-ux #company #handoff-workspace .af-handoff-finance .has-due dd{color:#bd571a}
body.af-ux #company #handoff-workspace .af-handoff-scope-note{margin:8px 0!important;font-size:12px!important;line-height:1.5!important;color:var(--handoff-muted)!important;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace #company-trip-handoff-history{display:block!important;margin:18px 0!important}
body.af-ux #company #handoff-workspace #company-trip-handoff-history[hidden]{display:none!important}
body.af-ux #company #handoff-workspace .af-handoff-section-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin:16px 0 10px}
body.af-ux #company #handoff-workspace .af-handoff-section-title>div{min-width:0}
body.af-ux #company #handoff-workspace .af-handoff-section-title h3{margin:0!important;font-size:16px!important;font-weight:750!important;line-height:1.4!important;color:var(--handoff-ink)}
body.af-ux #company #handoff-workspace .af-handoff-section-title p{margin:3px 0 0!important;font-size:12px!important;line-height:1.45!important;color:var(--handoff-muted)}
body.af-ux #company #handoff-workspace .af-handoff-section-title>span{flex-shrink:0;max-width:45%;padding:4px 7px;border-radius:6px;background:#f0f4f8;font-size:12px;line-height:1.4;color:#486279}
body.af-ux #company #handoff-workspace .af-handoff-staff-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
body.af-ux #company #handoff-workspace .af-handoff-staff-card{min-width:0;border:1px solid var(--handoff-line)!important;border-radius:11px!important;background:#fff!important;overflow:hidden}
body.af-ux #company #handoff-workspace .af-handoff-staff-card.needs-review{border-color:#e8c993!important}
body.af-ux #company #handoff-workspace .af-handoff-staff-card>summary{display:block;min-height:44px;padding:12px;list-style:none;cursor:pointer;background:#fcfdff}
body.af-ux #company #handoff-workspace summary::-webkit-details-marker{display:none}
body.af-ux #company #handoff-workspace summary::marker{content:""}
body.af-ux #company #handoff-workspace .af-handoff-staff-head{display:flex;align-items:center;gap:8px}
body.af-ux #company #handoff-workspace .af-handoff-staff-head>div{flex:1;min-width:0}
body.af-ux #company #handoff-workspace .af-handoff-staff-head strong{display:block;font-size:16px!important;font-weight:700!important;line-height:1.35!important;overflow-wrap:anywhere;color:var(--handoff-ink)}
body.af-ux #company #handoff-workspace .af-handoff-staff-head small{display:block;margin-top:2px;font-size:12px;line-height:1.45;color:var(--handoff-muted)}
body.af-ux #company #handoff-workspace .af-handoff-tag{display:inline-block;max-width:48%;padding:4px 6px;border-radius:6px;background:#edf5fd;color:#246aab;font-size:11px;font-weight:650;line-height:1.4;text-align:center;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .af-handoff-tag.warning{background:#fff5e6;color:#92590e}
body.af-ux #company #handoff-workspace .af-handoff-staff-head i{flex-shrink:0;font-size:18px;font-style:normal;color:#648399}
body.af-ux #company #handoff-workspace .af-handoff-staff-card[open] .af-handoff-staff-head i{transform:rotate(180deg)}
body.af-ux #company #handoff-workspace .af-handoff-staff-glance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 0 0;padding:0}
body.af-ux #company #handoff-workspace .af-handoff-staff-glance>div{min-width:0}
body.af-ux #company #handoff-workspace .af-handoff-staff-glance dt{font-size:11px;line-height:1.4;color:var(--handoff-muted)}
body.af-ux #company #handoff-workspace .af-handoff-staff-glance dd{margin:3px 0 0;font-size:21px;font-weight:700;line-height:1.25;overflow-wrap:anywhere;color:var(--handoff-ink)}
body.af-ux #company #handoff-workspace .af-handoff-stock-line{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:9px;padding-top:8px;border-top:1px solid #e8eef4;font-size:12px;line-height:1.45;color:var(--handoff-muted)}
body.af-ux #company #handoff-workspace .af-handoff-stock-line b{font-weight:600;color:#3c5870;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .af-handoff-staff-detail{padding:0 12px 12px;border-top:1px solid var(--handoff-line)}
body.af-ux #company #handoff-workspace .af-handoff-staff-detail p{margin:8px 0 0;font-size:12px;line-height:1.5;color:var(--handoff-muted);overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .af-handoff-table-wrap{max-width:100%;overflow-x:auto}
body.af-ux #company #handoff-workspace .af-handoff-table-wrap table{width:100%;table-layout:fixed;border-collapse:collapse;margin:8px 0 0;font-size:13px}
body.af-ux #company #handoff-workspace .af-handoff-table-wrap caption{padding:3px 0 8px;text-align:left;font-size:12px;line-height:1.4;color:var(--handoff-muted)}
body.af-ux #company #handoff-workspace .af-handoff-table-wrap :is(th,td){height:auto!important;padding:9px 3px!important;border-bottom:1px solid #e5edf3;text-align:right;vertical-align:middle;font-size:13px!important;line-height:1.4!important;overflow-wrap:anywhere;white-space:normal!important}
body.af-ux #company #handoff-workspace .af-handoff-table-wrap th{font-weight:600;color:#567188}
body.af-ux #company #handoff-workspace .af-handoff-table-wrap th:first-child{width:25%;text-align:left}
body.af-ux #company #handoff-workspace .af-handoff-trips{margin-top:10px;border:1px solid var(--handoff-line);border-radius:9px;overflow:hidden}
body.af-ux #company #handoff-workspace .af-handoff-trips>summary{display:flex;justify-content:space-between;gap:8px;min-height:44px;padding:12px;list-style:none;font-size:13px;font-weight:650;color:#285774;cursor:pointer;background:#f8fafc}
body.af-ux #company #handoff-workspace .af-handoff-trips[open]>summary span{transform:rotate(180deg)}
body.af-ux #company #handoff-workspace #handoff-trip-list{padding:0 12px 12px}
body.af-ux #company #handoff-workspace .af-handoff-trip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.af-ux #company #handoff-workspace .af-handoff-trip-grid article{min-width:0;padding:11px;border:1px solid var(--handoff-line);border-radius:8px;background:#fff}
body.af-ux #company #handoff-workspace .af-handoff-trip-grid article>div{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
body.af-ux #company #handoff-workspace .af-handoff-trip-grid strong{font-size:14px;line-height:1.4;font-weight:650;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .af-handoff-trip-grid article>small{display:block;margin-top:4px;font-size:12px;line-height:1.4;color:var(--handoff-muted)}
body.af-ux #company #handoff-workspace .af-handoff-warning{padding:8px 10px!important;border-radius:7px;background:#fff7e9!important;color:#855618!important;font-size:12px!important;line-height:1.45!important;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .af-handoff-empty{margin:0!important;padding:16px 12px!important;border:1px dashed #ccdce8;border-radius:9px;background:#f9fbfd;color:var(--handoff-muted);font-size:13px;line-height:1.5}
body.af-ux #company #handoff-workspace .af-handoff-status-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:10px}
body.af-ux #company #handoff-workspace .af-handoff-status-filters button{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;min-width:0;min-height:44px;padding:7px 5px;border:1px solid #d5e2ec;border-radius:8px;background:#fff;color:#566f84;font:600 13px/1.4 system-ui;cursor:pointer}
body.af-ux #company #handoff-workspace .af-handoff-status-filters button[aria-pressed="true"]{border-color:#92bee5;background:#edf5fd;color:#1465a8}
body.af-ux #company #handoff-workspace .af-handoff-status-filters b{min-width:20px;padding:1px 5px;border-radius:5px;background:#eaf0f5;font-size:12px;text-align:center}
body.af-ux #company #handoff-workspace .af-handoff-status-filters button[aria-pressed="true"] b{background:#d7eafb;color:#1465a8}
body.af-ux #company #handoff-workspace .af-handoff-journal{gap:9px!important;padding:0!important}
body.af-ux #company #handoff-workspace .receipt-item-disclosure{border:1px solid var(--handoff-line)!important;border-radius:11px!important;box-shadow:none!important}
body.af-ux #company #handoff-workspace .receipt-item-summary{grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;min-height:0!important;padding:12px!important}
body.af-ux #company #handoff-workspace .receipt-number-line{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px}
body.af-ux #company #handoff-workspace .receipt-number-line span{padding:4px 6px;font-size:11px;line-height:1.3;border-radius:6px}
body.af-ux #company #handoff-workspace .receipt-number-line time{font-size:12px;line-height:1.4;color:var(--handoff-muted)}
body.af-ux #company #handoff-workspace .receipt-item-summary-main>strong{margin:2px 0;font-size:16px!important;line-height:1.35!important;font-weight:700!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .receipt-item-summary-main>small{font-size:12px!important;line-height:1.4!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .receipt-physical-summary{display:flex!important;flex-wrap:wrap!important;gap:4px!important;margin:3px 0!important}
body.af-ux #company #handoff-workspace .receipt-physical-summary span{padding:4px 6px!important;font-size:12px!important;line-height:1.35!important;min-height:0!important;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .receipt-physical-summary b{font-size:12px!important;line-height:1.35!important}
body.af-ux #company #handoff-workspace .receipt-enterprise-status{min-width:0!important;max-width:160px;padding:8px!important;border-radius:8px!important}
body.af-ux #company #handoff-workspace .receipt-enterprise-status small{display:block;font-size:10px!important;line-height:1.4!important;letter-spacing:.025em!important}
body.af-ux #company #handoff-workspace .receipt-enterprise-status strong{display:block;margin-top:3px;font-size:14px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .receipt-enterprise-status.is-cancelled{background:#f0f2f4;color:#5a6e7c}
body.af-ux #company #handoff-workspace .receipt-item-detail{padding:12px!important}
body.af-ux #company #handoff-workspace .receipt-detail-meta{gap:5px;margin-bottom:10px}
body.af-ux #company #handoff-workspace .receipt-detail-meta span{font-size:12px!important;line-height:1.45!important;font-weight:500!important;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .receipt-bottle-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
body.af-ux #company #handoff-workspace .receipt-bottle-grid>span{min-width:0;min-height:0!important;padding:10px!important;border-radius:9px!important}
body.af-ux #company #handoff-workspace .receipt-bottle-grid :is(small,em,i){font-size:11px!important;line-height:1.4!important;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .receipt-bottle-grid strong{font-size:23px!important;line-height:1.3!important;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .receipt-enterprise-finance{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
body.af-ux #company #handoff-workspace .receipt-enterprise-finance>span{min-width:0;padding:9px!important}
body.af-ux #company #handoff-workspace .receipt-enterprise-finance small{font-size:11px!important;line-height:1.4!important}
body.af-ux #company #handoff-workspace .receipt-enterprise-finance strong{font-size:14px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace :is(.receipt-enterprise-note p,.receipt-readonly-note){font-size:13px!important;line-height:1.5!important;overflow-wrap:anywhere}
body.af-ux #company #handoff-workspace .receipt-enterprise-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:10px!important}
body.af-ux #company #handoff-workspace .receipt-enterprise-actions button{flex:1 1 110px;min-width:0!important;min-height:44px!important;padding:8px 10px!important;font-size:13px!important;line-height:1.4!important;white-space:normal!important;border-radius:8px!important}
body.af-ux #company #handoff-workspace :is(button,summary,input,select):focus-visible{outline:2px solid #1879ce!important;outline-offset:2px!important}
body.af-ux #company #handoff-workspace #handoff-trip-retry{min-height:44px;padding:9px 14px;margin-top:9px;border:1px solid #bed5e7;border-radius:8px;background:#f2f7fc;color:#22629b;font:600 13px system-ui;cursor:pointer}
body.af-ux #company #handoff-workspace .receipt-edit-request-queue{margin-top:14px!important;border-top:1px solid var(--handoff-line)!important;padding-top:8px!important}
body.af-ux #company #handoff-workspace .receipt-edit-request-queue>summary{min-height:44px!important;font-size:13px!important;line-height:1.45!important}
@media(max-width:900px){body.af-ux #company #handoff-workspace .af-handoff-staff-list{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
  body.af-ux #company #handoff-workspace{padding:13px!important;border-radius:13px!important;margin-bottom:12px!important}
  body.af-ux #company #handoff-workspace .af-handoff-head{flex-wrap:wrap;gap:8px;margin-bottom:12px!important}
  body.af-ux #company #handoff-workspace .af-handoff-head h2{font-size:22px!important}
  body.af-ux #company #handoff-workspace .af-handoff-head p{font-size:12px!important}
  body.af-ux #company #handoff-workspace .af-handoff-day-label{padding:5px 8px}
  body.af-ux #company #handoff-workspace .af-handoff-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.af-ux #company #handoff-workspace .af-handoff-search{grid-column:1/-1}
  body.af-ux #company #handoff-workspace .af-handoff-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.af-ux #company #handoff-workspace .af-handoff-kpi{min-height:94px;padding:11px 12px}
  body.af-ux #company #handoff-workspace .af-handoff-kpi strong{font-size:25px!important}
  body.af-ux #company #handoff-workspace .af-handoff-finance>div{padding-inline:7px}
  body.af-ux #company #handoff-workspace .af-handoff-finance dt{font-size:11px}
  body.af-ux #company #handoff-workspace .af-handoff-finance dd{font-size:13px}
  body.af-ux #company #handoff-workspace .af-handoff-trip-grid{grid-template-columns:minmax(0,1fr)}
  body.af-ux #company #handoff-workspace .receipt-item-summary{grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
  body.af-ux #company #handoff-workspace .receipt-item-summary-side{justify-content:space-between!important;gap:9px!important}
  body.af-ux #company #handoff-workspace .receipt-enterprise-status{display:flex!important;align-items:center;justify-content:space-between;gap:8px;flex:1;max-width:none!important;padding:7px 9px!important}
  body.af-ux #company #handoff-workspace .receipt-enterprise-status strong{margin:0!important;text-align:right}
  body.af-ux #company #handoff-workspace .receipt-bottle-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.af-ux #company #handoff-workspace .receipt-enterprise-finance{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:360px){body.af-ux #company #handoff-workspace .af-handoff-status-filters button{font-size:12px;gap:3px}body.af-ux #company #handoff-workspace .af-handoff-staff-head{flex-wrap:wrap}body.af-ux #company #handoff-workspace .af-handoff-tag{max-width:65%}body.af-ux #company #handoff-workspace .af-handoff-stock-line{gap:3px 7px}}
