/* XeoNote Brand Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@600;700&display=swap');

:root {
  color-scheme: dark;
  /* XeoNote Brand Colors - Dark Theme */
  --bg: #0F172A;        /* Deep Slate - primary dark base */
  --panel: #1F2937;     /* Soft Graphite - panels/surfaces */
  --surface: #252b36;
  --text: #FFFFFF;      /* Pure White - text contrast */
  --muted: #9aa3b2;
  --accent: #4F46E5;    /* Electric Indigo - brand signature */
  --accent-hover: #4338CA; /* Darker indigo for hover */
  --accent-glow: #22D3EE;  /* Neon Cyan - attention accents */
  --border: #2f3644;
  --danger: #ff5f56;
  --success: #5af78e;
  --font-mono: "Cascadia Code", "Fira Code", "Source Code Pro", "Consolas", monospace;
  --font-ui: "Inter", system-ui, -apple-system, sans-serif;
  --font-heading: "Sora", "Space Grotesk", "Inter", system-ui, sans-serif;
  --radius: 6px;
  --radius-lg: 8px;
}

/* Light theme - explicit light mode only */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #f5f7fa;
  --surface: #ffffff;
  --text: #0F172A;      /* Deep Slate for light mode text */
  --muted: #6b7280;
  --accent: #4F46E5;    /* Electric Indigo - consistent across themes */
  --accent-hover: #4338CA;
  --accent-glow: #22D3EE;  /* Neon Cyan */
  --border: #e0e4ea;
  --danger: #dc2626;
  --success: #059669;
}

/* Dark theme - explicit dark mode */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0F172A;
  --panel: #1F2937;
  --surface: #252b36;
  --text: #FFFFFF;
  --muted: #9aa3b2;
  --accent: #4F46E5;
  --accent-hover: #4338CA;
  --accent-glow: #22D3EE;
  --border: #2f3644;
  --danger: #ff5f56;
  --success: #5af78e;
}

/* System preference: light mode when OS prefers light */
@media (prefers-color-scheme: light) {
  :root[data-theme="system"] {
    color-scheme: light;
    --bg: #ffffff;
    --panel: #f5f7fa;
    --surface: #ffffff;
    --text: #0F172A;
    --muted: #6b7280;
    --accent: #4F46E5;
    --accent-hover: #4338CA;
    --accent-glow: #22D3EE;
    --border: #e0e4ea;
    --danger: #dc2626;
    --success: #059669;
  }
}

/* System preference: dark mode when OS prefers dark */
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    color-scheme: dark;
    --bg: #0F172A;
    --panel: #1F2937;
    --surface: #252b36;
    --text: #FFFFFF;
    --muted: #9aa3b2;
    --accent: #4F46E5;
    --accent-hover: #4338CA;
    --accent-glow: #22D3EE;
    --border: #2f3644;
    --danger: #ff5f56;
    --success: #5af78e;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ── App shell ──────────────────────────────────────────────── */

.app-shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* ── Top bar ────────────────────────────────────────────────── */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  height: 100px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  z-index: 100;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.topbar-actions .btn {
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  cursor: default;
  user-select: none;
}

.logo .logo-img {
  max-height: 150px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.login-logo-img {
  max-height: 150px;
  width: auto;
  object-fit: contain;
}

.logo-link {
  color: inherit;
  text-decoration: none;
}
.logo-link:hover {
  opacity: 0.8;
}

/* Theme-aware logo variants: dark logo shown in dark mode, light logo shown in light mode */
/* Default (dark mode assumed) — show dark-mode logo, hide light-mode logo */
.logo-light-mode { display: none !important; }
.logo-dark-mode { display: inline !important; }

:root[data-theme="light"] .logo-light-mode { display: inline !important; }
:root[data-theme="light"] .logo-dark-mode { display: none !important; }

:root[data-theme="dark"] .logo-light-mode { display: none !important; }
:root[data-theme="dark"] .logo-dark-mode { display: inline !important; }

@media (prefers-color-scheme: light) {
  :root[data-theme="system"] .logo-light-mode { display: inline !important; }
  :root[data-theme="system"] .logo-dark-mode { display: none !important; }
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] .logo-light-mode { display: none !important; }
  :root[data-theme="system"] .logo-dark-mode { display: inline !important; }
}

