:root{
    --dc-bg-1:#E7FBFF;
    --dc-bg-2:#F4F8FF;
    --dc-primary:#2563EB;
    --dc-secondary:#06B6D4;
    --dc-text:#0B2239;
    --dc-radius: 20px;
    --dc-blur: 22px;
    --dc-shadow: 0 34px 90px rgba(15, 23, 42, .14);
    --dc-shadow-soft: 0 16px 38px rgba(15, 23, 42, .11);
    --dc-stroke: rgba(255,255,255,.72);
    --dc-stroke-soft: rgba(15, 23, 42, .08);
}

body{
    min-height:100vh;
    position: relative;
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: radial-gradient(1200px circle at 18% 18%, rgba(37, 99, 235, .16), transparent 56%),
                radial-gradient(1100px circle at 82% 24%, rgba(6, 182, 212, .12), transparent 52%),
                radial-gradient(900px circle at 20% 85%, rgba(34, 197, 94, .08), transparent 55%),
                linear-gradient(180deg, var(--dc-bg-1), var(--dc-bg-2));
    color:var(--dc-text);
}

body::before,
body::after{
    content:"";
    position: fixed;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
}

body > *{
    position: relative;
    z-index: 1;
}

body::before{
    background: radial-gradient(520px circle at 20% 35%, rgba(37, 99, 235, .22), transparent 60%),
                radial-gradient(520px circle at 78% 40%, rgba(6, 182, 212, .18), transparent 60%),
                radial-gradient(420px circle at 55% 85%, rgba(34, 197, 94, .12), transparent 62%),
                radial-gradient(560px 320px at 60% 70%, rgba(255,255,255,.58), rgba(255,255,255,0) 62%);
    filter: blur(30px) saturate(1.25);
    opacity: .95;
    mix-blend-mode: soft-light;
    animation: dcLiquidFloatA 18s ease-in-out infinite alternate;
}

body::after{
    background: radial-gradient(380px circle at 30% 70%, rgba(255, 255, 255, .85), transparent 62%),
                radial-gradient(460px circle at 70% 78%, rgba(255, 255, 255, .7), transparent 60%),
                radial-gradient(520px 300px at 78% 24%, rgba(6, 182, 212, .20), rgba(255,255,255,0) 64%);
    filter: blur(36px) saturate(1.2);
    opacity: .82;
    mix-blend-mode: soft-light;
    animation: dcLiquidFloatB 22s ease-in-out infinite alternate;
}

@keyframes dcLiquidFloatA{
    0%{ transform: translate3d(-2%, -1%, 0) scale(1); }
    50%{ transform: translate3d(2%, 1.5%, 0) scale(1.02); }
    100%{ transform: translate3d(4%, -1.5%, 0) scale(1.04); }
}

@keyframes dcLiquidFloatB{
    0%{ transform: translate3d(2%, 1%, 0) scale(1); }
    50%{ transform: translate3d(-2%, -1.5%, 0) scale(1.02); }
    100%{ transform: translate3d(-4%, 1.5%, 0) scale(1.04); }
}

@media (prefers-reduced-motion: reduce){
    body::before,
    body::after{
        animation: none;
    }
}

.portal-body{
    background: radial-gradient(1100px circle at 18% 18%, rgba(37, 99, 235, .10), transparent 58%),
                radial-gradient(900px circle at 85% 26%, rgba(6, 182, 212, .09), transparent 55%),
                linear-gradient(180deg, #F6FAFF, #EFF6FF);
    overflow: hidden;
}

.glass{
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.46));
    border: 1px solid var(--dc-stroke);
    box-shadow: var(--dc-shadow);
    border-radius: var(--dc-radius);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.glass::before{
    content:"";
    position:absolute;
    inset:-1px;
    background: radial-gradient(600px circle at 18% 18%, rgba(37, 99, 235, .20), transparent 56%),
                radial-gradient(560px circle at 88% 28%, rgba(6, 182, 212, .14), transparent 55%),
                linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
    opacity: .55;
    pointer-events:none;
}

.glass::after{
    content:"";
    position:absolute;
    top:-40%;
    left:-40%;
    width:160%;
    height:160%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,.46) 50%, transparent 60%);
    opacity: .35;
    transform: rotate(10deg);
    pointer-events:none;
}

