/* Rev.21 r9: compact operational layout for lists, grids, calendars and empty views. */
@media screen{
 body.layout21-screen .topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;align-items:center;min-height:0!important;height:auto;padding:9px 18px!important}
 body.layout21-screen .topbar>div:first-child{min-width:0}
 body.layout21-screen .topbar #pageTitle{font-size:19px!important;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
 body.layout21-screen .topbar .top-actions{display:flex!important;flex-wrap:nowrap;align-items:center;gap:5px;min-width:0}
 body.layout21-screen .topbar .top-actions button{padding:5px 7px!important;min-height:30px;font-size:11px!important;line-height:1.2;white-space:nowrap;width:auto;flex:0 0 auto}
 body.layout21-screen .topbar .top-actions input{width:210px!important;min-width:100px;max-width:24vw;padding:6px 8px;font-size:12px;min-height:30px}
 body.layout21-screen .topbar>#breadcrumbs{grid-column:1/-1;min-width:0;width:100%;overflow:auto}
 body.layout21-screen .nav21-breadcrumbs ol{flex-wrap:nowrap!important;gap:5px 7px;margin:2px 0!important;padding:0;font-size:12px}
 body.layout21-screen .nav21-breadcrumbs li{flex:0 0 auto;max-width:none}
 body.layout21-screen .nav21-breadcrumbs li>button,body.layout21-screen .nav21-breadcrumbs li>span{display:block;max-width:36ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 0}
 body.layout21-screen .nav21-breadcrumbs .nav21-crumb{min-height:24px!important;height:auto!important;line-height:1.2!important}
 #content.workspace112.layout21-compact{gap:8px;padding-top:10px}
 #content.workspace112.layout21-compact>*{order:0!important}
 #content.layout21-compact .layout21-controls{display:flex;flex-wrap:wrap;align-items:end;gap:7px 12px;margin:0;padding:0;min-width:0}
 #content.layout21-compact .layout21-controls>.toolbar,#content.layout21-compact .layout21-controls>.page-back-row,#content.layout21-compact .layout21-controls>.search-panel71{display:contents!important;order:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
 #content.layout21-compact .layout21-controls .command-frame112{padding:0!important;border:0!important;background:transparent!important;gap:5px 7px;align-items:center}
 #content.layout21-compact .layout21-controls .command-frame112:empty{display:none!important}
 #content.layout21-compact .layout21-controls .search-line112{display:flex;flex-wrap:wrap;align-items:end;gap:6px;order:1;margin:0;flex:1 1 210px}
 #content.layout21-compact .layout21-controls .search-line112>label{min-width:160px;flex:1 1 210px}
 #content.layout21-compact .layout21-controls .layout21-own-search{min-width:210px;max-width:380px;flex:1 1 210px;margin:0}
 #content.layout21-compact .layout21-controls label{font-size:11px;gap:3px;margin:0}
 #content.layout21-compact .layout21-controls button,#content.layout21-compact .layout21-controls input,#content.layout21-compact .layout21-controls select{min-height:30px;font-size:12px;padding:5px 8px}
 #content.layout21-compact .layout21-controls .search-result71{font-size:11px;white-space:nowrap}
 #content.layout21-compact .layout21-controls .layout21-search-meta{display:none!important}
 #content.layout21-compact .layout21-controls .command-frame112:has(>.layout21-search-meta):not(:has(>:not(.layout21-search-meta))){display:none!important}
 #content.layout21-compact .ops21-stats{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px!important;margin:0!important}
 #content.layout21-compact .ops21-stats>.card{display:flex;gap:8px;align-items:baseline;flex:0 1 auto;padding:5px 10px!important;border-radius:7px;box-shadow:none}
 #content.layout21-compact .ops21-stats .label{font-size:11px;line-height:1.25}
 #content.layout21-compact .ops21-stats strong{font-size:14px!important;line-height:1.2}
 #content.layout21-compact .ops21-tree h2{font-size:16px;margin:0 0 6px!important}
 #content.layout21-compact .ops21-tree details{padding:8px!important;margin:6px 0!important}
 #content.layout21-compact .ops21-tree summary{padding:1px 0!important;font-size:13px;line-height:1.4}
 #content.layout21-compact .ops21-assignment>p{margin:4px 0;font-size:12px;line-height:1.35}
 #content.layout21-compact .ops21-assignment>.toolbar{margin:5px 0!important;gap:6px}
 #content.layout21-compact .ops21-assignment>.toolbar button{padding:5px 8px;font-size:12px;min-height:30px}
 #content.layout21-compact .table-filters71{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px 14px;margin:0!important;padding:5px 8px!important;border:0!important;box-shadow:none!important}
 #content.layout21-compact .table-filters71 label{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:11px;margin:0}
 #content.layout21-compact .table-filters71 select{min-height:28px;padding:3px 6px;font-size:12px;min-width:110px;max-width:210px}
 #content.layout21-compact .ops21-tree table{min-width:950px}
 #content.layout21-compact .ops21-tree th,#content.layout21-compact .ops21-tree td{word-break:normal!important;overflow-wrap:normal!important}
 #content.layout21-compact .ops21-tree th:first-child,#content.layout21-compact .ops21-tree td:first-child{min-width:220px}
 #content.layout21-compact .ops21-tree th:nth-child(2),#content.layout21-compact .ops21-tree td:nth-child(2){min-width:100px}
 #content.layout21-compact .layout21-extra{margin:8px 0 0;padding:9px 12px;border:1px solid var(--line,#dce4e7);border-radius:9px;background:var(--panel,#fff)}
 #content.layout21-compact .layout21-extra>summary{font-size:12px;font-weight:600;cursor:pointer;color:var(--muted,#66777c)}
 #content.layout21-compact .layout21-extra>.toolbar,#content.layout21-compact .layout21-extra>.search-panel71{margin-top:10px!important}
 #content.layout21-compact .layout21-extra>p{font-size:12px;color:var(--muted,#66777c)}
 #content.layout21-compact .layout21-search-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px;font-size:12px}
 #content.layout21-compact .layout21-extra .onboarding-banner21{margin:10px 0 0;padding:8px 10px;font-size:12px}
 #content.layout21-compact .layout21-controls .left,#content.layout21-compact .layout21-controls .right,#content.layout21-compact .layout21-controls .c30-actions{display:flex;flex-wrap:wrap;align-items:center;gap:5px 7px;width:auto;margin:0}
 #content.layout21-compact .layout21-controls h2{font-size:15px!important;margin:0!important}
 #content.layout21-compact .layout21-controls .c30-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0}
 #content.layout21-compact .layout21-calendar-filters{padding:6px 10px;margin:0;border:1px solid var(--line,#dce4e7);border-radius:7px;background:var(--panel,#fff);font-size:12px}
 #content.layout21-compact .layout21-calendar-filters>summary{cursor:pointer;font-weight:600;line-height:1.5}
 #content.layout21-compact .calendar-legend111{padding:8px 0 4px;gap:7px 12px}
 #content.layout21-compact .calendar-legend111 label{font-size:11px;margin:0;gap:5px}
 #content.layout21-compact .calendar-sources111{padding:7px 0 0;margin:0;background:transparent}
 #content.layout21-compact .calendar-sources111 label{margin:5px 10px 5px 0}
 #content.layout21-compact .calendar-month111,#content.layout21-compact .calendar-scroll111,#content.layout21-compact .message-center32{margin-top:0}
 #content.layout21-compact .message-center32>.empty{padding:18px;margin:0}
 #content.layout21-compact .layout21-controls>.postit20-filter{display:flex;flex-wrap:wrap;gap:8px;align-items:end;padding:0;border:0;box-shadow:none;margin:0}
 #content.layout21-compact .layout21-nested{display:flex;flex-direction:column;gap:8px}
 #content.layout21-compact .layout21-nested>*{order:0!important}
 #content.layout21-compact .bp-search152,#content.layout21-compact .bp-strip152{margin:0;padding-top:5px;padding-bottom:5px;gap:6px}
 #content.layout21-compact .bp-paper152>header{padding:6px 0;margin-bottom:8px;gap:10px}
 #content.layout21-compact .bp-paper152>header img,#content.layout21-compact img.brand157{max-height:40px;width:auto;max-width:150px;object-fit:contain}
 #content.layout21-compact .billing-totals126{margin:0;padding:5px 8px}
 #content.layout21-compact>.calendar-weekdays36{margin:0}
 @media(max-width:1150px){
  body.layout21-screen .topbar{grid-template-columns:minmax(0,1fr);gap:5px}
  body.layout21-screen .topbar .top-actions{justify-content:flex-end;grid-column:1}
  body.layout21-screen .topbar>#breadcrumbs{grid-column:1}
  body.layout21-screen .topbar .top-actions input{max-width:45vw;width:230px!important}
 }
 @media(max-width:780px){
  body.layout21-screen .topbar{padding:8px 10px!important}
  body.layout21-screen .topbar .top-actions{flex-wrap:wrap;justify-content:flex-start}
  body.layout21-screen .nav21-breadcrumbs li>button,body.layout21-screen .nav21-breadcrumbs li>span{max-width:24ch}
  #content.layout21-compact .layout21-controls{gap:6px}
 }
}
@media print{.layout21-controls,.layout21-extra{display:none!important}}
