:root {
  color-scheme: light;
  --ink: #172e2a;
  --quiet: #536862;
  --green: #165548;
  --paper: #f6f6f0;
  --card: #fffef9;
  --line: #cdd6cb;
  --rust: #984829;
  --sage: #e6eddf;
  --amber: #fbefdc;
  font: 16px/1.5 Inter,"Segoe UI",Arial,sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button,input,select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: .55;
  cursor: wait;
}

[hidden] {
  display: none!important;
}

h1,h2,h3,h4,p,ul,ol,dl {
  margin: 0;
}

h1,h2,h3,h4 {
  line-height: 1.16;
}

a {
  color: var(--green);
}

button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible {
  outline: 3px solid #bd693f;
  outline-offset: 3px;
}

.wrap {
  max-width: 1240px;
  width: calc(100% - 80px);
  margin: auto;
}

.bar {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.navrow {
  display: flex;
  align-items: center;
  gap: 44px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.52rem;
  font-weight: 760;
  text-decoration: none;
  letter-spacing: -.065em;
}

.brand b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding-bottom: 3px;
  background: var(--green);
  color: white;
  border-radius: 8px;
  font: italic bold 31px/.8 Georgia,serif;
  letter-spacing: -.1em;
}

.navrow nav {
  display: flex;
  align-self: stretch;
  gap: 26px;
}

.navrow nav button {
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--quiet);
  font-weight: 550;
  padding: 4px 0 0;
}

.navrow nav button[aria-current=page] {
  color: var(--green);
  border-color: var(--green);
}

.demo-label {
  margin-left: auto;
  font-size: .81rem;
  color: var(--quiet);
  white-space: nowrap;
}

.demo-label i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a9633d;
  margin-right: 5px;
}

.skip {
  position: absolute;
  left: -200vw;
}

.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 5;
  background: white;
  padding: .5rem;
}

.intro {
  padding: 47px 0 29px;
}

.kicker {
  color: var(--green);
  font-size: .73rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .105em;
}

.intro h1 {
  font: 500 clamp(2.85rem,5.1vw,4.75rem)/1.02 Georgia,"Times New Roman",serif;
  letter-spacing: -.054em;
  margin: 8px 0 14px;
}

.intro h1 em {
  color: var(--green);
  font-weight: 400;
}

.intro>p:last-child {
  color: var(--quiet);
  max-width: 700px;
  font-size: 1.04rem;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(290px,1fr);
  gap: 24px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  padding: clamp(20px,2.4vw,33px);
}

.panel h2,.results h2 {
  font: 500 1.85rem/1.15 Georgia,serif;
  letter-spacing: -.035em;
}

.panel h2+form {
  margin-top: 20px;
}

.panel h3,.results h3 {
  font-size: 1.06rem;
  letter-spacing: -.015em;
}

.scope,.muted,.fine,.subtle {
  color: var(--quiet);
}

.scope {
  font-size: .88rem;
  margin-top: 8px;
}

.scope p+p {
  margin-top: 3px;
}

.scope strong {
  color: var(--ink);
  font-weight: 600;
}

.fields {
  display: grid;
  gap: 13px;
  margin: 17px 0;
}

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

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

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .86rem;
  font-weight: 650;
  min-width: 0;
}

input:not([type=checkbox]),select {
  border: 1px solid #adbbb3;
  border-radius: 6px;
  padding: 9px 10px;
  min-height: 43px;
  width: 100%;
  color: var(--ink);
  background: white;
  font-weight: 480;
}

input:disabled {
  background: #edeFE8;
  color: var(--quiet);
}

.divider {
  padding-top: 18px;
  margin-top: 21px;
  border-top: 1px solid var(--line);
}

.check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
}

.check input,.tick input {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
  flex: none;
  margin: 2px 0 0;
}

.check small {
  display: block;
  font-size: .81rem;
  color: var(--quiet);
  font-weight: 400;
}

.primary,.secondary {
  padding: 10px 16px;
  min-height: 43px;
  border-radius: 7px;
  font-weight: 650;
  font-size: .92rem;
}

.primary {
  background: var(--green);
  border: 1px solid var(--green);
  color: white;
}

.primary:hover {
  background: #103e34;
}

.primary span {
  margin-left: 12px;
}

.secondary {
  background: transparent;
  border: 1px solid #92a79b;
  color: var(--green);
}

