:root {
  --bg: #050815;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: #5d8cff;
  --ink: #f7fbff;
  --muted: rgba(247, 251, 255, 0.68);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --accent: #58e6ff;
  --accent-ink: #d9ff62;
  --blue: #5d8cff;
  --violet: #9477ff;
  --yellow: #d9ff62;
  --danger: #ff7777;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --page-gutter: clamp(12px, 2.4vw, 36px);
  --fluid-gap: clamp(10px, 1.5vw, 24px);
  --panel-gap: clamp(10px, 1.1vw, 16px);
  font-family: Inter, Pretendard, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 52% -8%, rgba(91, 229, 255, 0.17), transparent 42%),
    linear-gradient(180deg, #071123 0%, #050815 48%, #030612 100%);
  color: var(--ink);
  word-break: keep-all;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.74), transparent 84%);
  pointer-events: none;
}

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

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

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.app-shell {
  min-width: 0;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

.platform-topbar {
  position: fixed;
  left: 50%;
  top: 10px;
  z-index: 50;
  width: min(1240px, calc(100% - (var(--page-gutter) * 2)));
  height: 44px;
  display: grid;
  grid-template-columns: minmax(148px, auto) 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(12, 17, 31, 0.9), rgba(8, 12, 24, 0.76));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.brand-block,
.top-links,
.window-actions {
  display: flex;
  align-items: center;
}

.brand-block {
  min-width: 0;
  gap: 9px;
  padding-left: 4px;
}

.brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--accent);
  border: 1px solid rgba(88, 230, 255, 0.24);
  background: linear-gradient(135deg, rgba(88, 230, 255, 0.15), rgba(217, 255, 98, 0.08));
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 19px;
  height: 19px;
}

.brand-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.top-links {
  min-width: 0;
  gap: 4px;
  justify-content: center;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.top-links::-webkit-scrollbar,
.workspace-tabs::-webkit-scrollbar,
.category-band::-webkit-scrollbar {
  display: none;
}

.top-links a {
  flex: 0 0 auto;
  height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: rgba(247, 251, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
  scroll-snap-align: start;
  white-space: nowrap;
}

.top-links a:hover,
.top-links a:focus-visible,
.top-links a.is-active,
.top-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
  outline: none;
}

.top-links a.is-active,
.top-links a[aria-current="page"] {
  border: 1px solid rgba(88, 230, 255, 0.28);
  background: rgba(88, 230, 255, 0.13);
}

.window-actions {
  gap: 4px;
}

.icon-button {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: rgba(247, 251, 255, 0.76);
  cursor: pointer;
}

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

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--line);
  outline: none;
}

.icon-button.close:hover,
.icon-button.close:focus-visible {
  background: #fff1f1;
  color: var(--danger);
  border-color: #ffd0d0;
}

main {
  min-width: 0;
  width: min(1440px, calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding-top: 62px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(min(100%, 320px), 0.95fr);
  gap: var(--fluid-gap);
  align-items: center;
  padding: 54px 0 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy h1,
.section-head h2,
.request-section h2,
.seller-copy h2 {
  margin: 0;
  letter-spacing: 0;
  color: var(--ink);
}

.hero-copy h1 {
  max-width: 860px;
  font-size: 58px;
  line-height: 1.04;
  font-weight: 900;
}

.hero-summary {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.search-panel {
  max-width: 760px;
  margin-top: 22px;
}

.search-panel label {
  display: block;
  margin-bottom: 9px;
  color: rgba(247, 251, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.search-panel div {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow);
}

.search-panel svg {
  width: 22px;
  height: 22px;
  color: var(--muted);
}

.search-panel input {
  min-width: 0;
  height: 44px;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
}

.search-panel input::placeholder {
  color: rgba(247, 251, 255, 0.45);
}

.search-panel button,
.request-card button,
.seller-actions button {
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--surface-strong);
  color: #fff;
  padding: 0 20px;
  font-weight: 850;
  cursor: pointer;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quick-tags button,
.category-chip,
.sort-tabs button,
.panel-title button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.76);
  border-radius: 8px;
  cursor: pointer;
}

.quick-tags button {
  min-height: 34px;
  padding: 0 12px;
  font-weight: 750;
}

.hero-visual {
  min-width: 0;
}

.deal-board {
  min-height: 420px;
  padding: 24px;
  border: 1px solid rgba(217, 222, 232, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(21, 184, 134, 0.14), rgba(60, 125, 240, 0.08)),
    #fff;
  box-shadow: var(--shadow);
}

.deal-board-head,
.deal-row,
.deal-metrics {
  display: flex;
  align-items: center;
}

.deal-board-head {
  justify-content: space-between;
  margin-bottom: 18px;
}

.deal-board-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.deal-board-head strong {
  color: #101828;
}

.deal-row {
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(217, 222, 232, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.deal-row div {
  min-width: 0;
  flex: 1;
}

.deal-row b,
.deal-row small {
  display: block;
}

.deal-row b {
  color: #101828;
  font-size: 15px;
}

.deal-row small {
  margin-top: 4px;
  color: var(--muted);
}

.deal-row strong {
  white-space: nowrap;
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
}

.avatar.design {
  background: var(--violet);
}

.avatar.dev {
  background: var(--blue);
}

.avatar.media {
  background: #ef7c43;
}

.deal-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 118px), 1fr));
  gap: var(--panel-gap);
  margin-top: 22px;
}

.deal-metrics article {
  padding: 18px 12px;
  border-radius: 8px;
  background: #101828;
  color: #fff;
  text-align: center;
}

.deal-metrics b,
.deal-metrics span {
  display: block;
}

.deal-metrics b {
  font-size: 24px;
}

.deal-metrics span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.category-band {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--page-gutter);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 12px 0;
  background: rgba(246, 247, 249, 0.9);
  backdrop-filter: blur(14px);
}

.category-band::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  font-weight: 800;
  scroll-snap-align: start;
  white-space: nowrap;
}

.category-chip.is-active,
.sort-tabs button.is-active {
  border-color: var(--accent);
  background: #e9fbf4;
  color: var(--accent-ink);
}

.intent-section {
  padding: 30px 0 8px;
}

.section-head.compact {
  align-items: center;
  margin-bottom: 14px;
}

.intent-note,
.count-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--accent);
  background: rgba(88, 230, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--panel-gap);
}

.intent-card {
  min-height: 156px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.16);
  color: var(--ink);
  padding: 16px;
  text-align: left;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.intent-card:hover,
.intent-card:focus-visible {
  border-color: rgba(217, 255, 98, 0.34);
  background:
    linear-gradient(145deg, rgba(88, 230, 255, 0.15), rgba(217, 255, 98, 0.08)),
    rgba(0, 0, 0, 0.18);
  outline: none;
}

.intent-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.intent-card strong {
  font-size: 18px;
  line-height: 1.3;
}

.intent-card small {
  color: var(--muted);
  line-height: 1.5;
}

.workspace-switcher {
  position: sticky;
  top: 92px;
  z-index: 28;
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 22px 0 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.92), rgba(6, 10, 22, 0.82));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
  padding: 10px;
}

.workspace-switcher-head {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding-left: 4px;
}

.workspace-switcher-head span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.workspace-switcher-head strong {
  overflow: hidden;
  color: rgba(247, 251, 255, 0.86);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-tabs {
  min-width: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  justify-content: flex-end;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.workspace-tabs button {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(247, 251, 255, 0.76);
  padding: 0 13px;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  scroll-snap-align: start;
  white-space: nowrap;
}

.workspace-tabs button:hover,
.workspace-tabs button:focus-visible,
.workspace-tabs button.is-active,
.workspace-tabs button[aria-selected="true"] {
  border-color: rgba(88, 230, 255, 0.34);
  background: rgba(88, 230, 255, 0.13);
  color: #fff;
  outline: none;
}

.workspace-panel {
  min-width: 0;
  max-width: 100%;
  min-height: calc(100dvh - 72px);
  scroll-margin-top: 150px;
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(min(100%, 230px), 0.24fr) minmax(0, 1fr);
  gap: var(--fluid-gap);
  padding: 34px 0 0;
}

.filter-panel,
.request-card,
.seller-section,
.ops-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.filter-panel {
  position: sticky;
  top: 112px;
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 18px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-title span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.panel-title button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 850;
}

.filter-panel select,
.filter-panel input[type="text"],
.request-card input,
.request-card select,
.request-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.filter-panel select,
.request-card input,
.request-card select {
  height: 40px;
  padding: 0 11px;
}

.request-card textarea {
  resize: vertical;
  padding: 11px;
}

.check-group {
  display: grid;
  gap: 10px;
}

.check-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 750;
}

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

.section-head h2,
.request-section h2,
.seller-copy h2 {
  font-size: 38px;
  line-height: 1.15;
}

.service-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.service-title-row h2 {
  margin: 0;
}

.sort-tabs {
  display: flex;
  gap: 6px;
}

.sort-tabs button {
  min-height: 34px;
  padding: 0 12px;
  font-weight: 800;
}

.service-feedback-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  margin: -4px 0 12px;
  padding-bottom: 2px;
}

.service-feedback-row::-webkit-scrollbar {
  display: none;
}

.market-status-chip {
  flex: 0 0 auto;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(247, 251, 255, 0.76);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
  scroll-snap-align: start;
  white-space: nowrap;
}

.market-status-chip.is-muted {
  color: var(--accent);
  background: rgba(88, 230, 255, 0.08);
}

.market-status-chip.is-saved {
  color: var(--accent-ink);
  background: rgba(217, 255, 98, 0.09);
  border-color: rgba(217, 255, 98, 0.22);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
}

.service-art {
  position: relative;
  min-height: 104px;
  background:
    linear-gradient(135deg, rgba(16, 24, 40, 0.16), rgba(16, 24, 40, 0)),
    var(--card-bg);
}

.service-art::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
}

.service-art span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #101828;
  font-size: 12px;
  font-weight: 900;
}

.service-art-visual {
  position: absolute;
  inset: 14px 14px 14px auto;
  z-index: 1;
  width: min(56%, 210px);
  display: grid;
  align-content: end;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)),
    rgba(16, 24, 40, 0.24);
  color: #fff;
  padding: 10px;
  overflow: hidden;
}

.service-art-visual i {
  position: absolute;
  inset: 10px 10px auto;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 15px 0 rgba(255, 255, 255, 0.25), 0 30px 0 rgba(255, 255, 255, 0.18);
}

.service-art-visual b,
.service-art-visual small {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.service-art-visual b {
  font-size: 12px;
  font-weight: 950;
}

.service-art-visual small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 850;
}

.service-art-visual em {
  position: absolute;
  right: 8px;
  top: 8px;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.28);
  padding: 3px 6px;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
}

.service-body {
  padding: 13px;
}

.seller-line,
.rating-line,
.price-line,
.card-actions {
  display: flex;
  align-items: center;
}

.seller-line {
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.seller-line button {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.seller-line button:hover,
.seller-line button:focus-visible {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.verified {
  color: var(--accent);
}

.service-card h3 {
  min-height: 48px;
  margin: 9px 0;
  color: #101828;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0;
}

.service-summary {
  min-height: 40px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rating-line {
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.rating-line b {
  color: #101828;
}

.rank-line {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 8px 0 9px;
  border: 1px solid rgba(88, 230, 255, 0.18);
  border-radius: 8px;
  background: rgba(88, 230, 255, 0.055);
  padding: 7px 8px;
}

.rank-line span {
  min-width: 44px;
  display: grid;
  justify-items: center;
  line-height: 1.05;
}

.rank-line b {
  color: #101828;
  font-size: 16px;
  font-weight: 950;
}

.rank-line small {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
}

.rank-line p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #475467;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.capacity-strip {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
  gap: 7px;
  margin: 8px 0 9px;
  overflow: visible;
}

.capacity-strip span {
  min-width: 0;
  max-width: 100%;
  display: block;
  border: 1px solid rgba(88, 230, 255, 0.18);
  border-radius: 8px;
  background: rgba(88, 230, 255, 0.055);
  padding: 7px 8px;
}

.capacity-strip b,
.capacity-strip small {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.22;
  white-space: normal;
}

.capacity-strip b {
  color: #101828;
  font-size: 12px;
  font-weight: 950;
}

.capacity-strip small {
  margin-top: 3px;
  color: #475467;
  font-size: 11px;
  font-weight: 800;
}

.capacity-strip .good {
  border-color: rgba(24, 172, 118, 0.24);
  background: rgba(24, 172, 118, 0.08);
}

.capacity-strip .warn {
  border-color: rgba(255, 194, 87, 0.32);
  background: rgba(255, 194, 87, 0.1);
}

.capacity-strip .lock {
  border-color: rgba(255, 112, 112, 0.28);
  background: rgba(255, 112, 112, 0.1);
}

.capacity-strip.dialog {
  margin: 0 0 10px;
}

.package-strip,
.addon-strip,
.coupon-strip,
.faq-strip,
.consult-slot-strip,
.requirement-template-strip,
.sample-strip,
.performance-strip {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
  gap: 7px;
  margin: 8px 0 9px;
  overflow: visible;
}

.package-strip span,
.addon-strip span,
.coupon-strip span,
.faq-strip span,
.consult-slot-strip span,
.requirement-template-strip span,
.sample-strip span,
.performance-strip span {
  min-width: 0;
  max-width: 100%;
  display: block;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.045);
  padding: 7px 8px;
}

.package-strip b,
.package-strip small,
.addon-strip b,
.addon-strip small,
.coupon-strip b,
.coupon-strip small,
.faq-strip b,
.faq-strip small,
.consult-slot-strip b,
.consult-slot-strip small,
.requirement-template-strip b,
.requirement-template-strip small,
.sample-strip b,
.sample-strip small,
.performance-strip b,
.performance-strip small {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.22;
  white-space: normal;
}

.package-strip b,
.addon-strip b,
.coupon-strip b,
.faq-strip b,
.consult-slot-strip b,
.requirement-template-strip b,
.sample-strip b,
.performance-strip b {
  color: #101828;
  font-size: 12px;
  font-weight: 950;
}

.package-strip small,
.addon-strip small,
.coupon-strip small,
.faq-strip small,
.consult-slot-strip small,
.requirement-template-strip small,
.sample-strip small,
.performance-strip small {
  margin-top: 3px;
  color: #475467;
  font-size: 11px;
  font-weight: 800;
}

.package-strip.dialog,
.addon-strip.dialog,
.coupon-strip.dialog,
.faq-strip.dialog,
.consult-slot-strip.dialog,
.requirement-template-strip.dialog,
.sample-strip.dialog,
.performance-strip.dialog {
  margin: 0 0 10px;
}

.ops-item .package-strip span,
.ops-item .addon-strip span,
.ops-item .coupon-strip span,
.ops-item .faq-strip span,
.ops-item .consult-slot-strip span,
.ops-item .requirement-template-strip span,
.ops-item .sample-strip span,
.ops-item .performance-strip span {
  border-color: rgba(88, 230, 255, 0.18);
  background: rgba(88, 230, 255, 0.06);
}

.ops-item .package-strip b,
.ops-item .addon-strip b,
.ops-item .coupon-strip b,
.ops-item .faq-strip b,
.ops-item .consult-slot-strip b,
.ops-item .requirement-template-strip b,
.ops-item .sample-strip b,
.ops-item .performance-strip b {
  color: #fff;
}

.ops-item .package-strip small,
.ops-item .addon-strip small,
.ops-item .coupon-strip small,
.ops-item .faq-strip small,
.ops-item .consult-slot-strip small,
.ops-item .requirement-template-strip small,
.ops-item .sample-strip small,
.ops-item .performance-strip small {
  color: rgba(247, 251, 255, 0.68);
}

.performance-strip {
  --performance-accent: rgba(21, 184, 134, 0.18);
}

.performance-strip[data-performance-state="attention"] span {
  border-color: rgba(255, 194, 87, 0.32);
  background: rgba(255, 194, 87, 0.1);
}

.performance-strip[data-performance-state="stable"] span {
  border-color: var(--performance-accent);
}

.seller-performance-card[data-performance-state="attention"] {
  border-color: rgba(255, 194, 87, 0.35);
}

.service-fit {
  display: grid;
  gap: 4px;
  margin-top: 9px;
  color: rgba(247, 251, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
}

.service-fit span:first-child {
  color: var(--accent);
  font-weight: 850;
}

.service-sample-gallery {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.service-sample-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 10px;
}

.service-sample-grid article {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.052);
  overflow: hidden;
}

.sample-preview {
  min-height: 92px;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 10px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(88, 230, 255, 0.46), rgba(217, 255, 98, 0.24)),
    #172033;
}

.sample-preview.sample-2 {
  background:
    linear-gradient(135deg, rgba(61, 126, 240, 0.6), rgba(82, 214, 163, 0.28)),
    #172033;
}

.sample-preview.sample-3 {
  background:
    linear-gradient(135deg, rgba(255, 184, 107, 0.58), rgba(111, 85, 255, 0.28)),
    #172033;
}

.sample-preview span,
.sample-preview b,
.service-sample-grid p {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.sample-preview span {
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 950;
}

.sample-preview b {
  font-size: 13px;
  font-weight: 950;
}

.service-sample-grid p {
  margin: 0;
  padding: 9px 10px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
  margin: 10px 0 12px;
}

.tag-row span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 8px;
  background: #f3f5f8;
  color: #475467;
  font-size: 12px;
  font-weight: 750;
}

.mini-fees {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -2px 0 10px;
}

.mini-fees span,
.deliverable-list span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(217, 255, 98, 0.18);
  border-radius: 8px;
  background: rgba(217, 255, 98, 0.075);
  color: var(--accent-ink);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 850;
}

.price-line {
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}

.price-line small {
  color: var(--muted);
}

.price-line strong {
  color: #101828;
  font-size: 17px;
}

.card-actions {
  gap: 8px;
  margin-top: 10px;
}

.card-actions.is-three {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1fr;
}

.card-actions.is-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-actions button {
  flex: 1;
  min-width: 0;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-weight: 850;
  cursor: pointer;
}

.card-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.service-more-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: stretch;
  gap: 8px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 8px;
}

.service-more-row[hidden] {
  display: none;
}

.service-more-row span,
.service-more-row button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(247, 251, 255, 0.78);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.service-more-row button {
  background: rgba(88, 230, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.card-actions button.primary {
  border-color: var(--surface-strong);
  background: var(--surface-strong);
  color: #fff;
}

.card-actions button.is-saved {
  border-color: rgba(217, 255, 98, 0.28);
  background: rgba(217, 255, 98, 0.1);
  color: var(--accent-ink);
}

.compare-section {
  padding: 76px 0 0;
}

.compare-jump {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: rgba(247, 251, 255, 0.78);
  font-weight: 850;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--panel-gap);
}

.compare-empty {
  grid-column: 1 / -1;
  min-height: 130px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  color: var(--muted);
  padding: 18px;
  text-align: center;
}

.compare-empty strong {
  color: var(--ink);
  font-size: 18px;
}

.compare-decision-panel {
  min-width: 0;
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(88, 230, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(88, 230, 255, 0.08), rgba(217, 255, 98, 0.05)),
    rgba(0, 0, 0, 0.16);
  padding: 14px;
}

.compare-decision-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.compare-decision-grid article {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 10px;
}

.compare-decision-grid span,
.compare-decision-grid b,
.compare-decision-grid small {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.28;
}

.compare-decision-grid span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.compare-decision-grid b {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
}

.compare-decision-grid small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.compare-decision-actions {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.compare-decision-actions button {
  min-width: 0;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.compare-decision-actions button.primary {
  border-color: var(--surface-strong);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
}

.compare-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.038));
  color: var(--ink);
  padding: 16px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.compare-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.compare-card-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.compare-card-head button {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.72);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.compare-card h3 {
  min-height: 58px;
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: 0;
}

.compare-card p {
  min-height: 62px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.compare-metrics {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr;
  gap: 7px;
  margin-bottom: 10px;
}

.compare-metrics div,
.tier-stack div {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  padding: 10px;
}

.compare-metrics span,
.tier-stack span,
.tier-stack small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.compare-metrics b,
.tier-stack strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.tier-stack {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.tier-stack small {
  margin-top: 5px;
  line-height: 1.35;
}

.dialog-tiers {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  margin: 0 0 12px;
}

.compare-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.action-policy-strip {
  min-width: 0;
  max-width: 100%;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  margin: 0 0 10px;
}

.action-policy-strip::-webkit-scrollbar {
  display: none;
}

.action-policy-strip span {
  flex: 0 0 auto;
  min-height: 34px;
  display: grid;
  align-content: center;
  gap: 1px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(247, 251, 255, 0.78);
  padding: 5px 9px;
  scroll-snap-align: start;
  white-space: nowrap;
}

.action-policy-strip b,
.action-policy-strip small {
  display: block;
  line-height: 1.15;
}

.action-policy-strip b {
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.action-policy-strip small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.action-policy-strip .is-free {
  border-color: rgba(217, 255, 98, 0.22);
  background: rgba(217, 255, 98, 0.08);
}

.action-policy-strip .is-free small {
  color: var(--accent-ink);
}

.action-policy-strip .is-debit {
  border-color: rgba(88, 230, 255, 0.26);
  background: rgba(88, 230, 255, 0.09);
}

.action-policy-strip .is-debit small {
  color: var(--accent);
}

.action-policy-strip .is-muted {
  background: rgba(255, 255, 255, 0.035);
}

.compare-actions button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.78);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.compare-actions button.primary {
  border-color: var(--surface-strong);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
}

.empty-state {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  text-align: center;
}

.service-empty-state {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 124px;
}

.service-empty-state strong {
  color: var(--ink);
  font-size: 15px;
}

.service-empty-state span {
  max-width: 360px;
  font-size: 13px;
  line-height: 1.45;
}

.service-empty-state button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(88, 230, 255, 0.1);
  color: var(--accent);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.75fr);
  gap: 24px;
  align-items: center;
  padding: 88px 0 0;
}

.request-section p:not(.eyebrow),
.seller-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.brief-template-grid,
.seller-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 10px;
  margin-top: 18px;
}

.seller-template-grid {
  margin: 0;
}

.brief-template-grid button,
.seller-template-grid button {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  padding: 12px;
  text-align: left;
  cursor: pointer;
}

.seller-template-grid button {
  min-height: 68px;
}

.brief-template-grid button:hover,
.brief-template-grid button:focus-visible,
.seller-template-grid button:hover,
.seller-template-grid button:focus-visible {
  border-color: rgba(88, 230, 255, 0.34);
  background: rgba(88, 230, 255, 0.1);
  outline: none;
}

.brief-template-grid span,
.seller-template-grid span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.brief-template-grid strong,
.seller-template-grid strong {
  font-size: 15px;
  line-height: 1.3;
}

.request-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.request-card label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 850;
}

.expert-section {
  padding: 88px 0 0;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--panel-gap);
}

.expert-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

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

.expert-photo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: var(--expert-bg);
}

.expert-card h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: 0;
}

.expert-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.expert-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.expert-metrics span {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 9px;
}

.expert-metrics b,
.expert-metrics small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.expert-metrics b {
  color: var(--ink);
  font-size: 13px;
}

.expert-metrics small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

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

.expert-actions button {
  min-height: 34px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.78);
  padding: 0 10px;
  font-weight: 850;
  cursor: pointer;
}

.expert-actions button.primary {
  border-color: var(--surface-strong);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
}

.operations-section {
  min-width: 0;
  max-width: 100%;
  padding: 88px 0 0;
}

.ops-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
  min-width: 0;
  max-width: 100%;
  gap: 10px;
  margin-bottom: 16px;
}

.ops-summary-card {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.038));
  color: var(--ink);
  padding: 12px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ops-summary-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.ops-summary-card strong {
  font-size: 20px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

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

.funding-alert {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  max-width: 100%;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 16px;
}

.funding-alert-card {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.038));
  color: var(--ink);
  padding: 13px;
}

.funding-alert-card.warn {
  border-color: rgba(255, 213, 74, 0.26);
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 213, 74, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.038));
}

.funding-alert-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.funding-alert-card.warn span {
  color: #ffd54a;
}

.funding-alert-card strong {
  font-size: 17px;
  line-height: 1.3;
}

.funding-alert-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.funding-alert button {
  min-width: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.78);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.ops-control-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  min-width: 0;
  max-width: 100%;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.038));
  padding: 12px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ops-control-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.ops-control-panel input,
.ops-control-panel select {
  min-height: 38px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--ink);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 760;
}

.ops-control-panel select option {
  background: #08101f;
  color: var(--ink);
}

