/* propcurate.com's pages (ADR 0040): only tokens from tokens.css, generated from packages/ui. */
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Black.otf') format('opentype');
  font-weight: 900;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--gutter);
  background: var(--page);
  color: var(--text);
  font-family: 'Satoshi', system-ui, sans-serif;
  font-weight: 500;
  font-size: var(--body-size);
  line-height: var(--body-line);
}

h1 {
  margin: 0 0 var(--space-sm);
  font-weight: 700;
  font-size: var(--title-size);
  line-height: var(--title-line);
  letter-spacing: var(--title-tracking);
}

p {
  margin: 0 0 var(--space-lg);
  color: var(--text-secondary);
}

/*
 * A web page in the app's own frame (canvas 6.0d board 5, `.web`): the brand bar, a 640 column,
 * the footer. First used by the deletion page (WB7, WB8); the share, return and invite pages
 * (WB1 to WB6, WB9) joined it in 6.2.
 */
body.web {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  background: var(--card);
  font-weight: 400;
}

/* The brand wash over the top 360, fading to the page (`.web::before`). */
body.web::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 360px;
  background: var(--web-wash);
  pointer-events: none;
}

body.web > * {
  position: relative;
}

/* The footer sits at the foot of a short page (WB8). */
body.web > main {
  width: 100%;
}

body.web > .wfoot {
  margin-top: auto;
}

/* The shared property's footer follows the page (WB1, WB2); a hand-off page's sits at the foot. */
body.web[data-view='shared'] > .wfoot {
  margin-top: 0;
}

.wbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--gutter);
}

.brandrow {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.brandrow img {
  width: 34px;
  height: auto;
}

.brandrow span {
  font-size: var(--brand-row-size);
  line-height: var(--brand-row-line);
  font-weight: 900;
  letter-spacing: var(--brand-row-tracking);
}

.brandrow em {
  background: var(--wordmark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.wcol {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-sm) var(--gutter) var(--space-xl);
}

.web .h1 {
  /* 10 under the column's top, as the canvas's .web .h1 (WB7). */
  margin: 10px 0 0;
  font-weight: 900;
  font-size: var(--web-title-size);
  line-height: var(--web-title-line);
  letter-spacing: var(--web-title-tracking);
}

.web .h2 {
  margin: 22px 0 0;
  font-weight: 700;
  font-size: var(--title-xl-size);
  line-height: var(--title-xl-line);
  letter-spacing: var(--title-xl-tracking);
}

.web .lede {
  margin: var(--space-xs) 0 0;
  color: var(--text-secondary);
}

.web .flabel {
  display: block;
  margin: 22px 0 var(--space-xs);
  font-weight: 700;
  font-size: var(--small-size);
  line-height: var(--small-line);
}

.web .pf {
  display: flex;
  align-items: center;
  height: var(--control);
  border-radius: var(--radius-field);
  background: var(--card);
  border: 1.5px solid var(--border);
}

.web .pf:focus-within {
  border: 2px solid var(--focus);
  box-shadow: var(--focus-ring);
}

.web .pf.error {
  border: 2px solid var(--error);
  box-shadow: var(--error-ring);
}

.web .cc {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  height: 100%;
  padding: 0 var(--space-sm) 0 14px;
  border-right: 1px solid var(--border);
  font-weight: 700;
  font-size: var(--body-lg-size);
  line-height: var(--body-lg-line);
}

.web .flag {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.web .flag i {
  flex: 1;
}

.web .flag i:nth-child(1) {
  background: var(--flag-saffron);
}

.web .flag i:nth-child(2) {
  background: var(--flag-white);
}

.web .flag i:nth-child(3) {
  background: var(--flag-green);
}

.web .pf input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0 var(--space-sm);
  font: inherit;
  font-weight: 700;
  font-size: var(--phone-size);
  line-height: var(--phone-line);
  letter-spacing: 0.8px;
  color: var(--text);
  outline: none;
}

.web .pf input::placeholder {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.4px;
}

.web .hint {
  margin: 10px 0 0;
  font-size: var(--caption-size);
  line-height: var(--caption-line);
  color: var(--text-secondary);
}

.web .err {
  margin: 10px 0 0;
  font-weight: 500;
  font-size: var(--small-size);
  line-height: var(--small-line);
  color: var(--error);
}

.web .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--control);
  margin-top: var(--space-md);
  border: 0;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 700;
  font-size: var(--button-size);
  line-height: var(--button-line);
  letter-spacing: var(--button-tracking);
  color: var(--on-action);
  cursor: pointer;
}

