/* Meditel's original workbench language, adapted to the current live modules. */
:root { --navy:#102b46; --blue:#0868d8; --teal:#078d99; --line:#e2e9f0; --muted:#718497; }
.workspace-layout { height:100dvh; color:var(--navy); font-size:14px; line-height:1.5; background:#f3f6fa; }
.workspace-layout button,.workspace-layout input,.workspace-layout textarea { font:inherit; }
.workspace-layout button { cursor:pointer; }
.workspace-layout svg { width:20px; height:20px; flex-shrink:0; }
.workspace-layout :is(button,input,textarea,summary):focus-visible { outline:3px solid #39c0ce; outline-offset:3px; }
.workspace-main { min-width:0; min-height:0; }
#appShell { display:none !important; }
.workspace-header { min-height:74px; height:auto; padding:18px 32px; gap:20px; }
.header-context { flex-wrap:wrap; gap:10px; min-width:0; }
.header-context h1 { font-size:13px; font-weight:650; letter-spacing:.1px; }
.header-actions { gap:12px; flex-shrink:0; }
.status-badge { font-size:10px; padding:4px 9px; font-weight:550; border:1px solid #e0e8ef; background:#f0f5f9; color:#56748a; }
.status-verde { color:#167b66; background:#ebf8f3; border-color:#cdeade; }
.status-rojo { color:#a43943; background:#fff0f1; border-color:#f5d6da; }
.status-amarillo { color:#927023; background:#fff9ea; border-color:#eee2bd; }
#workspaceNotice { max-width:420px; line-height:1.5; }
#workspaceNotice:empty { display:none; }
.shortcut-hint { border:1px solid var(--line); background:#fff; border-radius:8px; padding:8px 10px; font-size:11px !important; color:#70879a; }
.shortcut-hint kbd { margin-left:12px; font:inherit; color:#a0aebb; }
.workspace-content { min-height:0; scrollbar-gutter:stable; }
.workspace-content:focus { outline:none; }
.workspace-content,.sidebar-nav,.chat-history,.context-column { scrollbar-width:thin; scrollbar-color:#a7bdce #edf2f6; }
.workspace-content::-webkit-scrollbar,.sidebar-nav::-webkit-scrollbar,.chat-history::-webkit-scrollbar { width:9px; }
.workspace-content::-webkit-scrollbar-thumb,.sidebar-nav::-webkit-scrollbar-thumb,.chat-history::-webkit-scrollbar-thumb { background:#a7bdce; border:2px solid #edf2f6; border-radius:10px; }
.view-section { height:auto; min-height:100%; display:block; padding:28px 32px 40px; max-width:1440px; }
.view-heading { margin-bottom:22px; }
.workspace-kicker { font-size:9px; letter-spacing:1.7px; color:#538da7; }
.view-heading h2 { font-size:29px; letter-spacing:-1px; font-weight:650; margin:5px 0 6px; line-height:1.25; }
.view-heading p { font-size:12px; line-height:1.7; color:#728497; }
.workspace-hero { background:#0f2d4d; border-radius:17px; padding:30px 32px; position:relative; overflow:hidden; display:flex; align-items:center; justify-content:space-between; gap:28px; min-height:232px; color:#fff; }
.workspace-hero:after { content:''; position:absolute; width:500px; height:500px; right:-90px; top:-160px; background:radial-gradient(circle,#05a4b744,transparent 65%); pointer-events:none; }
.hero-text { position:relative; z-index:1; max-width:520px; }
.hero-label { font-size:9px; letter-spacing:1.8px; color:#7eced8; font-weight:650; }
.workspace-hero h2 { font-size:32px; font-weight:550; letter-spacing:-1px; line-height:1.2; margin:12px 0; }
.workspace-hero h2 span { color:#8adbdc; }
.workspace-hero p { font-size:12px; color:#adc7d9; max-width:440px; margin:0 0 20px; line-height:1.7; }
.hero-actions { display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.workspace-hero .primary-button { background:#eefcff; color:#164761; border:0; box-shadow:none; }
.hero-link { border:0; background:none; color:#c1e0eb; font-size:11px !important; padding:8px 0; }
.hero-orbit { width:250px; min-width:200px; height:180px; position:relative; display:grid; place-items:center; z-index:1; }
.orbit-ring { position:absolute; border:1px solid #7ebbd53b; width:145px; height:145px; border-radius:50%; }
.orbit-ring.outer { width:225px; height:225px; border-style:dashed; border-color:#7ebbd525; }
.orbit-core { width:76px; height:76px; background:linear-gradient(145deg,#0e82b7,#086476); box-shadow:0 0 70px #34cbe440; border:1px solid #9dffed55; border-radius:23px; display:flex; flex-direction:column; align-items:center; justify-content:center; transform:rotate(-8deg); }
.orbit-core svg { width:28px; height:28px; color:#aff9f0; }
.orbit-core span { font-size:8px; margin-top:6px; letter-spacing:1px; }
.orbit-node { position:absolute; padding:6px 10px; background:#143e5c; border:1px solid #5bb0ce55; border-radius:7px; font-size:9px; color:#a4d9e7; }
.orbit-node.n1 { top:0; left:16px; }.orbit-node.n2 { right:0; top:38px; }.orbit-node.n3 { bottom:4px; right:10px; }.orbit-node.n4 { left:0; bottom:32px; }
#ecosystemMetrics { grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:18px 0 28px; }
.ecosystem-metric { background:#fff; border:1px solid var(--line); border-radius:12px; padding:17px 18px; display:flex; flex-direction:column; min-width:0; }
.ecosystem-metric>span { font-size:10px; color:#6c8194; }
.ecosystem-metric strong { font-size:26px; font-weight:650; letter-spacing:-1px; margin:6px 0; }
.ecosystem-metric small { font-size:9px; color:#879ba9; line-height:1.6; }
.panel-heading { font-size:16px; letter-spacing:-.3px; font-weight:650; margin:28px 0 12px; color:var(--navy); border:0; padding:0; }
#engineeringAgents,#corporateAgents { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:0; }
.agent-card { background:#fff; border:1px solid var(--line); border-radius:13px; text-align:left; padding:20px; color:var(--navy); min-width:0; transition:transform .15s,border-color .15s,box-shadow .15s; }
.agent-card:hover { transform:translateY(-3px); border-color:#85b9d7; box-shadow:0 8px 22px #102b460b; }
.agent-card-top { display:flex; align-items:center; justify-content:space-between; gap:6px; margin-bottom:15px; }
.agent-avatar { display:grid; place-items:center; width:38px; height:38px; background:linear-gradient(140deg,#edf5ff,#e1f4f2); color:#2b7a99; border:1px solid #d9e9ef; border-radius:11px; font-size:12px; font-weight:700; margin:0; flex-shrink:0; }
.role-badge { font-size:9px; border:1px solid #e2eaf0; border-radius:20px; color:#7892a2; padding:3px 8px; }
.agent-name { display:block; font-size:9px; color:#3285b8; letter-spacing:1.3px; font-weight:750; margin-bottom:4px; }
.agent-card strong { font-size:14px; font-weight:650; letter-spacing:-.3px; display:block; }
.agent-card p { font-size:11px; line-height:1.7; color:#788d9b; margin:8px 0 17px; min-height:38px; }
.agent-card-bottom { display:flex; justify-content:space-between; border-top:1px solid #eef2f6; padding-top:12px; align-items:center; color:#8295a6; font-size:9px; gap:8px; }
.agent-card-bottom svg { width:15px; height:15px; color:#2284b4; }
.overview-bottom { display:grid; grid-template-columns:1.3fr 1fr; gap:17px; margin-top:28px; }
.dashboard-panel { border-radius:13px; border-color:var(--line); padding:22px; min-width:0; }
.dashboard-panel h3 { font-size:14px; font-weight:650; margin:0 0 8px; }
.panel-sub { font-size:11px; line-height:1.7; margin:0 0 16px; color:#7a8f9e; }
.honest-empty { font-size:11px; color:#7e95a5; padding:22px 0; line-height:1.7; }
.activity-row { display:flex; gap:10px; padding:13px 0; border-bottom:1px solid #edf1f6; align-items:center; }
.activity-dot { width:7px; height:7px; border-radius:50%; background:#49a7b5; flex-shrink:0; }
.activity-row b { display:block; font-size:10px; }.activity-row small { display:block; color:#8298a8; font-size:9px; }
.activity-row time { font-size:9px; color:#8193a3; margin-left:auto; white-space:nowrap; }
.workspace-footnote { font-size:10px; color:#8a9caa; margin:25px 0 0; display:flex; justify-content:space-between; gap:15px; }
.right-sidebar { width:284px; background:#fff; border-left:1px solid var(--line); min-height:0; }
.sidebar-header { padding:27px 24px 22px; border-color:var(--line); }
.sidebar-brand img { width:170px; height:auto; display:block; }
.sidebar-search { padding:18px 20px 8px; border:0; }
.sidebar-search input { border:1px solid #e0e8ef; border-radius:8px; background:#f7f9fc; padding:10px 12px; font-size:11px; color:#18394e; }
.sidebar-nav { padding:8px 14px 22px; gap:4px; min-height:0; }
.nav-btn { gap:10px; border:0; border-radius:9px; padding:11px 12px; font-size:12px; color:#627286; }
.nav-btn.active { background:#eaf2fc; color:#0862ca; border:0; font-weight:650; }.nav-btn:hover { background:#f2f7fc; }
.nav-group-label { font-size:9px; font-weight:750; letter-spacing:1.1px; color:#8b99a7; margin:23px 10px 9px; }
.agent-nav-group summary { list-style:none; }.agent-nav-group summary::-webkit-details-marker { display:none; }
.agent-nav { width:100%; padding:11px 9px; display:flex; align-items:center; gap:10px; text-align:left; background:none; border:0; color:#193a53; border-radius:9px; }
.agent-nav:hover,.agent-nav.selected { background:#edf5fc; }
.nav-avatar { background:#f0f4f8; border:1px solid #e0e8ef; border-radius:9px; padding:7px; font-size:10px; font-weight:750; min-width:34px; text-align:center; color:#4284ac; }
.agent-nav.selected .nav-avatar { color:#fff; background:#0870c9; border-color:#0870c9; }
.agent-nav b { display:block; font-size:11px; letter-spacing:.3px; }.agent-nav small { display:block; font-size:10px; color:#7c8b98; }.nav-chevron { margin-left:auto; color:#8295a5; }
.agent-subprocesses { margin:0 0 10px 25px; border-left:1px solid #dce5ed; padding-left:16px; display:flex; flex-direction:column; }
.agent-subprocesses button { background:none; border:0; text-align:left; color:#6b8194; font-size:10px; padding:7px 0; }
.sidebar-footer { margin:0 18px 18px; padding:16px; border:1px solid #e7edf4; border-radius:12px; background:#f6f9fc; gap:10px; }
.owner-info b { font-size:11px; }.owner-info small { font-size:10px; }.logout-btn { font-size:11px; color:#4d758e; }
.primary-button,.outline-button { border-radius:8px; padding:10px 14px; display:inline-flex; align-items:center; justify-content:center; gap:9px; font-size:11px; font-weight:650; }
.primary-button { background:var(--blue); border:1px solid var(--blue); box-shadow:0 4px 12px #0066cc18; }.outline-button { background:#fff; border:1px solid #dbe5ee; color:#325670; }
.primary-button svg,.outline-button svg { width:15px; height:15px; }
[data-view-panel="agent"] { height:100%; min-height:500px; padding:24px 28px; }
.chat-layout { height:100%; grid-template-columns:minmax(0,1fr) 260px; gap:18px; }
.chat-column { border-radius:14px; background:#fff; border-color:var(--line); min-width:0; }
.chat-history { padding:24px; min-height:0; gap:18px; }
.agent-intro { margin:0 0 10px; padding:22px 10px; }.agent-intro .agent-avatar { width:58px; height:58px; font-size:18px; margin:0 auto 12px; border-radius:16px; }
.agent-intro h3 { color:#18394e; font-size:18px; margin:0 0 6px; }.agent-intro p { font-size:12px; line-height:1.6; margin:0; }
#chatEmpty { margin:0 auto; max-width:440px; color:#748b9c; font-size:12px; }
.chat-messages { display:flex; flex-direction:column; gap:18px; }
.message { font-size:12px; line-height:1.8; padding:16px 18px; border-radius:13px; overflow-wrap:anywhere; }
.message-user { background:#edf5fc; color:#224e70; border:1px solid #d9e9f4; }.message-agent { background:#fff; border-color:#e4edf3; box-shadow:none; }
.message b { font-size:10px; color:#34799c; }.message-content pre { overflow:auto; background:#f2f6fa; border-radius:8px; padding:12px; font-size:11px; }.message-content h4 { font-size:13px; }.message-content ul { padding-left:20px; }
.chat-input-area { padding:16px 20px; border-color:var(--line); }.chat-form { gap:10px; }.chat-form textarea { min-width:0; border-radius:10px; background:#f8fbfd; border-color:#d9e5ee; font-size:12px; padding:12px; }.chat-form button { border-radius:10px; background:var(--blue); width:44px; height:44px; }
.chat-evidence { font-size:9px; line-height:1.6; }.chat-error { color:#a43943; font-size:11px; }.scroll-bottom-btn { bottom:130px; font-size:10px; background:#0b668a; }
.context-column { border-radius:14px; border-color:var(--line); padding:22px; font-size:11px; }.context-column .panel-heading { font-size:15px; margin:0 0 10px; }.panel-subheading { font-size:11px; margin:23px 0 12px; }
.process-card { background:#f9fcfe; border:1px solid #dce7ee; border-radius:9px; padding:12px; gap:8px; }.process-card b { font-size:10px; }.process-card svg { width:14px; height:14px; }.process-selected { border-color:#8dbfd8; background:#edf7fa; }
.tool-chip { padding:5px 8px; background:#f1f7fb; border:1px solid #e1ecf3; border-radius:6px; font-size:9px; color:#537a93; }
.request-row { background:#fff; border:1px solid #e0e8ef; border-radius:10px; overflow:hidden; }.request-row summary { display:flex; align-items:center; gap:10px; padding:14px; cursor:pointer; list-style:none; }.request-row summary>span:nth-child(2) { min-width:0; flex:1; }.request-row b { display:block; font-size:11px; }.request-row small { display:block; font-size:9px; color:#8196a5; }.request-symbol { color:#3c8aaf; }.request-state { font-size:9px; background:#edf5fb; color:#547e99; padding:4px 7px; border-radius:5px; }.request-content { padding:0 16px 16px; font-size:11px; line-height:1.8; overflow-wrap:anywhere; }.task-row { margin:10px 0; border-top:1px solid #edf1f6; padding:8px 0; }.task-row b { display:inline; }
.request-dialog { border-radius:16px; color:var(--navy); }.request-dialog h2 { font-size:24px; letter-spacing:-.7px; }.request-dialog label { font-size:11px; font-weight:650; }.request-dialog :is(input,textarea,select) { font-size:12px; border-radius:8px; }.audit-table { font-size:11px; }.audit-table th { font-size:10px; }.audit-scroll { max-width:100%; }
.command-palette { border-radius:15px; }.palette-container input { font-size:15px; }.palette-options button { font-size:12px; padding:12px; color:#31556e; }.palette-hint { font-size:10px; color:#8a9dab; padding:16px; border-top:1px solid var(--line); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(min-width:901px) { .mobile-close-btn,.mobile-menu-btn { display:none; } }
@media(max-width:1200px) { #engineeringAgents,#corporateAgents { grid-template-columns:repeat(2,minmax(0,1fr)); }.chat-layout { grid-template-columns:minmax(0,1fr) 220px; }.hero-orbit { min-width:160px; width:190px; }.view-section { padding:24px; } }
@media(max-width:900px) {
  .workspace-layout { flex-direction:row; }.right-sidebar { position:fixed; right:0; top:0; height:100dvh; width:min(320px,90vw); transform:translateX(100%); z-index:50; box-shadow:-8px 0 40px #102b4626; transition:transform .2s; }
  .workspace-layout.navigation-open .right-sidebar { transform:translateX(0); }.mobile-close-btn { display:block; background:none; border:0; padding:15px 20px 0; color:#507a90; text-align:right; }.mobile-menu-btn { display:block; border:1px solid #dbe5ee; border-radius:8px; padding:8px 10px; background:#fff; color:#31556e; font-size:11px !important; }
  .workspace-header { padding:16px 20px; }.view-section { padding:24px 20px; }.chat-layout { grid-template-columns:minmax(0,1fr); display:grid; }.context-column { display:none; }.chat-column { height:100%; flex:auto; }.shortcut-hint { display:none; }
}
@media(max-width:600px) {
  .workspace-header { gap:10px; padding:12px 16px; }.header-context { gap:6px; }.header-context h1 { width:100%; font-size:12px; }#workspaceNotice { font-size:9px; }.header-actions { gap:6px; }#workspaceRefresh { display:none; }
  .view-section { padding:22px 16px 32px; }.view-heading h2 { font-size:25px; }.view-heading p { font-size:11px; }.workspace-hero { padding:25px; }.workspace-hero h2 { font-size:29px; }.hero-orbit { display:none; }
  #ecosystemMetrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.ecosystem-metric { padding:14px; }.ecosystem-metric small { font-size:9px; }
  #engineeringAgents,#corporateAgents,.overview-bottom { grid-template-columns:minmax(0,1fr); }.agent-card { padding:18px; }.agent-card p { min-height:0; }.workspace-footnote { flex-direction:column; gap:6px; }
  [data-view-panel="agent"] { min-height:0; padding:12px; }.chat-history { padding:16px; }.chat-input-area { padding:12px; }.message { max-width:95%; }.context-column { display:none; }
}
@media(prefers-reduced-motion:reduce) { .agent-card,.right-sidebar { transition:none; }.agent-card:hover { transform:none; } }
.agent-presence { display:flex; align-items:center; gap:7px; color:#466b80; font-size:10px; line-height:1.5; margin:12px 0 3px; }
.signal-dot { display:inline-block; flex:none; width:7px; height:7px; border-radius:50%; background:#218455; }
.signal-dot.amber { background:#b47a0f; }.signal-dot.red { background:#bc4052; }
.working-gear { display:inline-flex; font-size:18px; line-height:1; color:#08799a; }.working-gear.is-working { animation:agent-working 2.8s linear infinite; }
@keyframes agent-working { to { transform:rotate(360deg); } }
.presence-project { display:block; color:#647f92; font-size:9px; margin-bottom:5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.execution-boundary { display:flex; align-items:flex-start; gap:10px; padding:13px 16px; margin:18px 0; background:#edf6fa; border:1px solid #d4e8ef; border-radius:10px; font-size:11px; color:#3d687c; line-height:1.7; }.execution-boundary .signal-dot { margin-top:6px; }
.request-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }.danger-button { color:#a33244; border-color:#edccd3; }
.project-progress { margin-top:18px; border-top:1px solid #e0eaf1; padding-top:14px; }.project-progress h4 { font-size:12px; margin:0 0 5px; }.project-progress>p { color:#547789; font-size:10px; }
.project-step { border-left:2px solid #d9e7ef; padding:9px 12px; margin:4px 0; }.project-step.running { border-color:#009cac; background:#f0fafb; border-radius:0 8px 8px 0; }.project-step.failed { border-color:#bc4052; }.project-step.completed { border-color:#218455; }
.project-step summary { padding:0; font-size:10px; gap:8px; }.project-step .step-name { flex:1; }.project-deliverable { padding:12px 0 4px; max-height:420px; overflow-y:auto; line-height:1.8; font-size:11px; }.project-deliverable pre { overflow-x:auto; padding:12px; background:#f4f7fa; border-radius:8px; }
.request-content .project-step b { display:inline; }.step-time { margin-left:auto; color:#6b8799; font-size:9px; }
.document-hint { display:block; color:#6c8798; font-size:9px; line-height:1.5; margin-top:8px; }.attachment-chips { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px; }.attachment-chip { display:inline-flex; align-items:center; gap:7px; padding:6px 9px; border:1px solid #cfe4ee; border-radius:8px; font-size:10px; background:#f0f8fb; color:#345e73; max-width:100%; overflow-wrap:anywhere; }.attachment-chip button { border:0; background:transparent; color:#557889; padding:0 3px; }
.chat-form .attach-document { background:#edf5fa; color:#276786; border:1px solid #d3e5ee; font-size:23px; flex:none; }.document-message { display:block; color:#517a8b; font-size:10px; margin-top:8px; }
.request-dialog .request-start-option { display:flex; align-items:center; gap:10px; margin:16px 0 8px; }.request-dialog #requestAutoStart { width:16px; height:16px; margin:0; }
@media(prefers-reduced-motion:reduce) { .working-gear.is-working { animation:none; } }

/* Legibility pass for the corporate workspace. */
.workspace-layout { font-size: 15px; }
.workspace-header { min-height: 78px; }
.header-context h1 { font-size: 16px; }
.status-badge, .shortcut-hint { font-size: 12px !important; }
.view-heading h2 { font-size: clamp(30px, 2.7vw, 38px); }
.view-heading p { font-size: 15px; }
.workspace-kicker, .hero-label { font-size: 11px; }
.workspace-hero h2 { font-size: clamp(32px, 3vw, 44px); }
.workspace-hero p { font-size: 15px; }
.ecosystem-metric > span, .ecosystem-metric small { font-size: 12px; }
.ecosystem-metric strong { font-size: 30px; }
.panel-heading { font-size: 20px; }
.agent-name { font-size: 11px; }
.agent-card strong { font-size: 17px; }
.agent-card p, .panel-sub { font-size: 13px; }
.agent-card-bottom, .role-badge { font-size: 11px; }
.nav-btn, .agent-nav b, .sidebar-search input { font-size: 13px; }
.agent-nav small, .agent-subprocesses button { font-size: 12px; }
.nav-group-label { font-size: 11px; }
.dashboard-panel h3 { font-size: 17px; }
.request-row b, .request-content, .chat-evidence { font-size: 12px; }
.archived-requests { margin-top: 22px; border-top: 1px solid #e0e8ef; padding-top: 16px; }
.archived-requests > summary { color: #557083; cursor: pointer; font-size: 13px; font-weight: 650; margin-bottom: 14px; }
.work-result { margin:16px 0; padding:16px 18px; border-radius:12px; background:#f3f9fc; border:1px solid #cde5ef; color:#163c54; max-height:380px; overflow:auto; }
.work-result>summary, .tool-evidence>summary { cursor:pointer; color:#075b85; font-size:13px; font-weight:700; }
.tool-evidence { margin:8px 0; padding:8px 10px; background:#f7fafc; border:1px solid #e2ebf1; border-radius:8px; }
.tool-evidence pre { max-height:240px; overflow:auto; font-size:11px; white-space:pre-wrap; overflow-wrap:anywhere; }
.work-result>b { font-size:13px; color:#075b85; }
.work-result p, .work-result li { font-size:13px; line-height:1.7; }
.work-result pre { overflow:auto; padding:12px; background:#e9f1f7; border-radius:8px; }
.work-evidence { margin:16px 0; padding:12px 0; border-top:1px solid #dfeaf1; }
.work-evidence>b { font-size:12px; }
.work-evidence>div { display:flex; gap:12px; padding:7px 0; font-size:12px; line-height:1.5; }
.work-evidence time { min-width:115px; color:#587a8d; }
.request-actions { margin:18px 0; }
.request-actions button { font-size:12px; }
.agent-card .working-gear { vertical-align:middle; margin-right:4px; }
@media(max-width:600px) { .work-evidence>div { flex-direction:column; gap:2px; } }
@media (max-width: 900px) {
  .workspace-header { padding: 14px 18px; }
  .view-heading p { font-size: 13px; }
  .workspace-hero h2 { font-size: clamp(28px, 7vw, 36px); }
}

.notification-bell { position:relative; width:42px; height:42px; padding:9px; flex:none; }
.notification-bell svg { width:20px; height:20px; }
.notification-count { position:absolute; top:-7px; right:-8px; min-width:20px; height:20px; padding:1px 4px; border-radius:20px; background:#aa293f; color:#fff; font-size:11px; line-height:18px; text-align:center; font-weight:700; }
.notification-count[hidden] { display:none; }
.notification-dialog { width:min(680px,calc(100vw - 24px)); max-height:min(85dvh,900px); border:1px solid #c9dce8; border-radius:16px; padding:22px; color:var(--navy); box-shadow:0 20px 70px #0a284654; }
.notification-dialog::backdrop { background:#102b4670; }
.notification-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; border-bottom:1px solid #e0e8ef; padding-bottom:16px; }
.notification-heading h2 { margin:3px 0; font-size:24px; }
.notification-heading p { margin:0; font-size:12px; color:#698295; }
.notification-heading button { padding:7px 10px; }
.notification-items { max-height:calc(85dvh - 155px); overflow:auto; padding-top:12px; }
.notification-item { margin:12px 0; padding:15px; border:1px solid #dae7ef; border-radius:10px; background:#fff; font-size:12px; overflow-wrap:anywhere; }
.notification-priority { border-color:#ebc58a; background:#fffcf5; }
.notification-tag { display:block; color:#95661b; font-weight:700; font-size:11px; letter-spacing:.2px; }
.notification-item h3 { margin:6px 0; font-size:15px; }
.notification-item p { margin:8px 0; line-height:1.6; }
.notification-item dl { display:grid; grid-template-columns:108px minmax(0,1fr); gap:8px 12px; margin:14px 0; }
.notification-item dt { color:#647f90; font-weight:650; }
.notification-item dd { margin:0; white-space:normal; overflow-wrap:anywhere; }
.notification-plan { white-space:pre-wrap !important; }
.notification-fingerprint { font-size:11px; overflow-wrap:anywhere; }
.notification-boundary { padding:9px 11px; border-radius:7px; background:#fff2d9; color:#6f511d; }
.notification-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.notification-item button:disabled { opacity:.5; cursor:not-allowed; }
.notification-link { border:0; padding:6px 0; background:none; color:#0868d8; font-size:12px; font-weight:700; }
.notification-section-title { font-size:13px; margin:22px 0 4px; }
.notification-event { display:flex; gap:12px; padding:10px 2px; border-bottom:1px solid #edf2f6; color:#35586d; font-size:12px; line-height:1.5; }
.notification-event time { min-width:100px; color:#71899a; font-size:11px; }
.notification-event small { display:block; color:#8295a5; }
.notification-dialog .error-text:empty { display:none; }
@media(max-width:600px) { .notification-dialog { padding:16px; }.notification-item dl { grid-template-columns:1fr; gap:3px; }.notification-item dt { margin-top:6px; }.notification-event { flex-direction:column; gap:2px; }.notification-event time { min-width:0; } }