.ops-control-panel button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.8);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.ops-filter-summary {
  grid-column: 1 / -1;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 26px;
}

.ops-filter-summary span,
.ops-state-note {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  color: rgba(247, 251, 255, 0.78);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
}

.ops-state-note {
  margin-top: 10px;
}

.ops-report-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 12%, rgba(88, 230, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.038));
  color: var(--ink);
  padding: 14px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ops-report-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.ops-report-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.ops-report-head strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
}

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

.ops-report-actions button,
.ops-report-actions a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.82);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.ops-report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
  min-width: 0;
  gap: 8px;
}

.ops-report-card {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  padding: 10px;
}

.ops-report-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.ops-report-card strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.ops-report-card small {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.ops-report-insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 174px), 1fr));
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  scroll-snap-type: none;
}

.ops-report-insights::-webkit-scrollbar {
  display: none;
}

.ops-report-insights span {
  min-width: 0;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(217, 255, 98, 0.2);
  border-radius: 8px;
  background: rgba(217, 255, 98, 0.075);
  color: var(--accent-ink);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 850;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ops-data-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: -4px 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 8%, rgba(217, 255, 98, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.032));
  color: var(--ink);
  padding: 14px;
}

.ops-data-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.ops-data-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.ops-data-head strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.ops-data-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ops-data-actions {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ops-data-actions a,
.ops-data-import-label {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.84);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.ops-data-actions a {
  border-color: rgba(217, 255, 98, 0.28);
  color: var(--accent-ink);
}

.ops-data-import-label input {
  position: absolute;
  inline-size: 0;
  block-size: 0;
  border: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  clip-path: inset(50%);
  pointer-events: none;
}

.ops-data-status {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ops-data-status span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  color: var(--muted);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.ops-runtime-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: -4px 0 16px;
  border: 1px solid rgba(88, 230, 255, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 10%, rgba(88, 230, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.032));
  color: var(--ink);
  padding: 14px;
}

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

.ops-runtime-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.ops-runtime-head strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.ops-runtime-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ops-role-switch {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.ops-role-switch button {
  min-width: 0;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(247, 251, 255, 0.78);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.ops-role-switch button.is-active {
  border-color: rgba(217, 255, 98, 0.28);
  background: rgba(217, 255, 98, 0.1);
  color: var(--accent-ink);
}

.ops-runtime-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ops-runtime-grid article {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  padding: 10px;
}

.ops-runtime-grid span,
.ops-runtime-grid strong,
.ops-runtime-grid small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.ops-runtime-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.ops-runtime-grid strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 15px;
}

.ops-runtime-grid small {
  margin-top: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.ops-runtime-status {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ops-runtime-status span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  color: var(--muted);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.ops-action-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.032));
  color: var(--ink);
  padding: 14px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ops-action-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.ops-action-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.ops-action-head strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
}

.ops-action-head b {
  min-width: 38px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(217, 255, 98, 0.22);
  border-radius: 8px;
  background: rgba(217, 255, 98, 0.08);
  color: var(--accent-ink);
}

.ops-action-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  min-width: 0;
  max-width: 100%;
  gap: 8px;
}

.ops-action-card {
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  padding: 11px;
}

.ops-action-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.ops-action-card strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.ops-action-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.ops-action-card button {
  min-height: 32px;
  border: 1px solid rgba(88, 230, 255, 0.24);
  border-radius: 8px;
  background: rgba(88, 230, 255, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.workroom-section {
  padding: 76px 0 0;
}

.workroom-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--panel-gap);
}

.workroom-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.038));
  color: var(--ink);
  padding: 16px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.workroom-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.workroom-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.workroom-head h3 {
  margin: 6px 0 0;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.workroom-head strong {
  min-width: 52px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(217, 255, 98, 0.18);
  border-radius: 8px;
  background: rgba(217, 255, 98, 0.08);
  color: var(--accent-ink);
  font-size: 14px;
}

.workroom-card p {
  min-height: 42px;
  margin: 12px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--accent-ink));
}

.workroom-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.workroom-stage-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.workroom-stage-rail span {
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 8px;
}

.workroom-stage-rail span.is-done {
  border-color: rgba(217, 255, 98, 0.24);
  background: rgba(217, 255, 98, 0.08);
}

.workroom-stage-rail span.is-current {
  border-color: rgba(88, 230, 255, 0.28);
  background: rgba(88, 230, 255, 0.1);
}

.workroom-stage-rail b {
  color: var(--ink);
  font-size: 11px;
  line-height: 1.25;
}

.workroom-stage-rail small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.proposal-panel {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin-top: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
  padding: 12px;
}

.proposal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.proposal-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.proposal-head b {
  color: var(--accent-ink);
  font-size: 12px;
}

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

.proposal-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 10px;
}

.proposal-card.is-selected {
  border-color: rgba(217, 255, 98, 0.26);
  background: rgba(217, 255, 98, 0.07);
}

.proposal-card.is-rejected {
  border-color: rgba(255, 111, 111, 0.22);
  background: rgba(255, 111, 111, 0.045);
  opacity: 0.78;
}

.proposal-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.proposal-card h4 {
  margin: 4px 0 5px;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 0;
}

.proposal-card p {
  min-height: auto;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.proposal-meta {
  display: grid;
  gap: 5px;
  align-content: start;
  min-width: 92px;
  text-align: right;
}

.proposal-meta span {
  color: rgba(247, 251, 255, 0.78);
  font-size: 12px;
}

.proposal-meta strong {
  color: var(--accent-ink);
  font-size: 16px;
  line-height: 1;
}

.proposal-fit-rail,
.proposal-decision-strip {
  min-width: 0;
  max-width: 100%;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.proposal-fit-rail {
  margin-top: 8px;
}

.proposal-decision-strip {
  margin-top: 2px;
}

.proposal-fit-rail::-webkit-scrollbar,
.proposal-decision-strip::-webkit-scrollbar {
  display: none;
}

.proposal-fit-rail span,
.proposal-decision-strip span {
  flex: 0 0 auto;
  min-height: 30px;
  border: 1px solid rgba(88, 230, 255, 0.18);
  border-radius: 8px;
  background: rgba(88, 230, 255, 0.055);
  color: rgba(247, 251, 255, 0.76);
  padding: 6px 8px;
  scroll-snap-align: start;
}

.proposal-decision-strip b,
.proposal-decision-strip small {
  display: block;
  white-space: nowrap;
  line-height: 1.2;
}

.proposal-decision-strip b {
  color: #fff;
  font-size: 11px;
}

.proposal-decision-strip small {
  margin-top: 3px;
  color: rgba(247, 251, 255, 0.62);
  font-size: 11px;
  font-weight: 750;
}

.proposal-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 118px), 1fr));
  gap: 7px;
}

.proposal-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.78);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.proposal-actions button.primary {
  border-color: var(--surface-strong);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
}

.proposal-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.custom-offer-panel {
  min-width: 0;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(88, 230, 255, 0.18);
  border-radius: 8px;
  background: rgba(88, 230, 255, 0.06);
  padding: 12px;
}

.custom-offer-panel.is-empty {
  background: rgba(255, 255, 255, 0.035);
}

.custom-offer-panel.is-accepted {
  border-color: rgba(217, 255, 98, 0.25);
  background: rgba(217, 255, 98, 0.075);
}

.custom-offer-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.custom-offer-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.custom-offer-head h4 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0;
}

.custom-offer-head strong {
  color: var(--accent-ink);
  white-space: nowrap;
}

.custom-offer-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.custom-offer-rail::-webkit-scrollbar {
  display: none;
}

.custom-offer-rail span {
  flex: 0 0 auto;
  min-width: 132px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  padding: 10px;
  scroll-snap-align: start;
}

.custom-offer-rail b,
.custom-offer-rail small {
  display: block;
}

.custom-offer-rail b {
  color: var(--ink);
  font-size: 12px;
}

.custom-offer-rail small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.custom-offer-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
}

.custom-offer-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.78);
  padding: 0 10px;
  font-weight: 850;
  cursor: pointer;
}

.custom-offer-actions button.primary {
  border-color: var(--surface-strong);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
}

.custom-offer-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.message-panel {
  display: grid;
  gap: 10px;
  margin-top: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  padding: 12px;
}

.message-head,
.message-row,
.message-quick,
.message-compose {
  display: flex;
  gap: 8px;
}

.message-head {
  justify-content: space-between;
  align-items: center;
}

.message-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.message-head b {
  color: var(--accent-ink);
  font-size: 12px;
}

.message-list {
  display: grid;
  gap: 7px;
}

.message-row {
  align-items: start;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 9px;
}

.message-row.system {
  background: rgba(88, 230, 255, 0.08);
}

.message-row span {
  flex: 0 0 44px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.message-row p {
  min-height: auto;
  margin: 0;
  color: rgba(247, 251, 255, 0.78);
  font-size: 12px;
  line-height: 1.45;
}

.message-quick {
  flex-wrap: wrap;
}

.message-quick button,
.message-compose button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.78);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.message-compose input {
  min-width: 0;
  flex: 1;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--ink);
  padding: 0 10px;
}

.message-compose input::placeholder {
  color: rgba(247, 251, 255, 0.45);
}

.message-quick button:disabled,
.message-compose button:disabled,
.message-compose input:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.attachment-panel {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin-top: 13px;
  border: 1px solid rgba(88, 230, 255, 0.18);
  border-radius: 8px;
  background: rgba(88, 230, 255, 0.055);
  padding: 12px;
}

.attachment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.attachment-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.attachment-head b {
  color: var(--accent-ink);
  font-size: 12px;
}

.attachment-list {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 8px;
}

.attachment-row,
.attachment-empty {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  padding: 10px;
}

.attachment-row {
  display: grid;
  gap: 7px;
}

.attachment-row span {
  width: fit-content;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(217, 255, 98, 0.2);
  border-radius: 999px;
  background: rgba(217, 255, 98, 0.07);
  color: var(--accent-ink);
  padding: 0 8px;
  font-size: 11px;
  font-weight: 900;
}

.attachment-row b,
.attachment-row small,
.attachment-row em,
.attachment-empty strong,
.attachment-empty small {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.attachment-row b,
.attachment-empty strong {
  color: var(--ink);
  font-size: 13px;
}

.attachment-row small,
.attachment-row em,
.attachment-empty small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.attachment-row em {
  font-style: normal;
}

.attachment-api-chip {
  width: fit-content;
  border: 1px solid rgba(88, 230, 255, 0.22);
  border-radius: 999px;
  background: rgba(88, 230, 255, 0.08);
  color: var(--accent);
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 950;
}

.attachment-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
  gap: 8px;
}

.attachment-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.78);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.attachment-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.review-panel {
  display: grid;
  gap: 10px;
  margin-top: 13px;
  border: 1px solid rgba(217, 255, 98, 0.16);
  border-radius: 8px;
  background: rgba(217, 255, 98, 0.055);
  padding: 12px;
}

.review-panel.is-locked {
  border-color: var(--line-soft);
  background: rgba(0, 0, 0, 0.1);
}

.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.review-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.review-head b {
  color: var(--accent-ink);
  font-size: 12px;
}

.review-text {
  min-height: auto;
  margin: 0;
  color: rgba(247, 251, 255, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.review-form {
  display: grid;
  grid-template-columns: minmax(64px, 0.25fr) minmax(0, 1fr) auto;
  gap: 8px;
}

.review-form select,
.review-form input {
  min-width: 0;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--ink);
  padding: 0 10px;
}

.review-form select option {
  color: #101828;
}

.review-form input::placeholder {
  color: rgba(247, 251, 255, 0.45);
}

.review-form button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.review-form select:disabled,
.review-form input:disabled,
.review-form button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.workroom-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
  gap: 7px;
  margin-top: 13px;
}

.workroom-actions button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.78);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.workroom-actions button.primary {
  border-color: var(--surface-strong);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
}

.workroom-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.ghost-action {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  padding: 0 13px;
  font-weight: 850;
  cursor: pointer;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  max-width: 100%;
  gap: 16px;
}

.ops-panel {
  min-width: 0;
  max-width: 100%;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
}

.ops-panel-head {
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ops-panel-head > * {
  min-width: 0;
}

.ops-panel-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.ops-panel-head strong {
  min-width: 34px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #edf7f3;
  color: var(--accent-ink);
}

.ops-list {
  display: grid;
  min-width: 0;
  max-width: 100%;
  gap: 10px;
}

.ops-list.compact {
  margin-top: 2px;
}

.ops-empty {
  display: grid;
  place-items: center;
  min-height: 138px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  padding: 16px;
}

.ops-item {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fbfcfe;
  padding: 13px;
}

.ops-item h3 {
  margin: 0;
  color: #101828;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.ops-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.ops-meta,
.ops-actions {
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ops-meta {
  flex-wrap: wrap;
  margin-top: 10px;
}

.status-pill {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: #f3f5f8;
  color: #475467;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 850;
}

.status-pill.good {
  background: #e9fbf4;
  color: var(--accent-ink);
}

.status-pill.warn {
  background: #fff7dd;
  color: #7c5600;
}

.status-pill.lock {
  background: #fff1f1;
  color: #9b1c1c;
}

.ops-actions {
  flex-wrap: wrap;
  margin-top: 12px;
}

.deposit-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(74px, auto));
  min-width: 0;
  max-width: 100%;
  gap: 8px;
  align-items: center;
}

.charge-review-summary,
.charge-review-strip {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 126px), 1fr));
  gap: 6px;
  overflow: visible;
  scroll-snap-type: none;
}

.charge-review-summary::-webkit-scrollbar,
.charge-review-strip::-webkit-scrollbar {
  display: none;
}

.charge-review-summary {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(88, 230, 255, 0.06);
  padding: 8px;
}

.charge-review-strip {
  margin-top: 10px;
}

.charge-review-summary span,
.charge-review-strip span {
  min-width: 0;
  min-height: 32px;
  display: grid;
  align-content: center;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #344054;
  padding: 4px 9px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.charge-review-summary b,
.charge-review-summary small,
.charge-review-strip b,
.charge-review-strip small {
  min-width: 0;
  display: block;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
}

.charge-review-summary b,
.charge-review-strip b {
  color: #101828;
  font-size: 11px;
  font-weight: 900;
}

.charge-review-summary small,
.charge-review-strip small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.charge-review-summary .is-credit-only,
.charge-review-strip .is-credit-only,
.charge-review-strip .is-safe {
  border-color: rgba(88, 230, 255, 0.22);
  background: rgba(88, 230, 255, 0.1);
}

.charge-review-strip .is-credit,
.charge-review-strip .is-approved {
  border-color: rgba(217, 255, 98, 0.28);
  background: rgba(217, 255, 98, 0.13);
}

.charge-review-strip .is-waiting {
  border-color: rgba(255, 187, 84, 0.34);
  background: rgba(255, 247, 221, 0.82);
}

.charge-review-strip .is-held {
  border-color: rgba(255, 129, 129, 0.24);
  background: rgba(255, 241, 241, 0.88);
}

.review-moderation-card {
  border-color: rgba(149, 117, 255, 0.18);
}

.review-moderation-summary,
.review-moderation-strip {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 118px), 1fr));
  gap: 6px;
}

.review-moderation-summary {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(149, 117, 255, 0.075);
  padding: 8px;
}

.review-moderation-strip {
  margin-top: 10px;
}

.review-moderation-summary span,
.review-moderation-strip span {
  min-width: 0;
  min-height: 32px;
  display: grid;
  align-content: center;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #344054;
  padding: 4px 9px;
  overflow-wrap: anywhere;
}

.review-moderation-summary b,
.review-moderation-summary small,
.review-moderation-strip b,
.review-moderation-strip small {
  min-width: 0;
  display: block;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.review-moderation-summary b,
.review-moderation-strip b {
  color: #101828;
  font-size: 11px;
  font-weight: 900;
}

.review-moderation-summary small,
.review-moderation-strip small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.review-moderation-summary .is-published {
  border-color: rgba(217, 255, 98, 0.28);
  background: rgba(217, 255, 98, 0.13);
}

.review-moderation-summary .is-hidden {
  border-color: rgba(255, 129, 129, 0.24);
  background: rgba(255, 241, 241, 0.88);
}

.review-moderation-summary .is-flagged {
  border-color: rgba(255, 187, 84, 0.34);
  background: rgba(255, 247, 221, 0.82);
}

.review-moderation-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(72px, auto));
  min-width: 0;
  max-width: 100%;
  gap: 8px;
  align-items: center;
}

.ops-note-input {
  min-height: 34px;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 750;
}

.ops-actions button,
.seller-service-form button {
  min-height: 34px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  padding: 0 11px;
  font-weight: 850;
  cursor: pointer;
}

.ops-actions button.primary,
.seller-service-form button {
  border-color: var(--surface-strong);
  background: var(--surface-strong);
  color: #fff;
}

.seller-service-form {
  display: grid;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fbfcfe;
}

.seller-service-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 850;
}

.seller-service-form input,
.seller-service-form select,
.seller-service-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
}

.seller-service-form input,
.seller-service-form select {
  height: 38px;
}

.seller-service-form textarea {
  min-height: 76px;
  padding-block: 10px;
  resize: vertical;
  line-height: 1.45;
}

.seller-package-editor,
.seller-addon-editor,
.seller-coupon-editor,
.seller-faq-editor,
.seller-consult-editor,
.seller-requirement-editor,
.seller-sample-editor {
  min-width: 0;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.035);
  padding: 10px;
}

.seller-package-editor > div:first-child,
.seller-addon-editor > div:first-child,
.seller-coupon-editor > div:first-child,
.seller-faq-editor > div:first-child,
.seller-consult-editor > div:first-child,
.seller-requirement-editor > div:first-child,
.seller-sample-editor > div:first-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.seller-package-editor span,
.seller-addon-editor span,
.seller-coupon-editor span,
.seller-faq-editor span,
.seller-consult-editor span,
.seller-requirement-editor span,
.seller-sample-editor span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
}

.seller-package-editor strong,
.seller-addon-editor strong,
.seller-coupon-editor strong,
.seller-faq-editor strong,
.seller-consult-editor strong,
.seller-requirement-editor strong,
.seller-sample-editor strong {
  color: #101828;
  font-size: 13px;
  font-weight: 950;
}

.seller-package-editor small,
.seller-addon-editor small,
.seller-coupon-editor small,
.seller-faq-editor small,
.seller-consult-editor small,
.seller-requirement-editor small,
.seller-sample-editor small {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.seller-package-grid,
.seller-addon-grid,
.seller-coupon-grid,
.seller-faq-grid,
.seller-consult-grid,
.seller-requirement-grid,
.seller-sample-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.55fr) minmax(0, 1.5fr);
  gap: 8px;
}

.seller-package-grid label,
.seller-addon-grid label,
.seller-coupon-grid label,
.seller-faq-grid label,
.seller-consult-grid label,
.seller-requirement-grid label,
.seller-sample-grid label {
  min-width: 0;
  gap: 5px;
  font-size: 11px;
}

.seller-package-grid input,
.seller-addon-grid input,
.seller-coupon-grid input,
.seller-faq-grid input,
.seller-consult-grid input,
.seller-requirement-grid input,
.seller-sample-grid input {
  min-width: 0;
  height: 36px;
  font-size: 12px;
}

.seller-faq-grid textarea,
.seller-requirement-grid textarea,
.seller-sample-grid textarea {
  min-width: 0;
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.4;
  resize: vertical;
  overflow-wrap: anywhere;
}

.seller-faq-grid {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.5fr);
}

.seller-consult-grid {
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.65fr) minmax(0, 1fr) minmax(0, 1.4fr);
}

.seller-requirement-grid {
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.25fr) minmax(0, 1.4fr);
}

.seller-sample-grid {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr) minmax(0, 1.55fr);
}

.seller-faq-grid .faq-answer {
  min-width: 0;
}

.seller-consult-grid .consult-note {
  min-width: 0;
}

.seller-requirement-grid .requirement-copy {
  min-width: 0;
}

.seller-sample-grid .sample-caption {
  min-width: 0;
}

.seller-service-edit-state {
  min-width: 0;
  border: 1px solid rgba(88, 230, 255, 0.18);
  border-radius: 8px;
  background: rgba(88, 230, 255, 0.08);
  color: var(--accent);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.seller-service-form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.seller-service-form-actions button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.78);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 760px) {
  .seller-package-grid,
  .seller-addon-grid,
  .seller-coupon-grid,
  .seller-faq-grid,
  .seller-consult-grid,
  .seller-requirement-grid,
  .seller-sample-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .seller-package-grid .package-scope,
  .seller-addon-grid .addon-note,
  .seller-faq-grid .faq-answer,
  .seller-consult-grid .consult-note,
  .seller-requirement-grid .requirement-copy,
  .seller-sample-grid .sample-caption {
    grid-column: 1 / -1;
  }
}

/* Accessible navigation and compact home */
[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 100;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: #07111f;
  color: #fff;
  padding: 0 14px;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  outline: none;
  transform: translateY(0);
}

#main-content:focus {
  outline: none;
}

.platform-topbar {
  grid-template-columns: auto minmax(360px, 1fr) minmax(150px, 180px) auto;
}

.top-links {
  justify-content: center;
  overflow: visible;
  scroll-snap-type: none;
}

.top-links a {
  justify-content: center;
}