.web .btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--action);
  box-shadow: var(--action-lift), var(--sheen-edge);
}

.web .btn-primary::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 50%;
  background: var(--sheen);
  pointer-events: none;
}

.web .btn-primary:active {
  background: var(--action-pressed);
}

.web .btn-danger {
  background: var(--error);
}

.web .btn:disabled {
  background: var(--muted-bg);
  color: var(--muted);
  box-shadow: none;
}

.web .btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.web .rsec {
  margin-top: 22px;
}

.web .rsec h2 {
  margin: 0;
  font-weight: 700;
  font-size: var(--label-sm-size);
  line-height: var(--label-sm-line);
}

.web .drow {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 56px;
  padding: 0 var(--space-xxs);
  border-bottom: 1px solid var(--border);
}

.web .drow:last-child {
  border-bottom: 0;
}

.web .drow .ic {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-icon);
  background: var(--tonal);
  color: var(--link);
}

.web .drow .tx {
  font-weight: 700;
  font-size: var(--value-strong-size);
  line-height: var(--value-strong-line);
}

.web .drow .tx small {
  display: block;
  font-weight: 400;
  font-size: var(--caption-size);
  line-height: var(--caption-line);
  color: var(--text-secondary);
}

.web .fine {
  margin: 10px 0 0;
  font-size: var(--fine-size);
  line-height: var(--fine-line);
  color: var(--text-secondary);
}

.web .done {
  padding-top: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.web .done .fine {
  margin-top: var(--space-lg);
}

.web .icon-soft {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-tile-lg);
  background: var(--tonal);
  color: var(--link);
}

.wfoot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) 18px;
  padding: 20px var(--gutter);
  border-top: 1px solid var(--border);
  font-size: var(--small-size);
  line-height: var(--small-line);
  color: var(--text-secondary);
}

.wfoot a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

.wfoot span {
  margin-left: auto;
}

/* The shared property (WB1, WB9; WB2 from 1024). */
.wkick {
  display: flex;
  align-items: center;
  gap: 6px;
  /* The canvas's paragraph keeps the browser's 1em above it (WB1, WB2). */
  margin: 1em 0 0;
  font-weight: 700;
  font-size: var(--small-size);
  line-height: var(--small-line);
  color: var(--text-secondary);
}

.wkick svg {
  flex: none;
  color: var(--link);
}

.wcard {
  margin-top: 18px;
  border-radius: var(--radius-tile);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--border);
  overflow: hidden;
}

.wph {
  position: relative;
  height: 180px;
}

.wph img,
.wph .band {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wph img {
  object-fit: cover;
}

/* A property with no photo: the band and the house, as the app's PhotoHeader. */
.wph .band {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--band);
  color: var(--link);
}

.wcard .bd {
  padding: var(--space-md);
}

.bc {
  display: flex;
  align-items: center;
  gap: var(--space-xxs);
  overflow: hidden;
  white-space: nowrap;
  font-size: var(--caption-size);
  line-height: var(--caption-line);
}

.bc span {
  font-weight: 500;
  color: var(--link);
}

.bc b {
  font-weight: 700;
  color: var(--text);
}

.bc svg {
  flex: none;
  color: var(--muted);
}

.web .ptitle {
  margin: var(--space-xs) 0 0;
  font-weight: 900;
  font-size: var(--property-title-size);
  line-height: var(--property-title-line);
  letter-spacing: var(--property-title-tracking);
}

.badge-row {
  margin-top: 10px;
}

/* The badge pill (3.0d `.sb6.lg`): icon and word in the state's colours. */
.sb6 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 11px 0 var(--space-xs);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--chip-text-size);
  line-height: var(--chip-text-line);
  white-space: nowrap;
}

.sb6.v {
  background: var(--verified-surface);
  color: var(--verified);
}

.sb6.p {
  background: var(--property-surface);
  color: var(--property);
}

.sb6.q {
  background: var(--pending-surface);
  color: var(--pending);
}

.sb6.u {
  background: var(--unverified-surface);
  color: var(--unverified);
}

.sb6.d {
  background: var(--disputed-surface);
  color: var(--disputed);
}

.web .why6 {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 10px 0 0;
  font-size: var(--small-size);
  line-height: var(--small-line);
  color: var(--text-secondary);
}

.why6 svg {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  stroke-width: 2;
}

/* The price and the owner (3.0d `.prc6`). */
.prc6 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: 14px;
  padding: var(--space-sm) 14px;
  border-radius: var(--radius-card);
  box-shadow: inset 0 0 0 1px var(--border);
}

