:root {
  --primary-blue: var(--primary-focused);
  --action-blue: var(--primary-default);
  --bg-light: var(--primary-bg-tint);
  --bg-welcome: var(--primary-bg);
  --text-dark: var(--text-primary);
  --border-gray: var(--border-primary);
  --link-blue: var(--link-active);
}

body {
  background-color: var(--bg-light);
  font-family: "Lato", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  margin: 0;
  min-width: 320px;
}

a {
  color: var(--link-blue);
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #003eaf;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

.courts-page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.courts-ribbon-shell {
  padding-left: 24px;
  padding-right: 24px;
}

.margin-bottom-md {
  margin-bottom: 25px;
}

.margin-top-md {
  margin-top: 25px;
}

.header {
  padding-left: 28px;
  padding-right: 28px;
}

.header-logo img {
  display: block;
  width: auto;
  height: 46px;
  max-width: 272px;
}

.header-nav {
  gap: 0;
}

.header-nav a {
  font-size: 16px;
  padding: 0 18px;
  text-decoration: underline;
  color: var(--header-nav-item-fg);
}

.header-nav a.nav-active {
  font-weight: var(--font-weight-semibold);
  background: var(--header-nav-item-selected-bg);
  color: var(--header-nav-item-selected-fg);
}

.header-nav a:visited,
.header-nav a:hover,
.header-nav a:focus-visible,
.header-nav a:active {
  color: var(--header-nav-item-fg);
}

.header-nav a:hover,
.header-nav a:focus-visible,
.header-nav a:active {
  background: transparent;
  color: var(--header-nav-item-fg);
}

.header-nav a.nav-active:visited {
  color: var(--header-nav-item-selected-fg);
}

.header-nav a.nav-active:hover,
.header-nav a.nav-active:focus-visible,
.header-nav a.nav-active:active {
  background: var(--header-nav-item-selected-bg);
  color: var(--header-nav-item-selected-fg);
}

.header-nav .divider {
  padding: 0 10px;
}

.account-nav-dropdown {
  position: relative;
  display: flex;
  align-items: stretch;
  align-self: stretch;
}

.account-nav-trigger {
  display: flex;
  align-items: center;
  height: 100%;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0 18px;
  color: var(--header-nav-item-fg);
  font: inherit;
  font-size: 16px;
  line-height: 1;
  text-decoration: underline;
  cursor: pointer;
}

.account-nav-trigger:hover,
.account-nav-trigger:focus-visible {
  background: transparent;
  color: var(--header-nav-item-fg);
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: -2px;
}

.account-nav-trigger[aria-expanded="true"] {
  background: var(--header-nav-item-selected-bg);
  color: var(--header-nav-item-selected-fg);
}

.account-nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  margin-top: 0;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--border-primary, #e0e0e0);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  z-index: 1000;
}

.account-nav-menu.show {
  display: block;
}

.header-nav .account-nav-menu a.account-nav-item,
.account-nav-item {
  display: block;
  padding: 10px 16px;
  color: var(--text-primary, #222);
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}

.header-nav .account-nav-menu a.account-nav-item:visited,
.header-nav .account-nav-menu a.account-nav-item:hover,
.header-nav .account-nav-menu a.account-nav-item:focus-visible,
.header-nav .account-nav-menu a.account-nav-item:active {
  color: var(--text-primary, #222);
}

.header-nav .account-nav-menu a.account-nav-item:hover,
.header-nav .account-nav-menu a.account-nav-item:focus-visible {
  background: var(--bg-subtle, #f5f7fa);
  text-decoration: underline;
}

.account-nav-divider {
  height: 1px;
  margin: 6px 0;
  background: var(--border-primary, #e0e0e0);
}

.courts-ribbon {
  background-color: #fff;
  border-bottom: 1px solid var(--border-gray);
}

.courts-breadcrumb {
  padding: 10px 0 11px;
  margin-bottom: 0;
  background: transparent;
  font-size: 14px;
}

.courts-breadcrumb > .active {
  color: var(--text-dark);
}

.welcome-wrapper {
  background-color: var(--bg-welcome);
  padding: 54px 0 50px;
}

.welcome-title {
  margin: 0 0 18px;
  font-size: 36px;
  line-height: 1.18;
  font-weight: var(--font-weight-semibold);
  color: var(--text-h2);
}

.welcome-copy {
  margin: 0;
  font-size: 16px;
}

.courts-section {
  padding-top: 52px;
  padding-bottom: 60px;
}

.courts-card-row {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
}

.courts-card-row > [class*="col-"] {
  display: flex;
}

.courts-panel {
  height: 100%;
  width: 100%;
  background-color: #fff;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  margin-bottom: 0;
  box-shadow: var(--shadow-app-default-subtle);
}

.courts-panel-body {
  padding: 16px 18px 14px;
}

.courts-panel-body--action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.courts-panel-title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-dark);
}

.courts-panel p,
.courts-links-list,
.courts-resource-list,
.courts-empty-state {
  font-size: 16px;
  line-height: 1.6;
}

.courts-panel--action .courts-panel-body {
  min-height: 192px;
}

.courts-home-action {
  margin-top: auto;
  min-width: 0;
}

.courts-links-list {
  margin: 2px 0 0;
  padding-left: 24px;
}

.courts-links-list li + li {
  margin-top: 6px;
}

.courts-panel-heading {
  overflow: hidden;
  margin-bottom: 10px;
}

.courts-panel-heading .courts-panel-title {
  float: left;
  margin-bottom: 0;
}

.courts-panel-heading a {
  float: right;
  margin-top: 3px;
  font-size: 16px;
}

.courts-empty-state {
  padding: 14px 16px;
  border: 1px solid #b4b7ba;
  border-radius: 8px;
  background: #fff;
}

.home-cases-list {
  display: grid;
}

.home-case-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-primary);
}

.home-case-row:last-child {
  border-bottom: 0;
}

.home-case-title {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--link-active);
  font-size: 16px;
  line-height: 1.45;
  font-weight: var(--font-weight-semibold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-case-main p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.35;
}

.home-case-status {
  padding-top: 2px;
  white-space: nowrap;
}

.home-updates-list {
  display: grid;
}

.home-update-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-primary);
}

.home-update-row:last-child {
  border-bottom: 0;
}

.home-update-title {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: var(--font-weight-semibold);
}

.home-update-main p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.35;
}

.home-update-status {
  padding-top: 2px;
  white-space: nowrap;
}

/* Homepage Version 2 */

.home-v2-page {
  padding-bottom: 60px;
}

.home-version-row {
  top: calc(150px + 24px);
}

