/* MetaMindr — Ocean Depths design system. Self-contained: no Bootstrap, no
   icon font, no Google Fonts. Replaces ~40 Bootstrap utility/component classes
   with native CSS Grid + Flexbox, and Bootstrap Icons with Unicode glyphs. */

:root {
    /* Ocean Depth palette */
    --bg-base: #0d1b2a;
    --bg-elevated: #1b2838;
    --bg-deep: #15202d;
    --od-primary: #006d77;
    --od-secondary: #83c5be;
    --od-accent: #edf6f9;
    --od-text: #e0fbfc;
    --od-text-muted: rgba(131, 197, 190, 0.8);
    --od-border: rgba(131, 197, 190, 0.15);
    --od-border-strong: rgba(131, 197, 190, 0.35);

    /* Action colors */
    --approve-color: #00d4aa;
    --approve-glow: rgba(0, 212, 170, 0.4);
    --reject-color: #ff6b8a;
    --reject-glow: rgba(255, 107, 138, 0.4);
    --warn-color: #f4d35e;
    --warn-glow: rgba(244, 211, 94, 0.3);

    /* Gradients */
    --accent-gradient: linear-gradient(135deg, #006d77 0%, #83c5be 100%);
    --approve-gradient: linear-gradient(135deg, #00a88a 0%, #00d4aa 50%, #40e0c0 100%);
    --reject-gradient: linear-gradient(135deg, #d4527a 0%, #ff6b8a 50%, #ff8fa3 100%);

    /* Shadow + glow */
    --od-glow: 0 0 30px rgba(0, 109, 119, 0.25);
    --od-glow-strong: 0 0 40px rgba(131, 197, 190, 0.3);

    /* System font stack — no network round-trip */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

    /* Spacing scale */
    --s-0: 0;
    --s-1: 0.25rem;
    --s-2: 0.5rem;
    --s-3: 1rem;
    --s-4: 1.5rem;
    --s-5: 3rem;
}

/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 16px;
    background-color: var(--bg-base);
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--font-sans);
    color: var(--od-text);
    background: linear-gradient(180deg, #0d1b2a 0%, #0a1628 50%, #071320 100%);
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    display: flex;
    flex-direction: column;
}

main { flex: 1 0 auto; }

/* Underwater caustic layer — broader radii, more pronounced ripple */
body::before {
    content: '';
    position: fixed; inset: 0;
    background:
        radial-gradient(ellipse at 10% 90%, rgba(0, 109, 119, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 10%, rgba(131, 197, 190, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 109, 119, 0.10) 0%, transparent 70%),
        radial-gradient(ellipse at 30% 30%, rgba(131, 197, 190, 0.08) 0%, transparent 35%);
    pointer-events: none;
    z-index: -1;
    animation: caustics 28s ease-in-out infinite alternate;
}
@keyframes caustics {
    0%   { opacity: 0.85; transform: translate3d(0, 0, 0) scale(1); }
    50%  { opacity: 1;    transform: translate3d(-2%, -1%, 0) scale(1.05); }
    100% { opacity: 0.9;  transform: translate3d(2%, 1%, 0) scale(1); }
}

/* Floating particle layer — denser plankton drift */
body::after {
    content: '';
    position: fixed; inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(131, 197, 190, 0.22) 0%, transparent 2.5px),
        radial-gradient(circle at 80% 70%, rgba(131, 197, 190, 0.14) 0%, transparent 1.8px),
        radial-gradient(circle at 40% 80%, rgba(237, 246, 249, 0.12) 0%, transparent 1.2px),
        radial-gradient(circle at 70% 20%, rgba(0, 109, 119, 0.18) 0%, transparent 2.2px),
        radial-gradient(circle at 12% 55%, rgba(131, 197, 190, 0.10) 0%, transparent 1.5px),
        radial-gradient(circle at 60% 45%, rgba(237, 246, 249, 0.10) 0%, transparent 1.2px);
    pointer-events: none;
    z-index: -1;
    animation: drift 35s linear infinite;
}
@keyframes drift {
    0%   { transform: translateY(0)     translateX(0); }
    100% { transform: translateY(-30px) translateX(8px); }
}

/* ============================================================================
   Undersea atmosphere — light rays from above + rising bubbles. Decorative
   layer rendered behind page content (z-index -1). The .undersea-decor wrapper
   is injected once by _Layout.cshtml; all motion is CSS keyframes.
   ============================================================================ */
.undersea-decor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Crepuscular light rays — diagonal columns of light fading downward */
.undersea-decor .ray {
    position: absolute;
    top: -10%;
    width: 18vw;
    height: 130vh;
    background: linear-gradient(180deg,
        rgba(131, 197, 190, 0.10) 0%,
        rgba(131, 197, 190, 0.05) 30%,
        transparent 80%);
    transform-origin: top center;
    transform: rotate(-8deg);
    filter: blur(40px);
    mix-blend-mode: screen;
    opacity: 0.85;
    animation: ray-sway 18s ease-in-out infinite alternate;
}
.undersea-decor .ray-1 { left: 8%;  animation-duration: 18s; animation-delay: 0s;  width: 22vw; }
.undersea-decor .ray-2 { left: 38%; animation-duration: 26s; animation-delay: -6s; width: 14vw; opacity: 0.6; }
.undersea-decor .ray-3 { left: 68%; animation-duration: 22s; animation-delay: -3s; width: 18vw; }
.undersea-decor .ray-4 { left: 88%; animation-duration: 30s; animation-delay: -10s; width: 12vw; opacity: 0.55; }
@keyframes ray-sway {
    0%   { transform: rotate(-10deg) translateX(0); }
    100% { transform: rotate(-4deg)  translateX(2vw); }
}

/* Rising bubbles — small circles drifting up, varying speeds and side-wobble */
.undersea-decor .bubble {
    position: absolute;
    bottom: -3rem;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.45), rgba(131, 197, 190, 0.18) 60%, transparent 100%);
    box-shadow: inset -0.05rem -0.1rem 0.2rem rgba(255, 255, 255, 0.3);
    opacity: 0;
    animation-name: bubble-rise;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@keyframes bubble-rise {
    0%   { transform: translate3d(0, 0, 0)        scale(0.8); opacity: 0; }
    8%   { opacity: 0.55; }
    50%  { transform: translate3d(1.5rem, -55vh, 0) scale(1); }
    92%  { opacity: 0.4; }
    100% { transform: translate3d(0, -110vh, 0)   scale(0.6); opacity: 0; }
}
/* 14 bubbles with staggered positions/timings — pseudo-random feel */
.undersea-decor .bubble:nth-child(5)  { left: 5%;  width: 0.45rem; height: 0.45rem; animation-duration: 16s; animation-delay: 0s; }
.undersea-decor .bubble:nth-child(6)  { left: 12%; width: 0.35rem; height: 0.35rem; animation-duration: 22s; animation-delay: -3s; }
.undersea-decor .bubble:nth-child(7)  { left: 22%; width: 0.6rem;  height: 0.6rem;  animation-duration: 18s; animation-delay: -7s; }
.undersea-decor .bubble:nth-child(8)  { left: 30%; width: 0.4rem;  height: 0.4rem;  animation-duration: 24s; animation-delay: -1s; }
.undersea-decor .bubble:nth-child(9)  { left: 38%; width: 0.5rem;  height: 0.5rem;  animation-duration: 20s; animation-delay: -12s; }
.undersea-decor .bubble:nth-child(10) { left: 47%; width: 0.3rem;  height: 0.3rem;  animation-duration: 14s; animation-delay: -5s; }
.undersea-decor .bubble:nth-child(11) { left: 55%; width: 0.55rem; height: 0.55rem; animation-duration: 26s; animation-delay: -9s; }
.undersea-decor .bubble:nth-child(12) { left: 62%; width: 0.35rem; height: 0.35rem; animation-duration: 18s; animation-delay: -15s; }
.undersea-decor .bubble:nth-child(13) { left: 70%; width: 0.45rem; height: 0.45rem; animation-duration: 22s; animation-delay: -2s; }
.undersea-decor .bubble:nth-child(14) { left: 78%; width: 0.6rem;  height: 0.6rem;  animation-duration: 16s; animation-delay: -8s; }
.undersea-decor .bubble:nth-child(15) { left: 86%; width: 0.4rem;  height: 0.4rem;  animation-duration: 20s; animation-delay: -11s; }
.undersea-decor .bubble:nth-child(16) { left: 92%; width: 0.5rem;  height: 0.5rem;  animation-duration: 17s; animation-delay: -4s; }
.undersea-decor .bubble:nth-child(17) { left: 16%; width: 0.3rem;  height: 0.3rem;  animation-duration: 28s; animation-delay: -14s; }
.undersea-decor .bubble:nth-child(18) { left: 75%; width: 0.45rem; height: 0.45rem; animation-duration: 19s; animation-delay: -6s; }

@media (prefers-reduced-motion: reduce) {
    .undersea-decor .ray, .undersea-decor .bubble,
    body::before, body::after { animation: none; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 { margin: 0 0 var(--s-3); font-weight: 600; line-height: 1.2; color: var(--od-text); }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.9rem; }
p { margin: 0 0 var(--s-3); }
a { color: var(--od-secondary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--od-text); text-shadow: 0 0 12px rgba(131, 197, 190, 0.4); }
hr { border: 0; border-top: 1px solid var(--od-border); margin: var(--s-3) 0; }
small { font-size: 0.8rem; }
code { font-family: var(--font-mono); font-size: 0.9em; padding: 0.1em 0.3em; background: rgba(0, 109, 119, 0.15); border-radius: 4px; color: var(--od-secondary); }

::selection { background: rgba(0, 109, 119, 0.4); color: var(--od-text); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--od-primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--od-secondary); }

/* Layout: container + grid */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--s-3);
    padding-left: var(--s-3);
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--s-3);
}
.row.g-3 { gap: var(--s-3); }
.row.g-2 { gap: var(--s-2); }
.row > [class*="col-"] { min-width: 0; }

