.shipments-view .arrival-watch{border:1px solid #dbe6f2;border-radius:14px;padding:18px 20px;background:#f7faff;margin:0 0 20px;min-width:0}
body:not(.shipments-view) .arrival-watch{display:none}
.arrival-watch-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.arrival-watch h3{font-size:16px;margin:0 0 5px;color:#183955}
.arrival-watch-heading p,.arrival-watch-note{font-size:12px;line-height:1.5;color:#637b91;margin:0}
.arrival-watch-filters{display:flex;gap:8px;flex-wrap:wrap}
.arrival-watch-filters button{line-height:1.4;font-family:inherit;font-size:13px;font-weight:600;min-height:44px;display:inline-flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border-radius:8px;border:1px solid #d5e1ef;background:white;color:#325572;cursor:pointer;flex:1 1 175px}
.arrival-watch-filters b{background:#edf3fb;color:#004aad;min-width:24px;padding:2px 6px;border-radius:5px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums}
.arrival-watch-filters button[aria-pressed=true]{background:#004aad;color:white;border-color:#004aad}
.arrival-watch-filters button[aria-pressed=true] b{background:#fff;color:#004aad}
.arrival-watch-filters .arrival-watch-clear{flex:0 0 auto;background:transparent;border-color:transparent;color:#004aad;text-decoration:underline}
.arrival-watch-note{margin-top:11px}
.arrival-alert-settings{position:relative;flex:none;font-size:13px;color:#004aad}
.arrival-alert-settings summary{cursor:pointer;padding:8px 10px;border-radius:6px;border:1px solid #cfdeee;background:#fff;font-weight:600}
.arrival-alert-settings>div{position:absolute;right:0;top:calc(100% + 8px);z-index:15;width:310px;max-width:calc(100vw - 60px);padding:18px;background:white;border:1px solid #d5e1ef;border-radius:10px;box-shadow:0 10px 30px #19355520}
.arrival-alert-settings label{display:flex;gap:10px;align-items:flex-start;line-height:1.5;font-weight:600;color:#27425b}
.arrival-alert-settings input{margin-top:3px;accent-color:#004aad}
.arrival-alert-settings p,.arrival-alert-settings small{display:block;margin-top:10px;color:#637b91;font-size:12px;line-height:1.5}
.arrival-alert-settings [role=status]{display:block;margin-top:10px;font-size:12px}
#history-load-table .ht-arrival-row>td{padding:0 18px 12px;background:#fff;border-bottom:1px solid #e3eaf2}
#history-load-table .ht-arrival-list{display:flex;flex-wrap:wrap;gap:7px}
#history-load-table .ht-arrival-pill{display:inline-flex;gap:8px;align-items:center;background:#eef5ff;color:#004aad;padding:6px 10px;border-radius:6px;font-size:12px;line-height:1.4}
#history-load-table .ht-arrival-pill[data-tone=amber]{background:#fff6e7;color:#835416}
#history-load-table .ht-arrival-pill[data-tone=red]{background:#fff0ee;color:#ad342d}
#history-load-table .ht-arrival-pill small{font-size:11px;color:inherit}
#history-load-table .ht-arrival-section{margin:0 0 12px;border:1px solid #dce6f1;border-radius:10px;background:#fff;padding:14px}
#history-load-table .ht-arrival-section h3{margin:0;font-size:14px;color:#234763}
#history-load-table .ht-arrival-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
#history-load-table .ht-arrival-heading>span{font-size:11px;color:#6c8296}
#history-load-table .ht-arrival-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:10px}
#history-load-table .ht-arrival-event{border:1px solid #e0e8f1;border-radius:8px;padding:12px;background:#fbfcfe;font-size:12px;min-width:0}
#history-load-table .ht-arrival-event>strong{display:block;color:#284e71;font-size:13px;margin:4px 0 6px}
#history-load-table .ht-arrival-event p{margin:5px 0;line-height:1.5;color:#5f778e}
#history-load-table .ht-arrival-event .ht-arrival-warning{color:#875416}
#history-load-table .ht-arrival-event .ht-arrival-confirmed{color:#ad342d}
#history-load-table .ht-arrival-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
#history-load-table .ht-arrival-actions a{padding:8px 12px;min-height:36px;border:1px solid #cddbea;border-radius:7px;font-size:12px;color:#004aad;text-decoration:none;display:inline-flex;align-items:center;background:white}
.arrival-watch :focus-visible{outline:2px solid #004aad;outline-offset:3px}
@container(max-width:760px){#history-load-table .ht-arrival-row,#history-load-table .ht-arrival-row>td{display:block}#history-load-table .ht-arrival-grid{grid-template-columns:minmax(0,1fr)}#history-load-table .ht-arrival-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.shipments-view .arrival-watch{padding:14px}.arrival-watch-heading{gap:8px}.arrival-watch-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.arrival-watch-filters button{min-height:54px;font-size:12px;padding:9px;gap:5px;min-width:0}.arrival-watch-filters .arrival-watch-clear{grid-column:1/-1;justify-content:center}.arrival-watch-heading p{max-width:200px}.arrival-alert-settings summary{font-size:12px;white-space:nowrap}}

#history-load-table td>.ht-arrival-pill{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin-top:8px;max-width:100%}