.home-v2-intro {
  padding-top: 34px;
  padding-bottom: 22px;
}

.home-v2-intro h1 {
  margin: 0 0 6px;
  color: var(--text-h2);
  font-size: var(--type-xl-size);
  line-height: var(--type-xl-line);
  font-weight: var(--font-weight-semibold);
}

.home-v2-intro p {
  max-width: 660px;
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.home-v2-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.home-v2-main,
.home-v2-sidebar {
  min-width: 0;
}

.home-v2-sidebar {
  display: grid;
  gap: 24px;
}

.home-v2-layout .courts-panel {
  height: auto;
}

.home-v2-layout .courts-panel-body {
  padding: 20px 18px 18px;
}

.home-v2-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.home-v2-card-header .courts-panel-title {
  margin-bottom: 0;
}

.home-v2-search {
  display: grid;
  margin-bottom: 18px;
}

.home-v2-search-row {
  display: flex;
}

.home-v2-search-row input {
  min-width: 0;
  flex: 1;
  height: 46px;
  border: 1px solid var(--border-primary);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0 14px;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  background: var(--n-0);
}

.home-v2-search-row input:focus {
  position: relative;
  z-index: 1;
  outline: none;
  box-shadow: var(--focus-ring);
}

.home-v2-search-row .btn {
  min-width: 112px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.home-v2-update-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}

.home-v2-update-tools p {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.home-v2-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-sm-body-size);
  line-height: var(--type-sm-body-line);
  font-weight: var(--font-weight-regular);
}

.home-v2-toggle input {
  position: relative;
  appearance: none;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  margin: 0;
  border-radius: var(--radius-pill);
  background: var(--n-70, #70757a);
  border: 1px solid var(--n-80, #4d4f52);
  cursor: pointer;
}

.home-v2-toggle input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--n-0);
  transition: transform 0.15s ease;
}

.home-v2-toggle input:focus-visible {
  box-shadow: var(--focus-ring);
  outline: none;
}

.home-v2-toggle input:checked {
  background: var(--primary-default, #0070af);
  border-color: var(--primary-focused, #00446c);
}

.home-v2-toggle input:checked::after {
  transform: translateX(18px);
}

.home-v2-updates-list {
  display: grid;
}

.home-v2-update-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-primary);
}

.home-v2-update-row[hidden] {
  display: none;
}

.home-v2-update-row:last-child {
  border-bottom: 0;
}

.home-v2-update-title {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--link-active);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-semibold);
}

.home-v2-update-case,
.home-v2-update-meta {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--type-sm-body-size);
  line-height: var(--type-sm-body-line);
}

.home-v2-update-meta {
  margin-top: 6px;
}

.home-v2-update-side {
  display: grid;
  justify-items: end;
  text-align: right;
}

.home-v2-no-results {
  margin: 14px 0 0;
}

.home-v2-primary-actions {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.home-v2-action-row {
  display: block;
  padding: 14px 14px 13px;
  border: 1px solid var(--n-60);
  border-radius: var(--radius-sm);
  background: var(--n-0);
  text-decoration: none;
}

.home-v2-action-row:hover,
.home-v2-action-row:focus-visible {
  border-color: var(--n-60);
  background: var(--n-0);
  text-decoration: none;
}

.home-v2-action-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--link-active);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-v2-action-row span {
  display: block;
  color: var(--text-primary);
  font-size: var(--type-sm-body-size);
  line-height: var(--type-sm-body-line);
}

.home-v2-subheading {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-semibold);
}

.home-v2-link-list li + li {
  margin-top: 9px;
}

.home-v2-resource-feature {
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .home-v2-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-v2-sidebar {
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .home-version-row {
    position: static;
    display: flex;
    padding: 14px 16px 0;
    pointer-events: auto;
  }

  .home-version-row .portal-version-switcher {
    margin-left: auto;
  }

  .home-v2-intro {
    padding-top: 20px;
  }

  .home-v2-intro h1 {
    font-size: var(--type-lg-title-size);
    line-height: var(--type-lg-title-line);
  }

  .home-v2-update-tools,
  .home-v2-update-row {
    display: block;
  }

  .home-v2-toggle {
    margin-top: 10px;
  }

  .home-v2-update-side {
    justify-items: start;
    margin-top: 10px;
    text-align: left;
  }

  .home-v2-update-row .chip {
    margin-top: 10px;
  }

  .home-v2-search-row {
    display: grid;
  }

  .home-v2-search-row input,
  .home-v2-search-row .btn {
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .home-v2-search-row input {
    border-right: 1px solid var(--border-primary);
    border-bottom: 0;
  }
}

.courts-panel--resources .courts-panel-body {
  padding-bottom: 18px;
  padding-top: 22px;
}

.courts-panel--resources .courts-panel-title {
  margin-bottom: 24px;
}

.courts-resource-list {
  margin: 0;
}

.courts-resource-list li + li {
  margin-top: 10px;
}

.case-updates-page {
  padding-top: 22px;
  padding-bottom: 48px;
}

.case-updates-wrap {
  max-width: 960px;
  padding-top: 0;
}

.case-updates-panel {
  overflow: hidden;
}

.case-updates-head {
  padding: 20px 18px 18px;
}

.case-updates-head h1 {
  margin: 0 0 18px;
  color: var(--text-primary);
  font-size: var(--type-xl-size);
  line-height: var(--type-xl-line);
  font-weight: var(--font-weight-semibold);
}

.case-updates-count-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.case-updates-table .portal-row.updates {
  grid-template-columns: minmax(0, 1fr) 180px 170px;
}

.case-updates-table .portal-row.head {
  min-height: 54px;
  padding-top: 0;
  padding-bottom: 0;
}

.case-updates-table .portal-row.head > :nth-child(2) {
  grid-column: 2 / span 2;
}

.case-update-row {
  min-height: 108px;
}

.case-update-title,
.case-update-message {
  margin: 0;
}

.case-update-title {
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.case-update-message {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.case-update-status {
  align-self: start;
}

.case-update-date {
  align-self: start;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

@media (max-width: 900px) {
  .case-updates-table .portal-row.updates:not(.head) {
    display: block;
    min-height: 0;
    padding: 22px 18px;
  }

  .case-update-status {
    margin-top: 16px;
  }

  .case-update-date {
    margin-top: 8px;
    text-align: left;
  }

  .case-update-status::after {
    content: "Date";
    margin-left: 6px;
    font-weight: var(--font-weight-bold);
  }
}

.new-case-page,
.filing-flow-page {
  min-height: calc(100vh - 133px);
}

.new-case-wrap,
.filing-flow-wrap {
  padding-top: 22px;
  padding-bottom: 56px;
}

.filing-flow-wrap--summary {
  max-width: 1024px;
  margin: 0 auto;
}

.flow-page-wrap--spacious {
  padding-top: 30px;
}

.new-case-panel,
.filing-flow-panel {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow-app-default-subtle);
}

.filing-summary-panel {
  width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow-app-default-subtle);
}

.new-case-panel {
  max-width: 760px;
}

.new-case-panel.new-case-panel--compact {
  max-width: 900px;
}

.new-case-panel-body,
.filing-flow-panel-body {
  padding: 16px 14px 18px;
}

.filing-summary-panel-body {
  padding: 18px 12px 16px;
}

.new-case-title,
.filing-flow-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 22px;
  line-height: 1.3;
  font-weight: var(--font-weight-semibold);
}

.new-case-panel--v2 .new-case-title {
  font-size: var(--type-xl-size);
  line-height: var(--type-xl-line);
}

.new-case-panel--v2 .new-case-form {
  margin-top: 1.5rem;
}

.new-case-panel--v2 .new-case-field {
  gap: 4px;
}

.new-case-form {
  display: grid;
  gap: 14px;
}

.flow-page-heading {
  display: grid;
  gap: 4px;
}

.flow-page-kicker {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-regular);
}

.flow-page-title {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-xl-size);
  line-height: var(--type-xl-line);
  font-weight: var(--font-weight-semibold);
}

