@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Inter:wght@500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

/* =====================================================================
   BOX IT partner portal
   Colour: logo blue + locker orange on deep ink and mist; the partner
   gets one tenth of the top stripe and a monogram. Nothing else.
   Shape: one radius family (14 cards, 10 controls, full pills), an
   8-point spacing scale, numbers in Inter, words in Plex Arabic.
   ===================================================================== */
:root {
  color-scheme: light only;
  --blue: #2A47DB; --blue-deep: #1F37B5; --blue-wash: #EEF1FE;
  --orange: #EF7536; --orange-wash: #FEF1E9;
  --ink: #0F1B3D; --ink-2: #18264F; --ink-3: #26335E;
  --mist: #F1F4FB; --paper: #FFFFFF; --line: #E4E8F1; --line-2: #D3D9E7;
  --muted: #5C6685; --faint: #8A93AE;
  --green: #137A3A; --green-wash: #E8F5EE; --red: #B42318; --red-wash: #FDEDEB; --amber: #A4500B; --amber-wash: #FEF3E4;
  --r-card: 14px; --r-ctl: 10px; --r-sm: 6px;
  --ar: 'IBM Plex Sans Arabic', system-ui, sans-serif; --lat: 'Inter', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--ar); color: var(--ink); background: var(--mist); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(42, 71, 219, .35); outline-offset: 2px; border-radius: var(--r-sm); }