.glass > *{
    position: relative;
}

.glass:hover{
    transform: translateY(-2px);
    box-shadow: 0 42px 110px rgba(15, 23, 42, .16);
    border-color: rgba(255,255,255,.82);
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))){
    .glass{
        -webkit-backdrop-filter: blur(var(--dc-blur));
        backdrop-filter: blur(var(--dc-blur));
    }
}

.btn-primary{
    background: linear-gradient(135deg, #2563EB, #06B6D4);
    border: none;
    box-shadow: 0 12px 26px rgba(37, 99, 235, .22);
    border-radius: 14px;
    font-weight: 800;
    letter-spacing: .01em;
}

.btn-primary:hover{
    background: linear-gradient(135deg, #1D4ED8, #0891B2);
    box-shadow: 0 14px 28px rgba(37, 99, 235, .26);
}

.btn-outline-primary{
    border-radius: 14px;
    border-color: rgba(37, 99, 235, .35);
    font-weight: 800;
}

.btn{
    border-radius: 14px;
    letter-spacing: .01em;
}

.btn-sm{
    padding: .44rem .72rem;
}

.btn-outline-danger{
    border-radius: 14px;
    font-weight: 800;
}

.btn-hint{
    width: 22px;
    height: 22px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, .35);
    background: rgba(255,255,255,.70);
    color: var(--dc-primary);
    font-weight: 800;
    line-height: 20px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hint:focus{
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .18);
}

.form-label{
    font-weight: 800;
    letter-spacing: .01em;
}

.form-control,
.form-select{
    border-radius: 14px;
    border-color: rgba(15, 23, 42, .10);
    background: rgba(255,255,255,.70);
}

.form-control:focus,
.form-select:focus{
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 0 0 .22rem rgba(37, 99, 235, .12);
}

.auth-wrap{
    max-width: 520px;
}

.portal-shell{
    min-height:100vh;
    display:flex;
    height: 100vh;
    overflow: hidden;
}

.portal-sidebar{
    width:260px;
    background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.58));
    border-right: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 12px 0 40px rgba(15, 23, 42, .06);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    min-height: 0;
    overflow-x: hidden;
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))){
    .portal-sidebar{
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }
}

.portal-brand a{
    color: var(--dc-text);
}

