/* The consultation assistant owns its type, spacing and surfaces on every page. */
#cobs-consultation {
  --cc-ink: #17324c;
  --cc-muted: #526477;
  --cc-blue: #254de9;
  --cc-line: #d9e2e9;
  --cc-mint: #dff4ed;
  --cc-paper: #f5f4ef;
  --cc-tile-width: 86px;
  --cc-tile-height: 103px;
  --cc-tile-gap: 8px;
  --cc-dock-bottom: 24px;
  --cc-dock-right: 24px;
  --cc-viewport-height: 100dvh;
  --cc-viewport-offset: 0px;
  color: var(--cc-ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-synthesis: none;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -.015em;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

#cobs-consultation *,
#cobs-consultation *::before,
#cobs-consultation *::after { box-sizing: border-box; }
#cobs-consultation [hidden] { display: none !important; }
#cobs-consultation :is(button, input, textarea, select) { font: inherit; letter-spacing: inherit; }
#cobs-consultation button { cursor: pointer; text-transform: none; }
#cobs-consultation :is(button, a, input, textarea, select):focus-visible { outline: 3px solid #254de9; outline-offset: 4px; }
#cobs-consultation :is(button, input, textarea, select):disabled { cursor: wait; opacity: .6; }
#cobs-consultation :is(p, h2, h3, dl, dd) { margin: 0; }
#cobs-consultation a { text-underline-offset: 4px; }
#cobs-consultation .cc-sr-only,
#cobs-consultation .cc-honeypot {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
#cobs-consultation .cc-honeypot { pointer-events: none; }

#cobs-consultation .cc-launchers {
  position: fixed; z-index: 1200;
  right: max(var(--cc-dock-right), env(safe-area-inset-right, 0px));
  bottom: calc(var(--cc-dock-bottom) + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: flex-end; gap: var(--cc-tile-gap);
  width: var(--cc-tile-width);
}
#cobs-consultation .cc-launcher {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: var(--cc-tile-width);
  height: var(--cc-tile-height);
  min-height: var(--cc-tile-height);
  padding: 5px 6px 8px;
  border: 1px solid #e0e7ec;
  border-radius: 23px;
  background: #fff;
  color: var(--cc-ink);
  box-shadow: 0 8px 28px #17324c24, 0 2px 6px #17324c0a;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
#cobs-consultation .cc-launcher:hover { transform: translateY(-3px); box-shadow: 0 12px 36px #17324c30; }
#cobs-consultation .cc-launcher:active { transform: translateY(0); }
#cobs-consultation .cc-mascot { display: block; width: 72px; height: 72px; border-radius: 17px; object-fit: contain; background: #fff; }
#cobs-consultation .cc-launcher-label { display: block; color: var(--cc-ink); font-size: 14px; font-weight: 700; line-height: 1.35; }
#cobs-consultation .cc-talk-link {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 42px; margin: 9px 0 8px; padding: 9px 10px;
  border: 1px solid #e8ce12; border-radius: 10px;
  background: #fee500; color: #28210b !important;
  font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none;
  transition: background-color 160ms ease;
}
#cobs-consultation .cc-talk-link:hover { background: #f3d900; }
#cobs-consultation .cc-talk-link svg { flex: 0 0 19px; width: 19px; height: 19px; }
#cobs-consultation .cc-talk-launcher {
  flex-direction: row; gap: 4px; flex-shrink: 0;
  width: var(--cc-tile-width); height: 44px; min-height: 44px;
  margin: 0; padding: 5px; border-radius: 12px;
  box-shadow: 0 8px 28px #17324c24, 0 2px 6px #17324c0a;
  font-size: 12px; line-height: 1.25; text-align: center; white-space: nowrap;
}
#cobs-consultation .cc-talk-launcher svg { flex: 0 0 14px; width: 14px; height: 14px; }

#cobs-consultation .cc-motion-toggle {
  position: fixed; z-index: 1201;
  right: calc(var(--cc-dock-right) + var(--cc-tile-width) + 10px + env(safe-area-inset-right, 0px));
  bottom: calc(var(--cc-dock-bottom) + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center;
  width: 34px; height: 34px; min-height: 34px; padding: 5px;
  border: 1px solid #ced9e2; border-radius: 50%;
  background: #fff; color: var(--cc-ink);
  box-shadow: 0 3px 12px #17324c14;
  font-size: 14px; line-height: 1;
}
#cobs-consultation .cc-motion-toggle:hover { background: #edf3f9; }
#cobs-consultation .cc-motion-toggle svg { display: block; width: 16px; height: 16px; }
#cobs-consultation[data-open="true"] :is(.cc-launchers, .cc-motion-toggle) { visibility: hidden; }

