:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-strong: #f0f3f6;
  --line: #d9e0e8;
  --text: #17202a;
  --muted: #627083;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --danger: #b42318;
  --warning: #b54708;
  --orange: #c2410c;
  --ok: #067647;
  --shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}

/* Didi Hitch-inspired mobile visual refresh */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-strong: #f8f9fb;
  --line: #edf0f5;
  --text: #171717;
  --muted: #8a9099;
  --accent: #19c779;
  --accent-strong: #0aa45f;
  --danger: #e34b2f;
  --warning: #ff7a1a;
  --orange: #ff6433;
  --ok: #18c878;
  --shadow: 0 10px 26px rgba(12, 20, 30, 0.07);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

body {
  background: linear-gradient(180deg, #fff7ef 0, #f6f7fb 178px, #f6f7fb 100%);
}

.app-shell {
  background: #f6f7fb;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04);
  margin: 0 auto;
  max-width: 480px;
  min-height: 100vh;
}

.topbar {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(255, 252, 248, 0.96);
  border: 0;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 13px 18px 8px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand-block {
  display: none;
}

.role-top-nav {
  align-items: center;
  display: flex;
  gap: 22px;
  min-width: 0;
}

.role-tab {
  background: transparent;
  border: 0;
  color: #171717;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  min-height: 36px;
  padding: 0;
  position: relative;
}

.role-tab.active {
  color: var(--orange);
}

.role-tab.active::after {
  background: #ffe6db;
  border-radius: 6px;
  content: "";
  height: 9px;
  inset: auto -6px 2px;
  position: absolute;
  z-index: -1;
}

.operator-context {
  display: contents;
}

.operator-context span {
  display: none;
}

.account-entry {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(23, 23, 23, 0.08);
  color: #202124;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  min-height: 38px;
  max-width: 128px;
  padding: 0 14px;
}

.workspace {
  max-width: none;
  padding: 0 0 92px;
}

.hero-order-panel {
  align-items: center;
  background: radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.52) 0 42px, transparent 43px), linear-gradient(100deg, #ff7b22, #ff4f24 55%, #ffb33b);
  color: #fff;
  display: flex;
  justify-content: space-between;
  min-height: 116px;
  overflow: hidden;
  padding: 18px 18px 28px;
  position: relative;
}

.hero-order-panel::after {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  content: "";
  height: 88px;
  position: absolute;
  right: -24px;
  top: 14px;
  width: 88px;
}

.hero-copy {
  display: grid;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.hero-copy .eyebrow {
  color: #fff4d7;
  font-size: 13px;
  margin: 0;
}

.hero-copy h1 {
  color: #fff;
  font-size: 25px;
  line-height: 1.16;
  margin: 0;
}

.hero-copy span,
.hero-reward span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
}

.hero-reward {
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  display: grid;
  gap: 2px;
  justify-items: center;
  min-width: 90px;
  padding: 10px 12px;
  position: relative;
  z-index: 1;
}

.hero-reward strong {
  font-size: 18px;
}

.quick-search-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(29, 35, 45, 0.08);
  display: grid;
  gap: 12px;
  margin: -18px 18px 15px;
  padding: 18px;
  position: relative;
  z-index: 3;
}

.route-line,
.route-destination {
  align-items: center;
  display: flex;
  gap: 10px;
}

.route-line {
  color: #16181c;
  font-size: 15px;
  font-weight: 800;
  padding-left: 4px;
}

.route-line i,
.route-destination i,
.route-point i {
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 auto;
  height: 8px;
  width: 8px;
}

.route-line i,
.route-point.start i {
  background: #34d98b;
}

.route-destination {
  background: #fff;
  border: 2px solid #191919;
  border-radius: 16px;
  color: #171717;
  cursor: pointer;
  min-height: 58px;
  padding: 0 16px;
  text-align: left;
}

.route-destination i,
.route-point.end i {
  background: #ff8b55;
}

.route-destination strong {
  font-size: 18px;
}

.summary-strip {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(72px, 1fr));
  margin: 0 18px 12px;
  overflow-x: auto;
}

.summary-item {
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: none;
  min-height: 64px;
  padding: 10px 8px;
  text-align: center;
}

.summary-item span {
  color: #8d939c;
  font-size: 11px;
  margin-bottom: 7px;
}

.summary-item strong {
  color: #191919;
  font-size: 21px;
}

.tabs {
  background: #fff;
  border: 0;
  border-radius: 0;
  bottom: 0;
  box-shadow: 0 -10px 24px rgba(18, 23, 33, 0.08);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  left: 50%;
  margin: 0;
  max-width: 480px;
  overflow: visible;
  padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
  position: fixed;
  transform: translateX(-50%);
  width: 100%;
  z-index: 28;
}

.tab {
  align-items: center;
  border-radius: 0;
  color: #737982;
  display: grid;
  font-size: 11px;
  font-weight: 700;
  gap: 3px;
  justify-items: center;
  min-height: 48px;
  padding: 0;
}

.tab::before {
  align-items: center;
  border-radius: 13px;
  display: inline-flex;
  font-size: 16px;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.tab[data-view="myTasks"]::before { content: "⌂"; }
.tab[data-view="acceptance"]::before { content: "✓"; }
.tab[data-view="decision"]::before { content: "!"; font-weight: 900; }
.tab[data-view="rectification"]::before { content: "↻"; }
.tab[data-view="notifications"]::before { content: "•"; }
.tab[data-view="admin"]::before { content: "☰"; }

.tab.active {
  background: transparent;
  box-shadow: none;
  color: var(--orange);
}

.tab.active::before {
  background: var(--orange);
  color: #fff;
}

.content-grid {
  display: block;
}

.panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.panel-heading {
  border: 0;
  padding: 0 20px 10px;
}

.panel-heading .eyebrow {
  color: var(--accent-strong);
}

.panel-heading h2 {
  color: #171717;
  font-size: 17px;
  font-weight: 900;
}

.task-list {
  gap: 14px;
  max-height: none;
  overflow: visible;
  padding: 0 18px 18px;
}

.task-card {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(29, 35, 45, 0.06);
  min-height: 174px;
  overflow: hidden;
  padding: 0;
}

.task-card:hover,
.task-card.active {
  border-color: rgba(28, 203, 125, 0.55);
  box-shadow: 0 10px 28px rgba(29, 35, 45, 0.09);
}

.order-card-main {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) 94px;
  padding: 18px 18px 12px;
}

