/* Self-hosted Inter font — swap shows text immediately, size-adjust minimizes layout shift */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  size-adjust: 107%;
  ascent-override: 90%;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Self-hosted Material Icons — font-display:block hides text until font loads */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/material-icons.woff2') format('woff2');
}
@font-face {
  font-family: 'Material Icons Outlined';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/material-icons-outlined.woff2') format('woff2');
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
.material-icons-outlined {
  font-family: 'Material Icons Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Custom CSS for additional styling overrides */

/* Messages container (shared between authenticated and unauthenticated pages) */
.mui-messages { margin-bottom: 16px; }
.mui-messages:empty { margin-bottom: 0; }

/* Form input focus ring using theme border color */
.input-focus-ring {
  --tw-ring-color: var(--border-secondary);
}

/*
 * Checkbox/radio accent color using theme primary color
 *
 * Browser Support (accent-color property):
 * - Chrome 93+ (Aug 2021)
 * - Firefox 92+ (Sep 2021)
 * - Safari 15.4+ (Mar 2022)
 * - Edge 93+ (Sep 2021)
 *
 * Fallback: Older browsers display default OS checkbox styling.
 * This is acceptable graceful degradation - form remains functional.
 *
 * For full custom checkbox styling across all browsers, consider
 * using a hidden input + custom styled label approach instead.
 */
.accent-primary {
  accent-color: var(--color-primary);
}

/*
 * Global focus-visible styles for WCAG 2.1 AA compliance
 * Ensures visible focus indicators for keyboard navigation
 * Uses :focus-visible to only show for keyboard users (not mouse clicks)
 */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-primary, #3b82f6);
  outline-offset: 2px;
}

/* Remove default outline only when focus-visible is not triggered (mouse clicks) */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible) {
  outline: none;
}

/* Any custom component styles can go here */
.theme-transition {
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

/* Custom theme utilities */
.theme-aware {
  color: var(--color-text);
  background-color: var(--color-bg);
}

.theme-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* =============================================================================
   Auth Card Shared Styles
   Used across all unauthenticated pages (sign-in, sign-up, reset password, etc.)
   ============================================================================= */

/* Auth page wrapper */
.auth-page {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #0f172a;
  position: relative;
  overflow: hidden;
  max-height: 100dvh;
  align-items: flex-start;
  padding-bottom: 48px;
}

/* Static gradient background — zero GPU cost */
.auth-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: #0f172a;
  background-image:
    radial-gradient(ellipse at 85% 15%, rgba(37,99,235,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(59,130,246,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(147,197,253,0.08) 0%, transparent 40%);
}

/* Auth card container */
.auth-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 420px;
  background: #fafaf9;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 25px 60px rgba(0,0,0,0.3), 0 8px 20px rgba(0,0,0,0.15);
  padding: 28px 24px;
  margin: auto 24px;
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.auth-card a { text-decoration: none; }
.auth-card a:hover { text-decoration: underline; }

/* Scrollable form region — keeps logo above and ToS/links below visible (signup only) */
.auth-card #auth-forms:has(.signup-disclosure) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  flex: 1 1 auto;
}
.auth-card #auth-forms:has(.signup-disclosure) form {
  overflow-y: auto;
  min-height: 0;
}
.auth-card #auth-forms:has(.signup-disclosure) .signup-tos-notice,
.auth-card #auth-forms:has(.signup-disclosure) .auth-divider,
.auth-card #auth-forms:has(.signup-disclosure) .signup-tos-notice ~ p {
  flex-shrink: 0;
}

/* Auth logo */
.auth-logo {
  margin-bottom: 36px;
  display: flex;
  justify-content: center;
}
.auth-logo img {
  height: 34px;
}

/* Auth footer — legal links pinned to bottom of viewport */
.auth-footer {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.auth-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s ease;
}
.auth-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.auth-footer span {
  margin: 0 6px;
}
@media (min-width: 768px) {
  .auth-footer { font-size: 13px; }
}

/* Desktop scaling for auth layout */
@media (min-width: 768px) {
  .auth-card { max-width: 480px; padding: 40px 36px; }
  .auth-logo img { height: 40px; }
  .auth-card p, .auth-card label { font-size: 0.9375rem; }
  .auth-card .text-xs { font-size: 0.8125rem; }
}

