:root {
  --bg: #f4efe6;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf8;
  --ink: #132238;
  --muted: #546274;
  --line: rgba(19, 34, 56, 0.12);
  --brand: #0f766e;
  --brand-deep: #0c4a6e;
  --accent: #f59e0b;
  --shadow: 0 24px 80px rgba(19, 34, 56, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

/* Deep, enterprise HRMS visual language with light work surfaces. */
.portal-body { background: radial-gradient(circle at 92% 2%, rgba(68,118,255,.14), transparent 26%), linear-gradient(135deg, #f3f7fd 0%, #f9fbff 55%, #f4f8f7 100%); }
.side-menu { color: #dbe8ff; background: linear-gradient(180deg, #101e3b 0%, #132a52 52%, #153554 100%); border-right: 0; box-shadow: 12px 0 34px rgba(8,22,48,.14); }.side-menu .brand-mark { color: #fff; }.side-menu .brand-mark small { color: #a9c0e6; }.side-menu .brand-logo { background: linear-gradient(135deg, #ffad4d, #ff7a5c); }.menu-link,.menu-group-toggle,.submenu-link { color: #b6cae9; }.menu-glyph { color: #7eb2ff; }.menu-link:hover,.menu-group-toggle:hover,.menu-link.active,.menu-group.open .menu-group-toggle { color: #fff; background: rgba(126,178,255,.15); }.submenu-link:hover,.submenu-link.active { color: #fff; background: rgba(255,173,77,.16); }.sidebar-user { border-top-color: rgba(255,255,255,.14); }.sidebar-user small { color: #9eb8dc; }.user-avatar { color: #183763; background: #d9e8ff; }.topbar { color: #e9f2ff; background: linear-gradient(100deg, #11254a, #163965); border-bottom: 0; }.topbar-kicker { color: #aac6ec; }.topbar-action { color: #143b72; background: #dceaff; }
.crm-welcome { position: relative; padding: 1.45rem 1.7rem; overflow: hidden; border-radius: 22px; color: #edf4ff; background: linear-gradient(115deg, #142b52, #1e4e78); box-shadow: 0 18px 42px rgba(25,55,98,.18); }.crm-welcome::after { content: ""; position: absolute; right: -4rem; bottom: -5rem; width: 230px; height: 230px; border: 30px solid rgba(132,185,255,.16); border-radius: 50%; }.crm-welcome h1 { position: relative; z-index: 1; color: #fff; }.crm-welcome p { position: relative; z-index: 1; color: #c4d7ef; }.crm-welcome .eyebrow { color: #94c6ff; }.crm-actions { position: relative; z-index: 1; }.crm-welcome .btn-soft { color: #e8f2ff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.1); }.crm-welcome .btn-brand { background: linear-gradient(135deg, #ff9a4a, #f56d58); box-shadow: none; }.crm-card { box-shadow: 0 14px 32px rgba(24,58,95,.07); }.crm-kpi-card { border-top: 3px solid #78aaff; }.crm-kpi-card:nth-child(2) { border-top-color: #65c7a4; }.crm-kpi-card:nth-child(3) { border-top-color: #f6b657; }.crm-kpi-card:nth-child(4) { border-top-color: #ad92e9; }
.dialog-card { width: min(100%, 820px); max-height: min(86vh, 800px); overflow-y: auto; border: 1px solid #dbe6f2; background: #fdfefe; }.dialog-card p { margin-bottom: 1.25rem; }.hrms-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem 1rem; }.dialog-card label { color: #40566a; font-size: .86rem; }.dialog-card label > span b { color: #e36d55; }.dialog-card input,.dialog-card textarea,.dialog-card select { width: 100%; padding: .7rem .75rem; border: 1px solid #d9e3ed; border-radius: 10px; outline: none; background: #fff; color: #1d3851; font: inherit; }.dialog-card input:focus,.dialog-card textarea:focus,.dialog-card select:focus { border-color: #5d91e8; box-shadow: 0 0 0 3px rgba(93,145,232,.13); }.form-field-wide { grid-column: 1 / -1; }.dialog-actions { display: flex; justify-content: flex-end; gap: .7rem; margin-top: 1.3rem; }

@media (max-width: 767.98px) { .hrms-form-grid { grid-template-columns: 1fr; }.form-field-wide { grid-column: auto; } }

.analytics-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1.25rem; }.bar-chart { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: .9rem; height: 220px; padding-top: .6rem; }.bar-chart > div { display: grid; grid-template-rows: auto 1fr auto; gap: .5rem; height: 100%; text-align: center; color: #6f8295; font-size: .72rem; }.bar-chart i { display: flex; align-items: end; height: 100%; border-radius: 9px 9px 4px 4px; background: #edf2f7; }.bar-chart b { width: 100%; border-radius: inherit; background: linear-gradient(180deg, #79b2ff, #3d6fcb); }.bar-chart strong { color: #254461; font-size: .78rem; }.donut-stat { display: flex; align-items: center; justify-content: center; gap: 1.8rem; min-height: 220px; }.donut-ring { display: grid; place-content: center; width: 145px; height: 145px; border-radius: 50%; text-align: center; background: radial-gradient(circle, #fff 55%, transparent 56%), conic-gradient(#5bbd9a 0 93%, #e6edf5 93% 100%); }.donut-ring strong { color: #24445c; font-size: 1.8rem; }.donut-ring span { color: #778a9c; font-size: .74rem; }.attendance-legend { display: grid; gap: .8rem; }.attendance-legend span { display: grid; grid-template-columns: 9px 1fr auto; gap: .45rem; align-items: center; color: #64798d; font-size: .82rem; }.attendance-legend i { width: 9px; height: 9px; border-radius: 50%; }.legend-present { background: #5bbd9a; }.legend-leave { background: #ffbd62; }.legend-absent { background: #eb8792; }.attendance-legend b { color: #2a4962; }
.record-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .45rem; }.record-actions form { margin: 0; }.record-actions button { padding: .25rem .45rem; border: 0; border-radius: 7px; color: #54708c; background: #edf3fa; font-size: .72rem; font-weight: 700; }.record-actions .danger-action { color: #b95050; background: #fff0f0; }.letter-ready a { text-decoration: underline; }.reports-page { display: grid; gap: 1.25rem; }.report-summary-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }.report-summary-grid article { padding: 1.2rem; border-radius: 17px; border: 1px solid #e2ebf3; background: #fff; box-shadow: 0 12px 28px rgba(37,68,97,.05); }.report-summary-grid span,.report-summary-grid strong { display: block; }.report-summary-grid span { color: #708599; font-size: .82rem; }.report-summary-grid strong { margin-top: .4rem; color: #1c416c; font-size: 1.8rem; }.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }.report-bars { display: grid; gap: .8rem; }.report-bars > div { display: grid; grid-template-columns: 110px 1fr 30px; gap: .65rem; align-items: center; color: #657b8f; font-size: .83rem; }.report-bars i { height: 9px; overflow: hidden; border-radius: 99px; background: #eaf0f5; }.report-bars b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#4d84db,#7db6ff); }.report-bars.warm b { background: linear-gradient(90deg,#ff9859,#f8c27a); }.report-bars strong { color: #2b4964; text-align: right; }.report-records { display: grid; gap: .65rem; }.report-records > div { display: grid; grid-template-columns: 1.2fr .6fr 1fr auto; gap: .8rem; align-items: center; padding: .8rem 0; border-top: 1px solid #ecf1f5; }.report-records strong { color: #29455e; }.report-records span,.report-records small { color: #788b9d; font-size: .8rem; }
.lifecycle-page { display: grid; gap: 1.25rem; }.lifecycle-form { display: grid; gap: 1.15rem; }.lifecycle-form section { padding: 1.45rem; border: 1px solid #e2eaf3; border-radius: 19px; background: rgba(255,255,255,.9); box-shadow: 0 14px 28px rgba(30,58,95,.05); }.lifecycle-form h2 { margin: 0 0 1rem; color: #1c3d66; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; }.lifecycle-form label > span { display: block; margin-bottom: .4rem; color: #405a74; font-size: .83rem; font-weight: 700; }.lifecycle-form input,.lifecycle-form select { width: 100%; padding: .7rem .75rem; border: 1px solid #d8e3ee; border-radius: 9px; background: #fff; color: #223f59; }.lifecycle-form input:focus,.lifecycle-form select:focus { outline: 0; border-color: #5c91e8; box-shadow: 0 0 0 3px rgba(92,145,232,.13); }.lifecycle-form em,.validation-summary { color: #b64c4c; font-size: .78rem; font-style: normal; }.validation-summary ul { margin: 0; padding: .8rem 1.1rem; border-radius: 10px; background: #fff0f0; }.lifecycle-flow { display: flex; align-items: center; gap: .65rem; padding: 1rem 1.2rem; border-radius: 14px; color: #46647f; background: #eef5ff; font-size: .82rem; font-weight: 750; }.lifecycle-flow span { padding: .42rem .7rem; border-radius: 999px; color: #214b82; background: #fff; }.lifecycle-flow i { flex: 1; height: 2px; background: #a9c9ee; }
.employee-profile-page,.onboarding-page { display: grid; gap: 1.25rem; }.employee-search { display: flex; align-items: end; gap: .8rem; padding: 1.1rem; border-radius: 15px; background: #eef5ff; }.employee-search label { flex: 1; color: #395773; font-size: .82rem; font-weight: 700; }.employee-search input { display: block; width: 100%; margin-top: .38rem; padding: .7rem .8rem; border: 1px solid #ccdbeb; border-radius: 9px; background: #fff; }.profile-card,.onboarding-employee,.start-onboarding,.onboarding-tasks { padding: 1.45rem; border: 1px solid #e1eaf2; border-radius: 19px; background: rgba(255,255,255,.9); box-shadow: 0 14px 28px rgba(30,58,95,.05); }.profile-title,.onboarding-employee { display: flex; align-items: center; gap: .8rem; }.profile-title h2 { margin: 0; color: #1c3e65; font-family: Georgia, "Times New Roman", serif; }.profile-title p,.onboarding-employee small { display: block; margin: .18rem 0 0; color: #71879a; }.profile-title .employee-status,.onboarding-employee .employee-status { margin-left: auto; }.profile-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin: 1.35rem 0; padding: 1rem 0; border-top: 1px solid #e7eef4; border-bottom: 1px solid #e7eef4; }.profile-grid span,.profile-grid strong { display: block; }.profile-grid span { color: #788c9f; font-size: .75rem; }.profile-grid strong { margin-top: .25rem; color: #2a4761; }.profile-links { display: flex; flex-wrap: wrap; gap: .7rem; }.profile-links a { padding: .55rem .75rem; border-radius: 9px; color: #285c9b; background: #edf4ff; font-size: .82rem; font-weight: 700; }.start-onboarding p { color: #6b8194; }.onboarding-tasks { display: grid; gap: .75rem; }.onboarding-task { display: grid; grid-template-columns: minmax(180px,1.3fr) minmax(160px,1fr) auto auto; gap: .8rem; align-items: center; padding: .9rem 0; border-top: 1px solid #e8eef3; }.onboarding-task strong,.onboarding-task small { display: block; }.onboarding-task strong { color: #2a4862; }.onboarding-task small { margin-top: .15rem; color: #8092a1; font-size: .75rem; }.onboarding-task input[type=text] { padding: .55rem .65rem; border: 1px solid #d5e1ec; border-radius: 8px; }.task-toggle { color: #3c5e79; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.document-workspace { display: grid; gap: 1.35rem; }.document-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }.document-toolbar h1 { margin: .35rem 0; color: #19344e; font-family: Georgia, "Times New Roman", serif; }.document-toolbar p { margin: 0; color: #778b9e; }.document-toolbar > div:last-child { display: flex; gap: .7rem; }.letter-paper { width: min(100%, 860px); min-height: 940px; margin: 0 auto; padding: 3.4rem 4rem 2.4rem; color: #273d52; background: #fff; box-shadow: 0 18px 55px rgba(22,48,78,.16); }.letter-header { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding-bottom: 1.35rem; border-bottom: 2px solid #dbe8f7; }.letter-logo { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #1b4476, #3475be); font-weight: 800; }.letter-header strong,.letter-header span { display: block; }.letter-header strong { color: #15375f; }.letter-header span { margin-top: .15rem; color: #71879b; font-size: .78rem; }.letter-meta { text-align: right; }.letter-meta span { font-size: .72rem; }.letter-body { padding-top: 2.3rem; line-height: 1.78; }.letter-subject { display: block; margin-bottom: 2rem; color: #163a66; font-weight: 800; }.letter-detail-grid,.payslip-employee { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin: 1.7rem 0; padding: 1.2rem; border: 1px solid #e2ebf3; border-radius: 12px; background: #f8fbff; }.letter-detail-grid span,.payslip-employee span { display: block; color: #73889c; font-size: .74rem; }.letter-detail-grid strong,.payslip-employee strong { display: block; margin-top: .2rem; color: #29455f; font-size: .88rem; }.signature-block { display: grid; gap: .2rem; margin-top: 4rem; }.signature-block span,.signature-block small { color: #71879b; font-size: .8rem; }.signature-block strong { margin-top: 1.5rem; }.letter-footer { margin-top: 3.3rem; padding-top: 1rem; border-top: 1px solid #e6edf3; color: #8494a3; font-size: .72rem; text-align: center; }.payslip-title { display: flex; justify-content: space-between; align-items: start; padding: 2rem 0 1.2rem; }.payslip-title h2 { margin: 0; color: #153b67; font-family: Georgia, "Times New Roman", serif; }.payslip-title span { color: #778b9e; font-size: .82rem; }.payslip-title > strong { padding: .65rem .8rem; border-radius: 10px; color: #196c58; background: #e6f8f0; }.salary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }.salary-grid section { padding: 1.15rem; border: 1px solid #e0e9f1; border-radius: 12px; }.salary-grid h3 { margin: 0 0 .6rem; color: #1d466f; font-size: 1rem; }.salary-grid section div { display: flex; justify-content: space-between; padding: .56rem 0; color: #6e8396; font-size: .84rem; border-top: 1px solid #eff3f6; }.salary-grid section div:last-child { color: #294965; font-weight: 800; }.net-pay-row { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; padding: 1rem 1.15rem; color: #35556c; background: #eef6ff; font-size: .84rem; }.net-pay-row strong { color: #174a80; font-size: 1rem; }
@media (max-width: 767.98px) { .analytics-grid { grid-template-columns: 1fr; }.donut-stat { justify-content: flex-start; }.document-toolbar { align-items: stretch; flex-direction: column; }.document-toolbar > div:last-child { flex-wrap: wrap; }.letter-paper { min-height: auto; padding: 1.7rem; }.letter-header { grid-template-columns: auto 1fr; }.letter-meta { grid-column: 1 / -1; text-align: left; }.letter-detail-grid,.payslip-employee,.salary-grid { grid-template-columns: 1fr; }.payslip-title,.net-pay-row { align-items: start; flex-direction: column; } }
@media print { .side-menu,.topbar,.portal-footer,.no-print { display: none !important; }.app-shell { display: block; }.app-content .portal-main { padding: 0; }.letter-paper { width: 100%; min-height: 0; padding: 1.5cm; box-shadow: none; }.portal-body { background: #fff; } }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body.portal-body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Aptos, "Segoe UI Variable Text", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.18), transparent 22%),
    linear-gradient(180deg, #fcf7ef 0%, #f1f5f9 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.portal-shell {
  max-width: 1240px;
}

.portal-nav {
  padding: 1rem 0;
  background: transparent;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark small {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 14px 30px rgba(12, 74, 110, 0.25);
}

.nav-links {
  gap: 0.4rem;
}

.nav-link {
  color: var(--muted);
  padding: 0.75rem 1rem !important;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
}

.btn-nav,
.btn-brand,
.btn-ghost {
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
}

.btn-nav,
.btn-brand {
  color: white;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 14px 28px rgba(12, 74, 110, 0.22);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.portal-main {
  padding: 1rem 0 4rem;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.dashboard-strip,
.module-card,
.workflow-card,
.insight-panel,
.role-card,
.architecture-card,
.compact-page .module-card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.dashboard-strip,
.insight-panel {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  filter: blur(10px);
}

.eyebrow,
.section-heading span,
.strip-label,
.workflow-owner,
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--brand-deep);
  font-weight: 700;
}

.hero-copy h1,
.section-heading h1,
.section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.95;
  margin: 1rem 0;
  max-width: 10ch;
}

.hero-tagline {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 46rem;
}

.hero-summary,
.dashboard-strip p,
.module-card p,
.workflow-card p,
.insight-list p,
.architecture-card p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions,
.hero-pill-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin: 2rem 0 1.2rem;
}

.hero-pill-row span {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(19, 34, 56, 0.08);
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-panel {
  padding: 1.4rem;
}

.hero-panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hero-panel-grid,
.module-grid,
.role-grid,
.architecture-grid {
  display: grid;
  gap: 1rem;
}

.hero-panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card,
.module-card,
.workflow-card,
.role-card,
.architecture-card {
  border-radius: var(--radius-lg);
  padding: 1.3rem;
}

.stat-card {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(19, 34, 56, 0.08);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
}

.stat-label {
  font-weight: 700;
  margin: 0.2rem 0 0.4rem;
}

.dashboard-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.5rem 1.7rem;
}

.dashboard-strip strong {
  display: block;
  margin: 0.35rem 0;
  font-size: 1.15rem;
}

.content-section {
  margin-top: 2rem;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2,
.section-heading h1 {
  margin-top: 0.4rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-card ul,
.role-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.module-card li,
.role-card li {
  margin-bottom: 0.55rem;
}

.lifecycle-track {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 0.75rem;
}

.lifecycle-step {
  padding: 1rem 0.8rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(19, 34, 56, 0.08);
  text-align: center;
}

.step-index {
  width: 34px;
  height: 34px;
  margin: 0 auto 0.7rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(12, 74, 110, 0.18));
  font-weight: 700;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.workflow-list,
.insight-list {
  display: grid;
  gap: 1rem;
}

.workflow-panel,
.insight-panel {
  padding: 1.6rem;
}

.role-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.role-card h3 {
  margin: 0.8rem 0;
}

.architecture-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.entity-list span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--brand-deep);
  font-size: 0.92rem;
}

.portal-footer {
  padding: 0 0 2rem;
}

.portal-footer .portal-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}

/* Application shell and module workspaces. */
.app-shell {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  min-height: 100vh;
}

.side-menu {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1.45rem 1rem 1rem;
  color: #eaf5f2;
  background: linear-gradient(165deg, #082f3a 0%, #0c4a5c 56%, #093f42 100%);
  overflow-y: auto;
}

.side-menu .brand-mark { color: #fff; padding: 0.25rem 0.55rem 1.45rem; }
.side-menu .brand-mark small { color: #abcfcb; }
.side-menu .brand-logo { background: linear-gradient(135deg, #f59e0b, #ee6c4d); }
.menu-nav { display: grid; gap: 0.25rem; }
.menu-link, .menu-group-toggle, .submenu-link {
  width: 100%; border: 0; color: #c4ddda; background: transparent; text-align: left;
  border-radius: 12px; font: inherit; transition: background 160ms ease, color 160ms ease;
}
.menu-link, .menu-group-toggle { display: flex; align-items: center; justify-content: space-between; padding: 0.72rem 0.72rem; font-weight: 650; }
.menu-group-toggle > span:first-child { display: inline-flex; align-items: center; gap: 0.66rem; }
.menu-glyph { width: 1.1rem; display: inline-grid; place-items: center; color: #f9bd4d; font-size: 1rem; }
.menu-link:hover, .menu-group-toggle:hover, .menu-link.active, .menu-group.open .menu-group-toggle { color: #fff; background: rgba(255,255,255,.11); }
.menu-chevron { font-size: 1.1rem; transition: transform 180ms ease; }
.menu-group.open .menu-chevron { transform: rotate(180deg); }
.submenu { display: grid; gap: 0.16rem; max-height: 0; opacity: 0; overflow: hidden; padding-left: 1.75rem; transition: max-height 220ms ease, opacity 160ms ease, padding 180ms ease; }
.menu-group.open .submenu { max-height: 260px; opacity: 1; padding-top: 0.28rem; padding-bottom: 0.4rem; }
.submenu-link { padding: 0.5rem 0.72rem; font-size: .9rem; }
.submenu-link:hover, .submenu-link.active { color: #fff; background: rgba(245,158,11,.17); }
.sidebar-user { display: flex; gap: .7rem; align-items: center; margin-top: auto; padding: 1.2rem .55rem .3rem; border-top: 1px solid rgba(255,255,255,.14); }
.sidebar-user strong, .sidebar-user small { display: block; }.sidebar-user small { color: #9cc9c4; font-size: .78rem; }.user-avatar { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; color: #083d43; background: #e6b54d; font-weight: 800; font-size: .78rem; }
.app-content { min-width: 0; }.topbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1.25rem, 4vw, 3.2rem); border-bottom: 1px solid var(--line); background: rgba(255,253,248,.58); }.topbar-kicker { display: block; color: var(--muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }.topbar strong { font-size: 1.05rem; }.topbar-action { padding: .55rem .8rem; border-radius: 999px; color: #8d4b00; background: #fff0ca; font-size: .86rem; font-weight: 700; }.menu-mobile-toggle { display: none; border: 0; padding: .5rem; color: var(--ink); background: transparent; font-size: 1.3rem; }.app-content .portal-main { max-width: 1440px; padding: clamp(1.25rem, 3vw, 2.5rem); margin: 0 auto; }.app-content .portal-footer { display: flex; justify-content: space-between; padding: 1rem clamp(1.25rem, 4vw, 3.2rem) 2rem; }

.module-page { display: grid; gap: 1.45rem; }.page-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.2rem; align-items: center; padding: clamp(1.4rem,3vw,2.35rem); border-radius: var(--radius-xl); background: linear-gradient(115deg, rgba(255,255,255,.88), rgba(224,244,237,.85)); box-shadow: var(--shadow); }.page-hero h1 { margin: .28rem 0 .55rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem,4vw,3.35rem); }.page-hero p { max-width: 48rem; margin: 0; color: var(--muted); line-height: 1.6; }.page-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 21px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); box-shadow: 0 12px 25px rgba(15,118,110,.22); font-size: .8rem; font-weight: 800; }.page-action { white-space: nowrap; }
.module-message { padding: .9rem 1.1rem; border: 1px solid #b9e7d5; border-radius: 13px; color: #19674f; background: #eaf9f2; font-weight: 700; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }.metric-card, .content-card { border: 1px solid rgba(255,255,255,.76); background: rgba(255,255,255,.68); backdrop-filter: blur(15px); box-shadow: 0 16px 44px rgba(19,34,56,.08); }.metric-card { padding: 1.25rem 1.4rem; border-radius: var(--radius-lg); }.metric-card span, .metric-card small { display: block; color: var(--muted); }.metric-card strong { display: block; margin: .4rem 0; font-size: 2rem; }.metric-card small { color: var(--brand); font-weight: 700; }.records-card { border-radius: var(--radius-xl); padding: clamp(1.25rem,3vw,2rem); }.records-toolbar { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }.records-toolbar h2 { margin: .35rem 0 0; font-family: Georgia, "Times New Roman", serif; }.search-box { display: flex; gap: .5rem; align-items: center; min-width: min(100%, 260px); padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); }.search-box input { width: 100%; border: 0; outline: 0; background: transparent; }.record-list { display: grid; gap: .7rem; }.record-row { display: grid; grid-template-columns: 10px 1.1fr 1.4fr auto auto; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid rgba(19,34,56,.08); border-radius: 15px; background: rgba(255,253,248,.68); }.record-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }.record-main strong,.record-main span { display: block; }.record-main span,.record-row p { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }.status-chip { padding: .36rem .62rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }.status-pending { color: #8d4b00; background: #fff0ca; }.status-active { color: #08665e; background: #dcf6ef; }.status-upcoming { color: #405589; background: #e6ecff; }.record-more { border: 0; background: transparent; color: var(--muted); font-weight: 800; }.empty-records { padding: 1rem; color: var(--muted); text-align: center; }
.action-dialog[hidden] { display: none; }.action-dialog { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 1rem; }.dialog-backdrop { position: absolute; inset: 0; background: rgba(8,35,43,.52); }.dialog-card { position: relative; z-index: 1; width: min(100%, 470px); padding: 2rem; border-radius: 24px; background: #fffdf8; box-shadow: 0 30px 80px rgba(0,0,0,.25); }.dialog-card h2 { margin: .45rem 0; font-family: Georgia, "Times New Roman", serif; }.dialog-card p { color: var(--muted); line-height: 1.6; }.dialog-card form { display: grid; gap: 1rem; margin-top: 1rem; }.dialog-card label { display: grid; gap: .4rem; font-weight: 700; }.dialog-card input,.dialog-card textarea { padding: .72rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; }.dialog-close { position: absolute; right: 1rem; top: .8rem; border: 0; background: transparent; font-size: 1.7rem; color: var(--muted); }

/* Light CRM dashboard styling. */
.portal-body { background: linear-gradient(135deg, #f8fbff 0%, #f9fbfa 52%, #fffaf3 100%); }
.side-menu { color: #31465b; background: rgba(255,255,255,.9); border-right: 1px solid #e5edf3; box-shadow: 8px 0 30px rgba(34,67,99,.035); }
.side-menu .brand-mark { color: #16324d; }.side-menu .brand-mark small { color: #7a8a9b; }.side-menu .brand-logo { color: #fff; background: linear-gradient(135deg, #4f7cff, #6c9bff); box-shadow: 0 10px 22px rgba(79,124,255,.22); }.menu-link,.menu-group-toggle,.submenu-link { color: #5d7084; }.menu-glyph { color: #6b8af2; }.menu-link:hover,.menu-group-toggle:hover,.menu-link.active,.menu-group.open .menu-group-toggle { color: #31557d; background: #eef4ff; }.submenu-link:hover,.submenu-link.active { color: #31557d; background: #edf8f5; }.sidebar-user { border-top-color: #e5edf3; }.sidebar-user small { color: #8190a0; }.user-avatar { color: #4265bd; background: #eaf0ff; }.topbar { background: rgba(255,255,255,.74); border-bottom-color: #e8eff3; }.topbar-action { color: #3762b8; background: #edf3ff; }
.crm-dashboard { display: grid; gap: 1.35rem; }.crm-welcome { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .4rem .1rem; }.crm-welcome h1 { margin: .35rem 0; color: #172d45; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.8vw, 3.05rem); letter-spacing: -.035em; }.crm-welcome p { margin: 0; color: #748496; }.crm-actions { display: flex; flex-wrap: wrap; gap: .7rem; }.btn-soft { color: #3860a8; border: 1px solid #d7e3f5; background: #fff; }.btn-soft:hover { color: #244f9e; background: #f5f8ff; }.crm-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }.crm-kpi-card { position: relative; overflow: hidden; padding: 1.25rem 1.35rem; border: 1px solid #e6edf3; border-radius: 18px; background: rgba(255,255,255,.86); box-shadow: 0 12px 28px rgba(37,68,97,.055); }.crm-kpi-card::after { content: ""; position: absolute; right: -22px; top: -24px; width: 75px; height: 75px; border-radius: 50%; background: #edf4ff; }.crm-kpi-card:nth-child(2)::after { background: #e8f8f1; }.crm-kpi-card:nth-child(3)::after { background: #fff4df; }.crm-kpi-card:nth-child(4)::after { background: #f2edff; }.crm-kpi-card span,.crm-kpi-card small { position: relative; z-index: 1; display: block; color: #758598; }.crm-kpi-card span { font-size: .86rem; font-weight: 650; }.crm-kpi-card strong { position: relative; z-index: 1; display: block; margin: .38rem 0; color: #183652; font-size: 1.95rem; letter-spacing: -.04em; }.crm-kpi-card small { color: #449777; font-size: .78rem; font-weight: 700; }.crm-main-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(340px,.9fr); gap: 1.25rem; }.crm-lower-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }.crm-card { padding: 1.4rem; border: 1px solid #e7edf2; border-radius: 20px; background: rgba(255,255,255,.86); box-shadow: 0 13px 30px rgba(37,68,97,.05); }.crm-card-heading { display: flex; justify-content: space-between; align-items: start; gap: .75rem; margin-bottom: 1.1rem; }.crm-card-heading h2,.insight-copy h2 { margin: .35rem 0 0; color: #19344e; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }.crm-card-heading > a,.full-link,.table-link { color: #5278c4; font-size: .84rem; font-weight: 700; white-space: nowrap; }.crm-table { width: 100%; border-collapse: collapse; font-size: .88rem; }.crm-table th { padding: 0 0 .75rem; color: #8997a6; font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-align: left; text-transform: uppercase; }.crm-table td { padding: .8rem 0; color: #607286; border-top: 1px solid #edf1f4; }.employee-cell { display: flex; align-items: center; gap: .65rem; color: #26415b; }.employee-cell strong,.employee-cell small { display: block; }.employee-cell small { margin-top: .12rem; color: #8997a6; font-size: .78rem; }.avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px; color: #4468be; background: #eaf0ff; font-size: .72rem; font-weight: 800; }.avatar-warm { color: #af7154; background: #fff0e7; }.employee-status { display: inline-block; padding: .28rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 750; }.employee-status.active { color: #287b62; background: #e7f7f0; }.employee-status.on-leave { color: #a16b14; background: #fff4dd; }.employee-status.probation { color: #725ab1; background: #f0edff; }.approval-count { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #c06b43; background: #fff0e7; font-size: .82rem; font-weight: 800; }.approval-list { display: grid; gap: .95rem; }.approval-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .65rem; }.approval-item strong,.approval-item small { display: block; }.approval-item strong { color: #30495f; font-size: .88rem; }.approval-item small { max-width: 185px; margin-top: .12rem; overflow: hidden; color: #8493a1; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }.due-label { color: #c07025; font-size: .7rem; font-weight: 750; }.full-link { display: block; margin-top: 1.25rem; }.pipeline-list { display: grid; gap: 1rem; }.pipeline-stage { display: grid; grid-template-columns: 9px 1fr auto; gap: .65rem; align-items: center; color: #52687b; font-size: .88rem; }.pipeline-stage strong { color: #284660; }.pipeline-swatch { width: 9px; height: 9px; border-radius: 50%; }.sky { background: #69a8ee; }.violet { background: #9983dc; }.amber { background: #f2b761; }.mint { background: #5fc49f; }.peach { background: #ef927c; }.pipeline-bar { grid-column: 2 / -1; height: 6px; overflow: hidden; border-radius: 99px; background: #edf1f5; }.pipeline-bar i { display: block; height: 100%; border-radius: inherit; }.pipeline-bar i.sky { background: #79b4f2; }.pipeline-bar i.violet { background: #a18dde; }.pipeline-bar i.amber { background: #f2bc69; }.pipeline-bar i.mint { background: #68c9a7; }.schedule-list { display: grid; gap: 1.1rem; }.schedule-item { display: grid; grid-template-columns: 44px 3px 1fr; align-items: stretch; gap: .7rem; }.schedule-item time { padding-top: .1rem; color: #7e8e9e; font-size: .78rem; font-weight: 750; }.schedule-line { min-height: 38px; border-radius: 99px; }.schedule-item strong,.schedule-item small { display: block; }.schedule-item strong { color: #355066; font-size: .88rem; }.schedule-item small { margin-top: .18rem; color: #8896a4; font-size: .76rem; }.crm-insight-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.6rem 1.8rem; border-radius: 20px; background: linear-gradient(110deg, #eaf7f3, #eef5ff); border: 1px solid #dcece8; }.insight-copy h2 { max-width: 680px; }.insight-copy p { margin: .55rem 0 0; color: #6f8593; }.insight-action { display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border-radius: 12px; color: #216c5f; background: #fff; font-weight: 750; white-space: nowrap; }.insight-action span { font-size: 1.15rem; }

.compact-page {
  padding-bottom: 2rem;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.15rem rgba(15, 118, 110, 0.18);
}

@media (max-width: 1199.98px) {
  .hero-section,
  .split-layout,
  .module-grid,
  .architecture-grid,
  .role-grid,
  .dashboard-strip {
    grid-template-columns: 1fr 1fr;
  }

  .lifecycle-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .crm-kpi-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767.98px) {
  .portal-main {
    padding-top: 0.3rem;
  }

  .hero-section,
  .hero-panel-grid,
  .dashboard-strip,
  .module-grid,
  .split-layout,
  .role-grid,
  .architecture-grid,
  .lifecycle-track {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .workflow-panel,
  .insight-panel {
    padding: 1.4rem;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: 2.7rem;
  }

  .portal-footer .portal-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-shell { display: block; }.side-menu { position: fixed; z-index: 10; width: min(290px, 88vw); transform: translateX(-105%); transition: transform 220ms ease; }.side-menu.mobile-open { transform: translateX(0); }.menu-mobile-toggle { display: block; }.topbar { justify-content: flex-start; }.topbar-action { margin-left: auto; }.page-hero { grid-template-columns: auto 1fr; }.page-action { grid-column: 1 / -1; }.metric-grid { grid-template-columns: 1fr; }.records-toolbar { align-items: stretch; flex-direction: column; }.record-row { grid-template-columns: 10px 1fr auto; }.record-row p { display: none; }.record-more { display: none; }.app-content .portal-footer { flex-direction: column; }
  .crm-welcome,.crm-main-grid,.crm-lower-grid,.crm-insight-row { display: grid; grid-template-columns: 1fr; }.crm-kpi-grid { grid-template-columns: 1fr 1fr; }.crm-actions { margin-top: .4rem; }.crm-table-wrap { overflow-x: auto; }.crm-table { min-width: 650px; }.crm-insight-row { padding: 1.35rem; }.insight-action { justify-content: space-between; }.approval-item small { max-width: none; }
}

body.portal-body { background: radial-gradient(circle at 92% 2%, rgba(68,118,255,.14), transparent 26%), linear-gradient(135deg, #f3f7fd 0%, #f9fbff 55%, #f4f8f7 100%); }

/* Carbon Credit landing page */
.carbon-body { margin: 0; color: #1d3127; background: #f6f5ef; font-family: Manrope, Arial, sans-serif; }
.carbon-body * { box-sizing: border-box; }.carbon-body a { color: inherit; text-decoration: none; }.carbon-nav { height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 5.5vw; background: #f6f5ef; }.carbon-logo { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 800; letter-spacing: -1.1px; }.carbon-logo > span:last-child > span { color: #638354; }.logo-orbit { display: grid; width: 30px; height: 30px; place-items: center; border: 2px solid #1d3127; border-radius: 50%; color: #638354; font-family: 'Playfair Display', serif; font-size: 17px; }.carbon-links { display: flex; gap: 34px; font-size: 12px; font-weight: 700; }.carbon-links a:hover { color: #638354; }.nav-cta { padding: 12px 18px; border: 1px solid #c6ccc0; border-radius: 999px; font-size: 12px; font-weight: 700; }.nav-cta span { margin-left: 8px; color: #789967; font-size: 17px; }
.carbon-hero { display: grid; grid-template-columns: minmax(360px, .96fr) 1.04fr; min-height: 630px; margin: 0 3vw; overflow: hidden; border-radius: 5px; background: #e5e8d8; }.hero-copy { padding: clamp(50px,8vw,114px) clamp(35px,6.5vw,96px); }.section-label { display: block; color: #6e8365; font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: .11em; }.hero-copy h1,.section-heading h2,.how-intro h2,.calculator-section h2 { margin: 22px 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(45px,5.4vw,79px); font-weight: 600; letter-spacing: -3.5px; line-height: .96; }.carbon-body em { color: #688c5b; font-weight: 600; }.hero-copy p { max-width: 450px; color: #556357; font-size: 14px; line-height: 1.75; }.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 40px; }.primary-button { display: inline-flex; align-items: center; gap: 26px; padding: 15px 18px 15px 22px; color: #fff !important; background: #1d3127; font-size: 12px; font-weight: 700; }.primary-button span,.calculator-button span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: #1d3127; background: #b9d65b; font-size: 18px; }.text-button { font-size: 12px; font-weight: 700; }.text-button span { margin-left: 7px; color: #6f9163; font-size: 16px; }.hero-visual { position: relative; min-height: 500px; background: linear-gradient(0deg, rgba(16,38,24,.42), transparent 60%), url('https://images.unsplash.com/photo-1511497584788-876760111969?auto=format&fit=crop&w=1600&q=85') center/cover; }.hero-stamp { position: absolute; top: 8%; right: 8%; display: grid; width: 115px; height: 115px; place-content: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: #fff; text-align: center; backdrop-filter: blur(4px); }.hero-stamp b { font-family: 'Playfair Display',serif; font-size: 26px; }.hero-stamp span { margin-top: 3px; font-family: 'DM Mono',monospace; font-size: 9px; line-height: 1.35; text-transform: uppercase; }.hero-caption { position: absolute; right: 7%; bottom: 7%; display: flex; align-items: center; gap: 9px; color: white; font-family: 'DM Mono',monospace; font-size: 10px; }.hero-caption b { margin-left: 8px; padding: 6px 8px; background: rgba(255,255,255,.16); font-size: 9px; font-weight: 500; }.pulse { width: 7px; height: 7px; border-radius: 50%; background: #c1ef79; box-shadow: 0 0 0 5px rgba(193,239,121,.23); }
.impact-band { display: grid; grid-template-columns: repeat(3, 1fr) 1.25fr; gap: 30px; padding: 70px 8vw; background: #1d3127; color: #f5f5ed; }.impact-number { display: block; font-family: 'Playfair Display',serif; color: #b9d65b; font-size: clamp(45px,4vw,63px); line-height: 1; letter-spacing: -2px; }.impact-band p { margin: 12px 0 0; color: #c8d2c5; font-size: 11px; line-height: 1.7; }.impact-band .impact-note { align-self: end; max-width: 220px; padding-left: 26px; border-left: 1px solid #61725d; }
.carbon-section,.how-section { padding: 115px 8vw; }.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 55px; }.section-heading h2,.how-intro h2 { margin-bottom: 0; font-size: clamp(43px,4.5vw,68px); }.section-heading > p { max-width: 350px; margin-bottom: 6px; color: #667066; font-size: 13px; line-height: 1.8; }.project-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 16px; }.project-card { display: flex; min-height: 455px; padding: 20px; flex-direction: column; justify-content: space-between; color: #fff; background-position: center; background-size: cover; }.project-card::before { content: ''; position: absolute; inset: 0; }.project-card { position: relative; isolation: isolate; }.project-card > div { position: relative; z-index: 1; }.forest { background-image: linear-gradient(0deg,rgba(11,27,14,.88),rgba(11,27,14,.07) 65%),url('https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=900&q=80'); }.solar { background-image: linear-gradient(0deg,rgba(46,34,13,.88),rgba(46,34,13,.05) 70%),url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&w=900&q=80'); }.soil { background-image: linear-gradient(0deg,rgba(27,30,14,.9),rgba(27,30,14,.06) 70%),url('https://images.unsplash.com/photo-1499529112087-3cb3b73cec95?auto=format&fit=crop&w=900&q=80'); }.card-top { display: flex; justify-content: space-between; font-family: 'DM Mono',monospace; font-size: 9px; letter-spacing: .08em; }.card-top b { color: #d0ec72; font-size: 10px; }.card-bottom h3 { margin: 0 0 11px; font-family: 'Playfair Display',serif; font-size: 30px; line-height: 1.05; letter-spacing: -1px; }.card-bottom p { max-width: 250px; margin: 0 0 18px; color: #e1e7da; font-size: 11px; line-height: 1.6; }.card-bottom a { font-size: 11px; font-weight: 800; }.card-bottom a span { margin-left: 7px; color: #d4ef7a; font-size: 15px; }
.how-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 11vw; background: #dce3cf; }.how-intro h2 { margin-top: 19px; }.how-intro p { max-width: 340px; color: #596659; font-size: 13px; line-height: 1.8; }.steps { display: grid; align-content: center; margin: 0; padding: 0; list-style: none; }.steps li { display: grid; grid-template-columns: 65px 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid rgba(42,65,48,.2); }.steps li:last-child { border-bottom: 1px solid rgba(42,65,48,.2); }.steps li > span { color: #719362; font-family: 'DM Mono',monospace; font-size: 11px; }.steps h3 { margin: 0 0 7px; font-family: 'Playfair Display',serif; font-size: 25px; }.steps p { max-width: 360px; margin: 0; color: #596659; font-size: 12px; line-height: 1.7; }.calculator-section { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 3vw; padding: 80px 8vw; color: #eff3e8; background: #314a39 url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=1500&q=75') center/cover; background-blend-mode: multiply; }.calculator-section h2 { margin: 17px 0 0; font-size: clamp(38px,4vw,62px); letter-spacing: -2.5px; }.calculator-section .section-label { color: #c9ea75; }.calculator-button { display: inline-flex; align-items: center; gap: 25px; padding: 14px 17px 14px 24px; color: #24372b; background: #f5f5ed; font-size: 12px; font-weight: 800; white-space: nowrap; }.carbon-footer { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; gap: 25px; padding: 34px 5.5vw; color: #dce8d4; background: #18271f; }.carbon-footer .carbon-logo { color: #fff; }.carbon-footer .logo-orbit { border-color: #dce8d4; }.carbon-footer p,.carbon-footer small { margin: 0; color: #92a395; font-size: 10px; }.carbon-footer div { display: flex; gap: 22px; font-size: 11px; font-weight: 700; }.carbon-footer small { white-space: nowrap; }
@media (max-width: 800px) { .carbon-nav { height: 68px; padding: 0 22px; }.carbon-links { display: none; }.nav-cta { padding: 9px 12px; font-size: 10px; }.carbon-hero { grid-template-columns: 1fr; margin: 0; border-radius: 0; }.hero-copy { padding: 70px 28px 55px; }.hero-visual { min-height: 340px; }.impact-band { grid-template-columns: 1fr 1fr; padding: 50px 28px; }.impact-band .impact-note { padding-left: 0; border: 0; }.carbon-section,.how-section { padding: 70px 28px; }.section-heading,.how-section { display: grid; grid-template-columns: 1fr; gap: 25px; }.project-grid { grid-template-columns: 1fr; }.project-card { min-height: 380px; }.calculator-section { display: grid; margin: 0; padding: 65px 28px; }.carbon-footer { grid-template-columns: 1fr 1fr; padding: 35px 28px; }.carbon-footer div { grid-row: 2; }.carbon-footer small { grid-row: 2; } }

/* Dedicated Carbon Credit pages */
.page-banner { min-height: 460px; display: flex; align-items: end; padding: 72px 8vw; color: #fff; background-size: cover; background-position: center; }.page-banner > div { max-width: 540px; }.page-banner .section-label { color: #d1eb85; }.page-banner h1 { margin: 16px 0; font-family: 'Playfair Display',serif; font-size: clamp(54px,6vw,86px); line-height: .92; letter-spacing: -4px; }.page-banner p { max-width: 450px; color: #e6ede0; font-size: 13px; line-height: 1.8; }.projects-banner { background-image: linear-gradient(90deg,rgba(12,32,17,.82),rgba(12,32,17,.2)),url('/images/carbon-solutions.png'); background-size: cover, 155%; background-position: center, left top; }.calculator-banner { background-image: linear-gradient(90deg,rgba(14,34,18,.83),rgba(14,34,18,.15)),url('/images/carbon-solutions.png'); background-size: cover, 155%; background-position: center, right top; }.impact-banner { background-image: linear-gradient(90deg,rgba(14,34,18,.83),rgba(14,34,18,.1)),url('/images/carbon-solutions.png'); background-size: cover, 155%; background-position: center, right bottom; }.solution-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 7vw; padding: 105px 8vw 70px; }.solution-intro h2,.impact-story h2 { margin: 18px 0 0; font-family: 'Playfair Display',serif; font-size: clamp(43px,5vw,70px); line-height: .97; letter-spacing: -3px; }.solution-intro > p,.impact-story > p { align-self: end; max-width: 390px; margin: 0; color: #5d695f; font-size: 13px; line-height: 1.9; }.solution-list { padding-bottom: 100px; }.solution-row { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 8vw; padding: 58px 8vw; }.solution-row.reverse { grid-template-columns: .92fr 1.08fr; background: #e5ebdc; }.solution-row.reverse .solution-image { order: 2; }.solution-row > div:last-child > span { color: #739460; font-family: 'DM Mono',monospace; font-size: 10px; letter-spacing: .08em; }.solution-row h2 { margin: 14px 0; font-family: 'Playfair Display',serif; font-size: clamp(39px,4vw,60px); line-height: .95; letter-spacing: -2.5px; }.solution-row p { max-width: 360px; color: #5a675d; font-size: 13px; line-height: 1.8; }.solution-row ul { display: grid; gap: 8px; margin: 24px 0; padding: 0; list-style: none; color: #445647; font-size: 11px; }.solution-row li::before { content: '●'; margin-right: 9px; color: #87aa68; font-size: 8px; }.solution-row a,.impact-quote a { font-size: 12px; font-weight: 800; }.solution-row a b,.impact-quote a b { display: inline-grid; width: 25px; height: 25px; margin-left: 10px; place-items: center; border-radius: 50%; color: #203529; background: #b9d65b; }.solution-image { min-height: 380px; background-image: url('/images/carbon-solutions.png'); background-size: 200%; box-shadow: 0 18px 40px rgba(33,57,37,.12); }.tree-image { background-image: url('/images/carbon-solutions.png'); background-size: 200%; background-position: left top; }.solar-image { background-image: url('/images/carbon-solutions.png'); background-size: 200%; background-position: right top; }.ev-image { background-image: url('/images/carbon-solutions.png'); background-size: 200%; background-position: left bottom; }.wind-image { background-image: url('/images/carbon-solutions.png'); background-size: 200%; background-position: right bottom; }.calculator-page { display: grid; grid-template-columns: .84fr 1.16fr; gap: 10vw; padding: 110px 12vw; background: #e7ecdf; }.calculator-copy h2 { margin: 17px 0; font-family: 'Playfair Display',serif; font-size: 59px; line-height: .95; letter-spacing: -3px; }.calculator-copy > p { max-width: 330px; color: #566457; font-size: 13px; line-height: 1.8; }.cal-tip { display: grid; gap: 7px; max-width: 330px; margin-top: 34px; padding: 17px; border-left: 3px solid #91b171; background: #f4f6ef; font-size: 11px; line-height: 1.6; }.cal-tip b { color: #527342; }.carbon-form { display: grid; gap: 20px; padding: 38px; background: #fff; box-shadow: 0 22px 50px rgba(37,61,39,.1); }.carbon-form label { display: grid; gap: 9px; color: #48594c; font-size: 11px; font-weight: 800; }.carbon-form select,.carbon-form input { width: 100%; padding: 14px; border: 1px solid #d4dbcf; border-radius: 0; outline-color: #779968; color: #263d2c; background: #fafbf8; font: inherit; font-size: 13px; }.carbon-form button { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px 13px 20px; border: 0; color: #fff; background: #223a2b; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }.carbon-form button span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: #203529; background: #b9d65b; font-size: 17px; }.carbon-form output { display: grid; gap: 8px; margin-top: 7px; padding: 25px; background: #f1f5ea; }.carbon-form output small { color: #678160; font-family: 'DM Mono',monospace; font-size: 9px; letter-spacing: .08em; }.carbon-form output strong { font-family: 'Playfair Display',serif; font-size: 32px; font-weight: 600; }.carbon-form output p { margin: 0; color: #657065; font-size: 11px; line-height: 1.6; }.carbon-form output a { margin-top: 4px; color: #426b42; font-size: 11px; font-weight: 800; }.impact-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; padding: 105px 12vw 65px; }.impact-gallery { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 260px 260px; gap: 14px; padding: 0 8vw 100px; }.impact-gallery > div { position: relative; background-image: url('/images/carbon-solutions.png'); background-size: 200%; }.impact-gallery .gallery-large { grid-row: span 2; }.impact-gallery .gallery-wide { grid-column: span 2; }.impact-gallery span { position: absolute; bottom: 15px; left: 16px; padding: 7px 9px; color: #fff; background: rgba(22,45,28,.72); font-family: 'DM Mono',monospace; font-size: 9px; letter-spacing: .07em; }.impact-quote { display: grid; justify-items: center; padding: 105px 17vw; color: #eaf1e5; text-align: center; background: #1d3127; }.impact-quote > span { color: #b9d65b; font-family: 'Playfair Display',serif; font-size: 84px; line-height: .55; }.impact-quote blockquote { max-width: 800px; margin: 25px 0 30px; font-family: 'Playfair Display',serif; font-size: clamp(31px,4vw,52px); line-height: 1.05; letter-spacing: -2px; }.impact-quote a { color: #d5e6ca; }
@media (max-width: 800px) { .page-banner { min-height: 390px; padding: 55px 28px; }.solution-intro,.calculator-page,.impact-story { grid-template-columns: 1fr; padding: 70px 28px; gap: 30px; }.solution-list { padding-bottom: 30px; }.solution-row,.solution-row.reverse { grid-template-columns: 1fr; gap: 32px; padding: 45px 28px; }.solution-row.reverse .solution-image { order: 0; }.solution-image { min-height: 300px; }.calculator-copy h2 { font-size: 50px; }.carbon-form { padding: 25px; }.impact-gallery { grid-template-columns: 1fr; grid-template-rows: 310px 220px 220px 260px; padding: 0 28px 70px; }.impact-gallery .gallery-large,.impact-gallery .gallery-wide { grid-column: auto; grid-row: auto; }.impact-quote { padding: 75px 28px; } }
.side-menu { color: #dbe8ff; background: linear-gradient(180deg, #101e3b 0%, #132a52 52%, #153554 100%); border-right: 0; box-shadow: 12px 0 34px rgba(8,22,48,.14); }
.side-menu .brand-mark { color: #fff; }.side-menu .brand-mark small { color: #a9c0e6; }.side-menu .brand-logo { background: linear-gradient(135deg, #ffad4d, #ff7a5c); }.menu-link,.menu-group-toggle,.submenu-link { color: #b6cae9; }.menu-glyph { color: #7eb2ff; }.menu-link:hover,.menu-group-toggle:hover,.menu-link.active,.menu-group.open .menu-group-toggle { color: #fff; background: rgba(126,178,255,.15); }.submenu-link:hover,.submenu-link.active { color: #fff; background: rgba(255,173,77,.16); }.sidebar-user { border-top-color: rgba(255,255,255,.14); }.sidebar-user small { color: #9eb8dc; }.user-avatar { color: #183763; background: #d9e8ff; }.topbar { color: #e9f2ff; background: linear-gradient(100deg, #11254a, #163965); border-bottom: 0; }.topbar-kicker { color: #aac6ec; }.topbar-action { color: #143b72; background: #dceaff; }
.menu-link > span,.menu-group-toggle > span:first-child { display: inline-flex; align-items: center; min-width: 0; gap: .58rem; }.menu-order { display: inline-grid; place-items: center; width: 26px; height: 20px; flex: 0 0 auto; border: 1px solid rgba(170,201,239,.25); border-radius: 7px; color: #86b9ff; font-size: .62rem; font-weight: 800; letter-spacing: .04em; }.menu-link.active .menu-order,.menu-group.open .menu-order { border-color: rgba(255,182,84,.38); color: #ffbc62; background: rgba(255,182,84,.1); }.menu-nav { position: relative; gap: .35rem; }.menu-group { position: relative; }.menu-group.open .submenu { margin-left: .68rem; border-left: 1px solid rgba(161,197,238,.2); }.submenu-link { position: relative; padding-left: 1rem; }.submenu-link::before { content: ""; position: absolute; left: -.08rem; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #7295cc; transform: translateY(-50%); }.submenu-link.active::before { background: #ffb75d; box-shadow: 0 0 0 4px rgba(255,183,93,.11); }.side-menu::before { content: "HRMS FLOW"; display: block; margin: 0 .55rem .65rem; color: #7ea5d9; font-size: .66rem; font-weight: 800; letter-spacing: .16em; }
.crm-welcome { position: relative; padding: 1.45rem 1.7rem; overflow: hidden; border-radius: 22px; color: #edf4ff; background: linear-gradient(115deg, #142b52, #1e4e78); box-shadow: 0 18px 42px rgba(25,55,98,.18); }.crm-welcome::after { content: ""; position: absolute; right: -4rem; bottom: -5rem; width: 230px; height: 230px; border: 30px solid rgba(132,185,255,.16); border-radius: 50%; }.crm-welcome h1 { position: relative; z-index: 1; color: #fff; }.crm-welcome p { position: relative; z-index: 1; color: #c4d7ef; }.crm-welcome .eyebrow { color: #94c6ff; }.crm-actions { position: relative; z-index: 1; }.crm-welcome .btn-soft { color: #e8f2ff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.1); }.crm-welcome .btn-brand { background: linear-gradient(135deg, #ff9a4a, #f56d58); box-shadow: none; }.crm-card { box-shadow: 0 14px 32px rgba(24,58,95,.07); }.crm-kpi-card { border-top: 3px solid #78aaff; }.crm-kpi-card:nth-child(2) { border-top-color: #65c7a4; }.crm-kpi-card:nth-child(3) { border-top-color: #f6b657; }.crm-kpi-card:nth-child(4) { border-top-color: #ad92e9; }
.dialog-card { width: min(100%, 820px); max-height: min(86vh, 800px); overflow-y: auto; border: 1px solid #dbe6f2; background: #fdfefe; }.dialog-card p { margin-bottom: 1.25rem; }.hrms-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem 1rem; }.dialog-card label { color: #40566a; font-size: .86rem; }.dialog-card label > span b { color: #e36d55; }.dialog-card input,.dialog-card textarea,.dialog-card select { width: 100%; padding: .7rem .75rem; border: 1px solid #d9e3ed; border-radius: 10px; outline: none; background: #fff; color: #1d3851; font: inherit; }.dialog-card input:focus,.dialog-card textarea:focus,.dialog-card select:focus { border-color: #5d91e8; box-shadow: 0 0 0 3px rgba(93,145,232,.13); }.form-field-wide { grid-column: 1 / -1; }.dialog-actions { display: flex; justify-content: flex-end; gap: .7rem; margin-top: 1.3rem; }
@media (max-width: 767.98px) { .hrms-form-grid { grid-template-columns: 1fr; }.form-field-wide { grid-column: auto; } }
