:root {
  font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;
  color:#202923;
  background:#f6f8f5;
  font-synthesis:none;
  --green:#286749;
  --muted:#7b857d;
  --line:#e4e9e2}

* {
  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:.55;
  cursor:wait}
button:focus-visible,a:focus-visible {
  outline:3px solid #a1cbb0;
  outline-offset:3px}
a {
  color:inherit;
  text-decoration:none}
[hidden] {
  display:none!important}
h1,h2,p {
  margin-top:0}
h1 {
  font-size:32px;
  letter-spacing:-1px;
  margin-bottom:12px;
  font-weight:650}
h2 {
  font-size:23px;
  margin-bottom:12px}
small {
  font-size:12px;
  line-height:1.8;
  color:var(--muted)}
label {
  display:block;
  font-size:13px;
  font-weight:550;
  margin:20px 0 0}
input,select {
  display:block;
  width:100%;
  min-width:0;
  padding:12px 13px;
  border:1px solid #dce3da;
  border-radius:8px;
  background:#fff;
  outline:none;
  font-size:13px;
  color:#26382c;
  margin-top:8px}
input:focus,select:focus {
  border-color:#739780;
  box-shadow:0 0 0 3px #e7f0e8}
input::placeholder {
  color:#9ca39d}
.muted {
  color:var(--muted);
  font-size:14px;
  line-height:1.8}
.eyebrow {
  font-size:10px;
  letter-spacing:2px;
  font-weight:650;
  color:#809384;
  margin-bottom:13px}
.brand {
  display:flex;
  gap:12px;
  align-items:center;
  font-size:15px;
  font-weight:650;
  line-height:1.5}
.brand-icon {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:37px;
  height:39px;
  background:var(--green);
  color:white;
  border-radius:11px;
  font-size:25px;
  font-weight:700;
  flex-shrink:0}
.brand-sub {
  display:block;
  font-size:9px;
  letter-spacing:1.8px;
  color:#8d9b90;
  font-weight:500}
.primary,.secondary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:11px 17px;
  border-radius:8px;
  font-size:13px;
  white-space:nowrap;
  min-height:40px}
.primary {
  background:var(--green);
  border:1px solid var(--green);
  color:white}
.primary:hover {
  background:#1e543a}
.secondary {
  background:#fff;
  border:1px solid var(--line);
  color:#536057}
.secondary:hover {
  background:#f3f6f1}
.large {
  width:100%;
  padding:14px 18px;
  justify-content:space-between}
.icon-button {
  border:0;
  background:transparent;
  font-size:23px;
  color:#819084;
  line-height:1;
  padding:6px}
.text-button {
  border:0;
  padding:0;
  background:none;
  color:#728377;
  font-size:11px}
.auth-layout {
  min-height:100vh;
  display:grid;
  grid-template-columns:1.1fr 1fr}
.auth-intro {
  background:#e9f0e5;
  padding:50px 65px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:740px}
.auth-intro h1 {
  font-size:58px;
  line-height:1.35;
  letter-spacing:-2px;
  color:#2e503a}
.intro-copy {
  font-size:16px;
  line-height:2;
  color:#738270}
.flow {
  display:flex;
  gap:18px;
  align-items:center;
  font-size:12px;
  color:#52705a}
.flow b {
  color:#9cae99}
.flow span {
  padding:12px 16px;
  border:1px solid #cedccb;
  border-radius:8px}
.auth-form-wrap {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:45px}
.auth-form {
  max-width:380px;
  width:100%}
.auth-form h2 {
  margin-top:22px;
  font-size:29px}
.label-pill {
  display:inline-block;
  padding:5px 10px;
  border:1px solid #dce6d9;
  border-radius:5px;
  color:#64816b;
  font-size:11px}
.auth-footer {
  font-size:11px;
  color:#94a091;
  line-height:1.8;
  text-align:center;
  margin-top:26px}
.form-error {
  font-size:12px;
  color:#b84937;
  line-height:1.8;
  margin:16px 0}
.form-error:empty {
  margin:20px 0 0}
.app-layout {
  display:flex;
  min-height:100vh}
.sidebar {
  width:234px;
  flex-shrink:0;
  background:#fff;
  border-right:1px solid var(--line);
  padding:30px 22px;
  display:flex;
  flex-direction:column;
  position:fixed;
  inset:0 auto 0 0}
.nav-caption {
  font-size:10px;
  color:#9ba499;
  margin:53px 14px 14px;
  letter-spacing:1px}
.nav-item {
  display:flex;
  width:100%;
  align-items:center;
  gap:12px;
  border:0;
  border-radius:8px;
  background:none;
  color:#7e897d;
  padding:13px 15px;
  font-size:13px;
  margin:4px 0;
  text-align:left}
.nav-item>span:first-child {
  font-size:19px;
  line-height:1}
.nav-item.active {
  background:#eaf1e7;
  color:#35643f;
  font-weight:600}
.count {
  margin-left:auto;
  font-size:10px;
  background:#d9e7d6;
  border-radius:5px;
  padding:2px 6px}
.sidebar-note {
  margin-top:auto;
  margin-bottom:25px;
  padding:18px 13px;
  border:1px solid #e5ece2;
  border-radius:9px;
  background:#fafcf8;
  font-size:12px;
  color:#55725c;
  line-height:2}
.sidebar-note small {
  display:block;
  padding-left:14px;
  font-size:10px;
  color:#92a08e;
  margin-top:5px}
.live-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:#71a57b;
  border-radius:50%;
  margin-right:7px;
  vertical-align:middle}
.account {
  display:flex;
  align-items:center;
  gap:10px;
  padding-top:20px;
  border-top:1px solid var(--line)}
.account strong {
  display:block;
  font-size:11px;
  max-width:110px;
  overflow:hidden;
  text-overflow:ellipsis}
.account .icon-button {
  margin-left:auto}
.avatar {
  background:#edf2e9;
  border:1px solid #dfe8da;
  border-radius:50%;
  padding:8px;
  color:#7c917b;
  font-size:12px}
.main {
  margin-left:234px;
  flex:1;
  min-width:0}
.topbar {
  height:72px;
  background:#ffffffb8;
  border-bottom:1px solid var(--line);
  padding:0 42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:11px;
  color:#9ba397}
.topbar b {
  margin:0 14px;
  color:#ced5ca;
  font-weight:400}
.topbar #breadcrumb {
  color:#61715f}
.topbar-label {
  font-size:10px;
  letter-spacing:.4px}
.workspace {
  max-width:1400px;
  margin:auto;
  padding:43px 42px}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:30px}
.page-heading .muted {
  margin:0;
  font-size:13px}
.page-heading .primary {
  align-self:center}
.summary-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-bottom:36px}
.summary-grid article {
  border:1px solid var(--line);
  background:#fff;
  border-radius:11px;
  padding:21px 24px}
.summary-grid article>span {
  font-size:11px;
  color:#84907f}
.summary-grid strong {
  display:block;
  font-size:32px;
  line-height:1.7;
  font-weight:500;
  letter-spacing:-1px;
  color:#324d39}
.summary-grid small {
  font-size:10px;
  color:#98a191}
.toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:20px}
.toolbar input {
  width:270px;
  margin:0;
  background:#fbfcfa;
  padding:10px 13px;
  font-size:11px}
.section-label {
  font-size:14px;
  font-weight:600}
.section-label span {
  font-size:10px;
  color:#96a18f;
  background:#edf1e8;
  margin-left:10px;
  padding:3px 7px;
  border-radius:5px}
.project-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px}
.project-card {
  background:white;
  border:1px solid var(--line);
  border-radius:11px;
  padding:24px;
  min-width:0;
  display:flex;
  flex-direction:column}
.card-heading {
  display:flex;
  gap:13px;
  align-items:center;
  margin-bottom:22px}
.project-icon {
  width:39px;
  height:39px;
  border-radius:9px;
  background:#eef2e8;
  color:#789263;
  font-size:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0}
.card-name {
  font-size:15px;
  margin:0;
  overflow-wrap:anywhere}
.card-heading .badge {
  margin-left:auto;
  flex-shrink:0}
.badge {
  display:inline-block;
  border-radius:5px;
  background:#edf5ec;
  color:#64856b;
  padding:4px 7px;
  font-size:10px}
.badge.failed {
  background:#fceee9;
  color:#b56953}
.badge.syncing,.badge.queued {
  background:#f9f2df;
  color:#ad8837}
.badge.disabled,.badge.idle {
  background:#f0f2ee;
  color:#8f9789}
.repo-link {
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#899582;
  font-size:11px;
  margin-bottom:14px}
.branch-line {
  display:flex;
  gap:8px;
  align-items:center;
  font-size:11px;
  color:#899581}
.branch-tag {
  background:#f4f6f1;
  color:#67805c;
  padding:5px 9px;
  border-radius:5px;
  overflow-wrap:anywhere}
.card-meta {
  border-top:1px solid #edf0e9;
  padding-top:17px;
  margin-top:21px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  font-size:10px;
  color:#9aa290}
.card-meta strong {
  display:block;
  font-size:11px;
  font-weight:400;
  color:#62725b;
  margin-top:5px;
  overflow-wrap:anywhere}
.card-error {
  color:#ae705a;
  font-size:11px;
  line-height:1.7;
  margin:15px 0 0}
.card-actions {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:auto;
  padding-top:22px;
  flex-wrap:wrap}
.card-actions .secondary {
  font-size:11px;
  padding:8px 10px;
  min-height:32px}
.card-actions .text-button {
  padding:8px 2px;
  margin-left:auto}
.empty-state {
  grid-column:1/-1;
  background:#fff;
  border:1px dashed #d9e3d3;
  border-radius:12px;
  padding:55px 22px;
  text-align:center}
.empty-icon {
  font-size:37px;
  color:#90a481;
  margin-bottom:15px}
.empty-state h2 {
  font-size:18px;
  color:#5f7359}
.empty-state p {
  font-size:12px;
  color:#93a089;
  line-height:1.9}
.empty-state button {
  margin-top:12px}
.workspace-footer {
  display:flex;
  justify-content:space-between;
  gap:10px;
  border-top:1px solid var(--line);
  padding-top:22px;
  margin-top:40px;
  color:#a5afa0;
  font-size:10px}
.credential-card {
  display:flex;
  align-items:center;
  gap:20px;
  border:1px solid var(--line);
  padding:22px;
  background:white;
  border-radius:10px;
  margin-bottom:14px}
.credential-card h2 {
  font-size:15px;
  margin:0 0 7px}
.credential-card p {
  font-size:12px;
  color:#83917b;
  margin:0}
.credential-card .actions {
  margin-left:auto;
  display:flex;
  gap:8px}
.event-row {
  display:grid;
  grid-template-columns:150px 75px 1fr;
  gap:20px;
  border-bottom:1px solid var(--line);
  padding:18px 0;
  font-size:12px;
  align-items:center}
.event-row time {
  font-size:11px;
  color:#899480}
.event-row .badge {
  justify-self:start}
.event-message {
  overflow-wrap:anywhere;
  color:#5f7157}
.info-box {
  padding:14px 16px;
  background:#f0f5ed;
  color:#78906b;
  border:1px solid #e1e9db;
  border-radius:8px;
  font-size:11px;
  line-height:1.9;
  margin-top:22px}
.error-banner {
  padding:12px 42px;
  background:#fff0e9;
  color:#ab6851;
  font-size:12px}
dialog {
  padding:28px;
  border:1px solid #dae3d5;
  border-radius:14px;
  width:min(560px,calc(100% - 32px));
  box-shadow:0 28px 100px #203c2826;
  color:inherit;
  max-height:90vh;
  overflow:auto}
dialog::backdrop {
  background:#213d324f;
  backdrop-filter:blur(3px)}
.dialog-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px}
.dialog-heading h2 {
  font-size:22px}
.dialog-heading .eyebrow {
  margin-bottom:7px}
.dialog-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:25px}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px}
.checkbox-label {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:#69805e}
.checkbox-label input {
  width:15px;
  margin:0;
  accent-color:var(--green)}
.copy-row {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:8px}
.copy-row input {
  margin:0;
  font-family:Consolas,monospace;
  font-size:11px;
  background:#f9fbf7}
.toast {
  position:fixed;
  bottom:28px;
  left:50%;
  transform:translateX(-50%);
  padding:13px 23px;
  border-radius:9px;
  color:#fff;
  background:#2c513d;
  box-shadow:0 6px 30px #23473226;
  font-size:12px;
  z-index:20;
  max-width:90vw}
.download-layout {
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px;
  background:#ecf2e8}
.download-layout .panel {
  max-width:470px;
  padding:35px;
  border:1px solid #dce7d5;
  background:#fff;
  border-radius:15px}
.download-layout .eyebrow {
  margin-top:30px}
.download-layout h1 {
  font-size:28px}
#download-progress {
  font-size:11px;
  margin-top:20px;
  margin-bottom:0}

@media(min-width:1550px) {
  .project-grid {
  grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1050px) {
  .sidebar {
  width:205px;
  padding:26px 16px}
.main {
  margin-left:205px}
.workspace {
  padding:30px 25px}
.topbar {
  padding:0 25px}
.project-grid {
  grid-template-columns:1fr}
.auth-intro {
  padding:45px}
.auth-intro h1 {
  font-size:46px}
.flow {
  gap:9px}
.flow span {
  padding:10px}
.summary-grid {
  gap:10px}
.summary-grid article {
  padding:18px}
}
@media(max-width:720px) {
  .auth-layout {
  display:block}
.auth-intro {
  min-height:0;
  padding:26px}
.auth-intro>div:not(.flow) {
  display:none}
.flow {
  margin-top:28px}
.auth-form-wrap {
  padding:40px 25px}
.sidebar {
  position:static;
  width:100%;
  padding:18px 20px;
  border-right:0;
  border-bottom:1px solid var(--line)}
.sidebar .brand {
  font-size:14px}
.sidebar nav {
  display:flex;
  margin-top:18px;
  gap:6px}
.nav-caption,.sidebar-note,.account {
  display:none}
.nav-item {
  font-size:11px;
  padding:10px;
  justify-content:center;
  gap:6px}
.nav-item>span:first-child {
  font-size:15px}
.app-layout {
  display:block}
.main {
  margin-left:0}
.topbar {
  display:none}
.workspace {
  padding:28px 18px}
.page-heading {
  gap:14px}
.page-heading h1 {
  font-size:26px}
.page-heading .eyebrow {
  font-size:8px}
.page-heading .muted {
  font-size:11px}
.page-heading .primary {
  font-size:11px;
  padding:10px}
.summary-grid article {
  padding:14px 11px}
.summary-grid small {
  font-size:8px}
.summary-grid strong {
  font-size:26px}
.summary-grid article>span {
  font-size:10px}
.toolbar input {
  width:185px}
.project-card {
  padding:20px}
.workspace-footer {
  font-size:8px}
.form-grid {
  grid-template-columns:1fr;
  gap:0}
.credential-card {
  padding:17px;
  gap:12px;
  flex-wrap:wrap}
.credential-card .actions {
  margin-left:0}
.event-row {
  grid-template-columns:100px 55px 1fr;
  gap:8px;
  font-size:10px}
.event-row time {
  font-size:9px}
.download-layout .panel {
  padding:25px}
.topbar-label {
  display:none}
}


@media(max-width:720px) {
  .sidebar .account {
  display:flex;
  margin-top:14px;
  padding-top:12px}
}

