/* Their page, on the web (Projects v3, the ODD01 Projects canvas, Spec 10): the studio's web look,
   as on the pay and gallery pages. A frosted window, one page box with the ODD01 mark, one calm
   560 column, card groups on solid tints. The page's one action is the one dark button. Phone first;
   on a computer it's the same column. */
:root {
  --window-top: #f6f6f7; --window-bottom: #efeff1; --box-top: #fefefe; --box-bottom: #fcfcfd; --white: #fff;
  --card-solid: #f6f6f8; --tint-solid: #f5f5f7; --hover-solid: #f3f3f4; --tint-2-solid: #f0f0f2; --tint-3-solid: #eaeaed; --rule-solid: #ededef;
  --green-solid: #e6f4ec; --amber-solid: #f9eee3; --blue-solid: #eaf0fd;
  --ink: #1a1a1a; --ink-2: #404040; --mute: #737373; --faint: #a3a3a3; --green: #16a34a; --green-ink: #15803d; --amber-ink: #92400e; --red-ink: #b91c1c;
  --blue: #2563eb; --blue-ink: #1d4ed8;
  --shadow-box: 0 0 0 1px rgba(20, 20, 40, .07), 0 1px 2px rgba(20, 20, 40, .04), 0 12px 32px rgba(20, 20, 40, .05);
  --shadow-lift: 0 0 0 .5px rgba(20, 20, 40, .08), 0 1px 4px rgba(20, 20, 40, .06);
  --shadow-sheet: 0 0 0 .5px rgba(20, 20, 40, .1), 0 -8px 40px rgba(20, 20, 40, .14);
  --shadow-focus: 0 0 0 1px #2563eb, 0 0 0 3px #eff4ff;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; background: linear-gradient(180deg, var(--window-top), var(--window-bottom)) fixed;
  font-family: var(--sans); font-size: 14px; line-height: 20px; color: var(--ink); letter-spacing: -.005em; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: default; text-align: inherit; }
button:focus-visible, a:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

