/* Shared directory rhythm for Projects, Customers and Forms. */
#view-forms .forms-directory{max-width:none;width:100%;box-sizing:border-box}
#view-customers .customer-entry-grid,#view-customers .customer-entry-grid.has-empty{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
#view-customers #customer-list,#view-forms #forms-list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
#view-customers .customer-layout>.card>.section-head,#view-forms .forms-directory>.customer-toolbar{display:flex;justify-content:flex-end;align-items:center;margin:0 0 14px;min-height:48px}
#view-forms .forms-directory>.customer-toolbar{width:100%}
#view-forms #forms-search,#view-customers #customer-search{flex:0 1 240px;width:240px;max-width:100%;min-width:0;margin:0}
#view-customers #show-customer-form,#view-forms #forms-add{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:10px;width:100%;min-height:88px;padding:13px 18px;margin:0;text-align:left}
#view-customers #show-customer-form .entry-add-icon,#view-forms #forms-add .entry-add-icon{width:48px;height:48px;flex:0 0 48px}
#view-customers #show-customer-form svg,#view-forms #forms-add svg{width:28px;height:28px}
#view-customers #show-customer-form strong,#view-forms #forms-add strong{font-size:16px}
#view-customers #show-customer-form small,#view-forms #forms-add small{max-width:none;margin-left:auto;font-size:12px}
#view-forms #forms-list-status{margin:10px 0}
#view-customers .catalog-list-row,#view-forms .catalog-list-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;min-height:82px;padding:11px 15px;border:1px solid #cbd4de;border-left:4px solid #4d79a6;border-radius:10px;background:#fffefa;text-align:left}
.catalog-list-row .catalog-row-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:10px;background:#e6eef5;color:#155d99}
.catalog-list-row .catalog-row-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#view-customers .catalog-row-main,#view-forms .catalog-row-main,#view-customers .catalog-row-meta,#view-forms .catalog-row-meta{display:grid;gap:5px;min-width:0}
#view-customers .catalog-row-main strong,#view-forms .catalog-row-main strong{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#view-customers .catalog-row-main small,#view-forms .catalog-row-main small{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#view-customers .catalog-row-meta,#view-forms .catalog-row-meta{text-align:right;justify-items:end}
#view-customers .catalog-row-meta small,#view-forms .catalog-row-meta small{font-size:11px;font-weight:400;color:#526b85}
#view-customers #customer-list>.entry-empty{min-height:110px;padding:20px}
@media(max-width:800px){
 #view-customers .customer-layout>.card>.section-head,#view-forms .forms-directory>.customer-toolbar{min-height:44px;margin-bottom:10px}
 #view-customers .customer-toolbar{width:100%}
 #view-forms #forms-search,#view-customers #customer-search{flex:1;width:0;max-width:none;min-height:44px}
 #view-customers #show-customer-form,#view-forms #forms-add{min-height:64px;padding:8px 11px}
 #view-customers #show-customer-form .entry-add-icon,#view-forms #forms-add .entry-add-icon{width:40px;height:40px;flex-basis:40px}
 #view-customers #show-customer-form svg,#view-forms #forms-add svg{width:23px;height:23px}
 #view-customers #show-customer-form strong,#view-forms #forms-add strong{font-size:15px}
 #view-customers #show-customer-form small,#view-forms #forms-add small{display:none}
 #view-customers .catalog-list-row,#view-forms .catalog-list-row{grid-template-columns:36px minmax(0,1fr);gap:4px 9px;min-height:72px;padding:9px 10px}
 .catalog-list-row .catalog-row-icon{width:36px;height:36px;grid-row:1 / 3}
 .catalog-list-row .catalog-row-icon svg{width:20px;height:20px}
 #view-customers .catalog-row-main strong,#view-forms .catalog-row-main strong{font-size:14px;white-space:normal;overflow-wrap:anywhere}
 #view-customers .catalog-row-main small,#view-forms .catalog-row-main small{font-size:11px}
 #view-customers .catalog-row-meta,#view-forms .catalog-row-meta{grid-column:2;display:flex;flex-wrap:wrap;gap:4px 8px;text-align:left;align-items:center}
}
.directory-entry{display:block;min-width:0}.directory-entry>[data-project-hold]{width:100%}.directory-entry .resource-control-row{box-sizing:border-box}.directory-tabs{margin:0 auto 0 0}.directory-archive-confirm{width:min(460px,calc(100vw - 24px));border:1px solid #c5d7e6;border-radius:12px;padding:24px;color:#123652}.directory-archive-confirm::backdrop{background:#18354b66}.directory-archive-confirm h2{font-size:20px}.directory-archive-confirm p{font-size:13px;line-height:1.6}.directory-archive-confirm [role=alert]{color:#a12626}#view-customers .customer-layout>.card>.section-head{gap:12px}#view-forms .forms-directory>.customer-toolbar{gap:8px}#view-resources .directory-tabs{margin-bottom:12px}.directory-entry:has(.project-hold-actions[open])>[data-project-hold]{outline:1px solid #2375b4;background:#edf5fc}
@media(max-width:800px){#view-forms .forms-directory>.customer-toolbar,#view-customers .customer-layout>.card>.section-head{flex-wrap:wrap}.directory-tabs{width:100%;flex-basis:100%;box-sizing:border-box}.directory-tabs button{flex:1}}