/* Mobile responsiveness for auth layout */
@media (max-width: 480px) {
  html:has(.auth-page) { height: 100%; }
  html:has(.auth-page) body { height: 100%; background: #0f172a; }
  html:has(.auth-page) #page-content { min-height: 100dvh; }
  .auth-page { min-height: 100dvh; }
  .auth-card { padding: 24px 20px; margin: auto 16px; border-radius: 12px; max-height: calc(100dvh - 32px); }
  .auth-logo { margin-bottom: 20px; }
}

/* Auth input — consistent text field across all auth cards */
.auth-input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  font-size: 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #1c1917;
  transition: border-color 0.1s, box-shadow 0.1s;
  outline: none;
}
.auth-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.auth-input::placeholder {
  color: #a8a29e;
}
.auth-input[aria-invalid="true"],
.auth-input.is-invalid {
  border-color: #dc2626;
}
.auth-input[aria-invalid="true"]:focus,
.auth-input.is-invalid:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

/* Auth button — consistent submit button across all auth cards */
.auth-btn {
  width: 100%;
  height: 42px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.1s;
}
.auth-btn:hover:not(:disabled) {
  background-color: #334155;
}
.auth-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.auth-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Desktop scaling for auth inputs and buttons */
@media (min-width: 768px) {
  .auth-input {
    height: 48px;
    padding: 0 14px;
    font-size: 15px;
  }
  .auth-btn {
    height: 48px;
    font-size: 15px;
  }
}

/* Mobile touch targets for auth inputs and buttons */
@media (max-width: 480px) {
  .auth-input,
  .auth-btn {
    min-height: 44px;
    height: 44px;
  }
}

