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

/* === import from ./app_shell/layers/02-layout.css (02-layout.css) */

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

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

   App Shell 布局组件模块（按功能板块分组）



   chrome/       侧栏 · 页眉 · 页脚 · 视口 · Dash 根

   navigation/   主导航标签

   theme/        主题 / 品牌色选择

   content/      通知 · AI 排版 · SOP 时间线

   welcome/      系统中心欢迎页

*/


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

   App Shell 布局 — 壳层 chrome（侧栏 / 页眉 / 页脚 / 视口）

*/


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

/* === import from ./wrapper.css (wrapper.css) */
.home-sidebar-wrapper {
    height: 100% !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    background-color: var(--panel);
    border-right: 1px solid var(--border);
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow-x: hidden !important;
}



/* === import from ./toggle.css (toggle.css) */
/* 2. Toggle Region */
.home-sidebar-toggle-container {
    height: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
    box-sizing: border-box;
}

.home-sidebar-toggle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    color: #94a3b8;
    background-color: transparent !important;
    border: none !important;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.home-sidebar-toggle:hover {
    background-color: #f1f5f9;
    color: #4B7CFF;
}

.home-sidebar-toggle i {
    font-size: 16px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}



/* === import from ./links.css (links.css) */
/* 3. Link Items */
.custom-sidebar-link {
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    text-decoration: none !important;
    color: #475569;
    position: relative;
    transition: all 0.2s ease;
    margin: 4px 8px;
    border-radius: 8px;
}

.custom-sidebar-link .link-icon {
    font-size: 18px;
    width: 24px;
    display: flex;
    justify-content: center;
    margin-right: 12px;
    transition: margin 0.3s ease;
}

