@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url('./fonts/Inter-latin.woff2') format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url('./fonts/Inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02FF, U+0300-036F, U+1E00-1EFF; }
@font-face { font-family: MuseoModerno; font-style: normal; font-weight: 700; font-display: swap; src: url('./fonts/MuseoModerno-700-latin.woff2') format('woff2'); }
:root {
  --bg:#F3F8FA; --surface:#FFFFFF; --surface-soft:#F3F8FA; --border:#D9E6EC; --text:#071A22; --muted:#42525A; --muted-2:#71828A;
  --sidebar:#062B3A; --sidebar-hover:#0E4660; --sidebar-text:#B5DCEB; --sidebar-muted:#8CCBE3;
  --brand:#08709A; --brand-700:#075C7F; --brand-soft:#E0F2F9;
  --green:#0B7F4A; --green-soft:#EFF8F3; --cyan:#1592BF; --cyan-soft:#E0F2F9;
  --amber:#B45309; --amber-soft:#FFF6E8; --orange:#B45309; --orange-soft:#FFF6E8;
  --red:#CF2A45; --red-soft:#FFF0F3; --purple:#08709A; --purple-soft:#E0F2F9;
  --shadow:0 1px 2px rgb(7 26 34 / 4%), 0 4px 12px rgb(7 26 34 / 6%);
}
html, body, #root { min-width:0; background:var(--bg); color:var(--text); }
body, button, input, select, textarea { font-family:Inter, system-ui, sans-serif; letter-spacing:0; }
h1, h2, h3, h4, .section-title, .eyebrow { letter-spacing:0; }
img { object-fit:contain; }
.proposal-doc-logo { content:url('./identity/modulaes-horizontal-color.svg'); width:210px; max-width:100%; height:auto; }
.sidebar { width:260px; background:var(--sidebar); color:var(--sidebar-text); }
.office-sidebar-brand { gap:12px; padding:8px 8px 22px; border-bottom:1px solid #0E4660; margin-bottom:14px; }
.office-sidebar-brand .office-sidebar-logo { width:72px; height:48px; background:transparent; border-radius:0; }
.office-sidebar-brand strong { padding-left:12px; border-left:1px solid #8CCBE3; color:#FF7A66; font-size:18px; line-height:1.3; }
.phase-link, .menu-item { min-height:52px; border-radius:8px; color:var(--sidebar-text); }
.phase-link strong, .menu-item strong { font-size:13px; color:var(--sidebar-text); font-weight:600; }
.phase-link small, .menu-item small { font-size:11px; color:#8CCBE3; }
.phase-link.active, .menu-item.active { background:var(--sidebar-hover); }
.phase-link.active .num-dot, .menu-item.active .num-dot { background:#08709A; }
.num-dot, .mini-icon { background:#0A4A66; color:#B5DCEB; border-radius:6px; }
.section-title, .instance-dot { color:#8CCBE3; }
.instance-dot { overflow-wrap:anywhere; }
.main { margin-left:260px; background:var(--bg); }
.topbar { left:260px; background:white; gap:12px; }
.topbar-avatar { background:#075C7F; border-radius:8px; }
.topbar-user, .topbar-search { min-width:0; }
.topbar-user strong { max-width:240px; overflow:hidden; text-overflow:ellipsis; }
.topbar-search kbd { white-space:nowrap; }
.topbar-search > span:not(.search-icon) { min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.topbar-search .search-icon, .topbar-search kbd { flex-shrink:0; }
.office-menu-button, .office-menu-backdrop { display:none; }
.primary, button.primary, a.primary, .floating-roadmap, .preview-body button, .actions-row .primary { background:#08709A; border-color:#08709A; color:white; }
.primary:hover, button.primary:hover, a.primary:hover, .floating-roadmap:hover { background:#075C7F; border-color:#075C7F; }
button, input, select, textarea { max-width:100%; }
button:disabled { cursor:not-allowed; }
:is(button, input, select, textarea, a):focus-visible { outline:2px solid #1592BF; outline-offset:3px; }
.content, .content > *, .content section, .content article, .content.split > *, .connections-workspace > *, .client-proposal-layout > * { min-width:0; }
.metric-card, .chart-card, .calculator-card, .proposal-detail, .proposal-niche-card, .workflow-card, .connection-detail, .connection-card, .tool-tile, .skill-card, .auth-panel, .roadmap-row { border-color:var(--border); border-radius:8px; box-shadow:var(--shadow); }
.metric-card, .chart-card, .calculator-card, .proposal-detail { background:white; color:var(--text); }
.skills-toolbar, .skill-viewer, .skill-library, .skills-library { border-radius:8px; }
.bar-chart > span { background:#1592BF; }
.projection-table strong, .metric-card strong { color:var(--text); }
.auth-screen { grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); background:var(--bg); }
.auth-hero { padding:48px; background:#062B3A; }
.auth-hero-brand { display:block; }
.auth-hero-brand > div:last-child { display:none; }
.auth-hero-logo { width:280px; max-width:100%; height:auto; background:transparent; border-radius:0; display:block; }
.auth-hero-logo img { width:280px; max-width:100%; height:auto; }
.auth-hero-copy h1 { font-family:MuseoModerno, Inter, sans-serif; font-size:44px; font-weight:700; line-height:1.2; letter-spacing:0; }
.auth-hero-copy p { color:#B5DCEB; max-width:44ch; line-height:1.6; }
.auth-panel { padding:32px; box-shadow:var(--shadow); }
.auth-brand h1 { font-size:21px; line-height:1.35; }
.auth-brand p { line-height:1.6; }
.office-corporate-wordmark { display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.office-corporate-wordmark img { width:190px; height:auto; }
.office-corporate-wordmark span { padding-left:14px; border-left:1px solid #8CCBE3; color:#FF7A66; font-size:18px; font-weight:700; text-transform:none; letter-spacing:0; }
.auth-tabs button, .auth-form input { border-radius:6px; }
@media (max-width:1023px) {
  .auth-screen { grid-template-columns:1fr; }
  .auth-hero { display:none; }
  .auth-form-wrap { min-height:100dvh; padding:24px; }
  .topbar-search { display:none; }
}
@media (max-width:767px) {
  .sidebar { display:none; width:min(280px, calc(100vw - 64px)); padding-bottom:24px; }
  body.office-menu-open .sidebar { display:block; }
  .main { margin-left:0; padding:82px 16px 32px; }
  .topbar { left:0; padding:0 12px; gap:10px; }
  .topbar-actions { flex:1; min-width:0; gap:8px; justify-content:flex-end; }
  .topbar-user strong { max-width:120px; font-size:11px; }
  .topbar-user small { font-size:10px; }
  .topbar-version { display:none; }
  .office-menu-button { display:grid; place-items:center; flex:0 0 38px; width:38px; height:38px; border:1px solid var(--border); border-radius:6px; background:white; color:#075C7F; font-size:22px; }
  body.office-menu-open .office-menu-button { position:fixed; left:min(292px, calc(100vw - 52px)); top:12px; z-index:90; }
  body.office-menu-open .office-menu-backdrop { display:block; position:fixed; inset:0; z-index:55; width:100%; border:0; background:rgb(7 26 34 / 42%); border-radius:0; }
  .content.split, .roadmap-calc, .proposal-workspace, .lead-workspace, .niche-analyzer, .client-proposal-layout, .connections-workspace, .connections-overview, .n8n-builder-layout, .skills-shell, .workflow-hero, .workflow-featured, .workflow-grid, .workflow-detail-grid, .skill-grid { grid-template-columns:minmax(0, 1fr); }
  .metric-grid, .overview-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .projection-table, .projection-table.compact-cards, .dense-calc, .form-grid, .client-form-grid { grid-template-columns:minmax(0, 1fr); }
  .proposal-workspace .proposal-grid, .lead-workspace .proposal-grid, .niche-analyzer .proposal-grid, .codex-skills-page .skill-grid { grid-template-columns:minmax(0, 1fr); }
  .roadmap-row { grid-template-columns:36px minmax(0, 1fr) auto; gap:10px; padding:14px 12px; }
  .roadmap-row strong { font-size:14px; }
  .roadmap-row small { font-size:11px; }
  .page-header h1, .content h1 { font-size:25px; line-height:1.25; }
  .content .actions-row, .content .segmented, .content .chips, .content .category-rack { flex-wrap:wrap; }
  .auth-form-wrap { padding:20px 16px; }
  .auth-panel { padding:24px; }
  .office-corporate-wordmark { gap:10px; }
  .office-corporate-wordmark img { width:160px; }
  .office-corporate-wordmark span { padding-left:10px; font-size:16px; }
  .auth-brand h1 { font-size:20px; }
  .proposal-browser, .client-side-panel, .client-control-panel { position:static; max-width:100%; }
}
@media (max-width:359px) { .topbar-user { display:none; } .metric-grid, .overview-grid { grid-template-columns:minmax(0, 1fr); } }
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { animation:none !important; transition:none !important; } }

/* Office adopts the established DESK navigation and access layout. */
.sidebar[data-office-grouped] { padding:0; display:flex; flex-direction:column; overflow:hidden; }
.office-sidebar-header { display:flex; align-items:center; gap:8px; flex-shrink:0; height:112px; margin:0 16px; border-bottom:1px solid rgb(255 255 255 / 12%); }
.office-brand-toggle { flex:1; min-width:0; padding:0; border:0; border-radius:6px; background:transparent; text-align:left; }
.office-brand-toggle:hover { background:rgb(255 255 255 / 4%); }
.office-sidebar-header .office-sidebar-brand { margin:0; padding:0; border:0; gap:8px; }
.office-sidebar-header .office-sidebar-logo { width:84px; height:auto; flex-shrink:0; }
.office-sidebar-header strong { display:flex; flex-direction:column; justify-content:center; gap:6px; min-height:44px; border-left:1px solid #8CCBE3; padding-left:8px; color:#FF7A66; font-size:14px; font-weight:600; line-height:1; }
.office-sidebar-header strong small { display:block; max-width:80px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#8CCBE3; font-size:11px; font-weight:500; }
.office-all-toggle { display:grid; place-items:center; flex-shrink:0; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:transparent; }
.office-all-toggle img { box-sizing:border-box; width:16px; height:16px; padding:3px; border-radius:50%; background:#08709A; translate:0 10px; }
.office-all-toggle[aria-expanded=true] img { transform:rotate(180deg); }
.office-nav-tree { flex:1; min-height:0; overflow-y:auto; padding:0 12px 24px; }
.office-category { display:flex; align-items:center; width:100%; gap:8px; padding:16px 12px 8px; border:0; background:transparent; color:#FFFFFF; text-align:left; font-size:13.5px; font-weight:400; line-height:18px; letter-spacing:0; }
.office-category > span { flex:1; min-width:0; }
.office-nav-icon { flex:0 0 18px; width:18px; height:18px; object-fit:contain; }
.office-category > .office-nav-icon:first-child { flex-basis:17px; width:17px; height:17px; }
.office-category > .office-nav-icon:last-child { flex-basis:16px; width:16px; height:16px; transition:transform .15s; }
.office-category[aria-expanded=true] > .office-nav-icon:last-child { transform:rotate(180deg); }
.office-nav-group[data-open=false] .office-nav-items > button:not(.active) { display:none; }
.office-nav-items[hidden] { display:none; }
.office-nav-items :is(.phase-link,.menu-item) { min-height:38px; gap:12px; margin:2px 0; padding:8px 10px; border-left:2px solid transparent; border-radius:8px; }
.office-nav-items :is(.phase-link,.menu-item).active { border-left-color:#FF7A66; background:#0E4660; }
.office-nav-items :is(.phase-link,.menu-item):is(.active,:hover) strong { color:white; }
.office-nav-items :is(.phase-link,.menu-item):is(.active,:hover) .office-nav-icon { filter:brightness(0) invert(1); }
.office-nav-items .num-dot, .office-nav-items small { display:none; }
.office-nav-items :is(.phase-link,.menu-item) > span:last-child { flex:1; min-width:0; }
.office-nav-items strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13.5px; font-weight:500; line-height:20px; }
.office-desk-login { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; min-height:100dvh; background:white; }
.office-desk-login .auth-hero { align-items:flex-start; min-width:0; padding:48px 40px; }
.office-desk-login .auth-hero-brand { display:flex; align-items:center; gap:20px; }
.office-desk-login .auth-hero-brand > img { flex-shrink:0; width:150px; height:auto; }
.office-desk-login .auth-hero-brand > i { display:block; flex-shrink:0; width:1px; height:68px; background:#8CCBE3; }
.office-desk-login .auth-hero-brand > strong { color:#FF7A66; font-size:24px; font-weight:600; line-height:1; }
.office-desk-login .auth-hero-copy { max-width:576px; margin-block:auto; padding-block:40px; }
.office-desk-login .auth-hero-copy h1 { margin:0; font-family:MuseoModerno,Inter,sans-serif; font-size:44px; font-weight:700; line-height:1.12; letter-spacing:0; }
.office-auth-node { display:flex; align-items:center; gap:6px; margin-block:28px; }
.office-auth-node i { display:block; width:110px; height:3px; border-radius:2px; background:#4FB0D3; }
.office-auth-node b { display:block; width:12px; height:12px; border-radius:50%; background:#4FB0D3; }
.office-desk-login .auth-hero-copy p { margin:0; max-width:40ch; font-size:16px; line-height:28px; color:#C5E6F2; }
.office-desk-login .auth-hero-note { display:inline-flex; margin:0; padding:6px 14px; border:1px solid #075C7F; border-radius:999px; color:#8CCBE3; font-size:13px; line-height:20px; }
.office-desk-login .auth-form-wrap { min-width:0; min-height:100dvh; padding:40px; background:#F3F8FA; }
.office-desk-login .auth-panel { width:100%; max-width:420px; padding:40px; border:1px solid #D9E6EC; border-radius:12px; background:white; box-shadow:0 2px 8px rgb(6 43 58 / 10%); }
.office-desk-login .auth-brand { display:block; margin:0 0 24px; }
.office-desk-login .auth-brand > span { display:none; }
.office-desk-login .office-corporate-wordmark { display:block; margin:0; }
.office-desk-login .office-corporate-wordmark img { display:block; width:auto; max-width:100%; height:40px; }
.office-desk-login .auth-brand h1 { margin:28px 0 4px; font-size:24px; font-weight:700; line-height:32px; letter-spacing:0; }
.office-desk-login .auth-brand p { margin:0; font-size:15px; font-weight:400; line-height:24px; }
.office-desk-login .auth-form { gap:16px; }
.office-desk-login .auth-form label { display:grid; gap:4px; color:#071A22; font-size:14px; font-weight:600; line-height:20px; }
.office-desk-login .auth-form input { box-sizing:border-box; width:100%; height:48px; padding:0 12px; border:1px solid #D9E6EC; border-radius:8px; color:#071A22; font-size:16px; font-weight:400; }
.office-desk-login .auth-form button[type=submit] { width:100%; min-height:48px; border:0; border-radius:8px; font-size:16px; font-weight:600; }
.office-login-help { justify-self:end; color:#075C7F; font-size:14px; font-weight:400; text-decoration:underline; }
.office-desk-login .auth-tabs { display:flex; justify-content:center; margin:16px 0 0; }
.office-desk-login .auth-tabs button { min-height:24px; padding:0; border:0; border-radius:0; background:transparent; color:#075C7F; font-size:14px; font-weight:500; text-decoration:underline; }
.office-desk-login .auth-tabs button.active { display:none; }
.office-login-support { margin:24px 0 0; color:#42525A; font-size:12px; font-weight:400; line-height:20px; text-align:center; }
.office-login-support a { color:inherit; text-decoration:underline; }
.office-mobile-version { display:none; }
@media (min-width:1280px) { .office-desk-login .auth-hero { padding:56px 64px; } .office-desk-login .auth-hero-copy p { font-size:18px; } }
@media (max-width:1023px) {
  .office-desk-login { display:block; }
  .office-desk-login .auth-hero { display:none; }
  .office-desk-login .auth-form-wrap { padding:32px; }
  .office-mobile-version { display:block; margin-top:20px; color:#08709A; font-size:12px; line-height:20px; text-align:center; }
}
@media (max-width:639px) { .office-desk-login .auth-form-wrap { padding:20px; } .office-desk-login .auth-panel { padding:32px; } }
@media (max-width:767px) {
  .sidebar[data-office-grouped] { display:none; }
  body.office-menu-open .sidebar[data-office-grouped] { display:flex; }
}

@media (min-width: 981px) {
  .projection-table.compact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .projection-table.compact-cards > div { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
}

@media (min-width: 981px) {
  .projection-table.compact-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
  .projection-table.compact-cards > div { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .projection-table.compact-cards > div > strong { font-size: 20px; min-width: 0; }
  .dense-calc .range-row { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .dense-calc .range-row > span, .dense-calc .range-row > b { grid-column: 1; grid-row: auto; }
  .dense-calc .range-row > b { justify-self: start; font-size: 18px; line-height: 1.25; max-width: 100%; overflow-wrap: anywhere; }
}

@media (min-width: 981px) {
  .projection-table.compact-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
  .projection-table.compact-cards > div { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .projection-table.compact-cards > div > strong { font-size: 20px; min-width: 0; }
  .dense-calc .range-row { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .dense-calc .range-row > span, .dense-calc .range-row > b { grid-column: 1; grid-row: auto; }
  .dense-calc .range-row > b { justify-self: start; font-size: 18px; line-height: 1.25; max-width: 100%; overflow-wrap: anywhere; }
  .dense-calc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dense-calc .range-row { min-width: 0; max-width: 100%; }
  .dense-calc .range-row input { min-width: 0; width: 100%; max-width: 100%; }
}

/* Office: four-column skill catalogue with square illustrations in normal flow. */
.codex-skills-page .skills-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.codex-skills-page .skills-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
}
.codex-skills-page .skills-toolbar .chips {
  display: flex;
  flex: 1 1 600px;
  flex-wrap: wrap;
  gap: 8px;
}
.codex-skills-page .skills-toolbar .chips button {
  width: auto;
  min-height: 38px;
  padding: 8px 12px;
  justify-content: center;
}
.codex-skills-page .skills-toolbar .count {
  margin: 0;
  white-space: nowrap;
}
.codex-skills-page .skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}
.codex-skills-page .skill-card {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  min-height: 0;
  height: auto;
  gap: 12px;
  padding: 16px;
  overflow: hidden;
}
.codex-skills-page .skill-card::before {
  content: none;
  display: none;
}
.codex-skills-page .skill-card > .skill-image {
  display: block;
  position: static;
  flex: 0 0 auto;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  max-height: none;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  object-position: center;
  filter: none;
  background: transparent !important;
  border-radius: 8px;
  margin: 0;
}
.codex-skills-page .skill-card > span {
  margin: 0;
}
.codex-skills-page .skill-card h3 {
  min-width: 0;
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.codex-skills-page .skill-card > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.codex-skills-page .skill-tags {
  gap: 6px;
}
.codex-skills-page .skill-tags small {
  max-width: 100%;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.codex-skills-page .skill-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.codex-skills-page .skill-actions > * {
  display: inline-flex;
  flex: 1 1 90px;
  min-height: 40px;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.codex-skills-page .skill-preview {
  min-width: 0;
  min-height: 0;
  padding: 24px;
}
.codex-skills-page .skill-preview-empty {
  min-height: 170px;
  padding: 28px;
}
.codex-skills-page .skill-preview-head {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}
.codex-skills-page .skill-preview-head img {
  display: block;
  width: 160px !important;
  height: 160px !important;
  max-width: 100%;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  filter: none;
  background: transparent !important;
}
.codex-skills-page .skill-preview-head h2 {
  margin: 6px 0 10px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.codex-skills-page .skill-preview-head p {
  margin: 0;
  line-height: 1.55;
}
.codex-skills-page .skill-markdown {
  min-width: 0;
  padding: 22px;
  overflow-wrap: anywhere;
}
.codex-skills-page .skill-markdown pre {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .codex-skills-page .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .codex-skills-page .skill-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .codex-skills-page .skills-toolbar .chips {
    flex-basis: 100%;
  }
  .codex-skills-page .skill-preview,
  .codex-skills-page .skill-preview-empty {
    padding: 16px;
  }
  .codex-skills-page .skill-preview-head {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
  }
  .codex-skills-page .skill-preview-head img {
    width: 100px !important;
    height: 100px !important;
  }
  .codex-skills-page .skill-preview-head > a {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .codex-skills-page .skill-markdown {
    padding: 16px;
  }
}
