:root {
  --bg: #f7f8fa;
  --surface: #fff;
  --text: #23332e;
  --muted: #7a837f;
  --green: #285a48;
  --green-light: #edf4ee;
  --border: #e7ebe7;
  --orange: #ac7433;
  --red: #ba5555;
  --radius: 13px;
  --sidebar: 244px;
  font-family: "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  color: var(--text);
  font-size: 16px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #78a894;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1.4px;
  line-height: 1.4;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 17px;
}
p {
  line-height: 1.75;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 8px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #fff;
  border-right: 1px solid var(--border);
  z-index: 30;
  padding: 32px 20px 16px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 20px;
  font-weight: 800;
  padding: 0 7px;
  letter-spacing: -0.7px;
}
.brand-symbol {
  border-radius: 13px;
  width: 44px;
  height: 46px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-content: center;
  font-size: 38px;
  line-height: 1;
  font-family: Georgia, serif;
  position: relative;
  padding-bottom: 6px;
}
.brand-symbol span {
  position: absolute;
  color: #dbea9f;
  right: 5px;
  bottom: 5px;
  font-size: 24px;
}
.brand small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1px;
  margin-top: 5px;
}
.workspace-label {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #9aa39e;
  margin: 47px 16px 14px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #66746c;
  margin: 4px 0;
}
.nav-item:hover {
  background: #f7f9f6;
}
.nav-item.active {
  background: var(--green-light);
  color: var(--green);
  font-weight: 700;
}
.nav-item.active:after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin-left: auto;
}
.nav-separator {
  height: 1px;
  background: var(--border);
  margin: 24px 14px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 25px;
}
.assistant-note {
  background: #f7f8f4;
  border: 1px solid #ecefe7;
  border-radius: 12px;
  padding: 19px 15px;
  font-size: 12px;
}
.mini-spark {
  display: block;
  font-size: 24px;
  color: var(--green);
  margin-bottom: 10px;
}
.assistant-note strong {
  font-size: 13px;
}
.assistant-note p {
  color: #859086;
  font-size: 12px;
  margin: 8px 0 16px;
}
.assistant-note a {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.profile-link {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 23px 5px 0;
  font-size: 12px;
  font-weight: 700;
}
.profile-link small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  margin-top: 4px;
}
.profile-link > span:last-child {
  margin-left: auto;
}
.avatar {
  background: #eef1e9;
  color: #5f7359;
  border: 1px solid #e1e7da;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}
.avatar.small {
  width: 30px;
  height: 30px;
  font-size: 11px;
}
.app-shell {
  margin-left: var(--sidebar);
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #8a948e;
}
.breadcrumb strong {
  font-weight: 500;
  color: #3c4841;
}
.slash {
  color: #d0d7d1;
}
.topbar-right {
  display: flex;
  gap: 23px;
  align-items: center;
}
.connection {
  font-size: 11px;
  color: #728076;
  display: flex;
  align-items: center;
  gap: 7px;
}
.connection i,
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #61926f;
  display: inline-block;
}
.help-link {
  border: 1px solid #ced5ce;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  text-align: center;
  font-size: 11px;
  color: #99a198;
}
.mobile-menu {
  display: none !important;
}
main {
  max-width: 1420px;
  margin: auto;
  padding: 38px 42px 48px;
  min-height: calc(100vh - 141px);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 42px;
  padding: 21px 0;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: #90988f;
}
.heading-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.9px;
  color: #8c9990;
  font-weight: 600;
  margin-bottom: 7px;
}
.heading-row h1 {
  margin-bottom: 9px;
}
.subtitle {
  color: #818a84;
  font-size: 13px;
  margin: 0;
}
.date-chip {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid #e1e6e0;
  border-radius: 7px;
  padding: 10px 12px;
  background: white;
  color: #778278;
  font-size: 11px;
  white-space: nowrap;
}
.date-chip svg {
  width: 14px;
  height: 14px;
}
.hero {
  background: #eaf1e6;
  border: 1px solid #e2eadd;
  border-radius: 14px;
  display: flex;
  position: relative;
  overflow: hidden;
  min-height: 179px;
  margin-bottom: 24px;
  padding: 29px 30px;
}
.hero-copy {
  z-index: 1;
  width: 72%;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  line-height: 1.5;
  padding: 4px 8px;
  border-radius: 5px;
  font-weight: 600;
  background: #fff;
  color: var(--green);
}
.hero h2 {
  font-size: 23px;
  letter-spacing: -1px;
  margin: 13px 0 9px;
  font-weight: 600;
  line-height: 1.45;
}
.hero h2 strong {
  font-weight: 800;
  color: var(--green);
}
.hero p {
  font-size: 12px;
  color: #7b8b77;
  margin-bottom: 0;
}
.hero-art {
  position: absolute;
  right: 37px;
  top: 4px;
  width: 235px;
  height: 180px;
  transform: rotate(-8deg);
}
.art-disc {
  position: absolute;
  width: 142px;
  height: 142px;
  background: #dbe8d2;
  border-radius: 50%;
  right: 17px;
  top: 21px;
}
.art-sheet {
  position: absolute;
  left: 44px;
  top: 17px;
  width: 110px;
  height: 139px;
  border-radius: 11px;
  background: #fffefb;
  box-shadow: 0 8px 14px #264d2d12;
  padding: 23px 15px;
  transform: rotate(13deg);
}
.art-sheet b {
  display: block;
  width: 30px;
  height: 7px;
  border-radius: 5px;
  background: #c4d6bb;
  margin-bottom: 16px;
}
.art-sheet i {
  display: block;
  height: 5px;
  width: 64px;
  margin: 10px 0;
  background: #e9ede4;
  border-radius: 5px;
}
.art-sheet i:last-child {
  width: 46px;
}
.art-check {
  position: absolute;
  bottom: 10px;
  right: 25px;
  border: 6px solid #e6efdd;
  background: #729970;
  color: white;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: grid;
  place-content: center;
  box-shadow: 0 5px 10px #52704d10;
}
.art-check svg {
  width: 32px;
  height: 32px;
  stroke-width: 3;
}
.art-star {
  position: absolute;
  right: 12px;
  top: 12px;
  color: #9fb493;
  font-size: 23px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 29px;
}
.metric {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 19px 20px;
}
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #808b83;
  font-size: 12px;
  margin-bottom: 12px;
}
.metric-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: #f3f5ef;
  color: #829278;
}
.metric-icon svg {
  width: 15px;
  height: 15px;
}
.metric-value {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.metric-value small {
  font-size: 12px;
  color: #8e978e;
  font-weight: 400;
  margin-left: 5px;
}
.metric-foot {
  font-size: 10px;
  color: #9aa297;
  margin-top: 9px;
}
.metric-foot em {
  color: #588161;
  font-style: normal;
}
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 24px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  gap: 10px;
}
.section-heading h2 {
  margin: 0;
  font-size: 17px;
}
.section-heading h2 span {
  font-size: 12px;
  color: #83927f;
  margin-left: 8px;
  font-weight: 500;
}
.section-heading > span,
.section-heading > a {
  font-size: 11px;
  color: #889086;
}
.search-form {
  display: flex;
  border: 1px solid #dde4da;
  border-radius: 9px;
  padding: 7px 8px 7px 15px;
  background: #fff;
  gap: 10px;
  align-items: center;
}
.search-form > svg {
  color: #95a18f;
  width: 17px;
  height: 17px;
}
.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  font-size: 12px;
  color: #465642;
  background: transparent;
  padding: 6px 0;
}
.search-form input::placeholder {
  color: #a3aaa0;
}
.button {
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: #5b695f;
}
.button svg {
  width: 14px;
  height: 14px;
}
.button:hover {
  background: #f3f6f1;
}
.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.button.primary:hover {
  background: #1f493a;
}
.button.soft {
  background: var(--green-light);
  border-color: #e0e9de;
  color: var(--green);
}
.button.danger {
  color: var(--red);
}
.button.wide {
  width: 100%;
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}
.filters select,
.filters input[type="number"] {
  border: 1px solid #e3e8df;
  border-radius: 6px;
  padding: 8px 26px 8px 10px;
  color: #697766;
  background: #fff;
  font-size: 11px;
  max-width: 160px;
}
.filter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #959d92;
  padding-bottom: 13px;
  margin-bottom: 0;
  gap: 10px;
}
.filter-meta label {
  display: flex;
  align-items: center;
  gap: 5px;
}
.filter-meta select {
  border: 0;
  background: transparent;
  color: #6d7967;
  font-size: 10px;
}
.filter-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-options input {
  accent-color: var(--green);
}
.bid-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bid-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 19px 20px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.bid-card:hover {
  border-color: #bbcdb7;
  box-shadow: 0 4px 14px #314b2b06;
}
.bid-card.featured {
  border-color: #c9d9bf;
}
.bid-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.badges {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-size: 10px;
  border-radius: 4px;
  padding: 3px 7px;
  line-height: 1.5;
  font-weight: 500;
  color: #889380;
  background: #f5f7f2;
}
.badge.green {
  background: #edf4e8;
  color: #688653;
}
.badge.blue {
  background: #edf2f6;
  color: #748d9f;
}
.badge.amber {
  background: #faf3e6;
  color: #b08c53;
}
.badge.red {
  background: #faeeee;
  color: #ba6565;
}
.deadline {
  font-size: 10px;
  font-weight: 600;
  color: #8d927e;
  white-space: nowrap;
}
.deadline.urgent {
  color: #b1834f;
}
.bid-card-title {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.bid-card h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.45px;
  line-height: 1.6;
  margin: 0 0 9px;
}
.bookmark {
  border: 0;
  background: transparent;
  color: #b4bcb0;
  padding: 2px;
}
.bookmark.saved {
  color: var(--green);
}
.bookmark.saved svg {
  fill: #dce9d5;
}
.bid-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #929b8e;
}
.bid-info .sep {
  color: #d5dad0;
}
.bid-info strong {
  color: #53644b;
  font-size: 12px;
  font-weight: 600;
}
.bid-card-bottom {
  border-top: 1px solid #f0f2ed;
  margin-top: 15px;
  padding-top: 13px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  font-size: 10px;
}
.eligibility-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #8b9684;
}
.eligibility-tags .pass {
  color: #6d9165;
}
.eligibility-tags .fail {
  color: #bc7371;
}
.score-label {
  color: #788c68;
  font-size: 10px;
}
.more-button {
  margin-top: 14px;
  width: 100%;
  padding: 13px;
  color: #86917f;
  font-size: 11px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.right-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 21px;
}
.panel h3 {
  font-size: 13px;
  margin: 0;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
}
.panel-title a {
  font-size: 15px;
  color: #a1ab99;
}
.profile-panel-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 19px;
}
.profile-panel-head .avatar {
  border-radius: 10px;
  width: 37px;
  height: 37px;
}
.profile-panel-head strong {
  font-size: 12px;
}
.profile-panel-head small {
  display: block;
  font-size: 10px;
  color: #9ba492;
  margin-top: 4px;
}
.profile-data {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
  font-size: 11px;
}
.profile-data div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.profile-data dt {
  color: #9ba492;
}
.profile-data dd {
  margin: 0;
  color: #66775a;
  text-align: right;
}
.keyword-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}
.keyword-tags span {
  background: #f1f5ed;
  color: #7f9271;
  font-size: 10px;
  padding: 5px 7px;
  border-radius: 4px;
}
.radar-mini {
  border-top: 1px solid #f0f2eb;
  padding-top: 14px;
  margin-top: 14px;
}
.radar-mini:first-of-type {
  border: 0;
  padding: 0;
  margin: 0;
}
.radar-mini h4 {
  font-size: 12px;
  line-height: 1.7;
  font-weight: 500;
  margin: 8px 0;
  color: #65745d;
}
.radar-mini p {
  font-size: 10px;
  color: #9aa491;
  margin: 0;
}
.tip-panel {
  background: #f2f4ee;
  border: 1px solid #e8ecdf;
}
.tip-panel h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #758963;
  font-size: 12px;
}
.tip-panel p {
  font-size: 11px;
  color: #97a089;
  margin: 12px 0 0;
  line-height: 1.9;
}
.data-line {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #a1aa97;
  line-height: 1.8;
}
.demo-banner {
  margin: 0 0 20px;
  padding: 10px 14px;
  background: #fff9ee;
  border: 1px solid #efe6d0;
  border-radius: 8px;
  font-size: 11px;
  color: #978354;
  line-height: 1.8;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.demo-banner a {
  text-decoration: underline;
  white-space: nowrap;
}
.empty {
  padding: 45px 22px;
  text-align: center;
  color: #8e9b84;
  border: 1px dashed #dce5d4;
  border-radius: 12px;
  background: #fbfcf9;
  line-height: 1.8;
  font-size: 14px;
}
.empty svg {
  width: 32px;
  height: 32px;
  display: block;
  margin: 0 auto 15px;
}
.empty .button {
  margin-top: 14px;
}
.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.chip {
  font-size: 11px;
  border: 1px solid #dce8d4;
  color: #678157;
  padding: 5px 9px;
  border-radius: 20px;
  background: #f2f7ed;
}
.chip button {
  border: 0;
  background: transparent;
  color: inherit;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 100px);
  transform: translateX(-50%) translateY(20px);
  background: #293c2b;
  color: #fff;
  padding: 13px 22px;
  border-radius: 9px;
  box-shadow: 0 6px 20px #23382720;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  font-size: 13px;
  transition: 0.2s;
  max-width: 90vw;
}
.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.loading-page {
  min-height: 400px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}
