@font-face{font-family:Montserrat;src:local("Montserrat SemiBold");font-weight:600}@font-face{font-family:Montserrat;src:local("Montserrat Bold");font-weight:700}@font-face{font-family:Inter;src:local("Inter Regular");font-weight:400}@font-face{font-family:Inter;src:local("Inter Medium");font-weight:500}@font-face{font-family:Inter;src:local("Inter SemiBold");font-weight:600}
:root{--navy:#16324f;--navy2:#1c3b59;--teal:#56c2a3;--ink:#1f2933;--muted:#4f6475;--line:#d8ddd8;--bg:#f5f7f4;--brand-navy:#16324f;--brand-slate:#4f6475;--brand-mint:#56c2a3;--brand-off-white:#f5f7f4;--brand-warm-gray:#d8ddd8;--brand-charcoal:#1f2933;--brand-shadow:0 16px 44px rgba(22,50,79,.09);--brand-shadow-soft:0 6px 20px rgba(22,50,79,.07)}
body{font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--brand-charcoal);background:var(--brand-off-white)}h1,h2,h3,h4,.brand,button,th{font-family:Montserrat,Inter,"Segoe UI",Arial,sans-serif}h1,h2,h3{color:var(--brand-navy);letter-spacing:-.025em}.eyebrow{color:var(--brand-slate);letter-spacing:.15em}
.brand{display:flex;align-items:center;gap:12px;color:var(--brand-navy);font-size:23px;font-weight:700;letter-spacing:.14em}.brand img{width:48px;height:35px;object-fit:contain;flex:0 0 auto}.sidebar .brand,.workspace-shell aside .brand{color:#fff}
.sidebar,.workspace-shell aside{background:linear-gradient(180deg,#16324f 0%,#102a43 72%,#0d253d 100%);box-shadow:10px 0 32px rgba(22,50,79,.08)}.sidebar nav a,.workspace-shell nav .nav,.workspace-shell aside a{border-radius:9px}.sidebar nav a.active,.workspace-shell nav .active{background:rgba(255,255,255,.1);border-left-color:var(--brand-mint);box-shadow:inset 0 0 0 1px rgba(255,255,255,.035)}.sidebar nav a:hover,.workspace-shell aside a:hover,.workspace-shell nav .nav:hover{background:rgba(255,255,255,.075)}
button{transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease}button:not(.close):hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(22,50,79,.14)}button:not(.secondary):not(.link):not(.text-button):not(.column-menu):not(.group-edit):not(.tool):not(.close){background:var(--brand-navy)}.secondary{border-color:var(--brand-warm-gray)}.text-button,.link,.group-edit{color:#257f6d}input,select,textarea{border-color:#c8d1cd!important;transition:border-color .15s ease,box-shadow .15s ease}input:focus,select:focus,textarea:focus{border-color:var(--brand-mint)!important;outline:0;box-shadow:0 0 0 3px rgba(86,194,163,.16)}
.stat,.summary article,.panel,.library-card,.project-card,.auth-card,.setup-main,.setup-aside,.health-panel,.report-panel,.metric,.dashboard-panel{border-color:rgba(79,100,117,.18)!important;box-shadow:var(--brand-shadow-soft)}.stat,.summary article{border-top-color:var(--brand-navy)!important}.stat.warn{border-top-color:#d79b42!important}.stat.critical-stat{border-top-color:#c9544d!important}.panel-heading,.table-head,th,.gantt-label-head,.timeline-head,.wg-head{background-color:#eef3f0}.activity-row:hover,.project-row:hover{background:#f0f8f5}.status,.save-banner{color:#257f6d}.today-line{border-left-color:var(--brand-mint)}.bar:not(.critical):not(.baseline){background:#4f7891}.bar.critical{background:#c9544d}
dialog{border:1px solid rgba(79,100,117,.17);border-radius:16px;box-shadow:0 30px 90px rgba(15,38,60,.28)}dialog::backdrop{background:rgba(15,38,60,.62);backdrop-filter:blur(3px)}.auth-card{border-radius:18px}.workspace-main{max-width:1280px}

/* Information-heavy lists stay light and calm; navy remains an accent, not a field color. */
.recent-project,.report-action-list button,.report-upcoming button,.health-item,.health-warning{background:#fff!important;color:var(--brand-charcoal)!important;box-shadow:none!important;transform:none!important}
.recent-project{position:relative;padding:17px 20px 17px 25px!important}.recent-project::before{content:"";position:absolute;left:0;top:11px;bottom:11px;width:3px;border-radius:0 3px 3px 0;background:var(--brand-mint)}.recent-project b{color:var(--brand-navy);font-size:14px}.recent-project>strong{color:#257f6d;font-size:12px}.recent-project:hover,.report-action-list button:hover,.report-upcoming button:hover,.health-item:hover{background:#f1f8f5!important}.health-warning:hover{background:#fff8f5!important}
.report-action-list button>strong,.health-warning>strong{color:#257f6d}.health-item>strong{color:#8f332b}.report-panel>header,.health-panel>header{background:#f8faf8}

/* Workflow availability must read instantly, even in a dense grid. */
.workflow-toggle.excluded{background:#fff!important;color:var(--brand-slate)!important;border:1.5px solid #9eaaa6!important;box-shadow:inset 0 0 0 2px #fff!important}.workflow-toggle.included{background:#eaf8f3!important;color:#257f6d!important;border-color:var(--brand-mint)!important}
.workflow-table thead th{min-width:132px;padding-left:7px;padding-right:7px}.workflow-table thead th>b{display:block;min-height:30px;font-size:11px;line-height:1.3}.workflow-table .stage-settings{gap:7px}.workflow-table .stage-settings label{display:grid;justify-content:center;align-items:center;gap:2px;font-size:10px;line-height:1.1}.workflow-table .stage-settings label:first-child{grid-template-columns:44px 58px}.workflow-table .stage-settings label:last-child{grid-template-columns:54px 52px 24px}.workflow-table .stage-settings label>span:first-child{width:auto;text-align:right}.workflow-table .stage-code{width:58px}.workflow-table .stage-duration{width:52px}.workflow-table .stage-settings label>span:last-child{text-align:left;white-space:nowrap}
@media(prefers-reduced-motion:reduce){button{transition:none}}
.activity-editor-menu{align-items:center}.activity-editor-menu>span{flex:1}.danger-button{background:#fff;color:#a8322b;border:1px solid #d8a7a3;box-shadow:none}.danger-button:hover{background:#fff4f2;color:#8c211c;transform:none}

/* Header menus are light surfaces; the global premium button treatment must not darken their contents. */
.action-menu>div{background:#fff!important;color:var(--brand-charcoal)!important;border-color:#ccd6d1!important;box-shadow:0 18px 42px rgba(22,50,79,.18)!important}.action-menu>div button{background:transparent!important;color:var(--brand-charcoal)!important;box-shadow:none!important;transform:none!important}.action-menu>div button:hover{background:#eef7f3!important;color:var(--brand-navy)!important}.action-menu>div .danger-menu-item{color:#a8322b!important}.action-menu>div hr{border-top-color:#dce4e0!important}

/* Activity creation lives on the line where the new activity will be inserted. */
.activity-row td:first-child{position:relative}.activity-insert{display:none;position:absolute;z-index:12;left:18px;bottom:-11px;width:22px;height:22px;padding:0;border:1px solid #8cbfac;border-radius:50%;place-items:center;background:#fff!important;color:#257f6d!important;font:700 15px/1 Inter,sans-serif;box-shadow:0 3px 10px rgba(22,50,79,.16)!important;opacity:0;pointer-events:none;transform:none!important;transition:opacity .12s ease,background-color .12s ease}.fixed-pane .activity-insert{display:grid}.split-schedule.two-pane .data-pane .activity-insert{display:grid}.split-schedule:not(.two-pane) .data-pane .activity-insert{display:none}.activity-row:hover .activity-insert,.activity-insert:focus-visible{opacity:1;pointer-events:auto}.activity-insert:hover{background:#e8f7f1!important;color:#16324f!important}