.new-case-field {
  display: grid;
  gap: 8px;
}

.new-case-label {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-semibold);
}

.new-case-required {
  color: var(--error);
}

.new-case-select-wrap {
  position: relative;
}

.new-case-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--n-80);
  border-bottom: 1.5px solid var(--n-80);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.new-case-select {
  appearance: none;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  background: var(--n-0);
  color: var(--text-primary);
  padding: 0 44px 0 16px;
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  box-shadow: none;
}

.new-case-select:hover {
  border-color: var(--primary-accent);
}

.new-case-select:focus {
  outline: none;
  border-color: var(--border-selected);
  box-shadow: var(--focus-ring);
}

.new-case-select:invalid {
  color: var(--n-80);
}

.new-case-hint,
.filing-flow-copy,
.filing-flow-meta {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.new-case-actions,
.filing-flow-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.new-case-proceed {
  min-width: 96px;
}

.probate-before-start-shell {
  gap: 22px;
}

.probate-before-start-progress {
  width: 8%;
}

.probate-court-area-progress {
  width: 16%;
}

.probate-panel {
  max-width: 760px;
}

.probate-eligibility-form,
.probate-revenue-form,
.probate-review-form {
  gap: 24px;
}

.probate-review-confirm-fieldset {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.probate-review-confirm-title,
.probate-revenue-section-title {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 0 2px;
  padding-inline: 0;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.probate-review-confirm-title,
.probate-revenue-section-title {
  border-bottom: 1px solid var(--n-40);
}

.probate-review-confirm-fieldset {
  display: grid;
  gap: 1rem;
}

.probate-attention-panel {
  padding: 18px 16px;
  border-radius: 4px;
}

.probate-attention-copy,
.probate-review-intro {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: 1.65;
}

.probate-attention-panel a {
  color: var(--primary-default);
}

.probate-revenue-section {
  display: grid;
  gap: 16px;
}

.probate-date-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.probate-text-input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  background: var(--n-0);
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.probate-text-input:focus {
  outline: none;
  border-color: var(--border-selected);
  box-shadow: var(--focus-ring);
}

.probate-revenue-card {
  padding-top: 16px;
}

.probate-review-panel {
  max-width: 900px;
}

.probate-review-intro {
  margin-top: -4px;
}


.probate-review-confirm {
  padding-top: 16px;
  padding-bottom: 16px;
}

.probate-attention-panel {
  border: 1px solid var(--error);
  background: var(--n-0);
}

.probate-attention-title {
  margin: 0 0 8px;
  color: var(--error);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.probate-before-start-content {
  display: grid;
  gap: 20px;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.probate-before-start-content h2 {
  margin: 0 0 6px;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.probate-before-start-content p {
  margin: 0;
}

.probate-before-start-content ul {
  margin: 0;
  padding-left: 46px;
}

.probate-before-start-content li + li {
  margin-top: 8px;
}

.flow-step-actions.probate-before-start-actions {
  justify-content: flex-end;
}

.flow-step-actions.probate-before-start-actions .btn {
  min-width: 120px;
}

.initiating-documents-form {
  display: grid;
  gap: 16px;
}

.initiating-documents-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.initiating-documents-title {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.initiating-document-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--n-40);
}

.initiating-document-item {
  border-bottom: 1px solid var(--n-40);
}

.initiating-document-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 0 12px;
  cursor: pointer;
}

.initiating-document-option input {
  margin: 0;
  accent-color: var(--primary-default);
}

.initiating-document-option-label {
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-semibold);
}

.template-card {
  border: 1px solid var(--n-50);
  border-radius: 4px;
  background: var(--n-10);
  padding: 14px 12px 8px;
}

.template-card-title {
  margin: 0 0 4px;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.template-card-copy {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.template-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--n-40);
  border-radius: 4px;
  overflow: hidden;
  background: var(--n-0);
}

.template-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--n-0);
  border-top: 1px solid var(--n-40);
}

.template-row:first-child {
  border-top: 0;
}

.template-row-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.template-row-title {
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-semibold);
}

.template-download {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--link-active);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-regular);
  text-decoration: none;
  white-space: nowrap;
}

.template-download:visited {
  color: var(--link-active);
}

.template-download:hover,
.template-download:focus-visible {
  color: var(--link-active);
  text-decoration: underline;
}

.template-download .md-icon {
  font-size: 18px;
}

.filing-flow-panel-body {
  display: grid;
  gap: 14px;
}

.filing-summary-panel-body {
  display: grid;
  gap: 18px;
}

.filing-summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.filing-summary-header-main,
.filing-summary-reference {
  display: grid;
  gap: 4px;
}

.filing-summary-number,
.filing-summary-reference-label,
.filing-summary-reference-value,
.filing-summary-fee,
.filing-summary-total {
  margin: 0;
}

