:root {
  --ink: #1d2622;
  --muted: #66716b;
  --line: #dfe4de;
  --paper: #f7f8f4;
  --panel: #ffffff;
  --green: #2f6d55;
  --green-dark: #1f4e3c;
  --green-soft: #dcebe2;
  --shadow: 0 22px 60px rgba(29, 46, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: #e9ede7;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(47, 109, 85, 0.25);
  outline-offset: 2px;
}

.app-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% -10%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(145deg, #edf0eb, #e4e9e3);
}

.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 26px;
  border-bottom: 1px solid rgba(123, 139, 130, 0.2);
  background: rgba(248, 250, 247, 0.88);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 20;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green-dark);
  font-family: Georgia, "Songti SC", serif;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(31, 78, 60, 0.24);
}

.topbar-title {
  display: flex;
  flex-direction: column;
  min-width: 160px;
}

.topbar-title strong {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.eyebrow {
  color: #7b877f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.attention-path {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  color: #87918b;
}

.attention-path i {
  color: #c5ccc7;
  font-style: normal;
}

.attention-path span,
.attention-path button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 4px 8px;
}

.attention-path button {
  cursor: pointer;
}

.attention-path .current {
  color: var(--green-dark);
  background: var(--green-soft);
  font-weight: 800;
}

.flip-button,
.primary-button {
  border: 0;
  color: white;
  background: var(--green-dark);
  border-radius: 12px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(31, 78, 60, 0.18);
  transition: transform 160ms ease, background 160ms ease;
}

.flip-button:hover,
.primary-button:hover {
  transform: translateY(-1px);
  background: #173e2f;
}

.flip-icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 18px;
  vertical-align: -1px;
}

.workspace-stage {
  height: calc(100vh - 72px);
  padding: 18px;
  perspective: 2200px;
}

.workspace-card {
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 720ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.workspace-card.is-flipped {
  transform: rotateY(180deg);
}

.workspace-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(112, 129, 119, 0.2);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
  backface-visibility: hidden;
}

.workspace-back {
  transform: rotateY(180deg);
  display: grid;
  grid-template-rows: minmax(0, 3fr) minmax(190px, 1fr);
}

.whiteboard {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  touch-action: none;
  background-color: #f8f8f4;
  background-image: radial-gradient(#cfd6ce 1px, transparent 1px);
  background-size: 22px 22px;
}

.whiteboard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(48, 68, 57, 0.05);
}

.canvas-label {
  position: absolute;
  left: 28px;
  top: 22px;
  z-index: 2;
}

.canvas-label span {
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
  font-weight: 700;
}

.canvas-label p {
  margin: 4px 0 0;
  color: #88928c;
  font-size: 11px;
}

.canvas-toolbar {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(38, 54, 46, 0.14);
}

