/* Portfolio СКГА 5.3.9.20 — изолированное оформление аналитики */
html:not([data-theme="dark"]) .a480 {--a-text:#17243a;--a-sub:#59677b;--a-line:#dfe5ed;--a-bg:#fff;--a-soft:#f6f8fb;--a-hover:#f8edf0;--a-input:#fff;}
html[data-theme="dark"] .a480 {--a-text:#eef2f8;--a-sub:#b2bdcc;--a-line:#37404c;--a-bg:#1b1f25;--a-soft:#242a32;--a-hover:#35262c;--a-input:#20262e;}
.a480 .a480-hero h2,.a480 .portfolio-section-title{color:var(--a-text)!important;-webkit-text-fill-color:var(--a-text)!important}
.a480 .a480-hero .muted{color:var(--a-sub)!important;-webkit-text-fill-color:var(--a-sub)!important}
.a480 .a480-filter,.a480 .a480-kpis .card,.a480 .a480-grid>.card,.a480 #aBody>.card{background:var(--a-bg)!important;border:1px solid var(--a-line)!important;border-radius:14px!important;color:var(--a-text)!important;box-shadow:none!important}
.a480 .a480-filter{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;padding:16px!important}
.a480 .a480-filter label{color:var(--a-text)!important;font-size:12px!important;min-width:0}
.a480 .a480-filter input,.a480 .a480-filter select,.a480 .a480-group-search,.a480 .a480-group-page-size{background:var(--a-input)!important;color:var(--a-text)!important;-webkit-text-fill-color:var(--a-text)!important;border:1px solid var(--a-line)!important;border-radius:9px!important;min-height:40px!important;padding:8px 11px!important;box-shadow:none!important}
.a480 .a480-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.a480 .a480-kpis span{color:var(--a-sub)!important;-webkit-text-fill-color:var(--a-sub)!important;font-weight:550!important}
.a480 .a480-kpis strong{color:var(--a-text)!important;-webkit-text-fill-color:var(--a-text)!important;font-weight:750!important}
.a480 .tablewrap{overflow-x:auto;max-width:100%}
.a480 .tablewrap .table{width:100%;border-collapse:collapse;background:var(--a-bg)!important;color:var(--a-text)!important}
.a480 .tablewrap .table thead th{position:sticky;top:0;z-index:1;background:var(--a-soft)!important;color:var(--a-sub)!important;-webkit-text-fill-color:var(--a-sub)!important;font-size:12px!important;font-weight:700!important;border-bottom:1px solid var(--a-line)!important;padding:13px 12px!important;white-space:nowrap}
.a480 .tablewrap .table tbody tr{background:var(--a-bg)!important}
.a480 .tablewrap .table tbody tr:nth-child(even){background:var(--a-soft)!important}
.a480 .tablewrap .table tbody tr:hover{background:var(--a-hover)!important}
.a480 .tablewrap .table tbody td,.a480 .tablewrap .table tbody td b,.a480 .tablewrap .table tbody td strong{background:transparent!important;color:var(--a-text)!important;-webkit-text-fill-color:var(--a-text)!important;opacity:1!important;font-size:13px!important;line-height:1.5!important;border-bottom:1px solid var(--a-line)!important;padding:12px!important}
.a480 .tablewrap .table tbody td small,.a480 .tablewrap .table tbody td .muted{display:block;color:var(--a-sub)!important;-webkit-text-fill-color:var(--a-sub)!important;opacity:1!important;font-size:11px!important;margin-top:4px}
.a480 .a480-dep{color:var(--a-text)!important;border-bottom-color:var(--a-line)!important}
.a480 .a480-dep b{color:var(--a-sub)!important}
.a480 .a480-group-toolbar,.a480 .a480-group-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0;color:var(--a-sub);font-size:12px}
.a480 .a480-group-toolbar .a480-group-search{width:min(100%,300px);flex:1 1 180px}
.a480 .a480-group-pages button{background:var(--a-bg)!important;border:1px solid var(--a-line)!important;color:var(--a-text)!important;border-radius:8px;padding:7px 12px;cursor:pointer}
.a480 .a480-group-pages button:disabled{opacity:.4;cursor:not-allowed}
.a480 .a480-group-pages button:focus-visible,.a480 .a480-group-search:focus-visible{outline:2px solid #690f0e;outline-offset:2px}
@media(max-width:950px){.a480 .a480-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important}.a480 .a480-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.a480 .a480-filter{grid-template-columns:1fr!important}.a480 .a480-kpis{grid-template-columns:1fr 1fr!important}.a480 .tablewrap .table{min-width:600px}.a480 .a480-group-toolbar{align-items:stretch}}