.filing-summary-number {
  color: var(--text-secondary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.filing-summary-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 22px;
  line-height: 1.3;
  font-weight: var(--font-weight-semibold);
}

.filing-summary-reference {
  justify-items: end;
  text-align: right;
}

.filing-summary-reference-label {
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-summary-reference-value {
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
}

.filing-summary-next-steps {
  border: 1px solid var(--attention);
  border-radius: 4px;
  background: #fbf6e8;
  padding: 14px 12px 16px;
}

.filing-summary-next-steps-title {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-summary-next-steps-list {
  margin: 0;
  padding-left: 22px;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: 1.6;
}

.filing-summary-next-steps-list li + li {
  margin-top: 6px;
}

.filing-summary-submitted-card {
  border: 1px solid var(--success);
  border-radius: 4px;
  background: var(--success-bg);
  padding: 24px 20px 28px;
}

.filing-summary-submitted-title {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: var(--type-xl-size);
  line-height: var(--type-xl-line);
  font-weight: var(--font-weight-semibold);
}

.filing-summary-submitted-copy {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
}

.filing-summary-submitted-divider {
  height: 1px;
  margin: 28px 0;
  background: var(--n-40);
}

.filing-summary-submitted-next-title {
  margin: 0 0 18px;
  color: var(--text-primary);
  font-size: var(--type-xl-size);
  line-height: var(--type-xl-line);
  font-weight: var(--font-weight-semibold);
}

.filing-summary-submitted-list {
  margin: 0;
  padding-left: 22px;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: 1.55;
}

.filing-summary-submitted-list li + li {
  margin-top: 8px;
}

.filing-summary-group {
  display: grid;
}

.filing-summary-group-head {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--n-40);
}

.filing-summary-group-title {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--n-40);
}

.filing-summary-row--primary {
  border-bottom: 0;
}

.filing-summary-documents-readonly .filing-summary-row:first-of-type {
  padding-left: 0;
}

.filing-summary-submitted-document-row {
  justify-content: flex-start;
}

.filing-summary-row-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.filing-summary-row-icon {
  font-size: 18px;
  color: var(--text-secondary);
}

.filing-summary-choice-text {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
}

.filing-summary-choice-separator {
  color: var(--text-primary);
}

.filing-summary-link {
  color: var(--link-active);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-regular);
  text-decoration: underline;
}

.filing-summary-link:visited {
  color: var(--link-active);
}

.filing-summary-row-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  min-width: 245px;
}

.filing-summary-delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--link-active);
}

.filing-summary-delete-button:hover,
.filing-summary-delete-button:focus-visible {
  background: var(--n-20);
  color: var(--link-active);
  outline: none;
}

.filing-summary-delete-button .material-icons {
  font-size: 24px;
  line-height: 1;
}

.filing-summary-fee {
  min-width: 48px;
  text-align: right;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
}