.workspace-menu {
  min-width: 0;
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  padding: 0 32px 0 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.workspace-menu:hover,
.workspace-menu:focus-visible {
  border-color: rgba(88, 230, 255, 0.5);
  background: rgba(88, 230, 255, 0.12);
}

.workspace-menu option,
.workspace-menu optgroup {
  background: #0b1424;
  color: #f7fbff;
}

.hero-section {
  gap: 22px;
  padding: 38px 0 24px;
}

.hero-copy h1 {
  font-size: 48px;
  line-height: 1.08;
}

.hero-summary {
  margin-top: 13px;
  font-size: 16px;
  line-height: 1.55;
}

.search-panel {
  margin-top: 17px;
}

.deal-board {
  min-height: 360px;
  padding: 18px;
}

.deal-row {
  margin-top: 9px;
  padding: 12px;
}

.deal-metrics {
  margin-top: 14px;
}

.intent-section {
  padding-top: 22px;
}

.intent-card {
  min-height: 138px;
}

.workspace-panel {
  min-height: 0;
}

@media (min-width: 761px) and (max-width: 1120px) {
  .hero-section {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    align-items: start;
    gap: 18px;
    padding: 28px 0 20px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-summary {
    font-size: 14px;
    line-height: 1.5;
  }

  .deal-board {
    min-height: 0;
    padding: 14px;
  }

  .deal-row {
    gap: 9px;
    margin-top: 7px;
    padding: 9px;
  }

  .deal-row small {
    margin-top: 2px;
    font-size: 11px;
  }

  .deal-metrics {
    gap: 6px;
    margin-top: 9px;
  }

  .deal-metrics article {
    padding: 10px 6px;
  }

  .deal-metrics b {
    font-size: 17px;
  }
}

@media (max-width: 760px) {
  .platform-topbar {
    min-height: 52px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand menu actions";
    gap: 8px;
    padding: 7px;
  }

  .top-links {
    display: none;
  }

  .workspace-menu {
    grid-area: menu;
    min-height: 38px;
  }

  .window-actions {
    grid-area: actions;
  }

  main {
    padding-top: 72px;
  }

  .hero-section {
    gap: 10px;
    padding: 10px 0 12px;
  }

  .hero-copy h1 {
    font-size: 28px;
    line-height: 1.12;
  }

  .hero-summary {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.42;
  }

  .search-panel {
    margin-top: 10px;
  }

  .deal-board {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
  }

  .deal-board-head {
    grid-column: 1 / -1;
    margin: 0 0 2px;
  }

  .deal-row {
    min-width: 0;
    display: grid;
    align-content: space-between;
    gap: 6px;
    margin: 0;
    padding: 8px;
  }

  .deal-row .avatar,
  .deal-row small,
  .deal-metrics {
    display: none;
  }

  .deal-row b {
    font-size: 11px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .deal-row strong {
    font-size: 11px;
  }

  .intent-section {
    padding-top: 14px;
  }

  .intent-card {
    min-height: 104px;
  }
}

/* Scroll-scrub home */
html,
body,
.app-shell {
  overflow-x: clip;
}

.hero-section.scroll-cinema {
  --cinema-progress: 0;
  position: relative;
  display: block !important;
  height: 500svh;
  padding: 0 !important;
  isolation: isolate;
}

.hero-section.scroll-cinema[hidden] {
  display: none !important;
}

.cinema-stage {
  position: sticky;
  top: 76px;
  height: calc(100svh - 88px);
  overflow: hidden;
  border-radius: 8px;
  background: #02050b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.cinema-stage::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(1, 4, 10, 0.94) 0%, rgba(1, 4, 10, 0.78) 30%, rgba(1, 4, 10, 0.3) 56%, rgba(1, 4, 10, 0.08) 100%),
    linear-gradient(180deg, rgba(1, 4, 10, 0.04) 58%, rgba(1, 4, 10, 0.38) 100%);
  content: "";
  pointer-events: none;
}

.cinema-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  background: #02050b;
  filter: saturate(0.9) contrast(1.05) brightness(0.94);
  transform: translateX(7%) scale(0.94);
  transform-origin: right center;
}

.cinema-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.cinema-step {
  position: absolute;
  top: 39%;
  left: clamp(30px, 5.5%, 70px);
  width: min(560px, calc(100% - 140px));
  visibility: hidden;
  opacity: 0;
  transform: translate3d(0, calc(-50% + 24px), 0);
  transition: opacity 320ms ease, transform 480ms ease;
  pointer-events: none;
}

.cinema-step.is-active {
  visibility: visible;
  opacity: 1;
  transform: translate3d(0, -50%, 0);
  pointer-events: auto;
}

.cinema-step .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #62d9ab;
  font-size: 11px;
  line-height: 1.2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.cinema-step .eyebrow::before {
  width: 26px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.cinema-step h1,
.cinema-step h2 {
  max-width: none;
  margin: 0;
  color: #fff;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: 0;
  word-break: keep-all;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.85);
}

.cinema-step h1 span,
.cinema-step h2 span {
  display: block;
  white-space: nowrap;
}

.cinema-step > p:not(.eyebrow) {
  max-width: 50ch;
  margin: 16px 0 0;
  color: rgba(247, 251, 255, 0.86);
  font-size: 15px;
  line-height: 1.62;
  word-break: keep-all;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}

.cinema-step > .hero-summary {
  display: block;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.cinema-search-dock {
  position: absolute;
  left: clamp(30px, 5.5%, 70px);
  bottom: 24px;
  z-index: 4;
  width: min(560px, calc(100% - 140px));
}

.cinema-search-dock .search-panel {
  max-width: none;
  margin: 0;
}

.cinema-search-dock .search-panel div {
  min-height: 56px;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(6, 10, 18, 0.82);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.cinema-search-dock .search-panel input {
  color: #fff;
}

.cinema-search-dock .search-panel input::placeholder {
  color: rgba(247, 251, 255, 0.48);
}

.cinema-search-dock .search-panel button {
  min-width: 74px;
  border-radius: 6px;
  background: #62d9ab;
  color: #03100c;
  box-shadow: none;
}

.cinema-search-dock .search-panel button:is(:hover, :focus-visible) {
  background: #81e7c0;
}

.cinema-search-dock .quick-tags {
  margin-top: 10px;
}

.cinema-search-dock .quick-tags button {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(6, 10, 18, 0.66);
  color: rgba(247, 251, 255, 0.76);
}

@media (min-width: 1051px) {
  .cinema-search-dock {
    right: clamp(30px, 5.5%, 70px);
    width: auto;
    display: grid;
    grid-template-columns: minmax(420px, 560px) minmax(0, 1fr);
    align-items: end;
    gap: 20px;
  }

  .cinema-search-dock .quick-tags {
    min-width: 0;
    justify-content: flex-end;
    margin: 0 96px 0 0;
  }

  .cinema-search-dock .quick-tags button {
    white-space: nowrap;
  }
}

@media (min-width: 1051px) and (max-width: 1240px) {
  .cinema-search-dock {
    grid-template-columns: minmax(420px, 500px) minmax(0, 1fr);
  }

  .cinema-search-dock .quick-tags button:nth-child(n + 3) {
    display: none;
  }
}

@media (min-width: 901px) and (max-width: 1050px) {
  .cinema-search-dock .quick-tags {
    display: none;
  }
}

.cinema-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.cinema-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.cinema-actions .primary-action {
  background: #62d9ab;
  color: #03100c;
}

.cinema-actions .ghost-action {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(6, 10, 18, 0.7);
  color: #fff;
}

.cinema-rail {
  position: absolute;
  top: 50%;
  right: 24px;
  z-index: 3;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.cinema-rail button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cinema-rail button::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  content: "";
  transition: height 180ms ease, background 180ms ease;
}

.cinema-rail button:is(:hover, :focus-visible)::before,
.cinema-rail button.is-active::before {
  height: 20px;
  background: #62d9ab;
}

.cinema-rail button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}

.cinema-progress {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.cinema-progress span:first-child {
  color: #fff;
  font-weight: 800;
}

.cinema-progress i {
  width: 62px;
  height: 2px;
  overflow: hidden;
  margin-left: 5px;
  background: rgba(255, 255, 255, 0.18);
}

.cinema-progress b {
  width: 100%;
  height: 100%;
  display: block;
  background: #62d9ab;
  transform: scaleX(var(--cinema-progress));
  transform-origin: left center;
}

.cinema-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.64);
  font-size: 20px;
  line-height: 1;
  animation: cinema-cue 1.5s ease-in-out infinite;
}

@keyframes cinema-cue {
  0%,
  100% {
    transform: translate(-50%, -3px);
  }
  50% {
    transform: translate(-50%, 4px);
  }
}

@media (max-width: 900px) {
  .hero-section.scroll-cinema {
    height: 450svh;
  }

  .cinema-step h1,
  .cinema-step h2 {
    font-size: 36px;
  }
}

@media (max-width: 760px) {
  .hero-section.scroll-cinema {
    height: 420svh;
  }

  .cinema-stage {
    top: 72px;
    height: calc(100svh - 84px);
    border-radius: 6px;
  }

  .cinema-video {
    object-position: 70% center;
    transform: translateX(6%) scale(0.98);
  }

  .cinema-stage::after {
    background:
      linear-gradient(90deg, rgba(1, 4, 10, 0.56) 0%, rgba(1, 4, 10, 0.12) 78%),
      linear-gradient(180deg, rgba(1, 4, 10, 0.04) 24%, rgba(1, 4, 10, 0.76) 66%, rgba(1, 4, 10, 0.94) 100%);
  }

  .cinema-step {
    top: auto;
    bottom: 160px;
    left: 18px;
    width: calc(100% - 36px);
    transform: translate3d(0, 18px, 0);
  }

  .cinema-step.is-active {
    transform: translate3d(0, 0, 0);
  }

  .cinema-step .eyebrow {
    margin-bottom: 9px;
    font-size: 9px;
  }

  .cinema-step .eyebrow::before {
    width: 18px;
  }

  .cinema-step h1,
  .cinema-step h2 {
    max-width: none;
    font-size: 28px;
    line-height: 1.1;
  }

  .cinema-step > p:not(.eyebrow) {
    max-width: 35ch;
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.55;
  }

  .cinema-search-dock {
    left: 18px;
    bottom: 52px;
    width: calc(100% - 36px);
  }

  .cinema-search-dock .search-panel div {
    min-height: 48px;
    padding-left: 12px;
  }

  .cinema-search-dock .search-panel input {
    min-width: 0;
    font-size: 12px;
  }

  .cinema-search-dock .search-panel button {
    min-width: 60px;
    min-height: 38px;
    padding-inline: 10px;
  }

  .cinema-search-dock .quick-tags {
    display: none;
  }

  .cinema-actions {
    margin-top: 18px;
  }

  .cinema-actions a {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 13px;
  }

  .cinema-rail {
    top: 22px;
    right: 12px;
    display: flex;
    transform: none;
  }

  .cinema-rail button:is(:hover, :focus-visible)::before,
  .cinema-rail button.is-active::before {
    width: 20px;
    height: 5px;
  }

  .cinema-progress {
    right: 15px;
    bottom: 15px;
  }

  .cinema-scroll-cue {
    left: 22px;
    bottom: 16px;
  }
}

@media (max-width: 340px) {
  .cinema-step h1,
  .cinema-step h2 {
    font-size: 25px;
  }

  .cinema-step h1 span,
  .cinema-step h2 span {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section.scroll-cinema {
    height: auto;
  }

  .cinema-stage {
    position: relative;
    top: auto;
    min-height: min(720px, calc(100svh - 88px));
  }

  .cinema-video {
    transform: none;
  }

  .cinema-step:not([data-cinema-step="0"]),
  .cinema-rail,
  .cinema-progress,
  .cinema-scroll-cue {
    display: none;
  }

  .cinema-step {
    transition: none;
  }
}

/* Real imagery replaces the previous CSS mockups. */
.hero-showcase {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #08101c;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.hero-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(3, 7, 14, 0.82));
  pointer-events: none;
}

.hero-showcase img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 68% center;
}

.hero-showcase figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  display: grid;
  gap: 3px;
}

.hero-showcase figcaption strong,
.hero-showcase figcaption span {
  display: block;
  color: #fff;
  line-height: 1.35;
}

.hero-showcase figcaption strong {
  font-size: 14px;
  font-weight: 900;
}

.hero-showcase figcaption span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
}

.intent-grid {
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intent-card,
.intent-card:hover,
.intent-card:focus-visible {
  min-height: 112px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.intent-card:last-child {
  border-right: 0;
}

.intent-card:hover,
.intent-card:focus-visible {
  background: rgba(98, 217, 171, 0.055);
  transform: none;
}

.service-art {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 8.5;
  background: #0d1218;
  overflow: hidden;
}

.service-art::after {
  content: none;
}

.service-art-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease;
}

.service-card:hover .service-art-image {
  transform: scale(1.025);
}

.service-art > span {
  left: 10px;
  bottom: 10px;
  z-index: 2;
  min-height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(7, 11, 18, 0.76);
  color: #fff;
  backdrop-filter: blur(8px);
}

.sample-preview {
  position: relative;
  min-height: 124px;
  align-content: end;
  isolation: isolate;
  background: #0d1218;
  overflow: hidden;
}

.sample-preview::after {
  content: "";
  position: absolute;
  inset: 36% 0 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(3, 7, 14, 0.9));
}

.sample-preview .service-art-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.sample-preview.sample-1 .service-art-image { object-position: 35% center; }
.sample-preview.sample-2 .service-art-image { object-position: 55% center; }
.sample-preview.sample-3 .service-art-image { object-position: 75% center; }

@media (max-width: 980px) {
  .hero-showcase {
    aspect-ratio: 16 / 7;
  }

  .intent-card:nth-child(2) {
    border-right: 0;
  }

  .intent-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .hero-showcase {
    aspect-ratio: 16 / 9;
  }

  .hero-showcase figcaption {
    right: 12px;
    bottom: 10px;
    left: 12px;
  }

  .intent-card,
  .intent-card:hover,
  .intent-card:focus-visible {
    min-height: 86px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intent-card:last-child {
    border-bottom: 0;
  }

  .service-art {
    aspect-ratio: 16 / 8;
  }
}

/* First page refresh: Overhouse-inspired compact product entry */
.hero-section {
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  align-items: stretch;
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(24px, 4vw, 48px) 0 18px;
}

.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.04;
  font-weight: 820;
}

.hero-summary {
  max-width: 620px;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.62;
}

.search-panel {
  max-width: 650px;
  margin-top: 20px;
}

.search-panel div {
  min-height: 54px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.hero-visual {
  display: flex;
  min-width: 0;
}

.deal-board {
  width: 100%;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border-color: rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(145deg, rgba(88, 230, 255, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.24);
}

.deal-board-head {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.deal-board-head span {
  color: var(--accent);
  font-size: 11px;
}

.deal-board-head strong {
  color: var(--ink);
  font-size: 14px;
}

.deal-row {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
}

.deal-row b {
  color: var(--ink);
}

.deal-row strong {
  color: var(--accent);
  font-size: 13px;
}

.deal-metrics {
  gap: 8px;
  margin-top: 0;
}

.deal-metrics article {
  min-width: 0;
  min-height: 70px;
  display: grid;
  place-content: center;
  padding: 10px 8px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.18);
}

.category-band {
  margin-top: 4px;
  padding: 8px 0 6px;
}

.intent-section {
  padding: 18px 0 10px;
}

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

.intent-card {
  min-height: 126px;
}

@media (max-width: 980px) {
  .hero-section {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 18px;
  }

  .hero-visual {
    display: block;
  }

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

  .deal-board-head,
  .deal-metrics {
    grid-column: 1 / -1;
  }

  .deal-row {
    display: grid;
    gap: 8px;
    align-content: space-between;
  }

  .deal-row .avatar {
    width: 34px;
    height: 34px;
  }

  .deal-row small {
    display: none;
  }

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

@media (max-width: 760px) {
  .hero-section {
    gap: 12px;
    padding: 12px 0 10px;
  }

  .hero-copy h1 {
    font-size: 32px;
    line-height: 1.1;
  }

  .hero-summary {
    max-width: 100%;
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.48;
    -webkit-line-clamp: 2;
  }

  .search-panel div {
    min-height: 46px;
  }

  .deal-board {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 10px;
  }

  .deal-row {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    padding: 8px;
  }

  .deal-row .avatar {
    display: grid;
    width: 30px;
    height: 30px;
  }

  .deal-row b {
    font-size: 12px;
  }

  .deal-row strong {
    font-size: 12px;
  }

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

  .deal-metrics article {
    min-height: 54px;
    padding: 7px 4px;
  }

  .deal-metrics b {
    font-size: 14px;
  }

  .deal-metrics span {
    font-size: 9.5px;
  }

  .intent-grid {
    grid-template-columns: 1fr;
  }

  .intent-card {
    min-height: 92px;
  }
}

/* Request brief layout */
#request.request-section {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 20px 28px;
  padding-top: 52px;
}

#request .request-intro {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 18px;
}

#request .section-head,
#request .brief-template-grid {
  grid-column: 1;
}

#request .section-head {
  align-self: start;
}

#request .brief-template-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

#request .brief-template-grid button {
  min-width: 0;
  min-height: 66px;
  padding: 12px 14px;
  font-weight: 800;
}

#request .request-form {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

#request .request-form label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

#request .request-form .form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#request .request-form .form-row:nth-of-type(2) {
  grid-template-columns: minmax(0, 1.5fr) minmax(170px, 0.5fr);
}

#request .request-form input,
#request .request-form select,
#request .request-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(4, 10, 24, 0.78);
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
  font-weight: 650;
}

#request .request-form textarea {
  min-height: 96px;
  padding-block: 10px;
  line-height: 1.45;
  resize: vertical;
}

#request .request-form input::placeholder,
#request .request-form textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 72%, transparent);
}

#request .request-form input:focus,
#request .request-form select:focus,
#request .request-form textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(88, 230, 255, 0.14);
}

#request .request-form > button[type="submit"] {
  min-height: 44px;
  border: 1px solid rgba(88, 230, 255, 0.34);
  border-radius: 7px;
  background: var(--accent);
  color: #04101a;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

@media (max-width: 900px) {
  #request.request-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-top: 28px;
  }

  #request .section-head,
  #request .brief-template-grid,
  #request .request-form {
    grid-column: 1;
    grid-row: auto;
  }

  #request .brief-template-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  #request .brief-template-grid,
  #request .request-form .form-row,
  #request .request-form .form-row:nth-of-type(2) {
    grid-template-columns: minmax(0, 1fr);
  }

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

  #request .request-form {
    gap: 12px;
    padding: 14px;
  }
}

/* Simplified visual system */
:root {
  --bg: #0b0e11;
  --surface: #151a1f;
  --surface-strong: #62d9ab;
  --ink: #f3f6f4;
  --muted: #9aa59f;
  --line: rgba(226, 236, 231, 0.12);
  --line-soft: rgba(226, 236, 231, 0.075);
  --accent: #62d9ab;
  --accent-ink: #f1c75b;
  --blue: #6da6ff;
  --violet: #a78cf2;
  --yellow: #f1c75b;
  --panel: #14191e;
  --panel-strong: #1a2026;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

body {
  background: var(--bg);
}

body::before {
  display: none;
}

main {
  width: min(1280px, calc(100% - (var(--page-gutter) * 2)));
}

.platform-topbar {
  top: 8px;
  width: min(1280px, calc(100% - (var(--page-gutter) * 2)));
  min-height: 50px;
  padding: 6px 8px;
  border-color: var(--line);
  border-radius: 8px;
  background: rgba(17, 21, 25, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.brand-mark {
  border-color: rgba(98, 217, 171, 0.28);
  background: rgba(98, 217, 171, 0.1);
}

.top-links a,
.workspace-menu,
.icon-button {
  border-radius: 6px;
}

.top-links a:hover,
.top-links a:focus-visible,
.top-links a.is-active,
.top-links a[aria-current="page"] {
  background: rgba(98, 217, 171, 0.1);
}

.top-links a.is-active,
.top-links a[aria-current="page"] {
  border-color: rgba(98, 217, 171, 0.24);
  color: var(--ink);
}

.workspace-menu {
  border-color: var(--line);
  background: #1a1f24;
}

.workspace-menu:hover,
.workspace-menu:focus-visible {
  border-color: rgba(98, 217, 171, 0.5);
  background: #1d2527;
}

.workspace-menu option,
.workspace-menu optgroup {
  background: #15191d;
  color: var(--ink);
}

.hero-section {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: start;
  gap: 28px;
  padding: 34px 0 24px;
}

.hero-copy h1 {
  max-width: 700px;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 850;
}

.hero-summary {
  max-width: 650px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
}

.eyebrow {
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 11px;
}

.search-panel {
  margin-top: 16px;
}

.search-panel div {
  min-height: 50px;
  padding: 4px 5px 4px 14px;
  border-color: var(--line);
  background: #151a1f;
  box-shadow: none;
}

.search-panel input {
  height: 40px;
  font-size: 14px;
}

.search-panel button,
.card-actions button.primary,
#request .request-form > button[type="submit"] {
  background: var(--accent);
  color: #07110d;
}

.quick-tags {
  gap: 6px;
  margin-top: 10px;
}

.quick-tags button,
.category-chip,
.sort-tabs button,
.panel-title button {
  border-radius: 6px;
  background: #14191e;
}

.deal-board,
.filter-panel,
.intent-card,
.service-card,
.expert-card,
.portfolio-card,
.workroom-card,
.order-card,
.token-panel,
.ops-panel,
#request .request-form {
  border-color: var(--line);
  border-radius: 8px;
  background: #14191e;
  box-shadow: none;
  backdrop-filter: none;
}

.deal-board {
  min-height: 0;
  padding: 14px;
}

.deal-board-head {
  margin-bottom: 8px;
}

.deal-row {
  gap: 10px;
  margin-top: 6px;
  padding: 9px 10px;
  border-color: var(--line-soft);
  background: #101418;
}

.deal-row .avatar {
  width: 36px;
  height: 36px;
  border-radius: 7px;
}

.deal-row b {
  font-size: 13px;
}

.deal-row small,
.deal-metrics span {
  color: var(--muted);
}

.deal-metrics {
  gap: 6px;
  margin-top: 8px;
}

.deal-metrics article {
  min-height: 58px;
  border-color: var(--line-soft);
  background: #101418;
}

.category-band {
  position: static;
  margin: 0;
  padding: 8px 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.category-chip.is-active,
.sort-tabs button.is-active {
  border-color: rgba(98, 217, 171, 0.34);
  background: rgba(98, 217, 171, 0.12);
  color: var(--ink);
}

.intent-section {
  padding: 20px 0 16px;
}

.section-head {
  gap: 14px;
}

.section-head h2,
.request-section h2 {
  font-size: 28px;
  line-height: 1.18;
}

.intent-grid {
  gap: 10px;
}

.intent-card {
  min-height: 104px;
  padding: 15px;
}

.intent-card:hover,
.intent-card:focus-visible {
  border-color: rgba(98, 217, 171, 0.35);
  background: #18211f;
}

.intent-card strong {
  font-size: 15px;
}

.intent-card small {
  color: var(--muted);
  line-height: 1.4;
}

.market-layout {
  gap: 14px;
  padding-top: 18px;
}

#services .filter-panel {
  grid-template-columns: 108px minmax(220px, 1fr) 150px 150px minmax(250px, auto);
  align-items: end;
  gap: 10px;
  padding: 12px;
  background: #14191e;
}

#services .filter-panel .panel-title {
  min-width: 0;
  padding: 0 12px 0 0;
  border-color: var(--line-soft);
}

#services .filter-panel .panel-title button {
  color: var(--accent);
}

#services .filter-panel select,
#services .filter-panel input[type="search"] {
  border-color: var(--line);
  background: #0f1317;
}

#services .filter-panel .check-group label {
  border-color: var(--line-soft);
  background: #101418;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 12px;
}

.service-card {
  overflow: hidden;
}

.service-art {
  min-height: 72px;
}

.service-art::after {
  inset: 8px;
  opacity: 0.35;
}

.service-art-visual {
  display: none;
}

.service-body {
  gap: 0;
  padding: 14px;
  background: #14191e;
}

.service-card h3 {
  min-height: 42px;
  margin: 7px 0 6px;
  font-size: 16px;
  line-height: 1.32;
}

.service-summary {
  min-height: 38px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
}

.service-card .rank-line,
.service-card .capacity-strip,
.service-card .package-strip,
.service-card .sample-strip,
.service-card .performance-strip,
.service-card .service-fit,
.service-card .tag-row,
.service-card .mini-fees,
.service-card [data-service-report] {
  display: none;
}

.rating-line {
  margin-top: 1px;
  padding-top: 9px;
  border-top: 1px solid var(--line-soft);
}

.price-line {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.price-line small {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.price-line strong {
  color: var(--accent);
  font-size: 12px;
}

.service-card .card-actions.is-four {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.service-card .card-actions button {
  min-height: 36px;
  border-radius: 6px;
}

@media (min-width: 761px) and (max-width: 1120px) {
  .hero-section {
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
    gap: 20px;
    padding: 26px 0 18px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  #services .filter-panel {
    grid-template-columns: 96px minmax(210px, 1fr) minmax(130px, 0.7fr) minmax(130px, 0.7fr);
  }

  #services .filter-panel .check-group {
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .platform-topbar {
    top: 8px;
    width: calc(100% - 16px);
    border-radius: 8px;
  }

  .hero-section {
    gap: 10px;
    padding: 12px 0 10px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-summary {
    font-size: 13px;
  }

  .deal-board {
    padding: 9px;
  }

  .deal-row {
    padding: 8px;
  }

  .category-band {
    padding-top: 6px;
  }

  .section-head h2,
  .request-section h2 {
    font-size: 24px;
  }

  .intent-card {
    min-height: 92px;
    padding: 12px;
  }

  #services .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 10px;
  }

  #services .filter-panel .panel-title,
  #services .filter-panel > label.filter-search,
  #services .filter-panel .check-group {
    grid-column: 1 / -1;
  }

  #services .filter-panel .panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: 0;
  }

  #services .filter-panel .check-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .service-art {
    min-height: 64px;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 13px;
  }

  .workspace-menu {
    font-size: 11px;
  }

  .service-card .card-actions.is-four {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .seller-package-grid,
  .seller-addon-grid,
  .seller-coupon-grid,
  .seller-faq-grid,
  .seller-consult-grid,
  .seller-requirement-grid,
  .seller-sample-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .seller-package-grid .package-scope,
  .seller-addon-grid .addon-note,
  .seller-faq-grid .faq-answer,
  .seller-consult-grid .consult-note,
  .seller-requirement-grid .requirement-copy,
  .seller-sample-grid .sample-caption {
    grid-column: auto;
  }
}

.request-card .form-row {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 12px;
}

.seller-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 24px;
  margin: 88px 0 70px;
  padding: 30px;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 213, 74, 0.22), transparent 30%),
    #101828;
  color: #fff;
}

.seller-copy h2 {
  color: #fff;
}

.seller-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.seller-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.seller-actions button {
  background: #fff;
  color: #101828;
}

.seller-actions a {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 850;
}

.seller-studio {
  grid-row: span 2;
  display: grid;
  gap: 12px;
  min-width: 0;
}

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

