@font-face {
  font-family: "Montserrat";
  src: url("./Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Night preview: opt-in with index.html?theme=night. */
html.theme-night {
  color-scheme: dark;
  --bg: #090a0c;
  --surface: #111317;
  --surface-soft: #181b20;
  --ink: #f4f6f8;
  --muted: #a4a9b2;
  --line: #2a2e35;
  --green: #1683ff;
  --green-2: #0871e8;
  --blue: #22b2ff;
  --amber: #e6ad4b;
  --amber-soft: #2b2316;
  --red: #ff7b7b;
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.36);
}

.theme-night body,
.theme-night .app-shell,
.theme-night .main {
  background: var(--bg);
  color: var(--ink);
}

.theme-night .auth-screen {
  background: #090a0c;
}

.theme-night .auth-card,
.theme-night .auth-entry,
.theme-night .sidebar,
.theme-night .topbar,
.theme-night .search-panel,
.theme-night .result-card,
.theme-night .profile-panel,
.theme-night .panel,
.theme-night .card,
.theme-night .modal,
.theme-night .chat-dialog,
.theme-night .delete-post-dialog,
.theme-night .cookie-banner,
.theme-night .calendar-shell,
.theme-night .calendar-card,
.theme-night .review-card,
.theme-night .board-card,
.theme-night .request-card,
.theme-night .support-assistant,
.theme-night .support-ticket-panel,
.theme-night .support-ticket-card,
.theme-night .beta-feedback-panel,
.theme-night .beta-feedback-card,
.theme-night .beta-feedback-guide > div,
.theme-night .search-faq-panel,
.theme-night .search-faq-list details,
.theme-night .admin-card,
.theme-night .stat-card {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.theme-night .sidebar,
.theme-night .topbar,
.theme-night .auth-nav,
.theme-night .app-footer {
  border-color: var(--line);
}

.theme-night input,
.theme-night select,
.theme-night textarea,
.theme-night .search-more,
.theme-night .availability-mode,
.theme-night .calendar-grid,
.theme-night .empty-state,
.theme-night .chat-composer,
.theme-night .profile-section,
.theme-night .profile-read-section,
.theme-night .profile-edit-header,
.theme-night .profile-chip-row span,
.theme-night .metric,
.theme-night .support-suggestions button,
.theme-night .support-chat-form,
.theme-night .tag,
.theme-night .chip {
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--ink);
}

.theme-night .profile-read-bio {
  color: var(--ink);
}

.theme-night input::placeholder,
.theme-night textarea::placeholder {
  color: #767d88;
}

.theme-night .nav-item,
.theme-night .ghost-button,
.theme-night .secondary-button,
.theme-night .tiny-button,
.theme-night .icon-button,
.theme-night .user-name-button,
.theme-night .auth-text-button {
  color: var(--ink);
}

.theme-night .secondary-button,
.theme-night .ghost-button,
.theme-night .tiny-button,
.theme-night .icon-button {
  background: #171a1f;
  border-color: #30343c;
}

.theme-night .nav-item:hover,
.theme-night .nav-item.active,
.theme-night .tiny-button.active,
.theme-night .secondary-button:hover,
.theme-night .ghost-button:hover {
  background: #17263a;
  color: #72b6ff;
}

.theme-night .primary-button {
  color: #fff;
  box-shadow: 0 10px 28px rgba(22, 131, 255, 0.22);
}

.theme-night .eyebrow,
.theme-night a,
.theme-night .field label i,
.theme-night .calendar-month-title {
  color: #60adff;
}

.theme-night .muted,
.theme-night .auth-copy,
.theme-night .auth-intro > p:not(.eyebrow),
.theme-night .field-help,
.theme-night .calendar-weekdays,
.theme-night .app-footer,
.theme-night .cookie-banner p {
  color: var(--muted);
}

.theme-night .calendar-day {
  color: var(--ink);
  background: transparent;
}

.theme-night .calendar-day:hover {
  background: #222a35;
}

.theme-night .calendar-day.available,
.theme-night .calendar-day.selected {
  background: #1683ff;
  color: #fff;
}

.theme-night .calendar-day.busy,
.theme-night .calendar-day.outside {
  color: #626873;
}

.theme-night .app-footer {
  background: #050c12;
}

.theme-night .chat-backdrop,
.theme-night .modal-backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(5px);
}

.theme-night .message-bubble {
  background: #20242b;
  color: var(--ink);
}

.theme-night .message-bubble.mine {
  background: #126bd0;
  color: #fff;
}

.theme-night .cookie-banner {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.58);
}

.theme-night .status-badge,
.theme-night .match-badge,
.theme-night .tag.primary {
  background: #142d4c;
  border-color: #214e7f;
  color: #82c0ff;
}

.theme-night ::selection {
  background: #1683ff;
  color: #fff;
}

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

.user-avatar img,
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  position: relative;
  z-index: 1;
}

.user-avatar:has(img),
.avatar:has(img) {
  background: #f3f5f8;
  color: transparent;
}

.avatar:has(img)::after {
  display: none;
}

.profile-overview-avatar:has(img),
.profile-photo-preview:has(img) {
  box-shadow: 0 14px 34px rgba(18, 28, 45, 0.10);
  outline: 1px solid rgba(18, 28, 45, 0.08);
  outline-offset: -1px;
}

