@import url("/assets/fonts.css");
:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  color: #192d2b;
  background: #f6f7f3;
  font-synthesis: none;
  --green: #146b50;
  --line: #e1e6df;
  --muted: #697871;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a {
  color: var(--green);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
[hidden] {
  display: none !important;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  background: #132d2b;
  color: #e3ece6;
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
}
.brand {
  font-weight: 850;
  font-size: 45px;
  letter-spacing: -3px;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}
.brand span {
  color: #8bd9a6;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2.7px;
  margin-top: 12px;
  font-weight: 550;
}
.sidebar nav {
  margin-top: 58px;
  display: grid;
  gap: 10px;
}
.sidebar nav a {
  display: flex;
  gap: 14px;
  padding: 13px 12px;
  color: #b7c9c1;
  text-decoration: none;
  font-size: 14px;
  border-radius: 9px;
}
.sidebar nav a.active {
  color: #fff;
  background: #2a4941;
}
.sidebar-note {
  margin-top: auto;
  font-size: 12px;
  line-height: 1.7;
  color: #c3d2ca;
}
.sidebar-note p {
  font-size: 12px;
  color: #91aaa0;
}
.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: #94d8a2;
  margin-right: 5px;
}
.account {
  border-top: 1px solid #37514a;
  padding-top: 22px;
  margin-top: 23px;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.account > span {
  display: block;
}
.text-button {
  padding: 9px 0;
  background: none;
  border: 0;
  color: #b8cfc3;
  font-size: 12px;
}
.workspace {
  margin-left: 238px;
}
.topbar {
  height: 82px;
  padding: 0 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.topbar strong {
  color: #29443a;
  font-weight: 550;
}
.slash {
  margin: 0 12px;
  color: #a4b1a7;
}
.quiet {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 9px 13px;
  color: #425c4f;
  font-size: 12px;
}
.content {
  padding: 43px 42px;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.8px;
  color: var(--green);
}
h1 {
  font-size: clamp(28px, 3vw, 41px);
  font-weight: 550;
  letter-spacing: -1.6px;
  margin: 13px 0 12px;
  line-height: 1.15;
}
.hero p {
  font-size: 14px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
  margin: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--green);
  border: 0;
  color: white;
  border-radius: 9px;
  padding: 13px 18px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 21px;
}
.metric.highlight {
  background: #e9f1e6;
  border-color: #d6e5d0;
}
.metric span {
  font-size: 12px;
  color: var(--muted);
}
.metric strong {
  display: block;
  font-size: 33px;
  font-weight: 550;
  letter-spacing: -1px;
  margin-top: 12px;
}
.metric small {
  font-size: 11px;
  display: block;
  margin-top: 7px;
  color: var(--muted);
}
h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 0 0 7px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.section-heading p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.archive {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.toolbar {
  margin: 24px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.search {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 9px 12px;
  max-width: 330px;
  width: 100%;
}
.search input {
  border: 0;
  min-width: 0;
  width: 100%;
  background: none;
  font-size: 12px;
  color: #29443a;
}
.muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.board {
  display: grid;
  grid-template-columns: repeat(6, minmax(185px, 1fr));
  gap: 13px;
  overflow-x: auto;
  padding-bottom: 16px;
  align-items: start;
}
.column {
  background: #edf0e9;
  border-radius: 10px;
  min-height: 265px;
  padding: 12px;
}
.column-title {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 650;
  padding: 2px 3px 14px;
}
.column-title span {
  background: #dfe5db;
  color: #64735f;
  min-width: 20px;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 10px;
}
.card {
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid #e0e5dc;
  border-radius: 9px;
  padding: 14px;
  margin-bottom: 10px;
  color: #213b31;
  transition: box-shadow 0.15s;
}
.card:hover {
  box-shadow: 0 5px 16px #203c3010;
  border-color: #adc8b5;
}
.card h3 {
  font-size: 13px;
  line-height: 1.5;
  margin: 10px 0 12px;
  font-weight: 600;
}
.card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.tag {
  display: inline-block;
  border-radius: 4px;
  background: #eef3ed;
  padding: 4px 6px;
  color: #567157;
  font-size: 9px;
  margin: 2px 4px 2px 0;
}
.tag.warning {
  background: #fff1da;
  color: #8b601e;
}
.card time {
  display: block;
  border-top: 1px solid #edf0e9;
  padding-top: 11px;
  margin-top: 12px;
  font-size: 10px;
  color: #87948a;
}
.column-empty {
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
  padding: 35px 12px;
  color: #83917f;
}
.board-footnote {
  font-size: 11px;
  color: #82907e;
  margin-top: 16px;
  line-height: 1.6;
}
#notice {
  background: #fff2de;
  color: #755322;
  border: 1px solid #ead6b5;
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  max-width: 760px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  overflow: auto;
  color: #1e392e;
  box-shadow: 0 24px 100px #10282030;
}
dialog::backdrop {
  background: #102d2666;
}
.dialog-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}
.dialog-top h2 {
  margin: 8px 0 0;
  font-size: 24px;
}
.dialog-top .quiet {
  flex-shrink: 0;
}
form > label,
.field-label {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  font-size: 12px;
  font-weight: 600;
}
input:not([type="checkbox"]):not([type="search"]),
textarea {
  width: 100%;
  border: 1px solid #cfd9ce;
  border-radius: 7px;
  padding: 11px;
  color: #213b31;
  background: white;
  min-width: 0;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
}
legend {
  font-size: 12px;
}
.actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.variant {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
}
.variant h3 {
  font-size: 16px;
}
.draft {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f5f7f2;
  padding: 18px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.8;
}
.files {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  margin: 16px 0;
}
.rendered-draft {
  white-space: normal;
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(18px, 4vw, 36px);
  font-size: 15px;
  line-height: 1.75;
}
.rendered-draft h4 {
  margin: 0 0 16px;
  font-size: 23px;
  line-height: 1.3;
}
.draft-prose, .draft-paragraph, .draft-excerpt {
  max-width: 72ch;
}
.draft-excerpt {
  color: var(--muted);
  font-size: 17px;
}
.draft-paragraph, .draft-prose {
  white-space: pre-line;
}
.draft-prose p, .draft-paragraph {
  margin: 0 0 1em;
}
.draft-prose h1, .draft-prose h2, .draft-prose h3 {
  line-height: 1.35;
  margin: 1.3em 0 .6em;
}
.draft-prose blockquote {
  margin: 20px 0;
  padding-left: 18px;
  border-left: 3px solid var(--line);
}
.draft-prose pre {
  white-space: pre-wrap;
}
.content-preview details {
  margin: 12px 0 20px;
}
.content-preview summary {
  cursor: pointer;
}
.content-preview textarea {
  margin-top: 12px;
}
.attachment {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
}
.attachment-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  border: 1px solid #d5ddd7;
  border-radius: 8px;
  background: #f5f7f2;
  overflow: hidden;
}
.attachment-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.files a {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.login {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 90% 15%, #d4e8cf, transparent 45%), #f1f4ed;
  padding: 24px;
}
.login-card {
  max-width: 530px;
  width: 100%;
  padding: 48px;
  background: #fff;
  border: 1px solid #dde5d9;
  border-radius: 22px;
  box-shadow: 0 24px 90px #254a3210;
}
.login-card .brand {
  display: block;
  margin-bottom: 62px;
}
.login-card h1 {
  font-size: 43px;
  line-height: 1.15;
  margin: 16px 0 22px;
}
.login-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.google {
  width: 100%;
  margin: 20px 0 5px;
  justify-content: space-between;
}
.login-card .muted {
  font-size: 11px;
}
.login-card footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 20px;
  color: #899282;
  font-size: 11px;
}
#login-error {
  color: #9b3d24;
}
.board.development-board {
  grid-template-columns: repeat(5, minmax(185px, 1fr));
}
.development-board .card h3,
.development-text {
  overflow-wrap: anywhere;
}
.development-text {
  white-space: pre-wrap;
  line-height: 1.7;
}
.development-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.development-section {
  margin-top: 26px;
  min-width: 0;
}
.development-section h3,
.development-review h3 {
  font-size: 15px;
}
.development-patch {
  max-height: 350px;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  background: #f6f7f3;
  border-radius: 8px;
  font:
    12px/1.6 ui-monospace,
    monospace;
}
.development-link {
  display: inline-block;
  text-decoration: none;
  font-size: 12px;
}
.development-review {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.development-review textarea {
  width: 100%;
}
.development-review .muted {
  font-size: 12px;
  line-height: 1.6;
}
@media (min-width: 1750px) {
  .board {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 188px;
    padding: 28px 18px;
  }
  .workspace {
    margin-left: 188px;
  }
  .content {
    padding: 30px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .hero {
    align-items: start;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero .button {
    white-space: normal;
    max-width: 145px;
  }
}
@media (max-width: 600px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
  }
  .brand {
    font-size: 31px;
  }
  .brand small {
    font-size: 7px;
    margin-top: 7px;
  }
  .sidebar nav {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .sidebar nav a {
    font-size: 11px;
    padding: 10px;
    gap: 6px;
  }
  .sidebar-note {
    display: none;
  }
  .account {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding-top: 10px;
    font-size: 10px;
  }
  .workspace {
    margin: 0;
  }
  .topbar {
    height: 60px;
    padding: 0 20px;
  }
  .content {
    padding: 26px 20px;
  }
  .hero {
    flex-wrap: wrap;
    margin-bottom: 24px;
    gap: 18px;
  }
  .hero .button {
    max-width: none;
  }
  .hero p {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .metric {
    padding: 16px;
  }
  .metric strong {
    font-size: 28px;
  }
  .metrics {
    gap: 10px;
    margin-bottom: 30px;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading p {
    max-width: 220px;
  }
  .archive {
    font-size: 11px;
  }
  .board {
    grid-template-columns: repeat(6, 240px);
    gap: 10px;
  }
  .board.development-board {
    grid-template-columns: repeat(5, 240px);
  }
  .toolbar {
    gap: 10px;
  }
  .toolbar #count {
    white-space: nowrap;
    font-size: 10px;
  }
  .login-card {
    padding: 28px;
  }
  .login-card h1 {
    font-size: 35px;
  }
  dialog {
    padding: 20px;
  }
  .draft {
    padding: 13px;
  }
  .sidebar nav a span {
    max-width: 85px;
  }
}
.workspace-content {
  display: grid;
  gap: 22px;
}
.workspace-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 25px;
  min-width: 0;
}
.workspace-panel > p {
  margin: 8px 0 18px;
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 22px;
}
.event-row {
  display: flex;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid #edf0e9;
}
.event-row:last-child {
  border-bottom: 0;
}
.event-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf4eb;
  color: var(--green);
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.event-row > div {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.event-row a {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.event-label {
  font-size: 10px;
  color: var(--muted);
}
a.event-title {
  display: block;
  color: #284738;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.event-title:hover {
  text-decoration: underline;
}
.event-row time {
  font-size: 11px;
}
.space-link {
  display: block;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  color: #254f3b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.space-link:last-child {
  padding-bottom: 0;
}
.space-link p {
  font-weight: 400;
  margin-bottom: 0;
}
.empty-state {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  padding: 20px 0;
}
.monitoring-note {
  font-size: 12px;
  color: #536d5b;
  padding: 14px 16px;
  background: #eaf2e7;
  border-radius: 9px;
  margin: 0;
}
.warning-note {
  background: #fff1dc;
  color: #85652b;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 15px;
  margin: 18px 0;
}
.source-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 21px;
  min-width: 0;
}
.source-card h3 {
  font-size: 16px;
  margin: 0 0 15px;
}
.state {
  display: inline-block;
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 10px;
  line-height: 1.5;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.state-ok {
  background: #e6f3e8;
  color: #21633c;
}
.state-error {
  background: #ffe9e4;
  color: #923c28;
}
.state-warning {
  background: #fff0d8;
  color: #856122;
}
.state-unknown {
  background: #edf0eb;
  color: #5e6e61;
}
.diagnostic {
  display: block;
  overflow-wrap: anywhere;
  font-size: 10px;
  margin-top: 9px;
  color: #677662;
}
.job-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.job-row > div {
  min-width: 0;
}
.native-task {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.native-task h3 {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}
.native-task p {
  margin: 0;
  grid-column: 1/-1;
}
.native-task .state {
  align-self: start;
}
.workspace-panel select {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 10px;
  font-size: 12px;
  margin: 14px 0;
  max-width: 100%;
}
.board-counts {
  margin: 14px 0;
}
.user-card {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.user-card h3 {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.user-card .button {
  margin-top: 17px;
}
.permission-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  margin: 12px 0;
}
.audit-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.workspace-panel .quiet {
  text-decoration: none;
  display: inline-block;
}
.workspace-panel input[type="search"] {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 11px;
  max-width: 420px;
  width: 100%;
  font: inherit;
  font-size: 12px;
}
.sidebar nav {
  margin-top: 38px;
}
.sidebar-note {
  margin-top: auto;
  padding-top: 24px;
}
@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .sidebar {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 15px;
  }
  .sidebar nav {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .sidebar nav a {
    padding: 9px;
    font-size: 11px;
  }
  .sidebar nav a span {
    max-width: none;
  }
  .account {
    grid-column: 1;
  }
  .workspace-panel {
    padding: 18px;
  }
  .source-grid {
    grid-template-columns: 1fr;
  }
  .home-grid {
    gap: 15px;
  }
  .native-task {
    grid-template-columns: 1fr;
  }
  .native-task .state {
    justify-self: start;
  }
  .job-row {
    align-items: start;
  }
  .workspace-content {
    gap: 15px;
  }
}

/* Geo: Geovelo identity and responsive editorial workspace. */
:root {
  font-family: "Nunito Sans", system-ui, sans-serif;
  background: #fff;
  color: #183c32;
  --green: #005a44;
  --line: #e5ece8;
  --muted: #687c73;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mobile-only {
  display: none;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
}
.sidebar {
  width: 232px;
  padding: 28px 18px;
  background: #005a44;
  color: #fff;
  z-index: 30;
  display: flex;
  grid-template-columns: none;
  gap: 0;
  height: 100dvh;
  overflow-y: auto;
}
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 154px;
  height: 118px;
  background: #e8fff2;
  border-radius: 12px;
  letter-spacing: normal;
  line-height: normal;
}
.brand img {
  display: block;
  width: 118px;
  height: 91px;
}
.sidebar nav {
  display: grid;
  margin-top: 36px;
  gap: 8px;
  overflow: visible;
}
.sidebar nav a {
  align-items: center;
  min-height: 48px;
  padding: 12px;
  gap: 12px;
  font-size: 14px;
  font-weight: 650;
  color: #d7eee4;
  border-radius: 8px;
  white-space: normal;
}
.sidebar nav a span {
  max-width: none;
}
.sidebar nav a .icon,
.sidebar .text-button .icon,
.sidebar-close .icon {
  filter: brightness(0) invert(1);
}
.sidebar nav a.active {
  background: #3dd693;
  color: #003d2e;
}
.sidebar nav a.active .icon {
  filter: none;
}
.sidebar nav a:hover {
  background: #14725a;
}
.sidebar nav a.active:hover {
  background: #66e1ab;
}
.account {
  margin-top: auto;
  padding-top: 22px;
  border-color: #438774;
  font-size: 12px;
  grid-column: auto;
}
.account-label {
  font-size: 10px;
  color: #b5d7c8;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.text-button {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  color: #e5f8ee;
}
.workspace {
  margin-left: 232px;
  min-height: 100dvh;
  position: relative;
}
.topbar {
  height: 64px;
  padding: 0 32px;
  border-color: #edf1ee;
}
.topbar-context,
.quiet,
.button {
  display: flex;
  gap: 9px;
  align-items: center;
}
.quiet {
  justify-content: center;
  min-height: 44px;
}
.content {
  padding: 32px;
  position: relative;
  z-index: 1;
}
.hero {
  margin-bottom: 25px;
  gap: 24px;
}
.hero h1 {
  font-size: 42px;
  letter-spacing: -1.4px;
  font-weight: 800;
  margin: 0 0 10px;
}
.hero p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: var(--muted);
}
.button {
  background: #005a44;
  border-radius: 8px;
  min-height: 46px;
  font-weight: 750;
  padding: 12px 18px;
  white-space: nowrap;
}
.button .icon {
  filter: brightness(0) invert(1);
}
.metrics {
  gap: 0;
  margin: 0 0 30px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metric,
.metric.highlight {
  display: grid;
  grid-template-columns: 32px auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 7px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 18px 20px;
  min-width: 0;
}
.metric:first-child {
  padding-left: 0;
}
.metric:last-child {
  border-right: 0;
}
.metric .metric-icon {
  grid-column: 1;
  grid-row: 1/3;
  width: 28px;
  height: 28px;
  opacity: 0.7;
}
.metric strong {
  grid-column: 2;
  grid-row: 1;
  font-size: 30px;
  line-height: 1;
  margin: 0;
  font-weight: 800;
}
.metric .metric-label {
  grid-column: 3;
  grid-row: 1;
  font-size: 12px;
  color: #35594b;
  line-height: 1.3;
}
.metric small {
  grid-column: 2/4;
  grid-row: 2;
  font-size: 10px;
  line-height: 1.4;
  color: var(--muted);
}
.board-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 300px;
  max-width: 100%;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
}
.search input {
  border: 0;
  padding: 10px 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  font-size: 12px;
}
.board-tools {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
}
.archive {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
}
.archive input {
  accent-color: var(--green);
}
.archive .icon {
  width: 16px;
  height: 16px;
}
.board {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  max-width: 100%;
}
.column {
  background: #f5f7f5;
  border-radius: 10px;
  padding: 12px;
  min-height: 480px;
  min-width: 0;
}
.column[data-stage="review"] {
  background: #e7f6ee;
}
.column-title {
  font-size: 12px;
  font-weight: 800;
  gap: 5px;
  margin-bottom: 16px;
  white-space: normal;
  min-height: 24px;
}
.column-title span {
  font-size: 10px;
  min-width: 20px;
  height: 20px;
  padding: 3px 6px;
  background: #e7ece7;
  border-radius: 6px;
}
.column[data-stage="review"] .column-title span {
  background: #c8ead9;
}
.card {
  padding: 12px;
  border: 1px solid #dfe8e1;
  border-radius: 9px;
  box-shadow: 0 2px 4px #003d2e06;
  width: 100%;
  text-align: left;
}
.card h3 {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  margin: 13px 0 20px;
  overflow-wrap: anywhere;
}
.tag {
  font-size: 9px;
  padding: 3px 5px;
  background: #edf5f0;
  color: #476858;
  margin-right: 3px;
  margin-bottom: 4px;
  display: inline-block;
  border-radius: 4px;
}
.card-footer {
  display: flex;
  gap: 5px;
  align-items: center;
  color: #7b8b82;
}
.card-footer .icon {
  width: 13px;
  height: 13px;
  opacity: 0.6;
}
.card-footer time {
  font-size: 9px;
  margin: 0;
}
.card-footer .card-arrow {
  margin-left: auto;
}
.column-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 260px;
  text-align: center;
  padding: 0 5px;
  color: #809186;
  font-size: 11px;
  line-height: 1.6;
}
.column-empty .icon {
  width: 36px;
  height: 36px;
  opacity: 0.18;
}
.column-empty p {
  margin: 0;
}
.board-footnote {
  font-size: 11px;
}
.corner-art {
  display: block;
  width: 200px;
  position: absolute;
  right: 12px;
  bottom: 0;
  opacity: 0.65;
  pointer-events: none;
}
.workspace-content {
  padding-bottom: 80px;
}
.login {
  background: #f3faf6;
}
.login-card {
  box-shadow: 0 12px 70px #005a4410;
}
.login-card .brand {
  margin: 0 auto 28px;
}
.login-card .button {
  justify-content: space-between;
}
.login-card h1 {
  font-weight: 800;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #6fa5ff;
  outline-offset: 3px;
}
@media (max-width: 1199px) {
  .board {
    grid-template-columns: repeat(6, 190px);
  }
  .metric,
  .metric.highlight {
    padding: 16px 10px;
    column-gap: 6px;
  }
  .metric .metric-icon {
    width: 22px;
    height: 22px;
  }
  .metric strong {
    font-size: 25px;
  }
  .metric .metric-label {
    font-size: 11px;
  }
}
@media (max-width: 1023px) {
  .mobile-only {
    display: inline-flex;
  }
  .sidebar {
    width: 260px;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    inset: 0 auto 0 0;
    padding: 24px 18px;
  }
  .sidebar nav {
    display: grid;
    margin-top: 28px;
  }
  .sidebar .brand {
    width: 154px;
  }
  .sidebar #sidebar-close .icon {
    filter: brightness(0) invert(1);
  }
  body.nav-open .sidebar {
    transform: translateX(0);
  }
  body.nav-open {
    overflow: hidden;
  }
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    background: #002d2280;
    z-index: 20;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 64px;
    padding: 0 20px;
  }
  .content {
    padding: 28px 20px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .account {
    display: block;
  }
  .topbar-context {
    gap: 8px;
  }
}
@media (max-width: 600px) {
  .sidebar {
    display: flex;
  }
  .content {
    padding: 24px 16px;
  }
  .topbar {
    padding: 0 12px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .slash {
    margin: 0 5px;
  }
  .topbar .quiet {
    font-size: 11px;
    padding: 8px;
  }
  .hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 14px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 20px;
  }
  .metric,
  .metric.highlight,
  .metric:first-child {
    padding: 15px 8px;
    border-bottom: 1px solid var(--line);
  }
  .metric:nth-child(2) {
    border-right: 0;
  }
  .metric .metric-icon {
    width: 20px;
    height: 20px;
  }
  .metric {
    grid-template-columns: 22px auto 1fr;
  }
  .metric small {
    font-size: 9px;
  }
  .metric strong {
    font-size: 26px;
  }
  .metric .metric-label {
    font-size: 11px;
  }
  .board-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }
  .search {
    width: 100%;
  }
  .board-tools {
    justify-content: space-between;
  }
  .board {
    grid-template-columns: repeat(6, 220px);
  }
  .column {
    min-height: 440px;
  }
  .corner-art {
    width: 140px;
    opacity: 0.4;
  }
  .login-card {
    padding: 28px 22px;
  }
  .login-card h1 {
    font-size: 28px;
  }
  .workspace-panel {
    padding: 18px;
  }
  .icon-button {
    flex-shrink: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sidebar {
    transition: none;
  }
}
/* Final readability and navigation adjustments after browser review. */
.metric .metric-label {
  font-size: 14px;
}
.metric small {
  font-size: 12px;
}
.metric .metric-icon {
  opacity: 0.85;
  filter: invert(24%) sepia(44%) saturate(1237%) hue-rotate(113deg)
    brightness(92%) contrast(105%);
}
.column-title {
  font-size: 14px;
}
.tag {
  font-size: 11px;
}
.card-footer time {
  font-size: 10px;
}
.column-empty {
  font-size: 13px;
}
.column-empty .icon {
  opacity: 0.45;
}
.search input,
.archive {
  font-size: 14px;
}
.sidebar nav a {
  font-size: 15px;
}
.card-footer time::before {
  display: none;
}
.card-footer time {
  padding: 0;
  border: 0;
}
@media (min-width: 1024px) {
  .mobile-only {
    display: none;
  }
}
@media (max-width: 1199px) {
  .metric .metric-label {
    font-size: 12px;
  }
  .metric small {
    font-size: 10px;
  }
  .column-title {
    font-size: 13px;
  }
}
@media (max-width: 600px) {
  .metric .metric-label {
    font-size: 11px;
  }
  .metric small {
    font-size: 9px;
  }
}
@media (max-width: 1023px) {
  .sidebar {
    position: fixed;
  }
  .sidebar nav {
    flex-wrap: nowrap;
  }
  .sidebar nav a {
    padding: 12px;
    gap: 12px;
    font-size: 15px;
  }
}

.publication-stage {
  padding: clamp(10px, 3vw, 28px);
  background: #eef0f2;
  border-radius: 10px;
}
.publication-stage .rendered-draft {
  margin: auto;
  max-width: 560px;
  padding: 0;
  overflow: hidden;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  font-size: 14px;
  color: #202124;
  box-shadow: 0 2px 5px #17252a0a;
}
.publication-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
}
.publication-author strong, .publication-author small { display: block; }
.publication-author small { color: #65676b; font-size: 12px; margin-top: 2px; }
.publication-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: #005a44;
  color: white;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
}
.publication-menu { margin-left: auto; font-size: 24px; color: #65676b; }
.publication-caption { padding: 0 16px 12px; }
.publication-caption p:last-child { margin-bottom: 0; }
.publication-media { position: relative; background: #f5f5f5; }
.publication-media img { display: block; width: 100%; height: auto; max-height: 650px; object-fit: contain; }
.publication-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 8px;
  background: white;
}
.publication-carousel button { padding: 6px 12px; }
.publication-image-count { font-size: 12px; color: #65676b; }
.publication-footer {
  border-top: 1px solid #e4e6e8;
  padding: 14px 16px;
  color: #65676b;
  font-size: 12px;
  white-space: pre-wrap;
}
.publication-linkedin { border-radius: 8px; }
.publication-linkedin .publication-avatar { border-radius: 2px; }
.publication-facebook { border-radius: 10px; font-size: 15px; }
.publication-instagram { border-radius: 3px; }
.publication-instagram .publication-caption { padding-top: 14px; }
.publication-instagram .publication-footer { font-size: 25px; color: #222; }
.publication-stage .publication-wordpress {
  max-width: 760px;
  padding: clamp(20px, 5vw, 52px);
  font-size: 17px;
  line-height: 1.8;
}
.publication-wordpress h4 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.025em; }
.publication-blog-label { color: #005a44; letter-spacing: .12em; font-size: 11px; font-weight: 700; margin: 0 0 20px; }
.publication-wordpress .publication-media { margin: 24px 0; }
.preview-note { font-size: 12px; }
@media (max-width: 600px) {
  .publication-stage { padding: 8px; }
  .publication-footer { font-size: 11px; padding: 12px; }
}

/* Keep communication review focused; full material remains expandable. */
.publication-stage.publication-collapsed {
  max-height: 520px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 88%, transparent);
}
.subject-details, .validation-notes {
  margin: 14px 0;
}
.subject-details summary, .validation-notes summary {
  cursor: pointer;
  padding: 8px 0;
}
.subject-details textarea { margin-top: 10px; }
.validation-notes summary { color: #88601f; }

.development-captures {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px;}
.development-captures figure {margin:0;min-width:0;}
.development-captures img {display:block;width:100%;max-height:300px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#f7f8fa;}
.development-captures figcaption {font-size:12px;color:var(--muted);margin-top:8px;overflow-wrap:anywhere;}
@media(max-width:600px){.development-captures{grid-template-columns:1fr;}}

.communication-channel-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #dce6e2;
}
.communication-channel-tabs [role="tab"] {
  flex-shrink: 0;
}
.communication-channel-tabs [aria-selected="true"] {
  background: #005a44;
  color: white;
  border-color: #005a44;
}
.variant[hidden] { display: none; }