.order-card-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.order-card-time {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-card-time strong {
  color: #18b86e;
  font-size: 15px;
  font-weight: 900;
}

.order-card-time span {
  color: #111;
  font-size: 15px;
  font-weight: 900;
}

.route-stack {
  display: grid;
  gap: 7px;
}

.route-point {
  align-items: center;
  color: #30343b;
  display: flex;
  font-size: 13px;
  gap: 8px;
  line-height: 1.36;
  margin: 0;
  min-width: 0;
}

.route-point.end {
  color: #8b929c;
}

.route-point i {
  height: 6px;
  width: 6px;
}

.order-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.order-card-tags span {
  background: #fff3ec;
  border-radius: 6px;
  color: #d85a2b;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 7px;
}

.order-card-side {
  align-items: end;
  display: grid;
  justify-items: end;
}

.order-card-side .status-pill {
  justify-self: end;
}

.order-card-side strong {
  color: #ff612f;
  font-size: 25px;
  font-weight: 950;
  line-height: 1;
}

.order-card-side em {
  color: #ff7a38;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.order-card-footer {
  align-items: center;
  border-top: 1px solid #f1f2f5;
  display: grid;
  gap: 8px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  min-height: 58px;
  padding: 10px 18px;
}

.task-avatar {
  align-items: center;
  background: #6ee99e;
  border-radius: 13px;
  color: #087744;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.order-card-footer p {
  color: #8a9099;
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
  min-width: 0;
}

.order-card-footer b {
  border: 1px solid #6ee89d;
  border-radius: 12px;
  color: #17b86d;
  font-size: 13px;
  font-weight: 900;
  padding: 9px 13px;
  white-space: nowrap;
}

.status-pill {
  background: #ecfff5;
  color: #12a866;
  font-size: 11px;
  padding: 4px 7px;
}

.status-pill.red,
.severity-red {
  background: #fff1ee;
  color: #e04a2f;
}

.status-pill.orange,
.severity-orange,
.status-pill.yellow,
.severity-yellow {
  background: #fff4ea;
  color: #f06b28;
}

.detail-panel {
  background: #fff;
  border-radius: 22px 22px 0 0;
  min-height: 100vh;
}

.detail-header {
  border-bottom-color: #f2f3f6;
}

.button {
  background: var(--orange);
  border-color: var(--orange);
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
}

.button.secondary,
.button.ghost {
  background: #fff;
  border-color: #e8ebf0;
  color: #343942;
}

.account-card {
  border: 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -18px 40px rgba(15, 23, 42, 0.16);
}

.account-option.active,
.account-option:hover {
  background: #fff7f2;
  border-color: #ffb197;
}

@media (min-width: 861px) {
  body {
    background: #eef1f5;
  }

  .detail-panel {
    border-radius: 22px;
    margin: 0 18px 24px;
    min-height: 620px;
  }
}

@media (max-width: 860px) {
  .topbar {
    padding: 13px 18px 8px;
  }

  .content-grid.detail-mode .detail-panel {
    display: block;
    inset: 0;
    position: fixed;
    z-index: 40;
  }

  .content-grid.detail-mode .primary-panel,
  .workspace.mobile-detail-mode > .tabs,
  .workspace.mobile-detail-mode > .summary-strip,
  .workspace.mobile-detail-mode > .hero-order-panel,
  .workspace.mobile-detail-mode > .quick-search-card {
    display: none;
  }

  .detail-back {
    border-radius: 14px;
    display: block;
    margin: 12px;
  }

  .task-detail {
    padding: 12px 14px 110px;
  }
}

@media (max-width: 380px) {
  .role-top-nav {
    gap: 16px;
  }

  .role-tab {
    font-size: 15px;
  }

  .order-card-main {
    grid-template-columns: minmax(0, 1fr) 78px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .order-card-side strong {
    font-size: 21px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

.app-shell {
  min-height: 100vh;
}

.topbar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px clamp(14px, 4vw, 32px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.topbar h1,
.panel h2,
.empty-state h2 {
  letter-spacing: 0;
  margin: 0;
}

.topbar h1 {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.2;
}

.brand-block {
  min-width: 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 4px;
}

.operator-context {
  align-items: flex-end;
  color: var(--muted);
  display: grid;
  font-size: 12px;
  gap: 4px;
  justify-items: end;
  min-width: 132px;
}

.operator-context strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
  max-width: 170px;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-entry {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  min-height: 28px;
  padding: 4px 10px;
}

.account-entry:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.account-panel {
  inset: 0;
  position: fixed;
  z-index: 20;
}

.account-panel-backdrop {
  background: rgba(15, 23, 42, 0.32);
  inset: 0;
  position: absolute;
}

.account-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  bottom: 0;
  box-shadow: 0 -16px 40px rgba(15, 23, 42, 0.18);
  display: grid;
  gap: 12px;
  left: 50%;
  max-width: 520px;
  padding: 16px;
  position: absolute;
  transform: translateX(-50%);
  width: min(100%, 520px);
}

.account-card-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.account-card-header h2 {
  font-size: 18px;
  margin: 0;
}

.field select,
.field input,
.field textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  min-height: 40px;
  padding: 8px 10px;
  width: 100%;
}

.account-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  max-height: min(42vh, 340px);
  overflow: auto;
  padding: 8px;
}

.account-option {
  align-items: center;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 8px 10px;
  text-align: left;
}

.account-option:hover,
.account-option.active {
  background: #edf7f5;
  border-color: var(--accent);
}

.account-option strong {
  font-size: 14px;
  line-height: 1.35;
}

.account-option span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
}

.account-empty {
  color: var(--muted);
  font-size: 13px;
  padding: 12px 8px;
}

.workspace {
  margin: 0 auto;
  max-width: 1240px;
  padding: 14px clamp(12px, 3vw, 28px) 36px;
}

.summary-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 14px;
}

.summary-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 68px;
  padding: 10px 12px;
}

.summary-item span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}

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

.tabs {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding: 4px;
}

.tab {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  flex: 1 0 auto;
  min-height: 38px;
  padding: 8px 12px;
}

.tab.active {
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  color: var(--text);
  font-weight: 700;
}

.content-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(320px, 0.9fr) minmax(460px, 1.35fr);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.panel-heading {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 16px;
}

.panel-heading h2 {
  font-size: 18px;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(100vh - 265px);
  overflow: auto;
  padding: 12px;
}

.task-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 7px;
  min-height: 108px;
  padding: 12px;
  text-align: left;
}

.task-card:hover,
.task-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.11);
}

.task-name {
  font-size: 15px;
  line-height: 1.35;
}

.rectification-card {
  border-left: 4px solid var(--warning);
}