.custom-sidebar-link .sidebar-text {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.custom-sidebar-link:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.custom-sidebar-link.active {
    background-color: rgba(75, 124, 255, 0.08) ;
    color: #4B7CFF;
}

/* Active Indicator (Hidden by default in expanded) */
.custom-sidebar-link.active .link-indicator {
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 0; 
    background-color: #4B7CFF;
    border-radius: 4px 0 0 4px;
    transition: width 0.2s ease;
}



/* === import from ./pinned.css (pinned.css) */
/* 插件管理「固定到侧栏」后的分组标题 */
.home-sidebar-pinned-heading {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    padding: 12px 16px 6px 24px;
    margin: 0;
}

.is-collapsed .home-sidebar-pinned-heading {
    display: none;
}



/* === import from ./collapsed.css (collapsed.css) */
/* 4. Collapse Logic (Pixel Perfect) */
.is-collapsed .home-sidebar-toggle-container {
    justify-content: center !important;
    padding: 0 !important;
}

.is-collapsed .home-sidebar-toggle {
    margin: 0 auto !important;
}

.is-collapsed .custom-sidebar-link {
    padding: 0 !important;
    justify-content: center !important;
    margin: 4px 0;
    width: 60px;
    border-radius: 0;
}

.is-collapsed .custom-sidebar-link .link-icon {
    margin-right: 0 !important;
    width: 60px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.is-collapsed .custom-sidebar-link .sidebar-text {
    display: none !important;
    width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

/* Highlight Indicator for Collapsed Mode - Fixed on Right Edge */
.is-collapsed .custom-sidebar-link.active {
    background-color: rgba(75, 124, 255, 0.12);
    border-radius: 8px; /* Give it some padding-like feel even when collapsed */
    margin: 4px 6px; /* Shrink to center */
    width: 48px; /* Icon-box size */
}

.is-collapsed .custom-sidebar-link.active .link-indicator {
    width: 4px; /* Show indicator in collapsed mode */
    height: 100%;
    top: 0;
    border-radius: 0;
}






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

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



/* === import from ./links.css (links.css) */
.footer-muted { font-size: 11px; color: #64748b; opacity: 0.6; font-weight: 500; }
.footer-link { font-size: 11px !important; color: #94a3b8 !important; text-decoration: none !important; transition: color 0.2s; font-weight: 500 !important; }
.footer-link:hover { color: #475569 !important; }






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

/* === import from ./brand.css (brand.css) */
.header-brand-mark {
    height: clamp(38px, 5vmin, 48px);
    width: auto;
    max-width: min(200px, 38vw);
    object-fit: contain;
    display: block;
}

.premium-logo-text {
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #023456 !important;
    -webkit-text-fill-color: #023456;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    transition: color 0.2s ease, transform 0.3s ease;
    cursor: pointer;
    user-select: none;
    display: inline-block;
}

.premium-logo-text:hover {
    transform: translateY(-1px) scale(1.02);
    color: #012d45 !important;
    -webkit-text-fill-color: #012d45;
}



/* === import from ./user.css (user.css) */
.user-info-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    margin-left: 4px;
}

#user-menu-trigger {
    transition: background-color 0.2s ease;
    border-radius: 8px;
    padding: 6px 12px !important;
}

#user-menu-trigger:hover {
    background-color: #f8fafc;
}



/* === import from ./layout.css (layout.css) */
/* 顶栏根布局 */
.header-root {
    width: 100%;
}

.header-brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* 通知铃铛 */
.header-bell-wrapper {
    position: relative;
}

.header-notifications-bell-root {
    position: relative;
}

.header-notif-target {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.header-notifications-preview {
    max-height: 320px;
    overflow-y: auto;
    margin-top: 6px;
}

.header-gear-link {
    text-decoration: none;
}

.header-gear-link-inner {
    display: inline-flex;
    align-items: center;
}



/* === import from ./login.css (login.css) */
/* 顶栏登录（system_login）；与插件 CSS 同步，编入 app_shell.bundle */
#header-login-btn {
    cursor: pointer;
}






/* === import from ../sidebar-placement/index.css (index.css) */

/* === import from ./right.css (right.css) */
.home-sidebar-wrapper.is-right {
    border-right: none !important;
    border-left: 1px solid var(--border) !important;
}

.is-right .custom-sidebar-link .link-indicator {
    right: auto !important;
    left: 0 !important;
    border-radius: 0 4px 4px 0 !important;
}

.is-right .home-sidebar-toggle-container {
    justify-content: flex-start !important;
}

.is-right.is-collapsed .home-sidebar-toggle-container {
    justify-content: center !important;
}



/* === import from ./states.css (states.css) */
.custom-sidebar-link:active {
    transform: scale(0.98);
}

.is-hidden {
    display: none !important;
    width: 0 !important;
    pointer-events: none;
}






/* === import from ../app-shell/index.css (index.css) */

/* === import from ./cleanup.css (cleanup.css) */
/* Force hide any legacy background elements from old templates when in Dashboard */
.bg, .noise {
    display: none !important;
}

body {
    background: var(--bg0) !important;
}



/* === import from ./viewport.css (viewport.css) */
/* AppShell.Main：须在 flex 列内可收缩（min-height:0），子级 .platform-page-scroll 才能 overflow-y 滚动 */
main#app-main-content.app-shell-main-region {
    flex: 1 1 0;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 界面设定：收掉通用头/侧栏/底槽位，主内容区拉满视口 */
.global-app-shell.app-shell--no-header {
    --app-shell-header-offset: 0px;
    --header-height: 0px;
}
.global-app-shell.app-shell--no-footer {
    --app-shell-footer-offset: 0px;
    --footer-height: 0px;
}
.global-app-shell.app-shell--no-header.app-shell--no-footer main#app-main-content {
    min-height: 100dvh;
}



/* === import from ./chrome-hide.css (chrome-hide.css) */
.global-app-shell.app-shell--no-header #header-container,
.global-app-shell.app-shell--no-footer #footer-container,
.global-app-shell.app-shell--no-sidebar #navbar-container,
.global-app-shell.app-shell--no-sidebar #aside-container {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: hidden !important;
    visibility: hidden !important;
}



/* === import from ./regions.css (regions.css) */
/* dash_app 根布局与 AppShell 区域 */
.dash-app-root {
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--bg0);
}

