:root {
  --ink: #17231f;
  --muted: #65736d;
  --soft: #f5f7f3;
  --line: #e3e9e4;
  --paper: #ffffff;
  --green: #1a6b52;
  --green-2: #0f513d;
  --mint: #d9f5e8;
  --mint-2: #edf9f3;
  --coral: #ff6b4a;
  --coral-soft: #fff0ec;
  --gold: #e6a817;
  --blue: #3a74da;
  --shadow: 0 18px 50px rgba(34, 57, 48, 0.09);
  --shadow-sm: 0 8px 26px rgba(34, 57, 48, 0.07);
  --radius: 20px;
  --radius-sm: 13px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
.brand {
  font-family: "Manrope", sans-serif;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.public-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(227, 233, 228, 0.86);
  backdrop-filter: blur(16px);
}

.public-nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 31px;
  height: 31px;
  overflow: hidden;
  background: var(--green);
  border-radius: 10px 10px 10px 3px;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  background: var(--mint);
  transform: rotate(-38deg);
  border-radius: 999px;
}

.brand-mark::before {
  width: 8px;
  height: 28px;
  top: 5px;
  left: 8px;
}

.brand-mark::after {
  width: 8px;
  height: 21px;
  top: -2px;
  right: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  color: #405049;
  font-size: 14px;
  font-weight: 600;
}

.nav-link {
  padding: 28px 0 25px;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green);
  border-color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.login-menu {
  position: relative;
}

.login-menu summary {
  list-style: none;
}

.login-menu summary::-webkit-details-marker {
  display: none;
}

.login-menu summary .icon {
  width: 14px;
  transition: transform 0.18s ease;
}

.login-menu[open] summary {
  color: white;
  background: var(--green);
}

.login-menu[open] summary .icon {
  transform: rotate(180deg);
}

.login-menu-popover {
  position: absolute;
  z-index: 50;
  width: 292px;
  display: grid;
  gap: 7px;
  top: calc(100% + 12px);
  right: 0;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 18px 50px rgba(15, 42, 33, 0.18);
}

.login-menu-popover::before {
  position: absolute;
  width: 10px;
  height: 10px;
  content: "";
  top: -6px;
  right: 24px;
  background: white;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  transform: rotate(45deg);
}

.login-menu-popover > span {
  padding: 5px 7px 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-menu-popover a {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border-radius: 11px;
}

.login-menu-popover a:hover {
  color: var(--green);
  background: var(--soft);
}

.login-menu-popover a > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 10px;
}

.login-menu-popover a > i .icon,
.login-menu-popover a > .icon {
  width: 16px;
}

.login-menu-popover strong,
.login-menu-popover small {
  display: block;
}

.login-menu-popover strong {
  color: var(--ink);
  font-size: 13px;
}

