.home-hero-pro__grid { align-items: center; }
.cp-panel {
  width: 100%; max-width: 633px; min-height: 517px; justify-self: end; box-sizing: border-box; min-width: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); align-content: stretch;
  gap: 10px; color: #fff; text-align: left;
}
.cp-tile {
  border-radius: 22px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px;
  box-sizing: border-box; min-height: 0; min-width: 0; container-type: inline-size; overflow-wrap: anywhere; color: #fff; text-decoration: none;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  transition: background-color .15s ease, border-color .15s ease;
}
a.cp-tile:hover { background: rgba(255, 255, 255, .19); border-color: rgba(255, 255, 255, .38); color: #fff; }
a.cp-tile:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cp-tile--today, .cp-tile--holiday, .cp-tile--recess { grid-column: span 2; }
.cp-panel--legal .cp-tile--workdays { grid-column: span 2; }
.cp-tile--deadlines, .cp-tile--month { grid-column: span 2; grid-row: span 2; }
.cp-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .74); }
.cp-label i { font-size: 11px; }
.cp-value { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.cp-value--lg { font-size: 30px; }
.cp-text { font-size: 12.5px; line-height: 1.35; color: rgba(255, 255, 255, .74); }
.cp-deadlines { margin-top: 4px; }
.cp-deadline { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 0; }
.cp-deadline + .cp-deadline { border-top: 1px solid rgba(255, 255, 255, .14); }
.cp-deadline__label { font-size: 13px; color: rgba(255, 255, 255, .74); }
.cp-deadline__value { white-space: nowrap; }
.cp-deadline__value b { font-size: 20px; font-weight: 700; }
.cp-deadline__value span { font-size: 12px; color: rgba(255, 255, 255, .74); margin-left: 6px; }
.cp-foot { margin-top: auto; font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.cp-foot a { color: #cfe3ff; font-weight: 600; text-decoration: none; }
.cp-foot a:hover { text-decoration: underline; color: #fff; }
.cp-month__head { display: flex; justify-content: space-between; align-items: center; }
.cp-month__title { font-size: 14px; font-weight: 700; }
.cp-month__workdays { font-size: 12px; color: rgba(255, 255, 255, .74); }
.cp-month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cp-month__wd { text-align: center; font-size: 10.5px; font-weight: 700; color: rgba(255, 255, 255, .55); padding-bottom: 4px; }
.cp-day { height: 21px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 12px; font-variant-numeric: tabular-nums; color: #fff; }
.cp-day--weekend { color: rgba(255, 255, 255, .45); }
.cp-day--holiday { background: rgba(251, 191, 36, .28); color: #fde68a; font-weight: 700; }
.cp-day--fifth { box-shadow: inset 0 0 0 1.5px #6ee7a0; color: #bbf7d0; font-weight: 700; }
.cp-day--today { background: #fff; color: #0b3b80; font-weight: 800; box-shadow: none; }

@media (max-width: 1200px) and (min-width: 992px) {
  .cp-value--lg { font-size: 24px; }
  .cp-deadline__value b { font-size: 17px; }
}
@media (max-width: 991px) {
  .cp-panel { max-width: none; height: auto; display: flex; flex-direction: column; gap: 10px; justify-self: stretch; }
  .cp-tile { border-radius: 20px; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .18); }
  .cp-value--lg { font-size: 26px; }
  .cp-day { height: 34px; }
  .cp-panel .cp-tile--workdays, .cp-panel .cp-tile--fifth { width: calc(50% - 5px); }
  .cp-panel { flex-direction: row; flex-wrap: wrap; }
  .cp-panel > .cp-tile:not(.cp-tile--workdays):not(.cp-tile--fifth) { width: 100%; }
}
.cp-tile > * { min-width: 0; max-width: 100%; }
.cp-value { font-size: clamp(18px, 19cqi, 26px); }
.cp-value--lg { font-size: clamp(19px, 12.5cqi, 30px); }
.cp-tile--recess .cp-value { font-size: clamp(16px, 12cqi, 26px); }
.cp-text, .cp-label, .cp-foot, .cp-deadline__label, .cp-rule__name { min-width: 0; overflow-wrap: anywhere; }
.cp-label { flex-wrap: wrap; row-gap: 2px; }
.cp-deadline { flex-wrap: wrap; row-gap: 2px; min-width: 0; }
.cp-deadline__value b { font-size: clamp(15px, 8.5cqi, 20px); }
.cp-month__head { flex-wrap: wrap; gap: 2px 8px; }
.cp-rule { flex-wrap: wrap; row-gap: 2px; min-width: 0; }
@media (max-width: 1279px) and (min-width: 992px) {
  .cp-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; min-height: 0; }
  .cp-panel > .cp-tile { grid-column: span 1; grid-row: auto; }
  .cp-panel > .cp-tile--deadlines, .cp-panel > .cp-tile--month, .cp-panel > .cp-tile--recess, .cp-panel > .cp-tile--rules, .cp-panel--legal > .cp-tile--workdays { grid-column: span 2; }
}
@media (max-width: 420px) {
  .cp-panel .cp-tile--workdays, .cp-panel .cp-tile--fifth { width: 100%; }
}

.cp-families-band { background: #eef1f4; }
.cp-families {
  max-width: 1240px; margin: 0 auto; padding: 48px 20px; box-sizing: border-box;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.cp-family { background: #fff; border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cp-family--wide { grid-column: span 2; order: -1; }
.cp-family__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; font-weight: 800; line-height: 1.2; color: #1d1d1f; }
.cp-family__title i { color: #0071e3; font-size: 17px; }
.cp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-pill {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; box-sizing: border-box; padding: 0 16px;
  border-radius: 999px; background: #f1f4f8; border: 1px solid transparent; color: #1d1d1f;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.cp-pill i { font-size: 14px; }
.cp-pill:hover { border-color: #b9d3f7; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); transform: translateY(-1px); color: #1d1d1f; }
.cp-pill:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }
@media (max-width: 767px) {
  .cp-families { grid-template-columns: 1fr; padding: 24px 12px; gap: 12px; }
  .cp-family--wide { grid-column: auto; }
  .cp-family { padding: 16px; gap: 12px; }
  .cp-family__title { font-size: 17px; }
  .cp-pill { font-size: 14px; padding: 0 14px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .cp-pill, .cp-tile { transition: none; } .cp-pill:hover { transform: none; } }

body.dark-mode .cp-tile { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); }
body.dark-mode a.cp-tile:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .24); }
body.dark-mode .cp-day--today { background: #0a84ff; color: #fff; }
body.dark-mode .cp-foot a { color: #7cc0ff; }
body.dark-mode .cp-families-band { background: #111317; }
body.dark-mode .cp-family { background: #1c1c1e; border: 1px solid #2c2c2e; }
body.dark-mode .cp-family__title { color: #f5f5f7; }
body.dark-mode .cp-family__title i { color: #0a84ff; }
body.dark-mode .cp-pill { background: #2c2c2e; color: #f5f5f7; }
body.dark-mode .cp-pill:hover { border-color: #0a84ff; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); color: #fff; }

.cp-tile--rules { grid-column: span 2; grid-row: span 2; }
.cp-panel--legal .cp-tile--recess { grid-column: span 2; }
.cp-rules { margin-top: 2px; }
.cp-rule { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: #fff; text-decoration: none; }
.cp-rule + .cp-rule { border-top: 1px solid rgba(255, 255, 255, .14); }
.cp-rule:hover { color: #fff; }
.cp-rule:hover .cp-rule__name { text-decoration: underline; }
.cp-rule:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
.cp-rule__code { min-width: 44px; box-sizing: border-box; text-align: center; font-size: 11.5px; font-weight: 800; padding: 3px 6px; border-radius: 6px; background: rgba(255, 255, 255, .14); }
.cp-rule__code--civil { color: #6ee7a0; }
.cp-rule__code--criminal { color: #fda4af; }
.cp-rule__code--labor { color: #93c5fd; }
.cp-rule__code--social { color: #fcd34d; }
.cp-rule__name { flex-grow: 1; font-size: 14px; font-weight: 600; }
.cp-rule__ref { font-size: 12.5px; color: rgba(255, 255, 255, .74); white-space: nowrap; }
@media (max-width: 991px) {
  .cp-panel.cp-panel--legal > .cp-tile--workdays { width: 100%; }
  .cp-rule { min-height: 44px; }
}

.cp-branches-band { background: #f5f7fa; }
.cp-branches { max-width: 1240px; margin: 0 auto; padding: 56px 20px; box-sizing: border-box; display: flex; flex-direction: column; gap: 20px; }
.cp-branches__title { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: #1d1d1f; }
.cp-branches .tools-grid__notice { margin: 0; }
.cp-branch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cp-branch {
  display: flex; flex-direction: column; gap: 10px; padding: 22px; box-sizing: border-box; min-width: 0;
  border: 1px solid #e3e6ea; border-radius: 16px; background: #fff; color: #1d1d1f; text-decoration: none;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.cp-branch:hover { border-color: #b9d3f7; box-shadow: 0 8px 22px rgba(0, 0, 0, .08); transform: translateY(-1px); color: #1d1d1f; }
.cp-branch:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }
.cp-branch__head { display: flex; align-items: center; gap: 12px; }
.cp-branch__icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; }
.cp-branch__icon--blue { background: #e7f0ff; color: #0d6efd; }
.cp-branch__icon--green { background: #e6f4ec; color: #198754; }
.cp-branch__icon--yellow { background: #fdf4d9; color: #b58900; }
.cp-branch__icon--pink { background: #fbe9f2; color: #d63384; }
.cp-branch__area { font-size: 13px; font-weight: 700; color: #6b7280; }
.cp-branch__name { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.25; color: inherit; }
.cp-branch__rule { margin: 0; font-size: 14px; line-height: 1.5; color: #5f6368; }
.cp-branch__cta { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: #0071e3; }
.cp-branch__cta i { font-size: 13px; }
.cp-branch .tool-card__gate { align-self: flex-start; margin-top: 0; }
.cp-hub-note { max-width: 940px; margin: 0 auto; padding: 28px 20px 8px; box-sizing: border-box; }
.cp-hub-note p { margin: 0; font-size: 16px; line-height: 1.6; }
@media (max-width: 991px) { .cp-branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .cp-branches { padding: 32px 16px; gap: 16px; }
  .cp-branches__title { font-size: 23px; }
  .cp-branch-grid { grid-template-columns: 1fr; gap: 12px; }
  .cp-branch { padding: 18px; }
  .cp-branch__name { font-size: 18px; }
  .cp-hub-note { padding: 20px 16px 4px; }
}
@media (prefers-reduced-motion: reduce) { .cp-branch { transition: none; } .cp-branch:hover { transform: none; } }

body.dark-mode .cp-branches-band { background: #111317; }
body.dark-mode .cp-branches__title { color: #f5f5f7; }
body.dark-mode .cp-branch { background: #1c1c1e; border-color: #2c2c2e; color: #f5f5f7; }
body.dark-mode .cp-branch:hover { border-color: #0a84ff; box-shadow: 0 8px 22px rgba(0, 0, 0, .4); color: #f5f5f7; }
body.dark-mode .cp-branch__area { color: #a1a1a6; }
body.dark-mode .cp-branch__rule { color: #c7c7cc; }
body.dark-mode .cp-branch__cta { color: #4da3ff; }
body.dark-mode .cp-branch__icon--blue { background: rgba(10, 132, 255, .18); color: #6cb2ff; }
body.dark-mode .cp-branch__icon--green { background: rgba(48, 209, 88, .16); color: #5fd47f; }
body.dark-mode .cp-branch__icon--yellow { background: rgba(255, 214, 10, .14); color: #ffd84d; }
body.dark-mode .cp-branch__icon--pink { background: rgba(255, 55, 145, .16); color: #ff7ab8; }

.cp-page { max-width: 1700px; margin: 0 auto; padding: 48px 20px 8px; box-sizing: border-box; }
.cp-lay { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.cp-lay__main { display: flex; flex-direction: column; gap: 22px; min-width: 0; scroll-margin-top: 90px; }
.cp-lay__title { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: #1d1d1f; }
.cp-lay .tools-grid__notice { margin: 0; }
.cp-topic { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 90px; }
.cp-topic__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.cp-topic__title { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.3; color: #1d1d1f; }
.cp-topic__sub { font-size: 13.5px; color: #5f6368; }
.cp-topic__list { border: 1px solid #e3e6ea; border-radius: 14px; overflow: hidden; background: #fff; }
.cp-tone--blue { --cc: #0d6efd; --ct: #e7f0ff; }
.cp-tone--green { --cc: #198754; --ct: #e6f4ec; }
.cp-tone--yellow { --cc: #b58900; --ct: #fdf4d9; }
.cp-tone--pink { --cc: #d63384; --ct: #fbe9f2; }
.cp-trow {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 16px; align-items: center; padding: 16px 18px;
  color: #1d1d1f; text-decoration: none; border-top: 1px solid #eef0f3; position: relative;
  transition: background-color .2s ease;
}
.cp-trow:first-child { border-top-color: transparent; }
.cp-trow::after { content: ""; position: absolute; inset: -1px 0 0; border: 1px solid transparent; pointer-events: none; transition: border-color .2s ease; }
.cp-trow:first-child::after { top: 0; border-radius: 13px 13px 0 0; }
.cp-trow:last-child::after { border-radius: 0 0 13px 13px; }
.cp-trow:first-child:last-child::after { border-radius: 13px; }
.cp-trow:hover { color: #1d1d1f; background: #fbfcfd; }
@media (hover: hover) { .cp-trow:hover::after { border-color: var(--cc); } }
.cp-trow { -webkit-tap-highlight-color: transparent; }
.cp-trow:focus { outline: none; }
.cp-trow:focus-visible { outline: 2px solid #0071e3; outline-offset: -2px; }
.cp-trow__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--ct); color: var(--cc); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background-color .2s ease, color .2s ease; }
.cp-trow:hover .cp-trow__icon, .cp-trow:focus-visible .cp-trow__icon { background: var(--cc); color: #fff; }
.cp-trow__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cp-trow__name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.cp-trow__text { font-size: 13.5px; line-height: 1.45; color: #5f6368; }
.cp-trow__text b { color: #3c4043; font-weight: 600; }
.cp-trow__badge { align-self: flex-start; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: #e7f1fd; color: #0058b0; font-size: 12px; font-weight: 700; }
.cp-trow__arrow { font-size: 12px; color: #b0b4ba; justify-self: end; }
.cp-rail { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cp-rail__box { border: 1px solid #e3e6ea; border-radius: 14px; background: #fff; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.cp-rail__title { margin: 0; font-size: 13px; font-weight: 800; color: #1d1d1f; }
.cp-rail__index { font-size: 14px; color: #3c4043; padding: 3px 0; text-decoration: none; }
.cp-rail__index.is-first { color: #0066cc; font-weight: 700; }
.cp-rail__index:hover { color: #0066cc; text-decoration: underline; }
.cp-rail__article { font-size: 14px; line-height: 1.4; color: #1d1d1f; padding: 8px 0; border-top: 1px solid #eef0f3; text-decoration: none; }
.cp-rail__title + .cp-rail__article { border-top: 0; }
.cp-rail__article:hover { color: #0066cc; text-decoration: underline; }
.cp-rail__all { font-size: 13.5px; font-weight: 700; color: #0066cc; text-decoration: none; }
.cp-rail__all:hover { text-decoration: underline; }
.cp-page .cp-flow { margin-top: 56px; }
body.home-landing .cp-page .home-band { padding: 0; background: transparent; }
body.home-landing .cp-page .home-band__inner { max-width: none; }
body.home-landing .cp-page .home-seo-text, body.home-landing .cp-page .hub-content-wrapper { max-width: none !important; padding: 0 !important; margin: 0 !important; scroll-margin-top: 90px; }
.cp-page .home-how-it-works, .cp-page .home-faq { padding: 56px 0 0; background: transparent; scroll-margin-top: 90px; }
.cp-page .home-how-it-works__header, .cp-page .home-faq__header, .cp-page .home-faq__intro { text-align: left; max-width: none; margin-left: 0; margin-right: 0; padding: 0; }
.cp-page .home-how-it-works__grid, .cp-page .home-faq__list { max-width: none; margin: 0; }
body.home-landing .cp-page .home-related { width: auto; margin: 56px 0 0; }
.cp-page .cp-hub-note { max-width: none; padding: 40px 0 0; }
@media (max-width: 1100px) { .cp-lay { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; } }
@media (max-width: 991px) { .cp-lay { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 768px) {
  .cp-page { padding: 32px 16px 8px; }
  .cp-lay__title { font-size: 23px; }
  .cp-trow { grid-template-columns: 40px minmax(0, 1fr) 14px; gap: 12px; padding: 14px; }
  .cp-page .cp-flow { margin-top: 40px; }
  .cp-page .home-how-it-works, .cp-page .home-faq { padding-top: 40px; }
  body.home-landing .cp-page .home-related { margin-top: 40px; }
}
@media (max-width: 480px) { .cp-page { padding-left: 14px; padding-right: 14px; } }
@media (prefers-reduced-motion: reduce) { .cp-trow, .cp-trow::after, .cp-trow__icon { transition: none; } }

body.dark-mode .cp-lay__title, body.dark-mode .cp-topic__title, body.dark-mode .cp-rail__title { color: #f5f5f7; }
body.dark-mode .cp-topic__sub { color: #a1a1a6; }
body.dark-mode .cp-topic__list, body.dark-mode .cp-rail__box { background: #1c1c1e; border-color: #2c2c2e; }
body.dark-mode .cp-trow { color: #f5f5f7; border-top-color: #2c2c2e; }
body.dark-mode .cp-trow:first-child { border-top-color: transparent; }
body.dark-mode .cp-trow:hover { background: #232326; color: #f5f5f7; }
body.dark-mode .cp-trow__text { color: #c7c7cc; }
body.dark-mode .cp-trow__text b { color: #e5e5ea; }
body.dark-mode .cp-trow__arrow { color: #8e8e93; }
body.dark-mode .cp-trow__badge { background: #1e3550; color: #7db8ff; }
body.dark-mode .cp-tone--blue { --cc: #4da3ff; --ct: rgba(10, 132, 255, .18); }
body.dark-mode .cp-tone--green { --cc: #5fd47f; --ct: rgba(48, 209, 88, .16); }
body.dark-mode .cp-tone--yellow { --cc: #ffd84d; --ct: rgba(255, 214, 10, .14); }
body.dark-mode .cp-tone--pink { --cc: #ff7ab8; --ct: rgba(255, 55, 145, .16); }
body.dark-mode .cp-trow:hover .cp-trow__icon, body.dark-mode .cp-trow:focus-visible .cp-trow__icon { color: #111317; }
body.dark-mode .cp-rail__index { color: #d1d1d6; }
body.dark-mode .cp-rail__index.is-first, body.dark-mode .cp-rail__all, body.dark-mode .cp-rail__index:hover, body.dark-mode .cp-rail__article:hover { color: #4da3ff; }
body.dark-mode .cp-rail__article { color: #f5f5f7; border-top-color: #2c2c2e; }
body.dark-mode .cp-rail__title + .cp-rail__article { border-top: 0; }
body.home-landing .cp-page .home-how-it-works, body.home-landing .cp-page .home-faq { padding-left: 0 !important; padding-right: 0 !important; }
.cp-topic__more { align-self: flex-start; margin-top: -8px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14.5px; font-weight: 700; color: #0066cc; text-decoration: none; }
.cp-topic__more i { font-size: 12px; }
.cp-topic__more:hover { text-decoration: underline; }
body.dark-mode .cp-topic__more { color: #4da3ff; }
