/* Everyday account tasks use the existing Veriti palette and controls. */
html body .head h1,html body .login h1{font-family:var(--font);font-size:1.875rem;font-weight:650;line-height:1.25;letter-spacing:-.025em}
html body .shell{grid-template-columns:230px minmax(0,1fr)}
html body main{padding:2rem 2.5rem 4rem;max-width:1400px;width:100%}
html body .head{margin-bottom:1.6rem}
html body .head .sub{background:none;font-size:.9rem;max-width:70ch;margin-top:.45rem}
html body .side .brand{padding-bottom:1rem}
html body .nav{display:grid;gap:.3rem}
html body .nav a{font-size:.85rem;padding:.7rem .65rem}
html body .side .bottom{line-height:1.8}
html body .panel h3{font-size:.95rem}
html body .empty{border-style:solid;text-align:left;padding:1.5rem;max-width:72ch}
.portal-next{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.5rem;background:var(--accent-soft);border:1px solid var(--gold-line);border-radius:4px;margin-bottom:2rem}
.portal-next h2,.portal-section h2{font-size:1.15rem;line-height:1.4;margin:0;font-weight:650;letter-spacing:-.015em}
.portal-next p{max-width:65ch;margin:.5rem 0 0;color:var(--muted);font-size:.9rem}
.portal-next>.btn{flex:none}
.portal-section{margin:2rem 0}
.portal-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.9rem}
.portal-section-head>a{font-size:.85rem}
.portal-steps{list-style:none;counter-reset:portal-step;padding:0;margin:1rem 0 0}
.portal-steps li{counter-increment:portal-step;display:grid;grid-template-columns:2rem minmax(0,1fr) auto;gap:1rem;align-items:start;border-bottom:1px solid var(--line);padding:1.25rem 0}
.portal-steps li::before{content:counter(portal-step);font-weight:650;color:var(--muted);line-height:1.75}
.portal-steps a{color:var(--ink);text-underline-offset:4px;font-weight:650;font-size:.92rem}
.portal-steps p{font-size:.85rem;color:var(--muted);margin:.35rem 0 0;max-width:65ch}
.portal-steps li>span{font-size:.8rem;color:var(--muted);padding-top:.15rem;text-align:right}
.portal-summary{display:flex;gap:1.5rem;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:1.25rem;margin-bottom:2rem}
.portal-summary a{font-size:.9rem;color:var(--muted);text-decoration:none}
.portal-summary b{font-size:1rem;color:var(--ink);font-variant-numeric:tabular-nums}
.portal-summary a:hover{text-decoration:underline}
.portal-table{position:relative;overflow-x:auto;max-width:100%;border:1px solid var(--line);border-radius:4px}
.portal-table table{border:0;min-width:520px}
.portal-restock{list-style:none;padding:0;margin:.5rem 0}
.portal-restock li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 0;border-bottom:1px solid var(--line)}
.portal-restock li>div{display:grid}
.portal-invoice{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);padding-top:1.5rem}
.portal-invoice p{color:var(--muted);font-size:.85rem;margin:.5rem 0 0}
.portal-invoice>a{flex:none}
.portal-disclosure{border:1px solid var(--line);border-radius:4px;background:#fff;margin:1rem 0;min-width:0}
.portal-disclosure>summary{cursor:pointer;min-height:56px;padding:1rem 1.25rem;font-size:.95rem;font-weight:650}
.portal-disclosure>summary small{display:block;font-size:.82rem;font-weight:400;color:var(--muted);margin:.2rem 0 0 1rem}
.portal-disclosure[open]>summary{border-bottom:1px solid var(--line)}
.portal-disclosure-body{padding:1.25rem;min-width:0;overflow-x:auto}
.portal-disclosure-body>h3{display:none}
.portal-disclosure-body>.body{padding:0}
.portal-disclosure-body>.panel,.portal-disclosure-body>.grid2>.panel{border:0;border-radius:0}
.portal-disclosure-body>.panel:last-child{margin-bottom:0}
.portal-disclosure-body>.panel>.body{padding:.8rem 0}
.portal-disclosure-body>.panel>h3{padding:.5rem 0 .8rem}
.portal-disclosure-body>p:first-child{margin-top:0;font-size:.87rem}
.portal-stock-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem;background:#fff;border:1px solid var(--line);padding:1rem 1.25rem;margin-bottom:1.5rem}
.portal-stock-actions>div{flex:1 1 250px;font-size:.87rem}
.portal-stock-actions span{color:var(--muted)}
.portal-order-help{font-size:.84rem;color:var(--muted);margin:0 0 1.3rem}
.portal-order-help a{display:inline-block;margin-left:.35rem}
.portal-batches>summary{cursor:pointer;min-height:40px;align-content:center;font-size:.82rem;color:var(--accent2)}
.portal-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.portal-stock-table>table>tbody>tr:not(.portal-stock-detail)>td{border-bottom:0;padding-bottom:.25rem}
.portal-stock-detail>td{padding-top:0}
.portal-stock-detail .portal-batches>summary{min-height:44px}
.portal-stock-detail .portal-batches[open]{padding-bottom:.75rem}
.portal-stock-detail table{margin-top:.75rem}
.portal-stock-facts{display:flex;align-items:flex-start;flex-wrap:wrap;gap:1rem 2rem;padding:.5rem 0;font-size:.82rem}
.portal-stock-facts>div{display:grid;gap:.2rem}
.portal-stock-facts span{color:var(--muted)}
.portal-stock-facts>a{align-self:center}
.portal-stock-hold{color:var(--accent2);margin-top:.3rem}
.portal-order-overview .body{overflow-wrap:anywhere}
.portal-delivery-address{margin:.5rem 0 .75rem}
.portal-order-items{border:0;border-radius:0}
.portal-order-options{display:flex;flex-wrap:wrap;gap:.65rem}
.portal-order-reference{margin-bottom:1rem;overflow-wrap:anywhere}
.portal-disclosure .timeline li>span{min-width:0;overflow-wrap:anywhere}
.portal-help{font-size:.85rem;margin-top:1.5rem;color:var(--muted)}
@media(max-width:900px){
  html body .shell{grid-template-columns:minmax(0,1fr)}
  html body main{padding:1.5rem 1.25rem 3rem}
  html body .nav{display:flex;flex-wrap:wrap;width:100%;gap:.25rem}
  html body .nav a{padding:.55rem .65rem;font-size:.8rem}
  html body .side .brand{display:grid;grid-template-columns:76px minmax(0,1fr);gap:0 .8rem;align-items:center;padding-bottom:.5rem}
  html body .side .brand>a{grid-row:1/3}
  html body .side .brand .veriti-logo{width:76px;height:52px;margin:0}
  html body .side .brand .name{align-self:end;margin:0}
  html body .side .brand .tier{align-self:start}
  html body .side .bottom{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;font-size:.75rem}
  html body .side .bottom .who{margin:0;flex:1 1 auto}
  html body .side .bottom button{margin:0}
  .portal-next{align-items:flex-start;flex-direction:column;gap:1rem}
  .portal-disclosure-body{padding:1rem}
}
@media(max-width:600px){
  html body main{padding:1.3rem 1rem 3rem}
  html body .head h1,html body .login h1{font-size:1.6rem}
  html body .head .acts{width:100%}
  html body .head .acts .btn{flex:1 1 auto}
  html body .toolbar input[type=search]{min-width:0;width:100%}
  .portal-next{padding:1.25rem}
  .portal-next>.btn{width:100%}
  .portal-steps li{grid-template-columns:1.25rem minmax(0,1fr);gap:.6rem}
  .portal-steps li>span{grid-column:2;text-align:left;padding:0}
  .portal-invoice{align-items:flex-start;flex-direction:column}
  .portal-restock li{align-items:flex-start;flex-direction:column;gap:.3rem}
  .portal-stock-actions>.btn{flex:1 1 auto}
  .portal-summary{gap:.6rem 1.5rem}
  .portal-disclosure>summary{padding:1rem}
  .portal-disclosure .timeline li{grid-template-columns:minmax(0,1fr);gap:.2rem;padding:.6rem 0}
}