.canvas-toolbar button {
  height: 34px;
  min-width: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.canvas-toolbar button:hover,
.canvas-toolbar button.active {
  color: var(--green-dark);
  background: var(--green-soft);
}

.canvas-toolbar span {
  width: 1px;
  height: 22px;
  background: var(--line);
}

.canvas-status {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #68736c;
  background: rgba(255, 255, 255, 0.86);
  font-size: 11px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4c9a70;
  box-shadow: 0 0 0 4px rgba(76, 154, 112, 0.13);
}

.canvas-card {
  width: 250px;
  min-height: 142px;
  position: absolute;
  z-index: 4;
  padding: 15px 16px 13px;
  border: 1px solid rgba(90, 108, 97, 0.18);
  border-radius: 14px;
  cursor: grab;
  user-select: none;
  touch-action: none;
  box-shadow: 0 11px 26px rgba(40, 56, 47, 0.12);
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.canvas-card.dragging {
  z-index: 12;
  cursor: grabbing;
  transform: rotate(1deg) scale(1.02);
  box-shadow: 0 20px 44px rgba(40, 56, 47, 0.2);
}

.tone-sage {
  background: #dfece3;
}

.tone-cream {
  background: #fff8df;
}

.tone-lavender {
  background: #eee8f7;
}

.tone-blue {
  background: #e4eef3;
}

.card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #66726b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.canvas-card h2,
.workbench-card h3,
.kanban-card h3 {
  margin: 12px 0 6px;
  font-family: Georgia, "Songti SC", serif;
  line-height: 1.25;
}

.canvas-card h2 {
  font-size: 17px;
}

.canvas-card p,
.workbench-card p,
.kanban-card p {
  margin: 0;
  color: #5f6a64;
  font-size: 11px;
  line-height: 1.55;
}

.canvas-card footer {
  display: flex;
  gap: 7px;
  margin-top: 13px;
  opacity: 0;
  transition: opacity 150ms ease;
}

.canvas-card:hover footer,
.canvas-card:focus-within footer {
  opacity: 1;
}

.canvas-card footer button {
  border: 0;
  border-radius: 8px;
  padding: 5px 7px;
  color: #536058;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  font-size: 9px;
  font-weight: 750;
}

.canvas-card footer button.checked {
  color: white;
  background: var(--green);
}

.connector {
  height: 2px;
  position: absolute;
  z-index: 1;
  transform-origin: left center;
  background: #b7c2ba;
}

.connector::after {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  right: -1px;
  top: -3px;
  border-top: 2px solid #9fac9f;
  border-right: 2px solid #9fac9f;
  transform: rotate(45deg);
}

.connector-a {
  width: 245px;
  left: 275px;
  top: 270px;
  transform: rotate(-17deg);
}

.connector-b {
  width: 150px;
  left: 480px;
  top: 270px;
  transform: rotate(30deg);
}

.connector-c {
  width: 238px;
  left: 515px;
  top: 280px;
  transform: rotate(5deg);
}

.floating-add {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 7;
  border: 1px dashed #9eaaa2;
  border-radius: 12px;
  padding: 10px 13px;
  color: #5c6961;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.quick-add-card {
  width: min(360px, calc(100% - 40px));
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 20;
  transform: translate(-50%, -50%);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 26px 70px rgba(29, 42, 35, 0.24);
}

.quick-add-card input {
  width: 100%;
  margin: 10px 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8faf7;
}

.quick-add-card div {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.quick-add-card button {
  border: 0;
  border-radius: 9px;
  padding: 8px 11px;
  cursor: pointer;
}

.quick-add-card button[type="submit"] {
  color: white;
  background: var(--green-dark);
}

.workbench-main {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.workbench-column {
  min-width: 0;
  padding: 20px;
  overflow: hidden;
  background: #fafbf8;
}

.workbench-column > header {
  min-height: 82px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.column-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.column-title-line h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
}

.column-title-line b {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #5f6b64;
  background: #e7ebe7;
  font-size: 10px;
}

.workbench-column > header p {
  margin: 5px 0 0;
  color: #7b857f;
  font-size: 10px;
}

.ai-button {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #d8dcd8;
  border-radius: 10px;
  padding: 7px 8px;
  color: #4f5c54;
  background: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 750;
}

.ai-button span {
  color: #7c67a8;
}

.ai-button small {
  border-radius: 5px;
  padding: 2px 4px;
  color: #765d9e;
  background: #eee8f5;
  font-size: 7px;
}

.workbench-stack {
  height: calc(100% - 83px);
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 13px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.workbench-card,
.kanban-card {
  padding: 13px;
  border: 1px solid #e1e5df;
  border-radius: 12px;
  background: white;
  box-shadow: 0 5px 14px rgba(37, 52, 44, 0.055);
}

.workbench-card h3,
.kanban-card h3 {
  font-size: 13px;
}

.workbench-card footer,
.kanban-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  color: #849087;
  font-size: 8px;
}

.workbench-card footer button,
.kanban-card footer button {
  border: 0;
  border-radius: 7px;
  padding: 5px 7px;
  color: var(--green-dark);
  background: var(--green-soft);
  cursor: pointer;
  font-size: 8px;
  font-weight: 800;
}

.add-card-button {
  width: 100%;
  border: 1px dashed #cdd4ce;
  border-radius: 10px;
  padding: 9px;
  color: #7a867e;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
}

.storage-preview {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 2.2fr);
  align-items: center;
  gap: 24px;
  padding: 17px 22px;
  border-top: 1px solid #d9dfda;
  background:
    linear-gradient(90deg, rgba(223, 236, 227, 0.8), transparent 34%),
    #f4f7f2;
}

.storage-preview-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.storage-preview-heading h2 {
  margin: 3px 0 3px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
}

.storage-preview-heading p {
  margin: 0;
  color: #77827b;
  font-size: 9px;
}

.preview-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.preview-actions > button:first-child {
  padding: 8px 10px;
  border: 1px solid #d5ddd6;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  color: #5e6c62;
  font-size: 10px;
  cursor: pointer;
}

.primary-button.compact {
  padding: 9px 12px;
  font-size: 11px;
}

.preview-pools {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.preview-pools button {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dfe4df;
  border-radius: 11px;
  text-align: left;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.preview-pools span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.preview-pools strong {
  font-size: 10px;
}

.preview-pools small {
  overflow: hidden;
  color: #879189;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-pools b {
  color: #748078;
  font-size: 11px;
}

.pool-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
}

.pool-dot.green {
  background: #4f9470;
}

.pool-dot.amber {
  background: #d09a45;
}

.pool-dot.blue {
  background: #6092ad;
}

.pool-dot.violet {
  background: #896dab;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  transform: translateX(-50%);
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: white;
  background: rgba(29, 43, 35, 0.94);
  box-shadow: 0 12px 30px rgba(20, 32, 25, 0.25);
  font-size: 11px;
}

.storage-shell {
  overflow: auto;
}

.storage-topbar {
  position: sticky;
  top: 0;
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
}

.storage-search {
  width: min(430px, 36vw);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #7b867f;
  background: rgba(255, 255, 255, 0.75);
}

.storage-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
}

.storage-layout {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.storage-sidebar {
  min-height: calc(100vh - 72px);
  padding: 22px 15px;
  border-right: 1px solid var(--line);
  background: rgba(244, 247, 243, 0.88);
}

.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.sidebar-label {
  margin: 0 9px 6px;
  color: #8b948e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sidebar-section button {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 9px;
  border: 0;
  border-radius: 9px;
  text-align: left;
  color: #59655e;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.sidebar-section button:hover,
.sidebar-section button.active {
  color: var(--green-dark);
  background: #dfeae2;
}

.sidebar-section button span:last-child {
  color: #8b958e;
  font-size: 9px;
}

.sidebar-footnote {
  margin-top: 42px;
  padding: 12px;
  border: 1px solid #dce3dc;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.65);
}

.sidebar-footnote span {
  color: var(--green-dark);
  font-size: 9px;
  font-weight: 800;
}

.sidebar-footnote p {
  margin: 5px 0 0;
  color: #7c8780;
  font-size: 8px;
  line-height: 1.5;
}

.storage-content {
  min-width: 0;
  padding: 30px;
}

.storage-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.storage-heading h1 {
  margin: 5px 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 30px;
  font-weight: 650;
}

.storage-heading p {
  margin: 0;
  color: #748078;
  font-size: 11px;
}

.view-switcher {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
}

.view-switcher button {
  width: 32px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}

.view-switcher button.active {
  color: var(--green-dark);
  background: var(--green-soft);
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 13px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 30px;
}

.kanban-column {
  min-height: 530px;
  padding: 12px;
  border: 1px solid #dfe4df;
  border-radius: 15px;
  background: rgba(246, 248, 244, 0.76);
}

.kanban-column > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
  padding: 4px 3px 13px;
}

.kanban-column h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 15px;
}

.kanban-column header p {
  margin: 3px 0 0;
  color: #88928c;
  font-size: 8px;
}

.column-count {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #728078;
  background: #e5eae5;
  font-size: 8px;
}

.kanban-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.kanban-card {
  cursor: grab;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(37, 52, 44, 0.11);
}

.kanban-card footer {
  align-items: flex-end;
}

.object-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.object-summary div {
  min-width: 90px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.7);
}

.object-summary strong {
  font-family: Georgia, serif;
  font-size: 21px;
}

.object-summary span,
.object-summary p {
  color: #7a867e;
  font-size: 9px;
}

.object-summary p {
  margin-left: auto;
}

.object-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
}

.object-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 19px;
  border: 1px solid rgba(80, 96, 86, 0.14);
  border-radius: 16px;
}

