:root {
  --oc-accent: #6858e8;
  --oc-accent-dark: #5545d3;
  --oc-line: #e3e8f0;
  --oc-muted: #667085;
}

body { background: #f7f8fc; }
.tool-header { border-bottom: 1px solid #edecf2; background: #fff; }
.contact-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tool-brand img { display: block; width: 145px; height: 64px; object-fit: cover; mix-blend-mode: multiply; }
.back-link { color: #5e55c8; font-size: 13px; font-weight: 700; }
.oc-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 70px; }
.oc-eyebrow { margin: 0 0 10px; color: var(--oc-accent-dark); font-size: 12px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.oc-shell > h1 { margin: 0; color: #222438; font-size: clamp(30px, 5vw, 42px); letter-spacing: -.045em; line-height: 1.15; }
.oc-intro { max-width: 760px; margin: 12px 0 22px; color: var(--oc-muted); font-size: 15px; line-height: 1.7; }
.oc-card, .oc-seo-card, .oc-faq, .oc-related { border: 1px solid var(--oc-line); border-radius: 15px; background: #fff; box-shadow: 0 4px 18px rgb(16 24 40 / 4%); }
.oc-card { padding: 20px; }
.oc-form-heading { margin: 0 0 13px; }
.oc-data-panel { margin-top: 13px; }
.oc-toolbar { display: grid; gap: 14px; margin-bottom: 18px; }
.oc-mode-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 5px; border: 1px solid #e8e5fb; border-radius: 13px; background: #fff; box-shadow: 0 4px 14px rgb(42 35 91 / 6%); }
.oc-mode { min-height: 44px; padding: 8px 14px; border: 1px solid transparent; border-radius: 9px; color: #5f6475; background: transparent; cursor: pointer; font-size: 13px; font-weight: 750; transition: background .15s, color .15s, box-shadow .15s, scale .16s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .oc-mode:hover:not(.is-active) { color: var(--oc-accent-dark); background: #f8f7ff; } }
.oc-mode.is-active { border-color: var(--oc-accent); color: #fff; background: var(--oc-accent); box-shadow: 0 3px 9px rgb(104 88 232 / 24%); }
.oc-output-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.oc-mode-hint { margin: 0; color: #667085; font-size: 12px; line-height: 1.6; }
.oc-button { min-height: 40px; padding: 0 14px; border: 1px solid #dfe3ed; border-radius: 9px; color: #344054; background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .oc-button:hover { border-color: #c8c8fa; background: #f8f7ff; } }
.oc-button:focus-visible, .oc-mode:focus-visible, .oc-date-button:focus-visible { outline: 3px solid rgb(var(--brand-rgb) / 24%); outline-offset: 2px; }
.oc-button-primary { border-color: var(--oc-accent); color: #fff; background: var(--oc-accent); }
@media (hover: hover) and (pointer: fine) { .oc-button-primary:hover { border-color: var(--oc-accent-dark); color: #fff; background: var(--oc-accent-dark); } }
.oc-button-small { min-height: 34px; }
.oc-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.oc-card-heading h2 { margin: 0; color: #292b40; font-size: 19px; letter-spacing: -.025em; }
.oc-clear-button { flex: 0 0 auto; border-color: #d7d1ff; color: var(--oc-accent-dark); }
.oc-description { margin: 6px 0 0; color: var(--oc-muted); font-size: 12px; line-height: 1.6; }
.oc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.oc-field-divider { grid-column: 1 / -1; height: 1px; margin: 2px 0; background: #e9ebf2; }
.oc-field { display: grid; min-width: 0; gap: 7px; color: #45485a; font-size: 12px; font-weight: 700; }
.oc-field-label-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; }
.oc-field input { width: 100%; min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid #d7deea; border-radius: 9px; outline: none; color: #292b40; background: #fdfdff; font: inherit; font-size: 13px; font-weight: 400; }
.oc-clearable-input-wrap { position: relative; display: block; min-width: 0; flex: 1 1 auto; }
.oc-clearable-input-wrap input { width: 100%; }
.oc-clearable-input-wrap:has(.oc-input-clear:not([hidden])) > input { padding-right: 38px; }
.oc-autocomplete .oc-clearable-input-wrap:has(.oc-input-clear:not([hidden])) > input { padding-right: 64px; }
.oc-input-clear { position: absolute; top: 50%; right: 7px; width: 24px; height: 24px; display: grid; place-items: center; padding: 0; transform: translateY(-50%); border: 0; border-radius: 50%; color: #697083; background: #eff0f5; cursor: pointer; font: inherit; font-size: 17px; line-height: 1; }
@media (hover: hover) and (pointer: fine) { .oc-input-clear:hover { color: #4338a5; background: #e7e4ff; } }
.oc-input-clear:focus-visible { outline: 3px solid rgb(var(--brand-rgb) / 24%); outline-offset: 1px; }
.oc-input-clear[hidden] { display: none; }
.oc-field input:focus { border-color: #a5a6f6; box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / 12%); }
.oc-autocomplete { position: relative; display: block; }
.oc-autocomplete input { padding-right: 34px; }
.oc-autocomplete-chevron { position: absolute; top: 50%; right: 14px; width: 7px; height: 7px; pointer-events: none; transform: translateY(-70%) rotate(45deg); border-right: 1.5px solid #77728f; border-bottom: 1.5px solid #77728f; }
.oc-autocomplete:has(input[aria-expanded="true"]) .oc-autocomplete-chevron { transform: translateY(-25%) rotate(225deg); }
.oc-autocomplete:has(.oc-input-clear:not([hidden])) .oc-autocomplete-chevron { right: 39px; }
.oc-dropdown { z-index: 20; max-height: 260px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--oc-accent) #f0edff; scrollbar-width: thin; margin: 0; padding: 4px; border: 1px solid #d7d1ff; border-radius: 9px; color: #222438; background: #fff; box-shadow: 0 8px 22px rgb(42 35 91 / 14%); }
.oc-dropdown[popover] { position: fixed; inset: auto; width: max-content; max-width: calc(100vw - 16px); }
.oc-city-options { max-height: 248px; }
.oc-dropdown::-webkit-scrollbar { width: 9px; }
.oc-dropdown::-webkit-scrollbar-track { border-radius: 999px; background: #f0edff; }
.oc-dropdown::-webkit-scrollbar-thumb { border: 2px solid #f0edff; border-radius: 999px; background: var(--oc-accent); }
@media (hover: hover) and (pointer: fine) { .oc-dropdown::-webkit-scrollbar-thumb:hover { background: var(--oc-accent-dark); } }
.oc-dropdown button { width: 100%; min-height: 34px; display: block; padding: 7px 9px; border: 0; border-radius: 5px; color: inherit; background: transparent; cursor: pointer; font: inherit; font-size: 12px; line-height: 1.3; text-align: left; }
.oc-dropdown button:focus, .oc-dropdown button[aria-selected="true"] { outline: 0; color: #222438; background: #f0edff; }
@media (hover: hover) and (pointer: fine) { .oc-dropdown button:hover { outline: 0; color: #222438; background: #f0edff; } }
.oc-search-status { min-height: 0; color: #a33b37; font-size: 12px; font-weight: 500; }
.oc-search-status:empty { display: none; }
.oc-identity-status { min-height: 0; color: #18794e; font-size: 12px; font-weight: 600; }
.oc-identity-status.is-invalid { color: #b42318; }
.oc-identity-status:empty { display: none; }
.oc-date-control { position: relative; display: flex; align-items: center; gap: 7px; }
.oc-date-control input { flex: 1 1 auto; }
.oc-date-control input::placeholder { color: #a0a4b1; opacity: 1; }
.oc-date-picker-toggle { min-width: 40px; height: 42px; flex: 0 0 auto; border: 1px solid #d7deea; border-radius: 9px; color: var(--oc-accent-dark); background: #f5f4ff; cursor: pointer; font-size: 18px; }
.oc-date-picker-toggle[aria-expanded="true"] { color: #fff; background: var(--oc-accent); }
@media (hover: hover) and (pointer: fine) { .oc-date-picker-toggle:hover { color: #fff; background: var(--oc-accent); } }
.oc-date-picker-toggle:focus-visible, .oc-date-nav:focus-visible, .oc-date-day:focus-visible, .oc-date-footer button:focus-visible { outline: 3px solid rgb(var(--brand-rgb) / 24%); outline-offset: 2px; }
.oc-date-picker-popover { position: absolute; z-index: 20; top: calc(100% + 5px); left: 0; width: min(320px, calc(100vw - 48px)); padding: 12px; border: 1px solid #e3e1f4; border-radius: 14px; color: #34364a; background: #fff; box-shadow: 0 14px 36px rgb(34 31 70 / 18%); font-size: 12px; font-weight: 400; }
.oc-date-picker-popover[hidden] { display: none; }
.oc-date-picker-header { display: grid; grid-template-columns: 32px minmax(0, 1fr) 68px 32px; align-items: center; gap: 6px; }
.oc-date-picker-header select, .oc-date-picker-header input { width: 100%; min-width: 0; height: 34px; padding: 0 7px; border: 1px solid #e1e3ed; border-radius: 8px; color: #292b40; background: #fbfbff; font: inherit; font-size: 12px; font-weight: 700; }
.oc-date-picker-header input { text-align: center; }
.oc-date-nav { width: 32px; height: 32px; padding: 0; border: 1px solid #e5e4f2; border-radius: 8px; color: var(--oc-accent-dark); background: #f7f6ff; cursor: pointer; font-size: 22px; line-height: 1; }
@media (hover: hover) and (pointer: fine) { .oc-date-nav:hover { color: #fff; background: var(--oc-accent); } }
.oc-date-error { margin: 5px 0; color: #b42318; font-size: 12px; }
.oc-date-weekdays, .oc-date-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.oc-date-weekdays { margin: 10px 0 5px; color: #667085; text-align: center; font-size: 12px; font-weight: 700; }
.oc-date-weekdays span { padding: 4px 0; }
.oc-date-day-empty, .oc-date-day { min-width: 0; height: 34px; display: grid; place-items: center; }
.oc-date-day { padding: 0; border: 1px solid transparent; border-radius: 9px; color: #34364a; background: transparent; cursor: pointer; font: inherit; font-size: 12px; }
@media (hover: hover) and (pointer: fine) { .oc-date-day:hover { border-color: #c9c5fa; color: var(--oc-accent-dark); background: #f5f3ff; } }
.oc-date-day.is-selected { border-color: var(--oc-accent); color: #fff; background: var(--oc-accent); }
.oc-date-day.is-today:not(.is-selected) { border-color: #8d87ef; color: var(--oc-accent-dark); font-weight: 800; }
.oc-date-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 10px; padding-top: 9px; border-top: 1px solid #eff0f5; }
.oc-date-footer button { min-height: 29px; padding: 0 8px; border: 1px solid #e6e5f1; border-radius: 7px; color: #4b4d60; background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .oc-date-footer button:hover { border-color: #c4c0f5; color: var(--oc-accent-dark); background: #f7f6ff; } }
.oc-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.oc-date-button { min-height: 34px; flex: 0 0 auto; padding: 0 9px; border: 1px solid #e1defe; border-radius: 999px; color: #5545d3; background: #f8f7ff; cursor: pointer; font-size: 12px; font-weight: 750; }
@media (hover: hover) and (pointer: fine) { .oc-date-button:hover { background: #efedff; } }
.oc-statement-fieldset { margin: 18px 0 0; padding: 13px; border: 1px solid #e8eaf1; border-radius: 11px; }
.oc-statement-fieldset legend { padding: 0 7px; color: #34364d; font-size: 13px; font-weight: 750; }
.oc-statement-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.oc-statement-option { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border: 1px solid #e8eaf1; border-radius: 9px; color: #45485a; background: #fbfcfe; cursor: pointer; font-size: 12px; font-weight: 650; line-height: 1.5; }
.oc-statement-option:has(input:checked) { border-color: #aaa0f3; color: #4036a8; background: #f7f6ff; }
.oc-statement-option input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--oc-accent); }
.oc-conditional-fields { margin-top: 15px; }
.oc-agent-fields { margin-top: 19px; padding-top: 17px; border-top: 1px solid #e9ebf2; }
.oc-agent-fields h3 { margin: 0 0 12px; color: #292b40; font-size: 16px; }
.oc-contact-note { display: grid; gap: 9px; margin-top: 17px; padding: 10px 12px; border: 1px solid #e5e0ff; border-radius: 10px; color: #4e477f; background: #f8f7ff; font-size: 12px; }
.oc-contact-main { display: flex; flex-wrap: nowrap; align-items: center; gap: 7px 12px; }
.oc-contact-customer-row { display: flex; align-items: center; gap: 8px 12px; }
.oc-contact-note p { margin: 0; line-height: 1.5; }
.oc-contact-main > p { flex: 1 1 360px; overflow-wrap: anywhere; }
.oc-contact-customer-row > p { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.oc-contact-main > p { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-contact-action { width: 164px; min-width: 164px; min-height: 34px; flex: 0 0 164px; padding: 0 8px; text-align: center; }
.oc-contact-link { border-color: var(--oc-accent); color: #fff; background: var(--oc-accent); }
@media (hover: hover) and (pointer: fine) { .oc-contact-link:hover:not(:disabled) { border-color: var(--oc-accent-dark); color: #fff; background: var(--oc-accent-dark); } }
.oc-contact-action:disabled { border-color: #dfe3ed; color: #98a2b3; background: #f2f4f7; cursor: not-allowed; box-shadow: none; }
.oc-contact-customer-row > p > span { overflow-wrap: anywhere; }
.oc-contact-info-toggle { width: 18px; height: 18px; padding: 0; border: 1px solid currentColor; border-radius: 50%; color: var(--oc-accent); background: transparent; cursor: pointer; font: inherit; font-size: 12px; line-height: 16px; vertical-align: 1px; }
.oc-contact-info-wrap { position: relative; display: inline-flex; }
.oc-contact-info { position: absolute; z-index: 20; right: 0; bottom: calc(100% + 9px); width: min(320px, calc(100vw - 48px)); padding: 10px 12px; border: 1px solid #d9d4f5; border-radius: 8px; color: #34364d; background: #fff; box-shadow: 0 4px 16px rgb(16 24 40 / 16%); font-size: 12px; font-weight: 400; line-height: 1.5; opacity: 0; pointer-events: none; visibility: hidden; }
.oc-contact-info-wrap:focus-within .oc-contact-info, .oc-contact-info-toggle[aria-expanded="true"] + .oc-contact-info { opacity: 1; pointer-events: auto; visibility: visible; }
@media (hover: hover) and (pointer: fine) { .oc-contact-info-wrap:hover .oc-contact-info { opacity: 1; pointer-events: auto; visibility: visible; } }
.oc-contact-note [hidden] { display: none; }
.oc-status:empty { display: none; }
.oc-status { width: 100%; min-height: 16px; color: #18794e; }
.oc-preview-card { margin-top: 20px; }
.oc-preview-heading { align-items: center; flex-wrap: wrap; }
.oc-preview-heading .oc-output-actions { justify-content: flex-end; }
.oc-document-wrap { width: min(100%, 794px); margin: 0 auto; padding: 10px; background: #f2f3f8; }
#document-preview { display: block; width: 100%; height: auto; background: #fff; box-shadow: 0 2px 12px rgb(16 24 40 / 12%); }
.oc-document-alt { margin: 9px auto 0; max-width: 794px; }
.oc-seo { margin-top: 28px; }
.oc-seo-intro { margin-bottom: 18px; }
.oc-seo h2 { margin: 0 0 12px; color: #292b40; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; line-height: 1.25; }
.oc-seo h3 { margin: 0 0 10px; color: #292b40; font-size: 19px; letter-spacing: -.02em; }
.oc-seo p, .oc-seo li, .oc-faq-item p { color: #4b5565; font-size: 14px; line-height: 1.8; }
.oc-seo-intro p { margin: 0; font-size: 15px; }
.oc-seo-intro p + p { margin-top: 10px; }
.oc-seo-card, .oc-faq, .oc-related { margin-top: 15px; padding: 20px 22px; }
.oc-seo-card ul { margin: 10px 0 0; padding-left: 20px; }
.oc-seo-card li + li { margin-top: 8px; }
.oc-faq > h3, .oc-related > h3 { margin-bottom: 15px; }
.oc-faq-item { padding: 0 0 13px; border-bottom: 1px solid #edf0f4; }
.oc-faq-item + .oc-faq-item { padding-top: 13px; }
.oc-faq-item:last-child { padding-bottom: 0; border-bottom: 0; }
.oc-faq-item summary { color: #292b40; font-size: 15px; font-weight: 700; line-height: 1.55; cursor: pointer; }
.oc-faq-item p { margin: 9px 0 0; }
.oc-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.oc-related-card { min-height: 160px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 14px; border: 1px solid #eaebf1; border-radius: 12px; color: #292b40; background: #fff; transition: border-color .2s, box-shadow .2s, scale .16s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .oc-related-card:hover { border-color: #c8c2fa; box-shadow: 0 7px 20px rgb(54 45 112 / 8%); } }
.oc-related-icon { display: grid; min-width: 36px; height: 36px; place-items: center; padding: 0 6px; border-radius: 10px; color: #5545d3; background: #f0edff; font-size: 12px; font-weight: 800; }
.oc-related-card strong { font-size: 13px; line-height: 1.4; }
.oc-related-card > span:last-child { color: #5f6475; font-size: 13px; line-height: 1.55; }
.oc-legal-note { margin: 16px 0 0; padding: 13px 15px; border: 1px solid #f3d27a; border-radius: 11px; color: #704f0b; background: #fff8df; font-size: 12px; line-height: 1.7; }
.oc-back-to-tool { position: fixed; z-index: 5; right: max(20px, calc((100vw - 1120px) / 2)); bottom: 20px; padding: 11px 15px; transform: translateY(8px); border: 1px solid var(--brand); border-radius: 999px; color: #fff; background: var(--brand); box-shadow: 0 8px 25px rgb(var(--brand-rgb) / 25%); font-size: 12px; font-weight: 750; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s var(--ease-out), scale .16s var(--ease-out); visibility: hidden; }
.oc-back-to-tool.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; visibility: visible; }
@media (hover: hover) and (pointer: fine) { .oc-back-to-tool:hover { background: var(--brand-dark); } }
.oc-support-panel { position: fixed; z-index: 15; top: 50%; right: 0; display: flex; flex-direction: row-reverse; align-items: center; transform: translateY(-50%); }
.oc-support-panel summary { width: 50px; min-height: 148px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 14px 8px; border: 1px solid #5545d3; border-right: 0; border-radius: 12px 0 0 12px; color: #fff; background: #6858e8; box-shadow: 0 6px 20px rgb(40 35 100 / 22%); cursor: pointer; font-size: 14px; font-weight: 800; list-style: none; text-shadow: 0 1px 2px rgb(31 24 93 / 35%); writing-mode: vertical-rl; }
.oc-support-panel summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) { .oc-support-panel summary:hover { background: #5545d3; } }
.oc-support-panel summary:focus-visible { outline: 3px solid rgb(var(--brand-rgb) / 35%); outline-offset: 3px; }
.oc-support-panel-content { box-sizing: border-box; width: 278px; padding: 16px; border: 1px solid #e3e1f4; border-right: 0; border-radius: 12px 0 0 12px; color: #34364a; background: #fff; box-shadow: 0 6px 20px rgb(40 35 100 / 14%); clip-path: inset(-40px); transition: clip-path .25s var(--ease-out), opacity .18s var(--ease-out); }
/* Panel wysuwa się spod zakładki: clip-path zamiast animowania width/padding (bez przeliczania układu co klatkę). */
@starting-style { .oc-support-panel[open] .oc-support-panel-content { clip-path: inset(-40px -40px -40px 100%); opacity: 0; } }
.oc-support-panel-content p { margin: 0 0 14px; font-size: 13px; line-height: 1.6; }
.oc-support-panel-content a { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 9px; color: #fff; background: var(--oc-accent); font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .oc-support-panel-content a:hover { background: var(--oc-accent-dark); } }

@media (max-width: 760px) {
  .oc-fields, .oc-statement-options { grid-template-columns: 1fr; }
  .oc-related-grid { grid-template-columns: 1fr; }
  .oc-related-card { min-height: 130px; }
  .oc-preview-heading { align-items: flex-start; flex-direction: column; }
  .oc-preview-heading .oc-output-actions { justify-content: flex-start; }
}
@media (max-width: 900px) {
  #oc-tool input:not([type="radio"]):not([type="checkbox"]), #oc-tool textarea, #oc-tool select { font-size: 16px; }
  .oc-dropdown:not([popover]) { position: absolute; top: calc(100% + 4px); right: 0; left: 0; display: none; width: auto; max-width: none; max-height: min(260px, 35vh); max-height: min(260px, 35dvh); }
  .oc-dropdown:not([popover]).is-open { display: block; }
  .oc-city-options:not([popover]) { max-height: min(248px, 35vh); max-height: min(248px, 35dvh); }
}
@media (max-width: 560px) {
  body { min-width: 0; }
  .oc-shell { width: min(100% - 28px, 1120px); padding-top: 30px; }
  .oc-card { padding: 15px; }
  .oc-mode-switch { grid-template-columns: 1fr; }
  .oc-output-actions { display: grid; grid-template-columns: 1fr; }
  .oc-card-heading:not(.oc-preview-heading) { align-items: stretch; flex-direction: column; }
  .oc-card-heading:not(.oc-preview-heading) .oc-clear-button { width: auto; align-self: flex-start; }
  .oc-button { width: 100%; }
  .oc-contact-main, .oc-contact-customer-row { min-width: 0; flex-direction: column; align-items: stretch; gap: 8px; }
  .oc-contact-main > p, .oc-contact-customer-row > p { width: 100%; min-width: 0; flex: 0 1 auto; }
  .oc-contact-main > p { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
  .oc-contact-note .oc-contact-action { width: 100%; min-width: 0; flex: 0 1 auto; align-self: stretch; }
  .oc-contact-info { position: fixed; right: 8px; bottom: 8px; left: 8px; width: auto; }
  .oc-date-button { padding: 0 7px; font-size: 11px; }
  .oc-document-wrap { padding: 4px; }
  .oc-back-to-tool { right: 12px; bottom: 12px; font-size: 12px; }
}
@media (max-width: 760px) {
  .oc-support-panel { display: none; }
}
@page { size: A4 portrait; margin: 0; }
@media print {
  html, body { width: 210mm; height: 297mm; margin: 0 !important; padding: 0 !important; overflow: hidden !important; background: #fff !important; }
  body { position: relative !important; }
  body > *:not(.oc-shell) { display: none !important; }
  body * { visibility: hidden !important; }
  .oc-shell { position: static !important; width: 210mm !important; height: 297mm !important; margin: 0 !important; padding: 0 !important; }
  .oc-shell > * { display: none !important; }
  .oc-shell > .oc-preview-card { display: block !important; width: 210mm !important; height: 297mm !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
  .oc-preview-card > * { display: none !important; }
  .oc-support-panel { display: none !important; }
  .oc-document-wrap, .oc-document-wrap * { visibility: visible !important; }
  .oc-preview-card > .oc-document-wrap { display: block !important; position: absolute !important; inset: 0 auto auto 0 !important; width: 210mm !important; height: 297mm !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; background: #fff !important; }
  #document-preview { width: 210mm !important; height: 297mm !important; box-shadow: none !important; }
  .oc-document-alt { display: none !important; }
}

/* Pusty wzór do pobrania i ściąga terminów (nad formularzem) */
.oc-templates { margin-bottom: 18px; }
.oc-templates-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.oc-templates h2 { margin: 0 0 6px; color: #292b40; font-size: 18px; letter-spacing: -.025em; }
.oc-templates-head p { max-width: 560px; margin: 0; color: var(--oc-muted); font-size: 13px; line-height: 1.6; }
.oc-templates-links { display: flex; flex-wrap: wrap; gap: 9px; }
.oc-template-link { display: inline-flex; align-items: center; text-decoration: none; }
.oc-cases-row { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--oc-line); }
.oc-cases-title { color: #292b40; font-size: 13px; font-weight: 700; }
.oc-help { position: static; }
.oc-help summary { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #c9c9ed; border-radius: 50%; color: #5c56c5; background: #fff; cursor: pointer; font-size: 12px; font-weight: 750; line-height: 1; list-style: none; }
.oc-help summary::-webkit-details-marker { display: none; }
.oc-help summary:focus-visible { outline: 3px solid rgb(var(--brand-rgb) / 22%); outline-offset: 2px; }
.oc-help-content { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; width: min(460px, 100%); box-sizing: border-box; display: none; padding: 12px 14px; border: 1px solid #e1e2f2; border-radius: 10px; background: #fff; box-shadow: 0 14px 35px rgb(16 24 40 / 15%); }
.oc-help:focus-within .oc-help-content, .oc-help[open] .oc-help-content { display: block; }
@media (hover: hover) and (pointer: fine) { .oc-help:hover .oc-help-content { display: block; } }
.oc-cases { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: #4b5565; font-size: 12.5px; line-height: 1.55; }
.oc-cases strong { color: #292b40; }
@media (max-width: 760px) {
  .oc-templates-links { width: 100%; }
}