.spinner {
  width: 19px;
  height: 19px;
  border: 2px solid #dde6d7;
  border-top-color: var(--green);
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 4px;
  color: #7f8e74;
}
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(250px, 1fr);
  gap: 24px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.surface {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
}
.surface h2 {
  font-size: 18px;
  margin-bottom: 20px;
}
.surface h3 {
  font-size: 14px;
  margin: 0 0 13px;
}
.surface p,
.surface li {
  font-size: 13px;
  color: #7b8971;
  line-height: 1.9;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  color: #5a6a50;
  min-width: 0;
}
.field.full {
  grid-column: 1/-1;
}
.field > span {
  font-weight: 600;
}
.field small {
  font-size: 11px;
  color: #99a18f;
  line-height: 1.7;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dfe6d8;
  border-radius: 7px;
  background: #fff;
  padding: 11px 13px;
  min-width: 0;
  font-size: 13px;
  color: #4d6141;
}
.field textarea {
  min-height: 100px;
  resize: vertical;
}
.checkbox-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: #738365;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.checkbox-group input {
  accent-color: var(--green);
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
  border-top: 1px solid var(--border);
  padding-top: 23px;
}
.notice {
  background: #f6f8f2;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.9;
  color: #859275;
}
.notice.warning {
  background: #faf5eb;
  color: #a18b5d;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #80916f;
  margin-bottom: 24px;
}
.detail-title {
  font-size: 25px;
  line-height: 1.6;
  letter-spacing: -0.8px;
  margin: 14px 0;
}
.detail-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #8c987f;
  margin-bottom: 22px;
}
.detail-amount {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--green);
  margin: 20px 0;
}
.detail-amount span {
  font-size: 12px;
  color: #8c987f;
  margin-left: 8px;
  font-weight: 400;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0;
}
.info-grid div {
  min-width: 0;
}
.info-grid dt {
  font-size: 11px;
  color: #9aa48f;
  margin-bottom: 6px;
}
.info-grid dd {
  margin: 0;
  font-size: 13px;
  color: #667957;
  overflow-wrap: anywhere;
}
.eligibility-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.eligibility-box {
  border: 1px solid #e6edde;
  border-radius: 8px;
  padding: 14px 10px;
  background: #f9fbf5;
}
.eligibility-box strong {
  font-size: 12px;
  display: block;
  margin-bottom: 8px;
}
.eligibility-box span {
  font-size: 11px;
  color: #879777;
}
.eligibility-box.fail {
  background: #fdf5f4;
  border-color: #f0dfdc;
}
.score-breakdown {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.score-part {
  display: grid;
  grid-template-columns: 60px 1fr 35px;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #8b9a7e;
}
.bar-track {
  height: 5px;
  background: #edf1e7;
  border-radius: 5px;
  overflow: hidden;
}
.bar-track i {
  display: block;
  background: #94b37c;
  height: 100%;
  border-radius: 5px;
}
.ai-surface {
  background: linear-gradient(140deg, #f5f9ef, #fff);
  border: 1px solid #dce8d0;
}
.ai-label {
  font-size: 10px;
  letter-spacing: 0.6px;
  color: #8ca372;
  margin-bottom: 14px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.ai-result h3 {
  font-size: 17px;
  margin-top: 15px;
  line-height: 1.7;
}
.ai-result ul,
.ai-result ol {
  padding-left: 20px;
  margin: 12px 0;
}
.ai-result .evidence {
  font-size: 10px;
  color: #a1ad92;
  display: block;
}
.ai-meta {
  font-size: 10px;
  color: #9aa88b;
  margin-top: 15px;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.question {
  border: 1px solid #e4ecdb;
  border-radius: 9px;
  padding: 16px;
  margin: 13px 0;
  background: #fff;
}
.question legend {
  font-size: 12px;
  padding: 0 5px;
  line-height: 1.8;
  font-weight: 500;
}
.question p {
  font-size: 11px;
  margin: 4px 0 10px;
}
.question-options {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: #7e906b;
}
.question-options input {
  accent-color: var(--green);
}
.decision-buttons {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 23px;
}
.tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 19px;
  color: #95a487;
  font-size: 13px;
}
.tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
  font-weight: 600;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th {
  font-weight: 500;
  color: #95a588;
  background: #f7faf2;
}
th,
td {
  padding: 15px 13px;
  border-bottom: 1px solid #edf1e7;
  white-space: nowrap;
}
td {
  color: #677b55;
}
td.wrap {
  white-space: normal;
  min-width: 180px;
}
.record-note {
  font-size: 11px;
  color: #94a087;
  margin-top: 7px;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.chart-bars {
  height: 205px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 15px 0 30px;
  margin: 10px 0 25px;
  border-bottom: 1px solid #e7edde;
}
.chart-column {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  gap: 7px;
  min-width: 0;
}
.chart-column i {
  background: #87a976;
  width: 68%;
  max-width: 46px;
  border-radius: 5px 5px 0 0;
  min-height: 2px;
}
.chart-column span {
  font-size: 10px;
  color: #829570;
}
.chart-column small {
  position: absolute;
  bottom: -23px;
  font-size: 10px;
  color: #99a88b;
  white-space: nowrap;
}
.chart-desc {
  font-size: 11px !important;
  color: #a0ad94 !important;
}
.agency-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.agency-card h3 {
  margin: 0 0 7px;
  font-size: 15px;
}
.agency-card p {
  margin: 0;
  font-size: 11px;
  color: #94a087;
}
.agency-card strong {
  font-size: 17px;
  white-space: nowrap;
}
.prose {
  max-width: 800px;
}
.prose h2 {
  margin-top: 30px;
}
.prose p,
.prose li {
  font-size: 14px;
  line-height: 2;
  color: #758667;
}
.source-list {
  font-size: 12px;
  line-height: 2;
  color: #829373;
}
.error-text {
  color: #b36e5e;
  font-size: 12px;
  line-height: 1.8;
}
.inline-link {
  color: var(--green);
  text-decoration: underline;
}
.muted {
  color: var(--muted);
}
.hidden {
  display: none !important;
}
@media (min-width: 1550px) {
  :root {
    --sidebar: 260px;
  }
  main {
    padding-top: 45px;
  }
  .hero {
    min-height: 190px;
  }
  .bid-card {
    padding: 22px;
  }
  .content-layout {
    grid-template-columns: minmax(0, 1fr) 275px;
  }
}
@media (max-width: 1150px) {
  :root {
    --sidebar: 215px;
  }
  .sidebar {
    padding: 27px 14px 14px;
  }
  .brand {
    font-size: 18px;
    gap: 9px;
  }
  .brand-symbol {
    width: 39px;
    height: 42px;
  }
  .topbar {
    padding: 0 26px;
  }
  main {
    padding: 30px 26px 40px;
  }
  .content-layout {
    grid-template-columns: minmax(0, 1fr) 215px;
    gap: 18px;
  }
  .panel {
    padding: 17px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 16px;
  }
  .hero-art {
    right: 5px;
    width: 210px;
  }
  .hero-copy {
    width: 75%;
  }
  .hero h2 {
    font-size: 21px;
  }
  footer {
    margin: 0 26px;
  }
  .hero {
    padding: 25px;
  }
  .page-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(230px, 1fr);
  }
}
@media (max-width: 940px) {
  .right-panel {
    display: none;
  }
  .content-layout {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    width: 72%;
  }
  .hero h2 {
    font-size: 20px;
  }
  .hero-art {
    right: -10px;
    transform: rotate(-8deg) scale(0.85);
  }
  .page-grid {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .connection {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  :root {
    --sidebar: 240px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 10px 0 30px #23322b12;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .app-shell {
    margin-left: 0;
  }
  .mobile-menu {
    display: inline-flex !important;
  }
  .topbar {
    height: 62px;
    padding: 0 20px;
  }
  .breadcrumb {
    gap: 10px;
    font-size: 11px;
  }
  .topbar-right {
    gap: 15px;
  }
  main {
    padding: 26px 18px 35px;
  }
  .heading-row {
    align-items: start;
    margin-bottom: 22px;
  }
  .heading-row h1 {
    font-size: 25px;
  }
  .date-chip {
    font-size: 9px;
    padding: 8px;
  }
  .date-chip svg {
    display: none;
  }
  .subtitle {
    font-size: 12px;
    line-height: 1.8;
  }
  .hero {
    padding: 22px 20px;
    min-height: 177px;
  }
  .hero-copy {
    width: 79%;
  }
  .hero h2 {
    font-size: 20px;
    line-height: 1.55;
  }
  .hero p {
    font-size: 10px;
    max-width: 75%;
  }
  .hero-art {
    right: -85px;
    top: 20px;
    transform: rotate(-8deg) scale(0.7);
    opacity: 0.8;
  }
  .hero .pill {
    font-size: 9px;
  }
  .metric-value {
    font-size: 25px;
  }
  .metrics {
    gap: 10px;
    margin-bottom: 25px;
  }
  .metric {
    padding: 16px;
  }
  .metric-top {
    font-size: 11px;
  }
  .metric-foot {
    font-size: 9px;
  }
  .search-form {
    padding-left: 11px;
  }
  .search-form input {
    font-size: 11px;
  }
  .search-form .button {
    font-size: 10px;
    padding: 10px;
  }
  .filters {
    gap: 6px;
  }
  .filters select {
    font-size: 10px;
    padding: 8px 7px;
    max-width: 125px;
  }
  .filter-meta {
    align-items: start;
  }
  .filter-options {
    gap: 5px;
  }
  .bid-card {
    padding: 17px 15px;
  }
  .bid-card h3 {
    font-size: 14px;
  }
  .bid-info {
    font-size: 10px;
  }
  .bid-info strong {
    font-size: 11px;
  }
  .bid-card-bottom {
    font-size: 9px;
    align-items: start;
  }
  .eligibility-tags {
    gap: 7px;
  }
  .score-label {
    font-size: 9px;
  }
  .demo-banner {
    font-size: 10px;
  }
  .demo-banner a {
    align-self: start;
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .toast {
    left: 50%;
    width: max-content;
    max-width: 90vw;
    font-size: 12px;
  }
  footer {
    margin: 0 18px;
    font-size: 9px;
    line-height: 1.8;
    display: block;
  }
  footer span {
    display: block;
    margin-bottom: 5px;
  }
  .surface {
    padding: 21px 17px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .detail-title {
    font-size: 22px;
  }
  .info-grid {
    gap: 15px;
  }
  .eligibility-boxes {
    gap: 6px;
  }
  .eligibility-box {
    padding: 12px 7px;
  }
  .eligibility-box strong {
    font-size: 11px;
  }
  .eligibility-box span {
    font-size: 10px;
  }
  .heading-row .button {
    font-size: 10px;
    padding: 10px;
  }
  .decision-buttons .button {
    font-size: 11px;
    padding: 10px 8px;
  }
  .tabs {
    gap: 0;
  }
  .tab {
    padding: 12px 14px;
    font-size: 12px;
  }
  .question-options {
    gap: 14px;
  }
  .prose p,
  .prose li {
    font-size: 13px;
  }
  .agency-card {
    padding: 16px;
  }
  .agency-card strong {
    font-size: 14px;
  }
}
.bid-card h3 {
  font-size: 16px;
}
.field input,
.field textarea,
.field select {
  font-size: 16px;
}
@media (max-width: 700px) {
  .heading-row .date-chip {
    display: none;
  }
  .heading-row h1 {
    word-break: keep-all;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