.secondary:hover {
  background: var(--sage);
}

.contact,.trace {
  border-top: 1px solid var(--line);
  margin-top: 17px;
  padding-top: 13px;
}

summary {
  cursor: pointer;
  color: var(--green);
  font-size: .86rem;
  font-weight: 650;
}

.aside-heading,.row,.offer-head,.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.aside-heading .kicker {
  margin-bottom: 7px;
}

.pin {
  font: 2.6rem/1 Georgia,serif;
  color: var(--green);
}

.directory {
  background: #edf1e7;
}

.directory>.muted {
  font-size: .88rem;
  margin: 12px 0 17px;
}

.shop {
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid #c8d1c5;
  padding: 15px 0;
}

.initial {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid #b5c3ae;
  background: #dde6d4;
  color: #385441;
  border-radius: 10px;
  font: 600 15px Georgia,serif;
  flex: none;
}

.shop strong {
  display: block;
  font-size: .93rem;
}

.shop small,.fine {
  font-size: .79rem;
}

.directory>.fine {
  margin-top: 9px;
  padding-top: 14px;
  border-top: 1px solid #c8d1c5;
}

.subtle,.muted {
  font-size: .9rem;
}

.results {
  padding: 35px 0 0;
  scroll-margin-top: 20px;
  outline: none;
}

.results>p {
  margin: 8px 0 15px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}

.offer-grid article,.agreement {
  padding: 22px;
}

.offer.best,.agreement {
  border-color: #7a9a83;
}

.offer .amount {
  font: 500 1.95rem Georgia,serif;
  letter-spacing: -.035em;
  margin: 13px 0 3px;
}

.amount del {
  font: normal .88rem Inter,"Segoe UI",sans-serif;
  color: var(--quiet);
  margin-left: 5px;
}

.offer .secondary,.agreement .secondary {
  margin-top: 14px;
}

.offer ul {
  padding-left: 18px;
  margin: 9px 0 0;
  color: #82452c;
  font-size: .86rem;
}

.pill {
  font-size: .74rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--green);
  background: var(--sage);
  padding: 4px 8px;
  border-radius: 5px;
  display: inline-block;
}

.pill.warn {
  background: var(--amber);
  color: #83462a;
}

.offer .pill {
  margin-bottom: 10px;
}

.trace p {
  font-size: .84rem;
  color: var(--quiet);
  margin-top: 7px;
}

.trace strong {
  color: var(--ink);
}

.agreement {
  margin: 16px 0;
}

.agreement h3 {
  font-size: 1.3rem;
  margin: 9px 0;
}

.agreement p+p {
  margin-top: 6px;
}

.agreement .terms {
  margin: 8px 0;
  color: var(--green);
  font-weight: 650;
}

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

.switcher label {
  width: min(370px,70%);
}

.desk-grid {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  gap: 18px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 16px;
}

.stack .panel h2 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.desk-rule {
  padding-top: 16px;
}

.desk-rule details {
  border-top: 1px solid var(--line);
  padding: 12px 0 0;
  margin-top: 14px;
}