.wb { padding: 8px; padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
.wb-box { min-height: calc(100vh - 16px); min-height: calc(100dvh - 16px); border-radius: 12px; background: linear-gradient(180deg, var(--box-top), var(--box-bottom)); box-shadow: var(--shadow-box); overflow: hidden; }
.wb-head { display: flex; justify-content: center; align-items: center; height: 56px; }
.wb-head svg { height: 15px; width: auto; color: var(--ink); display: block; }
.wb-col { max-width: 560px; margin: 0 auto; padding: 8px 18px 32px; display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 700px) { .wb-col { padding-top: 24px; } }
.money { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.wb-hero { text-align: center; padding: 6px 0 2px; }
.wb-hi { margin: 0; font: 400 30px/36px var(--display); letter-spacing: -.02em; }
.wb-sub { margin-top: 4px; font-size: 13.5px; color: var(--mute); }
.wb-when { margin-top: 12px; display: inline-flex; gap: 5px; align-items: center; height: 30px; padding: 0 12px; border-radius: 9px; background: var(--card-solid); font-size: 13px; color: var(--ink-2); }
.wb-when b { font-weight: 400; color: var(--ink); }

.wb-cg { display: flex; flex-direction: column; gap: 6px; }
.wb-label { display: flex; align-items: center; min-height: 20px; padding: 0 14px; font-size: 12px; color: var(--faint); margin: 0; font-weight: 400; }
.wb-label .end { margin-left: auto; }
.wb-card { display: flex; flex-direction: column; padding: 4px; border-radius: 14px; background: var(--card-solid); }
.wb-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 7px 10px; border-radius: 10px; width: 100%; transition: background .12s; }
a.wb-row:hover, button.wb-row:hover { background: var(--hover-solid); transition: none; }
a.wb-row:active, button.wb-row:active { background: var(--tint-3-solid); }
.wb-ic { width: 28px; height: 28px; border-radius: 8px; background: var(--white); box-shadow: var(--shadow-lift); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ink-2); }
.wb-ic svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wb-w { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.wb-t { font-size: 14px; color: var(--ink); display: flex; gap: 8px; align-items: baseline; }
.wb-s { font-size: 12.5px; line-height: 17px; color: var(--mute); }
.wb-new { font-size: 11.5px; color: var(--blue-ink); }
.wb-end { font-size: 12.5px; color: var(--mute); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.wb-end .money { font-size: 13px; color: var(--ink-2); }
.wb-chev { width: 12px; height: 12px; fill: none; stroke: var(--faint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .12s; }
.wb-row.is-open .wb-chev { transform: rotate(90deg); }
.wb-more { margin: 0 10px 8px 50px; padding: 4px 0; border-left: 1px solid var(--rule-solid); }
.wb-mr { display: flex; gap: 12px; padding: 5px 0 5px 14px; font-size: 13px; }
.wb-mr .tm { width: 40px; color: var(--mute); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.wb-mr .w { color: var(--ink); min-width: 0; } .wb-mr .w em { font-style: normal; color: var(--mute); margin-left: 6px; }
.wb-mr a { color: var(--blue-ink); margin-left: auto; padding-left: 12px; white-space: nowrap; }
.wb-mr.is-person .w em { display: block; margin-left: 0; font-size: 12.5px; line-height: 17px; }
@media (max-width: 420px) { .wb-end .wb-hint { display: none; } }

/* What's needed from you */
.wb-need { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 10px; border-radius: 10px; }
.wb-check { width: 20px; height: 20px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px #c4c4cc; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: transparent; }
.wb-check svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wb-check.is-on { background: var(--green); box-shadow: none; color: #fff; }
.wb-need.is-done .wb-t, .wb-need.is-later .wb-t { color: var(--mute); }
.wb-btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 14px; border-radius: 9px; background: var(--tint-2-solid); color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .12s; flex-shrink: 0; }
.wb-btn:hover { background: var(--tint-3-solid); transition: none; }
.wb-btn.is-dark { background: var(--ink); color: #fff; }
.wb-btn.is-dark:hover { background: #333; }
.wb-btn.is-off, .wb-btn:disabled { opacity: .4; pointer-events: none; }

.wb-mood { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 6px; }
.wb-mood a { display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--tint-2-solid); }
.wb-mood img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wb-foot { text-align: center; font-size: 12px; line-height: 18px; color: var(--faint); padding: 6px 0 0; }
.wb-foot a { color: var(--mute); }
.wb-say { text-align: center; padding: 72px 12px; }
.wb-say p { margin: 0; font-size: 15px; color: var(--ink); }
.wb-say span { display: block; margin: 6px auto 0; max-width: 360px; font-size: 13px; color: var(--mute); }
.wb-say .wb-btn { margin-top: 18px; }
.wb-opening { text-align: center; padding: 72px 0; font-size: 13px; color: var(--faint); margin: 0; }
.wb-error { font-size: 12.5px; color: var(--red-ink); margin-top: 10px; text-align: center; }

/* A sheet over the page: from the bottom on a phone, a centred dialog on a computer */
.wb-scrim { position: fixed; inset: 8px; border-radius: 12px; background: rgba(20, 20, 40, .2); z-index: 5; }
.wb-sheet { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 6; border-radius: 18px 18px 12px 12px; background: var(--white); box-shadow: var(--shadow-sheet); padding: 10px 20px 20px; max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 700px) {
  .wb-sheet { left: 50%; right: auto; bottom: auto; top: 90px; width: 480px; transform: translateX(-50%); border-radius: 16px; max-height: calc(100vh - 140px); }
  .wb-grab { display: none; }
}
.wb-grab { width: 36px; height: 5px; border-radius: 3px; background: var(--rule-solid); margin: 0 auto 12px; }
.wb-sh { display: flex; align-items: center; } .wb-sh .x { margin-left: auto; color: var(--mute); font-size: 13px; }
.wb-sht { font: 400 22px/28px var(--display); letter-spacing: -.015em; margin: 4px 0 0; }
.wb-shs { font-size: 13px; color: var(--mute); margin-top: 2px; }
.wb-terms { margin-top: 14px; border-radius: 12px; background: var(--card-solid); padding: 6px 14px; }
.wb-term { display: flex; gap: 14px; padding: 7px 0; font-size: 13px; box-shadow: inset 0 -1px 0 var(--rule-solid); }
.wb-term:last-child { box-shadow: none; }
.wb-term .k { width: 92px; color: var(--mute); flex-shrink: 0; }
.wb-read { margin-top: 10px; font-size: 12.5px; color: var(--blue-ink); }
.wb-words { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--card-solid); font-size: 13px; line-height: 19px; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.wb-field { margin-top: 16px; }
.wb-field label { display: block; font-size: 12px; color: var(--mute); margin-bottom: 6px; }
.wb-field input { width: 100%; height: 40px; border: 0; outline: none; border-radius: 10px; background: var(--tint-solid); padding: 0 12px; font: inherit; font-size: 16px; color: var(--ink); }
.wb-field input:focus { background: var(--white); box-shadow: var(--shadow-focus); }
.wb-agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.wb-agree .wb-check { width: 18px; height: 18px; border-radius: 5px; margin-top: 1px; }
.wb-agree .wb-check.is-on { background: var(--ink); }
.wb-sign { margin-top: 16px; width: 100%; height: 44px; font-size: 15px; }
.wb-fine { margin-top: 10px; font-size: 11.5px; line-height: 16px; color: var(--faint); text-align: center; }
.wb-done { margin-top: 18px; text-align: center; }
.wb-done .big { width: 44px; height: 44px; border-radius: 22px; background: var(--green-solid); color: var(--green-ink); display: inline-flex; align-items: center; justify-content: center; }
.wb-done .big svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wb-done p { margin: 10px 0 0; font-size: 14px; } .wb-done span { font-size: 12.5px; color: var(--mute); }
.wb-back { margin-top: 16px; }
.wb-signed { margin-top: 12px; font-size: 12.5px; color: var(--green-ink); }
.wb-choices { margin-top: 14px; }
body.has-sheet { overflow: hidden; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