.brand-logo-wrap{
    width: 220px;
    height: 70px;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-logo{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
}

@media (min-width: 768px){
    .brand-logo-wrap{
        width: 260px;
        height: 78px;
    }
}

.footer-logo-wrap{
    width: 220px;
    height: 70px;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-logo{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.landing-bleed{
    position: relative;
    border-radius: 28px;
    padding: 18px;
    overflow: hidden;
}

@media (min-width: 768px){
    .landing-bleed{
        padding: 28px;
    }
}

.landing-bleed-bg{
    position: absolute;
    inset: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: radial-gradient(900px 420px at 16% 20%, rgba(37, 99, 235, .20), rgba(255,255,255,0) 58%),
                radial-gradient(900px 420px at 86% 26%, rgba(6, 182, 212, .16), rgba(255,255,255,0) 58%),
                radial-gradient(900px 420px at 70% 85%, rgba(34, 197, 94, .10), rgba(255,255,255,0) 60%),
                linear-gradient(135deg, rgba(255,255,255,.44), rgba(255,255,255,0));
    pointer-events: none;
    z-index: -1;
}

.landing-bleed-bg::after{
    content:"";
    position:absolute;
    inset:-20%;
    background: radial-gradient(closest-side at 30% 30%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%),
                radial-gradient(closest-side at 72% 40%, rgba(255,255,255,.48), rgba(255,255,255,0) 68%),
                radial-gradient(closest-side at 52% 76%, rgba(255,255,255,.42), rgba(255,255,255,0) 70%),
                repeating-radial-gradient(circle at 40% 60%, rgba(255,255,255,.18) 0 6px, rgba(255,255,255,0) 6px 18px);
    filter: blur(22px);
    opacity: .55;
    transform: translate3d(0,0,0);
    animation: dcLiquidSurface 16s ease-in-out infinite alternate;
}

@keyframes dcLiquidSurface{
    0%{ transform: translate3d(-2%, -1%, 0) scale(1); }
    50%{ transform: translate3d(2%, 1%, 0) scale(1.02); }
    100%{ transform: translate3d(4%, -1.5%, 0) scale(1.03); }
}

@media (prefers-reduced-motion: reduce){
    .landing-bleed-bg::after{
        animation: none;
    }
}

.landing-kicker{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(15, 23, 42, .08);
    color: rgba(11,34,57,.84);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.landing-kicker-dot{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563EB, #06B6D4);
    box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
}

.landing-title{
    font-size: clamp(34px, 3.6vw, 52px);
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.06;
}

.landing-subtitle{
    color: rgba(11,34,57,.72);
    font-size: 16px;
    line-height: 1.6;
}

@media (min-width: 992px){
    .landing-subtitle{
        font-size: 17px;
    }
}

.landing-ico-blue{ background: rgba(2,132,199,.14); color: #0369a1; border: 1px solid rgba(2,132,199,.18); }
.landing-ico-green{ background: rgba(34,197,94,.14); color: #16a34a; border: 1px solid rgba(34,197,94,.18); }
.landing-ico-indigo{ background: rgba(37,99,235,.14); color: #1d4ed8; border: 1px solid rgba(37,99,235,.18); }
.landing-ico-pink{ background: rgba(236,72,153,.12); color: #db2777; border: 1px solid rgba(236,72,153,.16); }

.landing-pill{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .10);
}

.landing-pill-ico{
    width: 40px;
    height: 40px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: 0 0 auto;
}

.landing-pill-title{
    font-weight: 900;
    font-size: 13px;
    line-height: 1.1;
}

.landing-pill-sub{
    font-size: 12px;
    color: rgba(11,34,57,.64);
}

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

.landing-stat{
    flex: 1 1 120px;
    min-width: 120px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(15, 23, 42, .08);
}

.landing-stat-num{
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -.01em;
}

.landing-stat-label{
    color: rgba(11,34,57,.62);
    font-size: 12px;
    font-weight: 700;
}

.landing-hero-media{
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 28px 80px rgba(15, 23, 42, .16);
    background: radial-gradient(900px 520px at 30% 10%, rgba(56, 189, 248, .20), rgba(255,255,255,0) 62%),
                radial-gradient(900px 520px at 85% 40%, rgba(34, 197, 94, .14), rgba(255,255,255,0) 60%),
                linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.42));
}

.landing-hero-photo{
    width: 100%;
    height: clamp(360px, 50vh, 520px);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.landing-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 1;
    transform: none;
    transition: opacity .35s ease, transform .35s ease;
    filter: saturate(1.04) contrast(1.02);
}

.landing-img.is-loaded{
    opacity: 1;
    transform: none;
}

.landing-img.is-error{
    display: none;
}

.landing-img-hero{
    object-position: 50% 18%;
}

.landing-hero-card{
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46%;
    max-width: 360px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 18px 60px rgba(15, 23, 42, .16);
    z-index: 5;
}

.landing-img-card{
    transform: none;
}

.landing-img-card.is-loaded{
    transform: none;
}

.landing-img-fallback{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(520px 260px at 30% 20%, rgba(37, 99, 235, .20), rgba(255,255,255,0) 64%),
                radial-gradient(520px 260px at 80% 30%, rgba(6, 182, 212, .16), rgba(255,255,255,0) 64%),
                linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.44));
    padding: 22px;
}

.landing-img-fallback-sm{
    padding: 14px;
}

.landing-img-fallback-lg{
    padding: 28px;
    min-height: 320px;
}

.landing-fallback-title{
    font-weight: 900;
    letter-spacing: -.01em;
}

.landing-fallback-sub{
    margin-top: 6px;
    font-size: 12px;
    color: rgba(11,34,57,.65);
}

.landing-hero-float{
    position: absolute;
    left: 50%;
    top: 70%;
    bottom: auto;
    transform: translate(-50%, -50%);
    border-radius: 22px;
    padding: 14px 14px;
    width: min(360px, calc(100% - 36px));
    z-index: 6;
}

.landing-hero-float-2{
    left: auto;
    right: 16px;
    top: 52%;
    bottom: auto;
    transform: translateY(-50%);
    width: min(320px, calc(100% - 36px));
    z-index: 6;
}

.landing-hero-float,
.landing-hero-float-2{
    box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
}

.landing-hero-media .landing-hero-card.glass,
.landing-hero-media .landing-hero-float.glass,
.landing-hero-media .landing-hero-float-2.glass{
    background: rgba(255,255,255,.34);
    border-color: rgba(255,255,255,.62);
}

.landing-hero-media .landing-hero-card.glass::before,
.landing-hero-media .landing-hero-float.glass::before,
.landing-hero-media .landing-hero-float-2.glass::before{
    opacity: .28;
}

.landing-hero-media .landing-hero-card.glass::after,
.landing-hero-media .landing-hero-float.glass::after,
.landing-hero-media .landing-hero-float-2.glass::after{
    opacity: .14;
}

@media (max-width: 575.98px){
    .landing-hero-float{
        top: 74%;
    }
    .landing-hero-float-2{
        top: 58%;
        right: 12px;
    }
}

.landing-float-row{
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-float-ico{
    width: 44px;
    height: 44px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: 0 0 auto;
}

.landing-float-title{
    font-weight: 900;
    line-height: 1.1;
}

.landing-float-sub{
    font-size: 12px;
    color: rgba(11,34,57,.65);
}

.landing-section{
    position: relative;
}

.landing-h2{
    font-weight: 900;
    letter-spacing: -.01em;
}

.landing-feature{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-feature-ico{
    width: 54px;
    height: 54px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.landing-feature-title{
    font-weight: 900;
    font-size: 16px;
}

.landing-feature-sub{
    color: rgba(11,34,57,.68);
    font-size: 13px;
    line-height: 1.5;
}

.landing-mini-card{
    padding: 14px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.58);
    border: 1px solid rgba(15, 23, 42, .08);
}

.landing-mini-title{
    font-weight: 900;
    font-size: 13px;
}

.landing-mini-sub{
    color: rgba(11,34,57,.65);
    font-size: 12px;
    margin-top: 4px;
}

.landing-steps{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.landing-step{
    display: flex;
    gap: 14px;
    padding: 14px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.58);
    border: 1px solid rgba(15, 23, 42, .08);
}

.landing-step-no{
    width: 42px;
    height: 42px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex: 0 0 auto;
}

.landing-step-title{
    font-weight: 900;
    line-height: 1.2;
}

.landing-step-sub{
    font-size: 12px;
    color: rgba(11,34,57,.65);
    margin-top: 4px;
}

.landing-service{
    display: flex;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.58);
    border: 1px solid rgba(15, 23, 42, .08);
}

.landing-service-ico{
    width: 44px;
    height: 44px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: 0 0 auto;
}

.landing-service-title{
    font-weight: 900;
    line-height: 1.2;
}

.landing-service-sub{
    font-size: 12px;
    color: rgba(11,34,57,.65);
    margin-top: 3px;
}

.landing-services-media{
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .14);
    min-height: 320px;
    background: rgba(255,255,255,.56);
}

.landing-img-services{
    height: 100%;
    min-height: 320px;
}

.landing-doc-name{
    font-weight: 900;
    line-height: 1.2;
}

.landing-doc-spec{
    font-size: 13px;
    color: rgba(11,34,57,.62);
    margin-top: 2px;
}

.landing-cta{
    background: radial-gradient(900px 420px at 14% 30%, rgba(37, 99, 235, .16), rgba(255,255,255,0) 58%),
                radial-gradient(900px 420px at 86% 50%, rgba(6, 182, 212, .12), rgba(255,255,255,0) 58%),
                linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.46));
}

.home-hero .glass{
    position: relative;
    overflow: hidden;
}

.hero-media{
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 28px 80px rgba(15, 23, 42, .16);
    background: radial-gradient(900px 520px at 30% 10%, rgba(56, 189, 248, .22), rgba(255,255,255,0) 62%),
                radial-gradient(900px 520px at 85% 40%, rgba(34, 197, 94, .16), rgba(255,255,255,0) 60%),
                linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.42));
}

