:root { --portal-accent:#675cbf; --portal-ink:#675cbf; }
body { background:#faf9fc; }
h1 { font-size:clamp(1.8rem,3vw,2.55rem); font-weight:700; letter-spacing:-.04em; color:var(--portal-ink); margin:6px 0 10px; }
h2 { font-size:1.13rem; font-weight:650; margin:0 0 16px; color:var(--portal-ink); }
.portal-nav { display:flex; gap:8px; padding:16px max(24px,calc((100vw - 1450px)/2)); background:white; border-bottom:1px solid #eee9f6; overflow:auto; }
.portal-nav a { white-space:nowrap; color:#655e70; padding:10px 18px; border-radius:8px; text-decoration:none; font-weight:600; font-size:14px; }
.portal-nav a.active { background:#eee9f6; color:#675cbf; }
.portal-account { font-size:12px; color:#655e70; margin-right:16px; }
.portal-page-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:28px; }
.portal-page-head p,.portal-panel p { color:#655e70; }
.portal-eyebrow { font-size:11px; font-weight:700; letter-spacing:.14em; color:var(--portal-accent); }
.portal-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:24px; }
.portal-metrics>div { display:flex; flex-direction:column; gap:12px; background:white; border:1px solid #eee9f6; border-radius:12px; padding:22px; }
.portal-metrics span { color:#655e70; font-size:13px; }.portal-metrics strong { font-size:30px; color:var(--portal-ink); }
.portal-filters { display:flex; flex-wrap:wrap; gap:16px; margin:20px 0; }.portal-filters label { display:flex; flex:1; min-width:180px; gap:7px; flex-direction:column; font-size:12px; font-weight:600; color:#655e70; }
.portal-filters input,.portal-filters select { border:1px solid #d9d0ea; background:white; color:#675cbf; border-radius:8px; padding:11px 13px; font:inherit; font-size:14px; }
.portal-table-wrap { background:white; border:1px solid #eee9f6; border-radius:12px; overflow:auto; }
.portal-table { width:100%; border-collapse:collapse; font-size:13px; }.portal-table th { text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:#655e70; background:#faf9fc; padding:16px; white-space:nowrap; }.portal-table td { padding:17px 16px; border-top:1px solid #eee9f6; color:#655e70; }.portal-table a { color:#675cbf; font-weight:650; text-decoration:none; }.portal-table a:hover { text-decoration:underline; }.portal-table small { display:block; color:#655e70; font-size:11px; margin-top:4px; }.portal-table tbody tr:hover { background:#faf9fc; }
.portal-phase { display:inline-block; padding:5px 9px; border:1px solid #eee9f6; border-radius:6px; font-size:12px; white-space:nowrap; }.portal-pagination { display:flex; justify-content:flex-end; align-items:center; gap:20px; margin:15px 0; font-size:12px; color:#655e70; }
.portal-empty { padding:40px; text-align:center; color:#655e70; }.portal-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }.portal-panel { padding:26px; background:white; border:1px solid #eee9f6; border-radius:12px; }.portal-panel dl { display:grid; grid-template-columns:150px 1fr; gap:12px; font-size:14px; }.portal-panel dt { color:#655e70; }.portal-panel dd { overflow-wrap:anywhere; }.portal-back { display:block; margin-bottom:25px; color:#675cbf; }.portal-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.portal-login { margin:10vh auto; max-width:560px; padding:50px; background:white; border:1px solid #eee9f6; border-radius:18px; }.portal-login h1 { font-size:42px; margin:22px 0; }.portal-login p { color:#655e70; margin-bottom:32px; }.permission-table th { white-space:normal; min-width:100px; }.permission-table input { width:18px; height:18px; accent-color:#675cbf; cursor:pointer; }
@media(max-width:700px) { .portal-account { display:none; }.portal-metrics { gap:8px; }.portal-metrics>div { padding:13px; }.portal-detail-grid { grid-template-columns:1fr; }.portal-page-head { align-items:flex-start; }.portal-nav { padding:10px; }.portal-login { margin:30px 14px; padding:30px; }.portal-panel dl { grid-template-columns:1fr; }.portal-panel dd { margin-bottom:12px; } }

:root { --color-neutral-0:#fff; --color-neutral-100:#f5f5f5; --color-accent:#0d0d0d; --shadow-card:0 2px 8px #00000014; --shadow-hover:0 4px 12px #00000026; }
.topbar { color:#675cbf !important; }.brand-title { color:#675cbf; }
.portal-table-wrap { max-height:65vh; }.portal-table thead { position:sticky; top:0; z-index:1; }
@media(max-width:700px) { .portal-page-head { flex-wrap:wrap; }.portal-nav { flex-wrap:wrap; }.portal-nav a { padding:8px 12px; }.portal-table th,.portal-table td { min-width:120px; } }

/* Process reference and isolated workflow rehearsal. */
.process-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:24px; margin-top:20px; align-items:start; }
.process-phases { display:flex; flex-direction:column; gap:5px; }
.process-phases button { text-align:left; padding:11px; border:1px solid #eee9f6; border-radius:7px; background:white; cursor:pointer; }
.process-phases button.selected { background:#eee9f6; border-color:#675cbf; font-weight:700; }
.process-phases button span { display:inline-block; min-width:25px; color:#655e70; }
.process-exit { background:#faf9fc; padding:16px; border-radius:8px; margin:16px 0; }
.process-muted, .process-step small { color:#655e70; font-size:13px; }
.process-step { border-top:1px solid #eee9f6; padding:15px 0; overflow-wrap:anywhere; }
.process-step summary { display:flex; justify-content:space-between; gap:12px; cursor:pointer; }
.process-step small { display:block; margin:5px 0; }
.process-step p, .process-question p { margin:10px 0; }
.process-step ol { padding-left:24px; }
.process-step li { margin:6px 0; }
.process-tag { font-size:12px; color:#655e70; background:#faf9fc; padding:4px 8px; border-radius:6px; align-self:start; flex-shrink:0; }
.process-question { padding:14px; margin-top:14px; background:#fff8e9; border-left:3px solid #d4a43d; overflow-wrap:anywhere; }
.process-link, .process-step button { display:inline-block; border:1px solid #655e70; border-radius:6px; padding:10px 14px; background:white; color:#675cbf; cursor:pointer; }
.process-step button:disabled { opacity:.5; cursor:default; }
.process-todo { display:flex; gap:10px; margin:10px 0; }
.process-select { max-width:100%; padding:10px; margin:10px; border:1px solid #655e70; border-radius:6px; }
@media(max-width:700px) { .process-layout { grid-template-columns:minmax(0,1fr); } .process-phases { max-height:220px; overflow:auto; } .process-step summary { flex-wrap:wrap; } .process-select { margin:10px 0; width:100%; } }
.project-periods { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0 12px; }
.project-periods button { border:1px solid #d9d0ea; border-radius:8px; padding:12px 18px; background:white; color:#675cbf; cursor:pointer; font-weight:600; }
.project-periods button[aria-pressed="true"] { background:#675cbf; border-color:#675cbf; color:white; }
.project-periods button:focus-visible { outline:3px solid #bdb3ed; outline-offset:2px; }
.project-period-note { color:#655e70; font-size:13px; margin-bottom:20px; }
.day-head { background:linear-gradient(120deg,#101829,#223044); color:#fff; padding:26px; border-radius:18px; display:grid; grid-template-columns:1fr auto; gap:20px; }
.day-eyebrow { color:#ffca33; font-size:12px; font-weight:700; letter-spacing:1.4px; }
.day-head h1 { font-size:26px; color:white; margin:5px 0; }
.day-head p { color:#c9d2df; margin:0; }
.day-total { text-align:right; display:flex; flex-direction:column; justify-content:center; }
.day-total strong { font-size:38px; line-height:1.2; }
.day-total span { color:#b3c2d5; font-size:12px; }
.day-controls,.day-week { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.day-head button,.day-head input { background:#2b3545; border:1px solid #546078; color:#fff; border-radius:6px; padding:9px 12px; cursor:pointer; }
.day-head input { color-scheme:dark; }
.day-week button[aria-pressed="true"] { background:#ffca33; color:#142136; border-color:#ffca33; }
.day-week small { margin-left:5px; }
.day-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; padding:18px; border-radius:16px; background:#1c2738; }
.day-cards:empty { display:none; }
.day-card { --accent:#39a8ff; background:#2a3445; color:#eff3fa; border:1px solid #4b5768; border-top:4px solid var(--accent); border-radius:12px; padding:20px; min-width:0; overflow-wrap:anywhere; }
.day-card:nth-child(3n+2) { --accent:#c778ef; }
.day-card:nth-child(3n+3) { --accent:#675cbf; }
.day-card h2 { color:white; font-size:17px; margin:12px 0 6px; }
.day-card h2 a { color:inherit; }
.day-card-phase { color:var(--accent); font-size:12px; font-weight:700; }
.day-address,.day-owner { color:#b8c8da; font-size:13px; margin:7px 0; }
.day-owner strong { color:#e5edf8; font-weight:500; }
.day-schedule { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:22px 0; }
.day-schedule dt { color:#b2c2d5; font-size:11px; text-transform:uppercase; letter-spacing:.5px; }
.day-schedule dd { font-size:15px; font-weight:600; margin:7px 0 0; }
.day-next { border-top:1px solid #485469; padding-top:15px; }
.day-next span { font-size:10px; color:#b2c2d5; letter-spacing:.6px; }
.day-next p { font-size:14px; margin:8px 0 16px; }
.day-data-note { font-size:12px; color:#b2c2d5; padding:12px; background:#202b3d; border-radius:6px; }
.day-detail { display:inline-block; color:#d9d0ea; margin-top:17px; font-weight:600; }
.day-card a:focus-visible,.day-head button:focus-visible { outline:3px solid #ffca33; outline-offset:3px; }
@media(max-width:1100px) { .day-cards { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) { .day-cards { grid-template-columns:minmax(0,1fr); padding:10px; } .day-head { grid-template-columns:1fr; padding:20px; } .day-total { text-align:left; } .day-head h1 { font-size:22px; } }
.task-card { margin:16px 0; }
.task-heading { display:flex; justify-content:space-between; align-items:start; gap:16px; }
.task-heading h3 { margin:6px 0 12px; font-size:20px; }
.task-meta { color:#655e70; font-size:13px; margin:12px 0; }
.task-assignment { display:grid; grid-template-columns:minmax(130px,1fr) minmax(0,3fr); gap:12px; align-items:center; margin:12px 0; }
.task-assignment select { padding:10px; border:1px solid #d9d0ea; border-radius:6px; min-width:0; width:100%; }
.portal-filters .task-week { display:flex; flex-direction:row; align-items:center; gap:8px; }
.portal-filters .task-week input { width:auto; }
@media(max-width:650px){.task-heading { flex-direction:column; }.task-assignment { grid-template-columns:1fr; }}

.deal-comments textarea { display:block; width:100%; resize:vertical; padding:12px; border:1px solid #d9d0ea; border-radius:8px; font:inherit; margin:8px 0; }
.deal-comment { border-top:1px solid #eee9f6; padding:20px 0; margin-top:16px; }
.deal-comment header { display:flex; flex-wrap:wrap; gap:12px; align-items:baseline; }
.deal-comment time,.deal-comment small { color:#655e70; font-size:12px; }
.deal-comment-body { white-space:pre-wrap; overflow-wrap:anywhere; margin:12px 0; }
.vaillant-demo-label { display:inline-block; background:#fff3cd; color:#745900; padding:7px 12px; border-radius:7px; font-size:12px; font-weight:700; white-space:nowrap; }
.vaillant-demo-note { color:#655e70; margin-bottom:18px; }
.vaillant-status dl { grid-template-columns:minmax(110px,155px) minmax(0,1fr); }
.vaillant-next { background:#faf9fc; padding:16px; border-radius:8px; margin-top:18px; }
.vaillant-next p { margin:6px 0 0; }
@media(max-width:700px) { .vaillant-status dl { grid-template-columns:1fr; } }
.deal-phase-age { font-size:13px; min-width:185px; }
.deal-phase-age small { display:block; margin-top:5px; color:inherit; opacity:.8; }
.handover-deadline { margin-top:8px; padding:9px; border-radius:6px; }
.handover-deadline.pending { background:#fff4d6; color:#765600; }
.handover-deadline.overdue { background:#ffe8e8; color:#a32525; }
.day-card .deal-phase-age { margin:12px 0; color:#d7e2ec; }

.lifecycle-dashboard { display:grid; grid-template-columns:235px minmax(0,1fr); gap:24px; align-items:start; }
.lifecycle-content { min-width:0; }
.lifecycle-sidebar { background:white; border:1px solid #e0e6eb; border-radius:16px; padding:18px 12px; position:sticky; top:86px; }
.lifecycle-brand { padding:5px 10px 24px; display:grid; gap:7px; }
.lifecycle-brand>span { font-size:10px; letter-spacing:.13em; color:#cc3446; font-weight:800; }
.lifecycle-brand strong { font-size:17px; }.lifecycle-brand small { color:#78858e; font-size:12px; }
.lifecycle-sidebar button { width:100%; display:flex; align-items:center; gap:10px; padding:14px 10px; text-align:left; border:1px solid transparent; background:transparent; border-radius:10px; cursor:pointer; margin-bottom:7px; color:#354451; }
.lifecycle-sidebar button b { margin-left:auto; font-size:13px; background:#ffffff90; border-radius:5px; padding:3px 6px; }
.lifecycle-nav-item span:nth-child(2) { display:grid; gap:5px; }.lifecycle-nav-item strong { font-size:13px; }.lifecycle-nav-item small { font-size:10px; line-height:1.5; color:#667681; }
.lifecycle-dot { background:var(--phase-color); width:9px; height:32px; border-radius:5px; flex-shrink:0; }
.lifecycle-sales { --phase-color:#3769cb; --phase-bg:#edf3ff; }.lifecycle-handover { --phase-color:#b67a0b; --phase-bg:#fff5dc; }.lifecycle-planning { --phase-color:#783cc9; --phase-bg:#f3edff; }.lifecycle-execution { --phase-color:#167c8b; --phase-bg:#e8f6f8; }.lifecycle-closing { --phase-color:#ac596e; --phase-bg:#fbecf0; }.lifecycle-completed { --phase-color:#675cbf; --phase-bg:#faf9fc; }.lifecycle-unknown,.lifecycle-lost { --phase-color:#6c7884; --phase-bg:#f0f3f5; }
.lifecycle-sidebar .selected { background:var(--phase-bg,#eaf0ff); border-color:var(--phase-color,#3769cb); }
.lifecycle-catalog-link { display:block; border-top:1px solid #e7ecef; padding:18px 8px 0; margin-top:12px; color:#526879; font-size:12px; }
.lifecycle-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:18px 0; }
.lifecycle-card { text-align:left; background:white; border:1px solid #e0e6eb; border-left:5px solid var(--phase-color); border-radius:12px; padding:18px; color:#273b49; cursor:pointer; }
.lifecycle-card>span { font-size:13px; font-weight:700; }.lifecycle-card>strong { display:block; font-size:28px; margin-top:8px; }.lifecycle-card small { font-size:13px; font-weight:500; }.lifecycle-card p { font-size:11px; color:#74818c; margin:5px 0 0; }.lifecycle-card.selected { background:var(--phase-bg); outline:1px solid var(--phase-color); }
.lifecycle-phase-picker { display:flex; flex-wrap:wrap; gap:7px; padding:16px; background:white; border:1px solid #e0e6eb; border-radius:10px; margin-bottom:16px; align-items:center; }
.lifecycle-phase-picker strong { width:100%; margin-bottom:7px; }.lifecycle-phase-picker button { background:#f6f8fa; border:1px solid #dce4e9; border-radius:6px; padding:8px; color:#344f60; cursor:pointer; font-size:12px; }.lifecycle-phase-picker .selected { background:#e7edf9; border-color:#7891c3; }
.lifecycle-badge { display:inline-block; padding:5px 8px; border-radius:6px; background:var(--phase-bg); color:var(--phase-color); font-size:11px; font-weight:700; border-left:3px solid var(--phase-color); }
.lifecycle-stage { display:block; font-size:12px; margin-top:8px; }.lifecycle-next-step { min-width:180px; max-width:250px; line-height:1.5; }
.lifecycle-dashboard .portal-metrics { margin:14px 0; }.lifecycle-dashboard .portal-metrics>div { padding:12px 16px; }.lifecycle-dashboard .portal-metrics strong { font-size:22px; }
.lifecycle-dashboard .portal-table { min-width:1120px; }.lifecycle-dashboard .portal-table-wrap { background:white; border-radius:12px; border:1px solid #e0e6eb; }
.lifecycle-dashboard .portal-filters { padding:14px; background:#fff; border:1px solid #e0e6eb; border-radius:12px; gap:12px; }
.lifecycle-dashboard button:focus-visible { outline:3px solid #6d9fea; outline-offset:2px; }
@media(max-width:1050px) { .lifecycle-dashboard { grid-template-columns:1fr; }.lifecycle-sidebar { position:static; display:flex; flex-wrap:wrap; gap:6px; padding:12px; }.lifecycle-brand,.lifecycle-catalog-link { display:none; }.lifecycle-sidebar button { width:auto; margin:0; padding:10px; }.lifecycle-nav-item small,.lifecycle-dot { display:none; }.lifecycle-sidebar button b { margin-left:6px; } }
@media(max-width:600px) { .lifecycle-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }.lifecycle-card { padding:12px; }.lifecycle-card>strong { font-size:24px; }.lifecycle-dashboard .portal-filters { grid-template-columns:1fr; } }
.lifecycle-card { display:block; min-width:0; white-space:normal; }
.lifecycle-card>span,.lifecycle-card>p { display:block; overflow-wrap:anywhere; }

.lifecycle-top-filters { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.lifecycle-top-filters button { padding:9px 14px; border:1px solid #dae3e8; border-radius:8px; background:white; color:#405a69; cursor:pointer; }
.lifecycle-top-filters button[aria-pressed="true"] { background:#eaf0ff; border-color:#7891c3; }
.lifecycle-overview .lifecycle-cards { grid-template-columns:repeat(6,minmax(0,1fr)); }
.deal-phase-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:24px; align-items:start; }
.deal-phase-content { min-width:0; }.deal-phase-content>.portal-detail-grid { margin-top:24px; }
.deal-phase-navigation { position:sticky; top:85px; max-height:calc(100vh - 105px); overflow:auto; padding:16px; background:white; border:1px solid #e0e6eb; border-radius:14px; }
.deal-phase-navigation .lifecycle-brand { display:grid; }.deal-phase-group { margin:8px 0 17px; }.deal-phase-group h3 { margin:0 0 8px; font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--phase-color); }
.deal-phase-link { display:block; width:100%; padding:9px 10px; text-align:left; background:white; border:1px solid transparent; border-left:3px solid #e4e9ed; color:#50606b; border-radius:6px; font-size:12px; cursor:pointer; margin:4px 0; white-space:normal; }
.deal-phase-link small { display:block; margin-top:5px; font-size:10px; color:var(--phase-color); font-weight:700; }
.deal-phase-link.is-current { border-left-color:var(--phase-color); background:var(--phase-bg); font-weight:700; }.deal-phase-link.is-selected { outline:1px solid var(--phase-color); }
.deal-phase-link:focus-visible { outline:3px solid #6d9fea; }.deal-current-phase h2 { margin-top:8px; }
@media(max-width:1100px) { .lifecycle-overview .lifecycle-cards { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:800px) { .deal-phase-layout { grid-template-columns:minmax(0,1fr); }.deal-phase-navigation { position:static; max-height:300px; }.deal-phase-navigation .lifecycle-brand { padding-bottom:12px; } }
@media(max-width:600px) { .lifecycle-overview .lifecycle-cards { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Project record and lifecycle overview, inspired by Anlagen-Lebensakte. */
.lifecycle-overview { background:#f7f9fb; padding:24px; border-radius:16px; }
.lifecycle-overview .portal-page-head { margin-bottom:16px; }
.lifecycle-overview .portal-page-head h1 { font-size:30px; }
.lifecycle-overview .portal-metrics { display:flex; flex-wrap:wrap; gap:24px; margin:12px 0; padding:12px 16px; border:1px solid #dfe5ee; border-radius:10px; background:white; }
.lifecycle-overview .portal-metrics>div { display:flex; align-items:baseline; gap:10px; padding:0; border:0; background:transparent; }
.lifecycle-overview .portal-metrics strong { font-size:20px; }
.lifecycle-overview .project-periods { margin-top:16px; gap:6px; }
.lifecycle-overview .project-periods button { padding:9px 13px; font-size:12px; }
.lifecycle-overview .project-period-note { font-size:11px; }
.lifecycle-overview .lifecycle-cards { margin:12px 0; }
.lifecycle-overview .lifecycle-card { border-radius:10px; padding:14px; }
.lifecycle-overview .portal-filters { background:white; padding:14px; border:1px solid #dfe5ee; border-radius:12px; gap:14px; }
.lifecycle-overview .portal-table-wrap { background:white; border:1px solid #dfe5ee; border-radius:12px; }
.lifecycle-overview .portal-table thead { background:#f1f4f8; }
.lifecycle-overview .portal-table tbody tr:hover { background:#f4f7fc; }
.lifecycle-overview button:focus-visible { outline:3px solid #6d9fea; outline-offset:2px; }
.deal-phase-layout { background:#f7f9fb; padding:20px; border-radius:16px; }
.deal-phase-content .portal-page-head { background:white; border:1px solid #dfe5ee; border-top:4px solid #675cbf; padding:20px; border-radius:12px; margin-bottom:14px; }
.deal-phase-content .portal-page-head h1 { font-size:30px; margin:8px 0; }
.deal-phase-content .portal-page-head p { margin-bottom:0; }
.deal-record-links { display:flex; flex-wrap:wrap; gap:6px; padding:0 0 14px; }
.deal-record-links a { padding:8px 12px; border-radius:7px; border:1px solid #dfe5ee; background:white; color:#24202c; font-size:12px; font-weight:600; }
.deal-record-links a:hover,.deal-record-links a:focus-visible { background:#eee9f6; }
.deal-phase-content [id] { scroll-margin-top:100px; }
.deal-current-phase { border-left:4px solid #675cbf; }
.deal-phase-group { position:relative; margin-bottom:18px; }
.deal-phase-group h3 { display:flex; align-items:center; gap:9px; }
.timeline-group-number { display:inline-grid; place-items:center; width:25px; height:25px; border-radius:8px; background:var(--phase-bg); color:var(--phase-color); font-size:12px; }
.deal-phase-link { position:relative; margin:0 0 0 12px; width:calc(100% - 12px); border:0; border-left:2px solid #dde4ed; border-radius:0; padding:10px 10px 10px 20px; }
.timeline-marker { position:absolute; left:-5px; top:15px; width:8px; height:8px; border-radius:50%; border:2px solid #adb9c6; background:white; }
.deal-phase-link.is-current { border-left-color:var(--phase-color); border-radius:0 8px 8px 0; }
.deal-phase-link.is-current .timeline-marker { background:var(--phase-color); border-color:var(--phase-color); box-shadow:0 0 0 3px var(--phase-bg); }
.deal-phase-link.is-selected { outline:0; box-shadow:inset -3px 0 var(--phase-color); background:var(--phase-bg); }
.deal-phase-link:focus-visible { outline:2px solid #6d9fea; }
@media(max-width:800px) { .lifecycle-overview,.deal-phase-layout { padding:12px; }.deal-phase-content .portal-page-head h1 { font-size:25px; }.deal-record-links { gap:5px; }.deal-record-links a { padding:8px; }.lifecycle-overview .portal-filters { grid-template-columns:1fr; } }
.showstopper-filter { display:flex; align-items:center; gap:8px; padding:12px 0; font-size:13px; color:#9b252d; font-weight:600; }
.task-blocked { border-left:4px solid #cc3340; }
.showstopper-badge { display:inline-block; background:#ffe5e7; color:#a3212d; border-radius:6px; padding:5px 8px; font-size:12px; }
.showstopper-text { color:#a3212d; font-size:12px; margin:6px 0; overflow-wrap:anywhere; }
.deal-task-health { min-width:165px; max-width:260px; }
.task-overdue,.task-setup-issues { color:#956006; }.task-setup-issues { font-size:12px; margin:6px 0; }.task-setup-issues summary { cursor:pointer; }
.task-blocker-reason { color:#a3212d; padding:12px; background:#fff0f1; border-radius:8px; margin:12px 0; }
.task-card textarea { display:block; width:100%; min-height:80px; padding:10px; border:1px solid #d9d0ea; border-radius:8px; }
.day-card .deal-task-health { max-width:none; margin:12px 0; }.day-card .task-meta { color:#bdc9d8; }.day-card .showstopper-text { color:#ffb5bc; }.day-card .task-overdue,.day-card .task-setup-issues { color:#ffdb94; }

/* Primary navigation in 360Volt CI. */
.portal-nav { align-items:center; gap:6px; padding:12px max(18px,calc((100vw - 1450px)/2)); border-bottom:1px solid #e7e2ed; }
.portal-nav a { color:#61586b; border-radius:10px; min-height:44px; display:flex; align-items:center; transition:background .15s; }
.portal-nav a:hover { background:#f6f3fb; color:#554aa3; }
.portal-nav a.active { background:#eee9fa; color:#5546a8; box-shadow:inset 0 -3px #675cbf; }
.portal-nav a:focus-visible { outline:2px solid #675cbf; outline-offset:2px; }
.dashboard-head { margin:24px 0 28px; }.dashboard-head h1 { color:#17131d; }.dashboard-head p { color:#655e70; }
.dashboard-tasks { background:white; border:1px solid #e7e2ed; border-radius:16px; padding:24px; margin-bottom:32px; }
.dashboard-tasks .portal-page-head h2 { font-size:24px; margin:8px 0; color:#17131d; }
.dashboard-projects { margin-bottom:24px; }
.settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.settings-card { display:block; padding:30px; background:white; border:1px solid #e7e2ed; border-radius:16px; text-decoration:none; }
.settings-card:hover { border-color:#675cbf; box-shadow:0 8px 28px #675cbf12; }.settings-card>span { font-size:11px; letter-spacing:.1em; color:#675cbf; }.settings-card h2 { margin:16px 0 10px; font-size:24px; color:#17131d; }.settings-card p { color:#655e70; margin-bottom:24px; }.settings-card strong { color:#5546a8; }
@media(max-width:700px) { .portal-nav { gap:2px; padding:8px; flex-wrap:wrap; }.portal-nav a { font-size:13px; padding:10px 12px; }.dashboard-tasks { padding:16px; }.settings-grid { grid-template-columns:1fr; } }

/* Monitoring actions */
.monitoring-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:24px; padding-top:20px; border-top:1px solid #eceaf5; }
.monitoring-actions .mud-button-root { min-height:44px; padding:10px 18px; border-radius:10px; text-transform:none; font-weight:600; font-size:14px; letter-spacing:0; }
.monitoring-actions .monitoring-open { box-shadow:0 3px 8px rgb(105 86 205 / 15%); }
.monitoring-actions .monitoring-refresh { border-color:#d7d1ef; background:#fff; }
.monitoring-actions .monitoring-refresh:hover { background:#f6f4fc; border-color:#8c7fd0; }
.monitoring-actions .mud-button-root:focus-visible { outline:3px solid #b7abed; outline-offset:3px; }
@media(max-width:480px) { .monitoring-actions { align-items:stretch; } .monitoring-actions .mud-button-root { width:100%; } }
