/* SFTC identity with the clear navigation and list hierarchy observed in Naver services. */
:root {
  --navy: #22332b;
  --blue: #009744;
  --line: #e4e9e6;
  --muted: #69766f;
  --ink: #242b27;
  --pale: #f7f9f8;
  color: var(--ink);
  background: #f7f9f8;
  font-family: "Malgun Gothic", "Segoe UI", sans-serif;
}
.sidebar {
  background: #fff;
  color: #58635d;
  border-right: 1px solid var(--line);
  width: 224px;
  padding: 24px 16px;
  overflow-y: auto;
}
.brand {
  padding: 0 7px;
  gap: 10px;
  flex-wrap: wrap;
  color: #26372d;
  align-items: center;
}
.brand-logo {
  width: 94px;
  height: 48px;
  object-fit: contain;
}
.brand > span:last-child {
  font-size: 15px;
  line-height: 1.5;
}
.brand small {
  color: #6f7f74;
  font-size: 11px;
  letter-spacing: 0;
  margin-top: 2px;
  font-weight: 400;
}
.project-tag {
  margin-top: 25px;
  background: #f6f9f7;
  border: 1px solid #e0e9e3;
  padding: 12px 10px;
  gap: 9px;
}
.project-icon {
  background: #e0f1e7;
  color: #00893e;
}
.project-tag strong {
  color: #364d3e;
  font-size: 12px;
}
.project-tag small {
  color: #77877d;
  font-size: 10px;
}
.tiny-dot {
  background: #16ab5e;
}
.nav-label {
  color: #8b988f;
  font-size: 11px;
  margin: 21px 13px 8px;
}
.nav-link {
  color: #56635b;
  font-size: 13px;
  padding: 11px 12px;
  gap: 11px;
  border-radius: 5px;
  min-height: 40px;
}
.nav-link:hover {
  background: #f1f6f3;
  color: #137f42;
}
.nav-link.active {
  color: #008c40;
  background: #eaf6ef;
  box-shadow: none;
  font-weight: 700;
}
.nav-link.active .icon {
  stroke-width: 2;
}
.nav-count {
  color: #009744;
  background: #d9efdf;
  padding: 2px 6px;
  border-radius: 9px;
  font-size: 10px;
}
.nav-group-label {
  font-size: 10px;
  color: #8f9b93;
  padding: 16px 12px 6px;
  letter-spacing: 0;
}
.sidebar-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 10px 0;
  margin-top: 24px;
}
.local-status {
  color: #47765b;
  font-size: 11px;
}
.sidebar-bottom p {
  color: #85928a;
  font-size: 10px;
}
.sidebar-help {
  color: #597261;
  padding-top: 12px;
}
.sidebar-help span {
  border-color: #b6c6bc;
}
.app-shell {
  margin-left: 224px;
  min-width: 0;
}
.topbar {
  height: 68px;
  padding: 0 32px;
  background: #fff;
}
.breadcrumb {
  font-size: 12px;
  color: #839087;
}
.breadcrumb span:last-child {
  color: #34483b;
}
.topbar-right {
  gap: 17px;
}
.demo-badge {
  color: #8e702f;
  background: #fff8e8;
  border-color: #efdfba;
  font-size: 10px;
}
.avatar {
  background: #eaf5ed;
  color: #168047;
  border-color: #d6e7db;
}
.user-switch select {
  max-width: 170px;
  color: #405a49;
  font-size: 12px;
}
.today {
  color: #819087;
}
.page-head {
  margin-bottom: 22px;
}
h1 {
  font-size: 25px;
  letter-spacing: -0.8px;
  color: #242d27;
}
h2 {
  font-size: 16px;
  color: #344139;
}
.page-head p {
  font-size: 12px;
  color: #79867e;
  margin-top: 8px;
}
.btn {
  font-size: 12px;
  border-color: #d8e2da;
  border-radius: 5px;
  min-height: 39px;
  padding: 10px 15px;
}
.btn:hover {
  background: #f0f7f2;
}
.btn.primary {
  background: #009744;
  border-color: #009744;
  box-shadow: none;
}
.btn.primary:hover {
  background: #00823b;
}
.btn.dark {
  background: #305a41;
  border-color: #305a41;
}
.btn.subtle {
  color: #5d7968;
}
.icon-button {
  border-color: #e0e8e2;
}
.icon-button:hover {
  background: #f0f7f2;
}
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: #64bd87;
}
.workspace-overview {
  border-color: #e2e9e4;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr);
  border-radius: 7px;
  margin-bottom: 24px;
}
.scene-preview {
  height: 235px;
}
.scene-info {
  padding: 22px 26px;
}
.scene-info .eyebrow {
  font-size: 11px;
  color: #7f8f85;
  justify-content: flex-start;
  gap: 7px;
}
.scene-info h2 {
  font-size: 20px;
  margin-top: 10px;
  line-height: 1.4;
  font-weight: 700;
}
.scene-info p {
  font-size: 12px;
  color: #7b8980;
  margin-top: 8px;
  line-height: 1.65;
}
.inline-metrics {
  margin-top: 21px;
}
.metric strong {
  font-size: 23px;
  color: #3c5546;
}
.metric span {
  font-size: 11px;
  color: #7c8c81;
}
.metric i {
  color: #8d9b92;
}
.section-bar h2 {
  font-size: 16px;
}
.pill-count {
  background: #edf3ef;
  color: #52725f;
}
.search-field input {
  border-color: #d7e3da;
  font-size: 12px;
  width: 235px;
}
.search-field .icon {
  color: #79a486;
}
.filter-row select,
.field-control {
  color: #5a7062;
  border-color: #dce5df;
  font-size: 12px;
}
.experiments-table {
  font-size: 12px;
}
.experiments-table th {
  font-size: 11px;
  color: #7c8b81;
  background: #f8faf8;
  padding-top: 13px;
  padding-bottom: 13px;
}
.experiments-table td {
  color: #53665b;
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom-color: #edf2ee;
}
.experiments-table tbody tr:hover {
  background: #f5faf6;
}
.experiments-table tbody tr.selected {
  background: #edf8f0;
}
.record-link {
  color: #344d3e;
  font-size: 12px;
  max-width: 240px;
}
.record-link:hover {
  color: #008c40;
}
.record-meta {
  color: #8d9b92;
  font-size: 10px;
}
.table-foot {
  color: #89998e;
  font-size: 11px;
}
.status {
  font-size: 10px;
  background: #f1f3f2;
  color: #7b8a81;
}
.status.approved {
  color: #168248;
  background: #eaf6ed;
}
.status.review {
  color: #a07626;
  background: #fff6e2;
}
.selection-bar {
  background: #eef8f1;
  border-color: #cee7d5;
  color: #3f7a53;
}
.notice {
  background: #f0f7f2;
  border-color: #dcecdf;
  color: #52745e;
}
.notice.warn {
  background: #fffaef;
  color: #8b723d;
  border-color: #f0e5cb;
}
.notice.error {
  color: #ad4a3e;
  background: #fff1ed;
  border-color: #f2dcd5;
}
.notice.good {
  background: #edf7f0;
  color: #2d7d4c;
}
.panel-title {
  border-color: #e8eee9;
}
.panel-title h2 {
  font-size: 14px;
}
.note {
  color: #77877c;
  font-size: 12px;
}
.panel {
  border-radius: 6px;
}
.app-footer {
  color: #929f96;
  font-size: 10px;
  padding-top: 15px;
}
.comparison-table th {
  color: #7c8c81;
  background: #f8faf8;
}
.comparison-table td.changed {
  color: #168145;
  background: #eff8f2;
}
.comparison-table .compare-title {
  color: #34503e;
}
.chart-legend {
  color: #7c8b80;
}
.calc-box {
  border-color: #dae9df;
  background: #f3faf5;
}
.calc-box strong {
  color: #277b4a;
}
.calc-box span {
  color: #648b71;
}
.calc-box small {
  color: #7d9d86;
}
.range-top {
  color: #6d8274;
}
.range-top input {
  color: #267647;
  border-color: #d7e5db;
}
.scene-bottom {
  color: #86958c;
  font-size: 10px;
}
.report-version {
  background: #ecf6ef;
  color: #508360;
}
.report-row p {
  color: #809187;
  font-size: 11px;
}
.report-type strong {
  font-size: 13px;
}
.audit-list {
  color: #6f8275;
}
.toast {
  background: #2d5b3d;
  border-color: #46815a;
}
.record-body {
  grid-template-columns: 310px minmax(0, 1fr);
}
.capture-pane {
  background: #f7faf8;
  border-color: #e3ebe6;
}
.capture-pane h3 {
  font-size: 14px;
}
.capture-pane textarea {
  border-color: #d6e3da;
  font-size: 12px;
  min-height: 210px;
  color: #395d45;
}
.sample-button {
  color: #3b8857;
}
.capture-notes {
  border-color: #dfebe3;
  color: #83968a;
}
.form-field {
  font-size: 12px;
  color: #6b8073;
}
.form-field input,
.form-field select,
.form-field textarea {
  color: #3b5544;
  border-color: #d8e4dc;
}
.detail-grid dd {
  color: #3b6247;
}
.detail-source {
  background: #f6faf7;
  border-color: #dfebe3;
  color: #6f8576;
}
.planned-tag {
  display: inline-block;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 3px;
  background: #fff6df;
  color: #aa7e25;
  font-weight: 400;
  white-space: nowrap;
}
.planned-button {
  color: #899b8e;
  border-style: dashed;
  background: #fcfdfc;
  cursor: default !important;
  opacity: 1 !important;
}
.planned-box {
  padding: 17px;
  border: 1px dashed #d9e4dc;
  border-radius: 6px;
  background: #fcfdfc;
}
.planned-box h3 {
  font-size: 13px;
  color: #617568;
  display: flex;
  align-items: center;
  gap: 8px;
}
.planned-box p {
  margin-top: 10px;
  font-size: 11px;
  color: #8a988f;
  line-height: 1.8;
}
.planned-box .planned-tag {
  margin-left: auto;
}
.record-kind {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 5px;
  color: #4d8761;
  background: #edf6f0;
  border: 1px solid #d9eadd;
  border-radius: 3px;
  font-weight: 400;
  font-size: 9px;
}
.record-kind.test {
  color: #8d742c;
  background: #fff8e8;
  border-color: #efdfb8;
}
.type-tabs {
  display: flex;
  gap: 23px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 17px;
}
.type-tab {
  border: 0;
  background: none;
  color: #829087;
  font-size: 13px;
  padding: 0 0 12px;
  border-bottom: 2px solid transparent;
}
.type-tab.active {
  color: #009744;
  border-bottom-color: #009744;
  font-weight: 700;
}
.page-context {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #65816e;
  font-size: 11px;
  margin-bottom: 13px;
}
.owner-mini {
  border-top: 1px solid #e5ece7;
  padding-top: 10px;
  margin-top: 13px;
  color: #6c8375;
  font-size: 11px;
}
.auto-summary-label {
  font-size: 11px;
  color: #718577;
}
.analysis-planned-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.analysis-planned-list > span {
  border: 1px solid #e2ebe5;
  border-radius: 5px;
  padding: 12px;
  font-size: 11px;
  color: #81968a;
  text-align: center;
}
.record-dialog input,
.record-dialog textarea {
  scroll-margin-top: 125px;
  scroll-margin-bottom: 120px;
}
@media (min-width: 1550px) {
  .scene-preview {
    height: 270px;
  }
  .scene-info {
    padding: 26px 30px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 195px;
    padding: 22px 12px;
  }
  .app-shell {
    margin-left: 195px;
  }
  .brand-logo {
    width: 79px;
    height: 41px;
  }
  .brand > span:last-child {
    font-size: 13px;
  }
  .workspace-overview {
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, 1fr);
  }
  .scene-info {
    padding: 19px;
  }
  .scene-info h2 {
    font-size: 18px;
  }
  .search-field input {
    width: 190px;
  }
  .topbar {
    padding: 0 23px;
  }
  .sidebar-bottom {
    margin-top: 18px;
  }
  .scene-preview {
    height: 235px;
  }
}
@media (max-width: 900px) {
  .workspace-overview {
    grid-template-columns: 1fr;
  }
  .scene-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .scene-info p {
    display: block;
  }
  .record-body {
    grid-template-columns: 270px minmax(0, 1fr);
  }
  .filter-row {
    flex-wrap: wrap;
  }
  .search-field input {
    width: 190px;
  }
  .analysis-planned-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .sidebar {
    width: 224px;
    transform: translateX(-100%);
    box-shadow: 0 0 45px #183d2620;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .app-shell {
    margin-left: 0;
    width: 100%;
    min-width: 0;
  }
  .topbar {
    padding: 0 16px;
    height: 61px;
  }
  .topbar-right {
    gap: 8px;
  }
  .user-switch select {
    max-width: 140px;
    font-size: 10px;
  }
  .today {
    display: none;
  }
  .scene-preview {
    height: 225px;
  }
  .scene-info {
    display: block;
    padding: 18px;
  }
  .scene-info h2 {
    font-size: 18px;
  }
  .scene-info p {
    font-size: 11px;
  }
  .inline-metrics {
    margin-top: 18px;
  }
  .record-body {
    grid-template-columns: 1fr;
  }
  .search-field {
    min-width: 0;
  }
  .search-field input {
    width: 100%;
  }
  .filter-row {
    flex-wrap: nowrap;
  }
  .filter-row select {
    max-width: 110px;
  }
  .experiments-table {
    font-size: 11px;
  }
  .experiments-table th {
    font-size: 10px;
  }
  .workspace-overview {
    min-width: 0;
  }
  .record-dialog {
    max-width: calc(100vw - 16px);
  }
  .capture-pane textarea {
    min-height: 120px;
  }
  .note {
    font-size: 11px;
  }
  .form-field {
    font-size: 11px;
  }
  .page-head {
    gap: 16px;
  }
  .head-actions .btn {
    font-size: 11px;
  }
  .page-context {
    font-size: 10px;
  }
  .app-footer {
    padding: 14px 16px;
  }
  .type-tabs {
    gap: 20px;
  }
  .type-tab {
    font-size: 12px;
  }
  .record-kind {
    font-size: 9px;
  }
  .table-wrap {
    max-width: 100%;
  }
  .app-shell,
  main,
  #records-area,
  .scene-layout > div {
    min-width: 0;
  }
}
