/* =========================================================================
   sable.css — earthy warm dashboard theme
   Tokens lifted from CLAUDE.md cardinal rule #1 (palette is non-negotiable).
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Palette */
  --terracotta: #C4704B;
  --terracotta-dark: #A85A39;
  --sand:       #E8DCC8;
  --sand-soft:  #F0E7D7;
  --cream:      #FAF6F0;
  --cream-dim:  #F4EFE6;
  --brown:      #3D2B1F;
  --charcoal:   #1C1917;
  --rule:       #D9CDB8;
  --positive:   #5C7A3A;
  --warning:    #B8732C;
  --danger:     #9E3D2B;

  /* Typography */
  --serif: 'DM Serif Display', Georgia, serif;
  --sans:  'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Sizing */
  --radius:   8px;
  --radius-sm: 4px;
  --shadow:    0 1px 2px rgba(60,40,20,0.06), 0 4px 12px rgba(60,40,20,0.04);
  --shadow-lg: 0 4px 16px rgba(60,40,20,0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-dark); text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--brown); margin: 0; }
h1 { font-size: 32px; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: 22px; line-height: 1.2; }
h3 { font-size: 18px; line-height: 1.25; }

.italic { font-style: italic; color: var(--terracotta); }

/* -------------------------------------------------------------------------
   Layout — sidebar + main
   ------------------------------------------------------------------------- */
.app {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--brown);
  color: var(--cream);
  padding: 28px 0;
  position: sticky; top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar .brand {
  padding: 0 24px 28px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(232,220,200,0.12);
  margin-bottom: 12px;
}
.sidebar .brand .plus { color: var(--terracotta); padding: 0 2px; }
.sidebar nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px;
  color: var(--cream-dim);
  font-size: 14px;
  font-weight: 500;
  border-left: 3px solid transparent;
}
.sidebar nav a:hover { color: var(--cream); background: rgba(196,112,75,0.08); text-decoration: none; }
.sidebar nav a.active {
  color: var(--cream);
  background: rgba(196,112,75,0.12);
  border-left-color: var(--terracotta);
}
.sidebar nav a .badge {
  font-size: 11px;
  background: var(--terracotta);
  color: var(--cream);
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 600;
}
.sidebar .section-label {
  padding: 18px 24px 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(232,220,200,0.5);
  font-weight: 600;
}

.main {
  padding: 32px 40px 64px;
  width: 100%;
}

/* -------------------------------------------------------------------------
   Page header
   ------------------------------------------------------------------------- */
.pageheader {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.pageheader .crumb {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brown);
  opacity: 0.55;
  margin-bottom: 6px;
}
.pageheader .timestamp { font-size: 13px; color: var(--brown); opacity: 0.6; }

/* -------------------------------------------------------------------------
   Tile grid (Home + most pages)
   ------------------------------------------------------------------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.tile {
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.tile .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brown);
  opacity: 0.6;
  margin-bottom: 8px;
}
.tile .value {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--brown);
  line-height: 1.05;
}
.tile .delta { font-size: 12px; margin-top: 6px; }
.tile .delta.up    { color: var(--positive); }
.tile .delta.down  { color: var(--danger); }
.tile .delta.flat  { color: var(--brown); opacity: 0.5; }
.tile.feature {
  background: var(--sand);
  border-color: var(--terracotta);
}
.tile.feature .value { color: var(--terracotta-dark); }

/* -------------------------------------------------------------------------
   Cards / panels
   ------------------------------------------------------------------------- */