.seller-studio-summary article,
.seller-studio-panel,
.seller-studio-item {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.seller-studio-summary article {
  padding: 12px;
}

.seller-studio-summary span,
.seller-studio-summary small,
.seller-studio-item p {
  color: rgba(247, 251, 255, 0.68);
}

.seller-studio-summary span,
.seller-studio-summary strong,
.seller-studio-summary small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.seller-studio-summary span {
  font-size: 12px;
  font-weight: 850;
}

.seller-studio-summary strong {
  margin-top: 4px;
  color: #fff;
  font-size: 20px;
}

.seller-studio-summary small {
  margin-top: 4px;
  font-size: 12px;
}

.seller-studio-panel {
  padding: 14px;
}

.seller-studio-list {
  display: grid;
  gap: 10px;
}

.seller-studio-item {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.seller-studio-item.compact {
  gap: 8px;
}

.seller-studio-item h3 {
  margin: 6px 0 5px;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0;
}

.seller-studio-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.seller-mini-rail,
.seller-money-strip,
.seller-sla-strip,
.seller-consultation-strip,
.seller-offer-strip,
.seller-message-strip,
.seller-attachment-strip,
.brief-packet-strip,
.seller-requirement-strip,
.seller-milestone-strip,
.seller-studio-actions {
  min-width: 0;
  max-width: 100%;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.seller-mini-rail::-webkit-scrollbar,
.seller-money-strip::-webkit-scrollbar,
.seller-sla-strip::-webkit-scrollbar,
.seller-consultation-strip::-webkit-scrollbar,
.seller-offer-strip::-webkit-scrollbar,
.seller-message-strip::-webkit-scrollbar,
.seller-attachment-strip::-webkit-scrollbar,
.brief-packet-strip::-webkit-scrollbar,
.seller-requirement-strip::-webkit-scrollbar,
.seller-milestone-strip::-webkit-scrollbar,
.seller-studio-actions::-webkit-scrollbar {
  display: none;
}

.seller-mini-rail span,
.seller-money-strip span,
.seller-sla-strip span,
.seller-consultation-strip span,
.seller-offer-strip span,
.seller-message-strip span,
.seller-attachment-strip span,
.brief-packet-strip span,
.seller-requirement-strip span,
.seller-milestone-strip span,
.seller-state-pill {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  padding: 7px 9px;
  scroll-snap-align: start;
}

.seller-mini-rail span.is-done {
  border-color: rgba(217, 255, 98, 0.24);
  background: rgba(217, 255, 98, 0.1);
}

.seller-mini-rail b,
.seller-mini-rail small,
.seller-money-strip b,
.seller-money-strip small,
.seller-sla-strip b,
.seller-sla-strip small,
.seller-consultation-strip b,
.seller-consultation-strip small,
.seller-offer-strip b,
.seller-offer-strip small,
.seller-message-strip b,
.seller-message-strip small,
.seller-attachment-strip b,
.seller-attachment-strip small,
.brief-packet-strip b,
.brief-packet-strip small,
.seller-requirement-strip b,
.seller-requirement-strip small,
.seller-milestone-strip b,
.seller-milestone-strip small,
.seller-state-pill {
  display: block;
  white-space: nowrap;
  line-height: 1.2;
}

.seller-mini-rail b,
.seller-money-strip b,
.seller-sla-strip b,
.seller-consultation-strip b,
.seller-offer-strip b,
.seller-message-strip b,
.seller-attachment-strip b,
.brief-packet-strip b,
.seller-requirement-strip b,
.seller-milestone-strip b {
  color: #fff;
  font-size: 11px;
}

.seller-mini-rail small,
.seller-money-strip small,
.seller-sla-strip small,
.seller-consultation-strip small,
.seller-offer-strip small,
.seller-message-strip small,
.seller-attachment-strip small,
.brief-packet-strip small,
.seller-requirement-strip small,
.seller-milestone-strip small {
  margin-top: 3px;
  color: rgba(247, 251, 255, 0.62);
  font-size: 11px;
  font-weight: 750;
}

.seller-offer-strip span,
.brief-packet-strip span {
  border-color: rgba(88, 230, 255, 0.22);
  background: rgba(88, 230, 255, 0.06);
}

.seller-message-strip span {
  border-color: rgba(217, 255, 98, 0.22);
  background: rgba(217, 255, 98, 0.06);
}

.seller-attachment-strip span {
  min-width: 132px;
  border-color: rgba(88, 230, 255, 0.22);
  background: rgba(88, 230, 255, 0.06);
}

.seller-attachment-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
  overflow: visible;
  scroll-snap-type: none;
}

.seller-attachment-strip span {
  flex: initial;
  min-width: 0;
  width: auto;
  max-width: 100%;
  scroll-snap-align: unset;
}

.seller-mini-rail,
.seller-money-strip,
.brief-packet-strip,
.seller-requirement-strip,
.seller-milestone-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 118px), 1fr));
  overflow: visible;
  scroll-snap-type: none;
}

.seller-studio-actions {
  flex-wrap: wrap;
  overflow: visible;
  scroll-snap-type: none;
}

.seller-mini-rail span,
.seller-money-strip span,
.brief-packet-strip span,
.seller-requirement-strip span,
.seller-milestone-strip span {
  flex: initial;
  min-width: 0;
  max-width: 100%;
  scroll-snap-align: unset;
}

.seller-mini-rail b,
.seller-mini-rail small,
.seller-money-strip b,
.seller-money-strip small,
.brief-packet-strip b,
.brief-packet-strip small,
.seller-requirement-strip b,
.seller-requirement-strip small,
.seller-milestone-strip b,
.seller-milestone-strip small {
  white-space: normal;
  overflow-wrap: anywhere;
}

.seller-attachment-strip b,
.seller-attachment-strip small {
  white-space: normal;
  overflow-wrap: anywhere;
}

.seller-message-strip span.is-waiting {
  border-color: rgba(255, 213, 74, 0.3);
  background: rgba(255, 213, 74, 0.08);
}

.seller-message-strip span.is-locked {
  opacity: 0.7;
}

.seller-message-quick,
.seller-message-compose {
  min-width: 0;
  max-width: 100%;
  display: grid;
  gap: 7px;
}

.seller-message-quick {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 118px), 1fr));
}

.seller-message-compose {
  grid-template-columns: minmax(0, 1fr) auto;
}

.seller-message-compose input {
  min-width: 0;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 750;
}

.seller-message-compose input::placeholder {
  color: rgba(247, 251, 255, 0.42);
}

.seller-message-quick button,
.seller-message-compose button {
  min-width: 0;
  min-height: 34px;
  border: 1px solid rgba(217, 255, 98, 0.2);
  border-radius: 8px;
  background: rgba(217, 255, 98, 0.075);
  color: rgba(247, 251, 255, 0.86);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.seller-message-compose button {
  border-color: rgba(88, 230, 255, 0.22);
  background: rgba(88, 230, 255, 0.08);
}

.seller-message-quick button:disabled,
.seller-message-compose button:disabled,
.seller-message-compose input:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.brief-packet-strip.compact {
  margin-top: 8px;
}

.seller-requirement-strip span {
  border-color: rgba(82, 214, 163, 0.24);
  background: rgba(82, 214, 163, 0.07);
}

.seller-milestone-strip span {
  border-color: rgba(255, 213, 74, 0.28);
  background: rgba(255, 213, 74, 0.07);
}

.seller-sla-strip span {
  border-color: rgba(255, 187, 84, 0.28);
  background: rgba(255, 187, 84, 0.08);
}

.seller-sla-strip.is-overdue span {
  border-color: rgba(255, 111, 111, 0.38);
  background: rgba(255, 111, 111, 0.11);
}

.seller-sla-strip.is-submitted span,
.seller-sla-strip.is-on-track span {
  border-color: rgba(82, 214, 163, 0.26);
  background: rgba(82, 214, 163, 0.08);
}

.seller-sla-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  overflow: visible;
  scroll-snap-type: none;
}

.seller-sla-strip span {
  min-width: 0;
}

.seller-sla-strip b,
.seller-sla-strip small {
  white-space: normal;
  overflow-wrap: anywhere;
}

.seller-studio-actions button {
  flex: 1 1 104px;
  min-width: 0;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 251, 255, 0.84);
  padding: 7px 10px;
  font-weight: 850;
  line-height: 1.2;
  white-space: normal;
  cursor: pointer;
  scroll-snap-align: start;
}

.seller-studio-actions button.primary {
  border-color: var(--surface-strong);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
}

.seller-studio-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.seller-state-pill {
  display: inline-flex;
  align-items: center;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 850;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  max-width: min(520px, calc(100% - 32px));
  border-radius: 8px;
  background: #101828;
  color: #fff;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.service-dialog {
  width: min(860px, calc(100% - (var(--page-gutter) * 2)));
  max-height: min(840px, calc(100dvh - 32px));
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(16, 24, 40, 0.26);
}

.service-dialog::backdrop {
  background: rgba(16, 24, 40, 0.44);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  cursor: pointer;
  z-index: 3;
}

.dialog-close svg {
  width: 18px;
  height: 18px;
}

.dialog-content {
  min-width: 0;
  padding: 28px;
}

.dialog-content h2 {
  margin: 0;
  padding-right: 36px;
  color: #101828;
  letter-spacing: 0;
}

.dialog-content p {
  color: var(--muted);
  line-height: 1.65;
}

.dialog-content .card-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
  align-items: stretch;
}

.dialog-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr));
  gap: 10px;
  margin: 18px 0;
}

.dialog-summary div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.dialog-summary b,
.dialog-summary span {
  display: block;
}

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

.service-decision-panel {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  border: 1px solid rgba(88, 230, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(88, 230, 255, 0.08), rgba(217, 255, 98, 0.045)),
    rgba(0, 0, 0, 0.16);
  padding: 12px;
}

.service-decision-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.service-decision-grid article,
.service-decision-next {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 10px;
}

.service-decision-grid span,
.service-decision-grid b,
.service-decision-grid small,
.service-decision-next span,
.service-decision-next b,
.service-decision-next small {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.28;
}

.service-decision-grid span,
.service-decision-next span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.service-decision-grid b,
.service-decision-next b {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
}

.service-decision-grid small,
.service-decision-next small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.service-alternative-panel {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  border: 1px solid rgba(82, 214, 163, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(82, 214, 163, 0.08), rgba(88, 230, 255, 0.045)),
    rgba(0, 0, 0, 0.16);
  padding: 12px;
}

.service-alternative-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.service-alternative-grid article {
  min-width: 0;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 10px;
}

.service-alternative-head,
.service-alternative-metrics,
.service-alternative-actions {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.service-alternative-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.service-alternative-head span,
.service-alternative-head b,
.service-alternative-grid h3,
.service-alternative-grid p,
.service-alternative-metrics b,
.service-alternative-metrics small,
.service-alternative-note {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.28;
}

.service-alternative-head span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.service-alternative-head b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 26px;
  border: 1px solid rgba(217, 255, 98, 0.2);
  border-radius: 8px;
  background: rgba(217, 255, 98, 0.08);
  color: var(--accent-ink);
  font-size: 12px;
}

.service-alternative-grid h3,
.service-alternative-grid p,
.service-alternative-note {
  margin: 0;
}

.service-alternative-grid h3 {
  color: var(--ink);
  font-size: 14px;
}

.service-alternative-grid p,
.service-alternative-note {
  color: var(--muted);
  font-size: 12px;
}

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

.service-alternative-metrics span {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  padding: 7px;
}

.service-alternative-metrics b,
.service-alternative-metrics small {
  display: block;
}

.service-alternative-metrics b {
  color: var(--ink);
  font-size: 12px;
}

.service-alternative-metrics small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
}

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

.service-alternative-actions button {
  min-width: 0;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.service-alternative-actions button.is-saved {
  border-color: rgba(217, 255, 98, 0.24);
  background: rgba(217, 255, 98, 0.1);
  color: var(--accent-ink);
}

.deliverable-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 12px;
}

.dialog-assurance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(min(100%, 220px), 0.85fr);
  gap: 12px;
  margin: 16px 0;
}

.dialog-assurance-panel {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  padding: 14px;
}

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

.dialog-panel-head span,
.dialog-flow-step small,
.dialog-signal-list span {
  color: var(--muted);
  font-size: 12px;
}

.dialog-panel-head strong {
  color: var(--ink);
  font-size: 14px;
  text-align: right;
}

.dialog-flow {
  display: grid;
  gap: 8px;
}

.dialog-flow-step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.dialog-flow-step b {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 255, 98, 0.22);
  border-radius: 8px;
  background: rgba(217, 255, 98, 0.1);
  color: var(--accent-ink);
  font-size: 12px;
}

.dialog-flow-step span {
  color: var(--ink);
  font-weight: 850;
  line-height: 1.35;
}

.dialog-flow-step small {
  display: block;
  margin-top: 3px;
  font-weight: 650;
  line-height: 1.4;
}

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

.dialog-signal-list div {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.dialog-signal-list b,
.scope-checklist span {
  color: var(--ink);
  font-weight: 850;
}

.scope-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}

.scope-checklist span {
  min-height: 34px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(88, 230, 255, 0.2);
  border-radius: 8px;
  background: rgba(88, 230, 255, 0.08);
  padding: 0 10px;
  font-size: 12px;
}

.scope-checklist span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent);
}

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

.dialog-proof-grid section {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.dialog-proof-grid article {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}

.dialog-proof-grid article + article {
  margin-top: 10px;
}

.dialog-proof-grid b,
.dialog-proof-grid span,
.dialog-proof-grid small {
  display: block;
  line-height: 1.35;
}

.dialog-proof-grid b {
  color: var(--ink);
  font-size: 13px;
}

.dialog-proof-grid span {
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 850;
}

.dialog-proof-grid small {
  color: var(--muted);
  font-size: 12px;
}

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

.receipt-dialog-head h2,
.receipt-dialog-head p {
  margin: 0;
}

.receipt-dialog-head > div {
  min-width: 0;
}

.receipt-dialog-head p {
  margin-top: 6px;
}

.receipt-dialog-head strong {
  flex: 0 0 auto;
  border: 1px solid rgba(217, 255, 98, 0.24);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(217, 255, 98, 0.1);
  color: var(--accent-ink);
  font-size: 13px;
}

.receipt-summary-grid,
.receipt-evidence-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 10px;
  margin: 14px 0;
}

.receipt-summary-grid div,
.receipt-evidence-list span,
.receipt-line-table div {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.052);
  padding: 10px;
}

.receipt-summary-grid span,
.receipt-summary-grid b,
.receipt-evidence-list b,
.receipt-evidence-list small,
.receipt-line-table span,
.receipt-line-table b {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.receipt-summary-grid span,
.receipt-evidence-list small,
.receipt-line-table span,
.receipt-note {
  color: var(--muted);
  font-size: 12px;
}

.receipt-summary-grid b,
.receipt-evidence-list b,
.receipt-line-table b {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
}

.receipt-line-table {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.receipt-line-table div {
  display: grid;
  grid-template-columns: minmax(90px, 0.32fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.receipt-note {
  margin: 12px 0 0;
  line-height: 1.55;
}

.delivery-proof-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(91, 141, 239, 0.26);
  border-radius: 8px;
  background: rgba(91, 141, 239, 0.08);
  padding: 12px;
}

.order-requirement-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(82, 214, 163, 0.28);
  border-radius: 8px;
  background: rgba(82, 214, 163, 0.07);
  padding: 12px;
}

.order-milestone-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 213, 74, 0.3);
  border-radius: 8px;
  background: rgba(255, 213, 74, 0.07);
  padding: 12px;
}

.order-review-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(149, 117, 255, 0.3);
  border-radius: 8px;
  background: rgba(149, 117, 255, 0.07);
  padding: 12px;
}

.order-acceptance-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(82, 214, 163, 0.3);
  border-radius: 8px;
  background: rgba(82, 214, 163, 0.07);
  padding: 12px;
}

.delivery-proof-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.delivery-proof-head span,
.delivery-proof-head b {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.delivery-proof-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.delivery-proof-head b {
  color: var(--ink);
  font-size: 13px;
}

.delivery-file-rail {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.delivery-file-rail::-webkit-scrollbar {
  display: none;
}

.delivery-file-rail span,
.delivery-checklist span {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 10px;
}

.delivery-file-rail span {
  flex: 0 0 190px;
  scroll-snap-align: start;
}

.order-acceptance-checklist label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: flex-start;
  cursor: pointer;
}

.order-acceptance-checklist input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.order-acceptance-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(104px, auto);
  gap: 8px;
  min-width: 0;
}

.order-acceptance-actions input {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  padding: 0 10px;
  font-weight: 800;
}

.order-acceptance-actions button {
  min-width: 0;
}

.delivery-checklist,
.order-acceptance-checklist,
.order-requirement-list,
.order-milestone-list,
.delivery-checklist-grid,
.delivery-file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 10px;
}

.delivery-file-grid article,
.order-acceptance-checklist label,
.order-requirement-list span,
.order-milestone-list span {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.052);
  padding: 12px;
}

.delivery-file-grid article span,
.delivery-file-grid article h3,
.delivery-file-grid article p,
.delivery-file-grid article small,
.order-acceptance-checklist b,
.order-acceptance-checklist small,
.order-requirement-list b,
.order-requirement-list small,
.order-milestone-list b,
.order-milestone-list small,
.delivery-file-rail b,
.delivery-file-rail small,
.delivery-checklist b,
.delivery-checklist small,
.delivery-checklist-grid b,
.delivery-checklist-grid small {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.delivery-file-grid article h3 {
  margin: 5px 0;
  color: var(--ink);
  font-size: 15px;
}

.delivery-file-grid article span,
.order-acceptance-checklist b,
.order-requirement-list b,
.order-milestone-list b,
.delivery-file-rail b,
.delivery-checklist b,
.delivery-checklist-grid b {
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 900;
}

.delivery-file-grid article p,
.delivery-file-grid article small,
.order-acceptance-checklist small,
.order-requirement-list small,
.order-milestone-list small,
.delivery-file-rail small,
.delivery-checklist small,
.delivery-checklist-grid small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.order-requirement-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 10px;
}

.order-requirement-form label {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 900;
}

.order-requirement-form textarea {
  min-width: 0;
  width: 100%;
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--ink);
  padding: 9px 10px;
  resize: vertical;
  outline: none;
  line-height: 1.45;
}

.order-requirement-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.order-requirement-actions button {
  min-height: 36px;
  border: 1px solid var(--surface-strong);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  padding: 0 12px;
  font-weight: 900;
  cursor: pointer;
}

.order-requirement-actions small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.order-milestone-list span.is-done {
  border-color: rgba(217, 255, 98, 0.28);
  background: rgba(217, 255, 98, 0.08);
}

.order-milestone-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.order-milestone-actions button {
  min-height: 36px;
  border: 1px solid var(--surface-strong);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  padding: 0 12px;
  font-weight: 900;
  cursor: pointer;
}

.order-milestone-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.order-milestone-actions small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.order-review-text {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.order-review-form {
  display: grid;
  grid-template-columns: minmax(84px, 0.18fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.order-review-form select,
.order-review-form input {
  min-width: 0;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--ink);
  padding: 0 10px;
  outline: none;
}

.order-review-form button {
  min-height: 36px;
  border: 1px solid var(--surface-strong);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  padding: 0 12px;
  font-weight: 900;
  cursor: pointer;
}

.order-review-form select:disabled,
.order-review-form input:disabled,
.order-review-form button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.order-review-panel small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.delivery-checklist-grid span {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.052);
  padding: 10px;
}

.expert-dialog-content {
  display: grid;
  gap: 14px;
}

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

.expert-photo.large {
  width: 76px;
  height: 76px;
  font-size: 24px;
}

.expert-profile-head h2 {
  padding-right: 36px;
}

.expert-profile-head p {
  margin: 6px 0 0;
}

.expert-profile-metrics,
.expert-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 126px), 1fr));
  gap: 10px;
}

.expert-profile-metrics div,
.expert-profile-grid section,
.expert-service-list,
.expert-portfolio-list {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.expert-profile-metrics span,
.expert-profile-metrics b {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.expert-profile-metrics span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.expert-profile-metrics b {
  color: var(--ink);
  font-size: 15px;
}

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

.expert-profile-grid article,
.expert-service-list article,
.expert-portfolio-list article {
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}

.expert-profile-grid article + article,
.expert-service-list article + article,
.expert-portfolio-list article + article {
  margin-top: 10px;
}

.expert-profile-grid b,
.expert-service-list b,
.expert-portfolio-list b {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.expert-profile-grid small,
.expert-service-list small,
.expert-portfolio-list small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.expert-service-list article {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.expert-service-list button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(247, 251, 255, 0.82);
  padding: 0 10px;
  font-weight: 850;
  cursor: pointer;
}

.expert-portfolio-list span {
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.checkout-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(88, 230, 255, 0.18);
  border-radius: 8px;
  background: rgba(88, 230, 255, 0.06);
  padding: 14px;
  margin: 14px 0;
}

.consult-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(82, 214, 163, 0.22);
  border-radius: 8px;
  background: rgba(82, 214, 163, 0.07);
  padding: 14px;
  margin: 14px 0;
}

.question-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 187, 84, 0.2);
  border-radius: 8px;
  background: rgba(255, 187, 84, 0.06);
  padding: 14px;
  margin: 14px 0;
}

.service-faq-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(82, 214, 163, 0.18);
  border-radius: 8px;
  background: rgba(82, 214, 163, 0.065);
  padding: 14px;
  margin: 14px 0;
}

.service-faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  min-width: 0;
  gap: 8px;
}

.service-faq-list article {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  padding: 10px;
}

.service-faq-list b,
.service-faq-list p {
  display: block;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.service-faq-list b {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
}

.service-faq-list p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

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

.question-row {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  padding: 10px;
}

.question-row b,
.question-row small,
.question-row p,
.question-row em {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.question-row b {
  color: var(--ink);
  font-size: 13px;
}

.question-row small,
.question-row p,
.question-row em,
.question-actions span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.question-panel textarea,
.seller-studio-item textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--ink);
  padding: 10px;
  resize: vertical;
  outline: none;
  line-height: 1.45;
}

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

.question-preset-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 8px;
  min-width: 0;
}

.question-actions button,
.question-preset-row button {
  min-width: 0;
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 850;
  line-height: 1.25;
  cursor: pointer;
}

.question-preset-row button {
  max-width: none;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: normal;
}

.seller-answer-text {
  margin: 0;
  border: 1px solid rgba(82, 214, 163, 0.2);
  border-radius: 8px;
  background: rgba(82, 214, 163, 0.06);
  color: var(--muted);
  padding: 10px;
  font-size: 12px;
  line-height: 1.45;
}

.consult-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.consult-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 8px;
}

.consult-slot {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  padding: 10px;
  cursor: pointer;
}

.consult-slot input {
  accent-color: var(--success);
}

.consult-slot b,
.consult-slot small {
  display: block;
}

.consult-slot b {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.consult-slot small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.checkout-package-grid,
.checkout-addon-grid,
.checkout-controls,
.checkout-summary,
.checkout-contract-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 8px;
}

.checkout-package-grid label,
.checkout-addon-grid label {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  padding: 10px;
  cursor: pointer;
}

.checkout-package-grid input,
.checkout-addon-grid input,
.checkout-check input,
.checkout-agreement input {
  accent-color: var(--accent);
}

.checkout-package-grid b,
.checkout-package-grid small,
.checkout-addon-grid b,
.checkout-addon-grid small,
.checkout-summary span,
.checkout-summary b {
  display: block;
}

.checkout-package-grid b,
.checkout-addon-grid b {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.checkout-package-grid small,
.checkout-addon-grid small,
.checkout-summary span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.checkout-controls label {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.checkout-controls select,
.checkout-panel textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--ink);
  padding: 0 10px;
  outline: none;
}

.checkout-controls select {
  height: 38px;
}

.checkout-check {
  align-content: center;
  grid-template-columns: auto minmax(0, 1fr);
}

.checkout-panel textarea {
  min-height: 78px;
  resize: vertical;
  padding-top: 10px;
  line-height: 1.45;
}

.checkout-summary div {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  padding: 10px;
}