.global-app-shell {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.app-shell-header-region {
    background-color: var(--panel);
    border-bottom: 1px solid var(--border);
    z-index: 101;
}

.app-shell-navbar-region {
    background-color: var(--panel);
    border-right: 1px solid var(--border);
}

.app-shell-aside-region {
    background-color: var(--panel);
    border-left: 1px solid var(--border);
}

.app-shell-main-region {
    background-color: var(--bg0);
    flex: 1;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.app-shell-footer-region {
    background-color: var(--panel);
    border-top: 1px solid var(--border);
    z-index: 101;
}



/* === import from ./legacy.css (legacy.css) */
/* App Shell & Main Layout */
.appShell {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevent global scrollbars */
}

.main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Dash 下由 .main 承担高度，因此不再依赖固定计算 */
.hero {
    min-height: auto;
}

/* 扉页 logo 轻微增强质感 */
.heroLogo img {
    width: 84px;
    height: auto;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .35)) drop-shadow(0 10px 22px rgba(51, 208, 255, .16));
}






/* === import from ../dash-root/index.css (index.css) */

/* === import from ./height-chain.css (height-chain.css) */
#react-entry-point,
#_dash-app-content {
    height: 100%;
    min-height: 0;
}



/* === import from ./devtools.css (devtools.css) */
#_dash-global-error-container {
    position: static;
}

#_dash-global-error-container .dash-debug-menu__outer {
    z-index: 2147483000 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}









/* === import from ./navigation/index.css (index.css) */
/* 主导航标签栏 */


/* === import from ../main-nav-tabs/index.css (index.css) */
/* 已打开页面多标签导航条 */

/* === import from ./shell.css (shell.css) */
.app-main-with-tabs {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}
.main-nav-tab-strip-outer {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
    background: var(--bg1);
    padding: 0 6px;
    z-index: 5;
}

.app-main-with-tabs-inner {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#app-main-content > .app-main-with-tabs {
    flex: 1 1 0;
    min-height: 0;
    height: 100%;
    max-height: 100%;
}



/* === import from ./strip.css (strip.css) */
.main-nav-tabs-sortable {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    align-items: flex-end;
    min-height: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.main-nav-tabs-sortable::-webkit-scrollbar {
    height: 4px;
}
.main-nav-tabs-sortable::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}



/* === import from ./tab-item.css (tab-item.css) */
.main-nav-tab-item {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 240px;
    border-radius: 8px 8px 0 0;
    background: transparent;
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-bottom: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.main-nav-tab-item:not(.is-active):hover {
    background: var(--panel2);
}
.main-nav-tab-item.is-active {
    background: var(--bg0);
    border-color: var(--border);
    border-bottom-color: var(--bg0);
    z-index: 2;
}



/* === import from ./tab-drag-handle.css (tab-drag-handle.css) */
.main-nav-tab-drag-handle {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 8px 2px 10px 8px;
    color: var(--muted);
    cursor: grab;
    opacity: 0.45;
    font-size: 0.7rem;
    user-select: none;
}

.main-nav-tab-item:hover .main-nav-tab-drag-handle,
.main-nav-tab-item.is-active .main-nav-tab-drag-handle {
    opacity: 0.75;
}

.main-nav-tab-drag-handle:active {
    cursor: grabbing;
}



/* === import from ./tab-link.css (tab-link.css) */
.main-nav-tab-link {
    padding: 8px 4px 10px 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    transition: color 0.15s ease;
}
.main-nav-tab-item:not(.is-active):hover .main-nav-tab-link {
    color: var(--text);
}
.main-nav-tab-item.is-active .main-nav-tab-link {
    color: var(--brand1);
    font-weight: 600;
}



/* === import from ./tab-close.css (tab-close.css) */
.main-nav-tab-close {
    opacity: 0;
    margin: 0 6px 0 0;
    padding: 2px 6px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    border-radius: 4px;
    color: var(--muted2);
    transition: opacity 0.12s ease, background 0.12s ease, color 0.12s ease;
    user-select: none;
}
.main-nav-tab-item:hover .main-nav-tab-close,
.main-nav-tab-item.is-active .main-nav-tab-close {
    opacity: 1;
    color: var(--brand1);
}
.main-nav-tab-close:hover {
    background: rgba(var(--brand1-rgb), 0.15);
}
.main-nav-tab-sort-ghost {
    opacity: 0.55;
}
.main-nav-tab-sort-chosen {
    cursor: grabbing;
}









/* === import from ./theme/index.css (index.css) */
/* 主题 / 配色选择器 */


/* === import from ../theme-selector/index.css (index.css) */

/* === import from ./theme-mode.css (theme-mode.css) */
.theme-selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.theme-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--panel2);
}

