/* AIIA: quiet workspace, discovery feed, builder identity. */
.detail-back {
  display: inline-block;
  color: #96958b;
  font-size: 12px;
  margin-bottom: 22px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 225px;
  gap: 45px;
}
.detail-main {
  min-width: 0;
}
.content-cover {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: 25px;
}
.detail-status {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid #e7e7e0;
}
.detail-status > span:last-child {
  font-size: 11px;
  color: #a09e93;
}
.detail-section {
  margin: 28px 0;
}
.detail-section h2 {
  font-size: 15px;
  margin-bottom: 12px;
}
.detail-section p,
.detail-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.95;
  color: #73736a;
}
.detail-description {
  margin: 26px 0;
}
.detail-aside {
  border-left: 1px solid #e7e7df;
  padding-left: 25px;
  min-width: 0;
}
.detail-aside section {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid #e7e7df;
}
.detail-aside h3 {
  font-size: 13px;
  margin: 12px 0;
}
.detail-aside .tag-row {
  margin-top: 14px;
}
.detail-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
}
.detail-author b {
  font-size: 13px;
  display: block;
}
.detail-author span {
  font-size: 10px;
  color: #8e8d81;
  display: block;
  margin-top: 4px;
}
.detail-link {
  font-size: 12px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.review-note {
  font-size: 12px;
  background: #fcf8ef;
  border: 1px solid #ece4d0;
  border-radius: 5px;
  padding: 12px;
  margin-top: 18px;
}
@media (max-width: 767px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .detail-aside {
    padding: 0;
    border: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .detail-aside section {
    margin: 0;
  }
  .detail-main {
    order: 1;
  }
  .detail-aside {
    order: 2;
  }
}
:root {
  --c-bg: #fafaf9;
  --c-card: #fff;
  --c-border: #e8e8e5;
  --c-sub: #787873;
  --accent: #b7ff4a;
  --text: #171717;
  --muted: #72726e;
}
body {
  background: var(--c-bg);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
button {
  font-family: inherit;
}
a {
  text-decoration: none;
}
a:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
}
h2 {
  font-size: 17px;
}
h3 {
  font-size: 15px;
}
.ui-icon {
  height: 18px;
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
#topbar {
  height: 68px;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  padding: 0 32px;
  backdrop-filter: none;
}
.brand {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1.5px;
  gap: 14px;
}
.brand-slash {
  font-size: 26px;
  font-weight: 300;
  color: #d1d1cd;
  letter-spacing: 0;
}
.brand-word {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.1px;
  color: #66665f;
}
#topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.user-menu {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}
.user-menu .avatar {
  width: 27px;
  height: 27px;
}
.icon-button {
  position: relative;
  border: 0;
  background: none;
  min-width: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  color: #6b6b67;
}
.notification-dot {
  position: absolute;
  right: 7px;
  top: 5px;
  width: 6px;
  height: 6px;
  background: #749d24;
  border-radius: 50%;
}
#tabbar {
  top: 11px;
  gap: 4px;
}
.tab {
  font-size: 13px;
  font-weight: 500;
  min-height: 42px;
  min-width: 65px;
  padding: 10px 14px;
  border-radius: 6px;
}
.tab span {
  font-size: 13px;
}
.tab svg {
  display: none;
}
.tab.on {
  background: #f1f1ef;
  color: #171717;
}
.tab.on:after {
  display: none;
}
#view {
  width: min(100%, 1224px);
  padding: 44px 32px 72px;
  max-width: 1224px;
}
#view[data-view="profile"] {
  max-width: 1224px;
}
#view[data-sub="true"] {
  max-width: 1000px;
}
#view:has(.profile-layout),
#view:has(.admin-layout) {
  max-width: none;
  width: 100%;
}
#view:has(.profile-layout) {
  max-width: 1224px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 34px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #858580;
  line-height: 1.4;
}
.page-heading h1 {
  font-size: 28px;
  letter-spacing: -0.8px;
  line-height: 1.4;
  margin-top: 10px;
  font-weight: 650;
}
.page-heading p {
  font-size: 14px;
  color: #777772;
  margin-top: 9px;
}
.heading-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn,
.btn.sm,
.login-btn {
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
  min-height: 36px;
  padding: 9px 14px;
  letter-spacing: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: auto;
}
.btn:not(.ghost):not(.danger):not(.selected):not(.mode-switch):not(
    .profile-edit
  ):not(.join-community) {
  background: #1b1b1b;
  color: #fff;
}
.btn.ghost {
  background: #fff;
  color: #666660;
  border: 1px solid #e5e5e1;
}
.btn.selected {
  background: #efefec;
  color: #222;
  border: 1px solid #e5e5e1;
}
.btn.danger {
  color: #a33939;
  background: #fff;
  border: 1px solid #e9d7d7;
}
.btn.mode-switch {
  background: #f5f6f2;
  border: 1px solid #e2e5dc;
  color: #4d5542;
  min-height: 32px;
  padding: 6px 10px;
  font-size: 11px;
}
.btn.join-community {
  background: var(--accent);
  color: #22300e;
  width: 100%;
  border: 1px solid #aae841;
  min-height: 36px;
}
.btn.profile-edit {
  border: 1px solid #d9d9d4;
  background: #fff;
  color: #333;
  width: 100%;
}
.btn:hover {
  filter: none;
  background: #303030;
  color: #fff;
}
.btn.ghost:hover {
  background: #f6f6f4;
  color: #111;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}
.section-heading > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.section-heading h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.25px;
}
.section-heading span {
  font-size: 11px;
  color: #989892;
}
.section-heading .btn {
  border: 0;
  background: transparent;
  padding: 4px 0;
  font-size: 12px;
  min-height: 28px;
}
.discover-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  gap: 48px;
}
.discover-main {
  min-width: 0;
}
.discover-main > .section-heading:not(:first-child) {
  margin-top: 38px;
}
.discover-aside {
  border-left: 1px solid #e9e9e6;
  padding-left: 28px;
}
.aside-module {
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid #e9e9e6;
}
.aside-module .section-heading > div {
  display: block;
}
.aside-module .section-heading span {
  display: block;
  margin-top: 5px;
}
.aside-module h3 {
  font-size: 17px;
  letter-spacing: -0.3px;
  margin: 14px 0 8px;
}
.aside-module p {
  font-size: 12px;
  color: #8b8b85;
  line-height: 1.9;
}
.inline-stats {
  display: flex;
  gap: 25px;
  margin: 22px 0;
}
.inline-stats span {
  font-size: 10px;
  color: #8d8d87;
}
.inline-stats b {
  font-size: 20px;
  color: #333;
  display: block;
  font-weight: 600;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.aside-footer {
  font-size: 10px;
  line-height: 2;
  color: #aaa9a2;
  letter-spacing: 0.06em;
}
.mini-event {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
}
.mini-event b {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}
.event-date-block {
  padding: 9px 7px;
  border: 1px solid var(--c-border);
  border-radius: 5px;
  min-width: 51px;
  white-space: nowrap;
  font-size: 11px;
  color: #666;
}
.mini-event p {
  font-size: 11px;
}
.challenge-link {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  padding: 8px 0;
}
.challenge-link span {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 4px;
}
.announcement-strip {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid #e0e5d8;
  background: #f5f8ee;
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 13px;
}
.announcement-strip b {
  font-size: 10px;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.announcement-strip span {
  flex: 1;
}
.announcement-strip .ui-icon {
  width: 15px;
  height: 15px;
}
.feed-list,
#view[data-view="ideas"] #list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.discovery-row {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 23px 0;
  border-bottom: 1px solid var(--c-border);
  position: relative;
  min-width: 0;
}
.discovery-row:first-child {
  border-top: 1px solid var(--c-border);
}
.product-mark {
  width: 48px;
  height: 48px;
  border: 1px solid #e8e8e3;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: #f2f3ef;
  color: #697357;
}
.product-mark .ui-icon {
  height: 24px;
  width: 24px;
}
.discovery-body {
  flex: 1;
  min-width: 0;
}
.discovery-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.5;
}
.discovery-title > a {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.15px;
  color: #202020;
}
.discovery-body p {
  font-size: 13px;
  color: #868680;
  line-height: 1.7;
  margin: 5px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.discovery-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #999991;
}
.discovery-meta > span:not(:first-child) + span:before {
  content: "·";
  margin-right: 12px;
  color: #c5c5bf;
}
.row-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  align-self: center;
}
.interest-button {
  border: 1px solid #e1e1dc;
  background: #fff;
  min-width: 44px;
  min-height: 53px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #666;
  line-height: 1.1;
  gap: 5px;
  padding: 6px;
  font-size: 13px;
}
.interest-button span {
  font-size: 19px;
  height: 15px;
}
.interest-button b {
  font-size: 12px;
  font-weight: 500;
}
.save-button {
  position: static;
  min-width: 27px;
  min-height: 30px;
  border: 0;
  background: transparent;
  color: #aaa99f;
  font-size: 17px;
}
.save-button[aria-pressed="true"] {
  background: transparent;
  color: #628523;
}
.row-actions .save-button {
  margin-left: 2px;
}
.status-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e2e2dc;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 9px;
  line-height: 1.5;
  color: #81817a;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: #fafaf8;
}
.status-label.featured {
  border-color: #dce9c7;
  color: #64853a;
  background: #f4f9ea;
  font-size: 9px;
}
.status-label.pending {
  color: #9b752d;
  background: #faf6ea;
  border-color: #eee4c9;
}
.status-label.rejected {
  color: #a75858;
  background: #fff6f6;
  border-color: #f0dada;
}
.status-label.approved,
.status-label.launched {
  color: #4f7c58;
  border-color: #d6e6d7;
  background: #f4f8f3;
}
.status-label.beta {
  color: #5578a1;
  border-color: #dbe4ee;
  background: #f6f8fb;
}
.status-label.mvp {
  color: #92704c;
  border-color: #e7dfd3;
  background: #faf8f4;
}
.status-label.identity {
  color: #6b714e;
  letter-spacing: 0.05em;
}
.repo-grid,
#view[data-view="projects"] #list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.repo-card {
  border: 1px solid #e3e3dd;
  border-radius: 8px;
  background: #fff;
  padding: 19px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.repo-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.repo-heading > .ui-icon {
  width: 16px;
  color: #777;
}
.repo-heading > a {
  font-size: 14px;
  font-weight: 600;
  color: #3d5682;
  overflow-wrap: anywhere;
  flex: 1;
}
.repo-card > p {
  font-size: 12px;
  color: #85857d;
  line-height: 1.8;
  margin: 12px 0 18px;
  flex: 1;
}
.repo-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 10px;
  color: #99988f;
}
.repo-card .tag-row {
  margin-top: 12px;
}
.tag {
  font-size: 10px;
  padding: 2px 6px;
  background: #f4f4f0;
  color: #85857a;
  border-radius: 4px;
  font-weight: 400;
}
.quiet-empty {
  padding: 40px 20px;
  border: 1px dashed #deded7;
  border-radius: 7px;
  background: #fdfdfb;
  text-align: center;
  grid-column: 1/-1;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.quiet-empty > .ui-icon {
  color: #b0b0a5;
  width: 24px;
  height: 24px;
  margin-bottom: 15px;
}
.quiet-empty h3 {
  font-size: 14px;
  color: #61615a;
  font-weight: 500;
}
.quiet-empty p {
  font-size: 12px;
  color: #9c9b91;
  line-height: 1.8;
  margin: 8px 0 16px;
  max-width: 370px;
}
.quiet-empty .btn {
  font-size: 12px;
  min-height: 32px;
}
.muted {
  color: #8c8b82;
}
.small {
  font-size: 12px;
}
.page-title {
  font-size: 28px;
  letter-spacing: -0.8px;
  font-weight: 600;
}
.page-sub {
  font-size: 13px;
  color: #929188;
}
.search {
  max-width: 520px;
  border-radius: 6px;
  box-shadow: none;
}
.search input {
  font-size: 14px;
}
.chip {
  border-radius: 5px;
  background: transparent;
  font-size: 12px;
  min-height: 34px;
  padding: 6px 12px;
}
.chip.on {
  background: #efefea;
  color: #333;
  border-color: #ddddd5;
}
.list-count {
  font-size: 12px;
}
.list-options select,
.saved-filter {
  font-size: 11px;
  min-height: 32px;
  padding: 6px 9px;
  border-radius: 5px;
}
.list-tools {
  margin-bottom: 14px;
}
.people-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.builder-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e4e4de;
  background: #fff;
  border-radius: 8px;
  padding: 22px;
  color: inherit;
  min-width: 0;
}
.builder-card:hover {
  text-decoration: none;
  border-color: #bdbfb5;
}
.builder-top {
  display: flex;
  align-items: center;
  gap: 13px;
}
.builder-top .avatar {
  width: 43px;
  height: 43px;
  font-size: 18px;
}
.builder-top h3 {
  font-size: 15px;
}
.builder-top span {
  font-size: 11px;
  color: #96958d;
}
.builder-card > p {
  font-size: 12px;
  color: #8a8980;
  line-height: 1.8;
  margin: 18px 0 14px;
  flex: 1;
}
.builder-footer {
  border-top: 1px solid #eee;
  margin-top: 18px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  color: #96968a;
  letter-spacing: 0.025em;
}
.verified {
  color: #729942;
  font-size: 13px;
}
.profile-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 48px;
}
.profile-sidebar {
  min-width: 0;
}
.profile-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  font-size: 66px;
  margin: 0 0 22px;
  border: 1px solid #deded7;
  object-fit: cover;
}
.profile-sidebar h1 {
  font-size: 25px;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
}
.profile-handle {
  color: #999890;
  font-size: 15px;
  margin: 3px 0 15px;
}
.profile-sidebar p {
  font-size: 13px;
  color: #73736a;
  line-height: 1.8;
  margin: 15px 0;
}
.profile-facts {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: #939288;
  gap: 8px;
}
.profile-contact {
  font-size: 12px;
  color: #666;
  margin: 20px 0;
}
.admin-entry {
  border-top: 1px solid #e3e3dc;
  border-bottom: 1px solid #e3e3dc;
  margin: 24px 0;
  padding: 18px 0;
  font-size: 12px;
  color: #797d6e;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-entry .btn {
  width: 100%;
  margin-top: 8px;
}
.profile-main {
  min-width: 0;
}
.profile-overview {
  display: flex;
  justify-content: space-between;
  padding: 0 0 16px;
  border-bottom: 1px solid #deded6;
  font-size: 13px;
  color: #5a5a54;
}
.profile-overview span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.profile-overview small {
  font-size: 10px;
  color: #aaa89f;
}
.contribution-panel {
  border: 1px solid #e3e3db;
  padding: 19px;
  border-radius: 7px;
  background: #fff;
  margin: 24px 0 32px;
}
.contribution-panel h2 {
  font-size: 13px;
}
.contributions {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(7, 10px);
  grid-auto-columns: minmax(0, 1fr);
  gap: 4px;
  max-width: 100%;
  overflow: hidden;
}
.contribution {
  background: #f0f0e9;
  border: 1px solid #e8e8df;
  border-radius: 2px;
}
.contribution.filled {
  background: #91b956;
  border-color: #81a749;
}
.contribution-legend {
  font-size: 9px;
  color: #a6a397;
  margin-top: 12px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.contribution-legend span {
  display: flex;
  gap: 4px;
  align-items: center;
  white-space: nowrap;
}
.contribution-legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #f0f0e9;
  border: 1px solid #e5e5dc;
}
.contribution-legend i.filled {
  background: #91b956;
}
.profile-main > .section-heading {
  margin-top: 30px;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.event-card {
  border: 1px solid #e3e3dc;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  display: block;
}
.event-card > img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.event-card > div:last-child {
  padding: 20px;
}
.event-card h2 {
  font-size: 16px;
  margin: 9px 0;
}
.event-card p {
  font-size: 12px;
  color: #888;
  margin-bottom: 12px;
}
.event-no-cover {
  background: #f0f1ea;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #879074;
  font-size: 16px;
}
.event-detail-cover {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: 24px;
}
.event-summary {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid #e5e5de;
  font-size: 13px;
  color: #8e8c82;
}
.event-summary span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.article-text {
  font-size: 15px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 24px 0;
}
.recap {
  border-top: 1px solid #e4e4dc;
  padding-top: 30px;
  margin-top: 36px;
}
.recap-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.recap-photos img {
  width: 100%;
  border-radius: 7px;
}
.is-admin #view {
  padding: 0;
}
.admin-layout {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  min-height: calc(100dvh - 68px);
}
.admin-sidebar {
  background: #f6f6f3;
  border-right: 1px solid #e3e3dc;
  position: sticky;
  top: 68px;
  height: calc(100dvh - 68px);
  padding: 25px 16px;
  display: flex;
  flex-direction: column;
}
.admin-workspace {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 8px;
  margin-bottom: 34px;
}
.admin-workspace > .ui-icon {
  background: #e9eddf;
  padding: 7px;
  box-sizing: content-box;
  color: #768457;
  border-radius: 7px;
}
.admin-workspace b {
  font-size: 13px;
}
.admin-workspace small {
  display: block;
  font-size: 9px;
  color: #999789;
}
.admin-sidebar > .eyebrow {
  padding: 0 10px;
  margin-bottom: 12px;
  font-size: 9px;
}
.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 38px;
  padding: 9px 11px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #8b897e;
  font-size: 12px;
  text-align: left;
}
.side-link .ui-icon {
  width: 15px;
  height: 15px;
}
.side-link.active {
  background: #eaece3;
  color: #404633;
}
.side-link:hover {
  background: #eeeeea;
  color: #333;
}
.sidebar-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 8px 0;
  font-size: 10px;
  color: #949081;
}
.sidebar-bottom .btn {
  background: none;
  border: 0;
  justify-content: flex-start;
  padding: 0;
  font-size: 11px;
}
.admin-content {
  padding: 35px 40px 70px;
  min-width: 0;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}