.checkout-summary b {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.checkout-agreement {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  border: 1px solid rgba(217, 255, 98, 0.2);
  border-radius: 8px;
  background: rgba(217, 255, 98, 0.07);
  color: var(--ink);
  padding: 10px;
}

.checkout-agreement b,
.checkout-agreement small,
.checkout-contract-preview span,
.checkout-contract-preview b {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.3;
}

.checkout-agreement b,
.checkout-contract-preview b {
  color: var(--ink);
  font-size: 12px;
}

.checkout-agreement small,
.checkout-contract-preview span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.checkout-contract-preview div {
  border: 1px solid rgba(217, 255, 98, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  padding: 9px;
}

.deal-board,
.filter-panel,
.request-card,
.ops-panel,
.expert-card,
.service-card,
.token-panel,
.seller-service-form,
.ops-item,
.dialog-content {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.038));
  color: var(--ink);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.deal-board {
  background:
    radial-gradient(circle at 20% 12%, rgba(88, 230, 255, 0.14), transparent 26%),
    radial-gradient(circle at 78% 20%, rgba(217, 255, 98, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.deal-board-head strong,
.deal-row b,
.service-card h3,
.price-line strong,
.expert-card h3,
.ops-item h3,
.dialog-content h2 {
  color: var(--ink);
}

.deal-row,
.deal-metrics article,
.tag-row span,
.status-pill,
.dialog-summary div,
.ledger-row {
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.16);
  color: rgba(247, 251, 255, 0.78);
}

.deal-metrics article {
  color: var(--ink);
}

.category-band {
  top: 64px;
  background: rgba(5, 8, 21, 0.88);
}

.category-chip.is-active,
.sort-tabs button.is-active {
  border-color: rgba(217, 255, 98, 0.28);
  background: linear-gradient(135deg, rgba(88, 230, 255, 0.14), rgba(217, 255, 98, 0.12));
  color: #fff;
}

.filter-panel select,
.filter-panel input[type="text"],
.request-card input,
.request-card select,
.request-card textarea,
.seller-service-form input,
.seller-service-form select,
.seller-service-form textarea {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.075);
  color: var(--ink);
}

.filter-panel select option,
.request-card select option,
.seller-service-form select option {
  color: #101828;
}

.filter-panel label,
.request-card label,
.seller-service-form label,
.check-group label {
  color: rgba(247, 251, 255, 0.82);
}

.request-card input::placeholder,
.request-card textarea::placeholder,
.seller-service-form input::placeholder,
.seller-service-form textarea::placeholder,
.ops-note-input::placeholder {
  color: rgba(247, 251, 255, 0.45);
}

.search-panel button,
.request-card button,
.seller-actions button,
.card-actions button.primary,
.ops-actions button.primary,
.seller-service-form button {
  border-color: rgba(98, 217, 171, 0.5);
  background: var(--accent);
  color: #07110d;
}

.seller-service-form-actions button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.78);
}

.card-actions button,
.ops-actions button,
.ghost-action,
.ledger-head button {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.78);
}

.ops-note-input {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.075);
  color: var(--ink);
}

.status-pill.good,
.verified {
  color: var(--accent-ink);
}

.status-pill.good {
  background: rgba(217, 255, 98, 0.08);
}

.status-pill.warn {
  background: rgba(88, 230, 255, 0.09);
  color: var(--accent);
}

.status-pill.lock {
  background: rgba(255, 119, 119, 0.1);
  color: #ffb3b3;
}

.empty-state,
.ops-empty {
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.14);
  color: var(--muted);
}

.token-section {
  padding: 48px 0 0;
}

.token-rate {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(88, 230, 255, 0.24);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(88, 230, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--panel-gap);
}

.token-panel {
  min-width: 0;
  min-height: 260px;
  border-radius: 8px;
  padding: 18px;
}

.token-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.token-panel-head span,
.ops-panel-head span,
.deal-board-head span,
.panel-title span {
  color: var(--accent);
}

.token-panel-head strong {
  color: var(--accent-ink);
}

.token-balance-card {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(88, 230, 255, 0.12), rgba(217, 255, 98, 0.08)),
    rgba(0, 0, 0, 0.16);
}

.token-balance-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.token-balance-card strong {
  font-size: 42px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.token-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.token-stats div {
  min-height: 64px;
  display: grid;
  gap: 5px;
  align-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  padding: 11px;
}

.token-stats span,
.token-package-card span,
.token-package-card small,
.ledger-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.token-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 112px), 1fr));
  gap: 8px;
}

.token-package-card {
  min-height: 96px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  padding: 12px;
  text-align: left;
}

.token-package-card:hover,
.token-package-card:focus-visible {
  border-color: rgba(88, 230, 255, 0.34);
  background: linear-gradient(180deg, rgba(88, 230, 255, 0.14), rgba(255, 255, 255, 0.055));
  outline: none;
}

.token-package-card strong {
  font-size: 18px;
  line-height: 1.15;
}

.token-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.token-ledger-list {
  display: grid;
  gap: 8px;
}

.promotion-section {
  padding: 64px 0 0;
}

.promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--panel-gap);
}

.promotion-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(217, 255, 98, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.038));
  color: var(--ink);
  padding: 16px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.promotion-rank {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.promotion-rank span,
.promotion-category {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.promotion-rank strong {
  min-width: 46px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(217, 255, 98, 0.18);
  border-radius: 8px;
  background: rgba(217, 255, 98, 0.08);
  color: var(--accent-ink);
  font-size: 13px;
}

.promotion-card h3 {
  min-height: 48px;
  margin: 7px 0 8px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.promotion-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.promotion-actions {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 7px;
  margin-top: 12px;
}

.promotion-actions button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.78);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.promotion-actions button.primary {
  border-color: var(--surface-strong);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
}

.ops-actions button:disabled,
.promotion-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(247, 251, 255, 0.48);
}

.discover-section,
.activity-section,
.portfolio-section,
.orders-section,
.resolution-section,
.biz-section,
.my-section {
  min-width: 0;
  max-width: 100%;
}

.category-hub-grid,
.activity-list,
.portfolio-grid,
.resolution-grid,
.biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--panel-gap);
}

.category-hub-card,
.activity-card,
.portfolio-card,
.order-card,
.resolution-card,
.biz-card,
.my-dashboard section,
.my-summary-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.16);
}

.category-hub-card,
.biz-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
}

.category-hub-head,
.biz-card-head,
.portfolio-meta,
.order-head,
.resolution-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.category-hub-head span,
.biz-card-head span,
.portfolio-meta span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.category-hub-head b,
.biz-card-head b,
.portfolio-meta b {
  color: var(--accent-ink);
  font-size: 12px;
  white-space: nowrap;
}

.category-hub-card h3,
.portfolio-card h3,
.order-card h3,
.resolution-card h3,
.biz-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.category-hub-card p,
.portfolio-card p,
.order-card p,
.resolution-card p,
.biz-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.category-hub-actions,
.portfolio-actions,
.order-actions,
.resolution-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
}

.category-hub-actions button,
.portfolio-actions button,
.order-actions button,
.resolution-actions button,
.biz-card button {
  min-height: 36px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.8);
  padding: 0 10px;
  font-weight: 850;
  cursor: pointer;
}

.category-hub-actions button.primary,
.portfolio-actions button.primary,
.compare-decision-actions button.primary,
.compare-actions button.primary,
.expert-actions button.primary,
.proposal-actions button.primary,
.custom-offer-actions button.primary,
.review-form button,
.workroom-actions button.primary,
.seller-studio-actions button.primary,
.order-requirement-actions button,
.order-milestone-actions button,
.order-review-form button,
.promotion-actions button.primary,
.order-actions button.primary,
.resolution-actions button.primary,
.biz-card button {
  border-color: rgba(98, 217, 171, 0.5);
  background: var(--accent);
  color: #07110d;
}

.resolution-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.trust-flow,
.order-stage-rail,
.order-money,
.order-receipt-strip,
.order-runtime-strip,
.order-invoice-strip,
.escrow-timeline,
.order-agreement-strip,
.order-sla-strip,
.order-claim-strip,
.resolution-money,
.resolution-evidence,
.consultation-strip,
.workroom-order-strip {
  min-width: 0;
  max-width: 100%;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.trust-flow {
  margin-top: var(--panel-gap);
}

.trust-flow::-webkit-scrollbar,
.order-stage-rail::-webkit-scrollbar,
.order-money::-webkit-scrollbar,
.order-receipt-strip::-webkit-scrollbar,
.order-runtime-strip::-webkit-scrollbar,
.order-invoice-strip::-webkit-scrollbar,
.escrow-timeline::-webkit-scrollbar,
.order-agreement-strip::-webkit-scrollbar,
.order-sla-strip::-webkit-scrollbar,
.order-claim-strip::-webkit-scrollbar,
.resolution-money::-webkit-scrollbar,
.resolution-evidence::-webkit-scrollbar,
.consultation-strip::-webkit-scrollbar,
.workroom-order-strip::-webkit-scrollbar {
  display: none;
}

.trust-flow article,
.order-stage-rail span,
.order-money div,
.order-receipt-strip span,
.order-runtime-strip span,
.order-invoice-strip span,
.escrow-timeline span,
.order-agreement-strip span,
.order-sla-strip span,
.order-claim-strip span,
.resolution-money div,
.resolution-evidence span,
.consultation-strip span,
.workroom-order-strip span {
  flex: 0 0 auto;
  min-width: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 12px;
  scroll-snap-align: start;
}

.trust-flow span,
.trust-flow strong,
.trust-flow small,
.order-stage-rail b,
.order-stage-rail small,
.order-receipt-strip b,
.order-receipt-strip small,
.order-runtime-strip b,
.order-runtime-strip small,
.order-invoice-strip b,
.order-invoice-strip small,
.escrow-timeline b,
.escrow-timeline small,
.escrow-timeline em,
.order-agreement-strip b,
.order-agreement-strip small,
.order-sla-strip b,
.order-sla-strip small,
.order-claim-strip b,
.order-claim-strip small,
.resolution-money span,
.resolution-money b,
.resolution-evidence b,
.resolution-evidence small,
.resolution-evidence em,
.consultation-strip b,
.consultation-strip small,
.workroom-order-strip b,
.workroom-order-strip small,
.order-money span,
.order-money b {
  display: block;
}

.trust-flow span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.trust-flow strong,
.order-stage-rail b,
.order-claim-strip b,
.order-receipt-strip b,
.order-runtime-strip b,
.order-invoice-strip b,
.escrow-timeline b,
.order-agreement-strip b,
.order-sla-strip b,
.resolution-money b,
.resolution-evidence b,
.consultation-strip b,
.workroom-order-strip b,
.order-money b {
  margin-top: 3px;
  color: var(--ink);
  font-size: 13px;
}

.trust-flow small,
.order-stage-rail small,
.order-receipt-strip small,
.order-runtime-strip small,
.order-invoice-strip small,
.escrow-timeline small,
.escrow-timeline em,
.order-agreement-strip small,
.order-sla-strip small,
.order-claim-strip small,
.resolution-money span,
.resolution-evidence small,
.resolution-evidence em,
.consultation-strip small,
.workroom-order-strip small,
.order-money span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.order-receipt-strip,
.order-runtime-strip,
.order-invoice-strip,
.escrow-timeline,
.order-agreement-strip,
.order-sla-strip,
.order-claim-strip,
.consultation-strip,
.workroom-order-strip {
  margin-top: -2px;
}

.order-agreement-strip span {
  border-color: rgba(217, 255, 98, 0.22);
  background: rgba(217, 255, 98, 0.07);
}

.order-runtime-strip span {
  border-color: rgba(88, 230, 255, 0.24);
  background: rgba(88, 230, 255, 0.07);
}

.order-invoice-strip {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  overflow: visible;
  overscroll-behavior-x: auto;
  scroll-snap-type: none;
}

.order-invoice-strip span {
  flex: initial;
  min-width: 0;
  width: auto;
  max-width: 100%;
  scroll-snap-align: unset;
}

.order-invoice-strip b,
.order-invoice-strip small {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.order-sla-strip span {
  min-width: 178px;
  border-color: rgba(255, 187, 84, 0.28);
  background: rgba(255, 187, 84, 0.08);
}

.order-sla-strip.is-overdue span {
  border-color: rgba(255, 111, 111, 0.38);
  background: rgba(255, 111, 111, 0.11);
}

.order-sla-strip.is-submitted span,
.order-sla-strip.is-on-track span {
  border-color: rgba(82, 214, 163, 0.26);
  background: rgba(82, 214, 163, 0.08);
}

.order-sla-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  overflow: visible;
  scroll-snap-type: none;
}

.order-sla-strip span {
  min-width: 0;
}

.order-sla-strip b,
.order-sla-strip small {
  overflow-wrap: anywhere;
}

.escrow-timeline {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.escrow-timeline span {
  min-width: 190px;
  border-color: rgba(88, 230, 255, 0.24);
  background: rgba(88, 230, 255, 0.07);
}

.escrow-timeline span.is-hold {
  border-color: rgba(255, 187, 84, 0.34);
  background: rgba(255, 187, 84, 0.09);
}

.escrow-timeline span.is-release {
  border-color: rgba(217, 255, 98, 0.3);
  background: rgba(217, 255, 98, 0.1);
}

.escrow-timeline span.is-refund {
  border-color: rgba(255, 129, 129, 0.3);
  background: rgba(255, 129, 129, 0.1);
}

.escrow-timeline span.is-review {
  border-color: rgba(132, 151, 255, 0.3);
  background: rgba(132, 151, 255, 0.09);
}

.escrow-timeline em {
  font-style: normal;
}

.order-claim-strip span,
.consultation-strip span,
.workroom-order-strip span {
  border-color: rgba(255, 187, 84, 0.28);
  background: rgba(255, 187, 84, 0.08);
}

.consultation-strip span {
  border-color: rgba(82, 214, 163, 0.3);
  background: rgba(82, 214, 163, 0.08);
}

.portfolio-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
}

.public-review-card {
  border-color: rgba(217, 255, 98, 0.22);
  background: rgba(217, 255, 98, 0.06);
}

.public-review-card .portfolio-art span {
  background: rgba(217, 255, 98, 0.86);
  color: #102015;
}

.portfolio-art {
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background: var(--portfolio-bg);
}

.portfolio-art span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: rgba(5, 8, 21, 0.74);
  color: #fff;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.portfolio-body {
  display: grid;
  gap: 11px;
  padding: 16px;
}

.portfolio-card blockquote {
  margin: 0;
  border-left: 3px solid var(--accent);
  color: rgba(247, 251, 255, 0.82);
  padding-left: 10px;
  font-size: 13px;
  line-height: 1.55;
}

.portfolio-card blockquote span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.order-list {
  display: grid;
  gap: var(--panel-gap);
}

.order-card,
.resolution-card {
  display: grid;
  gap: 13px;
  padding: 16px;
}

.order-head strong,
.resolution-head strong {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: rgba(217, 255, 98, 0.12);
  color: var(--accent-ink);
  padding: 0 10px;
  white-space: nowrap;
}

.order-head span,
.resolution-head .status-pill {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.activity-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: var(--panel-gap);
  margin-bottom: var(--panel-gap);
}

.activity-summary article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 14px;
}

.activity-summary span,
.activity-summary strong,
.activity-summary small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

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

.activity-summary strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 24px;
}

.activity-summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.activity-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  margin-bottom: var(--panel-gap);
}

.activity-filter::-webkit-scrollbar {
  display: none;
}

.activity-filter button {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.78);
  padding: 0 12px;
  font-weight: 850;
  cursor: pointer;
  scroll-snap-align: start;
}

.activity-filter button.is-active {
  border-color: rgba(88, 230, 255, 0.34);
  background: rgba(88, 230, 255, 0.13);
  color: #fff;
}

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

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

.activity-card.is-unread {
  border-color: rgba(88, 230, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(88, 230, 255, 0.1), rgba(217, 255, 98, 0.055)),
    rgba(255, 255, 255, 0.06);
}

.activity-card span,
.activity-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.activity-card h3 {
  margin: 5px 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0;
}

.activity-card p {
  margin: 0 0 5px;
  color: rgba(247, 251, 255, 0.74);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.activity-actions {
  display: flex;
  gap: 8px;
}

.activity-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 251, 255, 0.82);
  padding: 0 11px;
  font-weight: 850;
  cursor: pointer;
}

.activity-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.order-money div,
.resolution-money div {
  min-width: 160px;
}

.order-stage-rail span.is-done,
.resolution-evidence span {
  border-color: rgba(217, 255, 98, 0.24);
  background: rgba(217, 255, 98, 0.08);
}

.resolution-evidence span {
  min-width: 220px;
}

.resolution-evidence em {
  font-style: normal;
}

.my-page-heading,
.my-identity,
.my-heading-actions {
  display: flex;
  align-items: center;
}

.my-page-heading {
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.my-identity {
  min-width: 0;
  gap: 13px;
}

.my-identity > div {
  min-width: 0;
}

.my-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(88, 230, 255, 0.25);
  border-radius: 8px;
  background: rgba(88, 230, 255, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.my-identity h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.08;
}

.my-identity > div > p:last-child {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.my-heading-actions {
  flex: 0 0 auto;
  gap: 8px;
}

.my-heading-actions a,
.my-insight-action,
.my-empty a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  padding: 0 13px;
  font-size: 12px;
  font-weight: 850;
}

.my-heading-actions a.is-primary {
  border-color: rgba(88, 230, 255, 0.3);
  background: var(--accent);
  color: #06121a;
}

.my-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.my-summary-grid article {
  --metric-color: var(--accent);
  overflow: hidden;
  padding: 0;
  border-top-color: var(--metric-color);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.my-summary-grid article.is-saved {
  --metric-color: var(--accent-ink);
}

.my-summary-grid article.is-order {
  --metric-color: var(--blue);
}

.my-summary-grid article.is-request {
  --metric-color: var(--violet);
}

.my-metric a {
  min-height: 108px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  gap: 8px;
  padding: 14px;
}

.my-metric-label,
.my-metric small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.my-metric-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--metric-color) 28%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, var(--metric-color) 8%, transparent);
}

.my-metric-mark::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--metric-color);
}

.my-metric strong {
  grid-column: 1 / -1;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.my-metric small {
  grid-column: 1 / -1;
}

.my-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 270px);
  gap: 20px;
  align-items: start;
  margin-top: 30px;
}