.num, .lat { font-family: var(--lat); font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- identity marks ---------- */
.stripe { position: fixed; top: 0; inset-inline: 0; height: 4px; display: flex; z-index: 50; direction: ltr; }
.stripe i:nth-child(1) { flex: 70; background: var(--blue); }
.stripe i:nth-child(2) { flex: 20; background: var(--orange); }
.stripe i:nth-child(3) { flex: 10; background: var(--pc, #C9A961); }
.lockup { display: flex; align-items: center; gap: 10px; direction: ltr; }
.lockup svg { width: 32px; height: 32px; flex: none; }
.lockup b { font: 900 21px/1 var(--lat); letter-spacing: -.03em; color: #fff; }
.lockup b i { font-style: normal; color: var(--orange); }
.lockup.dark b { color: var(--blue); }
.mono-mark { display: inline-grid; place-items: center; flex: none; border-radius: 8px; font-family: var(--lat); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.logo-mark { background: #fff; border: 1px solid var(--line); } .logo-mark svg { width: 22px; height: 22px; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--ink); color: #C9D0E6; padding: 30px 16px 20px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 2px; }
.side .lockup { padding: 0 10px; }
.side small.tag { display: block; color: #7F8AB0; font-size: 12.5px; padding: 6px 10px 20px; }
.partner-chip { display: flex; align-items: center; gap: 10px; margin: 0 2px 22px; padding: 10px 12px; background: var(--ink-2); border-radius: 12px; }
.partner-chip b { display: block; color: #fff; font-size: 14px; line-height: 1.35; }
.partner-chip span { font-size: 12px; color: #7F8AB0; }
.nav { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: var(--r-ctl); color: #C9D0E6; text-decoration: none; font-weight: 500; position: relative; }
.nav:hover { background: var(--ink-2); color: #fff; text-decoration: none; }
.nav svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav.on { background: var(--ink-2); color: #fff; font-weight: 600; }
.nav.on::before { content: ''; position: absolute; inset-inline-start: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--orange); }
.nav kbd { margin-inline-start: auto; font: 600 11px var(--lat); color: #7F8AB0; border: 1px solid var(--ink-3); border-radius: 5px; padding: 1px 6px; }
.side .foot { margin-top: auto; border-top: 1px solid var(--ink-3); padding: 16px 10px 0; font-size: 13px; color: #9AA5C9; }
.side .foot b { color: #fff; display: block; font-size: 14.5px; font-weight: 600; }
.side .foot button { background: none; border: 0; color: #9AA5C9; padding: 6px 0 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.main { min-width: 0; padding: 36px 40px 72px; max-width: 1360px; width: 100%; }
.top { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.ttl h1 { font-size: 26px; line-height: 1.25; font-weight: 700; margin: 0; }
.ttl p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.top .grow { flex: 1; }
.search { position: relative; width: min(320px, 100%); }
.search input { width: 100%; height: 42px; padding: 0 40px 0 14px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: var(--paper); font-size: 14px; }
.search svg { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: var(--faint); fill: none; stroke-width: 2; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: 14.5px; cursor: pointer; text-decoration: none; color: var(--ink); white-space: nowrap; transition: background .12s, border-color .12s; }
.btn:hover { border-color: #B9C3DB; text-decoration: none; }
.btn.pri { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.pri:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn.org { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn.org:hover { background: #E4672A; }
.btn.ghost { background: transparent; }
.btn.dan { color: var(--red); }
.btn.lg { height: 50px; font-size: 16px; padding: 0 24px; }
.btn:disabled { opacity: .5; cursor: default; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn kbd, .hint kbd { font: 600 11.5px var(--lat); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; background: #fff; color: var(--muted); }
.field { display: grid; gap: 7px; }
.field > span { font-weight: 600; font-size: 13.5px; }
.field input, .field select { width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: var(--paper); font-size: 16px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42, 71, 219, .15); }
.field input.ltr { direction: ltr; text-align: right; font-family: var(--mono); }
.field input.ltr::placeholder { font-family: var(--ar); letter-spacing: 0; }
.field .hint, .hint { font-size: 12.5px; color: var(--muted); }
.err { color: var(--red); font-size: 14px; min-height: 20px; }
.linkbtn { background: none; border: 0; padding: 8px 0; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- surfaces ---------- */
.panel, .tablewrap, .availcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); }
.panel { padding: 22px 24px; }
.panel h2, .sechead h2 { font-size: 15px; font-weight: 600; margin: 0 0 16px; }
.sechead { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.sechead h2 { margin: 0; }
.tablewrap { overflow: hidden; margin-top: 16px; }

/* ---------- pills: one height, full radius, a dot for status ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; line-height: 1; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-reserved { background: var(--blue-wash); color: var(--blue); }
.s-in_locker { background: var(--orange-wash); color: #B4501A; }
.s-pay { background: var(--amber-wash); color: var(--amber); }
.s-picked_up { background: var(--green-wash); color: var(--green); }
.s-expired { background: var(--red-wash); color: var(--red); }
.s-returned, .s-cancelled, .s-drop_expired { background: #EEF0F5; color: var(--muted); }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--mist); color: var(--muted); font: 600 11.5px var(--lat); }

/* ---------- dashboard ---------- */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 20px; color: inherit; text-decoration: none; transition: border-color .12s; }
.kpi:hover { border-color: var(--line-2); text-decoration: none; }
.kpi b { display: block; font: 700 30px/1.15 var(--lat); letter-spacing: -.02em; color: var(--ink); }
.kpi span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; margin-top: 6px; }
.kpi span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.kpi.blue span::before { background: var(--blue); } .kpi.org span::before { background: var(--orange); } .kpi.amb span::before { background: var(--amber); }
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.dash { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.quad { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quad > div { background: var(--mist); border-radius: var(--r-ctl); padding: 12px 14px; }
.quad b { display: block; font: 700 24px/1.2 var(--lat); letter-spacing: -.02em; }
.quad span { color: var(--muted); font-size: 12.5px; }
.quad.two { margin-top: 12px; }
.quad.two b { font-size: 18px; }
.money b { display: block; font: 700 30px/1.15 var(--lat); letter-spacing: -.02em; }
.money span { color: var(--muted); font-size: 13px; }
.spark { margin-top: 14px; display: grid; gap: 8px; font-size: 12.5px; }
.bars { width: 100%; height: 82px; }
.attn-grid { display: grid; gap: 18px; }
.attn h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.attn h3 .num { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--mist); color: var(--muted); font-size: 11.5px; }
.attn ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.attn li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 14px; border-radius: var(--r-ctl); background: var(--mist); cursor: pointer; }
.attn li:hover { background: var(--blue-wash); }
.attn li em { grid-column: 1 / -1; font-style: normal; color: var(--muted); font-size: 13px; }
.attn li .mono { font-size: 12.5px; color: var(--muted); }
.attn p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- tables ---------- */
.tabs { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; height: 50px; background: none; border: 0; padding: 0 12px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--blue); }
.tabs button .n { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--mist); color: var(--muted); font: 600 11.5px var(--lat); }
.tabs button.on .n { background: var(--blue-wash); color: var(--blue); }
table.t { width: 100%; border-collapse: collapse; }
.t th { text-align: start; font-weight: 500; font-size: 12.5px; color: var(--muted); padding: 12px 18px; border-bottom: 1px solid var(--line); background: #FAFBFD; }
.t td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14.5px; }
.t tbody tr:last-child td { border-bottom: 0; }
.t tbody tr { cursor: pointer; }
.t tbody tr:hover { background: #F7F9FE; }
.t tbody tr.sel { background: var(--blue-wash); }
.t td.ltr { direction: ltr; text-align: right; }
.t td .muted { font-size: 13px; }
.t input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--blue); }
.panel .t th, .panel .t td { padding-inline: 4px; }
.panel .t th { background: none; }
.tablebar { display: flex; gap: 10px; align-items: center; padding: 10px 18px; background: var(--blue-wash); border-bottom: 1px solid var(--line); }
.tablebar b { margin-inline-end: auto; font-size: 14px; }
.empty { padding: 56px 20px; text-align: center; color: var(--muted); }
.empty .btn { margin-top: 16px; }

/* ---------- new shipment ---------- */
.compose { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.compose form { display: grid; gap: 22px; padding: 28px; }
.compose > aside { display: grid; gap: 16px; position: sticky; top: 28px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sizes button { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 12px; text-align: start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; transition: border-color .12s, background .12s; }
.sizes button:hover { border-color: #B9C3DB; }
.sizes button .door { grid-row: span 2; width: 24px; border-radius: 5px; background: var(--line-2); position: relative; }
.sizes button .door::after { content: ''; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); }
.sizes button[data-s=S] .door { height: 20px; } .sizes button[data-s=M] .door { height: 28px; } .sizes button[data-s=L] .door { height: 40px; }
.sizes button b { font-size: 15px; font-weight: 600; }
.sizes button b .lat { font-weight: 700; }
.sizes button small { color: var(--muted); font-size: 12px; }
.sizes button.on { border-color: var(--blue); background: var(--blue-wash); box-shadow: inset 0 0 0 1px var(--blue); }
.sizes button.on .door { background: var(--blue); }
.codrow { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; }
.codrow b { font-weight: 600; }
.codrow .muted { font-size: 12.5px !important; }
.switch { position: relative; width: 44px; height: 26px; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line-2); transition: background .15s; }
.switch span::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 27, 61, .2); transition: transform .15s; }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(-18px); }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding-top: 4px; }

/* free cells per size, the only locker figure partners see */
.availcard { padding: 20px; }
.availcard header { display: grid; gap: 2px; }
.availcard header b { font-size: 16px; font-weight: 600; }
.availcard header span { font-size: 13px; color: var(--muted); }
.avs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 12px; }
.av { background: var(--mist); border-radius: var(--r-ctl); padding: 12px; text-align: center; transition: opacity .15s; }
.av b { display: block; font: 700 26px/1.15 var(--lat); }
.av span { font-size: 12.5px; color: var(--muted); }
.av.on { background: var(--blue-wash); box-shadow: inset 0 0 0 1.5px var(--blue); }
.av.on b { color: var(--blue); }
.av.dim { opacity: .45; }
.avnote { margin: 0; font-size: 13px; color: var(--muted); }
.avnote.bad { color: var(--red); }
.avnote b { color: var(--orange); font-size: 15px; }
.maplink { font-size: 13.5px; }
.lockers { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.lockers .availcard.off { opacity: .6; }

/* label preview */
.ticket { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.ticket .strip { height: 4px; display: flex; background: linear-gradient(90deg, var(--blue) 0 70%, var(--orange) 70%); }
.ticket .body { padding: 18px 20px; display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; }
.ticket .qr { width: 104px; height: 104px; border-radius: var(--r-ctl); background: var(--mist); display: grid; place-items: center; color: var(--faint); font-size: 11.5px; text-align: center; padding: 8px; }
.ticket .qr img { width: 104px; height: 104px; display: block; }
.ticket .code { font: 700 28px/1.1 var(--mono); letter-spacing: .12em; direction: ltr; text-align: right; color: var(--blue); }
.ticket .code.ghost { color: var(--line-2); }
.ticket dl { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: 13px; }
.ticket dt { color: var(--muted); } .ticket dd { margin: 0; font-weight: 600; }

/* ---------- drawer + courier drop-off card ---------- */
.scrim { position: fixed; inset: 0; background: rgba(15, 27, 61, .32); z-index: 40; display: flex; justify-content: flex-start; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.drawer { width: min(540px, 100%); height: 100%; background: var(--paper); overflow-y: auto; box-shadow: -24px 0 48px rgba(15, 27, 61, .16); animation: slide .2s ease-out; }
@keyframes slide { from { transform: translateX(32px); opacity: .5; } }
.drawer > header { position: sticky; top: 0; background: var(--paper); padding: 18px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; z-index: 1; }
.drawer > header h2 { margin: 0; font-size: 18px; font-weight: 700; flex: 1; }
.drawer .x { width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; border-radius: var(--r-ctl); font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted); }
.drawer .x:hover { background: var(--mist); }
.drawer .in { padding: 24px; display: grid; gap: 18px; }
.success { display: flex; gap: 10px; align-items: center; background: var(--green-wash); color: var(--green); border-radius: var(--r-ctl); padding: 12px 16px; font-weight: 600; font-size: 14px; }
.dropcard { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.dropcard > header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; background: var(--ink); color: #fff; }
.dropcard > header b { display: block; font-size: 15px; font-weight: 600; }
.dropcard > header span:not(.pill) { font-size: 12.5px; color: #AEB8D8; }
.dc-main { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; padding: 22px 20px; border-bottom: 1px dashed var(--line-2); }
.dc-main img { width: 160px; height: 160px; display: block; border-radius: var(--r-ctl); border: 1px solid var(--line); padding: 6px; background: #fff; }
.dc-code span { color: var(--muted); font-size: 13px; display: block; }
.dc-code b { display: block; font: 700 42px/1.05 var(--mono); letter-spacing: .1em; color: var(--blue); direction: ltr; text-align: right; margin: 8px 0; }
.dc-code small { color: var(--muted); font-size: 12.5px; }
.dc-grid { display: grid; grid-template-columns: 1fr 1fr; }
.dc-grid > div { padding: 14px 20px; border-bottom: 1px solid var(--line); }
.dc-grid > div:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.dc-grid span { display: block; color: var(--muted); font-size: 12.5px; }
.dc-grid b { display: block; font-size: 15.5px; font-weight: 600; margin: 2px 0; }
.dc-grid b.lat { font: 700 22px/1.25 var(--lat); color: var(--orange); }
.dc-grid small { color: var(--muted); font-size: 12.5px; display: block; }
.dc-steps { margin: 0; padding: 16px 20px; padding-inline-start: 40px; display: grid; gap: 6px; font-size: 14px; border-bottom: 1px solid var(--line); }
.dc-steps li::marker { font: 700 14px var(--lat); color: var(--blue); }
.dc-actions { display: flex; gap: 10px; padding: 16px 20px; flex-wrap: wrap; }
.dc-actions .btn { flex: 1; }
.codecard { border: 1px solid var(--blue); border-radius: var(--r-card); padding: 18px; display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; }
.codecard img { width: 140px; height: 140px; display: block; }
.codecard .code { font: 700 36px/1.1 var(--mono); letter-spacing: .12em; color: var(--blue); direction: ltr; text-align: right; margin: 6px 0; }
.codecard p { margin: 0; color: var(--muted); font-size: 13px; }
.codecard.ret { border-color: var(--orange); background: #FFFBF8; } .codecard.ret .code { color: #B4501A; }
.facts { display: grid; grid-template-columns: 136px 1fr; gap: 10px 16px; margin: 0; font-size: 14.5px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 600; }
.timeline { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 18px 14px; }
.timeline li::before { content: ''; position: absolute; inset-inline-start: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue); }
.timeline li:first-child::before { background: var(--blue); }
.timeline time { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------- sign-in: ink story panel + white form ---------- */
.signin { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; }
.signin .brand { background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.signin .pitch { position: relative; z-index: 1; margin-bottom: 180px; }
.signin .pitch h1 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.2; font-weight: 700; margin: 0 0 14px; max-width: 14ch; }
.signin .pitch p { color: #AEB8D8; max-width: 40ch; margin: 0; font-size: 16px; }
.signin .bigwall { position: absolute; inset-inline-start: -40px; bottom: -30px; width: 360px; opacity: .9; direction: ltr; display: grid; grid-template-columns: 34px 1fr 1fr; gap: 10px; }
.signin .bigwall .spine { background: var(--blue); border-radius: 14px; }
.signin .bigwall .c { display: grid; gap: 10px; }
.signin .bigwall .c i { display: block; border-radius: 12px; background: #24325F; position: relative; }
.signin .bigwall .c i::after { content: ''; position: absolute; right: 14px; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: #fff; opacity: .6; }
.signin .bigwall .c i.b { background: var(--blue); } .signin .bigwall .c i.o { background: var(--orange); }
.signin .form { display: grid; place-items: center; padding: 40px 24px; }
.signin .form > div { width: min(380px, 100%); display: grid; gap: 22px; }
.signin .fhead h2 { font-size: 26px; margin: 0 0 6px; }
.signin .fhead p { margin: 0; font-size: 14.5px; }
.signin .lform { display: grid; gap: 14px; }
.signin .sent { margin: 0; font-size: 14px; }
.demo { background: #FFF7E8; border: 1px dashed #C9A961; border-radius: var(--r-ctl); padding: 12px 14px; font-size: 14px; }
.demo b { font-family: var(--mono); font-size: 16px; }

#toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 12px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; opacity: 0; transition: .2s; pointer-events: none; z-index: 60; font-size: 14.5px; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1200px) { .kpis { grid-template-columns: repeat(3, 1fr); } .tri { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1024px) { .compose, .dash, .tri { grid-template-columns: 1fr; } .compose > aside { position: static; } }
@media (max-width: 900px) { .signin { grid-template-columns: 1fr; } .signin .brand { min-height: 240px; } .signin .pitch { margin-bottom: 0; } .signin .bigwall { display: none; } }
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; } .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 16px; } .side .foot, .side small.tag, .partner-chip { display: none; }
  .main { padding: 24px 16px 60px; } .kpis { grid-template-columns: 1fr 1fr; } .row2 { grid-template-columns: 1fr; } .dc-main, .dc-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .side, .top, .stripe { display: none; } }

/* ---------- language ---------- */
.langbtn { height: 42px; padding: 0 14px; font-size: 14px; }
.signin .form { position: relative; }
.signin .form > .langbtn { position: absolute; top: 24px; inset-inline-end: 24px; }
html[lang=en] body { font-family: var(--lat); }
html[lang=en] .ttl h1, html[lang=en] .signin .pitch h1 { letter-spacing: -.02em; }
[dir=ltr] .field input.ltr { text-align: left; }
[dir=ltr] .switch input:checked + span::after { transform: translateX(18px); }
[dir=ltr] .scrim { justify-content: flex-end; }
[dir=ltr] .drawer { box-shadow: 24px 0 48px rgba(15, 27, 61, .16); }
[dir=ltr] .t td.ltr, [dir=ltr] .ticket .code, [dir=ltr] .dc-code b, [dir=ltr] .codecard .code { text-align: left; }
[dir=ltr] .signin .bigwall { inset-inline-start: auto; inset-inline-end: -40px; }
html[lang=en] .signin .pitch h1 { max-width: 16ch; font-size: clamp(28px, 3vw, 42px); }
.search input { padding: 0; padding-inline-start: 40px; padding-inline-end: 14px; }

/* line of the day on the sign-in screen: the text keeps its own column, the locker drawing stays beside it */
.signin .daytag { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: rgba(242, 107, 33, .16); color: #F7A46F; font-size: 13px; font-weight: 700; }
.signin .pitch { margin-bottom: 0; padding-inline-end: 300px; }
.signin .pitch h1.daily { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.5; max-width: 22ch; margin-bottom: 18px; }
.signin .pitch p { font-size: 14.5px; line-height: 1.75; max-width: 34ch; }
.signin .bigwall { width: 260px; inset-inline-start: 0; bottom: -40px; opacity: .55; }
html[lang=en] .signin .pitch h1.daily { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.35; max-width: 24ch; }
[dir=ltr] .signin .bigwall { inset-inline-start: auto; inset-inline-end: 0; }
@media (max-width: 1280px) { .signin .pitch { padding-inline-end: 0; } .signin .bigwall { display: none; } }
