.st-work,
.st-dialog {
  --st-ink: #1d1d1f;
  --st-teal: #17695d;
  --st-line: #d8d9dd;
  --st-soft: #edf1e9;
  --st-muted: #50635c;
  --st-surface: #fff;
  color: var(--st-ink);
  font-family:
    system-ui,
    -apple-system,
    'Apple SD Gothic Neo',
    'Malgun Gothic',
    sans-serif;
  font-size: 15px;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.st-work *,
.st-dialog * {
  box-sizing: border-box;
}
.st-work {
  background: var(--paper);
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(14px, 2.6vw, 42px);
  min-height: 80vh;
}
.st-work button,
.st-dialog button,
.st-work input,
.st-dialog input,
.st-work select,
.st-dialog select,
.st-work textarea {
  font: inherit;
  color: inherit;
}
.st-work button,
.st-dialog button {
  cursor: pointer;
}
.st-work button:focus-visible,
.st-dialog :focus-visible,
.st-work :focus-visible {
  outline: 3px solid #17695d;
  outline-offset: 3px;
}
.st-work h1,
.st-work h2,
.st-work h3,
.st-dialog h3,
.st-work p {
  margin: 0;
}
.st-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--st-line);
  padding-bottom: 20px;
}
.st-heading h1 {
  font-family: Georgia, 'AppleMyungjo', 'Batang', serif;
  letter-spacing: -0.05em;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.2;
}
.st-project-meta {
  color: var(--st-muted);
  font-size: 13px;
}
.st-project-meta {
  margin-top: 8px !important;
}
.st-actions,
.st-heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.st-heading-actions {
  align-items: flex-end;
  flex-direction: column;
}
.st-feedback {
  max-width: 420px;
  color: var(--st-muted);
  font-size: 12px;
}
.st-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  font-size: 13px !important;
  font-weight: 600;
  border: 1px solid #9baaa1;
  border-radius: 6px;
  background: var(--st-surface);
  color: var(--st-ink);
  padding: 8px 12px;
  min-height: 35px;
  text-decoration: none;
}
.st-button.primary {
  background: var(--st-teal);
  border-color: var(--st-teal);
  color: white;
}
.st-button.danger {
  color: #913f36;
  border-color: #cfb5ab;
  margin-top: 1.2rem;
}
.st-work button:disabled,
.st-dialog button:disabled {
  opacity: 0.48;
  cursor: default;
}
.st-work button:not(:disabled):hover,
.st-dialog button:not(:disabled):hover {
  filter: brightness(0.96);
}
.st-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--st-line);
  margin: 0 0 1.5rem;
}
.st-strip:empty {
  border: 0;
}
.st-strip button {
  position: relative;
  text-align: left;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  display: grid;
  gap: 2px;
}
.st-strip button:not(:last-child)::after {
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  border-right: 1px solid var(--st-line);
  content: '';
}
.st-strip small,
.st-metric small,
.st-jumps small {
  font-size: 12px;
  color: var(--st-muted);
}
.st-strip b,
.st-metric strong,
.st-jumps b {
  font-size: clamp(17px, 1.65vw, 26px);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.05em;
}
.st-layout {
  display: grid;
  grid-template-columns: minmax(125px, 0.48fr) minmax(0, 2fr) minmax(245px, 1fr);
  gap: clamp(15px, 1.8vw, 32px);
  align-items: start;
}
.st-rail {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.st-rail button {
  padding: 9px 11px;
  text-align: left;
  border-radius: 5px;
  border: 0;
  background: transparent;
  color: #41564e;
  font-size: 14px;
}
.st-rail button[aria-current] {
  font-weight: 700;
  background: #dae9dd;
  color: #164f45;
}
.st-tabheading,
.st-section > header,
.st-dialog > header,
.st-inspector-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.st-tabheading {
  margin: 0 0 1rem;
}
.st-tabheading h2 {
  font-size: 24px;
  letter-spacing: -0.06em;
}
.st-section,
.st-inspect,
.st-metrics {
  border: 1px solid var(--st-line);
  border-radius: 9px;
  background: var(--st-surface);
}
.st-section {
  margin-bottom: 14px;
  padding: clamp(13px, 1.35vw, 22px);
}
.st-section > header {
  margin-bottom: 13px;
}
.st-section h3,
.st-inspect h3 {
  font-size: 17px;
  letter-spacing: -0.035em;
}
.st-section p,
.st-inspect p,
.st-dialog p {
  line-height: 1.65;
  margin: 9px 0;
}
.st-empty,
.st-callout {
  font-size: 14px;
  color: #41564b;
  border-radius: 5px;
  padding: 12px 14px;
  background: var(--st-soft);
}
.st-callout {
  background: #f4eedf;
  color: #5d4c28;
}
.st-kv {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #e6e7df;
  font-size: 14px;
}
.st-kv:last-child,
.st-row:last-child {
  border-bottom: 0;
}
.st-kv > span {
  color: var(--st-muted);
}
.st-kv > strong {
  text-align: right;
  font-weight: 600;
}
.st-jumps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.st-jumps button {
  background: #f0f3ea;
  border: 0;
  border-radius: 6px;
  text-align: left;
  position: relative;
  padding: 15px;
  display: grid;
  gap: 5px;
}
.st-jumps i {
  font-size: 13px;
  font-style: normal;
  margin-left: 3px;
}
.st-jumps button span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: var(--st-teal);
}
.st-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-content: space-between;
  text-align: left;
  padding: 12px 5px;
  color: var(--st-ink);
  border: 0;
  border-bottom: 1px solid #e2e6dc;
  background: transparent;
  line-height: 1.45;
  min-height: 44px;
}
.st-row.chosen {
  background: #edf4eb;
  border-radius: 4px;
}
.st-row > span:first-child {
  flex: 1;
}
.st-row b {
  font-weight: 650;
}
.st-row small,
.st-flat small,
.st-history small {
  font-size: 12px;
  display: block;
  color: var(--st-muted);
  margin-top: 3px;
}
.st-sideval {
  font-size: 13px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #245949;
}
.st-arrow {
  color: #758b80;
}
.st-ref,
.st-stage-caption,
.st-flat {
  color: var(--st-muted);
  font-size: 13px;
  display: block;
}
.st-inspect {
  padding: clamp(13px, 1.25vw, 20px);
  background: #fafafc;
  position: sticky;
  top: 12px;
  max-height: calc(100dvh - 24px);
  overflow: auto;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}
