:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #111827;
  --muted: #667085;
  --line: #d8e3f2;
  --blue: #1f6fd1;
  --blue-strong: #1558a8;
  --blue-soft: #eef6ff;
  --green: #087443;
  --orange: #b54708;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

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

button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--blue-strong);
  padding: 0 14px;
  font-weight: 750;
  cursor: pointer;
}

button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

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

.hidden {
  display: none !important;
}

.client-app {
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

.brand {
  color: var(--blue-strong);
  font-size: 14px;
  font-weight: 850;
}

.login-view {
  min-height: calc(100vh - 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: center;
}

.login-copy h1 {
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.login-copy p {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.login-card,
.page-card,
.main-panel,
.side-panel > section,
.portal-tabs {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.login-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
}

input,
select {
  min-height: 40px;
  padding: 0 10px;
}

textarea {
  padding: 10px;
  resize: vertical;
}

input[type="file"] {
  padding: 8px 10px;
}

.form-message {
  min-height: 20px;
  color: var(--orange);
  font-size: 13px;
}

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.portal-header h1 {
  margin-top: 6px;
  font-size: 25px;
  line-height: 1.2;
}

.portal-header p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.customer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.customer-meta span,
.customer-meta em {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.customer-meta span {
  background: var(--blue-soft);
  color: var(--blue-strong);
}

.customer-meta em {
  background: #fff4e8;
  color: var(--orange);
}

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
  align-items: start;
}

.main-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.panel-heading {
  display: grid;
  gap: 8px;
}

.panel-heading span,
.section-title span,
.side-panel span,
.page-head p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.panel-heading h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.panel-heading p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.progress-rail {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.progress-step {
  position: relative;
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px 0 0;
  color: var(--muted);
}

.progress-step:not(:last-child)::after {
  content: "";
  width: 28px;
  height: 1px;
  margin-left: 10px;
  background: var(--line);
}

.progress-step b {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e6edf5;
  color: var(--muted);
  font-size: 12px;
}

.progress-step.done b {
  background: var(--green);
  color: #fff;
}

.progress-step.current b {
  background: var(--blue);
  color: #fff;
}

.progress-step span {
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.progress-step.current span {
  color: var(--blue-strong);
}

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

.section-title > div {
  display: grid;
  gap: 3px;
}

.section-title strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.next-action-body,
.folder-list,
.record-list,
.simple-list,
.material-checklist,
.confirm-list,
.cycle-grid {
  display: grid;
  gap: 10px;
}

.handoff-panel,
.tax-estimate-panel {
  display: grid;
  gap: 10px;
}

.secondary-home {
  display: none;
}

.handoff-panel {
  padding: 16px;
  border: 1px solid #b8d4f4;
  border-radius: 10px;
  background: #fff;
}

.handoff-panel .section-title {
  align-items: end;
}

.handoff-panel .primary {
  min-height: 42px;
  padding: 0 18px;
}

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

.handoff-summary div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.handoff-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.handoff-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  line-height: 1.15;
}

.handoff-summary p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.tax-estimate-panel {
  opacity: 0.82;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.handoff-table,
.tax-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13px;
}

.handoff-table th,
.handoff-table td,
.tax-table th,
.tax-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.handoff-table thead th,
.tax-table thead th {
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-size: 12px;
  font-weight: 850;
}

.handoff-table tbody th {
  width: 190px;
  font-weight: 850;
}

.handoff-table td:nth-child(2),
.handoff-table td:nth-child(3),
.handoff-table td:nth-child(4),
.tax-table td {
  font-variant-numeric: tabular-nums;
}

.handoff-table tbody tr:last-child th,
.handoff-table tbody tr:last-child td,
.tax-table tbody tr:last-child th,
.tax-table tbody tr:last-child td {
  border-bottom: 0;
}

.tax-table tbody th {
  font-weight: 850;
  background: #fbfdff;
}

.muted-row th,
.muted-row td {
  color: var(--muted);
  background: #fbfdff;
}

.trend {
  display: inline-flex;
  min-width: 56px;
  justify-content: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 850;
}

.trend.up {
  color: var(--green);
  background: #e9f8f0;
}

.trend.down {
  color: var(--orange);
  background: #fff4e8;
}

.empty-trend {
  color: var(--muted);
  background: #f3f6fa;
}

.table-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}

.table-actions button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.muted-value {
  color: var(--muted);
  font-weight: 650;
}

.action-card,
.folder-card,
.record-row,
.simple-row,
.material-row,
.confirm-row,
.cycle-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  padding: 14px;
}

.action-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-left: 4px solid var(--orange);
}

.action-card.clear {
  border-left-color: var(--green);
}

.action-card strong,
.folder-card strong,
.record-row strong,
.simple-row strong,
.material-row strong,
.confirm-row strong,
.cycle-card strong {
  display: block;
  line-height: 1.4;
}

.action-card p,
.folder-card p,
.record-row p,
.simple-row p,
.material-row p,
.confirm-row p,
.side-panel p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.folder-list {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.folder-card {
  display: grid;
  gap: 10px;
}

.folder-card span,
.record-row span,
.material-row span,
.cycle-card span {
  color: var(--blue-strong);
  font-size: 12px;
  font-weight: 850;
}

.confirm-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.confirm-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}

.cycle-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 14px;
}

.cycle-card {
  display: grid;
  gap: 8px;
  background: #fff;
}

.folder-card.needs-action {
  border-left: 4px solid var(--orange);
}

.folder-card.done {
  border-left: 4px solid var(--green);
}

.side-panel {
  display: grid;
  gap: 14px;
}

.side-panel > section {
  padding: 16px;
}

.advisor-box strong,
.status-box strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.status-facts {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.fact {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.fact:last-child {
  border-bottom: 0;
}

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

.fact strong {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.portal-tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 6px;
  margin: 14px 0;
  padding: 7px;
}

.portal-tabs button {
  min-height: 34px;
  border-color: transparent;
  color: var(--muted);
}

.portal-tabs button.active {
  background: var(--blue);
  color: #fff;
}

.tab-page {
  display: none;
}

.tab-page.active {
  display: block;
}

.page-card {
  padding: 18px;
}

.page-head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.page-head h2 {
  font-size: 22px;
}

.record-row,
.material-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.record-row a,
.material-row a {
  color: var(--blue-strong);
  font-weight: 800;
  text-decoration: none;
}

.upload-form {
  display: grid;
  grid-template-columns: 150px 180px minmax(240px, 1fr) minmax(180px, 0.8fr) auto;
  gap: 10px;
  align-items: end;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.upload-form h3 {
  grid-column: 1 / -1;
  font-size: 16px;
}

.upload-form .wide {
  min-width: 0;
}

.progress-detail {
  display: grid;
  gap: 12px;
}

.chat-log {
  min-height: 260px;
  max-height: 420px;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.bubble {
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.bubble.assistant {
  justify-self: start;
  background: #fff;
  border: 1px solid var(--line);
}

.bubble.customer {
  justify-self: end;
  background: var(--blue);
  color: #fff;
}

.question-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 12px;
}

.tax-confirm-form {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.empty {
  color: var(--muted);
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(18px);
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  max-width: min(520px, calc(100vw - 32px));
  border-radius: 8px;
  background: var(--blue-strong);
  color: #fff;
  padding: 12px 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 920px) {
  .client-app {
    width: min(100% - 24px, 680px);
    padding-top: 14px;
  }

  .login-view,
  .workbench {
    grid-template-columns: 1fr;
  }

  .portal-header {
    display: grid;
  }

  .section-title,
  .handoff-panel .section-title {
    align-items: stretch;
    display: grid;
  }

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

  .handoff-panel .primary {
    width: 100%;
  }

  .folder-list,
  .upload-form,
  .record-row,
  .material-row,
  .confirm-row,
  .action-card {
    grid-template-columns: 1fr;
  }

  .confirm-actions {
    justify-content: stretch;
    white-space: normal;
  }

  .confirm-actions button {
    flex: 1;
    min-width: 0;
  }

  .portal-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }

  .portal-tabs button {
    min-width: 0;
    padding: 0 8px;
  }

  .handoff-table,
  .tax-table {
    min-width: 620px;
  }

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

  .bubble {
    max-width: 92%;
  }
}

/* Premium customer portal skin */
:root {
  --bg: #f3f7fc;
  --surface: #ffffff;
  --surface-soft: #f7faff;
  --text: #101828;
  --muted: #64748b;
  --line: #d7e3f1;
  --blue: #1769d2;
  --blue-strong: #0f3f82;
  --blue-soft: #edf5ff;
  --green: #087f5b;
  --orange: #b45309;
  --shadow-soft: 0 18px 48px rgba(15, 48, 92, 0.09);
  --shadow-card: 0 10px 28px rgba(15, 48, 92, 0.07);
}

body {
  background:
    linear-gradient(180deg, #eaf3ff 0, #f7faff 260px, #f3f7fc 100%);
  color: var(--text);
  letter-spacing: 0;
}

button {
  min-height: 38px;
  border-radius: 10px;
  border-color: #cbd9ea;
  background: #fff;
  color: var(--blue-strong);
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

button:hover {
  border-color: #9db9dc;
  background: #f8fbff;
  box-shadow: 0 6px 16px rgba(15, 63, 130, 0.08);
}

button:active {
  transform: translateY(1px);
}

button.primary {
  border-color: var(--blue);
  background: linear-gradient(180deg, #1d74df 0, #145fc0 100%);
  box-shadow: 0 10px 22px rgba(23, 105, 210, 0.23);
}

input,
select,
textarea {
  border-radius: 10px;
  border-color: #d2dfef;
}

.client-app {
  width: min(1280px, calc(100vw - 36px));
  padding: 20px 0 56px;
}

.brand {
  color: var(--blue-strong);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.login-card,
.page-card,
.main-panel,
.side-panel > section,
.portal-tabs {
  border-color: rgba(161, 185, 214, 0.62);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

.portal-header {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(161, 185, 214, 0.56);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.portal-header h1 {
  margin-top: 7px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 850;
  line-height: 1.15;
}

.portal-header p {
  max-width: 760px;
  color: #53657d;
  font-size: 13px;
}

.customer-meta {
  gap: 8px;
}

.customer-meta span,
.customer-meta em {
  min-height: 28px;
  border: 1px solid rgba(169, 194, 224, 0.52);
  background: #f7fbff;
  color: #24496f;
  font-size: 12px;
  font-weight: 760;
}

.customer-meta em {
  border-color: #f1c78f;
  background: #fff8ed;
  color: var(--orange);
}

.workbench {
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 18px;
}

.main-panel {
  position: relative;
  gap: 20px;
  padding: 24px;
  overflow: hidden;
}

.main-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #0f3f82, #1769d2 52%, #49a3ff);
}

.panel-heading {
  gap: 9px;
  padding-top: 4px;
}

.panel-heading span,
.section-title span,
.side-panel span,
.page-head p {
  color: #64748b;
  font-size: 12px;
  font-weight: 820;
}

.panel-heading h2 {
  max-width: 760px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 870;
  letter-spacing: 0;
}

.panel-heading p {
  color: #52657e;
  font-size: 15px;
  line-height: 1.75;
}

.progress-rail {
  gap: 0;
  padding: 11px 12px;
  border-color: rgba(166, 190, 220, 0.58);
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff 0, #f4f8fd 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.progress-step {
  padding-right: 20px;
}

.progress-step:not(:last-child)::after {
  width: 32px;
  background: #cbd9ea;
}

.progress-step b {
  width: 25px;
  height: 25px;
  background: #e3ebf5;
  color: #6b7c93;
  font-weight: 850;
}

.progress-step.done b {
  background: #0f8b64;
}

.progress-step.current b {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 210, 0.13);
}

.progress-step span {
  font-size: 12px;
  font-weight: 840;
}

.handoff-panel {
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(125, 170, 224, 0.7);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 255, 0.98));
  box-shadow: 0 18px 42px rgba(19, 81, 158, 0.1);
}

.handoff-panel .section-title {
  margin-bottom: 0;
  align-items: center;
}

.section-title strong {
  color: #122033;
  font-size: 16px;
  font-weight: 860;
}

.handoff-panel .primary {
  min-height: 44px;
  border-radius: 12px;
  padding: 0 20px;
}

.handoff-summary {
  gap: 12px;
}

.handoff-summary div {
  position: relative;
  min-height: 100px;
  padding: 14px 14px 13px;
  border-color: rgba(178, 198, 222, 0.72);
  border-radius: 14px;
  background: #f8fbff;
  overflow: hidden;
}

.handoff-summary div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
}

.handoff-summary span {
  color: #607086;
  font-size: 12px;
}

.handoff-summary strong {
  margin-top: 8px;
  color: #0f3f82;
  font-size: 26px;
}

.handoff-summary p {
  color: #607086;
  font-size: 12px;
}

.table-wrap {
  border-color: rgba(178, 198, 222, 0.72);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.handoff-table,
.tax-table {
  font-size: 13px;
}

.handoff-table th,
.handoff-table td,
.tax-table th,
.tax-table td {
  padding: 12px 14px;
}

.handoff-table thead th,
.tax-table thead th {
  background: #f1f6fc;
  color: #36516f;
  font-size: 12px;
}

.handoff-table tbody tr:hover td,
.handoff-table tbody tr:hover th,
.tax-table tbody tr:hover td,
.tax-table tbody tr:hover th {
  background: #f8fbff;
}

.handoff-table tbody th {
  color: #172033;
  font-weight: 850;
}

.table-actions button {
  min-height: 32px;
  border-radius: 9px;
  padding: 0 12px;
}

.trend {
  min-width: 64px;
  padding: 4px 9px;
}

.tax-estimate-panel {
  gap: 12px;
  opacity: 1;
  padding: 18px;
  border: 1px solid rgba(190, 205, 224, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.side-panel {
  gap: 16px;
}

.side-panel > section {
  padding: 18px;
}

.advisor-box {
  background: linear-gradient(180deg, #ffffff 0, #f7fbff 100%);
}

.advisor-box strong,
.status-box strong {
  color: #10233b;
  font-size: 21px;
  font-weight: 850;
}

.fact {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
}

.portal-tabs {
  top: 10px;
  gap: 4px;
  margin: 18px 0;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
}

.portal-tabs button {
  min-height: 36px;
  border-radius: 11px;
  color: #5b6d84;
}

.portal-tabs button.active {
  background: #0f3f82;
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 63, 130, 0.18);
}

.page-card {
  padding: 22px;
}

.page-head h2 {
  font-size: 24px;
  font-weight: 850;
}

.action-card,
.folder-card,
.record-row,
.simple-row,
.material-row,
.confirm-row,
.cycle-card {
  border-color: rgba(178, 198, 222, 0.72);
  border-radius: 14px;
  background: #f9fcff;
}

.chat-log,
.upload-form,
.empty {
  border-radius: 14px;
  border-color: rgba(178, 198, 222, 0.72);
}

.toast {
  border-radius: 12px;
}

@media (min-width: 921px) {
  .progress-rail {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: visible;
  }

  .progress-step {
    justify-content: center;
    min-width: 0;
    padding: 0 4px;
  }

  .progress-step:not(:last-child)::after {
    display: none;
  }

  .progress-step span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 920px) {
  .client-app {
    width: min(100% - 24px, 720px);
  }

  .login-view,
  .workbench {
    grid-template-columns: 1fr;
  }

  .portal-header {
    padding: 16px;
  }

  .main-panel {
    padding: 18px;
  }

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

  .progress-rail {
    border-radius: 13px;
  }

  .progress-step {
    min-width: 112px;
  }

  .handoff-panel {
    padding: 16px;
    border-radius: 16px;
  }

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

  .portal-tabs {
    position: static;
  }
}
