/* Shift — dark teal workforce theme (scheduling & compliance) */

:root {
    /* Honeycomb cell 31.176×36 — same SVG tiled with half-cell offset. */
    --wh-hex-cell-w: 77.94px;  /* 31.176 × 2.5 */
    --wh-hex-cell-h: 90px;     /* 36 × 2.5 */

    --shift-bg-base: #0a1210;
    --shift-bg-top: #0f1a18;
    --shift-bg-glow-top: rgba(20, 184, 166, 0.14);
    --shift-bg-glow-bottom: rgba(245, 158, 11, 0.06);
    --shift-accent: #14b8a6;
    --shift-accent-hover: #2dd4bf;
    --shift-accent-dim: #0d9488;
    --shift-text-primary: #f2f6f7;
    --shift-text-secondary: #c5d1d6;
    --shift-text-muted: #9eb0b8;
    --shift-text-label: #7a919c;
    --shift-text-faint: #5f7680;
    --shift-surface: rgba(15, 26, 24, 0.92);
    --shift-surface-card: rgba(20, 36, 32, 0.85);
    --shift-surface-input: rgba(10, 18, 16, 0.72);
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(20, 184, 166, 0.35);
    color: var(--shift-text-primary);
}

/* App shell — same top glow as WinterHowl marketing site */
.shift-app-bg {
    background-color: var(--shift-bg-base);
    background-image:
        var(--wh-hex-bg),
        var(--wh-hex-bg),
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--shift-bg-glow-top), transparent),
        radial-gradient(ellipse 50% 40% at 90% 85%, var(--shift-bg-glow-bottom), transparent),
        linear-gradient(180deg, var(--shift-bg-top) 0%, var(--shift-bg-base) 100%);
    background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
    background-size:
        var(--wh-hex-cell-w) var(--wh-hex-cell-h),
        var(--wh-hex-cell-w) var(--wh-hex-cell-h),
        auto, auto, auto;
    background-position:
        0 0,
        calc(var(--wh-hex-cell-w) / 2) calc(var(--wh-hex-cell-h) / 2),
        center, center, center;
}

/* Sidebar */
.shift-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 16rem;
    height: 100dvh;
    max-height: 100dvh;
    flex-direction: column;
    overflow: hidden;
    background: var(--shift-surface);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.shift-app-main {
    min-width: 0;
}

@media (min-width: 1024px) {
    .shift-app-main {
        margin-left: 16rem;
    }
}

.shift-sidebar__brand {
    flex-shrink: 0;
    padding: 1rem 1rem 0;
    padding-bottom: 3rem;
}

.shift-sidebar__nav {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.125rem;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 1rem;
}

.shift-sidebar__footer {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem;
    background: var(--shift-surface);
}

.shift-sidebar__settings {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0 1rem 0.75rem;
    background: var(--shift-surface);
}

.shift-sidebar__section-divider {
    height: 1px;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
}

.shift-sidebar__section-heading {
    margin: 0 0 0.5rem;
    padding: 0 0.75rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--shift-text-label);
}

.shift-nav-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--shift-text-muted);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.shift-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--shift-text-primary);
}

.shift-nav-link.is-active {
    background: rgba(20, 184, 166, 0.15);
    color: var(--shift-text-primary);
    box-shadow: inset 3px 0 0 var(--shift-accent);
}

.shift-nav-link svg {
    width: 1.125rem;
    height: 1.125rem;
    opacity: 0.75;
}

.shift-nav-link.is-active svg {
    opacity: 1;
    color: var(--shift-accent-hover);
}

.shift-context-field {
    margin-bottom: 1rem;
}

.shift-context-field__label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--shift-text-label);
}

.shift-context-select-wrap {
    position: relative;
}

.shift-context-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.75rem;
    width: 0.5rem;
    height: 0.5rem;
    pointer-events: none;
    border-right: 1.5px solid var(--shift-text-muted);
    border-bottom: 1.5px solid var(--shift-text-muted);
    transform: translateY(-65%) rotate(45deg);
}

