/* LAUTER partner portal, stage 1. The look follows the approved mock-up (research/retail/portal/index.html). */
@font-face { font-family: 'Voice'; src: url('assets/lt-voice-arizona-flare-light.otf') format('opentype'); font-weight: 300; font-display: block; }
@font-face { font-family: 'Text'; src: url('assets/lt-text-oracle-regular.otf') format('opentype'); font-weight: 400; font-display: block; }
@font-face { font-family: 'Wide'; src: url('assets/lt-wide-diatype-expanded-light.otf') format('opentype'); font-weight: 300; font-display: block; }
@font-face { font-family: 'Wide'; src: url('assets/lt-wide-diatype-expanded-regular.otf') format('opentype'); font-weight: 400; font-display: block; }
:root { --mid: #0F2231; --mid2: #142C3D; --glac: #17384A; --ice: #EEF3F5; --mist: #9FB3C0; --slate: #56717F; --line: #D7E1E6; --lined: #26405A; --ink: #0F2231; --paper: #F6F8F9;
  --gold: #C6A15B; --gold2: #E9D5A6; --gold3: #9A7836; --goldg: linear-gradient(135deg, #F1E2BC 0%, #D9BD80 42%, #B98F45 100%); --ok: #2F7D5B; --bad: #A33A2B; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font: 400 16px/1.45 'Text', system-ui, sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.side :focus-visible, .ink :focus-visible, .whoscr :focus-visible { outline-color: var(--gold2); }
.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }

