:root {
  color-scheme: dark;
  --bg: #061423;
  --bg-2: #071a2b;
  --panel: #0d2236;
  --panel-2: #102b45;
  --panel-3: #123150;
  --line: #2e5f8c;
  --line-soft: rgba(92, 151, 199, 0.45);
  --text: #f5f9ff;
  --muted: #9db7cf;
  --blue: #0071bc;
  --blue-2: #1fa4ff;
  --red: #e30613;
  --red-soft: #4a1622;
  --green: #20b26b;
  --yellow: #f2a900;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(0, 113, 188, 0.22), transparent 22rem),
    linear-gradient(180deg, #071a2b 0%, var(--bg) 100%);
}

body.is-busy {
  overflow: hidden;
  cursor: wait;
}

.mobile-loading-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 12, 22, 0.82);
  backdrop-filter: blur(12px);
}

.mobile-loading-overlay.is-hidden {
  display: none;
}

.mobile-loading-card {
  width: min(100%, 440px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.mobile-loading-spinner {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 3px solid rgba(157, 183, 207, 0.3);
  border-top-color: var(--blue-2);
  border-radius: 50%;
  animation: mobile-loading-spin 0.75s linear infinite;
}

.mobile-loading-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.mobile-loading-copy > span,
.mobile-loading-copy > small {
  color: var(--muted);
  line-height: 1.35;
}

.mobile-loading-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(157, 183, 207, 0.18);
}

.mobile-loading-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  transition: width 180ms ease;
}

.mobile-noscript {
  position: fixed;
  z-index: 1001;
  inset: 50% auto auto 50%;
  width: min(420px, calc(100% - 32px));
  margin: 0;
  padding: 18px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  text-align: center;
}

@keyframes mobile-loading-spin {
  to { transform: rotate(360deg); }
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  touch-action: manipulation;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.mobile-shell {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 12px 12px calc(16px + env(safe-area-inset-bottom));
}

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 -12px 12px;
  padding: calc(10px + env(safe-area-inset-top)) 12px 10px;
  border-bottom: 2px solid var(--blue);
  background: rgba(6, 20, 35, 0.94);
  backdrop-filter: blur(14px);
}

.mobile-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-push-launch {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px 11px;
  gap: 9px;
  border: 1px solid rgba(36, 169, 232, 0.36);
  border-radius: 13px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(0, 110, 182, 0.2), rgba(36, 169, 232, 0.08));
  text-align: left;
}

.mobile-push-launch > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.mobile-push-launch strong {
  font-size: 13px;
}

.mobile-push-launch small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-push-launch > b {
  color: #43b9ef;
  font-size: 10px;
}

.mobile-push-launch-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: rgba(36, 169, 232, 0.16);
  font-size: 17px;
}

.mobile-push-launch.is-active {
  border-color: rgba(54, 210, 125, 0.5);
  background: rgba(54, 210, 125, 0.1);
}

body.push-onboarding-open {
  overflow: hidden;
}

.push-onboarding-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  align-items: end;
}

.push-onboarding-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(0, 8, 15, 0.78);
  backdrop-filter: blur(6px);
}

.push-onboarding-panel {
  position: relative;
  width: 100%;
  max-height: 94dvh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 17px 13px calc(17px + env(safe-area-inset-bottom));
  border: 1px solid rgba(36, 169, 232, 0.3);
  border-radius: 22px 22px 0 0;
  background: var(--panel);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.48);
}

.push-onboarding-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  padding-right: 34px;
  gap: 10px;
}

.push-onboarding-bell {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #006eb6, #25a9e8);
  box-shadow: 0 8px 20px rgba(0, 110, 182, 0.3);
  font-size: 18px;
}

.push-onboarding-kicker {
  display: block;
  margin-bottom: 3px;
  color: #43b9ef;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.push-onboarding-header h2 {
  font-size: 20px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.push-onboarding-header p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.push-onboarding-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: var(--panel-2);
  font-size: 22px;
}

.push-onboarding-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 13px 0;
  padding: 9px;
  gap: 7px;
  border-radius: 12px;
  color: var(--muted);
  background: rgba(36, 169, 232, 0.08);
  font-size: 10px;
  font-weight: 800;
}

.push-onboarding-flow span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.push-onboarding-flow b {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #006eb6;
  font-size: 9px;
}

.push-onboarding-flow i {
  color: #43b9ef;
  font-style: normal;
}

