/* Isolated CSS for vyh-billing. Source: Design Library draft. */
.vyh-billing summary { list-style: none; }
.vyh-billing summary::marker { content: ""; }
.vyh-billing .wp-block-group.is-layout-flex { gap: unset; align-items: unset; }
.vyh-billing__body { display: grid !important; grid-template-columns: 1.15fr 1fr !important; }
.vyh-billing__cards { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
.vyh-billing__body > .wp-block-group { width: auto !important; max-width: none !important; }
.vyh-billing figure.wp-block-image { margin: 0px !important; }
.vyh-billing__body { gap: 44px !important; }
.vyh-billing__visual { display: grid !important; place-items: start stretch !important; }
figure.vyh-billing__img { grid-area: 1 / 1; opacity: 0; transition: opacity 0.35s; width: 100% !important; height: auto !important; margin: 0px !important; border-radius: 16px !important; overflow: hidden !important; }
figure.vyh-billing__img img { width: 100% !important; height: auto !important; display: block !important; border-radius: 16px !important; }
figure.vyh-billing__img--gst { opacity: 1; }
.vyh-billing__body:has(.vyh-billing__card:hover) figure.vyh-billing__img { opacity: 0; }
.vyh-billing__body:has(.vyh-billing__card--gst:hover) figure.vyh-billing__img--gst { opacity: 1; }
.vyh-billing__body:has(.vyh-billing__card--inventory:hover) figure.vyh-billing__img--inventory { opacity: 1; }
.vyh-billing__body:has(.vyh-billing__card--pos:hover) figure.vyh-billing__img--pos { opacity: 1; }
.vyh-billing__body:has(.vyh-billing__card--reports:hover) figure.vyh-billing__img--reports { opacity: 1; }
.vyh-billing__card-head, .vyh-billing__card > summary { list-style: none; display: flex !important; flex-direction: column !important; gap: 10px !important; }
.vyh-billing__card-head::-webkit-details-marker, .vyh-billing__card > summary::-webkit-details-marker { display: none; }
.vyh-billing__card-head::marker, .vyh-billing__card > summary::marker { content: ""; }
.vyh-billing__card-head, .vyh-billing__card > summary { flex: 1 1 auto !important; }
.vyh-billing__card-desc { flex: 0 0 auto !important; }
.vyh-billing__card-link { margin-top: auto !important; }
@media (min-width: 769px) {
figure.vyh-billing__card-img { display: none !important; }
.vyh-billing__card-head { cursor: default; }
}
.vyh-billing__cards > .wp-block-group { width: auto !important; max-width: none !important; }
.vyh-billing__card { display: flex !important; flex-direction: column !important; gap: 10px !important; }
.vyh-billing__card > figure.wp-block-image, .vyh-billing__card > .wp-block-image { flex-shrink: 0 !important; width: auto !important; margin: 0px !important; }
.vyh-billing__card > .wp-block-heading { margin-block: 0px !important; width: auto !important; }
.vyh-billing__card > .wp-block-paragraph { width: auto !important; margin-block: 0px !important; }
figure.vyh-billing__icon { width: 48px !important; height: 48px !important; flex-shrink: 0 !important; border-radius: 10px !important; overflow: hidden !important; margin: 0px !important; }
figure.vyh-billing__icon img { width: 48px !important; height: 48px !important; display: block !important; border-radius: 10px !important; }
@media (prefers-reduced-motion: reduce) {
figure.vyh-billing__card-img { animation: auto ease 0s 1 normal none running none !important; opacity: 1 !important; transform: none !important; }
}
@media (max-width: 768px) {
.vyh-billing__body { grid-template-columns: 1fr !important; gap: 28px !important; }
.vyh-billing__cards { grid-template-columns: 1fr !important; }
.vyh-billing__visual { display: none !important; }
.vyh-billing__card-head { cursor: pointer; }
figure.vyh-billing__card-img { margin-top: 14px !important; width: 100% !important; border-radius: 12px !important; overflow: hidden !important; }
figure.vyh-billing__card-img img { width: 100% !important; height: auto !important; display: block !important; border-radius: 12px !important; }
.vyh-billing__card[open] figure.vyh-billing__card-img { animation: 0.4s ease 0s 1 normal both running vyh-billing--vyhCardImgReveal; }
.vyh-billing h2[class*="__heading"] { font-size: 25px !important; line-height: 1.25 !important; }
.vyh-billing [class*="__heading"], .vyh-billing [class*="__subtext"], .vyh-billing [class*="__card-title"] { overflow-wrap: break-word !important; }
.vyh-billing figure[class*="vyh-"] { max-width: 100% !important; }
.vyh-billing figure[class*="vyh-"] img { max-width: 100% !important; }
.vyh-billing[class*="vyh-"], .vyh-billing [class*="vyh-"] { min-width: 0px !important; }
.vyh-billing [class*="vyh-"][class*="__container"], .vyh-billing [class*="vyh-"][class*="__body"] { width: 100% !important; max-width: 100% !important; }
.vyh-billing { overflow-x: clip !important; }
}
.vyh-billing *, .vyh-billing ::before, .vyh-billing ::after { box-sizing: border-box; margin: 0px; padding: 0px; }
.vyh-billing { width: 100%; background: rgb(255, 255, 255); padding: 20px 0px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.vyh-billing__container { margin: 0px auto; padding: 0px 40px; }
.vyh-billing__header { text-align: center; margin-bottom: 52px; }
.vyh-billing__heading { font-size: 38px; font-weight: 800; color: rgb(17, 17, 17); line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.4px; }
.vyh-billing__subtext { font-size: 16px; color: rgb(102, 102, 102); line-height: 1.5; max-width: 640px; margin: 0px auto; }
.vyh-billing__body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; padding-left: 27px; padding-right: 27px; align-items: center !important; }
.vyh-billing__visual { display: flex; align-items: center; justify-content: flex-start; }
.vyh-billing__app-img { width: 100%; height: auto; border-radius: 16px; display: block; box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 40px; }
.vyh-billing__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vyh-billing__card { background: rgb(255, 255, 255); border: 1.5px solid rgb(238, 238, 238); border-radius: 16px; padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.vyh-billing__card--red { background: rgb(255, 248, 248); border-color: rgb(245, 196, 194); }
.vyh-billing__card--green { background: rgb(240, 253, 249); border-color: rgb(167, 243, 208); }
.vyh-billing__card--amber { background: rgb(255, 251, 235); border-color: rgb(253, 230, 138); }
.vyh-billing__card--blue { background: rgb(239, 246, 255); border-color: rgb(191, 219, 254); }
.vyh-billing__icon { width: 48px; height: 48px; border-radius: 10px; display: block; flex-shrink: 0; }
.vyh-billing__card-title { font-size: 15px; font-weight: bold; color: rgb(17, 17, 17); line-height: 1.35; margin-top: 0px !important; }
.vyh-billing__card-desc { font-size: 13px; color: rgb(85, 85, 85); line-height: 1.65; flex: 1 1 0%; }
.vyh-billing__card-link { font-size: 13px; font-weight: 600; text-decoration: none; display: inline-block; margin-top: 4px; transition: opacity 0.15s; }
.vyh-billing__card-link:hover { opacity: 0.75; }
.vyh-billing__card-link--red a { color: rgb(237, 26, 59); }
.vyh-billing__card-link--green a { color: rgb(5, 150, 105); }
.vyh-billing__card-link--amber a { color: rgb(217, 119, 6); }
.vyh-billing__card-link--blue a { color: rgb(37, 99, 235); }
@media (max-width: 992px) {
.vyh-billing__container { padding: 0px 24px; }
.vyh-billing__heading { font-size: 30px; }
.vyh-billing__body { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
.vyh-billing { padding: 20px 0px; }
.vyh-billing__container { padding: 0px 20px; }
.vyh-billing__heading { font-size: 26px; }
.vyh-billing__body { grid-template-columns: 1fr; gap: 32px; }
.vyh-billing__cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
.vyh-billing__cards { grid-template-columns: 1fr; }
}
.vyh-billing__header { animation: 0.6s ease 0s 1 normal both running vyh-billing--vyhUp; }
.vyh-billing__visual { animation: 0.8s ease 0.15s 1 normal both running vyh-billing--vyhFade; }
.vyh-billing__card { transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
@media (prefers-reduced-motion: reduce) {
.vyh-billing__header, .vyh-billing__visual { opacity: 1; animation: auto ease 0s 1 normal none running none; }
}
.vyh-billing, .vyh-billing * { -webkit-tap-highlight-color: transparent; }
.vyh-billing img { max-width: 100%; height: auto; }
@media (max-width: 768px) {
.vyh-billing [class*="vyh-"][class*="__heading"] { text-align: center !important; }
}

@keyframes vyh-billing--vyhCardImgReveal { 
  0% { opacity: 0; transform: translateY(30px) scale(0.96); }
  100% { opacity: 1; transform: none; }
}

@keyframes vyh-billing--vyhUp { 
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: none; }
}

@keyframes vyh-billing--vyhFade { 
  0% { opacity: 0; }
  100% { opacity: 1; }
}
