/* Same dense delivery layout in the portal and in the standalone iPad page.
   Keep plain selectors/flex fallbacks for the delivery tablet's older Safari. */
.delivery-page{font-size:14px;line-height:1.35}
.delivery-page>div:first-child{margin-bottom:10px}
.delivery-page h1{font-size:24px}
.delivery-page .panel{padding:10px}
.delivery-page .deliveries>section{margin-top:8px;padding:10px}
.delivery-page .deliveries h2,.delivery-page .dashboard-section-heading h2{font-size:18px;line-height:1.25}
.delivery-page .dashboard-section-heading{padding:8px 10px}
.delivery-page .delivery-navigation{gap:6px;margin-bottom:10px;grid-template-columns:repeat(3,minmax(0,1fr))}
.delivery-page .delivery-navigation>a{min-height:42px;padding:6px 8px;gap:7px;border-radius:8px}
.delivery-page .delivery-navigation strong{font-size:13px;line-height:1.25}
.delivery-page .delivery-navigation small{display:none}
.delivery-page .delivery-navigation svg{width:18px;height:18px}
.delivery-page .delivery-attention{margin-bottom:10px;padding:8px 12px}
.delivery-page .delivery-attention h2{font-size:15px;margin-bottom:2px}
.delivery-page .delivery-attention li{padding:6px 0;gap:8px;flex-direction:row;align-items:center}
.delivery-page .delivery-attention p,.delivery-page .delivery-attention small,.delivery-page .delivery-attention span:not(.delivery-alert-count){margin-top:1px}
.delivery-page .delivery-attention a{padding:5px 8px;min-height:32px;font-size:12px}
.delivery-page .delivery-boxes-heading{margin-bottom:6px;gap:6px}
.delivery-page .delivery-boxes-heading form{width:auto;flex:1;min-width:180px}
.delivery-page .deliveries>nav{margin:8px 0;gap:6px}
.delivery-page .deliveries>nav>a{min-height:32px;padding:5px 10px;font-size:13px;line-height:1.3}
.delivery-page .deliveries>button{margin-bottom:6px}
.delivery-page .courier-panel{margin:8px 0}
.delivery-page .courier-panel>details{margin-top:6px}
.delivery-page .courier-panel>div:first-of-type>div>p{display:none}
.delivery-page .courier-panel>p{margin:5px 0;padding:6px 8px;font-size:12px}
.delivery-page .box-state-filter{margin:5px 0;gap:6px;font-size:12px}
.delivery-page .list-titles{padding:2px 8px;gap:4px 14px;font-size:11px}
.delivery-page .list-titles .list-sort-title{min-height:28px;padding:3px 0;font-size:11px}
.delivery-page .delivery-box-buttons{gap:4px}
.delivery-page .btn-secondary,.delivery-page .btn-primary,.delivery-page .deliveries button,.delivery-page .courier-panel button{min-height:32px;padding:5px 9px;font-size:13px;line-height:1.3}
.delivery-page .field{min-height:34px;padding:5px 8px;font-size:14px}
.delivery-page .delivery-preparation>*{margin-block-end:6px}
.delivery-page .delivery-closebar{padding:6px;gap:6px}
.delivery-page .delivery-closebar>div{width:auto;gap:4px}
.delivery-page .delivery-closebar button{width:auto}
.delivery-page .delivery-work-table th,.delivery-page .delivery-work-table td{padding:5px 8px;font-size:13px}
.delivery-page .delivery-work-check label,.delivery-page .delivery-select-all{min-height:32px}
.delivery-page .pickup-request-row{padding:8px 10px}
.delivery-page .pickup-request-row p{margin-top:2px}
.delivery-page .pickup-request-row>div:last-child{padding-top:6px;margin-top:6px}