/* Mobile-first: cols span full width by default, then break to wider screens */
[class*="col-md-"], [class*="col-lg-"] { grid-column: span 12; }

@media (min-width: 768px) {
    .col-md-3 { grid-column: span 3; }
    .col-md-4 { grid-column: span 4; }
    .col-md-6 { grid-column: span 6; }
    .col-md-8 { grid-column: span 8; }
    .col-md-12 { grid-column: span 12; }
}
@media (min-width: 992px) {
    .col-lg-6 { grid-column: span 6; }
    .col-lg-4 { grid-column: span 4; }
    .col-lg-8 { grid-column: span 8; }
}

/* Spacing utilities — 0..5 scale matches Bootstrap's 0/0.25/0.5/1/1.5/3rem */
.m-0 { margin: 0; } .m-1 { margin: var(--s-1); } .m-2 { margin: var(--s-2); } .m-3 { margin: var(--s-3); } .m-4 { margin: var(--s-4); } .m-5 { margin: var(--s-5); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: var(--s-1); } .mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: var(--s-1); } .mb-2 { margin-bottom: var(--s-2); } .mb-3 { margin-bottom: var(--s-3); } .mb-4 { margin-bottom: var(--s-4); } .mb-5 { margin-bottom: var(--s-5); }
.ms-0 { margin-left: 0; } .ms-1 { margin-left: var(--s-1); } .ms-2 { margin-left: var(--s-2); } .ms-3 { margin-left: var(--s-3); } .ms-auto { margin-left: auto; }
.me-0 { margin-right: 0; } .me-1 { margin-right: var(--s-1); } .me-2 { margin-right: var(--s-2); } .me-3 { margin-right: var(--s-3); } .me-auto { margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-0 { padding: 0; } .p-1 { padding: var(--s-1); } .p-2 { padding: var(--s-2); } .p-3 { padding: var(--s-3); } .p-4 { padding: var(--s-4); } .p-5 { padding: var(--s-5); }
.pt-0 { padding-top: 0; } .pt-2 { padding-top: var(--s-2); } .pt-3 { padding-top: var(--s-3); } .pt-4 { padding-top: var(--s-4); }
.pb-0 { padding-bottom: 0; } .pb-2 { padding-bottom: var(--s-2); } .pb-3 { padding-bottom: var(--s-3); } .pb-4 { padding-bottom: var(--s-4); } .pb-5 { padding-bottom: var(--s-5); }
.py-2 { padding-top: var(--s-2); padding-bottom: var(--s-2); }
.py-3 { padding-top: var(--s-3); padding-bottom: var(--s-3); }
.py-4 { padding-top: var(--s-4); padding-bottom: var(--s-4); }
.px-2 { padding-left: var(--s-2); padding-right: var(--s-2); }
.px-3 { padding-left: var(--s-3); padding-right: var(--s-3); }

.gap-1 { gap: var(--s-1); } .gap-2 { gap: var(--s-2); } .gap-3 { gap: var(--s-3); } .gap-4 { gap: var(--s-4); }

/* Display + flex utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.d-grid { display: grid; }
@media (min-width: 768px) {
    .d-md-block { display: block; }
    .d-md-flex { display: flex; }
    .d-md-none { display: none; }
}
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.justify-content-start { justify-content: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
.justify-content-between { justify-content: space-between; }
.align-items-start { align-items: flex-start; }
.align-items-center { align-items: center; }
.align-items-end { align-items: flex-end; }

/* Typography utilities */
.text-start { text-align: left; }
.text-center { text-align: center; }
.text-end { text-align: right; }
.text-muted { color: var(--od-text-muted); }
.text-primary { color: var(--od-primary); }
.text-secondary { color: var(--od-secondary); }
.text-info { color: var(--od-secondary); }
.text-success { color: var(--approve-color); }
.text-warning { color: var(--warn-color); }
.text-danger { color: var(--reject-color); }
.text-dark { color: var(--bg-base); }
.text-white { color: #fff; }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.small { font-size: 0.85rem; }
.text-decoration-underline { text-decoration: underline; }
.display-1 { font-size: 4rem; font-weight: 300; line-height: 1; }
.display-4 { font-size: 2.25rem; font-weight: 600; line-height: 1.1; color: var(--od-secondary); }

/* Sizing */
.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Card */
.card {
    background: linear-gradient(180deg, rgba(27, 40, 56, 0.9) 0%, rgba(21, 32, 45, 0.95) 100%);
    border: 1px solid var(--od-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(131, 197, 190, 0.05);
    backdrop-filter: blur(5px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card:hover {
    border-color: rgba(131, 197, 190, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--od-glow);
}
.card-header {
    background: rgba(0, 109, 119, 0.12);
    border-bottom: 1px solid var(--od-border);
    padding: var(--s-3);
    color: var(--od-text);
}
.card-header h5, .card-header h6 { margin: 0; }
.card-body { padding: var(--s-3); flex: 1 1 auto; }
.card-title { font-size: 1.1rem; margin-bottom: var(--s-2); }
.shadow { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); }
.border-danger { border-color: rgba(255, 107, 138, 0.5) !important; }
.border-danger .card-header { background: rgba(255, 107, 138, 0.12); border-color: rgba(255, 107, 138, 0.3); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    padding: 0.6rem 1.1rem;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.2s ease, border-color 0.2s ease;
    background: rgba(131, 197, 190, 0.12);
    color: var(--od-secondary);
    border-color: var(--od-border);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(131, 197, 190, 0.4); }

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(0, 109, 119, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.btn-primary:hover { box-shadow: 0 6px 26px rgba(0, 109, 119, 0.5), var(--od-glow); color: #fff; }

.btn-secondary {
    background: rgba(131, 197, 190, 0.15);
    border-color: var(--od-border);
    color: var(--od-secondary);
}
.btn-secondary:hover { background: rgba(131, 197, 190, 0.25); border-color: var(--od-border-strong); color: var(--od-text); box-shadow: 0 0 18px rgba(131, 197, 190, 0.2); }

.btn-success { background: var(--approve-gradient); color: var(--bg-base); border-color: transparent; box-shadow: 0 4px 18px var(--approve-glow); }
.btn-success:hover { color: var(--bg-base); box-shadow: 0 6px 28px var(--approve-glow), 0 0 36px var(--approve-glow); }

.btn-warning {
    background: linear-gradient(135deg, #d4a93a 0%, #f4d35e 100%);
    color: var(--bg-base);
    border-color: transparent;
    box-shadow: 0 4px 18px var(--warn-glow);
}
.btn-warning:hover { color: var(--bg-base); box-shadow: 0 6px 28px var(--warn-glow); }

.btn-danger { background: var(--reject-gradient); color: var(--bg-base); border-color: transparent; box-shadow: 0 4px 18px var(--reject-glow); }
.btn-danger:hover { color: var(--bg-base); box-shadow: 0 6px 28px var(--reject-glow); }

.btn-outline-danger { background: transparent; color: var(--reject-color); border-color: var(--reject-color); }
.btn-outline-danger:hover { background: var(--reject-gradient); color: var(--bg-base); border-color: transparent; }
.btn-outline-secondary { background: transparent; color: var(--od-secondary); border-color: var(--od-border-strong); }
.btn-outline-secondary:hover { background: rgba(131, 197, 190, 0.15); color: var(--od-text); }
.btn-outline-primary { background: transparent; color: var(--od-secondary); border-color: var(--od-primary); }
.btn-outline-primary:hover { background: var(--accent-gradient); color: #fff; border-color: transparent; }
.btn-outline-info { background: transparent; color: var(--od-secondary); border-color: var(--od-border-strong); }
.btn-outline-info:hover { background: rgba(0, 109, 119, 0.18); color: var(--od-text); }
.btn-outline-warning { background: transparent; color: var(--warn-color); border-color: var(--warn-color); }
.btn-outline-warning:hover { background: rgba(244, 211, 94, 0.15); color: var(--warn-color); }

.btn-sm { padding: 0.35rem 0.7rem; font-size: 0.825rem; border-radius: 6px; }
.btn-lg { padding: 0.85rem 1.5rem; font-size: 1.05rem; border-radius: 10px; }

.btn-close {
    background: transparent;
    border: 0;
    color: var(--od-text-muted);
    font-size: 1.4rem;
    line-height: 1;
    padding: 0 0.4rem;
    cursor: pointer;
}
.btn-close::before { content: '\00d7'; }
.btn-close:hover { color: var(--od-text); }

/* Forms */
.form-label { display: block; margin-bottom: 0.4rem; color: var(--od-secondary); font-size: 0.9rem; font-weight: 500; }
.form-control, .form-select, input[type="number"], input[type="text"], input[type="email"], input[type="password"], textarea, select {
    display: block;
    width: 100%;
    padding: 0.6rem 0.85rem;
    font-size: 1rem;
    color: var(--od-text);
    background: rgba(10, 34, 51, 0.7);
    border: 1px solid var(--od-border);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-family: inherit;
    line-height: 1.4;
}
.form-control::placeholder, input::placeholder, textarea::placeholder { color: rgba(131, 197, 190, 0.45); }
.form-control:focus, .form-select:focus, input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--od-primary);
    background: rgba(10, 34, 51, 0.95);
    box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.18), 0 0 18px rgba(0, 109, 119, 0.15);
}
.form-control-sm, .form-select-sm { padding: 0.35rem 0.65rem; font-size: 0.85rem; }

/* Custom select — popover-based dropdown that escapes the dialog's
   overflow:hidden by living in the top layer. Replaces native <select>
   to eliminate the native popup paint lag (gray-flash on click). */
.custom-select { position: relative; display: block; width: 100%; }
.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    padding: 0.35rem 0.65rem;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--od-text);
    background: rgba(10, 34, 51, 0.7);
    border: 1px solid var(--od-border);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.custom-select-trigger:hover {
    border-color: rgba(131, 197, 190, 0.35);
    background: rgba(10, 34, 51, 0.9);
}
.custom-select-trigger[aria-expanded="true"] {
    border-color: var(--od-primary);
    background: rgba(10, 34, 51, 0.95);
    box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.18);
}
.custom-select-arrow {
    font-size: 0.7rem;
    color: var(--od-text-muted);
    transition: transform 0.2s ease;
}
.custom-select-trigger[aria-expanded="true"] .custom-select-arrow { transform: rotate(180deg); }

.custom-select-options {
    position: fixed;
    inset: auto;
    margin: 0;
    padding: 0.25rem;
    list-style: none;
    background: linear-gradient(180deg, #1b2838 0%, #15202d 100%);
    border: 1px solid var(--od-border-strong);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    max-height: 280px;
    overflow-y: auto;
    color: var(--od-text);
}
.custom-select-options:not(:popover-open) { display: none; }
.custom-select-options [role="option"] {
    padding: 0.45rem 0.65rem;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}
.custom-select-options [role="option"]:hover {
    background: rgba(0, 109, 119, 0.3);
    color: var(--od-secondary);
}

.form-check { display: flex; align-items: center; gap: 0.5rem; padding-left: 0; }
.form-check-input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--od-primary); cursor: pointer; }
.form-check-label { color: var(--od-text-muted); cursor: pointer; }

.input-group { display: flex; align-items: stretch; width: 100%; }
.input-group > .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.85rem;
    background: rgba(0, 109, 119, 0.15);
    border: 1px solid var(--od-border);
    border-right: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    color: var(--od-secondary);
    transition: background 0.2s ease, border-color 0.2s ease;
}
.input-group:focus-within .input-group-text { background: rgba(0, 109, 119, 0.25); border-color: var(--od-primary); }

/* Alerts. Plain block layout — was previously display:flex with flex-wrap,
   which turned each text node and child element into an independent flex
   item that wrapped awkwardly across multiple lines on narrow viewports.
   Block + the icon's own inline-flex display flows text naturally. */
.alert {
    position: relative;
    padding: 0.85rem 1.1rem;
    margin-bottom: var(--s-3);
    border: 1px solid transparent;
    border-radius: 10px;
    line-height: 1.45;
}
.alert-success { background: rgba(0, 212, 170, 0.15); border-color: rgba(0, 212, 170, 0.3); color: var(--approve-color); }
.alert-danger { background: rgba(255, 107, 138, 0.15); border-color: rgba(255, 107, 138, 0.3); color: var(--reject-color); }
.alert-warning { background: rgba(244, 211, 94, 0.12); border-color: rgba(244, 211, 94, 0.3); color: var(--warn-color); }
.alert-info { background: rgba(0, 109, 119, 0.18); border-color: rgba(0, 109, 119, 0.35); color: var(--od-secondary); }
.alert-dismissible { padding-right: 2.5rem; }
.alert-dismissible .btn-close { position: absolute; top: 0.5rem; right: 0.5rem; }
.rounded-0 { border-radius: 0 !important; }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(131, 197, 190, 0.2);
    color: var(--od-secondary);
    line-height: 1;
}
.bg-success { background: var(--approve-gradient); color: var(--bg-base); }
.bg-warning { background: rgba(244, 211, 94, 0.85); color: var(--bg-base); }
.bg-danger { background: var(--reject-gradient); color: var(--bg-base); }
.bg-secondary { background: rgba(131, 197, 190, 0.2); color: var(--od-secondary); }

