
.map-stop.live.offline {
  border-color: #cfd8e3;
  background: #f6f8fb;
}

.map-stop strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.map-stop em {
  padding: 3px 8px;
  color: #29445f;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(41, 68, 95, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.map-stop span,
.map-stop small {
  color: var(--muted);
}

.live-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.live-panel h3 {
  margin: 0;
}

.progress {
  height: 10px;
  margin: 12px 0;
  overflow: hidden;
  background: #edf2f7;
  border-radius: 999px;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0f766e, #2fb7a5);
}

.compact-hero {
  min-height: auto;
}

.item.unread {
  border-color: #76c9c5;
  background: #fbfffe;
}

.workflow-item {
  gap: 14px;
}

.workflow-controls {
  margin-top: 14px;
  align-items: start;
}

.workflow-controls .form-grid {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.chip,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 720;
}

.chip {
  color: #32515b;
  background: #eef5f4;
}

.chip-button {
  border: 1px solid #d3e5e3;
  cursor: pointer;
}

.quick-login {
  margin-top: 14px;
}

.status {
  color: var(--brand-2);
  background: #e9f6f5;
}

.status.pending,
.status.draft,
.status.waiting {
  color: #885f07;
  background: #fff2cf;
}

.status.accepted,
.status.confirmed,
.status.approved,
.status.completed {
  color: var(--green);
  background: #e7f7ef;
}

.status.cancelled,
.status.rejected,
.status.locked {
  color: var(--red);
  background: #ffe8e8;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.filter-panel {
  margin-bottom: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #3b4b5a;
  font-size: 13px;
  font-weight: 760;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #76c9c5;
  box-shadow: 0 0 0 3px rgba(8, 127, 140, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.full {
  grid-column: 1 / -1;
}

.list {
  display: grid;
  gap: 12px;
}

.item {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.item h3,
.item h4 {
  margin: 0;
}

.item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-card {
  text-decoration: none;
  color: inherit;
}

.portal-gate,
.portal-strip {
  margin-bottom: 18px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: start;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: #405365;
  background: #f7fafc;
  font-size: 12px;
  text-transform: uppercase;
}

.chat-box {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 520px;
  overflow: hidden;
}

.chat-head {
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  overflow-y: auto;
  background: #f8fbfc;
}

.message {
  max-width: 76%;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.message.me {
  align-self: flex-end;
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.message strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat-form input {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.chat-form .chat-file {
  max-width: 210px;
  padding: 8px;
}

.chat-attachment {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  color: inherit;
  font-size: 13px;
  font-weight: 720;
}

.chat-attachment img {
  display: block;
  width: min(260px, 100%);
  max-height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.message:not(.me) .chat-attachment img {
  border-color: var(--line);
}

.chat-attachment.file {
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: #f8fbfc;
  border: 1px dashed #c8d5dd;
  border-radius: var(--radius);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: 360px;
  padding: 13px 15px;
  color: #fff;
  background: #17212b;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.public-home {
  min-height: 100vh;
  color: #111827;
  background: linear-gradient(180deg, #f5fbff 0%, #ffffff 32%, #f7fbf8 100%);
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px max(22px, calc((100vw - 1240px) / 2));
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(14, 116, 144, 0.12);
  backdrop-filter: blur(20px);
}

.home-brand,
.home-nav,
.home-header-actions,
.home-actions,
.home-proof,
.home-panel-top,
.home-chat-head,
.home-chat-suggestions {
  display: flex;
  align-items: center;
}

.home-brand {
  gap: 10px;
  color: #0f172a;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
}

.home-brand-mark,
.home-icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #0ea5a3);
  border-radius: 8px;
  font-weight: 900;
}

.home-nav {
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.home-nav a,
.home-footer span {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.home-header-actions {
  gap: 8px;
}

.home-icon-button {
  width: 36px;
  height: 36px;
  text-decoration: none;
  background: #0f172a;
  font-size: 13px;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
}

.home-button.primary {
  color: #fff;
  background: #0f766e;
  border-color: #0f766e;
}

.home-button.secondary {
  color: #0f172a;
  background: #fff;
}

.home-button.dark {
  color: #fff;
  background: #0f172a;
  border-color: #0f172a;
}

.home-hero,
.home-section,
.home-intent-strip,
.home-footer {
  width: min(1240px, calc(100vw - 36px));
  margin: 0 auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.97fr);
  gap: 26px;
  align-items: stretch;
  padding: 34px 0 18px;
}

.home-hero-copy,
.home-ops-card,
.home-request-card,
.home-chat-card,
.home-partner-band {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.home-hero-copy {
  min-height: 640px;
  padding: 42px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 47, 73, 0.88), rgba(8, 47, 73, 0.52)),
    url("https://images.unsplash.com/photo-1539635278303-d4002c07eae3?auto=format&fit=crop&w=1500&q=82") center/cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.home-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-hero-copy p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.65;
}

.home-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-proof {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.home-proof div {
  min-width: 132px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.home-proof strong,
.home-proof span {
  display: block;
}

.home-proof strong {
  font-size: 21px;
}

.home-proof span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 760;
}

.home-ops-card {
  padding: 22px;
  background: #fff;
}

.home-panel-top {
  justify-content: space-between;
  gap: 14px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.home-panel-top strong,
