@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  --ink: #22332b;
  --muted: #728078;
  --green: #174e39;
  --line: #e3e9e5;
  --soft: #f5f7f5;
  --lime: #d9ee9b;
  --orange: #a86c21;
  --red: #a13e37;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f5f7f5;
  color: var(--ink);
  font:
    15px/1.55 "DM Sans",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #79aa8e;
  outline-offset: 3px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: Manrope, sans-serif;
  line-height: 1.25;
  letter-spacing: -0.04em;
}
h1 {
  font-size: 34px;
  font-weight: 750;
}
h2 {
  font-size: 23px;
}
h3 {
  font-size: 18px;
}
p {
  color: var(--muted);
}
svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.brand {
  font: 800 27px Manrope;
  letter-spacing: -1.7px;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.brand span {
  font-weight: 500;
}
.brand svg {
  margin-left: 8px;
  width: 27px;
  color: var(--green);
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: white;
  border-right: 1px solid var(--line);
  padding: 32px 22px;
  position: fixed;
  inset: 0 auto 0 0;
  width: 230px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.side-label {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: var(--muted);
  margin: 40px 12px 12px;
}
.nav-item {
  border: 0;
  background: none;
  width: 100%;
  padding: 13px 14px;
  margin: 2px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #718077;
  text-align: left;
  font-size: 14px;
  font-weight: 550;
  border-radius: 7px;
}
.nav-item:hover {
  background: var(--soft);
  color: var(--ink);
}
.nav-item.active {
  background: #eaf2ec;
  color: var(--green);
  font-weight: 700;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.side-note {
  margin: 0 12px 20px;
  font-size: 12px;
  color: #8a958d;
}
.side-note strong {
  display: block;
  color: var(--green);
  margin-bottom: 5px;
}
.user-block {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #e7eee8;
  color: var(--green);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.user-block strong {
  display: block;
  font-size: 13px;
}
.user-block small {
  color: var(--muted);
  font-size: 11px;
}
.workspace {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 77px;
  padding: 0 44px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.topbar small {
  color: var(--muted);
  font-size: 12px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  white-space: nowrap;
}
.demo-tag {
  background: #f5f3e8;
  border-color: #e9e4cf;
  color: #776a3d;
}
.content {
  max-width: 1490px;
  margin: auto;
  padding: 40px 44px 70px;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.page-head p {
  margin-top: 9px;
  font-size: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border-radius: 5px;
  border: 1px solid #dbe3dd;
  background: white;
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  min-height: 43px;
}
.btn:hover {
  background: #eff4f0;
}
.btn.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn.primary:hover {
  background: #103e2c;
}
.btn.danger {
  color: var(--red);
  border-color: #ecd3d0;
}
.btn.small {
  min-height: 35px;
  padding: 7px 11px;
  font-size: 12px;
}
.btn.full {
  width: 100%;
}
.link-btn {
  padding: 0;
  background: none;
  border: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.icon-btn {
  border: 1px solid var(--line);
  background: white;
  padding: 8px;
  border-radius: 5px;
  display: grid;
  place-items: center;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px;
  margin-bottom: 30px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 23px;
  display: flex;
  justify-content: space-between;
}
.metric > div {
  min-width: 0;
}
.metric strong {
  overflow-wrap: anywhere;
}
.metric-label {
  font-size: 12px;
  color: var(--muted);
}
.metric strong {
  display: block;
  font: 700 29px Manrope;
  margin: 7px 0 3px;
  letter-spacing: -1px;
}
.metric small {
  font-size: 11px;
  color: var(--muted);
}
.metric-icon {
  width: 34px;
  height: 34px;
  background: #eff4f0;
  color: var(--green);
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 26px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 15px;
}
.section-title h2 {
  font-size: 19px;
}
.section-title small {
  color: var(--muted);
  font-size: 12px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  margin-bottom: 20px;
}
.card > p {
  font-size: 13px;
  margin-top: 8px;
}
.job-list {
  display: grid;
  gap: 13px;
}
.job-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 20px;
  text-align: left;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 18px;
  align-items: center;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.job-card:hover {
  border-color: #93b09d;
  transform: translateY(-2px);
}
.job-card img {
  width: 76px;
  height: 90px;
  object-fit: cover;
  border-radius: 5px;
}
.job-card h3 {
  font-size: 17px;
  margin: 7px 0;
}
.job-card p {
  font-size: 12px;
}
.job-id {
  font-size: 10px;
  letter-spacing: 0.7px;
  color: #919b94;
}
.job-end {
  text-align: right;
}
.job-end strong {
  display: block;
  font: 650 18px Manrope;
  margin-top: 14px;
}
.job-end small {
  color: var(--muted);
  font-size: 10px;
}
.status {
  display: inline-block;
  font-size: 10px;
  font-weight: 650;
  padding: 5px 9px;
  border-radius: 4px;
  line-height: 1.4;
  background: #eff3ef;
  color: #617969;
}
.status.bidding,
.status.scheduling {
  background: #edf1fa;
  color: #56719a;
}
.status.working,
.status.awaiting_payment,
.status.backup,
.status.support {
  background: #faf0df;
  color: #a17230;
}
.status.completed {
  background: #e5f3e9;
  color: #327548;
}
.status.cancelled {
  background: #f5e9e7;
  color: #ad5c53;
}
.callout {
  padding: 22px;
  background: #eaf1e9;
  border: 1px solid #dae5d7;
  border-radius: 8px;
  margin-bottom: 20px;
}
.callout h3 {
  font-size: 19px;
  margin: 10px 0;
}
.callout p {
  font-size: 13px;
  color: #677a6b;
  margin-bottom: 17px;
}
.callout .eyebrow {
  margin: 0;
}
.mini-steps {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.mini-steps li {
  position: relative;
  padding: 0 0 23px 34px;
  font-size: 12px;
}
.mini-steps li:before {
  content: attr(data-n);
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  border: 1px solid #d6e3d9;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  background: white;
  color: var(--green);
}
.mini-steps li:not(:last-child):after {
  content: "";
  position: absolute;
  left: 11px;
  top: 26px;
  height: 17px;
  width: 1px;
  background: var(--line);
}
.mini-steps strong {
  display: block;
  font-size: 12px;
}
.mini-steps span {
  color: var(--muted);
  font-size: 11px;
}
.empty {
  border: 1px dashed #cdd9d0;
  padding: 46px 25px;
  text-align: center;
  border-radius: 8px;
  background: #fcfdfb;
}
.empty svg {
  width: 35px;
  height: 35px;
  color: #88a28f;
  margin-bottom: 15px;
}
.empty h3 {
  margin-bottom: 10px;
}
.empty p {
  font-size: 13px;
  margin-bottom: 22px;
}
.tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  overflow: auto;
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 0 0 13px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.tabs button.active {
  border-color: var(--green);
  color: var(--green);
  font-weight: 700;
}
.notice {
  background: #f3f6f1;
  border: 1px solid var(--line);
  padding: 14px 17px;
  border-radius: 5px;
  font-size: 12px;
  color: #617265;
  margin: 16px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.notice.warning {
  background: #fcf7ec;
  border-color: #eee2c8;
  color: #8a6a34;
}
.notice.error {
  background: #fcf0ee;
  color: var(--red);
  border-color: #f0d9d5;
}
.notice svg {
  width: 17px;
  height: 17px;
  margin-top: 1px;
}
.notice a {
  text-decoration: underline;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
}
.detail-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.detail-title h1 {
  font-size: 29px;
}
.progress-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 28px 0 30px;
  gap: 8px;
}
.progress-step {
  border-top: 3px solid #dce4dd;
  padding-top: 12px;
  font-size: 11px;
  color: #99a39b;
}
.progress-step.active {
  border-color: var(--green);
  color: var(--green);
  font-weight: 650;
}
.progress-step.done {
  border-color: #96b29b;
  color: #728e78;
}
.progress-step small {
  display: block;
  font-size: 9px;
  margin-bottom: 5px;
}
.action-card {
  border-top: 3px solid var(--green);
  padding: 28px;
}
.action-card h2 {
  font-size: 24px;
}
.action-card p {
  margin: 10px 0 20px;
}
.price {
  font: 750 45px Manrope;
  letter-spacing: -2px;
  color: var(--green);
  margin: 20px 0 5px;
}
.price small {
  font: 500 14px "DM Sans";
  letter-spacing: 0;
  color: var(--muted);
}
.action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 19px;
  min-width: 0;
}
.field > span,
.field > label {
  font-size: 12px;
  font-weight: 650;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d8e1da;
  background: white;
  color: var(--ink);
  border-radius: 5px;
  padding: 12px 13px;
  min-height: 46px;
}
.field textarea {
  resize: vertical;
  min-height: 105px;
}
.field small {
  font-size: 11px;
  color: var(--muted);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  margin: 15px 0;
  cursor: pointer;
}
.check input {
  accent-color: var(--green);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}
.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.radio-choice {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
}
.radio-choice:has(input:checked) {
  border-color: var(--green);
  background: #f2f7f1;
}
.radio-choice input {
  accent-color: var(--green);
}
.conditional {
  margin-top: 20px;
}
.hidden,
[hidden] {
  display: none !important;
}
.wizard-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 25px;
}
.wizard-head p {
  font-size: 13px;
  margin-top: 9px;
}
.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 30px;
  gap: 15px;
}
.upload {
  display: block;
  border: 1px dashed #afc5b6;
  background: #f7faf6;
  border-radius: 6px;
  text-align: center;
  padding: 25px 15px;
  cursor: pointer;
  position: relative;
}
.upload input {
  display: block;
  font-size: 11px;
  max-width: 100%;
  margin: 12px auto 0;
}
.upload strong {
  display: block;
  font-size: 13px;
  margin: 10px 0 4px;
}
.upload small {
  font-size: 11px;
  color: var(--muted);
}
.photo-preview {
  display: flex;
  gap: 9px;
  margin: 15px 0;
  flex-wrap: wrap;
}
.photo-preview > div {
  position: relative;
}
.photo-preview img {
  width: 85px;
  height: 98px;
  object-fit: cover;
  border-radius: 4px;
}
.photo-preview button {
  position: absolute;
  top: 3px;
  right: 3px;
  background: white;
  border: 0;
  border-radius: 50%;
  height: 22px;
  width: 22px;
  color: var(--ink);
}
.job-photo {
  width: 100%;
  height: 235px;
  object-fit: cover;
  border-radius: 5px;
  background: #eef2ed;
}
.job-photos {
  display: flex;
  gap: 7px;
  overflow: auto;
  margin: 10px 0;
}
.job-photos a img {
  width: 60px;
  height: 66px;
  object-fit: cover;
  border-radius: 3px;
}
.summary-title {
  margin: 17px 0 15px;
  font-size: 18px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.summary-row span {
  color: var(--muted);
}
.summary-row strong {
  font-weight: 550;
  text-align: right;
}
.summary-row:last-child {
  border: 0;
}
.summary-row.total {
  font-size: 15px;
}
.summary-row.total strong {
  color: var(--green);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.check-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  margin: 12px 0;
  color: #63776a;
}
.check-list svg {
  width: 15px;
  height: 15px;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.timeline li {
  padding: 0 0 23px 23px;
  border-left: 1px solid var(--line);
  position: relative;
  font-size: 12px;
}
.timeline li:before {
  content: "";
  position: absolute;
  left: -4px;
  top: 4px;
  width: 7px;
  height: 7px;
  background: #94ac9b;
  border-radius: 50%;
}
.timeline li:first-child:before {
  background: var(--green);
}
.timeline time {
  display: block;
  color: #99a49c;
  font-size: 10px;
  margin-top: 5px;
}
.timeline li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.small-title {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.confirmations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.confirmation {
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 5px;
  font-size: 12px;
}
.confirmation strong {
  display: block;
  margin-bottom: 8px;
}
.confirmation.ok {
  background: #eff8ee;
  border-color: #d0e6cf;
}
.table-scroll {
  overflow: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
.table th {
  font-weight: 500;
  color: var(--muted);
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td {
  padding: 17px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.table tbody tr:last-child td {
  border-bottom: 0;
}
.table .name {
  font-weight: 650;
  font-size: 13px;
  display: block;
}
.table small {
  color: var(--muted);
  font-size: 10px;
}
.table .btn {
  white-space: nowrap;
}
.login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: white;
}
.login-story {
  background: #123e2f;
  color: white;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.login-story .brand svg {
  color: #d5eaac;
}
.login-story .brand {
  position: relative;
  z-index: 1;
}
.login-story h1 {
  font-size: 47px;
  max-width: 450px;
  margin: 70px 0 20px;
  position: relative;
  z-index: 1;
  line-height: 1.17;
}
.login-story p {
  color: #b2c9b8;
  max-width: 360px;
  font-size: 15px;
  position: relative;
  z-index: 1;
}
.login-photo {
  position: relative;
  margin: 40px 0 0;
  flex: 1;
  min-height: 270px;
  max-height: 410px;
}
.login-photo img {
  width: 100%;
  height: 100%;
  max-height: 410px;
  object-fit: cover;
  border-radius: 6px;
  object-position: center 52%;
}
.photo-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fffffff2;
  color: var(--ink);
  border-radius: 5px;
  font-size: 12px;
}
.photo-label span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}
.login-box {
  width: 100%;
  max-width: 390px;
}
.login-box h2 {
  font-size: 29px;
  margin-bottom: 10px;
}
.login-box > p {
  font-size: 14px;
  margin-bottom: 27px;
}
.role-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.role-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 14px 10px;
  font-size: 13px;
  color: var(--muted);
}
.role-tabs button.active {
  color: var(--green);
  border-color: var(--green);
  font-weight: 700;
}
.demo-account {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 17px;
  margin: 25px 0;
  font-size: 12px;
}
.demo-account strong {
  display: block;
  margin-bottom: 7px;
}
.demo-account code {
  font-size: 11px;
  color: #607166;
  overflow-wrap: anywhere;
}
.demo-account .link-btn {
  margin-top: 12px;
}
.login-footer {
  font-size: 11px;
  line-height: 1.8;
  color: #8e9b92;
}
.onboard-video {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 5px;
  margin: 20px 0;
}
.stars {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.stars label {
  position: relative;
  cursor: pointer;
}
.stars input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.stars span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 12px 15px;
  color: #a5aaa4;
}
.stars input:checked + span {
  background: #f7f0da;
  border-color: #c6ac61;
  color: #8c732a;
}
.stars input:focus-visible + span {
  outline: 3px solid #79aa8e;
}
.search {
  max-width: 260px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 9px 12px;
  background: white;
  font-size: 12px;
}
.inline-form {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 23px;
}
.inline-form h3 {
  margin-bottom: 15px;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--green);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  transition:
    transform 0.2s,
    opacity 0.2s;
  max-width: calc(100% - 30px);
  background: #1f4030;
  color: white;
  padding: 13px 22px;
  border-radius: 6px;
  box-shadow: 0 10px 40px #10281a22;
  z-index: 100;
  font-size: 13px;
}
#toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
#toast.error {
  background: #8b3d36;
}
.filter-count {
  font-size: 11px;
  color: var(--muted);
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.admin-grid .metric {
  padding: 20px;
}
.admin-grid .metric strong {
  font-size: 25px;
}
.issue {
  padding: 15px;
  border-left: 3px solid #cf9d55;
  background: #faf7ee;
  font-size: 12px;
  margin: 15px 0;
}
.issue strong {
  display: block;
  margin-bottom: 5px;
}
.update {
  color: var(--green);
  background: #e8f2e6;
  border-color: #b5cdb4;
}
.back {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 23px;
  border: 0;
  background: none;
  padding: 0;
}
.back svg {
  width: 15px;
}
.nowrap {
  white-space: nowrap;
}
.break {
  overflow-wrap: anywhere;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.intro-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 200px;
  background: white;
  margin-bottom: 25px;
}
.intro-block > div {
  padding: 25px;
}
.intro-block img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
}
.intro-block p {
  font-size: 13px;
  margin: 10px 0 20px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #658971;
  display: inline-block;
  margin-right: 5px;
}
details > summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--green);
  margin: 14px 0;
}
form .error-text {
  font-size: 12px;
  color: var(--red);
  margin: 12px 0;
}
.form-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.stat-line {
  height: 5px;
  background: #edf2ec;
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0;
}
.stat-line i {
  height: 100%;
  display: block;
  background: #7d9f83;
  transform-origin: left;
}
.admin-alert {
  padding: 16px 20px;
  background: #fff9ed;
  border: 1px solid #f0e1c5;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #876b3b;
}
@media (min-width: 1500px) {
  .content {
    padding: 45px 60px;
  }
  .topbar {
    padding: 0 60px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 200px;
    padding: 28px 17px;
  }
  .shell {
    grid-template-columns: 200px 1fr;
  }
  .content {
    padding: 30px 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-grid > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
  }
  .card {
    padding: 22px;
  }
  .job-card {
    padding: 15px;
    gap: 12px;
  }
  .admin-grid {
    grid-template-columns: 1fr 1fr;
  }
  .login-story {
    padding: 40px;
  }
  .login-story h1 {
    font-size: 40px;
  }
  .login-form-side {
    padding: 40px;
  }
  .metric {
    padding: 18px;
  }
}
@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
  }
  .detail-grid > aside > .card {
    margin: 0;
  }
  .login-story {
    padding: 30px;
  }
  .login-story h1 {
    font-size: 35px;
  }
  .metric-grid {
    gap: 10px;
  }
  .metric {
    padding: 16px;
  }
  .metric-icon {
    display: none;
  }
  .metric strong {
    font-size: 25px;
  }
  .content {
    padding: 28px 22px;
  }
  h1 {
    font-size: 28px;
  }
  .page-head .btn {
    font-size: 12px;
  }
  .topbar {
    padding: 0 22px;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 17px 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    font-size: 24px;
  }
  .side-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    margin-top: 15px;
    gap: 4px;
  }
  .nav-item {
    padding: 10px 12px;
    margin: 0 0 8px;
    white-space: nowrap;
    font-size: 11px;
    width: auto;
    gap: 7px;
  }
  .nav-item svg {
    width: 16px;
    height: 16px;
  }
  .topbar {
    height: 51px;
    padding: 0 18px;
  }
  .topbar small {
    font-size: 10px;
  }
  .top-actions {
    gap: 10px;
  }
  .topbar .btn {
    font-size: 10px;
    padding: 5px 8px;
    min-height: 29px;
  }
  .demo-tag {
    font-size: 9px;
    padding: 3px 5px;
  }
  .content {
    padding: 27px 18px 50px;
  }
  .page-head {
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 12px;
  }
  .page-head h1 {
    font-size: 25px;
  }
  .page-head p {
    font-size: 12px;
    max-width: 240px;
  }
  .page-head .btn {
    padding: 9px 11px;
    font-size: 11px;
    min-height: 38px;
  }
  .page-head .btn svg {
    width: 15px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 8px;
  }
  .metric-grid {
    gap: 8px;
    margin-bottom: 24px;
  }
  .metric {
    padding: 14px 10px;
  }
  .metric strong {
    font-size: 24px;
    margin: 6px 0;
  }
  .metric-label {
    font-size: 10px;
  }
  .metric small {
    font-size: 9px;
    line-height: 1.4;
    display: block;
  }
  .job-card {
    grid-template-columns: 58px 1fr;
    gap: 13px;
    padding: 14px;
  }
  .job-card img {
    width: 58px;
    height: 75px;
  }
  .job-card h3 {
    font-size: 15px;
  }
  .job-card p {
    font-size: 11px;
  }
  .job-end {
    grid-column: 2;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: -4px;
  }
  .job-end strong {
    margin: 0;
    font-size: 14px;
  }
  .job-end small {
    display: none;
  }
  .job-id {
    font-size: 9px;
  }
  .dashboard-grid > aside {
    display: block;
  }
  .card {
    padding: 21px;
  }
  .action-card {
    padding: 23px 20px;
  }
  .action-card h2 {
    font-size: 23px;
  }
  .detail-title {
    flex-wrap: wrap;
  }
  .detail-title h1 {
    font-size: 25px;
  }
  .progress-bar {
    gap: 5px;
    margin: 24px 0;
  }
  .progress-step {
    font-size: 9px;
    padding-top: 10px;
  }
  .progress-step small {
    font-size: 8px;
  }
  .detail-grid > aside {
    display: block;
  }
  .detail-grid > aside > .card {
    margin-bottom: 20px;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .radio-group {
    gap: 9px;
  }
  .radio-choice {
    padding: 16px 12px;
    font-size: 12px;
  }
  .wizard-actions .btn {
    padding: 10px 13px;
  }
  .price {
    font-size: 40px;
  }
  .login {
    display: block;
  }
  .login-story {
    padding: 24px 25px 30px;
  }
  .login-story h1 {
    font-size: 29px;
    margin: 28px 0 10px;
    max-width: 330px;
  }
  .login-story p {
    font-size: 12px;
    max-width: 310px;
  }
  .login-photo {
    display: none;
  }
  .login-form-side {
    padding: 33px 25px 45px;
  }
  .login-box {
    max-width: 450px;
  }
  .login-box h2 {
    font-size: 26px;
  }
  .login-box > p {
    font-size: 13px;
  }
  .role-tabs {
    margin-bottom: 23px;
  }
  .login-story .brand {
    font-size: 24px;
  }
  .admin-grid {
    gap: 10px;
  }
  .admin-grid .metric {
    padding: 15px;
  }
  .admin-grid .metric strong {
    font-size: 22px;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
  .intro-block {
    grid-template-columns: 1fr 100px;
  }
  .intro-block > div {
    padding: 20px;
  }
  .intro-block h3 {
    font-size: 17px;
  }
  .intro-block p {
    font-size: 12px;
  }
  .stars {
    gap: 6px;
  }
  .stars span {
    padding: 12px 13px;
  }
  .section-title {
    flex-wrap: wrap;
  }
  .search {
    max-width: 100%;
    width: 100%;
  }
  .admin-alert {
    font-size: 11px;
  }
  .table td,
  .table th {
    padding: 13px 10px;
  }
  .confirmation {
    font-size: 11px;
    padding: 12px;
  }
  .topbar small .hide-mobile {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 700px) {
  .sidebar nav {
    scrollbar-width: none;
  }
  .sidebar nav::-webkit-scrollbar {
    display: none;
  }
  .page-head > .btn {
    flex-shrink: 0;
    max-width: 135px;
  }
  .topbar .icon-btn {
    padding: 6px;
  }
}

/* Account applications and approval state */
.specialty-fields { border:1px solid var(--line,#dfe5df); border-radius:12px; padding:16px; margin:18px 0; }
.specialty-fields legend { font-weight:600; padding:0 6px; }
.status.quoted { background:#e9f0ff; color:#254a86; }
.login-form-side { overflow-wrap:anywhere; }
.login-box { width:100%; }
form .btn[type="submit"] { max-width:100%; white-space:normal; }

.skip:not(:focus) { clip-path:inset(50%); width:1px; height:1px; padding:0; overflow:hidden; }
