:root {
  color-scheme: light;
  --paper: #f6f4ee;
  --surface: #fffdf9;
  --ink: #171613;
  --muted: #625e56;
  --line: #dedbd3;
  --accent: #96432e;
  --accent-soft: #f3e5df;
  --focus: #805528;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  min-height: 42px;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  border-radius: 7px;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  border: 1px solid var(--line);
  padding: 9px 11px;
  background: var(--surface);
  color: var(--ink);
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}
input:disabled,
select:disabled {
  background: #eae6df;
}
input[type='range'] {
  padding: 0;
  accent-color: var(--accent);
}
input[type='color'] {
  width: 60px;
  padding: 4px;
}
input[type='checkbox'] {
  width: 17px;
  min-height: 17px;
  accent-color: var(--accent);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
::selection {
  background: #e7c7b3;
  color: #28251f;
}
* {
  scrollbar-color: #b7ad9f var(--paper);
  scrollbar-width: thin;
}
input,
textarea {
  caret-color: var(--accent);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 28px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  text-wrap: balance;
}
h2 {
  font-size: 19px;
  margin-bottom: 5px;
}
h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
p {
  max-width: 72ch;
}
label {
  display: grid;
  gap: 7px;
  font-weight: 500;
}
small,
.hint {
  font-size: 12px;
  color: var(--muted);
}
.muted,
.page-heading p,
.section-heading p {
  color: var(--muted);
}
.primary,
.secondary,
.quiet {
  border: 1px solid var(--line);
  padding: 9px 16px;
  font-weight: 600;
}
.primary {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.primary:hover {
  background: #484036;
}
.secondary {
  background: var(--surface);
  color: var(--ink);
}
.secondary:hover,
.quiet:hover {
  background: #e9e3d9;
}
.quiet {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
.error {
  color: #a13025;
  white-space: pre-wrap;
  margin: 12px 0;
}
.tag {
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 34px;
}
.page-heading p {
  margin-bottom: 0;
}
.form-section {
  border-top: 1px solid var(--line);
  padding: 25px 0 30px;
}
.section-heading {
  margin-bottom: 22px;
}
.section-heading p {
  font-size: 13px;
  margin: 5px 0 0;
}
.fields {
  display: grid;
  gap: 18px;
}
.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.reference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 22px 0;
}
.upload {
  background: var(--surface);
  border: 1px dashed #b5ac9e;
  padding: 18px;
  gap: 9px;
  min-height: 136px;
}
.upload span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.upload input {
  padding: 0;
  border: 0;
  background: transparent;
  min-height: 30px;
  font-size: 12px;
}
.upload input::file-selector-button {
  background: #e9e3da;
  border: 0;
  padding: 7px 12px;
  border-radius: 4px;
  margin-right: 8px;
  color: var(--ink);
}
.reference-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.reference-preview figure {
  margin: 0;
  position: relative;
  width: 112px;
}
.reference-preview img {
  width: 112px;
  height: 104px;
  object-fit: contain;
  background: var(--surface);
}
.reference-preview button {
  font-size: 12px;
  padding: 2px;
  min-height: 28px;
  border: 0;
  background: transparent;
  color: var(--accent);
}
.compact {
  font-size: 12px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.compact select {
  width: auto;
  min-height: 35px;
  padding: 4px 8px;
}
.reference-preview figcaption {
  font-size: 11px;
  color: var(--muted);
}
details summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 0;
  margin-bottom: 14px;
}
summary span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 12px;
}
.settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 24px;
}
.setting-group {
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}
.setting-group.wide {
  grid-column: 1/-1;
}
.control-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.control-row > * {
  min-width: 0;
}
.control-row input[type='range'] {
  flex: 1;
}
.control-row output {
  min-width: 55px;
  text-align: right;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.control-row label {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.color-value {
  flex: 1;
}
.color-preset {
  max-width: 160px;
}
.submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.submit-bar p {
  font-size: 12px;
  color: var(--muted);
  max-width: 35ch;
  margin: 0;
}
.submit-bar > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.space-marker {
  display: block;
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 18px 0;
  line-height: 0;
}
.space-marker img {
  max-width: 100%;
  max-height: 480px;
  display: block;
}
.space-marker svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}
.space-marker rect {
  fill: #c06b3c33;
  stroke: #96432e;
  stroke-width: 0.6;
  vector-effect: non-scaling-stroke;
}
.region-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  padding: 0;
  margin: 14px 0;
}
.region-fields legend {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.region-fields label {
  font-size: 12px;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 25px 0;
}
.image-grid figure {
  margin: 0;
  min-width: 0;
}
.image-grid img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #eae6dd;
  cursor: zoom-in;
}
.image-grid figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.status-message {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.library-item {
  margin: 0;
}
.library-item img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #eae6dd;
}
.library-item figcaption {
  padding-top: 10px;
  overflow-wrap: anywhere;
}
.library-item button {
  margin-top: 8px;
}
.empty {
  padding: 35px 0;
  color: var(--muted);
}
.empty p {
  font-size: 12px;
}
.facts {
  font-size: 13px;
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.pair-row {
  display: flex;
  align-items: end;
  gap: 14px;
  margin: 16px 0;
}
.pair-row label {
  min-width: 140px;
}
.pair-row button {
  height: 44px;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--surface);
}
.login-intro {
  background: #e9e3d9;
  padding: clamp(40px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-intro h1 {
  font-size: 40px;
  margin-top: 65px;
  line-height: 1.5;
}
.login-intro p {
  color: #625746;
  line-height: 2;
}
.login-rule {
  width: 55px;
  border-top: 2px solid var(--accent);
  margin: 36px 0;
}
.login-form {
  align-self: center;
  width: min(360px, calc(100% - 48px));
  margin: 40px auto;
}
.login-form h2 {
  font-size: 26px;
}
.login-form label {
  margin: 20px 0;
}
.login-form .primary {
  width: 100%;
  margin-top: 10px;
}
#notice {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--surface);
  padding: 12px 20px;
  border-radius: 7px;
  z-index: 20;
  max-width: calc(100% - 32px);
  box-shadow: 0 8px 24px #28251f22;
}
#notice:empty {
  display: none;
}
dialog {
  border: 0;
  padding: 18px;
  background: var(--surface);
  max-width: 95vw;
  max-height: 95vh;
}
dialog::backdrop {
  background: #17140fd9;
}
dialog img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  margin-top: 12px;
}
dialog button {
  display: block;
  margin-left: auto;
}
.version-link {
  display: block;
  margin-top: 10px;
}
.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* Shared Visual composition: centered brand, section navigation, full-width work pages. */
.topbar {
  height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand strong {
  font:
    500 24px/1.1 Georgia,
    serif;
}
.brand small {
  display: block;
  font-size: 12px;
  margin-top: 3px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.module-name {
  justify-self: start;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.account-menu {
  position: relative;
  justify-self: end;
}
.account-menu summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 13px;
}
.account-menu summary::-webkit-details-marker {
  display: none;
}
.account-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eae5d9;
}
.account-menu > div {
  position: absolute;
  right: 0;
  top: 48px;
  min-width: 130px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 5;
}
.flow-section-nav {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.flow-section-nav > div {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 9px 0;
}
.flow-section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.flow-section-nav a:hover {
  background: #eeebe4;
}
.flow-section-nav a[aria-current='page'] {
  color: white;
  background: var(--ink);
}
.workspace {
  min-height: calc(100dvh - 121px);
}
main {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 32px 0 64px;
}
h1 {
  font-size: 28px;
}
.page-heading {
  align-items: center;
  margin-bottom: 24px;
}
.page-heading h1 {
  margin-bottom: 6px;
}
a.primary,
a.secondary,
a.quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  text-decoration: none;
  border-radius: 8px;
}
.home-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.home-panels article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 280px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.home-panels h1 {
  margin-top: 20px;
  font-size: 34px;
}
.home-panels p {
  max-width: 34ch;
  color: var(--muted);
}
.home-panels .actions {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 16px;
}
.recent-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 36px 0 20px;
}
.task-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.task-search {
  width: min(360px, 100%);
}
.filter-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.filter-tabs button {
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}
.filter-tabs button[aria-pressed='true'] {
  background: var(--ink);
  color: white;
}
.task-grid,
.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.task-card,
.library-item {
  min-width: 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.task-cover,
.material-preview {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3/4;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #ebe8e0;
  color: var(--muted);
}
.task-cover img,
.material-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  min-height: 0;
}
.task-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
}
.task-card time {
  color: var(--muted);
  font-size: 12px;
}
.task-card h2 {
  margin: 12px 0 6px;
}
.task-card h2 button {
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  min-height: 30px;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.task-card > p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.task-card > .secondary {
  width: 100%;
}
.library-item img {
  height: 100%;
}
.library-item figcaption {
  font-size: 14px;
}
.library-item figcaption p {
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0;
}
.empty {
  grid-column: 1/-1;
  padding: 48px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 14px;
}
.empty h2 {
  font-size: 20px;
  color: var(--ink);
}
.empty p {
  margin: 10px auto 20px;
}
.studio-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 34px;
}
.studio-card > .form-section:first-child {
  border-top: 0;
  padding-top: 0;
}
.form-section {
  padding: 22px 0;
}
.form-section:last-child {
  padding-bottom: 0;
}
.form-section details:not([open]) summary {
  margin-bottom: 0;
}
#capability-note {
  margin: 14px 0 0;
}
#save-defaults {
  margin-top: 16px;
}
.reference-grid {
  gap: 18px;
}
.reference-preview img {
  border-radius: 8px;
}
.upload {
  border-radius: 10px;
}
#more-jobs {
  display: block;
  margin: 28px auto 0;
}
.back-link {
  display: inline-block;
  margin-bottom: 20px;
}
.result-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.result-toolbar button[aria-pressed='true'] {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}
.result-stage {
  grid-template-columns: 1fr;
  margin: 16px 0;
}
.result-stage[data-view='result'] > figure:first-child,
.result-stage[data-view='original'] > figure:last-child {
  display: none;
}
.result-stage[data-view='compare'] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.result-stage img {
  height: min(62vh, 650px);
  border-radius: 12px;
}
.result-rail {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 24px;
}
.result-rail button {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 6px;
  font-size: 12px;
  color: var(--muted);
}
.result-rail button[aria-pressed='true'] {
  border-color: var(--ink);
  color: var(--ink);
}
.result-rail img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
.revision-panel {
  padding: 16px 0;
}
.revision-panel .form-section {
  border: 0;
  padding-top: 0;
}
.reference-picker {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  margin-top: 12px;
}
.picker-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.picker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-height: 420px;
  overflow-y: auto;
}
.picker-grid button {
  min-width: 0;
  display: grid;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px;
  text-align: left;
}
.picker-grid img {
  width: 100%;
  height: 130px;
  object-fit: contain;
}
.picker-grid span {
  overflow-wrap: anywhere;
  font-size: 12px;
}
.login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--paper);
  padding: 40px 20px;
}
.login-intro {
  background: transparent;
  text-align: center;
  padding: 0;
}
.login-intro h1,
.login-intro p,
.login-rule {
  display: none;
}
.wordmark {
  font:
    500 32px Georgia,
    serif;
}
.login-form {
  margin: 24px auto 0;
  padding: 28px;
  width: min(400px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.login-form h2 {
  font-size: 22px;
}
@media (max-width: 900px) {
  .task-grid,
  .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-panels article {
    padding: 26px;
  }
  .settings {
    column-gap: 18px;
  }
}
@media (max-width: 600px) {
  .topbar {
    padding: 0 14px;
    gap: 8px;
  }
  .brand strong {
    font-size: 21px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .brand small {
    font-size: 11px;
  }
  .account-avatar {
    display: none;
  }
  main {
    width: calc(100% - 32px);
    padding-top: 24px;
  }
  .home-panels,
  .task-grid,
  .library-grid,
  .fields.two,
  .fields.three,
  .reference-grid,
  .settings {
    grid-template-columns: 1fr;
  }
  .home-panels article {
    min-height: 225px;
    padding: 26px;
  }
  .home-panels h1 {
    margin-top: 0;
    font-size: 28px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading .secondary {
    padding: 8px 10px;
    flex-shrink: 0;
  }
  .studio-card {
    padding: 20px 16px;
    border-radius: 14px;
  }
  .submit-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .submit-bar > div,
  #generate {
    width: 100%;
  }
  .submit-bar p {
    max-width: none;
  }
  .task-search {
    width: 100%;
  }
  .filter-tabs button {
    padding: 8px 12px;
  }
  summary span {
    display: block;
    margin: 3px 0 0;
  }
  .region-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .result-stage[data-view='compare'] {
    grid-template-columns: 1fr;
  }
  .result-stage img {
    height: 380px;
  }
  .pair-row {
    align-items: stretch;
    flex-direction: column;
  }
  .recent-heading {
    gap: 12px;
  }
  .recent-heading a {
    font-size: 12px;
  }
}

.archive-action {
  font-size: 12px;
}
.task-card > .archive-action {
  width: 100%;
  margin-top: 8px;
}
.task-lifecycle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.task-lifecycle p {
  margin: 0;
}

.task-heading-actions,
.management-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.management-bar {
  padding: 12px 16px;
  margin-bottom: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.management-bar small {
  flex-basis: 100%;
}
.task-select {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  min-height: 32px;
  font-size: 13px;
}
@media (max-width: 600px) {
  .task-heading-actions {
    gap: 6px;
  }
  .task-heading-actions button {
    padding: 8px 10px;
  }
}

.result-specification {
  display: block;
  margin-top: 4px;
}

.account-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
}
.bean-shortcut {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
  padding: 12px 0;
}
.bean-mobile-label {
  display: none;
}
.account-menu > div > a {
  display: block;
}
.bean-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 32px 0 22px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bean-summary dt {
  color: var(--muted);
  font-size: 14px;
}
.bean-summary dd {
  margin: 12px 0 0;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}
.bean-summary small {
  font-size: 13px;
}
.bean-record {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.bean-record-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.bean-record-heading > div:last-child {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.bean-task-link {
  padding: 0;
  text-align: left;
  font-size: 17px;
}
.bean-reconcile {
  display: grid;
  gap: 14px;
  max-width: 580px;
  margin-top: 16px;
}
.bean-pagination {
  margin-top: 24px;
}
#bean-estimate {
  font-weight: 600;
}
@media (max-width: 600px) {
  .account-actions {
    gap: 8px;
  }
  .bean-desktop-label {
    display: none;
  }
  .bean-mobile-label {
    display: inline;
  }
  .bean-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .bean-summary dd {
    font-size: 25px;
  }
  .bean-record-heading {
    flex-direction: column;
    gap: 8px;
  }
  .bean-pagination {
    gap: 8px;
  }
}
