:root {
  --paper: #f5f3ed;
  --card: #fffefb;
  --ink: #293e35;
  --muted: #68736b;
  --green: #3d6752;
  --green-soft: #e5ece1;
  --line: #d9ded3;
  --purple: #67547c;
  --purple-soft: #eae5f0;
  --blue: #355c75;
  --blue-soft: #dfeaf1;
  --yellow: #796126;
  --yellow-soft: #f4ebd1;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  font-size: 15px;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  background: var(--green-soft);
  color: var(--green);
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #7299af;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-weight: 600;
}
h1 {
  font-size: 34px;
  line-height: 1.3;
}
h2 {
  font-size: 25px;
  line-height: 1.4;
}
h3 {
  font-size: 16px;
}
img {
  display: block;
  max-width: 100%;
}
small,
.quiet,
.hint {
  color: var(--muted);
}
.hint {
  font-size: 12px;
}
.primary {
  background: var(--green);
  color: #fff;
}
.primary:hover {
  background: #315640;
}
.wide {
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Songti SC", serif;
  font-size: 25px;
  font-weight: 700;
  white-space: nowrap;
}
.brand img {
  flex: none;
}
.login-page {
  min-height: 100svh;
}
.login-page > .brand {
  padding: 32px 5vw;
}
.login-main {
  max-width: 1050px;
  margin: 0 auto;
  padding: 30px 30px 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  min-height: 70vh;
}
.login-art {
  min-height: 480px;
  display: grid;
  place-content: center;
  background: #e5ece1;
  border-radius: 170px 170px 18px 18px;
  position: relative;
}
.window {
  width: 225px;
  height: 290px;
  background: #eaf0f2;
  border: 12px solid #fffefb;
  border-radius: 110px 110px 2px 2px;
  overflow: hidden;
  position: relative;
  box-shadow: 12px 13px 0 #cbd6c7;
}
.window-sky {
  position: absolute;
  inset: 0;
  background: #d9e7eb;
}
.window-sky:after {
  content: "";
  position: absolute;
  right: 35px;
  top: 44px;
  width: 43px;
  height: 43px;
  background: #eaca87;
  border-radius: 50%;
}
.window-hill {
  position: absolute;
  width: 310px;
  height: 200px;
  border-radius: 50%;
  background: #9db7a0;
  top: 150px;
  left: -50px;
  transform: rotate(-18deg);
}
.window-hill:after {
  content: "";
  position: absolute;
  width: 270px;
  height: 160px;
  border-radius: 50%;
  background: #557b65;
  top: 65px;
  left: 80px;
}
.window-frame:before,
.window-frame:after {
  content: "";
  position: absolute;
  background: #fffefb;
}
.window-frame:before {
  width: 8px;
  height: 100%;
  left: 50%;
}
.window-frame:after {
  height: 8px;
  width: 100%;
  top: 55%;
}
.art-caption {
  font-family: "Songti SC", serif;
  font-size: 16px;
  margin-top: 45px;
  text-align: center;
  color: #43614b;
}
.login-copy .quiet {
  font-size: 13px;
  margin-bottom: 12px;
}
.login-copy h1 {
  font-size: 42px;
}
.intro {
  color: var(--muted);
  margin: 18px 0 30px;
  line-height: 1.95;
}
.login-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
.login-card h2 {
  font-size: 21px;
}
.login-card > p {
  margin: 10px 0 20px;
  font-size: 13px;
}
.login-card .hint {
  text-align: center;
  margin: 12px 0 18px;
}
.fingerprint {
  font-size: 23px;
  vertical-align: middle;
  margin-right: 8px;
}
.help {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 12px;
  color: var(--muted);
}
summary {
  cursor: pointer;
  min-height: 32px;
}
.help p {
  margin: 8px 0;
}
.login-footer {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 25px;
}
.login-footer i {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: #9aa79b;
}
.error {
  color: #9f392e;
  background: #f9eeea;
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.app-shell {
  max-width: 1140px;
  margin: auto;
  padding: 0 40px 110px;
}
.app-header {
  height: 90px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.header-place {
  font-size: 12px;
  color: var(--muted);
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.account-button {
  margin-left: auto;
  font-size: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 44px;
  padding: 0;
  background: transparent;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 38px 0 24px;
}
.page-heading .quiet {
  font-size: 12px;
  margin-bottom: 8px;
}
.page-heading p:not(.quiet) {
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
}
.small-label {
  font-size: 12px;
  white-space: nowrap;
  color: var(--muted);
}
.bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: #fffefbf5;
  border: 1px solid #ced7cb;
  border-radius: 22px;
  box-shadow: 0 8px 35px #1e382714;
  padding: 6px;
  z-index: 20;
  width: 390px;
  max-width: calc(100% - 32px);
}
.bottom-nav a {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  min-height: 52px;
  border-radius: 16px;
  color: var(--muted);
}
.bottom-nav a[aria-current] {
  background: var(--green);
  color: white;
}
.bottom-nav svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.section-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 24px 0 18px;
}
.segmented {
  display: flex;
  gap: 3px;
  background: #e9e9e1;
  border-radius: 12px;
  padding: 4px;
}
.segmented button {
  background: transparent;
  min-height: 36px;
  font-size: 13px;
  padding: 6px 15px;
  border-radius: 9px;
  white-space: nowrap;
  color: var(--muted);
}
.segmented button[aria-pressed="true"] {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 3px #2637270c;
}
.floor-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.floor-tabs button {
  min-width: 49px;
  background: transparent;
  border: 1px solid transparent;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 13px;
}
.floor-tabs button[aria-pressed="true"] {
  border-color: #b9c9b6;
  background: var(--green-soft);
  color: var(--green);
}
.version-select {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 20px;
}
.version-select select {
  max-width: 100%;
  width: 310px;
  min-height: 44px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px;
  color: var(--ink);
  font-size: 12px;
}
.twin-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 22px;
  align-items: start;
}
.space-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #d8dfd4;
  aspect-ratio: 1.2;
}
.space-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.space-hero:after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, #15271ece);
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 1;
  color: white;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.hero-copy h2 {
  font-size: 28px;
}
.hero-copy p {
  color: #eef3e9;
  font-size: 12px;
  margin-top: 5px;
}
.hero-copy button {
  background: #fffefb;
  color: var(--green);
  white-space: nowrap;
  font-size: 12px;
  padding: 10px 14px;
}
.hero-badge {
  position: absolute;
  z-index: 1;
  left: 18px;
  top: 18px;
  background: #fffefbec;
  color: var(--green);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-badge:before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.space-list {
  display: grid;
  gap: 10px;
}
.space-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  text-align: left;
  width: 100%;
  color: var(--ink);
  min-height: 90px;
}
.space-row img {
  width: 84px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  background: #d8dfd4;
}
.space-row span {
  display: block;
}
.space-row small {
  display: block;
  font-size: 11px;
}
.space-row b {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.space-row .arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 20px;
}
.no-image {
  width: 84px;
  height: 68px;
  display: grid !important;
  place-content: center;
  background: var(--purple-soft);
  border-radius: 8px;
  color: var(--purple);
  font-size: 22px;
}
.scan-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background: var(--blue-soft);
  border-radius: 18px;
  margin-top: 24px;
}
.scan-entry h3 {
  color: var(--blue);
  font-size: 16px;
}
.scan-entry p {
  font-size: 12px;
  color: var(--blue);
  margin-top: 6px;
}
.scan-entry button {
  color: var(--blue);
  background: #fffefa;
  white-space: nowrap;
  font-size: 12px;
}
.section-note {
  font-size: 11px;
  color: var(--muted);
  margin: 15px 0;
}
.search-field {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 12px 16px;
  color: var(--ink);
  font-size: 14px;
}
.manage-tabs {
  display: flex;
  gap: 22px;
  overflow: auto;
  border-bottom: 1px solid var(--line);
  margin: 24px 0 22px;
}
.manage-tabs button {
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 1px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.manage-tabs button[aria-pressed="true"] {
  color: var(--green);
  border-bottom-color: var(--green);
  font-weight: 600;
}
.manage-tabs small {
  margin-left: 7px;
  font-size: 11px;
}
.manage-summary {
  display: flex;
  gap: 20px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 12px;
}
.manage-summary strong {
  font-size: 23px;
  color: var(--green);
  font-weight: 500;
  margin-right: 5px;
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 8px;
}
.list-heading h2 {
  font-size: 20px;
}
.text-button {
  font-size: 12px;
  background: transparent;
  padding: 6px 10px;
  color: var(--green);
}
.task-list {
  border-top: 1px solid var(--line);
}
.task-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  text-align: left;
  color: var(--ink);
}
.task-dot {
  width: 23px;
  height: 23px;
  border: 1px solid #91a18e;
  border-radius: 50%;
  display: grid;
  place-content: center;
  flex: none;
  margin-top: 2px;
  color: white;
  font-size: 13px;
}
.task-dot.done {
  background: var(--green);
  border-color: var(--green);
}
.task-main {
  flex: 1;
  min-width: 0;
}
.task-main b {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  display: block;
}
.task-main p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.task-meta {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 9px;
  font-size: 11px;
  color: var(--muted);
}
.tag {
  border-radius: 5px;
  padding: 2px 7px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 10px;
}
.tag.purple {
  background: var(--purple-soft);
  color: var(--purple);
}
.tag.yellow {
  background: var(--yellow-soft);
  color: var(--yellow);
}
.task-row > .arrow {
  margin: 2px 0 0 5px;
  color: #879487;
  font-size: 22px;
}
.inventory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.inventory-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.inventory-card h3 {
  font-size: 14px;
  margin: 9px 0 6px;
}
.inventory-card p {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.inventory-card .quantity {
  font-size: 12px;
  margin-top: 12px;
  color: var(--ink);
}
.document-row {
  display: flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.document-icon {
  width: 43px;
  height: 48px;
  border: 1px solid #cec2de;
  border-radius: 6px;
  background: var(--purple-soft);
  color: var(--purple);
  display: grid;
  place-content: center;
  flex: none;
  font-size: 12px;
}
.document-row b {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.document-row small {
  font-size: 11px;
}
.loading,
.empty {
  padding: 50px 18px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.empty h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 22px;
}
.empty button {
  margin-top: 16px;
}
.sheet {
  border: 1px solid var(--line);
  border-radius: 22px;
  max-width: 560px;
  width: calc(100% - 32px);
  padding: 0;
  background: var(--card);
  color: var(--ink);
  max-height: 88svh;
  box-shadow: 0 25px 100px #10251b38;
}
.sheet::backdrop,
.viewer-dialog::backdrop {
  background: #1d302b77;
  backdrop-filter: blur(4px);
}
.sheet-head {
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.sheet-head h2 {
  font-size: 22px;
}
.sheet-head button {
  background: transparent;
  font-size: 23px;
  min-width: 44px;
  padding: 0;
}
.sheet-body {
  padding: 24px;
}
.sheet-body > p {
  font-size: 13px;
  margin-bottom: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sheet-body label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.sheet-body input:not([type="checkbox"]),
.sheet-body textarea {
  display: block;
  width: 100%;
  border: 1px solid #b3c0ae;
  background: #fffefb;
  border-radius: 10px;
  color: var(--ink);
  padding: 12px;
  font-size: 16px;
  margin-top: 6px;
}
.sheet-body textarea {
  min-height: 110px;
  resize: vertical;
}
.sheet-body input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
  vertical-align: middle;
  margin-right: 9px;
}
.sheet-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}
.sheet-images {
  display: flex;
  gap: 10px;
  overflow: auto;
  margin-bottom: 20px;
}
.sheet-images img {
  height: 90px;
  max-width: 130px;
  object-fit: cover;
  border-radius: 8px;
}
.sheet-body .error {
  margin-top: 14px;
}
.viewer-dialog {
  padding: 0;
  border: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  background: #18271e;
  color: white;
  overflow: hidden;
}
.viewer-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: calc(14px + env(safe-area-inset-top)) 18px 14px;
  z-index: 2;
  background: linear-gradient(#14221cc9, transparent);
  pointer-events: none;
}
.viewer-header > * {
  pointer-events: auto;
}
.viewer-header h2 {
  font-size: 18px;
  text-align: center;
}
.glass-button {
  background: #20352bd9;
  border: 1px solid #ffffff3b;
  color: white;
  border-radius: 12px;
  font-size: 13px;
  min-width: 64px;
}
.viewer-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 15px 20px calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, #14221cdd);
  pointer-events: none;
  text-align: center;
}
.viewer-bottom > * {
  pointer-events: auto;
}
#viewport {
  position: absolute;
  inset: 0;
  touch-action: none;
  outline: none;
}
#viewport canvas {
  display: block;
  width: 100%;
  height: 100%;
}
#scene-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow: auto;
  margin: 12px 0;
}
#scene-nav button {
  color: white;
  background: #20352bcf;
  border: 1px solid #ffffff40;
  white-space: nowrap;
  font-size: 12px;
}
#scene-nav button[aria-pressed="true"] {
  background: #fffefb;
  color: var(--green);
}
.viewer-hint {
  font-size: 11px;
  color: #cedace;
}
#viewer-status {
  font-size: 12px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 108px;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  border-radius: 12px;
  padding: 12px 20px;
  z-index: 50;
  font-size: 13px;
  max-width: 90%;
  width: max-content;
}
.skip {
  position: fixed;
  top: -100px;
}
.skip:focus {
  top: 8px;
  left: 8px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.account-name {
  font-size: 24px !important;
  font-family: "Songti SC", serif;
}
.account-notes {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@media (min-width: 900px) {
  .manage-layout {
    max-width: 780px;
    margin: auto;
  }
  .bottom-nav {
    bottom: 24px;
  }
  .space-list {
    max-height: 540px;
    overflow-y: auto;
    padding-right: 3px;
  }
}
@media (max-width: 700px) {
  .app-shell {
    padding: 0 20px calc(110px + env(safe-area-inset-bottom));
  }
  .app-header {
    height: 73px;
  }
  .brand {
    font-size: 24px;
  }
  .header-place {
    font-size: 11px;
  }
  .page-heading {
    margin: 28px 0 20px;
  }
  .page-heading h1 {
    font-size: 32px;
  }
  .page-heading .small-label {
    font-size: 10px;
  }
  .page-heading p:not(.quiet) {
    font-size: 12px;
  }
  .bottom-nav {
    bottom: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
    gap: 10px;
    background: #fffefbf7;
  }
  .bottom-nav a {
    border-radius: 12px;
    min-height: 52px;
    font-size: 12px;
  }
  .bottom-nav svg {
    width: 23px;
  }
  .section-tools {
    margin-top: 20px;
    gap: 8px;
  }
  .segmented button {
    padding: 7px 11px;
    font-size: 12px;
  }
  .floor-tabs {
    gap: 0;
  }
  .floor-tabs button {
    min-width: 40px;
    padding: 7px 8px;
    font-size: 12px;
  }
  .twin-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .space-hero {
    aspect-ratio: 1.12;
    border-radius: 18px;
  }
  .hero-copy {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
  .hero-copy h2 {
    font-size: 26px;
  }
  .space-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .space-row {
    display: block;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    min-height: unset;
  }
  .space-row img,
  .space-row .no-image {
    width: 100%;
    height: 100px;
    border-radius: 0;
  }
  .space-row > span:not(.arrow):not(.no-image) {
    padding: 9px 11px 12px;
  }
  .space-row .arrow {
    position: absolute;
    bottom: 14px;
    right: 10px;
    font-size: 18px;
  }
  .space-row b {
    display: block;
    font-size: 12px;
    max-width: calc(100% - 12px);
  }
  .space-row small {
    display: block;
    font-size: 10px;
  }
  .scan-entry {
    padding: 18px;
    gap: 10px;
    margin-top: 18px;
  }
  .scan-entry h3 {
    font-size: 14px;
  }
  .scan-entry p {
    font-size: 11px;
    max-width: 190px;
  }
  .scan-entry button {
    font-size: 11px;
    padding: 9px 11px;
  }
  .version-select {
    margin-bottom: 16px;
  }
  .version-select select {
    flex: 1;
    min-width: 0;
  }
  .login-page > .brand {
    padding: 24px;
  }
  .login-main {
    padding: 8px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-height: auto;
    max-width: 480px;
  }
  .login-art {
    min-height: 180px;
    height: 180px;
    width: 100%;
    border-radius: 100px 100px 16px 16px;
  }
  .window {
    width: 116px;
    height: 143px;
    border-width: 7px;
    border-radius: 60px 60px 1px 1px;
    box-shadow: 7px 5px 0 #cbd6c7;
  }
  .window-sky:after {
    width: 25px;
    height: 25px;
    right: 19px;
    top: 20px;
  }
  .window-hill {
    top: 65px;
    width: 150px;
    height: 120px;
    left: -20px;
  }
  .window-hill:after {
    width: 150px;
    height: 100px;
    top: 40px;
    left: 25px;
  }
  .window-frame:before {
    width: 5px;
  }
  .window-frame:after {
    height: 5px;
  }
  .art-caption {
    display: none;
  }
  .login-copy {
    width: 100%;
  }
  .login-copy h1 {
    font-size: 34px;
  }
  .login-copy .quiet {
    font-size: 11px;
    margin-bottom: 9px;
  }
  .intro {
    font-size: 13px;
    margin: 12px 0 22px;
  }
  .login-card {
    padding: 22px;
    border-radius: 16px;
  }
  .login-footer {
    font-size: 11px;
    margin-top: 20px;
  }
  .inventory {
    grid-template-columns: 1fr;
  }
  .sheet {
    position: fixed;
    margin: auto 0 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    border-radius: 22px 22px 0 0;
    max-height: 92dvh;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .sheet-head {
    padding: 16px 20px;
  }
  .sheet-body {
    padding: 20px;
  }
  .sheet-footer {
    padding: 16px 20px;
  }
  .manage-tabs {
    gap: 20px;
  }
  .manage-tabs button {
    font-size: 14px;
  }
  .manage-summary {
    font-size: 11px;
    gap: 16px;
  }
  .task-row {
    padding: 19px 0;
    gap: 12px;
  }
  .task-main b {
    font-size: 14px;
  }
  .viewer-header {
    padding-left: 12px;
    padding-right: 12px;
  }
  .viewer-header h2 {
    font-size: 16px;
  }
  .viewer-bottom {
    padding-left: 12px;
    padding-right: 12px;
  }
  .small-label.sync {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition: background-color 0.15s ease;
  }
  dialog[open] {
    animation: appear 0.16s ease;
  }
  @keyframes appear {
    from {
      opacity: 0.3;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.invite-email {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0;
}
.invite-email input {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid #b3c0ae;
  border-radius: 10px;
  padding: 12px;
  margin-top: 6px;
  font-size: 16px;
  color: var(--ink);
  background: var(--card);
}
.sheet-head {
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 1;
}
.sheet-footer {
  position: sticky;
  bottom: 0;
  background: var(--card);
  z-index: 1;
}
@media (min-width: 900px) {
  .bottom-nav {
    top: 18px;
    bottom: auto;
    width: 360px;
    box-shadow: none;
  }
}

/* Keep labels available to assistive technology without repeating visible controls. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.login-copy > h1 { margin-bottom: 28px; }
.login-card .help { margin-top: 20px; }

.task-folder { width:24px; height:24px; flex:none; margin-top:2px; fill:none; stroke:var(--green, #3d6752); stroke-width:1.4; stroke-linejoin:round; }

.phone-photos-entry{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;margin:0 0 20px;border:1px solid var(--line,#d8d5cc);border-radius:14px;color:inherit;text-decoration:none;font-weight:600;background:var(--paper,#fffdf8)}
