/* Five profile tabs stay on one row. Short mobile labels retain full accessible names. */
html body #main .tabbar{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important;box-sizing:border-box;width:100%;padding:6px}
html body #main .tabbar button{min-width:0!important;min-height:54px;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:8px;padding:10px 6px;font-size:13px;white-space:nowrap!important;overflow-wrap:normal!important;box-sizing:border-box}
#main .tabbar .cab-tab-full{display:inline}#main .tabbar .cab-tab-short{display:none}
#main .tabbar button svg{width:20px;height:20px;flex:0 0 20px}
.sh-history>.btn{display:inline-flex!important;align-items:center;justify-content:center;position:static!important;margin:0 0 16px!important;transform:none}
.sh-history>.sh-person{margin:0 0 22px;padding:16px 0}
.sh-history .sh-admin-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:14px 0}
.sh-history .sh-admin-controls .sh-field{margin:0;min-width:0}
.sh-history .sh-admin-controls .btn{position:static!important;display:flex;align-items:center;justify-content:center;margin:0!important;min-height:48px;align-self:end;transform:none}
.sh-history .sh-admin-controls select{margin:0!important;min-height:48px;height:auto;line-height:1.4}
.sh-empty{display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px 16px;margin:20px 0 24px;padding:22px;border:1px solid #c9b58a55;border-radius:14px;background:#25301dcc}
.sh-empty-icon{grid-row:1/4;display:grid;place-items:center;width:48px;height:48px;border:1px solid #c9b58a55;border-radius:14px;background:#c9b58a12;color:#c9b58a;font-size:32px}
.sh-history .sh-empty h3{margin:0;font-size:20px;line-height:1.4}.sh-empty .sh-sub{margin:0}.sh-empty .btn{grid-column:2;justify-self:start;margin-top:6px}
@media(max-width:760px){html body #main .tabbar button{flex-direction:column;gap:5px;min-height:64px;padding:8px 2px;font-size:11px}.sh-history .sh-admin-controls{grid-template-columns:minmax(0,1fr)}.sh-history .sh-admin-controls .btn{width:100%}}
@media(max-width:520px){html body #main .tabbar{gap:3px!important;padding:5px}html body #main .tabbar button{font-size:10px;min-height:62px;gap:6px}#main .tabbar .cab-tab-full{display:none}#main .tabbar .cab-tab-short{display:inline}#main .tabbar button svg{width:20px;height:20px}.sh-empty{grid-template-columns:36px minmax(0,1fr);padding:16px;gap:8px 12px}.sh-empty-icon{width:36px;height:36px;font-size:26px}.sh-history .sh-empty h3{font-size:17px}}
