@font-face {
  font-family: "ES Klarheit Kurrent";
  src:
    local("ES Klarheit Grotesk Book TRIAL"),
    local("ES Klarheit Grotesk TRIAL Book"),
    url("https://cdn.polarsy.com/global/fonts/ES%20Klarheit%20Grotesk%20-%20Book.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ES Klarheit Kurrent TRIAL";
  src:
    local("ES Klarheit Grotesk Book TRIAL"),
    local("ES Klarheit Grotesk TRIAL Book"),
    url("https://cdn.polarsy.com/global/fonts/ES%20Klarheit%20Grotesk%20-%20Book.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ES Klarheit Grotesk";
  src:
    local("ES Klarheit Grotesk Book TRIAL"),
    local("ES Klarheit Grotesk TRIAL Book"),
    url("https://cdn.polarsy.com/global/fonts/ES%20Klarheit%20Grotesk%20-%20Book.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ES Klarheit Grotesk Book";
  src:
    local("ES Klarheit Grotesk Book TRIAL"),
    local("ES Klarheit Grotesk TRIAL Book"),
    url("https://cdn.polarsy.com/global/fonts/ES%20Klarheit%20Grotesk%20-%20Book.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ES Klarheit Grotesk TRIAL Book";
  src:
    local("ES Klarheit Grotesk Book TRIAL"),
    local("ES Klarheit Grotesk TRIAL Book"),
    url("https://cdn.polarsy.com/global/fonts/ES%20Klarheit%20Grotesk%20-%20Book.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ES Klarheit Grotesk Semibold";
  src:
    local("ES Klarheit Grotesk Medium TRIAL"),
    local("ES Klarheit Grotesk TRIAL Medium"),
    url("https://cdn.polarsy.com/global/fonts/ES%20Klarheit%20Grotesk%20-%20Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "ES Klarheit Grotesk Medium";
  src:
    local("ES Klarheit Grotesk Medium TRIAL"),
    local("ES Klarheit Grotesk TRIAL Medium"),
    url("https://cdn.polarsy.com/global/fonts/ES%20Klarheit%20Grotesk%20-%20Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "ES Klarheit Grotesk Medium TRIAL";
  src:
    local("ES Klarheit Grotesk Medium TRIAL"),
    local("ES Klarheit Grotesk TRIAL Medium"),
    url("https://cdn.polarsy.com/global/fonts/ES%20Klarheit%20Grotesk%20-%20Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "ES Klarheit Grotesk Semibold TRIAL";
  src:
    local("ES Klarheit Grotesk Medium TRIAL"),
    local("ES Klarheit Grotesk TRIAL Medium"),
    url("https://cdn.polarsy.com/global/fonts/ES%20Klarheit%20Grotesk%20-%20Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --page-bg: #ffffff;
  --page-bg-strong: #ffffff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --surface-soft: #f2f2f2;
  --surface-softer: #d4dee7;
  --brand-primary: #000000;
  --brand-secondary: #262626;
  --brand-soft: #efefef;
  --brand-soft-strong: #d7d7d7;
  --brand-ghost: rgba(255, 255, 255, 0.78);
  --brand-glow-soft: rgba(112, 112, 112, 0.22);
  --brand-glow-strong: rgba(0, 0, 0, 0.44);
  --status-neutral-bg: #e8e8e8;
  --status-neutral-text: #111111;
  --status-neutral-dot: #000000;
  --text-strong: #161616;
  --text-muted: #aaaaaa;
  --text-faint: #797979;
  --border-soft: rgba(22, 22, 22, 0.08);
  --border-strong: rgba(22, 22, 22, 0.14);
  --shadow-card: 0 38px 80px rgba(16, 16, 16, 0.09);
  --shadow-soft: 0 14px 28px rgba(16, 16, 16, 0.07);
  --radius-shell: 30px;
  --radius-panel: 24px;
  --radius-field: 18px;
  --radius-pill: 999px;
  --max-width: 1320px;
  --auth-card-height: 935px;
  --auth-panel-width: 420px;
}

html,
body,
* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  color: var(--text-strong);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.82), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.42), transparent 22%),
    linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-strong) 100%);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[data-surface="ops"] body {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.48), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(27, 27, 27, 0.16), transparent 28%),
    linear-gradient(180deg, #f7f8fb 0%, #eef3f8 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #939393;
  opacity: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.screen {
  position: relative;
  min-height: 100vh;
  padding: clamp(16px, 3vw, 32px);
  overflow: hidden;
}

.screen::before,
.screen::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(0);
  opacity: 0.85;
  pointer-events: none;
}

.screen::before {
  top: -120px;
  right: min(6vw, 72px);
  width: clamp(240px, 30vw, 420px);
  height: clamp(240px, 30vw, 420px);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0) 72%);
}

.screen::after {
  display: none;
}

.screen--loading {
  background: #ffffff;
}

.screen--auth {
  padding: 0;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 22%, var(--brand-ghost) 0%, rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 82% 18%, rgba(92, 92, 92, 0.36) 0%, rgba(92, 92, 92, 0) 28%),
    linear-gradient(135deg, #fafafa 0%, var(--brand-soft) 18%, var(--brand-primary) 52%, var(--brand-secondary) 72%, #ececec 100%);
  background-size: 170% 170%;
  animation: auth-gradient-shift 20s ease-in-out infinite;
}

.screen--auth::before,
.screen--auth::after {
  display: block;
  z-index: 0;
  filter: blur(18px);
}

.screen--auth::before {
  top: -12vh;
  right: -8vw;
  width: clamp(320px, 38vw, 560px);
  height: clamp(320px, 38vw, 560px);
  opacity: 0.52;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.14) 48%, rgba(255, 255, 255, 0) 72%);
  animation: auth-gradient-float-one 24s ease-in-out infinite;
}

.screen--auth::after {
  bottom: -16vh;
  left: -10vw;
  width: clamp(360px, 42vw, 620px);
  height: clamp(360px, 42vw, 620px);
  opacity: 0.34;
  background: radial-gradient(circle, var(--brand-glow-strong) 0%, var(--brand-glow-soft) 44%, rgba(0, 0, 0, 0) 72%);
  animation: auth-gradient-float-two 28s ease-in-out infinite;
}

.screen--loading::before,
.screen--loading::after {
  display: none;
}

.screen--loading .loading-stage {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - clamp(32px, 6vw, 64px));
  justify-content: center;
}

.auth-stage,
.loading-stage {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  min-height: calc(100vh - clamp(32px, 6vw, 64px));
  display: flex;
  flex-direction: column;
}

.dashboard-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - clamp(32px, 6vw, 64px));
  display: flex;
  flex-direction: column;
}

.auth-card,
.dashboard-card,
.loading-card {
  background: var(--surface);
}

.auth-card {
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - clamp(32px, 6vw, 64px));
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  animation: rise 0.55s ease both;
}

.auth-panel {
  position: relative;
  z-index: 3;
  width: 100%;
  min-width: 0;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 32px);
}

.auth-panel__inner {
  width: min(100%, 598px);
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.auth-panel__card {
  position: relative;
  z-index: 1;
}

.auth-logo {
  width: auto;
  height: 60px;
}

.auth-title {
  margin: 32px 0 14px;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-synthesis: none;
}

.auth-subtitle {
  margin: 0 0 30px;
  color: var(--text-strong);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: 0;
  max-width: 25rem;
}

.verify-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin: -8px 0 24px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.3;
  box-shadow: inset 0 0 0 1px rgba(22, 22, 22, 0.04);
}

.verify-email span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.field-group--full {
  grid-column: 1 / -1;
}