.theme-option:hover {
    border-color: var(--brand1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.theme-option-active {
    border-color: var(--brand1);
    background: rgba(75, 124, 255, 0.05);
}

.theme-preview {
    width: 100%;
    height: 100px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.theme-preview-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.theme-preview-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.theme-preview-auto {
    background: linear-gradient(135deg, #f8fafc 0%, #1e293b 100%);
}

.theme-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.theme-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand1);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.theme-option-active .theme-check {
    display: flex;
}



/* === import from ./brand-color.css (brand-color.css) */
/* 7. Brand Color Selector */
.brand-color-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.brand-color-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--panel2);
}

.brand-color-option:hover {
    border-color: var(--brand1);
    background: var(--panel);
}

.brand-color-option.active {
    border-color: var(--brand1);
    background: rgba(var(--brand1-rgb), 0.08); /* This will be re-evaluated by dynamic-brand-style */
}

.color-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.05);
}

.color-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}









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

   AI / 消息内容排版

   notifications · ai-thinking · ai-markdown · sop-timeline

*/


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

/* === import from ./mantine.css (mantine.css) */
/* Ensure Notification Container doesn't block the Header items */
.mantine-notification-container {
    z-index: 2001 !important;
    pointer-events: none; /* Allow clicking through the container area but not the notifications themselves */
}

.mantine-notification {
    pointer-events: all;
    box-shadow: var(--shadow) !important;
}



/* === import from ./links.css (links.css) */
/* 头部通知铃铛下拉：dcc.Link 在 withinPortal 的菜单里，须用独立类名（不依赖父级包裹） */
a.header-notif-link--footer,
a.header-notif-link--inline {
    color: var(--mantine-color-blue-filled, #228be6);
    text-decoration: none !important;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.15s ease, color 0.15s ease;
}
a.header-notif-link--footer:hover,
a.header-notif-link--inline:hover {
    color: var(--mantine-color-blue-8, #1864ab);
    background-color: rgba(34, 139, 230, 0.12);
    text-decoration: none !important;
}
a.header-notif-link--footer {
    display: block;
    padding: 8px 6px;
    margin: 0 -2px;
    text-align: center;
    font-weight: 600;
}
a.header-notif-link--inline {
    padding: 2px 6px;
    margin-left: 2px;
    white-space: nowrap;
}



/* === import from ./badge.css (badge.css) */
/* 头部未读徽章（回调写 --hdr-badge-display，禁止用 className 切换显隐） */
.header-notifications-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 18px;
    pointer-events: none;
    padding: 0 5px;
    font-weight: 700;
    display: var(--hdr-badge-display, none);
    justify-content: center;
    align-items: center;
}



/* === import from ./page.css (page.css) */
.notifications-page-inner {
    padding: var(--mantine-spacing-md, 16px);
    max-width: 1200px;
    margin: 0 auto;
}

.global-notif-container {
    margin-top: 64px;
    z-index: 2001;
}






/* === import from ../ai-thinking/index.css (index.css) */

/* === import from ./keyframes.css (keyframes.css) */
@keyframes aiThinkingBubbleIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes aiThinkingDot {
    0%, 80%, 100% { opacity: 0.2; transform: scale(0.85); }
    40%           { opacity: 1;   transform: scale(1.0); }
}
@keyframes aiThinkingTextSwap {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.55; }
}



/* === import from ./bubble.css (bubble.css) */
.ai-thinking-bubble {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(var(--brand1-rgb, 75, 124, 255), 0.06) 0%, rgba(var(--brand1-rgb, 75, 124, 255), 0.02) 100%);
    border: 1px solid rgba(var(--brand1-rgb, 75, 124, 255), 0.18);
    border-radius: 12px;
    max-width: 80%;
    font-size: 14px;
    color: var(--mantine-color-gray-7, #495057);
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    animation: aiThinkingBubbleIn 0.25s ease-out;
}