.shift-context-select {
    appearance: none;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 18, 16, 0.72);
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--shift-text-primary);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.shift-context-select:hover {
    border-color: rgba(45, 212, 191, 0.28);
    background: rgba(15, 26, 24, 0.92);
}

.shift-context-select:focus {
    outline: none;
    border-color: rgba(45, 212, 191, 0.45);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}

.shift-context-select optgroup {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--shift-text-label);
}

.shift-context-select option {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    color: var(--shift-text-primary);
}

.shift-context-field--inline {
    margin-bottom: 0;
}

.shift-context-select--compact {
    min-width: 10rem;
    max-width: 14rem;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    font-size: 0.75rem;
}

/* Top bar */
.shift-topbar {
    background: rgba(15, 26, 24, 0.94);
    backdrop-filter: blur(12px);
}

.shift-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 4.25rem;
    padding: 0.75rem 1.5rem;
}

.shift-topbar__inner--mobile {
    min-height: 0;
    align-items: stretch;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.875rem 1rem 1rem;
}

.shift-topbar__context {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 1.5rem;
}

.shift-topbar--mobile .shift-topbar__context {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.shift-topbar__slot {
    display: flex;
    min-width: 0;
    flex: 1 1 11rem;
    max-width: 15rem;
    flex-direction: column;
    gap: 0.375rem;
}

.shift-topbar--mobile .shift-topbar__slot {
    max-width: none;
}

.shift-topbar__slot--account {
    flex: 1 1 12rem;
    max-width: 16rem;
}

.shift-topbar__slot-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--shift-text-label);
}

.shift-topbar__slot-form {
    min-width: 0;
}

.shift-topbar__value,
.shift-topbar__select {
    box-sizing: border-box;
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    background: rgba(10, 18, 16, 0.72);
    color: var(--shift-text-primary);
}

.shift-topbar__value {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
}

.shift-topbar__value--account {
    align-items: center;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.shift-topbar__account-lines {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.125rem;
}

.shift-topbar__value-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.25;
}

.shift-topbar__value-subtext {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--shift-text-muted);
}

.shift-topbar__select-wrap {
    position: relative;
}

.shift-topbar__select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.75rem;
    width: 0.5rem;
    height: 0.5rem;
    pointer-events: none;
    border-right: 1.5px solid var(--shift-text-muted);
    border-bottom: 1.5px solid var(--shift-text-muted);
    transform: translateY(-65%) rotate(45deg);
}

.shift-topbar__select {
    appearance: none;
    padding: 0 2rem 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.shift-topbar__select:hover {
    border-color: rgba(45, 212, 191, 0.28);
    background: rgba(15, 26, 24, 0.92);
}

.shift-topbar__select:focus {
    outline: none;
    border-color: rgba(45, 212, 191, 0.45);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}

.shift-topbar__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.375rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.shift-topbar__dropdown-header {
    padding: 0.625rem 0.875rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--shift-text-label);
}

.shift-topbar__dropdown-divider {
    height: 1px;
    margin: 0.25rem 0;
    background: rgba(255, 255, 255, 0.08);
}

.shift-topbar__icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    background: transparent;
    color: var(--shift-text-muted);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.shift-topbar__icon-btn:hover,
.shift-topbar__icon-btn.is-active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--shift-text-primary);
}

.shift-topbar__icon-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.shift-topbar__badge {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.25rem;
    border-radius: 9999px;
    background: var(--shift-accent);
    color: #042f2e;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.125rem;
    text-align: center;
}

.shift-topbar__menu {
    position: relative;
}

.shift-topbar__dropdown {
    position: absolute;
    top: calc(100% + 0.375rem);
    right: 0;
    z-index: 40;
    min-width: 12rem;
    overflow: hidden;
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 26, 24, 0.98);
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.65);
}

.shift-topbar__dropdown--mobile {
    right: 0;
}