/* Pages without data-theme (auth pages, initial load): use prefers-color-scheme */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .logo-light-mode { display: inline !important; }
  :root:not([data-theme]) .logo-dark-mode { display: none !important; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .logo-light-mode { display: none !important; }
  :root:not([data-theme]) .logo-dark-mode { display: inline !important; }
}

.user-pill {
  padding: 0.4rem 0.8rem;
  background: var(--surface);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--border);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

a.user-pill:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* ── Buttons ────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.8rem;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: var(--font-ui);
  text-decoration: none;
  transition: background 0.15s, opacity 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn.primary {
  background: var(--accent);
  color: #0b0f14;
}

.btn.small {
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
}

.btn.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn.ghost:hover {
  color: var(--text);
  border-color: var(--muted);
  background: var(--surface);
}

/* ── Workspace (3-pane layout) ──────────────────────────────── */

.workspace {
  flex: 1;
  display: grid;
  grid-template-columns: 240px 1fr 260px;
  min-height: 0;
  overflow: hidden;
}

/* ── Sidebar ────────────────────────────────────────────────── */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--panel);
  border-right: 1px solid var(--border);
  overflow-y: auto;
}

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

.sidebar-header h2 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search {
  width: 100%;
  padding: 0.45rem 0.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-family: var(--font-ui);
  outline: none;
  transition: border-color 0.15s;
}

.search:focus {
  border-color: var(--accent);
}

.search::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.note-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  overflow-y: auto;
}