.push-platform-grid {
  display: grid;
  gap: 9px;
}

.push-platform-card {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-2);
}

.push-platform-card > header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.push-platform-card > header > div {
  display: grid;
  gap: 1px;
}

.push-platform-card header strong {
  font-size: 13px;
}

.push-platform-card header small {
  color: var(--muted);
  font-size: 9px;
}

.push-platform-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  background: #273444;
  font-size: 11px;
}

.push-platform-card.is-android .push-platform-icon { background: #16884a; }
.push-platform-card.is-desktop .push-platform-icon { background: #006eb6; }

.push-device-preview {
  display: grid;
  min-height: 58px;
  align-content: center;
  justify-items: center;
  margin: 9px 0;
  padding: 7px;
  gap: 2px;
  border: 1px solid rgba(120, 160, 184, 0.22);
  border-radius: 11px;
  background: rgba(3, 15, 25, 0.55);
}

.push-device-preview span,
.push-device-preview em {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}

.push-device-preview b {
  color: #43b9ef;
  font-size: 13px;
}

.push-platform-card ol {
  display: grid;
  margin: 0;
  padding-left: 18px;
  gap: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.push-platform-card li::marker {
  color: #43b9ef;
  font-weight: 800;
}

.push-platform-card li b {
  color: var(--text);
}

.push-onboarding-status {
  min-height: 18px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.push-onboarding-status.is-success { color: #36d27d; font-weight: 800; }
.push-onboarding-status.is-error { color: #ff817a; font-weight: 800; }

.push-onboarding-actions {
  position: sticky;
  bottom: calc(-17px - env(safe-area-inset-bottom));
  display: flex;
  margin: 11px -13px calc(-17px - env(safe-area-inset-bottom));
  padding: 11px 13px calc(11px + env(safe-area-inset-bottom));
  gap: 7px;
  background: var(--panel);
  box-shadow: 0 -9px 22px rgba(0, 0, 0, 0.2);
}

.push-onboarding-actions button:last-child {
  flex: 1;
}

.push-onboarding-actions button {
  min-width: 0;
  padding-inline: 9px;
  font-size: 11px;
  white-space: normal;
}

.mobile-logo {
  flex: 0 0 auto;
  width: 72px;
  height: 36px;
  object-fit: contain;
  border-radius: 7px;
}

.mobile-header h1 {
  font-size: 19px;
  line-height: 1.05;
}

#sessionLabel {
  margin-top: 3px;
  max-width: 190px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel,
.controls-card,
.task-card,
.sheet-section,
.status-card,
.metric-card,
.actions-panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(13, 34, 54, 0.94);
  box-shadow: var(--shadow);
}

.panel {
  padding: 16px;
}

.login-panel h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

.login-form,
.app-panel,
.mobile-view,
.sheet-content {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

label > span,
.control-label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--bg-2);
  outline: none;
}

input,
select {
  height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 92px;
  max-height: 220px;
  padding: 10px 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(31, 164, 255, 0.18);
}

.primary-button,
.secondary-button,
.action-button,
.danger-button,
.mini-button,
.icon-button,
.mobile-tab,
.status-filter {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 12px;
  color: #fff;
  font-weight: 900;
}

.primary-button,
.action-button,
.mobile-tab.is-active,
.status-filter.is-active {
  border-color: var(--blue);
  background: var(--blue);
}

.secondary-button,
.mini-button,
.icon-button,
.mobile-tab,
.status-filter {
  border-color: var(--line);
  background: var(--panel-2);
}

.danger-button {
  background: var(--red);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  padding: 0;
  font-size: 20px;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.6;
}

.mobile-tabs {
  position: sticky;
  top: calc(58px + env(safe-area-inset-top));
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 0;
  background: rgba(6, 20, 35, 0.86);
  backdrop-filter: blur(10px);
}

.controls-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  padding: 12px;
}

.controls-card .manager-all-in-work-button {
  grid-column: 1 / -1;
}

.manager-all-in-work-button.is-active {
  border-color: var(--blue);
  background: var(--blue);
}

.sync-info,
.updated {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.notice {
  padding: 11px 12px;
  border: 1px solid var(--yellow);
  border-radius: 12px;
  color: #ffe8a8;
  background: rgba(242, 169, 0, 0.13);
}

.notice.is-error {
  border-color: var(--red);
  color: #ffd7da;
  background: rgba(227, 6, 19, 0.16);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.summary-item {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(16, 43, 69, 0.78);
}

.summary-item strong {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.summary-item span {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.status-filter {
  flex: 0 0 auto;
  min-height: 38px;
  white-space: nowrap;
}

.search-box {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(13, 34, 54, 0.76);
}

.task-list {
  display: grid;
  gap: 10px;
}

.task-card {
  display: grid;
  gap: 9px;
  width: 100%;
  padding: 12px;
  text-align: left;
}

.task-card:active {
  transform: scale(0.99);
}

.task-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.task-card-title {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
}

.badge,
.urgency-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.urgency-badge {
  border-color: rgba(242, 169, 0, 0.75);
  color: #7a3d00;
  background: #fff2d6;
}

.status-badge {
  color: #cfefff;
  background: rgba(0, 113, 188, 0.22);
}

.task-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.progress-card,
.task-progress {
  display: grid;
  gap: 7px;
}

.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(157, 183, 207, 0.14);
}

.progress-track span,
.task-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
}

.empty-state {
  padding: 20px 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.task-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
}

.sheet-panel {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: 100%;
  max-height: min(94vh, 920px);
  min-height: 78vh;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  background: var(--bg);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.42);
}

.sheet-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(13, 34, 54, 0.98);
}

.sheet-header h2 {
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.2;
}

.sheet-path {
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.task-sheet .notice {
  margin: 10px 12px 0;
}

.sheet-content {
  min-height: 0;
  overflow: auto;
  padding: 12px;
  scrollbar-width: thin;
}

.sheet-section {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  box-shadow: none;
}

.sheet-section h3 {
  font-size: 15px;
}

.compact-section {
  background: rgba(16, 43, 69, 0.84);
}

.mobile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-form-grid label:nth-child(3):last-child {
  grid-column: 1 / -1;
}

.range-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
}

input[type="range"] {
  height: 32px;
  padding: 0;
  accent-color: var(--red);
}

.range-row strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel-2);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mini-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.mobile-quantity-list,
.mobile-role-tasks {
  display: grid;
  gap: 10px;
}

.quantity-item,
.role-task-card,
.role-step {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(7, 26, 43, 0.74);
}

.quantity-item-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 8px;
}

.quantity-item textarea {
  min-height: 68px;
  max-height: 160px;
}

.quantity-item-footer,
.role-step-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.attachments-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.role-task-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 900;
}

