/* V22: overview content flow only; existing booking cards and timeline untouched. */
.pencil-admin #overview .overview-intro { flex-wrap: wrap; }
.pencil-admin #overview .overview-intro > div { flex: 1 1 260px; min-width: 0; }
.pencil-admin #overview .overview-intro > button { flex: 0 1 auto; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.pencil-admin #overview .overview-intro h2,
.pencil-admin #overview .overview-intro p,
.pencil-admin #overview .section-kicker,
.pencil-admin #overview .metric-label,
.pencil-admin #overview .metric-value,
.pencil-admin #overview .metric-note { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.pencil-admin #overview .metric,
.pencil-admin #overview .metric > div,
.pencil-admin #overview > .grid > .panel { min-width: 0; }
.pencil-admin #overview .panel-head { flex-wrap: wrap; }
.pencil-admin #overview .panel-head > div { flex: 1 1 240px; min-width: 0; }
.pencil-admin #overview .panel-head .panel-title,
.pencil-admin #overview .panel-head .panel-sub,
.pencil-admin #overview .panel-head > .tag,
.pencil-admin #overview .panel-head > button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.pencil-admin #overview #overviewTasks > .table { table-layout: fixed; width: calc(100% - 40px); margin: 0 20px 20px; }
.pencil-admin #overview #overviewTasks .overview-task-kind { width: 72px; }
.pencil-admin #overview #overviewTasks .overview-task-arrow { width: 32px; }
.pencil-admin #overview #overviewTasks td { vertical-align: top; padding-inline: 12px; }
.pencil-admin #overview #overviewTasks td:first-child,
.pencil-admin #overview #overviewTasks td:last-child { padding-inline: 8px; }
.pencil-admin #overview #overviewTasks .task-type,
.pencil-admin #overview #overviewTasks .task-detail { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.pencil-admin #overview #overviewTasks .task-link { width: 100%; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; line-height: 1.6; }
.pencil-admin #overview #overviewTasks .task-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pencil-admin #overview #overviewAgenda { margin-top: 0; }
.pencil-admin #overview #overviewAgenda .overview-agenda-scroll { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; }
.pencil-admin #overview #overviewAgenda .overview-agenda-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: -3px; }
.pencil-admin #overview #overviewAgenda table { table-layout: fixed; width: 100%; }
.pencil-admin #overview #overviewAgenda th:nth-child(1) { width: 20%; }
.pencil-admin #overview #overviewAgenda th:nth-child(2) { width: 28%; }
.pencil-admin #overview #overviewAgenda th:nth-child(3) { width: 20%; }
.pencil-admin #overview #overviewAgenda th:nth-child(4) { width: 18%; }
.pencil-admin #overview #overviewAgenda th:nth-child(5) { width: 14%; }
.pencil-admin #overview #overviewAgenda th,
.pencil-admin #overview #overviewAgenda td,
.pencil-admin #overview #overviewAgenda .business-status { vertical-align: top; white-space: normal; overflow-wrap: anywhere; }
.pencil-admin #overview #overviewAgenda .business-status { max-width: 100%; }
@media (max-width: 760px) {
 .pencil-admin #overview #overviewTasks > .table { width: calc(100% - 32px); margin-inline: 16px; margin-bottom: 16px; }
}
@media (max-width: 620px) {
 .pencil-admin #overview .overview-intro { flex-direction: column; align-items: stretch; gap: 12px; }
 .pencil-admin #overview .overview-intro > div { flex-basis: auto; }
 .pencil-admin #overview .overview-intro > button { align-self: flex-start; }
}
@media (max-width: 380px) {
 .pencil-admin #overview > .grid.cols-4 { grid-template-columns: minmax(0, 1fr); }
 .pencil-admin #overview .metric { min-height: 0; }
}
