/* Shared presentation for administrative registers, library and expenses. */
#app.professional-list{max-width:none;width:100%;padding:24px clamp(16px,2.2vw,36px) 40px;color:#183047;font-size:14px;line-height:1.55;min-width:0}
#app.professional-list .toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:12px;padding:16px;margin:16px 0;background:#fff;border:1px solid #dce5ed;border-radius:12px;box-shadow:0 3px 12px #17334f06}
#app.professional-list .toolbar .search{flex:1 1 270px;min-width:160px;max-width:520px;font-size:14px;min-height:42px}#app.professional-list .toolbar>div{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}#app.professional-list .toolbar>button.primary,#app.professional-list .toolbar>label.primary{margin-left:auto}
#app.professional-list .tablewrap,#app.professional-list #govTable{max-height:none!important;height:auto;overflow:visible!important;border-radius:12px;min-width:0}
#app.professional-list table{width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:separate;border-spacing:0;background:white;border:1px solid #dce5ed;border-radius:12px;overflow:hidden}
#app.professional-list table th,#app.professional-list table td{min-width:0!important;max-width:none!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;text-overflow:clip;vertical-align:top;padding:16px 12px;border-bottom:1px solid #e6edf3;line-height:1.55}
#app.professional-list table th{position:static!important;background:#edf3f8;color:#405b72;font-size:11px;font-weight:750;letter-spacing:.045em}
#app.professional-list table td{font-size:14px;color:#263c50}#app.professional-list table td small{font-size:12px;line-height:1.5;color:#607285;display:block;margin-top:4px;white-space:normal}
#app.professional-list tbody tr:nth-child(even){background:#f8fafc}#app.professional-list tbody tr:hover{background:#f0f6fb}#app.professional-list tbody tr:last-child td{border-bottom:0}
#app.professional-list td.list-main-cell{font-weight:500}#app.professional-list td.list-main-cell b{font-size:14px;color:#112f49;line-height:1.5}#app.professional-list td.gov-record-actions{display:table-cell}
#app.professional-list button:not(.primary):not(.kpi),#app.professional-list .actions button{border:1px solid #ccd9e4;border-radius:7px;background:#fff;color:#234c70;padding:8px 11px;min-height:36px;font-size:12px;line-height:1.35;cursor:pointer;white-space:normal}
#app.professional-list .list-action-cell button{margin:0 4px 6px 0}#app.professional-list button.danger-button{color:#a33c3c;border-color:#e8bcbc;background:#fffafa}#app.professional-list button:focus-visible,#app.professional-list a:focus-visible{outline:3px solid #e9ae3d;outline-offset:3px}
#app.professional-list .badge{font-size:11px;padding:5px 9px;line-height:1.35;white-space:normal}#app.professional-list #erpListCounter{background:#edf3f8;color:#3c566e;font-size:12px;flex:0 0 auto}
#app.professional-list .admin-hero{padding:26px 28px;border-radius:14px;background:linear-gradient(115deg,#102b46,#225575);color:#fff;margin-bottom:20px;border-bottom:4px solid #e9ae3d}#app.professional-list .admin-hero small{color:#f2c66f;letter-spacing:.1em;font-weight:700}#app.professional-list .admin-hero h1{font-size:25px;color:white;margin:8px 0}#app.professional-list .admin-hero p{color:#dce9f3;margin:0}
#app.professional-list .kpis{gap:16px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}#app.professional-list .kpis>.kpi,#app.professional-list .kpis>button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;min-height:122px;padding:20px;border:1px solid #dce5ed;border-top:3px solid #e9ae3d;border-radius:12px;background:white;text-align:left;box-shadow:0 4px 14px #17334f08}#app.professional-list .kpi>b,#app.professional-list .kpi strong{display:block;font-size:27px;line-height:1.2;font-weight:750;color:#112f49}#app.professional-list .kpi>span{font-size:14px;color:#536c80}
#app.professional-list .card{border-color:#dce5ed;border-radius:13px;padding:20px}#app.professional-list .card h2{font-size:18px;margin-bottom:18px}#app.professional-list .document-guidance,#app.professional-list .purchase-note{display:flex;flex-wrap:wrap;gap:8px 16px;padding:15px 18px;line-height:1.6;border-radius:10px;margin-bottom:16px}
#app.professional-list[data-list-page=documents] th:first-child{width:34%}#app.professional-list[data-list-page=documents] th:last-child{width:18%}#app.professional-list[data-list-page=admin_correspondence] th:nth-child(2),#app.professional-list[data-list-page=admin_compliance] th:nth-child(2){width:25%}
@media(max-width:1150px){#app.professional-list table,#app.professional-list tbody{display:block;border:0;background:transparent}#app.professional-list thead{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#app.professional-list tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;padding:16px;margin-bottom:14px;border:1px solid #dce5ed;border-radius:12px;background:#fff}#app.professional-list table td,#app.professional-list td.gov-record-actions{display:block!important;padding:10px 0;border:0!important;min-width:0;overflow:visible}#app.professional-list td:before{content:attr(data-column-label);display:block;font-size:10px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:#647c90;margin-bottom:5px}#app.professional-list td.list-main-cell,#app.professional-list td.list-action-cell,#app.professional-list td[colspan]{grid-column:1/-1}#app.professional-list .tablewrap{border:0;background:transparent}#app.professional-list .toolbar>div{margin-left:0}}
@media(max-width:600px){#app.professional-list{padding:16px 12px 28px}#app.professional-list tbody tr{grid-template-columns:1fr;padding:14px}#app.professional-list .toolbar{padding:12px}#app.professional-list .toolbar .search{min-width:0;width:100%;max-width:none}#app.professional-list .toolbar>button.primary{margin-left:0}#app.professional-list .admin-hero{padding:20px}#app.professional-list .admin-hero h1{font-size:21px}}
@media print{#app.professional-list{padding:0}#app.professional-list .toolbar{display:none}#app.professional-list .tablewrap{overflow:visible!important}#app.professional-list tr{break-inside:avoid}}
/* Keep search fields horizontal even when the older mobile toolbar switches direction. */
#app.professional-list .toolbar{flex-direction:row}
#app.professional-list .toolbar .search{height:42px;max-height:42px}
#app.professional-list table th.list-main-heading{width:28%}
#app.professional-list[data-list-page=documents] table th.list-main-heading{width:34%}
