/* Tailwind's base styles (resets and defaults) */

/* ! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}
  .validation-errors {
    display: none;
    margin-bottom: 1rem;
  }
  .modal-section-divider {
    border-top: 1px solid var(--color-border-light);
    margin: 1.25rem 0 1rem;
    padding-top: 1rem;
  }
  .modal-section-title {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .modal-field-row {
    display: grid;
    gap: 0.75rem;
  }
  .modal-field-row-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border-light);
  }
  .location-fields {
    display: none;
    margin-top: 0.75rem;
    gap: 0.75rem;
  }
  .radio-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    cursor: pointer;
  }

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
  .form-label-sm {
    font-size: 0.8rem;
  }
  .form-note {
    margin: 0.25rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.75rem;
  }
  .inline-meta {
    font-weight: 400;
    color: var(--color-text-muted);
    font-size: 0.75rem;
  }
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/
  .table-cell-strong {
    font-weight: 600;
    color: var(--color-text);
  }
  .table-cell-muted {
    font-size: 0.85rem;
    color: var(--color-text-muted);
  }
  .table-inline-note {
    color: var(--color-text-muted);
    font-size: 0.75rem;
  }
  .panel-title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
  }
  .panel-copy {
    margin: 0 0 1rem;
    color: var(--color-text-secondary);
    font-size: 0.925rem;
    line-height: 1.65;
  }
  .home-feature-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-feature-card {
    display: grid;
    gap: 0.85rem;
    align-content: start;
  }
  .home-feature-card h2,
  .home-feature-card h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-text);
  }
  .home-feature-card p {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: 1.65;
  }
  .account-action-list {
    display: grid;
    gap: 0.85rem;
  }
  .account-action-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(25, 49, 51, 0.08);
    background: rgba(255, 255, 255, 0.56);
    color: var(--color-text);
    font-weight: 600;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  }
  .account-action-link:hover,
  .account-action-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(29, 109, 98, 0.2);
    box-shadow: var(--shadow-sm);
    outline: none;
  }
  .input-readonly {
    background: var(--color-surface-elevated);
    cursor: default;
  }
  .input-mono-compact {
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
  }
  .icon-success {
    color: #10b981;
  }

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  .page-shell-compact {
    width: min(760px, calc(100% - 2rem));
  }
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  .field-grow {
    flex: 1 1 240px;
    min-width: 220px;
  }
  .field-min-150 {
    min-width: 150px;
  }
  .field-min-160 {
    min-width: 160px;
  }
  .field-max-420 {
    max-width: 420px;
  }
  .filter-range {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .input-short {
    width: 120px;
  }
  /* 3 */
  font-family: Inter, sans-serif;
  /* 4 */
  .collapsible-button-lg {
    font-size: 1.125rem;
  }
  .collapsible-button-soft {
    background: var(--color-surface-elevated);
    border-radius: var(--radius-md);
  }
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}
  .collapsible-arrow.is-collapsed {
    transform: rotate(-90deg);
  }

/*
1. Remove the margin in all browsers.
  .collapsible-content-plain {
    border-top: none;
  }
  .dashboard-section-body {
    padding: 1rem;
    display: grid;
    gap: 1rem;
  }
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  .page-shell-compact {
      width: min(100% - 1rem, 100%);
    }
  /* 1 */
  line-height: inherit;
  /* 2 */
  .home-feature-grid,
    .modal-field-row-split {
      grid-template-columns: 1fr;
    }
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

/* Tailwind's component classes */

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

/* Tailwind's utility classes */

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.w-full {
  width: 100%;
}

.max-w-md {
  max-width: 28rem;
}

.appearance-none {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-6 {
  gap: 1.5rem;
}

.space-x-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1.5rem * var(--tw-space-x-reverse));
  margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.border {
  border-width: 1px;
}

.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity));
}

.bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}

