.cb {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 20px;
  overflow: hidden;
  font-family:
    "Pretendard",
    system-ui,
    sans-serif;
  color: var(--ink,#142925);
}
.cb-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(20, 41, 37, .07);
}
.cb-top b {
  font-size: 15px;
  flex: 1;
}
.cb-top img {
  width: 26px;
  height: 20px;
}
.cb-lang {
  position: relative;
}
.cb-lang-b {
  border: 0;
  background: rgba(20, 41, 37, .06);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: #142925;
  padding: 6px 26px 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}
.cb-lang-b::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #5E706A;
  border-bottom: 1.5px solid #5E706A;
  transform: translateY(-70%) rotate(45deg);
}
.cb-lang-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 3;
  width: 190px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px -16px rgba(20, 41, 37, .4), 0 0 0 1px rgba(20, 41, 37, .08);
  padding: 8px;
}
.cb-lang-pop input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(20, 41, 37, .12);
  font: inherit;
  font-size: 13px;
  padding: 6px 4px 8px;
  outline: none;
  color: #142925;
}
.cb-lang-pop ul {
  list-style: none;
  margin-top: 6px;
  max-height: 200px;
  overflow-y: auto;
}
.cb-lang-pop li {
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 13.5px;
  cursor: pointer;
}
.cb-lang-pop li.hi,
.cb-lang-pop li:hover {
  background: rgba(20, 41, 37, .06);
}
.cb-lang-pop li[aria-selected=true] {
  font-weight: 800;
}
.cb-lang-pop li.none {
  color: #9AA7A2;
  cursor: default;
}
.cb-x {
  border: 0;
  background: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  color: #142925;
  font-size: 18px;
}
.cb-x:hover {
  background: rgba(20, 41, 37, .07);
}
.cb-log {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cb-m {
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: keep-all;
}
.cb-m.bot {
  background: #fff;
  border-top-left-radius: 6px;
  box-shadow: 0 1px 2px rgba(20, 41, 37, .06);
}
.cb-m.me {
  align-self: flex-end;
  background: #142925;
  color: #F7F7F2;
  border-top-right-radius: 6px;
}
.cb-src {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: #3D6259;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cb-btn {
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid rgba(20, 41, 37, .14);
  background: #fff;
  color: #142925;
  border-radius: 999px;
  padding: 8px 13px;
  cursor: pointer;
}
.cb-btn:hover {
  border-color: #142925;
}
.cb-btn.ink {
  background: #142925;
  color: #F7F7F2;
  border-color: #142925;
}
.cb-btn[disabled] {
  opacity: .45;
  cursor: default;
}
.cb-opts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: 92%;
  padding-left: 4px;
}
.cb-opts.row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cb-opts button:not(.cb-btn) {
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  border: 0;
  background: none;
  color: #142925;
  padding: 6px 2px;
  cursor: pointer;
  text-align: left;
  line-height: 1.5;
}
.cb-opts button:not(.cb-btn)::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8A9894;
  margin: 0 10px 3px 2px;
  vertical-align: middle;
}
.cb-opts button:not(.cb-btn):hover::before {
  background: #3D6259;
}
.cb-opts button:not(.cb-btn):hover {
  color: #3D6259;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cb-opts.done button:not(.cb-btn):not(.pick) {
  opacity: .5;
}
.cb-opts.done button:not(.cb-btn):not(.pick):hover {
  opacity: 1;
}
.cb-opts button:not(.cb-btn).pick {
  opacity: 1;
  color: #3D6259;
  font-weight: 800;
  cursor: default;
  text-decoration: none;
}
.cb-opts.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  padding-left: 0;
}
.cb-opts.grid button:not(.cb-btn) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 13px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(20, 41, 37, .06), 0 0 0 1px rgba(20, 41, 37, .07);
  transition: box-shadow .2s ease, transform .2s ease;
}
.cb-opts.grid button:not(.cb-btn)::before {
  display: none;
}
.cb-opts.grid button:not(.cb-btn) svg {
  width: 20px;
  height: 20px;
  color: #3D6259;
}
.cb-opts.grid button:not(.cb-btn):hover {
  color: #142925;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -10px rgba(20, 41, 37, .35), 0 0 0 1.5px #3D6259;
}
.cb-opts.grid button:not(.cb-btn).pick {
  color: #142925;
  box-shadow: 0 0 0 1.5px #3D6259;
}
@media (prefers-reduced-motion: reduce) {
  .cb-opts.grid button:not(.cb-btn):hover {
    transform: none;
  }
}
.cb-fb {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.cb-fb button {
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  border: 0;
  background: rgba(20, 41, 37, .06);
  color: #5E706A;
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
}
.cb-fb button.on {
  background: #3D6259;
  color: #fff;
}
.cb-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(20, 41, 37, .06);
  max-width: 92%;
  font-size: 14px;
}
.cb-card h4 {
  font-size: 14.5px;
  margin-bottom: 8px;
}
.cb-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-top: 1px solid rgba(20, 41, 37, .07);
}
.cb-row:first-of-type {
  border-top: 0;
}
.cb-row span {
  color: #5E706A;
  font-size: 13px;
}
.cb-row b {
  font-weight: 700;
  word-break: break-all;
}
.cb-row button {
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  border: 0;
  background: none;
  color: #3D6259;
  cursor: pointer;
  text-decoration: underline;
}
.cb-card .cb-acts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cb-ok {
  font-size: 12.5px;
  color: #3D6259;
  font-weight: 700;
  margin-top: 4px;
}
.cb-warn {
  font-size: 12.5px;
  color: #CF4337;
  font-weight: 700;
  margin-top: 4px;
}
.cb-chk {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.55;
  color: #33463F;
  margin-top: 6px;
}
.cb-in {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(20, 41, 37, .07);
  align-items: center;
}
.cb-in input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(20, 41, 37, .12);
  background: #fff;
  border-radius: 999px;
  padding: 11px 16px;
  font: inherit;
  font-size: 14.5px;
  color: #142925;
  outline: none;
}
.cb-in input:focus {
  border-color: #3D6259;
  box-shadow: 0 0 0 3px rgba(61, 98, 89, .14);
}
.cb-in button {
  border: 0;
  background: #142925;
  color: #F7F7F2;
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.cb-in input[type=date] {
  border-radius: 12px;
}
.cb-fab {
  position: fixed;
  right: calc(clamp(10px, 1.6vw, 26px) + 52px);
  bottom: 20px;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #142925;
  color: #F7F7F2;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 34px -14px rgba(20, 41, 37, .55);
}
.cb-fab svg {
  width: 18px;
  height: 18px;
}
.cb-float {
  position: fixed;
  right: calc(clamp(10px, 1.6vw, 26px) + 52px);
  bottom: 20px;
  z-index: 36;
  width: min(400px, calc(100vw - 24px));
  height: min(640px, calc(100vh - 40px));
  box-shadow: 0 30px 70px -30px rgba(20, 41, 37, .5);
}
@media (max-width: 600px) {
  .cb-float {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    height: calc(100vh - 24px);
  }
  .cb-row {
    grid-template-columns: 80px 1fr auto;
  }
}
.cb-form {
  background: #fff;
  border-radius: 16px;
  padding: 6px 16px 14px;
  box-shadow: 0 1px 2px rgba(20, 41, 37, .06);
  max-width: 96%;
  font-size: 14px;
}
.cb-fr {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 10px 0 9px;
  border-bottom: 1px solid rgba(20, 41, 37, .1);
}
.cb-fl {
  font-size: 13px;
  font-weight: 700;
  color: #33463F;
}
.cb-fl i {
  font-style: normal;
  font-weight: 500;
  color: #9AA7A2;
  margin-left: 4px;
  font-size: 11.5px;
}
.cb-fc {
  min-width: 0;
}
.cb-fc input:not([type=range]),
.cb-fc textarea {
  width: 100%;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14.5px;
  color: #142925;
  outline: none;
  padding: 0;
  resize: vertical;
  line-height: 1.55;
}
.cb-fc input[type=date] {
  font-size: 14px;
}
.cb-fe {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #3D6259;
  font-weight: 700;
  margin-top: 4px;
}
.cb-fe.bad {
  color: #CF4337;
}
.cb-ch {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
}
.cb-ch button {
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #5E706A;
  padding: 0;
  cursor: pointer;
}
.cb-ch button::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9AA7A2;
  margin: 0 6px 3px 0;
  vertical-align: middle;
}
.cb-ch button.on::before {
  background: #142925;
}
.cb-ch button.on {
  color: #142925;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cb-cust {
  width: 9em !important;
  border-bottom: 1px dashed rgba(20, 41, 37, .25) !important;
}
.cb-rg {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: center;
}
.cb-rg input {
  --p:0%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background:
    linear-gradient(
      90deg,
      #3D6259 var(--p),
      rgba(20, 41, 37, .14) var(--p));
  outline: none;
  margin: 8px 0;
}
.cb-rg input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #3D6259;
  box-shadow: 0 1px 4px rgba(20, 41, 37, .25);
  cursor: grab;
}
.cb-rg input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #3D6259;
  cursor: grab;
}
.cb-rg output {
  font-weight: 800;
  font-size: 14.5px;
  min-width: 3.6em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.cb-rg-ax {
  grid-column: 1/2;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #9AA7A2;
}
.cb-rg-ax i {
  font-style: normal;
}
.cb-form .cb-chk {
  margin-top: 12px;
}
.cb-chk.bad span {
  color: #CF4337;
}
.cb-form .cb-acts {
  margin-top: 12px;
}
.cb-think {
  background:
    linear-gradient(
      100deg,
      #8A9894 0%,
      #8A9894 40%,
      #142925 50%,
      #8A9894 60%,
      #8A9894 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: cb-sweep 1.8s ease-in-out infinite;
}
@keyframes cb-sweep {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
.cb-m.bot {
  animation: cb-in .35s ease both;
}
@keyframes cb-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cb-think {
    animation: none;
    color: #5E706A;
    background: none;
  }
  .cb-m.bot {
    animation: none;
  }
}
