.svc-editor, .svc-view {
    --svc-green: #00894e;
    --svc-dark: #223b30;
    --svc-muted: #68796f;
    --svc-line: #dce6df;
    --svc-soft: #f2f7f4;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: var(--svc-dark);
    letter-spacing: 0;
    min-width: 0;
    width: 100%;
    text-align: left;
}
.svc-editor *, .svc-view * { box-sizing: border-box; letter-spacing: 0; min-width: 0; }
.svc-editor [hidden], .svc-view [hidden] { display: none !important; }
.ft_servicecatalog > .value { width: 100%; min-width: 0; }
.svc-view { container: svc / inline-size; }
.svc-view h3, .svc-view h4, .svc-view h5, .svc-view p, .svc-editor p { margin: 0; font-family: inherit; color: inherit; }
.svc-simple { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--svc-line); }
.svc-simple__title { font-weight: 500; overflow-wrap: anywhere; }
.svc-view .svc-help { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; width: 24px; height: 24px; margin: -2px 0 0 4px; padding: 4px; border: 0; border-radius: 50%; background: #edf7f1; color: #00894e; font: inherit; cursor: pointer; }
.svc-view .svc-help:hover, .svc-view .svc-help:focus { background: #dbeee3; color: #006f3f; }
.svc-view .svc-help[aria-expanded="true"] { background: #00894e; color: #fff; }
.svc-view .svc-help:focus-visible { outline: 2px solid #00894e; outline-offset: 2px; }
.svc-help svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.tooltip.svc-description-tooltip { position: absolute; z-index: 1080; box-sizing: border-box; width: auto; min-width: 0; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; filter: none; pointer-events: auto; transition: none; font: 400 13px/1.55 "Montserrat", Arial, sans-serif; letter-spacing: 0; }
.tooltip.svc-description-tooltip::before, .tooltip.svc-description-tooltip::after { content: none; }
.tooltip.svc-description-tooltip.show { opacity: 1; }
.svc-description-tooltip .tooltip-inner { box-sizing: border-box; max-width: min(360px, calc(100vw - 24px)); max-height: min(480px, 65vh); overflow-y: auto; padding: 14px 16px; border: 1px solid #dce6df; border-left: 3px solid #00894e; border-radius: 8px; background: #fff; color: #223b30; box-shadow: 0 10px 30px rgba(25, 72, 47, .14); font: inherit; text-align: left; white-space: pre-line; overflow-wrap: anywhere; letter-spacing: 0; }
.tooltip.svc-description-tooltip .arrow { position: absolute; display: block; width: 12px; height: 6px; margin: 0; background: none; border: 0; }
.tooltip.svc-description-tooltip .arrow::before { position: absolute; content: ""; border-style: solid; border-color: transparent; }
.tooltip.svc-description-tooltip .arrow::after { content: none; }
.tooltip.svc-description-tooltip:is(.bs-tooltip-top, [data-popper-placement^="top"]) { padding-bottom: 6px; }
.tooltip.svc-description-tooltip:is(.bs-tooltip-top, [data-popper-placement^="top"]) .arrow { bottom: 0; }
.tooltip.svc-description-tooltip:is(.bs-tooltip-top, [data-popper-placement^="top"]) .arrow::before { top: 0; border-width: 6px 6px 0; border-top-color: #fff; }
.tooltip.svc-description-tooltip:is(.bs-tooltip-bottom, [data-popper-placement^="bottom"]) { padding-top: 6px; }
.tooltip.svc-description-tooltip:is(.bs-tooltip-bottom, [data-popper-placement^="bottom"]) .arrow { top: 0; }
.tooltip.svc-description-tooltip:is(.bs-tooltip-bottom, [data-popper-placement^="bottom"]) .arrow::before { bottom: 0; border-width: 0 6px 6px; border-bottom-color: #fff; }
.tooltip.svc-description-tooltip:is(.bs-tooltip-left, [data-popper-placement^="left"]) { padding-right: 6px; }
.tooltip.svc-description-tooltip:is(.bs-tooltip-left, [data-popper-placement^="left"]) .arrow { right: 0; width: 6px; height: 12px; }
.tooltip.svc-description-tooltip:is(.bs-tooltip-left, [data-popper-placement^="left"]) .arrow::before { left: 0; border-width: 6px 0 6px 6px; border-left-color: #fff; }
.tooltip.svc-description-tooltip:is(.bs-tooltip-right, [data-popper-placement^="right"]) { padding-left: 6px; }
.tooltip.svc-description-tooltip:is(.bs-tooltip-right, [data-popper-placement^="right"]) .arrow { left: 0; width: 6px; height: 12px; }
.tooltip.svc-description-tooltip:is(.bs-tooltip-right, [data-popper-placement^="right"]) .arrow::before { right: 0; border-width: 6px 6px 6px 0; border-right-color: #fff; }
.svc-price { color: var(--svc-green); font-size: 21px; line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }
.svc-simple > .svc-price { font-size: 16px; flex-shrink: 0; max-width: 50%; }
.svc-offer { margin: 30px 0 0; padding: 0; border: 0; background: none; }
.svc-offer:first-child { margin-top: 0; }
.svc-offer > .svc-offer__title { font-size: 19px; font-weight: 700; line-height: 1.4; margin: 0 0 20px; overflow-wrap: anywhere; }
.svc-calculation { margin: 0 0 30px; padding: 0; border: 0; background: none; }
.svc-calculation:last-child { margin-bottom: 0; }
.svc-calculation > .svc-calculation__title { border-left: 3px solid var(--svc-green); padding: 3px 0 3px 12px; margin: 0 0 16px; font-size: 17px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.svc-tariffs { display: grid; grid-template-columns: repeat(var(--svc-columns, 3), minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.svc-tariff { border: 1px solid var(--svc-line); border-radius: 6px; padding: 20px 18px; background: #fff; }
.svc-tariff > .svc-tariff__title { font-size: 18px; font-weight: 700; line-height: 1.35; margin: 0 0 7px; overflow-wrap: anywhere; }
.svc-tariff__detail { border-top: 1px solid var(--svc-line); margin-top: 13px; padding-top: 12px; }
.svc-tariff__detail > .svc-tariff__note { color: var(--svc-muted); font-size: 12px; line-height: 1.55; font-style: italic; margin: 0 0 12px; white-space: pre-line; overflow-wrap: anywhere; }
.svc-view ul.svc-features { list-style: disc; padding: 0 0 0 15px; margin: 0; }
.svc-view .svc-features > li { padding: 0 0 0 2px; margin: 0 0 7px; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.svc-view .svc-features > li::marker, .svc-view .svc-extras li::marker { color: var(--svc-green); }
.svc-view .svc-features > li:last-child { margin-bottom: 0; }
.svc-extras { margin-top: 18px; }
.svc-extras > .svc-extras__title { font-size: 13px; line-height: 1.4; font-weight: 700; margin: 0 0 9px; text-transform: uppercase; }
.svc-view .svc-extras > ul { display: flex; flex-wrap: wrap; gap: 7px 25px; background: var(--svc-soft); border-radius: 4px; margin: 0; padding: 9px 12px 9px 26px; list-style: disc; }
.svc-view .svc-extras li { margin: 0; padding: 0 5px 0 0; font-size: 12px; flex: 0 1 auto; overflow-wrap: anywhere; max-width: 100%; }
.svc-calculation > .svc-footnote { font-size: 11px; color: var(--svc-muted); text-align: center; line-height: 1.6; margin-top: 13px; white-space: pre-line; overflow-wrap: anywhere; }
.svc-editor button, .svc-editor input, .svc-editor textarea, .svc-editor select { font: inherit; letter-spacing: 0; box-shadow: none; }
.svc-editor button { cursor: pointer; }
.svc-editor button:disabled { cursor: not-allowed; opacity: .4; }
.svc-editor button:focus-visible, .svc-editor summary:focus-visible { outline: 2px solid var(--svc-green); outline-offset: 3px; }
.svc-toolbar { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--svc-line); flex-wrap: wrap; }
.svc-tabs { display: inline-flex; gap: 0; border-bottom: 2px solid var(--svc-line); }
.svc-tabs > button { display: inline-flex; gap: 7px; align-items: center; border: 0; border-radius: 0; background: none; color: var(--svc-muted); padding: 8px 11px; font-size: 13px; font-weight: 600; min-height: 38px; }
.svc-tabs > button[aria-selected="true"] { color: var(--svc-green); box-shadow: 0 2px 0 var(--svc-green); }
.svc-counter, .svc-summary__type, .svc-item-number { font-size: 11px; color: var(--svc-muted); font-weight: 500; }
.svc-toolbar__counts { display: flex; gap: 6px 16px; flex-wrap: wrap; }
.svc-editor__stats { margin-top: 12px; font-size: 11px; color: var(--svc-muted); }
.svc-editor__stats.is-over { color: #ad3030; }
.svc-editor__empty { padding: 25px 0; color: var(--svc-muted); font-size: 13px; }
.svc-editor__services { display: grid; gap: 22px; padding: 20px 0; }
.svc-service { margin: 0; padding: 0 0 20px; border: 0; border-bottom: 1px solid var(--svc-line); }
.svc-service > summary, .svc-group > summary { display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none; font-weight: 600; }
.svc-service > summary::-webkit-details-marker, .svc-group > summary::-webkit-details-marker { display: none; }
.svc-summary__arrow { flex: 0 0 14px; display: flex; transform: rotate(-90deg); }
details[open] > summary > .svc-summary__arrow { transform: rotate(0deg); }
.svc-summary__text { overflow-wrap: anywhere; flex: 1 1 auto; line-height: 1.4; }
.svc-actions { display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.svc-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; padding: 6px; border-radius: 4px; color: var(--svc-muted); background: transparent; }
.svc-icon svg, .svc-btn svg, .svc-tabs svg, .svc-summary__arrow svg { width: 14px; height: 14px; flex-shrink: 0; fill: currentColor; }
.svc-icon:hover { background: var(--svc-soft); color: var(--svc-green); }
.svc-icon--danger:hover { background: #fff1f1; color: #ad3030; }
.svc-service__body { padding-top: 16px; }
.svc-fields { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.svc-input-wrap { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; }
.svc-input-wrap > span { font-size: 12px; line-height: 1.4; font-weight: 600; color: var(--svc-dark); }
.svc-input-counter { align-self: flex-end; font-size: 11px; color: var(--svc-muted); line-height: 1.4; }
.svc-input-counter.is-over { color: #ad3030; }
.svc-editor .svc-input { display: block; width: 100%; min-height: 40px; height: auto; padding: 8px 10px; margin: 0; color: var(--svc-dark); background: #fff; border: 1px solid #cfdcd3; border-radius: 4px; outline: none; font-size: 13px; line-height: 1.5; font-weight: 400; }
.svc-editor select.svc-input { appearance: auto; background-image: none; padding-right: 7px; }
.svc-editor textarea.svc-input { min-height: 76px; resize: vertical; }
.svc-editor .svc-input:focus { border-color: var(--svc-green); box-shadow: 0 0 0 2px #00894e14; }
.svc-editor .svc-input::placeholder { color: #8d9a92; }
.svc-editor .svc-input:disabled { background: #f4f6f4; color: var(--svc-muted); }
.svc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #c9dcd0; color: var(--svc-green); background: #fff; border-radius: 4px; padding: 8px 12px; min-height: 38px; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: normal; text-align: left; }
.svc-btn:hover { color: #006f3f; background: var(--svc-soft); border-color: var(--svc-green); }
.svc-btn--primary { background: var(--svc-green); color: #fff; border-color: var(--svc-green); }
.svc-btn--primary:hover { background: #006f3f; color: #fff; }
.svc-list-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 10px 0 12px; font-size: 12px; font-weight: 600; }
.svc-groups { display: grid; gap: 18px; }
.svc-group { padding: 14px 0 14px 14px; border: 0; border-left: 3px solid var(--svc-line); margin: 0; }
.svc-group > summary { font-size: 13px; }
.svc-group[open] { border-left-color: var(--svc-green); }
.svc-group__body { padding-top: 14px; }
.svc-editor-tariffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 13px; align-items: start; }
.svc-edit-tariff { border: 1px solid var(--svc-line); border-radius: 6px; padding: 14px; background: #fff; }
.svc-edit-tariff__head { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-bottom: 10px; }
.svc-edit-tariff .svc-price-fields { display: grid; grid-template-columns: 1fr; gap: 0; }
.svc-item-row { display: flex; align-items: start; gap: 5px; margin-bottom: 8px; }
.svc-item-row > textarea.svc-input { min-height: 42px; height: 62px; flex: 1 1 auto; }
.svc-item-row > .svc-actions { flex-direction: column; gap: 0; }
.svc-item-row .svc-icon { width: 24px; height: 23px; padding: 5px; }
.svc-item-row .svc-icon svg { width: 12px; height: 12px; }
.svc-editor .svc-check { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12px; font-weight: 600; margin: 18px 0 12px; }
.svc-editor .svc-check input { width: 17px; height: 17px; position: static; appearance: auto; opacity: 1; margin: 0; accent-color: var(--svc-green); flex: 0 0 auto; }
.svc-extra-items { margin: 0 0 15px; }
.svc-preview { padding: 22px 0; }
.svc-message { border-left: 3px solid var(--svc-green); padding: 10px 12px; margin: 12px 0; background: var(--svc-soft); font-size: 12px; overflow-wrap: anywhere; }
.svc-message--error { color: #932929; border-left-color: #ad3030; background: #fff4f4; }
.svc-dialog { width: 460px; max-width: calc(100vw - 24px); border: 1px solid var(--svc-line); border-radius: 6px; padding: 24px; color: var(--svc-dark); font-family: inherit; }
.svc-dialog::backdrop { background: #173d2b55; }
.svc-dialog h4 { margin: 0 0 18px; font-size: 18px; }
.svc-dialog__actions { display: flex; justify-content: end; gap: 8px; margin-top: 16px; }
@container svc (max-width: 780px) { .svc-tariffs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container svc (max-width: 520px) { .svc-tariffs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1100px) { .svc-editor-tariffs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .svc-tariffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .svc-summary__type { display: none; }
    .svc-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .svc-editor-tariffs { grid-template-columns: minmax(0, 1fr); }
    .svc-toolbar { align-items: start; }
    .svc-group { padding-left: 10px; }
    .svc-service > summary { flex-wrap: wrap; }
    .svc-service > summary > .svc-summary__text { flex-basis: calc(100% - 30px); }
    .svc-service > summary > .svc-actions { margin-left: auto; }
}
@media (max-width: 520px) {
    .svc-tariffs { grid-template-columns: minmax(0, 1fr); }
    .svc-price { font-size: 20px; }
    .svc-simple { gap: 12px; }
    .svc-simple > .svc-price { font-size: 14px; }
    .svc-tariff { padding: 18px 16px; }
    .svc-view .svc-extras > ul { display: block; }
    .svc-view .svc-extras li + li { margin-top: 5px; }
}
