:root {
  --ink: #171913;
  --muted: #71756b;
  --line: #e6e8e0;
  --paper: #f7f8f3;
  --white: #ffffff;
  --acid: #d8ff51;
  --acid-deep: #b9e62d;
  --orange: #ff6b3d;
  --blue: #6d7cff;
  --shadow: 0 18px 60px rgba(33, 38, 24, .10);
  --sidebar: 248px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  letter-spacing: -.015em;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  width: var(--sidebar);
  padding: 27px 18px 20px;
  flex-direction: column;
  background: #11130f;
  color: #eff0e9;
  border-right: 1px solid rgba(255,255,255,.06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px 31px;
  color: inherit;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.06em;
  text-decoration: none;
}
.brand-mark { position: relative; display: flex; width: 25px; height: 25px; align-items: center; justify-content: center; }
.brand-mark i { position: absolute; display: block; width: 9px; height: 18px; border-radius: 10px 2px 10px 2px; background: var(--acid); transform-origin: center; }
.brand-mark i:nth-child(1) { transform: rotate(0deg) translateY(-4px); }
.brand-mark i:nth-child(2) { transform: rotate(120deg) translateY(-4px); }
.brand-mark i:nth-child(3) { transform: rotate(240deg) translateY(-4px); }

.main-nav { display: grid; gap: 5px; }
.nav-item, .quiet-nav {
  width: 100%;
  border: 0;
  background: transparent;
  color: #9da195;
  cursor: pointer;
  text-align: left;
}
.nav-item {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font-weight: 620;
}
.nav-item svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-item:first-child svg { fill: currentColor; stroke: none; }
.nav-item b { min-width: 23px; padding: 3px 7px; border-radius: 12px; background: rgba(255,255,255,.08); color: #c8cbc1; font-size: 11px; text-align: center; }
.nav-item:hover, .nav-item.is-active { background: rgba(255,255,255,.075); color: #fff; }
.nav-item.is-active { box-shadow: inset 3px 0 var(--acid); }
.nav-item.is-active svg { color: var(--acid); }

.sidebar-section { margin-top: 33px; padding: 0 10px; }
.sidebar-section > p { margin: 0 0 12px; color: #63675e; font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.quiet-nav { display: flex; gap: 10px; align-items: center; padding: 8px 3px; font-size: 13px; }
.quiet-nav:hover { color: #fff; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-green { background: var(--acid); box-shadow: 0 0 0 4px rgba(216,255,81,.08); }
.dot-orange { background: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,61,.08); }
.sidebar-spacer { flex: 1; min-height: 30px; }
.system-card { padding: 14px; border: 1px solid rgba(216,255,81,.14); border-radius: 12px; background: linear-gradient(145deg, rgba(216,255,81,.08), rgba(255,255,255,.025)); }
.system-card-head { display: flex; gap: 8px; align-items: center; color: var(--acid); font-size: 9px; letter-spacing: .12em; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 rgba(216,255,81,.5); animation: pulse 2s infinite; }
.system-card p { margin: 9px 0 11px; color: #aeb1a8; font-size: 11px; line-height: 1.55; }
.system-card > span { color: #686c63; font-size: 10px; }
.profile-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; margin-top: 17px; padding: 14px 8px 0; border-top: 1px solid rgba(255,255,255,.07); }
.profile-row strong, .profile-row span { display: block; }
.profile-row strong { font-size: 12px; }
.profile-row span { margin-top: 2px; color: #65695f; font-size: 10px; }
.profile-row button { border: 0; background: transparent; color: #73766e; cursor: pointer; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 10px; font-weight: 800; }
.avatar-user { color: #1a1d13; background: var(--acid); }

.content { min-height: 100vh; margin-left: var(--sidebar); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  height: 70px;
  padding: 0 36px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(221,224,214,.8);
  background: rgba(247,248,243,.87);
  backdrop-filter: blur(16px);
}
.breadcrumbs { display: flex; gap: 10px; align-items: center; color: #92968b; font-size: 12px; }
.breadcrumbs i { color: #c9ccc3; font-style: normal; }
.breadcrumbs strong { color: var(--ink); }
.top-actions { display: flex; gap: 9px; align-items: center; }
.search-box { display: flex; width: 225px; height: 38px; padding: 0 10px; align-items: center; border: 1px solid #dfe2d9; border-radius: 9px; background: rgba(255,255,255,.7); transition: .2s; }
.search-box:focus-within { width: 270px; border-color: #aeb79a; box-shadow: 0 0 0 3px rgba(216,255,81,.18); }
.search-box svg { width: 16px; fill: none; stroke: #7f837a; stroke-width: 1.8; }
.search-box input { width: 100%; border: 0; outline: 0; padding: 0 8px; background: transparent; color: var(--ink); font-size: 12px; }
.search-box kbd { padding: 2px 5px; border: 1px solid #dedfd9; border-radius: 4px; color: #92958c; background: #f4f5f0; font-size: 9px; white-space: nowrap; }
.icon-button, .mobile-menu { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #dfe2d9; border-radius: 9px; background: rgba(255,255,255,.72); cursor: pointer; }
.icon-button:hover { background: #fff; transform: rotate(15deg); }
.icon-button svg, .mobile-menu svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mobile-menu { display: none; }
.primary-button, .secondary-button { display: inline-flex; min-height: 38px; padding: 0 16px; align-items: center; justify-content: center; gap: 7px; border-radius: 9px; cursor: pointer; font-weight: 700; font-size: 12px; }
.primary-button { border: 1px solid #11130f; background: #11130f; color: #fff; box-shadow: 0 4px 12px rgba(17,19,15,.14); }
.primary-button:hover { background: #252820; transform: translateY(-1px); }
.primary-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.secondary-button { border: 1px solid #dbded4; background: #fff; color: var(--ink); }
.secondary-button:hover { border-color: #b8bcb0; }

.page-wrap { width: min(1460px, 100%); margin: 0 auto; padding: 30px 36px 70px; }
.hero-row { position: relative; display: flex; min-height: 220px; align-items: center; justify-content: space-between; overflow: hidden; }
.eyebrow { margin: 0 0 13px; color: #92968a; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.hero-row h1 { margin: 0; font-size: clamp(38px, 4.2vw, 64px); font-weight: 640; letter-spacing: -.075em; line-height: .98; }
.hero-row h1 em { color: #8f985b; font-style: normal; }
.hero-copy { max-width: 530px; margin: 19px 0 0; color: #777b70; font-size: 13px; line-height: 1.7; }
.hero-orbit { position: relative; width: 260px; height: 200px; margin-right: 6%; }
.orbit { position: absolute; inset: 50%; border: 1px solid #d9ddd1; border-radius: 50%; transform: translate(-50%,-50%) rotate(-18deg); }
.orbit-one { width: 235px; height: 104px; }
.orbit-two { width: 177px; height: 177px; border-style: dashed; opacity: .72; animation: spin 25s linear infinite; }
.orb-core { position: absolute; inset: 50% auto auto 50%; display: grid; width: 105px; height: 105px; place-items: center; align-content: center; border: 1px solid rgba(216,255,81,.7); border-radius: 50%; background: #171914; color: white; box-shadow: 0 22px 50px rgba(23,25,20,.22); transform: translate(-50%,-50%); }
.orb-core::before { position: absolute; inset: 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; }
.orb-core span { font-size: 25px; font-weight: 680; letter-spacing: -.06em; }
.orb-core small { margin-top: 4px; color: var(--acid); font-size: 7px; letter-spacing: .16em; }
.orbit-node { position: absolute; display: block; width: 10px; height: 10px; border: 2px solid var(--paper); border-radius: 50%; background: var(--acid-deep); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.node-one { top: 48px; left: 17px; }
.node-two { right: 11px; bottom: 44px; background: var(--orange); }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 0; }
.metric-card { position: relative; min-height: 150px; padding: 21px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.82); box-shadow: 0 1px 0 rgba(255,255,255,.9); }
.metric-card > div:first-child { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; }
.metric-card span { color: #777b71; font-size: 11px; font-weight: 650; }
.metric-card strong { font-size: 36px; font-weight: 610; letter-spacing: -.07em; line-height: .95; }
.metric-card p { position: absolute; bottom: 17px; left: 21px; margin: 0; color: #9b9f95; font-size: 10px; }
.metric-dark { border-color: #1c1f18; background: #171914; color: #fff; }
.metric-dark span { color: #9ea297; }
.metric-dark p { color: #777b72; }
.trend-up { margin-right: 5px; color: var(--acid); font-size: 9px; font-weight: 700; }
.mini-bars { position: absolute; right: 19px; bottom: 16px; display: flex; gap: 3px; height: 35px; align-items: flex-end; opacity: .65; }
.mini-bars i { width: 4px; height: 30%; border-radius: 4px 4px 0 0; background: var(--acid); }
.mini-bars i:nth-child(2) { height: 52%; }.mini-bars i:nth-child(3) { height: 38%; }.mini-bars i:nth-child(4) { height: 75%; }.mini-bars i:nth-child(5) { height: 60%; }.mini-bars i:nth-child(6) { height: 88%; }.mini-bars i:nth-child(7) { height: 100%; }
.ring-small { position: absolute; right: 20px; bottom: 20px; width: 42px; height: 42px; border-radius: 50%; background: conic-gradient(var(--acid-deep) var(--progress, 0%), #eceee8 0); }
.ring-small::after { position: absolute; inset: 6px; border-radius: 50%; background: #fff; content: ""; }
.metric-icon { position: absolute; right: 17px; bottom: 15px; width: 52px; fill: none; stroke: #cbd1ba; stroke-width: 1.2; }
.metric-icon path:last-child { stroke: #84933d; stroke-width: 2; }
.metric-alert { background: linear-gradient(145deg,#fff,#fff9f5); }
.alert-beacon { position: absolute; right: 20px; bottom: 20px; display: grid; width: 39px; height: 39px; place-items: center; }
.alert-beacon i { position: absolute; inset: 0; border: 1px solid rgba(255,107,61,.25); border-radius: 50%; animation: beacon 2s infinite; }
.alert-beacon span { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: #fff0ea; color: var(--orange); font-weight: 800; }

.projects-section { margin-top: 38px; }
.projects-head { margin-bottom: 14px; }
.project-reset { height: 34px; padding: 0 11px; border: 1px solid #dce0d5; border-radius: 8px; background: #fff; color: #666b60; cursor: pointer; font-size: 10px; font-weight: 700; }
.project-reset span { margin-left: 6px; color: #a1a59b; font-size: 13px; }
.project-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
.project-card { position: relative; min-height: 168px; padding: 16px; overflow: hidden; border: 1px solid #e1e4db; border-radius: 13px; background: linear-gradient(145deg, color-mix(in srgb, var(--project-color) 7%, #fff), #fff 62%); box-shadow: 0 6px 22px rgba(35,40,27,.035); cursor: pointer; text-align: left; transition: transform .18s, border-color .18s, box-shadow .18s; }
.project-card::before { position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--project-color); content: ""; }
.project-card::after { position: absolute; top: -38px; right: -35px; width: 105px; height: 105px; border: 1px solid color-mix(in srgb, var(--project-color) 20%, transparent); border-radius: 50%; content: ""; }
.project-card:hover { border-color: color-mix(in srgb, var(--project-color) 38%, #dfe2da); box-shadow: 0 15px 34px rgba(35,40,27,.09); transform: translateY(-2px); }
.project-card.is-selected { border-color: var(--project-color); box-shadow: 0 0 0 2px color-mix(in srgb, var(--project-color) 18%, transparent), 0 15px 34px rgba(35,40,27,.09); }
.project-card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.project-monogram { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; background: var(--project-color); color: #fff; font-size: 10px; font-weight: 850; box-shadow: 0 7px 14px color-mix(in srgb, var(--project-color) 25%, transparent); }
.project-status { display: inline-flex; gap: 5px; align-items: center; color: #898e82; font-size: 8px; font-weight: 750; }
.project-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--project-color); }
.project-card h3 { position: relative; z-index: 1; margin: 17px 0 5px; overflow: hidden; font-size: 14px; font-weight: 750; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.project-card > p { position: relative; z-index: 1; min-height: 29px; margin: 0; color: #8a8f83; font-size: 9px; line-height: 1.5; }
.project-card-bottom { position: absolute; right: 16px; bottom: 14px; left: 16px; z-index: 1; }
.project-stats { display: flex; justify-content: space-between; margin-bottom: 7px; color: #969a90; font-size: 8px; }.project-stats b { color: #555a50; font-weight: 800; }
.project-progress { height: 4px; overflow: hidden; border-radius: 4px; background: #e9ece4; }.project-progress i { display: block; height: 100%; border-radius: inherit; background: var(--project-color); }

.attention-strip { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; margin-top: 14px; padding: 15px 17px; border: 1px solid #ffe0d5; border-radius: 12px; background: #fff9f6; }
.attention-strip[hidden] { display: none; }
.attention-symbol { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #ffebe4; color: var(--orange); font-weight: 850; }
.attention-strip strong { font-size: 12px; }.attention-strip p { margin: 3px 0 0; color: #999088; font-size: 10px; }
.attention-strip button { border: 0; background: transparent; color: #b64a29; cursor: pointer; font-size: 11px; font-weight: 750; }
.attention-strip button span { margin-left: 6px; }

.board-section { margin-top: 46px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 17px; }
.section-head .eyebrow { margin-bottom: 7px; }
.section-head h2 { margin: 0; font-size: 23px; font-weight: 650; letter-spacing: -.045em; }
.board-tools { display: flex; gap: 8px; align-items: center; }
.project-filter,.category-filter { position: relative; display: flex; height: 36px; align-items: center; border: 1px solid #dde0d7; border-radius: 8px; background: #fff; }
.project-filter span,.category-filter span { padding-left: 11px; color: #9a9e94; font-size: 9px; font-weight: 700; white-space: nowrap; }
.project-filter select,.category-filter select { height: 100%; border: 0; outline: 0; padding: 0 28px 0 7px; background: transparent; color: #555a50; font-size: 10px; font-weight: 650; cursor: pointer; }
.project-filter select { max-width: 150px; }
.view-toggle { display: flex; padding: 3px; border: 1px solid #dde0d7; border-radius: 8px; background: #fff; }
.view-toggle button { width: 30px; height: 28px; border: 0; border-radius: 5px; background: transparent; color: #a0a399; cursor: pointer; }
.view-toggle button.is-active { background: #edefe8; color: #292c25; }
.filter-button { height: 36px; padding: 0 12px; border: 1px solid #dde0d7; border-radius: 8px; background: #fff; color: #696d64; font-size: 11px; cursor: default; }
.sliders { display: inline-block; margin-right: 7px; transform: rotate(90deg); }
.kanban { display: grid; grid-template-columns: repeat(5, minmax(230px,1fr)); gap: 10px; padding-bottom: 15px; overflow-x: auto; scrollbar-width: thin; }
.kanban-column { min-height: 360px; padding: 10px; border: 1px solid #e4e7de; border-radius: 13px; background: rgba(237,239,232,.7); }
.column-head { display: flex; min-height: 37px; padding: 2px 4px 10px; align-items: center; justify-content: space-between; }
.column-head div { display: flex; gap: 7px; align-items: center; }
.column-head i { width: 7px; height: 7px; border-radius: 50%; background: #aeb3a6; }
.column-development .column-head i { background: var(--blue); }.column-qa .column-head i { background: #9acb27; }.column-attention .column-head i { background: var(--orange); }.column-completed .column-head i { background: #20231c; }
.column-head h3 { margin: 0; font-size: 11px; font-weight: 760; text-transform: uppercase; letter-spacing: .04em; }
.column-head span { display: grid; min-width: 21px; height: 21px; padding: 0 6px; place-items: center; border-radius: 7px; background: #e1e4db; color: #7f8378; font-size: 9px; }
.column-list { display: grid; gap: 8px; }
.empty-column { display: grid; min-height: 140px; padding: 20px; place-items: center; border: 1px dashed #daddd3; border-radius: 10px; color: #a2a69b; font-size: 10px; text-align: center; }

.task-card { position: relative; padding: 15px; border: 1px solid #e1e4dc; border-radius: 11px; background: #fff; box-shadow: 0 5px 18px rgba(35,40,27,.035); cursor: pointer; transition: transform .18s, box-shadow .18s, border-color .18s; }
.task-card::before { position: absolute; top: 0; right: 13px; left: 13px; height: 3px; border-radius: 0 0 4px 4px; background: var(--project-color); opacity: .72; content: ""; }
.task-card:hover { border-color: #cfd4c4; box-shadow: 0 13px 28px rgba(35,40,27,.09); transform: translateY(-2px); }
.task-card:focus-visible { outline: 3px solid rgba(216,255,81,.55); outline-offset: 1px; }
.task-card.is-attention { border-color: #ffd7ca; }
.card-kicker { display: flex; align-items: center; justify-content: space-between; }
.card-labels { display: flex; min-width: 0; gap: 6px; align-items: center; }
.project-label { max-width: 105px; overflow: hidden; color: #8a8e83; font-size: 9px; font-weight: 750; letter-spacing: .06em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.project-badge { display: inline-flex; max-width: 155px; min-height: 22px; padding: 0 7px 0 5px; align-items: center; gap: 5px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--project-color) 26%, #dfe2da); border-radius: 6px; background: color-mix(in srgb, var(--project-color) 8%, #fff); color: #3f433a; font-size: 8px; font-weight: 800; letter-spacing: .025em; text-overflow: ellipsis; white-space: nowrap; }
.project-badge::before { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--project-color); content: ""; }
.project-badge small { color: #999e92; font-size: 7px; font-weight: 750; letter-spacing: .02em; }
.category-badge { padding: 3px 6px; border-radius: 5px; background: #edf2df; color: #65733c; font-size: 8px; font-weight: 800; white-space: nowrap; }
.category-bug { background: #ffebe5; color: #c94a26; }.category-refactor { background: #eaeaff; color: #5965ba; }.category-operations { background: #e9eff4; color: #506c7e; }.category-docs { background: #f4eaf8; color: #845893; }.category-research { background: #fff2d7; color: #9a6a12; }
.priority-badge { padding: 3px 6px; border-radius: 5px; background: #f0f1ed; color: #85897e; font-size: 8px; font-weight: 800; }
.priority-urgent { background: #ffebe5; color: #d94f28; }.priority-high { background: #fff3d9; color: #a56c00; }.priority-low { background: #edf2ff; color: #5e70c7; }
.task-card h4 { margin: 12px 0 7px; font-size: 14px; font-weight: 680; letter-spacing: -.035em; line-height: 1.32; }
.task-card > p { display: -webkit-box; min-height: 34px; margin: 0; overflow: hidden; color: #898d82; font-size: 10px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-progress { margin-top: 16px; }
.card-progress div:first-child { display: flex; justify-content: space-between; margin-bottom: 7px; color: #9a9e94; font-size: 8px; font-weight: 700; }
.progress-track { height: 4px; overflow: hidden; border-radius: 5px; background: #eceee8; }
.progress-track i { display: block; height: 100%; border-radius: inherit; background: #24271f; transition: width .35s ease; }
.is-attention .progress-track i { background: var(--orange); }
.card-footer { display: flex; margin-top: 15px; align-items: center; justify-content: space-between; }
.avatar-stack { display: flex; }.avatar-stack .avatar { width: 24px; height: 24px; margin-right: -6px; border: 2px solid white; color: #fff; background: #24271f; font-size: 7px; }.avatar-stack .avatar:nth-child(2) { background: #899262; }
.card-footer time { color: #a0a49a; font-size: 8px; }
.attention-flag { position: absolute; top: -4px; right: 20px; width: 15px; height: 20px; background: var(--orange); clip-path: polygon(0 0,100% 0,100% 100%,50% 72%,0 100%); }

.drawer-backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(20,23,17,.25); backdrop-filter: blur(2px); }
.drawer-backdrop[hidden] { display: none; }
.task-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; display: flex; width: min(570px, 94vw); padding: 25px 28px 20px; flex-direction: column; border-left: 1px solid #e0e3da; background: #fbfcf8; box-shadow: -25px 0 80px rgba(22,26,17,.16); transform: translateX(105%); transition: transform .3s cubic-bezier(.22,.8,.25,1); }
.task-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.phase-pill, .demo-pill { display: inline-flex; padding: 6px 9px; border-radius: 6px; background: #e9ecdf; color: #5c6641; font-size: 9px; font-weight: 800; letter-spacing: .05em; }
.demo-pill { margin-left: 6px; background: #f1f2ee; color: #9a9e94; }
.close-button { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid #e0e3da; border-radius: 50%; background: #fff; color: #777b71; cursor: pointer; font-size: 23px; font-weight: 300; line-height: 1; }
.close-button:hover { color: var(--ink); transform: rotate(8deg); }
.drawer-title { padding: 29px 0 19px; }
.drawer-title > p:first-child { display: inline-flex; margin: 0 0 10px; padding: 5px 8px; align-items: center; border: 1px solid #dfe3d7; border-radius: 6px; background: #f1f3eb; color: #5f6557; font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.drawer-title h2 { margin: 0; font-size: 29px; letter-spacing: -.055em; line-height: 1.15; }
.drawer-title #drawer-description { margin: 12px 0 0; color: #777c70; font-size: 12px; line-height: 1.65; }
.drawer-progress { padding: 14px 16px; border: 1px solid #e3e6dc; border-radius: 11px; background: white; }
.drawer-progress > div:first-child { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }.drawer-progress span { color: #888c81; font-size: 10px; }.drawer-progress strong { font-size: 12px; }
.drawer-progress .progress-track { height: 6px; }.drawer-progress .progress-track i { background: var(--acid-deep); }
.drawer-meta { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 9px; }
.meta-cell { padding: 11px; border-radius: 9px; background: #eef0e9; }.meta-cell span,.meta-cell strong { display: block; }.meta-cell span { color: #999d93; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }.meta-cell strong { margin-top: 5px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.drawer-tabs { display: flex; gap: 20px; margin-top: 24px; border-bottom: 1px solid #e2e5dc; }
.drawer-tabs button { position: relative; padding: 0 1px 10px; border: 0; background: transparent; color: #92968b; cursor: pointer; font-size: 11px; font-weight: 650; }
.drawer-tabs button.is-active { color: var(--ink); }.drawer-tabs button.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--ink); content: ""; }
.drawer-body { flex: 1; overflow-y: auto; padding: 19px 3px 20px; scrollbar-width: thin; }
.drawer-actions { display: flex; gap: 7px; padding-top: 14px; border-top: 1px solid #e2e5dc; }
.drawer-actions button { flex: 1; }
.action-danger { border-color: #f1c8bb; color: #c54d29; background: #fff8f5; }
.detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }
.detail-panel { padding: 15px; border: 1px solid #e5e7e0; border-radius: 10px; background: #fff; }.detail-panel.full { grid-column: 1/-1; }.detail-panel span { color: #969a90; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }.detail-panel strong { display: block; margin-top: 6px; font-size: 17px; letter-spacing: -.04em; }.detail-panel p { margin: 7px 0 0; color: #757a6e; font-size: 11px; line-height: 1.65; }
.timeline { position: relative; display: grid; gap: 0; }.timeline::before { position: absolute; top: 10px; bottom: 12px; left: 7px; width: 1px; background: #dfe2d9; content: ""; }.timeline-item { position: relative; padding: 0 0 22px 29px; }.timeline-item:last-child { padding-bottom: 0; }.timeline-dot { position: absolute; top: 4px; left: 1px; width: 13px; height: 13px; border: 3px solid #fbfcf8; border-radius: 50%; background: #9ca193; box-shadow: 0 0 0 1px #d8dbd2; }.timeline-item:first-child .timeline-dot { background: var(--acid-deep); }.timeline-item strong { display: block; font-size: 11px; line-height: 1.45; }.timeline-item p { margin: 5px 0 0; color: #858a7e; font-size: 10px; line-height: 1.55; }.timeline-meta { margin-top: 6px; color: #a2a69c; font-size: 8px; }
.qa-list { display: grid; gap: 8px; }.qa-item { display: grid; grid-template-columns: 25px 1fr; gap: 10px; padding: 13px; border: 1px solid #e4e7de; border-radius: 10px; background: #fff; }.qa-status { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 800; }.qa-pass { background: #edf7d8; color: #668800; }.qa-fail { background: #ffebe5; color: #d64e28; }.qa-pending { background: #f0f1ee; color: #969a90; }.qa-item strong { font-size: 11px; }.qa-item p { margin: 5px 0 0; color: #858a7f; font-size: 9px; line-height: 1.5; }
.empty-state { padding: 38px 20px; border: 1px dashed #d9ddd3; border-radius: 11px; color: #94988e; text-align: center; }.empty-state strong { display: block; color: #6f7369; font-size: 12px; }.empty-state p { margin: 7px 0 0; font-size: 10px; }
.doc-list { display: grid; gap: 11px; }.doc-section { padding: 15px; border: 1px solid #e4e7de; border-radius: 10px; background: #fff; }.doc-section h3 { margin: 0 0 9px; font-size: 11px; }.doc-section p { margin: 0; color: #72776b; font-size: 10px; line-height: 1.7; white-space: pre-wrap; }

.task-modal { width: min(520px, calc(100vw - 30px)); padding: 0; border: 0; border-radius: 17px; background: #fbfcf8; box-shadow: 0 30px 100px rgba(15,18,12,.3); }
.task-modal::backdrop { background: rgba(17,19,15,.45); backdrop-filter: blur(4px); }
.task-modal form { padding: 28px; }.modal-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }.modal-head h2 { margin: 0; font-size: 24px; letter-spacing: -.05em; }.task-modal label { display: grid; gap: 8px; margin-top: 15px; color: #666b60; font-size: 10px; font-weight: 700; }.task-modal input,.task-modal select,.task-modal textarea { width: 100%; border: 1px solid #dfe2d9; border-radius: 9px; outline: 0; padding: 11px 12px; background: white; color: var(--ink); font-size: 12px; resize: vertical; }.task-modal input:focus,.task-modal select:focus,.task-modal textarea:focus { border-color: #9faa73; box-shadow: 0 0 0 3px rgba(216,255,81,.2); }.form-grid { display: grid; grid-template-columns: 1fr 150px; gap: 11px; }.form-grid-three { grid-template-columns: 1fr 120px 105px; }.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 24px; }.modal-actions button { min-width: 90px; }

.toast-region { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: grid; gap: 8px; }.toast { min-width: 270px; padding: 13px 15px; border: 1px solid #303329; border-radius: 10px; background: #171914; color: white; box-shadow: var(--shadow); font-size: 11px; animation: toast-in .25s ease; }.toast.is-error { border-color: #d85a35; }.toast span { color: var(--acid); font-weight: 750; }

@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(216,255,81,0); } 100% { box-shadow: 0 0 0 0 rgba(216,255,81,0); } }
@keyframes beacon { 0% { transform: scale(.8); opacity: 1; } 80%,100% { transform: scale(1.5); opacity: 0; } }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(342deg); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

.login-page { display: grid; min-height: 100vh; place-items: center; padding: 16px; background: #11130f; }
.login-card { width: min(100%, 360px); padding: 30px 28px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.login-card .brand { padding: 0 0 22px; color: var(--ink); }
.login-card label { display: grid; gap: 8px; margin-top: 15px; color: #666b60; font-size: 10px; font-weight: 700; }
.login-card input { width: 100%; border: 1px solid #dfe2d9; border-radius: 9px; outline: 0; padding: 11px 12px; color: var(--ink); font-size: 13px; }
.login-card input:focus { border-color: #9faa73; box-shadow: 0 0 0 3px rgba(216,255,81,.2); }
.login-card .primary-button { width: 100%; margin-top: 22px; }
.login-error { margin: 14px 0 0; color: var(--orange); font-size: 12px; font-weight: 650; }
.profile-row a { color: #73766e; font-size: 11px; text-decoration: none; }
.profile-row a:hover { color: #eff0e9; }

@media (max-width: 1180px) {
  .metrics { grid-template-columns: repeat(2,1fr); }
  .project-grid { grid-template-columns: repeat(3,1fr); }
  .hero-orbit { margin-right: 1%; transform: scale(.88); }
}
@media (max-width: 820px) {
  :root { --sidebar: 0px; }
  .sidebar { width: 248px; transform: translateX(-105%); transition: transform .25s ease; }
  body.menu-open .sidebar { transform: translateX(0); box-shadow: 20px 0 60px rgba(0,0,0,.25); }
  .content { margin-left: 0; }
  .mobile-menu { display: grid; }
  .breadcrumbs { display: none; }
  .topbar { height: 64px; padding: 0 18px; }
  .search-box { width: 150px; }.search-box:focus-within { width: 190px; }.search-box kbd { display: none; }
  .page-wrap { padding: 24px 18px 60px; }
  .project-grid { display: grid; grid-auto-columns: minmax(220px, 64vw); grid-auto-flow: column; grid-template-columns: none; padding-bottom: 10px; overflow-x: auto; scrollbar-width: thin; }
}
@media (max-width: 560px) {
  .top-actions .search-box { display: none; }
  .primary-button { padding: 0 12px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 8px; }.metric-card { min-height: 128px; padding: 16px; }.metric-card strong { font-size: 29px; }.metric-card p { right: 16px; bottom: 13px; left: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.mini-bars,.ring-small,.metric-icon,.alert-beacon { transform: scale(.8); transform-origin: bottom right; }
  .projects-section { margin-top: 29px; }
  .attention-strip { grid-template-columns: 32px 1fr; }.attention-strip button { display: none; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 13px; }.board-tools { width: 100%; }.board-tools .view-toggle,.board-tools .filter-button { display: none; }.project-filter,.category-filter { flex: 1; }.project-filter span,.category-filter span { display: none; }.project-filter select,.category-filter select { width: 100%; max-width: none; padding-left: 9px; }
  .kanban { grid-template-columns: repeat(5, 82vw); }
  .task-drawer { width: 100vw; padding: 20px 18px 15px; }.drawer-title { padding-top: 20px; }.drawer-title h2 { font-size: 25px; }.drawer-meta { grid-template-columns: 1fr 1fr; }.drawer-tabs { gap: 15px; }.drawer-actions { flex-wrap: wrap; }.drawer-actions button { min-width: calc(50% - 4px); }
  .form-grid,.form-grid-three { grid-template-columns: 1fr; }.task-modal form { padding: 22px; }
}

/* 설정 화면 */
a.nav-item { text-decoration: none; }
.settings-wrap { max-width: 980px; }
.settings-section { margin-bottom: 42px; }
.settings-section .section-head { margin-bottom: 8px; }
.settings-note { margin: 0 0 14px; color: #777b70; font-size: 12px; line-height: 1.65; }
.settings-card { padding: 6px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.86); }
.setting-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #eef0ea; }
.setting-row:last-child { border-bottom: 0; }
#stage-rows .setting-row { grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); }
.runner-row, .project-row { grid-template-columns: minmax(0, 1fr) auto; }
.setting-label strong { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.setting-label small { display: block; margin-top: 4px; color: #8a8e83; font-size: 11px; line-height: 1.5; }
.setting-label code, .token-box code { padding: 1px 5px; border-radius: 4px; background: #eef0e8; font-size: 10px; }
.field { display: grid; gap: 6px; color: #666b60; font-size: 10px; font-weight: 700; }
.field input, .field select, .inline-form input { width: 100%; min-height: 38px; border: 1px solid #dfe2d9; border-radius: 9px; outline: 0; padding: 0 12px; background: #fff; color: var(--ink); font-size: 12px; }
.field input:focus, .field select:focus, .inline-form input:focus { border-color: #9faa73; box-shadow: 0 0 0 3px rgba(216,255,81,.2); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.action-danger { color: #b64a29; }
.status-chip { display: inline-flex; margin-top: 7px; padding: 4px 8px; border-radius: 6px; background: #f1f2ed; color: #8a8e83; font-size: 10px; font-weight: 700; }
.status-chip.is-on { background: #eef7d2; color: #56662a; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #c9ccc3; }
.online-dot.is-online { background: var(--acid-deep); box-shadow: 0 0 0 4px rgba(216,255,81,.25); }
.inline-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 14px 0; border-top: 1px solid #eef0ea; }
.project-inline { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
.settings-actions { display: flex; justify-content: flex-end; padding: 12px 0 10px; }
.token-box { margin: 4px 0 14px; padding: 14px; border: 1px solid #d8e6a4; border-radius: 10px; background: #fbfdf2; }
.token-box[hidden] { display: none; }
.token-box strong { font-size: 12px; }
.token-box p { margin: 6px 0 10px; color: #6f7468; font-size: 11px; }
.token-box pre { margin: 0 0 10px; padding: 12px; overflow-x: auto; border-radius: 8px; background: #171914; color: #e9ecdf; font-size: 11px; line-height: 1.6; }
.run-status { display: inline-flex; gap: 6px; align-items: center; }
.run-status i { width: 7px; height: 7px; border-radius: 50%; background: #c9ccc3; }
.run-status.is-running i { background: var(--acid-deep); animation: pulse 2s infinite; }
.run-status.is-queued i { background: #d0b04a; }
.run-status.is-failed i { background: var(--orange); }
@media (max-width: 820px) {
  .setting-row, #stage-rows .setting-row, .project-inline { grid-template-columns: 1fr; }
  .row-actions { justify-content: flex-start; }
}
.drawer-meta .meta-cell:nth-child(5) { grid-column: 1 / -1; }
.meta-cell .run-status { display: flex; }