.my-dashboard .my-order-panel,
.my-dashboard .my-secondary-grid > section {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.my-panel-heading {
  min-width: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}

.my-panel-heading p,
.my-panel-heading h3 {
  margin: 0;
}

.my-panel-heading p {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
}

.my-panel-heading h3 {
  margin-top: 5px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.my-panel-heading > a {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.my-order-list,
.my-saved-list,
.my-message-list {
  border-top: 1px solid var(--line);
}

.my-order-row,
.my-saved-row {
  width: 100%;
  min-width: 0;
  min-height: 68px;
  display: grid;
  align-items: center;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 10px 6px;
  text-align: left;
  cursor: pointer;
}

.my-order-row {
  grid-template-columns: 74px minmax(0, 1fr) 30px;
}

.my-order-state {
  width: fit-content;
  max-width: 74px;
  overflow: hidden;
  border: 1px solid rgba(88, 230, 255, 0.18);
  border-radius: 6px;
  background: rgba(88, 230, 255, 0.07);
  color: var(--accent);
  padding: 5px 7px;
  font-size: 10px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-row-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.my-row-copy strong,
.my-message-row strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-row-copy small,
.my-message-row span,
.my-message-row small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-row-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
}

.my-insight-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.my-insight-label {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
}

.my-insight-panel > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.my-insight-panel h3 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}

.my-insight-panel .my-insight-copy {
  margin-top: 10px;
  line-height: 1.55;
}

.my-insight-panel dl {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.my-insight-panel dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.my-insight-panel dt {
  color: var(--muted);
  font-size: 11px;
}

.my-insight-panel dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.my-insight-action {
  width: 100%;
  margin-top: 17px;
}

.my-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.my-saved-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.my-saved-row b {
  color: var(--accent-ink);
  font-size: 11px;
  white-space: nowrap;
}

.my-message-row {
  min-width: 0;
  min-height: 68px;
  display: grid;
  gap: 5px;
  padding: 10px 6px;
  border-bottom: 1px solid var(--line-soft);
}

.my-message-row span {
  color: var(--accent);
}

.my-message-row strong {
  display: -webkit-box;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.my-empty {
  min-height: 118px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 6px;
  padding: 16px;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.my-empty strong {
  color: var(--ink);
  font-size: 13px;
}

.my-empty span {
  font-size: 11px;
  line-height: 1.5;
}

.my-empty a {
  min-height: 34px;
  margin-top: 5px;
}

.my-page-heading a:focus-visible,
.my-dashboard a:focus-visible,
.my-dashboard button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (hover: hover) {
  .my-heading-actions a:hover,
  .my-metric a:hover,
  .my-insight-action:hover,
  .my-empty a:hover {
    border-color: rgba(88, 230, 255, 0.36);
    background: rgba(88, 230, 255, 0.1);
  }

  .my-heading-actions a.is-primary:hover {
    background: #7aedff;
  }

  .my-order-row:hover,
  .my-saved-row:hover,
  .my-message-row:hover {
    background: rgba(255, 255, 255, 0.035);
  }

  .my-order-row:hover .my-row-arrow {
    border-color: var(--accent);
    color: var(--ink);
  }
}

@media (max-width: 700px) {
  .my-page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .my-heading-actions {
    width: 100%;
  }

  .my-heading-actions a {
    flex: 1 1 0;
  }

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

  .my-overview-layout,
  .my-secondary-grid {
    grid-template-columns: 1fr;
  }

  .my-overview-layout {
    gap: 24px;
  }
}

@media (max-width: 460px) {
  .my-avatar {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .my-identity h2 {
    font-size: 24px;
  }

  .my-metric a {
    min-height: 102px;
    padding: 12px;
  }

  .my-order-row {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 7px;
  }

  .my-order-state,
  .my-row-copy {
    grid-column: 1;
  }

  .my-row-arrow {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}

.ledger-row {
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 11px;
}

.ledger-row div {
  min-width: 0;
}

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

.ledger-row b {
  color: var(--accent-ink);
  white-space: nowrap;
}

.ledger-row.use b {
  color: #ffb3b3;
}

.seller-section {
  background:
    radial-gradient(circle at 12% 16%, rgba(217, 255, 98, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(16, 24, 40, 0.9), rgba(5, 8, 21, 0.92));
}

.service-dialog {
  background: #08101f;
  color: var(--ink);
}

@media (max-width: 1120px) {
  .hero-section,
  .market-layout,
  .request-section,
  .token-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .workspace-switcher {
    grid-template-columns: 1fr;
  }

  .workspace-tabs {
    justify-content: flex-start;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .section-head h2,
  .request-section h2,
  .seller-copy h2 {
    font-size: 34px;
  }

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

  .filter-panel {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-title,
  .check-group {
    grid-column: 1 / -1;
  }

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

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

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

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

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

  .ops-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ops-report-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .funding-alert {
    grid-template-columns: 1fr;
  }

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

  .ops-control-panel label:first-child,
  .ops-filter-summary {
    grid-column: 1 / -1;
  }

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

@media (max-width: 760px) {
  html {
    scroll-padding-top: 126px;
  }

  .platform-topbar {
    top: 8px;
    width: calc(100% - 16px);
    height: 48px;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 0 10px;
  }

  .brand-name {
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-links {
    justify-content: flex-start;
    overflow-x: auto;
    max-width: 100%;
    padding: 0 2px;
  }

  .top-links a {
    max-width: 72px;
    overflow: hidden;
    padding: 0 9px;
    font-size: 12px;
    text-overflow: ellipsis;
  }

  .window-actions {
    gap: 2px;
  }

  .icon-button {
    width: 30px;
    height: 30px;
  }

  main {
    width: min(100% - (var(--page-gutter) * 2), 1440px);
  }

  .hero-section {
    padding-top: 50px;
  }

  .workspace-switcher {
    position: static;
    margin-top: 16px;
  }

  .workspace-tabs {
    margin-inline: -2px;
    padding: 0 2px 2px;
  }

  .workspace-tabs button {
    min-height: 32px;
    padding: 0 11px;
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .section-head h2,
  .request-section h2,
  .seller-copy h2 {
    font-size: 30px;
  }

  .search-panel div {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 7px 7px 7px 12px;
  }

  .search-panel button {
    width: auto;
    min-width: 54px;
    padding: 0 10px;
  }

  .search-panel input {
    height: 38px;
    font-size: 15px;
  }

  .category-band {
    margin-inline: calc(var(--page-gutter) * -1);
    padding: 8px var(--page-gutter);
  }

  .category-chip {
    min-height: 32px;
    padding: 0 11px;
    font-size: 12px;
  }

  .deal-board {
    min-height: auto;
    padding: 16px;
  }

  .deal-metrics,
  .intent-grid,
  .compare-grid,
  .workroom-grid,
  .promotion-grid,
  .ops-summary-grid,
  .expert-grid,
  .seller-studio-summary,
  .seller-studio-columns,
  .token-package-grid,
  .dialog-assurance-grid,
  .dialog-proof-grid,
  .dialog-signal-list,
  .expert-profile-grid,
  .expert-profile-metrics,
  .scope-checklist,
  .dialog-summary,
  .dialog-tiers,
  .form-row {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 11px;
  }

  .filter-panel label {
    min-width: 0;
    gap: 6px;
    font-size: 12px;
  }

  .filter-panel select {
    height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }

  .panel-title,
  .check-group {
    grid-column: 1 / -1;
  }

  .panel-title button {
    min-height: 28px;
  }

  .check-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .check-group label {
    gap: 6px;
    min-width: 0;
    font-size: 12px;
  }

  .service-zone .section-head {
    gap: 10px;
    margin-bottom: 10px;
  }

  .service-title-row {
    gap: 7px;
  }

  .count-pill {
    min-height: 28px;
    padding: 0 10px;
  }

  .sort-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
    overflow-x: visible;
  }

  .sort-tabs button {
    min-width: 0;
    min-height: 31px;
    padding: 0 8px;
    font-size: 12px;
  }

  .service-feedback-row {
    margin: -2px 0 8px;
  }

  .market-status-chip {
    min-height: 26px;
    padding: 0 8px;
    font-size: 11px;
  }

  .action-policy-strip {
    margin-bottom: 8px;
  }

  .action-policy-strip span {
    min-height: 30px;
    padding: 4px 8px;
  }

  .action-policy-strip b,
  .action-policy-strip small {
    font-size: 10px;
  }

  .service-more-row {
    margin-top: 10px;
    padding: 6px;
  }

  .service-more-row span,
  .service-more-row button {
    min-height: 30px;
    padding: 0 8px;
    font-size: 11px;
  }

  .service-dialog {
    width: calc(100% - 16px);
    max-width: none;
    max-height: calc(100dvh - 16px);
    margin: auto 8px 8px;
    border-radius: 8px;
  }

  .dialog-close {
    position: sticky;
    top: 8px;
    margin: 8px 8px -38px auto;
  }

  .dialog-content {
    padding: 18px 14px 14px;
  }

  .dialog-content .card-actions {
    grid-template-columns: 1fr;
  }

  .expert-profile-head,
  .expert-service-list article {
    grid-template-columns: 1fr;
  }

  .receipt-dialog-head {
    flex-direction: column;
  }

  .receipt-line-table div {
    grid-template-columns: 1fr;
  }

  .expert-photo.large {
    width: 58px;
    height: 58px;
    font-size: 20px;
  }

  .dialog-flow-step {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .ops-control-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .ops-report-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ops-action-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ops-report-head {
    flex-direction: column;
  }

  .ops-data-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .ops-runtime-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .ops-report-actions {
    flex-direction: column;
    justify-content: stretch;
    width: 100%;
  }

  .ops-data-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    width: 100%;
  }

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

  .ops-runtime-grid {
    grid-template-columns: 1fr;
  }

  .ops-report-actions button,
  .ops-report-actions a,
  .ops-data-actions a,
  .ops-data-import-label,
  .ops-role-switch button {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .card-actions.is-three,
  .compare-actions,
  .compare-metrics,
  .workroom-stage-rail,
  .workroom-actions,
  .deposit-actions,
  .review-moderation-actions,
  .promotion-actions,
  .brief-template-grid,
  .seller-template-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .message-compose,
  .message-row,
  .custom-offer-head,
  .review-form {
    flex-direction: column;
  }

  .message-row span {
    flex-basis: auto;
  }

  .proposal-card,
  .activity-card,
  .proposal-actions,
  .review-form {
    grid-template-columns: 1fr;
  }

  .activity-actions {
    flex-wrap: wrap;
  }

  .proposal-meta {
    min-width: 0;
    text-align: left;
  }

  .section-head,
  .seller-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .seller-section,
  .seller-studio-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .seller-studio {
    grid-row: auto;
  }

  .sort-tabs {
    overflow-x: visible;
  }
}

@media (max-width: 430px) {
  html {
    scroll-padding-top: 128px;
  }

  .platform-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    height: 44px;
    gap: 4px;
    padding: 0 6px;
  }

  .brand-block {
    gap: 6px;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .brand-name {
    display: none;
  }

  .window-actions {
    gap: 0;
  }

  .icon-button {
    width: 25px;
    height: 28px;
  }

  .icon-button svg {
    width: 16px;
    height: 16px;
  }

  .top-links a {
    max-width: 56px;
    height: 30px;
    padding: 0 7px;
  }

  .workspace-switcher-head strong {
    white-space: normal;
  }

  .market-layout {
    gap: 10px;
    padding-top: 20px;
  }

  .filter-panel {
    gap: 8px;
    padding: 9px;
  }

  .ops-panel {
    min-height: auto;
    padding: 10px;
  }

  .ops-panel-head {
    align-items: flex-start;
    gap: 8px;
  }

  .ops-item {
    padding: 10px;
  }

  .charge-review-summary {
    padding: 7px;
  }

  .check-group {
    gap: 6px;
  }

  .section-head h2,
  .request-section h2,
  .seller-copy h2 {
    font-size: 24px;
  }

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

  .service-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: stretch;
  }

  .service-art {
    min-height: 0;
    height: 100%;
  }

  .service-art::after {
    inset: 8px;
  }

  .service-art span {
    left: 8px;
    right: 8px;
    bottom: 8px;
    min-height: 24px;
    overflow: hidden;
    padding: 0 7px;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .service-body {
    min-width: 0;
    padding: 9px;
  }

  .seller-line,
  .rating-line {
    gap: 8px;
    font-size: 12px;
  }

  .seller-line span,
  .rating-line span,
  .price-line small,
  .price-line strong {
    min-width: 0;
  }

  .service-card h3 {
    min-height: 0;
    margin: 5px 0 4px;
    font-size: 14px;
    line-height: 1.32;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .service-summary {
    min-height: 0;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.4;
    -webkit-line-clamp: 1;
  }

  .service-fit {
    display: none;
  }

  .service-card .tag-row,
  .service-card .mini-fees {
    flex-wrap: nowrap;
    min-height: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .service-card .tag-row::-webkit-scrollbar,
  .service-card .mini-fees::-webkit-scrollbar {
    display: none;
  }

  .service-card .tag-row {
    margin: 6px -9px 7px 0;
  }

  .service-card .mini-fees {
    margin: 0 -9px 7px 0;
  }

  .service-card .tag-row span,
  .service-card .mini-fees span {
    flex: 0 0 auto;
    min-height: 23px;
    padding: 0 7px;
    font-size: 11px;
    white-space: nowrap;
  }

  .price-line {
    gap: 8px;
    padding-top: 7px;
  }

  .price-line small {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .price-line strong {
    flex: 0 0 auto;
    font-size: 13px;
    white-space: nowrap;
  }

  .service-card .card-actions.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 7px;
  }

  .service-card .card-actions.is-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin-top: 7px;
  }

  .service-card .card-actions button {
    min-height: 29px;
    padding: 0 4px;
    font-size: 12px;
  }

  .service-dialog {
    width: 100%;
    max-height: calc(100dvh - 32px);
    margin: auto 0 0;
    border-radius: 8px 8px 0 0;
  }

  .dialog-close {
    width: 30px;
    height: 30px;
    margin: 8px 8px -36px auto;
  }

  .dialog-content {
    padding: 16px 12px 12px;
  }
}

/* UI stabilization pass */
.platform-topbar {
  height: auto;
  min-height: 52px;
  width: min(1320px, calc(100% - (var(--page-gutter) * 2)));
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: 7px 9px;
}

main {
  padding-top: 76px;
}

.top-links {
  justify-content: flex-start;
}

.top-links a,
.workspace-tabs button,
.category-chip,
.sort-tabs button,
.card-actions button,
.ops-actions button,
.seller-service-form button,
.ghost-action,
.compare-jump {
  min-height: 38px;
  line-height: 1.15;
}

.top-links a {
  padding-inline: 11px;
  font-size: 12px;
}

.workspace-switcher {
  top: 76px;
}

.workspace-tabs button {
  padding-inline: 14px;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

.service-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.service-body {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto auto auto auto auto;
  flex: 1;
  padding: 15px;
}

.service-card h3 {
  min-height: auto;
  overflow-wrap: anywhere;
}

.service-summary,
.service-fit,
.seller-line,
.rating-line,
.price-line,
.ops-item,
.ops-panel,
.dialog-content {
  min-width: 0;
}

.service-fit,
.ops-item p,
.dialog-content p {
  overflow-wrap: anywhere;
}

.card-actions {
  align-self: stretch;
}

.card-actions button,
.ops-actions button,
.seller-service-form button {
  padding-inline: 12px;
  font-size: 13px;
}

.card-actions.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ops-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: start;
}

.ops-panel {
  min-height: auto;
  overflow: visible;
  padding: 18px;
}

.ops-summary-grid,
.ops-report-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 152px), 1fr));
}

.ops-action-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.ops-actions {
  align-items: stretch;
}

.ops-actions button {
  flex: 1 1 104px;
}

.ops-meta {
  gap: 7px;
}

.status-pill {
  min-height: 28px;
  line-height: 1.2;
}

.seller-service-form {
  gap: 13px;
  padding: 15px;
}

.seller-service-form input,
.seller-service-form select {
  height: auto;
  min-height: 42px;
}

.seller-service-form textarea {
  min-height: 92px;
}

.seller-service-form-actions {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

.service-dialog {
  width: min(980px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
}

.dialog-content {
  padding: 30px;
}

.dialog-content .card-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-inline: -12px;
  margin-bottom: -12px;
  padding: 12px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.88), rgba(8, 13, 28, 0.98));
  backdrop-filter: blur(14px);
}

.dialog-content .card-actions button {
  min-height: 42px;
}

@media (max-width: 1120px) {
  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  }

  .ops-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  }
}

@media (max-width: 760px) {
  .platform-topbar {
    top: 8px;
    width: calc(100% - 16px);
    min-height: 86px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "links links";
    align-items: center;
    gap: 6px 8px;
    padding: 8px;
  }

  .brand-block {
    grid-area: brand;
    padding-left: 2px;
  }

  .brand-name {
    display: inline;
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .window-actions {
    grid-area: actions;
    justify-content: flex-end;
  }

  .icon-button {
    width: 32px;
    height: 32px;
  }

  .top-links {
    grid-area: links;
    width: 100%;
    max-width: none;
    padding-top: 6px;
    border-top: 1px solid var(--line-soft);
  }

  .top-links a {
    max-width: none;
    min-height: 34px;
    padding-inline: 11px;
    font-size: 12px;
  }

  main {
    padding-top: 106px;
  }

  .hero-section {
    padding-top: 24px;
    gap: 18px;
  }

  .hero-copy h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero-summary {
    font-size: 15px;
    line-height: 1.55;
  }

  .workspace-tabs button,
  .category-chip {
    min-height: 36px;
    font-size: 12px;
  }

  .service-grid,
  .ops-grid {
    grid-template-columns: 1fr;
  }

  .service-body {
    padding: 13px;
  }

  .card-actions.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-actions button,
  .ops-actions button,
  .seller-service-form button {
    min-height: 40px;
  }

  .dialog-content {
    padding: 20px 16px 16px;
  }

  .dialog-content .card-actions {
    grid-template-columns: 1fr;
    margin-inline: -6px;
    margin-bottom: -6px;
    padding: 10px 6px 6px;
  }
}

@media (max-width: 430px) {
  .platform-topbar {
    min-height: 88px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px;
  }

  .brand-name {
    display: inline;
    max-width: 112px;
  }

  .top-links a {
    max-width: none;
    min-height: 34px;
    padding-inline: 10px;
  }

  .service-card {
    display: flex;
    grid-template-columns: none;
  }

  .service-art {
    min-height: 96px;
    height: auto;
  }

  .service-body {
    padding: 12px;
  }

  .service-fit {
    display: grid;
  }

  .service-card .card-actions.is-three {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .service-card .card-actions button {
    min-height: 38px;
    font-size: 13px;
  }

  .service-card h3 {
    font-size: 15px;
    -webkit-line-clamp: 3;
  }

  .service-summary {
    -webkit-line-clamp: 2;
  }

  .ops-panel {
    padding: 12px;
  }

  .ops-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Compact marketplace refinement pass */
.market-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding-top: 22px;
}

.filter-panel,
.service-zone,
.service-grid {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.filter-panel {
  position: static;
  display: grid;
  grid-template-columns: minmax(132px, auto) minmax(210px, 1.3fr) repeat(2, minmax(138px, 0.8fr)) minmax(250px, 1fr);
  align-items: end;
  gap: 9px;
  padding: 10px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(88, 230, 255, 0.09), rgba(217, 255, 98, 0.035)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.076), rgba(255, 255, 255, 0.035));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.filter-panel .panel-title {
  min-width: 132px;
  align-self: stretch;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 7px;
  padding: 5px 12px 5px 2px;
  border-right: 1px solid var(--line-soft);
}

.filter-panel .panel-title span {
  font-size: 11px;
  letter-spacing: 0;
}

.filter-panel .panel-title button {
  min-height: 30px;
  width: fit-content;
  padding-inline: 10px;
  border-color: rgba(88, 230, 255, 0.22);
  background: rgba(88, 230, 255, 0.09);
  color: var(--accent);
  font-size: 11px;
}

.filter-panel label {
  gap: 5px;
  font-size: 11px;
  line-height: 1.2;
}

.filter-panel select,
.filter-panel input[type="text"],
.filter-panel input[type="search"] {
  min-height: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
}

.filter-panel input[type="search"]::placeholder {
  color: rgba(247, 251, 255, 0.42);
}

.filter-panel .filter-search {
  min-width: 0;
}

.filter-panel .check-group {
  display: flex;
  flex-wrap: wrap;
  align-content: end;
  gap: 6px;
  min-width: 0;
}

.filter-panel .check-group label {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  color: rgba(247, 251, 255, 0.8);
  font-size: 11px;
  white-space: nowrap;
}

.filter-panel .check-group input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--accent);
}

.service-zone .section-head {
  margin-bottom: 9px;
}

.service-zone .section-head h2 {
  font-size: clamp(26px, 2.6vw, 34px);
}

.sort-tabs {
  gap: 5px;
}

.sort-tabs button {
  min-height: 32px;
  padding-inline: 10px;
  font-size: 12px;
}

.service-feedback-row {
  margin: -1px 0 10px;
  gap: 6px;
}

.market-status-chip {
  min-height: 25px;
  padding-inline: 8px;
  font-size: 11px;
}

.service-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr));
  gap: 10px;
}

.service-card {
  border-radius: 8px;
  overflow: hidden;
}

.service-art {
  min-height: 82px;
}

.service-art::after {
  inset: 10px;
}

.service-art span {
  left: 10px;
  right: auto;
  bottom: 10px;
  min-height: 24px;
  padding-inline: 8px;
  border-radius: 999px;
  font-size: 11px;
}

.service-body {
  gap: 0;
  padding: 11px;
}

.seller-line,
.rating-line {
  gap: 7px;
  font-size: 11px;
  line-height: 1.35;
}

.rank-line {
  gap: 6px;
  margin: 6px 0 7px;
  padding: 6px 7px;
}

.rank-line span {
  min-width: 38px;
}

.rank-line b {
  font-size: 14px;
}

.rank-line p {
  font-size: 10.5px;
}

.seller-line button {
  max-width: 72%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-card h3 {
  display: -webkit-box;
  min-height: 39px;
  margin: 6px 0 5px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-summary {
  min-height: 34px;
  margin: 0 0 7px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-fit {
  gap: 3px;
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.35;
}

.service-card .tag-row,
.service-card .mini-fees {
  gap: 5px;
  margin-bottom: 7px;
}

.service-card .tag-row span,
.service-card .mini-fees span {
  min-height: 22px;
  padding-inline: 7px;
  font-size: 11px;
}

.price-line {
  gap: 7px;
  padding-top: 7px;
}

.price-line small {
  font-size: 11px;
}

.price-line strong {
  font-size: 15px;
}

.service-card .card-actions.is-three {
  gap: 5px;
  margin-top: 8px;
}

.service-card .card-actions.is-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 8px;
}

.service-card .card-actions button {
  min-height: 32px;
  padding-inline: 6px;
  font-size: 12px;
}

.service-more-row {
  margin-top: 12px;
}

.ops-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 12px;
}

.ops-panel {
  padding: 14px;
}

.ops-panel-head {
  gap: 10px;
}

.ops-panel-head span {
  font-size: 11px;
}

.ops-panel-head strong {
  font-size: 18px;
}

.ops-summary-grid,
.ops-report-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 122px), 1fr));
  gap: 8px;
}

.ops-summary-card,
.ops-report-card {
  min-height: 70px;
  padding: 10px;
}

.ops-control-panel {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 138px), 1fr));
  gap: 8px;
  padding: 10px;
}

.ops-item {
  padding: 11px;
}

.seller-service-form {
  gap: 9px;
  padding: 11px;
}

.seller-service-form input,
.seller-service-form select {
  min-height: 36px;
}

.seller-service-form textarea {
  min-height: 74px;
}

.ops-actions button,
.seller-service-form button {
  min-height: 34px;
  padding-inline: 10px;
  font-size: 12px;
}

@media (max-width: 1120px) {
  .filter-panel {
    grid-template-columns: minmax(132px, auto) repeat(2, minmax(150px, 1fr)) minmax(240px, 1fr);
  }

  .filter-panel .check-group {
    grid-column: 2 / -1;
  }

  .service-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  }
}

@media (max-width: 760px) {
  .market-layout {
    gap: 10px;
    padding-top: 16px;
  }

  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  .filter-panel .panel-title,
  .filter-panel .filter-search,
  .filter-panel .check-group {
    grid-column: 1 / -1;
  }

  .filter-panel .panel-title {
    min-width: 0;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0 0 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .filter-panel .check-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel .check-group label {
    width: 100%;
  }

  .service-zone .section-head {
    align-items: flex-start;
    margin-bottom: 8px;
  }

  .service-zone .section-head h2 {
    font-size: 25px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .service-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .service-art {
    min-height: 100%;
    height: auto;
  }

  .service-body {
    padding: 10px;
  }

  .service-card h3 {
    min-height: 0;
    font-size: 14px;
  }

  .service-summary {
    min-height: 0;
    -webkit-line-clamp: 1;
  }

  .service-fit {
    display: none;
  }

  .service-card .card-actions.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card .card-actions button {
    min-height: 30px;
    font-size: 11px;
  }

  .ops-grid {
    gap: 10px;
  }

  .ops-panel {
    padding: 12px;
  }
}

@media (max-width: 430px) {
  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel .panel-title,
  .filter-panel .filter-search,
  .filter-panel .check-group {
    grid-column: 1 / -1;
  }

  .filter-panel .check-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .service-art {
    min-height: 100%;
  }

  .service-art span {
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
  }

  .service-body {
    padding: 9px;
  }

  .service-card h3 {
    margin-top: 4px;
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .rating-line,
  .price-line {
    align-items: flex-start;
  }

  .price-line strong {
    font-size: 13px;
  }

  .service-card .tag-row,
  .service-card .mini-fees {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .service-card .tag-row::-webkit-scrollbar,
  .service-card .mini-fees::-webkit-scrollbar {
    display: none;
  }

  .service-card .card-actions.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .service-card .card-actions button {
    min-height: 30px;
    font-size: 11px;
  }
}

@media (max-width: 340px) {
  .filter-panel,
  .filter-panel .check-group {
    grid-template-columns: 1fr;
  }
}

/* Filter readability fix pass */
.filter-panel {
  grid-template-columns: minmax(126px, 0.42fr) minmax(240px, 1.35fr) minmax(170px, 0.75fr) minmax(170px, 0.75fr) minmax(250px, 1fr);
  align-items: stretch;
  gap: 10px;
  padding: 12px;
}

.filter-panel .panel-title {
  min-height: 62px;
  padding: 6px 12px 6px 2px;
}

.filter-panel .panel-title button {
  min-height: 34px;
  padding-inline: 12px;
  line-height: 1;
}

.filter-panel label {
  min-height: 62px;
  align-content: start;
  gap: 7px;
  font-size: 12px;
  line-height: 1.35;
}

.filter-panel select,
.filter-panel input[type="text"],
.filter-panel input[type="search"] {
  min-height: 38px;
  height: 38px;
  padding-inline: 12px;
  line-height: 1.25;
}

.filter-panel .check-group {
  align-content: center;
}

.filter-panel .check-group label {
  min-height: 38px;
  padding-inline: 10px;
  font-size: 12px;
  line-height: 1.2;
}

@media (max-width: 1120px) {
  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel .panel-title,
  .filter-panel .filter-search,
  .filter-panel .check-group {
    grid-column: 1 / -1;
  }

  .filter-panel .panel-title {
    min-height: 44px;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0 0 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
}

@media (max-width: 430px) {
  .filter-panel {
    gap: 8px;
    padding: 10px;
  }

  .filter-panel label {
    min-height: 58px;
  }

  .filter-panel .panel-title {
    min-height: 40px;
  }

  .filter-panel .check-group label {
    min-height: 36px;
  }
}

/* Filter hardening pass */
.filter-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  overflow: visible;
}

.filter-panel .panel-title {
  flex: 1 0 100%;
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 10px;
  border-right: 0;
  border-bottom: 1px solid var(--line-soft);
}

.filter-panel .panel-title span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
  white-space: nowrap;
}

.filter-panel .panel-title button {
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.filter-panel > label {
  flex: 1 1 190px;
  min-width: min(100%, 180px);
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  overflow: visible;
  color: rgba(247, 251, 255, 0.86);
  font-size: 13px;
  line-height: 1.35;
}

.filter-panel > label.filter-search {
  flex: 2 1 320px;
}

.filter-panel select,
.filter-panel input[type="text"],
.filter-panel input[type="search"] {
  min-height: 42px;
  height: 42px;
  display: block;
  padding: 0 13px;
  line-height: 1.25;
  overflow: visible;
}

.filter-panel .check-group {
  flex: 1 1 270px;
  min-width: min(100%, 250px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 8px;
  padding-top: 27px;
  overflow: visible;
}

.filter-panel .check-group label {
  flex: 1 1 120px;
  min-width: 120px;
  min-height: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  overflow: visible;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .filter-panel > label.filter-search {
    flex-basis: 100%;
  }

  .filter-panel > label:not(.filter-search) {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .filter-panel .check-group {
    flex-basis: 100%;
    padding-top: 0;
  }

  .filter-panel .check-group label {
    flex: 0 1 180px;
  }
}

@media (max-width: 430px) {
  .filter-panel {
    gap: 9px;
    padding: 11px;
  }

  .filter-panel > label.filter-search {
    flex-basis: 100%;
  }

  .filter-panel > label:not(.filter-search) {
    flex: 1 1 calc(50% - 5px);
  }

  .filter-panel .panel-title {
    min-height: 42px;
    padding-bottom: 8px;
  }

  .filter-panel .panel-title button {
    min-height: 38px;
  }

  .filter-panel .check-group {
    flex-basis: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding-top: 0;
  }

  .filter-panel .check-group label {
    min-width: 0;
    width: 100%;
    height: 40px;
    min-height: 40px;
    padding-inline: 8px;
    font-size: 12px;
  }
}

@media (max-width: 340px) {
  .filter-panel > label:not(.filter-search),
  .filter-panel .check-group {
    flex-basis: 100%;
    grid-template-columns: 1fr;
  }
}

/* Compact filter layout */
#services.market-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
}

#services .filter-panel {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(108px, 0.42fr) minmax(220px, 1.4fr) repeat(2, minmax(140px, 0.72fr)) minmax(240px, 1fr) !important;
  align-items: end !important;
  gap: 10px !important;
  padding: 12px !important;
  overflow: visible !important;
}

#services .filter-panel .panel-title {
  min-width: 0 !important;
  min-height: 58px !important;
  display: grid !important;
  align-content: end !important;
  gap: 6px !important;
  padding: 0 10px 0 0 !important;
  border-right: 1px solid var(--line-soft) !important;
  border-bottom: 0 !important;
}

#services .filter-panel .panel-title button {
  width: fit-content !important;
  min-width: 64px !important;
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

#services .filter-panel > label {
  min-width: 0 !important;
  min-height: auto !important;
  display: grid !important;
  align-content: end !important;
  gap: 6px !important;
  overflow: visible !important;
  line-height: 1.35 !important;
}

#services .filter-panel select,
#services .filter-panel input[type="text"],
#services .filter-panel input[type="search"] {
  min-width: 0 !important;
  width: 100% !important;
  min-height: 38px !important;
  height: 38px !important;
  line-height: 1.25 !important;
}

#services .filter-panel .check-group {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
  padding-top: 0 !important;
  overflow: visible !important;
}

#services .filter-panel .check-group label {
  min-width: 0 !important;
  min-height: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-inline: 8px !important;
  white-space: nowrap !important;
}