.card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.card h2 {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.card .empty {
  padding: 24px 0;
  text-align: center;
  color: var(--brown);
  opacity: 0.5;
  font-style: italic;
}

/* -------------------------------------------------------------------------
   Tables
   ------------------------------------------------------------------------- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--rule); }
th {
  font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--brown); opacity: 0.7;
  background: var(--cream-dim);
}
tr:last-child td { border-bottom: none; }

/* -------------------------------------------------------------------------
   Status pills
   ------------------------------------------------------------------------- */
.pill {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
}
.pill.ok       { background: #DCE5C9; color: #4A6029; }
.pill.warning  { background: #F4DDC0; color: #8A5320; }
.pill.danger   { background: #F0CABF; color: #7A2D1D; }
.pill.muted    { background: var(--rule); color: var(--brown); }
.pill.live     { background: var(--terracotta); color: var(--cream); }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--brown);
  background: white;
  color: var(--brown);
  cursor: pointer;
  transition: background 120ms ease;
}
.btn:hover { background: var(--cream-dim); }
.btn.primary { background: var(--terracotta); border-color: var(--terracotta); color: var(--cream); }
.btn.primary:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); }
.btn.ghost { border-color: var(--rule); color: var(--brown); opacity: 0.85; }

/* -------------------------------------------------------------------------
   Login screen (when ACCESS not yet wired)
   ------------------------------------------------------------------------- */
.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--sand-soft) 100%);
}
.login-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 40px;
  width: 360px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.login-card .brand {
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--brown);
}
.login-card .brand .plus { color: var(--terracotta); padding: 0 4px; }
.login-card .tag { font-style: italic; color: var(--terracotta); margin-bottom: 24px; }

/* -------------------------------------------------------------------------
   Kanban — Pipeline page
   ------------------------------------------------------------------------- */
.kanban-toolbar {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--brown);
}
.kanban-toolbar__count { opacity: 0.65; }
.kanban-toolbar__check { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; opacity: 0.8; }
.kanban-toolbar__check input { accent-color: var(--terracotta); }
.kanban-toolbar__msg { margin-left: auto; opacity: 0.7; font-style: italic; }

.kanban {
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  align-items: stretch;
}

.kanban-col {
  flex: 1 1 0;
  min-width: 0;
  background: var(--cream-dim);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  max-height: calc(100vh - 220px);
}
.kanban-col__header {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  background: white;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.kanban-col__title {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--brown);
}
.kanban-col__count {
  font-size: 12px; font-weight: 600;
  background: var(--rule); color: var(--brown);
  padding: 1px 8px; border-radius: 999px;
}
.kanban-col--ready .kanban-col__header,
.kanban-col--live  .kanban-col__header { background: var(--sand); }
.kanban-col--ready .kanban-col__count  { background: var(--terracotta); color: var(--cream); }
.kanban-col--live  .kanban-col__count  { background: var(--terracotta); color: var(--cream); }

.kanban-col__body {
  padding: 10px;
  display: flex; flex-direction: column; gap: 10px;
  overflow-y: auto;
}
.kanban-col__empty {
  text-align: center; font-style: italic; opacity: 0.4;
  font-size: 12px; padding: 14px 0;
}

.kanban-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 12px;
  cursor: pointer;
  transition: transform 100ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