.bg-red-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.p-4 {
  padding: 1rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.text-center {
  text-align: center;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.leading-tight {
  line-height: 1.25;
}

.text-blue-500 {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity));
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.underline {
  text-decoration-line: underline;
}

.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* ============================================
   DESIGN SYSTEM — EchoHive
   ============================================ */

:root {
  --font-sans: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;

  /* Primary palette — Deep Lagoon */
  --color-primary: #1d6d62;
  --color-primary-hover: #144f48;
  --color-primary-light: #d7ebe4;
  --color-primary-dark: #0f3b37;

  /* Accent — Burnt Apricot */
  --color-accent: #d97537;
  --color-accent-light: #f8e1cf;

  /* Semantic */
  --color-success: #1f9d72;
  --color-warning: #d79a1b;
  --color-danger: #d94d3f;
  --color-danger-hover: #bc3b2f;
  --color-info: #2f7db6;

  /* Surfaces */
  --color-surface: #fffdf8;
  --color-surface-elevated: #f8f0e4;
  --color-surface-alt: #efe3d1;
  --color-bg: #f4ede1;
  --color-bg-strong: #ecdfcb;
  --shell-backdrop: rgba(255, 252, 246, 0.84);

  /* Text */
  --color-text: #193133;
  --color-text-secondary: #58686a;
  --color-text-muted: #7b8689;

  /* Borders */
  --color-border: #d8cab5;
  --color-border-light: #ede2d4;

  /* Radii */
  --radius-sm: 0.5rem;
  --radius-md: 0.8rem;
  --radius-lg: 1.15rem;
  --radius-xl: 1.45rem;

  /* Shadows */
  --shadow-sm: 0 8px 18px rgba(73, 49, 21, 0.06);
  --shadow-md: 0 16px 34px rgba(60, 47, 29, 0.09);
  --shadow-lg: 0 24px 54px rgba(58, 42, 23, 0.14);
  --shadow-xl: 0 36px 84px rgba(47, 31, 16, 0.18);

  /* Transitions */
  --transition-fast: 160ms ease;
  --transition-normal: 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-slow: 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

body {
  font-family: var(--font-sans);
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(217, 117, 55, 0.14), transparent 22%),
    radial-gradient(circle at right 10% top 12%, rgba(29, 109, 98, 0.15), transparent 18%),
    linear-gradient(180deg, #f8f2e9 0%, var(--color-bg) 42%, #efe6d7 100%);
  color: var(--color-text);
  line-height: 1.6;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

::selection {
  background: rgba(217, 117, 55, 0.22);
  color: var(--color-text);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
  text-decoration: none;
}

/* ============================================
   TAILWIND COMPAT — hover/focus utilities
   ============================================ */

.hover\:bg-blue-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity));
}

.hover\:bg-blue-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity));
}

.hover\:bg-red-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity));
}