/* === import from ./spinner.css (spinner.css) */
.ai-thinking-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(var(--brand1-rgb, 75, 124, 255), 0.25);
    border-top-color: var(--brand1, #4B7CFF);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}



/* === import from ./text-dots.css (text-dots.css) */
.ai-thinking-text {
    animation: aiThinkingTextSwap 1.5s ease-in-out infinite;
    white-space: nowrap;
}

.ai-thinking-dots {
    display: inline-flex;
    gap: 3px;
    margin-left: 2px;
}
.ai-thinking-dots > span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand1, #4B7CFF);
    animation: aiThinkingDot 1.2s ease-in-out infinite;
}
.ai-thinking-dots > span:nth-child(2) { animation-delay: 0.2s; }
.ai-thinking-dots > span:nth-child(3) { animation-delay: 0.4s; }






/* === import from ../ai-markdown/index.css (index.css) */
/* AI 回复 Markdown 排版 */

/* === import from ./base.css (base.css) */
.ai-markdown {
    font-size: 14px;
    line-height: 1.65;
    color: var(--mantine-color-gray-8, #343a40);
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* 首尾段去除多余 margin，避免气泡内部上下出现空白条 */
.ai-markdown > :first-child { margin-top: 0 !important; }
.ai-markdown > :last-child  { margin-bottom: 0 !important; }

.ai-markdown p {
    margin: 0 0 8px 0;
}
.ai-markdown p:last-child {
    margin-bottom: 0;
}



/* === import from ./headings.css (headings.css) */
.ai-markdown h1,
.ai-markdown h2,
.ai-markdown h3,
.ai-markdown h4,
.ai-markdown h5,
.ai-markdown h6 {
    font-weight: 700;
    line-height: 1.35;
    margin: 14px 0 8px 0;
    color: var(--mantine-color-gray-9, #212529);
}
.ai-markdown h1 { font-size: 18px; }
.ai-markdown h2 { font-size: 16.5px; }
.ai-markdown h3 { font-size: 15px; }
.ai-markdown h4,
.ai-markdown h5,
.ai-markdown h6 { font-size: 14px; }



/* === import from ./inline.css (inline.css) */
.ai-markdown strong { font-weight: 700; color: var(--mantine-color-gray-9, #212529); }
.ai-markdown em     { font-style: italic; }
.ai-markdown del    { color: var(--mantine-color-gray-6, #868e96); }

.ai-markdown a {
    color: var(--brand1, #4B7CFF);
    text-decoration: none;
    border-bottom: 1px dashed rgba(var(--brand1-rgb, 75, 124, 255), 0.5);
    transition: color 0.15s ease, border-color 0.15s ease;
}
.ai-markdown a:hover {
    color: var(--brand1, #4B7CFF);
    border-bottom-color: var(--brand1, #4B7CFF);
}



/* === import from ./lists.css (lists.css) */
.ai-markdown ul,
.ai-markdown ol {
    margin: 6px 0 8px 0;
    padding-left: 22px;
}
.ai-markdown li {
    margin: 2px 0;
}
.ai-markdown li > p {
    margin: 0 0 4px 0;
}



/* === import from ./blockquote.css (blockquote.css) */
.ai-markdown blockquote {
    margin: 8px 0;
    padding: 6px 12px;
    border-left: 3px solid rgba(var(--brand1-rgb, 75, 124, 255), 0.55);
    background: rgba(var(--brand1-rgb, 75, 124, 255), 0.05);
    border-radius: 0 6px 6px 0;
    color: var(--mantine-color-gray-7, #495057);
}
.ai-markdown blockquote > :first-child { margin-top: 0; }
.ai-markdown blockquote > :last-child  { margin-bottom: 0; }



/* === import from ./code.css (code.css) */
/* 行内代码：浅灰圆角小标签 */
.ai-markdown code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.88em;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(var(--brand1-rgb, 75, 124, 255), 0.08);
    color: var(--mantine-color-gray-9, #212529);
    border: 1px solid rgba(var(--brand1-rgb, 75, 124, 255), 0.12);
}

/* 块级代码块：深色卡片，水平滚动条 */
.ai-markdown pre {
    margin: 8px 0;
    padding: 12px 14px;
    background: #1f2430;
    color: #e6e6e6;
    border-radius: 8px;
    overflow-x: auto;
    line-height: 1.55;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.ai-markdown pre code {
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    font-size: inherit;
}



/* === import from ./table.css (table.css) */
/* 表格 */
.ai-markdown table {
    border-collapse: collapse;
    margin: 10px 0;
    width: 100%;
    font-size: 13px;
}
.ai-markdown th,
.ai-markdown td {
    border: 1px solid var(--mantine-color-gray-3, #dee2e6);
    padding: 6px 10px;
    text-align: left;
    vertical-align: top;
}
.ai-markdown th {
    background: var(--mantine-color-gray-1, #f1f3f5);
    font-weight: 600;
}



/* === import from ./media.css (media.css) */
.ai-markdown hr {
    border: none;
    border-top: 1px solid var(--mantine-color-gray-3, #dee2e6);
    margin: 12px 0;
}

.ai-markdown img {
    max-width: 100%;
    border-radius: 6px;
    margin: 6px 0;
}






/* === import from ../sop-timeline/index.css (index.css) */

/* === import from ./markdown.css (markdown.css) */
.sop-timeline-markdown.ai-markdown h1 { font-size: 16px; }
.sop-timeline-markdown.ai-markdown h2 { font-size: 15px; }
.sop-timeline-markdown.ai-markdown h3 { font-size: 14px; }
.sop-timeline-markdown.ai-markdown h4,
.sop-timeline-markdown.ai-markdown h5,
.sop-timeline-markdown.ai-markdown h6 { font-size: 13px; }

.sop-timeline-markdown.ai-markdown a {
    color: inherit !important;
    border-bottom: none !important;
    text-decoration: none !important;
    pointer-events: none !important;
    cursor: text !important;
    font-weight: inherit !important;
}
.sop-timeline-markdown.ai-markdown a:hover {
    color: inherit !important;
    border-bottom: none !important;
}



/* === import from ./links.css (links.css) */
a.sop-outbound-link-as-button:hover {
    background-color: #dbe4ff !important;
    border-color: #91a7ff !important;
    color: #2b3aa3 !important;
}
a.sop-outbound-link-as-button:active {
    background-color: #bac8ff !important;
}









/* === import from ./welcome/index.css (index.css) */
/* 系统中心欢迎页 */


/* === import from ../sys-center-welcome/index.css (index.css) */
/* 系统中心欢迎页 */

/* === import from ./shell.css (shell.css) */
.sys-center-welcome-root {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 4px 32px;
    box-sizing: border-box;
}

.sys-center-welcome-shell {
    position: relative;
    min-height: min(72vh, 640px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        var(--shadow2),
        0 0 0 1px var(--border),
        0 0 72px rgba(var(--brand0-rgb), 0.1);
}

[data-mantine-color-scheme="dark"] .sys-center-welcome-shell {
    box-shadow:
        var(--shadow2),
        0 0 0 1px rgba(99, 102, 241, 0.22),
        0 24px 80px rgba(0, 0, 0, 0.45),
        0 0 100px rgba(var(--brand0-rgb), 0.12);
}



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

/* === import from ./gradient-bg.css (gradient-bg.css) */
.sys-center-welcome-bg {
    position: absolute;
    inset: 0;
    /* 使用主题 surface + 品牌色轻晕染，随 --bg* / --brand* 变化 */
    background: linear-gradient(
        125deg,
        var(--bg0) 0%,
        var(--bg1) 38%,
        rgba(var(--brand0-rgb), 0.14) 72%,
        rgba(var(--brand1-rgb), 0.12) 100%
    );
    background-size: 220% 220%;
    animation: sys-center-welcome-bg-shift 14s ease-in-out infinite alternate;
}

@keyframes sys-center-welcome-bg-shift {
    0% {
        background-position: 0% 40%;
    }
    100% {
        background-position: 100% 60%;
    }
}



/* === import from ./overlay.css (overlay.css) */
.sys-center-welcome-noise {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

[data-mantine-color-scheme="light"] .sys-center-welcome-noise {
    opacity: 0.035;
    mix-blend-mode: multiply;
}

.sys-center-welcome-gridlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.12;
    background-image:
        linear-gradient(color-mix(in srgb, var(--text) 10%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--text) 8%, transparent) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 85% 70% at 50% 38%, black 20%, transparent 72%);
}

@supports not (background: color-mix(in srgb, red, blue)) {
    .sys-center-welcome-gridlines {
        background-image:
            linear-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px),
            linear-gradient(90deg, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
    }
    [data-mantine-color-scheme="dark"] .sys-center-welcome-gridlines {
        background-image:
            linear-gradient(rgba(148, 163, 184, 0.28) 1px, transparent 1px),
            linear-gradient(90deg, rgba(148, 163, 184, 0.22) 1px, transparent 1px);
    }
}



/* === import from ./orbs.css (orbs.css) */
.sys-center-welcome-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.45;
    animation: sys-center-welcome-orb-float 10s ease-in-out infinite;
}

.sys-center-welcome-orb--a {
    width: 280px;
    height: 280px;
    top: -12%;
    right: -8%;
    background: radial-gradient(
        circle,
        rgba(var(--brand0-rgb), 0.42) 0%,
        transparent 68%
    );
    animation-delay: 0s;
}

.sys-center-welcome-orb--b {
    width: 220px;
    height: 220px;
    bottom: -18%;
    left: -6%;
    background: radial-gradient(
        circle,
        rgba(var(--brand1-rgb), 0.4) 0%,
        transparent 70%
    );
    animation-delay: -3s;
}

[data-mantine-color-scheme="light"] .sys-center-welcome-orb--a {
    opacity: 0.35;
    background: radial-gradient(
        circle,
        rgba(var(--brand0-rgb), 0.28) 0%,
        transparent 68%
    );
}

[data-mantine-color-scheme="light"] .sys-center-welcome-orb--b {
    opacity: 0.32;
    background: radial-gradient(
        circle,
        rgba(var(--brand1-rgb), 0.24) 0%,
        transparent 70%
    );
}

@keyframes sys-center-welcome-orb-float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-12px, 10px) scale(1.06);
    }
}



/* === import from ./ring.css (ring.css) */
.sys-center-welcome-ring {
    position: absolute;
    width: 420px;
    height: 420px;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--border);
    box-shadow: 0 0 0 1px rgba(var(--brand0-rgb), 0.06) inset;
    pointer-events: none;
    animation: sys-center-welcome-ring-pulse 6s ease-in-out infinite;
    opacity: 0.85;
}

[data-mantine-color-scheme="light"] .sys-center-welcome-ring {
    opacity: 0.5;
    border-color: rgba(var(--brand1-rgb), 0.2);
}

@keyframes sys-center-welcome-ring-pulse {
    0%,
    100% {
        opacity: 0.35;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.04);
    }
}





/* === import from ./card.css (card.css) */
.sys-center-welcome-card {
    position: relative;
    z-index: 2;
    margin: clamp(20px, 4vw, 40px);
    padding: clamp(24px, 4vw, 44px) clamp(22px, 4vw, 48px);
    border-radius: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-inner-shadow), var(--glass-shadow);
}

[data-mantine-color-scheme="dark"] .sys-center-welcome-card {
    background: linear-gradient(
        155deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(30, 27, 75, 0.52) 45%,
        rgba(15, 23, 42, 0.78) 100%
    );
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow:
        0 0 0 1px rgba(var(--brand0-rgb), 0.08) inset,
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 0 48px rgba(var(--brand0-rgb), 0.06);
}

.sys-center-welcome-stack {
    position: relative;
    z-index: 1;
}



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

/* === import from ./shell.css (shell.css) */
.sys-center-welcome-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}



/* === import from ./keyframes.css (keyframes.css) */
@keyframes sys-center-welcome-dot-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.65;
        transform: scale(0.92);
    }
}



/* === import from ./eyebrow.css (eyebrow.css) */
.sys-center-welcome-eyebrow-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sys-center-welcome-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand0);
    box-shadow: 0 0 14px rgba(var(--brand0-rgb), 0.75);
    animation: sys-center-welcome-dot-pulse 2.2s ease-in-out infinite;
}

.sys-center-welcome-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--brand0);
}



/* === import from ./title.css (title.css) */
.sys-center-welcome-title {
    font-size: clamp(1.85rem, 4.2vw, 2.65rem) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em !important;
    margin: 0 !important;
    background: var(--hero-title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

[data-mantine-color-scheme="dark"] .sys-center-welcome-title {
    /* 深色下保留略强的霓虹层次（仍随 --text / --muted） */
    filter: drop-shadow(0 0 20px rgba(var(--brand0-rgb), 0.18));
}

.sys-center-welcome-tagline {
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--muted);
}



/* === import from ./status.css (status.css) */
.sys-center-welcome-status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    width: fit-content;
    background: var(--hero-meta-bg);
    border: 1px solid var(--hero-meta-border);
    box-shadow: var(--card-shadow);
}

[data-mantine-color-scheme="dark"] .sys-center-welcome-status {
    background: rgba(2, 6, 23, 0.45);
    border: 1px solid rgba(var(--brand0-rgb), 0.28);
    box-shadow: 0 0 24px rgba(var(--brand0-rgb), 0.08);
}

.sys-center-welcome-status-k {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted2);
}