.st-inspector-head {
  font-size: 12px;
  color: #526658;
  border-bottom: 1px solid #d0d8cb;
  margin-bottom: 12px;
  padding-bottom: 9px;
}
.st-inspect h3 {
  margin: 4px 0 15px;
}
.st-field {
  display: block;
  margin: 12px 0;
}
.st-field label,
.st-dialog label.st-field,
.st-check {
  font-weight: 600;
  font-size: 13px;
}
.st-field input:not([type='range']),
.st-field select,
.st-field textarea,
.st-filter select,
.st-dialog select,
.st-dialog input:not([type='radio']) {
  border: 1px solid #bfc1c7;
  background: white;
  border-radius: 9px;
  padding: 8px 10px;
  margin-top: 5px;
  width: 100%;
  min-height: 39px;
  color: var(--st-ink);
}
.st-field input[type='range'] {
  accent-color: var(--control-accent);
  width: 100%;
  height: 25px;
  margin: 5px 0 0;
  display: block;
}
.st-check {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0;
}
.st-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--control-accent);
}
.st-field textarea {
  resize: vertical;
  min-height: 65px;
}
.st-field :disabled {
  background: #e6ebe4 !important;
  color: #435049;
}
.st-inspect details,
.st-dialog details {
  margin: 12px 0;
  border: 1px solid var(--st-line);
  border-radius: 5px;
  padding: 10px;
  background: #fffdf7;
  font-size: 13px;
}
.st-work summary,
.st-dialog summary {
  cursor: pointer;
  font-weight: 650;
}
.st-links a,
.st-section a {
  display: inline-block;
  color: #145f52;
  margin: 3px 2px;
  text-underline-offset: 2px;
}
.st-warnings {
  margin: 0;
  padding-left: 1.2rem;
  color: #6c5127;
  font-size: 14px;
}
.st-warnings li + li {
  margin-top: 0.6rem;
}
.st-filter {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 13px;
}
.st-filter select {
  width: auto;
  max-width: 80%;
}
.st-stage {
  border: 1px solid #bdcabe;
  border-radius: 4px 4px 20% 20% / 4px 4px 8% 8%;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #eef2e8;
  gap: 1px;
}
.st-stage > div {
  min-height: 60px;
  padding: 7px;
  border: 1px dashed #cfdbcd;
}
.st-stage small {
  display: block;
  color: #63736b;
  font-size: 11px;
}
.st-stage .st-button {
  padding: 3px;
  min-height: 25px;
}
.st-stage-caption {
  text-align: center;
  margin-top: 7px;
}
.st-metrics {
  display: flex;
  margin: 0 0 13px;
  padding: 16px;
  gap: 28px;
}
.st-metric {
  display: grid;
}
.st-badge {
  font-size: 12px;
  color: #3e6151;
  background: #e4ecdf;
  padding: 3px 6px;
  border-radius: 4px;
}
.st-flat {
  padding: 8px 0;
}
.st-sheet,
.st-inspect pre {
  white-space: pre-wrap;
  font: inherit;
  font-size: 13px;
  word-break: break-word;
  line-height: 1.7;
}
.st-sheet {
  background: #f8f7ef;
  padding: 1rem;
  border-left: 3px solid #aac2b1;
}
.st-history > div {
  padding: 12px 0;
  border-top: 1px solid var(--st-line);
  display: grid;
  gap: 3px;
  justify-items: start;
}
.st-dialog {
  max-width: min(540px, 92vw);
  max-height: 85dvh;
  border: 1px solid #abc1af;
  border-radius: 12px;
  background: #fffdf6;
  padding: 22px;
  overflow: auto;
  width: 100%;
}
.st-dialog::backdrop {
  background: rgb(18 40 37 / 50%);
}
.st-dialog > header {
  border-bottom: 1px solid var(--st-line);
  padding-bottom: 11px;
  margin-bottom: 12px;
}
.st-dialog-body {
  font-size: 14px;
}
.st-dialog-body fieldset {
  margin: 12px 0;
  border: 1px solid var(--st-line);
}
.st-dialog-body fieldset label {
  display: block;
}
.st-dialog-message {
  font-size: 13px;
  color: #864328;
}
.st-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.st-print,
.st-mobile {
  display: none;
}
@media (max-width: 1030px) {
  .st-layout {
    grid-template-columns: minmax(0, 2fr) minmax(245px, 1fr);
  }
  .st-rail {
    grid-column: 1/-1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1px;
    border-bottom: 1px solid var(--st-line);
    padding-bottom: 10px;
  }
  .st-rail button {
    padding: 7px 10px;
  }
}
@media (max-width: 820px) {
  .st-work {
    padding: 16px 12px;
  }
  .st-heading {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 12px;
  }
  .st-heading-actions {
    width: 100%;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }
  .st-layout {
    display: block;
  }
  .st-rail {
    margin-bottom: 15px;
  }
  .st-rail button {
    font-size: 13px;
    min-height: 39px;
  }
  .st-inspect {
    display: none;
  }
  .st-inspect.open {
    display: block;
    position: fixed;
    z-index: 30;
    inset: auto 0 0;
    top: auto;
    border-radius: 13px 13px 0 0;
    max-height: 74dvh;
    padding: 14px 20px 26px;
    box-shadow: 0 -10px 48px rgb(27 58 49 / 25%);
  }
  .st-mobile {
    display: inline-flex;
  }
  .st-inspector-head {
    position: sticky;
    top: -14px;
    background: #fafafc;
    padding-top: 6px;
    z-index: 1;
  }
  .st-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 12px;
  }
  .st-strip button {
    padding: 8px 4px;
  }
  .st-strip button:nth-child(2)::after {
    display: none;
  }
  .st-jumps button {
    padding: 9px;
  }
  .st-jumps button span {
    display: none;
  }
  .st-field input:not([type='range']),
  .st-field select,
  .st-field textarea {
    font-size: 16px;
  }
  .st-tabheading h2 {
    font-size: 21px;
  }
  .st-section {
    padding: 12px;
  }
  .st-feedback {
    max-width: 55vw;
  }
}
@media print {
  body.st-printing > * {
    display: none !important;
  }
  body.st-printing > .st-print {
    display: block !important;
    font:
      12pt/1.5 'Apple SD Gothic Neo',
      sans-serif;
    color: black;
  }
  .st-print table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10pt;
  }
  .st-print th,
  .st-print td {
    border-bottom: 1px solid #999;
    text-align: left;
    padding: 5px;
    overflow-wrap: anywhere;
  }
  .st-print tr {
    break-inside: avoid;
  }
}
.st-attachment {
  border-top: 1px solid var(--st-line);
  margin-top: 12px;
  padding-top: 12px;
}
.st-attachment small {
  display: block;
  color: var(--st-muted);
  overflow-wrap: anywhere;
  margin: 3px 0 8px;
}
.st-inspect fieldset {
  border: 1px solid var(--st-line);
  border-radius: 5px;
  margin: 12px 0;
  padding: 9px;
}
.st-inspect legend {
  font-size: 13px;
}
.st-timeday h4 {
  margin: 12px 0 5px;
  font-size: 13px;
  color: var(--st-muted);
}
.st-timeday button {
  width: 100%;
  text-align: left;
  padding: 5px 0;
  background: transparent;
  border: 0;
  font-size: 13px;
}
.st-timeday i {
  display: block;
  margin-top: 3px;
  position: relative;
  background: #e8ede3;
  height: 8px;
  border-radius: 2px;
  overflow: hidden;
}
.st-timeday b {
  position: absolute;
  display: block;
  inset-block: 0;
  background: #467d69;
  border-radius: 2px;
}
.st-timeday button:nth-child(2n) b {
  background: #a77442;
}
@media print {
  body.st-printing > .st-print {
    margin: 0;
  }
  body.st-printing .st-print th {
    white-space: nowrap;
  }
  body.st-printing .st-print th:first-child {
    min-width: 24mm;
  }
  body.st-printing .st-print small {
    font-size: 8pt;
  }
}

