:root {
    --app-bg: #f4f7fb;
    --app-panel: rgba(255, 255, 255, 0.88);
    --app-border: rgba(128, 144, 165, 0.18);
    --app-text: #162033;
    --app-muted: #69758a;
    --app-primary: #0f766e;
    --app-primary-dark: #0b5f58;
    --app-accent: #ffedd5;
    --app-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    --field-bg: rgba(248, 250, 252, 0.95);
    --field-border: rgba(148, 163, 184, 0.28);
    --field-focus: rgba(15, 118, 110, 0.18);
}

/* Full-screen auth ocean intro */
.auth-intro {
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.86), transparent 24%),
        radial-gradient(circle at 18% 20%, rgba(125, 211, 252, 0.26), transparent 24%),
        radial-gradient(circle at 82% 16%, rgba(45, 212, 191, 0.16), transparent 20%),
        linear-gradient(180deg, #f6fdff 0%, #eef9fc 52%, #ebf5f9 100%);
}

.auth-intro-skyglow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.78), transparent 20%),
        radial-gradient(circle at 76% 14%, rgba(224, 247, 255, 0.58), transparent 18%);
    pointer-events: none;
}

.auth-intro-waterfield {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(186, 230, 253, 0.45) 0%, rgba(103, 232, 249, 0.56) 18%, rgba(34, 197, 211, 0.72) 44%, rgba(14, 165, 233, 0.84) 72%, rgba(8, 145, 178, 0.94) 100%);
    box-shadow: inset 0 24px 90px rgba(255, 255, 255, 0.16);
}

.auth-intro.is-playing .auth-intro-waterfield {
    animation: authOceanPulse 7.8s ease-in-out infinite;
}

.auth-intro-current,
.auth-intro-surface,
.auth-intro-seabed,
.auth-intro-seaweed,
.auth-intro-fish,
.auth-intro-jelly,
.auth-intro-seahorse,
.auth-intro-starfish,
.auth-intro-turtle,
.auth-intro-bubble {
    position: absolute;
}

.auth-intro-current {
    inset: 0;
    background:
        radial-gradient(circle at 18% 34%, rgba(255, 255, 255, 0.12), transparent 14%),
        radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.1), transparent 16%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.08) 8%, transparent 22%, transparent 48%, rgba(255, 255, 255, 0.08) 62%, transparent 76%);
    mix-blend-mode: screen;
    animation: authOceanCurrent 8.4s linear infinite;
}

.auth-intro-waterfield::before,
.auth-intro-waterfield::after {
    content: "";
    position: absolute;
    inset: -8% -12%;
    pointer-events: none;
}

.auth-intro-waterfield::before {
    background:
        radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.18), transparent 18%),
        radial-gradient(circle at 72% 34%, rgba(255, 255, 255, 0.16), transparent 22%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.04) 14%, transparent 26%, transparent 46%, rgba(255, 255, 255, 0.08) 58%, transparent 74%);
    mix-blend-mode: screen;
    animation: authOceanCurrent 10.8s linear infinite reverse;
}

.auth-intro-waterfield::after {
    inset: auto -8% -2%;
    height: 28%;
    background: linear-gradient(180deg, rgba(4, 47, 78, 0) 0%, rgba(4, 47, 78, 0.18) 42%, rgba(3, 37, 65, 0.34) 100%);
}

.auth-intro-surface {
    left: -10%;
    width: 120%;
    background: rgba(239, 253, 255, 0.94);
    border-radius: 48% 52% 0 0 / 100% 100% 0 0;
    transform-origin: center top;
}

.auth-intro-surface-back {
    top: -34px;
    height: 68px;
    opacity: 0.5;
    animation: authSurfaceDrift 4.6s ease-in-out infinite;
}

.auth-intro-surface-front {
    top: -26px;
    height: 54px;
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.18);
    animation: authSurfaceDriftFront 3.2s ease-in-out infinite;
}

.auth-intro-fish {
    width: 54px;
    height: 24px;
    border-radius: 60% 48% 52% 54%;
    filter: drop-shadow(0 10px 18px rgba(8, 51, 68, 0.12));
}

.auth-intro-fish::before {
    content: "";
    position: absolute;
    right: -12px;
    top: 4px;
    width: 18px;
    height: 16px;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    background: inherit;
}

.auth-intro-fish::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.28);
}

.fish-1 {
    top: 22%;
    left: 12%;
    background: linear-gradient(90deg, #fef3c7 0%, #fb7185 56%, #f97316 100%);
    animation: authFishCruise 7.2s ease-in-out infinite;
}

.fish-2 {
    top: 46%;
    left: 72%;
    width: 42px;
    height: 20px;
    transform: scaleX(-1);
    background: linear-gradient(90deg, #e0f2fe 0%, #60a5fa 54%, #2563eb 100%);
    animation: authFishCruiseReverse 8.4s ease-in-out infinite;
}

.fish-3 {
    top: 62%;
    left: 28%;
    width: 36px;
    height: 17px;
    background: linear-gradient(90deg, #d9f99d 0%, #4ade80 55%, #14b8a6 100%);
    animation: authFishGlide 9.4s ease-in-out infinite;
}

.auth-intro-jelly {
    top: 30%;
    left: 64%;
    width: 46px;
    height: 56px;
    border-radius: 56% 56% 44% 44% / 48% 48% 52% 52%;
    background: radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.94), rgba(186, 230, 253, 0.92) 42%, rgba(125, 211, 252, 0.74) 68%, rgba(56, 189, 248, 0.3) 100%);
    box-shadow: 0 14px 24px rgba(56, 189, 248, 0.16);
    animation: authJellyFloat 5.6s ease-in-out infinite;
}

.auth-intro-jelly::before,
.auth-intro-jelly::after {
    content: "";
    position: absolute;
    bottom: -18px;
    width: 18px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(191, 219, 254, 0.84), rgba(125, 211, 252, 0.08));
}

.auth-intro-jelly::before {
    left: 10px;
    transform: rotate(8deg);
}

.auth-intro-jelly::after {
    right: 10px;
    transform: rotate(-10deg);
}

.auth-intro-seahorse {
    top: 50%;
    left: 18%;
    width: 32px;
    height: 58px;
    border-radius: 48% 52% 58% 42% / 26% 26% 74% 74%;
    background: linear-gradient(180deg, #fde68a 0%, #f59e0b 56%, #ea580c 100%);
    box-shadow: 0 10px 18px rgba(234, 88, 12, 0.18);
    animation: authSeahorseFloat 6.8s ease-in-out infinite;
}

.auth-intro-seahorse::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff7ed;
    box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.24);
}

.auth-intro-seahorse::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 8px;
    width: 18px;
    height: 22px;
    border: 4px solid rgba(234, 88, 12, 0.92);
    border-left-color: transparent;
    border-top-color: transparent;
    border-radius: 50%;
    transform: rotate(18deg);
}

.auth-intro-starfish {
    bottom: 14%;
    right: 24%;
    width: 28px;
    height: 28px;
    background: #fda4af;
    clip-path: polygon(50% 0%, 61% 34%, 100% 40%, 70% 61%, 79% 100%, 50% 77%, 21% 100%, 30% 61%, 0% 40%, 39% 34%);
    filter: drop-shadow(0 8px 12px rgba(244, 63, 94, 0.18));
    transform: rotate(8deg);
    animation: authStarfishWiggle 4.8s ease-in-out infinite;
}

.auth-intro-turtle {
    top: 56%;
    left: 58%;
    width: 74px;
    height: 40px;
    border-radius: 52% 48% 46% 54%;
    background: linear-gradient(135deg, #86efac 0%, #22c55e 46%, #15803d 100%);
    box-shadow: 0 12px 20px rgba(21, 128, 61, 0.16);
    animation: authTurtleSwim 11s ease-in-out infinite;
}

.auth-intro-turtle::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 11px;
    width: 18px;
    height: 14px;
    border-radius: 50%;
    background: #a7f3d0;
}

.auth-intro-turtle::after {
    content: "";
    position: absolute;
    inset: 7px 10px 8px;
    border-radius: 48%;
    border: 2px solid rgba(236, 253, 245, 0.36);
}

.auth-intro-bubble {
    bottom: -8%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(224, 242, 254, 0.22) 58%, rgba(125, 211, 252, 0.05) 76%, transparent 78%);
    border: 1px solid rgba(255, 255, 255, 0.32);
    opacity: 0.76;
    animation: authBubbleRise linear infinite;
}

.bubble-1 {
    left: 12%;
    width: 12px;
    height: 12px;
    animation-duration: 10.2s;
    animation-delay: -1.4s;
}

.bubble-2 {
    left: 26%;
    width: 9px;
    height: 9px;
    animation-duration: 8.8s;
    animation-delay: -4.8s;
}

.bubble-3 {
    left: 44%;
    width: 16px;
    height: 16px;
    animation-duration: 11.4s;
    animation-delay: -2.3s;
}

.bubble-4 {
    left: 68%;
    width: 10px;
    height: 10px;
    animation-duration: 9.6s;
    animation-delay: -6.1s;
}

.bubble-5 {
    left: 84%;
    width: 14px;
    height: 14px;
    animation-duration: 12.2s;
    animation-delay: -3.7s;
}

.auth-intro-seabed {
    left: -10%;
    right: -10%;
    bottom: -2%;
    height: 18%;
    background: linear-gradient(180deg, rgba(14, 116, 144, 0.16) 0%, rgba(8, 47, 73, 0.18) 100%);
}

.auth-intro-seaweed {
    bottom: 6%;
    width: 12px;
    height: 98px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, rgba(134, 239, 172, 0.92), rgba(20, 184, 166, 0.76) 60%, rgba(6, 95, 70, 0.46) 100%);
    transform-origin: center bottom;
    animation: authSeaweedSway 3.8s ease-in-out infinite;
}

.seaweed-1 {
    left: 12%;
    height: 86px;
    animation-delay: -0.4s;
}

.seaweed-2 {
    left: 18%;
    height: 102px;
    animation-delay: -1.6s;
}