.filing-summary-total {
  display: flex;
  justify-content: flex-end;
  gap: 44px;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-summary-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filing-summary-actions-right {
  display: inline-flex;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

.filing-persons-panel {
  max-width: 800px;
  margin-top: 22px;
}

.filing-persons-panel-body {
  padding: 22px 16px 24px;
}

.filing-persons-title {
  margin: 0 0 24px;
  color: var(--text-primary);
  font-size: 28px;
  line-height: 1.25;
  font-weight: var(--font-weight-semibold);
}

.filing-persons-total {
  margin: 0 0 22px;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
}

.filing-persons-list {
  display: grid;
}

.filing-persons-row {
  border-bottom: 1px solid var(--n-40);
  padding: 14px 0;
}

.filing-persons-row:first-child {
  padding-top: 0;
}

.filing-persons-name,
.filing-persons-role {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: 1.45;
}

.filing-persons-name {
  margin-bottom: 4px;
}

.filing-upload-panel {
  max-width: 660px;
}

.filing-upload-panel-body {
  padding: 18px 12px 14px;
}

.filing-upload-progress {
  margin-top: 2px;
}

.filing-upload-progress-bar {
  width: 0;
  background: var(--n-30);
}

.filing-upload-progress-note {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: var(--type-small-size);
  line-height: 1.45;
}

.filing-upload-info-card {
  padding: 14px 12px 16px;
}

.filing-upload-info-title {
  margin-bottom: 14px;
}

.filing-upload-rule-list {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: 1.6;
}

.filing-upload-rule-list li + li {
  margin-top: 4px;
}

.filing-upload-section-title {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-upload-copy {
  margin: 0 0 4px;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: 1.6;
}

.filing-upload-template-link-row {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: 1.6;
}

.filing-upload-form {
  display: grid;
  gap: 16px;
}

.filing-upload-field {
  display: grid;
  gap: 8px;
}

.filing-upload-card {
  padding: 12px;
}

.filing-upload-drop {
  min-height: 78px;
  padding: 18px 14px;
}

.filing-upload-drop-icon {
  color: var(--text-secondary);
}

.filing-upload-drop-text {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.filing-upload-success {
  margin-top: 12px;
}

.filing-upload-selected-name,
.filing-upload-selected-meta {
  margin: 0;
}

.filing-upload-selected-name {
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-upload-selected-meta {
  color: var(--text-secondary);
  font-size: var(--type-sm-body-size);
  line-height: var(--type-sm-body-line);
}

.filing-upload-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filing-upload-warning {
  border: 1px solid var(--border-attention);
  border-radius: 4px;
  background: var(--attention-bg);
  padding: 18px 16px;
}

.filing-upload-warning-title {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-upload-warning-copy {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.marriage-language-panel {
  max-width: 720px;
}

.marriage-language-form {
  gap: 30px;
}

.marriage-language-progress-bar {
  width: 50%;
}

.marriage-language-fieldset {
  display: grid;
  gap: 18px;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
}

.marriage-language-question {
  margin: 0 0 4px;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.marriage-language-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: 1.55;
  font-weight: var(--font-weight-regular);
}

.marriage-language-option input {
  margin-top: 5px;
  accent-color: var(--primary-default);
}

.marriage-language-actions {
  display: flex;
  justify-content: flex-end;
}

.filing-submitted-panel {
  max-width: 720px;
}

.filing-submitted-panel-body {
  padding: 18px 12px 20px;
}

.filing-submitted-shell {
  gap: 28px;
}

.filing-submitted-progress {
  margin-top: -10px;
}

.filing-submitted-progress-bar {
  width: 100%;
}

.filing-submitted-success {
  display: grid;
  gap: 8px;
  min-height: 144px;
  align-content: center;
  border: 1px solid var(--success);
  border-radius: 4px;
  background: var(--success-bg);
  padding: 34px 24px;
  text-align: center;
}

.filing-submitted-success-title {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-submitted-success-copy {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.filing-submitted-section {
  display: grid;
  gap: 10px;
}

.filing-submitted-section-title {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-submitted-list {
  margin: 0;
}

.filing-submitted-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) 1fr;
  gap: 20px;
  border-top: 1px solid var(--n-40);
  padding: 16px 0;
}

.filing-submitted-row dt,
.filing-submitted-row dd {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-regular);
}

.filing-submitted-documents {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--n-40);
}

.filing-submitted-documents li {
  border-bottom: 1px solid var(--n-40);
  padding: 16px 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.filing-submitted-actions {
  display: flex;
  justify-content: center;
}

.filing-review-panel-body {
  padding: 18px 12px 14px;
}

.filing-review-form {
  gap: 18px;
}

.filing-review-progress {
  margin-top: 2px;
}

.filing-review-progress-bar {
  width: 15%;
}

.filing-review-section {
  display: grid;
  gap: 0;
}

.filing-review-section-title {
  margin: 0;
  padding: 0 0 5px;
  border-bottom: 1px solid var(--n-60);
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-review-list {
  margin: 0;
}

.filing-review-row {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 22px;
  padding: 12px 0;
  border-bottom: 1px solid var(--n-30);
}

.filing-review-row dt,
.filing-review-row dd {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.filing-review-row dt {
  font-weight: var(--font-weight-regular);
}

.filing-review-row dd {
  font-weight: var(--font-weight-regular);
}

.filing-review-confirm {
  margin-top: 4px;
  padding: 22px 16px;
  border: 1px solid var(--attention);
  border-radius: 4px;
  background: var(--attention-bg);
}

.filing-review-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-regular);
}

.filing-review-checkbox-label input {
  margin: 0;
  accent-color: var(--primary-default);
}

.filing-review-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}

.filing-exhibits-panel {
  max-width: 760px;
}

.filing-exhibits-panel-body {
  padding: 18px 12px 14px;
}

.filing-exhibits-form {
  gap: 28px;
}

.filing-exhibits-progress {
  margin-top: -8px;
}

.filing-exhibits-progress-bar {
  width: 30%;
}

.filing-exhibits-error {
  padding: 28px 28px 34px;
  border: 1px solid var(--error);
  border-radius: 4px;
  color: var(--error);
  background: var(--n-0);
}

.filing-exhibits-error.hidden {
  display: none;
}

.filing-upload-error {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--error);
  border-radius: 4px;
  color: var(--error);
  background: var(--n-0);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.filing-upload-error.hidden {
  display: none;
}

.filing-exhibits-error h2 {
  margin: 0 0 18px;
  color: var(--error);
  font-size: 24px;
  line-height: 1.25;
  font-weight: var(--font-weight-semibold);
}

.filing-exhibits-error ul {
  margin: 0;
  padding-left: 24px;
  color: var(--error);
  font-size: var(--type-lg-body-size);
  line-height: 1.7;
}

.filing-exhibits-info-card {
  padding: 24px 20px 28px;
  background: var(--n-10);
}

.filing-exhibits-info-title,
.filing-exhibits-subtitle {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-exhibits-subtitle {
  margin-top: 30px;
}

.filing-exhibits-copy {
  margin: 0 0 20px;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: 1.6;
}

.filing-exhibits-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: 1.7;
}

.filing-exhibits-list li + li {
  margin-top: 4px;
}

.filing-exhibits-upload-section {
  display: grid;
  gap: 12px;
}

.filing-exhibits-section-title,
.filing-exhibits-table-title {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-exhibits-upload-card {
  padding: 18px;
  border-color: var(--n-40);
}

.filing-exhibits-drop {
  min-height: 108px;
  padding: 28px 16px;
}

.filing-exhibits-drop-icon {
  color: var(--text-secondary);
}

.filing-exhibits-drop-text {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.filing-exhibits-table-section {
  display: grid;
  gap: 8px;
}

.filing-exhibits-count {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.filing-exhibits-count.hidden,
.filing-exhibits-table.hidden,
.filing-exhibits-empty.hidden {
  display: none;
}

.filing-exhibits-empty {
  padding: 20px;
  border: 1px solid var(--n-60);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.filing-exhibits-table {
  border-top: 1px solid var(--n-40);
}

.filing-exhibits-table-head,
.filing-exhibits-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--n-40);
}

.filing-exhibits-table-head {
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-exhibits-table-head span:last-child,
.filing-exhibits-row .filing-exhibits-delete {
  justify-self: center;
}

.filing-exhibits-file-link {
  min-width: 0;
  color: var(--link-active);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.filing-exhibits-file-link:visited {
  color: var(--link-active);
}

.filing-exhibits-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--link-active);
}

.filing-exhibits-delete:hover,
.filing-exhibits-delete:focus-visible {
  background: var(--n-20);
  outline: none;
}

.filing-exhibits-delete .material-icons {
  font-size: 24px;
}

.add-supporting-panel {
  max-width: 760px;
}

.add-supporting-panel-body {
  padding: 18px 12px 14px;
}

.add-supporting-form {
  gap: 28px;
}

.add-supporting-progress {
  margin-top: -8px;
}

.add-supporting-progress-bar {
  width: 20%;
}

.add-supporting-hint {
  margin: -18px 0 0;
  color: var(--text-secondary);
  font-size: var(--type-sm-body-size);
  line-height: var(--type-sm-body-line);
}

.add-supporting-hint a,
.add-supporting-hint a:visited {
  color: var(--link-active);
  text-decoration: underline;
}

.add-supporting-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}

.upload-any-panel {
  max-width: 760px;
}

.upload-any-panel-body {
  padding: 18px 12px 14px;
}

.upload-any-form {
  gap: 28px;
}

.upload-any-progress {
  margin-top: -8px;
}

.upload-any-progress-bar {
  width: 100%;
}

.upload-any-info-card {
  padding: 28px 24px 30px;
  background: var(--n-10);
}

.upload-any-info-title {
  margin-bottom: 26px;
}

.upload-any-rule-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: 1.8;
}

.upload-any-field,
.upload-any-details {
  display: grid;
  gap: 10px;
}

.upload-any-details {
  gap: 22px;
}

.upload-any-section-title {
  margin: 12px 0 4px;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.upload-any-file-input,
.upload-any-text-input,
.upload-any-textarea {
  width: 100%;
  border: 1px solid var(--border-primary);
  border-radius: 6px;
  background: var(--n-0);
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.upload-any-file-input {
  padding: 12px 16px;
}

.upload-any-text-input {
  min-height: 48px;
  padding: 0 14px;
}

.upload-any-textarea {
  min-height: 170px;
  padding: 12px 14px;
  resize: vertical;
}

.upload-any-file-input:hover,
.upload-any-text-input:hover,
.upload-any-textarea:hover {
  border-color: var(--primary-accent);
}

.upload-any-file-input:focus,
.upload-any-text-input:focus,
.upload-any-textarea:focus {
  outline: none;
  border-color: var(--border-selected);
  box-shadow: var(--focus-ring);
}

.upload-any-help {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.upload-any-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}

.upload-any-actions .btn-primary {
  min-width: 300px;
}

.statement-grounds-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 56px;
}

.statement-grounds-panel {
  border-radius: 8px;
  box-shadow: var(--shadow-app-default-subtle);
}

.statement-grounds-panel-body {
  display: grid;
  gap: 26px;
  padding: 32px 18px 18px;
}

.statement-grounds-heading {
  display: grid;
  gap: 4px;
}

.statement-grounds-v2-heading {
  gap: 18px;
}

.statement-grounds-document-title {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.statement-grounds-stepper {
  display: grid;
  gap: 16px;
  margin: 0;
}

.statement-grounds-stepper .prototype-stepper__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.statement-grounds-stepper .prototype-stepper__item {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}

.statement-grounds-stepper .prototype-stepper__item:last-child {
  flex: 0 0 auto;
}

.statement-grounds-stepper .prototype-stepper__item:not(:last-child)::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  margin: 0 12px;
  background: var(--border-primary);
}

.statement-grounds-stepper .prototype-stepper__marker {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 5px solid var(--n-40);
  border-radius: var(--radius-pill);
  background: var(--n-80);
}

.statement-grounds-stepper .prototype-stepper__item--complete .prototype-stepper__marker {
  border-color: var(--success);
  background: var(--success);
}

.statement-grounds-stepper .prototype-stepper__item--complete .prototype-stepper__marker::before {
  content: "";
  width: 6px;
  height: 10px;
  margin-top: -2px;
  border-right: 2px solid var(--n-0);
  border-bottom: 2px solid var(--n-0);
  transform: rotate(45deg);
}

.statement-grounds-stepper .prototype-stepper__item--complete:not(:last-child)::after {
  background: var(--success);
}

.statement-grounds-stepper .prototype-stepper__item--current .prototype-stepper__marker {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border: 1px solid var(--primary-accent);
  background: var(--primary-bg);
}

.statement-grounds-stepper .prototype-stepper__item--current .prototype-stepper__marker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: inherit;
  background: var(--primary-accent);
}

.statement-grounds-stepper .prototype-stepper__divider {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--border-primary);
}

.statement-grounds-stage-heading {
  display: grid;
  gap: 4px;
}

.statement-grounds-stage-count,
.statement-grounds-stage-detail {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-sm-body-size);
  line-height: var(--type-sm-body-line);
}

.statement-grounds-stage-detail {
  color: var(--text-secondary);
}

.statement-grounds-kicker {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-regular);
}

.statement-grounds-title {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-xl-size);
  line-height: var(--type-xl-line);
  font-weight: var(--font-weight-semibold);
}

.statement-grounds-v2-flow .statement-grounds-title {
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
}

.statement-grounds-v2-flow .statement-grounds-progress,
.statement-grounds-v2-flow .filing-upload-progress {
  display: none;
}

.statement-grounds-progress {
  margin-top: 2px;
}

.statement-grounds-progress-bar {
  width: 25%;
}

.statement-grounds-progress-bar--applicant-type {
  width: 50%;
}

.statement-grounds-progress-bar--applicant-details {
  width: 100%;
}

.statement-grounds-progress-bar--respondents {
  width: 50%;
}

.statement-grounds-progress-bar--respondent-type {
  width: 62%;
}

.statement-grounds-progress-bar--notice-parties {
  width: 75%;
}

.statement-grounds-progress-bar--notice-party-type {
  width: 87%;
}

.statement-grounds-toolbar,
.statement-grounds-actions {
  display: flex;
  justify-content: flex-end;
}

.statement-grounds-toolbar {
  margin-top: 6px;
}

.statement-grounds-toolbar .btn {
  min-width: 142px;
}

.statement-grounds-info {
  padding: 24px 18px 22px;
}

.statement-grounds-info h2 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.statement-grounds-info p {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
}

.statement-grounds-applicant-list {
  display: grid;
  margin-top: 22px;
}

.statement-grounds-info[hidden],
.statement-grounds-applicant-list[hidden],
.statement-grounds-hidden {
  display: none !important;
}

.statement-grounds-applicant-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 18px 0;
  border-bottom: 1px solid var(--n-40);
}

.statement-grounds-applicant-row:last-child {
  border-bottom: 0;
}

.statement-grounds-applicant-row a {
  color: var(--link-active);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-regular);
}