/* Value controls share the same label, hit target and focus treatment. */
.st-stepper {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #bfc1c7;
  border-radius: 11px;
  margin-top: 5px;
  background: var(--st-surface);
}
.st-stepper:focus-within { outline: 2px solid var(--control-focus); outline-offset: 2px; }
.st-stepper button {
  min-height: 44px;
  border: 0;
  background: #f4f4f7;
  color: var(--control-accent);
  font: 500 21px/1 system-ui, sans-serif;
}
.st-stepper button:active { background: #d9e8f8; }
.st-stepper button:focus-visible { outline-offset: -3px; }
.st-field .st-stepper input[type='number'] {
  appearance: textfield;
  -moz-appearance: textfield;
  text-align: center;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  border: 0;
  border-radius: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.st-stepper input::-webkit-inner-spin-button,
.st-stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.st-stepper input:focus-visible { outline-offset: -2px; }
.st-inspect .st-choice-field {
  margin: 14px 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.st-choice-field legend { padding: 0; font-weight: 600; }
.st-segments {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  background: var(--control-track);
  border-radius: 11px;
  padding: 3px;
  margin-top: 5px;
}
.st-segments label { position: relative; min-width: 0; }
.st-segments input {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.st-segments span {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  color: var(--control-muted);
}
.st-segments input:checked + span {
  color: var(--control-accent);
  border-color: #d2d3d8;
  background: #fff;
  box-shadow: 0 1px 3px #0002;
  font-weight: 700;
}
.st-segments input:focus-visible + span { outline: 2px solid var(--control-focus); outline-offset: -2px; }
.st-choice-field:disabled .st-segments { opacity: .65; }
.st-range { margin: 4px 0 2px; }
.st-field .st-range input[type='range'] {
  height: 28px;
  width: 100%;
  margin: 0;
  cursor: pointer;
}
.st-range input[data-empty='true'] { opacity: .62; }
.st-range-limits {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--control-muted);
}
.st-field input[type='number']:invalid { border-color: #a35b36; }
@media (pointer: coarse) {
  .st-field .st-range input[type='range'] { height: 44px; }
  .st-segments span { min-height: 44px; }
}
@media (forced-colors: active) {
  .st-segments input:checked + span { border: 2px solid Highlight; color: Highlight; }
}

.st-rail details > summary {
  padding: 9px 11px;
  cursor: pointer;
  color: #41564e;
  font-size: 14px;
}
.st-rail details > button {
  display: block;
  width: 100%;
  padding-left: 24px;
}
.st-layout.quote-layout {
  grid-template-columns: minmax(125px, 0.42fr) minmax(0, 3fr);
}
.quote-columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  align-items: start;
  gap: 16px;
}
.quote-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.quote-fields label,
.quote-summary label,
.quote-scope {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #41564e;
  font-size: 13px;
  font-weight: 600;
}
.quote-fields label { flex: 1 1 95px; }
.quote-fields input,
.quote-fields select,
.quote-summary input,
.quote-scope select {
  width: 100%;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid var(--st-line);
  border-radius: 6px;
  background: var(--st-surface);
  font: inherit;
  color: var(--st-ink);
}
.quote-scope { margin-bottom: 9px; }
.quote-cost {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 10px;
  padding: 10px 0;
  border-top: 1px solid var(--st-line);
}
.quote-cost > :is(small, details, .quote-fields) { grid-column: 1 / -1; }
.quote-cost strong,
.quote-total strong { color: #174d42; font-variant-numeric: tabular-nums; }
.quote-cost small, .quote-note, .quote-option small { color: #44584f; }
.quote-cost .st-button { justify-self: start; }
.quote-source { font-size: 13px; padding: 6px 0; }
.quote-source summary { cursor: pointer; color: #41564e; }
.quote-option { border-top: 1px solid var(--st-line); }
.quote-option-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
  padding: 10px 0;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
}
.quote-option-title span { color: #41564e; font-size: 13px; text-align: right; }
.quote-option-title[aria-expanded="true"] b { color: #174d42; }
.quote-option-detail { padding: 4px 0 9px; }
.quote-option-detail [hidden] { display: none; }
.quote-subheading { color: #4c554f; font-size: 13px; font-weight: 700; }
.quote-total { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 14px; }
.quote-total div { display: grid; gap: 4px; }
.quote-total strong { font-size: 22px; line-height: 1.2; }
.quote-summary a { display: inline-block; margin-top: 9px; }
.quote-note { overflow-wrap: anywhere; }
.quote-classification {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.quote-classification small { line-height: 1.6; color: #44584f; }
.quote-session-actions { display: flex; align-items: start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.quote-session-actions label { display: grid; gap: 6px; margin: 8px 0; }
.quote-quantity { display: flex; gap: 6px; align-items: end; }
.quote-quantity input { width: 100%; }
.quote-quantity > div { display: flex; gap: 4px; }
.quote-summary small { display: block; line-height: 1.5; }
.quote-summary li { margin: 8px 0; overflow-wrap: anywhere; }
.quote-summary { position: static; min-width: 0; }

@media (max-width: 1030px) {
  .st-layout.quote-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1031px) {
  .quote-summary[data-quote-sticky] {
    position: sticky;
    top: var(--quote-summary-top);
  }
}
.quote-service{border:1px solid #c49a52;background:#fffaf0;padding:16px;margin:12px 0;border-radius:8px}.quote-service h4{margin:0 0 8px}.quote-service>label{display:block;margin:10px 0}.quote-service input,.quote-service select{width:100%;padding:10px;border:1px solid #a5aca7;border-radius:6px}.quote-service p{font-size:14px;line-height:1.55}.st-advanced{margin-top:18px;border-top:1px solid #d4dcd6;padding-top:12px}.st-advanced summary{cursor:pointer;font-weight:600}.quote-fields{align-items:end}
.quote-service fieldset{border:0;padding:0;margin:0;min-width:0}.quote-service fieldset>label{display:block;margin:10px 0}