#cobs-consultation .cc-dialog {
  position: fixed;
  inset: auto max(24px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) auto;
  width: 400px;
  max-width: calc(100vw - 32px);
  height: 680px;
  max-height: min(720px, calc(var(--cc-viewport-height) - 48px));
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d7e1e9;
  border-radius: 24px;
  background: #f8fafb;
  color: var(--cc-ink);
  box-shadow: 0 24px 90px #102c453b, 0 8px 24px #102c4514;
  text-align: left;
}
#cobs-consultation .cc-dialog[open] { display: flex; flex-direction: column; animation: cc-dialog-in 220ms cubic-bezier(.22,.68,.28,1); }
#cobs-consultation .cc-dialog::backdrop { background: #102b451f; }
#cobs-consultation .cc-header {
  position: relative;
  display: flex; align-items: center; gap: 12px; flex: 0 0 auto;
  min-height: 94px; padding: 17px 102px 17px 20px;
  border-bottom: 1px solid var(--cc-line);
  background: #fff;
}
#cobs-consultation .cc-avatar { display: block; flex: 0 0 56px; width: 56px; height: 56px; border: 1px solid #e6ecef; border-radius: 18px; background: #fff; object-fit: contain; }
#cobs-consultation .cc-header > div { min-width: 0; }
#cobs-consultation .cc-eyebrow { margin-bottom: 2px; color: #547181; font-size: 11px; font-weight: 650; line-height: 1.5; letter-spacing: .09em; }
#cobs-consultation .cc-title { color: var(--cc-ink) !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1.45 !important; letter-spacing: -.025em !important; }
#cobs-consultation .cc-close {
  position: absolute; top: 25px; right: 16px;
  display: grid; place-items: center; width: 40px; height: 40px; min-height: 40px;
  padding: 8px; border: 0; border-radius: 12px;
  background: #f0f4f7; color: #40566b; font-size: 24px; font-weight: 400; line-height: 1;
}
#cobs-consultation .cc-close:hover { background: #e4edf4; }
#cobs-consultation .cc-close svg { display: block; width: 20px; height: 20px; }
#cobs-consultation .cc-header-motion {
  position: absolute; top: 29px; right: 62px;
  display: grid; place-items: center; width: 32px; height: 32px; min-height: 32px;
  padding: 6px; border: 1px solid #d3dee7; border-radius: 50%;
  background: #fff; color: #40566b; font-size: 13px; line-height: 1;
}
#cobs-consultation .cc-header-motion:hover { background: #edf3f9; }
#cobs-consultation .cc-header-motion svg { display: block; width: 14px; height: 14px; }
#cobs-consultation .cc-progress { flex: 0 0 auto; padding: 10px 20px; border-bottom: 1px solid #e5ebef; background: #f0f6f3; color: #3e6256; font-size: 12px; font-weight: 600; line-height: 1.5; }
#cobs-consultation .cc-body {
  display: flex; flex: 1 1 auto; flex-direction: column; align-items: stretch; gap: 16px;
  min-width: 0; min-height: 0; padding: 22px 20px 24px;
  overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable;
  scroll-padding: 20px; -webkit-overflow-scrolling: touch;
  color: var(--cc-ink);
}
#cobs-consultation .cc-body > * { flex-shrink: 0; min-width: 0; }
#cobs-consultation .cc-bot-message {
  align-self: flex-start; max-width: 100%;
  padding: 15px 17px; border: 1px solid #e1e7ec; border-radius: 4px 18px 18px 18px;
  background: #fff; color: var(--cc-ink) !important;
  font-size: 15px; line-height: 1.65; white-space: pre-line;
}
#cobs-consultation .cc-bot-message :is(p, strong, b) { color: inherit !important; }
#cobs-consultation .cc-bot-message h3 { margin: 0 0 7px; color: var(--cc-ink) !important; font-size: 17px !important; font-weight: 650 !important; line-height: 1.55 !important; letter-spacing: -.02em !important; }
#cobs-consultation .cc-bot-message p + p { margin-top: 8px; }
#cobs-consultation .cc-user-message {
  align-self: flex-end; max-width: 90%;
  padding: 11px 15px; border: 1px solid #cee6dc; border-radius: 17px 4px 17px 17px;
  background: var(--cc-mint); color: #244d40 !important;
  font-size: 14px; line-height: 1.6;
}
#cobs-consultation .cc-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#cobs-consultation .cc-choice {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px;
  min-width: 0; min-height: 78px; padding: 14px;
  border: 1px solid #cfdce6; border-radius: 14px;
  background: #fff; color: var(--cc-ink);
  text-align: left; font-size: 14px; font-weight: 600; line-height: 1.5;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}