.sys-center-welcome-status-v {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--ok);
}

[data-mantine-color-scheme="dark"] .sys-center-welcome-status-v {
    color: #5eead4;
    text-shadow: 0 0 14px rgba(94, 234, 212, 0.35);
}





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

/* === import from ./lead.css (lead.css) */
.sys-center-welcome-lead {
    color: var(--muted) !important;
    line-height: 1.65 !important;
    max-width: 52rem;
}




/* === import from ./chips.css (chips.css) */
.sys-center-welcome-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sys-center-welcome-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sys-center-welcome-chip:hover {
    border-color: rgba(var(--brand0-rgb), 0.45);
    transform: translateY(-1px);
    box-shadow: var(--card-hover-shadow);
    background: var(--card-hover-bg);
}

.sys-center-welcome-chip i {
    color: var(--brand0);
    font-size: 14px;
    opacity: 0.95;
}




/* === import from ./hint.css (hint.css) */
.sys-center-welcome-hint {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(
        90deg,
        rgba(var(--brand0-rgb), 0.1),
        rgba(var(--brand1-rgb), 0.08)
    );
    border: 1px solid rgba(var(--brand0-rgb), 0.22);
    color: var(--text);
    font-size: 13px;
    line-height: 1.55;
}

[data-mantine-color-scheme="dark"] .sys-center-welcome-hint {
    color: rgba(224, 242, 254, 0.92);
    border-color: rgba(56, 189, 248, 0.28);
}