.prc6 small {
  display: block;
  font-size: var(--note-size);
  line-height: var(--note-line);
  color: var(--text-secondary);
}

.prc6 b {
  display: block;
  font-weight: 900;
  font-size: var(--price-figure-size);
  line-height: var(--price-figure-line);
  letter-spacing: var(--price-figure-tracking);
}

.prc6 .r {
  margin-left: auto;
  text-align: right;
}

.prc6 .r b {
  font-weight: 700;
  font-size: var(--value-strong-size);
}

.web [data-checks] {
  margin-top: 18px;
}

.web .wsplit .fine {
  margin-top: 10px;
}

/* Room above the footer for the pinned action, at phone width. */
.wspacer {
  height: 96px;
}

/* The one action pinned at phone width, as the unit page's `.ab5`. */
.wstick {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: var(--space-sm) var(--gutter) 20px;
  background: var(--bar-glass);
  box-shadow: 0 -1px 0 var(--border);
}

.wstick .btn {
  margin-top: 0;
}

.web a.btn {
  text-decoration: none;
}

/* A hand-off page's actions (WB3, WB5, WB6): the full column, 24 under the lede. */
.web .acts {
  align-self: stretch;
  margin-top: var(--space-lg);
}

.web .acts .btn {
  margin-top: 0;
}

.web .acts .fine {
  margin-top: var(--space-sm);
}

.web .done .h2 {
  margin-top: 22px;
}

.web .done .lede {
  margin-top: var(--space-xs);
}

.only-wide {
  display: none;
}

/* /privacy and /terms (WB10 to WB13, ADR 0077): the version line, the title 10 under it, and the
   document's paragraphs in the body role in the text colour, 14 apart, at a 640 measure. */
.web .legal-page {
  padding-top: 20px;
}

.web .legal-page > .fine:first-child {
  margin: 0;
}

.web .legal {
  max-width: 640px;
  margin-top: 14px;
}

.web .legal p {
  margin: 0 0 14px;
  font-size: var(--body-size);
  line-height: var(--body-line);
  color: var(--text);
}

.web .legal h2 {
  /* A section heading, as the app's reader draws it: the title role, 22 above. */
  margin: 22px 0 14px;
  font-weight: 700;
  font-size: var(--title-size);
  line-height: var(--title-line);
  letter-spacing: var(--title-tracking);
  color: var(--text);
}

.web .legal-ask {
  margin-top: 18px;
}

.web .legal-page a,
.web .done .lede a {
  color: var(--link);
}

/* WB2: the property on the left, the app and what was checked on the right. */
@media (min-width: 1024px) {
  .wbar {
    height: 76px;
    padding: 0 calc((100% - 944px) / 2);
  }

  .wfoot {
    padding: 20px calc((100% - 944px) / 2);
  }

  .wsplit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: var(--space-xl);
    width: 100%;
    /* 1040 of content between 48 each side, as the canvas's content-box .wsplit. */
    max-width: 1136px;
    margin: 0 auto;
    padding: 28px 48px 40px;
  }

  /* WB12: the document lines up with the bar's 944 column, its paragraphs keep the 640 measure. */
  .web .legal-page {
    max-width: 944px;
    padding: 40px 0 var(--space-xl);
  }

  .wsplit > .wcol {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .only-phone {
    display: none !important;
  }

  .only-wide {
    display: block;
  }

  .wside {
    padding: 20px;
    border-radius: var(--radius-tile);
    background: var(--card);
    box-shadow: inset 0 0 0 1px var(--border);
  }

  .web .wside .h2 {
    margin: 0;
    font-size: var(--sheet-title-size);
    line-height: var(--sheet-title-line);
  }

  .wside .lede {
    font-size: var(--body-sm-size);
    line-height: var(--body-sm-line);
  }

  .wside .btn {
    margin-top: var(--space-md);
  }

  .web .rsec.wside {
    margin-top: var(--space-md);
  }
}

/* The loading card (not drawn: CF). */
.sk {
  display: block;
  border-radius: var(--radius-pill);
  background: var(--muted-bg);
}

.wph.sk {
  border-radius: 0;
}

.sk-kick {
  width: 190px;
  height: 14px;
}

.sk-crumbs {
  width: 60%;
  height: 12px;
}

.sk-title {
  width: 80%;
  height: 24px;
  margin-top: 12px;
}

.sk-badge {
  width: 96px;
  height: 28px;
  margin-top: 12px;
}

[hidden] {
  display: none !important;
}