/* Navbar — sticky so it stays accessible on scroll. Backdrop-blur softens
   the page content sliding underneath it. */
.navbar {
    background: linear-gradient(180deg, rgba(27, 40, 56, 0.95) 0%, rgba(27, 40, 56, 0.88) 100%);
    border-bottom: 1px solid var(--od-border);
    box-shadow: var(--od-glow), 0 4px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.6rem 0;
    margin-bottom: var(--s-4);
    position: sticky;
    top: 0;
    z-index: 1020;
}
.navbar > .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 109, 119, 0.5);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.navbar-brand:hover { text-shadow: 0 0 40px rgba(131, 197, 190, 0.6); }
.navbar-toggler {
    display: none;
    background: transparent;
    border: 1px solid var(--od-border-strong);
    border-radius: 6px;
    padding: 0.3rem 0.55rem;
    color: var(--od-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}
.navbar-toggler::before { content: '\2630'; /* trigram */ }
.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-item { display: flex; align-items: center; }
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.85rem;
    color: var(--od-text);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease, text-shadow 0.2s ease;
    cursor: pointer;
}
.nav-link:hover { color: var(--od-secondary); text-shadow: 0 0 10px rgba(131, 197, 190, 0.4); background: rgba(131, 197, 190, 0.06); }
.nav-link.active { color: var(--od-secondary); background: rgba(0, 109, 119, 0.15); }