.note-list li {
  padding: 0.5rem 0.65rem;
  background: transparent;
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.88rem;
  transition: background 0.1s, color 0.1s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-list li:hover {
  background: var(--surface);
  color: var(--text);
}

.note-list li.active {
  background: var(--surface);
  color: var(--text);
  border-left-color: var(--accent);
}

.sidebar-empty {
  text-align: center;
  padding: 1.5rem 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.sidebar-empty p {
  margin-bottom: 0.75rem;
}

/* ── Editor pane ────────────────────────────────────────────── */

.editor-pane {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  min-height: 0;
  overflow: hidden;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0;
  padding: 0.4rem 0.75rem 0;
  background: var(--panel);
  overflow-x: auto;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
  min-height: 36px;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius) var(--radius) 0 0;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-family: var(--font-ui);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.1s, color 0.1s;
  position: relative;
  top: 1px;
}

.tab:hover {
  background: var(--surface);
  color: var(--text);
}

.tab.active {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.tab-title {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab-close {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.4;
  cursor: pointer;
  padding: 0 2px;
  border-radius: 3px;
}

.tab-close:hover {
  opacity: 1;
  background: rgba(255, 95, 86, 0.2);
  color: var(--danger);
}

/* Editor area (Quill rich text) */
.editor-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  margin: 0.5rem 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.editor-wrap.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ── Quill dark theme overrides ───────────────────────────── */

.editor-wrap .ql-toolbar.ql-snow {
  background: var(--panel);
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 4px 8px;
  flex-shrink: 0;
}

.editor-wrap .ql-container.ql-snow {
  border: none;
  flex: 1;
  overflow: hidden;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  position: relative;
  display: flex;
  flex-direction: row;
}

.line-numbers {
  width: 2.5rem;
  flex-shrink: 0;
  padding-top: 0.75rem;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  font-family: var(--font-mono, 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace);
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--muted);
  opacity: 0.4;
  text-align: right;
  box-sizing: border-box;
  border-right: 1px solid var(--border);
  background: var(--panel);
}

.line-numbers .ln {
  display: block;
  padding-right: 0.4rem;
}

.editor-wrap .ql-editor {
  color: var(--text);
  padding: 0.75rem;
  padding-left: 0.75rem;
  line-height: 1.6;
  min-height: 100%;
  flex: 1;
  overflow-y: auto;
}

.editor-wrap .ql-editor.ql-blank::before {
  color: var(--muted);
  opacity: 0.4;
  font-style: normal;
}

/* Toolbar buttons */
.editor-wrap .ql-toolbar .ql-stroke {
  stroke: var(--muted);
}

.editor-wrap .ql-toolbar .ql-fill {
  fill: var(--muted);
}

.editor-wrap .ql-toolbar .ql-picker-label {
  color: var(--muted);
  border-color: transparent;
}

.editor-wrap .ql-toolbar button:hover .ql-stroke,
.editor-wrap .ql-toolbar .ql-picker-label:hover .ql-stroke {
  stroke: var(--accent);
}

.editor-wrap .ql-toolbar button:hover .ql-fill,
.editor-wrap .ql-toolbar .ql-picker-label:hover .ql-fill {
  fill: var(--accent);
}

.editor-wrap .ql-toolbar button:hover,
.editor-wrap .ql-toolbar .ql-picker-label:hover {
  color: var(--accent);
}

.editor-wrap .ql-toolbar button.ql-active .ql-stroke {
  stroke: var(--accent);
}

.editor-wrap .ql-toolbar button.ql-active .ql-fill {
  fill: var(--accent);
}

.editor-wrap .ql-toolbar button.ql-active {
  color: var(--accent);
}

.editor-wrap .ql-toolbar .ql-picker-label.ql-active {
  color: var(--accent);
}

.editor-wrap .ql-toolbar .ql-picker-label.ql-active .ql-stroke {
  stroke: var(--accent);
}

/* Toolbar dropdown menus */
.ql-toolbar .ql-picker-options {
  background: var(--panel) !important;
  border-color: var(--border) !important;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.ql-toolbar .ql-picker-item {
  color: var(--muted) !important;
}

.ql-toolbar .ql-picker-item:hover {
  color: var(--accent) !important;
}

/* Code blocks */
.editor-wrap .ql-editor pre.ql-syntax {
  background: #1a1e26;
  color: #abb2bf;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  overflow-x: auto;
}

:root[data-theme="light"] .editor-wrap .ql-editor pre.ql-syntax {
  background: #f6f8fa;
  color: #24292e;
}

@media (prefers-color-scheme: light) {
  :root[data-theme="system"] .editor-wrap .ql-editor pre.ql-syntax {
    background: #f6f8fa;
    color: #24292e;
  }
}

/* Inline code */
.editor-wrap .ql-editor code {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.85em;
}

:root[data-theme="light"] .editor-wrap .ql-editor code {
  background: rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: light) {
  :root[data-theme="system"] .editor-wrap .ql-editor code {
    background: rgba(0, 0, 0, 0.06);
  }
}

/* Headings in editor */
.editor-wrap .ql-editor h1 { font-size: 1.6rem; margin: 0.5em 0 0.3em; }
.editor-wrap .ql-editor h2 { font-size: 1.3rem; margin: 0.4em 0 0.25em; }
.editor-wrap .ql-editor h3 { font-size: 1.1rem; margin: 0.3em 0 0.2em; }

/* Lists */
.editor-wrap .ql-editor ol,
.editor-wrap .ql-editor ul {
  padding-left: 1.5em;
}

/* Blockquote */
.editor-wrap .ql-editor blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 0.75rem;
  color: var(--muted);
  margin: 0.5em 0;
}

/* Quill snow theme tooltip (link editor etc) */
.ql-snow .ql-tooltip {
  background: var(--panel) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.ql-snow .ql-tooltip input[type=text] {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}

/* Status bar */
.status-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--bg);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

#status-saved {
  margin-left: auto;
  color: var(--success);
}

/* ── Context pane (right sidebar) ───────────────────────────── */

.context-pane {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--panel);
  border-left: 1px solid var(--border);
  overflow-y: auto;
}

