:root{
  --bg:#f4f2ee;
  --panel:#ffffff;
  --ink:#1f1d1a;
  --muted:#6f6a62;
  --line:#ddd6cc;
  --accent:#7a6952;
  --accent-soft:#ece5db;
  --success:#e6f2e9;
  --error:#f6e7e5;
  --warning:#fff3df;
  --shadow:0 8px 24px rgba(31,29,26,.08);
  --radius:18px;
}
*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Segoe UI", Arial, sans-serif;
}
a{color:inherit;text-decoration:none}
.shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}
.sidebar{
  background:#f9f7f3;
  border-right:1px solid var(--line);
  padding:28px 18px;
  position:sticky; top:0; height:100vh;
}
.brand{display:flex;gap:12px;align-items:center;margin-bottom:28px}
.brand-link{display:flex}
.brand-link:hover{opacity:.92}
.brand-mark{
  width:44px;height:44px;border-radius:14px;background:var(--ink);color:white;
  display:flex;align-items:center;justify-content:center;font-weight:700;
}
.brand-title{font-weight:700}
.brand-sub{font-size:12px;color:var(--muted)}
.nav{display:flex;flex-direction:column;gap:16px}
.nav-group{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:12px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#fffdf9;
}
.nav-group-label{
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  padding:2px 4px 6px;
}
.nav a{padding:12px 14px;border-radius:12px;color:var(--muted);border:1px solid transparent;transition:background .15s ease,color .15s ease,border-color .15s ease,transform .15s ease}
.nav a:hover{background:var(--accent-soft);color:var(--ink);transform:translateX(2px)}
.nav a.active{color:var(--ink);font-weight:600;background:white;border-color:rgba(31,29,26,.08);box-shadow:0 4px 12px rgba(31,29,26,.06)}
.nav-group-amber{background:linear-gradient(180deg,#fbf5ea 0%, #fffdf8 100%)}
.nav-group-sage{background:linear-gradient(180deg,#eef5ef 0%, #fffdfb 100%)}
.nav-group-blue{background:linear-gradient(180deg,#edf3f8 0%, #fffdfb 100%)}
.nav-group-plum{background:linear-gradient(180deg,#f4ecf8 0%, #fffdfb 100%)}
.nav-group-live{background:linear-gradient(180deg,#fff1e5 0%, #fffaf5 100%);border-color:#e7c7a3}
.nav-group-live .nav-group-label{color:#9a5a1e}
.main{padding:28px 34px}
.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px}
h1,h2,h3,h4,p{margin-top:0}
h1{font-size:34px;line-height:1.05;margin-bottom:8px}
.card,.metric-card,.login-card,.link-card,.kanban-card{
  background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)
}
.card{padding:22px}
.metric-card{padding:18px}
.metric-card span,.small,.muted{color:var(--muted)}
.metric-card strong{display:block;font-size:28px;margin-top:8px}
.card-grid{display:grid;gap:16px;margin-bottom:18px}
.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid{display:grid;gap:16px;margin-bottom:18px}
.grid.two{grid-template-columns:1fr 1fr}
.grid.two-strong{grid-template-columns:1.3fr 1fr}
.button-cluster,.actions,.checkbox-row,.pill-row{display:flex;gap:10px;flex-wrap:wrap}
.button-cluster form{margin:0}
.context-switcher{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 8px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fcfbf8;
}
.context-switcher label{
  margin:0;
  font-size:12px;
}
.context-switcher select{
  width:auto;
  min-width:170px;
  margin:0;
  padding:8px 10px;
  font-size:13px;
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:12px;border:1px solid var(--line);background:white
}
.btn:hover{background:#f8f5ef}
.btn-primary{background:var(--ink);color:white;border-color:var(--ink)}
.btn-primary:hover{background:#3a362f}
.btn-danger{background:#fff3f1;border-color:#e3b4ab;color:#8b4238}
.btn-danger:hover{background:#fce9e5}
.btn:disabled{
  opacity:.5;
  cursor:not-allowed;
  pointer-events:none;
}
.is-busy{
  opacity:.72;
  transition:opacity .12s ease;
}
.btn-small{padding:8px 12px;font-size:14px}
.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:12px;color:var(--muted);margin-bottom:8px}
.section-head,.row-between{display:flex;justify-content:space-between;align-items:center;gap:12px}
.title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pill{
  display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:var(--accent-soft);font-size:12px
}
.pill-status-draft{background:#ece5db;color:#5d5142}
.pill-status-approved{background:#e2f0e4;color:#355844}
.pill-status-unlocked{background:#fff0d8;color:#8a6335}
.pill-status-void{background:#f3e7e5;color:#7a4c46}
.pill-soft{background:#f5f0e8}
.list-stack{display:flex;flex-direction:column;gap:10px}
.weekly-project-grid{display:flex;flex-direction:column;gap:14px}
.weekly-project-card{border:1px solid var(--line);border-radius:18px;background:#fcfbf8;overflow:hidden}
.weekly-project-summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;cursor:pointer}
.weekly-project-summary::-webkit-details-marker{display:none}
.weekly-project-summary-side{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.weekly-project-body{padding:0 20px 20px;display:flex;flex-direction:column;gap:16px}
.weekly-project-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:4px}
.weekly-workflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.weekly-workflow-card{border:1px solid var(--line);border-radius:16px;background:white;padding:16px;display:flex;flex-direction:column;gap:14px}
.weekly-workflow-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.weekly-workflow-preview{display:flex;flex-direction:column;gap:10px}
.weekly-compare-grid{display:grid;grid-template-columns:1fr;gap:12px}
.weekly-workflow-preview-compare{display:none}
.weekly-workflow-preview-compare.is-visible{display:flex}
.weekly-project-card[data-preview-open="1"] .weekly-compare-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.weekly-section{padding:10px 12px;border-radius:12px;background:#faf7f2;border:1px solid #eee4d7}
.weekly-editor{display:flex;flex-direction:column;gap:10px}
.weekly-editor summary{list-style:none;align-self:flex-start}
.weekly-editor summary::-webkit-details-marker{display:none}
.weekly-editor-form{display:flex;flex-direction:column;gap:4px;padding-top:10px}
.project-chip-bar{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 16px}
.project-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid var(--line);background:#f8f4ed;color:#5d5142;text-decoration:none;font-size:13px;font-weight:600}
.project-chip:hover{border-color:#c9b89f}
.project-chip.is-active{box-shadow:inset 0 0 0 2px #5d5142}
.project-chip-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.7);font-size:12px}
.project-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;border:1px solid var(--line);font-weight:600;white-space:nowrap}
.list-row{
  display:flex;justify-content:space-between;align-items:flex-start;gap:14px;
  padding:14px;border:1px solid var(--line);border-radius:14px;background:#fcfbf8
}
.table-wrap{overflow:auto}
.table-shell{overflow:auto}
table{width:100%;border-collapse:collapse}
th,td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;font-size:14px}
th a{text-decoration:underline;text-decoration-color:transparent;transition:text-decoration-color .15s ease}
th a:hover{text-decoration-color:currentColor}
input,select,textarea{
  width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:white;
  font:inherit;margin-bottom:14px
}
label{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}
.stack-form.narrow{max-width:360px}
.stack-form.compact-form input{margin-bottom:0}
.checkbox-label{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--ink);
  margin-bottom:0;
}
.checkbox-label input{
  width:auto;
  margin:0;
}
.checkbox-label.compact{font-size:13px}
.compact-inline-form{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.compact-inline-form input[type="text"]{
  width:220px;
  margin-bottom:0;
}
.compact-inline-form .checkbox-label{
  margin-bottom:0;
}
.stat-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:32px;
  padding:6px 10px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--ink);
  font-size:12px;
  font-weight:600;
}
.flash-wrap{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
.flash{padding:12px 14px;border-radius:12px}
.flash-success{background:var(--success)}
.flash-error{background:var(--error)}
.filter-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  align-items:end;
}
.filter-grid-home{grid-template-columns:repeat(3,minmax(0,1fr))}
.date-range-group{min-width:0}
.date-range-inline{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:10px;
  align-items:center;
}
.date-range-inline input{margin-bottom:0}
.date-range-separator{color:var(--muted);font-size:13px}
.range-picker{
  position:relative;
  min-width:0;
}
.range-picker-trigger{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:white;
  font:inherit;
  color:var(--ink);
  cursor:pointer;
}
.range-picker-trigger:hover{background:#f8f5ef}
.range-picker-label{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.range-picker-caret{color:var(--muted);font-size:12px}
.range-picker-panel{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  z-index:20;
  width:min(420px, 100%);
  padding:16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--panel);
  box-shadow:var(--shadow);
  display:none;
}
.range-picker.open .range-picker-panel{display:block}
.range-picker-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.range-picker-grid input{margin-bottom:0}
.range-picker-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:14px;
}
.range-picker-hidden{display:none}
.filter-actions{display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.inline-grid{display:grid;gap:14px}
.inline-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.inline-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.inline-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.token{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  margin-bottom:8px;
}
.token-0{background:#e7efe6;color:#3e5c46}
.token-1{background:#f3e7dc;color:#73553a}
.token-2{background:#e8eef7;color:#3b5b80}
.token-3{background:#f3e6ef;color:#7d4d73}
.token-4{background:#f3f0de;color:#6c6638}
.token-5{background:#e7f0f0;color:#3f6663}
.token-neutral{background:#ece7df;color:#5d564d}
.token-ok{background:#e6f4ea;color:#356b43}
.token-warn{background:#fbf1dc;color:#8a5a17}
.token-bad{background:#f9e5e2;color:#8f433d}
.bulk-toolbar{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#faf8f4;
  margin-bottom:16px;
}
.bulk-toolbar-copy{display:flex;flex-direction:column;gap:4px}
.bulk-toolbar-actions{display:flex;gap:10px;align-items:center;min-width:320px}
.bulk-toolbar-actions select{margin-bottom:0}
.pagination-bar,.pagination-summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.pagination-bar{margin-top:16px}
.compact-pagination{justify-content:flex-start;gap:14px;flex-wrap:wrap}
.rows-per-page-form{
  display:flex;
  align-items:center;
  gap:8px;
}
.rows-per-page-form input{margin-bottom:0}
.rows-per-page-label{margin:0}
.rows-per-page-select{
  width:auto;
  min-width:72px;
  padding:8px 10px;
  font-size:12px;
}
.table-input{
  min-width:120px;
  margin-bottom:0;
  padding:10px 12px;
  font-size:13px;
}
.filter-row th{
  background:#faf8f4;
  vertical-align:top;
}
.filter-actions-inline{
  align-items:flex-start;
  justify-content:flex-end;
}
.review-table td{vertical-align:top}
.status-row-draft{background:#fffdf9}
.status-row-approved{background:#fbfdfb}
.status-row-unlocked{background:#fffaf2}
.status-row-void{background:#fdf8f7}
.attention-row{background:#fffaf2}
.detail-row td{background:#fcfbf8}
.detail-list{display:flex;flex-direction:column;gap:8px;color:var(--muted)}
.missing-day-list{display:flex;gap:6px;flex-wrap:wrap}
.bar-chart{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.bar-chart-row{
  display:grid;
  grid-template-columns:72px minmax(120px,1fr) 64px;
  gap:12px;
  align-items:center;
}
.bar-chart-label{
  color:var(--muted);
  font-size:13px;
}
.bar-chart-track{
  height:16px;
  border-radius:999px;
  background:#eee8df;
  overflow:hidden;
  border:1px solid var(--line);
}
.bar-chart-fill{
  height:100%;
  min-width:0;
  border-radius:999px;
  background:linear-gradient(90deg,#7a6952,#b69c76);
}
.bar-chart-row-missing .bar-chart-track{
  background:#f8f4ec;
}
.bar-chart-row-missing .bar-chart-fill{
  background:transparent;
}
.bar-chart-value{
  font-size:13px;
  color:var(--ink);
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.summary-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-bottom:18px;
}
.summary-grid div{
  border:1px solid var(--line);
  border-radius:14px;
  background:#faf8f4;
  padding:14px;
}
.summary-grid strong{display:block;margin-top:6px}
.entry-lead{
  padding:14px;
  border-radius:14px;
  background:#faf8f4;
  border:1px solid var(--line);
}
.history-payload{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:10px;
}
.history-payload pre{
  margin:6px 0 0;
  padding:12px;
  border-radius:12px;
  background:#f7f3ee;
  border:1px solid var(--line);
  white-space:pre-wrap;
  word-break:break-word;
}
.checkbox-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 14px;
}
.planning-summary-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.planning-summary-card{
  border:1px solid var(--line);
  border-radius:16px;
  background:#faf8f4;
  padding:16px;
}
.planning-summary-card span,
.planning-summary-card small{
  display:block;
}
.planning-summary-card strong{
  display:block;
  margin:6px 0 4px;
}
.planning-summary-card-healthy{background:#f5faf6}
.planning-summary-card-watch{background:#fff8ef}
.planning-summary-card-at_risk{background:#fff2f0}
.planning-note-card{
  background:#fffaf1;
  border:1px solid #e4d2b0;
}
.planning-note-card strong{
  display:block;
  margin-bottom:6px;
}
.planning-phase-stack{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-top:18px;
}
.project-planning-rail{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.planning-phase-shell,
.planning-composer,
.planning-inline-editor,
.planning-side-drawer,
.planning-task-shell{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fcfaf6;
}
.planning-phase-shell[open],
.planning-composer[open],
.planning-inline-editor[open],
.planning-side-drawer[open],
.planning-task-shell[open]{
  box-shadow:var(--shadow);
}
.planning-phase-shell > summary,
.planning-composer > summary,
.planning-inline-editor > summary,
.planning-side-drawer > summary,
.planning-task-shell > summary{
  list-style:none;
  cursor:pointer;
}
.planning-phase-shell > summary::-webkit-details-marker,
.planning-composer > summary::-webkit-details-marker,
.planning-inline-editor > summary::-webkit-details-marker,
.planning-side-drawer > summary::-webkit-details-marker,
.planning-task-shell > summary::-webkit-details-marker{
  display:none;
}
.planning-composer > summary,
.planning-inline-editor > summary,
.planning-side-drawer > summary{
  padding:14px 16px;
  font-weight:600;
}
.planning-composer-visible{
  padding:18px;
  background:linear-gradient(180deg,#fff7eb 0%,#fcfaf6 100%);
  box-shadow:var(--shadow);
}
.planning-composer-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.planning-add-phase-grid{
  align-items:end;
}
.planning-composer-body,
.planning-editor-body,
.planning-side-drawer-body{
  padding:0 16px 16px;
}
.planning-editor-body-wide{
  min-width:min(820px,92vw);
}
.planning-task-actions,
.planning-phase-title,
.planning-phase-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.planning-phase-summary{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:16px;
}
.planning-phase-summary-main{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}
.planning-phase-summary-title{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.planning-phase-summary-meta{
  color:var(--muted);
  font-size:13px;
  white-space:nowrap;
}
.planning-phase-body{
  padding:0 16px 16px;
}
.planning-legend{
  margin:-4px 0 14px;
  font-size:12px;
}
.planning-phase-actions{
  justify-content:flex-end;
  margin-bottom:14px;
}
.planning-task-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.planning-task-summary{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  padding:12px 14px;
}
.planning-task-summary-main{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.planning-task-summary-meta{
  display:flex;
  gap:12px;
  color:var(--muted);
  font-size:13px;
  white-space:nowrap;
}
.planning-filter-grid{
  margin-bottom:16px;
}
.planning-inline-editor-tight{
  min-width:120px;
}
.planning-task-next-field{
  display:flex;
  align-items:flex-end;
}
.planning-task-next-field .checkbox-label{
  margin-bottom:8px;
}
.phase-gantt-track{
  position:relative;
  height:14px;
  border-radius:999px;
  background:#eee8df;
  border:1px solid var(--line);
  margin:12px 0 16px;
}
.phase-gantt-fill{
  height:100%;
  border-radius:999px;
  min-width:0;
}
.phase-gantt-fill-healthy{background:linear-gradient(90deg,#7b9a7d,#9fbe9f)}
.phase-gantt-fill-watch{background:linear-gradient(90deg,#c6a15a,#e0bd73)}
.phase-gantt-fill-at_risk{background:linear-gradient(90deg,#c36d65,#df958e)}
.pill-state-healthy{background:#e8f3ea;color:#3f6a45}
.pill-state-watch{background:#fff0d7;color:#8a6721}
.pill-state-at_risk{background:#fde1de;color:#8a3f3a}
.pill-status-plan-not_started{background:#efe9df;color:#6f624e}
.pill-status-plan-in_progress{background:#e7f0fb;color:#365f8b}
.pill-status-plan-blocked{background:#fde7df;color:#9a4a37}
.pill-status-plan-done{background:#e8f3ea;color:#3f6a45}
.pill-status-plan-cancelled{background:#ece9e7;color:#6b635d}
.pill-function-procurement{background:#fff0d7;color:#8a6721}
.pill-function-vendors{background:#f3e7dc;color:#73553a}
.pill-function-drafting{background:#e8eef7;color:#3b5b80}
.pill-function-trades{background:#fde7df;color:#9a4a37}
.pill-function-designer{background:#e7efe6;color:#3e5c46}
.pill-function-project_management{background:#f3e6ef;color:#7d4d73}
.pill-function-admin{background:#ece7df;color:#5d564d}
.pill-function-client_management{background:#e7f0f0;color:#3f6663}
.pill-function-none{background:#f3f1ec;color:#756b5c}
.planning-add-task-block{margin-top:14px}
.planning-history-list{display:grid;gap:10px}
.planning-history-item{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 14px;
  background:#fcfbf8;
}
.planning-history-meta{
  color:var(--muted);
  font-size:12px;
  margin-bottom:4px;
}
.review-note-box{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 14px;
  background:#fcfbf8;
  white-space:pre-wrap;
}
.review-note-box-success{
  background:#f3faf3;
  border-color:#c8dfc8;
}
.review-summary-compact{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.review-header-grid{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(280px,.9fr);
  gap:16px;
  align-items:start;
}
.review-header-filters{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.review-filter-group{
  justify-content:flex-start;
}
.review-filter-chips{
  gap:8px;
  flex-wrap:wrap;
}
.review-chip{
  border-color:#e4d8c8;
  background:#fbf8f3;
  color:#5c5042;
}
.review-chip-all.btn-primary{background:#6c6257;border-color:#6c6257;color:#fff}
.review-chip-general.btn-primary{background:#7a6c5e;border-color:#7a6c5e;color:#fff}
.review-chip-pending.btn-primary{background:#b6772e;border-color:#b6772e;color:#fff}
.review-chip-approved.btn-primary{background:#4f7d5f;border-color:#4f7d5f;color:#fff}
.review-chip-void.btn-primary{background:#7d6661;border-color:#7d6661;color:#fff}
.review-filter-group .review-chip.btn-primary:not(.review-chip-all):not(.review-chip-general):not(.review-chip-pending):not(.review-chip-approved):not(.review-chip-void){
  background:#d8c6b2;
  border-color:#b89f83;
  color:#3d2f21;
}
.review-summary-band{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}
.review-summary-item{
  padding:10px 12px;
  border:1px solid #eadfce;
  border-radius:12px;
  background:#fcfaf6;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.review-summary-item span{
  color:#7c746b;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.review-summary-item strong{
  font-size:18px;
  color:#2f2a25;
}
.review-employee-stack{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.review-employee-card{
  padding:14px 16px;
}
.review-employee-summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  cursor:pointer;
}
.review-employee-summary-metrics{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.review-lite-table th,
.review-lite-table td{
  vertical-align:top;
}
.review-lite-table td{
  padding-top:14px;
  padding-bottom:14px;
 }
.review-row-busy{
  opacity:.62;
  transition:opacity .12s ease;
}
.review-row-busy a[aria-disabled="true"]{
  pointer-events:none;
}
.review-lite-table th a{
  color:inherit;
  text-decoration:none;
}
.review-table-filter-link{
  color:inherit;
  text-decoration:none;
}
.review-table-filter-link:hover{
  text-decoration:underline;
}
.review-billing-cell{
  text-align:center;
}
.review-billing-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
}
.review-billing-yes{
  background:#e7f4ea;
  color:#2f7b43;
}
.review-billing-no{
  background:#fbe9e7;
  color:#b2453a;
}
.review-billing-void{
  background:#f0ebe4;
  color:#847a6f;
}
.review-row-actions{
  display:flex;
  gap:8px;
  align-items:center;
  flex-direction:row;
  flex-wrap:nowrap;
  white-space:nowrap;
}
.review-row-actions form{
  margin:0;
  display:inline-flex;
  flex:0 0 auto;
}
.review-action-chip{
  width:32px;
  height:32px;
  min-width:32px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:16px;
  font-weight:700;
  border:1px solid transparent;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.review-actions-col,
.review-actions-cell{
  width:132px;
  min-width:132px;
}
.review-actions-cell{
  white-space:nowrap;
}
.review-action-chip:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 10px rgba(0,0,0,.08);
}
.review-action-approve{
  background:#e5f4e8;
  color:#2f7b43;
  border-color:#cce5d2;
}
.review-action-modify{
  background:#fbf1dc;
  color:#8a5a17;
  border-color:#eddcb6;
}
.review-action-unlock{
  background:#e8eefb;
  color:#355b9d;
  border-color:#cfdbf2;
}
.review-action-void{
  background:#efe9f8;
  color:#65408f;
  border-color:#ddd0f1;
}
.review-action-delete{
  background:#fbe8e5;
  color:#b2453a;
  border-color:#efcbc4;
}
.review-project-chip{
  display:inline-block;
  white-space:nowrap;
  font-size:14px;
  line-height:1.1;
  padding:10px 14px;
}
.review-date-link{
  display:inline-block;
  white-space:nowrap;
}
@media (max-width: 960px){
  .review-header-grid{
    grid-template-columns:1fr;
  }
  .review-summary-band{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .review-employee-summary{
    flex-direction:column;
    align-items:flex-start;
  }
  .review-project-chip{
    white-space:normal;
  }
}
.mini-gantt-track,
.person-gantt-track{
  position:relative;
  height:14px;
  border-radius:999px;
  background:#eee8df;
  border:1px solid var(--line);
  overflow:hidden;
}
.mini-gantt-track{
  min-width:180px;
}
.mini-gantt-bar,
.person-gantt-bar{
  height:100%;
  border-radius:999px;
  min-width:8px;
}
.mini-gantt-bar-healthy,
.person-gantt-bar-healthy{background:linear-gradient(90deg,#7b9a7d,#9fbe9f)}
.mini-gantt-bar-watch,
.person-gantt-bar-watch{background:linear-gradient(90deg,#c6a15a,#e0bd73)}
.mini-gantt-bar-at_risk,
.person-gantt-bar-at_risk{background:linear-gradient(90deg,#c36d65,#df958e)}
.planning-people-stack{
  display:grid;
  gap:14px;
}
.planning-person-card{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fcfaf6;
  padding:16px;
}
.planning-person-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}
.planning-person-metrics{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.planning-person-lanes{
  display:grid;
  gap:8px;
}
.planning-person-lanes .muted{
  font-size:12px;
}
@media (max-width: 1200px){
  .cols-4,.cols-3,.grid.two,.grid.two-strong{grid-template-columns:1fr}
  .shell{grid-template-columns:1fr}
  .sidebar{position:relative;height:auto}
  .filter-grid,.filter-grid-home,.inline-grid.two,.inline-grid.three,.inline-grid.four,.summary-grid,.history-payload,.weekly-workflow-grid,.planning-summary-grid,.checkbox-grid,.weekly-compare-grid{grid-template-columns:1fr}
  .date-range-inline{grid-template-columns:1fr}
  .range-picker-panel{width:100%}
  .range-picker-grid{grid-template-columns:1fr}
  .bulk-toolbar,.bulk-toolbar-actions,.pagination-bar{flex-direction:column;align-items:stretch}
  .weekly-project-summary,.weekly-project-toolbar{flex-direction:column;align-items:flex-start}
  .planning-phase-summary,.planning-task-summary,.planning-composer-head,.planning-person-head{flex-direction:column}
  .planning-editor-body-wide{min-width:0}
  .mini-gantt-track{min-width:0}
}
