.portal-box{grid-column:1/-1;padding:18px;border:1px solid #cfe0ff;border-radius:12px;background:#f5f8ff}.portal-box h3{margin:0 0 6px}.portal-shell{min-height:100vh;background:#f4f7fb}.portal-top{height:78px;background:#10243e;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1200px)/2));box-shadow:0 5px 20px rgba(16,36,62,.15)}.portal-top .brand small{display:block;color:#9fb2c9}.portal-user{display:flex;align-items:center;gap:16px;font-weight:700}.portal-main{max-width:1200px;margin:0 auto;padding:34px 24px 70px}.portal-hero{background:linear-gradient(135deg,#10243e,#24558b);color:#fff;border-radius:18px;padding:30px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.portal-hero h1{margin:3px 0 8px;font-size:30px}.portal-hero p{margin:0;color:#c8d7e8}.portal-order-item{border:1px solid var(--line);border-radius:13px;padding:16px;margin-bottom:12px;background:#fafcff}.item-fields{display:grid;grid-template-columns:2fr 1fr auto;gap:12px;align-items:end}.product-summary{margin-top:13px;background:#eef4fc;border-radius:9px;padding:11px;display:flex;gap:18px;align-items:center;flex-wrap:wrap;color:#536174}.product-summary strong{margin-left:auto;color:#132d4d}.order-total{display:flex;justify-content:flex-end;gap:18px;align-items:center;margin-top:20px;padding:15px;background:#eef4fc;border-radius:10px}.order-total strong{font-size:21px;color:#153f72}.approval-card{border-left:5px solid #f4aa18;display:grid;grid-template-columns:1fr 400px;gap:30px;align-items:end}.approval-card h2{margin:3px 0 8px}.approval-form{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}@media(max-width:800px){.portal-top{padding:0 18px}.portal-user>span{display:none}.portal-main{padding:22px 16px}.portal-hero,.approval-card{grid-template-columns:1fr;display:grid}.item-fields,.approval-form{grid-template-columns:1fr}.product-summary strong{margin-left:0;width:100%}}

@keyframes portalFadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes portalFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-10px,0)}}
@keyframes portalPulse{0%,100%{box-shadow:0 0 0 4px rgba(20,184,111,.12)}50%{box-shadow:0 0 0 8px rgba(20,184,111,.04)}}
.portal-dashboard-hero{position:relative;isolation:isolate;min-height:164px;overflow:hidden;padding:34px 38px;background:linear-gradient(120deg,#102943 0%,#174a76 56%,#2865a1 100%);box-shadow:0 18px 42px rgba(22,65,107,.2);animation:portalFadeUp .45s ease both}
.portal-dashboard-hero:after{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.06))}
.hero-orb{position:absolute;z-index:-1;border-radius:50%;background:rgba(255,255,255,.07);filter:blur(.2px);animation:portalFloat 6s ease-in-out infinite}.orb-one{width:210px;height:210px;right:22%;top:-130px}.orb-two{width:110px;height:110px;right:7%;bottom:-75px;animation-delay:-2s}
.portal-hero-copy{display:flex;align-items:center;gap:18px}.portal-hero-icon{display:grid;place-items:center;flex:0 0 54px;height:54px;border:1px solid rgba(255,255,255,.2);border-radius:15px;background:rgba(255,255,255,.1);font-size:24px;backdrop-filter:blur(8px)}
.portal-dashboard-hero .eyebrow{color:#7fafff!important}.portal-dashboard-hero h1{font-size:31px;letter-spacing:-.035em}.portal-dashboard-hero p{color:#d4e2f2}
.portal-create-btn{position:relative;gap:9px;min-height:48px;padding:0 18px;border:1px solid rgba(255,255,255,.15);border-radius:12px;background:#2d6df2;box-shadow:0 9px 22px rgba(0,30,90,.25);transition:transform .2s,box-shadow .2s,background .2s}.portal-create-btn span{font-size:20px}.portal-create-btn i{font-style:normal;transition:transform .2s}.portal-create-btn:hover{background:#3979ff;transform:translateY(-2px);box-shadow:0 13px 28px rgba(0,30,90,.3)}.portal-create-btn:hover i{transform:translateX(4px)}
.portal-orders-card{padding:0;overflow:hidden;border-color:#dce5f0;box-shadow:0 14px 38px rgba(25,48,82,.08);animation:portalFadeUp .5s .08s ease both}
.portal-orders-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #e4eaf2;background:linear-gradient(180deg,#fff,#fbfdff)}.portal-orders-head>div{display:flex;align-items:center;gap:12px}.portal-section-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#eaf1ff;color:#2861d2;font-size:19px}.portal-orders-head h2{margin:0;color:#172b4d;font-size:18px}.portal-orders-head p{margin:3px 0 0;color:#7a879a;font-size:12px}.portal-order-count{padding:7px 11px;border:1px solid #dbe4f0;border-radius:999px;color:#58677d;font-size:11px;font-weight:800}
.portal-order-list{padding:14px;background:#f8fafd}.portal-order-row{display:grid;grid-template-columns:1.15fr .72fr .8fr 1.65fr .66fr .9fr auto;gap:15px;align-items:center;padding:16px;margin-bottom:10px;border:1px solid #e0e7f0;border-radius:13px;background:#fff;box-shadow:0 3px 11px rgba(24,45,78,.035);animation:portalFadeUp .4s calc(.12s + var(--row-index)*.06s) ease both;transition:border-color .2s,box-shadow .2s,transform .2s}.portal-order-row:last-child{margin-bottom:0}.portal-order-row:hover{border-color:#b7c9e8;box-shadow:0 9px 22px rgba(24,45,78,.08);transform:translateY(-2px)}
.portal-order-ref{display:flex;align-items:center;gap:10px;min-width:0}.portal-order-ref>span{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:#edf3ff;color:#2c61ca;font-size:11px;font-weight:900}.portal-order-ref small,.portal-order-data small,.portal-order-products small{display:block;color:#7d899c;font-size:9px;font-weight:850;letter-spacing:.055em;text-transform:uppercase}.portal-order-ref strong,.portal-order-data strong,.portal-order-products strong{display:block;margin-top:4px;color:#203552;font-size:12px;line-height:1.4}.portal-order-ref strong{overflow-wrap:anywhere}.portal-order-products{min-width:0}.portal-order-products strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-order-products span{display:block;margin-top:3px;color:#8794a6;font-size:10px}.portal-order-data.numeric strong{font-size:16px}.portal-order-data.weight strong{color:#255cc7}
.portal-order-status{display:inline-flex;align-items:center;gap:6px;justify-self:end;padding:8px 10px;border-radius:999px;font-size:10px;font-weight:850;white-space:nowrap}.portal-order-status i{width:6px;height:6px;border-radius:50%;background:currentColor}.portal-order-status.approved{background:#e1f7eb;color:#087b48}.portal-order-status.pending{background:#fff2d3;color:#9e6300}.portal-order-status.active{background:#e7efff;color:#265ac5}
.portal-orders-empty{text-align:center;padding:55px 20px}.portal-orders-empty>span{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 13px;border-radius:15px;background:#eaf1ff;color:#2c62ce;font-size:23px}.portal-orders-empty h3{margin:0;color:#213653}.portal-orders-empty p{margin:6px 0 17px;color:#7b889b}.portal-pagination{padding:0 20px 18px}
@media(max-width:1050px){.portal-order-row{grid-template-columns:1fr 1fr 1fr}.portal-order-ref,.portal-order-products{grid-column:span 2}.portal-order-status{justify-self:start}}
@media(max-width:700px){.portal-dashboard-hero{align-items:flex-start;padding:26px 22px}.portal-hero-copy{align-items:flex-start}.portal-hero-icon{display:none}.portal-dashboard-hero h1{font-size:25px}.portal-create-btn{justify-self:start}.portal-orders-head{align-items:flex-start}.portal-orders-head p{display:none}.portal-order-row{grid-template-columns:1fr 1fr;gap:14px}.portal-order-ref,.portal-order-products{grid-column:1/-1}.portal-order-status{justify-self:start}.portal-order-data.weight{grid-column:span 1}}
@media(max-width:450px){.portal-order-row{grid-template-columns:1fr}.portal-order-ref,.portal-order-products,.portal-order-data.weight{grid-column:auto}.portal-order-status{justify-self:start}}
@media(prefers-reduced-motion:reduce){.portal-dashboard-hero,.portal-orders-card,.portal-order-row,.hero-orb{animation:none!important}.portal-create-btn,.portal-order-row{transition:none!important}}