.context-pane h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.context-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.context-item .label {
  color: var(--text);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.context-input {
  width: 100%;
  padding: 0.4rem 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-family: var(--font-ui);
  outline: none;
  transition: border-color 0.15s;
}

.context-input:focus {
  border-color: var(--accent);
}

/* ── Welcome screen ─────────────────────────────────────────── */

.welcome-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  text-align: center;
  color: var(--muted);
  height: 100%;
}

.welcome-screen h2 {
  color: var(--text);
  font-size: 1.4rem;
}

.welcome-screen p {
  max-width: 400px;
  line-height: 1.5;
}

/* ── Auth page (login) ──────────────────────────────────────── */

.auth-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f1115 0%, #1c212d 100%);
}

:root[data-theme="light"] .auth-page {
  background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}

@media (prefers-color-scheme: light) {
  :root[data-theme="system"] .auth-page {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
  }
}

.auth-card {
  width: min(420px, 90%);
  background: var(--panel);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.auth-card h1 {
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.auth-card p {
  color: var(--muted);
  line-height: 1.5;
}

.auth-meta {
  color: var(--muted);
  font-size: 0.8rem;
  opacity: 0.6;
}

.auth-meta a {
  color: var(--accent);
  text-decoration: none;
}

.auth-meta a:hover {
  text-decoration: underline;
}

/* ── Auth forms ────────────────────────────────────────────── */

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-ui);
  outline: none;
  transition: border-color 0.15s;
}

.auth-input:focus {
  border-color: var(--accent);
}

.auth-input::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}

.auth-checkbox input[type="checkbox"] {
  accent-color: var(--accent);
}

.auth-error {
  background: rgba(255, 95, 86, 0.1);
  border: 1px solid rgba(255, 95, 86, 0.3);
  color: var(--danger);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.4;
}

.auth-success {
  background: rgba(90, 247, 142, 0.1);
  border: 1px solid rgba(90, 247, 142, 0.3);
  color: var(--success);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.4;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
  opacity: 0.5;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── OAuth buttons ─────────────────────────────────────────── */

.auth-oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.oauth-btn {
  justify-content: center;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
}

.oauth-btn:hover {
  border-color: var(--muted);
  background: var(--panel);
}

.oauth-btn.entra {
  border-color: #0078d4;
}

.oauth-btn.entra:hover {
  background: rgba(0, 120, 212, 0.1);
}

.oauth-btn.google {
  border-color: #4285f4;
}

.oauth-btn.google:hover {
  background: rgba(66, 133, 244, 0.1);
}

.oauth-btn.github {
  border-color: #6e7681;
}

.oauth-btn.github:hover {
  background: rgba(110, 118, 129, 0.1);
}

/* ── Profile page ──────────────────────────────────────────── */

.profile-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
}

.profile-content {
  max-width: 640px;
  margin: 2rem auto;
  padding: 0 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--border);
}

.profile-header h1 {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.profile-email {
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-meta {
  color: var(--muted);
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 0.25rem;
}

.profile-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.profile-section h2 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.profile-section p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.6;
}

.profile-danger {
  border-color: rgba(255, 95, 86, 0.3);
}

.profile-danger h2 {
  color: var(--danger);
}

.btn.danger {
  background: var(--danger);
  color: #fff;
}

.btn.danger:hover {
  background: #e04940;
}

/* ── Sessions list ─────────────────────────────────────────── */

.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.session-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.session-item.current {
  border-color: var(--accent);
}
.session-item.token-expired {
  opacity: 0.5;
}
.session-item + .session-item {
  margin-top: 0.5rem;
}

.session-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.82rem;
}

.session-ip {
  color: var(--text);
  font-weight: 600;
}