.hero-photo-wrap{
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

@media (min-width: 992px){
    .hero-photo-wrap{
        height: 520px;
    }
}

.hero-photo{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .35s ease, transform .35s ease;
    filter: saturate(1.04) contrast(1.02);
}

.hero-photo.is-loaded{
    opacity: 1;
    transform: scale(1);
}

.hero-photo.is-error{
    display: none;
}

.hero-card{
    position: absolute;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 18px 60px rgba(15, 23, 42, .16);
    background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.42));
}

.hero-card-right{
    right: 18px;
    top: 18px;
    width: 46%;
    max-width: 360px;
}

.hero-card-img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity .35s ease;
    border-radius: 22px;
}

.hero-card-img.is-loaded{
    opacity: 1;
}

.hero-card-img.is-error{
    display: none;
}

.hero-illus-overlay{
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-illus-ring{
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255,255,255,.38);
    backdrop-filter: blur(10px);
}

.hero-illus-ring-1{ width: 220px; height: 220px; left: -60px; top: -60px; }
.hero-illus-ring-2{ width: 260px; height: 260px; right: -90px; top: 40px; }
.hero-illus-ring-3{ width: 300px; height: 300px; right: 30px; bottom: -140px; }

.hero-illus-card{
    position: absolute;
    left: 22px;
    top: 22px;
    border-radius: 26px;
    max-width: 420px;
}

