@font-face {
  font-family: Montserrat;
  src: url('/suntruck/assets/Montserrat-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url('/suntruck/assets/Montserrat-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --orange: #ff7900;
  --orange-dark: #cf5c00;
  --orange-soft: #fff3e7;
  --navy: #203e4c;
  --ink: #203e4c;
  --muted: #6f8089;
  --line: #e2e9ed;
  --canvas: #f5f8fa;
  --white: #fff;
  --green: #187b54;
  --red: #b93640;
  --blue: #236d9b;
  --radius: 18px;
  --shadow: 0 8px 32px rgb(32 62 76 / 4%);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; scroll-behavior: smooth; }
body.sg-app {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 13px/1.65 Montserrat, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--orange-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #ffad64;
  outline-offset: 3px;
}
button:disabled, input:disabled, select:disabled, textarea:disabled {
  cursor: not-allowed;
  opacity: .55;
}
input:disabled, select:disabled, textarea:disabled { background: #f0f3f5; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
h1 { margin-bottom: 11px; font-size: clamp(26px, 3vw, 36px); }
h2 { margin-bottom: 9px; font-size: 21px; }
h3 { margin-bottom: 8px; font-size: 16px; }
h4 { margin-bottom: 7px; font-size: 14px; }
p { margin-bottom: 14px; }
small { font-size: 11px; }
img, svg { max-width: 100%; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner {
  width: min(1420px, calc(100% - 80px));
  min-height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand-logo { display: block; width: 180px; height: auto; flex: 0 0 auto; }
.programme {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: .055em;
}
.programme strong { display: block; color: var(--navy); font-size: 15px; letter-spacing: .03em; }
.account { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 11px; }
.account strong { display: block; color: var(--navy); font-size: 12px; }
.avatar {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; background: #edf2f5; color: var(--navy); font-weight: 700;
}
.shell { width: min(1420px, calc(100% - 80px)); margin: 0 auto; }
.nav-tabs { display: flex; flex-wrap: wrap; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 59px; padding: 0 2px; border: 0; background: none;
  color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 700;
}
.nav-link:hover { color: var(--navy); }
.nav-link.active { color: var(--orange-dark); }
.nav-link.active::after { content: ''; position: absolute; bottom: -1px; height: 3px; left: 0; right: 0; background: var(--orange); border-radius: 3px 3px 0 0; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.eyebrow { margin-bottom: 9px; color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.lead { max-width: 760px; margin-bottom: 0; color: var(--muted); line-height: 1.8; }
.heading-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.workspace { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 26px; }
.sidebar { position: sticky; top: 24px; }
.step-nav { padding: 9px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.step-button {
  display: flex; align-items: center; gap: 11px; width: 100%; min-height: 57px;
  margin: 3px 0; padding: 11px; border: 0; border-radius: 11px;
  background: transparent; text-align: left; color: var(--muted); font-size: 12px; font-weight: 700;
}
.step-button:hover { background: #f5f8fa; color: var(--navy); }
.step-num { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--muted); font-size: 11px; }
.step-button.active { background: var(--orange-soft); color: var(--orange-dark); }
.step-button.active .step-num { border-color: var(--orange); background: var(--orange); color: white; }
.step-button.complete .step-num { color: var(--green); background: #eaf7f0; border-color: #c5e7d4; }
.rate-list { display: grid; gap: 0; margin: 20px 0 0; padding: 18px 19px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; }
.rate-list > * { margin: 0; padding: 10px 0; border-bottom: 1px solid #edf1f4; }
.rate-list > *:last-child { border-bottom: 0; }
.rate-list h3 { padding-top: 0; font-size: 12px; }
.rate-list p, .rate-list div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 11px; }
.rate-list strong { color: var(--orange-dark); font-size: 13px; }
.policy-note { margin: 15px 3px; color: var(--muted); font-size: 10px; line-height: 1.9; }
.policy-note strong { color: var(--navy); }
.panel { overflow: hidden; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel + .panel { margin-top: 22px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 25px 28px 20px; border-bottom: 1px solid var(--line); }
.panel-header h2, .panel-header h3 { margin-bottom: 4px; }
.panel-header p { margin-bottom: 0; color: var(--muted); font-size: 11px; }
.panel-body { padding: 27px 28px; }
.panel-body > :last-child { margin-bottom: 0; }
.panel-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 20px 28px; border-top: 1px solid var(--line); background: #fcfdfe; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 20px; }
.field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-grid.full { grid-template-columns: 1fr; }
.field { min-width: 0; }
.field.full, .field-grid > .full { grid-column: 1 / -1; }
.field label, .field > .label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 11px; font-weight: 700; }
.required { color: var(--orange-dark); }
input:not([type='checkbox']):not([type='radio']):not([type='file']), select, textarea {
  width: 100%; min-width: 0; min-height: 45px; padding: 11px 13px;
  border: 1px solid #d7e1e7; border-radius: 8px; background: var(--white); color: var(--navy);
  font-size: 12px; line-height: 1.6; transition: border-color .15s, box-shadow .15s;
}
select { padding-right: 32px; }
textarea { min-height: 98px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #97a4ac; opacity: 1; }
input:hover:not(:disabled), select:hover:not(:disabled), textarea:hover:not(:disabled) { border-color: #aebec8; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgb(255 121 0 / 9%); outline: 0; }
input[readonly] { background: #f6f8fa; }
input[type='checkbox'], input[type='radio'] { width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--orange); margin: 2px 0 0; }
.hint { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.field-error, .error-text { margin-top: 6px; color: var(--red); font-size: 10px; }
[aria-invalid='true'] { border-color: var(--red) !important; }
.success-text { color: var(--green); }
.device-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.device-card + .device-card { margin-top: 16px; }
.device-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 15px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.device-header h3 { margin: 0; font-size: 14px; }
.device-header > div { display: flex; align-items: center; gap: 12px; }
.device-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.device-amount { padding: 6px 10px; border-radius: 6px; background: var(--orange-soft); color: var(--orange-dark); white-space: nowrap; font-size: 12px; font-weight: 700; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 43px; padding: 11px 19px; border: 1px solid transparent; border-radius: 8px;
  background: var(--navy); color: white; font-size: 11px; font-weight: 700; line-height: 1.5;
  text-decoration: none; text-align: center; transition: background .15s, border-color .15s, transform .15s;
}
.button:hover:not(:disabled) { background: #2d5263; color: white; transform: translateY(-1px); }
.button.primary { background: var(--orange); color: white; }
.button.primary:hover:not(:disabled) { background: #e66d00; }
.button.secondary { background: white; border-color: #d5e0e6; color: var(--navy); }
.button.secondary:hover:not(:disabled) { border-color: var(--navy); background: #f5f8fa; color: var(--navy); }
.button.ghost { background: transparent; color: var(--navy); }
.button.ghost:hover:not(:disabled) { background: #edf3f6; color: var(--navy); }
.button.danger { color: var(--red); background: #fff0f1; border-color: #f1cdd1; }
.button.danger:hover:not(:disabled) { background: #ffe2e5; color: var(--red); }
.button.small { min-height: 33px; padding: 7px 11px; font-size: 10px; border-radius: 6px; }
.button-row, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.actions { justify-content: flex-end; }
.notice { display: flex; gap: 10px; padding: 13px 16px; margin-bottom: 20px; border: 1px solid #d8e6ee; border-radius: 10px; background: #f1f7fb; color: #315b72; font-size: 11px; line-height: 1.8; }
.notice p:last-child { margin-bottom: 0; }
.notice.error { border-color: #f1cdd1; background: #fff1f2; color: #a52b38; }
.notice.success { border-color: #cde7d8; background: #eff9f3; color: #1c724d; }
.notice.warning { border-color: #f1ddb3; background: #fff8e9; color: #866321; }
.notice.info { border-color: #d7e6ef; background: #f1f7fb; color: #315b72; }
.empty-state { display: grid; place-items: center; padding: 56px 25px; color: var(--muted); text-align: center; }
.empty-state h3 { margin: 12px 0 6px; color: var(--navy); }
.empty-state p { max-width: 420px; font-size: 12px; }
.empty-state .button { margin-top: 6px; }
.loading { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 38px; color: var(--muted); font-size: 12px; }
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid #e2e9ed; border-top-color: var(--orange); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; z-index: 100; right: 26px; bottom: 26px; width: min(440px, calc(100% - 40px)); padding: 17px 20px; background: var(--navy); color: white; border-radius: 12px; box-shadow: 0 12px 42px rgb(32 62 76 / 20%); font-size: 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-bottom: 25px; }
.stat-card { min-width: 0; padding: 20px 22px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.stat-label { margin: 0; color: var(--muted); font-size: 10px; }
.stat-value { display: block; margin: 8px 0 1px; color: var(--navy); font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.045em; line-height: 1.4; overflow-wrap: anywhere; }
.stat-card small { color: var(--muted); font-size: 10px; }
.stat-card:first-child .stat-value { color: var(--orange-dark); }
.budget-progress { height: 5px; overflow: hidden; margin-top: 14px; border-radius: 5px; background: #edf1f4; }
.budget-progress > span, .budget-progress > div { display: block; height: 100%; background: var(--orange); border-radius: inherit; }
.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 19px; }
.filter-bar select { width: auto; min-width: 150px; min-height: 41px; font-size: 11px; }
.filter-bar .search-input { flex: 1; width: auto; min-width: 200px; min-height: 41px; }
.table-wrap { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
th { padding: 13px 15px; border-bottom: 1px solid var(--line); background: #f7f9fb; color: var(--muted); font-weight: 700; white-space: nowrap; font-size: 10px; }
td { padding: 15px; border-bottom: 1px solid #edf1f4; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--navy); }
td small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
td .button { white-space: nowrap; }
.claim-row { cursor: pointer; transition: background .12s; }
.claim-row:hover, .claim-row.active, .claim-row.selected { background: #fff8f0; }
.status { display: inline-flex; align-items: center; gap: 5px; width: fit-content; max-width: 100%; padding: 4px 8px; border: 1px solid #e0e6ea; border-radius: 5px; background: #f1f4f6; color: #6c7e89; font-size: 9px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.status.draft { color: #6e7a82; background: #f2f4f6; border-color: #e0e5e9; }
.status.new { color: #a55a17; background: #fff3e6; border-color: #f8dbb9; }
.status.info { color: #416f9b; background: #eff6ff; border-color: #d2e1f5; }
.status.await_payout { color: #945d13; background: #fff7e2; border-color: #eed9a1; }
.status.check_payout { color: #6c5ba3; background: #f5f1ff; border-color: #ddd3f3; }
.status.ready_reconcile { color: #287966; background: #edf9f4; border-color: #c9e7dd; }
.status.in_batch { color: #27749a; background: #edf8fc; border-color: #c9e6ef; }
.status.settled, .status.recovered { color: #21724c; background: #edf8f0; border-color: #cbe5d4; }
.status.rejected { color: #b43b47; background: #fff0f2; border-color: #f0cdd2; }
.status.cancelled { color: #707d85; background: #f1f3f5; border-color: #dfe4e8; }
.status.recovery { color: #ad5728; background: #fff3eb; border-color: #f0d4bf; }
.split-layout { display: grid; grid-template-columns: minmax(290px, .86fr) minmax(0, 1.6fr); gap: 22px; align-items: start; }
.queue-panel, .detail-panel { min-width: 0; }
.queue-panel .panel-body { padding: 18px; }
.queue-panel .claim-row { padding: 16px 13px; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 9px; }
.queue-panel .claim-row:last-child { margin-bottom: 0; }
.queue-panel .claim-row.active { border-color: #ffbe86; box-shadow: inset 3px 0 0 var(--orange); }
.queue-panel .claim-row h3 { font-size: 12px; margin-bottom: 4px; }
.queue-panel .claim-row p { font-size: 10px; margin: 4px 0; }
.queue-panel .claim-row .status { margin-top: 7px; }
.detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
.detail-heading h2 { font-size: 20px; margin: 0 0 5px; }
.detail-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 22px; }
.meta-item { min-width: 0; overflow-wrap: anywhere; }
.meta-item > span, .meta-item > dt, .meta-item > label { display: block; margin-bottom: 4px; font-size: 10px; color: var(--muted); }
.meta-item > strong, .meta-item > dd { display: block; margin: 0; font-size: 12px; color: var(--navy); font-weight: 700; }
.section-title { margin: 26px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .015em; }
.section-title:first-child { margin-top: 0; }
.document-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.document-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfd; color: var(--navy); text-decoration: none; font-size: 11px; overflow-wrap: anywhere; }
.document-link:hover { border-color: #ffbe86; color: var(--orange-dark); background: #fff9f3; }
.document-link small { color: var(--muted); white-space: nowrap; }
.upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.upload-box { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 23px 17px; border: 1px dashed #c6d4de; border-radius: 10px; background: #fafcfd; color: var(--muted); text-align: center; font-size: 10px; }
.upload-box label { margin: 0; color: var(--navy); font-size: 11px; font-weight: 700; }
.upload-box:focus-within, .upload-box:hover { background: #fff9f3; border-color: var(--orange); }
.file-control, input[type='file'] { display: block; width: 100%; max-width: 100%; color: var(--muted); font-size: 10px; }
input[type='file']::file-selector-button { padding: 8px 11px; margin-right: 9px; border: 1px solid #d3dfe6; border-radius: 6px; background: white; color: var(--navy); font: 700 10px Montserrat, Arial, sans-serif; cursor: pointer; }
.file-item { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 9px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; font-size: 10px; overflow-wrap: anywhere; text-align: left; }
.file-item img { width: 48px; height: 42px; object-fit: cover; border-radius: 4px; }
.check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; }
.check-row label { cursor: pointer; }
.check-row small { display: block; color: var(--muted); }
.amount-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 20px; border: 1px solid #ffdfc0; border-radius: 10px; background: var(--orange-soft); font-size: 12px; }
.amount-summary strong { color: var(--orange-dark); font-size: 23px; font-weight: 700; letter-spacing: -.025em; }
.history-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.history-item { position: relative; padding: 0 0 18px 21px; border-left: 1px solid var(--line); margin-left: 4px; font-size: 11px; }
.history-item::before { content: ''; position: absolute; left: -4px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #b6c6d0; box-shadow: 0 0 0 3px white; }
.history-item:first-child::before { background: var(--orange); }
.history-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.history-item p { margin: 3px 0 0; font-size: 10px; color: var(--muted); }
.history-item time { display: block; color: var(--muted); font-size: 9px; }
.tabs-secondary { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 21px; padding: 5px; width: fit-content; max-width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #eef3f6; }
.tab-button { padding: 8px 14px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; }
.tab-button:hover { color: var(--navy); }
.tab-button.active { color: var(--navy); background: white; box-shadow: 0 1px 5px rgb(32 62 76 / 8%); }
.form-section + .form-section { padding-top: 24px; margin-top: 25px; border-top: 1px solid var(--line); }
.divider { height: 1px; margin: 25px 0; border: 0; background: var(--line); }
.check-card { display: flex; align-items: flex-start; gap: 11px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; font-size: 11px; line-height: 1.85; }
.check-card label { cursor: pointer; }
.batch-card { margin-bottom: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.batch-card h3 { font-size: 14px; margin-bottom: 7px; }
.batch-card > p { color: var(--muted); font-size: 11px; }
.batch-card .button-row { margin-top: 15px; }
.registry-help { padding: 16px 19px; border: 1px solid #dae6ed; border-radius: 10px; background: #f4f8fb; font-size: 11px; color: var(--muted); }
.registry-help code, .import-preview code { padding: 2px 5px; border-radius: 3px; background: #e9eff3; color: var(--navy); font-size: 10px; }
.registry-help p:last-child { margin-bottom: 0; }
.import-preview { margin-top: 20px; overflow: auto; max-height: 420px; border: 1px solid var(--line); border-radius: 9px; }
.import-preview th { position: sticky; z-index: 1; top: 0; }
.modal-backdrop { position: fixed; z-index: 80; inset: 0; display: flex; align-items: center; justify-content: center; overflow-y: auto; padding: 30px 20px; background: rgb(17 38 50 / 48%); backdrop-filter: blur(3px); }
.modal { display: flex; flex-direction: column; width: min(640px, 100%); max-height: calc(100dvh - 60px); overflow: hidden; border: 1px solid rgb(255 255 255 / 60%); border-radius: 17px; background: white; box-shadow: 0 24px 90px rgb(14 35 47 / 25%); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 23px 26px 19px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0; font-size: 19px; }
.modal-header p { color: var(--muted); font-size: 11px; margin: 5px 0 0; }
.modal-body { overflow-y: auto; overscroll-behavior: contain; padding: 24px 26px; }
.modal-footer { flex-shrink: 0; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 18px 26px; border-top: 1px solid var(--line); background: #fcfdfe; }
.icon-button { display: inline-grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; padding: 0; border: 1px solid transparent; border-radius: 7px; background: #f0f4f6; color: var(--navy); font-size: 18px; line-height: 1; }
.icon-button:hover { background: #e4ebef; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 30px 0 25px; margin-top: 22px; color: #8a98a2; font-size: 9px; }
.site-footer p { margin: 0; }
.shell { padding-top: 22px; }
.auth-workspace { grid-template-columns: minmax(0, 1fr) 320px; }
.programme small { display: block; font-size: 9px; }
.programme strong span { color: var(--orange); }
.nav-tabs > .button { margin-left: auto; align-self: center; }
.rate-list dt { font-weight: 700; }
.rate-list dd { margin: 0; color: var(--orange-dark); font-weight: 700; white-space: nowrap; }
.sidebar > .panel { margin-top: 18px; }
.auth-workspace .sidebar > .panel { margin-top: 0; }
.amount-summary small, .file-item small, .account small { display: block; }
.file-item > div { flex: 1; min-width: 0; }
.file-item > .file-control { flex: 0 0 auto; width: auto; }
.file-item .document-link { display: block; padding: 0; border: 0; background: transparent; }
.file-item > span { flex: 0 0 18px; }
.upload-box { align-items: stretch; text-align: left; }
.upload-box .file-control.button { display: inline-flex; width: auto; align-self: flex-start; cursor: pointer; }
.registry-help > .file-control { display: inline-flex; width: auto; cursor: pointer; }
.site-footer { width: min(1420px, calc(100% - 80px)); margin-left: auto; margin-right: auto; font-size: 10px; }
.empty-symbol { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); margin-bottom: 14px; }
@media (max-width: 900px) { .auth-workspace { grid-template-columns: 1fr; } .site-footer { width: calc(100% - 48px); } }
@media (max-width: 600px) { .site-footer { width: calc(100% - 32px); } input:not([type='checkbox']):not([type='radio']):not([type='file']), select, textarea { font-size: 16px; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.text-muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .95em; letter-spacing: .015em; }
.section-gap { margin-top: 24px; }
.selected-count { color: var(--orange-dark); font-size: 11px; font-weight: 700; }

@media (max-width: 1100px) {
  .header-inner, .shell { width: calc(100% - 48px); }
  .header-inner { gap: 20px; }
  .programme { padding-left: 20px; }
  .workspace { grid-template-columns: 225px minmax(0, 1fr); gap: 20px; }
  .panel-body, .panel-header, .panel-footer { padding-left: 22px; padding-right: 22px; }
  .split-layout { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.5fr); gap: 18px; }
  .stat-card { padding: 17px; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 79px; gap: 17px; }
  .brand-logo { width: 150px; }
  .programme { font-size: 9px; padding-left: 17px; }
  .programme strong { font-size: 12px; }
  .account { font-size: 9px; }
  .account strong { font-size: 10px; }
  .avatar { width: 32px; height: 32px; }
  .nav-tabs { gap: 20px; margin-bottom: 25px; }
  .nav-link { min-height: 53px; font-size: 11px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 17px; }
  .workspace { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .step-nav { display: flex; padding: 7px; gap: 5px; }
  .step-button { justify-content: center; flex: 1; width: auto; min-height: 51px; padding: 8px; margin: 0; font-size: 10px; gap: 7px; }
  .step-num { flex-basis: 26px; width: 26px; height: 26px; font-size: 10px; }
  .rate-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 13px 16px; margin-top: 12px; }
  .rate-list h3 { grid-column: 1 / -1; padding: 0; margin: 0; }
  .rate-list > * { border: 0; padding: 0; }
  .rate-list p, .rate-list div { flex-wrap: wrap; gap: 2px 10px; }
  .policy-note { margin: 9px 2px 0; }
  .split-layout { grid-template-columns: 1fr; }
  .queue-panel .panel-body { max-height: 360px; overflow: auto; }
  .queue-panel .claim-row { display: inline-block; vertical-align: top; width: calc(50% - 6px); margin: 0 8px 10px 0; }
  .queue-panel .claim-row:nth-child(even) { margin-right: 0; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .stat-value { font-size: 26px; }
  .field-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-wrap table { min-width: 680px; }
}

@media (max-width: 600px) {
  body.sg-app { font-size: 12px; }
  .header-inner, .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 71px; gap: 12px; flex-wrap: wrap; }
  .brand-logo { width: 132px; }
  .programme { border-left: 0; padding: 0; font-size: 8px; line-height: 1.5; }
  .programme strong { font-size: 10px; letter-spacing: 0; }
  .account { gap: 7px; }
  .account > div:not(.avatar) { display: none; }
  .account .avatar { display: grid; }
  .nav-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 22px; margin-bottom: 23px; scrollbar-width: none; }
  .nav-tabs::-webkit-scrollbar { display: none; }
  .nav-link { flex: 0 0 auto; min-height: 50px; font-size: 10px; }
  .page-heading { margin-bottom: 21px; }
  .eyebrow { font-size: 9px; margin-bottom: 7px; }
  h1 { font-size: 26px; }
  h2 { font-size: 18px; }
  .lead { font-size: 11px; }
  .heading-actions { width: 100%; }
  .heading-actions > .button { flex: 1; }
  .workspace { gap: 17px; }
  .step-nav { border-radius: 12px; gap: 2px; }
  .step-button { flex-direction: column; min-height: 70px; gap: 5px; padding: 8px 4px; text-align: center; font-size: 9px; line-height: 1.4; }
  .step-num { flex: 0 0 24px; width: 24px; height: 24px; font-size: 9px; }
  .rate-list { padding: 12px 13px; gap: 8px; }
  .rate-list h3 { font-size: 10px; }
  .rate-list p, .rate-list div { display: block; font-size: 9px; }
  .rate-list strong { display: block; margin-top: 3px; font-size: 11px; }
  .policy-note { font-size: 9px; }
  .panel { border-radius: 13px; }
  .panel-header { padding: 19px 18px 16px; align-items: flex-start; }
  .panel-header h2 { font-size: 17px; }
  .panel-header p { font-size: 10px; }
  .panel-body { padding: 20px 18px; }
  .panel-footer { padding: 17px 18px; gap: 12px; }
  .panel-footer > .button-row, .panel-footer > .actions { width: 100%; }
  .panel-footer .button-row .button, .panel-footer .actions .button { flex: 1; }
  .field-grid, .field-grid.three, .device-grid, .upload-grid { grid-template-columns: 1fr; gap: 17px; }
  .field label { font-size: 10px; }
  input:not([type='checkbox']):not([type='radio']):not([type='file']), select, textarea { font-size: 13px; min-height: 46px; padding: 11px 12px; }
  .hint, .field-error { font-size: 9px; }
  .device-card { padding: 16px 14px; }
  .device-header { flex-wrap: wrap; gap: 9px; }
  .device-header > div { flex-wrap: wrap; gap: 8px; }
  .device-header h3 { font-size: 12px; }
  .device-amount { font-size: 11px; }
  .button { padding: 10px 14px; font-size: 10px; min-height: 42px; }
  .button.small { min-height: 32px; padding: 7px 10px; font-size: 9px; }
  .button-row, .actions { gap: 8px; }
  .notice { padding: 12px 13px; font-size: 10px; margin-bottom: 17px; }
  .stat-grid { gap: 10px; margin-bottom: 19px; }
  .stat-card { padding: 16px 14px; border-radius: 11px; }
  .stat-label { font-size: 9px; }
  .stat-value { font-size: 22px; margin-top: 7px; }
  .stat-card small { font-size: 8px; }
  .filter-bar { gap: 8px; }
  .filter-bar .search-input { flex-basis: 100%; min-width: 0; }
  .filter-bar select { flex: 1; width: 100%; min-width: 0; min-height: 42px; font-size: 11px; }
  .filter-bar .button { flex: 1; }
  .table-wrap { border-radius: 8px; }
  th, td { padding: 12px; }
  .queue-panel .panel-body { padding: 14px; max-height: 320px; }
  .queue-panel .claim-row { display: block; width: 100%; margin: 0 0 9px; }
  .detail-heading { flex-direction: column; gap: 10px; }
  .detail-heading h2 { font-size: 18px; }
  .meta-grid { gap: 17px 14px; }
  .meta-item > strong, .meta-item > dd { font-size: 11px; }
  .meta-item > span, .meta-item > dt, .meta-item > label { font-size: 9px; }
  .section-title { margin-top: 22px; font-size: 11px; }
  .document-link { font-size: 10px; padding: 10px 11px; }
  .document-link small { font-size: 9px; }
  .upload-box { padding: 18px 14px; }
  .amount-summary { padding: 16px 14px; font-size: 10px; gap: 12px; }
  .amount-summary strong { font-size: 20px; white-space: nowrap; }
  .tabs-secondary { width: 100%; padding: 4px; gap: 3px; }
  .tab-button { flex: 1; padding: 8px 10px; font-size: 10px; }
  .check-card { padding: 13px 14px; font-size: 10px; }
  .batch-card { padding: 17px 16px; }
  .batch-card h3 { font-size: 12px; }
  .registry-help { padding: 13px 14px; font-size: 10px; }
  .modal-backdrop { padding: 16px 12px; }
  .modal { max-height: calc(100dvh - 32px); border-radius: 13px; }
  .modal-header { padding: 20px 18px 16px; }
  .modal-header h2 { font-size: 17px; }
  .modal-body { padding: 20px 18px; }
  .modal-footer { padding: 16px 18px; }
  .modal-footer .button { flex: 1; }
  .toast { right: 16px; bottom: 16px; width: calc(100% - 32px); padding: 14px 17px; font-size: 11px; }
  .site-footer { margin-top: 15px; padding: 24px 0 20px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 600px) {
  input:not([type='checkbox']):not([type='radio']):not([type='file']), select, textarea { font-size: 16px; }
  .filter-bar select { font-size: 14px; }
  .site-footer { font-size: 10px; }
  .file-item .document-link { padding: 0; }
}

/* Search remains aligned with the filter on desktop and mobile. */
.search-input {display:flex;align-items:center;gap:9px;min-width:0;}
.search-input>svg {flex-shrink:0;margin-left:12px;}
.search-input>input {min-width:0;}
.panel>.filter-bar {padding:18px;margin:0;border-bottom:1px solid #e7ecef;}
.email-login-form { grid-column:1/-1; margin-top:20px; }
.email-login-title { font-weight:700; color:var(--navy) !important; font-size:13px !important; margin-bottom:4px !important; }
.email-login-lead { margin-bottom:16px !important; }
.email-login-form .notice { margin:12px 0; }
.email-login-form .signin-button { width:100%; }
.email-login-form .field label { font-size:11px; }
.email-login-form .otp-input { text-align:center; font-size:24px; letter-spacing:.4em; font-weight:700; }
.email-login-actions { display:flex; justify-content:space-between; gap:12px; margin-top:8px; }
.otp-recipient { overflow-wrap:anywhere; margin-bottom:15px !important; }
.sg-admin-entry { grid-column:1/-1; text-align:center; margin-top:16px; padding-top:14px; border-top:1px solid var(--line); font-size:10px; }
.sg-admin-entry a { color:#607784; }

/* Partner programme entrance and reward cards. */
.programme-landing { padding-top: 48px; }
.landing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.landing-intro { padding-top: 16px; }
.landing-intro > .eyebrow { font-size: 11px; letter-spacing: .12em; line-height: 1.8; }
.landing-intro h1 { margin: 18px 0 22px; font-size: clamp(32px, 3.45vw, 51px); line-height: 1.23; letter-spacing: -.045em; }
.landing-intro h1 span { color: var(--orange-dark); }
.landing-lead { max-width: 550px; font-size: 14px; line-height: 1.95; color: #5d727f; margin-bottom: 25px; }
.landing-audience { display: inline-block; padding: 8px 12px; border-left: 3px solid var(--orange); background: #fff1e3; color: #9d4700; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.signin-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; padding: 23px 24px 18px; margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 12px 36px rgb(32 62 76 / 4%); }
.signin-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffe1c5; border-radius: 12px; background: #fff6ed; color: var(--orange-dark); }
.signin-card h2 { margin: 0 0 7px; font-size: 17px; letter-spacing: -.025em; }
.signin-card p { font-size: 12px; color: #607784; line-height: 1.85; margin-bottom: 0; }
.signin-card .signin-button { grid-column: 1 / -1; margin-top: 19px; min-height: 48px; font-size: 13px; }
.signin-card .signin-note { grid-column: 1 / -1; text-align: center; font-size: 10px; margin: 11px 0 0; }
.landing-checklist { margin-top: 24px; }
.landing-checklist h3 { font-size: 12px; margin-bottom: 10px; }
.landing-checklist ul { list-style: none; padding: 0; margin: 0; color: #607784; font-size: 11px; line-height: 1.8; }
.landing-checklist li { position: relative; padding-left: 20px; margin-top: 6px; }
.landing-checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--orange-dark); font-weight: 700; }
.rewards-panel { border-color: #e5e9eb; border-radius: 20px; box-shadow: 0 16px 46px rgb(32 62 76 / 5%); }
.rewards-panel .panel-body { padding: 28px; }
.reward-heading .eyebrow { font-size: 9px; letter-spacing: .1em; line-height: 1.8; margin-bottom: 12px; }
.reward-heading h2 { font-size: 28px; line-height: 1.28; margin-bottom: 10px; }
.reward-heading > p:last-child { font-size: 11px; color: #607784; line-height: 1.8; }
.reward-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin: 23px 0 14px; }
.reward-card { padding: 18px 14px 17px; border: 1px solid #e3e9ee; border-radius: 12px; background: #fff; }
.reward-card dt { color: var(--navy); font-size: 15px; font-weight: 700; }
.reward-card dt small { display: block; min-height: 30px; margin-top: 4px; color: #667b87; font-size: 9px; font-weight: 400; line-height: 1.5; }
.reward-card dd { margin: 12px 0 0; }
.reward-card dd strong { display: block; font-size: clamp(21px, 2vw, 29px); color: var(--orange-dark); letter-spacing: -.06em; line-height: 1.2; white-space: nowrap; }
.reward-card dd > span { display: block; margin-top: 7px; color: #607784; font-size: 9px; }
.combo-card { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 23px; border-radius: 13px; overflow: hidden; background: #ff7900; color: white; }
.combo-tag { display: inline-block; padding: 4px 7px; border: 1px solid rgb(255 255 255 / 60%); border-radius: 4px; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.combo-copy h3 { margin: 12px 0 8px; color: white; font-size: 19px; line-height: 1.4; letter-spacing: -.02em; }
.combo-copy p { font-size: 9px; line-height: 1.6; margin: 0; }
.combo-value { text-align: right; flex-shrink: 0; }
.combo-value > strong { display: flex; align-items: baseline; justify-content: flex-end; gap: 5px; font-size: 71px; line-height: 1; letter-spacing: -.07em; }
.combo-value strong span { font-size: 24px; letter-spacing: -.05em; }
.combo-value > span { display: block; font-size: 10px; margin-top: 10px; }
.combo-terms { font-size: 9px; line-height: 1.8; color: #667b87; margin: 12px 1px 21px; }
.campaign-period { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid #e4ebee; padding-top: 18px; }
.campaign-period span { color: #607784; font-size: 8px; letter-spacing: .05em; font-weight: 700; }
.campaign-period strong { font-size: 11px; color: var(--navy); }
.reward-disclaimer { margin: 13px 0 0; font-size: 9px; color: #6d7d87; line-height: 1.8; }
.programme-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 38px 0 0; padding: 25px 0 4px; list-style: none; border-top: 1px solid #dfe7eb; gap: 24px; }
.programme-flow li { display: flex; align-items: flex-start; gap: 13px; }
.programme-flow li > span { display: grid; place-items: center; flex: 0 0 33px; height: 33px; border: 1px solid #f4d7bb; background: #fff3e6; border-radius: 50%; color: #a54b00; font-size: 11px; font-weight: 700; }
.programme-flow strong { font-size: 12px; }
.programme-flow p { margin: 5px 0 0; font-size: 10px; line-height: 1.7; color: #667b87; }
.rewards-compact .panel-body { padding: 18px; }
.rewards-compact .reward-heading h2 { font-size: 19px; }
.rewards-compact .reward-heading .eyebrow { font-size: 8px; }
.rewards-compact .reward-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
.rewards-compact .reward-card { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 11px; }
.rewards-compact .reward-card dt { font-size: 12px; }
.rewards-compact .reward-card dt small { min-height: 0; font-size: 8px; }
.rewards-compact .reward-card dd { text-align: right; margin-top: 0; }
.rewards-compact .reward-card dd strong { font-size: 18px; }
.rewards-compact .reward-card dd > span { font-size: 8px; margin-top: 4px; }
.rewards-compact .combo-card { padding: 14px 12px; gap: 8px; }
.rewards-compact .combo-copy h3 { font-size: 12px; margin-top: 8px; }
.rewards-compact .combo-copy p { font-size: 8px; }
.rewards-compact .combo-tag { font-size: 7px; padding: 3px 4px; }
.rewards-compact .combo-value > strong { font-size: 36px; gap: 3px; }
.rewards-compact .combo-value strong span { font-size: 12px; }
.rewards-compact .combo-value > span { font-size: 8px; }
.rewards-compact .combo-terms { font-size: 8px; margin-bottom: 14px; }
.rewards-compact .campaign-period strong { font-size: 10px; }
.rewards-compact .reward-disclaimer { font-size: 8px; }
@media (max-width: 1050px) {
  .landing-grid { gap: 28px; }
  .landing-intro h1 { font-size: 35px; }
  .rewards-featured .panel-body { padding: 23px; }
  .reward-card { padding: 15px 11px; }
  .reward-card dd strong { font-size: 23px; }
  .combo-card { padding: 21px 18px; }
  .combo-copy h3 { font-size: 16px; }
}
@media (max-width: 800px) {
  .programme-landing { padding-top: 24px; }
  .landing-grid { grid-template-columns: 1fr; gap: 27px; }
  .landing-intro { padding-top: 0; }
  .landing-intro h1 { font-size: clamp(29px, 6vw, 39px); margin-top: 14px; }
  .landing-lead { font-size: 13px; margin-bottom: 18px; }
  .landing-intro > .eyebrow { font-size: 9px; }
  .landing-checklist { display: none; }
  .rewards-featured .reward-heading h2 { font-size: 26px; }
  .programme-flow { grid-template-columns: 1fr; gap: 18px; margin-top: 27px; }
  .programme-flow strong { font-size: 12px; }
  .programme-flow p { font-size: 11px; }
  .signin-card p { font-size: 12px; }
  .signin-card { padding: 19px 17px 16px; }
  .signin-card h2 { font-size: 15px; }
  .rewards-compact .reward-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rewards-compact .reward-card { display: block; }
  .rewards-compact .reward-card dd { text-align: left; margin-top: 10px; }
  .rewards-compact .combo-copy h3 { font-size: 16px; }
  .rewards-compact .combo-value > strong { font-size: 48px; }
}
@media (max-width: 420px) {
  .rewards-featured .panel-body { padding: 19px 16px; }
  .reward-grid { gap: 7px; }
  .reward-card { padding: 14px 9px; }
  .reward-card dt { font-size: 13px; }
  .reward-card dt small { font-size: 8px; }
  .reward-card dd strong { font-size: 21px; }
  .reward-card dd > span { font-size: 8px; }
  .combo-card { padding: 20px 15px; }
  .combo-value > strong { font-size: 61px; }
  .combo-value strong span { font-size: 21px; }
  .header-inner { gap: 16px; }
  .programme { padding-left: 16px; }
}
.antibot-area { width: 100%; min-width: 0; margin: 12px 0; }
.antibot-area > div { max-width: 100%; }
.security-date { display: block; font-size: 16px; line-height: 1.5; margin: 10px 0; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