.field-label {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.field-hint {
  min-height: 1.1rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.3;
}

.field-hint--error {
  color: #8f4339;
}

.field {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--surface-soft);
  color: #000000;
  font-size: 1rem;
  letter-spacing: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

[data-auth-form="login"] .field {
  text-align: center;
}

[data-auth-form] .field,
[data-auth-form] .phone-field,
[data-auth-form] .code-input {
  border-color: #e1e1e1;
  background: #ffffff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

[data-auth-form] .field,
[data-auth-form] .phone-field {
  min-height: 64px;
  height: 64px;
  border-radius: 27px;
  padding-left: 24px;
  padding-right: 24px;
}

[data-auth-form] .field {
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1.02rem;
}

[data-auth-form] .field,
[data-auth-form] .field.is-filled,
[data-auth-form] .code-input,
[data-auth-form] .phone-field__input {
  color: #000000;
  caret-color: #000000;
  -webkit-text-fill-color: #000000;
}

[data-auth-form] .field::placeholder,
[data-auth-form] .phone-field__input::placeholder {
  color: #939393;
  -webkit-text-fill-color: #939393;
}

[data-auth-form="finish"] .field,
[data-auth-form="finish"] .field.is-filled,
[data-auth-form="signup"] .field,
[data-auth-form="signup"] .field.is-filled,
[data-auth-form="finish"] .phone-field__input,
[data-auth-form="signup"] .phone-field__input {
  color: #000000;
  -webkit-text-fill-color: #000000;
}

[data-auth-form="finish"] .phone-field__input::placeholder,
[data-auth-form="signup"] .phone-field__input::placeholder {
  color: #939393;
  -webkit-text-fill-color: #939393;
}

.field::placeholder {
  color: #939393;
  letter-spacing: 0;
}

.field:hover,
.code-input:hover {
  background: #f2f2f2;
}

[data-auth-form] .field:hover,
[data-auth-form] .phone-field:hover,
[data-auth-form] .code-input:hover {
  background: #ffffff;
  border-color: #d8d8d8;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.field:focus {
  outline: none;
  border-color: rgba(22, 22, 22, 0.1);
  box-shadow: 0 0 0 4px rgba(22, 22, 22, 0.05);
}

[data-auth-form] .field:focus {
  border-color: rgba(22, 22, 22, 0.14);
  box-shadow: 0 0 0 4px rgba(22, 22, 22, 0.04), 0 10px 28px rgba(0, 0, 0, 0.07);
}

.field:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.address-autocomplete {
  position: relative;
}

.equipment-autocomplete {
  display: block;
  width: 100%;
}

.address-suggestions {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  z-index: 30;
  min-width: 100%;
  padding: 8px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.address-suggestions.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.address-suggestions__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.address-suggestion {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text-strong);
  cursor: pointer;
  text-align: left;
}

.address-suggestion:hover,
.address-suggestion.is-active,
.address-suggestion:focus-visible {
  background: var(--surface-soft);
  outline: none;
}

.address-suggestion--status {
  min-height: 0;
  cursor: default;
}

.address-suggestion--status:hover,
.address-suggestion--status.is-active,
.address-suggestion--status:focus-visible {
  background: transparent;
}

.address-suggestion--status.is-error .address-suggestion__primary {
  color: #8b1e1e;
}

.address-suggestion__primary {
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.address-suggestion__secondary {
  color: var(--text-faint);
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.phone-field {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--surface-soft);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.phone-field:hover {
  background: #f2f2f2;
}

.phone-field:focus-within {
  border-color: rgba(22, 22, 22, 0.1);
  box-shadow: 0 0 0 4px rgba(22, 22, 22, 0.05);
}

[data-auth-form] .phone-field:focus-within {
  border-color: rgba(22, 22, 22, 0.14);
  box-shadow: 0 0 0 4px rgba(22, 22, 22, 0.04), 0 10px 28px rgba(0, 0, 0, 0.07);
}

.phone-field__prefix {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}

.phone-field__input {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 0 0 0 12px;
  border: 0;
  background: transparent;
  color: #000000;
  font-size: 1rem;
  letter-spacing: 0;
}

.phone-field__input::placeholder {
  color: #939393;
  letter-spacing: 0;
}

.phone-field__input:focus {
  outline: none;
}

[data-auth-form] .phone-field__input {
  height: 100%;
  min-height: 0;
  padding-left: 14px;
  line-height: 1.2;
}

.primary-button,
.secondary-button,
.user-menu__item,
.avatar-button {
  transition: transform 0.18s ease, border-color 0.18s ease, opacity 0.18s ease, outline-color 0.18s ease;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 16px 22px;
  border: 0;
  border-radius: 0;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}

[data-auth-form] .primary-button {
  min-height: 58px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.primary-button:hover:enabled,
.secondary-button:hover:enabled {
  transform: translateY(-1px);
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: wait;
  opacity: 0.9;
}

.button__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.primary-button.is-loading .button__spinner {
  display: inline-block;
}

.form-feedback {
  min-height: 1.35rem;
  margin: 2px 0 0;
  color: #c15037;
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-feedback.is-success {
  color: #3f7150;
}

.form-feedback.is-empty {
  min-height: 0;
}

.auth-sso-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.auth-sso-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.auth-sso-link:hover,
.auth-sso-link:focus-visible {
  color: var(--text-strong);
  outline: none;
}

.verify-code-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.code-input {
  width: 100%;
  height: 74px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: #f2f2f2;
  color: #000000;
  text-align: center;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

[data-auth-form="verify"] .code-input {
  height: 82px;
  border-radius: 24px;
}

.code-input:focus {
  outline: none;
  border-color: rgba(22, 22, 22, 0.1);
  box-shadow: 0 0 0 4px rgba(22, 22, 22, 0.05);
  transform: translateY(-1px);
}

[data-auth-form="verify"] .code-input:focus {
  border-color: rgba(22, 22, 22, 0.14);
  box-shadow: 0 0 0 4px rgba(22, 22, 22, 0.04), 0 10px 28px rgba(0, 0, 0, 0.07);
}

.helper-copy {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.resend-link {
  align-self: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.resend-link:hover:not(:disabled) {
  color: var(--text-strong);
}

.resend-link:disabled {
  cursor: default;
  opacity: 0.72;
}

.loading-card {
  width: min(100%, 520px);
  min-height: clamp(120px, 20vw, 180px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rise 0.45s ease both;
  transition: opacity 220ms ease;
}

.loading-wordmark {
  position: relative;
  width: min(30vw, 112px);
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  transition: opacity 220ms ease;
}

.loading-wordmark__base,
.loading-wordmark__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.loading-wordmark__base {
  opacity: 0.12;
}

.loading-wordmark__fill {
  position: absolute;
  inset: 0;
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
  transition: clip-path 120ms linear, -webkit-clip-path 120ms linear;
}

.screen--loading.is-completing .loading-card {
  opacity: 0;
}

.screen--loading.is-completing .loading-wordmark {
  opacity: 0;
}

.screen--dashboard {
  padding: 0;
  overflow: visible;
}

.dashboard-card {
  flex: 1;
  border-radius: 0;
  padding: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.dashboard-topbar {
  width: 100%;
}

.dashboard-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 30px;
  width: 100%;
  padding: 34px 48px 0;
  box-sizing: border-box;
}

.dashboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.dashboard-brand__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.dashboard-brand img {
  width: 45px;
  height: auto;
  flex: 0 0 auto;
}

.dashboard-nav {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.dashboard-nav__link {
  color: #898989;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0;
  transition: color 0.18s ease;
}

.dashboard-nav__link:hover {
  color: #000000;
}

.dashboard-nav__link.is-active {
  color: #000000;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
}

.dashboard-topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.dashboard-notification-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dashboard-notification {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dashboard-notification img {
  width: 30px;
  height: 30px;
  display: block;
}

.dashboard-notification:focus-visible {
  outline: 2px solid rgba(22, 22, 22, 0.18);
  outline-offset: 6px;
}

.dashboard-notification.is-ringing img {
  animation: dashboard-notification-ring 0.66s linear;
  transform-origin: top center;
}

.dashboard-notification-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  left: auto;
  width: min(360px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--border-soft);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 30;
}

.dashboard-notification-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dashboard-notification-menu__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-notification-menu__item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 17px;
  color: #000000;
  text-decoration: none;
}

.dashboard-notification-menu__item:hover {
  background: var(--surface-soft);
}

.dashboard-notification-menu__item:focus-visible {
  outline: 2px solid rgba(22, 22, 22, 0.18);
  outline-offset: 2px;
}

.dashboard-notification-menu__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.dashboard-notification-menu__item-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.dashboard-notification-menu__item-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.dashboard-notification-menu__item-title,
.dashboard-notification-menu__empty-title {
  color: #000000;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.dashboard-notification-menu__item-subtitle,
.dashboard-notification-menu__empty-copy {
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

.dashboard-notification-menu__item-status {
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
}

.dashboard-notification-menu__item-status--ready {
  color: #026806;
}

.dashboard-notification-menu__item-status--on-hold {
  color: var(--status-neutral-text);
}

.dashboard-notification-menu__item-status--pending {
  color: var(--status-neutral-text);
}

.dashboard-notification-menu__item-status--rejected {
  color: var(--status-neutral-text);
}

.dashboard-notification-menu__empty {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  text-align: left;
}

@keyframes dashboard-notification-ring {
  0% {
    transform: rotate(0deg);
  }
  18% {
    transform: rotate(-17deg);
  }
  36% {
    transform: rotate(15deg);
  }
  54% {
    transform: rotate(-10deg);
  }
  72% {
    transform: rotate(8deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.user-menu-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.avatar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.avatar-button:focus-visible,
.user-menu__item:focus-visible {
  outline: 2px solid rgba(22, 22, 22, 0.18);
  outline-offset: 2px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f3f3;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
}

.user-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  left: auto;
  min-width: 100%;
  padding: 8px;
  border: 1px solid var(--border-soft);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.user-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.user-menu__item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: var(--text-strong);
  cursor: pointer;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 0.9rem;
  text-align: right;
}

.user-menu__item:hover {
  background: var(--surface-soft);
}

.dashboard-main {
  flex: 1;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 72px 48px 48px;
}

.dashboard-projects {
  width: 100%;
}

.dashboard-projects__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 58px;
}

.dashboard-projects__header--row .dashboard-title {
  margin: 0;
}

.dashboard-projects__header--admin {
  margin-bottom: 32px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.projects-home {
  width: 100%;
}

.projects-home--admin .projects-filter {
  margin-top: 70px;
}

.projects-home__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-admin__header {
  width: min(100%, 890px);
  margin: 0 auto;
}

.projects-admin__label {
  margin: 0 0 12px;
  color: #898989;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.2;
}

.projects-home__title {
  margin: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 32px;
  line-height: 1.1;
  text-align: center;
}

.project-quickstart {
  width: min(100%, 890px);
  margin: 42px auto 0;
}

.project-quickstart__field {
  position: relative;
  display: block;
  width: 100%;
}

.project-quickstart__input {
  width: 100%;
  padding: 40px 102px 40px 30px;
  border: 1px solid #e1e1e1;
  border-radius: 27px;
  background: #ffffff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 24px;
  line-height: 1.1;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.project-quickstart__input:focus,
.project-quickstart__input:focus-visible {
  outline: none;
  border-color: #e1e1e1;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.project-quickstart__submit {
  position: absolute;
  top: 50%;
  right: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000000;
  cursor: pointer;
  transform: translateY(-50%);
}

.project-quickstart__submit img {
  width: 30px;
  height: 30px;
  display: block;
}

.project-quickstart__submit:disabled,
.project-quickstart__input:disabled {
  cursor: progress;
  opacity: 0.82;
}

.projects-home__feedback {
  width: min(100%, 890px);
  margin: 14px auto 0;
  text-align: left;
}

.projects-home__draft-banner {
  width: min(100%, 890px);
  min-height: 72px;
  margin: 18px auto 0;
  padding: 0 30px 0 30px;
  border-radius: 22px;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.projects-home__draft-list {
  width: min(100%, 890px);
  margin: 18px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.projects-home__draft-list .projects-home__draft-banner {
  width: 100%;
  margin: 0;
}

.projects-home__draft-copy {
  margin: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.3;
}

.projects-home__draft-actions {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  flex: 0 0 auto;
}

.projects-home__draft-action {
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  cursor: pointer;
}

.projects-home__draft-action--delete {
  color: var(--brand-primary);
}

.projects-home__draft-action:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.projects-filter,
.projects-list {
  width: min(100%, 890px);
  margin: 0 auto;
}

.projects-filter {
  margin-top: 42px;
}

.projects-filter__tabs {
  display: inline-flex;
  align-items: center;
  gap: 30px;
}

.projects-filter__tab {
  position: relative;
  padding: 0 0 18px;
  border: 0;
  background: transparent;
  color: #898989;
  cursor: pointer;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.2;
}

.projects-filter__tab:hover {
  color: #000000;
}

.projects-filter__tab.is-active {
  color: #000000;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
}

.projects-filter__tab.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: #000000;
}

.project-detail-tab-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.project-detail-tab-button__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.project-detail-content-tabs .projects-filter__tab:not(.is-active),
.project-detail-mobile-tabs .projects-filter__tab:not(.is-active) {
  color: #898989;
}

.project-detail-content-tabs .projects-filter__tab:not(.is-active):hover,
.project-detail-mobile-tabs .projects-filter__tab:not(.is-active):hover {
  color: #898989;
}

.projects-filter__line {
  width: 100%;
  height: 1px;
  background: #eaeaea;
}

.projects-list {
  margin-top: 0;
}

.projects-list__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 33px 0;
  border-bottom: 1px solid #eaeaea;
}

.projects-list > .projects-list__row:only-child {
  border-bottom: 0;
}

.projects-list__row--skeleton {
  pointer-events: none;
  animation: projectsSkeletonEnter 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.projects-list__link {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  color: inherit;
}

.projects-list__name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.2;
  flex-wrap: wrap;
}

.projects-list__name-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.projects-list__name-content {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-wrap: wrap;
}

.projects-list__name-segment {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.projects-list__name--compound {
  gap: 12px;
}

.projects-list__meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  min-width: 0;
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  flex-wrap: wrap;
}

.projects-list__meta--skeleton {
  flex-wrap: nowrap;
}

.projects-list__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7f7f7f;
  flex: 0 0 auto;
}

.projects-list__row--skeleton .projects-list__dot {
  background: #f3f3f3;
}

.projects-list__divider {
  width: 1px;
  min-height: 18px;
  align-self: stretch;
  border-left: 1px solid #a7a7a7;
  flex: 0 0 auto;
}

.staff-directory__meta .projects-list__divider {
  border-left-color: #7f7f7f;
}

.projects-list__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.projects-list__status,
.projects-list__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 114px;
  height: 43px;
  border-radius: 100px;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1;
}

.projects-list__status--pending {
  background: var(--status-neutral-bg);
  color: var(--status-neutral-text);
}

.projects-list__status {
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
}

.projects-list__status--on-hold,
.projects-list__status--rejected {
  background: var(--status-neutral-bg);
  color: var(--status-neutral-text);
}

.projects-list__status--ready {
  background: #a5ffa8;
  color: #026806;
}

.projects-list__status--send-project {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border: 0;
  background: #000000;
  color: #ffffff;
  box-sizing: border-box;
  cursor: pointer;
}

.projects-list__status--send-project img {
  width: 24px;
  height: 24px;
  display: block;
}

.projects-list__status--send-project:disabled {
  cursor: progress;
  opacity: 0.7;
}

.projects-list__status--delete-project {
  width: auto;
  padding: 0 15px;
  border: 0;
  background: #ffb5b5;
  color: #bd1d1d;
  box-sizing: border-box;
  cursor: pointer;
}

.projects-list__status--delete-project:disabled {
  cursor: progress;
  opacity: 0.7;
}

.projects-list__download {
  width: auto;
  justify-content: center;
  gap: 7px;
  padding: 0 15px;
  border: 1px solid #dbdbdb;
  background: #ffffff;
  color: #000000;
  box-sizing: border-box;
}

.projects-list__download img {
  width: 24px;
  height: 24px;
  display: block;
}

.projects-list__empty {
  padding: 42px 0 0;
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
}

.staff-home {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.staff-home__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.staff-home__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.staff-home__intro .projects-home__title {
  text-align: left;
}

.staff-home__add,
.staff-home__back {
  flex: 0 0 auto;
}

.staff-home__notice {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: 22px;
  background: #f6f4f4;
}

.staff-home__notice p {
  margin: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.staff-home__feedback {
  width: 100%;
  margin: 18px 0 0;
  text-align: left;
}

.staff-directory {
  width: 100%;
  margin-top: 22px;
}

.staff-directory__row.projects-table__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  padding: 33px 0;
}

.staff-directory__identity {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
}

.staff-directory__name {
  display: block;
}

.staff-directory__meta {
  margin-top: 15px;
}

.staff-directory__meta--stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.staff-directory__controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(172px, 172px));
  gap: 18px;
  align-items: end;
  flex: 0 0 auto;
}

.staff-directory__control {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.staff-directory__control--action {
  align-items: stretch;
}

.staff-directory__control-label {
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.25;
}

.staff-directory__readonly {
  display: inline-block;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  text-align: left;
}

.staff-directory__delete {
  min-height: 38px;
}

.staff-directory__empty {
  padding-top: 8px;
}

.staff-home__empty {
  margin-top: 30px;
}

.staff-home--create {
  width: min(100%, 890px);
}

.staff-create-card {
  margin-top: 34px;
  padding: 32px;
  border: 1px solid #eaeaea;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.staff-create-form {
  gap: 28px;
}

.staff-create-card .field-label {
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

.staff-create-card .field,
.staff-create-card .email-suffix-field,
.staff-create-card .admin-status-select {
  min-height: 64px;
  border: 1px solid #e1e1e1;
  border-radius: 27px;
  background: #ffffff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.staff-create-card .field {
  height: 64px;
  padding: 0 24px;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1.02rem;
}

.staff-create-card .field::placeholder,
.staff-create-card .email-suffix-field__input::placeholder {
  color: #939393;
}

.staff-create-card .field:hover,
.staff-create-card .email-suffix-field:hover,
.staff-create-card .admin-status-select:hover {
  border-color: #d8d8d8;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.staff-create-card .field:focus,
.staff-create-card .email-suffix-field:focus-within,
.staff-create-card .admin-status-select:focus,
.staff-create-card .admin-status-select:focus-visible {
  outline: none;
  border-color: rgba(22, 22, 22, 0.14);
  box-shadow: 0 0 0 4px rgba(22, 22, 22, 0.04), 0 10px 28px rgba(0, 0, 0, 0.07);
}

.staff-create-card .email-suffix-field {
  padding: 0 24px;
}

.staff-create-card .email-suffix-field__input,
.staff-create-card .email-suffix-field__suffix {
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1.02rem;
}

.staff-create-card .email-suffix-field__suffix {
  color: #939393;
}

.staff-create-card .admin-status-select-wrap {
  width: 100%;
}

.staff-create-card .admin-status-select-wrap::after {
  right: 28px;
}

.staff-create-card .admin-status-select {
  width: 100%;
  height: 64px;
  padding: 0 54px 0 24px;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1.02rem;
}

.staff-create-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.staff-create-form__actions .form-feedback {
  flex: 1 1 auto;
  min-height: 1.35rem;
  margin: 0;
}

.staff-create-form__submit.primary-button {
  flex: 0 0 auto;
  width: 58px;
  min-width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.staff-create-form__submit img {
  width: 30px;
  height: 30px;
  display: block;
}

.staff-create-form__submit.is-loading img {
  display: none;
}

.projects-skeleton {
  display: inline-block;
  background: #f3f3f3;
  border-radius: 0;
  animation: projectsSkeletonPulse 0.9s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.projects-skeleton--title {
  width: min(100%, 320px);
  height: 24px;
}

.projects-skeleton--meta {
  width: 220px;
  max-width: 100%;
  height: 16px;
}

.projects-skeleton--date {
  width: 74px;
  height: 16px;
}

.projects-skeleton--pill {
  width: 114px;
  height: 38px;
  border-radius: 100px;
}

.dashboard-client-selector {
  position: relative;
  min-width: 0;
}

.dashboard-client-selector__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  cursor: pointer;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-synthesis: none;
}

.dashboard-client-selector--projects .dashboard-client-selector__button {
  gap: 14px;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0;
}

.dashboard-client-selector__button:disabled {
  cursor: default;
  opacity: 0.5;
}

.dashboard-client-selector__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #000000;
}

.dashboard-client-selector__chevron svg {
  width: 16px;
  height: 16px;
}

.dashboard-client-selector__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  display: none;
  min-width: 280px;
  max-width: 420px;
  padding: 10px;
  border: 1px solid #dadada;
  border-radius: 25px;
  background: #ffffff;
  z-index: 20;
}

.dashboard-client-selector__menu.is-open {
  display: block;
}

.dashboard-client-selector__item {
  display: block;
  width: 100%;
  padding: 12px 18px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: #000000;
  cursor: pointer;
  text-align: left;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

.dashboard-client-selector__item.is-active,
.dashboard-client-selector__item:hover {
  background: #f5f5f5;
}

.dashboard-feedback {
  min-height: 24px;
  margin: 0 0 14px;
  color: #000000;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  visibility: hidden;
}

.dashboard-feedback.is-visible {
  visibility: visible;
}

.projects-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.projects-table {
  min-width: 1180px;
}

.projects-table--client {
  min-width: 880px;
}

.projects-table--admin {
  min-width: 1440px;
}

.projects-table--staff {
  min-width: 1288px;
}

.projects-table__row {
  display: grid;
  grid-template-columns: 190px 120px minmax(280px, 1.5fr) 150px 150px 180px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid #dadada;
  min-width: 0;
}

.projects-table__row--client {
  grid-template-columns: minmax(220px, 1.15fr) minmax(300px, 1.6fr) minmax(160px, 0.85fr) 140px;
}

.projects-table__row--admin {
  grid-template-columns: 180px 120px minmax(260px, 1.6fr) 150px 190px 172px 172px;
}

.projects-table__row--staff {
  grid-template-columns: minmax(140px, 1fr) minmax(160px, 1fr) minmax(300px, 1.45fr) 172px 172px 172px;
}

.projects-table__row--head {
  padding-top: 0;
  padding-bottom: 22px;
}

.projects-table__heading {
  color: #000000;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.projects-table__cell {
  min-width: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk Semibold TRIAL", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.projects-table__primary {
  display: inline-block;
  color: #000000;
  font-family: "ES Klarheit Grotesk Semibold TRIAL", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.projects-table__cell--empty {
  grid-column: 1 / -1;
}

.projects-table__address {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.projects-table__address-line {
  margin: 0;
}

.projects-table__link,
.projects-table__link:visited {
  color: #000000;
  font-family: "ES Klarheit Grotesk Semibold TRIAL", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.projects-table__link--with-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.projects-table__link-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
}

.projects-table__link--placeholder {
  opacity: 1;
  cursor: default;
}

.projects-table__text {
  display: inline-block;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk Semibold TRIAL", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.project-status__dot {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  border-radius: 50%;
}

.project-status__dot--submitted {
  background: var(--status-neutral-dot);
}

.project-status__dot--on-hold {
  background: var(--status-neutral-dot);
}

.project-status__dot--ready {
  background: #1da479;
}

.project-status__dot--rejected {
  background: var(--status-neutral-dot);
}

.admin-upload-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 172px;
  min-height: 52px;
  padding: 14px 18px;
  border: 0;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
  font-family: "ES Klarheit Grotesk Semibold TRIAL", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
}

.admin-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.admin-status-select-wrap {
  position: relative;
  display: inline-flex;
  width: 172px;
}

.admin-status-select-wrap--staff,
.admin-status-select-wrap--staff-form {
  width: 172px;
}

.admin-status-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #111111;
  border-bottom: 2px solid #111111;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.admin-status-select {
  width: 172px;
  min-height: 43px;
  padding: 0 40px 0 15px;
  border: 1px solid #dbdbdb;
  border-radius: 25px;
  background: #ffffff;
  color: #000000;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.2;
  appearance: none;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.admin-status-select:focus,
.admin-status-select:focus-visible {
  outline: none;
  border-color: #dbdbdb;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.admin-status-select:disabled {
  cursor: default;
  opacity: 0.65;
}

.admin-status-readonly {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
}

.admin-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100% - 32px, 420px);
  padding: 30px;
  border: 1px solid #dadada;
  border-radius: 25px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.admin-modal__title {
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.admin-modal__action {
  width: 100%;
}

.admin-modal__action.primary-button,
.admin-modal__secondary.secondary-button {
  border-radius: 25px;
}

.admin-modal__action--danger.primary-button {
  background: #ffb5b5;
  color: #bd1d1d;
}

.admin-modal__copy {
  width: 100%;
  margin: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: center;
}

.admin-modal__actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-modal__secondary {
  width: 100%;
}

.staff-delete-button {
  width: 172px;
  min-height: 52px;
}

.staff-created-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.staff-created-card__line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.staff-created-card__line span {
  color: var(--text-muted);
}

.staff-created-card__line strong {
  font-family: "ES Klarheit Grotesk Semibold TRIAL", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-weight: 600;
}

.staff-created-card__copy {
  width: 100%;
}

.projects-empty {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 28px 0;
  border-top: 1px solid #dadada;
  border-bottom: 1px solid #dadada;
  border-radius: 0;
  text-align: center;
}

.projects-empty__copy {
  max-width: 30rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.dashboard-main--wizard {
  display: block;
  padding: 40px 0 0;
}

.wizard-layout {
  width: min(100%, 980px);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  padding-bottom: 40px;
}

.wizard-step-nav {
  flex: 0 0 210px;
  align-self: flex-start;
  margin-top: 40px;
}

.wizard-step-list {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 40px;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wizard-step-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.wizard-step-item__label {
  color: #cdcdcd;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.2;
}

.wizard-step-item__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #f3f3f3;
  color: #a7a7a7;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1;
}

.wizard-step-item.is-current .wizard-step-item__label {
  color: #000000;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
}

.wizard-step-item.is-current .wizard-step-item__number {
  background: #000000;
  color: #ffffff;
}

.wizard-step-item.is-completed .wizard-step-item__label {
  color: #000000;
}

.wizard-step-item.is-completed .wizard-step-item__number {
  background: #a5ffa8;
  color: #026806;
}

.wizard-card-shell {
  width: min(100%, 598px);
  border: 1px solid #e1e1e1;
  border-radius: 27px;
  background: #ffffff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  padding: 37px;
}

.wizard-step-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.wizard-step-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
}

.wizard-step-header__icon img,
.wizard-step-header__icon svg {
  width: 37px;
  height: 37px;
}

.wizard-step-header__title {
  margin: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 32px;
  line-height: 1.1;
}

.wizard-step-header__subtitle {
  margin: 20px 0 65px;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.wizard-form {
  width: 100%;
  margin-top: 32px;
}

.wizard-form__body {
  width: min(100%, 486px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wizard-form__body--review {
  gap: 24px;
}

.wizard-form__row {
  display: grid;
  gap: 18px;
}

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

.wizard-card-shell .field-group {
  gap: 12px;
}

.wizard-card-shell .field-group--full {
  grid-column: auto;
}

.wizard-card-shell .field-label {
  padding-left: 30px;
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.wizard-card-shell .field-hint {
  min-height: 1rem;
  padding-left: 30px;
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.wizard-card-shell .field-hint:empty {
  display: none;
}

.wizard-card-shell .field,
.wizard-card-shell .wizard-select {
  min-height: 51px;
  height: 51px;
  padding: 0 30px;
  border: 1px solid #dbdbdb;
  border-radius: 100px;
  background: #ffffff;
  color: #959595;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.wizard-card-shell .field::placeholder,
.wizard-card-shell textarea.field::placeholder {
  color: #959595;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 18px;
}

.wizard-card-shell .field.is-filled,
.wizard-card-shell .wizard-select.is-filled,
.wizard-card-shell .field--textarea.is-filled {
  color: #000000;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
}

.wizard-card-shell [data-auth-form] .field,
.wizard-card-shell [data-auth-form] .field.is-filled,
.wizard-card-shell [data-auth-form] .code-input,
.wizard-card-shell [data-auth-form] .phone-field__input {
  color: #000000;
  caret-color: #000000;
  -webkit-text-fill-color: #000000;
}

.wizard-card-shell [data-auth-form="finish"] .field,
.wizard-card-shell [data-auth-form="finish"] .field.is-filled,
.wizard-card-shell [data-auth-form="signup"] .field,
.wizard-card-shell [data-auth-form="signup"] .field.is-filled {
  min-height: 64px;
  height: 64px;
  padding-top: 0;
  padding-bottom: 0;
  color: #000000;
  -webkit-text-fill-color: #000000;
}

.wizard-card-shell .field:hover,
.wizard-card-shell .field:focus,
.wizard-card-shell .wizard-select:focus {
  background: #ffffff;
}

.wizard-card-shell .field:focus,
.wizard-card-shell .wizard-select:focus {
  border-color: #b6b6b6;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.wizard-card-shell .field--textarea {
  min-height: 100px;
  height: auto;
  padding: 18px 30px;
  border-radius: 27px;
  resize: none;
  overflow-y: hidden;
}

.wizard-card-shell .address-suggestions {
  top: calc(100% + 8px);
}

.wizard-card-shell .wizard-select-list {
  padding-left: 30px;
  gap: 20px;
  margin-bottom: 0;
}

.wizard-card-shell [data-battery-equipment-fields] {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wizard-card-shell [data-battery-equipment-fields][hidden] {
  display: none;
}

.wizard-card-shell .wizard-select-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: center;
  gap: 18px;
}

.wizard-card-shell .wizard-select-label {
  gap: 12px;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

.wizard-card-shell .wizard-select-wrap::after {
  right: 28px;
}

.wizard-actions {
  width: min(100%, 486px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
}

.wizard-actions--end {
  justify-content: flex-end;
}

.wizard-back,
.wizard-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 147px;
  height: 51px;
  padding: 0 24px;
  border-radius: 100px;
  cursor: pointer;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.wizard-back {
  border: 1px solid #dbdbdb;
  background: #ffffff;
  color: #000000;
}

.wizard-continue {
  border: 0;
  background: #000000;
  color: #ffffff;
}

.wizard-back:hover:enabled {
  background: #fafafa;
}

.wizard-back:disabled {
  background: #f8f8f8;
  color: #898989;
  cursor: not-allowed;
}

.wizard-continue:hover:enabled {
  background: #111111;
}

.wizard-continue:disabled {
  background: #f3f3f3;
  color: #898989;
  cursor: not-allowed;
}

.wizard-feedback {
  min-height: 0;
  margin-top: 0;
}

.wizard-feedback:empty {
  display: none;
}

.wizard-card-shell .upload-dropzone {
  position: relative;
  min-height: 112px;
  border: 2px dashed #e2e2e2;
  border-radius: 27px;
  background: #ffffff;
  box-shadow: none;
}

.wizard-card-shell .upload-dropzone__title,
.wizard-card-shell .empty-photos {
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 18px;
}

.wizard-card-shell .upload-dropzone__copy {
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 14px;
}

.wizard-card-shell .photo-uploader-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wizard-form--exterior {
  border-radius: 24px;
  transition: background 0.18s ease;
}

.wizard-form--exterior.is-dragover {
  background: rgba(0, 0, 0, 0.02);
}

.wizard-card-shell .photo-uploader__dropzone {
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 24px 30px;
}

.wizard-card-shell .photo-uploader__dropzone:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.wizard-card-shell .photo-uploader__dropzone.is-dragover {
  border-color: #b6b6b6;
}

.wizard-card-shell.is-photo-dragover {
  border-color: #cbcbcb;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.wizard-card-shell .photo-uploader__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.wizard-card-shell .photo-list {
  gap: 14px;
}

.wizard-card-shell .photo-card {
  flex: auto;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
}

.wizard-card-shell .photo-add-tile {
  flex: auto;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
}

.wizard-card-shell .photo-add-tile {
  border: 1px dashed #dbdbdb;
}

.wizard-card-shell .review-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.wizard-card-shell .review-map {
  width: 100%;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  background: #f2f2f2;
}

.wizard-card-shell .review-map__frame,
.wizard-card-shell .review-map__empty {
  width: 100%;
  height: 100%;
}

.wizard-card-shell .review-map__frame {
  display: block;
  object-fit: cover;
  object-position: center;
  border: 0;
  background: #f2f2f2;
}

.wizard-card-shell .review-map__empty {
  display: grid;
  place-items: center;
  color: #000000;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
}

.wizard-card-shell .review-row,
.wizard-card-shell .review-row--stack {
  align-items: flex-start;
  gap: 10px;
}

.wizard-card-shell .review-label {
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
}

.wizard-card-shell .review-value,
.wizard-card-shell .review-row--stack .review-value {
  color: #000000;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  text-align: left;
}

.wizard-card-shell .review-photo-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.wizard-card-shell .review-photo-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.wizard-card-shell .review-photo-group__label {
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}
}

.wizard-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(24px, 4vw, 40px);
  min-height: min(76vh, 860px);
}

.wizard-card--staff-new {
  grid-template-columns: minmax(360px, 0.92fr);
  justify-content: center;
}

.wizard-media {
  border-radius: 0;
  overflow: hidden;
  background: #d8d1c9;
}

.wizard-media--solid {
  background: var(--brand-primary);
}

.wizard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wizard-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2vw, 18px);
}

.wizard-panel__inner {
  width: min(100%, 440px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dashboard-main--details {
  padding-top: clamp(28px, 4vw, 40px);
  min-height: 0;
}

.project-detail-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: calc(100vh - clamp(96px, 10vw, 140px));
  min-height: min(76vh, 860px);
}

.project-detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.project-detail-tabs {
  display: none;
}

.project-detail-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr) var(--auth-panel-width);
  gap: clamp(24px, 4vw, 40px);
  min-height: 0;
  flex: 1 1 auto;
}

.project-detail-section {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.project-detail-section--map,
.project-detail-section--chat,
.project-detail-section--details {
  min-height: 0;
}

.project-detail-media {
  flex: 1 1 auto;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: #f2f2f2;
}

.project-detail-map {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  border: 0;
  background: #f2f2f2;
}

.project-detail-map--empty {
  display: grid;
  place-items: center;
  color: #000000;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
}

.project-chat-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  background: #ffffff;
  border: 1px solid #dadada;
  padding: 18px;
}

.project-chat-panel.is-drag-over {
  border-color: #000000;
}

.project-chat-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.project-chat-panel__title {
  color: #000000;
  font-family: "ES Klarheit Grotesk Semibold TRIAL", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
}

.project-chat-panel__subtitle,
.project-chat-panel__error,
.project-chat-empty__copy,
.project-chat-pending__status,
.project-chat-attachment__meta {
  margin: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 0.94rem;
  line-height: 1.45;
}

.project-chat-panel__error {
  margin-bottom: 12px;
  color: #8f271d;
}

.project-chat-history {
  flex: 1 1 auto;
  min-height: 240px;
  padding-right: 4px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-chat-empty {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.project-chat-empty__title {
  margin: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk Semibold TRIAL", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.project-chat-message {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 88%;
}

.project-chat-message.is-self {
  align-self: flex-end;
}

.project-chat-message__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-chat-message__sender,
.project-chat-pending__name {
  color: #000000;
  font-family: "ES Klarheit Grotesk Semibold TRIAL", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 0.94rem;
  line-height: 1.3;
}

.project-chat-message__time {
  color: var(--text-muted);
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.3;
}

.project-chat-message__bubble {
  padding: 14px 16px;
  border: 1px solid #dadada;
  background: #ffffff;
}

.project-chat-message.is-self .project-chat-message__bubble {
  background: #f2f2f2;
}

.project-chat-message.is-system {
  align-self: center;
  max-width: 100%;
}

.project-chat-message.is-system .project-chat-message__bubble {
  text-align: center;
}

.project-chat-message__body {
  margin: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.project-chat-message__attachments {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-chat-attachment {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #dadada;
  background: #ffffff;
}

.project-chat-attachment__name {
  color: #000000;
  font-family: "ES Klarheit Grotesk Semibold TRIAL", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 0.94rem;
  line-height: 1.3;
}

.project-chat-pending {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.project-chat-pending__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #dadada;
  background: #ffffff;
}

.project-chat-pending__preview {
  width: 52px;
  height: 52px;
  object-fit: cover;
}

.project-chat-pending__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #f2f2f2;
  color: #000000;
  font-family: "ES Klarheit Grotesk Semibold TRIAL", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 0.9rem;
}

.project-chat-pending__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.project-chat-composer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.project-chat-composer__controls {
  display: flex;
  justify-content: flex-end;
}

.project-chat-composer__attach {
  border: 0;
  background: transparent;
  color: #000000;
  font-family: "ES Klarheit Grotesk Semibold TRIAL", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 0.94rem;
  line-height: 1.3;
  text-decoration: underline;
  cursor: pointer;
}

.project-chat-composer__file-input {
  display: none;
}

.project-chat-composer__input {
  width: 100%;
  min-height: 132px;
  padding: 16px;
  border: 1px solid #dadada;
  background: #ffffff;
  color: #000000;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
}

.project-chat-composer__send {
  align-self: flex-end;
}

.project-detail-tab {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #dadada;
  background: #ffffff;
  color: #000000;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 0.94rem;
  line-height: 1.2;
  cursor: pointer;
}

.project-detail-tab.is-active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.project-detail-panel {
  flex: 1 1 auto;
  width: var(--auth-panel-width);
  min-width: var(--auth-panel-width);
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 0;
  padding: clamp(10px, 2vw, 18px);
  overflow: hidden;
}

.project-detail-panel__inner {
  width: min(100%, 390px);
  min-width: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
}

.project-detail-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-detail-title {
  margin: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 48px;
  line-height: 0.94;
  letter-spacing: -0.03em;
  font-weight: 500;
  font-synthesis: none;
}

.project-detail-back {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #000000;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.project-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.project-detail-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-detail-item__label {
  color: #000000;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
}

.project-detail-item__value {
  color: #000000;
  font-family: "ES Klarheit Grotesk Semibold TRIAL", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
}

.project-detail-item__value--stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.project-detail-item__value--stack p {
  margin: 0;
}

.project-detail-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.project-detail-download {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  color: #000000;
  font-family: "ES Klarheit Grotesk Semibold TRIAL", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.project-detail-download--disabled {
  opacity: 0.42;
  pointer-events: none;
}

.wizard-progress {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 28px;
}

.wizard-progress__dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #d9d9d9;
}

.wizard-progress__dot.is-active {
  background: #000000;
}

.wizard-subtitle {
  color: var(--text-strong);
  max-width: none;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.wizard-panel__inner .field-label,
.wizard-panel__inner .field,
.wizard-panel__inner .field::placeholder,
.wizard-panel__inner .wizard-select,
.wizard-panel__inner .address-suggestion__primary,
.wizard-panel__inner .address-suggestion__secondary,
.wizard-panel__inner .upload-dropzone__title,
.wizard-panel__inner .empty-photos,
.wizard-panel__inner .review-label,
.wizard-panel__inner .review-value {
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
}

.project-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.email-suffix-field {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: var(--surface-soft);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.email-suffix-field:hover {
  background: #f2f2f2;
}

.email-suffix-field:focus-within {
  border-color: rgba(22, 22, 22, 0.1);
  box-shadow: 0 0 0 4px rgba(22, 22, 22, 0.05);
}

.email-suffix-field__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}

.email-suffix-field__input:focus {
  outline: none;
}

.email-suffix-field__suffix {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}

.field--textarea {
  min-height: 220px;
  padding: 18px 20px;
  border-radius: 0;
  resize: vertical;
}

.wizard-select-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 6px;
}

.wizard-select-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.wizard-select-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-strong);
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.wizard-select-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
}

.wizard-select-icon img,
.wizard-select-icon svg {
  width: 28px;
  height: 28px;
}

.wizard-select-wrap {
  position: relative;
}

.wizard-select-wrap--field {
  width: 100%;
}

.wizard-select-wrap--input::after {
  display: none;
}

.wizard-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 10px;
  height: 10px;
  border-right: 3px solid #111111;
  border-bottom: 3px solid #111111;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.wizard-select {
  width: 100%;
  min-height: 60px;
  padding: 0 52px 0 24px;
  border: 0;
  border-radius: 0;
  background: #f2f2f2;
  color: #000000;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
  appearance: none;
  cursor: pointer;
}

.wizard-select--input {
  cursor: text;
}

.wizard-select:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(22, 22, 22, 0.05);
}

.wizard-select:disabled {
  cursor: not-allowed;
  color: var(--text-muted);
}

.file-input {
  display: none;
}

.upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  min-height: 218px;
  padding: 32px 24px;
  border: 2px dashed #dadada;
  border-radius: 28px;
  background: #ffffff;
  color: var(--text-strong);
  cursor: pointer;
  text-align: center;
  box-shadow: none;
}

.upload-dropzone.is-dragover {
  border-color: #cfcfcf;
  background: #ffffff;
}

.wizard-form--exterior.is-dragover .photo-card,
.wizard-form--exterior.is-dragover .photo-add-tile {
  border-color: #cfcfcf;
}

.upload-dropzone__icon {
  width: 34px;
  height: 34px;
}

.upload-dropzone__title {
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1.04rem;
  line-height: 1.35;
}

.photo-uploader {
  width: 100%;
}

.photo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  align-items: flex-start;
}

.photo-card {
  position: relative;
  flex: 0 0 112px;
  width: 112px;
  max-width: 112px;
  height: 112px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0;
  background: var(--surface-soft);
}

.photo-card__preview,
.photo-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.photo-card__placeholder {
  background: #e3e3e3;
}

.photo-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.26);
  backdrop-filter: blur(1px);
}

.photo-card__loader {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.photo-card__overlay-label {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #111111;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 0.78rem;
}

.photo-card__remove {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.78);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(16, 16, 16, 0.18);
}

.photo-add-tile {
  display: grid;
  place-items: center;
  flex: 0 0 112px;
  width: 112px;
  max-width: 112px;
  height: 112px;
  padding: 0;
  border: 2px dashed #dadada;
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
}

.photo-add-tile.is-dragover,
.photo-add-tile:hover:not(:disabled) {
  border-color: #cfcfcf;
}

.photo-add-tile:disabled {
  cursor: wait;
  opacity: 0.72;
}

.photo-add-tile__plus {
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.photo-card__remove svg {
  width: 14px;
  height: 14px;
}

.photo-card--error .photo-card__overlay {
  background: rgba(133, 21, 21, 0.26);
}

.review-photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  align-items: flex-start;
}

.review-photo {
  width: 72px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0;
  background: #e8e8e8;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

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

@keyframes projectsSkeletonEnter {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes projectsSkeletonPulse {
  from {
    opacity: 0.64;
    transform: translateY(1px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 24px;
  background: transparent;
}

.review-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.review-row--stack {
  flex-direction: column;
  align-items: flex-start;
}

.review-label {
  color: var(--text-faint);
  font-size: 0.82rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.review-value {
  color: var(--text-strong);
  font-size: 0.98rem;
  line-height: 1.55;
  text-align: right;
}

.review-row--stack .review-value {
  text-align: left;
}

.dashboard-hero {
  width: min(100%, 680px);
  text-align: center;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.dashboard-title {
  margin: 0 0 16px;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-synthesis: none;
}

.dashboard-copy {
  width: min(100%, 34rem);
  margin: 0 auto 30px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 22px;
  border: 0;
  border-radius: 0;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
  font-family: "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}

.secondary-button--muted {
  background: #d9d9d9;
  color: #000000;
}

.secondary-button--muted:hover:enabled {
  background: #cecece;
}

.coming-soon-card {
  margin-top: 16px;
  padding: 24px 24px 26px;
  border: 1px solid var(--border-soft);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(246, 244, 240, 0.9), rgba(255, 255, 255, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.coming-soon-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes auth-gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes auth-gradient-float-one {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-6%, 8%, 0) scale(1.08);
  }

  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes auth-gradient-float-two {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(8%, -6%, 0) scale(1.12);
  }

  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen--auth,
  .screen--auth::before,
  .screen--auth::after {
    animation: none;
  }
}

@media (max-width: 980px) {
  .auth-card {
    min-height: calc(100vh - clamp(32px, 6vw, 64px));
  }

  .project-detail-card {
    height: auto;
    min-height: auto;
  }

  .wizard-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding-bottom: 0;
  }

  .wizard-step-nav {
    align-self: auto;
    flex: 0 0 auto;
    margin-top: 0;
  }

  .wizard-step-list {
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
    top: auto;
    gap: 14px;
  }

  .wizard-step-item {
    width: calc(50% - 7px);
  }

  .wizard-card-shell {
    width: 100%;
  }

  .project-detail-map {
    min-height: 320px;
  }

  .project-detail-sections {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-detail-panel,
  .project-chat-panel,
  .project-detail-media {
    min-width: 0;
  }

  .auth-panel {
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 24px 6px;
  }

  .project-detail-panel {
    width: 100%;
    min-width: 0;
    min-height: auto;
    overflow: visible;
    padding: 10px 6px 6px;
  }

  .project-detail-panel__inner {
    max-height: none;
    overflow: visible;
  }

  .dashboard-topbar__inner,
  .dashboard-main {
    width: 100%;
    padding-right: 24px;
    padding-left: 24px;
  }

  .dashboard-nav {
    gap: 18px;
  }

  .wizard-card-shell .wizard-select-row {
    grid-template-columns: 1fr;
  }

  .projects-list__row {
    align-items: flex-start;
    flex-direction: column;
  }

  .projects-list__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .staff-home__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .staff-directory__row.projects-table__row {
    flex-direction: column;
  }

  .staff-directory__controls {
    width: 100%;
    grid-template-columns: repeat(2, minmax(172px, 1fr));
  }

  .projects-table--staff {
    min-width: 1288px;
  }
}

@media (max-width: 640px) {
  .screen {
    padding: 14px;
  }

  .screen--dashboard {
    padding: 0;
  }

  .dashboard-card,
  .loading-card {
    border-radius: 0;
  }

  .dashboard-card {
    padding: 0;
  }

  .dashboard-topbar__inner {
    align-items: flex-start;
    gap: 18px;
    padding: 22px 16px 0;
  }

  .dashboard-brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .dashboard-nav {
    gap: 14px;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dashboard-nav__link {
    flex: 0 0 auto;
  }

  .user-menu-wrap {
    justify-content: flex-end;
  }

  .avatar {
    width: 34px;
    height: 34px;
    font-size: 0.94rem;
  }

  .auth-title,
  .dashboard-title {
    letter-spacing: -0.03em;
  }

  .verify-code-grid {
    gap: 10px;
  }

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

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

  .dashboard-main {
    padding: 42px 16px 28px;
  }

  .projects-home__title {
    font-size: 28px;
  }

  .project-quickstart {
    margin-top: 28px;
  }

  .wizard-card-shell .photo-uploader__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-quickstart__input {
    padding: 28px 88px 28px 22px;
    font-size: 20px;
  }

  .project-quickstart__submit {
    right: 22px;
  }

  .projects-home__draft-banner {
    padding: 0 30px 0 30px;
    background: #f7f7f7;
    align-items: flex-start;
    flex-direction: column;
  }

  .projects-home__draft-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .projects-filter {
    margin-top: 28px;
  }

  .projects-filter__tabs {
    gap: 22px;
    overflow-x: auto;
    width: 100%;
  }

  .projects-list__row {
    padding: 24px 0;
  }

  .projects-list__meta {
    gap: 10px;
  }

  .projects-list__actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .staff-directory__controls {
    grid-template-columns: 1fr;
  }

  .staff-directory__delete,
  .staff-directory__controls .admin-status-select-wrap,
  .staff-directory__controls .admin-status-select {
    width: 100%;
  }

  .staff-create-card {
    padding: 24px;
    border-radius: 24px;
  }

  .staff-create-form__actions {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .staff-create-form__actions .form-feedback {
    width: 100%;
  }

  .auth-card {
    min-height: calc(100vh - 28px);
  }

  .project-detail-card {
    gap: 0;
    height: auto;
    min-height: auto;
  }

  .dashboard-main--wizard {
    padding-top: 24px;
  }

  .wizard-layout {
    gap: 18px;
  }

  .wizard-step-nav {
    display: flex;
    justify-content: center;
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .wizard-step-list {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    position: static;
    top: auto;
    gap: 20px;
  }

  .wizard-step-item {
    width: auto;
    justify-content: center;
    gap: 0;
  }

  .wizard-step-item__label {
    display: none;
  }

  .wizard-card-shell {
    padding: 24px;
    border-radius: 24px;
  }

  .wizard-form__body,
  .wizard-actions,
  .wizard-feedback {
    width: 100%;
  }

  .wizard-step-header {
    justify-content: center;
  }

  .wizard-step-header__icon {
    padding-top: 15px;
  }

  .wizard-step-header__title {
    padding-top: 15px;
    font-size: 28px;
    text-align: center;
  }

  .wizard-step-header__subtitle {
    margin: 20px 40px 65px;
    text-align: center;
  }

  .wizard-card-shell .field,
  .wizard-card-shell .wizard-select {
    font-size: 17px;
  }

  .wizard-card-shell .field::placeholder,
  .wizard-card-shell textarea.field::placeholder,
  .wizard-card-shell .review-value {
    font-size: 17px;
  }

  .wizard-form__row--two {
    grid-template-columns: 1fr;
  }

  .wizard-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .wizard-continue {
    width: 100%;
  }

  .wizard-back {
    width: 100%;
  }

  .project-detail-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .project-detail-tabs {
    display: flex;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .project-detail-tab {
    flex: 1 0 auto;
    min-width: 92px;
  }

  .project-detail-sections {
    display: block;
  }

  .project-detail-section {
    display: none;
  }

  .project-detail-section.is-active {
    display: flex;
  }

  .project-detail-section--map,
  .project-detail-section--chat,
  .project-detail-section--details {
    width: 100%;
  }

  .project-chat-panel,
  .project-detail-panel {
    min-height: 0;
    padding: 16px 0 0;
  }

  .project-detail-panel {
    overflow: visible;
  }

  .project-detail-panel__inner {
    width: 100%;
    max-height: none;
    overflow: visible;
  }

  .project-chat-panel {
    min-height: 480px;
  }

  .project-chat-history {
    min-height: 280px;
  }

  .project-chat-message {
    max-width: 100%;
  }

  .project-chat-composer__send {
    width: 100%;
  }

  .dashboard-projects__header {
    align-items: center;
    gap: 18px;
    margin-bottom: 34px;
  }

  .dashboard-projects__header--admin {
    align-items: flex-start;
  }

  .dashboard-client-selector__button {
    font-size: 2.25rem;
  }

  .projects-table {
    min-width: 980px;
  }

  .projects-table--client {
    min-width: 880px;
  }

  .projects-table--admin {
    min-width: 1280px;
  }

  .projects-table--staff {
    min-width: 1288px;
  }

  .projects-table__row {
    grid-template-columns: 180px 110px 260px 140px 140px 160px;
  }

  .projects-table__row--client {
    grid-template-columns: 220px 280px 160px 140px;
  }

  .projects-table__row--admin {
    grid-template-columns: 170px 110px 250px 140px 180px 172px 172px;
  }

  .projects-table__row--staff {
    grid-template-columns: 150px 160px 260px 172px 172px 172px;
  }

  .field-group--full {
    grid-column: auto;
  }

  .code-input {
    height: 64px;
    border-radius: 0;
    font-size: 1.7rem;
  }

  [data-auth-form="verify"] .code-input {
    height: 64px;
    border-radius: 20px;
  }

  .user-company {
    max-width: 180px;
  }

  .wizard-select-row,
  .review-row {
    flex-direction: column;
    align-items: stretch;
  }

  .wizard-select-wrap {
    width: 100%;
  }

  .review-card {
    text-align: left;
  }

  .review-row,
  .review-row--stack {
    align-items: flex-start;
    gap: 12px;
  }

  .review-label,
  .review-value,
  .review-row--stack .review-value {
    text-align: left;
  }

  .review-photo-groups,
  .review-photo-group {
    align-items: flex-start;
  }

  .review-photo-grid {
    justify-content: flex-start;
  }

  .project-detail-photos {
    justify-content: center;
  }

  .photo-card {
    flex-basis: 96px;
    width: 96px;
    max-width: 96px;
    height: 96px;
    border-radius: 0;
  }

  .photo-add-tile {
    flex-basis: 96px;
    width: 96px;
    max-width: 96px;
    height: 96px;
    border-radius: 0;
  }

  .photo-card__preview,
  .photo-card__placeholder {
    border-radius: 0;
  }
}

.screen--project-detail {
  background: #ffffff;
}

.screen--project-detail .dashboard-stage,
.screen--project-detail .dashboard-card {
  width: 100%;
  min-height: 100vh;
  max-width: none;
  padding: 0;
  margin: 0;
  background: #ffffff;
}

.project-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 0 30px;
  border-bottom: 1px solid #eaeaea;
  background: #ffffff;
}

.project-detail-topbar__left {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 0;
}

.project-detail-topbar__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.project-detail-topbar__back img {
  width: 34px;
  height: 34px;
  display: block;
}

.project-detail-topbar__divider {
  width: 1px;
  height: 34px;
  background: #eaeaea;
  flex: 0 0 auto;
}

.project-detail-topbar__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 8px;
}

.project-detail-topbar__name {
  min-width: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-detail-topbar__date {
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
}

.project-detail-topbar__status {
  flex: 0 0 auto;
}

.project-detail-topbar__meta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex: 0 0 auto;
}

.project-detail-status-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 114px;
  padding: 0;
  overflow: hidden;
}

.project-detail-status-select__control {
  width: 100%;
  height: 100%;
  padding: 0 34px 0 15px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  appearance: none;
  cursor: pointer;
}

.project-detail-status-select__control:focus,
.project-detail-status-select__control:focus-visible {
  outline: none;
  box-shadow: none;
}

.project-detail-status-select__chevron {
  position: absolute;
  top: 50%;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  pointer-events: none;
}

.project-detail-status-select__chevron svg {
  width: 14px;
  height: 14px;
  display: block;
}

.project-detail-topbar__download {
  flex: 0 0 auto;
}

.project-detail-topbar__send-project {
  flex: 0 0 auto;
}

.project-detail-topbar__delete-project {
  flex: 0 0 auto;
}

.project-detail-topbar__send-project + .project-detail-topbar__delete-project {
  margin-left: -3px;
}

.project-detail-topbar__send-input {
  display: none;
}

.project-detail-topbar__download--disabled {
  opacity: 0.42;
  pointer-events: none;
}

.project-detail-topbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.project-detail-mobile-controls {
  display: none;
}

.project-detail-mobile-controls__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.project-detail-mobile-controls__menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-detail-mobile-controls__label {
  margin: 0;
}

.project-detail-mobile-selector {
  position: relative;
  display: block;
  width: 100%;
}

.project-detail-mobile-selector__control {
  width: 100%;
  padding: 0 40px 0 0;
  border: 0;
  background: transparent;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0;
  appearance: none;
}

.project-detail-mobile-selector__control:focus,
.project-detail-mobile-selector__control:focus-visible {
  outline: none;
}

.project-detail-mobile-selector__chevron {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.project-detail-shell {
  display: flex;
  min-height: calc(100vh - 92px);
  max-height: calc(100vh - 92px);
  overflow: hidden;
}

.project-detail-mobile-tabs {
  display: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 30px;
}

.project-detail-mobile-tabs .projects-filter__tabs {
  width: 100%;
  gap: 22px;
}

.project-detail-chat-column {
  display: flex;
  flex: 0 0 450px;
  width: 450px;
  min-width: 450px;
  border-right: 1px solid #eaeaea;
  background: #ffffff;
}

.project-detail-content-column {
  flex: 1 1 auto;
  min-width: 0;
  background: #ffffff;
}

.project-detail-content-inner {
  height: 100%;
  overflow-y: auto;
  padding: 30px 30px 0;
}

.project-detail-content-tabs {
  width: 100%;
  max-width: none;
  margin: 0;
}

.project-detail-content-panels {
  padding: 30px 0 30px;
}

.project-detail-content-panel {
  display: none;
}

.project-detail-content-panel.is-active {
  display: block;
}

.project-detail-preview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-detail-preview__title {
  margin: 0 0 26px;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 25px;
  line-height: 1;
}

.project-detail-preview__map {
  width: min(100%, 428px);
  height: 428px;
  border: 0;
  border-radius: 23px;
  background: #f2f2f2;
  display: block;
  object-fit: cover;
  object-position: center;
}

.project-detail-preview__map--empty {
  display: grid;
  place-items: center;
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
}

.project-detail-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 40px 72px;
  width: min(100%, 920px);
}

.project-detail-data-grid--address {
  margin-top: 62px;
}

.project-detail-data-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-detail-data-item--full {
  grid-column: 1 / -1;
}

.project-detail-data-item__label {
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.project-detail-data-item__value {
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.project-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: min(100%, 980px);
}

.project-detail-gallery-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.project-detail-gallery-group__title {
  margin: 0;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.project-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 148px));
  gap: 18px;
}

.project-detail-gallery-photo {
  width: 148px;
  height: 148px;
  overflow: hidden;
  border-radius: 23px;
  background: #f2f2f2;
}

.project-detail-gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-detail-gallery-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.project-detail-solar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.project-detail-solar__notice {
  margin: 0;
  color: #6f6f6f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.project-detail-solar__loading,
.project-detail-solar__map-card {
  padding: 0;
  border: 1px solid #e8e5df;
  border-radius: 28px;
  background: #f4efe7;
  box-shadow: 0 22px 50px rgba(38, 30, 18, 0.08);
  overflow: hidden;
}

.project-detail-solar__map-card {
  box-shadow: none;
}

.project-detail-solar__map-wrap {
  position: relative;
  width: 100%;
  background: #e8e3da;
}

.project-detail-solar__map {
  width: 100%;
  display: block;
}

.project-detail-solar__map--live {
  min-height: 760px;
  background: #e8e3da;
}

.project-detail-solar__month-control {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px 18px;
  border-top: 1px solid #e8e5df;
  background: #ffffff;
}

.project-detail-solar__month-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.project-detail-solar__month-label {
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.project-detail-solar__month-value {
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.45;
}

.project-detail-solar__month-slider {
  width: 100%;
  margin: 0;
  accent-color: var(--brand-primary);
}

.project-detail-solar__month-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

.project-detail-solar__overlay-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.project-detail-solar__overlay-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.35;
}

.project-detail-solar__overlay-toggle input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--brand-primary);
}

.project-detail-solar__stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.project-detail-solar__info-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid #e8e5df;
  border-radius: 24px;
  background: #ffffff;
}

.project-detail-solar__info-label {
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.project-detail-solar__info-value {
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.project-detail-solar__notice--error {
  color: #9f3e11;
}

.screen--project-detail .project-detail-download {
  margin-top: 0;
}

.screen--project-detail .project-chat-panel {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  padding: 0;
  background: #ffffff;
}

.screen--project-detail .project-chat-panel.is-drag-over {
  background: #fafafa;
  box-shadow: inset 0 0 0 1px #dbdbdb;
}

.screen--project-detail .project-chat-panel__customer-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  padding: 24px 30px;
  border-bottom: 1px solid #eaeaea;
}

.screen--project-detail .project-chat-panel__customer-avatar {
  flex: 0 0 auto;
}

.screen--project-detail .project-chat-panel__customer-name {
  color: #000000;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.screen--project-detail .project-chat-panel__error {
  margin: 0;
  padding: 0 30px 16px;
  color: #8f271d;
}

.screen--project-detail .project-chat-pending {
  margin: 0;
  padding: 0 30px 18px;
  gap: 12px;
}

.screen--project-detail .project-chat-pending__item {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  padding: 14px 16px;
  border: 1px solid #dbdbdb;
  border-radius: 20px;
  background: #f8f8f8;
}

.screen--project-detail .project-chat-pending__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
}

.screen--project-detail .project-chat-pending__icon img {
  width: 27px;
  height: 27px;
  display: block;
}

.screen--project-detail .project-chat-pending__name {
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.screen--project-detail .project-chat-pending__status {
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.screen--project-detail .project-chat-history {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 25px;
}

.screen--project-detail .project-chat-empty {
  margin: auto 30px 0;
  align-items: flex-start;
  text-align: left;
}

.screen--project-detail .project-chat-empty__title {
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
}

.screen--project-detail .project-chat-empty__copy {
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
}

.screen--project-detail .project-chat-empty--welcome {
  align-items: center;
  justify-content: center;
  margin: auto 30px;
  text-align: center;
}

.screen--project-detail .project-chat-empty--welcome .project-chat-empty__copy {
  color: #000000;
  font-size: 25px;
  line-height: 1.1;
}

.screen--project-detail .project-chat-empty--welcome .project-chat-empty__subtitle {
  margin: 0;
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.screen--project-detail .project-chat-message-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 364px;
}

.screen--project-detail .project-chat-message-group.is-own-side {
  align-items: flex-end;
  align-self: flex-end;
  margin-right: 30px;
}

.screen--project-detail .project-chat-message-group:not(.is-own-side):not(.is-system) {
  align-items: flex-start;
  align-self: flex-start;
  margin-left: 30px;
}

.screen--project-detail .project-chat-message {
  max-width: 100%;
  gap: 0;
}

.screen--project-detail .project-chat-message__meta {
  display: block;
}

.screen--project-detail .project-chat-message__sender {
  display: block;
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.screen--project-detail .project-chat-message-group.is-own-side .project-chat-message__sender {
  text-align: right;
  padding-right: 25px;
}

.screen--project-detail .project-chat-message-group:not(.is-own-side):not(.is-system) .project-chat-message__sender {
  text-align: left;
  padding-left: 25px;
}

.screen--project-detail .project-chat-message__time {
  display: none;
}

.screen--project-detail .project-chat-message__bubble {
  width: fit-content;
  max-width: 334px;
  min-height: 51px;
  padding: 15px 20px;
  border: 1px solid #dbdbdb;
  border-radius: 25px;
  background: #ffffff;
}

.screen--project-detail .project-chat-message-group.is-own-side .project-chat-message__bubble {
  border: 0;
  background: #f1f1f1;
  box-shadow: none;
}

.screen--project-detail .project-chat-message-group:not(.is-own-side):not(.is-system) .project-chat-message__bubble {
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.screen--project-detail .project-chat-message-group.is-system {
  align-self: center;
  max-width: min(100%, 334px);
}

.screen--project-detail .project-chat-message-group.is-system .project-chat-message__sender {
  padding: 0;
  text-align: center;
}

.screen--project-detail .project-chat-message-group.is-system .project-chat-message__bubble {
  text-align: center;
}

.screen--project-detail .project-chat-message__body {
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.screen--project-detail .project-chat-message__attachments {
  gap: 12px;
}

.screen--project-detail .project-chat-attachment {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.project-chat-attachment__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
}

.project-chat-attachment__icon img {
  width: 27px;
  height: 27px;
  display: block;
}

.project-chat-attachment__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.screen--project-detail .project-chat-attachment__name {
  color: #000000;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.25;
}

.screen--project-detail .project-chat-attachment__meta {
  color: #7f7f7f;
  font-family: "ES Klarheit Grotesk Book", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.25;
}

.screen--project-detail .project-chat-composer {
  margin-top: auto;
  padding: 0 30px 30px;
}

.project-chat-composer__field {
  position: relative;
  width: 390px;
  max-width: 100%;
  min-height: 50px;
  margin-left: 0;
  border: 1px solid #dbdbdb;
  border-radius: 25px;
  background: #ffffff;
}

.screen--project-detail .project-chat-composer__field:focus-within {
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.screen--project-detail .project-chat-composer__attach {
  position: absolute;
  left: 14px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
}

.screen--project-detail .project-chat-composer__attach img {
  width: 24px;
  height: 24px;
  display: block;
}

.screen--project-detail .project-chat-composer__input {
  width: calc(100% - 54px);
  min-height: 51px;
  max-height: 240px;
  padding: 16px 12px 14px 47px;
  border: 0;
  border-radius: 25px;
  background: transparent;
  color: #000000;
  font-family: "ES Klarheit Grotesk Medium", "ES Klarheit Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  resize: none;
  overflow: hidden;
}

.screen--project-detail .project-chat-composer__input:focus {
  outline: none;
}

.screen--project-detail .project-chat-composer__input::placeholder {
  color: #000000;
}

.screen--project-detail .project-chat-composer__send {
  position: absolute;
  right: 5px;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000000;
  cursor: pointer;
}

.screen--project-detail .project-chat-composer__send img {
  width: 22px;
  height: 22px;
  display: block;
  transform: rotate(-90deg);
}

@media (max-width: 949px) {
  .screen--project-detail,
  .screen--project-detail .dashboard-stage,
  .screen--project-detail .dashboard-card {
    height: 100dvh;
    min-height: 100dvh;
  }

  .screen--project-detail .dashboard-card {
    box-sizing: border-box;
    padding: 8px;
  }

  .project-detail-topbar {
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
  }

  .project-detail-topbar__left {
    flex: 1 1 auto;
    gap: 16px;
  }

  .project-detail-topbar__divider {
    display: none;
  }

  .project-detail-topbar__heading {
    flex: 1 1 auto;
    gap: 4px;
  }

  .project-detail-topbar__meta {
    display: none;
  }

  .project-detail-topbar__actions {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: auto;
  }

  .project-detail-topbar__delete-project {
    display: none;
  }

  .project-detail-topbar__actions--account-only,
  .project-detail-topbar__notification,
  .project-detail-topbar__account {
    display: none;
  }

  .project-detail-topbar__status {
    margin-left: 0;
  }

  .project-detail-mobile-controls {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 18px 24px 0;
    background: #ffffff;
  }

  .project-detail-mobile-controls__menu {
    gap: 12px;
  }

  .project-detail-shell {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  .project-detail-chat-column {
    display: none;
    width: 100%;
    min-width: 0;
    min-height: 0;
    border-right: 0;
  }

  .project-detail-chat-column.is-mobile-active {
    display: flex;
    flex: 1 1 auto;
  }

  .project-detail-content-column {
    display: none;
    min-height: 0;
  }

  .project-detail-content-column.is-mobile-active {
    display: block;
    flex: 1 1 auto;
  }

  .project-detail-content-tabs {
    display: none;
  }

  .project-detail-content-inner {
    height: 100%;
    padding: 24px 24px 0;
    overflow-y: auto;
  }

  .project-detail-data-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .project-detail-content-panel,
  .project-detail-content-panel.is-active {
    display: none;
  }

  .project-detail-content-panel.is-mobile-active {
    display: block;
  }

  .screen--project-detail .project-chat-panel {
    min-height: 0;
    height: 100%;
  }

  .screen--project-detail .project-chat-history {
    min-height: 0;
  }

  .project-detail-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 120px));
  }

  .project-detail-gallery-photo {
    width: 120px;
    height: 120px;
  }

  .project-detail-solar__loading,
  .project-detail-solar__map-card {
    padding: 0;
  }

  .project-detail-solar__map--live {
    min-height: 460px;
  }

  .project-detail-solar__month-meta {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .screen--project-detail .project-chat-panel__error,
  .screen--project-detail .project-chat-pending,
  .screen--project-detail .project-chat-composer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .screen--project-detail .project-chat-message-group.is-own-side {
    margin-right: 24px;
  }

  .screen--project-detail .project-chat-message-group:not(.is-own-side):not(.is-system),
  .screen--project-detail .project-chat-empty {
    margin-left: 24px;
  }

  .screen--project-detail .project-chat-empty {
    margin-left: 24px;
    margin-right: 24px;
  }

  .project-chat-composer__field {
    width: 100%;
  }
}