.session-badge {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.session-time {
  color: var(--muted);
  font-size: 0.78rem;
}

.session-ua {
  color: var(--muted);
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ── Scrollbar styling ──────────────────────────────────────── */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

/* ── Encryption indicators ─────────────────────────────────── */

.note-list li.encrypted::before {
  content: '\1F512';
  margin-right: 0.35rem;
  font-size: 0.75rem;
}

.tab .tab-lock {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-right: 0.15rem;
}

#note-encryption-status.encrypted {
  color: var(--success);
  font-weight: 600;
}

#btn-encrypt.active {
  color: var(--success);
  border-color: var(--success);
}

#status-encrypted {
  color: var(--success);
}

/* ── Modal ─────────────────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.modal-card {
  width: min(400px, 90vw);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-card h3 {
  font-size: 1.1rem;
  color: var(--text);
}

.modal-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.modal-input {
  width: 100%;
  padding: 0.55rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-ui);
  outline: none;
  transition: border-color 0.15s;
}

.modal-input:focus {
  border-color: var(--accent);
}

.modal-error {
  color: var(--danger);
  font-size: 0.82rem;
  min-height: 1.2em;
}

.modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

/* ── Folder tree ───────────────────────────────────────────── */

.folder-tree {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 0.5rem;
}

.folder-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--muted);
  transition: background 0.1s, color 0.1s;
  user-select: none;
}

.folder-item:hover {
  background: var(--surface);
  color: var(--text);
}

.folder-item.active {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

.folder-item.virtual {
  font-size: 0.82rem;
}

.folder-item .folder-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.folder-item .folder-count {
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.6;
  margin-left: 0.4rem;
  flex-shrink: 0;
}

.folder-item .folder-action {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0 0.2rem;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.15s, color 0.15s;
}

.folder-item:hover .folder-action {
  opacity: 0.6;
}

.folder-item .folder-action:hover {
  opacity: 1;
  color: var(--danger);
}

.folder-actions {
  padding: 0.25rem 0.3rem;
}

.folder-item.child {
  padding-left: 1.4rem;
  font-size: 0.82rem;
}

/* ── Topbar dropdown (More menu) ───────────────────────────── */

.topbar-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  min-width: 180px;
  padding: 0.35rem;
  z-index: 150;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.45rem 0.7rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: var(--font-ui);
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}

.dropdown-item:hover {
  background: var(--surface);
  color: var(--text);
}

a.dropdown-item {
  display: block;
}

.dropdown-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.3rem 0;
}

/* ── Note action buttons (trash restore, template use) ─────── */

.note-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.note-list li .note-title-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-action-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  font-family: var(--font-ui);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.1s, color 0.1s, border-color 0.1s;
}

.note-action-btn:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--accent);
}

/* ── Pin button active state ───────────────────────────────── */

#btn-pin.active {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── Version history in modal ──────────────────────────────── */

.version-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
}

.version-item .version-date {
  color: var(--text);
  font-weight: 500;
}

.version-item .version-size {
  color: var(--muted);
  font-size: 0.78rem;
}

.version-item .version-actions {
  display: flex;
  gap: 0.4rem;
}

/* ── Select styling for context pane / modals ──────────────── */

select.context-input,
select.modal-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239aa3b2' d='M3 5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.5rem;
}

/* ── Topbar left (burger + logo) ────────────────────────────── */

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Burger button ─────────────────────────────────────────── */

.burger-btn {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius);
  transition: background 0.15s;
}

.burger-btn:hover {
  background: var(--surface);
}

.burger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--muted);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.burger-btn.open .burger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger-btn.open .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.open .burger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Mobile-only / hide-mobile utility ─────────────────────── */

.show-mobile-only {
  display: none !important;
}

/* ── Sidebar overlay backdrop ──────────────────────────────── */

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 44px;
  background: rgba(0, 0, 0, 0.4);
  z-index: 49;
}