.task-meta,
.task-footer {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.status-pill {
  align-self: start;
  background: #edf7f5;
  border-radius: 999px;
  color: var(--accent-strong);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  justify-self: start;
  padding: 4px 8px;
}

.status-pill.red,
.severity-red {
  background: #fef3f2;
  color: var(--danger);
}

.status-pill.orange,
.severity-orange {
  background: #fff7ed;
  color: var(--orange);
}

.status-pill.yellow,
.severity-yellow {
  background: #fffaeb;
  color: var(--warning);
}

.detail-panel {
  min-height: 520px;
}

.detail-back {
  display: none;
  margin: 12px 12px 0;
  width: calc(100% - 24px);
}

.empty-state {
  color: var(--muted);
  padding: 32px;
}

.task-detail {
  padding: 16px;
}

.detail-header {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  padding-bottom: 14px;
}

.detail-header h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0;
}

.audit-context {
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 12px;
  padding: 10px;
}

.audit-context.invalid,
.item-box.invalid {
  border-color: #f04438;
  box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.13);
}

.audit-context strong {
  color: var(--orange);
  font-size: 13px;
}

.audit-context p,
.audit-context span {
  color: #7c2d12;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.audit-context div {
  display: grid;
  gap: 6px;
}

.audit-context .button {
  flex: 0 0 auto;
  min-width: 128px;
}

.validation-message {
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 8px;
  color: var(--danger);
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin: 8px 0;
  padding: 9px 10px;
}

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

.meta-grid div,
.item-box,
.admin-block {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.meta-grid span,
.field span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.meta-grid strong {
  display: block;
  font-size: 14px;
}

.workflow-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
}

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

.workflow-summary div {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
}

.workflow-summary span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}

.workflow-summary strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

.workflow-alert {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  color: var(--danger);
  display: grid;
  gap: 4px;
  padding: 10px;
}

.workflow-alert strong {
  font-size: 14px;
}

.workflow-alert p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.workflow-steps {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(128px, 1fr));
  overflow-x: auto;
  padding-bottom: 2px;
}

.workflow-step {
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  min-height: 104px;
  min-width: 128px;
  padding: 10px;
}