.login-menu-popover small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.nav-actions [data-action="login"],
.nav-actions [data-action="register"] {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav-actions [data-action="login"]:hover {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.nav-actions [data-action="register"]:hover {
  color: white;
  background: #315f50;
  border-color: #315f50;
}

.button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 11px;
  transition: 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.button-primary {
  color: white;
  background: var(--green);
  box-shadow: 0 8px 20px rgba(26, 107, 82, 0.18);
}

.button-primary:hover {
  background: var(--green-2);
}

.button-coral {
  color: white;
  background: var(--coral);
}

.button-secondary {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}

.button-ghost {
  padding-inline: 11px;
  background: transparent;
}

.button-danger {
  color: #a83232;
  background: #fff3f3;
  border-color: #f4d8d8;
}

.button-sm {
  min-height: 36px;
  padding: 0 13px;
  font-size: 13px;
  border-radius: 9px;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  color: #53615b;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 70px;
  background:
    radial-gradient(circle at 78% 40%, rgba(217, 245, 232, 0.8), transparent 30%),
    linear-gradient(180deg, #fbfdfb 0%, #f7faf7 100%);
}

.hero::before {
  position: absolute;
  width: 380px;
  height: 380px;
  content: "";
  top: -250px;
  left: -120px;
  border: 1px solid #cfe2d8;
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(223, 239, 231, 0.23), 0 0 0 90px rgba(223, 239, 231, 0.16);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 19px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--coral-soft);
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(45px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero h1 em {
  position: relative;
  color: var(--green);
  font-style: normal;
}

.hero h1 em::after {
  position: absolute;
  height: 8px;
  content: "";
  right: 2px;
  bottom: -2px;
  left: 2px;
  background: var(--coral);
  border-radius: 50%;
  opacity: 0.7;
  clip-path: polygon(0 60%, 15% 30%, 36% 55%, 54% 20%, 78% 50%, 100% 15%, 100% 72%, 75% 78%, 48% 68%, 20% 88%, 0 72%);
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 31px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-search {
  max-width: 630px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: white;
  border: 1px solid #dfe8e2;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero-search .search-icon {
  margin-left: 11px;
  color: var(--muted);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  height: 48px;
  color: var(--ink);
  border: 0;
  outline: 0;
}

.hero-search input::placeholder {
  color: #93a099;
}

.popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 13px;
}

.text-chip {
  padding: 6px 10px;
  cursor: pointer;
  color: #425149;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-visual {
  position: relative;
  min-height: 480px;
}

.portrait-card {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.portrait-main {
  width: 330px;
  height: 420px;
  top: 15px;
  right: 45px;
  background: linear-gradient(145deg, #cfeadd 0%, #95cab2 100%);
}

.portrait-main::before {
  position: absolute;
  width: 235px;
  height: 300px;
  content: "";
  right: 40px;
  bottom: -15px;
  background:
    radial-gradient(circle at 50% 25%, #49372e 0 10%, transparent 10.5%),
    radial-gradient(circle at 50% 25%, #d49a7f 0 21%, transparent 21.5%),
    radial-gradient(ellipse at 50% 87%, #f7f4ef 0 38%, transparent 38.5%);
  border-radius: 50% 50% 20% 20%;
}

.portrait-main::after {
  position: absolute;
  width: 135px;
  height: 145px;
  content: "";
  top: 63px;
  right: 90px;
  background: #3d302b;
  border-radius: 48% 48% 42% 42%;
  clip-path: polygon(3% 0, 97% 0, 91% 57%, 77% 38%, 71% 87%, 29% 87%, 20% 38%, 9% 60%);
}

.portrait-secondary {
  width: 170px;
  height: 210px;
  right: 0;
  bottom: 2px;
  background: linear-gradient(145deg, #ffd8ca, #f3aa8e);
  border: 7px solid #f9fbf9;
}

.portrait-secondary::before {
  position: absolute;
  width: 130px;
  height: 166px;
  content: "";
  right: 13px;
  bottom: -20px;
  background:
    radial-gradient(circle at 50% 26%, #2c201b 0 13%, transparent 13.5%),
    radial-gradient(circle at 50% 28%, #9e634b 0 22%, transparent 22.5%),
    radial-gradient(ellipse at 50% 90%, #1d4b3e 0 42%, transparent 42.5%);
}

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(225, 234, 228, 0.9);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.float-card strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
}

.float-card small {
  color: var(--muted);
  font-size: 11px;
}

.float-card-top {
  top: 54px;
  left: 5px;
}

.float-card-bottom {
  bottom: 58px;
  left: 16px;
}

.float-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--mint);
  border-radius: 10px;
}

.online-dot {
  width: 9px;
  height: 9px;
  background: #27b572;
  border: 2px solid white;
  border-radius: 50%;
}

.trust-strip {
  padding: 23px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #85918b;
}

.trust-inner > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(25px, 5vw, 62px);
  flex: 1;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: var(--soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 35px;
}

.section-head h2,
.cta-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.section-head p {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.category-card {
  min-height: 156px;
  padding: 21px;
  cursor: pointer;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: 180ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: #aacabc;
  box-shadow: var(--shadow-sm);
}

.category-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 11px;
}

.category-card h3 {
  margin-bottom: 7px;
  font-size: 15px;
}

.category-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.talent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.talent-card {
  padding: 21px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 5px 16px rgba(36, 56, 47, 0.025);
}

.talent-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.avatar {
  width: 50px;
  height: 50px;
  display: inline-grid;
  flex: none;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--avatar-a, #32775f), var(--avatar-b, #8cc4ad));
  border: 3px solid white;
  border-radius: 15px;
  box-shadow: 0 0 0 1px var(--line);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.avatar-sm {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 12px;
}

.avatar-lg {
  width: 68px;
  height: 68px;
  border-radius: 19px;
  font-size: 20px;
}

.avatar-photo {
  overflow: hidden;
}

.avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talent-meta {
  min-width: 0;
  flex: 1;
}

.talent-meta h3 {
  overflow: hidden;
  margin-bottom: 3px;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.talent-meta p {
  overflow: hidden;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.verified {
  color: var(--blue);
  vertical-align: -2px;
}

.front-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 7px;
  padding: 3px 7px;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  vertical-align: 2px;
}

.front-verified-badge .icon {
  width: 10px;
  height: 10px;
}

.footer-admin-login {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0 !important;
  color: white !important;
  font-weight: 800;
}

.footer-admin-login .icon {
  width: 14px;
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.footer-bottom a {
  color: inherit;
}

.auth-page {
  min-height: 680px;
  padding: 80px 0;
  background: var(--soft);
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 70px;
  align-items: center;
  max-width: 1040px;
}

.auth-intro h1 {
  max-width: 600px;
  margin: 15px 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
}

.auth-intro > p {
  max-width: 600px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.auth-icon {
  width: 58px;
  height: 58px;
  display: grid;
  margin-bottom: 20px;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 16px;
  place-items: center;
}

.auth-icon .icon {
  width: 27px;
  height: 27px;
}

.demo-credentials {
  max-width: 460px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 7px 14px;
  margin-top: 28px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
}

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

.auth-security-note {
  max-width: 460px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 18px;
  color: var(--green);
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.auth-security-note > .icon {
  width: 20px;
  flex: none;
}

.auth-security-note strong,
.auth-security-note small {
  display: block;
}

.auth-security-note small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.auth-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.auth-card > p {
  margin: 6px 0 24px;
  color: var(--muted);
  font-size: 12px;
}

.auth-card .form-group {
  margin-bottom: 16px;
}

.password-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.password-label button {
  padding: 0;
  color: var(--green);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.password-label button:hover {
  color: var(--green-2);
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.auth-register {
  margin: 22px 0 0 !important;
  text-align: center;
}

.auth-register button {
  padding: 0;
  color: var(--green);
  background: none;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 18px 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.talent-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -5px 0 13px;
  color: var(--muted);
  font-size: 10px;
}

.talent-facts span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.talent-facts .icon {
  width: 13px;
  height: 13px;
}

.stars {
  color: var(--gold);
  letter-spacing: 1px;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 52px;
}

.skill {
  height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: #53615b;
  background: #f3f6f4;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
}

.talent-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.rate strong {
  font-size: 15px;
}

.rate span {
  color: var(--muted);
  font-size: 11px;
}

.save-button {
  color: #819088;
}

.save-button.saved {
  color: var(--coral);
  background: var(--coral-soft);
  border-color: #ffd7cc;
}

.job-list {
  display: grid;
  gap: 12px;
}

.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding: 24px 26px;
  cursor: pointer;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: 180ms ease;
}

.job-card:hover {
  transform: translateY(-2px);
  border-color: #b5d3c6;
  box-shadow: var(--shadow-sm);
}

.job-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.job-card p {
  max-width: 760px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--muted);
  font-size: 12px;
}

.job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.job-side {
  min-width: 145px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  text-align: right;
}

.job-apply {
  min-width: 145px;
  margin-top: 10px;
  white-space: nowrap;
}

.job-side strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
}

.job-side small {
  color: var(--muted);
}

.job-level {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 25px 0 13px;
}

.section-title h2 {
  margin-bottom: 4px;
  font-size: 17px;
}

.section-title p,
.contract-history .panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.contract-history {
  margin-top: 20px;
}

.history-empty {
  padding: 28px !important;
  color: var(--muted);
  text-align: center;
}

.tag {
  height: 25px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  color: #54645c;
  background: #f1f5f2;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.tag-green {
  color: var(--green);
  background: var(--mint-2);
}

.tag-coral {
  color: #b44c34;
  background: var(--coral-soft);
}

.tag-blue {
  color: #3461a9;
  background: #edf3ff;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: center;
}

.step-number {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: var(--green);
  background: var(--mint);
  border-radius: 18px 18px 18px 5px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.how-step h3 {
  margin-bottom: 9px;
  font-size: 17px;
}

.how-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 48px 55px;
  color: white;
  background: var(--green);
  border-radius: 28px;
}

.cta-panel::after {
  position: absolute;
  width: 230px;
  height: 230px;
  content: "";
  right: 24%;
  bottom: -180px;
  border: 35px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-panel p {
  max-width: 620px;
  margin-bottom: 0;
  color: #cce7dc;
}

.cta-panel .button {
  position: relative;
  z-index: 2;
  color: var(--green);
  background: white;
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 0 0 28px;
  color: #d6e3dc;
  background:
    radial-gradient(circle at 92% 8%, rgba(109, 203, 159, 0.14), transparent 30%),
    #10241d;
}

.footer::after {
  position: absolute;
  width: 380px;
  height: 380px;
  content: "";
  right: -180px;
  bottom: -250px;
  border: 1px solid rgba(184, 227, 206, 0.12);
  border-radius: 50%;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 52px 0;
  border-bottom: 1px solid rgba(184, 227, 206, 0.16);
}

.footer-intro > div:first-child {
  max-width: 690px;
}

.footer-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #85d5ad;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-intro h2 {
  max-width: 620px;
  margin-bottom: 12px;
  color: white;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
}

.footer-intro p {
  max-width: 650px;
  margin: 0;
}

.footer-intro-actions {
  display: flex;
  flex: none;
  gap: 10px;
}

.footer-button-light {
  color: #143b2d;
  background: #e8fff3;
}

.footer-button-light:hover {
  background: white;
}

.footer-button-outline {
  color: white;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.footer-button-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, minmax(115px, 0.75fr)) 1.15fr;
  gap: 38px;
  padding: 48px 0 42px;
}

.footer .brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  color: white;
  font-size: 21px;
}

.footer .brand-mark {
  flex: 0 0 31px;
  background: #d9f5e7;
}

.footer .brand-mark::before,
.footer .brand-mark::after {
  background: var(--green);
}

.footer .brand:hover {
  color: white;
  transform: none;
}

.footer p {
  max-width: 300px;
  color: #91a39a;
  font-size: 13px;
  line-height: 1.7;
}

.footer h4 {
  margin-bottom: 20px;
  color: white;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.footer a {
  display: block;
  width: fit-content;
  margin-bottom: 12px;
  color: #91a39a;
  font-size: 13px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer a:hover {
  color: white;
  transform: translateX(3px);
}

.footer-trust {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: #b8e3ce;
  font-size: 11px;
  font-weight: 700;
}

.footer-trust .icon {
  width: 14px;
}

.footer-admin-card {
  align-self: start;
  padding: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(184, 227, 206, 0.14);
  border-radius: 16px;
}

.footer-admin-card > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: #8de0b7;
  background: rgba(141, 224, 183, 0.1);
  border-radius: 10px;
}

.footer-admin-card > i .icon {
  width: 17px;
}

.footer-admin-card > span,
.footer-admin-card > strong {
  display: block;
}

.footer-admin-card > span {
  color: #7f978c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-admin-card > strong {
  margin: 4px 0 6px;
  color: white;
  font-size: 14px;
}

.footer-admin-card p {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  color: #71837a;
  font-size: 12px;
  border-top: 1px solid #294038;
}

.footer-credit {
  color: #8fa399;
  text-align: center;
}

.footer-credit strong {
  color: #cbe1d5;
}

.footer-legal {
  justify-self: end;
}

.mobile-toggle {
  display: none;
}

/* Dashboard */
.dashboard-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 248px 1fr;
  background: #f5f7f5;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 26px 17px 18px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  color: #dce8e2;
  background: #173a2f;
}

.sidebar .brand {
  margin: 0 11px 32px;
  color: white;
}

.sidebar .brand-mark {
  background: var(--mint);
}

.sidebar .brand-mark::before,
.sidebar .brand-mark::after {
  background: var(--green);
}

.side-label {
  margin: 11px 11px 9px;
  color: #729488;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-nav {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
}

.side-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  cursor: pointer;
  color: #afc6bc;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.side-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.side-link.active {
  color: white;
  background: rgba(217, 245, 232, 0.13);
}

.side-link.active .icon {
  color: #79dbb1;
}

.side-badge {
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  margin-left: auto;
  padding: 0 5px;
  color: white;
  background: var(--coral);
  border-radius: 99px;
  font-size: 10px;
}

.sidebar-foot {
  position: sticky;
  z-index: 2;
  bottom: -18px;
  margin-top: auto;
  padding: 10px 0 18px;
  background: linear-gradient(180deg, rgba(23, 58, 47, 0), #173a2f 16px);
}

.sidebar-account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.sidebar-account > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.sidebar-account strong,
.sidebar-account small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-account strong {
  font-size: 12px;
}

.sidebar-account small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
}

.sidebar-logout {
  min-height: 44px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  color: white;
  background: #b94d36;
  border: 1px solid #d97660;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.sidebar-logout:hover {
  color: white;
  background: #d25d43;
  box-shadow: 0 8px 20px rgba(10, 24, 19, 0.28);
}

.sidebar-logout .icon {
  width: 15px;
}

.topbar-logout {
  color: var(--coral);
}

@media (max-height: 760px) and (min-width: 821px) {
  .sidebar {
    padding-top: 16px;
  }

  .sidebar .brand {
    margin-bottom: 14px;
  }

  .side-link {
    min-height: 39px;
  }

  .side-label {
    margin-top: 6px;
    margin-bottom: 6px;
  }

  .sidebar-account {
    padding: 8px 10px;
  }
}

.workspace-switch {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  cursor: pointer;
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.workspace-switch span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-main {
  min-width: 0;
}

.dashboard-topbar {
  height: 73px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 33px;
  background: white;
  border-bottom: 1px solid var(--line);
}

.topbar-search-group {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-search {
  width: min(380px, 45vw);
  height: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  color: #85918b;
  background: #f5f7f5;
  border: 1px solid transparent;
  border-radius: 10px;
}

.topbar-availability {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  cursor: pointer;
  background: #f5f8f6;
  border: 1px solid var(--line);
  border-radius: 10px;
  white-space: nowrap;
}

.topbar-availability strong,
.topbar-availability small {
  display: block;
}

.topbar-availability strong {
  color: var(--ink);
  font-size: 10px;
}

.topbar-availability small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 8px;
}

.topbar-availability .switch {
  width: 34px;
  height: 20px;
}

.topbar-availability .switch::after {
  width: 14px;
  height: 14px;
}

.topbar-availability .switch:checked::after {
  transform: translateX(14px);
}

.dash-search:focus-within {
  background: white;
  border-color: #b8d2c6;
}

.dash-search input {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.currency-chip {
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: #50625a;
  background: #f2f6f3;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
}

.currency-chip .icon {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.notification-button {
  position: relative;
}

.notification-button::after {
  position: absolute;
  width: 7px;
  height: 7px;
  content: "";
  top: 8px;
  right: 8px;
  background: var(--coral);
  border: 2px solid white;
  border-radius: 50%;
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.profile-chip div {
  line-height: 1.2;
}

.profile-chip strong {
  display: block;
  font-size: 12px;
}

.profile-chip small {
  color: var(--muted);
  font-size: 10px;
}

.dashboard-content {
  min-width: 0;
  padding: 31px 33px 50px;
}

.dashboard-content > *,
.panel-body > *,
.page-head > *,
.topbar-search-group,
.topbar-actions {
  min-width: 0;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.page-head h1 {
  margin-bottom: 5px;
  font-size: 27px;
  letter-spacing: -0.04em;
}

.page-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 19px;
}

.stat-card {
  min-width: 0;
  padding: 19px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.stat-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 9px;
}

.stat-value {
  display: flex;
  align-items: end;
  gap: 8px;
}

.stat-value strong {
  font-family: "Manrope", sans-serif;
  font-size: 25px;
  line-height: 1;
}

.trend {
  color: #1b9a64;
  font-size: 10px;
  font-weight: 700;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.75fr);
  gap: 18px;
}

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

.panel {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.panel + .panel-stack,
.panel-stack {
  display: grid;
  align-content: start;
  gap: 18px;
}

.panel-head {
  min-height: 59px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 19px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2,
.panel-head h3 {
  margin: 0;
  font-size: 14px;
}

.panel-body {
  padding: 19px;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.data-table th {
  padding: 11px 15px;
  color: #819088;
  background: #f8faf8;
  font-size: 10px;
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  padding: 14px 15px;
  border-top: 1px solid var(--line);
}

.data-table tbody tr:hover {
  background: #fbfcfb;
}

.table-title {
  max-width: 280px;
  font-weight: 700;
}

.table-sub {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

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

.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-detail-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 6px 0;
}

.admin-detail-card h3 {
  margin: 10px 0 3px;
}

.admin-detail-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.admin-contract-detail {
  display: grid;
  gap: 20px;
}

.review-note {
  display: block;
  max-width: 330px;
  margin-top: 6px;
  padding: 6px 8px;
  color: #984530;
  background: var(--coral-soft);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}

.timesheet-table td {
  vertical-align: top;
}

.calendar-panel {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.calendar-toolbar {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
}

.calendar-navigation,
.calendar-legend {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-navigation h2 {
  min-width: 170px;
  margin: 0 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.035em;
}

.icon-back {
  transform: rotate(180deg);
}

.calendar-legend {
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-dot.approved {
  background: #36a477;
}

.legend-dot.submitted {
  background: #4b78d1;
}

.legend-dot.draft {
  background: #87928c;
}

.legend-dot.rejected {
  background: var(--coral);
}

.calendar-scroll {
  overflow-x: auto;
}

.calendar-grid {
  min-width: 910px;
  display: grid;
  grid-template-columns: repeat(7, minmax(125px, 1fr));
}

.calendar-weekday {
  padding: 10px 12px;
  color: #7c8983;
  background: #f8faf8;
  border-right: 1px solid var(--line);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
}

.calendar-weekday:nth-child(7) {
  border-right: 0;
}

.calendar-day {
  position: relative;
  min-height: 145px;
  padding: 8px;
  background: white;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.calendar-day:nth-child(7n + 7) {
  border-right: 0;
}

.calendar-day.outside {
  background: #fafbfa;
}

.calendar-day.outside .calendar-day-number,
.calendar-day.outside .calendar-events {
  opacity: 0.42;
}

.calendar-day.today {
  background: #fbfefc;
  box-shadow: inset 0 0 0 2px rgba(26, 107, 82, 0.16);
}

.calendar-day-head {
  min-height: 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.calendar-day-head strong {
  color: var(--green);
  font-size: 10px;
}

.calendar-day-number {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #54625b;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.calendar-day.today .calendar-day-number {
  color: white;
  background: var(--green);
}

.calendar-events {
  display: grid;
  gap: 5px;
}

.calendar-event {
  position: relative;
  width: 100%;
  display: grid;
  gap: 3px;
  padding: 7px 8px 7px 10px;
  overflow: hidden;
  cursor: pointer;
  color: #31423b;
  background: #f1f5f3;
  border: 0;
  border-radius: 7px;
  text-align: left;
}

.calendar-event::before {
  position: absolute;
  width: 3px;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  background: #8b9891;
}

.calendar-event:hover {
  filter: brightness(0.98);
  box-shadow: 0 3px 9px rgba(34, 57, 48, 0.1);
}

.calendar-event.status-approved {
  color: #235d48;
  background: #e8f6ef;
}

.calendar-event.status-approved::before {
  background: #36a477;
}

.calendar-event.status-submitted {
  color: #345589;
  background: #edf3ff;
}

.calendar-event.status-submitted::before {
  background: #4b78d1;
}

.calendar-event.status-rejected {
  color: #92442f;
  background: var(--coral-soft);
}

.calendar-event.status-rejected::before {
  background: var(--coral);
}

.calendar-event-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.calendar-event-top strong {
  font-size: 10px;
}

.calendar-event-top i {
  overflow: hidden;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event-task,
.calendar-event-note {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event-task {
  font-size: 10px;
  font-weight: 700;
}

.calendar-event-note {
  opacity: 0.72;
  font-size: 8px;
}

.calendar-add {
  width: calc(100% - 16px);
  min-height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 6px 8px 0;
  padding: 0;
  cursor: pointer;
  color: var(--green);
  background: transparent;
  border: 1px dashed transparent;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 700;
  opacity: 0;
}

.calendar-add .icon {
  width: 13px;
}

.calendar-day:hover .calendar-add,
.calendar-add:focus-visible {
  border-color: #a8cbbb;
  opacity: 1;
}

.time-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.time-detail-head .eyebrow {
  margin-bottom: 8px;
}

.time-detail-head h3 {
  margin-bottom: 5px;
  font-size: 24px;
}

.time-detail-head p {
  color: var(--muted);
  font-size: 12px;
}

.time-detail-notes {
  margin-top: 18px;
  padding: 16px;
  background: #f6f8f6;
  border-radius: 11px;
}

.time-detail-notes > span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.time-detail-notes p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.detail-review-note {
  max-width: none;
  margin-top: 13px;
  padding: 11px;
}

.detail-review-note strong {
  display: block;
  margin-bottom: 4px;
}

.contract-card .panel-body {
  display: grid;
  gap: 17px;
}

.contract-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  color: var(--muted);
  font-size: 10px;
}

.contract-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.contract-card-meta .icon {
  width: 14px;
}

.contract-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 700;
}

.contract-back:hover {
  color: var(--green);
}

.contract-hero {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px minmax(250px, 0.8fr);
  align-items: center;
  gap: 35px;
  margin-bottom: 18px;
  padding: 27px 30px;
  color: white;
  background:
    radial-gradient(circle at 70% 20%, rgba(217, 245, 232, 0.14), transparent 35%),
    var(--green);
  border-radius: 18px;
}

.contract-hero .eyebrow {
  margin-bottom: 9px;
  color: #aee3cb;
}

.contract-hero h2 {
  margin-bottom: 5px;
  font-size: 34px;
  letter-spacing: -0.05em;
}

.contract-hero p {
  margin: 0;
  color: #cbe4d9;
  font-size: 12px;
}

.contract-progress-ring {
  --progress: 0;
  position: relative;
  width: 115px;
  height: 115px;
  display: grid;
  place-items: center;
  margin: auto;
  background: conic-gradient(var(--mint) calc(var(--progress) * 1%), rgba(255, 255, 255, 0.13) 0);
  border-radius: 50%;
}

.contract-progress-ring::before {
  width: 87px;
  height: 87px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

.contract-progress-ring span {
  position: absolute;
  text-align: center;
}

.contract-progress-ring strong,
.contract-progress-ring small {
  display: block;
}

.contract-progress-ring strong {
  font-family: "Manrope", sans-serif;
  font-size: 21px;
}

.contract-progress-ring small {
  margin-top: 2px;
  color: #aee3cb;
  font-size: 9px;
}

.contract-party {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-left: 25px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.contract-party div {
  min-width: 0;
}

.contract-party small,
.contract-party strong,
.contract-party span {
  display: block;
}

.contract-party small {
  margin-bottom: 3px;
  color: #aee3cb;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.contract-party strong {
  overflow: hidden;
  margin-bottom: 4px;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-party span {
  color: #cbe4d9;
  font-size: 9px;
}

.contract-stats {
  margin-bottom: 18px;
}

.contract-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.7fr);
  gap: 18px;
}

.milestone-list {
  display: grid;
}

.milestone-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.milestone-item:last-child {
  border-bottom: 0;
}

.milestone-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.milestone-copy {
  min-width: 0;
}

.milestone-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 6px;
}

.milestone-title-row h3 {
  margin: 0;
  font-size: 13px;
}

.milestone-copy p {
  max-width: 600px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.milestone-feedback {
  max-width: 650px;
  margin: 12px 0;
  padding: 12px 13px;
  color: #7f3e2e;
  background: var(--coral-soft);
  border: 1px solid #ffd6cb;
  border-left: 3px solid var(--coral);
  border-radius: 9px;
}

.milestone-started {
  max-width: 500px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 0;
  padding: 9px 10px;
  color: #315f4d;
  background: var(--mint-2);
  border-radius: 8px;
}

.milestone-started > .icon {
  width: 16px;
}

.milestone-started strong,
.milestone-started small {
  display: block;
}

.milestone-started strong {
  margin-bottom: 2px;
  font-size: 10px;
}

.milestone-started small {
  color: #668276;
  font-size: 9px;
}

.milestone-delivery {
  max-width: 680px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 11px 0;
  padding: 12px 13px;
  background: #edf3ff;
  border: 1px solid #dbe6fb;
  border-radius: 9px;
}

.milestone-delivery > div {
  min-width: 0;
}

.milestone-delivery span,
.milestone-delivery a,
.milestone-delivery small {
  display: block;
}

.milestone-delivery > div > span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: #42649b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.milestone-delivery a {
  overflow: hidden;
  margin-bottom: 3px;
  color: #285eb1;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.milestone-delivery small {
  color: #6981a8;
  font-size: 9px;
}

.delivery-check {
  display: inline-flex !important;
  align-items: center;
  flex: none;
  gap: 5px;
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
}

.source-package {
  max-width: 680px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 11px 0;
  padding: 12px 13px;
  background: #fff8ed;
  border: 1px solid #f2dfbe;
  border-radius: 9px;
}

.source-package.unlocked {
  background: var(--mint-2);
  border-color: #cfe9dc;
}

.source-package > i {
  width: 36px;
  height: 36px;
  display: grid;
  flex: none;
  place-items: center;
  color: #a16b22;
  background: white;
  border-radius: 9px;
}

.source-package.unlocked > i {
  color: var(--green);
}

.source-package strong,
.source-package span,
.source-package small {
  display: block;
}

.source-package strong {
  margin-bottom: 2px;
  font-size: 11px;
}

.source-package span {
  margin-bottom: 3px;
  color: #675c49;
  font-size: 9px;
}

.source-package small {
  color: #9a7540;
  font-size: 9px;
}

.milestone-feedback > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 7px;
}

.milestone-feedback span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.milestone-feedback .icon {
  width: 14px;
}

.milestone-feedback strong {
  font-size: 9px;
}

.milestone-feedback p {
  margin-bottom: 6px;
  color: #743a2c;
  font-size: 11px;
}

.milestone-feedback small {
  color: #a05a47;
  font-size: 9px;
}

.milestone-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #7a8881;
  font-size: 9px;
  font-weight: 600;
}

.milestone-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.milestone-meta .icon {
  width: 13px;
}

.milestone-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 290px;
}

.review-context {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 18px;
  padding: 13px;
  background: #f5f7f5;
  border-radius: 10px;
}

.secure-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 19px;
  padding: 14px;
  color: #315f4d;
  background: var(--mint-2);
  border: 1px solid #d5ecdf;
  border-radius: 11px;
}

.secure-step > i {
  width: 38px;
  height: 38px;
  display: grid;
  flex: none;
  place-items: center;
  background: white;
  border-radius: 10px;
}

.secure-step strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}

.secure-step p {
  margin: 0;
  color: #638174;
  font-size: 10px;
  line-height: 1.5;
}

.source-review-card {
  padding: 16px;
  background: #f7f8f7;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.source-review-card > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.source-review-card strong,
.source-review-card small {
  display: block;
}

.source-review-card p {
  margin: 14px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.source-review-workspace {
  display: grid;
  gap: 14px;
}

.source-package-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #f7f9f8;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.source-package-summary > svg {
  width: 20px;
  color: var(--green);
}

.source-package-summary strong,
.source-package-summary small {
  display: block;
}

.source-package-summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.source-review-notes {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.source-browser {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.source-browser aside {
  min-width: 0;
  padding: 12px;
  overflow: hidden;
  background: #f7f9f8;
  border-right: 1px solid var(--line);
}

.source-browser aside > strong {
  display: block;
  margin: 2px 4px 10px;
  font-size: 11px;
}

.source-file-list {
  max-height: 390px;
  display: grid;
  gap: 4px;
  overflow-y: auto;
}

.source-file-item {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 8px;
  color: #52625a;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.source-file-item:hover,
.source-file-item.active {
  color: var(--green);
  background: white;
  box-shadow: 0 0 0 1px var(--line);
}

.source-file-item span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-file-item small {
  padding-left: 20px;
  color: var(--muted);
  font-size: 8px;
}

.source-browser > section {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #17211d;
}

.source-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 14px;
  color: #dce9e3;
  background: #22302a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.source-code-preview {
  min-height: 380px;
  max-height: 520px;
  margin: 0;
  padding: 18px;
  overflow: auto;
  color: #d5e4dd;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  line-height: 1.65;
  tab-size: 2;
  white-space: pre;
}

.source-code-preview.locked {
  user-select: none;
  -webkit-user-select: none;
}

.source-binary-preview {
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 40px;
  color: #d5e4dd;
  text-align: center;
}

.source-binary-preview svg {
  width: 34px;
}

.source-binary-preview p {
  max-width: 420px;
  margin: 0;
  color: #91a59b;
  font-size: 10px;
  line-height: 1.6;
}

.secure-file-tree {
  display: grid !important;
  gap: 6px;
  margin-bottom: 13px;
  padding: 12px;
  color: #4d5d55;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.secure-file-tree strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
}

.source-lock-note {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px;
  color: #8c6330;
  background: #fff6e7;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
}

.source-lock-note.unlocked {
  color: #246b56;
  background: #eaf7f1;
}

.source-review-actions {
  flex-wrap: wrap;
}

.wallet-hero {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  margin-bottom: 18px;
  padding: 30px;
  color: white;
  background: var(--green);
  border-radius: 18px;
}

.wallet-hero span,
.wallet-hero strong,
.wallet-hero small {
  display: block;
}

.wallet-hero > div:first-child > span,
.wallet-breakdown span {
  margin-bottom: 7px;
  color: #b9ddce;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.wallet-hero > div:first-child > strong {
  margin-bottom: 7px;
  font-family: "Manrope", sans-serif;
  font-size: 38px;
}

.wallet-hero small {
  color: #b9d6ca;
  font-size: 9px;
}

.wallet-breakdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.wallet-breakdown > div {
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
}

.wallet-breakdown strong {
  margin-bottom: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
}

.wallet-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding: 15px 17px;
  color: #845b26;
  background: #fff7e9;
  border: 1px solid #efdebe;
  border-radius: 12px;
}

.wallet-alert strong {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
}

.wallet-alert p {
  margin: 0;
  font-size: 10px;
}

.company-wallet-hero {
  margin-bottom: 20px;
}

.wallet-transactions {
  margin-top: 18px;
}

.wallet-form-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 14px 16px;
  color: var(--muted);
  background: #f4f7f5;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 11px;
}

.wallet-form-summary strong {
  color: var(--ink);
  font-size: 18px;
}

.payment-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.proposal-inbox {
  overflow: hidden;
}

.proposal-toolbar {
  align-items: flex-end;
}

.proposal-toolbar p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.proposal-filters {
  margin: 0;
}

.proposal-list {
  display: grid;
}

.proposal-card {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) minmax(240px, 1.4fr) 150px auto;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border-top: 1px solid var(--line);
}

.proposal-card[hidden] {
  display: none;
}

.proposal-card:hover {
  background: #fbfdfc;
}

.proposal-person {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.proposal-person h3 {
  margin-bottom: 3px;
  font-size: 13px;
}

.proposal-person p,
.proposal-person span,
.proposal-project span,
.proposal-project small,
.proposal-offer span,
.proposal-offer small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.proposal-person span {
  margin-top: 5px;
}

.proposal-person b {
  color: #d89828;
}

.proposal-project,
.proposal-offer {
  min-width: 0;
}

.proposal-project strong,
.proposal-offer strong {
  display: block;
  overflow: hidden;
  margin: 5px 0;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proposal-offer strong {
  font-size: 15px;
}

.proposal-card-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 9px;
}

.proposal-review-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.proposal-review-head h3 {
  margin-bottom: 3px;
  font-size: 17px;
}

.proposal-review-head p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 10px;
}

.proposal-review-head small {
  color: var(--muted);
}

.proposal-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.proposal-review-grid > div {
  min-width: 0;
  padding: 13px;
  background: #f5f8f6;
  border-radius: 10px;
}

.proposal-review-grid span,
.proposal-review-grid strong {
  display: block;
}

.proposal-review-grid span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
}

.proposal-review-grid strong {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.proposal-letter {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.proposal-letter span {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proposal-letter p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.proposal-project-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--mint-2);
  border-radius: 10px;
  font-size: 10px;
}

.proposal-project-note span {
  color: var(--muted);
}

.proposal-review-actions {
  flex-wrap: wrap;
}

.proposal-interview-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 12px 14px;
  background: #eef8f3;
  border: 1px solid #cfe6db;
  border-radius: 11px;
}

.proposal-interview-summary > div,
.interview-ready {
  display: flex;
  align-items: center;
  gap: 10px;
}

.proposal-interview-summary span,
.interview-ready i,
.interview-schedule > i {
  width: 34px;
  height: 34px;
  display: grid;
  flex: none;
  place-items: center;
  color: var(--green);
  background: white;
  border-radius: 9px;
}

.proposal-interview-summary strong,
.proposal-interview-summary small,
.interview-ready strong,
.interview-ready span {
  display: block;
}

.proposal-interview-summary small,
.interview-ready span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.interview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.interview-card {
  padding: 20px;
}

.interview-card-head,
.interview-actions,
.interview-person,
.interview-schedule {
  display: flex;
  align-items: center;
}

.interview-card-head {
  justify-content: space-between;
  gap: 14px;
}

.interview-person {
  min-width: 0;
  gap: 12px;
}

.interview-person span,
.interview-person p,
.interview-schedule span,
.interview-schedule small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.interview-person h3 {
  margin: 3px 0;
  font-size: 15px;
}

.interview-schedule {
  gap: 11px;
  margin-top: 18px;
  padding: 14px;
  background: #f5f8f6;
  border-radius: 11px;
}

.interview-schedule strong {
  display: block;
  margin: 4px 0;
  font-size: 12px;
}

.interview-agenda {
  min-height: 42px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.interview-ready {
  margin-top: 18px;
  padding: 16px;
  background: var(--mint-2);
  border-radius: 11px;
}

.interview-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.interview-detail-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.interview-detail-hero > div {
  min-width: 0;
}

.interview-detail-hero > .tag {
  max-width: 100%;
  justify-self: end;
  white-space: nowrap;
}

.interview-detail-hero > span:not(.tag) {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 12px;
}

.interview-detail-hero h3 {
  margin: 3px 0;
}

.interview-detail-hero small,
.interview-detail-hero p {
  display: block;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.interview-message,
.interview-score-summary {
  margin-top: 12px;
  padding: 14px;
  background: #f5f8f6;
  border-radius: 11px;
}

.interview-message p,
.interview-score-summary p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.interview-timeline {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.interview-timeline > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.interview-timeline i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 50%;
}

.interview-timeline strong,
.interview-timeline small {
  display: block;
  font-size: 10px;
}

.interview-timeline small {
  color: var(--muted);
  font-size: 9px;
}

.interview-score-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.interview-score-summary span,
.interview-score-summary strong {
  display: block;
}

.interview-score-summary span {
  color: var(--muted);
  font-size: 9px;
}

.interview-score-summary strong {
  margin-top: 4px;
}

.interview-score-summary p {
  grid-column: 1 / -1;
}

.video-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
}

.video-stage {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: #10231d;
  border-radius: 18px;
}

.video-tile {
  color: white;
  background: radial-gradient(circle at 50% 35%, #315c4e, #152d25 65%);
}

.video-tile-main {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.video-tile-self {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 185px;
  height: 130px;
  display: grid;
  place-items: center;
  background: #25463b;
  border: 2px solid rgba(255,255,255,.16);
  border-radius: 13px;
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}

.local-video,
.remote-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  object-fit: cover;
}

.local-video {
  transform: scaleX(-1);
}

.local-video.visible,
.remote-video.visible {
  display: block;
}

.local-video-fallback.hidden,
.remote-video-fallback.hidden {
  display: none;
}

.remote-video {
  background: #10231d;
}

.remote-video-fallback {
  transition: opacity .2s ease;
}

.ai-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: white;
  background: linear-gradient(135deg, #173f34, #32785f);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 14px 38px rgba(18, 60, 47, .28);
  font-weight: 800;
}

.ai-launcher.active {
  transform: translateY(-2px);
}

.ai-copilot {
  position: fixed;
  right: 24px;
  bottom: 82px;
  z-index: 79;
  width: 370px;
  max-height: calc(100vh - 110px);
  display: none;
  overflow: hidden;
  background: white;
  border: 1px solid #cfe2d9;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(20, 53, 43, .24);
}

.ai-copilot.open {
  display: flex;
  flex-direction: column;
}

.ai-copilot header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  color: white;
  background: linear-gradient(135deg, #173f34, #28674f);
}

.ai-copilot header > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.ai-copilot header strong,
.ai-copilot header span {
  display: block;
}

.ai-copilot header span {
  margin-top: 2px;
  color: rgba(255,255,255,.72);
  font-size: 9px;
}

.ai-copilot header .icon-button {
  color: white;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}

.ai-orb {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #173f34;
  background: #dff5e9;
  border-radius: 12px;
}

.ai-context {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  color: var(--green);
  background: #eef8f3;
  border-bottom: 1px solid #dcece4;
  font-size: 9px;
  font-weight: 700;
}

.ai-thread {
  min-height: 210px;
  max-height: 330px;
  display: flex;
  overflow-y: auto;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.ai-welcome {
  margin: auto;
  padding: 18px;
  text-align: center;
}

.ai-welcome i {
  width: 42px;
  height: 42px;
  display: grid;
  margin: 0 auto 10px;
  place-items: center;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 14px;
}

.ai-welcome h3 {
  margin: 0 0 5px;
}

.ai-welcome p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.ai-message {
  max-width: 88%;
  padding: 10px 12px;
  background: #f3f6f4;
  border-radius: 12px 12px 12px 4px;
}

.ai-message.user {
  align-self: flex-end;
  color: white;
  background: var(--green);
  border-radius: 12px 12px 4px 12px;
}

.ai-message span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
}

.ai-message.user span {
  color: rgba(255,255,255,.7);
}

.ai-message p {
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
}

.ai-prompts {
  display: flex;
  overflow-x: auto;
  gap: 6px;
  padding: 0 14px 10px;
  scrollbar-width: none;
}

.ai-prompts::-webkit-scrollbar {
  display: none;
}

.ai-prompts button,
.ai-inline-button {
  color: var(--green);
  background: #eef8f3;
  border: 1px solid #cfe6db;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.ai-prompts button {
  padding: 7px 10px;
}

.ai-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  margin: 0 14px;
  padding: 8px;
  background: #f4f7f5;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.ai-composer textarea {
  min-height: 38px;
  resize: none;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 10px;
}

.ai-composer button {
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
  border: 0;
  border-radius: 9px;
}

.ai-disclaimer {
  padding: 9px 14px 12px;
  color: var(--muted);
  font-size: 8px;
  text-align: center;
}

.ai-inline-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin-top: 7px;
  padding: 7px 10px;
}

.job-title-row,
.composer-ai-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.job-title-row {
  justify-content: space-between;
}

.ai-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  color: #1f6d52;
  background: #e8f7ef;
  border: 1px solid #c7e7d7;
  border-radius: 16px;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.ai-match-badge .icon,
.ai-inline-button .icon {
  width: 12px;
  height: 12px;
}

.composer-ai-row {
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.ai-assessment,
.ai-job-insight {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 12px;
  padding: 14px;
  background: linear-gradient(135deg, #edf8f2, #f8fbf9);
  border: 1px solid #cee7db;
  border-radius: 12px;
}

.ai-assessment-score {
  min-width: 82px;
  text-align: center;
}

.ai-assessment-score > span,
.ai-job-insight > span,
.ai-summary-modal > span {
  width: 34px;
  height: 34px;
  display: grid;
  margin: 0 auto 6px;
  place-items: center;
  color: var(--green);
  background: white;
  border-radius: 10px;
}

.ai-assessment-score strong,
.ai-assessment-score small {
  display: block;
}

.ai-assessment-score strong {
  font-size: 20px;
}

.ai-assessment-score small {
  color: var(--muted);
  font-size: 8px;
}

.ai-assessment h4 {
  margin: 0 0 5px;
}

.ai-assessment p,
.ai-job-insight p,
.ai-summary-modal p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.ai-job-insight {
  margin: 0 0 15px;
}

.ai-job-insight > span {
  flex: none;
  margin: 0;
}

.ai-assessment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.ai-assessment-tags span {
  padding: 4px 7px;
  color: var(--green);
  background: white;
  border-radius: 12px;
  font-size: 8px;
  font-weight: 700;
}

.ai-draft-area {
  min-height: 260px;
}

.ai-summary-modal {
  padding: 12px;
  text-align: center;
}

.fee-disclosure {
  margin-top: 14px;
  padding: 16px;
  background: #f5faf7;
  border: 1px solid #cfe5da;
  border-radius: 13px;
}

.fee-disclosure.compact {
  margin: 0 0 18px;
}

.fee-disclosure-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.fee-disclosure-head > svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  color: var(--green);
  background: white;
  border-radius: 9px;
}

.fee-disclosure-head strong,
.fee-disclosure-head small {
  display: block;
}

.fee-disclosure-head small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

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

.fee-columns.single {
  grid-template-columns: 1fr;
}

.fee-columns > div {
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.fee-columns h4 {
  margin: 0 0 9px;
  color: var(--green);
}

.fee-columns span,
.fee-columns > div > strong {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  font-size: 9px;
}

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

.fee-columns > div > strong {
  margin-top: 5px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.fee-disclosure > p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.fee-consent {
  margin-top: 14px;
  padding: 12px;
  background: #fff8f1;
  border: 1px solid #f0d8be;
  border-radius: 10px;
}

.admin-revenue-panel {
  margin-bottom: 18px;
}

.revenue-panel-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.revenue-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 180px;
  gap: 10px;
  padding: 15px 18px;
  background: #f8faf9;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.revenue-toolbar label {
  position: relative;
}

.revenue-toolbar label > svg {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 1;
  width: 15px;
  height: 15px;
  color: var(--muted);
  transform: translateY(-50%);
}

.revenue-toolbar label input {
  width: 100%;
  padding-left: 36px;
}

.revenue-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 15px 18px;
}

.revenue-summary > div {
  padding: 12px;
  background: #f1f8f4;
  border-radius: 10px;
}

.revenue-summary span,
.revenue-summary strong {
  display: block;
}

.revenue-summary span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
}

.revenue-summary strong {
  font-size: 16px;
}

.avatar-video {
  width: 92px;
  height: 92px;
  font-size: 28px;
}

.video-tile-self .avatar-video {
  width: 54px;
  height: 54px;
  font-size: 17px;
}

.video-name {
  position: absolute;
  left: 18px;
  bottom: 88px;
  padding: 8px 10px;
  background: rgba(0,0,0,.45);
  border-radius: 8px;
}

.video-tile-self .video-name {
  left: 9px;
  bottom: 9px;
  padding: 5px 7px;
}

.video-name strong,
.video-name span {
  display: block;
}

.video-name span {
  margin-top: 2px;
  color: rgba(255,255,255,.7);
  font-size: 8px;
}

.live-indicator {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 9px;
  color: white;
  background: #db5d52;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.live-indicator[hidden] {
  display: none;
}

.video-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
}

.video-control {
  min-width: 62px;
  height: 52px;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.video-control:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.32);
}

.video-control.active {
  background: rgba(85, 172, 137, .72);
}

.video-control.end-call {
  background: #cc554b;
}

.video-control span {
  font-size: 8px;
}

.interview-side-panel {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.interview-side-body {
  padding: 18px;
}

.interview-detail-row {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.interview-detail-row span,
.interview-detail-row strong {
  display: block;
}

.interview-detail-row span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
}

.interview-detail-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.interview-notes {
  margin-top: 16px;
}

.interview-notes label,
.interview-notes small {
  display: block;
  margin-bottom: 7px;
  font-size: 9px;
}

.interview-notes small {
  margin: 6px 0 0;
  color: var(--muted);
}

.review-context > span {
  width: 34px;
  height: 34px;
  display: grid;
  flex: none;
  place-items: center;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 9px;
}

.review-context strong,
.review-context small {
  display: block;
}

.review-context strong {
  margin-bottom: 4px;
  font-size: 12px;
}

.review-context small,
.form-help {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.contract-activity {
  display: grid;
  gap: 0;
}

.contract-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contract-activity-item:first-child {
  padding-top: 0;
}

.contract-activity-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contract-activity-item > i {
  width: 30px;
  height: 30px;
  display: grid;
  flex: none;
  place-items: center;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 8px;
}

.contract-activity-item > i .icon {
  width: 14px;
}

.contract-activity-item strong,
.contract-activity-item span,
.contract-activity-item small {
  display: block;
}

.contract-activity-item strong {
  margin-bottom: 2px;
  font-size: 11px;
}

.contract-activity-item span {
  margin-bottom: 3px;
  color: #526159;
  font-size: 10px;
}

.contract-activity-item small,
.activity-empty {
  color: var(--muted);
  font-size: 9px;
}

.activity-empty {
  margin: 0;
}

.contract-money-row,
.contract-detail-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.contract-money-row span,
.contract-detail-list span {
  color: var(--muted);
}

.contract-detail-list > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.progress-block {
  margin-bottom: 17px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
}

.progress {
  height: 7px;
  overflow: hidden;
  background: #edf1ee;
  border-radius: 99px;
}

.progress span {
  height: 100%;
  display: block;
  background: var(--green);
  border-radius: inherit;
}

.action-list {
  display: grid;
  gap: 4px;
}

.action-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 10px;
  text-align: left;
}

.action-item:hover {
  background: #f6f8f6;
}

.action-item .action-icon {
  width: 34px;
  height: 34px;
  display: grid;
  flex: none;
  place-items: center;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 9px;
}

.action-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
}

.action-item small {
  color: var(--muted);
  font-size: 10px;
}

.mini-list {
  display: grid;
}

.mini-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.mini-item:first-child {
  padding-top: 0;
}

.mini-item:last-child {
  padding-bottom: 0;
  border: 0;
}

.mini-main {
  min-width: 0;
  flex: 1;
}

.mini-main strong {
  display: block;
  overflow: hidden;
  margin-bottom: 3px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-main small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.moderation-grid {
  align-items: start;
}

.moderation-panel {
  overflow: hidden;
}

.moderation-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-width: 0;
}

.moderation-item > .button,
.moderation-item > .table-actions {
  justify-self: end;
}

.moderation-account-item .table-actions {
  min-width: 0;
}

.chart {
  position: relative;
  height: 190px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding-top: 25px;
}

.chart::before,
.chart::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: #eef2ef;
}

@media (max-width: 1280px) {
  .dashboard-grid.equal.moderation-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.chart::before {
  top: 55px;
}

.chart::after {
  top: 110px;
}

.bar-group {
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex: 1;
  align-items: end;
  justify-content: center;
}

.bar-value {
  position: absolute;
  color: var(--ink);
  font-size: 10px;
  line-height: 1;
  transform: translateY(-2px);
}

.bar {
  width: min(32px, 70%);
  background: linear-gradient(180deg, #42ad84, var(--green));
  border-radius: 7px 7px 2px 2px;
}

.admin-user-section {
  margin-top: 24px;
}

.section-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-list-head h2 {
  margin: 0 0 4px;
  font-size: 19px;
}

.section-list-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.verification-badge .icon {
  width: 13px;
  height: 13px;
}

.bar-labels {
  display: flex;
  gap: 12px;
  margin-top: 7px;
}

.bar-labels span {
  flex: 1;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
}

.filter-panel {
  margin-bottom: 18px;
  padding: 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.filter-panel .filters {
  margin-bottom: 8px;
}

.filter-summary {
  color: var(--muted);
  font-size: 10px;
}

.filter-summary strong {
  color: var(--ink);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 13px 15px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.pagination > span {
  color: var(--muted);
  font-size: 10px;
}

.pagination > div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pagination .icon-button,
.page-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
}

.page-button:hover,
.page-button.active {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

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

.info-hero {
  padding: 105px 0 90px;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, #153c32, #286f59);
}

.info-hero .container {
  max-width: 850px;
}

.info-hero .eyebrow {
  color: var(--mint);
}

.info-hero h1 {
  margin: 14px auto 18px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.info-hero p {
  max-width: 720px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.7;
}

.info-hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.why-hero {
  background: radial-gradient(circle at 20% 20%, rgba(103, 194, 155, 0.25), transparent 35%), linear-gradient(135deg, #193a31, #244f43);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.audience-card {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.audience-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 14px;
}

.audience-card h2 {
  margin: 8px 0 24px;
  font-size: 25px;
}

.info-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.info-step b {
  color: var(--green);
  font-size: 11px;
}

.info-step strong {
  font-size: 13px;
}

.info-step p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.process-strip div {
  position: relative;
  padding: 24px 14px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.process-strip div:last-child {
  border-right: 0;
}

.process-strip span,
.process-strip strong {
  display: block;
}

.process-strip span {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}

.process-strip strong {
  font-size: 10px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.value-card {
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.value-card i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 12px;
}

.value-card h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.trust-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 60px;
  align-items: center;
}

.trust-story h2 {
  margin: 9px 0 13px;
  font-size: 34px;
}

.trust-story p {
  color: var(--muted);
  line-height: 1.75;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.trust-metrics div {
  padding: 25px 12px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.trust-metrics div:last-child {
  border: 0;
}

.trust-metrics strong,
.trust-metrics span {
  display: block;
}

.trust-metrics strong {
  color: var(--green);
  font-size: 19px;
}

.trust-metrics span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.register-intro {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  background: #f2f8f5;
  border-radius: 11px;
}

.register-intro > span {
  width: 37px;
  height: 37px;
  display: grid;
  flex: none;
  place-items: center;
  color: var(--green);
  background: white;
  border-radius: 10px;
}

.register-intro strong,
.register-intro p {
  display: block;
}

.register-intro strong {
  font-size: 12px;
}

.register-intro p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.account-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.account-type {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.account-type.selected {
  background: #f0f8f4;
  border-color: #80bba2;
  box-shadow: 0 0 0 2px rgba(34, 112, 84, 0.08);
}

.account-type input {
  position: absolute;
  opacity: 0;
}

.account-type i {
  width: 36px;
  height: 36px;
  display: grid;
  flex: none;
  place-items: center;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 9px;
}

.account-type strong,
.account-type small {
  display: block;
}

.account-type strong {
  font-size: 11px;
}

.account-type small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.register-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.register-consent input {
  margin-top: 2px;
  accent-color: var(--green);
}

.register-error {
  min-height: 18px;
  margin-top: 10px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
}

.filter-control {
  height: 38px;
  padding: 0 12px;
  color: #48574f;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
}

.filter-control:focus {
  border-color: #9fc7b5;
}

.search-control {
  min-width: 250px;
  flex: 1;
}

.profile-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 18px;
}

.profile-card {
  padding: 22px;
  text-align: center;
}

.profile-card .avatar {
  margin: 0 auto 14px;
}

.photo-actions {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: -4px 0 14px;
}

.photo-actions .button {
  cursor: pointer;
}

.photo-input {
  display: none;
}

.profile-card h2 {
  margin-bottom: 4px;
  font-size: 17px;
}

.profile-card > p {
  color: var(--muted);
  font-size: 12px;
}

.profile-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.profile-stat {
  padding: 10px;
  background: #f6f8f6;
  border-radius: 9px;
}

.profile-stat strong {
  display: block;
  font-size: 14px;
}

.profile-stat small {
  color: var(--muted);
  font-size: 9px;
}

.certificate-section {
  margin-top: 18px;
}

.certificate-section .panel-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.certificate-grid {
  display: grid;
  gap: 11px;
}

.certificate-card {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 15px;
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.certificate-card > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 10px;
}

.certificate-card strong,
.certificate-card span,
.certificate-card small,
.certificate-card a {
  display: block;
}

.certificate-card strong {
  margin-bottom: 4px;
  font-size: 12px;
}

.certificate-card span,
.certificate-card small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.certificate-card a {
  width: fit-content;
  margin-top: 7px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}

.certificate-card a .icon {
  width: 12px;
  height: 12px;
  vertical-align: -2px;
}

.certificate-actions {
  display: flex;
  gap: 4px;
}

.certificate-empty {
  padding: 28px;
}

.portfolio-section {
  margin-top: 18px;
}

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

.past-work-card {
  min-width: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.past-work-cover {
  min-height: 86px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  color: white;
  background: linear-gradient(135deg, #1d5042, #6da98e);
}

.past-work-cover span {
  font-size: 10px;
  font-weight: 800;
}

.past-work-cover strong {
  font-size: 17px;
}

.past-work-body {
  padding: 15px;
}

.past-work-body h3 {
  margin-bottom: 4px;
  font-size: 13px;
}

.past-work-body > span {
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
}

.past-work-body p {
  min-height: 48px;
  margin: 10px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.past-work-footer {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.past-work-footer a,
.past-work-link {
  padding: 0;
  color: var(--green);
  background: transparent;
  border: 0;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.past-work-footer a .icon,
.past-work-link .icon {
  width: 11px;
  vertical-align: -2px;
}

.portfolio-detail {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.portfolio-detail .past-work-cover {
  min-height: 120px;
}

.portfolio-detail-body {
  padding: 20px;
}

.portfolio-detail-body h3 {
  margin: 8px 0;
  font-size: 20px;
}

.portfolio-detail-body > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.portfolio-detail-body .secure-step {
  margin: 18px 0 0;
}

.freelancer-review-list {
  display: grid;
  gap: 12px;
}

.freelancer-review-card {
  padding: 14px;
  background: #fafcfb;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.freelancer-review-card > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.freelancer-review-card p {
  margin: 8px 0;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.6;
}

.freelancer-review-card small {
  color: var(--muted);
  font-size: 9px;
}

.rating-select {
  color: #ad7617;
  font-weight: 700;
}

.payout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.payout-card .panel-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.bank-account-summary,
.kyc-success {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.bank-account-summary > i,
.kyc-success > .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 11px;
}

.bank-account-summary > i .icon {
  width: 20px;
}

.bank-account-summary strong,
.bank-account-summary span,
.bank-account-summary small,
.kyc-success strong,
.kyc-success span {
  display: block;
}

.bank-account-summary span,
.bank-account-summary small,
.kyc-success span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.empty-payout p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.payout-requirements {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.payout-requirements > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 12px;
  background: #f6f8f7;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.payout-requirements > div > .icon {
  color: var(--green);
}

.payout-requirements strong,
.payout-requirements small {
  display: block;
}

.payout-requirements small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.otp-demo-note {
  margin-bottom: 17px;
  padding: 14px;
  color: #675427;
  background: #fff8e7;
  border: 1px solid #eadbac;
  border-radius: 11px;
}

.otp-demo-note strong,
.otp-demo-note span {
  display: block;
}

.otp-demo-note span {
  margin-top: 5px;
  font-size: 10px;
}

.otp-input {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-align: center;
}

.public-profile-portfolio {
  margin-top: 18px;
  padding: 18px;
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.public-profile-portfolio > div:first-child {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}

.public-profile-portfolio h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 14px;
}

.public-availability {
  width: fit-content;
  margin-top: 10px;
  padding: 4px 8px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.public-availability.available {
  color: #d8ffed;
  background: rgba(120, 225, 174, 0.17);
}

.talent-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
  padding: 28px;
  color: white;
  background: linear-gradient(135deg, #173e34, #286e59);
  border-radius: 16px;
}

.talent-profile-person {
  display: flex;
  align-items: center;
  gap: 18px;
}

.talent-profile-person h1 {
  margin: 9px 0 3px;
  font-size: 25px;
}

.talent-profile-person p,
.talent-profile-person small {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.talent-profile-person small {
  margin-top: 8px;
  font-size: 11px;
}

.talent-profile-person small .icon {
  width: 13px;
  height: 13px;
  vertical-align: -3px;
}

.talent-profile-rate {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.talent-profile-rate span,
.talent-profile-rate small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.talent-profile-rate strong {
  display: block;
  margin: 5px 0 2px;
  font-size: 23px;
}

.talent-profile-rate .button {
  width: 100%;
  margin-top: 15px;
}

.talent-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
}

.profile-overview p,
.profile-availability {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.profile-overview .skills {
  min-height: 0;
  margin-top: 18px;
}

.profile-proof {
  padding: 20px;
}

.profile-proof .rating-row {
  margin-top: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.profile-proof-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.profile-proof-row strong {
  color: var(--ink);
}

.messages-shell {
  height: clamp(440px, calc(100vh - 215px), 720px);
  min-height: 0;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr) 245px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(27, 56, 44, 0.07);
}

.conversation-list {
  min-width: 0;
  overflow-y: auto;
  border-right: 1px solid var(--line);
}

.conversation-list-head {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.conversation-list-head > div small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.conversation-search {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 11px 13px;
  padding: 0 10px;
  color: var(--muted);
  background: #f4f7f5;
  border: 1px solid transparent;
  border-radius: 9px;
}

.conversation-search:focus-within {
  background: white;
  border-color: #a9cdbd;
}

.conversation-search .icon {
  width: 14px;
  height: 14px;
}

.conversation-search input {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 10px;
}

.conversation-list-head h2 {
  font-size: 14px;
}

.conversation-list-head span {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
}

.conversation-item {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  padding: 15px 17px;
  cursor: pointer;
  text-align: left;
  background: white;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.conversation-item:hover,
.conversation-item.active {
  background: #f1f8f4;
}

.conversation-item.active {
  box-shadow: inset 3px 0 var(--green);
}

.conversation-item > span,
.conversation-item strong,
.conversation-item small,
.conversation-item em {
  min-width: 0;
  display: block;
}

.conversation-item strong {
  overflow: hidden;
  margin-bottom: 3px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-name {
  display: flex !important;
  align-items: center;
  gap: 7px;
}

.conversation-name strong {
  flex: 1;
}

.conversation-name b {
  padding: 3px 5px;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 5px;
  font-size: 7px;
  text-transform: uppercase;
}

.conversation-item.archived .conversation-name b {
  color: #6e7772;
  background: #edf0ee;
}

.conversation-item small {
  overflow: hidden;
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-item em {
  overflow: hidden;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-panel {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.chat-head {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}

.chat-head > div {
  min-width: 0;
  flex: 1;
}

.chat-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.online-status {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  color: var(--green) !important;
  font-weight: 700;
}

.online-status i {
  width: 6px;
  height: 6px;
  background: #3eb984;
  border-radius: 50%;
}

.online-status.archived {
  color: #6e7772 !important;
}

.online-status.archived i {
  background: #9ca49f;
}

.chat-head strong,
.chat-head span {
  display: block;
}

.chat-head strong {
  font-size: 13px;
}

.chat-head span {
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-privacy {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  color: #5b6a63;
  background: #f3f8f5;
  border-bottom: 1px solid #dae9e1;
  font-size: 10px;
}

.chat-privacy .icon {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.chat-archive-banner {
  color: #6e6250;
  background: #f8f4ec;
  border-bottom-color: #e9dfcf;
}

.chat-archive-banner .icon {
  color: #8c7551;
}

.message-thread {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  padding: 22px;
  background-color: #f8faf8;
  background-image: radial-gradient(#dfe8e2 0.7px, transparent 0.7px);
  background-size: 16px 16px;
}

.message-day {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.message-day span {
  padding: 5px 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
}

.message-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.message-row.own {
  justify-content: flex-end;
}

.message-bubble {
  max-width: min(520px, 76%);
  padding: 11px 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px 14px 14px;
  box-shadow: 0 3px 10px rgba(30, 58, 47, 0.035);
}

.message-row.own .message-bubble {
  color: white;
  background: var(--green);
  border-color: var(--green);
  border-radius: 14px 4px 14px 14px;
}

.message-bubble span,
.message-bubble small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.message-bubble span {
  margin-bottom: 5px;
  font-weight: 800;
}

.message-bubble p {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.message-row.own .message-bubble span,
.message-row.own .message-bubble small {
  color: rgba(255, 255, 255, 0.7);
}

.message-composer {
  padding: 14px 18px 16px;
  background: white;
  border-top: 1px solid var(--line);
}

.composer-box {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 7px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.message-composer textarea {
  min-width: 0;
  flex: 1;
  width: 100%;
  min-height: 54px;
  max-height: 120px;
  padding: 9px;
  background: transparent;
  border: 0;
  outline: 0;
  resize: none;
}

.composer-box:focus-within {
  background: white;
  border-color: #8fc0aa;
  box-shadow: 0 0 0 3px rgba(26, 107, 82, 0.08);
}

.message-composer textarea.input-error {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(212, 103, 78, 0.1);
}

.message-composer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
}

.message-composer > div:last-child span {
  color: var(--muted);
  font-size: 8px;
}

.message-composer small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.message-composer small .icon {
  width: 12px;
  height: 12px;
}

.composer-send {
  min-width: 88px;
  height: 42px;
  flex: none;
  padding: 0 13px;
  border-radius: 11px;
  box-shadow: 0 7px 16px rgba(26, 107, 82, 0.24);
}

.composer-send .icon {
  width: 16px;
  height: 16px;
}

.chat-closed {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 16px 20px;
  color: #68716c;
  background: #f7f8f7;
  border-top: 1px solid var(--line);
}

.chat-closed > .icon {
  width: 20px;
  height: 20px;
}

.chat-closed strong,
.chat-closed span {
  display: block;
}

.chat-closed strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 11px;
}

.chat-closed span {
  font-size: 9px;
}

.public-profile-modal {
  width: min(780px, calc(100vw - 48px));
}

.public-profile-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 17px;
  align-items: center;
  padding: 20px;
  color: white;
  background: linear-gradient(135deg, #173e34, #286e59);
  border-radius: 14px;
}

.public-profile-head h2 {
  margin: 8px 0 2px;
  font-size: 22px;
}

.public-profile-head p,
.public-profile-head small {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.public-profile-rate {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.public-profile-rate span,
.public-profile-rate small,
.public-profile-rate strong {
  display: block;
}

.public-profile-rate strong {
  margin: 4px 0;
  font-size: 22px;
}

.public-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(210px, 0.7fr);
  gap: 18px;
  margin-top: 18px;
}

.public-profile-grid > section,
.public-profile-grid > aside,
.public-profile-certificates {
  padding: 18px;
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.public-profile-grid h3,
.public-profile-certificates h3 {
  margin-bottom: 9px;
  font-size: 14px;
}

.public-profile-grid p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.public-profile-certificates {
  margin-top: 18px;
}

.public-profile-certificates > div:first-child {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}

.proposal-gate {
  padding: 12px 8px 5px;
  text-align: center;
}

.proposal-gate > i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 15px;
}

.proposal-gate h3 {
  margin-bottom: 7px;
  font-size: 17px;
}

.proposal-gate p {
  max-width: 470px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.chat-context {
  overflow-y: auto;
  padding: 20px 17px;
  background: #fbfcfb;
  border-left: 1px solid var(--line);
}

.context-person {
  padding-bottom: 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.context-person .avatar {
  margin: 0 auto 10px;
}

.context-person strong,
.context-person span {
  display: block;
}

.context-person strong {
  font-size: 13px;
}

.context-person span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.context-section {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.context-section span,
.context-section strong,
.context-section small {
  display: block;
}

.context-section span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.context-section strong {
  font-size: 11px;
  line-height: 1.45;
}

.context-section small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.context-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  padding: 14px 0 0;
}

.context-stats div {
  padding: 10px;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.context-stats strong,
.context-stats span {
  display: block;
}

.context-stats strong {
  font-size: 13px;
}

.context-stats span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.chat-context > .button {
  width: 100%;
  margin-top: 16px;
}

.message-composer small {
  color: var(--muted);
  font-size: 9px;
}

.chat-empty,
.chat-no-contract {
  margin: auto;
  color: var(--muted);
  text-align: center;
}

.chat-empty h3,
.chat-no-contract h3 {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 14px;
}

.chat-empty p,
.chat-no-contract p {
  font-size: 11px;
}

.conversation-empty {
  padding: 35px 20px;
}

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

.form-group {
  display: grid;
  gap: 7px;
}

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

.form-group label {
  font-size: 11px;
  font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
}

.form-input,
.form-select {
  height: 42px;
  padding: 0 12px;
}

.form-textarea {
  min-height: 115px;
  padding: 11px 12px;
  line-height: 1.5;
  resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #8fc0aa;
  box-shadow: 0 0 0 3px rgba(26, 107, 82, 0.08);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 19px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.empty-state {
  padding: 60px 25px;
  color: var(--muted);
  text-align: center;
}

.empty-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  color: var(--green);
  background: var(--mint-2);
  border-radius: 16px;
}

.empty-state h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
}

.empty-state p {
  font-size: 12px;
}

.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 17px;
  padding: 4px;
  background: #edf1ee;
  border-radius: 10px;
}

.tab {
  min-height: 34px;
  flex: 1;
  padding: 0 11px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.tab.active {
  color: var(--ink);
  background: white;
  box-shadow: 0 2px 7px rgba(34, 57, 48, 0.07);
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

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

.switch-copy {
  min-width: 0;
  flex: 1;
}

.switch-copy strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}

.switch-copy small {
  color: var(--muted);
  font-size: 10px;
}

.switch {
  position: relative;
  width: 38px;
  height: 22px;
  flex: none;
  cursor: pointer;
  appearance: none;
  background: #cdd5d0;
  border-radius: 999px;
  transition: 160ms ease;
}

.switch::after {
  position: absolute;
  width: 16px;
  height: 16px;
  content: "";
  top: 3px;
  left: 3px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: 160ms ease;
}

.switch:checked {
  background: var(--green);
}

.switch:checked::after {
  transform: translateX(16px);
}

.cms-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 18px;
}

.cms-tree {
  padding: 10px;
}

.cms-page-button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
}

.cms-page-button:hover,
.cms-page-button.active {
  color: var(--green);
  background: var(--mint-2);
}

.cms-page-button .icon:last-child {
  width: 14px;
  margin-left: auto;
}

.preview-frame {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.preview-bar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  background: #edf1ee;
}

.preview-bar i {
  width: 7px;
  height: 7px;
  background: #b4c0b9;
  border-radius: 50%;
}

.preview-content {
  min-height: 230px;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
  background: linear-gradient(145deg, #f7fbf8, white);
}

.preview-content h2 {
  max-width: 470px;
  margin-bottom: 10px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.preview-content p {
  max-width: 500px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 31, 26, 0.55);
  backdrop-filter: blur(5px);
}

.modal {
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow-x: hidden;
  overflow-y: auto;
  background: white;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(11, 26, 21, 0.3);
}

.modal:has(.public-profile-modal) {
  width: min(840px, 100%);
}

.modal:has(.source-review-workspace) {
  width: min(1040px, 100%);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin: 0;
  font-size: 18px;
}

.modal-body {
  min-width: 0;
  padding: 22px;
}

.mobile-navigation-list {
  display: grid;
  gap: 9px;
}

.mobile-navigation-list button {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  color: var(--ink);
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
}

.mobile-navigation-list button:hover {
  border-color: #a9cdbd;
  background: var(--mint-2);
}

.mobile-navigation-list button > .icon:first-child {
  width: 38px;
  height: 38px;
  padding: 9px;
  color: var(--green);
  background: white;
  border-radius: 10px;
}

.mobile-navigation-list button > .icon:last-child {
  color: var(--green);
}

.mobile-navigation-list span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.mobile-navigation-list strong,
.mobile-navigation-list small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-navigation-list strong {
  font-size: 13px;
}

.mobile-navigation-list small {
  color: var(--muted);
  font-size: 10px;
}

.toast-region {
  position: fixed;
  z-index: 200;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 9px;
}

.toast {
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  color: white;
  background: #183d31;
  border-radius: 11px;
  box-shadow: var(--shadow);
  font-size: 12px;
  animation: toast-in 250ms ease both;
}

@keyframes toast-in {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
}

@media (max-width: 1050px) {
  .footer-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1.25fr repeat(2, 1fr);
  }

  .footer-admin-card {
    grid-column: span 2;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
  }

  .footer-credit {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .hero-grid {
    gap: 20px;
  }

  .portrait-main {
    right: 10px;
  }

  .float-card-top {
    left: -10px;
  }

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

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

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

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

  .interview-list,
  .video-room {
    grid-template-columns: 1fr;
  }

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

  .messages-shell {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .proposal-card {
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
  }

  .proposal-card-actions {
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
  }

  .chat-context {
    display: none;
  }

  .process-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-strip div:nth-child(3) {
    border-right: 0;
  }

  .process-strip div:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .trust-story {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 820px) {
  .footer-intro {
    padding: 42px 0;
  }

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

  .footer-brand-column,
  .footer-admin-card {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-credit,
  .footer-legal {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    text-align: left;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .auth-page {
    padding: 45px 0;
  }

  .auth-card {
    padding: 22px;
  }

  .container {
    width: min(100% - 28px, 680px);
  }

  .public-nav-inner {
    height: 65px;
  }

  .nav-links,
  .nav-actions .button-ghost {
    display: none;
  }

  .mobile-toggle {
    display: inline-grid;
  }

  .hero {
    padding-top: 55px;
  }

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

  .hero-visual {
    min-height: 435px;
  }

  .portrait-main {
    left: 50%;
    transform: translateX(-50%);
  }

  .float-card-top {
    left: 5%;
  }

  .float-card-bottom {
    left: 8%;
  }

  .portrait-secondary {
    right: 8%;
  }

  .trust-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .logo-row {
    width: 100%;
    justify-content: space-between;
    gap: 15px;
    font-size: 14px;
  }

  .section {
    padding: 65px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .how-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 38px 30px;
  }

  .dashboard-shell {
    grid-template-columns: 76px 1fr;
  }

  .sidebar {
    padding-inline: 11px;
  }

  .sidebar .brand {
    margin-inline: auto;
  }

  .sidebar .brand > span:last-child,
  .side-label,
  .side-link > span:not(.side-badge),
  .workspace-switch > span,
  .workspace-switch > .icon {
    display: none;
  }

  .side-link,
  .workspace-switch {
    justify-content: center;
    padding: 0;
  }

  .side-badge {
    position: absolute;
    margin: -25px -30px 0 0;
  }

  .dashboard-topbar,
  .dashboard-content {
    padding-inline: 20px;
  }

  .dashboard-topbar {
    gap: 12px;
  }

  .dash-search {
    width: min(320px, 42vw);
  }

  .panel-head {
    flex-wrap: wrap;
    height: auto;
    padding-block: 13px;
  }

  .profile-layout,
  .cms-layout,
  .contract-layout,
  .talent-profile-layout {
    grid-template-columns: 1fr;
  }

  .messages-shell {
    height: auto;
    min-height: 760px;
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .audience-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .info-hero {
    padding: 75px 0 65px;
  }

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

  .talent-profile-rate {
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .wallet-hero {
    grid-template-columns: 1fr;
  }

  .contract-hero {
    grid-template-columns: 1fr 130px;
  }

  .contract-party {
    grid-column: 1 / -1;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .cms-tree {
    display: flex;
    overflow-x: auto;
  }

  .cms-page-button {
    width: auto;
    flex: none;
  }

  .calendar-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-legend {
    justify-content: flex-start;
  }
}

@media (max-width: 610px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  img,
  video,
  canvas,
  iframe {
    max-width: 100%;
  }

  .login-menu-popover {
    position: fixed;
    width: calc(100% - 28px);
    top: 72px;
    right: 14px;
  }

  .login-menu-popover::before {
    display: none;
  }

  .footer-intro-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .footer-intro-actions .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 38px 0 34px;
  }

  .footer-brand-column,
  .footer-admin-card {
    grid-column: auto;
  }

  .footer-legal {
    flex-wrap: wrap;
  }

  .nav-actions .button-primary {
    display: none;
  }

  .hero h1 {
    font-size: 43px;
  }

  .info-hero h1 {
    font-size: 40px;
  }

  .info-hero p {
    font-size: 14px;
  }

  .info-hero-actions,
  .account-type-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .info-hero-actions .button {
    width: 100%;
  }

  .process-strip {
    grid-template-columns: 1fr 1fr;
  }

  .process-strip div,
  .process-strip div:nth-child(3) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .process-strip div:nth-child(even) {
    border-right: 0;
  }

  .process-strip div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .trust-metrics {
    grid-template-columns: 1fr;
  }

  .trust-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .hero-search {
    align-items: stretch;
    flex-direction: column;
    padding: 11px;
  }

  .hero-search .search-icon {
    display: none;
  }

  .hero-search input {
    width: 100%;
    padding: 0 4px;
  }

  .category-grid,
  .talent-grid,
  .how-grid,
  .footer-grid,
  .stats-grid,
  .dashboard-grid.equal,
  .form-grid,
  .past-work-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    transform: scale(0.86);
    margin: -25px -35px;
  }

  .logo-row span:nth-child(n + 4) {
    display: none;
  }

  .job-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .job-side {
    align-items: stretch;
    text-align: left;
  }

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

  .public-profile-rate {
    padding: 14px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .job-apply {
    width: 100%;
  }

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

  .pagination > div {
    width: 100%;
    overflow-x: auto;
  }

  .footer-bottom,
  .page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-shell {
    display: block;
    padding-bottom: 74px;
  }

  .sidebar {
    position: fixed;
    z-index: 50;
    width: 100%;
    height: 74px;
    display: block;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 8px 6px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar::-webkit-scrollbar {
    display: none;
  }

  .sidebar .brand,
  .side-label,
  .sidebar-foot {
    display: none;
  }

  .side-nav {
    height: 100%;
    display: flex;
    width: max-content;
    min-width: 100%;
    justify-content: flex-start;
    gap: 4px;
  }

  .side-link {
    position: relative;
    width: 68px;
    min-width: 68px;
    height: 56px;
    flex: 0 0 68px;
    flex-direction: column;
    gap: 2px;
    padding-inline: 4px;
    font-size: 8px;
    text-align: center;
  }

  .side-link > span:not(.side-badge) {
    display: block;
  }

  .side-badge {
    position: absolute;
    top: 3px;
    right: 7px;
    margin: 0;
  }

  .dashboard-topbar {
    min-height: 62px;
    height: auto;
    gap: 8px;
    padding-inline: 14px;
    padding-block: 10px;
  }

  .dashboard-content {
    padding: 22px 14px 35px;
  }

  .topbar-search-group,
  .dash-search {
    width: auto;
    flex: 1;
  }

  .topbar-search-group {
    gap: 7px;
  }

  .topbar-availability span {
    display: none;
  }

  .topbar-availability {
    flex: none;
    padding: 0 8px;
  }

  .profile-chip div,
  .topbar-actions .button,
  .currency-chip {
    display: none;
  }

  .topbar-actions {
    flex: none;
    gap: 5px;
  }

  .topbar-actions .icon-button,
  .profile-chip .avatar {
    width: 36px;
    height: 36px;
  }

  .profile-chip {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .page-head {
    width: 100%;
    gap: 14px;
    margin-bottom: 19px;
  }

  .page-head h1 {
    font-size: 23px;
  }

  .page-head > .button,
  .page-head > div + div {
    width: 100%;
  }

  .page-head > .button {
    justify-content: center;
  }

  .panel-head {
    min-height: 54px;
    padding: 12px 14px;
  }

  .panel-body {
    padding: 14px;
  }

  .filter-panel {
    padding: 11px;
  }

  .filter-panel .filters,
  .filters,
  .proposal-filters {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .filter-control,
  .search-control,
  .filters .button,
  .proposal-filters > * {
    width: 100%;
    min-width: 0;
  }

  .data-table {
    min-width: 620px;
  }

  .contract-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px;
  }

  .contract-progress-ring {
    margin: 0;
  }

  .contract-party {
    grid-column: auto;
  }

  .milestone-item {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .milestone-actions {
    grid-column: 2;
    flex-wrap: wrap;
  }

  .milestone-delivery {
    align-items: flex-start;
    flex-direction: column;
  }

  .wallet-breakdown {
    grid-template-columns: 1fr;
  }

  .proposal-toolbar,
  .proposal-project-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .proposal-filters,
  .proposal-card,
  .proposal-review-grid,
  .interview-list,
  .video-room {
    grid-template-columns: 1fr;
  }

  .video-stage {
    min-height: 480px;
  }

  .video-tile-self {
    width: 140px;
    height: 105px;
  }

  .proposal-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .messages-shell {
    min-height: 850px;
    grid-template-columns: 1fr;
    grid-template-rows: 230px minmax(0, 1fr);
  }

  .conversation-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .chat-panel {
    min-height: 620px;
  }

  .message-composer {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 11px;
  }

  .message-composer textarea {
    min-width: 0;
  }

  .message-composer > div:last-child span {
    display: none;
  }

  .composer-send {
    min-width: 76px;
  }

  .calendar-toolbar {
    padding: 12px;
  }

  .calendar-navigation {
    width: 100%;
  }

  .calendar-navigation h2 {
    min-width: 0;
    flex: 1;
    font-size: 16px;
    text-align: right;
  }

  .calendar-grid {
    min-width: 760px;
    grid-template-columns: repeat(7, minmax(105px, 1fr));
  }

  .calendar-day {
    min-height: 125px;
  }

  .calendar-add {
    opacity: 1;
  }

  .source-browser {
    grid-template-columns: 1fr;
  }

  .source-browser aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .source-file-list {
    max-height: 180px;
  }

  .ai-copilot {
    right: 12px;
    bottom: 84px;
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 105px);
  }

  .ai-launcher {
    right: 12px;
    bottom: 82px;
  }

  .job-title-row,
  .ai-assessment,
  .fee-columns {
    align-items: flex-start;
    flex-direction: column;
  }

  .fee-columns {
    display: grid;
    grid-template-columns: 1fr;
  }

  .revenue-toolbar,
  .revenue-summary {
    grid-template-columns: 1fr;
  }

  .modal-backdrop {
    align-items: end;
    padding: 8px;
  }

  .modal {
    width: 100%;
    max-height: calc(100dvh - 16px);
    border-radius: 16px;
  }

  .modal-head {
    position: sticky;
    z-index: 4;
    top: 0;
    padding: 15px 16px;
    background: white;
  }

  .modal-body {
    padding: 16px;
  }

  .form-actions {
    flex-wrap: wrap;
  }

  .form-actions .button {
    min-width: min(150px, 100%);
    flex: 1;
  }

  .toast-region {
    right: 10px;
    bottom: 84px;
    left: 10px;
  }

  .toast {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 440px) {
  .container {
    width: min(100% - 20px, 680px);
  }

  .public-nav-inner {
    gap: 8px;
  }

  .brand {
    font-size: 19px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-actions {
    gap: 5px;
  }

  .nav-actions .button {
    padding-inline: 10px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: clamp(35px, 11vw, 43px);
  }

  .hero-visual {
    min-height: 360px;
    transform: scale(0.78);
    margin: -40px -60px;
  }

  .dashboard-topbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .topbar-search-group {
    width: calc(100% - 82px);
  }

  .dash-search {
    width: 100%;
  }

  .dash-search input {
    font-size: 12px;
  }

  .topbar-availability {
    height: 36px;
    padding-inline: 7px;
  }

  .topbar-actions {
    margin-left: 0;
  }

  .notification-button {
    display: none;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-value strong {
    font-size: 22px;
  }

  .mini-item {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .mini-item .button {
    width: 100%;
  }

  .calendar-navigation {
    flex-wrap: wrap;
  }

  .calendar-navigation h2 {
    width: 100%;
    flex-basis: 100%;
    text-align: left;
  }

  .messages-shell {
    min-height: 760px;
  }

  .chat-panel {
    min-height: 540px;
  }

  .composer-send {
    min-width: 44px;
    padding-inline: 11px;
  }

  .composer-send span {
    display: none;
  }

  .video-stage {
    min-height: 390px;
  }

  .video-tile-self {
    width: 112px;
    height: 84px;
  }

  .modal-body,
  .modal-head {
    padding-inline: 13px;
  }

  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form-actions .button {
    width: 100%;
  }
}
