/* AUTO-GENERATED — do not edit by hand.
 * Regenerate: python scripts/build_app_shell_bundle.py
 * Sources: assets/css/app_shell/layout/modules/content/index.css, assets/css/app_shell/layout/modules/sys-center-welcome/shell.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;
}






.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);
}