.admin-content .page-heading h1 {
  font-size: 26px;
}
.admin-content .page-heading {
  margin-bottom: 28px;
}
.admin-content .page-heading p {
  font-size: 12px;
}
.admin-content .eyebrow {
  font-size: 9px;
}
.security-note {
  font-size: 11px;
  line-height: 1.8;
  padding: 10px 14px;
  background: #faf4e3;
  border: 1px solid #ece1c3;
  color: #958252;
  border-radius: 5px;
  margin-bottom: 24px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #e2e2d9;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 26px;
  overflow: hidden;
}
.metric {
  padding: 23px 24px;
  border-right: 1px solid #e8e8df;
  min-width: 0;
}
.metric:last-child {
  border: 0;
}
.metric > span {
  font-size: 11px;
  color: #979282;
  display: block;
}
.metric > b {
  display: block;
  font-size: 33px;
  font-weight: 550;
  letter-spacing: -1.2px;
  margin: 9px 0 4px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.metric > small {
  font-size: 10px;
  color: #a49d8d;
  overflow-wrap: anywhere;
}
.metric > b.metric-date {
  font-size: 19px;
  letter-spacing: 0;
}
.admin-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 24px 0;
}
.panel {
  border: 1px solid #e2e2d9;
  background: #fff;
  border-radius: 8px;
  padding: 23px;
  margin-bottom: 24px;
  min-width: 0;
}
.panel .section-heading h2 {
  font-size: 14px;
}
.panel .section-heading span {
  font-size: 9px;
}
.admin-columns .panel {
  margin: 0;
}
.attention-row {
  display: flex;
  width: 100%;
  gap: 14px;
  align-items: center;
  border: 0;
  border-top: 1px solid #f0f0e9;
  background: transparent;
  min-height: 51px;
  font-size: 12px;
  color: #8f8876;
}
.attention-row > span {
  flex: 1;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}