.seaweed-3 {
    right: 14%;
    height: 92px;
    animation-delay: -2.2s;
}

.auth-intro-preview-body {
    margin: 0;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 18%, rgba(125, 211, 252, 0.16), transparent 22%),
        radial-gradient(circle at 82% 16%, rgba(94, 234, 212, 0.14), transparent 18%),
        linear-gradient(180deg, #f7fdff 0%, #eff8fb 56%, #e8f2f7 100%);
}

.auth-intro-preview-body .auth-intro {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.auth-intro-preview-toolbar {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 32;
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 36px rgba(8, 51, 68, 0.12);
    backdrop-filter: blur(16px);
    transform: translateX(-50%);
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.38s ease, visibility 0.38s ease;
}

body.page-loading .page-loader,
.page-loader.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.page-loader-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(125, 211, 252, 0.14), transparent 24%),
        radial-gradient(circle at 82% 14%, rgba(94, 234, 212, 0.1), transparent 20%),
        rgba(242, 248, 251, 0.54);
    backdrop-filter: blur(8px);
}

.page-loader-card {
    position: relative;
    width: min(252px, calc(100vw - 40px));
    padding: 18px 18px 16px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow: 0 22px 44px rgba(8, 51, 68, 0.1);
}

.page-loader-card::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    pointer-events: none;
}

.page-loader-swim-lane {
    position: relative;
    height: 88px;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.66), transparent 34%),
        linear-gradient(180deg, rgba(232, 248, 252, 0.96) 0%, rgba(205, 241, 246, 0.98) 100%);
}

.page-loader-swim-lane::before,
.page-loader-swim-lane::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    height: 1px;
    background: rgba(15, 118, 110, 0.08);
    border-radius: 999px;
}

.page-loader-swim-lane::before {
    top: 26px;
}

.page-loader-swim-lane::after {
    bottom: 22px;
}

.page-loader-swimmer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 112px;
    height: 62px;
    transform: translate(-50%, -50%);
    animation: pageLoaderSwim 2.4s ease-in-out infinite;
}

.page-loader-creature {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 16px rgba(8, 51, 68, 0.1));
}

.page-loader-track {
    position: relative;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
}

.page-loader-track-fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #67e8f9 0%, #22d3ee 45%, #14b8a6 100%);
    transform-origin: left center;
    animation: pageLoaderTrack 1.3s ease-in-out infinite;
}

.page-loader[data-loader-creature="manta-ray"] .page-loader-swimmer {
    width: 126px;
}

.page-loader[data-loader-creature="whale-shark"] .page-loader-swimmer {
    width: 128px;
}

.page-loader[data-loader-creature="seahorse"] .page-loader-swimmer {
    width: 62px;
}

.page-loader[data-loader-creature="turtle"] .page-loader-swimmer {
    width: 118px;
}

.page-loader[data-loader-creature="clownfish"] .page-loader-swimmer {
    width: 104px;
}

@keyframes pageLoaderSwim {
    0%,
    100% {
        transform: translate(-50%, -50%) translateX(-18px) translateY(2px) rotate(-2deg);
    }

    50% {
        transform: translate(-50%, -50%) translateX(18px) translateY(-2px) rotate(2deg);
    }
}

@keyframes pageLoaderTrack {
    0% {
        transform: translateX(-58%) scaleX(0.24);
    }

    50% {
        transform: translateX(0) scaleX(0.56);
    }

    100% {
        transform: translateX(58%) scaleX(0.24);
    }
}

@keyframes authOceanPulse {
    0%, 100% {
        transform: translate3d(0, 0, 0) scaleY(1);
    }
    50% {
        transform: translate3d(0, -0.6%, 0) scaleY(1.015);
    }
}

@keyframes pageLoaderWaveBack {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(-2.5%) rotate(-0.8deg);
    }
}

@keyframes pageLoaderWaveFront {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(2.5%) rotate(0.9deg);
    }
}

@keyframes pageLoaderFishSwim {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(104px, -10px, 0);
    }
}

@keyframes pageLoaderBubbleRise {
    0% {
        transform: translate3d(0, 0, 0) scale(0.82);
        opacity: 0;
    }
    18% {
        opacity: 0.74;
    }
    100% {
        transform: translate3d(-8px, -76px, 0) scale(1.06);
        opacity: 0;
    }
}

@keyframes authSurfaceDrift {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(-3%) rotate(-0.8deg);
    }
}

@keyframes authSurfaceDriftFront {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(3%) rotate(0.8deg);
    }
}

@keyframes authOceanCurrent {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-6%, 3%, 0);
    }
}

@keyframes authFishCruise {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(58px, -18px, 0);
    }
}

@keyframes authFishCruiseReverse {
    0%, 100% {
        transform: scaleX(-1) translate3d(0, 0, 0);
    }
    50% {
        transform: scaleX(-1) translate3d(52px, 14px, 0);
    }
}

@keyframes authFishGlide {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(-2deg);
    }
    50% {
        transform: translate3d(92px, -12px, 0) rotate(3deg);
    }
}

@keyframes authJellyFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-18px) scale(1.04);
    }
}

@keyframes authTurtleSwim {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(-96px, -20px, 0) rotate(-4deg);
    }
}

@keyframes authSeahorseFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(-4deg);
    }
    50% {
        transform: translate3d(18px, -18px, 0) rotate(6deg);
    }
}

@keyframes authStarfishWiggle {
    0%, 100% {
        transform: rotate(8deg) scale(1);
    }
    50% {
        transform: rotate(-4deg) scale(1.06);
    }
}

@keyframes authBubbleRise {
    0% {
        transform: translate3d(0, 0, 0) scale(0.78);
        opacity: 0;
    }
    12% {
        opacity: 0.72;
    }
    100% {
        transform: translate3d(-18px, -112vh, 0) scale(1.08);
        opacity: 0;
    }
}

@keyframes authSeaweedSway {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(7deg);
    }
}

@media (max-width: 768px) {
    .fish-1 {
        top: 20%;
    }

    .fish-2 {
        top: 48%;
        left: 66%;
    }

    .auth-intro-jelly {
        top: 34%;
        left: 62%;
        width: 40px;
        height: 50px;
    }

    .auth-intro-turtle {
        width: 62px;
        height: 34px;
        left: 54%;
    }

    .auth-intro-preview-toolbar {
        bottom: 16px;
        gap: 8px;
        padding: 8px;
    }

    .page-loader-card {
        width: min(220px, calc(100vw - 32px));
        padding: 12px;
        border-radius: 24px;
    }

    .page-loader-swim-lane {
        height: 78px;
        border-radius: 18px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.app-body {
    margin: 0;
    font-family: "Pretendard Variable", "Noto Sans KR", "Segoe UI", sans-serif;
    color: var(--app-text);
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.15), transparent 26%),
        radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.10), transparent 24%),
        linear-gradient(180deg, #eff4fb 0%, #f7f9fc 48%, #eef2f8 100%);
}

.app-shell {
    min-height: 100vh;
    display: flex;
}

.app-sidebar {
    width: 288px;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 22px;
    background: rgba(10, 18, 31, 0.92);
    color: #fff;
    position: sticky;
    top: 0;
    height: 100vh;
    box-shadow: 18px 0 60px rgba(15, 23, 42, 0.16);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #22c55e, #14b8a6);
    color: #06131a;
    font-weight: 800;
}

.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.platform-brand-logo {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.16);
}

.sidebar-nav {
    display: grid;
    gap: 10px;
    margin-top: 32px;
}

.sidebar-nav .nav-link,
.mobile-nav-list .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.sidebar-nav .nav-link.active,
.sidebar-nav .nav-link:hover,
.mobile-nav-list .nav-link.active,
.mobile-nav-list .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-1px);
}

.sidebar-footer {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.role-badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.app-main {
    flex: 1;
    min-width: 0;
}

.app-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 32px 0;
}

.app-topbar-brand {
    display: flex;
    align-items: center;
    gap: 0;
}

.app-topbar-logo,
.app-topbar-logo-fallback {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    flex: 0 0 auto;
}

.app-topbar-logo {
    object-fit: cover;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.app-topbar-logo-platform {
    filter: drop-shadow(0 8px 16px rgba(15, 118, 110, 0.12));
}

.app-topbar-logo-fallback {
    display: grid;
    place-items: center;
    background: transparent;
    color: #0f766e;
    font-weight: 800;
    font-size: 14px;
}

.app-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.app-topbar-profile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 22px;
    min-width: 22px;
    height: 22px;
    min-height: 22px;
    border: 0;
    background: transparent;
    color: #334155;
    font: inherit;
    cursor: pointer;
    box-shadow: none;
    appearance: none;
}

.app-topbar-profile-button:hover,
.app-topbar-profile-button:focus,
.app-topbar-profile-button:active {
    background: transparent !important;
    border-color: transparent !important;
    color: #0f766e !important;
    box-shadow: none !important;
}

.app-topbar-profile-icon {
    display: block;
    font-size: 19px;
    line-height: 1;
}

.app-topbar-avatar,
.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1d4ed8, #0ea5a3);
    color: #fff;
    font-weight: 800;
}

