:root {
  --ink: #202c26;
  --muted: #626a62;
  --paper: #f7f8f4;
  --line: #e2e6dd;
  --green: #365c45;
  --lime: #d8eb9b;
  --white: #fff;
  --danger: #a83232;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button {
  transition:
    background 0.16s,
    border-color 0.16s;
}
button:hover:not(:disabled) {
  filter: brightness(0.96);
}
:focus-visible {
  outline: 3px solid #668641;
  outline-offset: 4px;
}
a {
  color: inherit;
}
button,
input,
select {
  border-radius: 9px;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 550;
  letter-spacing: -1.6px;
  line-height: 1.16;
  margin-bottom: 13px;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
  font-weight: 550;
}
h3 {
  font-size: 18px;
  letter-spacing: -0.4px;
  font-weight: 600;
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin-bottom: 17px;
  color: var(--muted);
}
.primary,
.secondary,
.danger {
  padding: 13px 19px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.primary {
  background: var(--ink);
  color: white;
}
.secondary {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}
.danger {
  background: #a83232;
  color: white;
}
.full {
  width: 100%;
  justify-content: space-between;
}
.text-button {
  padding: 8px 0;
  background: transparent;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.icon-button {
  display: grid;
  place-items: center;
  min-width: 32px;
  min-height: 32px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 650;
  font-size: 21px;
  letter-spacing: -0.7px;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 33px;
  height: 36px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 9px;
  font-size: 27px;
  margin-right: 10px;
  padding-bottom: 5px;
}
.brand-dot {
  color: #7a9950;
}
.small-dot,
.connection i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #789f4d;
  border-radius: 50%;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  padding: 48px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #e9eee2;
  min-height: 100vh;
}
.auth-story h1 {
  font-size: clamp(45px, 5.4vw, 80px);
  letter-spacing: -3.8px;
  line-height: 1.06;
}
.auth-story .eyebrow {
  color: #536644;
}
.story-copy {
  color: #62705d;
  font-size: 14px;
  line-height: 1.9;
}
.story-tiles {
  display: flex;
  gap: 16px;
  margin-top: 35px;
}
.story-tiles > div {
  position: relative;
  border: 1px solid #c9d4bc;
  border-radius: 14px;
  flex: 1;
  min-height: 170px;
  padding: 20px;
  overflow: hidden;
}
.story-tiles > div:nth-child(2) {
  background: var(--ink);
  color: #e5eadf;
  border-color: var(--ink);
}
.story-tiles span:first-child {
  font-size: 9px;
  letter-spacing: 1.6px;
}
.story-tiles strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-top: 24px;
  line-height: 1.5;
}
.tile-symbol {
  position: absolute;
  right: 14px;
  bottom: -12px;
  font-size: 65px;
  opacity: 0.25;
}
.story-footer {
  font-size: 9px;
  letter-spacing: 2px;
  margin: 30px 0 0;
  color: #6d7965;
}
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.auth-card {
  max-width: 350px;
  width: 100%;
}
.auth-card h2 {
  font-size: 33px;
  margin-bottom: 12px;
}
.auth-tabs {
  display: flex;
  background: #ecefe8;
  border-radius: 10px;
  padding: 4px;
  margin: 28px 0;
}
.auth-tabs button {
  flex: 1;
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  color: var(--muted);
}
.auth-tabs button[aria-pressed="true"] {
  background: white;
  color: var(--ink);
  box-shadow: 0 2px 4px #202c2609;
}
label {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-bottom: 18px;
}
input,
select {
  display: block;
  margin-top: 8px;
  width: 100%;
  border: 1px solid #dce1d5;
  color: var(--ink);
  background: white;
  padding: 12px;
  font-size: 13px;
  min-height: 43px;
}
input::placeholder {
  color: #979d92;
}
.auth-footnote {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 30px;
  font-size: 11px;
  color: var(--muted);
}
.form-message {
  font-size: 12px;
  line-height: 1.6;
  color: var(--danger);
  overflow-wrap: anywhere;
}
.form-message:empty {
  display: none;
}
.notice {
  padding: 14px;
  background: #edf2e4;
  border: 1px solid #d7e0ca;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.app-layout {
  display: grid;
  grid-template-columns: 234px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 33px 23px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: #f1f3ed;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #8b9186;
  margin: 55px 12px 16px;
}
.nav-item {
  display: flex;
  align-items: center;
  text-align: left;
  width: 100%;
  gap: 12px;
  padding: 13px 12px;
  margin: 4px 0;
  color: #727c6d;
  font-size: 12px;
  font-weight: 550;
  background: transparent;
}
.nav-item > span:first-child {
  font-size: 18px;
}
.nav-item.active {
  background: #e2e8d8;
  color: #2c482d;
}
.nav-count {
  margin-left: auto;
  background: #f5f7ef;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 10px;
}
.sidebar-note {
  margin-top: auto;
  padding: 20px 12px 30px;
}
.sidebar-note strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin: 12px 0;
}
.sidebar-note p {
  font-size: 11px;
  color: #808977;
  line-height: 1.8;
  margin-bottom: 10px;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #dde2d4;
  padding-top: 20px;
  min-width: 0;
}
.avatar {
  background: #dce6cc;
  border: 1px solid #cedcba;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 12px;
}
.sidebar-user > div {
  min-width: 0;
  flex: 1;
}
.sidebar-user strong {
  display: block;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user small {
  display: block;
  font-size: 9px;
  color: #899080;
  margin-top: 5px;
}
.account-menu {
  position: relative;
  flex-shrink: 0;
}
.account-menu-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 5;
  min-width: 170px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 12px 30px #17240e1c;
}
.account-menu-panel button {
  display: block;
  width: 100%;
  padding: 10px 11px;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  text-align: left;
}
.account-menu-panel button:hover,
.account-menu-panel button:focus-visible {
  background: #edf2e6;
}
.workspace {
  padding: 0 42px;
  min-width: 0;
}
.topbar {
  height: 84px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #80887b;
}
.topbar strong {
  font-weight: 500;
  color: var(--ink);
}
.crumb {
  padding: 0 12px;
  color: #b8bdb2;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 25px;
}
.connection {
  font-size: 10px;
}
.connection i {
  margin-right: 6px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 47px 0 30px;
}
.page-heading .muted {
  margin-bottom: 0;
}
.heading-dot {
  color: #82a24e;
}
.summary-strip {
  border: 1px solid var(--line);
  border-radius: 13px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  padding: 22px 5px;
  margin-bottom: 34px;
}
.summary-strip > div {
  padding: 0 24px;
  display: flex;
  gap: 15px;
  align-items: center;
  border-right: 1px solid var(--line);
}
.summary-strip > div:last-child {
  border: 0;
}
.summary-icon {
  display: grid;
  place-items: center;
  background: #f1f4eb;
  width: 39px;
  height: 39px;
  border-radius: 10px;
  font-size: 23px;
  color: #8b9c73;
}
.summary-strip strong {
  display: block;
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.4px;
}
.summary-strip div div span {
  display: block;
  font-size: 10px;
  color: #7f8778;
  margin-top: 6px;
}
.section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter {
  background: transparent;
  color: #818779;
  font-size: 11px;
  padding: 9px 13px;
}
.filter.active {
  background: #e6ebde;
  color: #314829;
}
.widget-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.widget {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  min-width: 0;
  overflow: hidden;
}
.widget-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 19px 19px 10px;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #eef2e6;
  color: #668442;
  font-size: 19px;
  flex-shrink: 0;
}
.service-icon.github {
  background-color: #24292f;
  background-image: url("/github-mark.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
  color: transparent;
}
.service-icon.rss {
  background: #fcf0e4;
  color: #b88047;
}
.widget-head .eyebrow {
  font-size: 9px;
  letter-spacing: 1.4px;
  margin: 0;
}
.widget-head .drag-handle {
  margin-left: auto;
  cursor: grab;
  font-size: 18px;
}
.widget h3 {
  padding: 0 19px;
  margin: 6px 0;
  font-size: 16px;
}
.widget-context {
  padding: 0 19px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 16px;
}
.widget-body {
  min-height: 153px;
  padding: 5px 19px 20px;
  overflow-wrap: anywhere;
}
.metric {
  font-size: 49px;
  letter-spacing: -2px;
  font-weight: 450;
  margin: 8px 0 10px;
  line-height: 1.1;
}
.metric small {
  font-size: 22px;
  color: #8e9982;
  letter-spacing: -0.5px;
  margin-left: 5px;
}
.metric.condition {
  font-size: 30px;
  letter-spacing: -1px;
}
.metric-caption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.weather-symbol {
  float: right;
  font-size: 47px;
  color: #b2c582;
}
.widget-links {
  padding: 0;
  margin: 0;
  list-style: none;
}
.widget-links li {
  padding: 10px 0;
  border-bottom: 1px solid #eef0e9;
  font-size: 13px;
  line-height: 1.5;
}
.widget-links li:last-child {
  border: 0;
}
.widget-links a {
  text-decoration: none;
}
.widget-links a:hover {
  text-decoration: underline;
}
.widget-links small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.widget-footer {
  border-top: 1px solid #edf0e8;
  padding: 10px 15px;
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}
.widget-footer .timestamp {
  font-size: 9px;
  color: #858d7e;
  margin-right: auto;
}
.widget-footer button {
  background: transparent;
  color: #75816b;
  font-size: 12px;
  min-width: 27px;
  min-height: 28px;
}
.widget-footer button[data-action="delete"] {
  color: #a86767;
}
.widget-footer .edit-button {
  font-size: 10px;
}
.widget-error {
  font-size: 12px;
  line-height: 1.6;
  color: #92604f;
  padding: 12px;
  background: #fcf7f1;
  border-radius: 7px;
}
.stale-note {
  font-size: 10px;
  color: #92604f;
  margin-top: 10px;
}
.loading {
  color: var(--muted);
  font-size: 12px;
  padding-top: 25px;
}
.empty-state {
  grid-column: 1/-1;
  min-height: 240px;
  border: 1px dashed #cbd5bf;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  background: #f2f5ec;
}
.empty-symbol {
  font-size: 34px;
  color: #8ba26c;
  background: #e6eddc;
  width: 63px;
  height: 63px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  margin-bottom: 23px;
}
.empty-state h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.empty-state p {
  max-width: 370px;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  padding: 28px 0;
  font-size: 9px;
  color: #909887;
  margin-top: 15px;
}
.workspace-footer span:last-child {
  letter-spacing: 1.5px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service-card,
.account-card {
  border: 1px solid var(--line);
  padding: 25px;
  background: white;
  border-radius: 14px;
}
.service-card .service-icon {
  width: 46px;
  height: 46px;
  font-size: 26px;
  margin-bottom: 25px;
}
.service-card p {
  min-height: 65px;
}
.service-card ul {
  padding-left: 17px;
  font-size: 13px;
  color: var(--muted);
  line-height: 2.4;
  margin-bottom: 25px;
}
.service-card .badge {
  margin-bottom: 10px;
}
.badge {
  display: inline-block;
  border-radius: 5px;
  background: #ebf1df;
  color: #617945;
  padding: 5px 8px;
  font-size: 10px;
}
.badge.inactive {
  background: #f1f2ee;
  color: var(--muted);
}
.integration-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 650px;
  margin-top: 25px;
}
.account-card {
  max-width: 540px;
}
.account-card h2 {
  margin-top: 25px;
}
.account-card dt {
  font-size: 11px;
  color: var(--muted);
  margin: 24px 0 7px;
}
.account-card dd {
  margin: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.account-card .muted {
  margin-top: 30px;
}
dialog {
  width: 480px;
  max-width: calc(100vw - 32px);
  max-height: 90dvh;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 28px;
  color: var(--ink);
  box-shadow: 0 30px 100px #17240e25;
}
dialog::backdrop {
  background: #18221965;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.dialog-header h2 {
  margin-bottom: 12px;
}
.dialog-header .eyebrow {
  margin-bottom: 10px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.field-help {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: -7px;
}
.form-section {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0 0;
  padding: 20px 0 0;
}
.form-section legend {
  padding: 0 8px 0 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-field {
  margin-bottom: 16px;
}
.form-section > .field-help {
  margin: 0 0 16px;
}
.form-section .form-field:last-child {
  margin-bottom: 0;
}
.skip-link {
  position: fixed;
  left: 15px;
  top: -80px;
  padding: 14px;
  background: white;
  z-index: 10;
}
.skip-link:focus {
  top: 15px;
}
.drag-over {
  outline: 2px dashed #779453;
  outline-offset: 3px;
}
.dragging {
  opacity: 0.5;
}
@media (min-width: 1500px) {
  .workspace {
    max-width: 1500px;
    width: 100%;
    margin: auto;
  }
  .widget-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1150px) {
  .widget-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace {
    padding: 0 25px;
  }
  .app-layout {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 17px;
    padding-right: 17px;
  }
  .summary-strip > div {
    padding: 0 14px;
    gap: 10px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card p {
    min-height: 0;
  }
  .auth-story {
    padding: 35px;
  }
  .story-tiles {
    flex-direction: column;
  }
  .story-tiles > div {
    min-height: 130px;
  }
  .story-tiles strong {
    margin-top: 12px;
  }
}
@media (max-width: 760px) {
  .app-layout {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar nav {
    grid-column: 1/-1;
    display: flex;
    gap: 6px;
    order: 3;
  }
  .nav-item {
    justify-content: center;
    padding: 10px;
    white-space: nowrap;
  }
  .nav-label,
  .sidebar-note,
  .sidebar-user small,
  .sidebar-user strong,
  .nav-count {
    display: none;
  }
  .sidebar-user {
    border: 0;
    padding: 0;
  }
  .sidebar-user > div {
    display: none;
  }
  .sidebar .brand {
    font-size: 18px;
  }
  .workspace {
    padding: 0 20px;
  }
  .topbar {
    height: 60px;
    font-size: 10px;
  }
  .topbar > div {
    gap: 10px;
  }
  .connection {
    display: none;
  }
  .page-heading {
    margin: 30px 0 25px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .page-heading .eyebrow {
    font-size: 9px;
  }
  .page-heading h1 {
    font-size: 32px;
  }
  .page-heading .muted {
    font-size: 12px;
  }
  .summary-strip {
    padding: 18px 0;
    margin-bottom: 20px;
  }
  .summary-strip > div {
    padding: 0 12px;
  }
  .summary-icon {
    display: none;
  }
  .summary-strip strong {
    font-size: 17px;
  }
  .summary-strip div div span {
    font-size: 9px;
    line-height: 1.5;
  }
  .widget-grid {
    gap: 15px;
  }
  .section-toolbar {
    align-items: flex-start;
  }
  .filters {
    gap: 0;
  }
  .filter {
    padding: 9px 10px;
    font-size: 10px;
  }
  .section-toolbar > .text-button {
    font-size: 10px;
    white-space: nowrap;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .auth-layout {
    display: block;
  }
  .auth-story {
    min-height: 0;
    padding: 25px;
  }
  .auth-story > div,
  .story-footer {
    display: none;
  }
  .auth-main {
    padding: 40px 25px;
  }
  .workspace-footer {
    font-size: 8px;
  }
  dialog {
    padding: 22px;
  }
}
@media (max-width: 500px) {
  .widget-grid {
    grid-template-columns: 1fr;
  }
  .widget-body {
    min-height: 145px;
  }
  .summary-strip > div {
    padding: 0 9px;
  }
  .summary-strip strong {
    font-size: 16px;
  }
  .nav-item {
    font-size: 11px;
  }
  .section-toolbar {
    gap: 2px;
  }
  .filter {
    padding: 9px 8px;
  }
  .workspace-footer {
    gap: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Connected services and accessible feedback. */
.form-message[data-kind="success"] {
  color: #365c45;
}
.form-message[data-kind="error"] {
  color: #a83232;
}
.github-panel {
  max-width: none;
  margin-top: 24px;
}
.github-panel h2 {
  margin-top: 16px;
}
.github-panel .muted {
  margin-top: 0;
  max-width: 650px;
}
.service-card .service-help {
  min-height: 0;
  margin: 14px 0 0;
  font-size: 11px;
}
.service-card[aria-busy="true"] {
  opacity: 0.75;
}
#account-page > .secondary {
  margin-top: 20px;
}
#services-message:not(:empty) {
  padding: 12px 15px;
  border: 1px solid currentColor;
  border-radius: 9px;
  margin-bottom: 20px;
}
#github-connection-status {
  font-weight: 600;
}
#github-disconnect {
  margin-left: 12px;
}
@media (max-width: 500px) {
  .widget-footer button {
    min-width: 32px;
    min-height: 36px;
  }
  .widget-footer .timestamp {
    flex-basis: 100%;
    padding-bottom: 4px;
  }
}
