    /* ======================================================= */
    /* 1. HOME SCREEN (MASTER APPROVED v4)                     */
    /* ======================================================= */
    .canvas-greeting {
      padding: 4px 0 0;
    }

    .canvas-greeting h1 {
      font-size: var(--fs-xl);
      font-weight: var(--fw-bold);
      letter-spacing: -0.025em;
      line-height: 1.15;
      color: var(--text-primary);
    }

    .hero-vitality-box {
      background: var(--hero-box-bg);
      border: 1px solid var(--hero-box-border);
      border-radius: 20px;
      padding: 16px;
      box-shadow: var(--hero-box-shadow);
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .vitality-dial-row {
      display: flex;
      align-items: center;
      gap: 16px;
      background: rgba(0, 0, 0, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 14px;
      padding: 12px 14px;
    }

    .dial-circle-wrap {
      position: relative;
      width: 56px;
      height: 56px;
      flex-shrink: 0;
    }

    .dial-svg {
      width: 56px;
      height: 56px;
      transform: rotate(-90deg);
    }

    .dial-bg {
      stroke: rgba(255, 255, 255, 0.15);
      stroke-width: 5;
      fill: none;
    }

    .dial-progress {
      stroke: var(--hero-ring-glow);
      stroke-width: 5;
      stroke-linecap: round;
      fill: none;
      stroke-dasharray: 147;
      stroke-dashoffset: 22;
    }

    .dial-center-val {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-family: var(--font-mono);
      font-size: var(--fs-base);
      font-weight: var(--fw-bold);
      color: var(--hero-box-text, #FFFFFF);
    }

    .dial-info-col {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .dial-status-head {
      font-size: var(--fs-md);
      font-weight: var(--fw-bold);
      color: var(--hero-box-text, #FFFFFF);
    }

    .dial-status-desc {
      font-size: var(--fs-sm);
      font-weight: var(--fw-medium);
      color: var(--hero-box-muted);
    }

    .hero-stats-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .hero-stat-pill {
      background: rgba(0, 0, 0, 0.18);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 12px;
      padding: 9px 6px;
      text-align: center;
      cursor: pointer;
    }

    .hero-stat-pill.urgent {
      background: rgba(185, 28, 28, 0.35);
      border-color: rgba(248, 113, 113, 0.5);
    }

    .hero-stat-val {
      font-family: var(--font-mono);
      font-size: var(--fs-lg);
      font-weight: var(--fw-bold);
      color: var(--hero-box-text, #FFFFFF);
      line-height: 1;
    }

    .hero-stat-pill.urgent .hero-stat-val {
      color: #FEE2E2;
    }

    .hero-stat-lbl {
      font-size: var(--fs-2xs);
      font-weight: var(--fw-bold);
      color: var(--hero-box-muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-top: 4px;
    }

    .hero-stat-pill.urgent .hero-stat-lbl {
      color: #FECACA;
    }

    /* Scoped White Theme Overrides for Hero and Legacy Boxes */
    [data-theme="white"] .vitality-dial-row,
    [data-theme="white"] .hero-stat-pill,
    [data-theme="white"] .epic-stat-pod {
      background: var(--card-inner);
      border: 1px solid var(--card-border-subtle);
    }

    [data-theme="white"] .hero-stat-pill.urgent {
      background: var(--urgent-bg);
      border-color: var(--urgent-border);
    }

    [data-theme="white"] .hero-stat-pill.urgent .hero-stat-val,
    [data-theme="white"] .hero-stat-pill.urgent .hero-stat-lbl {
      color: var(--urgent-red);
    }

    [data-theme="white"] .dial-bg {
      stroke: var(--card-border-subtle);
    }

    [data-theme="white"] .epic-stat-val {
      color: var(--text-accent);
    }

    [data-theme="white"] .epic-badge {
      background: rgba(21, 128, 61, 0.08);
      border: 1px solid rgba(21, 128, 61, 0.22);
      color: #15803D;
    }

    .section-label {
      font-size: var(--fs-xs);
      font-weight: var(--fw-bold);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-secondary);
      margin-bottom: 2px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .section-label .label-right {
      font-family: var(--font-mono);
      font-size: var(--fs-xs);
      color: var(--urgent-red);
    }

    /* ======================================================= */
    /* COMPOSABLE ARCHITECTURAL CARD SURFACE SYSTEM            */
    /* Dual-Slot Auras (--card-aura-tl, --card-aura-tr) + Rim  */
    /* ======================================================= */
    .specimen-card,
    .room-split-card,
    .apartment-card,
    .room-block-card,
    .journal-card {
      --card-aura-tl: var(--aura-none);
      --card-aura-tr: var(--aura-none);
      --card-rim-color: var(--card-border);
      --card-rim-width: 1px;
      background: var(--card-aura-tl), var(--card-aura-tr), var(--card-bg);
      border: var(--card-rim-width) solid var(--card-rim-color);
      box-shadow: var(--card-elevation);
    }

    /* Slot 1 (Top-Right): Shared Collaboration Aura & Rim */
    .specimen-card.shared,
    .specimen-card.shared-plant,
    .room-split-card.shared,
    .apartment-card.shared,
    .room-block-card.shared {
      --card-aura-tr: var(--aura-shared);
      --card-rim-color: var(--rim-shared);
      --card-rim-width: 1.5px;
    }

    /* Slot 2 (Top-Left): Urgent Hydration Aura & Rim (Overrides rim if also shared, keeps both auras) */
    .specimen-card.urgent,
    .room-split-card.urgent,
    .apartment-card.urgent,
    .room-block-card.urgent {
      --card-aura-tl: var(--aura-urgent);
      --card-rim-color: var(--rim-urgent);
      --card-rim-width: 1.5px;
    }

    /* Slot 3 (Top-Left): Biological Health Auras & Rims (Monitor = Amber, Sick = Rust Orange) */
    .specimen-card[data-health="monitor"] {
      --card-aura-tl: var(--aura-monitor);
      --card-rim-color: var(--rim-monitor);
      --card-rim-width: 1.5px;
    }

    .specimen-card[data-health="sick"] {
      --card-aura-tl: var(--aura-sick);
      --card-rim-color: var(--rim-sick);
      --card-rim-width: 1.5px;
    }

    .room-split-card {
      border-radius: 18px;
      padding: 12px;
      display: flex;
      gap: 14px;
      align-items: stretch;
      min-height: 118px;
      cursor: pointer;
      transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, border-color 0.25s ease;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
    }

    .room-split-card:active {
      transform: scale(0.985);
    }

    .room-image-pane {
      width: 115px;
      min-height: 110px;
      border-radius: 12px;
      overflow: hidden;
      background: var(--card-inner);
      display: flex;
      gap: 2px;
      flex-shrink: 0;
    }

    .pane-left {
      width: 50%;
      height: 100%;
    }

    .pane-left img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .pane-right {
      width: 50%;
      height: 100%;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .pane-right img {
      width: 100%;
      height: 50%;
      object-fit: cover;
      display: block;
    }

    .room-text-pane {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 8px;
    }

    .room-text-top {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .room-name-lbl {
      font-size: var(--fs-lg);
      font-weight: var(--fw-bold);
      color: var(--text-primary);
      line-height: 1.2;
    }

    .room-due-lbl {
      font-size: var(--fs-sm);
      font-weight: var(--fw-medium);
      color: var(--urgent-red);
    }

    .btn-water-room-split {
      background: var(--urgent-red);
      color: #FFFFFF;
      border: none;
      padding: 9px 12px;
      border-radius: 8px;
      font-size: var(--fs-sm);
      font-weight: var(--fw-bold);
      letter-spacing: 0.05em;
      cursor: pointer;
      text-align: center;
      width: 100%;
      transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
      -webkit-tap-highlight-color: transparent;
    }

    .btn-water-room-split:active {
      transform: scale(0.96);
    }

    .journal-card {
      border-radius: 20px;
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .journal-toggle-bar {
      display: flex;
      background: var(--card-inner);
      border: 1px solid var(--card-border-subtle);
      border-radius: 12px;
      padding: 4px;
      gap: 4px;
    }

    .journal-tab {
      flex: 1;
      background: transparent;
      border: none;
      padding: 10px 14px;
      border-radius: 9px;
      font-size: var(--fs-base);
      font-weight: var(--fw-bold);
      color: var(--text-secondary);
      cursor: pointer;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      transition: all 0.15s ease;
    }

    .journal-tab.active {
      background: var(--card-bg, #FFFFFF);
      color: var(--text-primary);
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }

    .journal-entries-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .journal-entry-card {
      display: flex;
      gap: 14px;
      background: var(--card-inner);
      border: 1px solid var(--card-border-subtle);
      border-radius: 14px;
      padding: 10px;
      align-items: center;
      cursor: pointer;
    }

    .entry-photo-third {
      width: 105px;
      height: 78px;
      border-radius: 10px;
      object-fit: cover;
      flex-shrink: 0;
    }

    .entry-content-two-thirds {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .entry-title {
      font-size: var(--fs-md);
      font-weight: var(--fw-bold);
      color: #11532F;
    }

    .entry-meta-line {
      font-size: var(--fs-sm);
      font-weight: var(--fw-medium);
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .epic-achievements-box {
      background: var(--epic-box-bg);
      border: 1px solid var(--epic-box-border);
      border-radius: 20px;
      padding: 18px 16px;
      box-shadow: var(--epic-box-shadow);
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .epic-header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .epic-title-wrap {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .epic-main-title {
      font-size: var(--fs-md);
      font-weight: var(--fw-bold);
      color: var(--hero-box-text, #FFFFFF);
      letter-spacing: -0.01em;
    }

    .epic-sub-title {
      font-size: var(--fs-xs);
      font-weight: var(--fw-bold);
      color: var(--hero-box-muted);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .epic-badge {
      background: rgba(52, 211, 153, 0.15);
      border: 1px solid rgba(52, 211, 153, 0.35);
      color: #6EE7B7;
      font-size: var(--fs-xs);
      font-weight: var(--fw-bold);
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 6px;
    }

    .epic-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .epic-stat-pod {
      background: rgba(0, 0, 0, 0.18);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 14px;
      padding: 12px 6px;
      text-align: center;
    }

    .epic-stat-val {
      font-family: var(--font-mono);
      font-size: var(--fs-xl);
      font-weight: var(--fw-bold);
      color: #34D399;
      line-height: 1;
    }

    .epic-stat-lbl {
      font-size: var(--fs-2xs);
      font-weight: var(--fw-bold);
      color: var(--hero-box-muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-top: 6px;
      line-height: 1.2;
    }

    /* ======================================================= */
    /* 2. PLANTS TAB (MASTER APPROVED PLANTS)                  */
    /* ======================================================= */
    .canvas-heading {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      padding: 2px 0 0;
    }

    .canvas-heading h1 {
      font-size: var(--fs-xl);
      font-weight: var(--fw-bold);
      letter-spacing: -0.025em;
      line-height: 1.15;
      color: var(--text-primary);
    }

    .canvas-heading .specimen-tally {
      font-family: var(--font-sans);
      font-size: var(--fs-xs);
      font-weight: var(--fw-bold);
      letter-spacing: 0.04em;
      color: var(--text-secondary);
      background: var(--card-inner);
      border: 1px solid var(--card-border-subtle);
      padding: 4px 9px;
      border-radius: 8px;
    }

    .local-search-container {
      position: relative;
      width: 100%;
    }

    .local-search-input {
      width: 100%;
      height: 42px;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 12px;
      padding: 0 14px 0 38px;
      font-size: var(--fs-base);
      font-weight: var(--fw-medium);
      color: var(--text-primary);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
      outline: none;
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .local-search-input:focus {
      border-color: var(--text-accent);
      box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.12);
    }

    .local-search-input::placeholder {
      color: var(--text-secondary);
      opacity: 0.8;
    }

    .local-search-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-secondary);
      pointer-events: none;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .filter-sort-row {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      box-sizing: border-box;
    }

    .btn-sort-toggle {
      width: 40px;
      height: 38px;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-secondary);
      cursor: pointer;
      flex-shrink: 0;
      box-shadow: 0 1px 3px rgba(0,0,0,0.03);
      transition: all 0.15s ease;
    }

    .btn-sort-toggle.active {
      background: var(--text-accent);
      border-color: var(--text-accent);
      color: #FFFFFF;
    }

    .filter-bar {
      flex: 1;
      min-width: 0;
      max-width: 100%;
      display: flex;
      background: var(--card-inner);
      border: 1px solid var(--card-border-subtle);
      border-radius: 10px;
      padding: 3px;
      gap: 3px;
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
      -webkit-overflow-scrolling: touch;
      box-sizing: border-box;
    }

    .filter-bar::-webkit-scrollbar {
      display: none;
    }

    .filter-pill {
      flex: 1 1 0;
      min-width: 0;
      background: transparent;
      border: none;
      padding: 7px 5px;
      border-radius: 7px;
      font-size: var(--fs-xs);
      font-weight: var(--fw-bold);
      color: var(--text-secondary);
      cursor: pointer;
      text-transform: uppercase;
      letter-spacing: 0.02em;
      white-space: nowrap;
      text-align: center;
    }

    .filter-pill.active {
      background: var(--card-bg);
      color: var(--text-primary);
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }

    .filter-pill.urgent-badge {
      color: var(--urgent-red);
    }

    .filter-pill.active.urgent-badge {
      background: var(--card-bg);
      color: var(--urgent-red);
    }

    .sort-options-tray {
      display: none;
      align-items: center;
      gap: 6px;
      padding: 8px 12px;
      background: var(--card-inner);
      border: 1px solid var(--card-border-subtle);
      border-radius: 10px;
      font-size: var(--fs-xs);
      font-weight: var(--fw-bold);
      width: 100%;
      max-width: 100%;
      min-width: 0;
      box-sizing: border-box;
    }

    .sort-tray-label {
      color: var(--text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      font-size: var(--fs-xs);
      margin-right: 2px;
    }

    .sort-chip {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      padding: 4px 8px;
      border-radius: 6px;
      color: var(--text-secondary);
      cursor: pointer;
      font-size: var(--fs-xs);
      font-weight: var(--fw-bold);
      letter-spacing: 0.02em;
    }

    .sort-chip.active {
      background: var(--text-accent);
      border-color: var(--text-accent);
      color: #FFFFFF;
    }

    /* Pure Unsquished Specimen Cards */
    .specimen-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      box-sizing: border-box;
    }

    /* ======================================================= */
    /* WIDE MODE ("slate"): Phone 1 Editorial Horizontal Card  */
    /* ======================================================= */
    .specimen-card {
      border-radius: 18px;
      padding: 12px;
      display: flex;
      gap: 14px;
      align-items: stretch;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      box-sizing: border-box;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      min-height: 124px;
      transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.35s ease, margin 0.35s ease, padding 0.35s ease, border-color 0.3s ease;
    }

    .specimen-card.archiving {
      opacity: 0;
      transform: scale(0.94);
      max-height: 0;
      min-height: 0;
      padding-top: 0;
      padding-bottom: 0;
      margin-bottom: 0;
      border-width: 0;
      overflow: hidden;
      pointer-events: none;
    }

    .specimen-photo-wrap {
      position: relative;
      width: 105px;
      min-width: 105px;
      max-width: 105px;
      height: 116px;
      border-radius: 12px;
      overflow: hidden;
      background: var(--card-inner);
      flex-shrink: 0;
    }

    .specimen-photo-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .specimen-content-col {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 8px;
    }

    .specimen-header-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 8px;
    }

    .specimen-identity {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .specimen-name-row {
      display: flex;
      align-items: center;
      gap: 6px;
      min-width: 0;
    }

    .specimen-name {
      font-size: var(--fs-md);
      font-weight: var(--fw-bold);
      color: var(--text-primary);
      letter-spacing: -0.02em;
      line-height: 1.2;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .specimen-meta {
      font-size: var(--fs-sm);
      font-weight: var(--fw-medium);
      color: var(--text-secondary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .shared-owner-pill {
      display: inline-flex;
      align-items: center;
      background: var(--shared-blue-bg);
      border: 1px solid var(--shared-blue-border);
      color: var(--shared-blue-text);
      padding: 1.5px 6px;
      border-radius: 5px;
      font-size: var(--fs-2xs);
      font-weight: var(--fw-bold);
      letter-spacing: 0.02em;
      flex-shrink: 0;
      line-height: 1.2;
    }

    .health-status-pill {
      display: inline-flex;
      align-items: center;
      padding: 1.5px 6px;
      border-radius: 5px;
      font-size: var(--fs-2xs);
      font-weight: var(--fw-bold);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      flex-shrink: 0;
      line-height: 1.2;
    }

    .health-status-pill.monitor {
      background: color-mix(in srgb, var(--status-monitor) 14%, var(--card-bg));
      border: 1px solid color-mix(in srgb, var(--status-monitor) 45%, var(--card-border));
      color: var(--status-monitor);
    }

    .health-status-pill.sick {
      background: color-mix(in srgb, var(--status-sick) 15%, var(--card-bg));
      border: 1px solid color-mix(in srgb, var(--status-sick) 48%, var(--card-border));
      color: var(--status-sick);
    }

    .moisture-ring-wrap {
      position: relative;
      width: 38px;
      height: 38px;
      flex-shrink: 0;
    }

    .moisture-ring-svg {
      width: 38px;
      height: 38px;
      transform: rotate(-90deg);
    }

    .ring-bg {
      stroke: var(--card-border-subtle);
      stroke-width: 3.5;
      fill: none;
    }

    .ring-fill {
      stroke-width: 3.5;
      stroke-linecap: round;
      fill: none;
      transition: stroke-dashoffset 0.65s cubic-bezier(0.22, 1, 0.36, 1), stroke 0.45s ease;
    }

    .ring-fill.urgent { stroke: var(--urgent-red); }
    .ring-fill.ok { stroke: var(--text-accent); }
    .ring-fill.warning { stroke: #D97706; }

    .ring-center-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-family: var(--font-mono);
      font-size: var(--fs-2xs);
      font-weight: var(--fw-bold);
      transition: color 0.4s ease;
    }

    .ring-center-text.urgent { color: var(--urgent-red); }
    .ring-center-text.ok { color: var(--text-accent); }
    .ring-center-text.warning { color: #D97706; }

    @keyframes canopyLiquidWaterSweep {
      0% {
        background-position: 100% 50%;
        transform: scale(0.975);
      }
      55% {
        background-position: 0% 50%;
        transform: scale(1.012);
      }
      100% {
        background-position: 0% 50%;
        transform: scale(1);
      }
    }

    .btn-specimen-action.watering-sweep,
    .btn-water-room-split.watering-sweep {
      background: linear-gradient(90deg, #0D6E36 0%, #15803D 45%, #34D399 75%, #15803D 100%) !important;
      background-size: 240% 100% !important;
      border-color: rgba(52, 211, 153, 0.55) !important;
      color: #FFFFFF !important;
      box-shadow: 0 4px 16px rgba(21, 128, 61, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
      animation: canopyLiquidWaterSweep 520ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .btn-specimen-action {
      width: 100%;
      height: 38px;
      padding: 0 12px;
      border-radius: 10px;
      font-size: var(--fs-xs);
      font-weight: var(--fw-bold);
      letter-spacing: 0.05em;
      cursor: pointer;
      text-align: center;
      border: 1px solid transparent;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
      -webkit-tap-highlight-color: transparent;
      user-select: none;
    }

    .btn-specimen-action:active {
      transform: scale(0.97);
    }

    .btn-specimen-action.urgent {
      background: var(--urgent-red);
      border-color: var(--urgent-red);
      color: #FFFFFF;
    }

    .btn-specimen-action.hydrated {
      background: var(--card-inner);
      border-color: var(--card-border);
      color: var(--text-accent);
    }

    .btn-specimen-action.hydrated.is-full {
      background: rgba(21, 128, 61, 0.10);
      border-color: rgba(21, 128, 61, 0.28);
      color: var(--text-accent);
    }

    .btn-specimen-action.shared {
      background: var(--shared-blue-bg);
      border: 1px dashed var(--shared-blue-border);
      color: var(--shared-blue-text);
    }

    .filter-pill.health-badge.active {
      background: #EA580C;
      border-color: #EA580C;
      color: #FFFFFF;
    }

    /* ======================================================= */
    /* 2B. TALL CARD LAYOUT MODE (body[data-layout="nordic"])   */
    /* Phone 3: 2-Column Botanical Portrait Gallery            */
    /* ======================================================= */
    body[data-layout="nordic"] .specimen-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    body[data-layout="nordic"] .specimen-card {
      flex-direction: column;
      padding: 8px;
      gap: 8px;
      min-height: 214px;
    }

    body[data-layout="nordic"] .specimen-photo-wrap {
      width: 100%;
      min-width: 100%;
      max-width: 100%;
      height: 128px;
      border-radius: 12px;
    }

    body[data-layout="nordic"] .specimen-content-col {
      gap: 8px;
    }

    body[data-layout="nordic"] .specimen-identity {
      padding: 0 3px;
    }

    body[data-layout="nordic"] .specimen-name {
      font-size: var(--fs-base);
    }

    body[data-layout="nordic"] .specimen-meta {
      font-size: var(--fs-sm) !important;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Frosted Top-Left Shared @kat Badge on Photo in Tall Mode */
    body[data-layout="nordic"] .specimen-card .shared-owner-pill {
      position: absolute;
      top: 15px;
      left: 15px;
      background: rgba(240, 249, 255, 0.92);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(186, 230, 253, 0.8);
      color: #0369A1;
      padding: 3px 6px;
      border-radius: 6px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
      z-index: 2;
    }

    /* Frosted Top-Right Moisture % Badge on Photo in Tall Mode */
    body[data-layout="nordic"] .moisture-ring-wrap {
      position: absolute;
      top: 15px;
      right: 15px;
      width: auto;
      height: auto;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      padding: 3px 7px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
      z-index: 2;
    }

    body[data-layout="nordic"] .moisture-ring-svg {
      display: none;
    }

    body[data-layout="nordic"] .ring-center-text {
      position: static;
      transform: none;
      font-size: var(--fs-xs);
    }

    body[data-layout="nordic"] .specimen-card.urgent .moisture-ring-wrap {
      background: var(--urgent-red);
    }

    body[data-layout="nordic"] .specimen-card.urgent .ring-center-text {
      color: #FFFFFF;
    }

    body[data-layout="nordic"] .btn-specimen-action {
      height: 32px;
      border-radius: 8px;
      font-size: var(--fs-xs);
      padding: 0 8px;
    }

    /* ======================================================= */
    /* 3. PROPERTIES VIEW (MASTER APPROVED PROPERTIES)         */
    /* ======================================================= */
    .apartment-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .apartment-card {
      border-radius: 18px;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      cursor: pointer;
      transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.25s ease;
    }

    .apartment-top-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
    }

    .apartment-identity {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .apartment-name {
      font-size: var(--fs-lg);
      font-weight: var(--fw-bold);
      color: var(--text-primary);
      line-height: 1.2;
    }

    .apartment-city {
      font-size: var(--fs-sm);
      font-weight: var(--fw-medium);
      color: var(--text-secondary);
    }

    .weather-pill {
      font-family: var(--font-mono);
      font-size: var(--fs-xs);
      font-weight: var(--fw-bold);
      color: var(--text-secondary);
      background: var(--card-inner);
      border: 1px solid var(--card-border-subtle);
      padding: 4px 8px;
      border-radius: 8px;
      letter-spacing: 0.03em;
      white-space: nowrap;
    }

    .room-photo-strip {
      display: flex;
      gap: 8px;
      height: 72px;
    }

    .room-thumb-wrap {
      flex: 1;
      height: 100%;
      border-radius: 10px;
      overflow: hidden;
      background: #E2ECE5;
      position: relative;
    }

    .room-thumb-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .room-thumb-label {
      position: absolute;
      bottom: 4px;
      left: 6px;
      font-size: var(--fs-2xs);
      font-weight: var(--fw-bold);
      color: #FFFFFF;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 90%;
    }

    .apartment-bottom-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 4px;
      border-top: 1px solid var(--card-border-subtle);
    }

    .estate-stats-line {
      font-size: var(--fs-sm);
      font-weight: var(--fw-medium);
      color: var(--text-secondary);
    }

    .btn-open-estate {
      background: none;
      border: none;
      color: var(--text-accent);
      font-size: var(--fs-sm);
      font-weight: var(--fw-bold);
      letter-spacing: 0.04em;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    /* Dedicated Apartment Page (Level 2) */
    .estate-page-view {
      display: none;
      flex-direction: column;
      gap: 16px;
    }

    .estate-page-header {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn-back-estates {
      background: none;
      border: none;
      font-size: var(--fs-base);
      font-weight: var(--fw-bold);
      color: var(--text-accent);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .estate-page-title {
      font-size: var(--fs-xl);
      font-weight: var(--fw-bold);
      color: var(--text-primary);
    }

    .room-block-card {
      border-radius: 18px;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .room-block-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .room-block-title {
      font-size: var(--fs-lg);
      font-weight: var(--fw-bold);
      color: var(--text-primary);
    }

    .room-single-telemetry {
      font-family: var(--font-mono);
      font-size: var(--fs-xs);
      font-weight: var(--fw-bold);
      color: var(--text-secondary);
      background: var(--card-inner);
      border: 1px solid var(--card-border-subtle);
      padding: 3px 8px;
      border-radius: 6px;
    }

    /* Semantic Log Category Action Buttons (Option B) */
    .btn-log-action-dossier.btn-log-action-health {
      background: rgba(217, 119, 6, 0.08) !important;
      border: 1.5px solid #D97706 !important;
      color: #B45309 !important;
      font-weight: var(--fw-bold);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      border-radius: 12px;
      transition: all 0.18s ease;
    }
    .btn-log-action-dossier.btn-log-action-care {
      background: rgba(2, 132, 199, 0.08) !important;
      border: 1.5px solid #0284C7 !important;
      color: #0369A1 !important;
      font-weight: var(--fw-bold);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      border-radius: 12px;
      transition: all 0.18s ease;
    }
    .btn-log-action-dossier.btn-log-action-growth {
      background: rgba(21, 128, 61, 0.08) !important;
      border: 1.5px solid #15803D !important;
      color: #15803D !important;
      font-weight: var(--fw-bold);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      border-radius: 12px;
      transition: all 0.18s ease;
    }

    /* Health Status Choice Buttons (Monitor = Yellow, Sick = Orange, never grey) */
    .health-status-choice-btn {
      padding: 11px 10px;
      border-radius: 12px;
      font-size: var(--fs-sm);
      font-weight: var(--fw-bold);
      cursor: pointer;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      transition: all 0.18s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
    }
    .health-status-choice-btn.monitor {
      background: rgba(234, 179, 8, 0.07);
      border: 1.5px solid rgba(234, 179, 8, 0.55);
      color: #B45309;
    }
    .health-status-choice-btn.monitor.active {
      background: rgba(234, 179, 8, 0.22);
      border: 2px solid #EAB308;
      color: #92400E;
      box-shadow: 0 3px 10px rgba(234, 179, 8, 0.20);
    }
    .health-status-choice-btn.sick {
      background: rgba(234, 88, 12, 0.07);
      border: 1.5px solid rgba(234, 88, 12, 0.55);
      color: #C2410C;
    }
    .health-status-choice-btn.sick.active {
      background: rgba(234, 88, 12, 0.22);
      border: 2px solid #EA580C;
      color: #9A3412;
      box-shadow: 0 3px 10px rgba(234, 88, 12, 0.22);
    }



    #room-type-picker-list .room-type-card {
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      justify-content: space-between !important;
      min-height: 64px !important;
      margin-bottom: 8px !important;
      box-sizing: border-box !important;
    }
    .health-status-choice-btn.healthy {
      background: rgba(21, 128, 61, 0.08);
      border: 1.5px solid rgba(21, 128, 61, 0.55);
      color: var(--text-accent);
    }
    .health-status-choice-btn.healthy.active {
      background: rgba(21, 128, 61, 0.22);
      border: 2px solid var(--text-accent);
      color: var(--text-accent);
      box-shadow: 0 3px 10px rgba(21, 128, 61, 0.20);
    }

    /* ======================================================= */
    /* STEP 4: PURE-CSS CONTAINER STAGGER & TACTILE PHYSICS    */
    /* ======================================================= */
    @keyframes canopyCardCascadeIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .specimen-card:active,
    .apartment-card:active {
      transform: scale(0.985);
    }

    .specimen-list > .specimen-card:not(.archiving),
    .apartment-list > .apartment-card,
    #action-rooms-container > .room-split-card,
    .estate-page-view > .room-block-card {
      animation: canopyCardCascadeIn 300ms var(--spring-sheet, cubic-bezier(0.22, 1, 0.36, 1)) backwards;
    }

    .specimen-list > *:nth-child(1), .apartment-list > *:nth-child(1), #action-rooms-container > *:nth-child(1), .estate-page-view > .room-block-card:nth-of-type(1) { animation-delay: 0ms; }
    .specimen-list > *:nth-child(2), .apartment-list > *:nth-child(2), #action-rooms-container > *:nth-child(2), .estate-page-view > .room-block-card:nth-of-type(2) { animation-delay: 25ms; }
    .specimen-list > *:nth-child(3), .apartment-list > *:nth-child(3), #action-rooms-container > *:nth-child(3), .estate-page-view > .room-block-card:nth-of-type(3) { animation-delay: 50ms; }
    .specimen-list > *:nth-child(4), .apartment-list > *:nth-child(4), #action-rooms-container > *:nth-child(4), .estate-page-view > .room-block-card:nth-of-type(4) { animation-delay: 75ms; }
    .specimen-list > *:nth-child(5), .apartment-list > *:nth-child(5), #action-rooms-container > *:nth-child(5), .estate-page-view > .room-block-card:nth-of-type(5) { animation-delay: 100ms; }
    .specimen-list > *:nth-child(6), .apartment-list > *:nth-child(6), #action-rooms-container > *:nth-child(6), .estate-page-view > .room-block-card:nth-of-type(6) { animation-delay: 125ms; }
    .specimen-list > *:nth-child(7), .apartment-list > *:nth-child(7), #action-rooms-container > *:nth-child(7), .estate-page-view > .room-block-card:nth-of-type(7) { animation-delay: 150ms; }
    .specimen-list > *:nth-child(8), .apartment-list > *:nth-child(8), #action-rooms-container > *:nth-child(8), .estate-page-view > .room-block-card:nth-of-type(8) { animation-delay: 175ms; }
    .specimen-list > *:nth-child(n+9), .apartment-list > *:nth-child(n+9), #action-rooms-container > *:nth-child(n+9), .estate-page-view > .room-block-card:nth-of-type(n+9) { animation-delay: 200ms; }

    @media (prefers-reduced-motion: reduce) {
      .specimen-list > .specimen-card:not(.archiving),
      .apartment-list > .apartment-card,
      #action-rooms-container > .room-split-card,
      .estate-page-view > .room-block-card {
        animation: none !important;
      }
    }

