/* Agnes Matrix · green light-neumorphic theme
   Reuses the shared tactile foundation from the Duomi page,
   then applies a distinct sage / forest-green identity. */
@import url("./duomi_neumorphic.css");

:root {
  --nm-bg: #e8ede7;
  --nm-surface: #f0f4ef;
  --nm-surface-hi: #f8faf7;
  --nm-ink: #29342d;
  --nm-muted: #718078;
  --nm-accent: #6c9a78;
  --nm-accent-dark: #3f7350;
  --nm-danger: #ad625d;
  --nm-shadow-dark: rgba(122, 141, 128, .30);
  --nm-shadow-light: rgba(255, 255, 255, .92);
}

html { background: #e8ede7; }

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,.92), transparent 28%),
    linear-gradient(145deg, #eef3ed, #dfe7df);
}

.matrix_header {
  background: rgba(240,244,239,.92);
  border-bottom-color: rgba(91,122,101,.14);
}

.matrix_header img {
  background: #f0f4ef;
  box-shadow: 4px 4px 10px rgba(115,135,121,.25), -4px -4px 10px rgba(255,255,255,.9);
}

.matrix_header h1 sup { color: var(--nm-accent-dark); }

.page_switch {
  color: var(--nm-accent-dark);
  background: #edf3ed;
}

.v2_btn.action_btn,
.tree_btn,
.query_btn,
.chat_btn,
.log_btn {
  color: #fff !important;
  background: linear-gradient(145deg, #78a884, #568765) !important;
  box-shadow: 5px 5px 12px rgba(64,108,77,.25), -4px -4px 10px rgba(255,255,255,.78) !important;
}

.v2_btn.action_btn:hover:not(:disabled),
.tree_btn:hover:not(:disabled),
.chat_btn:hover:not(:disabled),
.log_btn:hover:not(:disabled) {
  background: linear-gradient(145deg, #82b28e, #4c7c5a) !important;
  box-shadow: 7px 7px 15px rgba(64,108,77,.30), -5px -5px 12px rgba(255,255,255,.85) !important;
}

.box_tit h2 {
  background: linear-gradient(145deg, #7daa88, #568064);
  box-shadow: 3px 3px 7px rgba(65,104,76,.22), -3px -3px 7px rgba(255,255,255,.85);
}

.image_zone,
.ref_slot {
  border-color: rgba(78,126,91,.48);
}

.image_zone:hover,
.image_zone:focus,
.image_zone.dragover,
.ref_slot:hover {
  background: #e8f0e8;
  border-color: var(--nm-accent-dark);
  box-shadow: var(--nm-inset), 0 0 0 3px rgba(76,124,90,.08);
}

.matrix_right,
.matrix_grid,
.text_list { background: #e4ebe4; }

.right_tit {
  background: rgba(240,244,239,.82);
  border-bottom-color: rgba(91,122,101,.14);
}

.toggle_arrow:hover {
  color: #fff;
  background: var(--nm-accent-dark);
}

.save_path_dropdown { background: #f0f4ef; }
.save_path_item:hover { background: #e3ece4; }
.batch_tip code { color: var(--nm-accent-dark); background: #e0ebe1; }

::selection { color: #fff; background: var(--nm-accent-dark); }