.attention-row b {
  font-size: 12px;
  font-weight: 500;
  color: #696554;
}
.attention-row > .ui-icon {
  width: 13px;
  height: 13px;
  color: #b7ad95;
}
.attention-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b3bd91;
}
.attention-dot.orange {
  background: #d0b077;
}
.pulse-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: #958d78;
  margin-bottom: 20px;
}
.pulse-summary > span {
  display: flex;
  justify-content: space-between;
}
.pulse-summary b {
  color: #6e7f48;
  font-weight: 500;
}
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid #e3e3da;
  border-radius: 6px;
  background: #fff;
}
.panel .table-scroll {
  border: 0;
  border-radius: 0;
}
.admin-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: normal;
  font-size: 12px;
}
.admin-table th {
  padding: 11px 14px;
  background: #fafaf7;
  font-size: 10px;
  color: #99917b;
  font-weight: 500;
  border-bottom: 1px solid #e6e6dc;
  white-space: nowrap;
}
.admin-table td {
  padding: 15px 14px;
  border-bottom: 1px solid #efefe8;
  color: #746e5d;
  vertical-align: middle;
  min-width: 90px;
  overflow-wrap: anywhere;
}
.admin-table tr:last-child td {
  border-bottom: 0;
}
.admin-table td small {
  font-size: 10px;
  color: #a19a86;
}
.table-title {
  font-size: 12px;
  color: #4f4d43;
  max-width: 310px;
  margin-bottom: 5px;
  line-height: 1.7;
}
.table-title a {
  color: #4f4d43;
}
.table-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  min-width: 150px;
}
.table-actions .btn {
  font-size: 10px;
  min-height: 29px;
  padding: 5px 8px;
  border-radius: 4px;
}
.table-empty {
  text-align: center;
  padding: 40px !important;
  color: #aaa28c !important;
}
.table-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 130px;
}
.table-user b {
  font-weight: 500;
  display: block;
  font-size: 12px;
}
.table-user small {
  display: block;
}
.table-user .avatar {
  width: 29px;
  height: 29px;
  font-size: 12px;
}
.admin-tools {
  margin: 20px 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-search {
  border: 1px solid #e1e1d6;
  border-radius: 5px;
  background: #fff;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 340px);
}
.admin-search .ui-icon {
  width: 15px;
  height: 15px;
  color: #b1a994;
}
.admin-search input {
  background: transparent;
  outline: 0;
  border: 0;
  min-width: 0;
  flex: 1;
  font-size: 12px;
}
.content-tabs {
  display: flex;
  border-bottom: 1px solid #e4e4d8;
  gap: 20px;
  margin-bottom: 16px;
}
.content-tabs .btn {
  border: 0;
  background: transparent !important;
  color: #8b8370 !important;
  border-radius: 0;
  padding: 10px 2px;
  min-width: 60px;
}
.content-tabs .btn.selected {
  border-bottom: 2px solid #555b44;
  color: #393d30 !important;
}
.filter-line,
.toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.filter-line .btn {
  font-size: 11px;
  min-height: 31px;
  padding: 6px 12px;
}
.create-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.create-option {
  border: 1px solid #e0e1d6;
  background: #fff;
  border-radius: 7px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 18px;
  gap: 12px;
  text-align: left;
}
.create-option > .ui-icon:first-child {
  grid-column: 1/-1;
  color: #778157;
}
.create-option h2 {
  font-size: 16px;
}
.create-option p {
  grid-column: 1;
  grid-row: 3;
  font-size: 12px;
  color: #8f8873;
}
.create-option > .ui-icon:last-child {
  grid-column: 2;
  grid-row: 3;
  color: #aaa28a;
}
.ops-sheet {
  max-width: 680px !important;
  padding: 30px;
  max-height: 88dvh;
  border-radius: 10px !important;
  background: #fafaf7;
}
.ops-sheet h2 {
  font-size: 20px;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  font-size: 12px;
  color: #807765;
  min-width: 0;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 10px 12px;
  min-height: 40px;
  background: #fff;
  border: 1px solid #deded0;
  border-radius: 5px;
  outline: none;
  font: inherit;
  color: #3d3d33;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #97a77b;
  box-shadow: 0 0 0 2px #ebf0df;
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #e4e4d7;
  padding-top: 20px;
  margin-top: 22px;
}
.dialog-copy {
  font-size: 13px;
  color: #85806b;
  line-height: 1.9;
  margin-bottom: 20px;
}
.editor-preview {
  max-height: 160px;
  border-radius: 5px;
  display: block;
  margin: 10px 0;
  object-fit: cover;
}
.notification-list {
  border-top: 1px solid #e2e2d7;
}
.notification-item {
  display: flex;
  gap: 20px;
  padding: 24px 16px;
  border-bottom: 1px solid #e7e7dc;
  align-items: flex-start;
}
.notification-item.unread {
  background: #f6f8f0;
}
.notification-item > div:nth-child(2) {
  flex: 1;
}
.notification-item h3 {
  font-size: 15px;
}
.notification-item p {
  font-size: 13px;
  color: #8c856f;
  line-height: 1.9;
  white-space: pre-wrap;
  margin: 8px 0;
}
.notification-item > .ui-icon {
  color: #9a9f86;
}
.comments {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid #e1e1d5;
}
.comment {
  padding: 20px 0;
  border-bottom: 1px solid #e9e9dd;
}
.comment > div {
  display: flex;
  gap: 14px;
  align-items: center;
}
.comment b {
  font-size: 12px;
  font-weight: 500;
}
.comment small {
  font-size: 10px;
  color: #a49b81;
}
.comment p {
  white-space: pre-wrap;
  font-size: 14px;
  margin: 12px 0;
  color: #898168;
}
.comment .btn {
  font-size: 10px;
  padding: 3px 7px;
  min-height: 25px;
}
.comments textarea {
  display: block;
  width: 100%;
  border: 1px solid #ddddce;
  border-radius: 5px;
  padding: 12px;
  min-height: 100px;
  margin: 20px 0 10px;
  font: inherit;
  resize: vertical;
}
.detail-toolbar {
  display: flex;
  gap: 10px;
  margin: 25px 0;
}
.challenge-card {
  display: block;
  padding: 25px;
  border: 1px solid #e0e1d2;
  border-radius: 7px;
  background: #fff;
}
.challenge-card h2 {
  font-size: 18px;
  margin: 12px 0;
}
.challenge-card p {
  font-size: 13px;
  color: #8f876e;
  line-height: 1.8;
  margin: 12px 0;
}
.challenge-card > div {
  font-size: 11px;
  color: #a49a7e;
}
.insight-list {
  padding-left: 20px;
  font-size: 13px;
  color: #8c8266;
  line-height: 2.3;
}
.form-lbl {
  font-size: 13px;
}
.input,
.textarea {
  font-size: 15px;
}
.opt {
  font-size: 12px;
  min-height: 36px;
  border-radius: 5px;
}
.dsec {
  border-radius: 7px;
}
.dlbl {
  font-size: 11px;
  letter-spacing: 0.08em;
}
.dtext {
  font-size: 14px;
  color: #7b7462;
  line-height: 1.9;
}
.kv {
  font-size: 13px;
}
.kv .k {
  font-size: 12px;
}
.sheet-close {
  color: #a2987d;
}
.loading {
  font-size: 12px;
}
.avatar {
  object-fit: cover;
}
@media (min-width: 768px) {
  .is-admin #tabbar {
    display: none;
  }
}
@media (max-width: 1100px) {
  .brand-word {
    display: none;
  }
  .discover-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 30px;
  }
  .discover-aside {
    padding-left: 22px;
  }
  .admin-content {
    padding: 30px 26px;
  }
  .admin-sidebar {
    padding: 24px 12px;
  }
  .admin-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric:nth-child(2) {
    border-right: 0;
  }
  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid #e8e8df;
  }
  .profile-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 30px;
  }
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .discover-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .discover-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 0;
    padding: 0;
    gap: 20px;
  }
  .aside-module {
    border: 1px solid #e4e4db;
    border-radius: 7px;
    padding: 22px;
    margin: 0;
  }
  .aside-footer {
    grid-column: 1/-1;
  }
  .admin-columns {
    grid-template-columns: 1fr;
  }
  .admin-content .section-heading > div {
    display: block;
  }
  .section-heading span {
    display: none;
  }
  .profile-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 25px;
  }
  .profile-avatar {
    width: 150px;
    height: 150px;
  }
  .profile-main .repo-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  #topbar {
    height: 60px;
    padding: 0 18px;
  }
  .brand {
    font-size: 24px;
    gap: 10px;
  }
  .brand-word {
    display: block;
    font-size: 11px;
  }
  .brand-slash {
    font-size: 22px;
  }
  #topbar-right {
    gap: 7px;
  }
  .user-menu > span {
    display: none;
  }
  .btn.mode-switch {
    font-size: 10px;
    min-height: 28px;
    padding: 5px 7px;
  }
  .icon-button {
    min-width: 30px;
    min-height: 30px;
  }
  #tabbar {
    top: auto;
    bottom: 0;
    background: #fff;
    gap: 2px;
    padding: 6px 4px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid #e3e3d8;
  }
  .tab {
    padding: 7px 3px;
    min-width: 0;
    min-height: 45px;
    border-radius: 5px;
    gap: 4px;
  }
  .tab svg {
    display: block;
    width: 18px;
    height: 18px;
  }
  .tab span {
    font-size: 10px;
  }
  .tab.on {
    background: #f3f4ec;
  }
  #view {
    padding: 28px 18px calc(98px + env(safe-area-inset-bottom));
  }
  .page-heading {
    gap: 15px;
    margin-bottom: 26px;
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 23px;
    letter-spacing: -0.6px;
    margin-top: 7px;
  }
  .page-heading p {
    font-size: 12px;
    line-height: 1.8;
    max-width: 300px;
  }
  .page-heading .eyebrow {
    font-size: 9px;
  }
  .heading-actions .btn {
    font-size: 11px;
    min-height: 32px;
    padding: 7px 10px;
    white-space: nowrap;
  }
  .heading-actions .ui-icon {
    height: 13px;
    width: 13px;
  }
  .discover-layout {
    gap: 30px;
  }
  .section-heading {
    margin-bottom: 12px;
  }
  .section-heading h2 {
    font-size: 15px;
  }
  .discovery-row {
    gap: 12px;
    padding: 19px 0;
  }
  .product-mark {
    height: 40px;
    width: 40px;
    border-radius: 8px;
  }
  .product-mark .ui-icon {
    width: 20px;
    height: 20px;
  }
  .discovery-title > a {
    font-size: 14px;
  }
  .discovery-body p {
    font-size: 12px;
    margin: 5px 0 8px;
  }
  .discovery-meta {
    font-size: 9px;
    gap: 8px;
  }
  .discovery-meta > span:not(:first-child) + span:before {
    margin-right: 8px;
  }
  .row-actions {
    gap: 0;
    flex-direction: column;
  }
  .interest-button {
    min-width: 35px;
    min-height: 42px;
    padding: 5px;
    gap: 2px;
  }
  .interest-button span {
    font-size: 17px;
  }
  .interest-button b {
    font-size: 10px;
  }
  .save-button {
    min-height: 27px;
    min-width: 27px;
    font-size: 16px;
  }
  .repo-grid {
    gap: 12px;
  }
  .repo-card {
    padding: 16px;
  }
  .repo-heading > a {
    font-size: 13px;
  }
  .repo-card > p {
    font-size: 12px;
  }
  .repo-meta {
    font-size: 9px;
    gap: 7px;
  }
  .profile-layout {
    display: block;
  }
  .profile-sidebar {
    display: grid;
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 0 18px;
    margin-bottom: 35px;
    align-items: start;
  }
  .profile-avatar {
    width: 85px;
    height: 85px;
    grid-row: 1/4;
    font-size: 32px;
    margin: 0;
  }
  .profile-sidebar h1 {
    font-size: 22px;
    grid-column: 2;
  }
  .profile-handle {
    font-size: 12px;
    grid-column: 2;
    margin: 2px 0 10px;
  }
  .profile-sidebar p,
  .profile-sidebar > .status-label,
  .profile-facts,
  .profile-sidebar > .btn,
  .admin-entry,
  .profile-contact {
    grid-column: 1/-1;
  }
  .profile-sidebar p {
    margin: 15px 0;
  }
  .profile-sidebar > .status-label {
    width: fit-content;
  }
  .profile-facts {
    margin: 14px 0;
    gap: 5px;
  }
  .profile-sidebar > .btn {
    margin-top: 8px;
  }
  .admin-entry {
    margin: 20px 0 0;
  }
  .profile-main .repo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contribution-panel {
    padding: 14px;
  }
  .contribution-legend {
    font-size: 8px;
  }
  .builder-card {
    padding: 17px;
  }
  .builder-top {
    gap: 9px;
  }
  .builder-top .avatar {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  .builder-top h3 {
    font-size: 13px;
  }
  .builder-top span {
    font-size: 10px;
  }
  .builder-card > p {
    font-size: 11px;
  }
  .builder-footer {
    font-size: 8px;
    flex-direction: column;
  }
  .admin-layout {
    display: block;
  }
  .admin-sidebar {
    position: static;
    display: block;
    height: auto;
    padding: 14px 16px;
    background: #f8f8f3;
    border-right: 0;
    border-bottom: 1px solid #e2e2d5;
  }
  .admin-workspace,
  .admin-sidebar > .eyebrow,
  .sidebar-bottom {
    display: none;
  }
  .admin-sidebar nav {
    flex-direction: row;
    overflow: auto;
    gap: 4px;
    scrollbar-width: none;
  }
  .side-link {
    flex-shrink: 0;
    min-height: 32px;
    padding: 7px 10px;
    font-size: 11px;
    gap: 5px;
  }
  .side-link > .ui-icon {
    width: 13px;
    height: 13px;
  }
  .admin-content {
    padding: 24px 18px calc(100px + env(safe-area-inset-bottom));
  }
  .admin-content .page-heading h1 {
    font-size: 23px;
  }
  .admin-content .page-heading p {
    font-size: 11px;
  }
  .security-note {
    font-size: 10px;
    padding: 9px 11px;
  }
  .metrics {
    margin-bottom: 20px;
  }
  .metric {
    padding: 18px;
  }
  .metric > b {
    font-size: 28px;
  }
  .metric > span {
    font-size: 10px;
  }
  .metric > small {
    font-size: 9px;
  }
  .panel {
    padding: 17px;
    margin-bottom: 20px;
  }
  .admin-columns {
    gap: 16px;
  }
  .admin-table {
    font-size: 11px;
  }
  .admin-table th {
    padding: 10px;
    font-size: 9px;
  }
  .admin-table td {
    padding: 12px 10px;
    min-width: 75px;
  }
  .table-actions {
    min-width: 130px;
  }
  .table-actions .btn {
    font-size: 9px;
    min-height: 28px;
    padding: 5px 7px;
  }
  .create-option {
    padding: 20px;
  }
  .create-option p {
    font-size: 11px;
  }
  .ops-sheet {
    max-height: 90dvh;
    border-radius: 12px 12px 0 0 !important;
    padding: 23px 18px calc(23px + env(safe-area-inset-bottom));
  }
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
  }
  .field {
    font-size: 12px;
  }
  .ops-sheet h2 {
    font-size: 19px;
  }
  .event-card > div:last-child {
    padding: 16px;
  }
  .event-card h2 {
    font-size: 15px;
  }
  .event-summary {
    font-size: 12px;
    gap: 14px;
  }
  .notification-item {
    gap: 12px;
    padding: 18px 10px;
  }
  .notification-item h3 {
    font-size: 13px;
  }
  .notification-item p {
    font-size: 12px;
  }
  .notification-item .btn {
    font-size: 10px;
    padding: 5px 7px;
    min-height: 30px;
  }
  .contribution-panel .section-heading span {
    display: block;
    font-size: 9px;
  }
  .announcement-strip {
    font-size: 12px;
    padding: 11px;
    gap: 8px;
  }
  .announcement-strip b {
    display: none;
  }
  .article-text {
    font-size: 14px;
  }
  .page-title {
    font-size: 25px;
  }
  .input,
  .textarea,
  .search input {
    font-size: 16px;
  }
}
@media (max-width: 540px) {
  .repo-grid,
  #view[data-view="projects"] #list,
  .profile-main .repo-grid {
    grid-template-columns: 1fr;
  }
  .discover-aside {
    grid-template-columns: 1fr;
  }
  .aside-module:not(.community-module) {
    display: none;
  }
  .discover-aside .community-module {
    display: block;
  }
  .repo-card {
    padding: 19px;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .page-heading .heading-actions {
    margin-top: 0;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .discover-layout {
    gap: 25px;
  }
  .discovery-meta > span:nth-child(n + 4) {
    display: none;
  }
  .people-grid {
    grid-template-columns: 1fr;
  }
  .builder-card {
    padding: 20px;
  }
  .builder-top .avatar {
    width: 43px;
    height: 43px;
  }
  .builder-top h3 {
    font-size: 15px;
  }
  .builder-top span {
    font-size: 11px;
  }
  .builder-footer {
    flex-direction: row;
    font-size: 9px;
  }
  .builder-card > p {
    font-size: 12px;
  }
  .create-grid {
    grid-template-columns: 1fr;
  }
  .create-option {
    padding: 23px;
  }
  .event-grid {
    grid-template-columns: 1fr;
  }
  .form-two {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-content .page-heading .heading-actions {
    margin-top: 8px;
  }
  .admin-search {
    width: 100%;
  }
  .notification-item > div:first-child {
    display: none;
  }
  .brand-word {
    font-size: 10px;
  }
  .interest-button {
    min-width: 34px;
  }
  .recap-photos {
    grid-template-columns: 1fr;
  }
  .profile-overview {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