.kanban-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: var(--terracotta);
}
.kanban-card__title {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--brown);
  line-height: 1.25;
  margin-bottom: 4px;
}
.kanban-card__slug {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--brown); opacity: 0.5;
  margin-bottom: 6px;
}
.kanban-card__tags {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin: 6px 0 8px;
}
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 7px;
  border-radius: 3px;
  background: var(--cream-dim);
  color: var(--brown);
  border: 1px solid var(--rule);
}
/* Content type tags */
.tag--type-guide    { background: #E8DCC8; color: #5A4630; border-color: #D9CDB8; }
.tag--type-review   { background: #F4DDC0; color: #8A5320; border-color: #E5C796; }
.tag--type-protocol { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta-dark); }

/* Category tags — soft tints, never compete with terracotta */
.tag--cat-longevity     { background: #E2E8D9; color: #4A6029; }
.tag--cat-hormones      { background: #F0CABF; color: #7A2D1D; }
.tag--cat-gut-health    { background: #D9E5DA; color: #305A3A; }
.tag--cat-beauty        { background: #F4E0D5; color: #8A4A2D; }
.tag--cat-sleep         { background: #D5DCE5; color: #2D405A; }
.tag--cat-uncategorised { background: var(--rule); color: var(--brown); opacity: 0.8; }

.kanban-card__meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 11px; color: var(--brown); opacity: 0.7;
  margin-bottom: 4px;
}
.kanban-card__meta span {
  background: var(--cream-dim);
  padding: 1px 6px;
  border-radius: 999px;
}
.kanban-card__live {
  background: var(--terracotta) !important;
  color: var(--cream);
  opacity: 1 !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.kanban-card__touched {
  font-size: 11px;
  color: var(--brown); opacity: 0.5;
}

/* -------------------------------------------------------------------------
   Drawer — pipeline detail
   ------------------------------------------------------------------------- */
[x-cloak] { display: none !important; }

.drawer {
  position: fixed; inset: 0;
  z-index: 50;
  display: flex; justify-content: flex-end;
}
.drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(28,25,23,0.35);
  backdrop-filter: blur(2px);
}
.drawer__panel {
  position: relative;
  width: min(560px, 100vw);
  background: var(--cream);
  border-left: 1px solid var(--rule);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  padding: 28px 32px 60px;
  animation: drawer-slide-in 220ms ease;
}
@keyframes drawer-slide-in {
  from { transform: translateX(40px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.drawer__header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.drawer__header h2 { margin-top: 4px; }
.drawer__slug {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; color: var(--brown); opacity: 0.55;
  margin-top: 6px;
}

.drawer__section { margin-bottom: 22px; }
.drawer__section h3 {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brown); opacity: 0.7;
  margin-bottom: 10px;
  font-weight: 600;
}
.drawer__sub { opacity: 0.5; font-weight: 400; text-transform: none; letter-spacing: 0; }

.drawer__stages {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.drawer__stage-btn {
  cursor: pointer;
  border: 1px solid transparent;
  padding: 4px 10px;
  font-size: 11px;
}
.drawer__stage-btn:hover { border-color: var(--terracotta); }

/* -------------------------------------------------------------------------
   Drawer fields — editable inputs, branded
   ------------------------------------------------------------------------- */
.drawer__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.drawer__fields label {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.drawer__fields label > span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brown);
  opacity: 0.55;
  font-weight: 600;
}
.drawer__fields input,
.drawer__fields select,
.modal input,
.modal select {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--charcoal);
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  width: 100%;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.drawer__fields input:hover,
.drawer__fields select:hover,
.modal input:hover,
.modal select:hover { border-color: #C9BBA1; }
.drawer__fields input:focus,
.drawer__fields select:focus,
.modal input:focus,
.modal select:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 112, 75, 0.12);
}
.drawer__fields select,
.modal select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%233D2B1F' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 32px;
  cursor: pointer;
}
.drawer__fields input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.45;
  cursor: pointer;
  filter: hue-rotate(0deg);
}

/* Inline serif title in the drawer header */
.drawer__title-input {
  width: 100%;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--brown);
  background: transparent;
  border: none;
  border-bottom: 1px dashed transparent;
  padding: 4px 0 6px;
  margin: 4px 0 0;
  transition: border-color 120ms ease;
}
.drawer__title-input:hover { border-bottom-color: var(--rule); }
.drawer__title-input:focus {
  outline: none;
  border-bottom-color: var(--terracotta);
  background: var(--cream);
}

/* -------------------------------------------------------------------------
   Drawer timeline — inline editable date rows
   ------------------------------------------------------------------------- */
.drawer__timeline {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.drawer__timeline-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--rule);
  transition: background 120ms ease;
}
.drawer__timeline-row:last-child { border-bottom: none; }
.drawer__timeline-row:hover { background: var(--cream-dim); }
.drawer__timeline-label {
  font-size: 12px;
  color: var(--brown);
  opacity: 0.7;
  text-transform: capitalize;
}
.drawer__timeline-input {
  font-family: var(--sans);
  font-size: 13px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 4px 8px;
  color: var(--charcoal);
  cursor: pointer;
  width: 100%;
  transition: border-color 120ms ease, background 120ms ease;
}
.drawer__timeline-input:hover { border-color: var(--rule); background: white; }
.drawer__timeline-input:focus {
  outline: none;
  border-color: var(--terracotta);
  background: white;
}
.drawer__timeline-input::-webkit-calendar-picker-indicator { opacity: 0.45; cursor: pointer; }
.drawer__timeline-clear {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--brown);
  opacity: 0.4;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms ease, opacity 120ms ease, color 120ms ease;
}
.drawer__timeline-clear:hover {
  background: var(--cream-dim);
  opacity: 1;
  color: var(--danger);
}

/* -------------------------------------------------------------------------
   Kanban column header icons (+ and filter)
   ------------------------------------------------------------------------- */
.kanban-col__header { position: relative; }
.kanban-col__actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.kanban-col__icon {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--brown);
  opacity: 0.55;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 120ms ease;
}
.kanban-col__icon svg { display: block; }
.kanban-col__icon:hover {
  opacity: 1;
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}
.kanban-col__add:hover { transform: rotate(90deg); }
.kanban-col__icon.is-active {
  opacity: 1;
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.kanban-col__icon.is-active::after {
  content: '';
  position: absolute;
  top: -2px; right: -2px;
  width: 7px; height: 7px;
  background: var(--terracotta);
  border: 1.5px solid var(--cream);
  border-radius: 50%;
}

/* -------------------------------------------------------------------------
   Filter popover
   ------------------------------------------------------------------------- */
.filter-pop {
  position: absolute;
  top: calc(100% + 6px);
  right: 8px;
  z-index: 30;
  width: 220px;
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  text-align: left;
  animation: filter-pop-in 140ms ease;
}
@keyframes filter-pop-in {
  from { transform: translateY(-4px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.filter-pop__group { margin-bottom: 12px; }
.filter-pop__group:last-of-type { margin-bottom: 8px; }
.filter-pop__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  color: var(--brown);
  opacity: 0.55;
  margin-bottom: 6px;
}
.filter-pop__check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  margin: 0 -6px;
  border-radius: 3px;
  font-size: 13px;
  color: var(--brown);
  cursor: pointer;
  text-transform: capitalize;
  transition: background 100ms ease;
}
.filter-pop__check:hover { background: var(--cream-dim); }
.filter-pop__check input { accent-color: var(--terracotta); cursor: pointer; }
.filter-pop__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--rule);
}
.filter-pop__reset,
.filter-pop__close {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 3px;
}
.filter-pop__reset { color: var(--brown); opacity: 0.65; }
.filter-pop__reset:hover { opacity: 1; color: var(--danger); background: var(--cream-dim); }
.filter-pop__close { color: var(--terracotta); margin-left: auto; }
.filter-pop__close:hover { background: var(--cream-dim); }

