/* 1.11.0: įrankiai – tas pats standartas kaip kitų skaičiuoklių */
.vt-tool { --navy:#19305C; --gold:#FDB913; --blue:#1F57B0; --soft:#F3F6FA; --line:#DCE3EE; --muted:#4A5568; box-sizing: border-box; width: calc(100% - 20px); max-width: 800px; margin: 12px auto 24px; color: var(--navy); font-family: Outfit, Arial, sans-serif; line-height: 1.5; }
.vt-tool *, .vt-home * { box-sizing: border-box; }
.vt-tool [hidden], .vt-home [hidden], .vt-home[hidden] { display: none !important; }
.vt-tool .vt-shell { border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 8px; background: #fff; padding: clamp(14px, 3vw, 24px); }
body .vt-tool h2 { margin: 0 0 8px; color: var(--navy); font-size: 1.08rem; font-weight: 650; line-height: 1.35; }
.vt-tool p { margin: 0 0 10px; }
.vt-tool small { display: block; color: var(--muted); font-size: .82rem; font-weight: 400; line-height: 1.4; margin-top: 4px; }
.vt-tool label { display: block; margin: 0 0 5px; font-size: .9rem; font-weight: 600; }
body .vt-tool input, body .vt-tool select { width: 100%; min-height: 44px; margin: 0; border: 1px solid #b8c8db; border-radius: 6px; padding: 8px 10px; background-color: #fff; color: var(--navy); font: inherit; }
body .vt-tool input[aria-invalid="true"] { border-color: #B3261E; }
body .vt-tool button { min-height: 42px; margin: 0; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; background: #fff; color: var(--navy); font: 500 .9rem/1.35 Outfit, Arial, sans-serif; cursor: pointer; white-space: normal; }
body .vt-tool button:hover { border-color: var(--navy); background: var(--soft); color: var(--navy); }
body .vt-tool button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
body .vt-tool :focus-visible, body .vt-home a:focus-visible { outline: 2px solid var(--blue, #1F57B0); outline-offset: 3px; }
body .vt-tool h2:focus { outline: none; }
.vt-lead { color: var(--muted); }
.vt-rule { margin: 14px 0 !important; border-left: 3px solid var(--gold); background: var(--soft); padding: 9px 12px; font-size: .85rem; }
.vt-source { margin-top: 12px !important; color: var(--muted); font-size: .8rem; }
.vt-tool a { color: var(--blue); }
.vt-tool details { margin: 10px 0 0; border-top: 1px solid var(--line); padding-top: 10px; }
.vt-tool summary { cursor: pointer; font-weight: 600; font-size: .92rem; }
.vt-tool details ul { margin: 8px 0 0; padding-left: 18px; font-size: .88rem; }
.vt-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0 !important; }
body .vt-tool .vt-steps a { display: inline-block; border: 1px solid var(--line); border-radius: 99px; padding: 9px 14px; color: var(--navy); font-size: .88rem; font-weight: 500; line-height: 1.25; text-decoration: none; }
body .vt-tool .vt-steps a:hover { border-color: var(--navy); background: var(--soft); }
.vt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Fizinio pasirengimo skaičiuoklė */
.vt-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body .vt-tool .vt-example { border-left: 3px solid var(--gold); background: var(--soft); text-align: left; }
body .vt-tool .vt-example[aria-pressed="true"] { background: var(--navy); }
body .vt-tool .vt-example[aria-pressed="true"] small { color: #fff; }
.vt-example small { margin: 0 !important; }
.vt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.vt-wide { grid-column: 1 / -1; }
.vt-tool .vt-error { border-left: 3px solid #B3261E; background: #FDF0EF; padding: 9px 12px; color: #8C1D18; font-size: .88rem; }
.vt-results { border-top: 1px solid var(--line); padding-top: 14px; }
.vt-cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vt-card2 { border: 1px solid var(--line); border-radius: 6px; background: var(--soft); padding: 12px; }
.vt-card2 > span { display: block; font-size: .85rem; font-weight: 600; }
.vt-card2.is-main { border-color: var(--navy); border-top: 3px solid var(--gold); background: var(--navy); color: #fff; }
.vt-tool .vt-card2.is-main small { color: #fff; }
.vt-card2.is-ok { border-top-color: #4CC38A; }
.vt-card2.is-no { border-top-color: #FF8A80; }
.vt-amount { display: block; font-size: clamp(1.15rem, 3vw, 1.8rem); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; }
.vt-bar { height: 8px; margin: 10px 0 14px; border-radius: 99px; overflow: hidden; background: var(--line); }
.vt-bar span { display: block; width: 0; height: 100%; background: var(--blue); transition: width .3s ease; }
body.page .page-content .vt-tool table { width: 100%; margin: 0; border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; }
body.page .page-content .vt-tool table th, body.page .page-content .vt-tool table td { border: 1px solid var(--line); padding: 7px 9px; text-align: left; vertical-align: top; line-height: 1.3; }
body.page .page-content .vt-tool table tbody th { background: #fff; color: var(--navy); font-weight: 600; }
body.page .page-content .vt-tool table td.is-weak { background: #FDF0EF; color: #8C1D18; font-weight: 700; }
body.page .page-content .vt-tool table td.is-min { background: #FFF1CC; font-weight: 700; }
.vt-table table { min-width: 640px; }
.vt-legend { margin-top: 6px !important; font-size: .8rem; color: var(--muted); }
@media (max-width: 600px) {
  .vt-grid { gap: 10px 8px; }
  .vt-grid > div { display: flex; flex-direction: column; justify-content: flex-end; }
  .vt-grid > div:nth-child(n+4) { grid-column: 1 / -1; }
  .vt-grid > div:nth-child(even):nth-child(n+4) { margin-bottom: 8px; }
  body.page .page-content .vt-tool .vt-rows thead th { padding: 6px 4px; font-size: 11px; overflow-wrap: normal; }
  .vt-examples { grid-template-columns: minmax(0, 1fr); }
  body.page .page-content .vt-tool .vt-rows { display: table; }
  body.page .page-content .vt-tool .vt-rows th, body.page .page-content .vt-tool .vt-rows td { padding: 6px 5px; font-size: 12.5px; overflow-wrap: anywhere; }
}

/* Datos */
.vt-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.vt-date-list, .vt-wait { margin: 0; padding: 0; list-style: none; }
.vt-date { display: flex; gap: 14px; margin: 0; border: 1px solid #DCE3EE; border-radius: 12px; background: #fff; padding: 14px; color: #19305C; font-family: Outfit, Arial, sans-serif; }
.vt-calendar .vt-date + .vt-date { margin-top: 10px; }
.vt-date-badge { display: flex; flex: 0 0 68px; flex-direction: column; align-items: center; justify-content: center; align-self: flex-start; min-height: 76px; border-radius: 10px; border-top: 4px solid #FDB913; background: #19305C; color: #fff; line-height: 1.1; }
.vt-date-badge b { font-size: 26px; font-weight: 700; }
.vt-date-badge span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.vt-date-badge small { margin: 0 !important; color: rgba(255,255,255,.75) !important; font-size: 11px !important; }
.vt-date-body { min-width: 0; }
.vt-date-org { margin: 0 0 2px !important; color: #4A5568; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; line-height: 1.35; }
body .vt-date h3 { margin: 0; color: #19305C; font-size: 16px; font-weight: 600; line-height: 1.35; }
.vt-date-left { margin: 6px 0 0 !important; font-size: 14px; font-weight: 600; color: #1F57B0; }
.vt-date-left.is-soon { color: #8A4B00; }
.vt-date-note { margin: 6px 0 0 !important; color: #4A5568; font-size: 14px; }
.vt-date-src { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0 !important; color: #4A5568; font-size: 13px; }
body .vt-tool .vt-ics { margin-top: 10px; min-height: 40px; font-size: .84rem; }
body .vt-calendar h2 { margin-top: 24px; }
.vt-wait li { margin: 0 0 8px; border: 1px dashed #B8C8DB; border-radius: 12px; padding: 12px 14px; }
.vt-wait-title { margin: 0 !important; font-weight: 600; }

/* Pradžios puslapis */
.vt-home { width: 100%; max-width: 1160px; margin: 8px auto 36px; padding: 0 10px; color: #19305C; font-family: Outfit, Arial, sans-serif; }
body.home .elementor .vt-home h2 { position: relative; margin: 0 0 22px; padding-bottom: 12px; color: #19305C; font-size: 28px; font-weight: 600; line-height: 1.25; }
.vt-home h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 3px; background: #FDB913; }
.vt-home-dates .vt-date-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
body.home .elementor .vt-home-dates h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; color: #19305C; }
.vt-home-more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 16px 0 0; font-size: 15px; color: #4A5568; }
body.home .elementor .vt-home-more a { color: #1F57B0; font-weight: 600; }
body.home .elementor .vt-home-more a.vt-more-btn { display: inline-block; border-radius: 99px; background: #19305C; padding: 11px 20px; color: #fff; line-height: 1.2; text-decoration: none; }
body.home .elementor .vt-home-more a.vt-more-btn:hover { background: #1F57B0; }
.vt-home-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.vt-box { display: flex; flex-direction: column; border: 1px solid #DCE3EE; border-top: 4px solid #19305C; border-radius: 14px; background: #fff; padding: 20px 22px; }
body.home .elementor .vt-box h2 { margin: 0 0 16px; font-size: 22px; }
.vt-box p { margin: 0 0 10px; }
.vt-box dl { margin: 0; }
.vt-box dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; border-bottom: 1px solid #EEF2F8; padding: 8px 0; font-size: 14.5px; line-height: 1.45; }
.vt-box dt { margin: 0; font-weight: 600; }
.vt-box dd { margin: 0; color: #354057; }
body.home .elementor .vt-box a { color: #1F57B0; }
.vt-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.vt-links li { display: flex; margin: 0; }
body.home .elementor .vt-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 46px; border: 1px solid #DCE3EE; border-radius: 10px; padding: 8px 12px; color: #19305C; font-size: 14.5px; font-weight: 500; line-height: 1.25; text-decoration: none; }
body.home .elementor .vt-links a:hover { border-color: #19305C; background: #F3F6FA; }
.vt-box .vt-box-more { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: auto 0 0; padding-top: 14px; font-weight: 600; font-size: 15px; }
.vt-box-more span { color: #5B6475; font-size: 13px; font-weight: 400; }
@media (max-width: 899px) { .vt-home-dates .vt-date-list, .vt-home-info { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  body.home .elementor .vt-home h2 { font-size: 24px; }
  body.home .elementor .vt-box h2 { font-size: 20px; }
  .vt-box { padding: 16px; }
  .vt-box dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Testas */
.vt-count { color: var(--muted); font-size: .85rem; }

/* Penkios skaičiuoklės: kortelės ir perjungiklis */
@media (min-width: 1024px) {
  .vt-calc-cards ul { display: flex; }
  .vt-calc-cards li { flex: 1 1 0; min-width: 0; }
  body.home .elementor .vt-calc-cards a { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
}
@media (max-width: 1023px) {
  .vt-calc-cards li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  body.home .elementor .vt-calc-cards li:last-child:nth-child(odd) a { flex-direction: row; align-items: center; }
  .page .page-content .vt-tools-tabs li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.page .page-content .vt-tools-tabs ul { justify-content: center; }
.page .page-content .vt-tools-tabs a { padding: 10px 14px; font-size: 14.5px; }
@media print { .vt-home, .vt-filter, .vt-ics, .vt-steps { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .vt-bar span { transition: none; } }
.vt-box dl + p { margin: 10px 0 0; color: #5B6475; font-size: 13px; }
