:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#12283b;background:#f2f5f8;font-synthesis:none;--navy:#102a40;--text:#12283b;--muted:#4c6274;--teal:#096d63;--line:#d8e2eb;--white:#fff}
*{box-sizing:border-box}
body{margin:0}
[hidden]{display:none!important}
a{color:var(--teal);text-decoration-thickness:1px;text-underline-offset:.2em}
button,input{font:inherit}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.65}
:focus-visible{outline:3px solid #0e7d73;outline-offset:3px}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(2rem,4.3vw,3.1rem);line-height:1.06;letter-spacing:-.045em}
h2{font-size:1.12rem}
p{line-height:1.5}
.wrap{width:min(1136px,100% - 48px);margin-inline:auto}
.access{
  min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:26px 20px;
  background-color:#e9f0f4;
  background-image:linear-gradient(rgba(244,248,252,.77),rgba(244,248,252,.77)),url("./assets/starlinger-loom.jpg");
  background-position:center;background-size:cover;background-repeat:no-repeat;
}
.access-card{
  width:min(460px,100%);padding:clamp(22px,5vw,32px);border:1px solid var(--line);
  border-radius:22px;background:rgba(255,255,255,.96);box-shadow:0 9px 40px #102a4021;
}
.brand{display:flex;align-items:center;gap:12px}
.brand img{display:block;flex:none;border-radius:10px;background:white;border:1px solid #dce6ed;padding:3px}
.brand strong{display:block;line-height:1.2;letter-spacing:-.015em;font-size:1.12rem}
.brand span{display:block;margin-top:3px;color:#c5d9e7;font-size:.875rem}
.access-card h1{margin-top:30px;font-size:clamp(2rem,3.7vw,2.8rem)}
.intro{color:var(--muted);margin-top:10px}
form{margin-top:28px;display:grid;gap:17px}
.field{display:grid;gap:7px}
label{font-weight:650;font-size:.93rem}
input{width:100%;min-width:0;border:1px solid #bfcfda;border-radius:10px;padding:11px 13px;color:var(--text);background:white;min-height:46px}
.button{min-height:44px;color:var(--navy);background:white;border:1px solid var(--line);border-radius:10px;padding:10px 15px;font-weight:700}
.button:hover{border-color:#85a0b1;background:#f5f9fb}
.button-primary{background:var(--navy);border-color:var(--navy);color:white}
.button-primary:hover,.button-dark:hover{color:white;background:#214760}
.button-dark{background:#1a374f;border-color:#587189;color:white}
.topbar{background:var(--navy);color:white;border-bottom:1px solid #2d4a62}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px}
.portal{padding-block:34px 58px}
.page-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.eyebrow{font-size:.875rem;font-weight:750;color:var(--teal);margin-bottom:6px}
.eyebrow:empty{display:none}
.summary{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:23px}
.metric,.card,.empty{background:white;border:1px solid var(--line);border-radius:15px;padding:17px}
.metric{display:grid;gap:6px}
.metric-label,.small{color:var(--muted);font-size:.9rem;line-height:1.45}
.metric-number{font-variant-numeric:tabular-nums;font-size:1.48rem;font-weight:780}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.filters{display:flex;flex-wrap:wrap;gap:5px}
.filter{min-height:44px;background:transparent;border:1px solid transparent;border-radius:9px;padding:8px 12px;font-weight:650;color:var(--muted);font-size:.92rem}
.filter[aria-pressed=true]{background:#e0eee9;border-color:#ccdeda;color:#0a5149}
.search{width:min(320px,100%)}
.orders{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px}
.card{display:grid;gap:13px}
.card h2{overflow-wrap:anywhere}
.order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;flex-wrap:wrap}
.order-ref{color:var(--teal);font-size:.9rem;font-weight:750;overflow-wrap:anywhere}
.badge{color:#1f4661;background:#e8eff6;border-radius:999px;padding:5px 9px;font-size:.85rem;font-weight:700}
.badge.shipped{color:#744815;background:#faeed8}
.badge.delivered{color:#115647;background:#d8efe7}
.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.metrics .metric{background:#f2f5f8;border:0;padding:12px}
.card-footer,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.detail-grid .full{grid-column:1/-1}
.hero{background:var(--navy);color:white;border:0}
.hero .order-ref{color:#9bdcce}
.hero h1{font-size:clamp(1.7rem,4.2vw,2.65rem);overflow-wrap:anywhere}
.balance{background:#def1ee;border-color:#bde2db}
.balance .metric-number{font-size:clamp(1.8rem,4vw,2.45rem)}
.detail-back{margin-bottom:16px}
.fields{display:grid;gap:0;margin:0}
.fields>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-block:8px;border-bottom:1px solid var(--line)}
.fields>div:last-child{border-bottom:0}
.fields dt{color:var(--muted);font-size:.9rem}
.fields dd{margin:0;text-align:right;font-weight:650;overflow-wrap:anywhere}
.shipments{margin:0;padding:0;list-style:none}
.shipments li{display:flex;justify-content:space-between;gap:12px;padding-block:12px;border-bottom:1px solid var(--line)}
.shipments li:last-child{border-bottom:0}
.shipments strong{overflow-wrap:anywhere}
.note{white-space:pre-wrap;overflow-wrap:anywhere}
progress{width:100%;height:12px;accent-color:var(--teal)}
.notice{padding:11px 13px;border-radius:8px;overflow-wrap:anywhere}
.error{color:#802b32;background:#fae9eb}
#portal-error{margin-bottom:16px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:720px){
 .wrap{width:calc(100% - 32px)}.portal{padding-top:24px}
 .access-card h1{margin-top:20px}
 .detail-grid{grid-template-columns:1fr}.search{width:100%}
}