.delivery-page .box-cube-grid,.delivery-tablet-compact .box-cube-grid{display:flex;flex-direction:column;align-items:stretch;margin:0}
.delivery-page .box-cube-grid>.box-cube,.delivery-tablet-compact .box-cube-grid>.box-cube{width:100%;margin:0 0 5px;border-top-width:1px;border-left:3px solid #5d87d6;border-radius:7px}
.delivery-page .box-cube .box-cube-face,.delivery-tablet-compact .box-cube .box-cube-face{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;width:100%;min-height:40px;padding:5px 8px;gap:0;border-radius:6px}
.delivery-page .box-cube .box-cube-face>*,.delivery-tablet-compact .box-cube .box-cube-face>*{margin:2px 10px 2px 0}
.delivery-page .box-cube .box-cube-top,.delivery-tablet-compact .box-cube .box-cube-top{width:auto;justify-content:flex-start;gap:6px;flex:none}
.delivery-page .box-cube-number,.delivery-tablet-compact .box-cube-number{font-size:13px}
.delivery-page .box-cube-client,.delivery-tablet-compact .box-cube-client{font-size:14px;line-height:1.3;flex:0 1 auto;max-width:100%}
.delivery-page .box-cube-state,.delivery-tablet-compact .box-cube-state{font-size:11px;padding:3px 5px;line-height:1.2;white-space:normal}
.delivery-page .box-cube-patients,.delivery-tablet-compact .box-cube-patients{width:auto;font-size:13px;flex:1 1 180px;line-height:1.3}
.delivery-page .box-cube-patients>span,.delivery-tablet-compact .box-cube-patients>span{display:inline;padding:0;border:0}
.delivery-page .box-cube-patients>span+span:before,.delivery-tablet-compact .box-cube-patients>span+span:before{content:' · '}
.delivery-page .box-cube .box-cube-open,.delivery-tablet-compact .box-cube .box-cube-open{margin-left:auto;font-size:11px;gap:3px}
.delivery-page .box-cube-face small,.delivery-tablet-compact .box-cube-face small{font-size:11px;line-height:1.3}
.delivery-page .box-cube-choice>label>input,.delivery-tablet-compact .box-cube-choice>input{top:9px;right:8px;width:20px;height:20px}
.delivery-page .box-cube-choice .box-cube-face,.delivery-tablet-compact .box-cube-choice .box-cube-face{padding-right:34px}
.delivery-page .box-cube-choice .box-cube-top,.delivery-tablet-compact .box-cube-choice .box-cube-top{padding-right:0}
.delivery-page .box-cube-detail,.delivery-tablet-compact .box-cube-detail{display:flex;flex-wrap:wrap;align-items:center;padding:8px;gap:5px 10px;font-size:13px}
.delivery-page .box-cube-detail>div,.delivery-tablet-compact .box-cube-detail>div{margin-bottom:0;min-width:0}
.delivery-page .box-detail-number,.delivery-tablet-compact .box-detail-number{display:none}
.delivery-page .box-cube-detail .delivery-box-client{width:100%;flex-basis:100%}
.delivery-page .delivery-box-recipient{gap:6px;align-items:center;justify-content:flex-start}
.delivery-page .delivery-box-recipient>strong{font-size:14px}
.delivery-page .delivery-box-recipient>button{min-width:32px;margin:0}
.delivery-page .delivery-box-works{margin-top:5px}
.delivery-page .delivery-box-works summary{font-size:12px}
.delivery-page .delivery-box-dates{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12px}
.delivery-page .delivery-box-dates p{margin:0}
.delivery-page .delivery-box-receipt{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.delivery-page .delivery-box-receipt>div{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.delivery-page .delivery-box-receipt p,.delivery-page .delivery-box-ticket p{margin:0;font-size:12px}
.delivery-page .delivery-box-actions{flex-basis:100%;padding-top:4px}
.delivery-page .delivery-box-buttons .delivery-lab-delivery{flex-basis:auto}
.delivery-page .box-cube-close,.delivery-tablet-compact .box-cube-close{display:inline-flex;width:auto;min-height:30px;padding:4px 8px;margin:0;font-size:12px;line-height:1.3}
.delivery-page .box-selection-bar,.delivery-tablet-compact .box-selection-bar{margin:5px 0;padding:5px 6px;gap:4px;border-radius:7px}
.delivery-page .courier-plan,.delivery-tablet-compact .courier-plan{padding:4px 8px 6px}
.delivery-page .courier-plan>div,.delivery-tablet-compact .courier-plan>div{margin-bottom:4px}
.delivery-page .courier-plan button,.delivery-tablet-compact .courier-plan button{width:auto;min-height:32px;padding:4px 8px}

.delivery-page .delivery-work-cards{margin-top:4px;gap:3px}
.delivery-page .delivery-work-cards .delivery-work-card{padding:4px 6px;gap:6px;align-items:center;line-height:1.25}
.delivery-page .delivery-work-card .delivery-work-index{height:20px;flex-basis:20px;font-size:11px;margin:0}
.delivery-page .delivery-work-identity{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
.delivery-page .delivery-work-name{font-size:14px}
.delivery-page .delivery-work-code>span:last-child{font-size:11px}
.delivery-page .delivery-work-identity .case-attention-label{margin:0;font-size:11px}
.delivery-page .delivery-work-open{width:auto;padding:0;min-height:0;font-size:11px}
.delivery-page .delivery-logistics,.delivery-tablet-compact .delivery-logistics{padding:5px 8px;margin-top:5px;font-size:12px;width:100%;flex-basis:100%;border-radius:6px}
.delivery-logistics-summary{display:flex;flex-wrap:wrap;align-items:center}
.delivery-logistics-summary>*{margin:2px 12px 2px 0}
.delivery-logistics-timing{display:inline-flex;align-items:center;gap:5px;font-weight:700}
.delivery-logistics-rule{margin-top:2px;font-size:11px}
.delivery-logistics-rule summary{cursor:pointer;color:inherit;text-decoration:underline}
.delivery-logistics-rule p{margin:4px 0}
.delivery-logistics [role=alert]{margin:4px 0;padding:5px 8px}

/* Tablet: the header, navigation and actions share rows instead of tall cards. */
.delivery-tablet-compact{font-size:15px;line-height:1.35}
.delivery-tablet-compact .page{max-width:none;padding:8px 12px}
.delivery-tablet-compact header{position:relative;min-height:50px;padding:0 110px 4px 50px}
.delivery-tablet-compact header .portal-logo{position:absolute;left:0;top:0;width:42px;height:42px}
.delivery-tablet-compact header h1{margin:0;font-size:21px;line-height:1.2}
.delivery-tablet-compact #identity{font-size:12px;margin:3px 0}
.delivery-tablet-compact .tablet-settings{top:0;right:0}
.delivery-tablet-compact .tablet-install-bar{margin:0}
.delivery-tablet-compact #sync-status{margin:0 0 4px;font-size:11px}
.delivery-tablet-compact #feedback{margin:4px 0;padding:6px 8px;font-size:13px}
.delivery-tablet-compact #feedback:empty{display:none}
.delivery-tablet-compact .panel{margin:6px 0;padding:8px 10px;border-radius:8px}
.delivery-tablet-compact h2{font-size:18px;margin:0 0 6px}
.delivery-tablet-compact h3{font-size:15px;margin:3px 0}
.delivery-tablet-compact p{margin:5px 0}
.delivery-tablet-compact button{min-height:40px;padding:6px 10px;margin:2px 3px 2px 0;font-size:14px;line-height:1.25;width:auto}
.delivery-tablet-compact .tablet-back{float:right;margin:0 0 4px 6px}
.delivery-tablet-compact .tablet-menu{display:flex;flex-wrap:wrap;margin:0 -3px}
.delivery-tablet-compact .tablet-menu button{flex:1 1 160px;min-height:48px;padding:8px;margin:3px;font-size:15px;text-align:center}
.delivery-tablet-compact label{margin:5px 0 3px;font-size:13px}
.delivery-tablet-compact input:not([type=checkbox]):not([type=radio]),.delivery-tablet-compact select{padding:6px 8px;min-height:38px;font-size:16px;margin:2px 0}
.delivery-tablet-compact .toolbar{margin:4px 0}
.delivery-tablet-compact .delivery-box-filters{display:flex;flex-wrap:wrap;align-items:center;margin:4px 0}
.delivery-tablet-compact .delivery-box-filters label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.delivery-tablet-compact .delivery-box-filters select{width:auto;flex:1 1 160px;margin-right:6px}
.delivery-tablet-compact .delivery-box-filters input{width:auto;flex:2 1 180px}
.delivery-tablet-compact .sort-titles{margin:3px 0;padding:0}
.delivery-tablet-compact .sort-titles button{min-height:30px;font-size:12px;padding:3px 7px}
.delivery-tablet-compact .box-cube-detail>p{margin:2px 8px 2px 0;font-size:12px}
.delivery-tablet-compact .box-cube-detail>button{margin:0;min-height:36px;font-size:13px;padding:5px 8px}
.delivery-tablet-compact .box-work-cards{width:100%;flex-basis:100%;margin:3px 0;padding:0}
.delivery-tablet-compact .box-work-cards .box-work-card{padding:5px 6px 5px 30px;margin:3px 0;min-height:34px;display:flex;align-items:center}
.delivery-tablet-compact .box-work-index{top:6px;left:5px;width:19px;height:19px;line-height:19px;font-size:11px}
.delivery-tablet-compact .box-work-identity{display:flex;flex:1;flex-wrap:wrap;align-items:baseline;min-width:0}
.delivery-tablet-compact .box-work-identity>strong{font-size:14px;margin-right:8px}
.delivery-tablet-compact .box-work-code,.delivery-tablet-compact .box-work-attention{display:inline;margin:1px 6px 1px 0;font-size:11px}
.delivery-tablet-compact .box-work-card button{min-height:32px;padding:4px 7px;font-size:12px;margin:0}
.delivery-tablet-compact .delivery-logistics.pickup-state{padding:5px 8px;font-size:12px}
.delivery-tablet-compact .delivery-logistics-summary button{min-height:32px;font-size:12px;margin:0}
.delivery-tablet-compact .tablet-pickup-picker{padding:8px;margin-bottom:6px}
.delivery-tablet-compact .tablet-pickup-picker p{margin:4px 0;font-size:13px}
.delivery-tablet-compact .tpp-choice{min-height:40px;padding:5px 7px;margin:3px 0}
.delivery-tablet-compact .tpp-choice small{display:inline;margin-left:7px;font-size:11px}
.delivery-tablet-compact .tpp-selected,.delivery-tablet-compact .tpp-actions{margin:5px 0;gap:4px}
.delivery-tablet-compact .courier-message{padding:6px 8px;margin:4px 0}
.delivery-tablet-compact .courier-text{overflow-y:hidden;resize:none;max-height:none}
.delivery-tablet-compact .work{padding:6px 8px;margin:4px 0}
.delivery-tablet-compact .archive-note,.delivery-tablet-compact .foot{font-size:11px;margin:4px 0}
.delivery-tablet-compact .box-cube-detail .pickup-state{margin:3px 0}
.delivery-page .tablet-dense-menu{gap:6px;padding:6px 0}
.delivery-page .tablet-dense-menu button{min-height:48px!important;flex-direction:row;gap:6px;font-size:14px!important}

@media(max-width:600px){
 .delivery-page .box-cube .box-cube-face,.delivery-tablet-compact .box-cube .box-cube-face{padding:5px 6px;min-height:44px}
 .delivery-page .box-cube-patients,.delivery-tablet-compact .box-cube-patients{flex-basis:100%;order:2}
 .delivery-page .box-cube-face small,.delivery-tablet-compact .box-cube-face small{order:3}
 .delivery-page .box-cube-open,.delivery-tablet-compact .box-cube-open{order:4}
 .delivery-page .box-cube-client,.delivery-tablet-compact .box-cube-client{font-size:13px}
 .delivery-page .delivery-navigation>a{gap:4px;padding:6px;min-height:46px}
 .delivery-page .delivery-navigation svg{display:none}
 .delivery-page .delivery-navigation strong{font-size:12px}
 .delivery-page .delivery-attention a{max-width:130px;white-space:normal}
 .delivery-page .field{font-size:16px}
 .delivery-tablet-compact .page{padding:6px}
 .delivery-tablet-compact .panel{padding:6px}
}
@media(pointer:coarse){
 .delivery-page .btn-secondary,.delivery-page .btn-primary,.delivery-page .deliveries button,.delivery-page .courier-panel button,.delivery-page .delivery-attention a{min-height:40px}
 .delivery-page .field{min-height:40px;font-size:16px}
 .delivery-page .box-cube-close,.delivery-tablet-compact .box-cube-detail>button,.delivery-tablet-compact .box-work-card button,.delivery-tablet-compact .sort-titles button{min-height:40px}
}

/* Expanded boxes: one action bar, compact metadata, shared portal/tablet controls. */
.delivery-page .box-cube,.delivery-tablet-compact .box-cube{--box-button-bg:#fff;--box-button-fg:#233b5b;--box-button-border:#bdcfe8;--box-button-hover:#eaf2ff;box-shadow:none}
.delivery-page .box-cube .box-cube-detail,.delivery-tablet-compact .box-cube .box-cube-detail{padding:6px 8px;gap:4px 8px}
.delivery-page .box-cube-detail .delivery-box-client{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
.delivery-page .box-cube-detail .delivery-pickup-time{display:flex;flex-wrap:wrap;align-items:center;gap:3px 8px;margin:0;font-size:12px}
.delivery-page .delivery-pickup-time>span{gap:5px;font-size:12px}
.delivery-page .delivery-pickup-time svg{width:16px;height:16px}
.delivery-page .box-cube-detail .delivery-box-works{width:100%;margin:0}
.delivery-page .box-cube-detail .delivery-box-works summary{min-height:0;font-size:11px;line-height:18px}
.delivery-page .box-cube-detail .delivery-work-cards{margin:2px 0 0;gap:3px}
.delivery-page .box-cube-detail .delivery-work-card{margin:0;padding:3px 5px}
.delivery-page .box-cube-detail .delivery-box-dates,.delivery-page .box-cube-detail .delivery-box-ticket{font-size:11px;line-height:18px;color:#516780}
.delivery-page .box-cube-detail .delivery-box-dates p{font-size:11px}
.delivery-page .box-cube-detail .delivery-box-toolbar,.delivery-tablet-compact .box-cube-detail .delivery-box-toolbar{display:flex;flex-wrap:wrap;align-items:center;width:100%;gap:4px;margin:0;padding:4px 0 0;border-top:1px solid #dce5f2}
.delivery-page .box-cube-detail .delivery-box-buttons,.delivery-page .delivery-box-toolbar .delivery-box-receipt,.delivery-page .delivery-box-toolbar .delivery-receipt-pending{display:contents}
.delivery-page .delivery-box-toolbar .delivery-receipt-pending>p{margin:0 5px 0 0;font-size:11px}
.delivery-page .delivery-box-toolbar .delivery-receipt-pending>p[role=alert]{width:100%;color:#b91c1c}
.delivery-page .delivery-box-toolbar .delivery-receipt-confirmed{display:flex;align-items:center;flex-wrap:wrap;gap:3px 8px;font-size:12px;margin-right:6px}
.delivery-page .delivery-box-toolbar .delivery-receipt-confirmed>div{display:flex;align-items:center;flex-wrap:wrap;gap:3px 6px}
.delivery-page .box-cube-detail .delivery-logistics,.delivery-tablet-compact .box-cube-detail .delivery-logistics{display:flex;flex-wrap:wrap;align-items:center;gap:3px 10px;margin:0;padding:3px 6px}
.delivery-page .box-cube-detail .delivery-logistics-summary,.delivery-tablet-compact .box-cube-detail .delivery-logistics-summary{flex:1 1 auto}
.delivery-page .box-cube-detail .delivery-logistics-rule,.delivery-tablet-compact .box-cube-detail .delivery-logistics-rule{margin:0;font-size:11px}
.delivery-page .delivery-logistics-rule[open],.delivery-tablet-compact .delivery-logistics-rule[open]{width:100%}
.delivery-page .delivery-logistics>p,.delivery-page .delivery-logistics>div:not(.delivery-logistics-summary),.delivery-tablet-compact .delivery-logistics>p,.delivery-tablet-compact .delivery-logistics>div:not(.delivery-logistics-summary){flex-basis:100%}
.delivery-page .box-cube-detail [data-ludo-status]{width:100%;margin:0;padding:4px 7px;font-size:12px}
.delivery-page .box-cube-detail [data-ludo-status]>p{margin:2px 0 0;font-size:11px}
.delivery-page .delivery-box-toolbar .box-cube-close,.delivery-tablet-compact .delivery-box-toolbar .box-cube-close{margin-left:auto}
.delivery-tablet-compact .box-cube-detail>p{font-size:11px;margin:1px 7px 1px 0}
.delivery-tablet-compact .box-cube-detail .box-work-cards{margin:1px 0}
.delivery-tablet-compact .box-cube-detail .box-work-card{margin:2px 0;padding-top:3px;padding-bottom:3px}
.delivery-page .delivery-box-toolbar>button,
.delivery-page .delivery-box-toolbar .delivery-box-buttons>button,
.delivery-page .delivery-box-toolbar .delivery-box-buttons>div>button,
.delivery-page .delivery-box-toolbar .delivery-box-receipt>button,
.delivery-page .delivery-box-toolbar .delivery-receipt-pending>button,
.delivery-page .box-cube-detail .delivery-work-card button,
.delivery-page .box-cube-detail .delivery-logistics-summary>button,
.delivery-tablet-compact .delivery-box-toolbar>button,
.delivery-tablet-compact .box-cube-detail .box-work-card button,
.delivery-tablet-compact .box-cube-detail .delivery-logistics-summary>button{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:5px;min-width:0;min-height:30px;margin:0;padding:4px 8px;border:1px solid var(--box-button-border);border-radius:6px;background:var(--box-button-bg);color:var(--box-button-fg);font-size:12px;font-weight:600;line-height:20px;white-space:normal;box-shadow:none;cursor:pointer}
.delivery-page .delivery-box-toolbar>button svg,
.delivery-page .delivery-box-toolbar .delivery-box-buttons>button svg,
.delivery-page .delivery-box-toolbar .delivery-box-buttons>div>button svg,
.delivery-page .delivery-box-toolbar .delivery-box-receipt>button svg,
.delivery-page .delivery-box-toolbar .delivery-receipt-pending>button svg,
.delivery-page .box-cube-detail .delivery-work-card button svg,
.delivery-page .box-cube-detail .delivery-logistics-summary>button svg,
.delivery-tablet-compact .delivery-box-toolbar>button svg,
.delivery-tablet-compact .box-cube-detail .box-work-card button svg,
.delivery-tablet-compact .box-cube-detail .delivery-logistics-summary>button svg{width:16px;height:16px;flex:none;margin:0}
.delivery-page .delivery-box-toolbar>button:hover:not(:disabled),
.delivery-page .delivery-box-toolbar .delivery-box-buttons>button:hover:not(:disabled),
.delivery-page .delivery-box-toolbar .delivery-box-buttons>div>button:hover:not(:disabled),
.delivery-page .delivery-box-toolbar .delivery-box-receipt>button:hover:not(:disabled),
.delivery-page .delivery-box-toolbar .delivery-receipt-pending>button:hover:not(:disabled),
.delivery-page .box-cube-detail .delivery-work-card button:hover:not(:disabled),
.delivery-page .box-cube-detail .delivery-logistics-summary>button:hover:not(:disabled),
.delivery-tablet-compact .delivery-box-toolbar>button:hover:not(:disabled),
.delivery-tablet-compact .box-cube-detail .box-work-card button:hover:not(:disabled),
.delivery-tablet-compact .box-cube-detail .delivery-logistics-summary>button:hover:not(:disabled){background:var(--box-button-hover);border-color:#7497c9}
.delivery-page .delivery-box-toolbar>button:disabled,
.delivery-page .delivery-box-toolbar .delivery-box-buttons>button:disabled,
.delivery-page .delivery-box-toolbar .delivery-box-buttons>div>button:disabled,
.delivery-page .delivery-box-toolbar .delivery-box-receipt>button:disabled,
.delivery-page .delivery-box-toolbar .delivery-receipt-pending>button:disabled,
.delivery-page .box-cube-detail .delivery-work-card button:disabled,
.delivery-page .box-cube-detail .delivery-logistics-summary>button:disabled,
.delivery-tablet-compact .delivery-box-toolbar>button:disabled,
.delivery-tablet-compact .box-cube-detail .box-work-card button:disabled,
.delivery-tablet-compact .box-cube-detail .delivery-logistics-summary>button:disabled{cursor:default;opacity:.45}
.delivery-page .delivery-box-toolbar>button:focus-visible,
.delivery-page .delivery-box-toolbar .delivery-box-buttons>button:focus-visible,
.delivery-page .delivery-box-toolbar .delivery-box-buttons>div>button:focus-visible,
.delivery-page .delivery-box-toolbar .delivery-box-receipt>button:focus-visible,
.delivery-page .delivery-box-toolbar .delivery-receipt-pending>button:focus-visible,
.delivery-page .box-cube-detail .delivery-work-card button:focus-visible,
.delivery-page .box-cube-detail .delivery-logistics-summary>button:focus-visible,
.delivery-tablet-compact .delivery-box-toolbar>button:focus-visible,
.delivery-tablet-compact .box-cube-detail .box-work-card button:focus-visible,
.delivery-tablet-compact .box-cube-detail .delivery-logistics-summary>button:focus-visible{outline:2px solid #295fc4;outline-offset:2px}
html[data-theme=dark] .delivery-page .box-cube,html[data-theme=dark] .delivery-tablet-compact .box-cube{--box-button-bg:#263c59;--box-button-fg:#e2edff;--box-button-border:#6a84a7;--box-button-hover:#345378}
html[data-theme=dark] .delivery-page .box-cube-detail .delivery-box-dates,html[data-theme=dark] .delivery-page .box-cube-detail .delivery-box-ticket{color:#bad0ed}
html[data-theme=dark] .delivery-page .delivery-box-toolbar,html[data-theme=dark] .delivery-tablet-compact .delivery-box-toolbar{border-color:#536a8c}
html[data-theme=dark] .delivery-tablet-compact .box-cube-detail .box-work-card{background:#1c2b3e;border-color:#526985;color:#e2edff}
html[data-theme=dark] .delivery-tablet-compact .box-cube-detail .box-work-identity>strong{color:#e2edff}
html[data-theme=dark] .delivery-tablet-compact .box-cube-detail .box-work-code,html[data-theme=dark] .delivery-tablet-compact .box-cube-detail .box-work-code small{color:#bad0ed}
html[data-theme=dark] .delivery-tablet-compact .box-cube-detail .box-work-card[data-case-tone=overdue]{background:#48272f;border-color:#a76e77;color:#ffc7cf}
html[data-theme=dark] .delivery-tablet-compact .box-cube-detail .box-work-card[data-case-tone=hold]{background:#47371f;border-color:#947346;color:#ffe0ae}
@media(pointer:coarse),(max-width:600px){
.delivery-page .delivery-box-toolbar>button,
.delivery-page .delivery-box-toolbar .delivery-box-buttons>button,
.delivery-page .delivery-box-toolbar .delivery-box-buttons>div>button,
.delivery-page .delivery-box-toolbar .delivery-box-receipt>button,
.delivery-page .delivery-box-toolbar .delivery-receipt-pending>button,
.delivery-page .box-cube-detail .delivery-work-card button,
.delivery-page .box-cube-detail .delivery-logistics-summary>button,
.delivery-tablet-compact .delivery-box-toolbar>button,
.delivery-tablet-compact .box-cube-detail .box-work-card button,
.delivery-tablet-compact .box-cube-detail .delivery-logistics-summary>button{min-height:40px;padding:6px 8px}
.delivery-page .box-cube-detail .delivery-box-works summary{min-height:28px;line-height:28px}
.delivery-page .box-cube-detail .delivery-logistics-rule summary,.delivery-tablet-compact .box-cube-detail .delivery-logistics-rule summary{min-height:28px;line-height:28px}
}