.statement-grounds-type-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 2px 12px;
  border: 2px solid var(--n-60);
  border-radius: 999px;
  background: var(--white);
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-regular);
  white-space: nowrap;
}

.statement-grounds-actions {
  margin-top: 4px;
}

.statement-grounds-actions .btn {
  min-width: 98px;
}

.statement-grounds-applicant-type-form {
  gap: 26px;
}

.statement-grounds-radio-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.statement-grounds-radio-list {
  gap: 0;
  margin-top: 0;
}

.form-group label.statement-grounds-radio {
  min-height: 78px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--n-40);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
}

.form-group label.statement-grounds-radio:last-child {
  border-bottom: 0;
}

.form-group label.statement-grounds-radio input.portal-radio-input {
  margin-top: 0;
}

.statement-grounds-nav-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.statement-grounds-nav-actions .btn {
  min-width: 112px;
}

.statement-grounds-delete-party {
  justify-self: start;
  margin-top: 6px;
  color: var(--link-active);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.statement-grounds-applicant-form {
  gap: 28px;
}

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

.statement-grounds-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.statement-grounds-field--full,
.statement-grounds-section-title {
  grid-column: 1 / -1;
}

.statement-grounds-field label {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-semibold);
}

.statement-grounds-field .required {
  color: var(--error);
}

.statement-grounds-input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--n-40);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.statement-grounds-input:focus {
  border-color: var(--interactive-primary);
  box-shadow: 0 0 0 3px rgba(0, 116, 182, 0.18);
  outline: 0;
}

.statement-grounds-select {
  appearance: auto;
}

.statement-grounds-section-title {
  margin: 26px 0 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--n-60);
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.statement-grounds-upload-body {
  gap: 24px;
}

.statement-grounds-upload-info {
  padding: 20px 18px 22px;
}

.statement-grounds-upload-info .filing-upload-rule-list {
  margin-bottom: 0;
}

.statement-grounds-upload-form {
  gap: 28px;
}

.statement-grounds-upload-card {
  padding: 12px;
}

.statement-grounds-upload-drop {
  min-height: 92px;
}

.filing-signing-panel-body {
  padding: 18px 12px 14px;
}