@media (max-width: 991px) {
    .navbar > .container { flex-wrap: wrap; }
    .navbar-toggler { display: inline-flex; align-items: center; }
    .navbar-collapse { flex-basis: 100%; display: none; }
    .navbar-collapse.show { display: block; }
    .navbar-nav { flex-direction: column; align-items: stretch; gap: 0.1rem; padding-top: var(--s-2); }
    .nav-link { padding: 0.65rem 0.85rem; }
}

/* Dropdown — uses [data-open] attribute toggled by JS */
.dropdown { position: relative; }
.dropdown-toggle::after {
    content: '\25be'; /* down triangle */
    margin-left: 0.4rem;
    font-size: 0.8em;
    color: var(--od-text-muted);
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    min-width: 12rem;
    padding: 0.4rem 0;
    margin: 0;
    list-style: none;
    background: rgba(27, 40, 56, 0.97);
    border: 1px solid var(--od-border);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
}
.dropdown[data-open] > .dropdown-menu { display: block; }
.dropdown-menu-end { left: auto; right: 0; }
.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.45rem 0.85rem;
    color: var(--od-text);
    background: transparent;
    border: 0;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.dropdown-item:hover, .dropdown-item:focus { background: rgba(0, 109, 119, 0.2); color: var(--od-secondary); }

/* Tables */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table {
    width: 100%;
    margin-bottom: var(--s-3);
    border-collapse: collapse;
    color: var(--od-text);
}
.table th, .table td {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--od-border);
    vertical-align: middle;
    text-align: left;
}
.table thead th {
    background: rgba(0, 109, 119, 0.18);
    color: var(--od-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.table-dark { background: transparent; }
.table-hover tbody tr:hover { background: rgba(0, 109, 119, 0.1); }
.table-light { background: rgba(131, 197, 190, 0.06); }
.table-secondary { color: var(--od-text-muted); }
.table-secondary td { color: var(--od-text-muted); }

/* Vertical rule */
.vr { display: inline-block; width: 1px; min-height: 1.5em; background: var(--od-border); margin: 0 0.4rem; align-self: stretch; }

/* Modal — display:none default, .show flips it on. JS adds the class. */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}
.modal.show { display: block; }
.modal-dialog {
    position: relative;
    width: auto;
    max-width: 500px;
    margin: var(--s-4) auto;
    pointer-events: none;
}
.modal-lg { max-width: 800px; }
.modal-content {
    pointer-events: auto;
    background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-deep) 100%);
    border: 1px solid var(--od-border);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--od-glow);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--s-5));
    overflow: hidden;
}
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: var(--s-3); border-bottom: 1px solid var(--od-border); }
.modal-title { margin: 0; font-size: 1.15rem; }
.modal-body { padding: var(--s-3); overflow-y: auto; }
.modal-footer { display: flex; justify-content: flex-end; gap: 0.5rem; padding: var(--s-3); border-top: 1px solid var(--od-border); }
body.modal-open { overflow: hidden; }

/* Footer */
footer {
    background: linear-gradient(180deg, rgba(27, 40, 56, 0.5) 0%, rgba(13, 27, 42, 0.95) 100%);
    border-top: 1px solid var(--od-border);
    color: var(--od-text-muted);
    padding: var(--s-3) 0;
    margin-top: auto;
    flex-shrink: 0;
}

/* Icons — Bootstrap Icons replacement via Unicode glyphs (no font, no SVG file).
   `<i class="bi bi-foo"></i>` markup is preserved. The :before content is the
   icon. Sized at 1em so it inherits surrounding type. */
.bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    min-width: 1em;
    height: 1em;
    line-height: 1;
    font-style: normal;
    font-weight: normal;
    text-align: center;
    vertical-align: -0.125em;
}
.bi::before { display: inline-block; line-height: 1; font-size: 1.05em; }

