:root {
  font-family:
    Inter,
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    sans-serif;
  color: #202d35;
  background: #f6f8f9;
  font-size: 14px;
  font-synthesis: none;
  --accent: #087967;
  --muted: #718087;
  --line: #e6ebed;
  --navy: #172e32;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #8bd9c7;
  outline-offset: 3px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: 29px;
  letter-spacing: -1.15px;
  line-height: 1.4;
  font-weight: 730;
}
h2 {
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.45px;
}
h3 {
  font-size: 16px;
}
h4 {
  font-size: 13px;
  margin: 22px 0 10px;
}
p {
  line-height: 1.8;
}
small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.mono,
.code-block,
.file-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.7px;
  color: #6f8785;
  display: block;
  margin-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.8px;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 23px;
  font-weight: 750;
  position: relative;
}
.brand-mark > span {
  font-size: 13px;
  position: absolute;
  right: 4px;
  top: 1px;
}
.brand-sub {
  display: block;
  font-size: 8px;
  letter-spacing: 2.5px;
  font-weight: 650;
  margin-top: 2px;
  color: #8b9b9c;
}
.button {
  border: 1px solid #dce4e5;
  border-radius: 7px;
  padding: 10px 15px;
  background: #fff;
  color: #3e5359;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 620;
  font-size: 12px;
  line-height: 1.3;
  min-height: 37px;
  transition: background 0.15s;
}
.button:hover {
  background: #f0f5f4;
}
.button.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.button.primary:hover {
  background: #066353;
}
.button.danger-button {
  color: #b53c48;
  border-color: #efcfd3;
  margin-top: 16px;
}
.text-button {
  color: var(--accent);
  border: 0;
  background: none;
  padding: 5px 0;
  font-weight: 620;
  font-size: 12px;
}
.icon-button {
  background: none;
  border: 0;
  padding: 7px;
  display: inline-flex;
  align-items: center;
  color: #7f9296;
  border-radius: 5px;
}
.icon-button:hover {
  background: #edf2f2;
}
.wide {
  width: 100%;
}
.badge {
  font-size: 10px;
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 5px;
  line-height: 1.3;
  font-weight: 620;
  white-space: nowrap;
  background: #f0f3f4;
  color: #65757c;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.badge.success {
  background: #e5f5ed;
  color: #258460;
}
.badge.warning {
  background: #fff1d8;
  color: #ad791f;
}
.badge.danger {
  background: #ffeced;
  color: #bd4a56;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.auth-story {
  background: #143b39;
  color: #fff;
  padding: 52px 62px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.auth-story:after {
  content: "";
  width: 450px;
  height: 450px;
  border: 1px solid #ffffff0d;
  border-radius: 50%;
  position: absolute;
  right: -240px;
  top: 25%;
  box-shadow:
    0 0 0 65px #ffffff03,
    0 0 0 130px #ffffff02;
  pointer-events: none;
}
.auth-story .brand-mark {
  background: #8fe2c2;
  color: #163c36;
}
.auth-story .brand-sub {
  color: #9cbbb4;
}
.story-copy {
  margin: auto 0;
  padding: 65px 0 85px;
  z-index: 1;
}
.story-copy > .eyebrow {
  color: #97cabc;
  margin-bottom: 25px;
}
.story-copy h1 {
  font-size: 39px;
  line-height: 1.6;
  letter-spacing: -1.9px;
}
.story-copy h1 > span {
  color: #a7e2cc;
}
.story-copy > p {
  color: #aec6c2;
  margin-top: 23px;
  font-size: 14px;
  line-height: 2;
}
.story-flow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 46px;
}
.story-flow > div {
  border: 1px solid #45635f;
  background: #ffffff04;
  padding: 18px 15px;
  width: 125px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.story-flow svg {
  color: #9ddfca;
  width: 21px;
}
.story-flow b {
  font-size: 12px;
  font-weight: 550;
}
.story-flow small {
  font-size: 10px;
  color: #98b9b1;
}
.story-flow > span {
  color: #6c948a;
}
.auth-story > footer {
  color: #86aaa1;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fcfdfd;
  padding: 65px 45px;
  position: relative;
}
.auth-card {
  width: 100%;
  max-width: 360px;
}
.auth-card h2 {
  font-size: 27px;
  letter-spacing: -1.1px;
  margin: 16px 0 12px;
}
.auth-card > .muted {
  font-size: 12px;
  margin-bottom: 32px;
}
.auth-invite {
  margin-top: 23px;
  text-align: center;
  font-size: 12px;
  color: #849197;
}
.auth-invite button {
  margin-left: 8px;
}
.auth-note {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 30px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #88979a;
  font-size: 11px;
  line-height: 1.8;
}
.auth-note svg {
  width: 16px;
  margin-top: 2px;
}
.auth-bottom {
  position: absolute;
  bottom: 32px;
  color: #a3aeb2;
  font-size: 10px;
}
.auth-card .primary {
  margin-top: 10px;
  min-height: 46px;
}
.auth-card .primary svg {
  margin-left: auto;
  width: 16px;
}
.auth-card .primary {
  padding-left: 130px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  font-weight: 610;
  margin-bottom: 20px;
}
input,
textarea,
select {
  border: 1px solid #dce3e5;
  border-radius: 7px;
  background: #fff;
  color: #34494f;
  padding: 12px 13px;
  min-width: 0;
  width: 100%;
  transition: border-color 0.15s;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
input::placeholder,
textarea::placeholder {
  color: #a7b1b5;
  font-weight: 400;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #61ad9d;
  outline: 0;
  box-shadow: 0 0 0 3px #0879670a;
}
.field-help {
  font-size: 11px;
  color: #87979b;
  font-weight: 400;
  line-height: 1.8;
}
.form-error {
  color: #b83f4b;
  font-size: 12px;
  margin: 10px 0;
  min-height: 0;
}
.form-error:empty {
  display: none;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 232px;
  background: #fff;
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--line);
  padding: 28px 20px 14px;
  display: flex;
  flex-direction: column;
  z-index: 4;
}
.sidebar .brand {
  margin: 0 4px 38px;
  font-size: 23px;
}
.workspace-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #a3afb3;
  margin: 0 9px 11px;
}
.project-select-label {
  margin: 0 0 9px;
}
.project-select-label select {
  font-size: 12px;
  background: #f7f9f9;
  border-color: #e7eded;
  font-weight: 600;
  padding: 12px;
}
.sidebar-create {
  font-size: 11px;
  background: transparent;
  border: 1px dashed #d8e3df;
  min-height: 33px;
  padding: 6px;
  margin-bottom: 31px;
}
.sidebar-create svg {
  width: 14px;
  height: 14px;
}
.nav-label {
  margin-bottom: 12px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 11px;
  border-radius: 7px;
  font-size: 12px;
  color: #78888e;
  margin-bottom: 5px;
  font-weight: 500;
}
.nav-item svg {
  width: 17px;
  height: 17px;
}
.nav-item.active {
  background: #eaf5f0;
  color: #117a64;
  font-weight: 650;
}
.nav-item:hover {
  background: #f3f7f5;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  background: #d5eee3;
  border-radius: 4px;
  padding: 2px 5px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.scope-note {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #e5eeeb;
  background: #f8fbfa;
  padding: 13px 12px;
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.8;
  color: #829a92;
  margin-bottom: 19px;
}
.scope-note svg {
  width: 17px;
}
.profile {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.avatar {
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #eaf0ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 650;
  color: #487567;
}
.avatar.small {
  width: 28px;
  height: 28px;
  font-size: 10px;
}
.profile > div {
  min-width: 0;
  flex: 1;
}
.profile b {
  font-size: 11px;
  font-weight: 650;
}
.profile small {
  display: block;
  font-size: 9px;
  color: #94a0a5;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
}
.profile .icon-button {
  padding: 4px;
}
.profile svg {
  width: 15px;
}
.workspace {
  margin-left: 232px;
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 70px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  background: #ffffffc9;
}
.breadcrumb {
  font-size: 11px;
  color: #96a2a7;
  display: flex;
  gap: 14px;
  align-items: center;
}
.breadcrumb b {
  color: #55686e;
  font-weight: 550;
}
.breadcrumb > span {
  color: #c5cdcf;
}
.topbar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.connection {
  font-size: 10px;
  color: #99a5a8;
  display: flex;
  align-items: center;
  gap: 7px;
}
.connection i {
  display: block;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  background: #c2a16b;
}
.connection.online {
  color: #69998b;
}
.connection.online i {
  background: #4eac85;
  box-shadow: 0 0 0 3px #e7f5ed;
}
#content {
  padding: 36px 38px;
  max-width: 1600px;
  margin: auto;
  min-height: calc(100vh - 120px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 29px;
}
.page-heading h1 {
  font-size: 27px;
}
.page-heading p {
  font-size: 12px;
  color: #8a999f;
  margin-top: 8px;
}
.page-heading .eyebrow {
  margin-bottom: 7px;
  font-size: 9px;
}
.heading-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 26px;
}
.metrics > div {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}
.metrics > div:last-child {
  border-right: 0;
}
.metrics span {
  font-size: 11px;
  color: #87969d;
  font-weight: 550;
}
.metrics strong {
  display: block;
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -1.4px;
  margin: 13px 0 4px;
  color: #2d434a;
}
.metrics strong.accent {
  color: var(--accent);
}
.metrics strong > small {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: #9dabad;
  margin-left: 7px;
}
.metrics p {
  font-size: 10px;
  color: #a1adb1;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
  overflow: hidden;
}
.panel-heading {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f0f3f4;
}
.panel-heading h2 {
  font-size: 13px;
}
.panel-heading p {
  font-size: 10px;
  margin-top: 7px;
  color: #9aa7ad;
}
.count {
  font-size: 10px;
  color: #6d9787;
  background: #eaf4ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}
.empty {
  text-align: center;
  padding: 43px 20px 40px;
}
.empty-symbol {
  display: inline-flex;
  border: 1px solid #e8eeeb;
  background: #f8faf9;
  padding: 13px;
  border-radius: 14px;
  color: #aec1b9;
  margin-bottom: 16px;
}
.empty-symbol svg {
  width: 22px;
  height: 22px;
}
.empty h3 {
  font-size: 12px;
  color: #75898f;
  font-weight: 550;
}
.empty p {
  font-size: 10px;
  color: #a1aeb3;
  max-width: 350px;
  margin: 9px auto 16px;
  line-height: 1.9;
}
.empty .button {
  font-size: 10px;
  min-height: 31px;
  padding: 7px 10px;
  margin: 0 4px;
}
.activity-panel {
  grid-column: 1/-1;
}
.timeline {
  padding: 5px 24px 10px;
}
.timeline > div {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  padding: 16px 0;
  border-bottom: 1px solid #f2f5f5;
}
.timeline > div:last-child {
  border-bottom: 0;
}
.timeline-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77af99;
  box-shadow: 0 0 0 4px #f1f8f4;
  flex-shrink: 0;
}
.timeline-dot.danger {
  background: #d87981;
  box-shadow: 0 0 0 4px #fff2f3;
}
.timeline b {
  font-size: 11px;
  font-weight: 550;
}
.timeline small {
  display: block;
  font-size: 10px;
  color: #a2afb4;
  margin-top: 5px;
  max-width: 560px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.timeline time {
  margin-left: auto;
  color: #a0adb2;
  font-size: 10px;
  white-space: nowrap;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 16px 38px;
  font-size: 9px;
  color: #a4afb3;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  background: #fafcfc;
  font-weight: 550;
  color: #91a0a6;
  font-size: 10px;
  padding: 13px 23px;
  white-space: nowrap;
}
td {
  padding: 17px 23px;
  border-top: 1px solid #f0f4f4;
  font-size: 11px;
  color: #596f76;
  max-width: 480px;
  overflow-wrap: anywhere;
}
td b {
  font-weight: 550;
}
td small {
  display: block;
  font-size: 10px;
  color: #a2afb5;
  margin-top: 6px;
}
td .button {
  font-size: 10px;
  padding: 7px 10px;
  min-height: 29px;
}
td .badge {
  max-width: 180px;
}
.table-title {
  border: 0;
  background: none;
  padding: 0;
  color: #405961;
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  line-height: 1.6;
}
.table-title:hover {
  color: var(--accent);
}
.file-line {
  max-width: 330px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.review-row {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  border: 0;
  background: none;
  padding: 18px 23px;
  border-bottom: 1px solid #f0f4f4;
}
.review-row:hover {
  background: #f8fbfa;
}
.review-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.review-row b {
  font-size: 12px;
  display: block;
  font-weight: 550;
  color: #455f66;
}
.review-row small {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  color: #a0aeb2;
}
.review-row > svg {
  width: 15px;
  color: #91a7a0;
}
.review-icon {
  padding: 9px;
  display: flex;
  background: #fff5e6;
  color: #bf9859;
  border-radius: 8px;
}
.review-icon svg {
  width: 17px;
  height: 17px;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  align-items: start;
}
.kanban-column {
  background: #edf1f2;
  border: 1px solid #e6ebed;
  border-radius: 10px;
  padding: 16px 12px;
  min-height: 420px;
}
.kanban-column > header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 3px 16px;
}
.kanban-column h2 {
  font-size: 12px;
}
.kanban-column > header > span:last-child {
  margin-left: auto;
  color: #9ba9ae;
  font-size: 11px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b0bdc0;
}
.status-dot.in_progress {
  background: #609cd4;
}
.status-dot.in_review {
  background: #d4a457;
}
.status-dot.done {
  background: #5ba38a;
}
.kanban-cards {
  display: grid;
  gap: 10px;
}
.task-card {
  width: 100%;
  border: 1px solid #e4e9eb;
  border-radius: 7px;
  background: #fff;
  padding: 17px 15px;
  text-align: left;
  box-shadow: 0 2px 3px #203a3e03;
  transition: transform 0.15s;
}
.task-card:hover {
  transform: translateY(-2px);
  border-color: #b9d3c9;
}
.task-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #a1aeb4;
}
.task-card .badge {
  font-size: 8px;
  background: #f5f7f7;
  letter-spacing: 0.5px;
}
.task-card h3 {
  font-size: 12px;
  margin: 14px 0 8px;
  line-height: 1.7;
  color: #3e555c;
}
.task-card p {
  font-size: 10px;
  color: #97a5ac;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-line;
  line-height: 1.9;
}
.task-card footer {
  display: flex;
  align-items: center;
  gap: 4px;
  border-top: 1px solid #f1f4f4;
  margin-top: 16px;
  padding-top: 13px;
  font-size: 9px;
  color: #9ba9ae;
}
.task-card footer > svg {
  width: 12px;
  height: 12px;
}
.task-card footer span {
  margin-left: auto;
  font-size: 8px;
  color: #83a294;
}
.column-empty {
  font-size: 10px;
  text-align: center;
  color: #a9b5ba;
  padding: 30px 0;
}
.section-gap {
  margin-top: 23px;
}
.notice {
  background: #edf5f2;
  border: 1px solid #dfede7;
  padding: 15px 19px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.8;
  color: #6a8c80;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;
}
.notice svg {
  width: 17px;
  height: 17px;
}
.notice.danger {
  color: #b64f5b;
  background: #fff2f3;
  border-color: #f5dce0;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.settings-grid > .full {
  grid-column: 1/-1;
}
.detail-list {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 19px 10px;
  padding: 25px;
  margin: 0;
  font-size: 11px;
  align-items: start;
}
.detail-list dt {
  color: #9ba9ae;
}
.detail-list dd {
  margin: 0;
  color: #5c737b;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.sharing {
  padding: 26px;
  font-size: 11px;
  color: #738b81;
}
.sharing p {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
}
.sharing svg {
  width: 15px;
  height: 15px;
}
.sharing small {
  font-size: 10px;
  line-height: 1.9;
  color: #9caab0;
  display: block;
}
.code-block {
  margin: 0;
  padding: 23px;
  background: #253e42;
  color: #c8dfd8;
  overflow: auto;
  font-size: 11px;
  line-height: 2.4;
}
.settings-grid .notice {
  margin: 18px 20px;
  font-size: 10px;
}
.loading-line {
  height: 3px;
  max-width: 380px;
  background: linear-gradient(90deg, #d4e7df, #087967, #d4e7df);
  background-size: 200%;
  animation: loading 1.5s linear infinite;
  border-radius: 4px;
}
dialog {
  border: 1px solid #e3eae7;
  border-radius: 13px;
  width: min(590px, calc(100% - 32px));
  max-height: 90vh;
  padding: 0;
  box-shadow: 0 30px 100px #0f2e3033;
  color: #334c52;
}
dialog::backdrop {
  background: #15302d70;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 25px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}
.dialog-header h2 {
  font-size: 16px;
}
.dialog-header svg {
  width: 17px;
}
dialog form {
  padding: 23px 25px 0;
}
dialog form label {
  margin-bottom: 18px;
}
dialog input,
dialog textarea,
dialog select {
  font-size: 12px;
}
.dialog-body {
  padding: 24px 25px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.dialog-body > .detail-list {
  padding: 20px 0;
}
.dialog-body label {
  margin-top: 20px;
}
.dialog-description {
  font-size: 12px;
  color: #86999d;
  line-height: 1.9;
  margin-bottom: 22px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px 25px;
  border-top: 1px solid var(--line);
  background: #fbfcfc;
}
.dialog-footer .button {
  font-size: 11px;
}
dialog form .dialog-footer {
  margin: 20px -25px 0;
}
.detail-top {
  display: flex;
  gap: 8px;
}
.detail-title {
  font-size: 21px;
  line-height: 1.6;
  margin: 17px 0 25px;
}
.criteria {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 12px;
  color: #6d8288;
}
.criteria li:before {
  content: "✓";
  color: #62a086;
  margin-right: 10px;
}
.result-box {
  margin-top: 24px;
  padding: 0 20px 20px;
  border: 1px solid #e0ebe5;
  border-radius: 8px;
  background: #f7fbf8;
}
.result-box p {
  font-size: 12px;
  color: #667e74;
}
.result-box small {
  display: block;
  color: #8fa59b;
  font-size: 10px;
  margin-top: 20px;
  line-height: 1.9;
}
.target-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  font-size: 11px;
  font-family: ui-monospace, monospace;
  color: #6c858c;
}
.target-list li {
  background: #f4f7f7;
  padding: 10px 13px;
  margin-bottom: 7px;
  border-radius: 5px;
  overflow-wrap: anywhere;
}
.conflict-item {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.conflict-item p {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 13px;
}
.conflict-item small {
  color: #91a09e;
  font-size: 10px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #203b37;
  color: #f2faf5;
  padding: 14px 23px;
  border-radius: 9px;
  font-size: 12px;
  box-shadow: 0 6px 25px #102e3324;
  max-width: calc(100vw - 32px);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.boot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: #79938b;
  font-size: 13px;
}
@keyframes loading {
  to {
    background-position: 200%;
  }
}
@media (min-width: 1600px) {
  #content {
    padding-top: 45px;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .metrics > div {
    padding: 28px;
  }
  .overview-grid {
    grid-template-columns: 1.6fr 1fr;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 205px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .workspace {
    margin-left: 205px;
  }
  .topbar {
    padding: 0 25px;
  }
  #content {
    padding: 28px 25px;
  }
  .metrics > div {
    padding: 20px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .activity-panel {
    grid-column: auto;
  }
  .kanban {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth-story {
    padding: 40px;
  }
  .story-copy h1 {
    font-size: 31px;
  }
  .story-flow {
    gap: 8px;
  }
  .story-flow > div {
    width: 105px;
    padding: 14px 11px;
  }
  .story-flow small {
    font-size: 9px;
  }
}
@media (max-width: 760px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    position: relative;
    width: 100%;
    padding: 17px 20px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    margin: 0 0 17px;
    font-size: 20px;
  }
  .sidebar .brand-sub {
    display: none;
  }
  .sidebar .brand-mark {
    width: 29px;
    height: 29px;
    font-size: 19px;
  }
  .sidebar .workspace-label,
  .sidebar-create,
  .sidebar-bottom {
    display: none;
  }
  .project-select-label {
    position: absolute;
    right: 20px;
    top: 17px;
    width: 180px;
  }
  .project-select-label select {
    padding: 8px;
    font-size: 11px;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 6px;
    scrollbar-width: none;
  }
  .nav-item {
    white-space: nowrap;
    gap: 6px;
    margin: 0;
    padding: 9px;
    font-size: 10px;
  }
  .nav-item svg {
    width: 14px;
    height: 14px;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 50px;
    padding: 0 20px;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 8px;
  }
  .connection {
    font-size: 9px;
  }
  .topbar-right {
    gap: 8px;
  }
  #content {
    padding: 25px 20px;
    min-height: calc(100vh - 220px);
  }
  .page-heading {
    align-items: flex-start;
    gap: 15px;
  }
  .page-heading h1 {
    font-size: 22px;
    letter-spacing: -0.8px;
  }
  .page-heading p {
    font-size: 10px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .heading-actions > .button {
    padding: 9px;
    font-size: 10px;
    min-height: 33px;
  }
  .heading-actions svg {
    display: none;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metrics > div:nth-child(2) {
    border-right: 0;
  }
  .metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .metrics > div {
    padding: 18px;
  }
  .metrics strong {
    font-size: 26px;
  }
  .metrics span {
    font-size: 10px;
  }
  .metrics p {
    font-size: 9px;
  }
  .panel-heading {
    padding: 19px;
  }
  .panel-heading h2 {
    font-size: 12px;
  }
  .empty {
    padding: 36px 18px;
  }
  .workspace-footer {
    padding: 16px 20px;
    font-size: 8px;
  }
  .workspace-footer > span:last-child {
    display: none;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-grid > .full {
    grid-column: auto;
  }
  .detail-list {
    grid-template-columns: 90px 1fr;
    padding: 20px;
    gap: 17px 8px;
    font-size: 10px;
  }
  .timeline {
    padding-left: 19px;
    padding-right: 19px;
  }
  .timeline time {
    font-size: 9px;
  }
  .timeline b {
    font-size: 10px;
  }
  .timeline small {
    max-width: 200px;
    font-size: 9px;
  }
  td,
  th {
    padding: 14px 17px;
  }
  td {
    font-size: 10px;
    min-width: 95px;
  }
  .table-title {
    font-size: 10px;
  }
  .file-line {
    max-width: 190px;
  }
  .kanban {
    gap: 12px;
  }
  .kanban-column {
    padding: 12px 9px;
    min-height: 260px;
  }
  .task-card {
    padding: 14px 11px;
  }
  .task-card h3 {
    font-size: 11px;
  }
  .task-card footer > span {
    display: none;
  }
  .task-card .badge {
    font-size: 7px;
  }
  .auth-layout {
    display: block;
  }
  .auth-story {
    display: none;
  }
  .auth-panel {
    min-height: 100vh;
    padding: 40px 26px 65px;
  }
  .auth-card:before {
    content: "SyncAI ↗";
    font-size: 25px;
    display: block;
    color: var(--accent);
    font-weight: 750;
    letter-spacing: -1px;
    margin-bottom: 50px;
  }
  .auth-card h2 {
    font-size: 24px;
  }
  .dialog-body {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.mobile-only {
  display: none;
}
@media (max-width: 760px) {
  .mobile-only {
    display: inline-flex;
    padding: 3px;
  }
  .mobile-only svg {
    width: 15px;
    height: 15px;
  }
  .topbar .breadcrumb {
    min-width: 0;
  }
  .topbar .breadcrumb b {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .topbar-right {
    flex-shrink: 0;
  }
}
