.wh-page { color: #172033; }
.wh-heading { margin-bottom: 30px; }
.wh-eyebrow { margin: 0 0 10px !important; color: #087f6d; font-size: 14px !important; font-weight: 800; }
.wh-heading h1 { margin: 0 0 16px; color: #111827; font-size: 43px; line-height: 1.2; letter-spacing: 0; }
.wh-heading > p:last-child { max-width: 800px; margin: 0; color: #526078; font-size: 18px; line-height: 1.75; }
.wh-tool, .wh-guide { overflow: hidden; margin-top: 24px; border: 1px solid #d6e0eb; border-radius: 8px; background: #fff; }
.wh-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid #dce5ef; background: #f8fafc; }
.wh-mode button { display: flex; align-items: center; gap: 13px; min-height: 84px; width: auto; margin: 0; padding: 15px 24px; border: 0; border-right: 1px solid #dce5ef; border-radius: 0; background: transparent; color: #526078; text-align: left; box-shadow: none; cursor: pointer; }
.wh-mode button:last-child { border-right: 0; }
.wh-mode button > span { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 7px; background: #e6edf4; color: #526078; font-size: 18px; font-weight: 900; }
.wh-mode button strong, .wh-mode button small { display: block; }
.wh-mode button strong { color: #26354a; font-size: 16px; }
.wh-mode button small { margin-top: 3px; color: #7d899a; font-size: 11px; }
.wh-mode button.is-active { background: #eef8f5; }
.wh-mode button.is-active > span { background: #087f6d; color: #fff; }
.wh-mode button.is-active strong { color: #075f54; }
.wh-toolbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 20px 24px; border-bottom: 1px solid #dce5ef; }
.wh-toolbar h2 { margin: 0; color: #172033; font-size: 18px; }
.wh-toolbar p { margin: 3px 0 0; color: #7c899b; font-size: 11px; }
.wh-targets { display: flex; flex-wrap: wrap; gap: 7px; }
.wh-targets label { position: relative; margin: 0; cursor: pointer; }
.wh-targets input { position: absolute !important; width: 1px !important; height: 1px !important; margin: 0 !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.wh-targets span { display: block; min-width: 52px; padding: 8px 11px; border: 1px solid #d4deea; border-radius: 6px; background: #fff; color: #526078; font-size: 12px; font-weight: 800; text-align: center; }
.wh-targets input:checked + span { border-color: #83cbbc; background: #e9f8f4; color: #087f6d; }
.wh-targets input:focus-visible + span { outline: 2px solid #0f766e; outline-offset: 2px; }
.wh-live { display: flex; align-items: center; gap: 7px; margin: 0; color: #435269; font-size: 12px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.wh-live input { width: 18px !important; height: 18px !important; margin: 0 !important; opacity: 1 !important; appearance: auto !important; }
.wh-editor { display: grid; grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr); align-items: stretch; padding: 24px; background: #fbfcfe; }
.wh-editor > section { min-width: 0; overflow: hidden; border: 1px solid #d5dfeb; border-radius: 8px; background: #fff; }
.wh-editor section header { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 65px; padding: 12px 15px; border-bottom: 1px solid #e1e8f0; background: #f8fafc; }
.wh-editor section header span { display: block; margin-bottom: 2px; color: #087f6d; font-size: 10px; font-weight: 900; }
.wh-editor section header h2 { margin: 0; color: #26354a; font-size: 15px; }
.wh-editor section header > strong { color: #8490a1; font-size: 11px; white-space: nowrap; }
.wh-editor section header b { color: #087f6d; }
.wh-editor textarea { display: block; width: 100%; min-height: 290px; margin: 0; padding: 16px; resize: vertical; border: 0; border-radius: 0; background: #fff; color: #172033; font-family: Consolas, 'Noto Sans Mono CJK KR', monospace; font-size: 15px; line-height: 1.75; box-shadow: none; }
.wh-editor textarea:focus { box-shadow: inset 0 0 0 2px #83cbbc; }
.wh-editor textarea[readonly] { background: #fcfdfd; color: #26354a; }
.wh-center { display: grid; place-items: center; }
.wh-center button { display: grid; width: 34px; height: 42px; margin: 0; padding: 0; place-items: center; border: 1px solid #ced9e5; border-radius: 7px; background: #fff; color: #087f6d; box-shadow: none; font-size: 19px; font-weight: 900; cursor: pointer; }
.wh-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px 22px; background: #fbfcfe; }
.wh-actions button { flex: 1 1 120px; width: auto; min-height: 45px; margin: 0; padding: 0 14px; border: 1px solid #d3deea; border-radius: 7px; background: #fff; color: #405067; box-shadow: none; font-size: 12px; font-weight: 900; cursor: pointer; }
.wh-actions #whConvert { flex-grow: 1.4; border-color: #087f6d; background: #087f6d; color: #fff; }
.wh-actions #whCopy { border-color: #172033; background: #172033; color: #fff; }
.wh-status { min-height: 44px; margin: 0; padding: 13px 24px; border-top: 1px solid #dce5ef; color: #087f6d; font-size: 13px; }
.wh-status.is-error { background: #fff1f0; color: #c2413b; }
.wh-privacy { display: flex; align-items: center; gap: 11px; padding: 12px 24px; border-top: 1px solid #dce5ef; background: #eff8f6; }
.wh-privacy img { flex: 0 0 42px; border-radius: 6px; }
.wh-privacy strong, .wh-privacy span { display: block; }
.wh-privacy strong { color: #087f6d; font-size: 12px; }
.wh-privacy span { margin-top: 2px; color: #657287; font-size: 11px; }
.wh-guide { padding: 30px; }
.wh-guide > header h2 { margin: 0 0 10px; color: #111827; font-size: 27px; }
.wh-guide > header p { margin: 0; color: #64748b; line-height: 1.75; }
.wh-compare { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); align-items: center; gap: 9px; margin: 24px 0; }
.wh-compare > div:not(:nth-child(2)) { min-width: 0; padding: 18px; border: 1px solid #dbe4ee; border-radius: 7px; background: #f8fafc; }
.wh-compare > div:nth-child(2) { color: #d39b18; font-size: 23px; font-weight: 900; text-align: center; }
.wh-compare span { color: #087f6d; font-size: 11px; font-weight: 900; }
.wh-compare strong { display: block; overflow: hidden; margin-top: 5px; color: #172033; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.wh-compare p { margin: 8px 0 0; color: #64748b; font-size: 12px; line-height: 1.55; }
.wh-language-table { padding: 20px 0; border-top: 1px solid #e2e8f0; }
.wh-language-table h3, .wh-guide-grid h3, .wh-usage h3 { margin: 0 0 10px; color: #172033; font-size: 18px; }
.wh-language-table > div { overflow-x: auto; }
.wh-language-table table { width: 100%; min-width: 620px; margin: 0; border-collapse: collapse; font-size: 12px; }
.wh-language-table th, .wh-language-table td { padding: 11px 12px; border: 1px solid #dce5ef; color: #526078; text-align: left; }
.wh-language-table th { background: #f2f6f9; color: #26354a; }
.wh-language-table td:first-child { color: #087f6d; font-weight: 800; white-space: nowrap; }
.wh-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.wh-guide-grid section { padding: 20px 0; border-top: 1px solid #e2e8f0; }
.wh-guide-grid p { margin: 0; color: #59677b; font-size: 14px; line-height: 1.75; }
.wh-usage { padding: 20px 0; border-top: 1px solid #e2e8f0; }
.wh-usage ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 25px; margin: 0; padding-left: 20px; color: #59677b; font-size: 13px; line-height: 1.6; }
.wh-note { margin: 16px 0 0; padding: 16px 18px; border-left: 4px solid #087f6d; background: #eff8f6; color: #405166; font-size: 13px; line-height: 1.7; }
@media screen and (max-width: 980px) { .wh-toolbar { grid-template-columns: 1fr; } .wh-targets { order: 2; } .wh-live { order: 3; } }
@media screen and (max-width: 640px) {
  .wh-heading h1 { font-size: 33px; } .wh-heading > p:last-child { font-size: 16px; }
  .wh-mode button { gap: 8px; min-height: 74px; padding: 11px; } .wh-mode button > span { flex-basis: 38px; width: 38px; height: 38px; font-size: 14px; } .wh-mode button strong { font-size: 13px; } .wh-mode button small { font-size: 9px; }
  .wh-toolbar { padding: 18px 16px; } .wh-targets { gap: 5px; } .wh-targets label { flex: 1 1 55px; } .wh-targets span { min-width: 0; padding: 8px 6px; }
  .wh-editor { grid-template-columns: 1fr; gap: 9px; padding: 16px; } .wh-editor textarea { min-height: 210px; } .wh-center button { width: 48px; height: 35px; transform: rotate(90deg); }
  .wh-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 16px 18px; } .wh-actions button { width: 100%; padding: 0 7px; } .wh-actions #whConvert { grid-column: 1 / -1; }
  .wh-status, .wh-privacy { padding-left: 16px; padding-right: 16px; }
  .wh-guide { padding: 20px 16px; } .wh-guide > header h2 { font-size: 24px; } .wh-compare { grid-template-columns: 1fr; } .wh-compare > div:nth-child(2) { transform: rotate(90deg); }
  .wh-guide-grid, .wh-usage ul { grid-template-columns: 1fr; }
}