.bi-arrow-clockwise::before { content: '\21bb'; }
.bi-arrow-counterclockwise::before { content: '\21ba'; }
.bi-arrow-repeat::before { content: '\21bb'; }
.bi-at::before { content: '@'; font-size: 0.95em; }
.bi-box-arrow-in-right::before { content: '\21e5'; }
.bi-box-arrow-right::before { content: '\21aa'; }
.bi-check-all::before { content: '\2713\2713'; letter-spacing: -0.25em; padding-right: 0.25em; }
.bi-check-circle::before { content: '\229a'; }
.bi-check-circle-fill::before { content: '\2705'; font-size: 0.95em; }
.bi-check-lg::before { content: '\2713'; font-weight: 700; }
.bi-chevron-down::before { content: '\02c7'; transform: scaleY(-1); display: inline-block; }
.bi-circle::before { content: '\25cb'; }
.bi-clipboard::before { content: '\1f4cb'; font-size: 0.9em; }
.bi-cloud::before { content: '\2601'; }
.bi-cloud-download::before { content: '\21a1'; }
.bi-cloud-slash::before { content: '\2298'; }
.bi-code-slash::before { content: '\2329\232a'; letter-spacing: -0.2em; padding-right: 0.2em; }
.bi-credit-card::before { content: '\25ad'; }
.bi-envelope::before { content: '\2709'; }
.bi-exclamation-triangle-fill::before { content: '\26a0'; }
.bi-gear::before { content: '\2699'; }
.bi-hand-thumbs-up::before { content: '\2605'; }
.bi-hourglass::before { content: '\231b'; }
.bi-house::before { content: '\2302'; }
.bi-images::before { content: '\1f5bc'; font-size: 0.9em; }
.bi-inbox::before { content: '\2398'; }
.bi-info-circle::before { content: '\24d8'; }
.bi-info-circle-fill::before { content: '\24d8'; }
.bi-key::before { content: '\26b7'; }
.bi-key-fill::before { content: '\26b7'; }
.bi-link-45deg::before { content: '\1f517'; font-size: 0.9em; }
.bi-list-ul::before { content: '\2630'; }
.bi-lock::before { content: '\1f512'; font-size: 0.9em; }
.bi-lock-fill::before { content: '\1f512'; font-size: 0.9em; }
.bi-pencil::before { content: '\270e'; }
.bi-person-circle::before { content: '\263a'; }
.bi-person-plus::before { content: '\2641'; }
.bi-plus-circle::before { content: '\2295'; }
.bi-plus-lg::before { content: '+'; font-weight: 700; font-size: 1.1em; }
.bi-rocket-takeoff::before { content: '\27a4'; transform: rotate(-45deg); display: inline-block; }
.bi-search::before { content: '\1f50d'; font-size: 0.9em; }
.bi-shield-check::before { content: '\26ca'; }
.bi-shield-exclamation::before { content: '\26ca'; }
.bi-shield-lock::before { content: '\26ca'; }
.bi-stars::before { content: '\2728'; font-size: 0.9em; }
.bi-ticket-perforated::before { content: '\1f3ab'; font-size: 0.9em; }
.bi-trash::before { content: '\2716'; }
.bi-unlink::before { content: '\26d4'; }
.bi-unlock::before { content: '\1f513'; font-size: 0.9em; }
.bi-unlock-fill::before { content: '\1f513'; font-size: 0.9em; }
.bi-water::before { content: '\1f4a7'; font-size: 0.9em; }
.bi-x-lg::before { content: '\2715'; font-weight: 700; }

/* Validation message styling */
.validation-message, .field-validation-error {
    color: var(--reject-color);
    font-size: 0.82rem;
    margin-top: 0.3rem;
    display: block;
}

/* Fade transition (alerts) */
.fade { transition: opacity 0.15s linear; }
.fade:not(.show) { opacity: 0; }

/* Misc */
[hidden] { display: none !important; }

/* ============================================================================
   Gallery table — desktop renders as a normal table (cells styled by .table
   rules above). At <=767px the table reflows into a card-style grid per row
   so the user doesn't have to horizontally-scroll to reach the action buttons.
   Layout per card: checkbox spans full height on the left; on the right,
   title sits at top, then a stats row (N photos · M need review · Status
   badge), then the action buttons row.
   ============================================================================ */
.gallery-table .cell-label { display: none; }

@media (max-width: 767px) {
    .gallery-table,
    .gallery-table thead,
    .gallery-table tbody,
    .gallery-table tr,
    .gallery-table td { display: block; }
    .gallery-table thead { display: none; }
    .gallery-table tbody { display: block; }

    .table-responsive:has(.gallery-table) { overflow-x: visible; }

    .gallery-table tr {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 0.85rem;
        row-gap: 0.45rem;
        padding: 0.85rem 1rem;
        border-bottom: 1px solid var(--od-border);
        align-items: start;
    }
    .gallery-table tr:last-child { border-bottom: 0; }

    .gallery-table td {
        padding: 0;
        border: 0;
        text-align: left;
    }

    /* Checkbox column spans the full card height on the left */
    .gallery-table .cell-check {
        grid-column: 1;
        grid-row: 1 / -1;
        padding-top: 0.25rem;
        align-self: start;
    }

    /* Right column: title, then stats row, then actions row */
    .gallery-table .cell-title {
        grid-column: 2;
        font-weight: 600;
        font-size: 1rem;
        color: var(--od-text);
        word-break: break-word;
    }

    /* Stats row: photos · needs-review · status all share one row, separated
       by inline-flex spacing. Achieved by collapsing them via display:flex on
       the wrapping row equivalent — since they're separate <td>s in the grid,
       use grid-row to force them onto the same row and grid-column to flow. */
    .gallery-table .cell-photos,
    .gallery-table .cell-needs-review,
    .gallery-table .cell-status {
        grid-column: 2;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.88rem;
        color: var(--od-text-muted);
    }
    .gallery-table .cell-status { color: var(--od-text); }

    .gallery-table .cell-label {
        display: inline;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--od-text-muted);
        font-weight: 500;
    }
    .gallery-table .cell-value {
        font-weight: 600;
        color: var(--od-text);
    }

    /* Actions row: side-by-side buttons */
    .gallery-table .cell-actions {
        grid-column: 2;
        display: flex;
        gap: 0.4rem;
        padding-top: 0.35rem;
    }
    .gallery-table .cell-actions .btn { margin: 0; }
    .gallery-table .cell-actions .btn-caption { margin-left: 0; }

    /* Active-run progress row from the inline `<tr>` with colspan="6" inserted
       after a gallery row. Span the full card width. */
    .gallery-table tr td[colspan] {
        grid-column: 1 / -1;
        padding: 0.5rem 0 0;
    }
}

/* ============================================================================
   Round 3 — Undersea theme amplification
   ============================================================================ */

/* Bioluminescent glow pulse — applied to hero titles, balance, etc. */
@keyframes biolume-pulse {
    0%, 100% { text-shadow: 0 0 24px rgba(131, 197, 190, 0.35), 0 0 48px rgba(0, 109, 119, 0.25); }
    50%      { text-shadow: 0 0 36px rgba(131, 197, 190, 0.55), 0 0 72px rgba(0, 212, 170, 0.35); }
}
.biolume {
    animation: biolume-pulse 5s ease-in-out infinite;
}

/* Sonar ping — expanding ripple from primary CTAs on click. Pure CSS via
   a pseudo-element scaled out from the button's center. The :active variant
   triggers via a .sonar class that JS could toggle, but with `:active` alone
   it fires on every click. */
