.desktop-search{display:flex;align-items:center;gap:3px;flex:0 0 auto;width:250px;max-width:100%;min-width:170px;margin-left:auto;color:var(--muted,#a8b8b0)}
.desktop-search svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}
.desktop-search input{width:140px;min-width:80px;max-width:140px;padding:5px 7px!important;font-size:12px!important}
.desktop-search input::-webkit-search-cancel-button{display:none}
.desktop-search button{padding:2px!important;min-width:26px;height:28px;line-height:20px;background:transparent;flex:none}
.desktop-search [data-search-count]{font-size:11px;white-space:nowrap}
.desktop-search [hidden]{display:none!important}
.search-hidden{display:none!important}
/* Paint only: blue-grey secondary tint over the entire card, no geometry change. */
#planning .intervention.search-match{outline:1px solid #7899b5;outline-offset:-1px;box-shadow:inset 0 0 0 100vmax #547b9c66}
#planning .intervention.search-current{outline-color:#a0b8cb;box-shadow:inset 0 0 0 100vmax #608bac99}
/* Full-day cards retain their existing box-shadow:none rule. Paint the same tint as a background layer. */
#planning .day-full-interventions>.intervention.search-match{background-image:linear-gradient(#547b9c66,#547b9c66)}
#planning .day-full-interventions>.intervention.search-current{background-image:linear-gradient(#608bac99,#608bac99)}
/* Same field as Recap/Listing; reserve additional room only for annual navigation/status. */
.desktop-search[data-search-view="planning"]{width:380px}
#recap .recap-head,#recap .recap-row{grid-template-columns:24px 34px minmax(140px,1.05fr) 80px minmax(270px,2.1fr) minmax(210px,1.55fr) repeat(12,minmax(27px,32px)) 30px;min-width:1240px}
#recap .recap-body{min-width:1240px}
#recap .recap-created{display:flex;align-items:center;justify-content:center;font-size:10px;color:var(--dark-text-soft);border-left:1px solid var(--dark-border-soft);font-variant-numeric:tabular-nums}
#recap [data-recap-sort]{display:flex;align-items:center;gap:3px;min-width:0;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;white-space:nowrap}
#recap [data-sort-indicator]{font-size:7px}
#recap .recap-head>b:nth-child(4){justify-content:center;padding:3px}
#recap .recap-head>b:nth-child(6){justify-content:flex-start;padding-left:7px}
@media(max-width:1200px){#recap .recap-head,#recap .recap-row{grid-template-columns:22px 32px minmax(125px,1fr) 80px minmax(240px,1.9fr) minmax(190px,1.45fr) repeat(12,28px) 28px;min-width:1117px}#recap .recap-body{min-width:1117px}}
/* Let groups wrap when genuinely needed; never allow controls to overflow into the search field. */
#planning .app-toolbar{height:auto;min-height:52px;flex-wrap:wrap}
#planning .app-toolbar .toolbar-controls{flex:0 0 auto;max-width:100%;flex-wrap:wrap;overflow:visible}
/* Do not reserve an empty offline badge while online. The actual warning remains visible. */
#planning .toolbar-offline-status:not(.is-offline){display:none}
