/* DD365 tax pages use the incumbent proverka-arendatora service formatting.
   Presentation only: no field, route, calculation, payment or analytics changes. */
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) {
  --brand: #174f3f;
  --brand-deep: #10392d;
  --accent: #c6892c;
  --text: #18372c;
  --text-soft: #5e7269;
  --text-invert: #f7f1e7;
  --line: rgba(24, 55, 44, .12);
  --line-strong: rgba(24, 55, 44, .22);
  --surface: rgba(255, 252, 247, .94);
  --surface-strong: rgba(255, 255, 255, .92);
  --service-action: #0d6b63;
  --service-selected: #eef7f3;
  --ink: var(--text);
  --muted: var(--text-soft);
  --pine: var(--brand);
  --pine-deep: var(--brand-deep);
  --green: var(--brand);
  --green-dark: var(--brand-deep);
  --green-pale: var(--service-selected);
  --mint: var(--service-selected);
  --paper: #fbf7ef;
  --canvas: #fbf7ef;
  --lime: var(--service-action);
  color: var(--text);
  background: radial-gradient(circle at 7% 7%, rgba(198, 137, 44, .14), transparent 23%),
    linear-gradient(180deg, #fbf7ef 0%, #eee4d4 100%);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .page-shell { background: transparent; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .page-shell::before,
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .page-shell::after,
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .hero::before,
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .hero::after { display: none; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.wrap, .container) {
  width: min(calc(100% - 40px), 1280px);
  margin-inline: auto;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(h1, h2, h3, h4) {
  color: var(--brand);
  font-family: Spectral, Georgia, serif;
  font-weight: 700;
  letter-spacing: normal;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(h1, .hero h1, .hero__copy--product h1, .hero-compact h1) {
  max-width: none;
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.01;
  letter-spacing: normal;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) h2 { font-size: 34px; line-height: 1.12; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) h3 { font-size: 28px; line-height: 1.2; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(p, li) { text-align: start; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.hero, .hero-compact) {
  background: transparent;
  color: var(--text);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) header.hero { padding: 28px 0 0; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.site-header, .topbar) { gap: 24px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .site-header { min-height: 0; padding-block: 28px 0; margin-bottom: 26px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.brand, .brand__mark, .brand-mark) { min-width: 0; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .brand { gap: 14px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.brand > img, .brand__mark, .brand-mark) {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  padding: 0;
  background: transparent;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.brand__mark img, .brand-mark img) { width: 100%; height: 100%; object-fit: contain; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.brand strong, .brand__title) {
  color: var(--text);
  font-family: Spectral, Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.brand small, .brand__subtitle) {
  color: var(--accent);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  margin-top: 6px;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.navigation, .topbar__actions, .topbar-actions) {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.navigation a, .topbar__link, .topbar-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(23, 79, 63, .08);
  color: var(--text);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.hero__grid--lean, .hero-compact) { padding-block: 26px 12px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.hero-copy > p, .hero__lead, .hero-lead) {
  color: var(--text-soft);
  max-width: 70ch;
  font-size: 18px;
  line-height: 1.7;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .hero__copy--product .hero__lead {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text-soft);
  font-weight: 400;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.button.primary, .button--primary, .button-accent) {
  min-height: 54px;
  padding: 14px 22px;
  border: 1px solid var(--service-action);
  border-radius: 14px;
  background: var(--service-action);
  color: #fff;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: none;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.button.secondary, .button--secondary, .button-ghost) {
  min-height: 54px;
  padding: 14px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--brand);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.button, input, select, summary, .navigation a):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .hero-actions .button--secondary,
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .hero-actions .button--secondary:hover {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--brand);
  box-shadow: none;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.button.primary, .button--primary, .button-accent):hover:not(:disabled) { background: #0a5953; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) button:disabled { opacity: .6; cursor: not-allowed; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.panel, .calculator-shell, .result-shell, .saved-link, .offer-purchase-intro) {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(24, 55, 44, .13);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(24, 55, 44, .1);
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.panel__header h2, .questionnaire-head h2, .section-heading h2) { font-size: 34px; line-height: 1.08; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.question-card, .proof-sheet, .sample-report, .intake) {
  border: 1px solid rgba(24, 55, 44, .13);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.question-card > h4, .card-title-row h4, .activity-card-head h4, .sheet-heading h2) {
  color: var(--brand);
  font-family: Spectral, Georgia, serif;
  font-size: 25px;
  line-height: 1.15;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .form-grid { gap: 20px 14px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .quick-overview-row > .field {
  grid-template-rows: 38px 54px auto;
  align-content: start;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.field, .field-label, .field__label) {
  color: var(--text);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea) {
  min-height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background-color: var(--surface-strong);
  color: var(--text);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(input[type=checkbox], input[type=radio]) { accent-color: var(--service-action); }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.field small, .field__hint, .field__note, .check-field small) {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.field-control-aligned, .field:has(#region), .field:has(#municipality), .field:has(#patentStart), .field:has(#patentEnd)) { grid-template-rows: 44px 54px auto; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .choice-label {
  padding: 17px 18px;
  border: 2px solid rgba(23, 79, 63, .18);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .choice-label:has(input:checked) { border-color: var(--service-action); background: var(--service-selected); }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.offer-facts-summary, .recommendation, .boundary, .report-facts, .purchase-intro-action) {
  border-radius: 8px;
  background: var(--service-selected);
  color: var(--text);
}
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.offer-facts-summary dt, .offer-facts-summary p, .report-facts, .privacy-local, .source-note) { color: var(--text-soft); font-size: 14px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .purchase-intro-action :where(span, p, em) { color: var(--text-soft); }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .purchase-intro-action > strong { color: var(--brand); }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .purchase-intro-action a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.offer-facts-summary dd, .included li, .explanation p, .action-list p, details p, summary) { font-size: 16px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .offer-facts-summary p { font-size: 14px !important; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .offer-facts-summary h4 { font-size: 25px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .unlock-card { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) #unlockCopy :where(h3, p, li) { color: var(--text); }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) #unlockCopy h3 { color: var(--brand); }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .unlock-action { background: var(--service-selected); color: var(--text); border-radius: 8px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .unlock-action :where(span, strong, small) { color: var(--text); }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .upgrade-credit-note { background: #fff4df; color: #624817; border-color: rgba(198, 137, 44, .45); }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .aside-card { background: var(--service-selected); color: var(--text); border-radius: 8px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .aside-card :where(h3, .answer-item strong) { color: var(--brand); }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .aside-card :where(.eyebrow, .answer-item span) { color: var(--text-soft); }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .hero.dd365-hero { padding: 26px 0; gap: 42px; margin-top: 0; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .dd365-hero :where(h1, .hero-copy > p, .text-button, .price-note, .transfer-note) { color: var(--text); }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .dd365-hero .hero-copy > p { color: var(--text-soft); }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .dd365-hero .price-note { font-size: 16px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .proof-sheet { padding: 22px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .sheet-context { font-size: 16px; line-height: 1.55; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .mini-table { font-size: 16px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .mini-table th { font-size: 14px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .section { margin-top: 56px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .sample-switch button { min-height: 48px; font-size: 16px; border-radius: 14px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .report-top h3 { font-size: 28px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .report-table :where(th, td) { font-size: 16px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .report-table small { font-size: 14px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .report-tabs button { min-height: 48px; font-size: 16px; }
body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.start-intro > p, .section-head > p, .intake .lead, .trust-section p) { color: var(--text-soft); font-size: 16px; line-height: 1.65; }
@media (max-width: 980px) {
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .site-header { display: flex; flex-wrap: wrap; align-items: flex-start; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.navigation, .topbar__actions, .topbar-actions) { justify-content: flex-start; }
}
@media (max-width: 760px) {
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.wrap, .container) { width: calc(100% - 28px); }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.site-header, header.hero) { padding-top: 20px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .site-header { gap: 16px; margin-bottom: 20px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.brand > img, .brand__mark, .brand-mark) { width: 58px; height: 58px; flex-basis: 58px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.brand strong, .brand__title) { font-size: 26px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.brand small, .brand__subtitle) { font-size: 16px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.navigation, .topbar__actions, .topbar-actions) { gap: 8px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.navigation a, .topbar__link, .topbar-link) { min-height: 44px; padding: 10px 14px; font-size: 14px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.hero h1, .hero__copy--product h1, .hero-compact h1) { font-size: 38px; line-height: 1.05; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.hero-copy > p, .hero__lead, .hero-lead) { font-size: 18px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.panel, .calculator-shell, .result-shell, .saved-link, .offer-purchase-intro) { padding: 22px 18px; border-radius: 8px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) :where(.panel__header h2, .questionnaire-head h2, .section-heading h2) { font-size: 30px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .hero.dd365-hero { padding: 20px 0; gap: 24px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .hero-actions { gap: 12px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .dd365-hero .hero-actions .primary { width: auto; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .proof-sheet { padding: 20px 16px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .sheet-context { font-size: 14px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .mini-table { font-size: 13px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .mini-table th { font-size: 12px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .mini-table td:not(:first-child) { font-size: 13px; padding-left: 6px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .report-table :where(th, td) { font-size: 14px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .report-table small { font-size: 12px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .report-tabs { flex-wrap: wrap; gap: 10px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .choice-label { padding: 16px 14px; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .quick-overview-row > .field { grid-template-rows: auto 54px auto; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .form-actions { flex-wrap: wrap; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .questionnaire-head { align-items: start; }
  body.tax-service-format:is(.tax-offer-working, [data-brand="dd365"]) .offer-example-reminder a { white-space: normal; }
}