.avatar-button, .profile-name-button { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.profile-name-button:hover { text-decoration: underline; }
.community-card { width: 100%; min-height: 84px; padding: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.community-card strong, .community-card span { display: block; }
.community-card span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.community-card:hover { border-color: var(--green); }
.profile-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.profile-badge-chip,
.crew-zero-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  border: 1px solid rgba(0, 104, 255, .18);
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.profile-badge-chip {
  padding: 8px 11px;
  font-size: 13px;
}
.profile-badge-chip svg {
  width: 15px;
  height: 15px;
}
.crew-zero-chip {
  padding: 5px 8px;
  font-size: 11px;
}
.crew-zero-chip svg {
  width: 13px;
  height: 13px;
}
.mode-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.mode-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(18, 28, 45, .09);
  border-radius: 999px;
  background: var(--surface-soft);
  color: #4f5661;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.mode-chip svg {
  width: 13px;
  height: 13px;
  color: var(--blue);
}
.mode-chip-builder svg {
  color: var(--green);
}
.result-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.result-title > svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}
.community-card-trust {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}
.community-card-trust > svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
}
.public-profile-dialog, .delete-account-dialog, .delete-post-dialog { position: relative; width: min(820px, calc(100vw - 32px)); max-height: min(900px, calc(100vh - 32px)); overflow: auto; background: var(--surface); border-radius: 8px; padding: 40px; box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.public-profile-close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.delete-account-dialog { width: min(520px, calc(100vw - 32px)); }
.delete-account-dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.delete-post-dialog { width: min(560px, calc(100vw - 32px)); padding: 34px; }
.delete-post-close { position: absolute; top: 14px; right: 14px; }
.delete-post-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 999px; background: #fff0f2; color: #b4232f; }
.delete-post-icon svg { width: 24px; height: 24px; }
.delete-post-dialog h2 { max-width: 420px; margin: 6px 0 10px; font-size: clamp(24px, 4vw, 32px); line-height: 1.12; letter-spacing: 0; }
.delete-post-dialog p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.55; }
.delete-post-summary { display: grid; gap: 4px; margin: 20px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
.delete-post-summary strong { font-size: 14px; }
.delete-post-summary span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.delete-post-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.account-danger-zone { margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.account-danger-zone h2 { margin: 4px 0; font-size: 20px; }
.account-danger-zone span { color: var(--muted); }
.danger-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #c83232; border-radius: 8px; background: #fff; color: #a51f1f; font-weight: 700; cursor: pointer; }
.danger-button:hover { background: #fff2f2; }
.danger-button:disabled { opacity: .45; cursor: not-allowed; }

.profile-photo-editor {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.profile-photo-editor > div:last-child {
  display: grid;
  justify-items: start;
  gap: 6px;
}

.profile-photo-preview {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
}

.profile-form .profile-photo-editor {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-form .profile-photo-preview {
  width: 96px;
  height: 96px;
  flex-basis: 96px;
  border-radius: 50%;
}

.profile-form .profile-photo-editor strong {
  font-size: 16px;
}

.profile-form .profile-photo-editor span {
  max-width: 560px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.compact-multiselect {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.compact-multiselect summary {
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr 20px;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}

.compact-multiselect summary::-webkit-details-marker { display: none; }
.compact-multiselect summary > span:first-child { display: grid; gap: 2px; }
.compact-multiselect summary small,
.multiselect-summary { color: var(--muted); font-size: 11px; }
.multiselect-summary { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-multiselect[open] summary > svg { transform: rotate(180deg); }

.multiselect-popover {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}
.multiselect-popover > input { min-height: 42px; }
.multiselect-help { margin: 0 0 10px; max-width: 760px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.multiselect-list { max-height: 250px; overflow: auto; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius); }
.multiselect-list label { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 11px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 12px; text-transform: none; cursor: pointer; }
.multiselect-list label:last-child { border-bottom: 0; }
.multiselect-list label:hover { background: var(--surface-soft); }
.multiselect-list input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 18px; }
.multiselect-group > strong { display: block; padding: 10px 11px 6px; color: var(--muted); font-size: 10px; text-transform: uppercase; }

.profile-links { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-expertise { display: grid; gap: 8px; margin-top: 18px; }
.profile-expertise > strong { font-size: 12px; }
.social-icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #202124;
  transition: transform .16s ease, background .16s ease;
}
.social-icon-button:hover { transform: translateY(-1px); background: var(--green-2); }
.social-brand-icon { width: 19px; height: 19px; display: block; }
.social-field label { display: flex; align-items: center; gap: 7px; }
.social-field label .social-brand-icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: #202124; }
.community-search {
  width: min(620px, 100%);
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px auto 18px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.community-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 104, 255, .1); }
.community-search svg { width: 18px; color: var(--muted); }
.community-search input { min-height: 46px; padding: 0; border: 0; outline: 0; background: transparent; }
.community-pagination {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 0 0;
}
.community-pagination span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.support-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.support-state-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #d5e6ff;
  border-radius: 999px;
  background: #f4f8ff;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.support-state-pill svg {
  width: 16px;
  height: 16px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(340px, .9fr);
  gap: 16px;
  align-items: start;
}

.support-assistant,
.support-ticket-panel,
.support-ticket-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.support-assistant {
  min-height: 620px;
  display: grid;
  grid-template-rows: auto auto minmax(260px, 1fr) auto;
  overflow: hidden;
}

.support-assistant > header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.support-assistant h3,
.support-ticket-panel h3,
.support-ticket-card h3 {
  margin: 2px 0 0;
}

.support-ai-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.support-ai-avatar svg {
  width: 22px;
  height: 22px;
}

.support-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.support-suggestions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
}

.support-suggestions button:hover {
  border-color: var(--green);
  color: var(--green);
}

.support-chat-log {
  max-height: 430px;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.support-message {
  width: min(86%, 620px);
  display: grid;
  gap: 5px;
}

.support-message.user {
  justify-self: end;
}

.support-message span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.support-message p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--surface-soft);
  line-height: 1.55;
}

.support-message.user p {
  background: var(--green);
  color: #fff;
}

.support-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.support-chat-form input {
  border-radius: 999px;
  background: var(--surface);
}

.support-ticket-panel {
  padding: 18px;
}

.support-ticket-intro {
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.support-ticket-intro > svg {
  width: 28px;
  height: 28px;
  color: var(--green);
  flex: 0 0 auto;
}

.support-ticket-intro p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.support-ticket-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.support-ticket-form .wide {
  grid-column: 1 / -1;
}

.support-ticket-history {
  margin-top: 30px;
}

.support-ticket-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.support-ticket-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.support-ticket-card > div,
.support-ticket-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.support-ticket-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.support-ticket-card footer {
  color: var(--muted);
  font-size: 12px;
}

.beta-feedback-layout {
  display: grid;
  grid-template-columns: minmax(440px, 1fr) minmax(280px, 360px);
  gap: 16px;
  align-items: start;
}

.beta-feedback-panel,
.beta-feedback-card,
.beta-feedback-guide > div {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.beta-feedback-panel {
  padding: 18px;
}

.beta-feedback-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.beta-feedback-form .wide {
  grid-column: 1 / -1;
}

.beta-screenshot-field label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.beta-screenshot-field input[type="file"] {
  min-height: 52px;
  padding: 13px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  cursor: pointer;
}

.beta-feedback-guide {
  display: grid;
  gap: 12px;
}

.beta-feedback-guide > div {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.beta-feedback-guide svg {
  width: 22px;
  height: 22px;
  color: var(--green);
}

.beta-feedback-guide h3 {
  margin: 0;
  font-size: 15px;
}

.beta-feedback-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.beta-feedback-history {
  margin-top: 30px;
}

.beta-feedback-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.beta-feedback-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.beta-feedback-card-top,
.beta-feedback-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.beta-feedback-card h3 {
  margin: 0;
}

.beta-feedback-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.beta-feedback-card footer {
  color: var(--muted);
  font-size: 12px;
  flex-wrap: wrap;
}

.beta-feedback-card footer span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.beta-feedback-card footer svg {
  width: 14px;
  height: 14px;
}

.support-priority {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 22, 26, 0.62);
}

.review-dialog {
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.review-head h2 { margin: 3px 0 5px; }
.review-head span { color: var(--muted); }
.review-form { display: grid; gap: 18px; padding: 22px; }
.review-form > .primary-button { width: 100%; }
.review-scores { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.review-scores label { display: grid; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 700; }
.review-scores select { min-width: 0; }
.public-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.public-review-grid blockquote { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; }
.public-review-grid blockquote > div { display: flex; gap: 5px; align-items: center; }
.public-review-grid blockquote svg { width: 15px; color: var(--green); }
.public-review-grid blockquote p { min-height: 3em; line-height: 1.5; }
.public-review-grid footer { color: var(--muted); font-size: 11px; }
.review-summary { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 28px; margin-bottom: 18px; }
.review-summary > div { display: grid; gap: 3px; }
.review-summary > p { max-width: 420px; margin: 0 0 3px; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.review-score { display: flex; align-items: center; gap: 6px; }
.review-score strong { font-size: 34px; line-height: 1; }
.review-summary small { color: var(--muted); font-size: 11px; }
.review-summary svg { width: 17px; color: var(--blue); }
.reliability-summary {
  display: grid;
  gap: 16px;
}

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

.reliability-card {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.reliability-card > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reliability-card strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.reliability-card strong svg {
  width: 18px;
  color: var(--blue);
}

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

.reliability-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.reliability-card.empty {
  background: var(--surface-soft);
}

.review-kind-chip {
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.review-empty { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); }
.review-empty svg { width: 22px; color: var(--blue); }
.review-empty div { display: grid; gap: 3px; }
.review-empty strong { color: var(--ink); }
.completion-wait { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.completion-wait svg { width: 15px; }

@media (max-width: 760px) {
  .compact-multiselect summary { grid-template-columns: 1fr 20px; }
  .multiselect-summary { grid-column: 1 / -1; grid-row: 2; }
  .review-scores { grid-template-columns: 1fr 1fr; }
  .public-review-grid,
  .reliability-grid { grid-template-columns: 1fr; }
  .public-profile-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); padding: 54px 20px 24px; }
  .delete-post-dialog { padding: 30px 20px 22px; }
  .delete-post-actions { display: grid; grid-template-columns: 1fr; }
  .profile-hero { padding-right: 34px; }
  .trust-row, .profile-facts, .review-summary { grid-template-columns: 1fr; }
  .profile-bio { font-size: 14px; line-height: 1.6; }
  .public-review-grid blockquote p { min-height: 0; }
}

@font-face {
  font-family: "Montserrat";
  src: url("./Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./Montserrat-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f7f7;
  --ink: #333333;
  --muted: #686868;
  --line: #dedede;
  --green: #0068ff;
  --green-2: #0054cc;
  --blue: #00aaff;
  --amber: #a86d16;
  --amber-soft: #fff7df;
  --red: #b54747;
  --shadow: 0 8px 28px rgba(34, 34, 34, 0.09);
  --radius: 8px;
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

.hidden {
  display: none !important;
}

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

button {
  cursor: pointer;
}

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

.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f7f7f7;
}

.auth-card {
  width: min(1120px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 30px 30px;
  display: grid;
  gap: 28px;
}

.auth-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.auth-nav nav,
.utility-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.auth-nav a,
.utility-links a,
.utility-links button {
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
}

.utility-links button {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.sidebar .utility-links {
  margin-left: auto;
}

.auth-nav a:hover,
.utility-links a:hover,
.utility-links button:hover {
  color: var(--green);
}

.workspace-mode-shortcut {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.workspace-mode-shortcut:hover {
  background: var(--surface-soft);
  color: var(--green);
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 52px;
}

.auth-intro {
  padding: 34px 10px 20px;
}

.auth-intro h1 {
  max-width: 580px;
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.12;
}

.auth-intro > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.auth-problem-list {
  display: grid;
  margin-top: 30px;
}

.auth-problem-list > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.auth-problem-list svg {
  grid-row: 1 / span 2;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--green);
}

.auth-problem-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.auth-entry {
  padding: 34px 0 20px 42px;
  border-left: 1px solid var(--line);
}

.auth-copy {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 0;
}

.auth-mode {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.auth-mode .tiny-button.active,
.availability-modes .tiny-button.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.auth-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}

.account-type-selector {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  border: 0;
}

.account-type-selector legend {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.account-type-selector label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  background: var(--surface);
}

.account-type-selector input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.account-type-selector span {
  display: grid;
  gap: 3px;
}

.account-type-selector small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.account-type-selector label:has(input:checked) {
  border-color: rgba(0, 104, 255, .45);
  background: rgba(0, 104, 255, .06);
}

.optional-label {
  color: var(--muted);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.profile-mode-selector label {
  align-items: center;
}

.profile-mode-selector input {
  border-radius: 6px;
}

.profile-account-type {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.consent-line {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 650;
}

.consent-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
  accent-color: var(--green);
}

.quick-login {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.quick-login:empty {
  display: none;
}

.quick-login:not(:empty) {
  border: 1px solid rgba(0, 102, 255, 0.16);
  border-radius: 18px;
  padding: 16px;
  background: rgba(0, 102, 255, 0.06);
  color: var(--ink);
}

.auth-entry-welcome {
  display: grid;
  align-content: center;
}

.auth-entry-welcome .quick-login:not(:empty) {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.quick-login strong {
  font-size: 16px;
}

.quick-login span {
  color: var(--muted);
  line-height: 1.35;
}

.auth-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.google-auth-button {
  grid-column: 1 / -1;
  min-height: 52px;
  border: 1px solid #dadce0;
  border-radius: 26px;
  background: #fff;
  color: #3c4043;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.google-auth-button:hover {
  border-color: #c6c9ce;
  background: #f8fafd;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.14);
}

.google-auth-button:disabled {
  cursor: progress;
  opacity: .65;
  box-shadow: none;
}

.google-mark {
  width: 20px;
  height: 20px;
  display: inline-flex;
  flex: 0 0 auto;
}

.google-mark svg {
  display: block;
  width: 20px;
  height: 20px;
}

.auth-text-button {
  justify-self: start;
  border: 0;
  padding: 2px 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.auth-text-button:hover { text-decoration: underline; }

.crew-zero-welcome {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(0, 104, 255, .18);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 24px 70px rgba(18, 28, 45, .10);
}

.crew-zero-mark {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 32px rgba(0, 104, 255, .22);
}

.crew-zero-mark svg {
  width: 24px;
  height: 24px;
}

.crew-zero-welcome h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.crew-zero-welcome p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: #4a4f57;
  font-size: 15px;
  line-height: 1.65;
}

.crew-zero-welcome p strong {
  color: var(--ink);
}

.crew-zero-note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 4px;
  padding: 14px 15px;
  border: 1px solid rgba(0, 104, 255, .16);
  border-radius: 16px;
  background: rgba(0, 104, 255, .055);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.crew-zero-note svg {
  width: 19px;
  height: 19px;
  color: var(--blue);
}

.crew-zero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.crew-zero-actions .primary-button,
.crew-zero-actions .secondary-button {
  min-height: 50px;
}

.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 6;
  min-height: 82px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 0 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  backdrop-filter: blur(16px);
}

.mobile-menu-button,
.mobile-search-shell {
  display: none;
}

.mobile-menu-button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(18, 18, 20, .48);
  backdrop-filter: blur(2px);
}

.mobile-menu-panel {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  width: min(84vw, 370px);
  max-width: 100%;
  min-height: 100dvh;
  padding: max(22px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
  background: var(--surface);
  box-shadow: 26px 0 70px rgba(15, 23, 42, .24);
}

body.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu-account {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 92px;
}

.mobile-menu-avatar {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
  font-size: 22px;
}

.mobile-menu-account div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.mobile-menu-account strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-menu-account small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.mobile-menu-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
}

.mobile-menu-close svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-links {
  display: grid;
  gap: 2px;
}

.mobile-menu-links button,
.mobile-menu-links a {
  position: relative;
  min-height: 54px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 21px;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
}

.mobile-menu-links button:hover,
.mobile-menu-links a:hover {
  color: var(--ink);
}

.mobile-menu-links svg {
  width: 21px;
  height: 21px;
  color: var(--blue);
}

.mobile-menu-secondary {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.mobile-menu-secondary button,
.mobile-menu-secondary a {
  min-height: 48px;
  font-size: 18px;
}

.mobile-menu-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #e22d3d;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.mobile-notification-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  align-items: end;
  padding: max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
  background: rgba(18, 18, 20, .48);
  backdrop-filter: blur(2px);
}

.mobile-notification-panel {
  width: min(100%, 520px);
  max-height: min(78dvh, 680px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px 22px 8px 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .26);
}

.mobile-notification-panel > header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.mobile-notification-panel > header > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.mobile-notification-panel > header strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.mobile-notification-panel > header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.mobile-notification-actions {
  flex: 0 0 auto;
  grid-template-columns: 1fr 1fr;
}

.mobile-mark-read {
  align-self: flex-start;
  margin: 10px 16px 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.mobile-notification-list {
  max-height: none;
  min-height: 180px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: block;
  width: 154px;
  height: 30px;
  object-fit: contain;
  object-position: left center;
}

.auth-logo {
  width: min(280px, 70vw);
  height: auto;
}

.brand-chat-button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.brand-chat-button svg {
  width: 18px;
  height: 18px;
}

.brand-chat-button:hover,
.brand-chat-button.active {
  border-color: rgba(0, 104, 255, .34);
  background: rgba(0, 104, 255, .08);
  color: var(--green);
}

.workspace-switch,
.mobile-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
}

.workspace-switch button,
.mobile-mode-switch button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.workspace-switch button.active,
.mobile-mode-switch button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(18, 28, 45, .08);
}

.workspace-switch button:disabled,
.mobile-mode-switch button:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.workspace-switch svg,
.mobile-mode-switch svg {
  width: 15px;
  height: 15px;
  color: var(--blue);
}

.sidebar > .workspace-switch {
  display: none;
}

.mobile-mode-switch {
  width: 100%;
  display: flex;
}

.mobile-mode-switch button {
  flex: 1;
  justify-content: center;
  min-height: 44px;
  font-size: 13px;
}

.nav-list {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
}

.nav-item {
  width: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 27px 10px 24px;
  font-weight: 400;
  text-align: left;
  position: relative;
  white-space: nowrap;
}

.nav-item svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.nav-item:hover {
  background: transparent;
  color: var(--ink);
}

.nav-item.active {
  background: transparent;
  color: var(--ink);
  font-weight: 400;
}

.nav-item.active::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 16px;
  left: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.icon {
  display: none;
}

.sidebar-note {
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sidebar-user-row {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.user-name-button {
  order: -1;
  min-width: 0;
  max-width: 170px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.user-name-button:hover strong {
  text-decoration: underline;
}

.sidebar-note > .tiny-button {
  display: none;
}

.avatar-notification-button {
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  position: relative;
  min-width: 86px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 8px 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(18, 28, 45, .04);
  cursor: pointer;
  touch-action: manipulation;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.avatar-notification-button > * {
  pointer-events: none;
}

.avatar-notification-button:hover {
  border-color: rgba(18, 28, 45, .18);
  box-shadow: 0 8px 26px rgba(18, 28, 45, .12);
  transform: translateY(-1px);
}

@media (hover: none), (pointer: coarse) {
  .avatar-notification-button:hover {
    border-color: var(--line);
    box-shadow: 0 2px 10px rgba(18, 28, 45, .04);
    transform: none;
  }
}

.avatar-notification-button:focus-visible,
.user-name-button:focus-visible {
  outline: 3px solid rgba(0, 104, 255, .22);
  outline-offset: 3px;
}

.account-menu-icon {
  width: 21px;
  height: 21px;
  color: var(--ink);
  stroke-width: 2.2;
}

.user-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #e9f7f1;
  color: var(--green-2);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.sidebar-note span {
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar-note strong {
  font-size: 14px;
  line-height: 1.35;
}

.main {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 38px 28px 64px;
  min-width: 0;
}

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

.topbar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.beta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -8px 0 26px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 104, 255, .14);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 36px rgba(18, 28, 45, .045);
}

.beta-banner-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.beta-banner-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 104, 255, .08);
  font-size: 16px;
}

.beta-banner strong,
.beta-banner span {
  display: block;
}

.beta-banner strong {
  margin-top: 1px;
  font-size: 14px;
}

.beta-banner-copy span:not(.beta-banner-icon) {
  max-width: 820px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.beta-banner .secondary-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding-inline: 14px;
  background: #fff;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.15;
  max-width: 760px;
}

h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.ghost-button,
.primary-button,
.secondary-button,
.tiny-button,
.amber-button {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 0 14px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ghost-button svg,
.primary-button svg,
.secondary-button svg,
.tiny-button svg,
.amber-button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.primary-button {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

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

.amber-button {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}

.secondary-button:hover,
.ghost-button:hover,
.tiny-button:hover {
  border-color: #b8b8b8;
  background: #f7f7f7;
}

.view {
  display: none;
}

.active-view {
  display: block;
}

.alert-panel,
.mission-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.alert-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--amber-soft);
  border-color: #ecc66f;
  padding: 14px 16px;
  margin: 0 0 18px;
}

.alert-panel strong,
.alert-panel span,
.mission-strip strong,
.mission-strip span {
  display: block;
}

.alert-panel span {
  color: #76510f;
  margin-top: 2px;
}

.mission-strip {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, auto);
  gap: 14px;
  align-items: center;
  padding: 14px;
  margin-bottom: 14px;
}

.mission-label {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 850;
  margin-bottom: 4px;
}

.mission-metric {
  min-width: 116px;
  border-left: 1px solid var(--line);
  padding-left: 14px;
}

.mission-metric > svg {
  width: 17px;
  height: 17px;
  margin-bottom: 6px;
  color: var(--green);
}

.mission-metric strong {
  font-size: 22px;
  color: var(--green-2);
}

.mission-metric span {
  color: var(--muted);
  font-size: 12px;
}

.search-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  gap: 0;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 10px;
  margin-bottom: 14px;
  box-shadow: 0 5px 20px rgba(34, 34, 34, 0.1);
}

.search-panel > .field {
  gap: 3px;
  padding: 3px 18px;
  border-right: 1px solid var(--line);
}

.search-panel > .field label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.search-panel > .field label svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.search-panel > .field select,
.search-panel > .field input {
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
}

.search-date-field {
  position: relative;
}

.search-date-trigger {
  width: 100%;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.search-date-trigger svg {
  width: 15px;
  height: 15px;
  color: var(--ink);
}

.search-date-popover {
  position: absolute;
  z-index: 90;
  top: calc(100% + 16px);
  left: 0;
  width: min(430px, calc(100vw - 28px));
}

.search-date-calendar {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(34, 34, 34, 0.16);
}

.search-date-calendar .month-calendar-head {
  margin-bottom: 16px;
}

.search-date-calendar .calendar-day.pending {
  color: #fff;
  background: var(--green);
  box-shadow: none;
}

.search-date-calendar .calendar-selection-bar {
  margin-top: 18px;
}

.search-panel > .primary-button {
  min-height: 52px;
  margin-left: 10px;
  padding: 0 24px;
}

.search-more {
  grid-column: 1 / -1;
  margin: 9px 8px 0;
  padding: 10px 10px 2px;
  border-top: 1px solid var(--line);
}

.search-more summary {
  width: max-content;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.search-more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 0 8px;
}

.search-faq-panel {
  display: grid;
  justify-items: center;
  gap: 24px;
  margin-top: 36px;
  padding: 40px 0 14px;
}

.search-faq-panel h2 {
  max-width: 760px;
  margin: 4px 0 10px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
  text-align: center;
}

.search-faq-panel h2 span {
  background: linear-gradient(135deg, var(--green), #9d55ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.search-faq-panel > div:first-child {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.search-faq-list {
  width: min(980px, 100%);
  display: grid;
  gap: 12px;
}

.search-faq-list details {
  border: 0;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(28, 37, 60, 0.08);
  overflow: hidden;
}

.search-faq-list summary {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 0 66px 0 26px;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  list-style: none;
}

.search-faq-list summary::-webkit-details-marker {
  display: none;
}

.search-faq-list summary::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 28px;
  width: auto;
  height: auto;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--green);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .18s ease;
}

.search-faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.search-faq-list p {
  margin: -6px 66px 24px 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.field {
  display: grid;
  gap: 6px;
}

label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

label.consent-line {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-transform: none;
  letter-spacing: 0;
}

select,
input,
textarea {
  width: 100%;
  min-height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
}

textarea {
  padding: 12px;
  min-height: 96px;
  resize: vertical;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 26px 0 14px;
}

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

.status-row span {
  color: var(--muted);
  margin-top: 2px;
}

.sort-chip,
.match-chip,
.badge,
.trust-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  background: var(--surface-soft);
  color: var(--green-2);
  border: 1px solid #d5e6ff;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
  gap: 16px;
  align-items: start;
}

.content-grid:has(.profile-panel.hidden) {
  grid-template-columns: 1fr;
}

.results-list,
.request-list,
.board-list,
.availability-grid,
.profile-edit-grid,
.admin-grid,
.integrations-grid {
  display: grid;
  gap: 12px;
}

.board-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.post-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  margin-bottom: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.post-description {
  grid-column: 1 / -1;
}

.post-form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}

.board-list {
  grid-template-columns: 1fr;
}

.board-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.board-card.closed {
  opacity: 0.68;
}

.board-card-top,
.board-facts,
.board-action,
.applicant-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.board-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.board-facts {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.applicant-list {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.activity-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 180px));
  gap: 8px;
  margin-bottom: 14px;
}

.activity-summary > div {
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.activity-summary svg {
  width: 17px;
  height: 17px;
  margin-bottom: 9px;
  color: var(--green);
}

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

.activity-summary strong {
  font-size: 22px;
  color: var(--green);
}

.activity-summary span {
  color: var(--muted);
  font-size: 12px;
}

.activity-summary:has(.activity-tabs) {
  display: block;
}

.pro-card,
.profile-panel,
.request-card,
.info-block,
.my-profile,
.empty-state,
.integration-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.empty-state {
  padding: 18px;
  display: grid;
  gap: 4px;
}

.empty-state span {
  color: var(--muted);
}

.pro-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  text-align: left;
  width: 100%;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.pro-card:hover {
  border-color: #b8b8b8;
  transform: translateY(-1px);
}

.pro-card.active {
  border-color: var(--green);
  outline: 0;
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.12);
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 850;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    var(--avatar-color, #0068ff);
  overflow: hidden;
  position: relative;
}

.avatar::after {
  content: "";
  position: absolute;
  inset: 35% 18% 0;
  border-radius: 999px 999px 0 0;
  background: rgba(255, 255, 255, 0.18);
}

.avatar.large {
  width: 76px;
  height: 76px;
  font-size: 22px;
}

.avatar-me {
  --avatar-color: #0068ff;
}

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

.pro-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pro-name {
  font-weight: 850;
  font-size: 17px;
}

.verified {
  color: var(--green);
  font-weight: 900;
}

.role-match {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.role-match.primary {
  color: #0054cc;
  background: #eaf4ff;
  border: 1px solid #b7d7ff;
}

.role-match.secondary {
  color: #555;
  background: #f3f3f3;
  border: 1px solid var(--line);
}

.pro-meta {
  color: var(--muted);
  margin: 3px 0 10px;
}

.role-chip-row,
.selected-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.role-chip,
.selected-role-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: #0054cc;
  background: #eaf4ff;
  border: 1px solid #b7d7ff;
  font-size: 11px;
  font-weight: 700;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.signals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.signal {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f7f7f7;
  border: 1px solid var(--line);
  font-size: 12px;
  color: #4d4d4d;
  gap: 5px;
}

.signal svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.signal.strong {
  background: #eaf4ff;
  border-color: #b7d7ff;
  color: var(--green-2);
}

.score {
  text-align: right;
  min-width: 68px;
}

.score strong {
  display: block;
  font-size: 22px;
  color: var(--green-2);
}

.score span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.profile-panel {
  padding: 18px;
  position: sticky;
  top: 96px;
}

.professional-profile { display: grid; gap: 0; color: var(--ink); }

.profile-hero {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.profile-hero h2 { margin: 3px 0 5px; font-size: clamp(27px, 4vw, 40px); line-height: 1.05; }
.profile-identity { min-width: 0; display: grid; }
.profile-identity > span { font-size: 16px; font-weight: 600; }
.profile-identity > small { margin-top: 6px; display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; }
.profile-identity > small svg { width: 15px; }
.trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.profile-stat { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 8px; background: var(--surface-soft); }
.profile-stat > svg { width: 20px; color: var(--blue); }
.profile-stat > span { min-width: 0; display: grid; }
.profile-stat strong { font-size: 16px; }
.profile-stat small { color: var(--muted); font-size: 11px; }
.profile-section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.profile-section h3 { margin: 0 0 10px; font-size: 15px; }
.profile-bio { max-width: 68ch; margin: 0; color: #3d424a; font-size: 15px; line-height: 1.7; }
.profile-facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.profile-facts > div { min-width: 0; display: flex; align-items: flex-start; gap: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; }
.profile-facts svg { width: 18px; flex: 0 0 18px; color: var(--blue); }
.profile-facts span { min-width: 0; display: grid; gap: 3px; }
.profile-facts dt { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.profile-facts dd { margin: 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 600; line-height: 1.45; }
.professional-profile .tag-row { gap: 6px; }
.professional-profile .tag-row > span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); font-size: 11px; font-weight: 600; }
.professional-profile .profile-links { padding: 18px 0 10px; align-items: center; }
.profile-contact-button { margin-top: 10px; min-height: 52px; }
.profile-reputation { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 0; }

.profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.metric {
  background: #f7f7f7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}

.metric > svg {
  width: 16px;
  height: 16px;
  margin-bottom: 7px;
  color: var(--green);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  font-size: 18px;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.skill-bars {
  display: grid;
  gap: 9px;
  margin: 14px 0 18px;
}

.skill-row {
  display: grid;
  grid-template-columns: 110px 1fr 34px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.bar {
  height: 8px;
  background: #e8e8e8;
  border-radius: 999px;
  overflow: hidden;
}

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

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

.detail-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}

.detail-item span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 3px;
}

.detail-item span svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.trust-stack {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
}

.trust-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #fafafa;
}

.trust-line span {
  color: var(--muted);
}

.trust-line strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-line strong svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.section-head {
  margin-bottom: 22px;
}

.section-head span {
  color: var(--muted);
}

.request-card {
  padding: 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.request-card p {
  margin-bottom: 6px;
  color: var(--muted);
}

.request-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.activity-summary > .activity-tabs,
.activity-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  box-shadow: none;
}

.activity-tabs button {
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.activity-tabs button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(18, 28, 45, 0.08);
}

.activity-tabs strong {
  color: var(--blue);
  font-size: 14px;
}

.activity-tabs span {
  font-size: 12px;
  font-weight: 800;
}

.activity-review-strip {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid #d5e6ff;
  border-radius: var(--radius);
  background: #f8fbff;
}

.activity-review-strip > svg {
  width: 20px;
  color: var(--blue);
}

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

.activity-review-strip span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.activity-card {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 16px 18px;
  gap: 18px;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(18, 28, 45, 0.02);
}

.activity-card.archived {
  opacity: 0.78;
}

.request-card-main {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.request-card-main h3,
.request-card-main p {
  margin: 0;
}

.activity-card-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.activity-card-title h3 {
  min-width: 0;
  font-size: 15px;
}

.activity-card-title .profile-name-button {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.activity-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.activity-actions {
  align-items: center;
  justify-content: flex-end;
}

.icon-text-button {
  min-height: 38px;
}

.activity-empty {
  min-height: 180px;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.activity-empty svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

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

.feedback-demo-launcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  margin-bottom: 22px;
  border: 1px dashed #b7d7ff;
  border-radius: var(--radius);
  background: #f8fbff;
}

.feedback-demo-launcher h3 {
  margin-bottom: 4px;
}

.feedback-demo-launcher p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.feedback-reminder {
  display: grid;
  grid-template-columns: minmax(190px, 0.65fr) minmax(0, 1.35fr);
  gap: 24px;
  padding: 20px;
  margin-bottom: 22px;
  border: 1px solid #b7d7ff;
  border-radius: var(--radius);
  background: #f5f9ff;
}

.feedback-reminder h2 {
  margin-bottom: 0;
}

.feedback-reminder-list {
  display: grid;
  gap: 8px;
}

.feedback-reminder-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 3px 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.feedback-reminder-item > svg {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 18px;
  height: 18px;
  color: var(--green);
}

.feedback-reminder-item span,
.feedback-reminder-item small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.feedback-reminder-item span {
  grid-column: 2;
  font-weight: 700;
}

.feedback-reminder-item small {
  grid-column: 2;
  color: var(--muted);
}

.feedback-reminder-item strong {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: var(--green);
  font-size: 12px;
}

.feedback-sent {
  color: var(--green-2);
  font-size: 12px;
  font-weight: 700;
}

.blind-review-note {
  font-size: 12px;
}

.public-feedback {
  margin: 18px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.public-feedback blockquote {
  margin: 0 0 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.public-feedback blockquote p {
  margin-bottom: 7px;
  color: var(--ink);
}

.public-feedback cite {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.availability-grid {
  display: block;
  max-width: 860px;
  margin: 0 auto;
}

.availability-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.availability-toolbar p {
  max-width: 300px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.toolbar-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.availability-modes {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
  background: #f2f2f2;
}

.mode-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mode-dot.available { background: var(--green); }
.mode-dot.maybe { background: var(--blue); }
.mode-dot.busy { background: #a5a5a5; }

.availability-mode {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.availability-mode svg {
  width: 14px;
  height: 14px;
}

.availability-mode.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 8px rgba(34, 34, 34, 0.12);
}

.month-calendar {
  padding: 30px 34px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 30px rgba(34, 34, 34, 0.06);
}

.month-calendar-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  margin-bottom: 22px;
}

.month-calendar-head h3 {
  margin: 0;
  text-align: center;
  text-transform: capitalize;
}

.calendar-arrow {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  display: grid;
  place-items: center;
}

.calendar-arrow svg {
  width: 19px;
  height: 19px;
}

.calendar-arrow:hover {
  background: #f2f2f2;
}

.calendar-weekdays,
.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  margin-bottom: 8px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.calendar-month-grid {
  row-gap: 12px;
}

.calendar-empty,
.calendar-day {
  width: 44px;
  height: 44px;
  justify-self: center;
}

.calendar-day {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
}

.calendar-day:not(:disabled):hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}

.calendar-day.pending {
  box-shadow: inset 0 0 0 3px var(--green), 0 0 0 4px #fff;
}

.calendar-day.available {
  color: #fff;
  background: var(--green);
}

.calendar-day.available.today {
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--ink);
}

.calendar-day.maybe {
  color: #0054cc;
  background: #eef8ff;
  box-shadow: inset 0 0 0 2px var(--blue);
}

.calendar-day.busy {
  color: #666;
  background: #ededed;
}

.calendar-day.today {
  box-shadow: inset 0 0 0 2px var(--ink);
}

.calendar-day:disabled {
  cursor: default;
  opacity: 0.28;
}

.calendar-day.locked {
  color: #fff;
  background: var(--ink);
  opacity: 1;
}

.calendar-selection-bar {
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface-soft);
}

.calendar-selection-bar.is-empty {
  color: var(--muted);
}

.calendar-selection-bar > span {
  font-size: 13px;
  font-weight: 800;
}

.calendar-selection-bar > div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.job-marker {
  position: absolute;
  bottom: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
}

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

.legend-ring {
  width: 10px;
  height: 10px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.legend-dot.available {
  background: var(--green);
}

.legend-dot.maybe {
  background: var(--blue);
}

.legend-dot.busy {
  background: #b8b8b8;
}

.my-profile {
  padding: 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.my-profile p {
  margin-bottom: 0;
  color: var(--muted);
}

.trust-box {
  text-align: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trust-box strong {
  display: block;
  font-size: 30px;
  color: var(--green);
}

.trust-box span {
  color: var(--muted);
  font-size: 12px;
}

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

.profile-form {
  display: grid;
  width: min(1060px, 100%);
  margin: 0 auto;
  gap: 22px;
}

.profile-edit-grid .wide {
  grid-column: 1 / -1;
}

.profile-onboarding {
  margin-bottom: 28px;
}

.profile-onboarding-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(0, 104, 255, .18);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 52%, #eef5ff 100%);
  box-shadow: 0 22px 60px rgba(18, 28, 45, .08);
}

.profile-onboarding-card::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -80px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 165, 232, .18), transparent 68%);
  pointer-events: none;
}

.profile-onboarding-copy {
  max-width: 760px;
}

.profile-onboarding-copy h3 {
  margin: 4px 0 8px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
}

.profile-onboarding-copy span,
.onboarding-slide p {
  color: var(--muted);
  line-height: 1.55;
}

.onboarding-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 104, 255, .1);
}

.onboarding-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transition: width .25s ease;
}

.onboarding-slide {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
}

.onboarding-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  color: var(--green);
  box-shadow: inset 0 0 0 1px var(--line);
}

.onboarding-icon svg {
  width: 25px;
  height: 25px;
}

.onboarding-slide h4 {
  margin: 10px 0 6px;
  font-size: 22px;
}

.onboarding-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.onboarding-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 auto;
}

.onboarding-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cfd7e6;
  cursor: pointer;
}

.onboarding-dots button.done {
  background: var(--blue);
}

.onboarding-dots button.active {
  width: 28px;
  background: var(--green);
}

.profile-overview {
  display: grid;
  gap: 26px;
}

.profile-overview-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  padding: 10px 0 22px;
}

.profile-overview-identity {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  position: sticky;
  top: 22px;
}

.profile-overview-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  font-size: 38px;
  box-shadow: 0 18px 46px rgba(0, 104, 255, 0.14);
}

.profile-overview-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.compact-button {
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
}

.profile-overview-main {
  min-width: 0;
  display: grid;
  gap: 24px;
}

.profile-overview-title {
  max-width: 760px;
}

.profile-overview-title h3 {
  margin: 4px 0 8px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 0.98;
  letter-spacing: 0;
}

.profile-overview-title > span {
  display: block;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.4;
}

.profile-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
}

.profile-info-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 26px minmax(130px, .7fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.profile-info-row svg {
  width: 20px;
  height: 20px;
  color: #5f6368;
}

.profile-info-row > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.profile-info-row > strong {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.profile-info-row a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-empty-value {
  color: var(--muted);
  font-weight: 600;
}

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

.profile-read-section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.profile-read-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.profile-read-section-head h3 {
  margin: 0;
  font-size: 20px;
}

.profile-read-bio {
  max-width: 86ch;
  margin: 0;
  color: #3d424a;
  font-size: 17px;
  line-height: 1.72;
}

.profile-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-chip-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 800;
}

.profile-read-links {
  padding: 0;
}

.profile-edit-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 30px;
  border: 1px solid rgba(18, 28, 45, .08);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--surface), var(--surface-soft));
  box-shadow: 0 18px 50px rgba(18, 28, 45, .06);
}

.profile-edit-header h3 {
  margin: 4px 0;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.08;
}

.profile-edit-header span {
  color: var(--muted);
  line-height: 1.45;
}

.profile-edit-layout {
  display: grid;
  gap: 18px;
}

.profile-edit-card {
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(18, 28, 45, .09);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 16px 46px rgba(18, 28, 45, .045);
}

.profile-edit-card-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.profile-edit-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 104, 255, .08);
  color: var(--green);
}