.shift-topbar__dropdown-link {
    display: block;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: var(--shift-text-secondary);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.shift-topbar__dropdown-link:hover,
.shift-topbar__dropdown-link.is-active {
    background: rgba(20, 184, 166, 0.12);
    color: var(--shift-text-primary);
}

.shift-input {
    appearance: none;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 18, 16, 0.6);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--shift-text-primary);
}

.shift-input:focus {
    outline: none;
    border-color: rgba(45, 212, 191, 0.5);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

/* Cards & panels */
.shift-card {
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(20, 36, 32, 0.85);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 24px -12px rgba(0, 0, 0, 0.5);
}

.shift-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 1.25rem;
}

.shift-card-body {
    padding: 1.25rem;
}

.contact-form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.bug-report-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 90;
}

.bug-report-modal.is-open {
    display: flex;
}

.bug-report-modal.is-open .relative {
    animation: shift-modal-in 0.25s ease-out;
}

@keyframes shift-modal-in {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Stat tiles */
.shift-stat {
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 1.125rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.shift-stat:hover {
    transform: translateY(-1px);
}

.shift-stat--default {
    background: linear-gradient(145deg, rgba(20, 184, 166, 0.12), rgba(20, 36, 32, 0.9));
    border-color: rgba(45, 212, 191, 0.2);
}

.shift-stat--schedule {
    background: linear-gradient(145deg, rgba(224, 159, 26, 0.1), rgba(20, 36, 32, 0.9));
    border-color: rgba(224, 159, 26, 0.25);
}

.shift-stat--warning {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.12), rgba(20, 36, 32, 0.9));
    border-color: rgba(239, 68, 68, 0.3);
}

.shift-stat--neutral {
    background: rgba(36, 48, 64, 0.6);
}

/* Workplace banner */
.shift-workplace {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(45, 212, 191, 0.2);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(20, 36, 32, 0.95));
    padding: 1.125rem 1.25rem;
}

/* Buttons */
.shift-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    cursor: pointer;
    border: none;
}

.shift-btn-primary {
    background: #14b8a6;
    color: #0a1210;
    box-shadow: 0 4px 14px -4px rgba(20, 184, 166, 0.5);
}

.shift-btn-primary:hover {
    background: #2dd4bf;
}

.shift-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--shift-text-secondary);
}

.shift-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.shift-btn-ghost {
    background: transparent;
    color: var(--shift-text-muted);
}

.shift-btn-ghost:hover {
    color: var(--shift-text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Links */
.shift-link {
    color: var(--shift-accent-hover);
    text-decoration: none;
    font-weight: 500;
}

.shift-link:hover {
    color: var(--shift-text-primary);
    text-decoration: underline;
}

/* Flash messages */
.shift-flash {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.shift-flash-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #bbf7d0;
}

.shift-flash-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
}

.shift-flash-warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fde68a;
}

.shift-platform-message {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.shift-platform-message__content {
    flex: 1;
}

.shift-platform-message__title {
    margin: 0 0 0.375rem;
    font-weight: 600;
}

.shift-platform-message__body {
    margin: 0;
    line-height: 1.55;
}

.shift-platform-message__action {
    margin: 0.5rem 0 0;
}

.shift-platform-message__action-link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.shift-platform-message__dismiss-form {
    flex-shrink: 0;
    margin: 0;
}

.shift-platform-message__dismiss {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    opacity: 0.85;
}

.shift-platform-message__dismiss:hover {
    opacity: 1;
}

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

.shift-form input[type="text"],
.shift-form input[type="email"],
.shift-form input[type="password"],
.shift-form input[type="date"],
.shift-form input[type="time"],
.shift-form input[type="number"],
.shift-form input[type="file"],
.shift-form select,
.shift-form textarea,
.shift-form .form-control {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 18, 16, 0.6);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--shift-text-primary);
}