fieldset {
  margin: 15px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

legend {
  font-size: .85rem;
  font-weight: 650;
  padding: 0 4px;
}

.ticks {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.tick {
  flex-direction: row;
  align-items: center;
  font-weight: 500;
}

.rates {
  margin: 10px 0 0;
}

.entry {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-size: .88rem;
  overflow-wrap: anywhere;
}

.entry:first-of-type {
  border-top: 0;
}

.entry h3 {
  margin: 3px 0;
}

.entry button {
  margin-top: 7px;
}

.entry>p+p {
  margin-top: 3px;
}

.mono {
  font-family: ui-monospace,Consolas,monospace;
  font-size: .76rem;
}

.empty {
  font-size: .87rem;
  color: var(--quiet);
}

#notice {
  background: #fff0dd;
  color: #74371f;
  border: 1px solid #d6ab88;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 18px;
}

.status {
  color: var(--green);
  font-size: .87rem;
  margin-top: 8px;
}

footer {
  display: flex;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 17px 0 25px;
  color: var(--quiet);
  font-size: .8rem;
}

footer.wrap {
  margin-top: 40px;
}

footer a {
  margin-left: auto;
}

@media(max-width:900px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .layout {
    grid-template-columns: minmax(0,1.6fr) minmax(230px,1fr);
    gap: 15px;
  }
  .fields.three {
    gap: 9px;
  }
  .offer-grid {
    grid-template-columns: repeat(auto-fit,minmax(215px,1fr));
  }
}

@media(max-width:720px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .navrow {
    min-height: 62px;
    gap: 17px;
    flex-wrap: wrap;
  }
  .navrow nav {
    gap: 14px;
  }
  .navrow nav button {
    font-size: .84rem;
  }
  .brand {
    font-size: 1.25rem;
    gap: 6px;
  }
  .brand b {
    width: 27px;
    height: 27px;
    font-size: 26px;
  }
  .demo-label {
    font-size: .69rem;
  }
  .layout,.desk-grid {
    grid-template-columns: 1fr;
  }
  .intro {
    padding: 30px 0 22px;
  }
  .intro>p:last-child {
    font-size: .97rem;
  }
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .directory {
    order: 2;
  }
  .panel {
    padding: 19px;
  }
  .three {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .switcher {
    align-items: flex-end;
  }
  footer {
    gap: 12px;
    flex-wrap: wrap;
  }
  footer a {
    margin-left: 0;
  }
}

@media(max-width:420px) {
  .navrow {
    gap: 11px;
  }
  .demo-label {
    margin-left: 0;
  }
  .navrow nav {
    gap: 10px;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .intro h1 {
    font-size: 2.68rem;
  }
  .fields {
    gap: 9px;
  }
  .fields label {
    font-size: .81rem;
  }
}

/* The sign-in page: one tappable button per way to sign in, stacked on a phone. */
.signin {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.signin .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
}
.signin + p {
  margin-top: 18px;
}
@media (max-width: 560px) {
  .signin {
    flex-direction: column;
  }
  .signin .secondary {
    width: 100%;
  }
}

/* The web areas (design slices 3-4). Layout variants are classes: the policy forbids a style attribute. */
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid #bd693f;
  outline-offset: 3px;
}
.navrow nav a {
  align-self: center;
}
.navrow nav {
  gap: 18px;
}
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}
.primary,.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  min-height: 44px;
}
.icon-only {
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
}
textarea {
  border: 1px solid #adbbb3;
  border-radius: 6px;
  padding: 9px 10px;
  width: 100%;
  font: inherit;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.subnav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
  text-decoration: none;
  font-weight: 600;
}
.subnav a[aria-current=page] {
  border-color: var(--green);
  border-bottom: 3px solid var(--green);
}
.state,.badge,.pill {
  display: inline-block;
  padding: 1px 9px;
  border: 1px solid #92a79b;
  border-radius: 999px;
  background: var(--sage);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 650;
}
.badge {
  background: var(--card);
  border-style: dashed;
}
.winner .badge {
  background: var(--sage);
  border-style: solid;
}
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.group {
  margin-top: 22px;
}
.rows {
  list-style: none;
  padding: 0;
}
.rows li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.first,.banner {
  margin-top: 16px;
}
.banner {
  padding: 10px 14px;
  border: 1px solid #d6ab88;
  border-radius: 8px;
  background: var(--amber);
}
.kv {
  display: grid;
  grid-template-columns: minmax(130px,max-content) 1fr;
  gap: 6px 16px;
  margin: 14px 0;
}
.kv dt {
  font-weight: 650;
}
.kv dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin-top: 14px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-wrap: anywhere;
}
.card.winner {
  border: 2px solid var(--green);
}
.card.excluded {
  border-style: dashed;
  background: var(--paper);
}
.card h4,.listing h5 {
  font-size: 1.05rem;
}
.total strong {
  font-size: 1.5rem;
}
.delta,.compare {
  font-weight: 600;
}
.reasons {
  margin: 0;
  padding-left: 18px;
}
.listing {
  border: 2px dashed #92a79b;
  background: var(--paper);
  border-radius: 10px;
  padding: 14px;
  margin: 12px 0;
}
.listing a {
  overflow-wrap: anywhere;
}
.error-summary {
  border: 2px solid #74371f;
  background: #fff0dd;
  color: #74371f;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.error-summary a {
  color: #74371f;
}
.field-error {
  color: #74371f;
  font-weight: 650;
  font-size: .85rem;
}
.field-error::before {
  content: "Problem: ";
}
[aria-invalid=true] {
  border: 2px dashed #74371f!important;
}
.question {
  margin: 14px 0;
}
.indent {
  margin: 6px 0 6px 22px;
}
.fine {
  color: var(--quiet);
  font-size: .85rem;
}
.tools {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.progress {
  padding-left: 20px;
}
.side {
  display: grid;
  gap: 18px;
  align-content: start;
}
.recovery {
  border: 1px solid #d6ab88;
  border-radius: 10px;
  background: var(--amber);
  padding: 14px;
  margin-top: 16px;
}
.cancel,.answered {
  margin: 12px 0;
}
.outside-source h4 {
  margin-top: 14px;
}
@media(max-width:900px) {
  .cards {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media(max-width:720px) {
  .cols,.cards {
    grid-template-columns: 1fr;
  }
  .kv {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .kv dd {
    margin-bottom: 8px;
  }
  .actions>* {
    flex: 1 1 100%;
  }
  .actions .icon-only {
    flex: none;
  }
}

/* Icons of the server-rendered sign-in page: the same shapes as the ICONS map of portal.js, drawn as a mask because the page's links hold text only. */
.signin a.i-login::before {
  content: "";
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  margin-right: 8px;
  background: currentColor;
  -webkit-mask: var(--glyph) center / contain no-repeat;
  mask: var(--glyph) center / contain no-repeat;
}
.signin .i-login {
  --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h4v16h-4M8 8l-4 4 4 4M4 12h11'/%3E%3C/svg%3E");
}
summary {
  min-height: 44px;
  padding: 10px 0;
}
p.field-error,span.field-error {
  grid-column: 1 / -1;
}
.navrow nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
}

/* The two sign-in buttons, built to Google's and Apple's own rules (brand artwork copied verbatim; see the build notes in the report). Same height, width and radius, so neither is less prominent. */
.brand-google,.brand-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 44px;
  min-width: 260px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.brand-google {
  background: #FFFFFF;
  border: 1px solid #747775;
  color: #1F1F1F;
  font: 500 14px/20px Roboto, arial, sans-serif;
  padding: 0 12px;
  gap: 10px;
}
.brand-google .brand-mark {
  width: 20px;
  height: 20px;
  flex: none;
}
.brand-apple {
  background: #000000;
  border: 0;
  color: #FFFFFF;
  font: 500 19px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  padding: 0 12px 0 0;
  gap: 0;
}
.brand-apple .brand-mark {
  width: 39px;
  height: 44px;
  flex: none;
}
@media (max-width: 560px) {
  .brand-google,.brand-apple {
    width: 100%;
  }
}
.signin {
  align-items: stretch;
}
input[type=date]:focus-within {
  outline: 3px solid #bd693f;
  outline-offset: 3px;
}

.main section,.side section {
  margin-top: 22px;
}
.main section:first-child,.side section:first-child {
  margin-top: 0;
}
.main h3,.side h3 {
  margin-bottom: 8px;
}
.cancel,.question,.card p,#live p,#live ol {
  margin-top: 6px;
}
#detail>h2 {
  margin-bottom: 8px;
}
#detail .layout {
  margin-top: 18px;
}