.sidebar-overlay.active {
  display: block;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .workspace {
    grid-template-columns: 220px 1fr;
  }

  .context-pane {
    display: none;
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: 0 0.5rem;
    height: 56px;
  }

  .topbar-actions .btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
  }

  .logo .logo-img {
    max-height: 56px;
  }

  .topbar-actions {
    gap: 0.25rem;
  }

  .burger-btn {
    display: flex;
  }

  .hide-mobile {
    display: none !important;
  }

  .show-mobile-only {
    display: block !important;
  }

  hr.show-mobile-only {
    display: block !important;
  }

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

  .sidebar {
    display: none;
    position: fixed;
    top: 44px;
    left: 0;
    bottom: 0;
    width: 280px;
    z-index: 50;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
  }

  .sidebar.mobile-visible {
    display: flex;
  }

  .context-pane {
    display: none;
  }

  .btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
  }

  .btn.small {
    padding: 0.2rem 0.4rem;
    font-size: 0.75rem;
  }

  .dropdown-menu {
    right: -0.5rem;
    min-width: 200px;
  }
}

/* ── Billing & Plans ────────────────────────────────────────── */

.billing-trial-banner {
  background: linear-gradient(135deg, #57c7ff22, #5af78e22);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text);
}

.billing-trial-banner strong {
  color: var(--accent);
}

.trial-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.founder-pill-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}

.founder-pill-wrap .user-pill {
  margin: 0;
}

.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, #ffd700, #f4a900);
  color: #1a1200;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  line-height: 1.3;
}

.founder-badge .crown {
  font-size: 0.65rem;
  line-height: 1;
}

.user-pill.founder-pill {
  border-color: #ffd700;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(244, 169, 0, 0.05));
  color: #ffd700;
}

.founder-pill-wrap:hover .user-pill.founder-pill {
  border-color: #f4a900;
  color: #ffe44d;
}

/* ── Plan pill wrapper (shared by all plan badges) ──────── */

.plan-pill-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}

.plan-pill-wrap .user-pill {
  margin: 0;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  line-height: 1.3;
}

.plan-badge .plan-icon {
  font-size: 0.65rem;
  line-height: 1;
}

/* Free plan */
.plan-badge.plan-free {
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
}

.user-pill.pill-free {
  border-color: var(--border);
  color: var(--muted);
}

/* Pro plan */
.plan-badge.plan-pro {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  color: #fff;
}

.user-pill.pill-pro {
  border-color: #6366f1;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(129, 140, 248, 0.05));
  color: #818cf8;
}

.plan-pill-wrap:hover .user-pill.pill-pro {
  border-color: #818cf8;
  color: #a5b4fc;
}