.shift-form input:focus,
.shift-form select:focus,
.shift-form textarea:focus {
    outline: none;
    border-color: rgba(45, 212, 191, 0.5);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.shift-form .invalid-feedback,
.shift-form ul.form-error-message {
    font-size: 0.8125rem;
    color: #fca5a5;
    margin-top: 0.25rem;
}

/* Auth shell */
.shift-auth-bg {
    background-color: var(--shift-bg-base);
    background-image:
        var(--wh-hex-bg),
        var(--wh-hex-bg),
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--shift-bg-glow-top), transparent),
        radial-gradient(ellipse 50% 40% at 90% 85%, var(--shift-bg-glow-bottom), transparent),
        linear-gradient(180deg, var(--shift-bg-top) 0%, var(--shift-bg-base) 100%);
    background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
    background-size:
        var(--wh-hex-cell-w) var(--wh-hex-cell-h),
        var(--wh-hex-cell-w) var(--wh-hex-cell-h),
        auto, auto, auto;
    background-position:
        0 0,
        calc(var(--wh-hex-cell-w) / 2) calc(var(--wh-hex-cell-h) / 2),
        center, center, center;
}

/* Calendar week columns */
.shift-day-column {
    min-height: 10rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(20, 36, 32, 0.7);
    padding: 0.75rem;
}

.shift-day-column.is-today {
    border-color: rgba(224, 159, 26, 0.4);
    box-shadow: 0 0 0 1px rgba(224, 159, 26, 0.15);
}

.shift-shift-block {
    border-radius: 0.375rem;
    border-left: 3px solid #e09f1a;
    background: rgba(224, 159, 26, 0.1);
    padding: 0.5rem 0.625rem;
    margin-top: 0.5rem;
}

.shift-shift-block:first-of-type {
    margin-top: 0.75rem;
}

/* List rows */
.shift-list-row {
    display: block;
    border-radius: 0.5rem;
    padding: 0.75rem;
    transition: background 0.15s ease;
    text-decoration: none;
    color: inherit;
}

.shift-list-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.shift-list-row--critical {
    border: 1px solid rgba(239, 68, 68, 0.25);
    background: rgba(239, 68, 68, 0.06);
}

.shift-list-row--critical:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Badges */
.shift-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.125rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.shift-badge-critical {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.shift-badge-warning {
    background: rgba(224, 159, 26, 0.2);
    color: #fde68a;
}

.shift-badge-pending {
    background: rgba(45, 212, 191, 0.2);
    color: var(--shift-accent-hover);
}

/* Quick actions (dashboard) */
.shift-quick-action {
    display: block;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(20, 36, 32, 0.6);
    padding: 1rem 1.125rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.shift-quick-action:hover {
    border-color: rgba(45, 212, 191, 0.35);
    transform: translateY(-2px);
}

.shift-quick-action-title {
    font-weight: 600;
    color: var(--shift-text-primary);
}

.shift-quick-action-desc {
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    color: var(--shift-text-muted);
}

/* Mobile nav */
@media (max-width: 1023px) {
    #shift-mobile-menu {
        display: none;
    }

    #shift-mobile-menu.is-open {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 0.75rem;
        background: rgba(15, 26, 24, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* Symfony form theme overrides */
form div:has(> label) {
    margin-bottom: 1rem;
}

/* Legal pages */
.legal-prose {
    color: var(--shift-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.legal-meta {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--shift-text-muted);
}

.legal-prose h1 {
    margin-bottom: 0.5rem;
}

.legal-prose h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--shift-text-primary);
}

.legal-prose p,
.legal-prose ul {
    margin-bottom: 1rem;
}

.legal-prose ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.legal-prose li {
    margin-bottom: 0.375rem;
}

.legal-prose strong {
    color: var(--shift-text-primary);
    font-weight: 600;
}

.legal-callout {
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 1.5rem;
}

.legal-callout-warning {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.08);
}

.legal-callout-warning p {
    color: #fde68a;
}

.legal-callout-warning h2 {
    color: #fde68a;
}