.btn-primary {
    position: relative;
    overflow: visible;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    border: 2px solid rgba(131, 197, 190, 0.6);
    opacity: 0;
    transform: scale(1);
}
.btn-primary:active::after {
    animation: sonar-ping 0.7s ease-out;
}
@keyframes sonar-ping {
    0%   { opacity: 0.85; transform: scale(1); }
    80%  { opacity: 0;    transform: scale(2.2); }
    100% { opacity: 0;    transform: scale(2.4); }
}

/* Wave SVG divider — sits between sections on Home. Full-bleed: breaks out
   of the parent .container's max-width so the wave reaches the viewport edges
   instead of stopping at the content column. body has overflow-x:hidden so
   100vw can't introduce a horizontal scrollbar. */
.wave-divider {
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 1rem;
    margin-bottom: 1rem;
    height: 3rem;
    overflow: hidden;
    position: relative;
}
.wave-divider svg {
    position: absolute;
    inset: 0;
    width: 200%;
    height: 100%;
    animation: wave-drift 16s linear infinite;
}
@keyframes wave-drift {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------------------
   Marine SVG icon overrides. Markup `<i class="bi bi-X">` stays — these CSS
   rules layer a mask-image on top of the Round 1 Unicode glyph fallback and
   replace the text glyph with a proper silhouette. Scoped to the most-visible
   icons (auth flow, brand, empty states, key CTAs); everything else keeps
   its Unicode fallback for now.
   ---------------------------------------------------------------------------- */
.bi-water,
.bi-cloud-slash,
.bi-stars,
.bi-rocket-takeoff,
.bi-cloud-download,
.bi-cloud,
.bi-images,
.bi-hand-thumbs-up,
.bi-credit-card,
.bi-gear,
.bi-search,
.bi-house,
.bi-envelope,
.bi-key,
.bi-key-fill,
.bi-lock,
.bi-lock-fill,
.bi-unlock,
.bi-unlock-fill,
.bi-shield-check,
.bi-shield-exclamation,
.bi-shield-lock,
.bi-info-circle,
.bi-info-circle-fill,
.bi-check-lg,
.bi-x-lg,
.bi-plus-lg,
.bi-pencil,
.bi-link-45deg,
.bi-box-arrow-in-right,
.bi-box-arrow-right,
.bi-person-circle,
.bi-person-plus,
.bi-ticket-perforated,
.bi-list-ul,
.bi-trash,
.bi-arrow-clockwise,
.bi-arrow-counterclockwise,
.bi-arrow-repeat,
.bi-chevron-down,
.bi-check-circle,
.bi-check-circle-fill,
.bi-exclamation-triangle-fill,
.bi-clipboard,
.bi-circle,
.bi-inbox,
.bi-hourglass,
.bi-at,
.bi-plus-circle,
.bi-check-all,
.bi-code-slash,
.bi-unlink {
    background-color: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 1em;
    height: 1em;
    vertical-align: -0.18em;
}
.bi-water::before,
.bi-cloud-slash::before,
.bi-stars::before,
.bi-rocket-takeoff::before,
.bi-cloud-download::before,
.bi-cloud::before,
.bi-images::before,
.bi-hand-thumbs-up::before,
.bi-credit-card::before,
.bi-gear::before,
.bi-search::before,
.bi-house::before,
.bi-envelope::before,
.bi-key::before, .bi-key-fill::before,
.bi-lock::before, .bi-lock-fill::before,
.bi-unlock::before, .bi-unlock-fill::before,
.bi-shield-check::before, .bi-shield-exclamation::before, .bi-shield-lock::before,
.bi-info-circle::before, .bi-info-circle-fill::before,
.bi-check-lg::before, .bi-x-lg::before, .bi-plus-lg::before,
.bi-pencil::before, .bi-link-45deg::before,
.bi-box-arrow-in-right::before, .bi-box-arrow-right::before,
.bi-person-circle::before, .bi-person-plus::before,
.bi-ticket-perforated::before, .bi-list-ul::before, .bi-trash::before,
.bi-arrow-clockwise::before, .bi-arrow-counterclockwise::before, .bi-arrow-repeat::before,
.bi-chevron-down::before, .bi-check-circle::before, .bi-check-circle-fill::before,
.bi-exclamation-triangle-fill::before, .bi-clipboard::before, .bi-circle::before,
.bi-inbox::before, .bi-hourglass::before, .bi-at::before, .bi-plus-circle::before,
.bi-check-all::before, .bi-code-slash::before, .bi-unlink::before {
    content: none;
}

/* Marine + utility SVG masks. 24x24 viewBox, fill-based silhouettes so the
   mask alpha is solid. `currentColor` fills via mask-image + background-color. */
.bi-water        { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2.5s-7 8-7 13a7 7 0 0 0 14 0c0-5-7-13-7-13z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2.5s-7 8-7 13a7 7 0 0 0 14 0c0-5-7-13-7-13z'/></svg>"); }
.bi-cloud-slash  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M19.5 18a4.5 4.5 0 0 0-3-7.95A6 6 0 0 0 5 12.5'/><path d='M3 3l18 18'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M19.5 18a4.5 4.5 0 0 0-3-7.95A6 6 0 0 0 5 12.5'/><path d='M3 3l18 18'/></svg>"); }
.bi-cloud        { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><path d='M18 18a4 4 0 0 0-1-7.87A6 6 0 0 0 5 12'/><path d='M5 12a4 4 0 0 0 .5 8H17'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><path d='M18 18a4 4 0 0 0-1-7.87A6 6 0 0 0 5 12'/><path d='M5 12a4 4 0 0 0 .5 8H17'/></svg>"); }
.bi-cloud-download { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M18 14a4 4 0 0 0-1-7.87A6 6 0 0 0 5 8'/><path d='M5 8a4 4 0 0 0 .5 8H8'/><path d='M12 11v9m0 0l-3-3m3 3l3-3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M18 14a4 4 0 0 0-1-7.87A6 6 0 0 0 5 8'/><path d='M5 8a4 4 0 0 0 .5 8H8'/><path d='M12 11v9m0 0l-3-3m3 3l3-3'/></svg>"); }
.bi-stars        { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 1.5l1.6 5.4 5.4 1.6-5.4 1.6L12 15.5 10.4 10l-5.4-1.5L10.4 7z'/><path d='M19 14l.7 2.3 2.3.7-2.3.7L19 20l-.7-2.3-2.3-.7 2.3-.7z'/><path d='M5 16l.5 1.6 1.6.4-1.6.4L5 20l-.5-1.6-1.6-.4 1.6-.4z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 1.5l1.6 5.4 5.4 1.6-5.4 1.6L12 15.5 10.4 10l-5.4-1.5L10.4 7z'/><path d='M19 14l.7 2.3 2.3.7-2.3.7L19 20l-.7-2.3-2.3-.7 2.3-.7z'/><path d='M5 16l.5 1.6 1.6.4-1.6.4L5 20l-.5-1.6-1.6-.4 1.6-.4z'/></svg>"); }
.bi-rocket-takeoff { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'/><path d='M9 11l1 4-2 1-3-3 1-2 3-1z'/><path d='M14.5 4.5c1.5-1.5 6.5-2.5 6.5-2.5s-1 5-2.5 6.5c-2.83 2.83-7.5 4.5-9.5 4.5L9.5 14c0-2 1.67-6.67 4.5-9.5z'/><circle cx='15' cy='9' r='1.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'/><path d='M9 11l1 4-2 1-3-3 1-2 3-1z'/><path d='M14.5 4.5c1.5-1.5 6.5-2.5 6.5-2.5s-1 5-2.5 6.5c-2.83 2.83-7.5 4.5-9.5 4.5L9.5 14c0-2 1.67-6.67 4.5-9.5z'/><circle cx='15' cy='9' r='1.5'/></svg>"); }
.bi-images       { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><rect x='6' y='4' width='15' height='15' rx='2'/><path d='M3 7v13a1 1 0 0 0 1 1h13'/><circle cx='11' cy='10' r='1.5' fill='black'/><path d='M21 14l-4-4-7 7'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><rect x='6' y='4' width='15' height='15' rx='2'/><path d='M3 7v13a1 1 0 0 0 1 1h13'/><circle cx='11' cy='10' r='1.5' fill='black'/><path d='M21 14l-4-4-7 7'/></svg>"); }
.bi-hand-thumbs-up { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><path d='M7 11v9H4a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1h3z'/><path d='M7 11l4-7c1.5 0 2.5 1 2.5 2.5V10h5a2 2 0 0 1 1.97 2.34l-1.4 7A2 2 0 0 1 17.1 21H7v-10z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><path d='M7 11v9H4a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1h3z'/><path d='M7 11l4-7c1.5 0 2.5 1 2.5 2.5V10h5a2 2 0 0 1 1.97 2.34l-1.4 7A2 2 0 0 1 17.1 21H7v-10z'/></svg>"); }
.bi-credit-card  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><rect x='2' y='5' width='20' height='14' rx='2'/><path d='M2 10h20' stroke-width='2'/><path d='M6 15h3' stroke-linecap='round'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><rect x='2' y='5' width='20' height='14' rx='2'/><path d='M2 10h20' stroke-width='2'/><path d='M6 15h3' stroke-linecap='round'/></svg>"); }
.bi-gear         { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><circle cx='12' cy='12' r='3'/><path d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><circle cx='12' cy='12' r='3'/><path d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/></svg>"); }
.bi-search       { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M16.5 16.5l4.5 4.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M16.5 16.5l4.5 4.5'/></svg>"); }
.bi-house        { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><path d='M3 11l9-8 9 8'/><path d='M5 9.5V20a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9.5'/><path d='M10 21v-6h4v6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><path d='M3 11l9-8 9 8'/><path d='M5 9.5V20a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9.5'/><path d='M10 21v-6h4v6'/></svg>"); }
.bi-envelope     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='M3 7l9 6 9-6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='M3 7l9 6 9-6'/></svg>"); }
.bi-key, .bi-key-fill { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><circle cx='8' cy='15' r='4'/><path d='M11 12l9-9'/><path d='M16 7l3 3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><circle cx='8' cy='15' r='4'/><path d='M11 12l9-9'/><path d='M16 7l3 3'/></svg>"); }
.bi-lock, .bi-lock-fill { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'><rect x='4' y='10' width='16' height='11' rx='2'/><path d='M8 10V7a4 4 0 0 1 8 0v3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'><rect x='4' y='10' width='16' height='11' rx='2'/><path d='M8 10V7a4 4 0 0 1 8 0v3'/></svg>"); }
.bi-unlock, .bi-unlock-fill { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'><rect x='4' y='10' width='16' height='11' rx='2'/><path d='M8 10V7a4 4 0 0 1 7-1.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'><rect x='4' y='10' width='16' height='11' rx='2'/><path d='M8 10V7a4 4 0 0 1 7-1.5'/></svg>"); }
.bi-shield-check { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><path d='M12 2l8 3v6c0 5-3.5 9.5-8 11-4.5-1.5-8-6-8-11V5z'/><path d='M9 12l2 2 4-4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><path d='M12 2l8 3v6c0 5-3.5 9.5-8 11-4.5-1.5-8-6-8-11V5z'/><path d='M9 12l2 2 4-4'/></svg>"); }
.bi-shield-exclamation { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><path d='M12 2l8 3v6c0 5-3.5 9.5-8 11-4.5-1.5-8-6-8-11V5z'/><path d='M12 8v4'/><circle cx='12' cy='15.5' r='1' fill='black'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><path d='M12 2l8 3v6c0 5-3.5 9.5-8 11-4.5-1.5-8-6-8-11V5z'/><path d='M12 8v4'/><circle cx='12' cy='15.5' r='1' fill='black'/></svg>"); }
.bi-shield-lock  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><path d='M12 2l8 3v6c0 5-3.5 9.5-8 11-4.5-1.5-8-6-8-11V5z'/><rect x='9' y='11' width='6' height='5' rx='0.6'/><path d='M10.5 11v-1.5a1.5 1.5 0 0 1 3 0V11'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><path d='M12 2l8 3v6c0 5-3.5 9.5-8 11-4.5-1.5-8-6-8-11V5z'/><rect x='9' y='11' width='6' height='5' rx='0.6'/><path d='M10.5 11v-1.5a1.5 1.5 0 0 1 3 0V11'/></svg>"); }
.bi-info-circle, .bi-info-circle-fill { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><path d='M12 11v5'/><circle cx='12' cy='8' r='1' fill='black'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><path d='M12 11v5'/><circle cx='12' cy='8' r='1' fill='black'/></svg>"); }
.bi-check-lg     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l5 5L20 6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l5 5L20 6'/></svg>"); }
.bi-x-lg         { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'><path d='M6 6l12 12M18 6L6 18'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'><path d='M6 6l12 12M18 6L6 18'/></svg>"); }
.bi-plus-lg, .bi-plus-circle { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>"); }
.bi-pencil       { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><path d='M16 3l5 5L8 21H3v-5L16 3z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><path d='M16 3l5 5L8 21H3v-5L16 3z'/></svg>"); }
.bi-link-45deg, .bi-unlink { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M9 15l6-6'/><path d='M11 6l1.5-1.5a4.24 4.24 0 0 1 6 6L17 12'/><path d='M13 18l-1.5 1.5a4.24 4.24 0 0 1-6-6L7 12'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M9 15l6-6'/><path d='M11 6l1.5-1.5a4.24 4.24 0 0 1 6 6L17 12'/><path d='M13 18l-1.5 1.5a4.24 4.24 0 0 1-6-6L7 12'/></svg>"); }
.bi-box-arrow-in-right { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><path d='M3 5h7v14H3'/><path d='M14 12h8m0 0l-4-4m4 4l-4 4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><path d='M3 5h7v14H3'/><path d='M14 12h8m0 0l-4-4m4 4l-4 4'/></svg>"); }
.bi-box-arrow-right { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><path d='M14 5h7v14h-7'/><path d='M3 12h11m0 0l-4-4m4 4l-4 4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><path d='M14 5h7v14h-7'/><path d='M3 12h11m0 0l-4-4m4 4l-4 4'/></svg>"); }
.bi-person-circle { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><circle cx='12' cy='10' r='3'/><path d='M5.5 19c1.4-2.4 3.7-4 6.5-4s5.1 1.6 6.5 4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><circle cx='12' cy='10' r='3'/><path d='M5.5 19c1.4-2.4 3.7-4 6.5-4s5.1 1.6 6.5 4'/></svg>"); }
.bi-person-plus  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><circle cx='9' cy='8' r='4'/><path d='M2 21c0-3.5 3.1-6 7-6s7 2.5 7 6'/><path d='M19 8v6m-3-3h6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><circle cx='9' cy='8' r='4'/><path d='M2 21c0-3.5 3.1-6 7-6s7 2.5 7 6'/><path d='M19 8v6m-3-3h6'/></svg>"); }
.bi-ticket-perforated { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><path d='M3 8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v2a2 2 0 0 0 0 4v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2a2 2 0 0 0 0-4z'/><path d='M9 6v3m0 3v3m0 3v3' stroke-dasharray='2 2'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><path d='M3 8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v2a2 2 0 0 0 0 4v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2a2 2 0 0 0 0-4z'/><path d='M9 6v3m0 3v3m0 3v3' stroke-dasharray='2 2'/></svg>"); }
.bi-list-ul      { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M9 6h12M9 12h12M9 18h12'/><circle cx='4' cy='6' r='1' fill='black' stroke='none'/><circle cx='4' cy='12' r='1' fill='black' stroke='none'/><circle cx='4' cy='18' r='1' fill='black' stroke='none'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M9 6h12M9 12h12M9 18h12'/><circle cx='4' cy='6' r='1' fill='black' stroke='none'/><circle cx='4' cy='12' r='1' fill='black' stroke='none'/><circle cx='4' cy='18' r='1' fill='black' stroke='none'/></svg>"); }
.bi-trash        { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><path d='M3 6h18'/><path d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/><path d='M5 6l1 14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2l1-14'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><path d='M3 6h18'/><path d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/><path d='M5 6l1 14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2l1-14'/></svg>"); }
.bi-arrow-clockwise, .bi-arrow-repeat { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12a9 9 0 1 1-3-6.7'/><path d='M21 4v5h-5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12a9 9 0 1 1-3-6.7'/><path d='M21 4v5h-5'/></svg>"); }
.bi-arrow-counterclockwise { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12a9 9 0 1 0 3-6.7'/><path d='M3 4v5h5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12a9 9 0 1 0 3-6.7'/><path d='M3 4v5h5'/></svg>"); }
.bi-chevron-down { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); }
.bi-check-circle, .bi-check-circle-fill { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M8 12l3 3 5-6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M8 12l3 3 5-6'/></svg>"); }
.bi-exclamation-triangle-fill { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 2.5L1.7 21h20.6L12 2.5zm0 5l7 13H5l7-13zm-1 4v5h2v-5h-2zm0 6.5v2h2v-2h-2z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 2.5L1.7 21h20.6L12 2.5zm0 5l7 13H5l7-13zm-1 4v5h2v-5h-2zm0 6.5v2h2v-2h-2z'/></svg>"); }
.bi-clipboard    { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><rect x='5' y='5' width='14' height='17' rx='2'/><rect x='9' y='2' width='6' height='4' rx='1'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><rect x='5' y='5' width='14' height='17' rx='2'/><rect x='9' y='2' width='6' height='4' rx='1'/></svg>"); }
.bi-circle       { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'><circle cx='12' cy='12' r='9'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'><circle cx='12' cy='12' r='9'/></svg>"); }
.bi-inbox        { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M22 13l-3.5-7a2 2 0 0 0-1.8-1H7.3a2 2 0 0 0-1.8 1L2 13'/><path d='M2 13h6l2 3h4l2-3h6v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M22 13l-3.5-7a2 2 0 0 0-1.8-1H7.3a2 2 0 0 0-1.8 1L2 13'/><path d='M2 13h6l2 3h4l2-3h6v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2z'/></svg>"); }
.bi-hourglass    { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><path d='M6 3h12'/><path d='M6 21h12'/><path d='M6 3v3a6 6 0 0 0 12 0V3'/><path d='M6 21v-3a6 6 0 0 1 12 0v3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><path d='M6 3h12'/><path d='M6 21h12'/><path d='M6 3v3a6 6 0 0 0 12 0V3'/><path d='M6 21v-3a6 6 0 0 1 12 0v3'/></svg>"); }
.bi-at           { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'><circle cx='12' cy='12' r='4'/><path d='M16 8v6a3 3 0 0 0 6 0 10 10 0 1 0-3 7'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'><circle cx='12' cy='12' r='4'/><path d='M16 8v6a3 3 0 0 0 6 0 10 10 0 1 0-3 7'/></svg>"); }
.bi-check-all    { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 14l4 4 8-10'/><path d='M10 14l4 4 8-10'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 14l4 4 8-10'/><path d='M10 14l4 4 8-10'/></svg>"); }
.bi-code-slash   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><path d='M9 6l-6 6 6 6'/><path d='M15 6l6 6-6 6'/><path d='M14 4l-4 16'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'><path d='M9 6l-6 6 6 6'/><path d='M15 6l6 6-6 6'/><path d='M14 4l-4 16'/></svg>"); }

/* ============================================================================
   Native <dialog> styling — the captioning popup uses dialog.showModal().
   Browsers give <dialog> a default white background + dark border + padding;
   strip those so the inner gradient div is what shows. Add a blurred backdrop
   for visual separation from the page beneath.
   ============================================================================ */
dialog.caption-modal {
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--od-text);
    border-radius: 12px;
    overflow: hidden;
    max-width: min(420px, 92vw);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 109, 119, 0.25);
}
dialog.caption-modal::backdrop {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Pagination — site.css doesn't ship Bootstrap, so the markup needs explicit
   styles or the <ul> falls back to default browser disc bullets and a
   vertical block layout (which is what surfaced on mobile in /Sync). */
.pagination {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}
.page-item { list-style: none; }
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
    line-height: 1;
    color: var(--od-secondary);
    background: transparent;
    border: 1px solid var(--od-border);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.page-link:hover {
    background: rgba(131, 197, 190, 0.12);
    border-color: var(--od-border-strong);
    color: var(--od-text);
}
.page-item.active .page-link {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 12px rgba(0, 109, 119, 0.35);
}
.page-item.disabled .page-link {
    color: var(--od-text-muted);
    background: transparent;
    border-color: var(--od-border);
    pointer-events: none;
    opacity: 0.5;
}
.pagination-sm .page-link {
    min-width: 2rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Caption All modal — cost hierarchy + section grouping. */
.caption-all-divider {
    border: 0;
    border-top: 1px solid var(--od-border);
    margin: 1rem 0;
}

.caption-all-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.caption-all-scope-line {
    font-size: 0.9rem;
    color: var(--od-text-muted);
}

.caption-all-cost-hero {
    background: rgba(0, 109, 119, 0.12);
    border: 1px solid var(--od-border-strong);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.caption-all-cost-label {
    font-size: 0.78rem;
    color: var(--od-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.caption-all-cost-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--od-text);
    margin: 0.25rem 0 0.5rem;
    line-height: 1;
    letter-spacing: -0.01em;
}

.caption-all-cost-balance {
    font-size: 0.85rem;
    color: var(--od-text-muted);
}

.caption-all-cost-balance .short-by {
    color: var(--reject-color);
    font-weight: 600;
}

.caption-all-note {
    font-size: 0.85rem;
    color: var(--reject-color);
}
