/* Connected HANDY: application layout and business-card brand treatment. */
.login-panel {
  max-width: 560px;
  margin: 5vh auto;
}
.login-panel form {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}
.login-panel input {
  width: 100%;
}
.account-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line,#ccc);
  padding: 14px 0;
  margin-bottom: 32px;
}
.account-bar span {
  overflow-wrap: anywhere;
}
.account-bar > div {
  display: flex;
  gap: 8px;
}
.cloud-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.cloud-intro h1 {
  font-size: clamp(44px, 7vw, 90px);
}
.cloud-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.cloud-grid label,
.cloud-stack label {
  display: grid;
  gap: 6px;
}
.cloud-grid input,
.cloud-grid select,
.cloud-grid textarea {
  width: 100%;
}
.cloud-stack {
  display: grid;
  gap: 16px;
}
.cloud-card {
  padding: 24px;
  border: 1px solid #bbb;
  background: #fffcf5;
  margin: 20px 0;
}
.cloud-card h2 {
  margin: 4px 0;
  font-size: clamp(26px, 4vw, 44px);
}
.cloud-card h3 {
  margin-top: 24px;
}
.cloud-card p {
  white-space: pre-wrap;
}
.cloud-wide {
  grid-column: 1/-1;
}
.cloud-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.cloud-actions button {
  min-height: 44px;
}
.cloud-subtle {
  background: #f0eadf;
  padding: 12px;
}
.cloud-time,
.cloud-material {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  margin: 12px 0;
  align-items: end;
}
.cloud-time input,
.cloud-material input,
.cloud-time select {
  width: 100%;
  min-width: 0;
}
.cloud-material {
  grid-template-columns: 2fr 1fr 1fr auto;
}
.cloud-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.cloud-stage {
  min-width: 0;
}
.cloud-stage header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cloud-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  background: #e7e0d4;
  padding: 0;
  overflow: hidden;
  box-shadow: 3px 3px 0 #c3bba9, 6px 6px 0 #e0d7c6;
}
.cloud-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cloud-stage .cloud-actions {
  gap: 4px;
}
.cloud-stage .cloud-actions button {
  padding: 7px;
  font-size: 13px;
}
.cloud-receipt {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
.cloud-receipt span {
  flex: 1;
}
#cloud-status {
  position: sticky;
  bottom: 10px;
  background: #0b0b0b;
  color: white;
  padding: 14px 20px;
  border-radius: 2px;
  z-index: 8;
  white-space: pre-wrap;
}
#cloud-status:empty {
  display: none;
}
#cloud-status.error {
  background: #9b240b;
}
#photo-view {
  max-width: 96vw;
  max-height: 96vh;
}
#photo-view img {
  display: block;
  max-width: 85vw;
  max-height: 80vh;
}
.cloud-history {
  width: 100%;
  border-collapse: collapse;
}
.cloud-history th,
.cloud-history td {
  text-align: left;
  border-bottom: 1px solid #ccc;
  padding: 14px 10px;
  vertical-align: top;
}
.cloud-history button {
  text-align: left;
}
.cloud-scroll {
  overflow: auto;
}
.cloud-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.cloud-day {
  min-height: 110px;
  border: 1px solid #cfc6b8;
  padding: 8px;
  min-width: 0;
}
.cloud-day button {
  display: block;
  width: 100%;
  font-size: 12px;
  padding: 8px 3px;
  margin-top: 8px;
  overflow-wrap: anywhere;
  background: #ffd7b6;
}
.cloud-calendar > strong {
  padding: 5px;
}
.badge {
  display: inline-block;
}
.cloud-review {
  border-left: 5px solid #ef6b28;
}
.cloud-notice {
  padding: 16px;
  background: #f6e0bd;
  line-height: 1.5;
}
.cloud-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: #555;
}
.cloud-inline {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}
.cloud-inline label {
  display: grid;
  gap: 5px;
}
button:disabled {
  opacity: .5;
  cursor: wait;
}
textarea {
  min-height: 110px;
}
a {
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .cloud-grid {
    grid-template-columns: 1fr;
  }
  .cloud-wide {
    grid-column: auto;
  }
  .cloud-time {
    grid-template-columns: 1fr 1fr;
  }
  .cloud-time button {
    grid-column: 2;
  }
  .cloud-material {
    grid-template-columns: 1fr 1fr;
  }
  .cloud-material label:first-child {
    grid-column: 1/-1;
  }
  .cloud-card {
    padding: 16px;
  }
  .cloud-intro {
    display: block;
  }
  .cloud-photos {
    gap: 9px;
  }
  .cloud-stage h4 {
    font-size: 14px;
  }
  .cloud-calendar {
    gap: 2px;
  }
  .cloud-day {
    min-height: 90px;
    padding: 3px;
  }
  .cloud-day button {
    font-size: 10px;
  }
  .account-bar {
    align-items: start;
  }
  .brand nav {
    flex-wrap: wrap;
  }
}
:root {
  color-scheme: light;
  background: #f4efe5;
  color: #151515;
}
body {
  background: #f4efe5;
  color: #151515;
}
.brand,
main,
.preview-note {
  max-width: 1140px;
}
.brand {
  border-color: #c8bfae;
}
.brand a {
  color: #111;
}
.brand span {
  color: #f56623;
}
button {
  color: #151515;
  border: 1px solid #bcb3a3;
  background: #f9f5ed;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 2px;
}
button.primary {
  background: #f56623;
  color: #101010;
  border-color: #f56623;
  font-weight: 700;
}
input,
select,
textarea {
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #a99f8f;
  background: #fffdf8;
  color: #111;
  border-radius: 2px;
}
label {
  font-size: 14px;
}
.muted,
.preview-note {
  color: #58554e;
}
.preview-note {
  border-color: #c8bfae;
}
.cloud-entry a {
  color: #f56623;
}
.cloud-card summary {
  cursor: pointer;
  padding: 10px 0;
}
.login-panel h1 {
  font-size: clamp(48px, 8vw, 76px);
  line-height: 1;
  letter-spacing: -3px;
}
.login-panel form {
  margin: 30px 0;
}
.login-panel label {
  display: grid;
  gap: 8px;
}
.login-panel a {
  color: #151515;
}
.cloud-photo {
  border-color: #bcb3a3;
}
.badge {
  background: #e4dfd5;
  color: #111;
}
.brand nav .selected {
  background: #151515;
  color: #fffdf8;
}
.cloud-card .muted {
  color: #58554e;
}
.cloud-card .empty {
  color: #58554e;
}
@font-face {
  font-family: Handy Display;
  src: url(brand/anton-latin.woff2) format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Handy Body;
  src: url(brand/inter-regular-latin.woff2) format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Handy Body;
  src: url(brand/inter-bold-latin.woff2) format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink:#0b0b0b;
  --orange:#ff5a1f;
  --cream:#f3ebdd;
  --paper:#fffdf7;
  --line:#d5c9b7;
  --muted:#62584a;
  --teal:#176b67;
  --blue:#2455a0;
  font-family:
    Handy Body,
    Arial,
    sans-serif;
  background: var(--cream);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
body {
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.55;
}
.brand,
main,
.preview-note {
  max-width: 1200px;
}
.preview-note {
  padding: 10px 28px;
  background: #e8decd;
  color: #4e463b;
  font-size: 12px;
  border: 0;
  border-bottom: 1px solid #d5c9b7;
}
.brand {
  position: relative;
  align-items: center;
  gap: 24px;
  padding: 22px 28px 18px;
  border-bottom: 2px solid var(--ink);
}
.brand > a {
  font-family:
    Handy Display,
    Impact,
    sans-serif;
  font-size: 55px;
  line-height: 1;
  letter-spacing: -1.5px;
  transform: skew(-5deg);
  text-decoration: none;
  color: var(--ink);
}
.brand a span {
  color: var(--orange);
}
.brand-tagline {
  font-size: 10px;
  letter-spacing: 1.1px;
  font-weight: 700;
  max-width: 160px;
  color: #3e382e !important;
}
.brand nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.brand nav button {
  min-width: 78px;
  font-weight: 700;
  border-radius: 5px;
  background: #fffaf0;
  border: 1px solid var(--line);
}
.brand nav .selected {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: 0 3px 0 var(--orange);
}
main {
  padding: 26px 28px 60px;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  background: var(--paper);
  border: 1px solid #bcb09f;
  border-radius: 6px;
  box-shadow: 0 2px 0 #85745d1a;
  transition:
    background .15s,
    box-shadow .15s,
    transform .15s;
}
button:hover:not(:disabled) {
  background: #fff6e6;
  border-color: #655a4a;
  box-shadow: 0 4px 12px #38271214;
  transform: translateY(-1px);
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 50px;
  background: var(--paper);
  color: #111;
  border: 1px solid #e44a10;
  font-weight: 700;
  box-shadow: 0 4px 0 #c8461433, 0 8px 20px #ef61212b;
}
button.primary:hover:not(:disabled) {
  background: var(--paper);
  border-color: #a8330a;
  box-shadow: 0 5px 0 #c8461433, 0 10px 24px #ef612136;
}
.primary span[aria-hidden] {
  font-size: 23px;
  font-weight: 400;
}
input,
select,
textarea {
  border: 1px solid #b5a895;
  border-radius: 5px;
  background: #fffefb;
  color: var(--ink);
  box-shadow: inset 0 1px 2px #4e3b2110;
  min-width: 0;
  font-family: inherit;
}
input::placeholder,
textarea::placeholder {
  color: #776d60;
  opacity: 1;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #a33c0f;
  box-shadow: 0 0 0 3px #ff5a1f20;
  outline: 2px solid transparent;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #176b67;
  outline-offset: 3px;
}
label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
label small,
.form-guidance,
.form-footer p {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}
.muted,
.cloud-card .muted,
.cloud-card .empty {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: var(--muted);
}
h1,
h2,
h3 {
  font-family:
    Handy Display,
    Impact,
    sans-serif;
  font-weight: 400;
  letter-spacing: -.35px;
}
h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
}
h3 {
  font-size: 25px;
}
.account-bar {
  margin: 0 0 24px;
  padding: 0 0 16px;
  border-color: var(--line);
  font-size: 13px;
}
.account-bar > span {
  font-weight: 700;
}
.account-bar button {
  font-size: 12px;
  min-height: 44px;
}
.cloud-hero,
.cloud-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 38px;
  margin: 0 0 24px;
  border-radius: 9px;
  background: var(--paper);
  color: var(--paper);
  box-shadow: 0 7px 0 #c6b498, 0 16px 28px #39250d18;
}
.cloud-intro:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 55%;
  background: var(--paper);
  mask-image: none;
  pointer-events: none;
}
.cloud-intro .eyebrow {
  color: #ffc399;
  margin: 0 0 14px;
}
.cloud-intro h1 {
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0 0 16px;
}
.cloud-intro h1 span {
  color: #ff8648;
}
.cloud-intro p {
  margin: 0;
  color: #ede0cc;
  font-size: 14px;
  max-width: 510px;
}
.cloud-intro > div {
  min-width: 0;
}
.workspace-stamp {
  flex-shrink: 0;
  font-family:
    Handy Display,
    Impact,
    sans-serif;
  font-size: 48px;
  transform: rotate(-7deg);
  border-top: 2px solid #ff8747;
  border-bottom: 2px solid #ff8747;
  padding: 4px 0 7px;
  color: #ff8747;
  align-self: center;
  letter-spacing: 0;
}
.workspace-stamp small {
  display: block;
  font:
    700 9px Handy Body,
    Arial,
    sans-serif;
  letter-spacing: 1px;
  color: #ffe8cf;
}
.cloud-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 22px;
}
.cloud-stats article {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 8px;
  align-items: center;
  padding: 19px 22px;
  background: var(--paper);
  border: 1px solid #ddccb1;
  border-left: 4px solid var(--orange);
  border-radius: 7px;
  box-shadow: 0 4px 13px #593c1110;
}
.cloud-stats strong {
  grid-column: 2;
  grid-row: 1/3;
  font:
    400 45px/1 Handy Display,
    Impact,
    sans-serif;
  color: #a53d11;
}
.cloud-stats span {
  font-size: 11px;
  color: #62584a;
}
.cloud-stats .stat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.cloud-stats .stat-review {
  border-left-color: var(--blue);
  background: var(--paper);
}
.stat-review strong {
  color: var(--blue);
}
.cloud-stats .stat-team {
  border-left-color: var(--teal);
  background: var(--paper);
}
.stat-team strong {
  color: var(--teal);
}
.cloud-notice {
  border: 1px solid #dec8a1;
  border-left: 4px solid #b17d29;
  border-radius: 5px;
  background: var(--paper);
  padding: 12px 16px;
  font-size: 12px;
  color: #554124;
}
.cloud-notice strong {
  font-weight: 700;
}
.cloud-card {
  position: relative;
  padding: 26px 28px;
  border: 1px solid #d4c5af;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 4px 0 #c4b28f24, 0 12px 28px #4530150a;
  margin: 22px 0;
}
.cloud-card h2 {
  font-size: clamp(28px, 4vw, 39px);
  margin: 4px 0 10px;
}
.cloud-card h3 {
  margin: 18px 0 10px;
}
.cloud-card > p {
  font-size: 14px;
  line-height: 1.7;
}
.cloud-card summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  list-style: none;
  min-height: 44px;
}
.cloud-card summary::-webkit-details-marker {
  display: none;
}
.cloud-card summary:after {
  content: "+";
  margin-left: auto;
  font-size: 26px;
  font-weight: 400;
  color: #77634b;
  line-height: 1;
}
.cloud-card[open] summary:after {
  content: "−";
}
.cloud-card summary strong {
  font-size: 18px;
  letter-spacing: -.4px;
}
.section-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 5px;
  background: #fff0dc;
  color: #a74215;
  border: 1px solid #edcc9b;
  font:
    400 20px Handy Display,
    Impact,
    sans-serif;
}
.cloud-team .section-number {
  background: #e6f0ed;
  color: var(--teal);
  border-color: #b5d1c6;
}
.summary-meta {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.cloud-card summary .summary-meta + span {
  margin-left: 0;
}
.cloud-card[open] > summary {
  border-bottom: 1px solid #e4d8c5;
  padding-bottom: 18px;
  margin-bottom: 22px;
}
.cloud-card .cloud-grid {
  gap: 18px 22px;
}
.form-guidance {
  margin: 0 0 2px;
  max-width: 760px;
}
.cloud-grid label,
.cloud-stack label {
  gap: 7px;
  position: relative;
}
.required-label {
  display: inline;
  font-weight: 400;
  font-size: 10px;
  color: #7b4d2c;
  position: absolute;
  right: 0;
  top: 2px;
}
.cloud-grid input,
.cloud-grid select {
  min-height: 49px;
}
.cloud-grid fieldset {
  margin: 4px 0 0;
  padding: 18px;
  border: 1px solid #ddcfba;
  background: #f6f0e5;
  border-radius: 5px;
}
.cloud-grid legend {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #67513c;
  font-weight: 700;
  padding: 0 7px;
}
.cloud-grid label > small {
  font-size: 11px;
  color: var(--muted);
}
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #e4d8c5;
}
.form-footer p {
  margin: 0;
}
.form-footer button {
  flex-shrink: 0;
  min-width: 210px;
}
.field-error {
  color: #9c2f19;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.55;
}
.field-error:empty {
  display: none;
}
input[aria-invalid=true],
select[aria-invalid=true] {
  border: 2px solid #a23822;
  background: #fff5ed;
}
.form-errors {
  padding: 13px 16px;
  border: 1px solid #c86447;
  border-left: 4px solid #a23822;
  border-radius: 5px;
  background: #fff1e6;
  color: #8a2b14;
  font-size: 13px;
  font-weight: 700;
}
.saved-property-note {
  background: #e8f2eb;
  border-left: 3px solid var(--teal);
  color: #1a5449;
  padding: 12px 16px;
  font-size: 13px;
  margin: 0;
}
.cloud-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 42px 0 18px;
}
.cloud-section-title .eyebrow {
  margin: 0 0 7px;
}
.cloud-section-title h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cloud-section-title > p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.count-badge {
  font:
    700 12px Handy Body,
    Arial,
    sans-serif;
  background: #e6edf8;
  color: #245087;
  padding: 5px 9px;
  border-radius: 4px;
}
.cloud-review {
  border-left: 4px solid var(--blue);
  background: var(--paper);
}
.cloud-review .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #274e7c;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.cloud-review button {
  border-color: #a6b6ca;
  color: #1e426b;
  background: #f8fbff;
}
.team-roster {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}
.team-roster > article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #f5f1e8;
  border: 1px solid #e1d6c4;
  border-radius: 5px;
}
.team-roster > article > div {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.team-roster strong {
  font-size: 13px;
}
.team-roster small {
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.staff-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: #1f6256;
  color: #fffbed;
  font-size: 12px;
  font-weight: 700;
  border-radius: 5px;
  box-shadow: 0 2px 0 #0b352626;
}
.staff-avatar.pending {
  background: #e6d5b8;
  color: #6b4f2c;
}
.access-badge {
  font-size: 10px;
  font-weight: 700;
  border: 1px solid #a7c6b0;
  border-radius: 4px;
  color: #24543d;
  background: #e8f2e7;
  padding: 4px 8px;
}
.team-roster button {
  font-size: 11px;
}
.cloud-team #team-status:not(.field-error) {
  border-left: 3px solid var(--teal);
  background: #edf5ed;
  color: #205947;
  padding: 10px;
}
.cloud-inline {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf0;
  margin: 24px 0;
}
.cloud-inline .muted {
  font-size: 12px;
}
.cloud-subtle {
  border-radius: 5px;
  background: var(--paper);
  color: #514331;
}
.cloud-stage header {
  padding-bottom: 8px;
}
.cloud-stage h4 {
  font-size: 13px;
  font-weight: 700;
}
.cloud-stage:nth-child(1) header {
  border-bottom: 3px solid #c1712b;
}
.cloud-stage:nth-child(2) header {
  border-bottom: 3px solid var(--blue);
}
.cloud-stage:nth-child(3) header {
  border-bottom: 3px solid var(--teal);
}
.cloud-photo {
  border-radius: 7px;
}
.cloud-receipt {
  font-size: 13px;
}
#cloud-status {
  font-size: 13px;
  max-width: 720px;
  margin: 26px 0 0 auto;
  border: 1px solid #3b352b;
  border-left: 4px solid #86bd9d;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 7px 22px #0b0b0b25;
}
#cloud-status.error {
  background: #fff0e6;
  color: #8a2b14;
  border-color: #d7a186;
  border-left-color: #a23822;
}
.cloud-history th {
  font-size: 11px;
}
.cloud-history td {
  font-size: 13px;
}
.cloud-day {
  border-radius: 4px;
  background: #fffaf0;
}
.cloud-day button {
  border: 1px solid #e6ba91;
  border-left: 3px solid #d9571f;
  background: var(--paper);
}
.login-panel {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  max-width: none;
  margin: 24px 0 40px;
  min-height: 590px;
  border: 1px solid #c6b596;
  border-radius: 10px;
  box-shadow: 0 7px 0 #b69c6f33, 0 22px 50px #4b2e091c;
  overflow: hidden;
  background: var(--paper);
}
.login-story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 36px;
  background: var(--paper);
  border-right: 1px solid #d1ba93;
}
.login-story:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--paper);
  mask-image: none;
}
.login-panel h1 {
  font-size: clamp(55px, 6.3vw, 79px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 20px 0;
}
.login-story h1 span {
  color: #a63d12;
}
.login-story > p:not(.eyebrow) {
  font-size: 14px;
  max-width: 260px;
}
.login-mascot {
  position: absolute;
  object-fit: contain;
  object-position: bottom right;
  right: 8px;
  bottom: 12px;
  width: 53%;
  height: 56%;
  filter: drop-shadow(7px 9px 0 #5c3d1a12);
  pointer-events: none;
}
.login-stamp {
  position: absolute;
  bottom: 36px;
  left: 36px;
  max-width: 150px;
  font:
    400 24px/1.2 Handy Display,
    Impact,
    sans-serif;
  transform: rotate(-6deg);
  color: #75451e;
}
.login-form {
  padding: 52px 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-form h2 {
  font-size: 34px;
  margin: 8px 0 14px;
}
.login-form > p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 7px;
}
.login-form .eyebrow {
  color: #a23d11;
  font-size: 10px;
}
.login-panel form {
  margin: 26px 0;
  gap: 18px;
}
.login-panel label {
  font-size: 13px;
}
.login-panel input {
  min-height: 50px;
}
.login-panel form button {
  margin-top: 6px;
  justify-content: space-between;
  padding: 12px 18px;
}
.login-panel .muted {
  font-size: 11px;
  line-height: 1.8;
}
@media (max-width: 850px) {
  .brand-tagline {
    display: none;
  }
  .cloud-intro {
    padding: 28px;
  }
  .workspace-stamp {
    font-size: 35px;
  }
  .workspace-stamp small {
    font-size: 7px;
  }
  .cloud-stats article {
    padding: 16px;
  }
  .cloud-stats strong {
    font-size: 36px;
  }
  .cloud-stats span:last-child {
    font-size: 10px;
  }
  .summary-meta {
    display: none;
  }
  .login-story {
    padding: 28px;
  }
  .login-form {
    padding: 36px 26px;
  }
  .login-stamp {
    left: 28px;
    bottom: 28px;
    font-size: 21px;
    max-width: 135px;
  }
  .login-story h1 {
    font-size: 60px;
  }
  .cloud-card {
    padding: 22px;
  }
  .cloud-card .cloud-grid {
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .brand,
  main,
  .preview-note {
    padding-left: 18px;
    padding-right: 18px;
  }
  .brand {
    padding-top: 20px;
    padding-bottom: 16px;
    gap: 16px;
  }
  .brand > a {
    font-size: 46px;
  }
  .brand nav {
    gap: 5px;
  }
  .brand nav button {
    padding: 7px 10px;
    min-width: 0;
    font-size: 11px;
  }
  .preview-note {
    font-size: 10px;
    line-height: 1.5;
  }
  main {
    padding-top: 20px;
  }
  .account-bar {
    font-size: 11px;
    margin-bottom: 20px;
    gap: 10px;
  }
  .account-bar > div {
    gap: 5px;
  }
  .account-bar button {
    padding: 7px 9px;
    font-size: 10px;
  }
  .cloud-intro {
    padding: 25px 22px;
    border-radius: 6px;
    align-items: start;
  }
  .cloud-intro h1 {
    font-size: 53px;
  }
  .cloud-intro p {
    font-size: 12px;
  }
  .workspace-stamp {
    display: none;
  }
  .cloud-stats {
    gap: 8px;
    margin-top: 26px;
  }
  .cloud-stats article {
    grid-template-columns: 1fr;
    padding: 12px 10px;
    gap: 5px;
    border-left-width: 3px;
  }
  .cloud-stats strong {
    grid-column: auto;
    grid-row: auto;
    font-size: 32px;
  }
  .cloud-stats .stat-label {
    font-size: 10px;
  }
  .cloud-stats article > span:last-child {
    font-size: 9px;
    line-height: 1.4;
    min-height: 26px;
  }
  .cloud-notice {
    font-size: 11px;
  }
  .cloud-card {
    padding: 18px 16px;
  }
  .cloud-card summary {
    gap: 10px;
  }
  .cloud-card summary strong {
    font-size: 15px;
    line-height: 1.4;
  }
  .section-number {
    width: 31px;
    height: 33px;
    font-size: 18px;
  }
  .cloud-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cloud-grid fieldset {
    padding: 14px;
  }
  .cloud-wide {
    grid-column: auto;
  }
  .cloud-grid fieldset.cloud-wide {
    grid-column: 1/-1;
  }
  .form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .form-footer button {
    width: 100%;
  }
  .cloud-section-title {
    display: block;
    margin-top: 32px;
  }
  .cloud-section-title > p {
    margin-top: 12px;
  }
  .cloud-section-title h2 {
    font-size: 29px;
  }
  .cloud-card > p {
    font-size: 13px;
  }
  .team-roster > article {
    flex-wrap: wrap;
  }
  .team-roster button {
    width: 100%;
  }
  .cloud-time,
  .cloud-material {
    gap: 9px;
  }
  .cloud-time input {
    padding: 9px 7px;
    font-size: 12px;
  }
  .login-panel {
    display: flex;
    flex-direction: column;
    margin: 12px 0 28px;
    min-height: 0;
    border-radius: 7px;
  }
  .login-story {
    min-height: 265px;
    padding: 24px;
    border: 0;
    border-bottom: 1px solid #d1ba93;
  }
  .login-story h1 {
    font-size: 52px;
    margin: 18px 0 12px;
  }
  .login-story .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .login-story > p:not(.eyebrow) {
    font-size: 11px;
    max-width: 190px;
  }
  .login-mascot {
    height: 87%;
    width: 43%;
    right: 2px;
    bottom: 0;
  }
  .login-stamp {
    display: none;
  }
  .login-form {
    padding: 30px 24px;
  }
  .login-form h2 {
    font-size: 31px;
  }
  .login-panel form {
    margin: 24px 0;
  }
  #cloud-status {
    padding: 13px 15px;
    font-size: 12px;
  }
  .cloud-history {
    min-width: 0;
  }
  .cloud-calendar {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }
  button:hover:not(:disabled),
  button:active:not(:disabled) {
    transform: none;
  }
}
.brand nav button {
  color: var(--ink);
}
.brand nav .selected {
  color: var(--paper);
}
.login-mascot {
  object-fit: cover;
  object-position: 25% center;
  mix-blend-mode: multiply;
  mask-image: none;
  filter: none;
}
.cloud-feedback {
  position: fixed;
  bottom: 18px;
  right: max(18px, calc((100vw - 1144px)/2));
  width: min(560px, calc(100vw - 36px));
  z-index: 30;
}
#cloud-status {
  position: static;
  margin: 0;
  max-width: none;
  padding-right: 48px;
}
.cloud-feedback > button {
  position: absolute;
  right: 5px;
  top: 5px;
  background: transparent;
  border: 0;
  color: #fffdf7;
  box-shadow: none;
  font-size: 22px;
  width: 40px;
  height: 40px;
  padding: 0;
}
.cloud-feedback:has(.error) > button {
  color: #8a2b14;
}
@media (max-width: 600px) {
  .login-mascot {
    width: 45%;
    height: 80%;
    object-position: 28% center;
  }
  .cloud-feedback {
    bottom: 12px;
  }
}
input,
select,
textarea {
  font-weight: 400;
}
.login-mascot {
  object-fit: contain;
  object-position: bottom right;
  mix-blend-mode: normal;
  mask-image: none;
  right: 18px;
  bottom: 20px;
  width: 58%;
  height: 49%;
  filter: drop-shadow(5px 8px 0 #5c3d1a14);
}
@media (max-width: 600px) {
  .login-mascot {
    width: 47%;
    height: 69%;
    right: 8px;
    bottom: 12px;
    object-position: bottom right;
  }
}
@media (max-width: 600px) {
  .login-story { min-height: 300px; }
  .login-story h1 { font-size: 48px; }
  .login-mascot { width: 43%; height: 55%; }
}

/* Solid surfaces: orange means active work; neutral surfaces mean saved work. */
:root { --ink:#252522; --cream:#f1efe9; --paper:#fffefa; --line:#cdcac2; --muted:#5d5d56; }
body { background:var(--cream); }
button { background:var(--paper); border-color:var(--line); box-shadow:0 2px 0 #25252214; }
button.primary, button.primary:hover:not(:disabled) { background:#ff641f; color:#252522; border-color:#a53809; box-shadow:3px 3px 0 #252522; }
.cloud-intro, .login-story { background:#252522; color:#fffefa; box-shadow:5px 5px 0 #cfccc4; }
.cloud-intro:after, .login-story:before, .login-story:after { display:none; }
.cloud-intro h1 span, .login-story h1 span { color:#ff7a36; }
.cloud-intro .eyebrow, .login-story .eyebrow { color:#e6e3db; }
.cloud-card, .login-form, .cloud-material, .cloud-time { background:var(--paper); border-color:var(--line); box-shadow:3px 3px 0 #25252212; }
.preview-note, .cloud-subtle { background:#e7e4dc; color:var(--ink); }
.portal-label { border:1px solid currentColor; padding:5px 16px; font-weight:700; }
.record-state { display:inline-flex; align-items:center; padding:5px 10px; border:1px solid currentColor; font-size:12px; font-weight:700; border-radius:3px; }
.record-active { border-left:5px solid #ff641f; }
.record-active>.record-state { background:#ff641f; border-color:#a53809; color:#252522; }
.record-permanent { --orange:#363632; --teal:#363632; --blue:#363632; border-color:#bbb9b1; border-left:5px solid #55554e; background:#f8f7f2; box-shadow:3px 3px 0 #25252214; }
.record-permanent .record-state { background:#e6e5de; color:#33332f; border-color:#bbb9b1; }
.record-permanent button, .record-permanent button.primary { background:#e9e8e1; color:#252522; border-color:#9f9f96; box-shadow:2px 2px 0 #25252220; }
.saved-record-note { padding:16px 20px; background:#e7e6de; border-left:3px solid #55554e; color:#41413b; font-size:14px; }
.cloud-material { grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid var(--line); padding:18px; gap:14px; margin:18px 0; }
.cloud-material .material-description { grid-column:1/-1; }
.cloud-material select { width:100%; min-width:0; }
.material-line-total { display:grid; align-content:center; gap:4px; padding:12px; background:#eceae3; }
.material-line-total strong { font-size:25px; }
.material-line-total small { color:var(--muted); }
.material-saved { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; border-bottom:1px solid var(--line); padding:18px 0; }
.material-saved-meta { display:grid; gap:4px; flex-basis:100%; color:var(--muted); font-size:13px; }
.weekly-pay { border-left:5px solid #55554e; }
.pay-total { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:20px; background:#e7e6de; }
.pay-total strong { font-size:32px; white-space:nowrap; }
.reimbursement-list { list-style:none; padding:0; margin:0; }
.reimbursement-list li { display:flex; justify-content:space-between; gap:18px; padding:16px 0; border-bottom:1px solid var(--line); }
.reimbursement-list small { display:block; color:var(--muted); }
.home-seal { display:grid; place-items:center; flex-shrink:0; border:2px solid #d4d3ca; width:142px; height:142px; border-radius:50%; font-size:48px; }
.home-seal small { font-size:10px; letter-spacing:1px; }
:root[data-ui="home"], :root[data-record-state="permanent"] { --orange:#393934; --teal:#393934; --blue:#393934; }
:root[data-ui="home"] .brand a span, :root[data-record-state="permanent"] .brand a span { color:var(--ink); }
:root[data-ui="home"] .login-mascot, :root[data-record-state="permanent"] .login-mascot { filter:grayscale(1); }
:root[data-ui="home"] .login-stamp { background:#e7e6de; color:#252522; border-color:#252522; box-shadow:3px 3px 0 #252522; }
:root[data-ui="home"] button.primary, :root[data-ui="home"] button.primary:hover:not(:disabled) { background:#33332f; color:#fffefa; border-color:#33332f; box-shadow:3px 3px 0 #b4b4ab; }
:root[data-ui="home"] button:hover:not(:disabled) { background:#e7e6de; border-color:#55554e; box-shadow:0 3px 0 #25252214; }
:root[data-ui="home"] .cloud-intro h1 span, :root[data-ui="home"] .login-story h1 span { color:#d8d7ce; }
:root[data-ui="home"] :is(input,select,textarea):focus { border-color:#55554e; box-shadow:0 0 0 3px #25252222; }
:root[data-ui="home"] :is(button,a,summary,input,select,textarea):focus-visible { outline-color:#55554e; }
:root[data-ui="home"] .cloud-history th { background:#e7e6de; color:#252522; }
:root[data-ui="home"] .cloud-history td, :root[data-ui="home"] .cloud-day { background:#fffefa; }
:root[data-ui="home"] .cloud-day button { background:#e7e6de; color:#252522; border-color:#bbb9b1; }
:root[data-ui="home"] #cloud-status.error { background:#33332f; }
:root[data-record-state="permanent"] .cloud-intro h1 span { color:#d8d7ce; }
@media(max-width:700px) { .cloud-material { grid-template-columns:repeat(2,minmax(0,1fr)); padding:14px; } .material-line-total { grid-column:1/-1; } .home-seal { display:none; } .pay-total { padding:14px; gap:10px; } .pay-total strong { font-size:27px; } }
@media(max-width:400px) { .cloud-material { grid-template-columns:1fr; } }
:root[data-ui="home"] .portal-label, :root[data-record-state="permanent"] .portal-label { color:#393934; border-color:#77776d; }
:root[data-ui="home"] .cloud-inline { background:#f8f7f2; }
:root[data-record-state="permanent"] .record-permanent :is(input,select,textarea):focus { border-color:#55554e; box-shadow:0 0 0 3px #25252222; }
:root[data-record-state="permanent"] :is(button,a,summary,input,select,textarea):focus-visible { outline-color:#55554e; }
.cloud-time > *, .cloud-material > * { min-width:0; }
.cloud-time :is(input,select), .cloud-material :is(input,select) { width:100%; max-width:100%; }
@media(max-width:700px) { .cloud-time { grid-template-columns:minmax(0,1fr); } .cloud-time label { display:grid; gap:6px; } .cloud-time input { min-height:44px; font-size:14px; } }
:root[data-ui="home"] .cloud-photo, .record-permanent .cloud-photo { border-color:#bdbcb4; box-shadow:3px 3px 0 #bdbcb4,6px 6px 0 #e2e0d8; }
.login-stamp { background:#ff641f; color:#252522; }
:root[data-ui="home"] .login-form > .eyebrow { color:#5d5d56; }