@media (max-width: 1120px) {
  #services .filter-panel {
    grid-template-columns: minmax(200px, 1.4fr) repeat(2, minmax(140px, 1fr)) !important;
  }

  #services .filter-panel .panel-title {
    grid-column: 1 / -1 !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0 8px !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line-soft) !important;
  }

  #services .filter-panel .check-group {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 760px) {
  #services .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  #services .filter-panel > label.filter-search {
    grid-column: 1 / -1 !important;
  }

  #services .filter-panel .check-group {
    grid-column: 1 / -1 !important;
  }

  #services .filter-panel .check-group label {
    min-height: 40px !important;
    height: 40px !important;
  }
}

/* SLA strips must wrap instead of creating clipped horizontal rails. */
.order-sla-strip,
.seller-sla-strip {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)) !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
}

.order-sla-strip span,
.seller-sla-strip span {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.order-revision-panel,
.seller-revision-strip {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 8px;
  border: 1px solid rgba(255, 187, 84, 0.28);
  border-radius: 8px;
  background: rgba(255, 187, 84, 0.07);
  padding: 10px;
}

.order-revision-panel span,
.seller-revision-strip span {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 10px;
}

.order-revision-panel b,
.order-revision-panel small,
.seller-revision-strip b,
.seller-revision-strip small {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.order-revision-panel b,
.seller-revision-strip b {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.order-revision-panel small,
.seller-revision-strip small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.order-revision-panel.is-resubmitted,
.seller-revision-strip.is-resubmitted {
  border-color: rgba(82, 214, 163, 0.28);
  background: rgba(82, 214, 163, 0.07);
}

.order-refund-quote-panel,
.resolution-refund-quote {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 8px;
  border: 1px solid rgba(255, 129, 129, 0.3);
  border-radius: 8px;
  background: rgba(255, 129, 129, 0.08);
  padding: 10px;
}

.order-refund-quote-panel span,
.resolution-refund-quote span {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 10px;
}

.order-refund-quote-panel b,
.order-refund-quote-panel small,
.resolution-refund-quote b,
.resolution-refund-quote small {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.order-refund-quote-panel b,
.resolution-refund-quote b {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.order-refund-quote-panel small,
.resolution-refund-quote small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.settlement-statement-panel {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 8px;
  border: 1px solid rgba(88, 230, 255, 0.16);
  border-radius: 8px;
  background: rgba(88, 230, 255, 0.055);
  padding: 8px;
}

.settlement-statement-panel span {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  padding: 8px;
}

.settlement-statement-panel b,
.settlement-statement-panel small {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.settlement-statement-panel b {
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.settlement-statement-panel small,
.settlement-statement-note {
  color: var(--muted);
  font-size: 11px;
}

.settlement-statement-note {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

/* Global UI fit hardening */
.workspace-panel[hidden],
#services.workspace-panel[hidden],
#services.market-layout[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

img,
video,
canvas {
  max-width: 100%;
}

button,
input,
select,
textarea {
  min-width: 0;
  max-width: 100%;
}

.card-actions button,
.ops-actions button,
.ops-report-actions button,
.ops-report-actions a,
.ops-data-actions a,
.sort-tabs button,
.service-more-row button,
.seller-service-form button,
.seller-studio-actions button,
.expert-actions button {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.service-feedback-row {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  overflow: visible;
  scroll-snap-type: none;
}

.market-status-chip {
  min-width: 0;
  max-width: 100%;
  flex: 0 1 auto;
  justify-content: center;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  scroll-snap-align: unset;
}

.activity-filter {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 86px), 1fr));
  overflow: visible;
  scroll-snap-type: none;
}

.activity-filter button {
  min-width: 0;
  width: 100%;
  justify-content: center;
  white-space: normal;
  overflow-wrap: anywhere;
  scroll-snap-align: unset;
}

@media (max-width: 430px) {
  .service-feedback-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .activity-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .market-status-chip {
    width: 100%;
    min-height: 25px;
    padding-inline: 7px;
  }
}

/* Mobile service card density pass */
@media (max-width: 760px) {
  .service-card .rank-line {
    gap: 5px;
    grid-template-columns: 38px minmax(0, 1fr);
    margin: 5px 0;
    padding: 5px 6px;
  }

  .service-card .rank-line span {
    min-width: 38px;
  }

  .service-card .rank-line b {
    font-size: 13px;
  }

  .service-card .rank-line small {
    font-size: 9.5px;
  }

  .service-card .rank-line p {
    font-size: 10px;
    line-height: 1.2;
  }

  .service-card .capacity-strip,
  .service-card .package-strip,
  .service-card .sample-strip,
  .service-card .performance-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin: 5px 0;
  }

  .service-card .capacity-strip span,
  .service-card .package-strip span,
  .service-card .sample-strip span,
  .service-card .performance-strip span {
    min-height: 0;
    padding: 5px 6px;
    border-radius: 7px;
  }

  .service-card .capacity-strip b,
  .service-card .package-strip b,
  .service-card .sample-strip b,
  .service-card .performance-strip b,
  .service-card .capacity-strip small,
  .service-card .package-strip small,
  .service-card .sample-strip small,
  .service-card .performance-strip small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .service-card .capacity-strip b,
  .service-card .package-strip b,
  .service-card .sample-strip b,
  .service-card .performance-strip b {
    font-size: 10.5px;
    line-height: 1.16;
  }

  .service-card .capacity-strip small,
  .service-card .package-strip small,
  .service-card .sample-strip small,
  .service-card .performance-strip small {
    margin-top: 2px;
    font-size: 9.8px;
    line-height: 1.18;
  }

  .service-card .tag-row {
    gap: 4px;
    margin: 5px -10px 6px 0;
  }

  .service-card .mini-fees {
    gap: 4px;
    margin: 0 -10px 6px 0;
  }

  .service-card .tag-row span,
  .service-card .mini-fees span {
    min-height: 21px;
    padding-inline: 6px;
    font-size: 10.5px;
  }

  .service-card .price-line {
    gap: 5px;
    padding-top: 6px;
  }

  .service-card .card-actions.is-four {
    gap: 4px;
    margin-top: 6px;
  }

  .service-card .card-actions button {
    min-height: 28px;
    padding-inline: 3px;
    font-size: 10.5px;
  }
}

@media (max-width: 430px) {
  .service-card .rank-line {
    grid-template-columns: 34px minmax(0, 1fr);
    margin: 4px 0;
    padding: 4px 5px;
  }

  .service-card .rank-line span {
    min-width: 34px;
  }

  .service-card .rank-line b {
    font-size: 12px;
  }

  .service-card .capacity-strip,
  .service-card .package-strip,
  .service-card .sample-strip,
  .service-card .performance-strip {
    gap: 4px;
    margin: 4px 0;
  }

  .service-card .capacity-strip span,
  .service-card .package-strip span,
  .service-card .sample-strip span,
  .service-card .performance-strip span {
    padding: 4px 5px;
  }

  .service-card .capacity-strip b,
  .service-card .package-strip b,
  .service-card .sample-strip b,
  .service-card .performance-strip b {
    font-size: 10px;
  }

  .service-card .capacity-strip small,
  .service-card .package-strip small,
  .service-card .sample-strip small,
  .service-card .performance-strip small {
    font-size: 9.5px;
  }

  .service-card .card-actions button {
    min-height: 28px;
    font-size: 10px;
  }
}

/* Mobile topbar shortcut fit pass */
@media (max-width: 430px) {
  .top-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .top-links a {
    display: none;
    width: 100%;
    min-width: 0;
    height: 28px;
    min-height: 28px;
    justify-content: center;
    padding: 0 5px;
    border-radius: 7px;
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    scroll-snap-align: unset;
  }

  .top-links a:nth-child(1),
  .top-links a:nth-child(2),
  .top-links a:nth-child(6),
  .top-links a:nth-child(15) {
    display: inline-flex;
  }
}

/* Mobile home structure pass */
@media (max-width: 760px) {
  .hero-section {
    gap: 12px;
    padding: 14px 0 12px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 7px;
    font-size: 10.5px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.12;
  }

  .hero-summary {
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.42;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .search-panel {
    margin-top: 12px;
  }

  .search-panel label {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .search-panel div {
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 6px;
    padding: 5px 5px 5px 10px;
  }

  .search-panel svg {
    width: 18px;
    height: 18px;
  }

  .search-panel input {
    height: 34px;
    font-size: 13px;
  }

  .search-panel button {
    height: 34px;
    min-width: 50px;
    padding: 0 9px;
    font-size: 12px;
  }

  .quick-tags {
    gap: 5px;
    margin-top: 8px;
  }

  .quick-tags button {
    min-height: 28px;
    padding: 0 8px;
    font-size: 11px;
  }

  .deal-board {
    min-height: 0;
    display: grid;
    gap: 6px;
    padding: 10px;
  }

  .deal-board-head {
    margin-bottom: 0;
  }

  .deal-board-head span {
    font-size: 10px;
  }

  .deal-board-head strong {
    font-size: 12px;
  }

  .deal-row {
    gap: 8px;
    margin-top: 0;
    padding: 8px;
  }

  .deal-row b {
    font-size: 12px;
  }

  .deal-row small {
    margin-top: 2px;
    font-size: 10.5px;
    line-height: 1.22;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .deal-row strong {
    font-size: 12px;
  }

  .avatar {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    font-size: 12px;
  }

  .deal-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 2px;
  }

  .deal-metrics article {
    padding: 8px 5px;
    border-radius: 7px;
  }

  .deal-metrics b {
    font-size: 14px;
  }

  .deal-metrics span {
    margin-top: 2px;
    font-size: 9.5px;
    line-height: 1.15;
  }

  .category-band {
    padding-block: 6px;
  }

  .category-chip {
    min-height: 29px;
    padding-inline: 9px;
    font-size: 11px;
  }

  .intent-section {
    padding: 12px 0 4px;
  }

  .section-head.compact {
    display: grid;
    gap: 7px;
    margin-bottom: 8px;
  }

  .section-head.compact h2 {
    font-size: 20px;
    line-height: 1.2;
  }

  .intent-note {
    width: fit-content;
    min-height: 27px;
    padding-inline: 9px;
    font-size: 10.5px;
  }

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

  .intent-card {
    min-height: 112px;
    align-content: start;
    gap: 6px;
    padding: 10px;
  }

  .intent-card span {
    font-size: 9.5px;
    letter-spacing: 0;
  }

  .intent-card strong {
    font-size: 12.5px;
    line-height: 1.25;
  }

  .intent-card small {
    font-size: 10.5px;
    line-height: 1.28;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .workspace-switcher {
    margin-top: 10px;
    padding: 8px;
  }
}

@media (max-width: 430px) {
  .category-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin-inline: 0;
    padding: 6px 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .category-chip {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding-inline: 4px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    scroll-snap-align: unset;
  }

  .workspace-switcher {
    min-height: 0;
  }

  .workspace-switcher-head {
    display: none;
  }

  .workspace-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .workspace-tabs button {
    width: 100%;
    min-width: 0;
    min-height: 28px;
    padding: 0 4px;
    overflow: hidden;
    font-size: 10.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    scroll-snap-align: unset;
  }
}

/* Mobile structural strip wrapping pass */
@media (max-width: 430px) {
  .trust-flow,
  .order-money,
  .order-stage-rail,
  .order-receipt-strip,
  .order-runtime-strip,
  .order-invoice-strip,
  .escrow-timeline,
  .order-agreement-strip,
  .order-sla-strip,
  .order-claim-strip,
  .workroom-order-strip,
  .seller-offer-strip,
  .seller-message-strip {
    display: grid;
    gap: 6px;
    overflow: visible;
    overscroll-behavior-x: auto;
    scroll-snap-type: none;
  }

  .trust-flow,
  .order-money,
  .order-receipt-strip,
  .order-runtime-strip,
  .order-invoice-strip,
  .order-agreement-strip,
  .order-sla-strip,
  .order-claim-strip,
  .seller-offer-strip,
  .seller-message-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .escrow-timeline {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .trust-flow article,
  .order-money div,
  .order-stage-rail span,
  .order-receipt-strip span,
  .order-runtime-strip span,
  .order-invoice-strip span,
  .escrow-timeline span,
  .order-agreement-strip span,
  .order-sla-strip span,
  .order-claim-strip span,
  .workroom-order-strip span,
  .seller-offer-strip span,
  .seller-message-strip span {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    flex: initial;
    padding: 7px;
    scroll-snap-align: unset;
  }

  .trust-flow span,
  .trust-flow strong,
  .trust-flow small,
  .order-money span,
  .order-money b,
  .order-stage-rail b,
  .order-stage-rail small,
  .order-receipt-strip b,
  .order-receipt-strip small,
  .order-runtime-strip b,
  .order-runtime-strip small,
  .order-invoice-strip b,
  .order-invoice-strip small,
  .escrow-timeline b,
  .escrow-timeline small,
  .escrow-timeline em,
  .order-agreement-strip b,
  .order-agreement-strip small,
  .order-sla-strip b,
  .order-sla-strip small,
  .order-claim-strip b,
  .order-claim-strip small,
  .workroom-order-strip b,
  .workroom-order-strip small,
  .seller-offer-strip b,
  .seller-offer-strip small,
  .seller-message-strip b,
  .seller-message-strip small {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    line-height: 1.22;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .trust-flow span,
  .order-money span,
  .order-stage-rail b,
  .order-receipt-strip b,
  .order-runtime-strip b,
  .order-invoice-strip b,
  .escrow-timeline b,
  .order-agreement-strip b,
  .order-sla-strip b,
  .order-claim-strip b,
  .workroom-order-strip b,
  .seller-offer-strip b,
  .seller-message-strip b {
    font-size: 10.5px;
  }

  .trust-flow strong,
  .order-money b,
  .order-stage-rail small,
  .order-receipt-strip small,
  .order-runtime-strip small,
  .order-invoice-strip small,
  .escrow-timeline small,
  .escrow-timeline em,
  .order-agreement-strip small,
  .order-sla-strip small,
  .order-claim-strip small,
  .workroom-order-strip small,
  .seller-offer-strip small,
  .seller-message-strip small {
    font-size: 10px;
  }
}

/* Service decision panel responsive pass */
@media (max-width: 760px) {
  .service-decision-panel {
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px;
  }

  .service-decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .service-decision-grid article,
  .service-decision-next {
    padding: 8px;
  }

  .service-decision-grid span,
  .service-decision-next span {
    font-size: 10.5px;
  }

  .service-decision-grid b,
  .service-decision-next b {
    font-size: 12px;
  }

  .service-decision-grid small,
  .service-decision-next small {
    font-size: 10.5px;
  }

  .service-alternative-panel {
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px;
  }

  .service-alternative-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .service-alternative-grid article {
    gap: 7px;
    padding: 9px;
  }

  .service-alternative-grid h3 {
    font-size: 13px;
  }

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

  .service-alternative-metrics span {
    padding: 6px;
  }

  .service-alternative-metrics b {
    font-size: 11px;
  }

  .service-alternative-metrics small,
  .service-alternative-grid p,
  .service-alternative-note {
    font-size: 10.5px;
  }
}

@media (max-width: 340px) {
  .service-decision-grid {
    grid-template-columns: 1fr;
  }

  .service-alternative-metrics,
  .service-alternative-actions {
    grid-template-columns: 1fr;
  }
}

/* Compare decision summary responsive pass */
@media (max-width: 760px) {
  .compare-decision-panel {
    gap: 8px;
    padding: 10px;
  }

  .compare-decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .compare-decision-grid article {
    padding: 8px;
  }

  .compare-decision-grid span,
  .compare-decision-grid small {
    font-size: 10.5px;
  }

  .compare-decision-grid b {
    font-size: 12px;
  }

  .compare-decision-actions {
    gap: 6px;
  }

  .compare-decision-actions button {
    min-height: 34px;
    padding: 0 8px;
    font-size: 11px;
  }
}

@media (max-width: 340px) {
  .compare-decision-grid,
  .compare-decision-actions {
    grid-template-columns: 1fr;
  }

  .ops-role-switch,
  .ops-runtime-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile touch target pass */
@media (max-width: 760px) {
  body .brand-block,
  body .top-links a,
  body .service-card .card-actions button,
  body button:not(.icon-button) {
    min-height: 36px;
  }

  body .icon-button,
  body .dialog-close {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }
}

/* Final simplification precedence */
#service-feedback-row:empty {
  display: none;
}

#service-feedback-row .market-status-chip:nth-child(n + 4) {
  display: none !important;
}

#services .filter-panel {
  grid-template-columns: 132px minmax(220px, 1fr) 150px 150px minmax(250px, auto) !important;
  grid-template-areas: "title search budget delivery checks" !important;
}

#services .filter-panel .panel-title {
  grid-area: title !important;
  min-height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 0 10px 0 0 !important;
}

#services .filter-panel > label.filter-search {
  grid-area: search !important;
}

#services .filter-panel > label:nth-of-type(2) {
  grid-area: budget !important;
}

#services .filter-panel > label:nth-of-type(3) {
  grid-area: delivery !important;
}

#services .filter-panel .check-group {
  grid-area: checks !important;
}

#services .filter-panel .check-group input {
  width: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  height: 14px !important;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important;
  gap: 12px !important;
}

.service-art {
  min-height: 72px;
}

.service-body {
  padding: 14px;
}

.service-card .card-actions.is-four {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1120px) {
  #services .filter-panel {
    grid-template-columns: minmax(200px, 1fr) minmax(130px, 0.7fr) minmax(130px, 0.7fr) minmax(250px, 1fr) !important;
    grid-template-areas:
      "title title title title"
      "search budget delivery checks" !important;
  }

  #services .filter-panel .panel-title {
    min-height: 34px !important;
    padding: 0 0 8px !important;
  }
}

@media (max-width: 760px) {
  #services .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
      "title title"
      "search search"
      "budget delivery"
      "checks checks" !important;
  }
}

/* Real-image precedence */
.intent-grid {
  gap: 0 !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intent-card,
.intent-card:hover,
.intent-card:focus-visible {
  min-height: 112px !important;
  border: 0 !important;
  border-right: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.intent-card:last-child {
  border-right: 0 !important;
}

.intent-card:hover,
.intent-card:focus-visible {
  background: rgba(98, 217, 171, 0.055) !important;
}

.service-art {
  min-height: 0 !important;
  aspect-ratio: 16 / 8.5;
  background: #0d1218 !important;
}

.service-art::after {
  display: none !important;
}

.service-art > span {
  left: 10px !important;
  bottom: 10px !important;
  z-index: 2;
  min-height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(7, 11, 18, 0.76) !important;
  color: #fff;
  backdrop-filter: blur(8px);
}

@media (min-width: 761px) {
  .hero-showcase {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 980px) {
  .intent-card:nth-child(2) {
    border-right: 0 !important;
  }

  .intent-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line) !important;
  }
}

@media (max-width: 760px) {
  .intent-card,
  .intent-card:hover,
  .intent-card:focus-visible {
    min-height: 86px !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .intent-card:last-child {
    border-bottom: 0 !important;
  }

  .service-art {
    width: 100% !important;
    min-width: 0 !important;
    height: 100%;
    aspect-ratio: auto;
  }

  .service-art > span {
    display: none;
  }
}

/* Unified home and workspace flow */
.platform-topbar,
main {
  width: min(1280px, calc(100% - 38px)) !important;
}

main > [data-home-section],
main > [data-workspace-panel] {
  width: 100%;
  max-width: none !important;
  margin-inline: 0;
}

.workspace-panel:not(#services) {
  padding-top: 28px;
}

.workspace-panel > .section-head {
  margin-bottom: 16px;
}

.workspace-panel > .section-head h2,
.market-heading h2 {
  max-width: 24ch;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.16;
  word-break: keep-all;
}

#services.market-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
  padding-top: 28px !important;
}

.market-heading {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
}

.market-heading .section-head,
.market-heading .sort-tabs {
  margin: 0;
}

.market-heading .sort-tabs {
  justify-self: end;
}

.market-content {
  min-width: 0;
  display: grid;
  gap: 10px;
}

#services .filter-panel {
  margin: 0 !important;
}

.hero-showcase img,
.service-art-image {
  filter: saturate(0.9) contrast(1.04);
}

#request.request-section {
  gap: 14px 22px;
  padding-top: 28px;
}

#request .section-head {
  margin: 0;
}

#request .brief-template-grid {
  gap: 8px;
}

#request .brief-template-grid button {
  min-height: 52px;
  padding: 10px 12px;
  text-align: left;
}

#request .request-form {
  gap: 12px;
  padding: 18px;
}

#request .request-form textarea {
  min-height: 84px;
}

.workroom-grid,
.order-list {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 10px !important;
}

.workroom-card,
.order-card {
  display: block !important;
  padding: 0 !important;
  overflow: hidden;
}

.workroom-card > summary,
.order-card > summary {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 15px 48px 15px 16px;
  list-style: none;
  cursor: pointer;
}

.workroom-card > summary::-webkit-details-marker,
.order-card > summary::-webkit-details-marker {
  display: none;
}

.workroom-card > summary::after,
.order-card > summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 17px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.workroom-card[open] > summary::after,
.order-card[open] > summary::after {
  content: "−";
}

.workroom-card[open] > summary,
.order-card[open] > summary {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.workroom-card > summary:focus-visible,
.order-card > summary:focus-visible {
  outline: 2px solid rgba(98, 217, 171, 0.5);
  outline-offset: -2px;
}

.workroom-card-detail,
.order-card-detail {
  min-width: 0;
  display: grid;
  gap: 11px;
  padding: 14px 16px 16px;
}

.workroom-card-summary {
  gap: 8px !important;
}

.workroom-card-summary > p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workroom-card-summary .action-policy-strip {
  margin: 0;
}

.workroom-card-summary .progress-track {
  height: 6px;
}

.order-summary-meta {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.order-summary-meta span {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 0 10px;
  border-left: 1px solid var(--line-soft);
}

.order-summary-meta span:first-child {
  padding-left: 0;
  border-left: 0;
}

.order-summary-meta b,
.order-summary-meta small {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-summary-meta b {
  color: var(--ink);
  font-size: 13px;
}

.order-summary-meta small {
  color: var(--muted);
  font-size: 11px;
}

.orders-section .order-runtime-strip {
  display: none;
}

@media (max-width: 900px) {
  #request.request-section {
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .platform-topbar,
  main {
    width: calc(100% - 24px) !important;
  }

  .workspace-panel:not(#services),
  #services.market-layout,
  #request.request-section {
    padding-top: 18px !important;
  }

  .workspace-panel > .section-head h2,
  .market-heading h2 {
    max-width: none;
    font-size: 24px;
  }

  .market-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .market-heading .sort-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-self: stretch;
  }

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

  #request .request-form {
    padding: 14px;
  }

  .workroom-card > summary,
  .order-card > summary {
    padding: 13px 38px 13px 12px;
  }

  .workroom-card > summary::after,
  .order-card > summary::after {
    top: 15px;
    right: 12px;
  }

  .workroom-card-detail,
  .order-card-detail {
    padding: 12px;
  }

  .order-summary-meta span {
    padding-inline: 7px;
  }

  .order-summary-meta b {
    font-size: 12px;
  }
}

/* Compact secondary workspaces */
.portfolio-art {
  position: relative;
  isolation: isolate;
  min-height: 150px;
  max-height: 220px;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  background: #08101a;
}

.portfolio-art .service-art-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-art span {
  position: relative;
  z-index: 1;
}

.portfolio-actions > :only-child {
  grid-column: 1 / -1;
}

.activity-list {
  max-height: min(66vh, 720px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: 4px;
}

.activity-list:focus-visible {
  outline: 2px solid rgba(98, 217, 171, 0.5);
  outline-offset: 3px;
}

#seller.seller-section {
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.45fr);
  gap: 18px 28px;
  margin: 0;
  padding: 28px 0 40px;
  border: 0;
  background: none;
  box-shadow: none;
}

#seller .seller-copy h2 {
  max-width: none;
  font-size: clamp(30px, 2.6vw, 36px);
  line-height: 1.12;
}

#seller .seller-intro {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 16px;
}

#seller .seller-studio {
  grid-column: 2;
  grid-row: auto;
}

#operations details.ops-panel {
  min-height: 0;
  display: block;
}

:is(#operations details, #seller details) > summary {
  position: relative;
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 28px;
  list-style: none;
  cursor: pointer;
}

:is(#operations details, #seller details) > summary::-webkit-details-marker {
  display: none;
}

:is(#operations details, #seller details) > summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  transform: translateY(-50%);
}

:is(#operations details, #seller details)[open] > summary::after {
  content: "−";
}

:is(#operations details, #seller details) > summary:focus-visible {
  outline: 2px solid rgba(98, 217, 171, 0.5);
  outline-offset: 4px;
}