.filing-signing-form {
  gap: 30px;
}

.filing-signing-self-form {
  gap: 34px;
}

.filing-signing-other-form {
  gap: 22px;
}

.filing-signing-progress {
  margin-top: -18px;
  margin-bottom: 4px;
}

.filing-signing-progress-bar {
  width: 45%;
}

.filing-signing-progress-bar--sign {
  width: 75%;
}

.filing-signing-progress-bar--details {
  width: 60%;
}

.filing-signing-progress-bar--complete {
  width: 100%;
}

.filing-signing-other-progress {
  margin-top: 0;
  margin-bottom: 0;
}

.filing-signing-fieldset {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
}

.filing-signing-legend {
  display: block;
  width: 100%;
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-signing-radio {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-regular);
}

.filing-signing-radio input {
  margin: 0;
  accent-color: var(--primary-default);
}

.filing-signing-radio--strong {
  margin-left: 16px;
  font-weight: var(--font-weight-semibold);
}

.filing-signing-confirm-card {
  display: grid;
  gap: 30px;
  padding: 30px 18px 26px;
  border: 1px solid var(--attention);
  border-radius: 4px;
  background: var(--attention-bg);
}

.filing-signing-confirm-list {
  margin: 0;
  padding-left: 22px;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: 1.75;
}

.filing-signing-confirm-list li + li {
  margin-top: 12px;
}

.filing-signing-confirm-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-regular);
}

.filing-signing-confirm-label input {
  margin: 0;
  accent-color: var(--primary-default);
}

.filing-signing-info-card {
  padding: 18px 16px 22px;
}

.filing-signing-info-title {
  margin-bottom: 16px;
}

.filing-signing-info-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: 1.7;
}

.filing-signing-field {
  display: grid;
  gap: 8px;
}

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

.filing-signing-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  background: var(--n-0);
  color: var(--text-primary);
  padding: 0 16px;
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  box-shadow: none;
}

.filing-signing-input:hover {
  border-color: var(--primary-accent);
}

.filing-signing-input:focus {
  outline: none;
  border-color: var(--border-selected);
  box-shadow: var(--focus-ring);
}

.filing-signing-select {
  color: var(--text-primary);
}

.filing-signing-success {
  gap: 22px;
}

.filing-signing-success-banner {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 22px 16px;
  border: 1px solid var(--success);
  border-radius: 4px;
  background: var(--success-bg);
}

.filing-signing-success-title {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-signing-download {
  min-width: 260px;
}

.filing-signature-section {
  margin-top: 8px;
}

.filing-signature-row {
  grid-template-columns: 184px minmax(0, 1fr);
}

.filing-signature-delete-row {
  margin: 16px 0 0 184px;
  color: var(--link-active);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

body.filing-modal-open {
  overflow: hidden;
}

.filing-signature-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 52px 20px;
  background: rgba(0, 0, 0, 0.48);
}

.filing-signature-modal-backdrop.hidden {
  display: none;
}

.filing-signature-modal {
  width: min(760px, 100%);
  border-radius: 6px;
  background: var(--n-0);
  box-shadow: var(--shadow-editorial-default-medium);
  overflow: hidden;
}

.filing-signature-modal-header {
  position: relative;
  padding: 22px 56px 16px 20px;
  border-bottom: 1px solid var(--n-30);
}

.filing-signature-modal-header h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-xl-size);
  line-height: 1.2;
  font-weight: var(--font-weight-regular);
}

.filing-signature-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--n-60);
  font-size: 30px;
  line-height: 24px;
}

.filing-signature-modal-close:hover,
.filing-signature-modal-close:focus-visible {
  color: var(--text-primary);
  outline: none;
}

.filing-signature-modal-body {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.filing-signature-modal-body p {
  margin: 0 0 6px;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: var(--type-lg-body-line);
}

.filing-signature-modal-textarea {
  width: 100%;
  min-height: 146px;
  resize: vertical;
  border: 1px solid var(--border-primary);
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.filing-signature-modal-textarea:focus {
  outline: none;
  border-color: var(--border-selected);
  box-shadow: var(--focus-ring);
}

.filing-signature-modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
  border-top: 1px solid var(--n-30);
}

.filing-abandon-modal {
  width: min(760px, 100%);
}

.filing-abandon-modal-header {
  padding: 22px 56px 22px 20px;
}

.filing-abandon-modal-header h2 {
  font-weight: var(--font-weight-semibold);
}

.filing-abandon-modal-body {
  gap: 16px;
  padding: 30px 20px 28px;
}

.filing-abandon-modal-body p {
  margin: 0;
}

.filing-abandon-modal-body ul {
  margin: 0;
  padding-left: 54px;
  color: var(--text-primary);
  font-size: var(--type-lg-body-size);
  line-height: 1.55;
}

.filing-abandon-modal-body li + li {
  margin-top: 8px;
}

.filing-abandon-modal-footer {
  padding: 20px;
}

.filing-abandon-modal-footer .btn {
  min-width: 166px;
}

.filing-signing-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
}

.filing-flow-title-row {
  display: grid;
  gap: 6px;
}

.filing-flow-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--primary-bg);
  color: var(--text-h2);
  font-size: var(--type-sm-body-size);
  line-height: var(--type-sm-body-line);
  font-weight: var(--font-weight-semibold);
}

.filing-flow-actions {
  justify-content: flex-start;
  padding-top: 6px;
}