/* The provider area (design slices 3-4, phase 2): setup steps, the terms preview, the inbox cards, the dispatch board and the records tables. Classes only; the policy forbids a style attribute. */
.step {
  margin-top: 12px;
}
.step>summary {
  font-weight: 650;
}
.cards.two {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.resolve .rows li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  border-top: 0;
  padding: 6px 0;
}
.writer-effect:not(:empty) {
  border: 1px dashed #92a79b;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 10px 0;
  background: var(--paper);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}
th,td {
  padding: 8px 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
th[scope=col] {
  background: var(--sage);
}
.board {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  align-items: start;
  margin-top: 16px;
}
.slots {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.slot h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.crew-cells {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}
.crew-cells.crews-1 {
  grid-template-columns: 1fr;
}
.cell {
  border: 2px solid var(--green);
  border-radius: 8px;
  background: var(--card);
  padding: 8px 10px;
  overflow-wrap: anywhere;
}
.cell .state {
  display: block;
  border-radius: 6px;
  margin: 4px 0;
}
.cell form,.cell details,.cell .actions {
  margin-top: 8px;
}
.cell-visit {
  border-width: 4px;
  background: var(--sage);
}
.cell-held {
  border-style: dashed;
}
.cell-blocked {
  border-style: double;
  border-width: 5px;
}
.cell-busy {
  border-style: dotted;
  border-width: 4px;
}
.cell-off {
  border-width: 1px;
  border-color: #92a79b;
  background: #eceee6;
}
.cell-soon {
  border-style: ridge;
  border-width: 4px;
  background: #eceee6;
}
.cell-travel {
  border-style: groove;
  border-width: 4px;
  background: var(--amber);
}
@media(max-width:900px) {
  .board {
    grid-template-columns: 1fr;
  }
}
@media(max-width:720px) {
  .cards.two {
    grid-template-columns: 1fr;
  }
  .crew-cells {
    grid-template-columns: 1fr;
  }
  .stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .stack,.stack tbody,.stack tr,.stack th,.stack td {
    display: block;
  }
  .stack tr {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin: 10px 0;
    padding: 8px;
  }
  .stack th,.stack td {
    border: 0;
    padding: 2px 0;
  }
  .stack td::before {
    content: attr(data-label) ": ";
    font-weight: 650;
  }
}
main nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Account workspaces follow the public site. The trades demo above this block is unchanged. */
.workspace {
  --ink: #271f2b;
  --body: #514952;
  --quiet: #514952;
  --green: #271f2b;
  --coral: #b43f22;
  --sage: #eee6f4;
  --line: #dcd6cd;
  --paper: #faf8f2;
  --card: #fffdf8;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
}
.workspace .bar { border-top: 3px solid var(--coral); }
.workspace .wrap { max-width: 1160px; }
.workspace .navrow { min-height: 64px; gap: 16px; }
.workspace .brand::before {
  content: "";
  width: 38px;
  height: 38px;
  background: url('/bidpug-mark.png') center / contain no-repeat;
}
.workspace-name { border-left: 1px solid var(--line); padding-left: 16px; color: var(--quiet); font-size: .9rem; font-weight: 600; }
.workspace main { padding-bottom: 48px; }
.workspace :target { scroll-margin-block-start: 16px; }
.workspace .intro { padding: clamp(24px,4vw,48px) 0 16px; }
.workspace .intro h1 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--body); font: 700 .72rem/1.4 Bricolage, "Arial Rounded MT Bold", Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.workspace .intro h1::before { content: ""; width: 27px; height: 3px; background: var(--coral); }
.workspace .intro p { font-size: .95rem; overflow-wrap: anywhere; color: var(--body); }
.workspace .panel { border-radius: 14px; padding: clamp(18px,2.3vw,28px); box-shadow: 0 2px 6px #24253507; min-width: 0; background: var(--card); }
.workspace .panel > h2 { font: 700 clamp(1.8rem, 3vw, 2.4rem)/1.15 Bricolage, "Arial Rounded MT Bold", Arial, sans-serif; letter-spacing: -.03em; }
.workspace .intro-card h2 { font: 700 1.35rem/1.2 Bricolage, "Arial Rounded MT Bold", Arial, sans-serif; letter-spacing: -.03em; }
.workspace .panel h2+p,.workspace .intro-card h2+p,.workspace .desk-section { margin-top: 12px; }
.workspace .primary,.workspace .secondary { border-radius: 100px; min-height: 44px; }
.workspace .primary { color: #fffdf8; }
.workspace .primary:hover { background: var(--ink); }
.workspace .primary span { margin-left: 0; }
.workspace .secondary { border-color: var(--ink); color: var(--ink); }
.workspace .subnav { gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); align-items: center; }
.workspace .subnav.dashboard { width: 100%; }
.workspace .dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
  gap: 12px;
  margin-top: 18px;
}
.workspace .dashboard-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.workspace .dashboard-metric:hover, .workspace .dashboard-metric:focus-visible { border-color: var(--green); }
.workspace .dashboard-metric strong { font-size: 1.75rem; line-height: 1.1; }
.workspace .subnav a { border: 0; background: transparent; color: var(--quiet); }
.workspace .subnav a:hover { background: var(--paper); }
.workspace .subnav a[aria-current=page] { color: #fffdf8; background: var(--ink); }
.workspace .nav-label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.workspace .subnav a.shop-link { border-radius: 0; }
.workspace .subnav a.shop-link[aria-current=page] { color: var(--ink); background: transparent; box-shadow: inset 0 -3px 0 var(--coral); }
.workspace .card.winner { background: #fff3e7; border: 2px solid #dcad90; }
.workspace .card .total strong { font: 750 2rem/1.1 Bricolage, "Arial Rounded MT Bold", Arial, sans-serif; color: var(--coral); }
.workspace .group.needs-you { border-left: 3px solid var(--coral); padding-left: 12px; }
.workspace .empty { color: var(--body); font-size: 1rem; line-height: 1.5; }
.workspace .area-map { position: relative; margin: 12px 0 4px; }
.workspace .area-map-tools { position: absolute; z-index: 2; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; width: 96px; margin: 0; }
.workspace .area-map-tools button { background: var(--card); box-shadow: 0 1px 4px #271f2b33; }
.workspace .area-map-tools button[aria-pressed=true] { background: var(--ink); color: #fffdf8; }
.workspace .area-map-panel { margin-bottom: 16px; }
.workspace .area-map-stage { display: grid; place-items: center; height: 320px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #e7e2d6; }
.workspace .area-map-stage canvas { display: block; width: 100%; height: 320px; }
.workspace .area-map .fine { margin-top: 6px; }
.workspace .area-map .fine a { text-decoration: underline; }
.workspace :focus-visible { outline: 3px solid #9866ca; outline-offset: 3px; }
.workspace #content { display: grid; gap: 16px; }
.workspace #content > button { justify-self: start; }
.workspace .subnav,.workspace .tools,.workspace #content>.banner { margin: 0; }
.workspace .tools { border-top: 1px solid var(--line); padding-top: 16px; gap: 8px; }
.workspace .tools>.panel { padding: 2px 18px; box-shadow: none; }
.workspace .tools>.panel[open] { padding-bottom: 18px; }
.workspace .tools>button { justify-self: start; }
.workspace #recovery { margin: 8px 0 16px; }
.workspace #status:not(:empty) { margin: 8px 0 16px; }
.workspace .auth-layout,.workspace .desk-layout,.workspace .setup-layout,.workspace .onboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 20px;
  align-items: start;
}
.workspace .auth-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
#content > .auth-card { max-width: 34rem; }
.workspace .auth-card form>button { width: 100%; }
.workspace .auth-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.workspace .auth-card .signin { display: grid; gap: 8px; }
.workspace .intro-card { padding: clamp(20px,3vw,36px); border-radius: 14px; background: var(--sage); }
.workspace .journey { padding-left: 1.5rem; }
.workspace .journey li { padding-left: 6px; margin: 1.2rem 0; }
.workspace .journey li::marker { color: var(--green); font-weight: 700; }
.workspace .journey p,.workspace .intro-card>p { color: var(--quiet); }
.workspace .onboard-layout .primary { margin-top: 18px; }
.workspace .customer-photo { background: #ded3f3 url('/bidpug-fetch.webp') center 40% / cover no-repeat; border-radius: 12px; min-height: 180px; }
.workspace .welcome { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); overflow: hidden; border-radius: 12px; background: var(--sage); }
.workspace .welcome>div:first-child { align-self: center; padding: clamp(18px,3vw,36px); }
.workspace .welcome h3 { font-size: 1.4rem; }
.workspace .welcome p { max-width: 36ch; margin: 8px 0 16px; }
.workspace .welcome .customer-photo { border-radius: 0; }
.workspace .group { border-top: 2px solid var(--line); padding-top: 14px; }
.workspace .setup-layout { margin-top: 18px; }
.workspace .setup-layout .step { padding: 3px 16px; margin-top: 8px; }
.workspace .step[open] { border-color: var(--green); padding-bottom: 18px; }
.workspace .setup-layout .side { border-radius: 10px; background: var(--paper); padding: 18px; }
.workspace progress { width: 100%; accent-color: var(--green); height: .6rem; }
.workspace.signin-page main { max-width: 540px; }
.workspace.signin-page .signin { display: grid; gap: 10px; }
@media(max-width:720px) {
  .workspace .auth-layout,.workspace .onboard-layout,.workspace .desk-layout,.workspace .setup-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .workspace .auth-layout>.customer-photo { display: none; }
  .workspace .welcome { grid-template-columns: minmax(0,1fr); }
  .workspace .welcome .customer-photo { min-height: 140px; background-position: center 34%; }
  .workspace .subnav { gap: 2px; }
  .workspace .subnav a { font-size: .88rem; padding: 5px 8px; gap: 5px; }
}

.workspace [data-definition]:not([hidden]) { display: grid; gap: 12px; }
.workspace [data-definition] textarea { resize: vertical; }
