.portal-home{gap:36px;}
.portal-home-section{display:grid;gap:18px;min-width:0;}
.portal-home .portal-section-title{gap:16px;flex-wrap:wrap;}
.portal-home .portal-section-title h1{margin:0;font-size:28px;line-height:1.3;}
.portal-home .portal-section-title h2{font-size:21px;}
.portal-home-news .portal-home-featured{grid-column:1/-1;}
.portal-home-news .portal-home-featured:has(>.up-news-cover){display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;align-items:center;}
.portal-home-news .up-news-cover{margin-bottom:0;background:var(--portal-paper);}
.portal-home-news-body{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:12px;}
.portal-home-news-body h2{font-size:19px;line-height:1.4;overflow-wrap:anywhere;}
.portal-home-featured h2{font-size:24px;}
.portal-home-news-body p{margin:0;white-space:pre-wrap;}
.portal-home-news-body small{font-size:12px;}
.portal-home-news article:not(.portal-home-featured) .up-news-cover{margin-bottom:18px;}
.portal-home-video-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.portal-home-video{padding:0;overflow:hidden;display:flex;flex-direction:column;}
.portal-home-video-cover{position:relative;display:grid;place-items:center;aspect-ratio:16/9;width:100%;padding:0;border:0;border-bottom:1px solid var(--portal-line);border-radius:0;color:var(--portal-blue);background:var(--portal-blue-soft);cursor:pointer;overflow:hidden;}
.portal-home-video-cover .up-news-cover{position:absolute;inset:0;margin:0;border-radius:0;z-index:1;}
.portal-home-video-placeholder{font-size:13px;font-weight:650;padding:16px 48px 16px 16px;}
.portal-home-video-cover:has(>.up-news-cover) .portal-home-video-placeholder{visibility:hidden;}
.portal-home-play{position:absolute;right:12px;bottom:12px;z-index:2;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--portal-blue);color:var(--portal-on-blue);}
.portal-home-video-body{padding:18px;display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;}
.portal-home-video h3{font-size:16px;line-height:1.45;margin:0;overflow-wrap:anywhere;}
.portal-home-video p{font-size:13px;margin:0;}
.portal-home-video small{font-size:12px;margin-top:auto;padding-top:6px;}
.portal-home-video .portal-link{font-size:13px;}
.portal-home-empty{display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.portal-home-empty>div{flex:1;min-width:180px;}
.portal-home-empty h3{margin:0;font-size:16px;}
.portal-home-empty p{margin:4px 0 0;font-size:14px;}
.portal-home-task h2{font-size:17px;}
.portal-home button:focus-visible{outline:3px solid var(--portal-blue);outline-offset:3px;}
@media(max-width:1150px){.portal-home-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.portal-home-featured h2{font-size:21px;}}
@media(max-width:760px){.portal-home{gap:28px;}.portal-home-news .portal-home-featured:has(>.up-news-cover){grid-template-columns:minmax(0,1fr);gap:18px;}.portal-home .portal-section-title h1{font-size:25px;}.portal-home .portal-section-title h2{font-size:19px;}}
@media(max-width:480px){.portal-home-video-grid{grid-template-columns:minmax(0,1fr);}.portal-home .portal-section-title .portal-link{font-size:13px;}.portal-home-video-body{padding:16px;}}

.portal-app{transition:grid-template-columns 220ms cubic-bezier(.2,.8,.2,1);}
.portal-sidebar-header{display:flex;align-items:flex-start;gap:6px;min-height:54px;}
.portal-sidebar-header .portal-brand{flex:1;min-width:0;padding:0 4px;gap:8px;}
.portal-sidebar-header .uzpost-logo{max-width:150px;padding:3px 0;}
.portal-sidebar-header .portal-brand>span:last-child{font-size:11px;}
.portal-sidebar-mark{display:none;width:44px;height:44px;object-fit:contain;}
.portal-sidebar-toggle,.portal-sidebar-close{display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:32px;padding:0;border:1px solid var(--portal-line);border-radius:8px;background:var(--portal-paper);color:var(--portal-muted);}
.portal-sidebar-toggle:hover,.portal-sidebar-close:hover{background:var(--portal-blue-soft);color:var(--portal-blue);}
.portal-sidebar-close{display:none;}
.portal-sidebar nav button,.portal-sidebar nav>a{min-height:44px;}
.portal-sidebar :is(button,a):focus-visible{outline:3px solid var(--portal-blue);outline-offset:2px;}
@media(min-width:761px){
 .portal-app.portal-sidebar-collapsed{grid-template-columns:72px minmax(0,1fr);}
 .portal-sidebar-collapsed .portal-sidebar{padding:18px 8px;gap:18px;}
 .portal-sidebar-collapsed .portal-sidebar-header{align-items:center;flex-direction:column;gap:8px;min-height:92px;}
 .portal-sidebar-collapsed .portal-sidebar-header .portal-brand{flex:none;padding:0;order:-1;}
 .portal-sidebar-collapsed .portal-brand :is(.uzpost-logo,.portal-brand-caption){display:none;}
 .portal-sidebar-collapsed .portal-sidebar-mark{display:block;}
 .portal-sidebar-collapsed .portal-sidebar-toggle{width:40px;height:32px;}
 .portal-sidebar-collapsed .portal-nav-label,.portal-sidebar-collapsed .portal-location>div{display:none;}
 .portal-sidebar-collapsed .portal-sidebar nav :is(button,a){justify-content:center;padding:12px;gap:0;}
 .portal-sidebar-collapsed .portal-location{justify-content:center;padding:18px 0 0;}
}
@media(max-width:760px){
 .portal-sidebar-toggle{display:none;}
 .portal-sidebar-close{display:inline-flex;}
 .portal-sidebar-header{align-items:center;}
 .portal-sidebar-header .portal-brand{padding:0 8px;}
 .portal-sidebar-header .uzpost-logo{max-width:170px;}
 .portal-sidebar nav :is(button,a){font-size:14px;}
}
@media(prefers-reduced-motion:reduce){.portal-app{transition:none;}}
html[data-control-motion=reduced] .portal-app,html[data-control-motion=reduced] .portal-sidebar{transition:none;}

.up-statistics{--up-paper:var(--cp-paper,var(--portal-paper,#fff));--up-line:var(--cp-line,var(--portal-line,#dde5ef));--up-text:var(--cp-text,var(--portal-text,#182c47));color:var(--up-text);display:grid;gap:20px}.up-statistics h1{font-size:30px;margin:0}.up-statistics h2{font-size:18px;margin:0}.up-stats-heading,.up-stats-heading>div:last-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.up-stats-heading p,.up-stat-definition{font-size:13px;line-height:1.7;opacity:.7;margin-top:8px}.up-statistics .up-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--up-line);border-radius:9px;background:var(--up-paper);color:inherit;cursor:pointer}.up-statistics .up-btn:disabled{opacity:.45;cursor:default}.up-stat-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;padding:18px;background:var(--up-paper);border:1px solid var(--up-line);border-radius:14px;align-items:end}.up-stat-filters label{display:grid;gap:7px;font-size:12px}.up-stat-filters select,.up-stat-panel input{width:100%;min-width:0;padding:10px 12px;border:1px solid var(--up-line);border-radius:8px;background:var(--up-paper);color:inherit;font:inherit}.up-stat-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.up-stat-summary article{background:var(--up-paper);border:1px solid var(--up-line);border-radius:13px;padding:18px;display:grid;gap:9px}.up-stat-summary strong{font-size:29px}.up-stat-summary span{font-size:12px;opacity:.7}.up-stat-panel{padding:20px;background:var(--up-paper);border:1px solid var(--up-line);border-radius:14px;margin-top:20px}.up-stat-panel>header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}.up-stat-panel input{max-width:280px;font-size:13px}.up-stat-scroll{overflow:auto;margin-top:12px}.up-stat-panel table{border-collapse:collapse;width:100%;font-size:12px;text-align:left;min-width:580px}.up-stat-panel th{font-weight:500;opacity:.65;white-space:nowrap}.up-stat-panel td,.up-stat-panel th{padding:13px 10px;border-bottom:1px solid var(--up-line)}.up-stat-panel td:first-child{max-width:330px}.up-stat-panel td small{display:block;margin-top:5px;opacity:.65}.up-stat-panel footer{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:15px;font-size:12px}.up-stat-pending{opacity:.55;pointer-events:none}@media(max-width:900px){.up-stat-filters{grid-template-columns:1fr 1fr}.up-stat-summary{grid-template-columns:1fr 1fr}.up-stats-heading{align-items:flex-start;flex-wrap:wrap}}@media(max-width:540px){.up-stat-filters{grid-template-columns:1fr}.up-stat-panel{padding:13px}.up-stat-panel>header{flex-direction:column;align-items:stretch}.up-stat-summary article{padding:13px}}

.portal-app .up-statistics{--up-paper:var(--portal-paper);--up-line:var(--portal-line);--up-text:var(--portal-text)}
.up-statistics{min-width:0;}
.up-stat-filters{grid-template-columns:repeat(4,minmax(0,1fr));}
.up-stat-filters input,.up-stat-detail-filters select{width:100%;min-width:0;padding:10px 12px;border:1px solid var(--up-line);border-radius:8px;background:var(--up-paper);color:inherit;font:inherit;box-sizing:border-box;}
.up-stat-summary article{min-width:0;}
.up-stat-summary strong{font-size:24px;line-height:1.4;overflow-wrap:anywhere;}
.up-stat-scope{font-size:12px;opacity:.75;margin:0 0 16px;overflow-wrap:anywhere;}
.up-stat-quality{padding:10px 14px;border-left:3px solid var(--portal-blue,var(--cp-accent,#244091));font-size:12px;line-height:1.7;opacity:.8;}
.up-stat-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px;}
.up-stat-tabs [aria-pressed=true]{border-color:var(--portal-blue,var(--cp-accent));background:var(--portal-blue-soft,var(--cp-accent-soft));font-weight:650;}
.up-stat-detail-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end;margin:18px 0;}
.up-stat-detail-filters label{display:grid;gap:7px;font-size:12px;}
.up-stat-detail-filters p{grid-column:span 2;font-size:13px;}
.up-stat-totals{display:flex;gap:12px 24px;flex-wrap:wrap;font-size:13px;margin:18px 0;}
.up-stat-panel h3{font-size:15px;margin:22px 0 12px;}
.up-stat-drill{display:inline-flex;align-items:center;gap:6px;border:0;padding:0;background:transparent;color:var(--portal-blue,var(--cp-accent,#244091));text-align:left;font:inherit;cursor:pointer;}
.up-stat-drill svg{flex:none;}
.up-stat-empty{font-size:13px;opacity:.75;padding:16px 0;}
.up-stat-result{display:inline-block;font-size:12px;}
.up-stat-result.passed{color:var(--portal-good,#176443);}
.up-stat-result.failed{color:var(--portal-danger,#b92b26);}
.up-stat-attempt{padding:4px 22px 22px;line-height:1.7;}
.up-stat-attempt h3{margin:12px 0 4px;}
.up-stat-attempt dl{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.up-stat-attempt dt{font-size:12px;opacity:.7;}
.up-stat-attempt dd{margin:0;font-size:14px;}
.up-stat-attempt ol{padding-left:24px;}
.up-stat-attempt li{padding:18px 0;border-bottom:1px solid var(--up-line);}
.up-stat-attempt li p{margin:8px 0;}
.up-statistics :is(button,input,select):focus-visible{outline:3px solid var(--portal-blue,var(--cp-accent,#244091));outline-offset:2px;}
@media(max-width:1100px){.up-stat-filters,.up-stat-detail-filters{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:540px){.up-stat-filters,.up-stat-detail-filters{grid-template-columns:1fr;}.up-stat-detail-filters p{grid-column:auto;}.up-stat-summary strong{font-size:19px;}.up-stat-attempt{padding:4px 14px 14px;}.up-stat-attempt dl{grid-template-columns:1fr;}.up-stat-panel footer{flex-wrap:wrap;}}
.up-statistics>div,.up-stat-panel,.up-stat-scroll{min-width:0;max-width:100%;box-sizing:border-box;}
.up-statistics .up-stats-heading>div{min-width:0;}
.up-statistics .up-stat-panel>header{flex-wrap:wrap;}
.up-stat-date-range{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;min-width:0;}
@media(max-width:540px){.up-stat-date-range{grid-template-columns:1fr;}}
.up-stat-result.passed{color:var(--portal-good,var(--cp-accent,#176443));}
.up-stat-result.failed{color:var(--portal-danger,var(--cp-danger,#b92b26));}
.up-stat-tabs [aria-pressed=true]{background:var(--portal-blue-soft,var(--cp-accent-bg,#eaf0ff));}
.up-dialog:has(.up-stat-attempt){--up-line:var(--cp-line,var(--portal-line,#dde5ef));background:var(--cp-paper,var(--portal-paper,#fff));color:var(--cp-text,var(--portal-text,#182c47));}
