.portal-skeleton,.portal-load-error{display:none}.portal-loading .portal-skeleton{display:block}.portal-loading #app{display:none}.portal-loading .portal-load-error:not([hidden]){display:block}.portal-load-delayed .portal-skeleton{display:none}
.portal-loading-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.portal-skeleton{background:radial-gradient(ellipse 70% 500px at 70% 240px,#e8f1ff,transparent),#fff;min-height:100vh}
.portal-skeleton-header{height:80px;padding:18px 36px;position:relative;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f6;background:white}
.portal-skeleton-header img{width:226px;height:auto;display:block}.portal-skeleton-nav{display:flex;gap:14px;position:absolute;left:50%;transform:translateX(-50%)}
.portal-skeleton-nav i{width:82px;height:16px}.portal-skeleton-actions{display:flex;gap:14px}.portal-skeleton-actions i{width:80px;height:32px}.portal-skeleton-actions i:first-child{width:24px}
.portal-skeleton-content{max-width:1240px;margin:auto;padding:66px 26px}.portal-skeleton i{position:relative;display:block;background:#e6ebf3;border-radius:8px;overflow:hidden}.portal-skeleton i:after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,transparent,#ffffffa6,transparent);transform:translateX(-100%);animation:portal-shimmer 1.7s infinite}
.portal-skeleton-eyebrow{width:130px;height:12px;margin-bottom:22px}.portal-skeleton-title{width:min(390px,88%);height:45px;margin-bottom:20px}.portal-skeleton-line{width:min(490px,90%);height:14px;margin:12px 0}.portal-skeleton-line.short{width:min(330px,70%)}
.portal-skeleton-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:64px}.portal-skeleton-card{border:1px solid #e1e8f2;border-radius:14px;padding:24px;background:#ffffffc9;min-height:230px}.portal-skeleton-icon{width:42px;height:42px;margin-bottom:35px}.portal-skeleton-card .portal-skeleton-line{width:90%}
.portal-skeleton-form{display:none;border:1px solid #e1e8f2;padding:32px;border-radius:14px;background:#ffffffc9}.portal-skeleton-form i{height:48px;margin:18px 0 30px}.portal-skeleton-form i:last-child{width:160px;margin-bottom:0}
[data-loading-layout=form] .portal-skeleton-content{display:grid;grid-template-columns:.85fr 1.15fr;gap:72px;padding-top:80px}[data-loading-layout=form] .portal-skeleton-cards{display:none}[data-loading-layout=form] .portal-skeleton-form{display:block}
[data-loading-layout=report] .portal-skeleton-cards{display:block}[data-loading-layout=report] .portal-skeleton-card{height:440px}[data-loading-layout=report] .portal-skeleton-card~.portal-skeleton-card{display:none}
.portal-load-error{max-width:540px;margin:15vh auto;padding:32px}.portal-load-error button,.portal-load-error a{margin:20px 16px 0 0}
.portal-font-fallback body{font-family:Arial,sans-serif!important}.portal-font-fallback .site-shell-header,.portal-font-fallback .site-footer{font-family:Arial,sans-serif!important}
@keyframes portal-shimmer{to{transform:translateX(100%)}}
@media(min-width:1201px) and (max-width:1399px){.portal-skeleton-header{height:112px;padding:14px 28px 54px}.portal-skeleton-header img{width:205px}.portal-skeleton-nav{bottom:18px}}
@media(max-width:1200px){.portal-skeleton-header{height:64px;padding:12px 20px}.portal-skeleton-header img{width:190px}.portal-skeleton-nav,.portal-skeleton-actions i:not(:last-child){display:none}.portal-skeleton-actions i:last-child{width:32px}.portal-skeleton-content{padding:42px 20px}.portal-skeleton-cards{grid-template-columns:1fr 1fr;gap:14px}.portal-skeleton-cards>div:last-child{display:none}}
@media(max-width:760px){[data-loading-layout=form] .portal-skeleton-content{grid-template-columns:1fr;gap:30px;padding-top:35px}.portal-skeleton-title{height:36px}.portal-skeleton-form{padding:22px}.portal-skeleton-cards{margin-top:40px}}
@media(max-width:420px){.portal-skeleton-cards{grid-template-columns:1fr}.portal-skeleton-cards>div:nth-child(2){display:none}.portal-skeleton-card{min-height:205px}}
@media(max-width:360px){.portal-skeleton-header img{width:178px}}
@media(prefers-reduced-motion:reduce){.portal-skeleton i:after{animation:none}}
