:root {
  --ink: #062445;
  --muted: #62727d;
  --line: #dce7ea;
  --surface: #fbfdfe;
  --panel: #ffffff;
  --teal: #08aabe;
  --teal-dark: #007f94;
  --coral: #ff6422;
  --gold: #f4ad2f;
  --green: #43b83e;
  --sky: #6dc5d4;
  --mint: #e4f8f8;
  --cream: #fff7e8;
  --shadow: 0 22px 70px rgba(6, 36, 69, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(8, 170, 190, 0.18), transparent 32%),
    radial-gradient(circle at 80% 22%, rgba(255, 100, 34, 0.12), transparent 28%),
    linear-gradient(135deg, #f2fbfc 0%, #ffffff 52%, #fff6ef 100%);
  color: var(--ink);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.prototype-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.phone {
  width: min(100%, 420px);
  height: min(900px, calc(100vh - 36px));
  min-height: 720px;
  position: relative;
  overflow: hidden;
  border: 10px solid #11191c;
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 22px 4px;
  font-size: 12px;
  font-weight: 800;
}

.app-bar {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 12px;
  background: rgba(251, 253, 254, 0.98);
  border-bottom: 1px solid rgba(220, 228, 224, 0.75);
}

.app-bar h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand-title {
  min-width: 0;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.brand-logo-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  object-fit: cover;
  object-position: left center;
}

.brand-lockup {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  line-height: 0.95;
  white-space: nowrap;
}

.brand-name span {
  color: var(--teal);
}

.brand-subline {
  display: flex;
  gap: 4px;
  font-size: 8px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.brand-subline span:nth-child(1) {
  color: var(--ink);
}

.brand-subline span:nth-child(2) {
  color: var(--teal);
}

.brand-subline span:nth-child(3) {
  color: var(--coral);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 3px;
  color: var(--teal-dark);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.muted {
  color: var(--muted);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  display: grid;
  place-items: center;
  font-size: 21px;
  font-weight: 900;
}

.icon-btn.ghost {
  color: var(--ink);
  background: #e9efec;
}

.back-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn.send {
  background: var(--teal);
}

.profile-btn {
  background: linear-gradient(135deg, var(--teal), var(--coral));
  font-size: 12px;
}

.profile-menu {
  position: absolute;
  display: none;
  z-index: 6;
  top: 86px;
  right: 16px;
  width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 16px 34px rgba(23, 33, 38, 0.18);
}

.profile-menu.open,
.app-bar:has(#profileBtn:focus) + .profile-menu {
  display: block;
}

.profile-menu button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  padding: 0 11px;
  font-weight: 900;
}

.profile-menu button:hover,
.profile-menu button:focus {
  background: var(--mint);
}

.notice {
  position: absolute;
  z-index: 5;
  left: 18px;
  right: 18px;
  top: 92px;
  padding: 13px 15px;
  border-radius: 14px;
  background: #062445;
  color: white;
  font-weight: 800;
  transform: translateY(-130%);
  opacity: 0;
  transition: 0.22s ease;
}

.notice.show {
  opacity: 1;
  transform: translateY(0);
}

.screen {
  display: none;
  overflow-y: auto;
  padding: 18px 16px 96px;
}

.screen.active {
  display: block;
}

.hero-strip {
  min-height: 190px;
  border-radius: 22px;
  padding: 16px 18px 18px;
  color: white;
  background:
    linear-gradient(120deg, rgba(6, 36, 69, 0.98), rgba(8, 170, 190, 0.82)),
    url("data:image/svg+xml,%3Csvg width='640' height='360' viewBox='0 0 640 360' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='640' height='360' fill='%23062445'/%3E%3Ccircle cx='498' cy='68' r='54' fill='%2308aabe' opacity='.45'/%3E%3Ccircle cx='566' cy='116' r='28' fill='%23ff6422' opacity='.35'/%3E%3Cpath d='M42 260h560v62H42z' fill='%23ffffff' opacity='.13'/%3E%3Cpath d='M124 124h170v132H124z' rx='12' fill='%23ffffff' opacity='.13'/%3E%3Cpath d='M322 152h184v104H322z' rx='12' fill='%23000000' opacity='.12'/%3E%3Cpath d='M450 88c12 11 43 11 56 0' stroke='%23062445' stroke-width='13' stroke-linecap='round' opacity='.22'/%3E%3Cpath d='M104 62l38 0' stroke='%2343b83e' stroke-width='16' stroke-linecap='round' opacity='.5'/%3E%3C/svg%3E");
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-copy {
  display: grid;
  gap: 8px;
}

.hero-strip h2 {
  max-width: 300px;
  margin: 0;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
}

.brand-tagline {
  margin: 0;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 950;
}

.brand-tagline span:nth-child(1) {
  color: white;
}

.brand-tagline span:nth-child(2) {
  color: #64e3ef;
}

.brand-tagline span:nth-child(3) {
  color: #ffb08e;
}

.hero-strip .muted {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.hero-strip .primary-action {
  align-self: flex-start;
}

.hero-request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 8px;
  align-items: center;
}

.hero-request input {
  min-width: 0;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 0 12px;
  font-weight: 850;
}

.hero-request input::placeholder {
  color: #718087;
}

.hero-request .primary-action {
  min-height: 44px;
}

.submit-icon {
  width: 48px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  line-height: 1;
}

.submit-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-action,
.secondary-action,
.text-btn {
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  min-height: 46px;
  padding: 0 18px;
}

.primary-action {
  color: white;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  box-shadow: 0 10px 20px rgba(8, 170, 190, 0.22);
}

.secondary-action {
  color: var(--ink);
  background: var(--mint);
}

.wide {
  width: 100%;
}

.text-btn {
  color: var(--teal-dark);
  background: transparent;
  padding: 0;
}

.zip-link {
  border: 0;
  border-bottom: 2px solid currentColor;
  background: transparent;
  color: var(--teal-dark);
  font: inherit;
  font-weight: 950;
  padding: 0 1px 1px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 10px 0 18px;
}

.service-category-heading {
  margin-top: 18px;
  margin-bottom: 0;
}

.service-category-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 12px;
  text-align: left;
  color: var(--ink);
}

.service-category-tile strong {
  font-size: 14px;
  line-height: 1.05;
}

.service-category-tile sup {
  margin-left: 3px;
  color: var(--teal-dark);
  font-size: 10px;
}

.category-icon,
.tab-icon {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
}

.category-icon {
  color: var(--teal-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.live-card,
.analysis-card,
.payment-card,
.completion-note,
.review-card,
.bio-card,
.rating-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.provider-directory-list {
  display: grid;
  gap: 12px;
}

.directory-provider-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.directory-provider-card .action-row {
  margin-top: 12px;
}

.live-card {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.live-card:focus,
.live-card:hover {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(8, 170, 190, 0.1);
}

h2,
h3,
p {
  letter-spacing: 0;
}

.live-card h3,
.section-heading h3,
.analysis-card h3 {
  margin: 0;
}

.live-card p,
.timeline-card p,
.payment-card p,
.completion-note p,
.review-card p,
.bio-card p,
.analysis-card p,
.card-row p {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.35;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 10px;
}

.timeline-card {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.recent-link {
  cursor: pointer;
}

.recent-link:focus,
.recent-link:hover {
  border-radius: 12px;
  background: #edf7f3;
  padding-left: 8px;
}

.timeline-card.big {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 15px;
  margin-bottom: 10px;
}

.inbox-list {
  display: grid;
  gap: 10px;
}

.inbox-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.inbox-toggle button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-weight: 950;
}

.inbox-toggle button.selected {
  border-color: var(--teal);
  background: var(--mint);
  color: var(--teal-dark);
}

.inbox-toggle span {
  margin-left: 4px;
  font-size: 11px;
}

.inbox-section + .inbox-section {
  margin-top: 18px;
}

.inbox-count {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.inbox-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
  padding: 14px;
  text-align: left;
}

.inbox-row.unread {
  border-color: rgba(5, 159, 178, 0.35);
  background: #e9fbfb;
}

.inbox-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 12px;
  font-weight: 950;
}

.inbox-avatar.bids {
  background: var(--teal);
}

.inbox-avatar.notice {
  background: var(--orange);
}

.inbox-avatar.receipt {
  background: var(--green);
}

.inbox-avatar.approval {
  background: var(--teal-dark);
}

.inbox-avatar.feature {
  background: var(--gold);
  color: var(--navy);
}

.inbox-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.inbox-row time {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
}

.language-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.job-row {
  width: 100%;
  color: var(--ink);
  text-align: left;
}

.job-row:focus,
.job-row:hover {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(22, 126, 114, 0.1);
}

.active-job-row {
  cursor: default;
}

.track-action {
  margin-left: auto;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--teal-dark);
  background: var(--mint);
  flex: 0 0 auto;
}

.track-action:hover,
.track-action:focus {
  background: rgba(67, 184, 62, 0.18);
  color: #247022;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(245, 184, 75, 0.18);
  flex: 0 0 auto;
}

.dot.done {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(22, 126, 114, 0.14);
}

.dot.active {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(67, 184, 62, 0.18);
}

.timeline-card .dot.active {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(67, 184, 62, 0.18);
}

.dot.canceled {
  background: #9aa5a9;
  box-shadow: 0 0 0 5px rgba(154, 165, 169, 0.16);
}

.form-stack {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

textarea {
  resize: none;
  line-height: 1.4;
}

.textarea-action {
  position: relative;
}

.textarea-action textarea {
  padding-right: 56px;
}

.submit-icon.mini {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  min-height: 38px;
  border: 0;
  color: white;
  background: var(--teal);
  box-shadow: 0 8px 16px rgba(22, 126, 114, 0.22);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(22, 126, 114, 0.12);
}

.photo-drop {
  min-height: 148px;
  border: 1px dashed #9bb4ad;
  border-radius: 22px;
  background: #fff;
  place-items: center;
  text-align: center;
  padding: 16px;
}

.photo-drop input {
  display: none;
}

.photo-icon,
.card-chip {
  width: 44px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  display: block;
}

.photo-drop small {
  font-weight: 700;
}

.photo-preview-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.fake-photo,
.add-photo {
  width: 54px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(23, 33, 38, 0.12);
}

.fake-photo {
  border: 2px solid white;
  background:
    linear-gradient(160deg, rgba(23, 33, 38, 0.16), transparent 45%),
    repeating-linear-gradient(90deg, #d9e8e4 0 9px, #f8fbf8 9px 18px);
}

.fake-photo.sink {
  background:
    radial-gradient(circle at 58% 42%, #6bb5d9 0 8px, transparent 9px),
    linear-gradient(135deg, #f2f7f5, #cadbd6);
}

.add-photo {
  border: 0;
  background: var(--teal);
  color: white;
  font-size: 28px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ai-panel {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 18px;
  background: var(--mint);
}

.ai-panel.is-hidden,
.hidden {
  display: none;
}

.ai-classification {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.ai-classification span {
  display: block;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 9px 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.ai-panel p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.details-panel,
.summary-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 14px;
}

.section-heading.compact {
  margin: 0 0 10px;
}

.section-heading.compact h3 {
  font-size: 16px;
}

.section-heading.compact span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.detail-question-list {
  display: grid;
  gap: 9px;
}

.detail-question {
  display: grid;
  gap: 6px;
}

.detail-question span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.detail-question input {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 12px;
}

.detail-question-list + .secondary-action {
  margin-top: 12px;
}

.summary-panel textarea {
  min-height: 132px;
}

.address-input-row {
  position: relative;
}

.address-input-row input {
  padding-right: 48px;
}

.address-verified-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 0 0 4px rgba(67, 184, 62, 0.14);
}

.address-verify-note {
  display: flex;
  min-height: 20px;
  gap: 10px;
  align-items: center;
  color: var(--ink);
}

.address-verify-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
}

.address-verify-note.needs-address p {
  color: #a35400;
}

.address-verify-note.needs-address .verify-dot {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 94, 31, 0.14);
}

.verify-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(67, 184, 62, 0.14);
  flex: 0 0 auto;
}

.pulse {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(22, 126, 114, 0.35);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 13px rgba(22, 126, 114, 0);
  }
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip-row span {
  border-radius: 999px;
  background: #edf3f0;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.bid-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.bid-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.provider-row,
.provider-hero,
.card-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.avatar.large {
  width: 70px;
  height: 70px;
  font-size: 22px;
}

.provider-row h3,
.provider-hero h2 {
  margin: 0;
}

.provider-row p,
.provider-hero p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.provider-hero .privacy-note {
  max-width: 250px;
  margin-top: 7px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
}

.bid-price {
  margin-left: auto;
  text-align: right;
}

.bid-price strong {
  display: block;
  font-size: 24px;
}

.bid-actions,
.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bid-actions.extended {
  grid-template-columns: repeat(3, 1fr);
}

.bid-actions.extended button {
  min-height: 40px;
  padding: 0 8px;
  font-size: 13px;
}

.danger-action {
  color: #7c3430;
  background: #f8e1de;
}

.action-row {
  grid-template-columns: repeat(2, 1fr);
}

.rating-line {
  margin-top: 7px;
  color: #9b6b12;
  font-weight: 900;
  font-size: 13px;
}

.star-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  font-size: 12px;
  vertical-align: -2px;
}

.mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.mini-badges span {
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-dark);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 900;
}

.stat-row,
.quote-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.quote-box {
  grid-template-columns: 1fr 1fr;
}

.stat-row div,
.quote-box div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px;
}

.stat-row strong,
.quote-box strong {
  display: block;
  font-size: 20px;
}

.stat-row span,
.quote-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.credential-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.credential-card {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 7px;
}

.credential-card.verified {
  border-color: rgba(22, 126, 114, 0.35);
  background: #f0faf6;
}

.credential-card.optional {
  background: #f8fbf8;
}

.credential-badge {
  justify-self: start;
  border-radius: 999px;
  background: #edf3f0;
  color: var(--muted);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 900;
}

.credential-card.verified .credential-badge {
  background: var(--teal);
  color: white;
}

.credential-card strong {
  font-size: 13px;
  line-height: 1.2;
}

.credential-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.chat-thread {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble {
  max-width: 82%;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.35;
  font-size: 14px;
}

.bubble.mine {
  align-self: flex-end;
  color: white;
  background: var(--teal);
  border-bottom-right-radius: 6px;
}

.bubble.theirs {
  align-self: flex-start;
  background: white;
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}

.chat-input {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  padding-top: 10px;
  background: var(--surface);
}

.payment-card h2,
.rating-card h2 {
  margin: 4px 0;
}

.toggle-row {
  grid-template-columns: 22px 1fr;
  align-items: center;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin: 12px 0;
}

.toggle-row input {
  width: auto;
  accent-color: var(--teal);
}

.map-panel {
  height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, 0.55) 48%, rgba(255, 255, 255, 0.55) 52%, transparent 53%),
    linear-gradient(#cfe8dc, #e8f5ea);
  border: 1px solid var(--line);
}

.road {
  position: absolute;
  background: rgba(23, 33, 38, 0.22);
  border-radius: 99px;
}

.road.one {
  width: 380px;
  height: 34px;
  transform: rotate(-28deg);
  top: 138px;
  left: -45px;
}

.road.two {
  width: 340px;
  height: 28px;
  transform: rotate(34deg);
  top: 92px;
  right: -95px;
}

.pin {
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 5px;
  transform: rotate(-45deg);
  position: absolute;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.pin::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  position: absolute;
  inset: 9px;
}

.home-pin {
  background: var(--coral);
  right: 62px;
  bottom: 66px;
}

.pro-pin {
  background: var(--teal);
  left: 86px;
  top: 68px;
  animation: drive 4s infinite alternate ease-in-out;
}

@keyframes drive {
  to {
    transform: translate(118px, 76px) rotate(-45deg);
  }
}

.eta-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 13px;
  display: grid;
  gap: 3px;
}

.eta-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.progress-list {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 850;
}

.step span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid var(--line);
  background: white;
}

.step.done span {
  border-color: var(--teal);
  background: var(--teal);
}

.step.active span {
  border-color: var(--gold);
  background: var(--gold);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.proof-photo {
  aspect-ratio: 1;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(23, 33, 38, 0.1), rgba(23, 33, 38, 0.26)),
    repeating-linear-gradient(45deg, #c8d8d2 0 14px, #eef5f1 14px 28px);
}

.proof-photo.after {
  background:
    linear-gradient(135deg, rgba(22, 126, 114, 0.1), rgba(22, 126, 114, 0.24)),
    repeating-linear-gradient(-45deg, #e4f0ec 0 14px, #ffffff 14px 28px);
}

.proof-photo span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(23, 33, 38, 0.82);
  color: white;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

.rating-card {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.settings-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.settings-row {
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  text-align: left;
}

.settings-row span {
  font-weight: 900;
}

.settings-row strong {
  color: var(--teal-dark);
  font-size: 13px;
}

.job-filter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 14px;
}

.job-filter-row button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.job-filter-row button.selected {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.job-filter-row .status-open {
  border-color: rgba(245, 184, 75, 0.5);
  background: rgba(245, 184, 75, 0.18);
  color: #805f14;
}

.job-filter-row .status-active {
  border-color: rgba(67, 184, 62, 0.55);
  background: rgba(67, 184, 62, 0.16);
  color: #247022;
}

.job-filter-row .status-completed {
  border-color: rgba(154, 165, 169, 0.55);
  background: rgba(154, 165, 169, 0.18);
  color: #58656a;
}

.job-filter-row .status-canceled {
  border-color: rgba(154, 165, 169, 0.55);
  background: rgba(154, 165, 169, 0.18);
  color: #58656a;
}

.job-detail-hero {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  padding: 16px;
  margin-bottom: 14px;
}

.job-detail-hero h2 {
  margin: 10px 0 4px;
  font-size: 24px;
  line-height: 1.08;
}

.job-detail-hero p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.job-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(245, 184, 75, 0.2);
  color: #805f14;
  font-size: 12px;
  font-weight: 900;
}

.job-status-pill.active {
  background: rgba(67, 184, 62, 0.18);
  color: #247022;
}

.job-status-pill.completed,
.job-status-pill.canceled {
  background: rgba(154, 165, 169, 0.2);
  color: #58656a;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.detail-grid div {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 13px;
}

.detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-grid strong {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.2;
}

.payment-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.payment-summary div,
.payment-row {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.payment-summary div {
  padding: 15px;
}

.payment-summary span,
.payment-row p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.payment-summary strong {
  display: block;
  margin-top: 5px;
  font-size: 26px;
}

.payment-list {
  display: grid;
  gap: 10px;
}

.payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  width: 100%;
  color: var(--ink);
  text-align: left;
}

.payment-row p {
  margin: 4px 0 0;
}

.payment-amount {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}

.payment-amount small {
  display: block;
  margin-top: 2px;
  color: #4f5c63;
  font-size: 11px;
  font-weight: 850;
}

.payment-row:hover,
.payment-row:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(8, 170, 190, 0.1);
}

.payment-row.pending {
  border-color: rgba(67, 184, 62, 0.55);
  background: rgba(67, 184, 62, 0.12);
  box-shadow: inset 4px 0 0 var(--green);
}

.payment-row.paid {
  border-color: rgba(8, 170, 190, 0.55);
  background: rgba(8, 170, 190, 0.12);
  box-shadow: inset 4px 0 0 var(--teal);
}

.payment-row.canceled {
  opacity: 0.76;
}

.payment-detail-card h2 {
  margin-bottom: 5px;
}

.stars,
.tip-row {
  display: flex;
  gap: 8px;
}

.stars button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #edf3f0;
  color: #94a29c;
  font-size: 24px;
}

.stars button.selected,
.stars button.active {
  color: white;
  background: var(--gold);
}

.tip-row button {
  min-width: 64px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-weight: 900;
}

.tip-row button.selected {
  border-color: var(--teal);
  color: white;
  background: var(--teal);
}

.bottom-tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  padding: 8px 10px 10px;
}

.tab {
  display: grid;
  place-items: center;
  gap: 3px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  min-width: 0;
}

.tab.active {
  color: var(--teal-dark);
  background: var(--mint);
}

.tab-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
}

@media (max-width: 520px) {
  .prototype-shell {
    padding: 0;
  }

  .phone {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }
}
