/* AUTO-GENERATED — do not edit by hand.
 * Regenerate: python scripts/build_app_shell_bundle.py
 * Source: assets/css/app_shell.components.css
 * Core layer bundle: components
 * Feature bundles: app_shell.platform/pages/dashboard.bundle.css
 * L1 only — settings: settings.bundle.css · plugins: /assets/plugins/<id>/
 */
/* App Shell — 原子组件层 → app_shell.components.bundle.css */

/* === import from ./app_shell/layers/05-components.css (05-components.css) */

/* === import from ../components/index.css (index.css) */
/* 原子 UI 组件 */

/* === import from ./topbar/index.css (index.css) */

/* === import from ./shell.css (shell.css) */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--topbar-bg);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    height: var(--header-height);
}

.topbar__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}



/* === import from ./brand.css (brand.css) */
.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.brand__logo {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 4px 12px rgba(var(--brand0-rgb), .3));
    transition: transform 0.3s ease;
}

.brand:hover .brand__logo {
    transform: rotate(5deg) scale(1.05);
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
    gap: 2px;
}

.brand__title {
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
    font-size: 16px;
}

.brand__subtitle {
    font-size: 11px;
    color: var(--muted2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}



/* === import from ./status-pills.css (status-pills.css) */
/* Status Pills */
.pill {
    margin-left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    background: var(--panel);
    border-radius: 99px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    transition: all 0.2s ease;
}

.pill:hover {
    background: var(--panel2);
    transform: translateY(-1px);
}

.pill--ok {
    border-color: rgba(41, 208, 126, .3);
    background: linear-gradient(180deg, rgba(41, 208, 126, .1), rgba(41, 208, 126, .02));
    color: var(--ok);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted2);
}

.dot--ok {
    background: var(--ok);
    box-shadow: 0 0 0 3px rgba(41, 208, 126, .15);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(41, 208, 126, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(41, 208, 126, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(41, 208, 126, 0);
    }
}



/* === import from ./actions/index.css (index.css) */

/* === import from ./shell.css (shell.css) */
.topbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
}



/* === import from ./chip.css (chip.css) */
/* User Chip */
.chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    height: 32px;
    border-radius: 99px;
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
    margin-right: 8px;
}

.chip__icon {
    color: var(--muted2);
    font-size: 13px;
}



/* === import from ./iconbtn.css (iconbtn.css) */
/* Icon Buttons */
.iconbtn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.iconbtn:hover {
    transform: translateY(-1px);
    background: var(--panel2);
    border-color: var(--text);
    color: var(--text);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}

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



/* === import from ./auth-buttons.css (auth-buttons.css) */
/* Login/Logout Buttons */
.topLogin,
.topLogout {
    height: 32px !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    display: inline-flex;
    align-items: center !important;
}



/* === import from ./lang-select.css (lang-select.css) */
/* Language Select Override */
.select__btn {
    height: 32px !important;
    border-radius: 8px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    background: var(--panel) !important;
    border: 1px solid var(--border) !important;
}

.select__btn:hover {
    background: var(--panel2) !important;
    border-color: var(--text) !important;
}







/* === import from ./buttons/index.css (index.css) */

/* === import from ./base.css (base.css) */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 0 18px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .2px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
    user-select: none;
    text-decoration: none;
    /* robust for <a> */
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.btn:visited {
    color: inherit
}

.btn:focus-visible {
    box-shadow: 0 0 0 4px rgba(var(--brand0-rgb), .14), var(--shadow);
}

.btn:active {
    transform: translateY(1px)
}



/* === import from ./primary.css (primary.css) */
.btn--primary {
    color: var(--bg1);
    border-color: rgba(var(--brand0-rgb), .35);
    background: linear-gradient(135deg, var(--brand0), var(--brand1) 56%, var(--brand2));
    box-shadow: 0 16px 44px rgba(var(--brand0-rgb), .18), var(--shadow);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 52px rgba(51, 208, 255, .22), 0 22px 56px rgba(0, 0, 0, .30);
}

.btn__shine {
    position: absolute;
    inset: 1px;
    border-radius: 13px;
    background: radial-gradient(400px 80px at 18% 0%, rgba(255, 255, 255, .48), transparent 55%);
    opacity: .55;
    pointer-events: none;
}



/* === import from ./ghost.css (ghost.css) */
.btn--ghost {
    color: var(--text);
    background: var(--panel);
    border-color: var(--border);
}

.btn[disabled],
.btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn--ghost:hover {
    transform: translateY(-1px);
    background: var(--panel2);
    border-color: var(--card-hover-border);
}

.btn__text {
    position: relative;
    z-index: 2
}




/* === import from ./select/index.css (index.css) */

/* === import from ./trigger.css (trigger.css) */
.select {
    position: relative
}

.select__btn {
    height: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px 0 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--muted);
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.select__btn:hover {
    transform: translateY(-1px);
    background: var(--panel2);
    border-color: rgba(255, 255, 255, .16);
    color: var(--text);
}



/* === import from ./menu.css (menu.css) */
.select__menu {
    position: absolute;
    right: 0;
    top: 42px;
    min-width: 160px;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--bg1);
    box-shadow: var(--shadow2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: none;
}

.select__menu[data-open="1"] {
    display: block
}

.select__item {
    width: 100%;
    padding: 10px 10px;
    border: 0;
    background: transparent;
    text-align: left;
    border-radius: 12px;
    color: var(--text);
    cursor: pointer;
}

.select__item:hover {
    background: var(--panel)
}




/* === import from ./footer-bar/index.css (index.css) */

/* === import from ./shell.css (shell.css) */
.footer {
    width: 100%;
    height: 40px;
    /* Slightly taller to accommodate the pill badge */
    background: transparent;
    /* Fully transparent */
    border-top: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
}

.footer__inner {
    width: 100%;
    max-width: 1920px;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.footer__left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: #64748b;
}



/* === import from ./badge.css (badge.css) */
.footer__badge {
    font-weight: 700;
    color: #1e293b;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 99px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 11px;
    letter-spacing: 0.5px;
}

.footer__muted {
    opacity: 0.6;
    font-weight: 500;
}



/* === import from ./links.css (links.css) */
.footer__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer__link {
    font-size: 11px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.footer__link:hover {
    color: #475569;
}





/* === import from ./layout-container/index.css (index.css) */

/* === import from ./container.css (container.css) */
.layout-container {
    width: 100%;
    position: relative;
}



/* === import from ./layer.css (layer.css) */
.layout-layer {
    width: 100%;
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
    background: transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}





/* === import from ./platform-utils/index.css (index.css) */

/* === import from ./utilities.css (utilities.css) */
/* L1 平台通用工具类 */
.platform-u-hidden {
    display: none !important;
}

.platform-spacer-md {
    height: 24px;
}

.platform-spacer-lg {
    height: 40px;
}





/* === import from ./glass/index.css (index.css) */

/* === import from ./card.css (card.css) */
/* Glass Card Utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.glass-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: var(--card-hover-shadow);
}

.upload-box:hover {
    border-color: var(--brand1) !important;
    background-color: var(--panel2) !important;
    color: var(--text) !important;
}





/* === import from ./forms/index.css (index.css) */

/* === import from ./patient-form.css (patient-form.css) */
/* Common Form Styles */
.patient-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    color: var(--muted);
    font-size: 14px;
}