@media (max-width: 767px) {
  .new-case-wrap,
  .filing-flow-wrap,
  .statement-grounds-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .new-case-panel,
  .filing-flow-panel {
    max-width: none;
  }

  .new-case-panel-body,
  .filing-flow-panel-body,
  .filing-summary-panel-body {
    padding: 16px;
  }

  .new-case-actions,
  .filing-flow-actions,
  .flow-step-actions,
  .filing-summary-actions,
  .filing-summary-actions-right,
  .filing-review-actions,
  .filing-signing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .filing-summary-header,
  .filing-summary-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .filing-summary-reference {
    justify-items: start;
    text-align: left;
  }

  .filing-summary-row-meta,
  .filing-summary-total {
    width: 100%;
    min-width: 0;
  }

  .filing-summary-row-meta {
    justify-content: space-between;
    gap: 12px;
  }

  .filing-summary-total {
    justify-content: space-between;
    gap: 12px;
  }

  .filing-upload-drop {
    flex-direction: column;
  }

  .filing-upload-success {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .template-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .new-case-proceed,
  .filing-flow-actions .btn,
  .flow-step-actions .btn,
  .filing-summary-actions .btn,
  .filing-summary-actions-right .btn,
  .filing-review-actions .btn,
  .filing-signing-actions .btn,
  .filing-upload-actions .btn,
  .filing-upload-success .btn {
    width: 100%;
  }

  .statement-grounds-panel-body {
    padding: 24px 16px 16px;
  }

  .statement-grounds-toolbar,
  .statement-grounds-actions {
    justify-content: stretch;
  }

  .statement-grounds-toolbar .btn,
  .statement-grounds-actions .btn,
  .statement-grounds-nav-actions .btn {
    width: 100%;
  }

  .statement-grounds-nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .statement-grounds-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .filing-review-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .filing-signature-delete-row {
    margin-left: 0;
  }

  .filing-signing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .probate-date-grid {
    grid-template-columns: 1fr;
  }

  .probate-before-start-actions {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }

  .probate-before-start-actions .btn {
    width: auto;
  }
}

@media (max-width: 1599px) {
  .courts-panel--action .courts-panel-body {
    min-height: 0;
  }
}

@media (max-width: 991px) {
  .header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .courts-card-row {
    display: block;
  }

  .courts-card-row > [class*="col-"] {
    display: block;
  }

  .welcome-wrapper {
    padding: 42px 0;
  }

  .welcome-title {
    font-size: 32px;
  }

  .courts-card-row {
    margin-bottom: 0;
  }

  .courts-card-row > [class*="col-"] {
    margin-bottom: 24px;
  }

  .courts-resource-list {
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .courts-page-shell,
  .header {
    padding-left: 15px;
    padding-right: 15px;
  }

  .courts-ribbon-shell {
    padding-left: 15px;
    padding-right: 15px;
  }

  .header-logo img {
    height: 32px;
    max-width: 188px;
  }

  .courts-breadcrumb {
    font-size: 16px;
  }

  .welcome-title {
    font-size: 28px;
  }

  .welcome-copy {
    font-size: 16px;
  }

  .courts-panel-body {
    padding: 22px 20px;
  }

  .courts-panel-title {
    font-size: 20px;
  }

  .courts-panel p,
  .courts-links-list,
  .courts-resource-list,
  .courts-empty-state {
    font-size: 16px;
  }

  .courts-btn-primary {
    width: 100%;
    text-align: center;
  }

  .courts-panel-heading .courts-panel-title,
  .courts-panel-heading a {
    float: none;
    display: block;
  }

  .courts-panel-heading a {
    margin-top: 6px;
    font-size: 16px;
  }

  .home-update-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-case-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-case-status {
    padding-top: 0;
  }

  .home-update-status {
    padding-top: 0;
  }

  .case-updates-page {
    padding-top: 20px;
  }

  .case-updates-wrap {
    padding-left: 30px;
    padding-right: 30px;
  }

  .case-updates-head {
    padding: 34px 30px 24px;
  }

  .case-updates-head h1 {
    margin-bottom: 28px;
    font-size: 32px;
    line-height: 1.2;
  }

  .case-updates-count-row {
    font-size: 22px;
    line-height: 1.35;
  }

  .case-updates-table {
    border-top: 0;
  }

  .case-updates-table .portal-row.updates:not(.head) {
    display: block;
    min-height: 0;
    padding: 26px 30px;
  }

  .case-update-title {
    font-size: 20px;
    line-height: 1.35;
  }

  .case-update-message {
    margin-top: 22px;
    font-size: 20px;
    line-height: 1.3;
  }

  .case-update-status {
    margin-top: 22px;
  }

  .case-update-date {
    margin-top: 10px;
    text-align: left;
    font-size: 22px;
    line-height: 1.35;
  }

  .case-update-status::after {
    content: "Date";
    margin-left: 6px;
    font-weight: var(--font-weight-bold);
  }
}

.cases-page {
  padding-top: 22px;
  padding-bottom: 48px;
}

.cases-page .portal-page-wrap {
  padding-top: 0;
}

.cases-panel {
  box-shadow: var(--shadow-app-default-subtle);
}

.cases-panel-head {
  padding-bottom: 10px;
}

.cases-search-row {
  margin-bottom: 10px;
}

.cases-search-input-wrap {
  position: relative;
}

.cases-search-input {
  border-right: 1px solid var(--border-primary);
  border-radius: 8px 0 0 8px;
  padding-left: 40px;
}

.cases-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-58%);
  border: 2px solid var(--text-secondary);
  border-radius: 50%;
  pointer-events: none;
}

.cases-search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -5px;
  width: 7px;
  height: 2px;
  background: var(--text-secondary);
  transform: rotate(45deg);
  border-radius: 999px;
}

.cases-count-row {
  padding-top: 8px;
  padding-bottom: 12px;
  color: var(--text-primary);
}

.cases-table {
  border-top: 1px solid var(--border-primary);
}

.cases-table-row {
  min-height: 76px;
}

.cases-table-row--head {
  min-height: 44px;
}

.cases-table-row--head > div {
  color: var(--text-primary);
}

.cases-table-cell,
.cases-table-date {
  color: var(--text-primary);
}

.cases-table-status {
  min-width: 0;
}

.cases-status-chip {
  min-height: 28px;
}

.cases-table-link {
  font-weight: var(--font-weight-regular);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cases-table-row--empty .portal-link,
.cases-table-row--empty .portal-cell,
.cases-table-row--empty .portal-status-cell,
.cases-table-row--empty .portal-date {
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .cases-page {
    padding-top: 16px;
  }

  .cases-panel-head {
    align-items: stretch;
  }

  .cases-panel-head .portal-panel-actions,
  .cases-panel-head .portal-panel-actions .btn {
    width: 100%;
  }

  .cases-search-input {
    border-radius: 8px;
  }

  .cases-search-row .portal-search-btn {
    border-radius: 8px;
  }
}

.court-dates-page {
  padding-top: 22px;
  padding-bottom: 48px;
}

.court-dates-page .portal-page-wrap {
  padding-top: 0;
}

.court-dates-panel {
  box-shadow: var(--shadow-app-default-subtle);
}

.court-dates-panel-head {
  padding-bottom: 8px;
}

.court-dates-table {
  border-top: 1px solid var(--border-primary);
}

.portal-row.dates {
  grid-template-columns: 1.4fr 0.75fr 0.7fr 1fr 0.45fr;
}

.court-dates-table-row {
  min-height: 68px;
}

.court-dates-table-row--head {
  min-height: 44px;
}

.court-dates-empty-state {
  margin: 0 18px 26px;
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--border-primary);
  border-radius: 4px;
  background: var(--n-0);
  color: var(--text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.court-dates-table .court-dates-empty-state {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .court-dates-page {
    padding-top: 16px;
  }
}