.hover\:text-gray-300:hover {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============================================
   EXTRA TAILWIND COMPAT
   ============================================ */

.min-h-screen { min-height: 100vh; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-8 { gap: 2rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.75rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { --tw-space-x-reverse: 0; margin-right: calc(1rem * var(--tw-space-x-reverse)); margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))); }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.uppercase { text-transform: uppercase; }
.whitespace-nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-md { border-radius: var(--radius-md); }
.w-auto { width: auto; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.max-w-sm { max-width: 24rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-8 { margin-bottom: 2rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; }
.ml-auto { margin-left: auto; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-4 { padding-top: 1rem; }
.pb-4 { padding-bottom: 1rem; }
.leading-5 { line-height: 1.25rem; }
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.select-none { user-select: none; }
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform; transition-timing-function: ease; transition-duration: 150ms; }
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }
.pointer-events-none { pointer-events: none; }
.inline-flex { display: inline-flex; }
.inline { display: inline; }
.shrink-0 { flex-shrink: 0; }
.w-1\/4 { width: 25%; }

/* Tailwind color utilities used across templates */
.bg-green-100 { background-color: #dcfce7; }
.bg-green-500 { background-color: #22c55e; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-500 { background-color: #ef4444; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-yellow-100 { background-color: #fef9c3; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-400 { background-color: #9ca3af; }
.bg-gray-500 { background-color: #6b7280; }
.bg-gray-800 { background-color: #1f2937; }
.text-green-500 { color: #22c55e; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.text-green-800 { color: #166534; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-red-800 { color: #991b1b; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.text-blue-800 { color: #1e40af; }
.text-yellow-600 { color: #ca8a04; }
.text-yellow-800 { color: #854d0e; }
.text-purple-500 { color: #a855f7; }
.text-purple-600 { color: #9333ea; }
.text-purple-800 { color: #6b21a8; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-indigo-600 { color: #4f46e5; }
.text-white { color: #fff; }
.border-red-400 { border-color: #f87171; }
.border-green-400 { border-color: #4ade80; }
.border-gray-300 { border-color: #d1d5db; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; border-color: #e5e7eb; }
.divide-gray-200 > :not([hidden]) ~ :not([hidden]) { border-color: #e5e7eb; }
.min-w-full { min-width: 100%; }
.h-4 { height: 1rem; }
.w-4 { width: 1rem; }
.h-2\.5 { height: 0.625rem; }
.sm\:inline { display: inline; }

.hover\:bg-green-700:hover { background-color: #15803d; }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.hover\:bg-gray-300:hover { background-color: #d1d5db; }
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:text-blue-800:hover { color: #1e40af; }
.hover\:text-blue-900:hover { color: #1e3a5f; }
.hover\:text-green-900:hover { color: #14532d; }
.hover\:text-indigo-900:hover { color: #312e81; }
.hover\:text-red-900:hover { color: #7f1d1d; }
.hover\:text-gray-900:hover { color: #111827; }
.hover\:bg-blue-600:hover { background-color: #2563eb; }
.hover\:bg-green-600:hover { background-color: #16a34a; }

.flex-wrap { flex-wrap: wrap; }
.form-checkbox { appearance: none; width: 1rem; height: 1rem; border: 1px solid #d1d5db; border-radius: 0.25rem; background-color: #fff; cursor: pointer; }
.form-checkbox:checked { background-color: var(--color-primary); border-color: var(--color-primary); background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e"); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 56%, var(--color-accent) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary) 50%, #c8652d 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

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

.btn-danger:hover {
  background-color: var(--color-danger-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}

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

.btn-warning:hover {
  background-color: #d97706;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background-color: rgba(255, 253, 248, 0.72);
  color: var(--color-text-secondary);
  border: 1px solid rgba(25, 49, 51, 0.12);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background-color: rgba(255, 253, 248, 0.92);
  color: var(--color-text);
}

.btn.is-active {
  border-color: rgba(29, 109, 98, 0.28);
  background-color: rgba(29, 109, 98, 0.12);
  color: var(--color-text);
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-icon {
  padding: 0.5rem;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-text-secondary);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background-color: var(--color-surface-elevated);
  color: var(--color-text);
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-body {
  padding: 1.5rem;
}

.section-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
}

/* ============================================
   STAT CARDS
   ============================================ */

.stat-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  padding: 1.25rem;
  transition: box-shadow var(--transition-normal);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
}

.stat-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.stat-card-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-top: 0.25rem;
}

.stat-card-sub {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: 0.25rem;
}

/* ============================================
   BADGES
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.badge-success {
  background-color: #dcfce7;
  color: #166534;
}

.badge-warning {
  background-color: #fef3c7;
  color: #92400e;
}

.badge-danger {
  background-color: #fee2e2;
  color: #991b1b;
}

.badge-info {
  background-color: #dbeafe;
  color: #1e40af;
}

.badge-purple {
  background-color: #f3e8ff;
  color: #6b21a8;
}

.badge-gray {
  background-color: #f3f4f6;
  color: #374151;
}

.badge-yellow {
  background-color: #fef9c3;
  color: #854d0e;
}

/* ============================================
   FORM INPUTS
   ============================================ */

.input {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

.input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(29, 109, 98, 0.15);
}

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

.input-with-icon {
  position: relative;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

.input-with-icon .input {
  padding-left: 2.5rem;
}

.select {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(29, 109, 98, 0.15);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 0.625rem;
}

.toggle-switch input[type="checkbox"] {
  position: relative;
  width: 2.5rem;
  height: 1.375rem;
  appearance: none;
  background-color: var(--color-border);
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  flex-shrink: 0;
}

.toggle-switch input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1rem;
  height: 1rem;
  background-color: #fff;
  border-radius: 9999px;
  transition: transform var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.toggle-switch input[type="checkbox"]:checked {
  background-color: var(--color-primary);
}

.toggle-switch input[type="checkbox"]:checked::after {
  transform: translateX(1.125rem);
}

.toggle-switch .toggle-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ============================================
   TABLES
   ============================================ */

.table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table-modern thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  background-color: rgba(239, 227, 209, 0.55);
  border-bottom: 1px solid rgba(25, 49, 51, 0.08);
}

.table-modern tbody td {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border-light);
}

.table-modern tbody tr {
  transition: background-color var(--transition-fast);
}

.table-modern tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.58);
}

.table-modern tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================
   MODALS (unified)
   ============================================ */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

/* Support for existing modal-hidden/modal-visible toggle used by JS */
.modal-hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.modal-visible {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 1;
  transition: opacity var(--transition-normal);
}

.modal-content {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 32rem;
  max-height: 90vh;
  padding: 1.75rem;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.modal-visible .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-content-lg {
  max-width: 48rem;
}

.modal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border-light);
}

.modal-content .form-label,
.modal-content label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="number"],
.modal-content input[type="password"],
.modal-content input[type="datetime-local"],
.modal-content textarea,
.modal-content select {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
  margin-bottom: 0;
}

.modal-content input[type="text"]:focus,
.modal-content input[type="email"]:focus,
.modal-content input[type="number"]:focus,
.modal-content input[type="password"]:focus,
.modal-content input[type="datetime-local"]:focus,
.modal-content textarea:focus,
.modal-content select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* View meeting modal (uses .modal class + display:block/none) */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
}

.modal .modal-content {
  margin: 5% auto;
  width: 90%;
  max-width: 36rem;
  transform: none;
}

.close-button {
  color: var(--color-text-muted);
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  line-height: 1;
}

.close-button:hover {
  color: var(--color-text);
  background-color: var(--color-surface-elevated);
}

.meeting-info p {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.meeting-info p:last-child {
  border-bottom: none;
}

.meeting-info p strong {
  color: var(--color-text);
  font-weight: 600;
  margin-right: 0.5rem;
}

.meeting-info ul {
  list-style-type: disc;
  margin-left: 1.25rem;
  color: var(--color-text-secondary);
}

/* Reserve button in view meeting modal */
.reserve-button {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  transition: background-color var(--transition-fast);
}

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

/* ============================================
   ALERTS
   ============================================ */

.alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.alert-error {
  background-color: #fff1ef;
  color: #8f3028;
  border: 1px solid #f6cdc8;
}

.alert-success {
  background-color: #eef9f2;
  color: #1a664c;
  border: 1px solid #caecd8;
}

.alert-warning {
  background-color: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.alert-info {
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* ============================================
   PUBLIC PAGE SHELL
   ============================================ */

.page-shell {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.7rem 0 4rem;
  display: grid;
  gap: 1.35rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(25, 49, 51, 0.1);
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.88) 0%, rgba(248, 240, 228, 0.96) 68%, rgba(239, 227, 209, 0.98) 100%);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: auto -10% -45% auto;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(217, 117, 55, 0.16) 0%, rgba(217, 117, 55, 0) 72%);
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.9fr);
  align-items: end;
}

.page-title-block {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(29, 109, 98, 0.12);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-eyebrow::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: currentColor;
}

.page-title-block h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 0.96;
}

.page-title-block p {
  margin: 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.page-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  justify-content: flex-start;
}

.page-stat-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.page-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(25, 49, 51, 0.1);
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.page-stat strong {
  color: var(--color-text);
}

.page-side-note {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.05rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(25, 49, 51, 0.1);
}

.page-side-note h2,
.page-side-note h3 {
  margin: 0;
  font-size: 1.1rem;
}

.page-side-note p,
.page-side-note li {
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.page-side-note ul {
  display: grid;
  gap: 0.45rem;
  padding: 0;
}

.page-content-stack {
  display: grid;
  gap: 1.25rem;
}

.content-shell {
  background: var(--shell-backdrop);
  border: 1px solid rgba(25, 49, 51, 0.1);
  border-radius: 1.45rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.content-shell-body {
  padding: 1.3rem;
}

.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: end;
}

.filter-toolbar > * {
  flex: 0 1 auto;
}

.field-stack {
  display: grid;
  gap: 0.45rem;
}

.filter-divider {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(25, 49, 51, 0.08);
}

.table-shell {
  overflow-x: auto;
}

.table-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted);
}

.table-empty svg {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.35;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.025em;
}

.page-header p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-top: 0.25rem;
}

/* ============================================
   HEADER & NAV
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.9rem 0 0;
  transition: transform 220ms ease, opacity 160ms ease;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 1rem));
  opacity: 0;
  pointer-events: none;
}

.site-header nav {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 1.15rem;
  background: var(--shell-backdrop);
  border: 1px solid rgba(25, 49, 51, 0.1);
  border-radius: 1.45rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.site-header nav::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, rgba(217, 117, 55, 0.25) 24%, rgba(29, 109, 98, 0.18) 70%, transparent 100%);
}

.site-header .nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand-copy {
  display: grid;
  gap: 0.05rem;
}

.nav-brand-kicker {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.nav-brand-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.site-header .nav-brand img {
  height: 2rem;
  width: auto;
  padding: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(29, 109, 98, 0.18), rgba(217, 117, 55, 0.16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42);
}

.nav-link {
  padding: 0.55rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: all var(--transition-fast);
  color: var(--color-text-secondary);
}

.nav-link:hover {
  background-color: rgba(29, 109, 98, 0.1);
  color: var(--color-text);
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(29, 109, 98, 0.16), rgba(217, 117, 55, 0.14));
  color: var(--color-text);
}

.nav-actions .btn {
  font-size: 0.8125rem;
  padding: 0.5rem 0.95rem;
}

.nav-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.58);
}

.nav-actions .btn-primary {
  border-color: rgba(255, 255, 255, 0.18);
}

.nav-list {
  align-items: center;
}

.scroll-top-button {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  border: 1px solid rgba(25, 49, 51, 0.14);
  background: rgba(255, 252, 246, 0.94);
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.5rem);
  transition: opacity 160ms ease, transform 220ms ease;
  z-index: 70;
}

.scroll-top-button:hover {
  transform: translateY(-0.62rem);
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.5rem;
  width: 13rem;
  background: rgba(255, 252, 246, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(25, 49, 51, 0.12);
  z-index: 60;
  padding: 0.45rem;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.nav-dropdown-menu.show {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 0.8rem;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  border-radius: 0.85rem;
  transition: all var(--transition-fast);
}

.nav-dropdown-menu a:hover {
  background-color: rgba(29, 109, 98, 0.08);
  color: var(--color-text);
}

/* User avatar */
.user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  padding: 0.5rem;
  color: var(--color-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
}

.mobile-nav-form {
  margin: 0;
}

.mobile-nav-action {
  width: 100%;
  padding: 0.8rem 0.4rem 0;
  text-align: left;
  color: var(--color-text-secondary);
  border: none;
  background: none;
  font-size: 0.9375rem;
  cursor: pointer;
}

.mobile-nav-action:hover {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  .desktop-nav,
  .nav-actions {
    display: none;
  }
  .mobile-nav.open {
    display: block;
    margin: 0.75rem auto 0;
    width: min(1240px, calc(100% - 2rem));
    padding: 0.65rem 1.15rem 1rem;
    background: rgba(255, 252, 246, 0.92);
    border: 1px solid rgba(25, 49, 51, 0.1);
    border-radius: 1.2rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
  }
  .mobile-nav a {
    display: block;
    padding: 0.8rem 0.4rem;
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(25, 49, 51, 0.08);
  }
  .mobile-nav a:hover {
    color: var(--color-text);
  }

  .mobile-nav a.active {
    color: var(--color-text);
    font-weight: 700;
  }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  border-top: 1px solid rgba(25, 49, 51, 0.08);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.2) 0%, rgba(255, 249, 241, 0.8) 100%);
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  padding: 2rem 0 2.5rem;
}

.site-footer-inner {
  display: grid;
  gap: 1rem;
  text-align: center;
}

.site-footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.site-footer-brand img {
  height: 2rem;
  width: auto;
  padding: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(29, 109, 98, 0.16), rgba(217, 117, 55, 0.18));
}

.site-footer-copy {
  display: grid;
  gap: 0.2rem;
}

.site-footer-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-text);
}

.site-footer-copy p {
  max-width: 46ch;
  color: var(--color-text-secondary);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.5rem;
}

.site-footer-timezone {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.site-footer a {
  color: var(--color-primary);
}

.site-footer a:hover {
  color: var(--color-primary-hover);
}

@media (max-width: 768px) {
  .nav-brand-kicker {
    font-size: 0.58rem;
  }

  .nav-brand-title {
    font-size: 1.18rem;
  }

  .site-footer-brand {
    flex-direction: column;
  }

  .site-footer-copy p {
    max-width: none;
  }
}

/* ============================================
   AUTH PAGES (Login/Signup)
   ============================================ */

.auth-wrapper {
  min-height: 100vh;
  padding: 1.75rem 0 4rem;
}

.auth-shell {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 470px);
  gap: 1.35rem;
  align-items: stretch;
}

.auth-aside {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.6rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(25, 49, 51, 0.1);
  background: linear-gradient(140deg, rgba(255, 253, 248, 0.92) 0%, rgba(248, 240, 228, 0.98) 58%, rgba(239, 227, 209, 0.98) 100%);
  box-shadow: var(--shadow-lg);
}

.auth-aside::before {
  content: '';
  position: absolute;
  inset: auto -10% -18% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(29, 109, 98, 0.18) 0%, rgba(29, 109, 98, 0) 72%);
}

.auth-kicker,
.auth-aside h1,
.auth-lead,
.auth-points {
  position: relative;
  z-index: 1;
}

.auth-aside h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  max-width: 10ch;
}

.auth-lead {
  margin: 0;
  max-width: 58ch;
  color: var(--color-text-secondary);
  line-height: 1.72;
}

.auth-points {
  display: grid;
  gap: 0.85rem;
}

.auth-point {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(25, 49, 51, 0.08);
  box-shadow: var(--shadow-sm);
}

.auth-point strong {
  color: var(--color-text);
}

.auth-point span {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
}

.auth-card {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(25, 49, 51, 0.1);
  border-radius: 1.75rem;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  width: 100%;
  max-width: 100%;
  backdrop-filter: blur(14px);
}

.auth-card .auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.auth-card .auth-logo img {
  height: 2.5rem;
  width: auto;
}

.auth-card .auth-logo span {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text);
}

.auth-card h1 {
  font-size: 2rem;
  text-align: left;
  margin-bottom: 0.85rem;
  color: var(--color-text);
}

.auth-card-lead {
  margin: 0 0 1.5rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.auth-links {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.auth-links a {
  font-weight: 700;
}

/* Password strength bar */
.password-strength {
  height: 4px;
  border-radius: 2px;
  background-color: var(--color-border);
  margin-top: 0.5rem;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  border-radius: 2px;
  transition: width var(--transition-normal), background-color var(--transition-normal);
  width: 0%;
}

/* ============================================
   DASHBOARD
   ============================================ */

.collapsible-section {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.collapsible-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
  transition: background-color var(--transition-fast);
}

.collapsible-button:hover {
  background-color: var(--color-surface-elevated);
}

.collapsible-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-text-muted);
  transition: transform var(--transition-normal);
}

.collapsible-content {
  border-top: 1px solid var(--color-border-light);
}

/* ============================================
   HERO (index page)
   ============================================ */

.hero-section {
  padding: 5rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--color-bg) 0%, #ecfdf5 50%, var(--color-bg) 100%);
}

.hero-section h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-section .hero-accent {
  color: var(--color-primary);
}

.hero-section p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-section .hero-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   ERROR PAGE
   ============================================ */

.error-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-page .error-code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  opacity: 0.2;
  margin-bottom: 0.5rem;
}

.error-page .error-message {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  max-width: 24rem;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
    padding-top: 1.25rem;
  }

  .page-hero {
    padding: 1.2rem;
  }

  .page-title-block h1 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .hero-section h1 {
    font-size: 2rem;
  }
  .modal-content {
    width: 95%;
    padding: 1.25rem;
  }
  .auth-card {
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md\:w-auto {
    width: auto;
  }
  .md\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lg\:grid-cols-7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .page-hero-grid,
  .auth-shell {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MISC HELPERS
   ============================================ */

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.inline-block { display: inline-block; }

.text-center { text-align: center; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.animate-fade-in {
  animation: fadeIn var(--transition-normal) ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(0.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   BILLING & SUBSCRIPTION PAGE
   ============================================ */

.billing-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}

/* Current plan */
.current-plan-card {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.current-plan-details {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.plan-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.375rem 0;
}

.plan-detail-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.plan-detail-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

/* Plans grid */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plan-card {
  position: relative;
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.plan-card:hover {
  border-color: var(--color-primary);
}

.plan-card-active {
  border-color: var(--color-primary);
  background: rgba(5, 150, 105, 0.04);
}

.plan-card-recommended {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 1px #8b5cf6;
}

.plan-card-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: #8b5cf6;
  color: #fff;
  padding: 0.125rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.plan-card-header {
  margin-bottom: 1rem;
}

.plan-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.plan-card-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text);
}

.plan-card-interval {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-secondary);
}

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

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

.plan-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* Billing table */
.billing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.billing-table th {
  text-align: left;
  padding: 0.75rem 0.5rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  border-bottom: 2px solid var(--color-border-light);
  white-space: nowrap;
}

.billing-table td {
  padding: 0.75rem 0.5rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
}

.billing-table tbody tr:hover {
  background: var(--color-surface-alt);
}

/* Modal */
.billing-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.billing-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.billing-modal-content {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 32rem;
  box-shadow: var(--shadow-lg, 0 10px 25px rgba(0,0,0,0.15));
}

.billing-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

.billing-modal-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.billing-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

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

.billing-modal-body {
  padding: 1.5rem;
}

.billing-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Payment method selector */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.payment-method-option {
  cursor: pointer;
}

.payment-method-option input[type="radio"] {
  display: none;
}

.payment-method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
}

.payment-method-option input[type="radio"]:checked + .payment-method-card {
  border-color: var(--color-primary);
  background: rgba(5, 150, 105, 0.06);
}

.payment-method-card:hover {
  border-color: var(--color-primary);
}

/* Width helper */
.w-full { width: 100%; }

/* Margin top helper */
.mt-6 { margin-top: 1.5rem; }

/* Form label */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}