/* side menu */
.side { background: linear-gradient(180deg, #0C1B28 0%, var(--mid) 45%, var(--glac) 100%); color: #fff; padding: 30px 22px 22px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side .logo { width: 132px; }
.side .cap { font: 400 9.5px 'Wide'; letter-spacing: .22em; text-transform: uppercase; color: var(--gold2); margin-top: 12px; }
.nav { margin-top: 34px; display: grid; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 11px 12px; font-size: 15.5px; color: #C3D0D8; border-radius: 3px; border-left: 2px solid transparent; transition: background .15s, color .15s; text-decoration: none; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.04); }
.nav a.on { color: #fff; background: linear-gradient(90deg, rgba(233,213,166,.16), rgba(233,213,166,0)); border-left-color: var(--gold2); }
.nav i { font: 400 9px 'Wide'; letter-spacing: .14em; color: var(--gold2); font-style: normal; width: 18px; }
.who { margin-top: auto; padding: 16px; border: 1px solid rgba(233,213,166,.28); border-radius: 3px; background: rgba(255,255,255,.035); }
.who b { display: block; font: 300 21px/1.15 'Voice', serif; overflow-wrap: anywhere; }
.who span { font-size: 13px; color: var(--mist); }
.who .lv { display: inline-block; margin-top: 10px; font: 400 9px 'Wide'; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; border-radius: 20px; background: var(--goldg); color: #2A1F08; }

/* top bar: the stand-in strip stays in view with it */
.main { min-width: 0; display: flex; flex-direction: column; }
.hdr { position: sticky; top: 0; z-index: 5; }
.ribbon { background: #1b1405; color: var(--gold2); font: 400 9.5px 'Wide'; letter-spacing: .18em; text-transform: uppercase; padding: 8px 40px; }
.top { display: flex; align-items: center; gap: 14px; padding: 16px 40px; background: #fff; border-bottom: 1px solid var(--line); }
.top .cl { font: 400 9.5px 'Wide'; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.top .nm { font-size: 16px; overflow-wrap: anywhere; }
.top .sp { margin-left: auto; }
.seg { display: inline-flex; border: 1px solid var(--ink); border-radius: 30px; overflow: hidden; }
.seg button { padding: 8px 16px; font-size: 14px; line-height: 1; white-space: nowrap; }
.seg button.on { background: var(--ink); color: #fff; }
.seg button:focus-visible { outline-offset: -3px; }
.cartb { padding: 9px 16px; border: 1px solid var(--ink); border-radius: 30px; font-size: 14px; white-space: nowrap; }

/* page */
.page { padding: 34px 40px 60px; max-width: 1320px; width: 100%; }
.tag { font: 400 10.5px 'Wide'; letter-spacing: .22em; text-transform: uppercase; color: var(--gold3); }
h1 { font: 300 44px/1.08 'Voice', serif; letter-spacing: -.014em; margin-top: 8px; overflow-wrap: anywhere; }
h1 em, h2 em { font-style: normal; color: var(--gold3); }
h2 { font: 300 28px/1.15 'Voice', serif; }
.sub { font-size: 17px; color: #3F5866; margin-top: 8px; max-width: 760px; }
.grid { display: grid; gap: 18px; margin-top: 26px; }
.g3 { grid-template-columns: repeat(3, 1fr); } .g2 { grid-template-columns: 1fr 1fr; } .g21 { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.stack { display: grid; gap: 18px; align-content: start; min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 22px 24px; min-width: 0; }
.card.ink { background: var(--mid); color: #fff; border-color: var(--mid); } .card.gold { background: var(--goldg); border: 0; } .card.ice { background: var(--ice); border-color: var(--ice); }
.l { font: 400 10px 'Wide'; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); line-height: 1.5; }
.ink .l { color: var(--gold2); } .gold .l { color: #5C4517; }
.v { font: 300 46px/1.05 'Voice', serif; letter-spacing: -.015em; margin-top: 6px; }
.v.s { font-size: 34px; }
.n { font-size: 14.5px; color: #3F5866; margin-top: 6px; } .ink .n { color: #C3D0D8; } .gold .n { color: #3A2C0E; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 30px; background: var(--ink); color: #fff; font-size: 15px; transition: transform .12s, box-shadow .12s; text-decoration: none; text-align: center; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(15,34,49,.22); }
.btn.g { background: var(--goldg); color: #1b1405; } .btn.o { background: none; color: var(--ink); border: 1px solid var(--ink); } .btn.sm { padding: 8px 15px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { font: 400 9.5px 'Wide'; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); text-align: right; padding: 0 12px 10px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
td { padding: 12px; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums lining-nums; }
th:first-child, td:first-child { text-align: left; padding-left: 0; } td small { display: block; color: var(--slate); font-size: 13px; }
th:last-child, td:last-child { padding-right: 0; }
table.t2 th:nth-child(2), table.t2 td:nth-child(2), table.t3 th:nth-child(-n+3), table.t3 td:nth-child(-n+3), table.t4 th:nth-child(-n+4), table.t4 td:nth-child(-n+4) { text-align: left; }
table.wrap th { white-space: normal; }
td.k { font: 300 20px 'Voice', serif; white-space: nowrap; } tr.hi td { background: rgba(233,213,166,.3); } tr.hi td:first-child { box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px; }
.chip { display: inline-block; font: 400 9px 'Wide'; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 20px; white-space: nowrap; border: 1px solid var(--line); color: var(--slate); vertical-align: middle; }
.chip.ok { border-color: var(--ok); color: var(--ok); } .chip.g { background: var(--goldg); color: #2A1F08; border: 0; } .chip.w { border-color: var(--gold); color: var(--gold3); }
.ink .chip.w { border-color: var(--gold2); color: var(--gold2); }
td .chip.st { white-space: normal; line-height: 1.5; border-radius: 12px; text-align: center; }
.note { font-size: 13px; color: var(--slate); margin-top: 26px; max-width: 980px; line-height: 1.5; }
.pos { color: var(--ok); } .neg { color: #A8452A; }

/* order stock */
.prod { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 26px; } .prod .im { border-radius: 3px; background: var(--ice) center/cover; min-height: 250px; position: relative; overflow: hidden; }
.prod.slim .im { min-height: 120px; }
.prod .im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod .im .plus { position: absolute; right: 10px; bottom: 10px; background: #fff; border-radius: 3px; padding: 6px 10px; font-size: 12.5px; box-shadow: 0 2px 10px rgba(15,34,49,.18); }
.price { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; flex-wrap: wrap; } .price b { font: 300 38px/1 'Voice', serif; } .price span { font-size: 14.5px; color: var(--slate); }
.fin { display: grid; gap: 0; margin-top: 14px; } .fin > div { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.fin .fn small { display: block; font-size: 13px; color: var(--slate); }
.dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(15,34,49,.25); flex: none; } .dot.Chrome { background: linear-gradient(135deg, #F4F6F7, #AEB8BF); } .dot.Gold { background: var(--goldg); } .dot.Black { background: linear-gradient(135deg, #3A3F44, #0C0F12); } .dot.none { background: var(--ice); }
.step { display: inline-flex; align-items: center; border: 1px solid var(--ink); border-radius: 30px; } .step button { width: 34px; height: 34px; font-size: 18px; line-height: 1; border-radius: 30px; }
.step input { width: 46px; height: 34px; text-align: center; font: inherit; color: inherit; background: none; border: 0; font-variant-numeric: tabular-nums; border-radius: 3px; }
.qa { font-size: 13px; color: var(--gold3); border-bottom: 1px solid var(--gold); padding: 0; white-space: nowrap; text-decoration: none; }
.sum { position: sticky; top: 112px; align-self: start; } .sum .ln { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--lined); font-size: 15px; } .sum .ln span:first-child { color: #C3D0D8; } .sum .ln span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum .tot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--gold3); } .sum .tot b { font: 300 40px/1 'Voice', serif; white-space: nowrap; }
.sum .earn { margin-top: 14px; padding: 14px 16px; border-radius: 3px; background: var(--goldg); color: #2A1F08; } .sum .earn b { font: 300 30px/1.05 'Voice', serif; display: block; } .sum .earn small { font-size: 13px; display: block; margin-top: 4px; }
.grp { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--lined); } .grp:first-child { margin-top: 10px; } .gh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 300 21px/1.2 'Voice', serif; } .gh b { font-weight: 300; color: var(--gold2); }
.it { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; font-size: 15.5px; } .it b { font-weight: 400; font-variant-numeric: tabular-nums; } .grp .ln { border-bottom: 0; border-top: 1px dashed var(--lined); margin-top: 4px; padding-bottom: 0; } .grp .ln + .ln { margin-top: 0; }
.hint { font-size: 13.5px; color: var(--gold2); margin-top: 8px; } .sum .tot small { font-size: 13px; color: var(--mist); }
.warn { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--gold2); border-radius: 3px; font-size: 14.5px; color: var(--gold2); }
.sum .to { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--lined); font-size: 15px; overflow-wrap: anywhere; } .sum .to + .to { margin-top: 12px; }

/* forms */
.fld { display: grid; gap: 6px; margin-top: 14px; min-width: 0; } .fld > span { font: 400 9.5px 'Wide'; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.fld input, .fld select, .fld textarea, .inp input, .lad input { font: 400 15px 'Text', sans-serif; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 11px 12px; width: 100%; min-width: 0; }
.fld input:focus, .fld select:focus, .inp input:focus, .lad input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.fld input[readonly], .inp input:disabled, .lad input:disabled { background: var(--ice); color: var(--slate); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; } .f3 { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 0 16px; }
.err { color: var(--bad); font-size: 14.5px; margin-top: 14px; } .ink .err { color: #F0B5A8; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.acts { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* a deal: the rate list */
table.rates td, table.rates th { text-align: left; vertical-align: top; } table.rates td:nth-child(2) { white-space: nowrap; color: #3F5866; }
table.rates th:nth-child(1) { width: 40%; } table.rates th:nth-child(2) { width: 20%; }
table.rates tr:last-child td { border-bottom: 0; }
.src { display: block; font-size: 12.5px; color: var(--slate); margin-top: 3px; }
.inp { display: inline-flex; align-items: center; gap: 6px; } .inp i { font-style: normal; color: var(--slate); } .inp input { width: 120px; padding: 8px 10px; text-align: right; font-variant-numeric: tabular-nums; }
.own { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.chk { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: #3F5866; cursor: pointer; white-space: nowrap; } .chk input { width: 16px; height: 16px; accent-color: var(--ink); }
table.lad { width: auto; margin-bottom: 8px; } table.lad td, table.lad th { border: 0; padding: 3px 10px 3px 0; text-align: left; vertical-align: middle; } table.lad th { padding-bottom: 6px; white-space: normal; } table.lad input { width: 96px; padding: 8px 10px; text-align: right; }
.stdlad { line-height: 1.7; }

/* orders */
tr.rowb { cursor: pointer; } tr.rowb:hover td { background: rgba(238,243,245,.7); } tr.rowb.hi:hover td { background: rgba(233,213,166,.4); }
tr.det > td { background: var(--paper); padding: 16px 18px 18px; text-align: left; } tr.det table { font-size: 14.5px; } tr.det table td, tr.det table th { background: none; }
.dgrid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; }
.tt { font-size: 14.5px; font-variant-numeric: tabular-nums; } .tt div { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; } .tt .g { border-top: 1px solid var(--ink); margin-top: 6px; padding-top: 10px; font: 300 22px 'Voice', serif; }
.addr { font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }

/* who are you */
.whoscr { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: linear-gradient(180deg, #0C1B28 0%, var(--mid) 45%, var(--glac) 100%); color: #fff; }
.whoscr .ph { background: url('assets/lauter-r6-scene-gold.jpg') center/cover; position: relative; min-height: 100vh; } .whoscr .ph::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,34,49,.9) 0%, rgba(15,34,49,.15) 60%, rgba(15,34,49,0) 100%); }
.whoscr .tx { padding: 56px 64px; display: flex; flex-direction: column; justify-content: center; max-width: 720px; }
.whoscr .logo { width: 150px; } .whoscr h1 { font-size: 52px; margin-top: 30px; } .whoscr h1 em { color: var(--gold2); } .whoscr .sub { color: #C3D0D8; }
.whoscr .standin { margin-top: 22px; padding: 14px 16px; border: 1px solid rgba(233,213,166,.45); border-radius: 3px; color: var(--gold2); font-size: 14.5px; line-height: 1.5; }
.whoscr .pick { display: grid; gap: 10px; margin-top: 26px; }
.whoscr .pick button { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; text-align: left; padding: 16px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 4px; background: rgba(255,255,255,.04); transition: background .15s, border-color .15s; }
.whoscr .pick button:hover:not([disabled]) { background: rgba(255,255,255,.09); border-color: var(--gold2); } .whoscr .pick button[disabled] { opacity: .5; cursor: not-allowed; }
.whoscr .pick b { font: 300 23px/1.15 'Voice', serif; display: block; overflow-wrap: anywhere; } .whoscr .pick span.d { font-size: 13.5px; color: var(--mist); } .whoscr .pick .chip { color: var(--gold2); border-color: rgba(233,213,166,.5); }
.whoscr .pick .l { color: var(--gold2); margin-top: 14px; }

/* overlays */
.ov { position: fixed; inset: 0; background: rgba(8,19,28,.62); display: none; place-items: center; z-index: 20; padding: 20px; } .ov.on { display: grid; }
.modal { background: #fff; border-radius: 5px; width: 540px; max-width: 100%; max-height: calc(100vh - 40px); overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.4); } .modal .im { height: 150px; background: var(--mid) center/cover; } .modal .in { padding: 26px 28px 28px; } .modal .row { margin-top: 22px; }
.modal dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin-top: 16px; font-size: 15px; } .modal dd { text-align: right; font-variant-numeric: tabular-nums; } .modal dt { color: #3F5866; overflow-wrap: anywhere; }
.modal dt.big { color: var(--ink); align-self: end; } .modal dd.big { font: 300 26px 'Voice', serif; }
.modal .box { margin-top: 16px; padding: 12px 14px; border-radius: 3px; background: var(--ice); font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--mid); color: #fff; padding: 13px 22px; border-radius: 30px; font-size: 15px; opacity: 0; transition: all .3s; z-index: 30; pointer-events: none; border: 1px solid rgba(233,213,166,.4); max-width: calc(100vw - 40px); } .toast.on { opacity: 1; transform: translate(-50%, 0); }
.empty { text-align: center; padding: 60px 20px; } .empty h2 { margin-bottom: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* small additions */
.fin > div.one { grid-template-columns: 22px minmax(0, 1fr) auto; }
td.k small { font: 400 13px/1.4 'Text', sans-serif; }
.lk { color: inherit; text-decoration: none; border-bottom: 1px solid var(--gold); }
.qa:disabled { opacity: .4; cursor: not-allowed; }
.err { white-space: pre-line; }
.mut { color: var(--slate); font-size: 13.5px; }
td .acts .btn { white-space: nowrap; } td .acts { flex-wrap: nowrap; }
.price { flex-wrap: nowrap; }
.nw, td.d { white-space: nowrap; }
table.rates { table-layout: fixed; } table.rates th:nth-child(1) { width: 36%; } table.rates th:nth-child(2) { width: 24%; } table.rates td:nth-child(2) { white-space: normal; }
table.rates table.lad { table-layout: auto; } table.rates table.lad th { width: auto; }

@media (max-width: 1380px) {
  .prod { grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
  .fin > div { grid-template-columns: 22px minmax(0, 1fr) auto; } .fin .qa { grid-column: 2; grid-row: 2; justify-self: start; } .fin .step { grid-column: 3; grid-row: 1 / span 2; }
  .fin > div.one .step { grid-row: 1; }
  .sum .tot { flex-direction: column; align-items: stretch; gap: 8px; } .sum .tot b { text-align: right; }
  .page { padding: 30px 32px 56px; } .ribbon { padding: 8px 32px; } .top { padding: 16px 32px; }
}
@media (max-width: 1180px) { .g21 { grid-template-columns: 1fr; } .sum { position: static; } .whoscr { grid-template-columns: 1fr; } .whoscr .ph { display: none; } .dgrid { grid-template-columns: 1fr; } }