.hero-float{
    position: absolute;
    left: 16px;
    bottom: 16px;
    border-radius: 22px;
    max-width: 320px;
}

.hero-float-2{
    left: auto;
    right: 16px;
    bottom: 96px;
}

.home-doc-img{
    width: 88px;
    height: 88px;
    border-radius: 22px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(15, 23, 42, .08);
    flex: 0 0 auto;
}

.home-doc-avatar{
    width: 88px;
    height: 88px;
    border-radius: 22px;
    background: rgba(2,132,199,.14);
    border: 1px solid rgba(2,132,199,.18);
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0369a1;
    font-weight: 900;
    font-size: 34px;
}

.portal-logo-wrap{
    width: 200px;
    height: 70px;
    border-radius: 0;
    background: transparent;
    border: none;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow: visible;
}

.portal-logo-img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    display:block;
}

.landing-media-stack{
    position: relative;
}

.landing-media-stack > .landing-img-fallback{
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.landing-media-stack > img{
    position: relative;
    z-index: 1;
}

.portal-menu{
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, .26) transparent;
}

.portal-menu::-webkit-scrollbar{
    width: 8px;
}

.portal-menu::-webkit-scrollbar-track{
    background: transparent;
}

.portal-menu::-webkit-scrollbar-thumb{
    background-color: rgba(15, 23, 42, .18);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.portal-menu::-webkit-scrollbar-thumb:hover{
    background-color: rgba(15, 23, 42, .30);
}

.portal-sidebar .nav{
    padding-bottom: 12px;
}

.portal-link{
    display:flex;
    align-items:center;
    padding:10px 12px;
    border-radius: 14px;
    color: rgba(11,34,57,.85);
    text-decoration:none;
    font-weight:800;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
    width: 100%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-link i{
    width: 18px;
    text-align: center;
}

.portal-subhead{
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 11px;
}

.portal-sublink{
    padding-left: 14px;
    font-weight: 600;
}

.portal-sublink i{
    opacity: .85;
}

.portal-section{
    width: 100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:10px 12px;
    border-radius: 12px;
    border: 0;
    background: transparent;
    color: rgba(11,34,57,.75);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 11px;
    min-width: 0;
}

.portal-section > span{
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-section:hover{
    background: rgba(47,128,237,.06);
    color: rgba(11,34,57,.9);
}

.portal-chev{
    opacity: .6;
    font-size: 12px;
}

.portal-link:hover{
    background: rgba(37, 99, 235, .10);
    color: rgba(11,34,57,1);
    transform: translateY(-1px);
}

.portal-link.active{
    background: linear-gradient(135deg, rgba(37, 99, 235, .18), rgba(6, 182, 212, .14));
    color: rgba(11,34,57,1);
    border: 1px solid rgba(37, 99, 235, .20);
}

.portal-body .bg-white.bg-opacity-50{
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.50)) !important;
    border: 1px solid var(--dc-stroke) !important;
    box-shadow: var(--dc-shadow-soft);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))){
    .portal-body .bg-white.bg-opacity-50{
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }
}

.portal-body .bg-white.bg-opacity-50:hover{
    transform: translateY(-2px);
    box-shadow: 0 22px 54px rgba(15, 23, 42, .12);
    border-color: rgba(255,255,255,.84) !important;
}

