:root {
  --ink: #193b31;
  --muted: #60716b;
  --line: #dfe7e2;
  --green: #225c45;
  --paper: #f3f6f3;
  --lime: #dcecaa;
}
body { font-size: 15px; -webkit-font-smoothing: antialiased; }
header { padding: 16px max(24px, calc((100vw - 1320px) / 2)); gap: 28px; }
.brand { letter-spacing: 1.6px; font-size: 13px; flex-shrink: 0; }
.brand small { font-size: 12px; }
.brand-icon { border-radius: 14px 14px 14px 4px; width: 42px; height: 42px; }
header nav { gap: 4px; }
header nav a { padding: 7px 11px; border-radius: 8px; font-size: 13px; color: #53645c; }
header nav a[aria-current="page"] { background: #eaf2e9; color: #225c45; text-decoration: none; }
header nav a:hover { background: #f0f4f0; text-decoration: none; }
.account { gap: 15px; font-size: 13px; }
main { padding-top: 34px; }
h1 { font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -1.1px; }
h2 { font-size: 19px; letter-spacing: -.3px; }
button, .button { border-radius: 9px; transition: background .15s, border-color .15s; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #7b9d5d; outline-offset: 3px; }
input, select, textarea, .rich-surface { border-radius: 9px; border-color: #ccd9d1; }
input[type="checkbox"] { flex-shrink: 0; }
.panel, .project-card { border-radius: 16px; box-shadow: 0 3px 14px #183b2704; }
.heading { margin-bottom: 25px; }
.heading > div { min-width: 0; }
.heading h1 { overflow-wrap: anywhere; }
.back { width: fit-content; margin-bottom: 20px; }
.stats { gap: 12px; border: 0; border-radius: 0; background: transparent; margin: 25px 0; }
.stats > div { border: 1px solid var(--line); border-radius: 13px; padding: 18px 22px; background: #fff; }
.stats > div:last-child { border: 1px solid var(--line); }
.stats strong { font-size: 30px; font-weight: 650; margin-top: 4px; }
.stats > div:nth-child(2) { background: #ecf3ef; border-color: #d1e2d8; }
.list-tabs { gap: 5px; border: 1px solid var(--line); padding: 5px; border-radius: 11px; background: #eaf0eb; width: fit-content; }
.list-tabs a { border: 0; border-radius: 7px; padding: 7px 15px; font-size: 13px; }
.list-tabs a[aria-current="page"] { background: #fff; box-shadow: 0 1px 4px #183b2710; color: #194630; }
.project-filters { background: #fff; padding: 18px 22px; border: 1px solid var(--line); border-radius: 13px; }
.filter-search { margin-bottom: 0; }
.filter-options { margin-top: 12px; }
.filter-options summary { font-size: 13px; }
.project-grid { gap: 20px; }
.project-card { padding: 24px; border-top: 3px solid #87aa80; }
.project-card:hover { box-shadow: 0 9px 24px #173b270b; }
.project-card h2 { font-size: 19px; line-height: 1.4; margin-bottom: 12px; }
.project-card .description { font-size: 13px; line-height: 1.6; }
.status { border-radius: 6px; font-size: 11px; font-weight: 700; }
.project-open { background: #edf4ed; border-color: #dce9dd; color: #22543d; text-align: left; font-size: 13px; }
.project-open:hover { background: #e0eddd; color: #193e2c; }
.tags span { border-radius: 5px; background: #f4f6f1; }
progress { height: 6px; }
progress::-webkit-progress-value { background: #477b57; }
progress::-moz-progress-bar { background: #477b57; }
.project-overview { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 28px; padding: 28px; color: #f6faf4; background: #204a38; border-radius: 17px; margin-bottom: 24px; }
.project-overview small { display: block; color: #d5e4d9; font-size: 12px; }
.project-overview p { margin: 8px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.project-overview .overview-progress { font-size: 42px; font-weight: 650; letter-spacing: -1px; line-height: 1.25; margin: 6px 0 12px; }
.project-overview progress { background: #4b6b56; }
.project-overview progress::-webkit-progress-bar { background: #4b6b56; }
.project-overview progress::-webkit-progress-value { background: #d1e79b; }
.project-overview progress::-moz-progress-bar { background: #d1e79b; }
.detail-jumps { display: flex; gap: 20px; overflow-x: auto; margin: 0 0 23px; padding: 0 0 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.detail-jumps a { flex-shrink: 0; }
.detail-grid aside .panel { background: #f9fbf8; }
.timeline article { position: relative; border-left-color: #d7e4d5; margin-top: 22px; padding-left: 22px; }
.timeline article::before { content: ''; position: absolute; left: -5px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: #6c9768; box-shadow: 0 0 0 4px #fff; }
.management-heading h1 { max-width: 34ch; font-size: 29px; }
.management-heading .status { flex-shrink: 0; }
.project-manager { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 30px; align-items: start; padding-bottom: 120px; }
.management-nav { display: flex; flex-direction: column; position: sticky; top: 24px; gap: 4px; padding-top: 8px; }
.management-nav a { padding: 11px 14px; color: var(--muted); font-size: 13px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0; }
.management-nav a:hover, .management-nav a[aria-current="location"] { background: #e6efe5; color: #254d34; text-decoration: none; border-left-color: #4d7a4b; font-weight: 650; }
.management-content { min-width: 0; }
.management-section { scroll-margin-top: 24px; padding: 28px; }
.section-heading { margin-bottom: 23px; padding-bottom: 17px; border-bottom: 1px solid #e9eee9; }
.section-heading h2 { margin: 0 0 5px; }
.section-heading p { margin: 0; font-size: 13px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 3px 12px; }
.choice-grid .check { margin: 3px 0; min-height: 30px; }
.management-section fieldset { min-width: 0; background: #fbfcf9; }
.record-context { background: #f5f7f1; border: 1px solid #e2e8d9; border-radius: 11px; padding: 18px; margin-top: 24px; }
.record-context .check { margin-top: 0; }
.record-context p { margin: 0 0 15px; }
.record-context > label:last-child { font-weight: 500; }
.management-section .milestone-fields { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 20px; }
.management-section .milestone-fields summary { font-size: 13px; font-weight: 650; color: var(--green); }
.deployment-batch { margin: 20px 0; padding: 17px; border-radius: 10px; background: #eef4f7; display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.deployment-batch p { margin: 0; }
.deployment-batch button { font-size: 12px; min-height: 44px; }
.deployment-editor-row { padding: 17px 0; border-bottom: 1px solid var(--line); }
.deployment-site-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.deployment-site-heading .check { font-size: 14px; overflow-wrap: anywhere; min-width: 0; }
.deployment-row-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 9px; }
.deployment-row-fields .check { grid-column: 1 / -1; font-size: 12px; color: var(--muted); margin: 0; }
.new-destinations { margin: 20px 0; }
.new-destinations > summary { font-size: 13px; font-weight: 650; color: var(--green); }
.text-link { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.communication-fields { display: grid; gap: 20px; margin-top: 22px; }
.communication-fields > label { max-width: 340px; }
.management-save { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 24px; width: min(1100px, calc(100% - 48px)); padding: 16px 22px; border: 1px solid #cdddcf; border-radius: 13px; background: #fff; box-shadow: 0 8px 40px #193b3124; }
.management-save strong { font-size: 14px; }
.management-save p { margin: 3px 0 0; }
.management-save .actions { margin: 0; flex-shrink: 0; }
.management-save .actions > a { font-size: 13px; }
.audit-entry { border-top: 1px solid var(--line); padding: 15px 0; }
.audit-entry p { margin: 5px 0; }
.audit-entry ul { margin: 8px 0; padding-left: 20px; overflow-wrap: anywhere; }
.calendar-overview-month { border-radius: 12px; padding: 15px; }
.calendar-today { background: #f4f8ef; border-color: #7fa475; }
.calendar-toolbar h2 { font-size: 20px; }
@media (max-width: 1100px) {
  header { flex-wrap: wrap; gap: 16px; }
  header nav { order: 3; width: 100%; }
  .project-manager { grid-template-columns: 155px minmax(0, 1fr); gap: 20px; }
  .deployment-batch { grid-template-columns: 1fr 1fr; }
  .deployment-batch button { width: fit-content; }
}
@media (max-width: 760px) {
  header { padding: 15px 18px; }
  header nav { flex-wrap: nowrap; overflow-x: auto; padding-top: 8px; border: 0; }
  header nav a { flex-shrink: 0; padding: 8px 10px; }
  .account { margin-left: auto; }
  main { padding: 26px 18px; }
  .project-manager { display: block; padding-bottom: 160px; }
  .management-nav { flex-direction: row; flex-wrap: nowrap; top: 0; overflow-x: auto; z-index: 10; gap: 4px; padding: 9px 0 12px; background: var(--paper); margin: 0 0 16px; }
  .management-nav a { flex-shrink: 0; border: 1px solid transparent; border-radius: 8px; padding: 9px 12px; }
  .management-section { scroll-margin-top: 75px; padding: 21px; }
  .management-heading h1 { font-size: 26px; }
  .management-save { bottom: 10px; width: calc(100% - 24px); padding: 13px 16px; gap: 12px; flex-wrap: wrap; }
  .management-save .actions { width: 100%; justify-content: flex-end; }
  .management-save p { font-size: 11px; }
  .management-save button { flex: 1; }
  .project-overview { grid-template-columns: 1fr 1fr; padding: 22px; gap: 20px; }
  .project-overview > div:first-child { grid-column: 1 / -1; }
  .project-overview .overview-progress { font-size: 34px; }
  .project-overview > div:first-child progress { max-width: 260px; }
  .stats { gap: 8px; }
  .stats > div { padding: 13px 15px; }
  .stats span { font-size: 12px; }
  .stats strong { font-size: 25px; }
  .project-filters { padding: 16px; }
  .panel { padding: 21px; }
  .quick-actions { width: 100%; }
  .quick-actions .button { font-size: 12px; padding: 10px 12px; }
  .detail-grid aside { grid-row: auto; }
}
@media (max-width: 420px) {
  .deployment-row-fields, .deployment-batch { grid-template-columns: minmax(0, 1fr); }
  .brand { font-size: 11px; gap: 9px; }
  .brand small { font-size: 10px; }
  .account { gap: 9px; }
  .account .quiet { padding: 7px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
