.nev-account {
  --acct-sand: #faead7;
  --acct-ink: #30241e;
  --acct-muted: #775d4c;
  --acct-line: #ecdbc9;
  --acct-brand: #0846ef;
  color: var(--acct-ink);
  display: grid;
  gap: clamp(12px, 1.4vw, 22px);
}
.nev-account :where(input,button,a) { font: inherit; }
.nev-account :where(button,a) { cursor: pointer; }
.acct-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.acct-filters, .acct-list { display: grid; gap: clamp(10px, 1.2vw, 18px); }
.acct-search {
  display: flex; align-items: center; gap: .9em;
  border: 1px solid #d5bba7; border-radius: .85em;
  padding: 0 1em; background: #fffaf4; color: #705848;
  min-height: 52px;
}
.acct-search input { flex: 1; width: 0; height: 100%; min-height: inherit; background: transparent; border: 0; border-radius: 0; color: var(--acct-ink); outline: 0; padding: 0; }
.acct-search input::placeholder { color: #806857; opacity: 1; }
html.keyboard .acct-search:focus-within { outline: 2px solid var(--acct-brand); outline-offset: 2px; }
.acct-loupe { display: inline-block; width: 1.06em; height: 1.06em; border: .13em solid currentColor; border-radius: 50%; position: relative; flex: none; }
.acct-loupe::after { content: ''; position: absolute; width: .49em; height: .13em; top: 92%; left: 76%; transform: rotate(47deg); background: currentColor; border-radius: .1em; }
.acct-segments { display: grid; grid-template-columns: .65fr 1fr 1.35fr 1.06fr; gap: clamp(4px,.9vw,12px); }
.acct-action {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; text-align: center;
  border: 0; border-radius: .72em; min-height: 44px; padding: .55em 1.15em;
  background: var(--acct-sand); color: var(--acct-muted); font-weight: 780 !important; line-height: 1.24;
}
.acct-segments .acct-action { padding-inline: .25em; min-width: 0; }
.acct-action.strong, .acct-action[aria-pressed=true] { background: var(--acct-brand); color: white; }
@media (hover:hover) and (pointer:fine) {
  .acct-action:not(.strong):not([aria-pressed=true]):hover,.acct-order:hover .acct-order-name strong { color:var(--blue); }
  .acct-order:hover { border-color:#bbad9f; }
}
.acct-action:disabled { opacity: .6; cursor: wait; }
.acct-list { gap: clamp(8px,1.1vw,15px); }
.acct-order {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center;
  gap: clamp(9px,1.4vw,20px); padding: clamp(9px,1.1vw,20px);
  border: 1px solid var(--acct-line); border-radius: clamp(13px,1.5vw,22px);
  text-decoration: none; color: inherit; background: #fff9f2;
}
.acct-tile {
  display: grid; place-items: center; width: clamp(46px,5.2vw,76px); aspect-ratio: 1;
  border-radius: 25%; background: var(--acct-sand); font-size: clamp(22px,3.4vw,46px);
}
.acct-tile img { width: 71%; height: 71%; object-fit: contain; }
.acct-order-name { display: grid; gap: .26em; min-width: 0; }
.acct-order-name strong { font-size: 1.12em; font-weight: 850; line-height: 1.12; overflow-wrap: anywhere; }
.acct-order-name small { color: #94745e; font-size: .88em; font-weight: 650; }
.acct-badge { display: inline-flex; align-items: center; justify-content: center; border-radius: .72em; padding: .36em .72em; background: #f2e9dd; color: #57493e; font-size: .93em; font-weight: 790; line-height: 1.15; }
.acct-badge.active { background: #ffe6c4; color: #814c0a; }
.acct-badge.completed { background: #e2e9cf; color: #3c571f; }
.acct-chevron { width: .59em; height: .59em; border-top: .14em solid #937969; border-right: .14em solid #937969; transform: rotate(45deg); margin-right: .15em; }
.acct-panel { border: 1px solid var(--acct-line); border-radius: 19px; padding: clamp(18px,2.4vw,34px); background: #fff9f2; }
.acct-panel h2 { margin: 0; font-size: clamp(21px,2.2vw,34px); font-weight: 850; line-height: 1.15; }
.acct-panel p, .acct-note { margin: .6em 0; color: var(--acct-muted); font-weight: 600; }
.acct-panel .acct-badge, .acct-panel .acct-balance { margin-top: .8em; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1em; }
.acct-data { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); margin: 1em 0; }
.acct-data dt,.acct-data dd { margin: 0; padding: .68em .05em; border-bottom: 1px solid var(--acct-line); overflow-wrap: anywhere; }
.acct-data dt { color: var(--acct-muted); }
.acct-data dd { font-weight: 780; text-align: right; }
.acct-balance { display: block; font-size: 1.7em; }
.acct-code { display: block; margin-top: 1em; font-size: 1.28em; font-weight: 750; user-select: all; }
@media(max-width: 700px) {
  .nev-account { font-size: clamp(15px,3.95vw,21px); gap: 13px; }
  .acct-search { min-height: clamp(40px,10vw,53px); border-radius: .78em; }
  .acct-filters { gap: clamp(11px,3.1vw,16px); }
  .acct-segments { gap: 5px; }
  .acct-segments .acct-action { font-size: clamp(12px,3.35vw,17px); min-height: 34px; }
  .acct-order { min-height: clamp(60px,16.4vw,84px); gap: clamp(6px,2vw,12px); }
  .acct-order-name strong { font-size: clamp(14px,3.78vw,20px); }
  .acct-badge { font-size: clamp(12px,3.12vw,16px); padding: .38em .55em; }
}
@media(max-width: 350px) {
  .acct-order { padding: 7px; gap: 6px; }
  .acct-tile { width: 36px; }
  .acct-segments { gap: 3px; }
}

body[data-page="orders"] .stage-head { display:flex; }
.order-latest:empty,.acct-list:empty { display:none; }
.order-feature {
  position:relative; isolation:isolate; overflow:hidden; display:grid;
  grid-template-columns:minmax(0,1fr); grid-template-rows:1fr auto;
  min-height:clamp(190px,17vw,268px); border:1px solid #eed8bf;
  border-radius:var(--radius); background:#faead8; color:var(--acct-ink);
}
.order-portrait { grid-area:1/1; position:absolute; z-index:-1; inset:0 0 0 auto; height:100%; aspect-ratio:517/317; max-width:50%; pointer-events:none;
  mask-image:linear-gradient(90deg,transparent,#000 30%); }
.order-feature-copy { grid-area:1/1; display:grid; align-content:center; justify-items:start; gap:.42rem;
  max-width:63%; padding:clamp(16px,2.3vw,36px); overflow-wrap:anywhere; }
.order-kicker,.order-to { font-weight:740; font-size:clamp(14px,1.2vw,19px); color:#715742; }
.order-feature h2 { margin:0; font-size:clamp(26px,3.3vw,54px); line-height:1.04; letter-spacing:-.035em; font-weight:950; }
.order-feature .acct-badge { margin-top:.28rem; }
.order-foot { grid-area:2/1; display:flex; justify-content:space-between; align-items:center; gap:12px; align-self:end;
  border-top:1px solid var(--acct-line); background:#fff8ef; padding:.76rem clamp(16px,2.3vw,36px); }
.order-foot strong { font-size:clamp(18px,1.5vw,25px); font-variant-numeric:tabular-nums; }
.order-more { color:var(--acct-brand); font-weight:850; font-size:clamp(14px,1.15vw,18px); }
.order-row-summary { display:grid; justify-items:end; gap:.3em; }
.order-row-summary strong { font-variant-numeric:tabular-nums; white-space:nowrap; }
.order-list-title { font-size:clamp(18px,1.8vw,28px); line-height:1.16; margin:.4em 0 0; font-weight:900; letter-spacing:-.02em; }
.order-example-note { margin:0; color:var(--acct-muted); font-size:14px; }
.order-receipt .acct-data { margin-bottom:0; }
.order-receipt .acct-data :nth-last-child(-n+2) { border:0; }
.order-receipt .acct-action { margin-top:12px; }
.order-receipt h2 { font-size:clamp(19px,1.9vw,29px); }
.order-product { display:block; min-width:0; position:relative; }
.order-product select {
  display:block; width:100%; min-height:44px; padding:8px 32px 8px 12px;
  border-radius:12px; border:1px solid var(--acct-line); background:#fff9f2;
  color:var(--acct-ink); font:inherit; font-weight:700; appearance:none; cursor:pointer; outline:0;
}
.order-product::after { content:"";position:absolute;right:14px;top:42%;width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);pointer-events:none; }
html.keyboard .order-product select:focus { outline:2px solid var(--acct-brand); outline-offset:2px; }
.order-group { display:grid; gap:0; border:1px solid var(--acct-line); border-radius:19px; background:#fff9f2; }
.order-group > :is(.order-feature,.acct-order) { border:0; border-radius:19px 19px 0 0; }
.order-controls { display:flex; align-items:center; flex-wrap:wrap; gap:5px 12px; padding:6px 14px; }
.order-group .order-controls { border-top:1px solid var(--acct-line); }
.order-controls .acct-action { min-height:40px; font-size:14px; color:var(--acct-brand); padding:5px 3px; background:none; }
.order-controls .acct-action.strong { color:var(--acct-brand); text-decoration:underline; text-underline-offset:3px; }
.order-receipt .order-controls { padding:0; }
body[data-page=orders] .acct-filters { grid-template-columns:minmax(0,1fr) minmax(110px,185px); }
body[data-page=orders] .acct-segments { grid-column:1/-1; }
@media(min-width:850px) {
  body:is([data-page="orders"],[data-page="order"]) .nev-account { max-width:1120px; }
  .acct-filters { grid-template-columns:minmax(190px,.9fr) minmax(330px,1.3fr); align-items:center; }
}
@media(max-width:740px) {
  body[data-page="orders"] .stage-head { margin:.3rem .25rem .8rem; }
  .order-feature { min-height:165px; }
  .order-feature-copy { gap:.26rem; }
  .order-feature h2 { font-size:clamp(25px,7.8vw,35px); }
  .order-foot { padding:.6rem 1rem; }
  .order-row-summary strong { font-size:.94em; }
  .acct-order-name small { font-size:.77em; overflow-wrap:anywhere; }
}