.sys-center-welcome-hint i {
    margin-top: 2px;
    color: var(--brand0);
    flex-shrink: 0;
}






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

/* === import from ./shell.css (shell.css) */
.sys-center-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.sys-center-welcome-root a {
    text-decoration: none !important;
    color: inherit;
}

.sys-center-welcome-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.sys-center-welcome-btn-ico {
    font-size: 12px;
    opacity: 0.85;
}




/* === import from ./primary.css (primary.css) */
.sys-center-welcome-btn--primary {
    color: #0f172a !important;
    background: linear-gradient(
        120deg,
        var(--brand0),
        var(--brand1)
    );
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.22) inset,
        0 12px 36px rgba(var(--brand0-rgb), 0.32);
}

.sys-center-welcome-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.28) inset,
        0 16px 44px rgba(var(--brand0-rgb), 0.4);
}

.sys-center-welcome-btn--primary:active {
    transform: translateY(0);
}




/* === import from ./ghost.css (ghost.css) */
.sys-center-welcome-btn--ghost {
    color: var(--text) !important;
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

.sys-center-welcome-btn--ghost:hover {
    border-color: rgba(var(--brand0-rgb), 0.45);
    transform: translateY(-2px);
    box-shadow: var(--card-hover-shadow);
    background: var(--card-hover-bg);
}

[data-mantine-color-scheme="dark"] .sys-center-welcome-btn--ghost {
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.25);
}






/* === import from ./motion.css (motion.css) */
@media (prefers-reduced-motion: reduce) {
    .sys-center-welcome-bg,
    .sys-center-welcome-orb,
    .sys-center-welcome-ring,
    .sys-center-welcome-eyebrow-dot {
        animation: none !important;
    }
    .sys-center-welcome-bg {
        background-position: 50% 50%;
    }
}














