:root {
  --green: #4afa7b;
  --green-dark: #163d2a;
  --green-soft: rgb(232, 246, 237);
  --ink: #151515;
  --muted: #606963;
  --line: #d9e0dc;
  --canvas: #f3f5f4;
  --white: #fff;
  --danger: #8a2424;
  --danger-soft: #fff0f0;
  --warning: #72510e;
  --warning-soft: #fff7dc;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.1);
  --header-h: 76px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 34px;
  background: var(--green);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.site-left,
.site-right {
  display: flex;
  align-items: center;
  gap: 25px;
}
.logo-mark {
  display: inline-block;
  width: 62px;
  height: 31px;
}
.logo-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}
.header-label,
.header-link {
  font-size: 14px;
}
.header-link {
  border: 0;
  background: transparent;
  padding: 0;
}
.header-link:hover {
  text-decoration: underline;
}
.header-avatar {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
}
body.login-mode {
  background: var(--green);
}
.login-shell {
  min-height: 100vh;
  background: var(--green);
  display: flex;
  flex-direction: column;
}
.login-top {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 54px;
}
.login-nav {
  display: flex;
  align-items: center;
  gap: 50px;
  font-size: 17px;
}
.login-nav button,
.login-nav a {
  border: 0;
  background: transparent;
  text-decoration: none;
}
.login-nav .outline {
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 14px 28px;
}
.login-layout {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1550px;
  width: 100%;
  margin: 0 auto;
  padding: 26px 54px 40px;
}
.login-layout > main {
  width: min(630px, 100%);
  min-width: 0;
  margin: 0;
}
.login-card {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 34px 38px;
  box-shadow: var(--shadow);
}
.login-card h1 {
  font-size: 34px;
  letter-spacing: -0.045em;
  line-height: 1.08;
  font-weight: 500;
  margin: 0 0 10px;
}
.login-card .intro {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.login-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 0 54px 18px;
  font-size: 12px;
}
.login-footer p {
  margin: 0;
}
.login-footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.login-help {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin: 16px 0 0;
  font-size: 14px;
}
.login-help a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.registration-mode {
  background: var(--canvas);
}
.registration-shell {
  min-height: 100vh;
  background: var(--canvas);
}
.registration-main {
  max-width: none;
  margin: 0;
  padding: 32px 24px 100px;
  min-width: 0;
}
.registration-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.registration-section {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.registration-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}
.registration-section h2 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.legal-box {
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
}
.legal-box p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.legal-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-head {
  margin: 0 0 28px;
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.095em;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 10px;
}
h1 {
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin: 0 0 12px;
}
h2 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 14px;
}
.intro {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 700px;
  margin: 0;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin: 0 0 18px;
}
.stack {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 8px;
  align-content: start;
}
.field > label {
  font-size: 15px;
  font-weight: 500;
}
input[type="email"],
input[type="password"],
input[type="text"],
input[type="tel"],
textarea,
select {
  width: 100%;
  min-height: 47px;
  padding: 11px 12px;
  border: 1px solid #adb9b1;
  border-radius: 4px;
  background: #fff;
  outline: none;
  font-size: 16px;
}
textarea {
  min-height: 108px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(74, 250, 123, 0.22);
}
input[readonly] {
  background: #f7f9f7;
  color: #4d5751;
}
input:disabled,
textarea:disabled {
  background: #f3f5f4;
  color: #7d8680;
}
small,
.muted {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.primary,
.secondary {
  min-height: 45px;
  padding: 10px 16px;
  border-radius: 5px;
  font-weight: 500;
}
.primary {
  border: 0;
  background: var(--green-dark);
  color: #fff;
}
.primary:disabled {
  background: #a9b2ac;
  color: #f4f5f4;
  cursor: not-allowed;
}
.secondary {
  background: #fff;
  border: 1px solid #b6c0ba;
}
.status {
  padding: 14px 16px;
  background: var(--green-soft);
  border-left: 3px solid var(--green);
  font-size: 14px;
  margin: 0 0 18px;
}
.status.error {
  background: var(--danger-soft);
  border-left-color: var(--danger);
  color: #6f1d1d;
}
.checkline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
}
.checkline input {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin: 2px 0 0;
  accent-color: #187743;
}
.dashboard-card {
  margin: 0;
}
.onboarding-grid {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr) 260px;
  width: 100%;
  max-width: none;
  margin: 0;
  align-items: start;
}
.onboarding-rail {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow: auto;
  padding: 30px 18px;
  border-right: 1px solid var(--line);
  background: #f7f9f8;
}
.onboarding-rail h3 {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #59625c;
  margin: 0 0 18px;
  font-weight: 600;
}
.onboarding-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.onboarding-step {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 11px 8px;
  border-left: 3px solid transparent;
  font-size: 13px;
  color: var(--ink);
}
.onboarding-step.current {
  background: var(--green-soft);
  border-left-color: var(--green);
  color: var(--ink);
  font-weight: 500;
}
.onboarding-step .step-dot {
  width: 20px;
  height: 20px;
  border: 1px solid #bdc8c0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  flex: none;
  margin-top: 1px;
  background: #fff;
  color: var(--ink);
}
.onboarding-step.current .step-dot {
  background: var(--green);
  border-color: #9da9a1;
  color: var(--ink);
}
.onboarding-grid .registration-main {
  grid-column: 2;
  width: 100%;
  margin: 0;
  max-width: none;
}
.context-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 18px;
  margin: 0 0 16px;
  transition: background 0.12s;
}
.context-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 10px 0 0;
}
.screen {
  display: none;
}
.screen.active {
  display: block;
}
@media (max-width: 1100px) {
  .login-layout {
    padding-top: 0;
  }
}
@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }
  .site-header {
    height: 68px;
    padding: 12px 18px;
  }
  .header-label {
    display: none;
  }
  .site-right {
    gap: 14px;
  }
  .login-top {
    height: 76px;
    padding: 14px 18px;
  }
  .login-nav {
    gap: 18px;
    font-size: 14px;
  }
  .login-nav .outline {
    padding: 10px 16px;
  }
  .login-layout {
    padding: 10px 18px 28px;
  }
  .login-footer {
    padding: 0 18px 16px;
  }
  .registration-main {
    padding: 28px 18px 95px;
  }
  .registration-card {
    padding: 22px;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .onboarding-grid {
    display: block;
  }
  .onboarding-rail {
    position: sticky;
    top: var(--header-h);
    height: auto;
    z-index: 50;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 14px;
  }
  .onboarding-rail h3 {
    display: none;
  }
  .onboarding-steps {
    display: flex;
  }
  .onboarding-step {
    flex: 1;
    justify-content: center;
    padding: 8px 4px;
    font-size: 0;
  }
  .onboarding-step .step-dot {
    margin: 0;
  }
  h1 {
    font-size: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.portal-suffix {
  display: inline-flex;
  align-items: center;
  margin-left: 0.78em;
  padding-left: 0.88em;
  border-left: 1px solid rgba(21, 21, 21, 0.42);
  font-size: 0.58em;
  letter-spacing: 0.11em;
  font-weight: 600;
  vertical-align: 0.16em;
  white-space: nowrap;
}
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.company-grid > .field {
  align-self: start;
  align-content: start;
}
.company-grid .span-2 {
  grid-column: 1/-1;
}
.address-options {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}
.address-options .checkline {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fafcfb;
}
.address-extra {
  margin-top: 10px;
}
.company-attestation {
  margin-top: 15px;
  padding: 14px 15px;
  background: var(--green-soft);
  border-left: 3px solid var(--green);
}
.company-helper {
  margin: 8px 0 0;
}
.legal-stack {
  display: grid;
  gap: 14px;
}
.legal-stack > p {
  margin: 0;
}
.requirement-lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.client-shell {
  min-height: 100vh;
  background: var(--canvas);
}
.client-workspace {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr) 260px;
  width: 100%;
  max-width: none;
  margin: 0;
  align-items: start;
}
.client-main {
  padding: 32px 24px 100px;
  min-width: 0;
  max-width: none;
  width: 100%;
  margin: 0;
}
.client-support {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow: auto;
  padding: 32px 18px;
  border-left: 1px solid var(--line);
  background: #f7f9f8;
}
.client-rail {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow: auto;
  padding: 30px 18px;
  border-right: 1px solid var(--line);
  background: #f7f9f8;
}
.client-rail h3 {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #59625c;
  margin: 0 0 18px;
  font-weight: 600;
}
.client-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.client-step {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 11px 8px;
  border-left: 3px solid transparent;
  font-size: 13px;
  color: var(--ink);
}
.client-step.done {
  color: var(--ink);
}
.client-step.current {
  background: var(--green-soft);
  border-left-color: var(--green);
  color: var(--ink);
  font-weight: 500;
}
.client-step .step-dot {
  width: 20px;
  height: 20px;
  border: 1px solid #bdc8c0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  flex: none;
  margin-top: 1px;
  background: #fff;
  color: var(--ink);
}
.client-step.done .step-dot {
  background: #bdc8c0;
  border-color: #bdc8c0;
  color: #fff;
}
.client-step.current .step-dot {
  background: var(--green);
  border-color: #9da9a1;
  color: var(--ink);
}
.client-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 22px;
  margin: 0;
}
.client-context-grid dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.client-context-grid dd {
  font-size: 14px;
  margin: 0;
  overflow-wrap: anywhere;
}
.client-form-card {
  scroll-margin-top: calc(var(--header-h) + 18px);
}
.client-form-card.active-client-card {
  background: var(--green-soft);
  border-color: #c8ded0;
  position: relative;
}
.client-form-card.active-client-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 4px;
  background: var(--green);
  border-radius: 8px 0 0 8px;
}
.client-form-card textarea {
  background: #fff;
}
.client-requirement {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}
.client-requirement:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.client-requirement-title {
  font-weight: 500;
}
.client-conditional {
  margin: 12px 0 0 27px;
}
.client-conditional textarea {
  min-height: 100px;
}
.client-progress-list {
  display: grid;
  gap: 4px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.client-progress-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border-left: 3px solid transparent;
  padding: 9px 8px;
  margin: 0;
}
.client-progress-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.client-progress-copy strong {
  font-weight: 500;
}
.client-progress-copy small {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.client-progress-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.client-progress-icon svg {
  width: 12px;
  height: 12px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.client-progress-icon.complete {
  background: #bdc8c0;
  border: 1px solid #bdc8c0;
  color: #fff;
}
.client-progress-icon.in-progress,
.client-progress-icon.review {
  background: var(--green);
  border: 1px solid #9da9a1;
  color: var(--ink);
}
.client-progress-icon.pending {
  background: #fff;
  border: 1px solid #bdc8c0;
  color: var(--ink);
}
.client-shell.dashboard-view .client-workspace {
  display: grid;
}
.client-shell.dashboard-view .client-rail,
.client-shell.dashboard-view .client-support {
  display: none;
}
.client-shell.dashboard-view .client-main {
  max-width: none;
  margin: 0;
}
.onboarding-grid,
.client-workspace {
  grid-template-columns: 185px minmax(0, 1fr) 260px;
}
.onboarding-grid > .registration-main,
.client-workspace > .client-main {
  grid-column: 2;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding-left: 24px;
  padding-right: 24px;
}
.onboarding-grid > .registration-main > .screen,
.client-workspace > .client-main > .screen {
  width: 100%;
  max-width: none;
  min-width: 0;
}
.client-workspace > .client-main > .screen > .card {
  width: 100%;
  max-width: none;
}
@media (max-width: 1100px) {
  .client-workspace {
    grid-template-columns: 155px minmax(0, 1fr);
  }
  .client-support {
    grid-column: 2;
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    border-left: 0;
    padding-top: 0;
  }
}
@media (max-width: 760px) {
  .company-grid,
  .client-context-grid {
    grid-template-columns: 1fr;
  }
  .company-grid .span-2 {
    grid-column: auto;
  }
  .client-workspace {
    display: block;
  }
  .client-rail {
    position: sticky;
    top: var(--header-h);
    height: auto;
    z-index: 50;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 14px;
  }
  .client-rail h3 {
    display: none;
  }
  .client-steps {
    display: flex;
  }
  .client-step {
    flex: 1;
    justify-content: center;
    padding: 8px 4px;
    font-size: 0;
  }
  .client-step .step-dot {
    margin: 0;
  }
  .client-main {
    padding: 24px 18px 95px;
  }
  .client-support {
    display: block;
    padding: 0 18px 95px;
  }
  .client-shell.dashboard-view .client-workspace {
    display: block;
  }
  .client-shell.dashboard-view .client-rail,
  .client-shell.dashboard-view .client-support {
    display: none;
  }
}
.workspace-nav h3 {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #59625c;
  margin: 0 0 18px;
  font-weight: 600;
}
.workspace-nav-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.workspace-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 8px;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  border-radius: 0;
  text-align: left;
  font-size: 13px;
  color: var(--ink);
  min-height: 43px;
}
.workspace-nav-item:hover,
.workspace-nav-item:focus-visible {
  background: #eef3ef;
}
.workspace-nav-item.current {
  background: var(--green-soft);
  border-left-color: var(--green);
  font-weight: 500;
}
.workspace-nav-icon {
  width: 20px;
  height: 20px;
  border: 1px solid #bdc8c0;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--ink);
}
.workspace-nav-item.current .workspace-nav-icon {
  background: var(--green);
  border-color: #9da9a1;
}
.workspace-nav-icon svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.workspace-nav-note {
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  margin: 24px 8px 0;
}
.workspace-context-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 19px 17px;
}
.workspace-context-card h2 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 9px;
}
.workspace-context-card p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.workspace-context-card .context-rule {
  height: 1px;
  background: var(--line);
  margin: 17px 0;
}
.workspace-context-meta {
  display: grid;
  gap: 11px;
  margin: 0;
}
.workspace-context-meta div {
  display: grid;
  gap: 2px;
}
.workspace-context-meta dt {
  font-size: 10px;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  color: var(--muted);
}
.workspace-context-meta dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.workspace-context-action {
  width: 100%;
  margin-top: 18px;
}
.dashboard-page-head {
  margin-bottom: 22px;
}
.dashboard-page-head .eyebrow {
  margin-bottom: 8px;
}
.dashboard-page-head h1 {
  margin-bottom: 8px;
}
.dashboard-page-head .intro {
  max-width: 720px;
}
.dashboard-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 22px;
  min-width: 0;
}
.dashboard-receipt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #eef8f1;
  border: 1px solid #d0e5d6;
  border-radius: 6px;
  padding: 14px 15px;
  margin-bottom: 18px;
  font-size: 12px;
  line-height: 1.5;
}
.dashboard-receipt .receipt-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  border: 1px solid #9da9a1;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 11px;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  line-height: 1.25;
  color: #4d5951;
  background: #f8faf8;
  white-space: nowrap;
}
.status-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7a877e;
  flex: none;
}
.status-chip.green {
  background: var(--green-soft);
  border-color: #c5decf;
  color: #245d39;
}
.status-chip.green::before {
  background: #29974e;
}
.status-chip.amber {
  background: #fff6e7;
  border-color: #ead7b7;
  color: #775015;
}
.status-chip.amber::before {
  background: #b77d25;
}
.status-chip.muted {
  background: #f3f4f3;
  border-color: #d5d9d6;
  color: #606762;
}
.status-chip.muted::before {
  background: #9ba29d;
}
.project-table-wrap {
  overflow: auto;
  margin: 0 -2px;
}
.project-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
  min-width: 650px;
}
.project-table th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.065em;
  color: var(--muted);
  font-weight: 500;
  padding: 10px 12px 11px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.project-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e6ebe7;
  vertical-align: middle;
  line-height: 1.45;
}
.project-table tbody tr:last-child td {
  border-bottom: 0;
}
.project-table tbody tr {
  outline: none;
}
.project-table tbody tr:hover td,
.project-table tbody tr:focus td,
.project-table tbody tr:focus-within td {
  background: var(--green-soft);
}
.project-table tbody tr:hover td:first-child,
.project-table tbody tr:focus td:first-child,
.project-table tbody tr:focus-within td:first-child {
  box-shadow: inset 3px 0 var(--green);
}
.project-table .table-muted {
  color: var(--muted);
  font-size: 11px;
}
.project-page-status {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.project-page-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 22px;
  margin-bottom: 18px;
  scroll-margin-top: 110px;
}
.project-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}
.project-section-head h2 {
  font-size: 18px;
  margin: 0;
}
.project-section-head p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 0;
}
.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
}
.project-fact {
  min-width: 0;
}
.project-fact dt {
  font-size: 10px;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.project-fact dd {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
}
.project-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.project-field-grid .span-2 {
  grid-column: 1/-1;
}
.project-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 7px;
}
.project-field textarea,
.project-field input {
  width: 100%;
  border: 1px solid #aebbb2;
  border-radius: 4px;
  padding: 10px 11px;
  background: #fff;
  min-height: 42px;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
}
.project-field textarea {
  min-height: 94px;
  resize: vertical;
}
.project-field textarea[readonly],
.project-field input[readonly] {
  background: #f7f9f8;
  color: #3d453f;
  border-color: #d6dcd8;
}
.field-state {
  display: inline-flex;
  margin-left: 7px;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  color: var(--muted);
}
.project-inline-note {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  border-left: 3px solid var(--green);
  background: var(--green-soft);
  padding: 12px 14px;
  margin-top: 14px;
}
.company-page-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.company-form {
  display: grid;
  gap: 18px;
}
.company-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 22px;
}
.company-form-card h2 {
  font-size: 18px;
  margin: 0 0 16px;
}
.company-form-card .company-helper {
  font-size: 12px;
  color: var(--muted);
  margin: -7px 0 16px;
  line-height: 1.5;
}
.company-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.company-form-grid .span-2 {
  grid-column: 1/-1;
}
.company-form label {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.company-form input,
.company-form textarea {
  display: block;
  width: 100%;
  min-height: 42px;
  margin-top: 7px;
  border: 1px solid #aebbb2;
  border-radius: 4px;
  background: #fff;
  padding: 9px 11px;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
}
.company-form textarea {
  min-height: 82px;
  resize: vertical;
}
.company-form input:disabled,
.company-form textarea:disabled {
  opacity: 1;
  background: #f7f9f8;
  color: #3d453f;
  border-color: #d6dcd8;
}
.company-static-list {
  display: grid;
  gap: 0;
  margin: 0;
}
.company-static-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.company-static-list div:last-child {
  border-bottom: 0;
}
.company-static-list dt {
  font-size: 12px;
  color: var(--muted);
}
.company-static-list dd {
  margin: 0;
  font-size: 12px;
  text-align: right;
}
.client-shell.dashboard-view .client-rail,
.client-shell.dashboard-view .client-support {
  display: block;
}
.client-shell.dashboard-view .client-workspace {
  grid-template-columns: 185px minmax(0, 1fr) 260px;
}
.client-shell.dashboard-view .client-main {
  grid-column: 2;
  padding-left: 24px;
  padding-right: 24px;
}
.client-support #clientDashboardContext {
  display: block;
}
@media (max-width: 1100px) {
  .client-shell.dashboard-view .client-workspace {
    grid-template-columns: 155px minmax(0, 1fr);
  }
  .client-shell.dashboard-view .client-support {
    grid-column: 2;
    position: static;
    height: auto;
    border-left: 0;
    padding: 0 24px 90px;
    display: block;
  }
  .workspace-context-card {
    max-width: none;
  }
}
@media (max-width: 760px) {
  .project-facts,
  .project-field-grid,
  .company-form-grid {
    grid-template-columns: 1fr;
  }
  .project-field-grid .span-2,
  .company-form-grid .span-2 {
    grid-column: auto;
  }
  .client-shell.dashboard-view .client-support {
    padding: 0 18px 90px;
  }
  .dashboard-card,
  .project-page-card,
  .company-form-card {
    padding: 19px;
  }
}
.portfolio-card {
  padding: 0;
  overflow: hidden;
}
.portfolio-card .project-table-wrap {
  margin: 0;
}
.portfolio-card .project-table {
  min-width: 700px;
}
.register-group-row td {
  padding: 10px 14px !important;
  background: #f7f9f8 !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line) !important;
  font-size: 10px !important;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: #606a63;
}
.register-group-row:first-child td {
  border-top: 0;
}
.register-group-row .group-count {
  font-weight: 400;
  color: #879089;
  margin-left: 7px;
  letter-spacing: 0;
  text-transform: none;
}
.project-table tr.action-row td {
  background: var(--green-soft);
}
.project-table tr.action-row td:first-child {
  box-shadow: inset 3px 0 var(--green);
}
.project-table tr.action-row:hover td,
.project-table tr.action-row:focus td,
.project-table tr.action-row:focus-within td {
  background: #dff3e5;
}
.project-table tr.cancelled-row td {
  color: #737a75;
}
.project-table tr.cancelled-row .project-name-button {
  color: #555b57;
}
.task-glyph {
  width: 28px;
  height: 28px;
  border: 1px solid #aebbb2;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--ink);
}
.action-row .task-glyph {
  background: var(--green);
  border-color: #9da9a1;
}
.task-glyph svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.task-copy {
  min-width: 0;
}
.task-copy strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  line-height: 1.35;
}
.task-copy span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.priority-action-card .task-glyph {
  background: var(--green);
}
.project-table.compact td {
  padding-top: 11px;
  padding-bottom: 11px;
}
.project-table.compact .project-name-button {
  font-size: 12px;
}
.project-table.compact .project-name-button small {
  font-size: 10px;
}
.project-table .stage-text {
  font-size: 11px;
  color: #465048;
}
.project-table .date-stack {
  white-space: nowrap;
  font-size: 11px;
}
.project-table .date-stack strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
}
.project-table .date-stack span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}
@media (max-width: 960px) {
  .portfolio-card .project-table {
    min-width: 660px;
  }
}
.portfolio-card.concept-d {
  padding: 0;
  overflow: hidden;
}
.portfolio-card.concept-d .project-table {
  min-width: 760px;
}
.project-table.concept-d th:nth-child(1) {
  width: 24%;
}
.project-table.concept-d th:nth-child(2) {
  width: 24%;
}
.project-table.concept-d th:nth-child(3) {
  width: 34%;
}
.project-table.concept-d th:nth-child(4) {
  width: 14%;
}
.project-table.concept-d th:nth-child(5) {
  width: 4%;
}
.project-table.concept-d td {
  padding-top: 13px;
  padding-bottom: 13px;
  vertical-align: top;
}
.project-table.concept-d .register-group-row td {
  padding: 9px 13px !important;
  background: #f8faf9 !important;
  box-shadow: none !important;
}
.group-status {
  display: flex;
  align-items: center;
  gap: 9px;
}
.group-status-bubble {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid #adb8b0;
  background: #fff;
  color: var(--ink);
}
.group-status-bubble svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.group-status-bubble.live {
  background: var(--green);
  border-color: #91a49a;
}
.group-status-bubble.opportunity {
  background: #fff1d7;
  border-color: #ddb96f;
  color: #704a11;
}
.group-status-bubble.complete {
  background: #a9b1ac;
  border-color: #a9b1ac;
  color: #fff;
}
.group-status-bubble.cancelled {
  background: #f2f4f2;
  border-color: #c7cec9;
  color: #646c66;
}
.group-status-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: #59645d;
}
.group-status-count {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #879089;
}
.d-project-link {
  font: inherit;
  font-size: 13px;
  line-height: 1.38;
  font-weight: 600;
  text-align: left;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 250px;
  color: var(--ink);
}
.d-project-link:hover,
.d-project-link:focus-visible {
  text-decoration: underline;
  text-decoration-color: #9da89f;
  text-underline-offset: 4px;
}
.d-project-id {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: inherit;
  text-decoration: inherit;
}
.d-company-field {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  max-width: 215px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: var(--ink);
}
.project-table.concept-d .action-cell {
  min-width: 230px;
}
.project-table.concept-d .date-stack {
  white-space: normal;
  min-width: 118px;
}
.d-open-button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #aebbb2;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  padding: 0;
}
.d-open-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.d-open-button:hover,
.d-open-button:focus-visible {
  background: #f0f4f1;
  border-color: #88958c;
}
.project-table.concept-d tr.action-row td {
  background: transparent;
}
.project-table.concept-d tr.action-row td:first-child {
  box-shadow: inset 3px 0 var(--green);
}
.project-table.concept-d tbody tr:hover td,
.project-table.concept-d tbody tr:focus td,
.project-table.concept-d tbody tr:focus-within td {
  background: var(--green-soft);
}
.project-table.concept-d tbody tr:not(.action-row):hover td:first-child,
.project-table.concept-d tbody tr:not(.action-row):focus td:first-child,
.project-table.concept-d tbody tr:not(.action-row):focus-within td:first-child {
  box-shadow: none;
}
.project-table.concept-d tr.action-row:hover td:first-child,
.project-table.concept-d tr.action-row:focus td:first-child,
.project-table.concept-d tr.action-row:focus-within td:first-child {
  box-shadow: inset 3px 0 var(--green);
}
.d-action-list,
.d-due-list,
.d-open-list {
  display: grid;
  gap: 9px;
}
.d-action-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 30px;
}
.d-due-item,
.d-open-item {
  min-height: 30px;
  display: flex;
  align-items: flex-start;
}
.d-open-item {
  justify-content: center;
}
.d-due-item strong {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}
.d-no-action {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
  padding-top: 4px;
}
.archive-toggle {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid #a9b1ac;
  background: #a9b1ac;
  color: #fff;
  padding: 0;
}
.archive-toggle svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.archive-toggle.is-collapsed svg {
  transform: rotate(90deg);
}
.archive-toggle.is-expanded svg {
  transform: rotate(-90deg);
}
.archive-toggle:hover,
.archive-toggle:focus-visible {
  background: #929b95;
  border-color: #929b95;
}
.dashboard-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.dashboard-head-row > div {
  min-width: 0;
}
.dashboard-head-row .primary {
  flex: none;
  margin-bottom: 2px;
}
.company-help-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #b8c4bc;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.company-help-link:hover {
  background: #edf3ef;
  border-color: #919d95;
}
@media (max-width: 960px) {
  .portfolio-card.concept-d .project-table {
    min-width: 720px;
  }
  .dashboard-head-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .dashboard-head-row .primary {
    align-self: flex-start;
  }
}