#cobs-consultation .cc-choice:hover { transform: translateY(-2px); border-color: #7190f5; background: #f0f5ff; }
#cobs-consultation .cc-choice:active { transform: translateY(0); background: #e7efff; }
#cobs-consultation .cc-choice[aria-pressed="true"] { border-color: var(--cc-blue); background: #edf2ff; }
#cobs-consultation .cc-choice b { color: var(--cc-ink); font-size: 15px; font-weight: 650; line-height: 1.45; }
#cobs-consultation .cc-choice span { color: var(--cc-muted); font-size: 14px; font-weight: 400; line-height: 1.5; }
#cobs-consultation .cc-choice svg { width: 24px; height: 24px; color: #3d61c6; }
#cobs-consultation .cc-choice:only-child,
#cobs-consultation .cc-choice-grid--single .cc-choice { grid-column: 1 / -1; }
#cobs-consultation .cc-related { display: grid; gap: 14px; min-width: 0; margin-top: 6px; }
#cobs-consultation .cc-related-title { color: var(--cc-ink) !important; font-size: 15px !important; font-weight: 650 !important; line-height: 1.5 !important; letter-spacing: -.02em !important; }
#cobs-consultation .cc-recommendation { display: grid; gap: 9px; min-width: 0; padding: 16px; overflow: hidden; border: 1px solid #d8e2eb; border-radius: 18px; background: #fff; }
#cobs-consultation .cc-recommendation > img { display: block; width: calc(100% + 32px); max-width: none; height: auto; aspect-ratio: 2.15; margin: -16px -16px 5px; object-fit: cover; }
#cobs-consultation .cc-recommendation > div { display: grid; gap: 8px; min-width: 0; }
#cobs-consultation .cc-recommendation h3 { color: var(--cc-ink) !important; font-size: 18px !important; line-height: 1.45 !important; font-weight: 700 !important; letter-spacing: -.025em !important; }
#cobs-consultation .cc-recommendation p { color: var(--cc-muted) !important; font-size: 14px; line-height: 1.7; }
#cobs-consultation .cc-recommendation a { display: inline-flex; align-items: center; justify-self: start; min-height: 40px; color: #254cc7 !important; font-size: 14px; font-weight: 650; text-decoration: underline; }
#cobs-consultation .cc-recommendation small { color: #526477; font-size: 12px; line-height: 1.6; }
#cobs-consultation .cc-summary { padding: 17px; border: 1px solid #d7e5df; border-radius: 16px; background: #eff7f3; }
#cobs-consultation .cc-summary h3 { margin: 0 0 12px; color: var(--cc-ink) !important; font-size: 15px !important; font-weight: 650; line-height: 1.5 !important; }
#cobs-consultation .cc-summary dl { display: grid; grid-template-columns: minmax(52px, auto) minmax(0, 1fr); gap: 9px 16px; font-size: 14px; line-height: 1.6; }
#cobs-consultation .cc-summary dt { color: #557065; font-weight: 400; }
#cobs-consultation .cc-summary dd { color: #214c3d; font-weight: 550; }
#cobs-consultation .cc-body details { min-width: 0; padding: 13px 15px; border: 1px solid #d9e2e9; border-radius: 12px; background: #fff; }
#cobs-consultation .cc-body details summary { margin: 0; color: #43596c; font-size: 14px; font-weight: 550; line-height: 1.6; cursor: pointer; }
#cobs-consultation .cc-body details summary:focus-visible { outline: 3px solid #254de9; outline-offset: 4px; }
#cobs-consultation .cc-body details > p { margin-top: 9px; color: #526477 !important; font-size: 14px; font-weight: 400; line-height: 1.7; }
#cobs-consultation .cc-body details > dl { margin-top: 13px; }
#cobs-consultation .cc-contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; margin: 0; padding: 0; border: 0; background: transparent; }
#cobs-consultation .cc-contact-form > fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
#cobs-consultation .cc-contact-form fieldset[disabled] { cursor: wait; }
#cobs-consultation .cc-contact-form fieldset[disabled] label { cursor: wait; }
#cobs-consultation .cc-field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; }
#cobs-consultation .cc-field-wide { grid-column: 1 / -1; }
#cobs-consultation .cc-field label { color: var(--cc-ink); font-size: 14px; font-weight: 600; line-height: 1.5; }
#cobs-consultation .cc-field :is(input, textarea, select) {
  display: block; width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 11px 12px;
  border: 1px solid #bacbd9; border-radius: 10px;
  background: #fff; color: var(--cc-ink); box-shadow: none;
  font-size: 16px; font-weight: 400; line-height: 1.5;
}
#cobs-consultation .cc-field textarea { min-height: 94px; resize: vertical; }
#cobs-consultation .cc-field :is(input, textarea)::placeholder { color: #647587 !important; opacity: 1; }
#cobs-consultation .cc-field :is(input, textarea, select)[aria-invalid="true"] { border-color: #b32e3a; }
#cobs-consultation .cc-consent { display: flex; align-items: flex-start; gap: 10px; grid-column: 1 / -1; margin: 0; padding: 3px 0; }
#cobs-consultation .cc-consent input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; margin: 2px 0 0; padding: 0; accent-color: var(--cc-blue); cursor: pointer; }
#cobs-consultation .cc-consent label { min-width: 0; color: #43596c; font-size: 14px; line-height: 1.65; font-weight: 400; cursor: pointer; }
#cobs-consultation .cc-consent a { color: #254cc7 !important; font-weight: 550; text-decoration: underline; }
#cobs-consultation .cc-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px; grid-column: 1 / -1;
  width: 100%; min-height: 50px; margin: 0; padding: 13px 18px;
  border: 1px solid var(--cc-blue); border-radius: 12px;
  background: var(--cc-blue); color: #fff !important;
  font-size: 15px; font-weight: 650; line-height: 1.5;
  box-shadow: 0 3px 10px #254de91c;
  transition: background-color 160ms ease;
}
#cobs-consultation .cc-submit:hover:not(:disabled) { background: #183ccc; }
#cobs-consultation .cc-status { grid-column: 1 / -1; margin: 0; color: #526477 !important; font-size: 14px; line-height: 1.65; }
#cobs-consultation .cc-status:empty { display: none; }
#cobs-consultation .cc-status:is(.error, [data-state="error"], [role="alert"]) { color: #a32735 !important; }
#cobs-consultation .cc-status a { color: inherit !important; text-decoration: underline; }
#cobs-consultation .cc-ai-entry {
  display: flex; align-items: center; gap: 11px; min-height: 78px; width: 100%; padding: 14px;
  border: 1px solid #b6c8ef; border-radius: 14px; background: #eff4ff; color: var(--cc-ink); text-align: left;
}
#cobs-consultation .cc-ai-entry:hover { background: #e5edff; border-color: #6786d7; }
#cobs-consultation .cc-ai-entry > span:nth-child(2) { flex: 1; min-width: 0; }
#cobs-consultation .cc-ai-entry b { display: block; color: #254cc7; font-size: 14px; font-weight: 700; line-height: 1.5; }
#cobs-consultation .cc-ai-entry small { display: block; margin-top: 4px; color: #526477; font-size: 12px; line-height: 1.5; }
#cobs-consultation .cc-ai-mark { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 11px; background: #254de9; color: #fff; font-size: 12px; font-weight: 750; letter-spacing: .02em; }
#cobs-consultation .cc-secondary {
  display: flex; align-items: center; justify-content: center; min-height: 46px; width: 100%; padding: 11px 13px;
  border: 1px solid #bacbd9; border-radius: 12px; background: #fff; color: #254cc7; font-size: 14px; font-weight: 650; line-height: 1.55;
}
#cobs-consultation .cc-secondary:hover:not(:disabled) { background: #edf2ff; }
#cobs-consultation .cc-text-action { align-self: center; min-height: 44px; padding: 8px 4px; border: 0; background: transparent; color: #526477; font-size: 13px; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; }
#cobs-consultation .cc-ai-notice { display: grid; gap: 10px; padding: 15px; border: 1px solid #d9e2e9; border-radius: 14px; background: #fff; color: #526477; font-size: 13px; line-height: 1.75; }
#cobs-consultation .cc-ai-notice a { color: #254cc7 !important; }
#cobs-consultation .cc-chat-intro { padding-bottom: 10px; border-bottom: 1px solid #d9e2e9; }
#cobs-consultation .cc-chat-intro h3 { color: var(--cc-ink) !important; font-size: 17px !important; line-height: 1.5 !important; font-weight: 700 !important; }
#cobs-consultation .cc-chat-intro p { margin-top: 5px; color: #526477 !important; font-size: 12px; line-height: 1.65; }
#cobs-consultation .cc-transcript { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
#cobs-consultation .cc-transcript:empty { display: none; }
#cobs-consultation .cc-transcript :is(.cc-user-message, .cc-bot-message) { min-width: 0; font-size: 14px; white-space: normal; }
#cobs-consultation .cc-transcript p { color: inherit !important; font-size: inherit; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
#cobs-consultation .cc-chat-speaker { display: block; margin-bottom: 5px; color: #526477; font-size: 11px; font-weight: 650; line-height: 1.5; }
#cobs-consultation .cc-delivery { display: block; margin-top: 7px; color: #526477; font-size: 11px; line-height: 1.6; }
#cobs-consultation .cc-delivery[data-delivery="rejected"] { color: #92323b; }
#cobs-consultation .cc-ai-pending { display: flex; align-items: center; gap: 8px; color: #526477 !important; font-size: 13px; line-height: 1.65; }
#cobs-consultation .cc-ai-pending span { color: #254de9; letter-spacing: .15em; font-size: 10px; }
#cobs-consultation .cc-quick-replies { display: flex; flex-wrap: wrap; gap: 8px; }
#cobs-consultation .cc-quick-replies:empty { display: none; }
#cobs-consultation .cc-quick-replies button { min-width: 0; max-width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #b5c7e7; border-radius: 12px; background: #fff; color: #254cc7; text-align: left; font-size: 13px; font-weight: 550; line-height: 1.55; }
#cobs-consultation .cc-quick-replies button:hover:not(:disabled) { background: #edf2ff; }
#cobs-consultation .cc-chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 0; padding: 12px; border: 1px solid #bacbd9; border-radius: 15px; background: #fff; }
#cobs-consultation .cc-chat-form textarea { width: 100%; min-width: 0; min-height: 66px; max-height: 180px; margin: 0; padding: 3px; border: 0; border-radius: 4px; background: #fff; color: var(--cc-ink); resize: vertical; font-size: 16px; line-height: 1.6; }
#cobs-consultation .cc-chat-form textarea::placeholder { color: #647587 !important; opacity: 1; }
#cobs-consultation .cc-chat-form button { align-self: end; min-width: 44px; min-height: 44px; padding: 8px 10px; border: 1px solid #254de9; border-radius: 10px; background: #254de9; color: #fff; font-size: 13px; font-weight: 650; line-height: 1.4; }
#cobs-consultation .cc-chat-form p { grid-column: 1 / -1; color: #526477 !important; font-size: 11px; line-height: 1.6; }
#cobs-consultation .cc-ai-handoff { display: grid; gap: 10px; padding-top: 4px; }
#cobs-consultation .cc-ai-handoff > p { color: #43596c !important; font-size: 14px; font-weight: 550; line-height: 1.65; }
#cobs-consultation .cc-ai-limit { padding: 12px 14px; border-radius: 12px; background: #eaf3ee; color: #335e4f !important; font-size: 13px; line-height: 1.7; }
#cobs-consultation .cc-log-review .cc-transcript { margin-top: 14px; }
#cobs-consultation .cc-log-review .cc-transcript :is(.cc-bot-message, .cc-user-message) { font-size: 13px; padding: 10px 12px; }
#cobs-consultation .cc-success { padding: 28px 20px; border: 1px solid #cde7dc; border-radius: 20px; background: #eaf7f0; color: #234d3e; text-align: center; }
#cobs-consultation .cc-success::before { content: "✓"; display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; background: #cdebdc; color: #1c6c4e; font-size: 25px; font-weight: 700; }
#cobs-consultation .cc-success h3 { margin-bottom: 10px; color: #173f31 !important; font-size: 21px !important; font-weight: 700; line-height: 1.45 !important; }
#cobs-consultation .cc-success p { color: #3c6253 !important; font-size: 15px; line-height: 1.75; }
#cobs-consultation .cc-success a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 12px; color: #1d674d !important; font-weight: 650; text-decoration: underline; }
#cobs-consultation .cc-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex: 0 0 auto; min-height: 62px; padding: 9px 16px; border-top: 1px solid #dfe6ec; background: #fff; }
#cobs-consultation :is(.cc-back, .cc-reset) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: #526477; font-size: 14px; font-weight: 550; line-height: 1.5; }
#cobs-consultation :is(.cc-back, .cc-reset):hover { background: #edf2f7; color: var(--cc-ink); }
#cobs-consultation .cc-back { color: var(--cc-ink); }