.object-card.mint {
  background: #e2eee6;
}

.object-card.peach {
  background: #f6e9dc;
}

.object-card.lilac {
  background: #eee8f4;
}

.object-card.sky {
  background: #e3edf2;
}

.object-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.object-card header span {
  border-radius: 999px;
  padding: 4px 7px;
  color: #5d6962;
  background: rgba(255, 255, 255, 0.55);
  font-size: 8px;
  font-weight: 800;
}

.object-card header button,
.object-card > button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.object-card h2 {
  margin: 22px 0 7px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
}

.object-card p {
  margin: 0;
  color: #627068;
  font-size: 10px;
  line-height: 1.6;
}

.object-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: auto 0 13px;
  color: #6f7a73;
  font-size: 9px;
}

.object-links small {
  color: #8a948e;
  font-size: 8px;
}

.object-card > button {
  padding: 0;
  text-align: left;
  color: var(--green-dark);
  font-size: 9px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .attention-path {
    display: none;
  }

  .topbar-title {
    margin-right: auto;
  }

  .workspace-stage {
    padding: 10px;
  }

  .workspace-back {
    grid-template-rows: minmax(0, 3fr) minmax(220px, 1fr);
  }

  .workbench-column {
    padding: 13px;
  }

  .workbench-column > header {
    flex-direction: column;
  }

  .storage-preview {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .preview-pools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .storage-layout {
    grid-template-columns: 175px minmax(0, 1fr);
  }

  .storage-content {
    padding: 22px;
  }

  .kanban-board {
    grid-template-columns: repeat(4, 240px);
  }

  .object-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 700px) {
  .topbar {
    height: 62px;
    padding: 0 13px;
  }

  .topbar-title .eyebrow {
    display: none;
  }

  .flip-button {
    padding: 9px 11px;
  }

  .workspace-stage {
    height: calc(100vh - 62px);
    padding: 0;
  }

  .workspace-face {
    border: 0;
    border-radius: 0;
  }

  .workspace-back {
    display: block;
    overflow-y: auto;
  }

  .workbench-main {
    display: block;
  }

  .workbench-column {
    min-height: 420px;
  }

  .storage-preview {
    min-height: 310px;
  }

  .canvas-card {
    width: 210px;
  }

  .connector {
    display: none;
  }

  .storage-search {
    display: none;
  }

  .storage-layout {
    display: block;
  }

  .storage-sidebar {
    min-height: 0;
    display: flex;
    gap: 8px;
    padding: 10px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sidebar-section {
    min-width: 170px;
    margin: 0;
  }

  .sidebar-section:nth-child(2),
  .sidebar-footnote {
    display: none;
  }

  .storage-content {
    padding: 18px 13px;
  }

  .storage-heading {
    align-items: flex-start;
  }

  .storage-heading h1 {
    font-size: 25px;
  }

  .object-summary {
    flex-wrap: wrap;
  }

  .object-summary p {
    width: 100%;
    margin: 0;
  }

  .object-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.friend-guide-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 31, 25, 0.62);
  backdrop-filter: blur(12px);
}

.friend-guide {
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background:
    radial-gradient(circle at 96% 0%, rgba(199, 226, 210, 0.85), transparent 30%),
    #fbfcf8;
  box-shadow: 0 32px 100px rgba(11, 27, 19, 0.34);
}

.friend-guide-kicker {
  color: #4f765f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.friend-guide h1 {
  margin: 10px 0 8px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.friend-guide-lead {
  max-width: 500px;
  margin: 0;
  color: #637168;
  font-size: 14px;
  line-height: 1.7;
}

.friend-guide-steps {
  display: grid;
  gap: 8px;
  margin: 24px 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: friend-step;
}

.friend-guide-steps li {
  counter-increment: friend-step;
  display: grid;
  grid-template-columns: 34px minmax(112px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e2e7e1;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.76);
}

.friend-guide-steps li::before {
  content: counter(friend-step);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #dcebe2;
  color: #24523e;
  font-weight: 800;
  font-size: 12px;
}

.friend-guide-steps strong {
  font-size: 13px;
}

.friend-guide-steps span {
  color: #768078;
  font-size: 12px;
  line-height: 1.5;
}

.friend-guide-note {
  padding: 14px 16px;
  border-left: 3px solid #5c8b70;
  border-radius: 0 10px 10px 0;
  background: #edf4ef;
  color: #4f6056;
  font-size: 12px;
  line-height: 1.65;
}

.friend-guide-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.friend-guide-actions button {
  padding: 11px 16px;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 750;
  font-size: 12px;
}

.friend-reset-button {
  border: 1px solid #d8dfd9;
  background: white;
  color: #68736b;
}

.friend-start-button {
  border: 1px solid #1f4e3c;
  background: #1f4e3c;
  color: white;
  box-shadow: 0 9px 22px rgba(31, 78, 60, 0.2);
}

.friend-help-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: #264f3f;
  color: white;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(18, 49, 35, 0.25);
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 700;
}

@media (max-width: 620px) {
  .friend-guide {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .friend-guide-steps li {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .friend-guide-steps span {
    grid-column: 2;
  }

  .friend-guide-actions {
    flex-direction: column-reverse;
  }

  .friend-guide-actions button {
    width: 100%;
  }
}

.demo-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 26px; background: #f8faf7; border-bottom: 1px solid #d5dfd7; color: #254b3a; }
.demo-toolbar > div { display: grid; gap: 3px; }
.demo-toolbar strong { font-size: 13px; }
.demo-toolbar span { font-size: 11px; color: #63776b; }
.demo-toolbar nav { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.demo-toolbar a { color: #2f6d55; font-size: 12px; text-underline-offset: 3px; }
.demo-languages { display: flex; gap: 2px; padding: 3px; border: 1px solid #d1ded4; border-radius: 9px; }
.demo-languages button { border: 0; border-radius: 6px; padding: 6px 9px; background: transparent; font-size: 12px; cursor: pointer; }
.demo-languages button[aria-pressed="true"] { background: #2f6d55; color: white; }
.friend-guide-languages { display: flex; justify-content: flex-end; margin-bottom: 10px; }
@media (max-width: 900px) { .demo-toolbar { align-items: flex-start; flex-direction: column; padding: 12px 18px; } .demo-toolbar nav { flex-wrap: wrap; gap: 12px; } .workbench-main { grid-template-columns: repeat(3, minmax(260px, 1fr)); overflow-x: auto; } .workbench-column > header { flex-direction: column; gap: 9px; } .column-title-line h2 { white-space: nowrap; } }