/* -------------------------------------------------------------------------
   Modal — create new pipeline item
   ------------------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0;
  z-index: 60;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal__scrim {
  position: absolute; inset: 0;
  background: rgba(28, 25, 23, 0.42);
  backdrop-filter: blur(3px);
}
.modal__panel {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 32px;
  animation: modal-pop-in 200ms ease;
}
@keyframes modal-pop-in {
  from { transform: translateY(8px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1);    opacity: 1; }
}
.modal__header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.modal__header h2 { margin-top: 4px; }
.modal__footer {
  display: flex; justify-content: flex-end; align-items: center; gap: 10px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.modal__footer .drawer__msg { margin-right: auto; color: var(--danger); font-style: normal; }

.drawer__paths {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px;
}
.drawer__paths span {
  display: inline-block;
  width: 56px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brown);
  opacity: 0.55;
  font-size: 10px;
  font-weight: 600;
}
.drawer__paths code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--cream-dim);
  padding: 2px 6px;
  border-radius: 3px;
  word-break: break-all;
}

.drawer__notes {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 13px;
  background: white;
  resize: vertical;
}
.drawer__notes:focus { outline: 2px solid var(--terracotta); outline-offset: -1px; }
.drawer__msg { font-size: 12px; color: var(--brown); opacity: 0.7; align-self: center; font-style: italic; }
