#ccw-cost-launcher, #ccw-cost-calculator { box-sizing: border-box; }
#ccw-cost-launcher {
  position: fixed; z-index: 900; inset: 46% 0 auto auto; display: flex; align-items: center; gap: 12px;
  width: 48px; min-height: 196px; padding: 17px 11px; flex-direction: column;
  color: #fff0cd; background: linear-gradient(155deg, #51358a, #283f78);
  border: 1px solid #c6a46a; border-right: 0; border-radius: 12px 0 0 12px;
  box-shadow: 0 4px 18px #1424382b; cursor: pointer; font: 500 14px/1.3 Arial, sans-serif;
  text-transform: none; letter-spacing: .025em; transition: box-shadow .18s, background .18s;
}
#ccw-cost-launcher svg { width: 24px; height: 28px; flex-shrink: 0; }
#ccw-cost-launcher span { writing-mode: vertical-rl; }
#ccw-cost-launcher:hover { background: linear-gradient(155deg, #624198, #354f87); box-shadow: 0 5px 24px #14243840; }
#ccw-cost-launcher:focus-visible, #ccw-cost-calculator :focus-visible { outline: 3px solid #b4843a; outline-offset: 4px; }
body:has(dialog[open]) #ccw-cost-launcher { visibility: hidden; }
body.ccw-calculator-open { overflow: hidden; }
#ccw-cost-calculator {
  width: min(900px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 40px);
  margin: auto; padding: 0; overflow: auto; border: 1px solid #b8955e; border-radius: 4px;
  color: #172d3a; background: #f8f2e5; box-shadow: 0 24px 90px #071c3866;
  font: 16px/1.55 Arial, sans-serif; text-align: left; color-scheme: light;
}
#ccw-cost-calculator::backdrop { background: #102538a8; backdrop-filter: blur(4px); }
#ccw-cost-calculator *, #ccw-cost-calculator *::before, #ccw-cost-calculator *::after { box-sizing: border-box; }
#ccw-cost-calculator [hidden] { display: none !important; }
#ccw-cost-calculator .cost-head { position: relative; padding: 30px 72px 26px 34px; border-bottom: 1px solid #cbb181; background: linear-gradient(115deg, #112b3a, #252b51); color: #fff0d0; }
#ccw-cost-calculator .cost-eyebrow { margin: 0 0 8px; color: #dfbc7f; font: 12px/1.3 Arial,sans-serif; letter-spacing: .17em; text-transform: uppercase; }
#ccw-cost-calculator h2 { margin: 0 0 10px; color: inherit; font: 400 clamp(28px, 3vw, 40px)/1.15 Georgia,serif; letter-spacing: -.025em; }
#ccw-cost-calculator .cost-head p:last-child { margin: 0; max-width: 620px; font-size: 15px; color: #eee3ce; }
#ccw-cost-calculator .cost-close { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; background: transparent; color: #fff0d0; border: 1px solid #b99e69; border-radius: 50%; font: 26px/1 Arial,sans-serif; cursor: pointer; }
#ccw-cost-calculator .cost-body { padding: 28px 34px 30px; }
#ccw-cost-calculator .cost-form { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 20px; margin: 0; }
#ccw-cost-calculator .cost-form > * { min-width: 0; }
#ccw-cost-calculator label { display: block; margin: 0 0 7px; color: #203443; font: 500 14px/1.5 Arial,sans-serif; text-transform: none; letter-spacing: 0; }
#ccw-cost-calculator .cost-wide { grid-column: 1/-1; min-width: 0; }
#ccw-cost-calculator :is(select,input[type="number"],input[type="search"],input[type="tel"]) {
  display: block; width: 100%; min-width: 0; height: 48px; margin: 0; padding: 10px 13px;
  border: 1px solid #b9a17b; border-radius: 3px; background: #fffcf5; color: #172d3a;
  font: 16px/1.35 Arial,sans-serif; box-shadow: none; text-transform: none; letter-spacing: normal;
}
#ccw-cost-calculator select { padding-right: 30px; text-overflow: ellipsis; }
#ccw-cost-calculator .cost-choice { width: 100%; min-width: 0; }
#ccw-cost-calculator .cost-choice-toggle {
  display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; min-height: 48px; height: auto;
  margin: 0; padding: 11px 13px; border: 1px solid #b9a17b; border-radius: 3px;
  background: #fffcf5; color: #172d3a; box-shadow: none; text-align: left;
  font: 400 16px/1.5 Arial,sans-serif; text-transform: none; letter-spacing: normal;
  white-space: normal; cursor: pointer;
}
#ccw-cost-calculator .cost-choice-caption { flex: 1; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
#ccw-cost-calculator .cost-choice-arrow { flex: 0 0 16px; color: #76569c; text-align: center; }
#ccw-cost-calculator .cost-choice-toggle[aria-expanded="true"] { border-color: #76569c; }
#ccw-cost-calculator .cost-choice-toggle[aria-expanded="true"] .cost-choice-arrow { transform: rotate(180deg); }
#ccw-cost-calculator .cost-choice-toggle[aria-invalid="true"] { border-color: #9d2b35; }
#ccw-cost-calculator .cost-choice-toggle:disabled { opacity: .65; cursor: wait; }
#ccw-cost-calculator .cost-choice-list {
  position: relative; width: 100%; min-width: 0; max-height: min(320px, 38dvh); margin: 6px 0 0; padding: 5px;
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scroll-padding: 5px;
  border: 1px solid #b9a17b; border-radius: 3px; background: #fffcf5; box-shadow: 0 6px 16px #172d3a14;
}
#ccw-cost-calculator .cost-choice-option {
  display: block; min-width: 0; min-height: 44px; padding: 10px 12px;
  color: #172d3a; background: transparent; border: 1px solid transparent; border-radius: 2px;
  font: 400 15px/1.55 Arial,sans-serif; white-space: normal; overflow-wrap: anywhere; cursor: pointer;
}
#ccw-cost-calculator .cost-choice-option:is(:hover,.is-active) { background: #eee5d1; border-color: #c4a775; }
#ccw-cost-calculator .cost-choice-option[aria-selected="true"] { background: #ebe5f1; border-color: #76569c; }
#ccw-cost-calculator .cost-choice-group { padding: 12px 12px 6px; color: #795b30; font: 600 12px/1.5 Arial,sans-serif; white-space: normal; overflow-wrap: anywhere; }
#ccw-cost-calculator .cost-search { margin-bottom: 12px; }
#ccw-cost-calculator .cost-hint { margin: 7px 0 0; color: #5e6468; font: 13px/1.5 Arial,sans-serif; overflow-wrap: anywhere; }
#ccw-cost-calculator .cost-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px; width: auto; min-height: 48px;
  margin: 0; padding: 11px 26px; border: 1px solid #b29054; border-radius: 3px;
  outline-offset: 4px; background: linear-gradient(110deg, #57358d, #2d437d); color: #fff1d0;
  font: 400 20px/1.3 Georgia,serif; text-decoration: none; text-transform: none; letter-spacing: normal; cursor: pointer;
  box-shadow: inset 0 0 0 3px #cfb27e55; transition: filter .18s;
}
#ccw-cost-calculator .cost-button:hover { filter: brightness(1.12); }
#ccw-cost-calculator .cost-button:disabled { cursor: wait; opacity: .65; filter: none; }
#ccw-cost-calculator .cost-status { margin: 12px 0 0; font: 14px/1.5 Arial,sans-serif; color: #72481d; }
#ccw-cost-calculator .cost-status[data-state="error"] { color: #9d2b35; }
#ccw-cost-calculator .cost-status:empty { display: none; }
#ccw-cost-calculator .cost-result { margin-top: 24px; padding: 24px; border: 1px solid #bda16b; background: linear-gradient(110deg, #eee2c6, #faf5ea); }
#ccw-cost-calculator .cost-result-label { margin: 0 0 10px; font: 14px/1.4 Arial,sans-serif; color: #5e4d32; }
#ccw-cost-calculator .cost-total { display: block; margin: 0 0 8px; font: 400 clamp(30px, 4vw, 44px)/1.2 Georgia,serif; color: #26395b; overflow-wrap: anywhere; }
#ccw-cost-calculator .cost-vat { margin: 0 0 15px; font: 14px/1.4 Arial,sans-serif; color: #39444b; }
#ccw-cost-calculator .cost-breakdown { margin: 0 0 16px; padding-top: 14px; border-top: 1px solid #ccb991; font: 14px/1.6 Arial,sans-serif; }
#ccw-cost-calculator .cost-disclaimer { margin: 20px 0 0; color: #606365; font: 12px/1.6 Arial,sans-serif; }
#ccw-cost-calculator .cost-contact { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid #cbb58c; }
#ccw-cost-calculator .cost-contact h3 { margin: 0 0 8px; color: #203443; font: 400 25px/1.2 Georgia,serif; }
#ccw-cost-calculator .cost-contact > p { margin: 0 0 18px; font: 14px/1.5 Arial,sans-serif; }
#ccw-cost-calculator .cost-phone { max-width: 340px; margin-bottom: 16px; }
#ccw-cost-calculator .cost-consent { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0; font: 12px/1.5 Arial,sans-serif; font-weight: 400; }
#ccw-cost-calculator .cost-consent input { flex: 0 0 16px; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #57358d; }
#ccw-cost-calculator a { color: #553585; text-decoration: underline; text-underline-offset: 3px; }
#ccw-cost-calculator .cost-contact .cost-button { margin-top: 9px; }
#ccw-cost-calculator .cost-honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#ccw-cost-calculator .cost-robot { margin: 12px 0; }
@media (max-width: 760px) {
  #ccw-cost-launcher { inset: auto auto calc(18px + var(--ccw-calc-cookie-offset, 0px)) 16px; width: auto; min-height: 48px; height: 48px; flex-direction: row; padding: 10px 15px; border: 1px solid #c6a46a; border-radius: 5px; font-size: 13px; }
  #ccw-cost-launcher span { writing-mode: horizontal-tb; }
  #ccw-cost-launcher svg { width: 20px; height: 23px; }
  #ccw-cost-calculator { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  #ccw-cost-calculator .cost-head { padding: 25px 56px 22px 20px; }
  #ccw-cost-calculator .cost-close { top: 14px; right: 12px; width: 34px; height: 34px; }
  #ccw-cost-calculator .cost-body { padding: 22px 20px; }
  #ccw-cost-calculator .cost-form { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #ccw-cost-calculator .cost-result { padding: 19px; }
  #ccw-cost-calculator .cost-button { width: 100%; font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { #ccw-cost-launcher, #ccw-cost-calculator .cost-button { transition: none; } }