@keyframes cc-dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 540px) {
  #cobs-consultation { --cc-tile-width: 80px; --cc-dock-bottom: 18px; --cc-dock-right: 16px; }
  #cobs-consultation .cc-launcher { padding: 3px 3px 7px; border-radius: 22px; }
  #cobs-consultation .cc-talk-launcher { border-radius: 12px; }
  #cobs-consultation .cc-launcher-label { font-size: 14px; }
  #cobs-consultation .cc-dialog { inset: calc(var(--cc-viewport-offset) + 12px) 12px auto; width: calc(100vw - 24px); max-width: none; height: min(720px, calc(var(--cc-viewport-height) - 24px)); max-height: calc(var(--cc-viewport-height) - 24px); border-radius: 21px; }
  #cobs-consultation .cc-dialog::backdrop { background: #102b4547; }
  #cobs-consultation .cc-header { min-height: 84px; padding: 13px 96px 13px 16px; gap: 10px; }
  #cobs-consultation .cc-avatar { flex-basis: 50px; width: 50px; height: 50px; border-radius: 16px; }
  #cobs-consultation .cc-close { top: 20px; right: 12px; }
  #cobs-consultation .cc-header-motion { top: 24px; right: 56px; }
  #cobs-consultation .cc-progress { padding: 9px 16px; }
  #cobs-consultation .cc-body { padding: 18px 16px 22px; scrollbar-gutter: auto; }
  #cobs-consultation .cc-choice { min-height: 76px; padding: 12px; }
  #cobs-consultation .cc-footer { padding: 7px 12px; min-height: 58px; }
}