.role-step textarea {
  min-height: 70px;
}

.role-step-grid {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 82px;
  gap: 8px;
}

.done-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--panel-2);
  font-size: 13px;
  font-weight: 900;
}

.done-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft);
  background: rgba(13, 34, 54, 0.98);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric-card {
  min-height: 90px;
  padding: 13px;
  box-shadow: none;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 25px;
  line-height: 1;
}

.metric-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.metric-ok {
  border-color: rgba(32, 178, 107, 0.72);
}

.metric-warning {
  border-color: rgba(242, 169, 0, 0.82);
}

.metric-error {
  border-color: rgba(227, 6, 19, 0.92);
}

.cards-grid {
  display: grid;
  gap: 10px;
}

.status-card {
  padding: 13px;
  box-shadow: none;
}

.status-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.status-head h2 {
  font-size: 15px;
}

.pill {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: var(--line);
}

.pill.ok {
  background: var(--green);
}

.pill.warning {
  color: #241600;
  background: var(--yellow);
}

.pill.error {
  background: var(--red);
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(157, 183, 207, 0.2);
}

.row span {
  color: var(--muted);
}

.row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.actions-panel {
  display: grid;
  gap: 10px;
  padding: 13px;
  box-shadow: none;
}

.hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 430px) {
  .mobile-shell {
    padding-inline: 10px;
  }

  .mobile-header {
    margin-inline: -10px;
    padding-inline: 10px;
  }

  .mobile-logo {
    width: 64px;
    height: 32px;
  }

  .mobile-header h1 {
    font-size: 17px;
  }

  #sessionLabel {
    max-width: 150px;
  }

  .summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .controls-card,
  .mobile-form-grid,
  .sheet-actions,
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quantity-item-grid,
  .quantity-item-footer,
  .role-step-controls,
  .role-step-grid {
    grid-template-columns: 1fr;
  }

  .sheet-panel {
    min-height: 84vh;
    max-height: 96vh;
  }
}

.mobile-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 12px;
  font-size: 0.78rem;
}

.mobile-legal-links a { color: #68c8ff; }
