/* AVP V5.67 — More readable type, consistent controls, stable account workspaces. */
body.app-shell,body.auth-page{font-size:16px;line-height:1.52}
.app-shell .app-main{font-size:15px}
.app-shell .side-nav a,.app-shell .nav-link,.app-shell .side-heading,.app-shell .topbar-context{font-size:13px!important;line-height:1.35!important}
.app-shell .side-nav a{min-height:40px;align-items:center}
.app-shell .page-heading h1,.app-shell h1{font-size:clamp(27px,2.5vw,36px);line-height:1.2}
.app-shell h2{line-height:1.25}
.app-shell h3{line-height:1.3}
.app-shell p,.app-shell .muted,.app-shell .helper-note,.app-shell .td-sub,.app-shell .info-band p{font-size:14px!important;line-height:1.55}
.app-shell .field>span,.app-shell label.field,.app-shell label.checkline,.app-shell .form-section-heading small{font-size:14px!important;line-height:1.45}
.app-shell .field input,.app-shell .field select,.app-shell .field textarea,.app-shell .filter-bar input,.app-shell .filter-bar select,.app-shell .data-table input,.app-shell .data-table select,.app-shell .avp-search-select-input,body.auth-page input{font-size:15px!important;line-height:1.4!important;min-height:43px}
.app-shell .avp-search-select-input{min-height:46px!important;height:46px!important;padding-right:45px}
.app-shell .avp-search-select-toggle{width:42px;height:42px}
.app-shell .avp-search-select-option{font-size:14px!important;padding:11px 13px!important;line-height:1.4}
.app-shell .avp-search-select-status,.app-shell .avp-search-select-empty{font-size:12px!important;padding:11px 13px}
.app-shell .avp-search-select-menu{z-index:500!important;box-shadow:0 20px 44px rgba(18,63,36,.17);border-color:#c5d7c9}
.app-shell .avp-search-select.is-open{z-index:490!important}
.app-shell .field:has(.avp-search-select),.app-shell .form-section-grid,.app-shell .form-section,.app-shell .filter-bar,.app-shell .directory-create-panel{overflow:visible}
.app-shell .data-table{font-size:14px!important}
.app-shell .data-table th{font-size:13px!important;line-height:1.4!important;padding:13px 14px!important}
.app-shell .data-table td{font-size:14px!important;line-height:1.45!important;padding:13px 14px!important;vertical-align:middle}
.app-shell .btn,.app-shell button.btn,.app-shell .mini-btn,.app-shell .form-action-bar button{font-size:14px!important;line-height:1.3!important;min-height:40px}
.app-shell .metric-grid strong,.app-shell .metric strong{line-height:1.25}
.app-shell .directory-panel,.app-shell .directory-create-panel{border-radius:14px}
.app-shell .directory-create-panel .form-section-grid textarea{resize:vertical}
.app-shell .directory-create-panel .avp-checkline{margin-top:12px}
.app-shell .avp-checkline{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:14px;font-weight:650;color:#36583f;line-height:1.45}
.app-shell .avp-checkline input{appearance:auto;accent-color:#277341;width:19px;height:19px;flex:none;min-height:0}
.app-shell .directory-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:8px;background:#f1f6f1;border:1px solid #dbe6da;border-radius:13px;margin:10px 0 20px}
.app-shell .directory-tabs a{display:inline-flex;align-items:center;gap:7px;padding:11px 18px;border-radius:9px;color:#46634e;text-decoration:none;font-size:14px;font-weight:750;white-space:nowrap}
.app-shell .directory-tabs a:hover{background:#e2ede2;color:#1e5630}
.app-shell .directory-tabs a.is-current{background:#fff;color:#14502e;box-shadow:0 1px 7px rgba(36,78,47,.09)}
.app-shell .directory-create-workspace{scroll-margin-top:90px}
.app-shell .application-review-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px;border:1px solid #d9e5dc;border-radius:15px;background:linear-gradient(115deg,#edf6ed,#fff);margin-bottom:18px}
.app-shell .application-review-head h2{margin:5px 0 6px;color:#194b30;font-size:25px}
.app-shell .application-review-head p{margin:0}
.app-shell .avp-kicker{font-size:12px;letter-spacing:.12em;color:#4e7854;font-weight:900}
.app-shell .avp-application-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;margin:0}
.app-shell .avp-application-details>div{border-bottom:1px solid #e9eee9;padding:14px 4px;min-width:0}
.app-shell .avp-application-details dt{color:#69806d;text-transform:uppercase;font-size:11px;letter-spacing:.07em;font-weight:800;margin-bottom:7px}
.app-shell .avp-application-details dd{margin:0;font-size:15px;line-height:1.55;overflow-wrap:anywhere;color:#213c2b}
.app-shell .application-review-actions{display:flex;flex-wrap:wrap;gap:12px}
.app-shell .application-review-actions .inline-form{display:inline-flex}
.app-shell a:focus-visible,.app-shell button:focus-visible,.app-shell input:focus-visible,.app-shell select:focus-visible,.app-shell textarea:focus-visible{outline:3px solid #82ae4f;outline-offset:2px}
@media(max-width:760px){.app-shell .avp-application-details{grid-template-columns:1fr}.app-shell .directory-tabs{overflow-x:auto;flex-wrap:nowrap}.app-shell .data-table th,.app-shell .data-table td{white-space:normal}.app-shell .form-section-grid{grid-template-columns:1fr!important}.app-shell .application-review-head{align-items:start}}

/* V5.68 — Sorted, legible customer directory and clear approval queue. */
.app-shell.page-customers .customer-directory-filter{display:flex;flex-wrap:wrap;align-items:end;gap:10px 14px;background:#fff;border:1px solid #dbe7dd;border-radius:14px;padding:16px;margin:14px 0}
.app-shell.page-customers .customer-directory-filter .field{flex:1 1 185px;min-width:160px}
.app-shell.page-customers .customer-directory-filter .field:first-of-type{flex:2 1 290px}
.app-shell.page-customers .directory-tabs{margin-top:16px!important}
.app-shell.page-customers .directory-tabs a.is-current{background:#1a6138;color:white}
.app-shell .directory-tab-count{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border-radius:99px;background:#f1dbaa;color:#5c4220;font-size:12px;font-weight:900}
.app-shell .directory-tabs a.is-current .directory-tab-count{background:#fff;color:#1a6138}
.app-shell.page-customers .directory-panel .table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:10px}
.app-shell.page-customers .directory-panel .data-table{min-width:875px;border-collapse:separate;border-spacing:0}
.app-shell.page-customers .directory-panel .data-table thead th{background:#f0f5f0;color:#34533a}
.app-shell.page-customers .directory-panel .data-table td:first-child{min-width:230px}
.app-shell.page-customers .directory-panel .data-table td:last-child{min-width:215px}
.app-shell.page-customers .directory-panel .data-table tbody tr:nth-child(2n){background:#fbfdfb}
.app-shell.page-customers .directory-panel .data-table tbody tr:hover{background:#f0f8ee}
.app-shell.page-customers .directory-panel .data-table tbody tr.customer-pending-row{box-shadow:inset 4px 0 #d49f36}
.app-shell.page-customers .directory-panel .inline-actions{display:flex;flex-wrap:wrap;gap:8px}
.app-shell.page-customers .directory-panel .customer-link{font-weight:800;text-decoration:none;color:#175632;line-height:1.45}
.app-shell.page-customers .directory-panel .td-sub{margin-top:5px;display:block;overflow-wrap:anywhere}
@media(max-width:650px){
 .app-shell.page-customers .customer-directory-filter{display:grid;grid-template-columns:1fr;padding:12px}
 .app-shell.page-customers .customer-directory-filter .field{min-width:0;width:100%}
 .app-shell.page-customers .customer-directory-filter .btn{width:100%}
 .app-shell.page-customers .directory-panel .data-table{min-width:800px}
}