/* Team plan */
.plan-badge.plan-team {
  background: linear-gradient(135deg, #06b6d4, #22d3ee);
  color: #052e38;
}

.user-pill.pill-team {
  border-color: #06b6d4;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(34, 211, 238, 0.05));
  color: #22d3ee;
}

.plan-pill-wrap:hover .user-pill.pill-team {
  border-color: #22d3ee;
  color: #67e8f9;
}

.plan-org-name {
  font-size: 0.55rem;
  color: var(--muted);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.billing-current-plan {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.billing-plan-badge {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.billing-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.billing-usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.usage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.usage-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.usage-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.usage-bar {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.usage-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.usage-unlimited {
  font-size: 0.8rem;
  color: var(--muted);
}

.billing-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s;
}

.plan-card.current {
  border-color: var(--accent);
}

.plan-card h3 {
  font-size: 1.2rem;
  color: var(--text);
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem;
}

.plan-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.plan-interval {
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-yearly {
  width: 100%;
  font-size: 0.8rem;
  color: var(--muted);
}

.plan-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.plan-features li {
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 1.25rem;
  position: relative;
}

.plan-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.plan-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.plan-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.billing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.billing-table th,
.billing-table td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.billing-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.billing-table td {
  color: var(--text);
}

/* Trial banner in main app */
.app-trial-banner {
  background: linear-gradient(135deg, #57c7ff22, #5af78e22);
  border-bottom: 1px solid var(--accent);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--text);
  text-align: center;
}

.app-trial-banner a {
  color: var(--accent);
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* ── Announcement Banners ──────────────────────────────────── */

.app-announcement-banner {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  color: var(--text);
  text-align: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.app-announcement-info {
  background: linear-gradient(135deg, #4F46E522, #22D3EE22);
  border-bottom-color: var(--accent);
}

.app-announcement-warning {
  background: linear-gradient(135deg, #eab30822, #f59e0b22);
  border-bottom-color: #eab308;
}

.app-announcement-critical {
  background: linear-gradient(135deg, #dc262622, #ef444422);
  border-bottom-color: var(--danger);
}

.announcement-dismiss {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.announcement-dismiss:hover {
  color: var(--text);
}

/* ── Onboarding Overlay ───────────────────────────────────── */

.onboarding-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.onboarding-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  pointer-events: all;
}

.onboarding-spotlight {
  position: absolute;
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7);
  transition: all 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.onboarding-tooltip {
  position: absolute;
  background: var(--panel);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  max-width: 380px;
  min-width: 280px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  pointer-events: all;
  transition: all 0.35s ease;
  z-index: 2;
}

.onboarding-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.onboarding-step-counter {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.onboarding-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.onboarding-close:hover {
  color: var(--text);
}

.onboarding-title {
  font-size: 1.05rem;
  color: var(--text);
  margin: 0 0 0.4rem 0;
}

.onboarding-description {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

.onboarding-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* ── Drag-and-drop file handling ────────────────────────────── */

.editor-pane.drag-over {
  position: relative;
}

.editor-pane.drag-over::after {
  content: 'Drop file to open';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 70, 229, 0.12);
  border: 2px dashed var(--accent);
  border-radius: var(--radius-lg);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-ui);
  z-index: 10;
  pointer-events: none;
}

/* ── Command Palette ────────────────────────────────────────── */

.command-palette-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.command-palette {
  width: min(600px, 90vw);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.command-palette-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
  font-family: var(--font-ui);
  background: var(--surface);
  color: var(--text);
  border: none;
  border-bottom: 1px solid var(--border);
  outline: none;
}

.command-palette-input::placeholder {
  color: var(--muted);
}

.command-palette-results {
  max-height: 400px;
  overflow-y: auto;
}

.command-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}

.command-item:last-child {
  border-bottom: none;
}

.command-item:hover,
.command-item.selected {
  background: var(--surface);
}

.command-name {
  font-size: 0.95rem;
  color: var(--text);
}

.command-key {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
  background: var(--bg);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ── Meetings & Action Items ─────────────────────────────────── */

.folder-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.5rem 0.3rem;
}

.sidebar-meetings-header {
  padding: 0 0.3rem;
}

/* Action item in Quill editor */
.ql-editor .ql-action-item {
  border-left: 3px solid var(--accent);
  background: rgba(79, 70, 229, 0.06);
  padding-left: 0.5rem;
  margin: 2px 0;
}

.ql-editor .ql-action-item::before {
  content: '\2610 ';
  color: var(--accent);
  font-weight: 600;
}

/* Action item toolbar button */
.ql-toolbar .ql-action-item {
  width: 28px;
  height: 24px;
  position: relative;
}

.ql-toolbar .ql-action-item::after {
  content: '\2611';
  font-size: 1.1rem;
  line-height: 24px;
  position: absolute;
  top: 0;
  left: 4px;
}

/* Hide action-item button when not editing a meeting note */
.editor-wrap:not(.meeting-mode) .ql-action-item {
  display: none;
}

/* Context pane meeting fields */
.context-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
}

.context-link:hover {
  text-decoration: underline;
}

.meeting-field textarea.context-input {
  resize: vertical;
  min-height: 60px;
  font-size: 0.85rem;
  font-family: inherit;
  line-height: 1.4;
}