.profile-edit-card-icon svg {
  width: 20px;
  height: 20px;
}

.profile-edit-card-head h4 {
  margin: 0 0 5px;
  font-size: 20px;
  line-height: 1.18;
}

.profile-edit-card-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.profile-form .form-section,
.profile-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.profile-form .field {
  gap: 8px;
}

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

.profile-form .field label:not(.consent-line) {
  color: #6d7178;
  font-size: 11px;
  letter-spacing: .05em;
}

.profile-form input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]),
.profile-form select,
.profile-form textarea {
  min-height: 52px;
  border-color: rgba(18, 28, 45, .14);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(18, 28, 45, .02);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.profile-form input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]):focus,
.profile-form select:focus,
.profile-form textarea:focus {
  border-color: rgba(0, 104, 255, .55);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(0, 104, 255, .09);
}

.profile-form textarea {
  min-height: 130px;
  line-height: 1.55;
}

.profile-form textarea[name="equipment"] {
  min-height: 112px;
}

.profile-account-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-account-type legend {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.profile-account-type label {
  min-height: 82px;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.profile-usage-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-usage-selector legend {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.profile-usage-selector label {
  min-height: 82px;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.profile-select-stack {
  display: grid;
  gap: 12px;
}

.profile-form .compact-multiselect {
  border-color: rgba(18, 28, 45, .12);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}

.profile-form .compact-multiselect summary {
  min-height: 70px;
  grid-template-columns: minmax(190px, auto) minmax(0, 1fr) 24px;
  padding: 12px 18px;
}

.profile-form .compact-multiselect summary strong {
  font-size: 15px;
}

.profile-form .compact-multiselect summary small,
.profile-form .multiselect-summary {
  font-size: 12px;
}

.profile-form .multiselect-popover {
  padding: 16px 18px 18px;
  background: var(--surface);
}

.profile-form .multiselect-list {
  max-height: 320px;
  border-radius: 16px;
}

.profile-form .multiselect-list label {
  min-height: 46px;
  padding: 10px 14px;
  font-size: 13px;
}

.profile-edit-privacy-card {
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(0, 104, 255, .06), rgba(16, 165, 232, .04));
}

.profile-edit-privacy-card .consent-line {
  align-items: center;
  color: var(--ink);
}

.profile-edit-privacy-card .consent-line span {
  display: grid;
  gap: 3px;
}

.profile-edit-privacy-card .consent-line strong {
  color: var(--ink);
  font-size: 15px;
}

.profile-sticky-save {
  position: sticky;
  bottom: 18px;
  z-index: 3;
  padding: 12px;
  border: 1px solid rgba(18, 28, 45, .08);
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 20px 60px rgba(18, 28, 45, .12);
  backdrop-filter: blur(18px);
}

.profile-sticky-save .primary-button {
  width: 100%;
  min-height: 54px;
  border-radius: 18px;
}

@media (max-width: 760px) {
  .profile-form {
    gap: 16px;
  }

  .profile-edit-header,
  .profile-edit-card {
    padding: 20px;
    border-radius: 20px;
  }

  .profile-edit-header {
    display: grid;
  }

  .profile-edit-card-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .profile-edit-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .profile-form .form-section,
  .profile-fields-grid,
  .profile-account-type {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .profile-form .profile-photo-editor {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
  }

  .profile-form .profile-photo-preview {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .profile-form .compact-multiselect summary {
    grid-template-columns: 1fr 24px;
    min-height: 68px;
  }

  .profile-form .multiselect-summary {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .profile-edit-privacy-card .consent-line {
    align-items: flex-start;
  }

  .profile-sticky-save {
    bottom: 12px;
    border-radius: 20px;
  }
}

@media (max-width: 520px) {
  .profile-edit-header h3 {
    font-size: 25px;
  }

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

  .profile-form .profile-photo-preview {
    width: 92px;
    height: 92px;
  }
}

.field-help,
.empty-role-copy {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.field-help-row { display: flex; justify-content: space-between; gap: 12px; }

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-label-row > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.role-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.selected-roles {
  min-height: 36px;
  align-items: center;
}

.selected-role-chip {
  gap: 7px;
  min-height: 34px;
  padding: 6px 7px 6px 11px;
  font-size: 12px;
  line-height: 1.35;
}

.selected-role-chip button {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #0054cc;
  background: rgba(0, 104, 255, 0.1);
  font-weight: 800;
  flex: 0 0 auto;
}

.admin-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.profile-availability-settings,
.profile-calendar-settings {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.profile-availability-settings {
  scroll-margin-top: 104px;
}

.profile-notification-settings {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.notification-section-head {
  align-items: end;
}

.notification-section-head small {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.notification-settings-card {
  display: grid;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.notification-settings-group {
  display: grid;
  gap: 12px;
}

.notification-settings-group + .notification-settings-group {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.notification-settings-label {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.notification-preferences-grid {
  display: grid;
  gap: 8px;
}

.notification-channel-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.notification-channel-card > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.notification-channel-card svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.notification-channel-card strong,
.notification-topic-list strong {
  font-size: 14px;
}

.notification-channel-card span,
.notification-topic-list span {
  display: grid;
  gap: 3px;
}

.notification-channel-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.notification-channel-card .compact-button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
}

.switch-line {
  position: relative;
  width: 48px;
  height: 28px;
  display: inline-flex;
  cursor: pointer;
}

.switch-line input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-line span {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #d7dce4;
  transition: background .2s ease;
}

.switch-line span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  transition: transform .2s ease;
}

.switch-line input:checked + span {
  background: var(--green);
}

.switch-line input:checked + span::after {
  transform: translateX(20px);
}

.notification-topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.notification-topic-list label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.notification-topic-list input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.notification-topic-list small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.integration-card {
  padding: 18px;
  display: grid;
  gap: 14px;
  align-content: space-between;
  min-height: 240px;
}

.integration-card p {
  color: var(--muted);
  line-height: 1.45;
}

.integration-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 14px;
}

.integration-icon svg {
  width: 21px;
  height: 21px;
}

.integration-icon.google {
  background: #eef4ff;
  color: #0068ff;
}

.integration-icon.apple {
  background: #f1f3f1;
  color: #17201c;
}

.profile-consent {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfb;
}

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

.step {
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--muted);
}

.step span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #edf2ef;
  color: var(--muted);
  font-weight: 850;
}

.step.done span,
.step.current span {
  background: var(--green);
  color: #fff;
}

.step.current {
  border-color: var(--green);
  color: var(--ink);
}

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

.info-block.highlighted {
  border-color: #b7d7ff;
  background: #f5f9ff;
}

.field-status {
  color: var(--muted);
  font-weight: 800;
}

.field-status.done {
  color: var(--green);
}

.info-block {
  padding: 16px;
}

.info-block p {
  color: var(--muted);
  margin-bottom: 8px;
}

.chat-page-head {
  align-items: center;
}

.toggle-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 800;
}

.toggle-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

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

.chat-thread-card {
  width: 100%;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.chat-thread-card:hover {
  border-color: rgba(0, 104, 255, .38);
  box-shadow: 0 18px 46px rgba(18, 28, 45, .08);
  transform: translateY(-1px);
}

.chat-thread-avatar {
  width: 58px;
  height: 58px;
}

.chat-thread-body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.chat-thread-body strong {
  font-size: 17px;
}

.chat-thread-body small,
.chat-thread-body em {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-thread-side {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.chat-thread-side time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.chat-thread-side b {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #e22d3d;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.chat-empty-state {
  min-height: 240px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 30, 30, 0.55);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 10;
}

.modal-open {
  overflow: hidden;
}

.chat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(34, 34, 34, 0.48);
  backdrop-filter: blur(3px);
}

.chat-dialog {
  position: relative;
  width: min(680px, 100%);
  height: min(760px, calc(100vh - 44px));
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.chat-head {
  min-height: 76px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
}

.chat-person {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.chat-person > div {
  min-width: 0;
  display: grid;
}

.chat-person strong,
.chat-person span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.chat-info-button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.chat-info-button svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.chat-info-button:hover,
.chat-info-button[aria-expanded="true"] {
  background: var(--surface-soft);
  color: var(--ink);
}

.chat-info-panel {
  position: absolute;
  z-index: 4;
  top: 82px;
  right: 16px;
  width: min(310px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
  display: grid;
  gap: 14px;
}

.chat-info-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.chat-info-profile .avatar {
  width: 44px;
  height: 44px;
}

.chat-info-profile strong,
.chat-info-profile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-info-profile small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.chat-info-rows {
  display: grid;
  gap: 8px;
}

.chat-info-rows > div {
  display: grid;
  grid-template-columns: 18px minmax(76px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.chat-info-rows svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.chat-info-rows strong {
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-info-panel .compact-button {
  justify-content: center;
  min-height: 38px;
}

.chat-messages {
  overflow-y: auto;
  padding: 24px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-row { display: flex; }
.chat-row.mine { justify-content: flex-end; }
.chat-row.theirs { justify-content: flex-start; }

.chat-bubble {
  max-width: min(76%, 470px);
  padding: 11px 13px 8px;
  border: 1px solid var(--line);
  border-radius: 15px 15px 15px 4px;
  background: #fff;
}

.chat-row.mine .chat-bubble {
  border-color: var(--green);
  border-radius: 15px 15px 4px 15px;
  background: var(--green);
  color: #fff;
}

.chat-bubble p {
  margin: 0 0 3px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.chat-bubble time {
  display: block;
  color: var(--muted);
  font-size: 9px;
  text-align: right;
}

.chat-row.mine time { color: rgba(255,255,255,.72); }

.chat-empty {
  margin: auto;
  max-width: 320px;
  color: var(--muted);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.chat-empty svg { width: 28px; height: 28px; color: var(--green); }
.chat-empty strong { color: var(--ink); }

.chat-context-marker {
  align-self: center;
  max-width: 86%;
  margin: 12px auto 4px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.chat-compose {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.chat-compose textarea {
  min-height: 48px;
  max-height: 130px;
  resize: vertical;
  border-radius: 12px;
}

.chat-compose .primary-button { min-height: 48px; }

.app-footer {
  width: 100%;
  margin: 32px 0 0;
  background: #07131c;
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
}

.app-footer-inner {
  width: min(1280px, calc(100% - 56px));
  display: grid;
  grid-template-columns: 1fr minmax(220px, .7fr) minmax(200px, auto);
  gap: 58px;
  margin: 0 auto;
  padding: 44px 0 46px;
}

.app-footer-brand,
.app-footer-contact,
.app-footer-links,
.app-footer-links nav {
  display: grid;
  align-content: start;
}

.app-footer-brand {
  gap: 13px;
}

.app-footer-contact,
.app-footer-links nav {
  gap: 10px;
}

.app-footer img {
  width: 130px;
  height: auto;
  margin-bottom: 6px;
}

.app-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.app-footer a,
.app-footer span,
.app-footer button {
  color: rgba(255, 255, 255, .74);
}

.app-footer a,
.app-footer button {
  width: max-content;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
}

.app-footer a:hover,
.app-footer button:hover {
  color: #fff;
}

.app-footer p {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  padding: 18px 20px;
  color: rgba(255, 255, 255, .56);
  text-align: center;
}

.cookie-banner {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 18px;
  left: 18px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 46px rgba(34,34,34,.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner > div:first-child { display: flex; align-items: flex-start; gap: 12px; }
.cookie-banner svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--green); }
.cookie-banner p { margin: 0; display: grid; gap: 3px; }
.cookie-banner p span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.cookie-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.cookie-actions a { color: var(--ink); font-size: 12px; font-weight: 700; }

.modal {
  width: min(560px, 100%);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.feedback-modal {
  width: min(700px, 100%);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  padding: 22px;
}

.feedback-modal .modal-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.recommend-fieldset {
  margin: 0;
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.recommend-fieldset legend {
  padding: 0;
  font-size: 14px;
  font-weight: 700;
}

.recommend-options {
  display: inline-flex;
  gap: 4px;
  margin-top: 12px;
  padding: 4px;
  border-radius: 999px;
  background: #f2f2f2;
}

.recommend-options label {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.recommend-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.recommend-options span {
  display: grid;
  min-width: 74px;
  min-height: 36px;
  place-items: center;
  border-radius: 999px;
  cursor: pointer;
}

.recommend-options input:checked + span {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 8px rgba(34, 34, 34, 0.12);
}

.feedback-skill-list {
  border-top: 1px solid var(--line);
}

.feedback-skill {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}

.feedback-skill input {
  min-height: auto;
  padding: 0;
  border: 0;
  accent-color: var(--green);
}

.feedback-skill output {
  color: var(--green-2);
  font-weight: 800;
  text-align: right;
}

.feedback-copy-field {
  margin-top: 18px;
}

.feedback-privacy-note {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 3px 8px;
  margin-top: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feedback-privacy-note svg {
  grid-row: 1 / span 2;
  width: 18px;
  height: 18px;
  color: var(--green);
}

.feedback-privacy-note strong,
.feedback-privacy-note span {
  grid-column: 2;
}

.feedback-privacy-note span {
  color: var(--muted);
  font-size: 12px;
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.modal-note {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 0;
}

.close-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}

.close-button svg {
  width: 17px;
  height: 17px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #17201c;
  color: #fff;
  border-radius: var(--radius);
  padding: 12px 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.18s ease;
  pointer-events: none;
  max-width: 320px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background: #9f2020;
}

.full-button {
  width: 100%;
  justify-content: center;
}

.integration-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.public-page {
  background: #fff;
}

.public-header,
.public-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.public-header {
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.public-header nav,
.public-footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.public-header a,
.public-footer a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.public-header nav > a.active {
  color: var(--green);
}

.public-header .public-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
}

.public-main {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.public-hero {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.public-hero.compact {
  min-height: 300px;
}

.public-hero h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: 64px;
  line-height: 1;
}

.public-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.story-section {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 56px;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.section-index {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.story-section h2 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: 32px;
  line-height: 1.25;
}

.story-section > div > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.principle-list {
  display: grid;
}

.principle-list span {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.inline-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.faq-main {
  width: min(1220px, calc(100% - 48px));
  max-width: none;
}

.faq-main .public-hero {
  min-height: 260px;
  align-items: center;
  border-bottom: 0;
  text-align: center;
}

.faq-main .public-hero h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
}

.faq-main .public-hero h1 span {
  background: linear-gradient(135deg, var(--green), #9d55ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq-main .public-hero p:last-child {
  max-width: 680px;
  font-size: 17px;
}

.faq-list {
  display: grid;
  gap: 16px;
  padding: 24px 0 92px;
}

.faq-list details {
  border: 0;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 20px 62px rgba(38, 48, 76, 0.08);
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 0 76px 0 34px;
  cursor: pointer;
  color: #090b11;
  list-style: none;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 34px;
  color: #7b55ff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .18s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list details p {
  max-width: 860px;
  padding: 0;
  margin: -4px 76px 28px 34px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-main {
  max-width: 900px;
}

.legal-copy {
  padding: 36px 0 80px;
}

.legal-copy h2 {
  margin: 38px 0 10px;
  font-size: 20px;
}

.legal-copy p {
  max-width: 780px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.legal-copy a,
.consent-line a {
  color: var(--green);
  font-weight: 700;
}

.public-footer {
  min-height: 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.notification-center { position: relative; }
.notification-badge { position: absolute; top: -5px; right: -5px; z-index: 3; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border: 2px solid var(--surface); border-radius: 999px; background: #e22d3d; color: #fff; font-size: 10px; font-weight: 800; pointer-events: none; }
.board-group { display: grid; gap: 14px; margin-top: 24px; }
.board-group + .board-group { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.board-group-title { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.board-group-title h3 { margin: 2px 0 0; font-size: 20px; }
.board-group-title > span { min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-soft); color: var(--muted); font-size: 12px; font-weight: 800; }
.board-group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.board-card-own { border-color: rgba(0, 104, 255, .38); box-shadow: inset 3px 0 0 var(--green); }
.board-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.board-card-head h3 { margin: 2px 0 0; font-size: 18px; }
.board-card-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 7px; }
.owner-chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 999px; background: rgba(0, 104, 255, .1); color: var(--green); font-size: 10px; font-weight: 800; }
.board-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.board-meta span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 13px; }
.board-meta svg { width: 17px; height: 17px; color: var(--muted); }
.application-list { display: grid; gap: 8px; }
.application-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.owner-post-actions { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: 12px; }
.owner-post-actions .application-list { flex: 1; }
.owner-post-buttons { display: inline-flex; align-items: center; gap: 8px; }
.icon-danger-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #ffd2d7;
  border-radius: 999px;
  color: #b4232f;
  background: #fff7f8;
  cursor: pointer;
}
.icon-danger-button svg { width: 19px; height: 19px; }
.icon-danger-button:hover { border-color: #ff9daa; background: #fff0f2; }
.empty-state.compact { min-height: 90px; }
@media (max-width: 760px) { .board-group-grid { grid-template-columns: 1fr; } .board-card-head { flex-direction: column; } .board-card-status { justify-content: flex-start; } .owner-post-actions { align-items: stretch; flex-direction: column; } .owner-post-buttons { justify-content: flex-end; } }
.sidebar-note .notification-badge { color: #fff; font-size: 10px; line-height: 1; letter-spacing: 0; }
.notification-panel { position: absolute; z-index: 80; top: calc(100% + 12px); right: 0; width: min(380px, calc(100vw - 28px)); max-height: min(680px, 82vh); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 18px 60px rgba(18, 28, 45, .16); }
.notification-panel span { color: inherit; text-transform: none; letter-spacing: 0; }
.notification-panel header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.notification-panel header > div { display: grid; gap: 2px; }
.notification-panel header strong { color: var(--ink); font-size: 14px; line-height: 1.3; }
.notification-panel header span { color: var(--muted); font-size: 11px; }
.notification-panel .text-button { border: 0; background: transparent; color: var(--blue); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.notification-account-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.notification-account-actions .compact-button { width: 100%; justify-content: center; min-height: 38px; padding: 8px 10px; font-size: 12px; }
.notification-account-actions.account-menu-actions {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 8px;
}

.account-menu-secondary {
  padding-top: 7px;
}

.account-menu-item {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.account-menu-item:hover {
  background: var(--surface-soft);
}

.account-menu-item svg {
  width: 19px;
  height: 19px;
  color: var(--muted);
}

.account-menu-item.danger {
  color: #b4232f;
}

.account-menu-item.danger svg {
  color: #b4232f;
}
.notification-list { max-height: 460px; overflow-y: auto; }
.notification-item { width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.notification-item:hover { background: var(--surface-soft); }
.notification-item > svg { width: 20px; color: var(--blue); }
.notification-item span { min-width: 0; display: grid; gap: 3px; }
.notification-item strong, .notification-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notification-item small { color: var(--muted); }
.notification-empty { min-height: 150px; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--muted); }
.notification-empty svg { color: var(--green); }

@media (max-width: 1080px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 4;
    padding: 12px;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
  }

  .nav-list {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
  }

  .sidebar-note {
    margin-left: auto;
  }

  .workspace-mode-shortcut,
  .sidebar-note .tiny-button { display: none; }

  .user-name-button strong { display: none; }

  .app-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .app-footer-links {
    grid-column: 1 / -1;
  }

  .auth-form,
  .search-panel,
	  .post-form,
	  .board-list,
	  .content-grid,
	  .search-faq-panel,
	  .mission-strip,
	  .support-layout,
	  .support-ticket-list,
	  .admin-grid,
	  .integrations-grid,
	  .notification-preferences-grid,
	  .notification-topic-list,
	  .onboarding-slide,
	  .profile-overview-shell,
	  .profile-info-list,
	  .profile-read-grid,
	  .profile-usage-selector {
	    grid-template-columns: 1fr;
	  }

  .profile-overview-identity {
    position: static;
    justify-items: start;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .profile-overview-identity .ghost-button {
    grid-column: 2;
  }

  .profile-overview-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
  }

  .profile-info-row {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 12px 0;
  }

  .profile-info-row > strong {
    grid-column: 2;
  }

  .mission-metric {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 10px 0 0;
  }

  .profile-panel {
    position: static;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .auth-entry {
    padding: 28px 0 10px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .search-panel > .field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
  }

  .search-panel > .primary-button {
    width: 100%;
    margin: 10px 0 0;
  }

  .search-more {
    grid-column: auto;
  }

  .search-faq-panel {
    gap: 18px;
    padding: 30px 0 10px;
  }
}

@media (max-width: 720px) {
  .sidebar {
    position: sticky;
    top: 0;
    z-index: 60;
    min-height: auto;
    padding: max(14px, env(safe-area-inset-top)) 18px 14px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    align-items: center;
    gap: 12px;
    overflow: visible;
  }

  .mobile-menu-button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
  }

  .mobile-menu-button svg {
    width: 30px;
    height: 30px;
    stroke-width: 2.4;
  }

  .brand {
    justify-content: center;
    min-width: 0;
  }

  .brand-logo {
    width: 142px;
    height: 34px;
    object-position: center;
  }

  .brand-chat-button,
  .workspace-switch,
  .workspace-mode-shortcut,
  .nav-list,
  .utility-links,
  .sidebar-note {
    display: none;
  }

  .mobile-search-shell {
    display: block;
    grid-column: 1 / -1;
  }

  .mobile-search-trigger {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    text-align: left;
  }

  .mobile-search-trigger svg {
    width: 19px;
    height: 19px;
    color: var(--blue);
  }

  .mobile-search-trigger span {
    min-width: 0;
    overflow: hidden;
    font-size: 15px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu-panel {
    width: min(82vw, 360px);
    padding: max(22px, env(safe-area-inset-top)) 22px max(26px, env(safe-area-inset-bottom));
  }

  .mobile-menu-links button,
  .mobile-menu-links a {
    min-height: 52px;
    font-size: 20px;
  }

  .mobile-menu-secondary button,
  .mobile-menu-secondary a {
    font-size: 17px;
  }

  .sidebar-notification-center .notification-panel { position: fixed; top: 72px; right: 14px; left: 14px; width: auto; max-height: calc(100vh - 92px); }
  .avatar-notification-button { width: 46px; height: 46px; }
  .user-avatar { width: 38px; height: 38px; }
  .mobile-menu-avatar { width: 64px; height: 64px; flex-basis: 64px; font-size: 22px; }
  .notification-account-actions { grid-template-columns: 1fr; }
  .search-date-popover { position: fixed; top: 108px; left: 14px; right: 14px; width: auto; }
  .search-date-calendar { padding: 18px 12px; }
  .calendar-selection-bar { align-items: stretch; flex-direction: column; }
  .calendar-selection-bar > div { display: grid; grid-template-columns: 1fr 1fr; }
  .auth-screen {
    padding: 10px;
  }

  .auth-card {
    padding: 18px;
  }

  .auth-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .beta-banner {
    align-items: stretch;
    flex-direction: column;
    margin-top: -2px;
  }

  .beta-banner .secondary-button {
    width: 100%;
  }

  .crew-zero-welcome {
    border-radius: 22px;
  }

  .crew-zero-actions {
    display: grid;
  }

  .crew-zero-actions .primary-button,
  .crew-zero-actions .secondary-button {
    width: 100%;
  }

  .auth-intro {
    padding: 20px 0;
  }

  .auth-intro h1 {
    font-size: 32px;
  }

  .public-header,
  .public-footer,
  .public-main {
    width: min(100% - 28px, 1040px);
  }

  .public-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .public-header nav,
  .public-footer nav {
    width: 100%;
    gap: 14px;
  }

  .public-header .public-cta {
    margin-left: auto;
  }

  .public-hero,
  .public-hero.compact {
    min-height: 340px;
  }

  .public-hero h1 {
    font-size: 46px;
  }

  .public-hero p:last-child {
    font-size: 16px;
  }

  .faq-main {
    width: min(100% - 28px, 680px);
  }

  .faq-main .public-hero {
    min-height: 220px;
    align-items: flex-start;
    text-align: left;
  }

  .faq-main .public-hero h1 {
    font-size: 34px;
  }

  .faq-list {
    gap: 12px;
    padding-bottom: 58px;
  }

  .faq-list summary {
    min-height: 68px;
    padding: 0 54px 0 20px;
    font-size: 16px;
  }

  .faq-list summary::after {
    right: 22px;
    font-size: 28px;
  }

  .faq-list details p {
    margin: -4px 54px 20px 20px;
    font-size: 14px;
  }

  .story-section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 48px 0;
  }

  .story-section h2 {
    font-size: 27px;
  }

  .public-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
  }

  .app-footer {
    width: 100%;
  }

  .app-footer-inner {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 36px 0;
  }

  .app-footer-links {
    grid-column: auto;
  }

  .search-faq-list summary {
    min-height: 62px;
    padding: 0 48px 0 18px;
    font-size: 14px;
  }

  .search-faq-list summary::after {
    right: 20px;
    font-size: 26px;
  }

  .search-faq-list p {
    margin: -2px 48px 18px 18px;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    padding: 15px;
  }

  .cookie-actions { flex-wrap: wrap; }
  .cookie-actions a { width: 100%; }
  .cookie-actions button { flex: 1 1 130px; }

  .chat-backdrop { padding: 0; }
  .chat-dialog { width: 100%; height: 100%; border-radius: 0; }
  .chat-messages { padding: 18px 14px; }
  .chat-compose { padding: 10px; }
  .chat-compose .primary-button span { display: none; }
  .chat-compose .primary-button { width: 48px; padding: 0; }
  .chat-thread-card,
  .onboarding-actions {
    align-items: stretch;
    flex-direction: column;
    display: flex;
  }
  .chat-thread-card {
    gap: 12px;
  }
  .chat-thread-side {
    align-items: center;
    justify-items: start;
    grid-auto-flow: column;
    justify-content: space-between;
  }
  .profile-onboarding-card {
    padding: 18px;
    border-radius: 18px;
  }
  .onboarding-dots {
    margin: 0;
    justify-content: center;
  }

  .main {
    padding: 18px 14px;
  }

	  .topbar,
	  .topbar-actions,
	  .board-head,
	  .support-head,
	  .status-row,
	  .profile-hero,
	  .my-profile,
  .alert-panel {
    align-items: stretch;
    flex-direction: column;
    display: flex;
  }

  .search-panel {
    box-shadow: none;
    border-radius: 18px;
  }

	  .search-more-grid,
	  .role-picker,
	  .support-ticket-form,
	  .beta-feedback-form,
	  .support-chat-form {
	    grid-template-columns: 1fr;
	  }

  .beta-feedback-layout,
  .beta-feedback-list {
    grid-template-columns: 1fr;
  }

	  .support-assistant {
	    min-height: auto;
	  }

	  .support-chat-log {
	    max-height: 420px;
	  }

	  .support-message {
	    width: 100%;
	  }

  .pro-card,
  .request-card {
    grid-template-columns: 1fr;
  }

  .activity-tabs {
    grid-template-columns: 1fr 1fr;
    border-radius: 18px;
  }

  .activity-tabs button {
    justify-content: flex-start;
    padding: 0 12px;
  }

  .activity-review-strip,
  .activity-card,
  .request-card-main {
    grid-template-columns: 1fr;
  }

  .activity-review-strip {
    align-items: start;
  }

  .activity-card {
    gap: 14px;
  }

  .activity-card-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .activity-actions {
    justify-content: flex-start;
  }

  .availability-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .availability-toolbar p {
    max-width: none;
    text-align: left;
  }

  .availability-modes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .availability-mode {
    padding: 0 8px;
  }

  .month-calendar {
    padding: 20px 10px 16px;
  }

  .calendar-empty,
  .calendar-day {
    width: 36px;
    height: 36px;
  }

  .feedback-reminder {
    grid-template-columns: 1fr;
  }

  .feedback-demo-launcher {
    align-items: stretch;
    flex-direction: column;
  }

  .feedback-modal {
    padding: 16px;
  }

  .feedback-skill {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 8px;
    padding: 10px 0;
  }

  .feedback-skill > span {
    grid-column: 1 / -1;
  }

  .avatar {
    width: 48px;
    height: 48px;
  }

  .score,
  .request-actions {
    text-align: left;
    justify-content: flex-start;
  }

  .metrics,
  .activity-summary,
  .detail-list,
  .profile-actions,
  .profile-edit-grid,
  .stepper,
  .onboarding-grid {
    grid-template-columns: 1fr;
  }

  .skill-row {
    grid-template-columns: 96px 1fr 30px;
  }
}