/* The Claude course already has a fixed mobile inquiry bar. */
@media (max-width: 620px) {
  .claude-course-page #cobs-consultation { --cc-dock-bottom: 90px; }
}

@media (max-width: 360px) {
  #cobs-consultation .cc-body { padding-right: 12px; padding-left: 12px; }
  #cobs-consultation .cc-title { font-size: 17px !important; }
  #cobs-consultation .cc-choice-grid { gap: 8px; }
  #cobs-consultation .cc-choice { padding: 10px; }
  #cobs-consultation .cc-contact-form,
  #cobs-consultation .cc-contact-form > fieldset { grid-template-columns: minmax(0, 1fr); }
}

@media (max-height: 480px) {
  #cobs-consultation .cc-header { min-height: 68px; padding-top: 9px; padding-bottom: 9px; }
  #cobs-consultation .cc-avatar { flex-basis: 44px; width: 44px; height: 44px; }
  #cobs-consultation .cc-close { top: 14px; }
  #cobs-consultation .cc-header-motion { top: 18px; }
  #cobs-consultation .cc-progress { padding-top: 6px; padding-bottom: 6px; }
  #cobs-consultation .cc-footer { min-height: 50px; padding-top: 4px; padding-bottom: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  #cobs-consultation *, #cobs-consultation *::before, #cobs-consultation *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  #cobs-consultation :is(.cc-launcher, .cc-choice):hover { transform: none; }
}

@media (forced-colors: active) {
  #cobs-consultation :is(.cc-launcher, .cc-talk-launcher, .cc-talk-link, .cc-motion-toggle, .cc-dialog, .cc-choice, .cc-recommendation, .cc-summary, .cc-submit, .cc-success) { border: 1px solid ButtonText; }
  #cobs-consultation :is(.cc-bot-message, .cc-user-message, .cc-header, .cc-footer, .cc-progress, .cc-title, .cc-talk-link, .cc-recommendation h3, .cc-recommendation p, .cc-success h3, .cc-success p) { background: Canvas; color: CanvasText !important; }
}

@media print { #cobs-consultation { display: none !important; } }