.portal-main{
    flex:1;
    display:flex;
    flex-direction:column;
    min-width:0;
    height: 100vh;
    overflow: hidden;
}

.portal-topbar{
    position:sticky;
    top:0;
    z-index:100;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.62));
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))){
    .portal-topbar{
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }
}

.portal-title{
    font-weight:800;
    font-size:16px;
}

.portal-user{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    line-height:1.1;
}

.portal-logout{
    border-radius: 12px;
    font-weight: 800;
    padding: 8px 10px;
}

.portal-content{
    padding:18px;
    flex:1;
    overflow: auto;
}

.portal-content > .glass{
    border-color: rgba(255,255,255,.78);
}

.offcanvas{
    background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.62));
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))){
    .offcanvas{
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }
}

.table{
    --bs-table-bg: transparent;
}

.table thead th{
    font-weight: 800;
    color: rgba(11, 34, 57, .70);
    letter-spacing: .02em;
}

.table tbody tr{
    transition: background .12s ease;
}

.table tbody tr:hover{
    background: rgba(37, 99, 235, .06);
}

.badge{
    border-radius: 999px;
    font-weight: 800;
}

.cal-wrap{
    display:flex;
    flex-direction:column;
    gap:10px;
}

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

.cal-title{
    font-weight:800;
}

.cal-grid{
    display:grid;
    grid-template-columns: repeat(7, 1fr);
    gap:8px;
}

.cal-dow{
    font-size:11px;
    letter-spacing:.06em;
    text-transform:uppercase;
    color: rgba(11,34,57,.55);
    text-align:center;
}

.cal-day{
    border: 1px solid rgba(15, 23, 42, .06);
    background: linear-gradient(135deg, rgba(255,255,255,.80), rgba(255,255,255,.55));
    border-radius: 12px;
    height: 42px;
    font-weight: 800;
    color: rgba(11,34,57,.85);
    transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.cal-day:hover{
    background: rgba(255,255,255,.85);
    transform: translateY(-1px);
}

.cal-day.is-empty{
    background: transparent;
    border-color: transparent;
}

.cal-day.is-none{
    opacity: .35;
}

.cal-day.is-past{
    opacity: .25;
}

.cal-day.is-free{
    border-color: rgba(34, 197, 94, .26);
    background: rgba(34, 197, 94, .10);
}

.cal-day.is-full{
    border-color: rgba(239, 68, 68, .26);
    background: rgba(239, 68, 68, .10);
}

.cal-day.is-blocked{
    border-color: rgba(245, 158, 11, .32);
    background: rgba(245, 158, 11, .14);
}

.cal-day.is-selected{
    outline: 2px solid rgba(37, 99, 235, .34);
}

.slot-wrap{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.slot-btn{
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
    background: rgba(255,255,255,.72);
    border-color: rgba(15, 23, 42, .10);
}

.slot-btn.is-booked{
    opacity: .55;
}

.legend{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    font-size:12px;
    color: rgba(11,34,57,.75);
}

.legend-dot{
    width:10px;
    height:10px;
    border-radius:999px;
    display:inline-block;
    margin-right:6px;
}

.chip-row{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.chip{
    border-radius:999px;
    padding:8px 12px;
    font-weight:800;
    background: rgba(255,255,255,.70);
    border: 1px solid rgba(15, 23, 42, .08);
    color: rgba(11,34,57,.85);
    transition: background .12s ease, border-color .12s ease, transform .12s ease;
}

.chip:hover{
    background: rgba(255,255,255,.84);
    border-color: rgba(37, 99, 235, .22);
    transform: translateY(-1px);
}

.chip.active{
    background: linear-gradient(135deg, rgba(37, 99, 235, .18), rgba(6, 182, 212, .14));
    border-color: rgba(37, 99, 235, .26);
}

@media (max-width: 575.98px){
    .portal-content{
        padding: 12px;
    }
    .glass{
        border-radius: 18px;
    }
    .btn{
        border-radius: 14px;
    }
    .portal-topbar{
        padding: 12px 14px;
    }
}

@media (prefers-reduced-motion: reduce){
    .glass,
    .portal-link,
    .chip,
    .cal-day,
    .table tbody tr{
        transition: none !important;
    }
}
