:root {
  color-scheme: light;
  font-family: Geist, system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
  min-height: 100%;
  font-synthesis: none;
  --page: #f7f7f2;
  --surface: #fff;
  --ink: #20241f;
  --muted: #535951;
  --line: #dcdfd6;
  --primary: #d7f65e;
  --primary-dark: #c7e751;
  --tint: #eef2e5;
  --green: #187253;
  --display: "Bricolage Grotesque", Geist, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; touch-action: manipulation; }
button:disabled, button[aria-disabled="true"] { cursor: default; opacity: .7; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #4b672b; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: 8px; left: 16px; z-index: 1; padding: 12px; border-radius: 8px; background: white; color: #344b22; }
.skip-link:not(:focus) { clip-path: inset(50%); }
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top-inner, main {
  width: min(1160px, calc(100% - max(24px, env(safe-area-inset-left)) - max(24px, env(safe-area-inset-right))));
  margin-inline: auto;
}
.top-inner {
  min-height: 68px; display: flex; align-items: center; justify-content: space-between;
  gap: 8px 20px; position: relative;
}
.top-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-inline-start: auto; }
.top-actions .pool-link { background: transparent; color: var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; letter-spacing: -.045em; }
.brand-mark { width: 34px; height: 34px; background: var(--ink); border-radius: 9px; display: grid; place-content: center; gap: 3px; }
.brand-mark i { display: block; width: 15px; height: 2px; background: #fff; border-radius: 99px; }
.brand-mark i:nth-child(2) { width: 11px; background: #d7f65e; }
.brand-mark i:nth-child(3) { width: 7px; background: #d7f65e; }
.environment { display: inline-flex; gap: 7px; align-items: center; font-size: 12px; font-weight: 650; color: var(--muted); white-space: nowrap; }
.signal { background: #56743a; width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: 0 0 7px; }
.history summary {
  display: flex; align-items: center; gap: 7px; min-height: 44px; list-style: none;
  border-radius: 7px; padding: 0 8px; color: var(--ink); font-size: 13px; font-weight: 650;
}
.history summary::-webkit-details-marker { display: none; }
.history summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.history[open] summary { background: var(--tint); }
.history[open] summary::after { transform: translateY(2px) rotate(225deg); }
#job-count { color: var(--muted); font: 500 11px var(--mono); }
.history-panel {
  position: absolute; z-index: 2; inset-inline-end: 0; top: calc(100% - 4px); width: min(426px, 100%);
  padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 26px #20241f1a, 0 2px 5px #20241f0d;
}
.history-panel > p { margin: 9px; color: var(--muted); font-size: 14px; line-height: 1.5; }
main { padding-bottom: max(36px, env(safe-area-inset-bottom)); }
.buyer-access { max-width: 41rem; padding-top: clamp(33px, 10vh, 104px); }
.buyer-access form { max-width: 28rem; }
.buyer-access .form-error { margin: 0 0 12px; }
.compose {
  display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(275px, 1fr);
  grid-template-areas: "request sample" "examples sample";
  gap: 22px clamp(36px, 7vw, 100px); padding-top: clamp(52px, 10vh, 104px); align-items: start;
}
.request-column { grid-area: request; }
.hero { padding-bottom: 28px; }
h1 { margin: 0; font: 720 clamp(39px, 5.3vw, 76px)/1 var(--display); letter-spacing: -.064em; text-wrap: balance; }
.hero p { max-width: 34rem; margin: 17px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.composer { padding: 9px 12px 12px; border-color: #c4cbbd; box-shadow: 0 2px 4px #20241f09; }
.composer:focus-within { border-color: #6d8056; }
.composer textarea {
  display: block; width: 100%; min-height: 148px; padding: 14px; border: 0; border-radius: 9px;
  line-height: 1.55; font-size: 16px; color: var(--ink); background: var(--surface); resize: vertical;
}
.composer textarea::placeholder { color: #5b6357; }
.composer textarea:focus-visible { outline-offset: 0; }
.composer .form-error { margin: 3px 14px 12px; }
.composer-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 0; border-top: 1px solid var(--line); padding: 12px 0 0 14px; }
.composer-actions p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.composer-actions button { flex: 0 0 auto; width: auto; gap: 14px; }
.examples { grid-area: examples; }
.examples h2 { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.example-list { display: flex; gap: 8px; flex-wrap: wrap; }
.example-list button { background: var(--surface); border: 1px solid var(--line); }
.sample-panel {
  grid-area: sample; align-self: start; min-width: 0; padding: clamp(19px, 2.35vw, 30px);
  background: #232722; color: #f3f4ed; border-radius: 18px; border: 1px solid #323831;
}
.sample-panel h2 { margin-bottom: 14px; font: 690 21px/1.15 var(--display); letter-spacing: -.035em; }
.sample-panel .sample-action {
  display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 12px;
  min-height: 46px; text-align: left; background: #2d332b; color: #f2f4eb; border: 1px solid #4b5545;
}
.sample-action span { color: #d7f65e; font-size: 17px; }
.sample-panel .sample-action:focus-visible { outline-color: #d7f65e; }
.sample-panel .sample-action:active { background: #3a4235; }
.sample-panel .form-error { color: #ffd2a2; }
.sample-flow { margin-top: 23px; border-top: 1px solid #4b5147; padding-top: 18px; }
.sample-flow p { line-height: 1.5; margin: 5px 0 0; overflow-wrap: anywhere; }
.sample-request > span, .sample-result > span { display: block; color: #bfc8b9; font-size: 12px; font-weight: 600; }
.sample-request p { font-size: 15px; max-width: 27ch; }
.sample-route {
  display: flex; align-items: center; gap: 10px; margin: 11px 0 15px; min-height: 42px;
  color: #d7f65e; font-size: 12px; font-weight: 650;
}
.sample-route i { position: relative; width: 10px; height: 10px; flex: 0 0 10px; border: 2px solid #d7f65e; border-radius: 50%; }
.sample-route i::before, .sample-route i::after { content: ""; position: absolute; width: 1px; height: 9px; left: 2.5px; background: #758b54; }
.sample-route i::before { bottom: 12px; }
.sample-route i::after { top: 12px; }
.sample-result { border-radius: 10px; border: 1px solid #495443; background: #2c3429; padding: 14px 15px; }
.sample-result strong {
  display: block; margin-top: 6px; color: #ebf3e4; font: 600 clamp(23px, 2.7vw, 35px)/1.12 var(--mono);
  letter-spacing: -.055em; font-variant-numeric: tabular-nums;
}
.sample-result p { font-size: 13px; color: #c0cbb9; }
.work-availability { grid-area: sample; align-self: start; min-width: 0; }
.work-availability h2 { margin: 0; font: 700 24px/1.15 var(--display); letter-spacing: -.035em; }
.availability-summary { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.work-availability summary { min-height: 44px; align-content: center; font-size: 14px; font-weight: 650; }
.availability-list { list-style: none; padding: 0; margin: 12px 0 0; }
.availability-list li {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  gap: 4px 14px; padding-block: 10px; border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.45; overflow-wrap: anywhere;
}
.availability-list li > :first-child { flex: 1 1 11ch; font-weight: 650; }
.availability-count { font-size: 13px; font-variant-numeric: tabular-nums; }
.availability-count.ready { color: var(--green); }
.availability-count.missing { color: #75431a; }
.availability-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.availability-actions .primary { width: auto; justify-content: center; }
.agent-directory-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
#agent-directory .agent-directory-heading h2 { margin: 0; align-self: center; }
.agent-list, .agent-capabilities { list-style: none; margin: 0; padding: 0; }
.agent-entry { border-top: 1px solid var(--line); padding-block: 12px; }
.agent-entry-header { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.agent-entry-header strong { overflow-wrap: anywhere; font-size: 14px; }
.agent-entry code { display: block; color: var(--muted); overflow-wrap: anywhere; margin: 4px 0 9px; font-size: 12px; }
.agent-capabilities li { display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; padding-block: 3px; font-size: 13px; }
.agent-connection, .directory-message { color: var(--muted); font-size: 13px; }
.agent-connection.connected { color: var(--green); }
.agent-directory-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.agent-pool-feedback { margin: 0; color: var(--green); font-size: 14px; line-height: 1.5; }
.agent-pool-feedback:not(:empty) { margin-bottom: 12px; }
.agent-edit { width: auto; margin: 7px 0 0; }
.agent-editor { width: min(32rem, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.agent-editor::backdrop { background: #172016a6; }
.agent-editor h2 { margin-bottom: 17px; font-size: 24px; }
.agent-editor input[readonly] { background: #f4f6ef; }
.agent-permissions legend { padding: 0; font-size: 14px; font-weight: 650; }
.agent-capability-options { border: 1px solid var(--line); border-radius: 8px; margin-top: 7px; padding: 3px 8px; max-height: min(15rem, 38dvh); overflow: auto; }
.agent-option { display: flex; min-height: 44px; align-items: center; gap: 10px; padding-inline: 4px; font-size: 14px; cursor: pointer; }
.agent-option + .agent-option { border-top: 1px solid var(--line); }
.agent-option input { accent-color: #445a2e; inline-size: 18px; block-size: 18px; margin: 0; flex-shrink: 0; }
.agent-editor-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.agent-editor-actions .primary { width: auto; min-height: 44px; }
.agent-editor-actions .agent-remove { margin-inline-end: auto; color: #9c3a29; }
.agent-remove-note { font-size: 15px; line-height: 1.55; color: var(--muted); }
.registry-status { margin: 15px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.registry-status:empty { display: none; }
.registry-results { list-style: none; margin: 12px 0 0; padding: 0; }
.registry-results li { padding-block: 12px; border-top: 1px solid var(--line); }
.registry-result-heading { display: flex; gap: 4px 10px; align-items: baseline; flex-wrap: wrap; overflow-wrap: anywhere; }
.registry-result-heading small { color: var(--muted); }
.registry-results dl { margin: 7px 0 0; font-size: 13px; }
.registry-results dl div { display: block; padding: 3px 0 5px; }
.registry-results dd { margin: 1px 0 0; text-align: start; overflow-wrap: anywhere; }
.registry-results button { margin-top: 7px; }
.registry-selection { margin: -4px 0 13px; }
.next-step, .activity-card { margin-top: clamp(28px, 5vh, 54px); }
#clarification, .activity-card { max-width: 860px; margin-inline: auto; }
.confirmation-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 24px; align-items: start; }
.confirmation-grid form { min-width: 0; }
.section-title { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -.053em; overflow-wrap: anywhere; }
.section-description { margin: 9px 0 21px; font-size: 15px; color: var(--muted); line-height: 1.55; }
.back { background: transparent; border: 0; color: #344b22; padding: 0; min-height: 44px; font-size: 13px; font-weight: 650; text-align: left; }
.next-step > .back { margin: -9px 0 8px; }
#detail-fields { margin-top: 18px; }
.job-plan { min-width: 0; background: #f7f8f3; border: 1px solid #e0e3da; border-radius: 12px; padding: 17px; }
.job-plan > p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 5px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.job-plan dl { margin-top: 11px; }
.job-plan dl div { align-items: baseline; padding: 8px 0; }
.job-plan dd { white-space: pre-wrap; }
.funding-note { margin-bottom: 12px; }
.job-list { list-style: none; margin: 0; padding: 0; max-height: min(24rem, 60dvh); overflow: auto; }
.job-list button { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: space-between; gap: 8px; text-align: left; color: var(--ink); border: 1px solid transparent; border-radius: 7px; background: transparent; padding: 5px 8px; }
.job-list button[aria-current="true"] { background: #eef2e5; border-color: #e4ebd8; }
.job-list button:focus-visible { outline-offset: -4px; }
.job-list button > span:first-child { min-width: 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 600; }
.job-list time { display: block; color: var(--muted); font-size: 10.5px; line-height: 1.4; font-weight: 400; }
.job-list .state { flex-shrink: 0; }
:where(.card) { background: var(--surface); border: 1px solid var(--line); border-radius: 17px; padding: 24px; box-shadow: 0 4px 14px #20241f06; }
.card-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 23px; min-height: 43px; }
h2 { margin: 0 0 4px; font-size: 18px; font-weight: 750; letter-spacing: -.045em; }
.card-heading p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
fieldset { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 0 17px; }
.selection { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.selection summary { min-height: 44px; align-content: center; font-weight: 650; }
.selection select { margin-top: 2px; }
.selection select, .task-control select, .task-control input, .task-control textarea { min-height: 44px; width: 100%; padding: 10px 11px; color: var(--ink); background: #fff; border: 1px solid #c5cdbd; border-radius: 8px; font-size: 16px; }
.task-control { display: block; margin-bottom: 11px; }
.task-control span { display: block; font-size: 14px; font-weight: 650; margin-bottom: 7px; }
.task-control textarea { display: block; resize: vertical; line-height: 1.5; }
.task-control input, .task-control textarea { font-size: 16px; }
#details-form .form-error { margin-bottom: 10px; }
.input-hint { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; margin: 3px 0 0; }
.work-output { margin: 8px 0 2px; color: var(--muted); }
.work-output summary { cursor: pointer; padding: 6px 0; font-size: 12px; font-weight: 650; }
.work-output pre { margin: 3px 0 0; padding: 9px; border-radius: 7px; background: #eef1e9; font: 13px/1.5 var(--mono); overflow-wrap: anywhere; white-space: pre-wrap; }
.work-output dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.review-criteria { margin-top: 10px; }
.review-criteria .input-hint { font-weight: 400; margin-top: 5px; }
.review-panel { margin-top: 18px; padding: 14px; background: #f7f8f3; border: 1px solid #e0e3da; border-radius: 10px; }
.review-panel h2 { font-size: 17px; }
.review-panel summary, .work-output summary { min-height: 44px; align-content: center; }
.review-panel ul { padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.review-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.review-actions button { width: auto; min-height: 44px; }
.result-table { width: 100%; border-collapse: collapse; text-align: left; color: var(--ink); font-size: 11px; }
.result-table th, .result-table td { padding: 5px 6px; border-bottom: 1px solid var(--line); }
.result-table td:last-child { font-weight: 650; }
.result-table .passed { color: var(--green); }
.result-table .failed { color: #87531f; }
.terms > label > span:first-child, legend { display: block; font-size: 12px; font-weight: 650; margin-bottom: 8px; }
.money-input { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 10px; border: 1px solid #c5cdbd; border-radius: 8px; font-size: 13px; color: var(--muted); }
.money-input:has(input:focus-visible) { outline: 3px solid #4b672b; outline-offset: 3px; }
.money-input input { display: block; min-width: 0; width: 100%; min-height: 40px; outline: 0; border: 0; background: transparent; color: var(--ink); font: 500 16px var(--mono); appearance: textfield; }
.money-input input:focus-visible { outline: 0; }
.money-input input::-webkit-inner-spin-button { appearance: none; }
.unit { font: 500 11px var(--mono); color: #535951; }
.condition { margin: 18px 0; padding: 11px 12px; border-radius: 9px; display: flex; align-items: center; gap: 9px; background: #eef1e9; }
.condition strong { font-size: 12px; }
.condition p { color: var(--muted); margin: 3px 0 0; font-size: 13px; line-height: 1.45; }
.condition-icon { display: grid; place-items: center; flex: 0 0 23px; height: 23px; border-radius: 50%; background: #e4ebd8; color: #344b22; font-weight: 750; font-size: 12px; }
.primary { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0 15px; min-height: 47px; border: 1px solid #b7d94c; border-radius: 8px; background: var(--primary); color: #202619; font-size: 13px; font-weight: 750;  }
.primary span { font-size: 19px; }
.form-error { color: #9c3a29; font-size: 14px; margin-bottom: 0; line-height: 1.45; }
.card-heading > div { min-width: 0; }
.delivery { margin-block: 20px; }
.delivery dd { font: 400 15px/1.55 Geist, system-ui, sans-serif; }
.delivery dl div { align-items: baseline; }
.delivery dt { font-size: 13px; }
#handoff-panel { margin-block: 20px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 10px; }
#handoff-panel p { margin: 6px 0; }
#handoff-panel button { margin-top: 8px; }
#draft-form { margin-top: 14px; }
.activity-card .card-heading { margin-bottom: 20px; }
.dispatch {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin: 0 0 24px; padding: 0; list-style: none;
  border: 1px solid var(--line); border-radius: 9px; background: #f6f7f1;
}
.dispatch li { display: flex; align-items: flex-start; gap: 8px; padding: 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.dispatch li + li { border-inline-start: 1px solid var(--line); }
.dispatch li::before {
  content: ""; display: grid; place-items: center; flex: 0 0 14px; height: 14px; margin-top: 2px;
  border: 1px solid #717a69; border-radius: 50%; font-size: 10px; line-height: 1; color: white;
}
.dispatch li[data-status="current"] { color: #375021; font-weight: 700; }
.dispatch li[data-status="current"]::before { border: 4px solid #56743a; }
.dispatch li[data-status="done"]::before { content: "✓"; background: var(--green); border-color: var(--green); }
.dispatch li[data-status="stopped"]::before { content: "–"; background: #965615; border-color: #965615; }
.state { margin-left: auto; border-radius: 5px; padding: 6px 8px; background: #eef1e9; color: #535951; font: 500 10px var(--mono); white-space: nowrap; }
.state.active { background: #e4ebd8; color: #375021; }
.state.success { background: #e6f6ed; color: #1e6b4c; }
.state.warning { background: #fff3e1; color: #87531f; }
.timeline { margin: 0; padding: 6px 14px 15px; list-style: none; }
.timeline li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; position: relative; min-height: 75px; padding-bottom: 15px; }
.timeline li:last-child { min-height: 0; padding-bottom: 0; }
.timeline li:before { content: ""; position: absolute; top: 31px; left: 15px; height: calc(100% - 31px); width: 1px; background: var(--line); }
.timeline li:last-child:before { display: none; }
.step-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; border: 1px solid #e0e3da; background: #f7f8f3; color: #535951; font: 500 11px var(--mono); }
.timeline .active .step-icon { background: var(--tint); border-color: #cedcbb; color: #375021; }
.timeline .done .step-icon { background: #e8f6ee; border-color: #d9ede2; color: var(--green); }
.timeline .stopped .step-icon { background: #fff3e1; border-color: #f8e4c6; color: #805217; }
.timeline strong { font-size: 13px; display: block; margin-top: 2px; }
.timeline p { color: var(--muted); font-size: 12px; margin: 5px 0 0; line-height: 1.45; }
.bid-list { display: grid; gap: 5px; margin: 9px 0 3px; }
.bid { display: flex; align-items: center; column-gap: 7px; min-height: 35px; padding: 7px 9px; background: #f7f8f3; border: 1px solid #e0e3da; border-radius: 7px; font-size: 11.5px; flex-wrap: wrap; }
.bid.winner { background: #f1faf5; border-color: #dcefe5; }
.bid .price { margin-left: auto; font: 500 11px var(--mono); }
.bid .eta { color: var(--muted); white-space: nowrap; }
.bid .score { background: #e0e3da; color: #384735; padding: 3px 5px; border-radius: 4px; font: 500 10px var(--mono); white-space: nowrap; }
.bid .history { flex-basis: 100%; color: var(--muted); margin-top: 3px; }
.ranking-note { font-variant-numeric: tabular-nums; }
.outcome { background: #edf8f2; border: 1px solid #d8efe2; padding: 12px 13px; border-radius: 9px; color: #1d6047; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.outcome.warning { background: #fff8eb; border-color: #f7e5c8; color: #744511; }
.outcome strong { display: block; font-size: 15px; }
.outcome p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; }
.outcome .value { flex-shrink: 0; font: 600 15px var(--mono); }
.network { margin-top: 15px; color: var(--muted); border: 1px solid #e0e3da; border-radius: 10px; background: #ffffff82; }
.network summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; min-height: 47px; padding: 0 14px; font-size: 12px; font-weight: 600; }
.network summary::-webkit-details-marker { display: none; }
.network summary > :first-child::before { content: "›"; display: inline-block; margin-right: 7px; font-size: 16px; }
.network[open] summary > :first-child::before { transform: rotate(90deg); }
.network summary > :nth-child(2) { color: #535951; font: 500 10px var(--mono); white-space: nowrap; }
dl { margin: 2px 0 0; }
.network dl { padding: 0 14px 12px; }
dl div { display: flex; gap: 9px; flex-wrap: wrap; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 4px 0; }
dt { font-size: 12px; color: var(--muted); }
dd { margin: 0; font: 500 12px var(--mono); overflow-wrap: anywhere; }
.receipt-value { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.address, .secondary { min-height: 44px; background: #eef2e5; color: #344b22; border: 0; padding: 6px 8px; border-radius: 6px; font: 500 11px var(--mono); }

.secondary { padding-inline: 12px; font: 650 13px/1.35 Geist, system-ui, sans-serif; }
.secondary:active, .address:active { background: #e4ebd8; }
.primary:active { background: var(--primary-dark); }
@media (hover: hover) and (pointer: fine) {
  .history summary:hover, .job-list button:hover { background: #eef2e5; }
  .back:hover { text-decoration: underline; }
  .primary:hover:enabled { background: var(--primary-dark); }
  .secondary:hover:enabled, .address:hover { background: #e5ecd9; }
  .sample-panel .sample-action:hover:enabled { background: #363d31; }
}
@media (prefers-reduced-motion: no-preference) {
  .primary, .secondary { transition: transform 100ms cubic-bezier(.23, 1, .32, 1); }
  .primary:active:enabled, .secondary:active:enabled { transform: scale(.985); transition-duration: 125ms; }
}
#network { margin-top: 42px; }
.toast { position: fixed; right: 18px; bottom: 18px; border-radius: 8px; background: #20241f; color: #fff; font-size: 13px; padding: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 810px) {
  .compose, .confirmation-grid { grid-template-columns: minmax(0, 1fr); }
  .compose { grid-template-areas: "request" "sample" "examples"; gap: 26px; padding-top: 44px; }
  .sample-panel, .work-availability { max-width: 31rem; }
}
@media (max-width: 525px) {
  .top-inner, main {
    width: calc(100% - max(16px, env(safe-area-inset-left)) - max(16px, env(safe-area-inset-right)));
  }
  .top-inner { min-height: 62px; display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-block: 5px; gap: 2px 10px; }
  .top-actions { grid-column: 1 / -1; grid-row: 2; gap: 7px; margin-inline-start: 0; }
  .brand { font-size: 15px; }
  .environment { grid-column: 2; grid-row: 1; font-size: 11px; }
  .compose { padding-top: 33px; }
  .hero { padding-bottom: 21px; }
  .hero p { font-size: 15px; }
  .next-step, .activity-card { padding: 17px; }
  .composer-actions { flex-wrap: wrap; padding-left: 0; }
  .composer-actions p { margin-left: 4px; }
  .composer-actions button { width: 100%; }
  .availability-actions > button { flex: 1 1 130px; }
  .card-heading { align-items: flex-start; flex-wrap: wrap; }
  .card-heading .state { margin: 0; }
  .dispatch li { padding: 9px 7px; gap: 5px; font-size: 12px; }
  .network summary { flex-wrap: wrap; padding-block: 6px; }
}