/* Auth outlined button — secondary action on auth card pages */
.auth-btn-outlined {
  width: 100%;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: transparent;
  color: #1c1917;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.1s, border-color 0.1s;
}
.auth-btn-outlined:hover {
  background-color: #f5f5f4;
  border-color: #a8a29e;
}
.auth-btn-outlined:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
@media (min-width: 768px) {
  .auth-btn-outlined {
    height: 48px;
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .auth-btn-outlined {
    min-height: 44px;
    height: 44px;
  }
}

/* Auth divider — consistent horizontal rule across auth cards */
.auth-divider {
  border: none;
  border-top: 1px solid #e7e5e4;
  margin: 16px 0;
}

/* Auth info alert — blue callout for auth card pages */
.auth-info-alert {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  color: #1e40af;
  font-size: 14px;
  line-height: 1.5;
}

/* Enhanced Markdown Prose Styling */
.prose {
  color: inherit;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: inherit;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.25;
}

.prose h1 { font-size: 1.875rem; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose h4 { font-size: 1.125rem; }

.prose p {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
  line-height: 1.6;
}

.prose ul,
.prose ol {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
  padding-left: 1.5em;
}

.prose li {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

.prose ul li {
  list-style-type: disc;
}

.prose ol li {
  list-style-type: decimal;
}

.prose strong {
  font-weight: 600;
  color: inherit;
}

.prose em {
  font-style: italic;
}

.prose code {
  background-color: rgba(156, 163, 175, 0.1);
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.prose pre {
  background-color: rgba(156, 163, 175, 0.1);
  padding: 1rem;
  border-radius: 0.375rem;
  overflow-x: auto;
  margin-top: 1em;
  margin-bottom: 1em;
}

.prose blockquote {
  border-left: 4px solid rgba(156, 163, 175, 0.3);
  padding-left: 1rem;
  margin-top: 1em;
  margin-bottom: 1em;
  font-style: italic;
  color: rgba(107, 114, 128, 1);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  margin-bottom: 1em;
}

.prose th,
.prose td {
  border: 1px solid rgba(156, 163, 175, 0.3);
  padding: 0.5rem;
  text-align: left;
}

.prose th {
  background-color: rgba(156, 163, 175, 0.1);
  font-weight: 600;
}

/* Dark mode overrides */
.dark .prose code {
  background-color: rgba(75, 85, 99, 0.3);
}

.dark .prose pre {
  background-color: rgba(75, 85, 99, 0.3);
}

.dark .prose blockquote {
  border-left-color: rgba(156, 163, 175, 0.5);
  color: rgba(156, 163, 175, 1);
}

.dark .prose th,
.dark .prose td {
  border-color: rgba(75, 85, 99, 0.5);
}

.dark .prose th {
  background-color: rgba(75, 85, 99, 0.3);
}

/* =============================================================================
   LANDING/SIGNUP PAGE STYLES
   ============================================================================= */

/* Gradient background for branding sections */
.gradient-bg {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
}

/* Glass morphism effect for cards */
.glass-effect {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px); /* Safari prefix */
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-primary);
}

[data-theme="dark"] .glass-effect {
  background: rgba(30, 41, 59, 0.95);
}

/* Theme-aware text utilities */
.theme-aware-text {
  color: var(--text-primary);
}

.theme-aware-text-secondary {
  color: var(--text-secondary);
}

/* Theme-aware background utilities */
.theme-aware-bg {
  background-color: var(--bg-card);
}

.theme-aware-bg-primary {
  background-color: var(--bg-primary);
}

/* Theme-aware border utility */
.theme-aware-border {
  border-color: var(--border-primary);
}

/* Primary button with theme colors */
.theme-primary-button {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

.theme-primary-button:hover {
  background-color: var(--color-primary-hover);
}

/* Landing page brand section */
.mui-landing-brand {
  width: 475px;
  max-width: 475px;
  min-width: 320px;
  left: 0;
  padding: 0 !important;
  margin: 0 !important;
}

.brand-background {
  background-color: #aa6c21;
  position: relative;
}

.mascot-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 66%;
  height: auto;
  z-index: 1;
}

/* Responsive landing brand */
@media (max-width: 768px) {
  .mui-landing-brand {
    width: 100%;
    max-width: 100%;
    min-width: 280px;
  }
}

/* Form input base styles for landing pages */
.landing-form-input,
.landing-form-input[type="text"],
.landing-form-input[type="email"],
.landing-form-input[type="password"],
.landing-form-input[type="tel"],
.landing-form-input[type="checkbox"] {
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: transparent;
  --tw-ring-color: var(--border-secondary);
  --tw-ring-opacity: 0;
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  border-color: var(--border-primary);
  background-color: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
    var(--tw-shadow, 0 0 #0000);
}

/*
 * Focus-visible styles for keyboard accessibility (WCAG 2.1 AA compliant)
 * Uses :focus-visible to show focus ring only for keyboard navigation,
 * not for mouse clicks - this prevents the "color flashing" issue while
 * maintaining accessibility for keyboard users.
 */
.landing-form-input:focus-visible,
.landing-form-input[type="text"]:focus-visible,
.landing-form-input[type="email"]:focus-visible,
.landing-form-input[type="password"]:focus-visible,
.landing-form-input[type="tel"]:focus-visible,
.landing-form-input[type="checkbox"]:focus-visible {
  border-color: var(--border-secondary);
  --tw-ring-opacity: 1;
  --tw-ring-color: var(--border-secondary);
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0
    var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0
    calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
    var(--tw-shadow, 0 0 #0000);
  outline: 2px solid transparent;
  outline-offset: 2px;
}

/* Standard focus for non-supporting browsers (fallback) */
.landing-form-input:focus:not(:focus-visible) {
  outline: none;
}

/* Loading spinner animation */
.loading-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* HTMX indicator - hidden by default, shown during requests */
.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  display: block;
}

/* Inside button/link atoms the indicator must stay flex so the spinner
   icon and loading text vertically center on the cross-axis. The generic
   `display: block` rule above flattens them to baseline alignment, which
   makes the spinner ride above the text. */
button.htmx-request > .htmx-indicator,
a.htmx-request > .htmx-indicator {
  display: inline-flex;
}

/* Hide default content while HTMX request is in-flight */
.htmx-request .htmx-not-indicator {
  display: none;
}

/* =============================================================================
   NOTE CARD STYLES
   ============================================================================= */

/* Auto-hide notes container when empty (avoids inline JS to toggle hidden class) */
#inbox-notes-list:not(:has(.note-card)) {
  display: none;
}

/* Fade gradient for truncated note content (<details> approach) */
.note-fade-gradient {
  background: linear-gradient(to bottom, transparent, white);
}

[data-theme="dark"] .note-fade-gradient {
  background: linear-gradient(to bottom, transparent, var(--bg-card));
}

/* Note expand/collapse — native <details>, all visibility via custom CSS */
/* No Tailwind utility classes (hidden, block, etc.) to avoid CDN specificity conflicts */

/* Default (collapsed): hide expanded content and "Show less" */
.note-content-details .note-expanded {
  display: none;
}

.note-content-details .note-show-less {
  display: none;
}

/* Open (expanded): hide truncated content and "Read more", show expanded + "Show less" */
.note-content-details[open] .note-truncated {
  display: none;
}

.note-content-details[open] .note-expanded {
  display: block;
}

.note-content-details[open] .note-read-more {
  display: none;
}

.note-content-details[open] .note-show-less {
  display: inline;
}

/* Only the toggle button is clickable, not the entire note content */
.note-content-summary {
  pointer-events: none;
}

.note-content-summary .note-toggle-btn {
  pointer-events: auto;
}

/* ── Collapsible sections (shared by Pre-Trial, Settings, etc.) ── */
.collapsible-section > summary {
  list-style: none;
}
.collapsible-section > summary::-webkit-details-marker {
  display: none;
}
.collapsible-section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.25rem 0.75rem;
  cursor: pointer;
  user-select: none;
}
.collapsible-section-header:hover {
  background-color: rgb(249 250 251); /* gray-50 */
}
.collapsible-section-header .expand-icon {
  transition: transform 0.2s ease;
}
.collapsible-section[open] > .collapsible-section-header .expand-icon {
  transform: rotate(180deg);
}
.collapsible-section-body {
  padding: 0 1.25rem 1.25rem;
}

/* Icon swap hover effects - filled icon hides, outlined shows on hover */
.note-action-btn.edit-button:hover .edit-filled,
.note-action-btn.unpin-button:hover .pin-filled,
.note-action-btn.pin-button:hover .pin-filled,
.note-action-btn.delete-button:hover .delete-filled {
  opacity: 0;
}

.note-action-btn.edit-button:hover .edit-outlined,
.note-action-btn.unpin-button:hover .pin-outlined,
.note-action-btn.pin-button:hover .pin-outlined,
.note-action-btn.delete-button:hover .delete-outlined {
  opacity: 1;
}

/* Unpin button slash effect */
.note-action-btn.unpin-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 0;
  background-color: currentColor;
  transform: translate(-50%, -50%) rotate(-45deg);
  transition: height 0.15s ease;
}

