:root {
  --navy: #070b52;
  --royal: #2453b8;
  --ink: #172033;
  --muted: #667085;
  --line: #e4e9f2;
  --surface: #ffffff;
  --canvas: #f4f6fa;
  --success: #15803d;
  --warning: #b45309;
  --shadow: 0 18px 48px rgba(19, 35, 82, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible {
  outline: 3px solid rgba(51, 102, 214, .24);
  outline-offset: 2px;
}
.app-shell { min-height: 100vh; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #fff;
  background: linear-gradient(118deg, #070b52 0%, #132677 52%, #2e62c9 100%);
  box-shadow: 0 8px 28px rgba(6, 12, 62, .18);
}
.topbar::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #080d51, #234ca8, #9ec3f5);
}
.topbar-inner {
  max-width: 1500px;
  min-height: 76px;
  margin: 0 auto;
  padding: 13px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { min-width: 0; }
.brand-lockup {
  width: min(290px, 58vw);
  padding: 8px 13px 9px;
  display: grid;
  justify-items: start;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(3,8,55,.18);
}
.brand-logo-image { display: block; width: 168px; max-width: 70%; height: auto; }
.brand-tagline-image { display: block; width: 252px; max-width: 100%; height: auto; }
.period-chip {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  text-align: right;
}
.period-chip span { display: block; color: #cbd6f7; font-size: 9px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; }
.period-chip strong { display: block; margin-top: 3px; font-size: 13px; }
.layout {
  max-width: 1500px;
  margin: 0 auto;
  padding: 24px 28px 36px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 101px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sidebar-head { padding: 20px 18px 14px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 6px; color: var(--royal); font-size: 10px; font-weight: 900; letter-spacing: 1.25px; text-transform: uppercase; }
.sidebar-head h2 { margin: 0; color: var(--navy); font-size: 18px; line-height: 1.3; }
.sidebar-head p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.service-nav { display: grid; gap: 8px; padding: 12px; }
.service-button {
  width: 100%;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #344054;
  background: transparent;
  text-align: left;
  transition: .18s ease;
}
.service-button:hover { background: #f7f9fd; border-color: #e7ecf5; }
.service-button.active {
  color: var(--navy);
  border-color: #cfdaf4;
  background: #eef3ff;
  box-shadow: inset 3px 0 0 #315fc3;
}
.service-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #f0f3f8;
  font-size: 17px;
}
.service-button.active .service-icon { color: #fff; background: linear-gradient(145deg, #17348d, #3f73d5); }
.service-name { display: block; font-size: 12.5px; font-weight: 800; line-height: 1.3; }
.service-meta { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.2; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #d0d5dd; }
.dot.ready { background: #22a35a; box-shadow: 0 0 0 4px #e7f8ee; }
.legend { display: flex; align-items: center; gap: 8px; margin: 0 18px 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10.5px; }
.workspace { min-width: 0; }
.service-panel { display: none; }
.service-panel.active { display: block; animation: fadeIn .22s ease; }
.feature-nav {
  margin: -3px 0 16px;
  padding: 6px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #e9edf5;
  scrollbar-width: thin;
}
.feature-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #647084;
  background: transparent;
  font-size: 11.5px;
  font-weight: 850;
  white-space: nowrap;
}
.feature-button:hover { color: var(--navy); background: rgba(255,255,255,.58); }
.feature-button.active { color: var(--navy); border-color: #d7dfed; background: #fff; box-shadow: 0 3px 12px rgba(27,42,91,.08); }
.feature-pane { display: none; }
.feature-pane.active { display: block; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: .25; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.workspace-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(19,35,82,.05);
}
.workspace-title { min-width: 0; }
.workspace-title h1 { margin: 0; color: var(--navy); font-size: clamp(21px, 2.2vw, 29px); line-height: 1.18; letter-spacing: -.55px; }
.workspace-title p { max-width: 760px; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.status-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid #b7e2c7;
  border-radius: 999px;
  color: var(--success);
  background: #effbf3;
  font-size: 11px;
  font-weight: 850;
}
.status-pill.dev { color: var(--warning); border-color: #f0d2a9; background: #fff8ec; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.content-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.content-toolbar {
  min-height: 62px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}
.view-tabs { display: flex; gap: 5px; padding: 4px; border: 1px solid #e2e7f0; border-radius: 12px; background: #f0f3f8; }
.view-tab {
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  color: #667085;
  background: transparent;
  font-size: 11.5px;
  font-weight: 800;
}
.view-tab.active { color: var(--navy); background: #fff; box-shadow: 0 2px 9px rgba(23,36,86,.09); }
.toolbar-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.action-button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #d8deea;
  border-radius: 10px;
  color: #344054;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}
.action-button:hover { color: var(--navy); border-color: #b9c8eb; background: #f7f9ff; }
.action-button.primary { color: #fff; border-color: #244fae; background: #244fae; }
.action-button.primary:hover { background: #173e9c; }
.view-pane { display: none; }
.view-pane.active { display: block; }
.report-stage { padding: 18px; background: #e9edf4; }
.report-frame {
  display: block;
  width: 100%;
  min-height: 1050px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(21,32,68,.09);
}
.prompt-pane { padding: 18px; background: #f8fafc; }
.prompt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.prompt-head strong { display: block; color: var(--navy); font-size: 14px; }
.prompt-head span { display: block; margin-top: 5px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.prompt-search {
  width: min(300px, 42vw);
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid #d8deea;
  border-radius: 10px;
  color: #27324a;
  background: #fff;
  font-size: 11.5px;
}
.prompt-document {
  min-height: 720px;
  max-height: 78vh;
  margin: 0;
  padding: 20px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid #dfe5ef;
  border-radius: 13px;
  color: #23304b;
  background: #fff;
  font: 12px/1.67 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  tab-size: 2;
}
mark { color: inherit; background: #fff0a8; border-radius: 3px; }
.access-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.access-hero {
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid #dbe4f4;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
}
.access-hero h2 { margin: 0; color: var(--navy); font-size: 20px; line-height: 1.25; }
.access-hero p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.access-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.external-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid #244fae;
  border-radius: 11px;
  color: #fff;
  background: #244fae;
  font-size: 11.5px;
  font-weight: 850;
  text-decoration: none;
}
.external-link:hover { background: #173e9c; }
.credential-section { margin-top: 18px; }
.credential-section > h3 { margin: 0 0 10px; color: var(--navy); font-size: 13px; }
.credential-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.credential-group { margin-top: 12px; }
.credential-group:first-child { margin-top: 0; }
.credential-group-title { margin: 0 0 8px; color: #3157b5; font-size: 10px; font-weight: 900; letter-spacing: .85px; text-transform: uppercase; }
.credential-item {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #e1e7f0;
  border-radius: 13px;
  background: #fbfcfe;
}
.credential-label { display: block; color: var(--muted); font-size: 9.5px; font-weight: 850; letter-spacing: .65px; text-transform: uppercase; }
.credential-row { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.credential-value { min-width: 0; overflow-wrap: anywhere; color: #1d2b4f; font: 750 12px/1.45 "SFMono-Regular", Consolas, monospace; }
.copy-mini {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid #d7deea;
  border-radius: 8px;
  color: #3157b5;
  background: #fff;
  font-size: 9.5px;
  font-weight: 850;
}
.copy-mini:hover { border-color: #aec0e7; background: #f2f6ff; }
.empty-feature {
  min-height: 360px;
  padding: 36px 24px;
  display: grid;
  place-items: center;
  border: 1px dashed #cbd4e4;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f9fbff);
  box-shadow: var(--shadow);
  text-align: center;
}
.empty-feature.compact { min-height: 430px; border: 0; border-radius: 0; box-shadow: none; }
.empty-feature-inner { max-width: 470px; }
.empty-feature-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  border: 1px solid #d6dff0;
  border-radius: 18px;
  color: #315dbd;
  background: #edf3ff;
  font-size: 23px;
  font-weight: 850;
}
.empty-feature h2 { margin: 0; color: var(--navy); font-size: 20px; }
.empty-feature p { margin: 9px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.capture-stage { padding: 18px; background: #eef2f8; }
.capture-card {
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(21,32,68,.09);
}
.capture-figure { margin: 0; }
.capture-image-wrap { padding: 14px; background: #f7f9fc; }
.capture-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e1e7f0;
  border-radius: 11px;
  background: #fff;
}
.capture-caption {
  padding: 17px 18px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.capture-caption-copy strong { display: block; color: var(--navy); font-size: 14px; line-height: 1.4; }
.capture-caption-copy p { max-width: 900px; margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.capture-status {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #bde6ca;
  border-radius: 999px;
  color: #14783a;
  background: #eefbf2;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .45px;
  text-transform: uppercase;
}
.progress-inline-host { width: 100%; }
.progress-dashboard[hidden] { display: none; }
.progress-dashboard { width: 100%; }
.progress-body { width: 100%; }
.timeline-card {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #cfd9e9;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20,43,96,.06);
}
.timeline-head {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  background: linear-gradient(112deg, #0b5aa5 0%, #112c83 44%, #070452 100%);
}
.timeline-head-copy { min-width: 0; }
.timeline-kicker { display: block; color: #bcd8ff; font-size: 8.5px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.timeline-head h3 { margin: 4px 0 0; font-size: 18px; line-height: 1.25; }
.timeline-head p { margin: 4px 0 0; color: #d7e5ff; font-size: 9.5px; line-height: 1.45; }
.timeline-total {
  flex: 0 0 auto;
  min-width: 118px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 11px;
  background: rgba(255,255,255,.1);
  text-align: right;
}
.timeline-total span { display: block; color: #c9dafb; font-size: 8px; font-weight: 850; letter-spacing: .7px; text-transform: uppercase; }
.timeline-total strong { display: block; margin-top: 2px; font-size: 19px; }
.timeline-scroll { overflow-x: auto; }
.timeline-board { min-width: 820px; }
.timeline-months, .timeline-row {
  display: grid;
  grid-template-columns: minmax(230px, 2.2fr) repeat(6, minmax(86px, 1fr));
}
.timeline-months { border-bottom: 1px solid #bdcde2; background: #dfeaf7; }
.timeline-months span { padding: 8px 10px; border-right: 1px solid #b9cade; color: #0b2c76; font-size: 10px; font-weight: 900; text-align: center; }
.timeline-months span:first-child { text-align: left; }
.timeline-months span:last-child { border-right: 0; }
.timeline-row { min-height: 46px; border-bottom: 1px solid #e4eaf2; }
.timeline-row:nth-child(even) { background: #f3f6fb; }
.timeline-row:last-child { border-bottom: 0; }
.timeline-label {
  padding: 9px 11px;
  display: flex;
  align-items: center;
  color: #1c2c4b;
  font-size: 10px;
  font-weight: 850;
}
.timeline-track {
  grid-column: 2 / -1;
  padding: 5px 4px;
  display: grid;
  grid-template-columns: repeat(6, minmax(86px, 1fr));
  align-items: center;
  background-image: linear-gradient(to right, transparent calc(100% - 1px), #cbd6e5 calc(100% - 1px));
  background-size: calc(100% / 6) 100%;
}
.timeline-bar {
  position: relative;
  min-height: 34px;
  padding: 5px 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  border-radius: 9px;
  color: #fff;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 5px 12px rgba(27,58,131,.12);
}
.timeline-bar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--timeline-progress, 0%);
  height: 4px;
  border-radius: 0 4px 4px 0;
  background: rgba(255,255,255,.88);
}
.timeline-bar-copy, .timeline-percent { position: relative; z-index: 1; }
.timeline-bar-copy { min-width: 0; overflow: visible; white-space: normal; overflow-wrap: anywhere; }
.timeline-percent { flex: 0 0 auto; margin-left: auto; padding: 2px 5px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: 8.5px; }
.timeline-bar.blue { background: #3262d7; }
.timeline-bar.orange { background: #dc8122; }
.timeline-bar.orange-soft { color: #9f570d; background: #f5c994; }
.timeline-bar.teal { background: #10a47f; }
.timeline-bar.teal-soft { color: #08745b; background: #afe1d3; }
.timeline-bar.navy { background: #12357b; }
.timeline-bar.slate { background: #56637f; }
.timeline-branches {
  padding: 10px 12px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  border-top: 1px solid #dbe3ee;
  background: #f8faff;
}
.timeline-branch { padding: 8px 9px; border: 1px solid #dde5f1; border-radius: 10px; background: #fff; }
.timeline-branch span { display: block; overflow: hidden; color: #6c7890; font-size: 8px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.timeline-branch strong { display: block; margin-top: 3px; color: #0c2c73; font-size: 14px; }
.timeline-target { margin: 0 12px 12px; padding: 9px 12px; border-radius: 10px; color: #fff; background: #0d2d85; font-size: 10px; line-height: 1.45; }
.timeline-target strong { color: #ffdf4d; }
.progress-detail-toggle {
  width: 100%;
  min-height: 64px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #ced9eb;
  border-radius: 14px;
  color: #173477;
  background: linear-gradient(135deg, #fff, #f4f7fd);
  box-shadow: 0 7px 20px rgba(20,43,96,.05);
  text-align: left;
}
.progress-detail-toggle:hover { border-color: #9eb4dd; background: #f5f8ff; }
.progress-detail-toggle[aria-expanded="true"] { border-color: #9db4df; background: #edf3ff; }
.progress-detail-toggle-copy { min-width: 0; }
.progress-detail-toggle strong { display: block; color: var(--navy); font-size: 12px; }
.progress-detail-toggle small { display: block; margin-top: 4px; color: #6d7890; font-size: 9.5px; line-height: 1.45; }
.progress-detail-toggle-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #244fae;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.progress-detail-section { margin-top: 10px; animation: fadeIn .2s ease; }
.progress-detail-section[hidden] { display: none; }
.progress-breakdown-shell { overflow-x: auto; border: 1px solid #dfe5ef; border-radius: 13px; background: #fff; }
.progress-breakdown { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 10px; }
.progress-breakdown th { padding: 9px 10px; border-bottom: 1px solid #cdd8e9; color: #163373; background: #e8f0fb; text-align: center; white-space: nowrap; }
.progress-breakdown th:first-child, .progress-breakdown td:first-child { text-align: left; }
.progress-breakdown td { padding: 10px; border-right: 1px solid #e5eaf2; border-bottom: 1px solid #e5eaf2; color: #243451; text-align: center; }
.progress-breakdown tbody tr:last-child td { border-bottom: 0; }
.progress-breakdown strong { color: var(--navy); font-size: 11px; }
.progress-breakdown small { display: block; margin-top: 3px; color: #77849a; font-size: 8.5px; }
.breakdown-number { font-size: 16px; font-weight: 900; }
.breakdown-number.planned { color: #5374b8; }
.breakdown-number.process { color: #d77b19; }
.breakdown-number.done { color: #0f9f7c; }
.progress-sourcebar {
  margin-top: 12px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dfe5ef;
  border-radius: 13px;
  background: #f8faff;
}
.progress-sourcecopy { min-width: 0; color: #64748b; font-size: 10px; line-height: 1.5; }
.progress-sourcecopy strong { display: block; color: #1d315f; font-size: 11px; }
.progress-sourceactions { display: flex; flex: 0 0 auto; gap: 7px; }
.progress-sourcebutton, .progress-export {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid #ccd7ea;
  border-radius: 10px;
  color: #24468d;
  background: #fff;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}
.progress-sourcebutton.primary { border-color: #244fae; color: #fff; background: #244fae; }
.progress-sourcebutton[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.progress-filters {
  margin-top: 10px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(210px, 1.5fr) repeat(2, minmax(155px, .8fr));
  gap: 9px;
  align-items: end;
  border: 1px solid #dfe5ef;
  border-radius: 13px;
  background: #fff;
}
.progress-field label { display: block; margin: 0 0 5px; color: #667085; font-size: 9px; font-weight: 900; letter-spacing: .55px; text-transform: uppercase; }
.progress-field input, .progress-field select {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #d6deea;
  border-radius: 10px;
  color: #23304b;
  background: #fbfcfe;
  font-size: 11.5px;
}
.progress-table-meta { margin: 10px 2px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #6b7890; font-size: 10px; }
.progress-table-shell { margin-top: 8px; max-height: 55vh; overflow: auto; border: 1px solid #d8e0ec; border-radius: 14px; background: #fff; }
.progress-table { width: 100%; min-width: 920px; border-collapse: separate; border-spacing: 0; font-size: 10px; }
.progress-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 10px 9px;
  border-right: 1px solid #c6d3e6;
  border-bottom: 1px solid #c6d3e6;
  color: #0b2872;
  background: #dbe7f5;
  text-align: left;
  white-space: nowrap;
}
.progress-table td { padding: 9px; border-right: 1px solid #e5eaf2; border-bottom: 1px solid #e5eaf2; vertical-align: middle; }
.progress-table tbody tr:nth-child(even) { background: #f7f9fc; }
.progress-table tbody tr:hover { background: #edf4ff; }
.progress-table th:first-child, .progress-table td:first-child { position: sticky; left: 0; z-index: 1; min-width: 245px; background: inherit; }
.progress-table th:first-child { z-index: 3; background: #dbe7f5; }
.site-primary { display: block; color: #172b55; font-size: 10.5px; font-weight: 900; }
.site-secondary { display: block; margin-top: 3px; color: #7b879a; font-size: 8.7px; line-height: 1.35; }
.status-chip { display: inline-flex; min-width: 92px; justify-content: center; padding: 6px 8px; border-radius: 999px; font-size: 8.8px; font-weight: 900; white-space: nowrap; }
.status-chip.planned { color: #1e3e75; background: #dce7f7; }
.status-chip.process { color: #9a5109; background: #ffdfb5; }
.status-chip.done { color: #08735b; background: #c9f2e7; }
.status-chip.unknown { color: #7d4b12; background: #fff1d6; }
.progress-empty { padding: 42px 20px; color: #738096; text-align: center; font-size: 11.5px; line-height: 1.6; }
.progress-loader { display: inline-block; width: 17px; height: 17px; margin-right: 8px; border: 2px solid #c5d4ef; border-top-color: #244fae; border-radius: 50%; vertical-align: middle; animation: progressSpin .7s linear infinite; }
@keyframes progressSpin { to { transform: rotate(360deg); } }
.dev-card {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 30px;
  border: 1px dashed #cbd4e4;
  border-radius: 18px;
  background:
    radial-gradient(circle at 22% 18%, rgba(58,100,200,.08), transparent 26%),
    linear-gradient(180deg, #fff, #f9fbff);
  box-shadow: var(--shadow);
  text-align: center;
}
.dev-inner { max-width: 470px; }
.dev-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid #d6dff0;
  border-radius: 20px;
  color: #315dbd;
  background: #edf3ff;
  font-size: 28px;
}
.dev-inner h2 { margin: 0; color: var(--navy); font-size: 22px; }
.dev-inner p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.dev-label { display: inline-flex; margin-top: 20px; padding: 8px 12px; border: 1px solid #efd4ab; border-radius: 999px; color: var(--warning); background: #fff8ed; font-size: 11px; font-weight: 850; }
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  max-width: calc(100vw - 48px);
  padding: 11px 14px;
  border-radius: 11px;
  color: #fff;
  background: #17235d;
  box-shadow: 0 12px 30px rgba(17,25,67,.28);
  font-size: 12px;
  font-weight: 750;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) {
  .topbar { position: relative; }
  .layout { grid-template-columns: 1fr; padding: 16px; }
  .sidebar { position: static; }
  .sidebar-head, .legend { display: none; }
  .service-nav { grid-template-columns: repeat(4, minmax(135px, 1fr)); overflow-x: auto; }
  .service-button { min-width: 145px; grid-template-columns: 34px minmax(0, 1fr); }
  .service-button .dot { display: none; }
  .workspace-head { padding: 18px; }
  .feature-nav { position: sticky; top: 8px; z-index: 10; }
}
@media (max-width: 640px) {
  .topbar-inner { min-height: 68px; padding: 11px 16px; }
  .brand-lockup { width: min(245px, 72vw); padding: 7px 10px 8px; }
  .brand-logo-image { width: 136px; }
  .brand-tagline-image { width: 215px; }
  .period-chip { display: none; }
  .layout { padding: 12px; gap: 14px; }
  .service-nav { grid-template-columns: repeat(4, 150px); }
  .workspace-head { display: block; }
  .status-pill { margin-top: 14px; }
  .content-toolbar { align-items: stretch; flex-direction: column; }
  .view-tabs { width: 100%; }
  .view-tab { flex: 1; }
  .toolbar-actions { justify-content: stretch; }
  .action-button { flex: 1; }
  .report-stage, .prompt-pane { padding: 10px; }
  .capture-stage { padding: 10px; }
  .capture-image-wrap { padding: 8px; }
  .capture-caption { flex-direction: column; gap: 12px; padding: 14px; }
  .report-frame { min-height: 900px; }
  .prompt-head { display: block; }
  .prompt-search { width: 100%; margin-top: 12px; }
  .prompt-document { padding: 15px; font-size: 11px; }
  .dev-card { min-height: 430px; padding: 24px 18px; }
  .access-card { padding: 14px; }
  .access-hero { align-items: stretch; flex-direction: column; padding: 17px; }
  .access-links { width: 100%; }
  .external-link { width: 100%; }
  .credential-grid { grid-template-columns: 1fr; }
  .timeline-head { align-items: flex-start; padding: 13px; }
  .timeline-head h3 { font-size: 15px; }
  .timeline-total { min-width: 94px; padding: 8px 9px; }
  .timeline-total strong { font-size: 16px; }
  .timeline-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .progress-breakdown { min-width: 610px; }
  .progress-sourcebar { align-items: stretch; flex-direction: column; }
  .progress-sourceactions { width: 100%; }
  .progress-sourcebutton { flex: 1; text-align: center; }
  .progress-filters { grid-template-columns: 1fr; }
  .progress-table-meta { align-items: stretch; flex-direction: column; }
  .progress-export { width: 100%; }
  .progress-table-shell { max-height: 60vh; }
}

/* =====================================================================
 * Halaman sambutan (welcome) — minimalis
 * ===================================================================== */
.welcome {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(118deg, #070b52 0%, #132677 52%, #2e62c9 100%);
  isolation: isolate;
}
.welcome[hidden] { display: none; }
.welcome::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #080d51, #234ca8, #9ec3f5);
}
.welcome-network {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.welcome-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 38%, rgba(158,195,245,.22), transparent 42%),
    radial-gradient(circle at 90% 100%, rgba(46,98,201,.45), transparent 40%);
}
.welcome-inner {
  align-self: center;
  justify-self: center;
  width: min(520px, 100%);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.welcome-lockup {
  width: min(300px, 76vw);
  padding: 10px 15px 11px;
  display: grid;
  justify-items: start;
  gap: 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(3,8,55,.35);
}
.welcome h1 {
  margin: 40px 0 0;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -1px;
}
.welcome-lead {
  margin: 10px 0 0;
  color: #cbd6f7;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 600;
  letter-spacing: .2px;
}
.welcome-cta {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 14px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 16px 36px rgba(3,8,55,.35);
  font-size: 15px;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease;
}
.welcome-cta svg { transition: transform .18s ease; }
.welcome-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(3,8,55,.42); }
.welcome-cta:hover svg { transform: translateX(3px); }
.welcome-cta:focus-visible, .brand-home:focus-visible {
  outline: 3px solid rgba(158,195,245,.85);
  outline-offset: 3px;
}
.welcome-footer {
  padding: 18px 16px 22px;
  color: rgba(203,214,247,.7);
  font-size: 11.5px;
  text-align: center;
}
.welcome.is-leaving { animation: welcome-out .32s ease forwards; }
.app-shell.is-entering { animation: shell-in .38s ease both; }
@keyframes welcome-out { to { opacity: 0; transform: scale(.985); } }
@keyframes shell-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.welcome-inner > * { animation: shell-in .6s ease both; }
.welcome-inner > *:nth-child(2) { animation-delay: .08s; }
.welcome-inner > *:nth-child(3) { animation-delay: .14s; }
.welcome-inner > *:nth-child(4) { animation-delay: .2s; }

/* Logo di topbar menjadi tombol kembali ke halaman sambutan */
.brand-home { padding: 0; border: 0; background: none; border-radius: 13px; text-align: left; }
.brand-home .brand-lockup { transition: transform .18s ease, box-shadow .18s ease; }
.brand-home:hover .brand-lockup { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(3,8,55,.26); }
.app-shell[hidden] { display: none; }

@media (max-width: 640px) {
  .welcome-lockup .brand-logo-image { width: 150px; }
  .welcome-lockup .brand-tagline-image { width: 220px; }
  .welcome-cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .welcome *, .welcome, .app-shell { animation: none !important; transition: none !important; }
}