.workflow-step i {
  align-items: center;
  background: #e2e8f0;
  border-radius: 999px;
  color: #475569;
  display: inline-flex;
  flex: 0 0 24px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.workflow-step div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.workflow-step strong {
  font-size: 13px;
  line-height: 1.35;
}

.workflow-step span,
.workflow-step em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.workflow-step.done {
  background: #ecfdf3;
  border-color: #abefc6;
}

.workflow-step.done i {
  background: var(--ok);
  color: #ffffff;
}

.workflow-step.current {
  background: #e0f2fe;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.workflow-step.current i {
  background: #0284c7;
  color: #ffffff;
}

.workflow-step.blocked {
  background: #fff7ed;
  border-color: #fdba74;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.16);
}

.workflow-step.blocked i {
  background: var(--warning);
  color: #ffffff;
}

.item-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.item-title-row {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.item-box h3 {
  font-size: 16px;
  line-height: 1.35;
  margin: 0;
}

.item-required {
  background: #ecfdf3;
  border-radius: 999px;
  color: var(--ok);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
}

.standard-card {
  background: #ffffff;
  border: 1px solid #cdd7e3;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  padding: 10px;
}

.standard-card span,
.option-guidance strong,
.evidence-rule strong {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
}

.standard-card strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.standard-card p,
.option-guidance p,
.evidence-rule p,
.evidence-rule span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.standard-text {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 10px;
}

.field {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.option-buttons {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.option-button {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  display: grid;
  gap: 4px;
  min-height: 62px;
  padding: 10px;
  text-align: left;
}

.option-button strong {
  font-size: 14px;
  line-height: 1.35;
}

.option-button span {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.option-button:hover,
.option-button.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.option-button.active {
  background: #edf7f5;
}

.option-button.severity-yellow.active {
  background: #fffaeb;
  border-color: var(--warning);
}

.option-button.severity-orange.active {
  background: #fff7ed;
  border-color: var(--orange);
}

.option-button.severity-red.active {
  background: #fef3f2;
  border-color: var(--danger);
}

.option-guidance,
.evidence-box {
  background: #ffffff;
  border: 1px dashed #b8c4d4;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding: 10px;
}

.muted-guidance {
  background: #f8fafc;
}

.field textarea {
  min-height: 74px;
  resize: vertical;
}

.evidence-box {
  border-style: solid;
}

.evidence-rule {
  display: grid;
  gap: 4px;
}

.evidence-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.evidence-actions .button {
  min-height: 36px;
}

.evidence-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
}

.evidence-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.evidence-chip {
  background: #eef2ff;
  border-radius: 999px;
  color: #3538cd;
  display: inline-flex;
  font-size: 12px;
  padding: 5px 8px;
}

.evidence-card {
  background: #f8fbfd;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  cursor: zoom-in;
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

.evidence-media-card img,
.evidence-media-card video {
  aspect-ratio: 1 / 1;
  background: #e9f2f8;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.evidence-media-card video {
  cursor: pointer;
}

.evidence-card figcaption {
  display: grid;
  gap: 4px;
  padding: 8px;
}

.evidence-card figcaption span {
  color: #25313d;
  display: block;
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-card figcaption em {
  color: #8a96a3;
  font-size: 11px;
  font-style: normal;
}

.evidence-record-card {
  align-content: start;
  display: grid;
  min-height: 126px;
}

.evidence-record-icon {
  align-items: center;
  background: #eef6fb;
  color: #24647f;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 82px;
}

.evidence-viewer {
  background: rgba(0, 0, 0, 0.94);
  color: #fff;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  inset: 0;
  position: fixed;
  z-index: 40;
}

.evidence-viewer-toolbar,
.evidence-viewer-actions {
  align-items: center;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.evidence-viewer-toolbar {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.evidence-viewer-toolbar div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.evidence-viewer-toolbar strong {
  display: block;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-viewer-toolbar span,
.evidence-viewer-actions p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.evidence-viewer-stage {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 0;
  overflow: auto;
  padding: 8px 12px;
}

.evidence-viewer-image,
.evidence-viewer-video,
.evidence-annotation-canvas {
  border-radius: 8px;
  max-height: 100%;
  max-width: 100%;
}

.evidence-annotation-canvas {
  background: #111;
  cursor: crosshair;
  touch-action: none;
}

.evidence-viewer-record {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  padding: 24px;
}

.evidence-viewer-actions {
  background: rgba(16, 24, 32, 0.92);
  grid-template-columns: auto auto minmax(0, 1fr);
}

.evidence-viewer-actions .button,
.evidence-viewer-toolbar .button {
  min-height: 36px;
}

.evidence-empty {
  color: var(--muted);
  font-size: 12px;
}

.actions {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
}

.button {
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: white;
  cursor: pointer;
  min-height: 40px;
  padding: 8px 12px;
}

.button:hover {
  background: var(--accent-strong);
}

.button.secondary {
  background: #233044;
  border-color: #233044;
}

.button.warning {
  background: var(--warning);
  border-color: var(--warning);
}

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

.button.ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.hidden {
  display: none !important;
}

.notice {
  border-radius: 8px;
  margin-top: 12px;
  padding: 10px 12px;
}

.notice.error {
  background: #fef3f2;
  color: var(--danger);
}

.notice.ok {
  background: #ecfdf3;
  color: var(--ok);
}

.admin-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.admin-block h3 {
  font-size: 15px;
  margin: 0 0 8px;
}

.admin-block p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 10px;
}

@media (max-width: 860px) {
  .topbar {
    align-items: center;
    flex-direction: row;
  }

  .topbar h1 {
    font-size: 20px;
  }

  .operator-context {
    min-width: 104px;
  }

  .operator-context span {
    display: none;
  }

  .summary-strip {
    display: flex;
    gap: 8px;
    margin: 0 -10px 10px;
    overflow-x: auto;
    padding: 0 10px 4px;
    scrollbar-width: none;
  }

  .summary-strip::-webkit-scrollbar {
    display: none;
  }

  .summary-item {
    flex: 0 0 104px;
    min-height: 58px;
    padding: 9px 10px;
  }

  .summary-item span {
    margin-bottom: 5px;
  }

  .summary-item strong {
    font-size: 20px;
  }

  .tabs {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 10px 10px 0 0;
    border-width: 1px 0 0;
    bottom: 0;
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.12);
    display: grid;
    gap: 2px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    left: 0;
    margin: 0;
    overflow: visible;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 10;
  }

  .tab {
    font-size: 12px;
    min-height: 42px;
    padding: 7px 4px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-grid:not(.detail-mode):not(.admin-mode) .detail-panel {
    display: none;
  }

  .content-grid.detail-mode .primary-panel,
  .workspace.mobile-detail-mode > .tabs,
  .workspace.mobile-detail-mode > .summary-strip {
    display: none;
  }

  .task-list {
    max-height: none;
    padding: 10px;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }

  .workflow-summary {
    grid-template-columns: 1fr;
  }

  .workflow-steps {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
  }

  .workspace {
    padding-bottom: 88px;
  }

  .detail-panel {
    min-height: 0;
  }

  .audit-context {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .content-grid.admin-mode .detail-back {
    display: none;
  }

  .empty-state {
    padding: 22px;
  }

  .actions {
    background: rgba(255, 255, 255, 0.96);
    bottom: 58px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);
    margin-left: -4px;
    margin-right: -4px;
    padding: 8px;
    position: sticky;
  }

  .actions .button {
    flex: 1 1 42%;
  }

  .workspace.mobile-detail-mode .actions {
    bottom: 0;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 10px 12px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .operator-context strong {
    max-width: 110px;
  }

  .account-entry {
    min-height: 26px;
    padding: 3px 8px;
  }

  .account-card {
    max-height: 86vh;
    overflow: hidden;
  }

  .account-list {
    max-height: 42vh;
  }

  .workspace {
    padding-left: 10px;
    padding-right: 10px;
  }

  .panel-heading,
  .task-detail {
    padding: 12px;
  }

  .panel-heading h2 {
    font-size: 17px;
  }

  .task-card {
    min-height: 100px;
  }

  .option-buttons {
    grid-template-columns: 1fr;
  }

  .option-button {
    min-height: 56px;
  }
}

/* Mobile app visual refresh: Douyin Life baseline + Japanese spacing */
:root {
  --bg: #f4f9fc;
  --surface: #ffffff;
  --surface-strong: #f7fbfd;
  --line: #e8eef3;
  --text: #111827;
  --muted: #7a8794;
  --accent: #12a7e8;
  --accent-strong: #0787c7;
  --accent-soft: #e9f8ff;
  --mint: #44d38a;
  --amber-soft: #fff8e8;
  --danger: #e0443e;
  --warning: #ed9b25;
  --orange: #f06b2f;
  --ok: #28a75a;
  --shadow: 0 10px 28px rgba(49, 80, 112, 0.08);
  --shadow-soft: 0 8px 20px rgba(46, 109, 150, 0.06);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

body {
  background:
    radial-gradient(circle at 20% 0%, rgba(169, 233, 252, 0.55), transparent 28rem),
    linear-gradient(180deg, #eefbff 0%, #f7fbfd 28%, #f5f7fa 100%);
  min-width: 320px;
}

.app-shell {
  background: transparent;
}

.topbar {
  background: linear-gradient(135deg, rgba(221, 249, 255, 0.96), rgba(247, 252, 255, 0.92));
  border: 0;
  box-shadow: none;
  padding-top: 18px;
}

.topbar h1 {
  color: #17202a;
  font-size: clamp(23px, 4vw, 32px);
  font-weight: 650;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 11px;
}

.operator-context {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
  padding: 6px 8px 6px 12px;
}

.operator-context span {
  display: none;
}

.operator-context strong {
  color: #25313d;
  font-size: 12px;
  max-width: 150px;
}

.account-entry {
  background: #fff;
  border: 0;
  box-shadow: 0 4px 12px rgba(49, 80, 112, 0.08);
  color: #25313d;
}

.workspace {
  max-width: 1180px;
  padding-top: 8px;
}

.summary-strip {
  gap: 12px;
}

.summary-item {
  background: rgba(255, 255, 255, 0.88);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  min-height: 76px;
  padding: 12px 14px;
}

.summary-item span {
  color: #7a8794;
  font-size: 12px;
  margin-bottom: 10px;
}

.summary-item strong {
  color: #101828;
  font-size: 26px;
  font-weight: 750;
}

.summary-item:nth-child(1) strong,
.summary-item:nth-child(3) strong {
  color: var(--accent-strong);
}

.summary-item:nth-child(5) strong {
  color: var(--danger);
}

.tabs {
  background: transparent;
  border: 0;
  gap: 10px;
  padding: 0;
}

.tab {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  color: #5d6976;
  font-weight: 550;
}

.tab.active {
  background: #fff;
  border-color: rgba(18, 167, 232, 0.35);
  box-shadow: 0 6px 18px rgba(18, 167, 232, 0.12);
  color: var(--accent-strong);
}

.panel {
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-heading {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: #f0f3f6;
  padding: 16px 18px 14px;
}

.panel-heading h2 {
  color: #141a21;
  font-size: 20px;
  font-weight: 700;
}

.task-list {
  background: #f7fbfd;
  gap: 10px;
  padding: 12px;
}

.task-card {
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  gap: 9px;
  min-height: 116px;
  padding: 14px 42px 14px 14px;
  position: relative;
}

.task-card::after {
  color: #b5c0ca;
  content: "›";
  font-size: 28px;
  line-height: 1;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.task-card:hover,
.task-card.active {
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(18, 167, 232, 0.14);
  outline: 1px solid rgba(18, 167, 232, 0.25);
}

.task-name {
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.task-meta,
.task-footer {
  color: #7a8794;
  font-size: 12px;
}

.task-footer {
  border-top: 1px solid #f0f3f6;
  padding-top: 8px;
}

.status-pill {
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  padding: 5px 9px;
}

.status-pill.red,
.severity-red {
  background: #fff0ee;
  color: var(--danger);
}

.status-pill.orange,
.severity-orange {
  background: #fff5ec;
  color: var(--orange);
}

.status-pill.yellow,
.severity-yellow {
  background: #fff8e6;
  color: var(--warning);
}

.empty-state {
  color: #9aa5b1;
  min-height: 280px;
  padding: 56px 24px;
  text-align: center;
}

.empty-state h2 {
  color: #7a8794;
  font-size: 18px;
  font-weight: 550;
}

.detail-panel {
  background: rgba(255, 255, 255, 0.96);
}

.task-detail {
  background: #f7fbfd;
  padding: 14px;
}

.detail-header {
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 15px;
}

.detail-header h2 {
  color: #111827;
  font-size: 21px;
  font-weight: 750;
}

.meta-grid {
  gap: 8px;
}

.meta-grid div,
.item-box,
.admin-block {
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.meta-grid div {
  background: #f8fbfd;
  box-shadow: none;
}

.meta-grid span,
.field span {
  color: #8a96a3;
}

.meta-grid strong {
  color: #1f2933;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.audit-context {
  background: linear-gradient(135deg, #fff8e8, #ffffff);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 12px;
}

.audit-context strong {
  color: #c97812;
}

.audit-context p,
.audit-context span {
  color: #7b5a25;
}

.item-list {
  gap: 12px;
}

.item-box {
  padding: 14px;
}

.item-box h3 {
  color: #111827;
  font-size: 16px;
  font-weight: 700;
}

.item-required {
  background: #eefbf4;
  color: var(--ok);
}

.standard-card,
.option-guidance,
.evidence-box {
  border-color: #edf2f7;
  border-radius: 8px;
}

.standard-card {
  background: #f8fbfd;
}

.option-buttons {
  gap: 8px;
}

.option-button {
  border-color: #edf2f7;
  border-radius: 8px;
  min-height: 58px;
}

.option-button:hover,
.option-button.active {
  box-shadow: 0 0 0 3px rgba(18, 167, 232, 0.12);
}

.button {
  background: var(--accent);
  border-color: var(--accent);
  border-radius: 8px;
  font-weight: 650;
  min-height: 42px;
}

.button:hover {
  background: var(--accent-strong);
}

.button.secondary {
  background: #26384a;
  border-color: #26384a;
}

.button.ghost {
  border-color: #d7e8f2;
  color: #24647f;
}

.account-card {
  border: 0;
  border-radius: 8px 8px 0 0;
}

.account-option {
  border-radius: 8px;
}

.notice {
  border-radius: 8px;
}

@media (max-width: 860px) {
  body {
    background:
      linear-gradient(160deg, rgba(200, 244, 255, 0.72), rgba(255, 255, 255, 0.18) 38%),
      #f6fafc;
  }

  .topbar {
    align-items: flex-start;
    border: 0;
    padding: 22px 18px 16px;
  }

  .topbar h1 {
    font-size: 28px;
    line-height: 1.15;
  }

  .brand-block .eyebrow {
    margin-bottom: 8px;
  }

  .operator-context {
    margin-top: 2px;
    max-width: 142px;
  }

  .operator-context strong {
    display: none;
  }

  .account-entry {
    min-height: 32px;
    padding: 5px 12px;
  }

  .workspace {
    padding: 0 14px 92px;
  }

  .summary-strip {
    gap: 10px;
    margin: 0 -14px 14px;
    padding: 0 14px 5px;
  }

  .summary-item {
    flex-basis: 112px;
    min-height: 68px;
    padding: 11px 12px;
  }

  .summary-item strong {
    font-size: 23px;
  }

  .tabs {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -10px 30px rgba(38, 56, 74, 0.13);
    gap: 0;
    padding: 6px 8px calc(7px + env(safe-area-inset-bottom));
  }

  .tab {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #7a8794;
    font-size: 12px;
    min-height: 44px;
    position: relative;
  }

  .tab.active {
    background: transparent;
    box-shadow: none;
    color: var(--accent-strong);
  }

  .tab.active::after {
    background: var(--accent);
    border-radius: 999px;
    bottom: 3px;
    content: "";
    height: 3px;
    left: 32%;
    position: absolute;
    right: 32%;
  }

  .content-grid {
    gap: 0;
  }

  .panel {
    background: transparent;
    box-shadow: none;
  }

  .panel-heading {
    background: transparent;
    border: 0;
    padding: 4px 2px 12px;
  }

  .panel-heading h2 {
    font-size: 22px;
  }

  .panel-heading .button {
    background: #fff;
    border-color: #e8eef3;
    box-shadow: var(--shadow-soft);
    color: #25313d;
    min-height: 34px;
    padding: 6px 10px;
  }

  .task-list {
    background: transparent;
    gap: 12px;
    padding: 0 0 8px;
  }

  .task-card {
    min-height: 118px;
    padding: 14px 42px 14px 14px;
  }

  .status-pill {
    justify-self: start;
  }

  .detail-panel {
    background: transparent;
  }

  .detail-back {
    background: rgba(255, 255, 255, 0.9);
    border: 0;
    box-shadow: var(--shadow-soft);
    margin: 0 0 12px;
    width: 100%;
  }

  .task-detail {
    background: transparent;
    padding: 0 0 12px;
  }

  .detail-header {
    margin-bottom: 12px;
  }

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

  .meta-grid div {
    min-height: 58px;
    padding: 9px 10px;
  }

  .meta-grid strong {
    font-size: 13px;
  }

  .audit-context {
    margin: 0 0 12px;
  }

  .actions {
    background: rgba(255, 255, 255, 0.97);
    border: 0;
    border-radius: 8px;
    bottom: 62px;
    box-shadow: 0 -10px 30px rgba(38, 56, 74, 0.12);
  }

  .workspace.mobile-detail-mode .actions {
    bottom: 10px;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .topbar h1 {
    font-size: 27px;
  }

  .workspace {
    padding-left: 12px;
    padding-right: 12px;
  }

  .summary-strip {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .panel-heading h2 {
    font-size: 21px;
  }

  .task-name {
    font-size: 16px;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }

  .detail-header h2 {
    font-size: 20px;
  }

  .item-box {
    padding: 13px;
  }

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

  .evidence-viewer-toolbar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .evidence-viewer-toolbar #saveAnnotationButton {
    grid-column: 1 / -1;
  }

  .evidence-viewer-actions {
    grid-template-columns: 1fr 1fr;
  }

  .evidence-viewer-actions p {
    grid-column: 1 / -1;
  }
}

/* Final mobile navigation lock: keep this at the end. */
.workspace {
  padding-bottom: 106px !important;
}

.workspace.mobile-detail-mode {
  padding-bottom: 0 !important;
}

.tabs {
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  bottom: 0 !important;
  box-shadow: 0 -10px 24px rgba(18, 23, 33, 0.08) !important;
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  left: 50% !important;
  margin: 0 !important;
  max-width: 480px !important;
  overflow: visible !important;
  padding: 7px 4px calc(7px + env(safe-area-inset-bottom)) !important;
  position: fixed !important;
  right: auto !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  z-index: 60 !important;
}

.tab {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #737982 !important;
  display: grid !important;
  flex: none !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  gap: 3px !important;
  justify-items: center !important;
  min-height: 48px !important;
  min-width: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

.tab.active {
  color: var(--orange) !important;
}

.tab::before {
  align-items: center !important;
  border-radius: 13px !important;
  display: inline-flex !important;
  font-size: 16px !important;
  height: 24px !important;
  justify-content: center !important;
  width: 24px !important;
}

.tab.active::before {
  background: var(--orange) !important;
  color: #fff !important;
}

.task-list {
  padding-bottom: 28px !important;
}

/* Functional Didi-style skin: keep original modules, only restyle them. */
body {
  background: #eefbff !important;
}

.app-shell {
  background: linear-gradient(180deg, #eafcff 0, #f7f8fa 360px, #f7f8fa 100%) !important;
  max-width: 480px !important;
}

.topbar {
  align-items: center !important;
  background: rgba(238, 253, 255, 0.96) !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  gap: 12px !important;
  justify-content: space-between !important;
  padding: 18px 18px 12px !important;
}

.brand-block {
  display: block !important;
  min-width: 0 !important;
}

.brand-block .eyebrow {
  color: #ff6a31 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  margin: 0 0 4px !important;
}

.topbar h1 {
  color: #111827 !important;
  font-size: 24px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

.operator-context {
  align-items: end !important;
  display: grid !important;
  gap: 4px !important;
  justify-items: end !important;
  min-width: 96px !important;
}

.operator-context > span {
  color: #8a9099 !important;
  display: block !important;
  font-size: 11px !important;
}

.operator-context strong {
  color: #111827 !important;
  font-size: 12px !important;
  max-width: 118px !important;
}

.account-entry {
  background: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 20px rgba(18, 23, 33, 0.08) !important;
  color: #111827 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  min-height: 34px !important;
  padding: 0 12px !important;
}

.workspace {
  padding: 0 12px 106px !important;
}

.summary-strip {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(5, minmax(82px, 1fr)) !important;
  margin: 4px -2px 14px !important;
  overflow-x: auto !important;
  padding: 0 2px 2px !important;
}

.summary-item {
  background: #fff !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 24px rgba(18, 23, 33, 0.05) !important;
  min-height: 70px !important;
  padding: 11px 10px !important;
  text-align: center !important;
}

.summary-item span {
  color: #8a9099 !important;
  font-size: 12px !important;
  margin-bottom: 8px !important;
}

.summary-item strong {
  color: #0787c9 !important;
  font-size: 24px !important;
  font-weight: 950 !important;
}

.panel-heading {
  background: transparent !important;
  border: 0 !important;
  padding: 12px 2px 12px !important;
}

.panel-heading .eyebrow {
  color: #0787c9 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.panel-heading h2 {
  color: #111827 !important;
  font-size: 24px !important;
  font-weight: 950 !important;
}

.panel-heading .button {
  background: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 20px rgba(18, 23, 33, 0.08) !important;
  color: #ff6433 !important;
  min-height: 34px !important;
  padding: 0 14px !important;
}

.content-grid {
  display: block !important;
}

.panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.task-list {
  display: grid !important;
  gap: 12px !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 0 28px !important;
}

.task-card {
  background: #fff !important;
  border: 1px solid #eff1f4 !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(18, 23, 33, 0.06) !important;
  display: grid !important;
  gap: 9px !important;
  min-height: 132px !important;
  overflow: hidden !important;
  padding: 16px 42px 16px 16px !important;
  position: relative !important;
}

.task-card::after {
  color: #c0c6cf !important;
  content: "›" !important;
  font-size: 34px !important;
  font-weight: 400 !important;
  position: absolute !important;
  right: 17px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.task-card:hover,
.task-card.active {
  border-color: rgba(25, 199, 121, 0.42) !important;
  box-shadow: 0 12px 30px rgba(18, 23, 33, 0.09) !important;
}

.task-name {
  color: #111827 !important;
  font-size: 17px !important;
  font-weight: 950 !important;
  line-height: 1.35 !important;
  padding-right: 76px !important;
}

.task-meta,
.task-footer {
  color: #7e8793 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.task-footer {
  border-top: 1px solid #f1f2f5 !important;
  margin-top: 4px !important;
  padding-top: 10px !important;
}

.status-pill {
  background: #fff3ec !important;
  border-radius: 999px !important;
  color: #f0642f !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  padding: 5px 9px !important;
}

.status-pill.red,
.severity-red {
  background: #fff1ee !important;
  color: #e3492e !important;
}

.status-pill.orange,
.severity-orange,
.status-pill.yellow,
.severity-yellow {
  background: #fff3ec !important;
  color: #f0642f !important;
}

.detail-panel {
  background: #fff !important;
  border-radius: 20px 20px 0 0 !important;
}

.button {
  background: #ff6433 !important;
  border-color: #ff6433 !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-weight: 900 !important;
}

.button.secondary,
.button.ghost {
  background: #fff !important;
  border-color: #eef0f4 !important;
  color: #384150 !important;
}

/* Scroll + bottom navigation icon fix */
html,
body {
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.app-shell {
  min-height: 100vh !important;
  overflow: visible !important;
}

.content-grid.detail-mode .detail-panel {
  bottom: 0 !important;
  left: 50% !important;
  max-width: 480px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding-bottom: 94px !important;
  right: auto !important;
  top: 0 !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  -webkit-overflow-scrolling: touch !important;
}

.workspace.mobile-detail-mode > .tabs {
  display: grid !important;
}

.task-detail {
  padding-bottom: 118px !important;
}

.task-card::after {
  content: "›" !important;
}

.tabs {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border-radius: 18px 18px 0 0 !important;
  border-top: 1px solid #eef0f4 !important;
  box-shadow: 0 -12px 30px rgba(18, 23, 33, 0.10) !important;
  height: auto !important;
  padding-top: 9px !important;
}

.tab {
  color: #737982 !important;
  line-height: 1 !important;
}

.tab::before {
  background-color: currentColor !important;
  border-radius: 0 !important;
  content: "" !important;
  display: block !important;
  height: 24px !important;
  mask-position: center !important;
  mask-repeat: no-repeat !important;
  mask-size: 23px 23px !important;
  width: 24px !important;
  -webkit-mask-position: center !important;
  -webkit-mask-repeat: no-repeat !important;
  -webkit-mask-size: 23px 23px !important;
}

.tab.active {
  color: #ff6433 !important;
}

.tab.active::before {
  background-color: #ff6433 !important;
}

.tab[data-view="myTasks"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 10.8 12 3l9 7.8v9.7a.5.5 0 0 1-.5.5H15v-6H9v6H3.5a.5.5 0 0 1-.5-.5v-9.7Zm2 1v7.2h2v-6h10v6h2v-7.2l-7-6.1-7 6.1Z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 10.8 12 3l9 7.8v9.7a.5.5 0 0 1-.5.5H15v-6H9v6H3.5a.5.5 0 0 1-.5-.5v-9.7Zm2 1v7.2h2v-6h10v6h2v-7.2l-7-6.1-7 6.1Z'/%3E%3C/svg%3E") !important;
}

.tab[data-view="acceptance"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.2 16.7 4.8 12.3l1.4-1.4 3 3 8.6-8.6 1.4 1.4-10 10Z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.2 16.7 4.8 12.3l1.4-1.4 3 3 8.6-8.6 1.4 1.4-10 10Z'/%3E%3C/svg%3E") !important;
}

.tab[data-view="decision"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 4h2v11h-2V4Zm0 14h2v2h-2v-2Z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 4h2v11h-2V4Zm0 14h2v2h-2v-2Z'/%3E%3C/svg%3E") !important;
}

.tab[data-view="rectification"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.7 6.3A8 8 0 0 0 4.3 10H2l3.5 3.5L9 10H6.4a6 6 0 1 1 1.4 5.9l-1.4 1.4A8 8 0 1 0 17.7 6.3Z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.7 6.3A8 8 0 0 0 4.3 10H2l3.5 3.5L9 10H6.4a6 6 0 1 1 1.4 5.9l-1.4 1.4A8 8 0 1 0 17.7 6.3Z'/%3E%3C/svg%3E") !important;
}

.tab[data-view="notifications"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22a2.8 2.8 0 0 0 2.7-2h-5.4A2.8 2.8 0 0 0 12 22Zm7-5v1H5v-1l2-2.2V10a5 5 0 0 1 4-4.9V3h2v2.1A5 5 0 0 1 17 10v4.8l2 2.2Zm-4-1.8V10a3 3 0 0 0-6 0v5.2l-.7.8h7.4l-.7-.8Z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22a2.8 2.8 0 0 0 2.7-2h-5.4A2.8 2.8 0 0 0 12 22Zm7-5v1H5v-1l2-2.2V10a5 5 0 0 1 4-4.9V3h2v2.1A5 5 0 0 1 17 10v4.8l2 2.2Zm-4-1.8V10a3 3 0 0 0-6 0v5.2l-.7.8h7.4l-.7-.8Z'/%3E%3C/svg%3E") !important;
}

.tab[data-view="admin"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6h16v2H4V6Zm0 5h16v2H4v-2Zm0 5h16v2H4v-2Z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6h16v2H4V6Zm0 5h16v2H4v-2Zm0 5h16v2H4v-2Z'/%3E%3C/svg%3E") !important;
}

/* Status color system: inspection conclusions and task workflow labels */
.option-buttons {
  gap: 10px !important;
}

.option-button {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid #edf0f4 !important;
  border-radius: 13px !important;
  display: grid !important;
  gap: 3px !important;
  min-height: 72px !important;
  padding: 13px 14px 13px 46px !important;
  position: relative !important;
  text-align: left !important;
}

.option-button::before {
  border-radius: 999px !important;
  content: "" !important;
  height: 16px !important;
  left: 16px !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 16px !important;
}

.option-button strong {
  color: #101828 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.option-button span {
  color: #8a94a3 !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}

.option-button.traffic-green::before {
  background: #18c36e !important;
  box-shadow: 0 0 0 5px rgba(24, 195, 110, 0.13) !important;
}

.option-button.traffic-yellow::before {
  background: #ffb020 !important;
  box-shadow: 0 0 0 5px rgba(255, 176, 32, 0.15) !important;
}

.option-button.traffic-red::before {
  background: #ef4444 !important;
  box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.13) !important;
}

.option-button.traffic-green.active {
  background: #ecfff5 !important;
  border-color: rgba(24, 195, 110, 0.62) !important;
}

.option-button.traffic-yellow.active {
  background: #fff8e8 !important;
  border-color: rgba(255, 176, 32, 0.68) !important;
}

.option-button.traffic-red.active {
  background: #fff1f1 !important;
  border-color: rgba(239, 68, 68, 0.62) !important;
}

.option-button.traffic-green.active strong,
.option-button.traffic-green.active span {
  color: #087744 !important;
}

.option-button.traffic-yellow.active strong,
.option-button.traffic-yellow.active span {
  color: #b45309 !important;
}

.option-button.traffic-red.active strong,
.option-button.traffic-red.active span {
  color: #b42318 !important;
}

.status-pill {
  align-items: center !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  gap: 5px !important;
  line-height: 1 !important;
  padding: 6px 10px !important;
  white-space: nowrap !important;
}

.status-pill::before {
  background: currentColor !important;
  border-radius: 999px !important;
  content: "" !important;
  height: 6px !important;
  width: 6px !important;
}

.status-pill.task-status-pending {
  background: #edf7ff !important;
  color: #1677c8 !important;
}

.status-pill.task-status-in_progress {
  background: #ecfff5 !important;
  color: #0b9f5b !important;
}

.status-pill.task-status-submitted,
.status-pill.task-status-accepted {
  background: #fff7e8 !important;
  color: #d97706 !important;
}

.status-pill.task-status-pending_decision {
  background: #f0f4ff !important;
  color: #4f46e5 !important;
}

.status-pill.task-status-rejected {
  background: #fff8e8 !important;
  color: #b45309 !important;
}

.status-pill.task-status-overdue {
  background: #fff1ee !important;
  color: #e3492e !important;
}

.status-pill.task-status-red_escalate {
  background: #ffe8e8 !important;
  color: #b42318 !important;
}

.status-pill.task-status-rectification {
  background: #fff3ec !important;
  color: #f0642f !important;
}

.status-pill.task-status-coaching {
  background: #f0fdf4 !important;
  color: #15803d !important;
}

.status-pill.task-status-closed {
  background: #f2f4f7 !important;
  color: #667085 !important;
}

/* Detail actions should not cover inspection options. Keep them in normal flow. */
.task-detail > .actions,
.workspace.mobile-detail-mode .task-detail > .actions {
  background: #fff !important;
  border: 1px solid #eef0f4 !important;
  border-radius: 16px !important;
  bottom: auto !important;
  box-shadow: 0 8px 24px rgba(18, 23, 33, 0.06) !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin: 18px 0 0 !important;
  padding: 12px !important;
  position: static !important;
  z-index: auto !important;
}

.task-detail > .actions .button {
  min-height: 48px !important;
  width: 100% !important;
}

/* Bottom navigation illustrated icons, inspired by Didi's rounded service icon style. */
.tabs .tab::before {
  background-color: transparent !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 30px 30px !important;
  border-radius: 0 !important;
  content: "" !important;
  display: block !important;
  height: 32px !important;
  margin-bottom: 1px !important;
  mask-image: none !important;
  opacity: 0.78 !important;
  transform: translateY(0) !important;
  transition: opacity 0.16s ease, transform 0.16s ease !important;
  width: 32px !important;
  -webkit-mask-image: none !important;
}

.tabs .tab.active::before {
  background-color: transparent !important;
  opacity: 1 !important;
  transform: translateY(-1px) scale(1.04) !important;
}

.tabs .tab[data-view="myTasks"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='9' width='28' height='32' rx='9' fill='%23ff7043'/%3E%3Crect x='15' y='16' width='18' height='4' rx='2' fill='%23fff1df'/%3E%3Crect x='15' y='24' width='14' height='4' rx='2' fill='%23fff1df'/%3E%3Ccircle cx='35' cy='34' r='8' fill='%232fd36f'/%3E%3Cpath d='M31.5 34.3l2.2 2.2 4.7-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.tabs .tab[data-view="acceptance"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 6l17 7v12c0 10-7 16-17 19C14 41 7 35 7 25V13l17-7z' fill='%2337a9ff'/%3E%3Cpath d='M16 25l5 5 11-12' fill='none' stroke='white' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='36' cy='13' r='5' fill='%23ffb21f'/%3E%3C/svg%3E") !important;
}

.tabs .tab[data-view="decision"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='8' width='28' height='32' rx='9' fill='%23ff8a3d'/%3E%3Cpath d='M24 15v12' stroke='white' stroke-width='5' stroke-linecap='round'/%3E%3Ccircle cx='24' cy='34' r='3' fill='white'/%3E%3Cpath d='M35 9l5 5-5 5-5-5 5-5z' fill='%232fd36f'/%3E%3C/svg%3E") !important;
}

.tabs .tab[data-view="rectification"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='24' cy='24' r='17' fill='%232fd36f'/%3E%3Cpath d='M17 20a9 9 0 0 1 14-3l2 2' fill='none' stroke='white' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M35 14v8h-8' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M31 29l6 6' stroke='%23ffb21f' stroke-width='5' stroke-linecap='round'/%3E%3Ccircle cx='28' cy='26' r='4' fill='%23fff1df'/%3E%3C/svg%3E") !important;
}

.tabs .tab[data-view="notifications"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 23c0-8 4-13 10-13s10 5 10 13v8l4 5H10l4-5v-8z' fill='%2337a9ff'/%3E%3Cpath d='M20 38a5 5 0 0 0 8 0' fill='none' stroke='%236b7280' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='34' cy='13' r='7' fill='%23ff6433'/%3E%3Ccircle cx='34' cy='13' r='3' fill='white'/%3E%3C/svg%3E") !important;
}

.tabs .tab[data-view="admin"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='8' y='10' width='32' height='28' rx='9' fill='%232fb8c6'/%3E%3Cpath d='M16 19h16M16 28h16' stroke='white' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='21' cy='19' r='4' fill='%23ffb21f'/%3E%3Ccircle cx='29' cy='28' r='4' fill='%23ff7043'/%3E%3C/svg%3E") !important;
}

/* Account switcher: role filters and mobile-safe scrolling. */
.account-panel {
  z-index: 220 !important;
}

.account-card {
  border-radius: 20px 20px 0 0 !important;
  bottom: 0 !important;
  box-shadow: 0 -18px 42px rgba(18, 23, 33, 0.20) !important;
  gap: 14px !important;
  max-height: calc(100dvh - 18px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 18px 16px calc(22px + env(safe-area-inset-bottom)) !important;
  -webkit-overflow-scrolling: touch !important;
}

.account-card .field {
  gap: 8px !important;
}

.account-role-filters {
  display: flex !important;
  gap: 8px !important;
  margin: 2px -2px 0 !important;
  overflow-x: auto !important;
  padding: 0 2px 4px !important;
  scrollbar-width: none !important;
}

.account-role-filters::-webkit-scrollbar {
  display: none !important;
}

.account-role-chip {
  align-items: center !important;
  background: #f5f8fb !important;
  border: 1px solid #e5edf4 !important;
  border-radius: 999px !important;
  color: #667085 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  gap: 5px !important;
  min-height: 34px !important;
  padding: 0 12px !important;
}

.account-role-chip span {
  align-items: center !important;
  background: rgba(102, 112, 133, 0.10) !important;
  border-radius: 999px !important;
  color: inherit !important;
  display: inline-flex !important;
  font-size: 11px !important;
  height: 18px !important;
  justify-content: center !important;
  min-width: 18px !important;
  padding: 0 5px !important;
}

.account-role-chip.active {
  background: #fff3ec !important;
  border-color: rgba(255, 100, 51, 0.42) !important;
  color: #f0642f !important;
}

.account-list {
  max-height: min(38dvh, 320px) !important;
  overscroll-behavior: contain !important;
}

.account-option {
  border-radius: 12px !important;
  min-height: 62px !important;
}

.account-option.active {
  background: #effaf7 !important;
  border-color: #19b9e6 !important;
}

#loginButton {
  min-height: 50px !important;
}

@media (max-height: 720px) {
  .account-card {
    max-height: calc(100dvh - 8px) !important;
  }

  .account-list {
    max-height: 30dvh !important;
  }
}