.app-topbar-profile-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.app-topbar-profile-copy strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-topbar-profile-copy span {
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.app-notification-button {
    position: relative;
    width: 22px;
    min-width: 22px;
    height: 22px;
    min-height: 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #334155;
    box-shadow: none;
    appearance: none;
}

.app-notification-button:hover,
.app-notification-button:focus,
.app-notification-button:active {
    background: transparent !important;
    color: #0f766e !important;
    box-shadow: none !important;
}

.app-notification-button i {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.app-notification-badge {
    position: absolute;
    top: -7px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.app-notification-button[data-notification-state="pending"] .app-notification-badge {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.app-notification-button.is-read .app-notification-badge {
    display: none;
}

.app-profile-menu {
    width: min(220px, calc(100vw - 24px));
    margin-top: 10px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.app-profile-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.app-profile-menu .dropdown-item:hover,
.app-profile-menu .dropdown-item:focus {
    background: rgba(248, 250, 252, 0.92);
    color: #0f172a;
}

.app-profile-menu .dropdown-item.text-danger {
    color: #dc2626 !important;
}

.app-profile-menu .dropdown-divider {
    margin: 6px 0;
}

.app-profile-menu-form {
    margin: 0;
}

.app-notification-menu {
    width: min(360px, calc(100vw - 24px));
    margin-top: 10px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.app-notification-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.app-notification-list {
    max-height: 420px;
    overflow-y: auto;
}

.app-notification-item {
    display: grid;
    gap: 8px;
    padding: 14px 18px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    transition: background-color 0.18s ease;
}

.app-notification-item:last-child {
    border-bottom: 0;
}

.app-notification-item:hover {
    color: inherit;
    background: rgba(248, 250, 252, 0.9);
}

.app-notification-item-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-notification-item-top strong {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.app-notification-item p {
    margin: 0;
    color: #334155;
    font-size: 13px;
    line-height: 1.5;
}

.app-notification-item-meta {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}

.app-notification-item-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.app-notification-item-badge.success {
    background: #e9fbef;
    color: #18794e;
}

.app-notification-item-badge.warning {
    background: #fff5db;
    color: #9a6700;
}

.app-notification-item-badge.danger {
    background: #fff1f2;
    color: #be123c;
}

.app-notification-item-badge.info {
    background: #eef6ff;
    color: #1f4b99;
}

.app-notification-empty {
    padding: 20px 18px;
    color: #64748b;
    font-size: 14px;
    text-align: center;
}

.page-title-strip {
    margin-bottom: 18px;
}

.app-page-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.app-content {
    padding: 28px 32px 96px;
}

.btn-danger-soft {
    border: 0;
    border-radius: 14px;
    padding: 11px 16px;
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    font-weight: 800;
}

.btn-danger-soft:hover,
.btn-danger-soft:focus,
.btn-danger-soft:active {
    background: rgba(239, 68, 68, 0.18) !important;
    color: #991b1b !important;
    box-shadow: none !important;
}

.profile-summary-card {
    display: grid;
    gap: 20px;
}

.profile-kakao-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: #fee500;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.profile-kakao-link-button:hover,
.profile-kakao-link-button:focus {
    color: rgba(0, 0, 0, 0.85);
    border-color: rgba(15, 23, 42, 0.12);
    background: #fee500;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
}

.profile-logout-area {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.profile-logout-area form {
    width: min(100%, 360px);
}

.profile-logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(185, 28, 28, 0.2);
    border-radius: 12px;
    background: #dc2626;
    color: #ffffff;
    font-weight: 800;
}

.profile-logout-button:hover,
.profile-logout-button:focus {
    background: #b91c1c;
    color: #ffffff;
}

.profile-summary-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-summary-avatar {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1d4ed8, #0ea5a3);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    flex: 0 0 auto;
}

.profile-summary-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-summary-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.profile-summary-copy h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.profile-summary-copy p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.profile-summary-org {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.profile-summary-org img,
.profile-summary-org-fallback {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    flex: 0 0 auto;
}

.profile-summary-org img {
    object-fit: cover;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.profile-summary-org-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #22c55e, #14b8a6);
    color: #06131a;
    font-weight: 800;
}

.profile-summary-org strong,
.profile-summary-org span {
    display: block;
}

.profile-summary-org strong {
    font-size: 15px;
    font-weight: 800;
}

.profile-summary-org span {
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.profile-stat-card {
    display: grid;
    gap: 10px;
    min-height: 100%;
}

.profile-stat-card span {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.profile-stat-card strong {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.profile-stat-card p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.profile-detail-list {
    display: grid;
    gap: 12px;
}

.profile-detail-list.compact {
    gap: 10px;
}

.profile-detail-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.84);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.profile-detail-item span {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.profile-detail-item strong {
    text-align: right;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.profile-link-grid {
    display: grid;
    gap: 12px;
}

.profile-form-stack {
    display: grid;
    gap: 14px;
}

.profile-form-stack .form-group,
.profile-form-stack .actions {
    width: 100%;
}

.profile-form-stack .form-group input,
.profile-form-stack .form-group textarea,
.profile-form-stack .form-group select,
.profile-form-stack .form-select {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    box-sizing: border-box;
}

.profile-form-stack input[type="file"] {
    display: block;
}

.profile-photo-editor {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.84);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.profile-photo-preview {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    overflow: hidden;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0ea5a3, #1d4ed8);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-photo-copy {
    display: grid;
    gap: 4px;
}

.profile-photo-copy strong {
    font-size: 15px;
}

.profile-photo-copy span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.inline-status-note {
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.inline-status-note.warning {
    background: rgba(251, 191, 36, 0.14);
    color: #92400e;
    border: 1px solid rgba(251, 191, 36, 0.18);
}

.profile-request-history {
    display: grid;
    gap: 12px;
}

.profile-request-card {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.84);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.profile-request-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.profile-request-top strong,
.profile-request-top span {
    display: block;
}

.profile-request-top span {
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
}

.profile-request-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.profile-request-note {
    margin: 0;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
}

.profile-request-note.is-danger {
    color: #b91c1c;
}

.profile-request-attachment {
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.profile-request-attachment:hover {
    text-decoration: underline;
}

.profile-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    background: rgba(248, 250, 252, 0.84);
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.profile-link-card:hover {
    color: inherit;
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(148, 163, 184, 0.2);
}

.profile-link-card i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(20, 184, 166, 0.12);
    color: #0f766e;
    font-size: 18px;
    flex: 0 0 auto;
}

.profile-link-card strong,
.profile-link-card span {
    display: block;
}

.profile-link-card strong {
    font-size: 14px;
    font-weight: 800;
}

.profile-link-card span {
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.hero-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(6, 28, 54, 0.98), rgba(13, 93, 115, 0.92)),
        linear-gradient(135deg, #143e68, #0ea5a3);
    color: #fff;
    box-shadow: var(--app-shadow);
}

.hero-banner h2 {
    margin: 6px 0 4px;
    font-size: 22px;
    line-height: 1.32;
    max-width: 640px;
}

.hero-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    max-width: 640px;
}

.eyebrow {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-stat-card {
    min-width: 108px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 2px;
}

.hero-stat-card strong {
    font-size: 18px;
}

.hero-banner .btn,
.hero-banner .btn-secondary {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
}

.panel-card {
    background: var(--app-panel);
    border: 1px solid var(--app-border);
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--app-shadow);
    backdrop-filter: blur(14px);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.section-head-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.section-head h3 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 800;
}

.calendar-panel-head {
    align-items: center;
}

.calendar-panel-title-wrap {
    min-width: 0;
    flex: 1 1 auto;
}

.calendar-panel-title {
    margin: 0;
    line-height: 1.1;
    white-space: nowrap;
}

.calendar-panel-actions {
    width: auto;
    margin-left: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.calendar-panel-create-btn {
    white-space: nowrap;
}

.soft-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef6ff;
    color: #27548a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    word-break: keep-all;
    flex-shrink: 0;
}

.muted,
.text-muted {
    color: var(--app-muted) !important;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #415167;
}

.form-group input,
.form-group textarea,
.form-group select,
.form-select {
    max-width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--field-border);
    background: var(--field-bg);
    color: var(--app-text);
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.form-group textarea,
textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(15, 118, 110, 0.66);
    box-shadow: 0 0 0 5px var(--field-focus);
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn,
.btn-secondary,
.btn-outline-danger,
.btn-outline-secondary {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover,
.btn-secondary:hover,
.btn-outline-danger:hover,
.btn-outline-secondary:hover {
    transform: translateY(-1px);
}

.btn {
    border: 0;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.22);
}

.btn:hover {
    background: linear-gradient(135deg, #0b5f58, #0f9b8e);
    color: #fff;
}

.btn-secondary {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.9);
    color: var(--app-text);
}

.alert {
    border-radius: 18px;
    padding: 14px 16px;
    border: 1px solid transparent;
    margin-bottom: 16px;
}

.alert.success {
    background: #e9fbef;
    border-color: rgba(24, 121, 78, 0.18);
    color: #18794e;
}

.alert.error {
    background: #fff1f2;
    border-color: rgba(190, 24, 93, 0.14);
    color: #b42318;
}

.stack-panel {
    display: grid;
    gap: 18px;
}

.session-calendar {
    min-height: 0;
}

.calendar-minimal-legend {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.calendar-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.92);
}

.calendar-legend-dot,
.calendar-event-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: inline-block;
}

.calendar-legend-dot.available,
.event-open .calendar-event-dot {
    background: #f59e0b;
}

.calendar-legend-dot.booked,
.event-booked .calendar-event-dot {
    background: #14b8a6;
}

.calendar-legend-dot.expired,
.event-expired .calendar-event-dot {
    background: #cbd5e1;
}

.calendar-legend-dot.hosting,
.event-hosting .calendar-event-dot {
    background: #0f766e;
}

.calendar-legend-dot.manage,
.event-manage .calendar-event-dot {
    background: #94a3b8;
}

.agenda-list,
.feed-list,
.mini-card-list {
    display: grid;
    gap: 14px;
}

.agenda-item,
.feed-item,
.mini-card {
    padding: 16px;
    border-radius: 20px;
    background: rgba(246, 249, 252, 0.92);
    border: 1px solid rgba(129, 140, 153, 0.14);
}

.mini-card.dark {
    background: #102133;
    color: #fff;
}

.mini-card.accent {
    background: #fff2e3;
}

.agenda-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    align-items: center;
}

.agenda-date {
    display: grid;
    place-items: center;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f766e, #22c55e);
    color: #fff;
    font-weight: 800;
}

.task-list,
.stats-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.task-list li,
.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.task-list li:last-child,
.stat-row:last-child {
    border-bottom: 0;
}

.task-list i {
    color: var(--app-primary);
    margin-right: 10px;
}

.highlight-card h3 {
    margin: 18px 0 4px;
    font-size: 34px;
    font-weight: 800;
}

.review-page-stack {
    display: grid;
    gap: 18px;
}

.review-action-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.review-action-card h3,
.review-session-hero h3 {
    margin: 10px 0 8px;
    font-size: 1.32rem;
    line-height: 1.35;
}

.review-action-card.subtle {
    background: rgba(248, 250, 252, 0.94);
}

.review-feed-list,
.review-pending-list {
    display: grid;
    gap: 14px;
}

.review-filter-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.review-filter-actions .btn-secondary.active {
    background: #0f5f95;
    border-color: #0f5f95;
    color: #ffffff;
}

.review-feed-card,
.review-pending-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(247, 250, 252, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.review-pending-card {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.review-pending-card:hover {
    color: inherit;
    transform: translateY(-1px);
    box-shadow: 0 18px 28px rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.98);
}

.review-feed-head,
.review-pending-top,
.review-form-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.review-feed-title-block strong,
.review-pending-top strong {
    display: block;
    font-size: 1.02rem;
    line-height: 1.4;
    color: #0f172a;
}

.review-feed-title-block p,
.review-pending-meta,
.review-form-section-head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.93rem;
    line-height: 1.5;
}

.review-feed-member {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
}

.review-feed-meta,
.review-pending-foot,
.review-feed-foot {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.5;
}

.review-feed-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.review-feed-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eefdf7;
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
}

.review-feed-chip.accent {
    background: #fff7ed;
    color: #c2410c;
}

.review-feed-text {
    margin: 14px 0 0;
    color: #1f2937;
    font-size: 0.96rem;
    line-height: 1.65;
}

.review-feed-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.review-session-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.review-write-form {
    display: grid;
    gap: 24px;
}

.review-form-section {
    display: grid;
    gap: 14px;
}

.review-form-section h4 {
    margin: 0;
    font-size: 1rem;
}

.review-entry-list {
    display: grid;
    gap: 12px;
}

.review-entry-row {
    display: grid;
    grid-template-columns: minmax(148px, 196px) minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.review-entry-row .form-select {
    min-width: 0;
}

.review-entry-value-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.review-entry-input,
.review-free-textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--field-border);
    background: var(--field-bg);
    color: var(--app-text);
}

.review-entry-unit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    background: rgba(20, 184, 166, 0.14);
    color: #0f766e;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.review-entry-unit-neutral {
    background: rgba(148, 163, 184, 0.14);
    color: #475569;
}

.review-free-textarea {
    min-height: 180px;
    resize: vertical;
}

.btn-icon.review-row-remove {
    width: 42px;
    height: 42px;
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.88);
    color: #64748b;
}

.btn-icon.review-row-remove:hover {
    color: #b91c1c;
    border-color: rgba(248, 113, 113, 0.32);
}

.app-table {
    margin-bottom: 0;
}

.app-table thead th {
    border-bottom-width: 1px;
    color: var(--app-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-table tbody td {
    padding-top: 16px;
    padding-bottom: 16px;
    vertical-align: middle;
}

.status-pill,
.role-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-pill.success,
.role-pill.instructor {
    background: #e9fbef;
    color: #18794e;
}

.status-pill.warning,
.role-pill.student {
    background: #fff5db;
    color: #9a6700;
}

.status-pill.danger {
    background: #fff1f2;
    color: #be123c;
}

.status-pill.subtle {
    background: #f8fafc;
    color: #475569;
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.role-pill.owner_instructor {
    background: #eef6ff;
    color: #1f4b99;
}

.member-grid {
    display: grid;
    gap: 18px;
}

.session-create-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.session-create-grid .full {
    grid-column: 1 / -1;
}

.helper-text {
    color: var(--app-muted);
    font-size: 13px;
}

.session-list-grid {
    display: grid;
    gap: 18px;
}

.session-list-grid.compact {
    gap: 14px;
}

.session-filter-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.session-card {
    padding: 22px;
    border-radius: 24px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.session-card.compact {
    padding: 0;
    overflow: hidden;
}

.session-card-link {
    display: block;
    padding: 18px 18px 16px;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.session-card-link:hover {
    color: inherit;
    background: rgba(255, 255, 255, 0.56);
    transform: translateY(-1px);
}

.session-card-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.session-card-heading {
    min-width: 0;
}

.session-card-heading strong {
    display: block;
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.35;
}

.session-card-heading h3 {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
}

.session-card-location {
    margin-top: 4px;
    color: #475569;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.4;
}

.session-card-status {
    flex: 0 0 auto;
}

.session-card-subtitle {
    margin-top: 10px;
    color: #64748b;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.5;
}

.session-card-info {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.session-info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.4;
}

.session-info-item i {
    color: #94a3b8;
}

.session-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.session-card-summary {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    color: inherit;
}

.session-card-head-compact {
    margin-bottom: 14px;
    align-items: flex-start;
}

.session-card-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.session-card-head h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
}

.session-summary-chevron {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #3b495c;
}

.session-summary-chevron i {
    transition: transform 0.2s ease;
}

.session-card.is-open .session-summary-chevron i {
    transform: rotate(180deg);
}

.soft-chip.neutral {
    background: #f3f4f6;
    color: #475569;
}

.soft-chip.accent {
    background: #ecfeff;
    color: #0f766e;
}

.session-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.session-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.session-meta-detail {
    margin-top: 0;
    gap: 10px;
}

.meta-row {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 13px 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
}

.meta-label {
    color: var(--app-muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.meta-row strong {
    min-width: 0;
    color: #142033;
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.meta-row.full-width {
    grid-column: 1 / -1;
}

.session-summary-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.session-summary-link {
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
}

.session-card-footer {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.session-card-footer-summary {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.session-card-details {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.session-management-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.session-manage-panel .section-head {
    align-items: center;
}

.session-detail-panel,
.app-detail-panel {
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 26px;
    box-shadow: 0 14px 34px rgba(15, 58, 91, 0.08);
}

.session-detail-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.session-detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}

.session-detail-back-link:hover {
    color: #0f5f95;
    transform: translateX(-2px);
}

.session-review-panel {
    margin-top: 18px;
}

.session-review-list {
    margin-top: 0;
}

.session-detail-header {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.session-detail-date,
.session-detail-location {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.35;
    word-break: keep-all;
}

.session-detail-title {
    margin: 6px 0 0;
    color: #0f172a;
    font-size: clamp(1.55rem, 6vw, 2.05rem);
    font-weight: 950;
    line-height: 1.18;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
}

.session-detail-subtitle {
    margin: 0;
    color: #64748b;
    font-size: 0.97rem;
    line-height: 1.45;
    word-break: keep-all;
}

.session-detail-overview-card {
    display: grid;
    gap: 13px;
    padding: 16px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.session-detail-chip-row,
.session-detail-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.session-detail-chip-row .status-pill,
.session-detail-tags .soft-chip,
.member-detail-overview-card .role-pill {
    min-height: 28px;
    padding: 7px 10px;
    font-size: 0.78rem;
    line-height: 1;
}

.session-detail-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.session-detail-status-label {
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 800;
}

.session-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.session-detail-actions .btn,
.session-detail-actions .btn-secondary,
.session-detail-actions .btn-outline-danger {
    min-height: 46px;
    border-radius: 15px;
}

.session-detail-admin-actions {
    justify-content: flex-end;
}

.session-detail-admin-actions .btn-secondary,
.session-detail-admin-actions .btn-outline-danger {
    min-width: 96px;
}

.session-detail-delete-form {
    display: flex;
}

.optional-picker {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.92);
    overflow: hidden;
}

.optional-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 64px;
    padding: 14px 16px;
    cursor: pointer;
}

.optional-picker-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.optional-picker-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-height: 20px;
    margin: 0;
    accent-color: #0f766e;
}

.optional-picker-toggle strong {
    display: block;
    color: #1f2a44;
    font-size: 14px;
    font-weight: 800;
}

.optional-picker-toggle small {
    display: block;
    color: var(--app-muted);
    font-size: 12px;
    margin-top: 2px;
}

.optional-picker-body {
    display: none;
    padding: 0 16px 16px;
}

.optional-picker.active {
    background: #ffffff;
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow: 0 18px 34px rgba(15, 118, 110, 0.08);
}

.optional-picker.active .optional-picker-body {
    display: block;
}

.assistant-picker,
.participant-picker {
    display: grid;
    gap: 12px;
}

.assistant-picker-toolbar,
.participant-picker-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
}

.assistant-search-input,
.participant-search-input {
    min-height: 44px !important;
}

.assistant-clear-button,
.participant-clear-button {
    white-space: nowrap;
}

.assistant-selection-summary,
.participant-selection-summary {
    display: grid;
    gap: 10px;
}

.assistant-selected-chips,
.participant-selected-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.assistant-chip,
.participant-chip {
    border: 0;
    background: #e6fffb;
    color: #0f766e;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.participant-chip {
    background: #eef2ff;
    color: #4338ca;
}

.soft-chip.warning {
    background: #fff7ed;
    color: #c2410c;
}

.assistant-picker-list,
.participant-picker-list {
    display: grid;
    gap: 10px;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 4px;
}

.assistant-option,
.participant-option {
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--field-border);
    background: var(--field-bg);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.assistant-option:hover,
.participant-option:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.35);
}

.assistant-option.selected,
.participant-option.selected {
    border-color: rgba(15, 118, 110, 0.45);
    background: rgba(240, 253, 250, 0.92);
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.08);
}

.participant-option.selected {
    border-color: rgba(67, 56, 202, 0.4);
    background: rgba(238, 242, 255, 0.94);
}

.assistant-option input[type="checkbox"],
.participant-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
    accent-color: #0f766e;
}

.participant-option input[type="checkbox"] {
    accent-color: #4f46e5;
}

.assistant-option-body,
.participant-option-body {
    display: grid;
    gap: 2px;
}

.assistant-option-body strong,
.participant-option-body strong {
    font-size: 14px;
    font-weight: 700;
}

.assistant-option-body small,
.participant-option-body small {
    color: var(--app-muted);
    font-size: 12px;
}

.assistant-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(226, 232, 240, 0.7);
}

.member-card {
    padding: 20px;
    border-radius: 24px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.member-summary-grid {
    display: grid;
    gap: 16px;
}

.member-search-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    align-items: end;
    margin-bottom: 18px;
}

.member-search-group {
    max-width: none;
}

.member-summary-card {
    display: grid;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.member-summary-card:hover,
.member-summary-card:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    border-color: rgba(45, 212, 191, 0.24);
    color: inherit;
}

.member-summary-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
}

.member-summary-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.member-summary-copy strong {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.35;
}

.member-summary-copy span,
.member-summary-foot span {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.45;
}

.member-summary-copy span {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.member-summary-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.member-summary-link {
    color: #0f766e !important;
    font-weight: 700;
}

.member-detail-shell {
    display: grid;
    gap: 16px;
}

.member-detail-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 4px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.member-detail-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    flex: 1 1 0;
}

.member-detail-tab.active {
    background: #ffffff;
    color: #0f5f95;
    border-color: rgba(148, 163, 184, 0.14);
    box-shadow: 0 8px 18px rgba(15, 58, 91, 0.08);
}

.member-profile-stack,
.member-profile-meta-grid,
.member-pb-grid {
    display: grid;
    gap: 16px;
}

.pb-editor-grid {
    display: grid;
    gap: 14px;
}

.panel-subcard {
    padding: 20px;
    border-radius: 22px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.member-detail-subtitle {
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.4;
    color: #0f172a;
}

.pb-stat-card {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.pb-stat-card span {
    color: #64748b;
    font-size: 0.88rem;
}

.pb-stat-card strong {
    color: #0f172a;
    font-size: 1.28rem;
    line-height: 1.2;
}

.empty-state-card {
    padding: 22px;
    border-radius: 22px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px dashed rgba(148, 163, 184, 0.22);
    color: #64748b;
    text-align: center;
}

.member-search-empty {
    margin-top: 16px;
}

.member-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.member-top h4 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
}

.member-actions,
.role-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.role-form .form-select {
    min-width: 180px;
    border-radius: 14px;
}

.approval-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.approval-request-grid {
    display: grid;
    gap: 16px;
}

.approval-request-card {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(248, 250, 252, 0.9);
}

.approval-request-card h3 {
    margin: 0 0 6px;
    color: #1f2a44;
    font-size: 18px;
}

.approval-level-flow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(240, 253, 250, 0.95);
    color: #134e4a;
    font-size: 14px;
    font-weight: 700;
}

.approval-level-flow strong {
    font-size: 15px;
}

.approval-attachment-link {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    text-decoration: none;
    color: #0f766e;
    background: rgba(248, 250, 252, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.approval-attachment-link span {
    font-size: 13px;
    font-weight: 700;
}

.approval-attachment-preview {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.approval-actions {
    display: grid;
    gap: 10px;
}

.approval-review-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.approval-review-form input[type="text"] {
    min-height: 42px;
}

.decision-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
}

.decision-input {
    min-height: 44px;
}

.approval-action-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.simple-action-form {
    display: flex;
}

.reject-trigger-form {
    display: flex;
}

.simple-action-form .btn,
.reject-trigger-form .btn {
    width: 100%;
}

.reject-only-form {
    grid-template-columns: minmax(0, 1fr) auto;
}

.approval-group-card {
    gap: 18px;
}

.approvals-overview {
    display: grid;
    gap: 18px;
}

.approval-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.approval-overview-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(248, 250, 252, 0.96);
    border-radius: 24px;
    padding: 20px;
    display: grid;
    gap: 8px;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.approval-overview-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.approval-overview-card.active {
    border-color: rgba(15, 118, 110, 0.34);
    background: rgba(240, 253, 250, 0.95);
    box-shadow: 0 18px 34px rgba(15, 118, 110, 0.10);
}

.approval-overview-card strong {
    font-size: 30px;
    color: #1f2a44;
}

.approval-overview-card small,
.approval-overview-label {
    color: var(--app-muted);
}

.approval-overview-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.approval-overview-reset {
    white-space: nowrap;
}

.approval-bulk-form {
    display: grid;
    gap: 14px;
}

.approval-member-list {
    display: grid;
    gap: 10px;
}

.approval-member-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.approval-member-option:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.32);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
}

.approval-member-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin-top: 4px;
    accent-color: #0f766e;
}

.approval-member-body {
    display: grid;
    gap: 4px;
}

.approval-member-body strong {
    font-size: 15px;
    color: #1f2a44;
}

.approval-member-body small {
    font-size: 12px;
    color: var(--app-muted);
}

.approval-bulk-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.app-modal {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    box-shadow: 0 26px 50px rgba(15, 23, 42, 0.14);
}

.app-modal .modal-body textarea {
    min-height: 120px;
}

.reject-inline-block {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 10px;
    flex: 1;
}

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

.management-logo-preview {
    width: 132px;
    height: 132px;
    border-radius: 34px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    overflow: hidden;
}

.management-logo-preview img,
.organization-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.management-logo-fallback,
.organization-profile-logo {
    display: grid;
    place-items: center;
    color: #06131a;
    font-weight: 900;
}

.management-logo-fallback {
    width: 100%;
    height: 100%;
    font-size: 34px;
    background: linear-gradient(135deg, #ccfbf1, #a7f3d0);
}

.management-form {
    display: grid;
    gap: 18px;
}

.organization-profile-card {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 24px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.organization-profile-logo {
    flex: 0 0 auto;
    width: 92px;
    height: 92px;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(135deg, #ccfbf1, #a7f3d0);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.organization-profile-logo span {
    font-size: 28px;
}

.organization-profile-card h3 {
    margin: 12px 0 6px;
    color: #1f2a44;
    font-size: 24px;
    font-weight: 900;
}

.approval-card h3 {
    margin: 10px 0 8px;
}

.approval-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-alert {
    border-radius: 18px;
    padding: 14px 16px;
}

.empty-panel {
    min-height: 240px;
    display: grid;
    place-items: center;
    text-align: center;
}

.empty-panel.compact {
    min-height: 160px;
}

.empty-panel i {
    font-size: 48px;
    color: var(--app-primary);
    margin-bottom: 12px;
}

.mobile-drawer .offcanvas-body {
    padding-top: 0;
}

.mobile-nav-list {
    display: grid;
    gap: 10px;
}

.mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 1040;
    display: flex;
    gap: 4px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.mobile-bottom-nav a {
    flex: 1;
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 9px 4px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 12px;
}

.mobile-bottom-nav span {
    white-space: nowrap;
}

.mobile-bottom-nav a.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.fc .fc-toolbar-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a;
    margin: 0;
    line-height: 1.1;
}

.fc .fc-header-toolbar {
    margin-bottom: 8px !important;
    align-items: center;
    gap: 6px;
}

.fc .fc-toolbar-chunk {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.fc .fc-scrollgrid,
.fc .fc-theme-standard td,
.fc .fc-theme-standard th {
    border-color: transparent;
}

.fc .fc-scrollgrid {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
}

.fc .fc-col-header-cell {
    background: transparent;
    padding: 4px 0 2px;
}

.fc .fc-col-header-cell-cushion,
.fc .fc-daygrid-day-number {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: 999px;
}

.fc .fc-col-header-cell-cushion {
    font-size: 12px;
    letter-spacing: 0.02em;
 }

.fc .fc-daygrid-day-number:hover,
.fc .fc-col-header-cell-cushion:hover {
    color: #334155;
    text-decoration: none;
}

.fc .fc-daygrid-day-top {
    justify-content: center;
    padding: 5px 0 0;
}

.fc .fc-daygrid-day-frame {
    min-height: 46px;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
    border-radius: 16px;
    padding: 0 3px 11px;
    position: relative;
    overflow: hidden;
}

.fc .fc-daygrid-day {
    cursor: pointer;
    padding: 1px;
}

.fc .fc-daygrid-day-frame:hover {
    background: rgba(248, 250, 252, 0.96);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.fc .fc-button {
    background: rgba(255, 255, 255, 0.9);
    color: #475569;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: none;
    border-radius: 999px;
    font-weight: 600;
    min-height: 30px;
    padding: 0.28rem 0.68rem;
    font-size: 11px;
    line-height: 1;
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
    background: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.24);
    color: #0f172a;
}

.fc .fc-button:hover {
    background: #fff;
    color: #334155;
    border-color: rgba(148, 163, 184, 0.24);
}

.fc .fc-daygrid-event {
    border: 0;
    border-radius: 999px;
    padding: 0;
    margin: 2px auto 0;
    width: 10px;
    height: 10px;
    text-decoration: none;
    font-size: 0;
    box-shadow: none;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc .fc-daygrid-event-harness,
.fc .fc-daygrid-more-link {
    display: none;
}

.fc .fc-day-today {
    background: transparent !important;
}

.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-frame {
    background: rgba(248, 250, 252, 0.92);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.fc .fc-daygrid-day.is-selected-day .fc-daygrid-day-frame {
    background: rgba(20, 184, 166, 0.14);
    box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.24);
}

.fc .fc-daygrid-day.is-selected-day .fc-daygrid-day-number {
    background: transparent;
    color: #0f766e;
    min-width: auto;
    min-height: auto;
    display: inline-block;
    font-weight: 800;
    box-shadow: none;
}

.fc .fc-daygrid-day.fc-day-today:not(.is-selected-day) .fc-daygrid-day-number {
    background: transparent;
    color: #0f766e;
    box-shadow: none;
}

.fc .fc-daygrid-day-events {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    margin-top: 0 !important;
    overflow: hidden;
}

.fc .fc-daygrid-day-bottom {
    display: none !important;
}

.fc .fc-daygrid-event-harness,
.fc .fc-daygrid-more-link {
    display: none !important;
}

.fc .fc-daygrid-more-link {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.fc .fc-list-day-cushion {
    background: rgba(248, 250, 252, 0.94);
}

.fc .fc-list-day.fc-day-today .fc-list-day-cushion {
    background: rgba(226, 232, 240, 0.9);
    color: #0f172a;
}

.fc .fc-event.event-hosting,
.fc .fc-list-event.event-hosting {
    background: transparent !important;
    color: #0f766e !important;
}

.fc .fc-event.event-manage,
.fc .fc-list-event.event-manage {
    background: transparent !important;
    color: #475569 !important;
}

.fc .fc-event.event-open,
.fc .fc-list-event.event-open {
    background: transparent !important;
    color: #b45309 !important;
}

.fc .fc-event.event-booked,
.fc .fc-list-event.event-booked {
    background: transparent !important;
    color: #0f766e !important;
}

.fc .fc-event.event-expired,
.fc .fc-list-event.event-expired {
    background: transparent !important;
    color: #64748b !important;
}

.calendar-day-markers {
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    pointer-events: none;
    min-width: 18px;
}

.calendar-day-marker {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #cbd5e1;
    flex: 0 0 auto;
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.96), 0 1px 2px rgba(15, 23, 42, 0.08);
}

.calendar-day-marker.event-open {
    background: #f59e0b !important;
}

.calendar-day-marker.event-booked {
    background: #14b8a6 !important;
}

.calendar-day-marker.event-expired {
    background: #cbd5e1 !important;
}

.calendar-day-marker.event-hosting {
    background: #0f766e !important;
}

.calendar-day-marker.event-manage {
    background: #94a3b8 !important;
}

.calendar-day-marker-more {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    padding-left: 2px;
    letter-spacing: -0.02em;
}

.fc .fc-daygrid-day.is-selected-day .calendar-day-marker {
    background: rgba(20, 184, 166, 0.6) !important;
}

.fc .fc-daygrid-day.is-selected-day .calendar-day-marker.event-open {
    background: rgba(245, 158, 11, 0.95) !important;
}

.fc .fc-daygrid-day.is-selected-day .calendar-day-marker.event-booked,
.fc .fc-daygrid-day.is-selected-day .calendar-day-marker.event-hosting {
    background: #14b8a6 !important;
}

.fc .fc-daygrid-day.is-selected-day .calendar-day-marker.event-expired {
    background: #e2e8f0 !important;
}

.fc .fc-daygrid-day.is-selected-day .calendar-day-marker-more {
    color: #0f766e;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 430px);
    gap: 24px;
    align-items: stretch;
}

.auth-shell.auth-shell-compact {
    grid-template-columns: minmax(0, 460px);
    justify-content: center;
    align-content: center;
    min-height: calc(100vh - 84px);
}

.auth-shell.auth-shell-form {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.auth-shell.auth-shell-compact .panel {
    max-width: 460px;
    width: 100%;
    justify-self: center;
}

.auth-shell.auth-shell-form .panel {
    max-width: 760px;
    width: 100%;
    justify-self: center;
}

.page-shell {
    min-height: 100vh;
}

.auth-entry-body {
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(56, 189, 248, 0.2), transparent 26%),
        radial-gradient(circle at 82% 16%, rgba(45, 212, 191, 0.16), transparent 24%),
        linear-gradient(180deg, #f4fbff 0%, #edf7fb 48%, #e8f3f8 100%);
}

.auth-entry-shell {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.auth-entry-body.intro-complete .auth-entry-shell,
.auth-entry-body.intro-skip .auth-entry-shell {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.auth-intro {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #ecfbff 0%, #dff6fb 42%, #d4eef6 100%);
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.auth-entry-body.intro-complete .auth-intro,
.auth-entry-body.intro-skip .auth-intro {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.auth-intro-simple {
    background:
        radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.82), transparent 22%),
        radial-gradient(circle at 20% 18%, rgba(125, 211, 252, 0.18), transparent 22%),
        radial-gradient(circle at 80% 16%, rgba(94, 234, 212, 0.16), transparent 20%),
        linear-gradient(180deg, #f6fdff 0%, #edf9fc 48%, #e8f3f8 100%);
}

.auth-intro-simple::before,
.auth-intro-simple::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    pointer-events: none;
}

.auth-intro-simple::before {
    width: 132px;
    height: 132px;
    background: rgba(34, 211, 238, 0.12);
    transform: translate(-78px, -26px);
}

.auth-intro-simple::after {
    width: 176px;
    height: 176px;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(92px, 34px);
}

.auth-intro-brandmark {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 16px;
    text-align: center;
    padding: 28px 36px;
}

.auth-intro-logo {
    width: 88px;
    height: 88px;
    border-radius: 28px;
    box-shadow: 0 22px 44px rgba(8, 47, 73, 0.14);
}

.auth-intro-wordmark {
    color: #0f172a;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.auth-intro.is-playing .auth-intro-brandmark {
    animation: authLogoSplash 0.9s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes authLogoSplash {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.92);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.topbar {
    background: rgba(9, 30, 54, 0.86);
    backdrop-filter: blur(14px);
    color: #ffffff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(10, 34, 57, 0.14);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
}

.auth-brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(8, 47, 73, 0.18);
    background: rgba(255, 255, 255, 0.14);
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 16px 56px;
}

.auth-content {
    max-width: 860px;
}

.panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--app-shadow);
    margin-bottom: 18px;
}

.auth-form-card {
    width: 100%;
    padding: 30px 28px;
    border-radius: 28px;
    overflow: hidden;
}

.auth-form-card-wide {
    padding: 32px 30px;
}

.auth-form-head {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
}

.auth-logo-head {
    justify-items: center;
    margin-bottom: 26px;
}

.auth-form-logo {
    width: 104px;
    height: 104px;
    object-fit: contain;
    border-radius: 28px;
    filter: drop-shadow(0 18px 28px rgba(8, 47, 73, 0.12));
}

.auth-form-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.09);
    color: var(--app-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-form-title {
    margin: 0;
    font-size: 31px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #122033;
}

.auth-form-copy {
    margin: 0;
    color: var(--app-muted);
    font-size: 14px;
    line-height: 1.6;
}

.auth-shell .form-group input,
.auth-shell .form-group select,
.auth-shell .form-group textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 14px;
    background: rgba(248, 250, 252, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.26);
    box-sizing: border-box;
}

.auth-email-verify-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.auth-email-code-button {
    min-height: 48px;
    white-space: nowrap;
    border-radius: 14px;
    padding: 0 14px;
}

.auth-shell .form-group input[type="file"] {
    min-height: 48px;
    padding: 11px 12px;
    line-height: 1.3;
    background: #ffffff;
}

.auth-shell .form-group {
    display: grid;
    gap: 8px;
}

.auth-shell .form-group label {
    color: #30475b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.auth-shell .grid.two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.auth-shell .actions {
    margin-top: 18px;
}

.auth-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.auth-inline-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    font-size: 0.92rem;
}

.auth-inline-links a {
    color: var(--app-primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-inline-links a:hover,
.auth-inline-links a:focus {
    color: var(--app-primary-dark);
    text-decoration: underline;
}

.auth-shell .btn,
.auth-shell .btn-secondary {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 14px;
}

.auth-shell .btn-secondary {
    background: rgba(247, 250, 252, 0.96);
    border-color: rgba(148, 163, 184, 0.22);
}

.auth-shell .btn-secondary:hover,
.auth-shell .btn-secondary:focus {
    background: #ffffff;
}

.info-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.auth-inline-note {
    display: grid;
    gap: 4px;
    margin: 14px 0 18px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.08);
    border: 1px solid rgba(15, 118, 110, 0.14);
    color: #244152;
    font-size: 13px;
}

.auth-inline-note strong {
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.info-item {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.field-error {
    min-height: 18px;
    color: #b42318;
    font-size: 13px;
    line-height: 1.4;
}

.input-error {
    border-color: #d92d20 !important;
    box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.12) !important;
}

@media (max-width: 1199px) {
    .app-content,
    .app-topbar {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 991px) {
    .app-page-title {
        font-size: 1.4rem;
    }

    .auth-shell,
    .approval-grid {
        grid-template-columns: 1fr;
    }

    .auth-shell.auth-shell-compact {
        min-height: calc(100vh - 64px);
    }

    .app-content {
        padding-bottom: 112px;
    }

    .session-create-grid,
    .session-meta,
    .session-summary-grid {
        grid-template-columns: 1fr;
    }

    .auth-shell .grid.two {
        grid-template-columns: 1fr;
    }

    .auth-actions {
        grid-template-columns: 1fr;
    }

    .assistant-picker-toolbar,
    .participant-picker-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .optional-picker-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-stat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .app-topbar {
        padding-top: 16px;
        gap: 10px;
    }

    .app-topbar-profile-button {
        width: 20px;
        min-width: 20px;
        height: 20px;
        min-height: 20px;
    }

    .app-topbar-profile-icon,
    .app-notification-button i {
        font-size: 17px;
    }

    .app-notification-menu {
        width: min(320px, calc(100vw - 20px));
    }

    .page-title-strip {
        margin-bottom: 14px;
    }

    .hero-banner h2 {
        font-size: 18px;
        margin: 4px 0 0;
    }

    .hero-banner {
        gap: 12px;
        padding: 14px 16px;
    }

    .hero-banner .text-white-50 {
        display: none;
    }

    .hero-actions {
        width: 100%;
    }

    .section-head-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .calendar-panel-actions {
        width: auto;
        margin-left: auto;
        justify-content: flex-end;
    }

    .calendar-panel-title {
        font-size: 1.1rem;
    }

    .profile-summary-top,
    .profile-summary-org,
    .profile-detail-item {
        gap: 12px;
    }

    .profile-summary-avatar {
        width: 60px;
        height: 60px;
        border-radius: 20px;
        font-size: 24px;
    }

    .profile-summary-copy h2 {
        font-size: 1.3rem;
    }

    .profile-detail-item {
        flex-direction: column;
    }

    .profile-detail-item strong {
        text-align: left;
    }

    .profile-link-card {
        padding: 14px 15px;
    }

    .profile-photo-editor,
    .profile-request-top {
        align-items: flex-start;
    }

    .profile-photo-preview {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        font-size: 22px;
    }

    .profile-request-top {
        flex-direction: column;
    }

    .approval-level-flow {
        width: 100%;
        justify-content: space-between;
    }

    .review-entry-row {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: stretch;
    }

    .review-entry-row .form-select {
        grid-column: 1 / -1;
    }

    .review-entry-value-group {
        grid-column: 1 / 2;
    }

    .btn-icon.review-row-remove {
        grid-column: 2 / 3;
        align-self: stretch;
        min-height: 44px;
        height: auto;
    }

    .hero-stat-card {
        min-width: 92px;
        padding: 8px 10px;
    }

    .session-calendar {
        min-height: 0;
    }

    .fc .fc-toolbar-title {
        font-size: 0.94rem;
    }

    .fc .fc-daygrid-day-frame {
        min-height: 42px;
        padding: 0 2px 9px;
        border-radius: 14px;
    }

    .fc .fc-daygrid-day-top {
        padding: 4px 0 0;
    }

    .calendar-day-marker {
        width: 5px;
        height: 5px;
    }

    .calendar-day-marker-more {
        font-size: 9px;
    }

    .fc .fc-daygrid-day.is-selected-day .fc-daygrid-day-number {
        min-width: auto;
        min-height: auto;
    }

    .content {
        padding: 20px 12px 88px;
    }

    .panel,
    .panel-card,
    .hero-banner {
        border-radius: 24px;
    }

    .session-card-footer,
    .approval-review-form,
    .decision-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .session-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .session-card-topline {
        flex-direction: column;
        align-items: flex-start;
    }

    .session-detail-panel,
    .app-detail-panel {
        padding: 18px;
        border-radius: 24px;
        gap: 14px;
    }

    .session-detail-topbar {
        margin-bottom: 2px;
    }

    .session-detail-overview-card {
        padding: 14px;
        border-radius: 20px;
    }

    .session-detail-status-row {
        align-items: flex-start;
    }

    .session-detail-user-actions,
    .session-detail-user-actions .btn,
    .session-detail-user-actions form {
        width: 100%;
    }

    .session-detail-admin-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .session-detail-admin-actions .btn-secondary,
    .session-detail-admin-actions .btn-outline-danger,
    .session-detail-admin-actions form {
        width: 100%;
    }

    .session-card-link {
        padding: 16px;
    }

    .session-card-heading strong,
    .session-card-heading h3 {
        font-size: 1rem;
    }

    .session-card-location {
        font-size: 0.92rem;
    }

    .approval-review-form,
    .decision-form {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .reject-inline-block,
    .approval-bulk-actions {
        width: 100%;
    }

    .approval-action-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .simple-action-form,
    .reject-trigger-form {
        width: 100%;
    }

    .approval-overview-grid {
        grid-template-columns: 1fr;
    }

    .reject-inline-block {
        grid-template-columns: 1fr;
    }

    .session-summary-hint {
        align-items: flex-start;
        flex-direction: column;
    }
}



.review-discipline-single,
.review-discipline-time {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.review-discipline-time {
    display: none;
}

.review-entry-value-group.is-time .review-discipline-single {
    display: none;
}

.review-entry-value-group.is-time .review-discipline-time {
    display: grid;
}

.review-time-input-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.review-time-part {
    text-align: center;
}

.review-time-separator {
    font-weight: 700;
    color: var(--app-text);
}
.member-note-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.member-note-foot {
    margin: -4px 0 0;
    font-size: 0.88rem;
    color: var(--app-muted);
}

#memberNoteContent {
    min-height: 132px;
    resize: vertical;
}
.member-history-list {
    display: grid;
    gap: 12px;
}

.member-history-card {
    border: 1px solid rgba(26, 63, 112, 0.1);
    border-radius: 18px;
    padding: 14px 15px;
    background: rgba(255, 255, 255, 0.82);
}

.member-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.member-history-head strong {
    font-size: 0.98rem;
    color: var(--app-text);
}

.member-history-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
    color: var(--app-muted);
    font-size: 0.9rem;
}

.member-history-foot {
    display: grid;
    gap: 6px;
    margin-top: 10px;
    color: var(--app-muted);
    font-size: 0.9rem;
}

.member-history-foot p {
    margin: 0;
    color: var(--app-text);
    white-space: pre-wrap;
}

.empty-state-card.compact {
    padding: 16px 18px;
    min-height: 0;
    font-size: 0.92rem;
}
.session-calendar-filter-row {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 12px;
}

.session-calendar-filter-group {
    width: min(260px, 100%);
    margin: 0;
}

.session-calendar-filter-group label {
    font-size: 0.78rem;
    margin-bottom: 5px;
}
@media (max-width: 575.98px) {
    .session-calendar-controls {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 10px;
    }

    .session-calendar-filter-row {
        order: 1;
        width: 100%;
        justify-content: stretch;
    }

    .session-calendar-filter-group {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 8px 10px;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 14px;
        background: rgba(248, 250, 252, 0.9);
    }

    .session-calendar-filter-group label {
        margin: 0;
        white-space: nowrap;
        color: var(--muted);
        font-size: 0.76rem;
    }

    .session-calendar-filter-group .form-select {
        min-height: 34px;
        height: 34px;
        padding-top: 4px;
        padding-bottom: 4px;
        font-size: 0.84rem;
    }

    .calendar-minimal-legend {
        order: 2;
        justify-content: center;
        gap: 8px;
        margin: 0;
        font-size: 0.72rem;
    }
}
/* Session calendar instructor filter layout */
.session-calendar-controls {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.session-calendar-controls .calendar-minimal-legend {
    margin-bottom: 0;
}

.session-calendar-controls .session-calendar-filter-row {
    margin: 0;
}

@media (max-width: 575.98px) {
    .session-calendar-controls {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 10px;
    }

    .session-calendar-controls .session-calendar-filter-row {
        order: 1;
        width: 100%;
        justify-content: stretch;
    }

    .session-calendar-controls .session-calendar-filter-group {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 7px 9px;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 14px;
        background: rgba(248, 250, 252, 0.92);
    }

    .session-calendar-controls .session-calendar-filter-group label {
        margin: 0;
        white-space: nowrap;
        color: var(--muted);
        font-size: 0.75rem;
    }

    .session-calendar-controls .session-calendar-filter-group .form-select {
        min-height: 34px;
        height: 34px;
        padding-top: 4px;
        padding-bottom: 4px;
        font-size: 0.84rem;
    }

    .session-calendar-controls .calendar-minimal-legend {
        order: 2;
        justify-content: center;
        gap: 8px;
        margin: 0;
        font-size: 0.72rem;
    }
}

.session-tag-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.session-tag-option {
    cursor: pointer;
}

.session-tag-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.session-tag-option span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(14, 82, 120, 0.12);
    background: rgba(245, 249, 251, 0.9);
    color: #486172;
    font-size: 0.9rem;
    font-weight: 700;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.session-tag-option input:checked + span {
    border-color: rgba(20, 167, 151, 0.38);
    background: #d9f8ee;
    color: #087465;
}
.session-card-tags,
.session-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.session-card-tags .soft-chip,
.session-detail-tags .soft-chip {
    white-space: nowrap;
}
.auth-agreement-box {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 18px;
    background: rgba(240, 249, 255, 0.72);
}

.auth-agreement-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.auth-agreement-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--app-primary);
}

.auth-agreement-row a {
    color: var(--app-primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.auth-agreement-row a:hover,
.auth-agreement-row a:focus {
    text-decoration: underline;
}

.auth-agreement-row em {
    color: #ef4444;
    font-style: normal;
    font-weight: 800;
}

.auth-policy-card {
    width: 100%;
    padding: 32px 30px;
    border-radius: 28px;
}

.auth-policy-body {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    color: #334155;
}

.auth-policy-body h2 {
    margin: 10px 0 0;
    color: #0f172a;
    font-size: 17px;
}

.auth-policy-body p {
    margin: 0;
    line-height: 1.7;
}

.auth-policy-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
}

@media (max-width: 720px) {
    .auth-policy-card {
        padding: 24px 20px;
    }

    .auth-policy-actions {
        grid-template-columns: 1fr;
    }
}
body.auth-policy-open {
    overflow: hidden;
}

.auth-policy-modal {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-policy-modal.is-open {
    display: flex;
}

.auth-policy-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(8px);
}

.auth-policy-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: min(760px, calc(100vh - 32px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
}

.auth-policy-dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.auth-policy-dialog-head h2 {
    margin: 8px 0 0;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.2;
}

.auth-policy-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.92);
    color: #475569;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.auth-policy-scroll {
    min-height: 240px;
    max-height: 52vh;
    overflow: auto;
    padding: 22px 24px 36px;
    scroll-behavior: auto;
}

.auth-policy-panel {
    color: #334155;
    line-height: 1.72;
}

.auth-policy-panel h3 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 22px;
}

.auth-policy-panel h4 {
    margin: 20px 0 6px;
    color: #0f172a;
    font-size: 15px;
}

.auth-policy-panel p {
    margin: 0 0 10px;
    font-size: 14px;
}

.auth-policy-dialog-foot {
    display: grid;
    gap: 10px;
    padding: 16px 24px 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.72), #ffffff);
}

.auth-policy-dialog-foot p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.auth-policy-dialog-foot .btn:disabled {
    cursor: not-allowed;
    opacity: 0.46;
    filter: grayscale(0.3);
}

.auth-agreement-row .js-policy-agreement,
.auth-agreement-row [data-policy-open] {
    cursor: pointer;
}

@media (max-width: 720px) {
    .auth-policy-modal {
        padding: 12px;
    }

    .auth-policy-dialog {
        border-radius: 22px;
    }

    .auth-policy-dialog-head,
    .auth-policy-scroll,
    .auth-policy-dialog-foot {
        padding-left: 18px;
        padding-right: 18px;
    }

    .auth-policy-scroll {
        max-height: 58vh;
    }
}

.auth-logo-field {
    align-content: start;
}

.auth-logo-picker {
    display: grid;
    gap: 8px;
}

.auth-logo-default-card {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 9px 12px;
    border: 1px solid rgba(12, 74, 110, 0.12);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.88), rgba(255, 255, 255, 0.96));
    color: #1f3a4d;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.auth-logo-default-card:hover {
    border-color: rgba(14, 116, 144, 0.28);
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.09);
    transform: translateY(-1px);
}

.auth-logo-default-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--app-primary);
}

.auth-logo-default-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 0 0 1px rgba(12, 74, 110, 0.08);
}

.auth-logo-default-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.auth-logo-default-copy {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.auth-logo-default-copy strong {
    font-size: 0.86rem;
    line-height: 1.2;
    white-space: nowrap;
}

.auth-logo-default-copy small {
    color: var(--app-muted);
    font-size: 0.74rem;
    line-height: 1.25;
}

.auth-logo-picker:has(#useDefaultLogo:checked) .auth-logo-default-card {
    border-color: rgba(20, 184, 166, 0.42);
    background: linear-gradient(135deg, rgba(204, 251, 241, 0.82), rgba(240, 253, 250, 0.98));
    box-shadow: 0 10px 24px rgba(20, 184, 166, 0.12);
}

.auth-logo-picker:has(#useDefaultLogo:checked) #groupLogoFile {
    opacity: 0.48;
}
.session-participant-panel {
    margin-top: 18px;
}

.session-participant-head {
    align-items: center;
}

.session-participant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.session-participant-card {
    display: grid;
    gap: 13px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.session-participant-main,
.session-participant-payment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.session-participant-main strong {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.35;
}

.session-participant-main p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.session-participant-payment-label {
    color: #64748b;
    font-size: 0.83rem;
    font-weight: 800;
}

.session-payment-form {
    display: flex;
}

.session-payment-form .btn-secondary {
    width: 100%;
    min-height: 40px;
    border-radius: 14px;
    font-size: 0.86rem;
}

@media (max-width: 575.98px) {
    .session-participant-grid {
        grid-template-columns: 1fr;
    }

    .session-participant-card {
        padding: 14px;
        border-radius: 18px;
    }
}
.session-pending-application-panel {
    margin-top: 18px;
}

.session-detail-application-form {
    display: grid;
    gap: 14px;
}

.session-detail-application-list {
    display: grid;
    gap: 10px;
}

.session-detail-application-option {
    border-radius: 18px;
}

.session-detail-application-actions {
    justify-content: flex-end;
}

@media (max-width: 575.98px) {
    .session-detail-application-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .session-detail-application-actions .btn,
    .session-detail-application-actions .btn-outline-danger {
        width: 100%;
    }
}
.dashboard-shell,
.records-shell {
    display: grid;
    gap: 18px;
}

.dashboard-welcome-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #eef9ff 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.dashboard-welcome-card.compact {
    padding: 18px;
}

.dashboard-welcome-card h2 {
    margin: 10px 0 4px;
    color: #0f172a;
    font-size: clamp(1.35rem, 4vw, 1.9rem);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.dashboard-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-metric-card {
    display: grid;
    gap: 8px;
    min-height: 112px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.dashboard-metric-card.warning {
    background: linear-gradient(135deg, #fffaf0 0%, #ffffff 100%);
}

.dashboard-metric-card.accent {
    background: linear-gradient(135deg, #ecfeff 0%, #ffffff 100%);
}

.dashboard-metric-card span {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 850;
}

.dashboard-metric-card strong {
    font-size: 2rem;
    font-weight: 950;
    line-height: 1;
}

.dashboard-grid.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-section {
    min-width: 0;
}

.dashboard-list {
    display: grid;
    gap: 10px;
}

.dashboard-list-inline {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dashboard-list-card {
    display: grid;
    gap: 4px;
    padding: 14px 15px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: #f8fafc;
    color: inherit;
    text-decoration: none;
}

.dashboard-list-card strong {
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.dashboard-list-card span,
.dashboard-list-card small {
    color: #64748b;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.dashboard-pb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 10px;
}

.dashboard-pb-item {
    display: grid;
    gap: 6px;
    padding: 13px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.dashboard-pb-item span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 850;
}

.dashboard-pb-item strong {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 950;
}

.session-review-write-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    background: linear-gradient(135deg, #ecfeff 0%, #ffffff 100%);
}

.session-review-write-card h3 {
    margin: 10px 0 4px;
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 950;
}

@media (max-width: 767.98px) {
    .dashboard-metric-grid,
    .dashboard-grid.two-column {
        grid-template-columns: 1fr;
    }

    .dashboard-welcome-card,
    .session-review-write-card {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-metric-card {
        min-height: 94px;
        padding: 16px;
        border-radius: 22px;
    }

    .session-review-write-card .btn {
        width: 100%;
    }
}
.dashboard-section .section-head .btn-secondary,
.dashboard-section .section-head .soft-chip,
.dashboard-welcome-card .soft-chip,
.dashboard-metric-card span {
    white-space: nowrap;
    word-break: keep-all;
}

.dashboard-section .section-head {
    align-items: center;
}

@media (max-width: 575.98px) {
    .dashboard-section .section-head {
        align-items: flex-start;
    }

    .dashboard-section .section-head .soft-chip,
    .dashboard-section .section-head .btn-secondary {
        flex: 0 0 auto;
        min-width: fit-content;
    }
}
.dashboard-more-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 14px;
    background: #f5f8fb;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    word-break: keep-all;
}

.dashboard-more-link:hover {
    background: #eaf3f7;
    color: var(--primary-dark);
}
.is-hidden-by-load-more {
    display: none !important;
}

.records-load-more {
    width: 100%;
    border: 0;
    margin-top: 4px;
}
.dashboard-load-more {
    width: 100%;
    border: 0;
    margin-top: 4px;
}

.dashboard-pb-grid .dashboard-load-more {
    grid-column: 1 / -1;
}
.record-pb-link {
    color: inherit;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.record-pb-link:hover {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.record-pb-link small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.record-detail-shell {
    display: grid;
    gap: 16px;
}

.record-detail-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.record-detail-hero h2 {
    margin: 10px 0 6px;
    color: #0f172a;
    font-size: clamp(1.55rem, 4vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.record-detail-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(92px, 1fr));
    gap: 10px;
    min-width: min(100%, 380px);
}

.record-detail-stats div {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: #f8fbfc;
    padding: 12px 14px;
}

.record-detail-stats span {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
}

.record-detail-stats strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 900;
}

.record-chart-card {
    overflow: hidden;
}

.record-chart-wrap {
    position: relative;
    width: 100%;
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fcfd 0%, #eef8fa 100%);
    border: 1px solid rgba(64, 184, 196, 0.18);
    padding: 12px;
}

.record-chart {
    display: block;
    width: 100%;
    height: clamp(220px, 44vw, 360px);
}

.record-chart-grid {
    stroke: rgba(100, 116, 139, 0.18);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.record-chart-line-shadow,
.record-chart-line {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.record-chart-line-shadow {
    stroke: rgba(20, 184, 166, 0.16);
    stroke-width: 8;
}

.record-chart-line {
    stroke: #13a8b7;
    stroke-width: 3;
}

.record-chart-point {
    fill: #ffffff;
    stroke: #13a8b7;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.record-history-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.record-history-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: #ffffff;
    padding: 14px 16px;
    color: inherit;
    text-decoration: none;
}

.record-history-card strong {
    display: block;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 900;
}

.record-history-card span,
.record-history-card small {
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .record-detail-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .record-detail-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: 0;
    }

    .record-detail-stats div {
        padding: 10px;
    }

    .record-detail-stats strong {
        font-size: 0.95rem;
    }

    .record-chart-wrap {
        border-radius: 20px;
        padding: 8px;
    }

    .record-chart {
        height: 240px;
    }

    .record-history-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

.member-filter-bar {
    align-items: end;
    gap: 12px;
}

.member-search-wide {
    min-width: min(100%, 260px);
    flex: 1 1 260px;
}

.member-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.member-page-button {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    background: #fff;
    color: #1f2937;
    font-weight: 700;
    min-width: 72px;
    padding: 9px 14px;
}

.member-page-button:disabled {
    color: #a0a7b3;
    background: #f3f5f8;
}

.member-page-label {
    color: #6b7280;
    font-size: 0.92rem;
    font-weight: 700;
    min-width: 56px;
    text-align: center;
}

.member-card-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.member-detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid rgba(8, 121, 138, 0.18);
    border-radius: 12px;
    background: #ffffff;
    color: #08798a;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    padding: 0 14px;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.member-detail-button:hover {
    color: #075f6b;
    border-color: rgba(8, 121, 138, 0.32);
    background: #f5fcfd;
}

@media (max-width: 768px) {
    .member-filter-bar {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .member-search-wide {
        grid-column: 1 / -1;
        min-width: 0;
    }

    .member-page-button {
        min-width: 64px;
        padding: 9px 12px;
    }
}

@media (max-width: 768px) {
    .member-card-actions {
        justify-content: stretch;
    }

    .member-detail-button {
        width: 100%;
        min-height: 42px;
    }
}


.kakao-login-button {
    display: block;
    width: 100%;
    aspect-ratio: 600 / 90;
    margin: 14px 0 12px;
    text-decoration: none;
}

.kakao-login-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 12px;
}

.kakao-login-button:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.45);
    outline-offset: 3px;
}


.kakao-choice-list {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.kakao-choice-card {
    display: grid;
    gap: 5px;
    padding: 18px 16px;
    color: var(--text-main);
    text-decoration: none;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.kakao-choice-card:hover {
    color: var(--text-main);
    transform: translateY(-1px);
    border-color: rgba(30, 153, 201, 0.32);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.kakao-choice-card strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.kakao-choice-card span {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}


.auth-primary-button {
    width: 100%;
    aspect-ratio: 600 / 90;
    min-height: 0;
    height: auto;
    padding: 0;
    margin: 4px 0 0;
    border-radius: 12px;
    background: #0f766e;
    box-shadow: none;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.auth-primary-button:hover,
.auth-primary-button:focus {
    background: #0b5f58;
    box-shadow: none;
}

@media (max-width: 768px) {
    .auth-primary-button,
    .kakao-login-button {
        aspect-ratio: auto;
        height: 48px;
    }

    .kakao-login-button img {
        height: 48px;
    }

    .auth-email-verify-row {
        grid-template-columns: 1fr;
    }
}

.auth-text-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px 0 14px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.auth-text-actions a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.auth-text-actions a:hover {
    color: var(--primary);
}