.note-action-btn.unpin-button:hover::after {
  height: 24px;
}

/* Link styling in note content */
.note-content a {
  color: #2563eb;
  text-decoration: underline;
}

.note-content a:hover {
  color: #1d4ed8;
}

[data-theme="dark"] .note-content a {
  color: #60a5fa;
}

[data-theme="dark"] .note-content a:hover {
  color: #93bbfd;
}

/* Inline note editor (TipTap) */
.note-edit-content {
  min-height: 120px;
  max-height: 300px;
  overflow-y: auto;
}

.note-edit-content .ProseMirror {
  min-height: 120px;
  padding: 0.75rem;
  outline: none;
  font-size: 0.875rem;
  line-height: 1.5;
}

.note-edit-content .ProseMirror p {
  margin: 0 0 0.5em 0;
}

.note-edit-content .ProseMirror p:last-child {
  margin-bottom: 0;
}

.note-edit-content .ProseMirror ul,
.note-edit-content .ProseMirror ol {
  padding-left: 1.5em;
  margin: 0 0 0.5em 0;
}

.note-edit-content .ProseMirror a {
  color: #2563eb;
  text-decoration: underline;
}

.note-edit-content .ProseMirror ul {
  list-style-type: disc;
}

.note-edit-content .ProseMirror ol {
  list-style-type: decimal;
}

.note-edit-content .ProseMirror li {
  margin: 0.25em 0;
}

.toolbar-btn.is-active {
  background-color: #dbeafe;
  color: #1d4ed8;
}

/* HTMX swap transitions: note card <-> inline editor */
.note-card.htmx-swapping {
  opacity: 0;
  transition: opacity 150ms ease-out;
}

.note-card-edit {
  transition: opacity 150ms ease-in;
}

.note-card-edit.htmx-settling {
  opacity: 0;
}


/* =============================================================================
   INBOX TIMESTAMP TOOLTIP
   ============================================================================= */

.inbox-timestamp {
  position: relative;
}

.inbox-timestamp[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.4;
  white-space: nowrap;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms ease, visibility 150ms ease;
}

.inbox-timestamp[data-tooltip]:hover::after,
.inbox-timestamp[data-tooltip]:focus::after,
.inbox-timestamp[data-tooltip]:focus-within::after {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Date-Range Filter
   ========================================================================== */

/* Date-range input group — subtle grouped border */
.date-range-group {
  background: var(--color-surface, #ffffff);
  border: 1px solid var(--border-secondary, #cbd5e1);
  border-radius: 0.375rem;
  padding: 0.5rem;
  transition: border-color 0.15s ease-in-out;
}

.date-range-group:focus-within {
  border-color: var(--color-primary);
}

/* Remove individual input borders when inside a group */
.date-range-group .inline-filter-input {
  border: none !important;
  background: transparent !important;
  height: 28px !important;
}

/* Date-range label */
.date-range-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary, #64748b);
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   Date-Range Filter
   ========================================================================== */

/* Date-range input group — subtle grouped border */
.date-range-group {
  background: var(--color-surface, #ffffff);
  border: 1px solid var(--border-secondary, #cbd5e1);
  border-radius: 0.375rem;
  padding: 0.5rem;
  transition: border-color 0.15s ease-in-out;
}

.date-range-group:focus-within {
  border-color: var(--color-primary);
}

/* Remove individual input borders when inside a group */
.date-range-group .inline-filter-input {
  border: none !important;
  background: transparent !important;
  height: 28px !important;
}

/* Date-range label */
.date-range-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary, #64748b);
  margin-bottom: 0.25rem;
}