#operations details[open] > summary,
#seller details[open] > summary {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

#operations > details {
  margin-bottom: 12px;
}

#seller details.seller-studio-panel {
  min-height: 0;
}

@media (max-width: 900px) {
  #seller.seller-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-top: 18px;
  }

  #seller .seller-copy h2 {
    max-width: none;
    font-size: 30px;
  }

  #seller .seller-studio {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .portfolio-art {
    min-height: 140px;
    aspect-ratio: 16 / 7;
  }

  .activity-list {
    max-height: 64vh;
  }

  #operations .ops-summary-grid {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  #operations .ops-summary-grid::-webkit-scrollbar {
    display: none;
  }

  #operations .ops-summary-card {
    flex: 0 0 138px;
    scroll-snap-align: start;
  }

  #seller .seller-studio-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #seller .seller-studio-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Final navigation precedence */
.platform-topbar {
  grid-template-columns: auto minmax(360px, 1fr) minmax(150px, 180px) auto;
}

.top-links {
  justify-content: center;
  overflow: visible;
  scroll-snap-type: none;
}

@media (min-width: 761px) and (max-width: 1120px) {
  .hero-section {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    align-items: start;
    gap: 18px;
    padding: 28px 0 20px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-summary {
    font-size: 14px;
    line-height: 1.5;
  }

  .deal-board {
    min-height: 0;
    padding: 14px;
  }

  .deal-row {
    gap: 9px;
    margin-top: 7px;
    padding: 9px;
  }

  .deal-metrics {
    gap: 6px;
    margin-top: 9px;
  }
}

@media (max-width: 760px) {
  .platform-topbar {
    min-height: 52px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand menu actions";
    gap: 8px;
    padding: 7px;
  }

  .top-links {
    display: none;
  }

  .workspace-menu {
    grid-area: menu;
    min-height: 38px;
  }

  .window-actions {
    grid-area: actions;
  }

  main {
    padding-top: 72px;
  }

  .hero-section {
    gap: 10px;
    padding: 10px 0 12px;
  }

  .hero-copy h1 {
    font-size: 28px;
    line-height: 1.12;
  }

  .hero-summary {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.42;
  }

  .search-panel {
    margin-top: 10px;
  }

  .deal-board {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
  }

  .deal-board-head {
    grid-column: 1 / -1;
    margin: 0 0 2px;
  }

  .deal-row {
    min-width: 0;
    display: grid;
    align-content: space-between;
    gap: 6px;
    margin: 0;
    padding: 8px;
  }

  .deal-row .avatar,
  .deal-row small,
  .deal-metrics {
    display: none;
  }

  .deal-row b,
  .deal-row strong {
    font-size: 11px;
    line-height: 1.2;
  }

  .deal-row b {
    overflow-wrap: anywhere;
  }

  .intent-section {
    padding-top: 14px;
  }

  .intent-card {
    min-height: 104px;
  }
}

/* Navigation and touch-target refinement */
@media (min-width: 761px) and (max-width: 980px) {
  .platform-topbar {
    grid-template-columns: auto minmax(220px, 1fr) auto;
  }

  .top-links {
    display: none;
  }

  .workspace-menu {
    width: min(100%, 360px);
    justify-self: center;
  }
}

.message-compose input,
.message-compose button,
.review-form select,
.review-form input,
.review-form button,
.seller-message-compose input,
.seller-message-compose button {
  min-height: 40px !important;
}

.my-panel-heading > a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding-inline: 7px;
}

#services .filter-panel > label {
  grid-template-columns: minmax(0, 1fr) !important;
}

#services .filter-panel > label > input,
#services .filter-panel > label > select {
  justify-self: stretch !important;
}

@media (min-width: 761px) and (max-width: 900px) {
  #request .section-head h2 {
    font-size: 30px;
  }

  #request .brief-template-grid button {
    min-height: 48px;
  }
}

@media (max-width: 760px) {
  #services .sort-tabs button {
    min-height: 40px;
  }

  .service-card .card-actions button {
    min-height: 38px !important;
  }

  .message-compose input,
  .message-compose button,
  .review-form select,
  .review-form input,
  .review-form button,
  .seller-message-compose input,
  .seller-message-compose button {
    min-height: 42px !important;
  }

  .my-panel-heading > a,
  .my-empty a {
    min-height: 38px;
  }
}

.house-link {
  min-width: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(98, 217, 171, 0.3);
  border-radius: 6px;
  background: rgba(98, 217, 171, 0.1);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.house-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.house-link:hover,
.house-link:focus-visible {
  border-color: rgba(98, 217, 171, 0.55);
  background: rgba(98, 217, 171, 0.17);
  outline: none;
}

@media (max-width: 760px) {
  .house-link {
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
  }

  .house-link span,
  .hub-link {
    display: none;
  }
}

/* Final workspace density and mobile filter pass */
#services .filter-panel .panel-title .filter-toggle {
  display: none !important;
}

.workspace-panel > .section-head {
  align-items: center;
}

.workspace-panel > .section-head > div {
  min-width: 0;
}

.workspace-panel > .section-head h2,
.market-heading h2,
#request .section-head h2 {
  max-width: none;
  font-size: 30px;
}

#token .token-panel {
  min-height: 0;
}

#token .token-balance-card strong {
  font-size: 32px;
}

#token .token-package-card {
  background: #101418;
}

@media (max-width: 760px) {
  .workspace-panel > .section-head h2,
  .market-heading h2,
  #request .section-head h2 {
    font-size: 22px;
  }

  .market-heading .section-head,
  .workspace-panel > .section-head:has(> .count-pill) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 8px;
  }

  .market-heading .count-pill,
  .workspace-panel > .section-head > .count-pill {
    width: auto;
    justify-self: end;
  }

  #services .filter-panel .panel-title .filter-toggle {
    display: inline-flex !important;
  }

  #services .filter-panel:not(.is-mobile-open) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "title" !important;
    padding: 8px 10px !important;
  }

  #services .filter-panel:not(.is-mobile-open) > label,
  #services .filter-panel:not(.is-mobile-open) > .check-group {
    display: none !important;
  }

  #services .filter-panel:not(.is-mobile-open) .panel-title {
    min-height: 40px !important;
    padding: 0 !important;
    border-bottom: 0 !important;
  }

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

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

/* Secondary workspace card layout */
.portfolio-list,
.biz-list,
.promotion-list,
.compare-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  align-items: stretch;
  gap: 12px;
}

.portfolio-card {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}

.portfolio-body {
  grid-template-rows: auto auto auto 1fr auto;
}

.biz-card {
  height: 100%;
  grid-template-rows: auto auto 1fr auto auto;
  align-content: stretch;
}

.promotion-card {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 12px;
}

.expert-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 12px;
}

.compare-empty > .primary-action {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--accent);
  color: #07110d;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 850;
}

/* Full-bleed home cinema */
body:has(#scroll-cinema:not([hidden])) main {
  padding-top: 0;
}

body:has(#scroll-cinema:not([hidden])) .platform-topbar {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(5, 9, 15, 0.94);
  box-shadow: none;
}

.hero-section.scroll-cinema {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.cinema-stage {
  top: 0;
  height: 100svh;
  border-radius: 0;
  box-shadow: none;
}

.cinema-stage::after {
  background:
    linear-gradient(90deg, rgba(1, 4, 10, 0.96) 0%, rgba(1, 4, 10, 0.8) 29%, rgba(1, 4, 10, 0.28) 58%, rgba(1, 4, 10, 0.04) 100%),
    linear-gradient(180deg, rgba(1, 4, 10, 0.06) 62%, rgba(1, 4, 10, 0.34) 100%);
}

.cinema-video {
  object-position: 72% center;
  transform: translateX(9%) scale(0.92);
}

.cinema-step {
  top: 43%;
  left: clamp(36px, 6vw, 96px);
  width: min(520px, calc(100% - 150px));
}

.cinema-step h1,
.cinema-step h2 {
  font-size: 46px;
}

.cinema-step > p:not(.eyebrow) {
  max-width: 46ch;
  line-height: 1.68;
}

.cinema-search-dock {
  right: auto;
  bottom: 42px;
  left: clamp(36px, 6vw, 96px);
  width: min(520px, calc(100% - 150px));
  display: block;
}

.cinema-search-dock .search-panel label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cinema-search-dock .search-panel div {
  min-height: 60px;
  background: rgba(6, 10, 18, 0.78);
}

.cinema-search-dock .quick-tags,
.cinema-progress {
  display: none;
}

.cinema-rail {
  right: clamp(20px, 2.7vw, 42px);
}

.cinema-scroll-cue {
  bottom: 28px;
}

@media (min-width: 761px) {
  body:has(#scroll-cinema:not([hidden])) .platform-topbar {
    grid-template-columns: auto minmax(360px, 1fr) auto;
  }

  body:has(#scroll-cinema:not([hidden])) .workspace-menu {
    display: none;
  }
}

@media (max-width: 760px) {
  .cinema-video {
    object-position: 72% center;
    transform: translateX(8%) scale(0.96);
  }

  .cinema-step {
    bottom: 154px;
  }

  .cinema-step h1,
  .cinema-step h2 {
    font-size: 28px;
  }

  .cinema-search-dock {
    bottom: 46px;
    left: 18px;
    width: calc(100% - 36px);
  }

  .cinema-search-dock .search-panel div {
    min-height: 50px;
  }

  .cinema-rail {
    display: none;
  }
}

/* Spacious home continuation */
.category-band {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: end;
  gap: clamp(40px, 7vw, 110px);
  overflow: visible;
  padding: clamp(64px, 7vw, 92px) max(38px, calc((100vw - 1180px) / 2)) !important;
  border: 0;
  background: #eef1ec;
  color: #101512;
  box-shadow: none;
  backdrop-filter: none;
}

.category-band__intro {
  max-width: 470px;
}

.category-band__intro .eyebrow {
  color: #137657;
}

.category-band__intro h2 {
  max-width: 10ch;
  margin: 0;
  color: #101512;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.12;
}

.category-band__intro > p:last-child {
  max-width: 38ch;
  margin: 18px 0 0;
  color: #5f6963;
  font-size: 14px;
  line-height: 1.65;
}

.category-band__list {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.category-band .category-chip {
  min-width: 0;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid #d4dad5;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.58);
  color: #29312c;
  font-size: 13px;
  text-align: left;
}

.category-band .category-chip::after {
  color: #7b857f;
  content: "\2197";
  font-size: 14px;
}

.category-band .category-chip:is(:hover, :focus-visible) {
  border-color: #8fa198;
  background: #fff;
  outline: none;
}

.category-band .category-chip.is-active {
  border-color: #15231d;
  background: #15231d;
  color: #fff;
}

.category-band .category-chip.is-active::after {
  color: #62d9ab;
}

.intent-section {
  padding: clamp(80px, 8vw, 112px) 0 clamp(92px, 10vw, 140px) !important;
}

.intent-section .section-head.compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: 48px;
  margin-bottom: 48px;
}

.intent-section .section-head h2 {
  max-width: 11ch;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1;
}

.intent-section .intent-note {
  min-height: 0;
  justify-self: end;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: 14px;
  line-height: 1.65;
  white-space: normal;
}

.intent-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 48px !important;
  border: 0 !important;
}

.intent-card,
.intent-card:hover,
.intent-card:focus-visible {
  position: relative;
  min-height: 190px !important;
  align-content: start;
  gap: 13px;
  padding: 30px 74px 30px 2px !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.intent-card:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--line) !important;
}

.intent-card::after {
  position: absolute;
  top: 28px;
  right: 2px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  content: "\2197";
  font-size: 17px;
  transition: background 180ms ease, color 180ms ease;
}

.intent-card:hover::after,
.intent-card:focus-visible::after {
  background: var(--accent);
  color: #07110d;
}

.intent-card span {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.intent-card strong {
  max-width: 18ch;
  font-size: 23px;
  line-height: 1.28;
}

.intent-card small {
  max-width: 38ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.home-path-actions {
  display: flex;
  gap: 10px;
  margin-top: 48px;
}

.home-path-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.home-path-actions a.primary-action {
  border-color: var(--accent);
  background: var(--accent);
  color: #07110d;
}

@media (max-width: 980px) {
  .category-band {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: 36px;
  }

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

@media (max-width: 760px) {
  .category-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 56px 20px !important;
  }

  .category-band__intro h2 {
    max-width: 12ch;
    font-size: 34px;
  }

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

  .category-band .category-chip {
    min-height: 48px;
    padding-inline: 13px;
  }

  .intent-section {
    padding: 64px 0 80px !important;
  }

  .intent-section .section-head.compact {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 34px;
  }

  .intent-section .section-head h2 {
    max-width: 12ch;
    font-size: 34px;
  }

  .intent-section .intent-note {
    justify-self: start;
  }

  .intent-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .intent-card,
  .intent-card:hover,
  .intent-card:focus-visible {
    min-height: 156px !important;
    padding: 25px 62px 25px 0 !important;
  }

  .intent-card:nth-last-child(-n + 2) {
    border-bottom: 0 !important;
  }

  .intent-card:last-child {
    border-bottom: 1px solid var(--line) !important;
  }

  .intent-card::after {
    top: 23px;
    width: 38px;
    height: 38px;
  }

  .intent-card strong {
    font-size: 20px;
  }

  .home-path-actions {
    display: grid;
    margin-top: 36px;
  }
}

/* Refined primary navigation and home closing flow */
@media (min-width: 761px) {
  .platform-topbar {
    width: min(1180px, calc(100% - 40px)) !important;
    height: 56px;
    min-height: 56px;
    padding: 0 12px;
    border-radius: 6px;
    background: rgba(11, 14, 17, 0.94);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  }

  .top-links {
    gap: 26px;
  }

  .top-links a {
    position: relative;
    height: 54px;
    padding: 0 1px;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: #aeb8b2;
    font-size: 13px;
  }

  .top-links a::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
  }

  .top-links a:hover,
  .top-links a.is-active,
  .top-links a[aria-current="page"] {
    color: #fff;
  }

  .top-links a:hover::after,
  .top-links a:focus-visible::after,
  .top-links a.is-active::after,
  .top-links a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .top-links a:focus-visible {
    color: #fff;
    outline: none;
  }

  .window-actions {
    gap: 6px;
    padding-left: 12px;
    border-left: 1px solid var(--line);
  }

  .workspace-menu {
    min-height: 36px;
    border-radius: 6px;
  }
}

.house-link {
  min-height: 36px;
  border-color: var(--line);
  background: transparent;
  color: #c6cec9;
}

.house-link:hover,
.house-link:focus-visible {
  border-color: rgba(98, 217, 171, 0.48);
  background: rgba(98, 217, 171, 0.08);
  color: #fff;
}

.home-closing {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: end;
  gap: 48px;
  margin-top: 64px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-closing__copy {
  min-width: 0;
}

.home-closing__copy h3 {
  max-width: 15ch;
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.18;
}

.home-closing .home-path-actions {
  justify-content: flex-end;
  margin: 0;
}

@media (max-width: 900px) {
  .home-closing {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 24px;
  }

  .home-closing .home-path-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .platform-topbar {
    width: calc(100% - 24px) !important;
  }

  .window-actions {
    padding-left: 0;
    border-left: 0;
  }

  .home-closing {
    margin-top: 48px;
    padding: 30px 0;
  }

  .home-closing__copy h3 {
    max-width: 14ch;
    font-size: 24px;
  }

  .home-closing .home-path-actions {
    justify-content: stretch;
    margin: 0;
  }

  .home-closing .home-path-actions a {
    width: 100%;
  }
}

/* Workspace coherence */
.category-band[hidden] {
  display: none !important;
}

main {
  width: min(1180px, calc(100% - 40px)) !important;
}

.workspace-panel > .section-head,
.market-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

#operations .ops-summary-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

#token .token-grid {
  grid-template-columns: minmax(260px, 0.85fr) minmax(420px, 1.3fr) minmax(260px, 0.95fr);
}

#reset-demo-data {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

#reset-demo-data:hover,
#reset-demo-data:focus-visible {
  border-color: rgba(98, 217, 171, 0.45);
  background: rgba(98, 217, 171, 0.08);
  color: var(--ink);
  outline: none;
}

.workroom-card-detail,
.order-card-detail {
  max-height: 68vh;
  max-height: min(68svh, 680px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
}

@media (min-width: 761px) and (max-width: 1100px) {
  #operations .ops-summary-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  #token .token-panel:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  #services .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
      "title title"
      "search search"
      "budget delivery"
      "checks checks" !important;
    gap: 8px !important;
  }
}

@media (max-width: 760px) {
  main {
    width: calc(100% - 24px) !important;
  }

  .workspace-panel > .section-head,
  .market-heading {
    padding-bottom: 12px;
  }

  #token .token-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #token .token-panel:last-child {
    grid-column: auto;
  }

  #operations > .section-head,
  #token > .section-head {
    align-items: stretch;
  }

  #reset-demo-data,
  #token > .section-head .intent-note {
    align-self: flex-end;
  }
}

/* OverDev cursor */
.dev-cursor {
  display: none;
}

@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  html.has-dev-cursor,
  html.has-dev-cursor body,
  html.has-dev-cursor :is(a, button, summary, select, [role="button"]) {
    cursor: none !important;
  }

  html.has-dev-cursor :is(input, textarea, [contenteditable="true"]) {
    cursor: auto !important;
  }

  html.has-dev-cursor :is(
    input:not([type]),
    input[type="text"],
    input[type="search"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    textarea,
    [contenteditable="true"]
  ) {
    cursor: text !important;
  }

  html.has-dev-cursor :is(button:disabled, [aria-disabled="true"]) {
    cursor: not-allowed !important;
  }

  .dev-cursor {
    --cursor-x: -40px;
    --cursor-y: -40px;
    --cursor-label-x: -40px;
    --cursor-label-y: -40px;
    --cursor-label-tilt: 0deg;
    --cursor-scale: 1;
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: block;
    pointer-events: none;
    opacity: 0;
    transition: opacity 120ms ease;
  }

  .dev-cursor.is-visible:not(.is-native) {
    opacity: 1;
  }

  .dev-cursor-arrow,
  .dev-cursor-label {
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
  }

  .dev-cursor-arrow {
    width: 31px;
    height: 31px;
    overflow: visible;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.32));
    transform: translate3d(calc(var(--cursor-x) - 5px), calc(var(--cursor-y) - 3px), 0)
      scale(var(--cursor-scale));
    transform-origin: 5px 3px;
    transition: scale 120ms ease;
  }

  .dev-cursor-arrow path {
    fill: #f7fbff;
    stroke: #080b11;
    stroke-linejoin: round;
    stroke-width: 1.5;
    transition: fill 140ms ease;
  }

  .dev-cursor-label {
    padding: 6px 10px;
    border: 1px solid rgba(8, 11, 17, 0.52);
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.28);
    color: #080b11;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    transform: translate3d(var(--cursor-label-x), var(--cursor-label-y), 0)
      rotate(var(--cursor-label-tilt)) scale(var(--cursor-scale));
    transform-origin: 0 50%;
    transition: transform 140ms cubic-bezier(0.22, 1, 0.36, 1), background 140ms ease;
    user-select: none;
  }

  .dev-cursor.is-action {
    --cursor-scale: 1.08;
  }

  .dev-cursor.is-action .dev-cursor-arrow path {
    fill: var(--accent);
  }

  .dev-cursor.is-action .dev-cursor-label {
    background: #f7fbff;
  }

  .dev-cursor.is-pressed {
    --cursor-scale: 0.9;
  }
}

/* UI refinement */
#request .brief-template-grid button.is-active,
#request .brief-template-grid button[aria-pressed="true"] {
  border-color: rgba(98, 217, 171, 0.62);
  background: rgba(98, 217, 171, 0.11);
  box-shadow: inset 3px 0 0 var(--accent);
  color: #fff;
}

.category-hub-actions {
  margin-top: auto;
}

@media (min-width: 1101px) {
  .category-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #operations .ops-summary-grid {
    gap: 0 !important;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
  }

  #operations .ops-summary-card {
    min-height: 82px;
    border: 0;
    border-top: 1px solid var(--line-soft);
    border-left: 1px solid var(--line-soft);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #operations .ops-summary-card:nth-child(-n + 7) {
    border-top: 0;
  }

  #operations .ops-summary-card:nth-child(7n + 1) {
    border-left: 0;
  }
}

@media (min-width: 901px) {
  .workroom-card-summary {
    grid-template-columns: minmax(0, 1fr) minmax(320px, auto);
    grid-template-areas:
      "head policy"
      "description policy"
      "progress progress";
    column-gap: 28px !important;
    align-items: center;
  }

  .workroom-card-summary .workroom-head {
    grid-area: head;
  }

  .workroom-card-summary > p {
    grid-area: description;
  }

  .workroom-card-summary .action-policy-strip {
    grid-area: policy;
    flex-wrap: wrap;
    justify-content: flex-end;
    justify-self: end;
    overflow: visible;
  }

  .workroom-card-summary .progress-track {
    grid-area: progress;
  }
}

@media (min-width: 761px) {
  #services .filter-panel {
    position: sticky !important;
    z-index: 30;
    top: 74px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .category-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .workspace-menu {
    font-size: 12px;
    font-weight: 850;
  }
}

/* Secondary workspace refinement */
.activity-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--panel-gap);
}

.activity-toolbar .activity-filter {
  margin: 0;
}

.activity-toolbar #activity-mark-all {
  min-height: 36px;
  white-space: nowrap;
}

.activity-list {
  max-height: none;
  overflow: visible;
  padding-right: 0;
  scrollbar-gutter: auto;
}

.compare-empty {
  width: min(100%, 720px);
  min-height: 200px;
  justify-self: center;
  margin-inline: auto;
  padding: 32px;
  border-style: solid;
}

.token-package-card {
  position: relative;
  padding-right: 34px;
  cursor: pointer;
}

.token-package-card::after {
  content: "+";
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
}

#seller .seller-template-grid button.is-active,
#seller .seller-template-grid button[aria-pressed="true"] {
  border-color: rgba(98, 217, 171, 0.48);
  background: rgba(98, 217, 171, 0.09);
  box-shadow: inset 3px 0 0 var(--accent);
  color: #fff;
}

.service-dialog .dialog-close {
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
}

.dialog-content .rank-line {
  border-color: var(--line-soft);
  background: rgba(98, 217, 171, 0.055);
}

.dialog-content .rank-line b {
  color: var(--ink);
}

.dialog-content .rank-line p {
  color: var(--muted);
}

.dialog-content :is(
    .capacity-strip.dialog,
    .package-strip.dialog,
    .addon-strip.dialog,
    .coupon-strip.dialog,
    .faq-strip.dialog,
    .consult-slot-strip.dialog,
    .requirement-template-strip.dialog,
    .sample-strip.dialog,
    .performance-strip.dialog
  )
  span {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
}

.dialog-content :is(
    .capacity-strip.dialog,
    .package-strip.dialog,
    .addon-strip.dialog,
    .coupon-strip.dialog,
    .faq-strip.dialog,
    .consult-slot-strip.dialog,
    .requirement-template-strip.dialog,
    .sample-strip.dialog,
    .performance-strip.dialog
  )
  b {
  color: var(--ink);
}

.dialog-content :is(
    .capacity-strip.dialog,
    .package-strip.dialog,
    .addon-strip.dialog,
    .coupon-strip.dialog,
    .faq-strip.dialog,
    .consult-slot-strip.dialog,
    .requirement-template-strip.dialog,
    .sample-strip.dialog,
    .performance-strip.dialog
  )
  small {
  color: var(--muted);
}

.dialog-content .card-actions {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.dialog-content .card-actions [data-close-dialog] {
  display: none;
}

@media (min-width: 1101px) {
  #seller .seller-studio-summary {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
  }

  #seller .seller-studio-summary article {
    min-height: 82px;
    padding: 12px;
    border: 0;
    border-top: 1px solid var(--line-soft);
    border-left: 1px solid var(--line-soft);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #seller .seller-studio-summary article:nth-child(-n + 5) {
    border-top: 0;
  }

  #seller .seller-studio-summary article:nth-child(5n + 1) {
    border-left: 0;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  #seller .seller-studio-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .activity-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .activity-toolbar #activity-mark-all {
    justify-self: end;
  }

  .compare-empty {
    min-height: 160px;
    padding: 24px;
  }

  .dialog-content .card-actions {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .dialog-content .card-actions::-webkit-scrollbar {
    display: none;
  }

  .dialog-content .card-actions button {
    flex: 0 0 132px;
  }

  .dialog-content .card-actions .primary {
    order: -1;
  }
}
