/* Shared Time & Date Tool Master. Native dates and calendar plugins own their motors. */
.vt-master-time-date{--vetika-brand:var(--vt-category-accent);--vetika-brand-hover:var(--vt-category-hover);--vetika-brand-soft:var(--vt-category-soft);--vetika-accent:var(--vt-category-accent);--vetika-accent-soft:var(--vt-category-soft);--vetika-border:var(--vt-category-border);--vetika-line:var(--vt-category-border)}
.vt-master-time-date .hero-icon img{display:block;width:39px;height:39px;object-fit:contain}
.vt-master-time-date .vt-master-calculator .vetika-dates{gap:0;max-width:none}
.vt-master-time-date .vt-master-calculator .vetika-dates-form{margin-top:17px;gap:18px}
.vt-master-time-date .vt-master-calculator .vetika-dates-fields{gap:12px}
.vt-master-time-date .vt-master-calculator .vetika-dates-field label{color:var(--vt-category-deep)}
.vt-master-time-date .vt-master-calculator .vetika-dates-field input:focus-visible{outline:3px solid var(--vt-category-border);border-color:var(--vt-category-accent)}
.vt-master-time-date .vt-master-calculator .vetika-dates-action{background:var(--vt-category-accent)}
.vt-master-time-date .vt-master-calculator .vetika-dates-action:hover{background:var(--vt-category-hover)}
.vt-master-time-date .vt-master-calculator .vetika-dates-action:focus-visible,.vt-master-time-date .reset-button:focus-visible,.vt-master-time-date .example-button:focus-visible,.vt-master-time-date .faq summary:focus-visible,.vt-master-time-date :is(.guide-card,.tool-card):focus-visible{outline:3px solid var(--vt-category-accent);outline-offset:3px}
.vt-master-time-date .vt-master-calculator .vetika-dates-result{margin-top:18px;min-height:164px;padding:20px 22px 16px;text-align:center;background:linear-gradient(115deg,var(--vt-category-soft),var(--vt-category-tint));border-color:var(--vt-category-border)}
.vt-master-time-date .vt-master-calculator .vetika-dates-result .vetika-result-label{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--vt-category-accent)}
.vt-master-time-date .vt-master-calculator .vetika-dates-result .vetika-result-value{font-family:var(--vt-font);font-size:clamp(34px,3.5vw,49px);line-height:1.12;letter-spacing:-.05em;color:var(--vt-category-deep)}
.vt-master-time-date .vt-master-calculator .vetika-dates-result dl{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin-top:17px}
.vt-master-time-date .vt-master-calculator .vetika-dates-result dl div{min-width:0;padding:10px 12px;background:#fff}
.vt-master-time-date .vt-master-calculator .vetika-dates-result dt{font-size:11px;color:var(--vt-category-deep)}
.vt-master-time-date .vt-master-calculator .vetika-dates-result dd{margin:4px 0 0;font-weight:700;overflow-wrap:anywhere}
.vt-master-time-date .vt-master-calculator .vetika-form-alert{margin-top:14px}
.vt-master-time-date .botanical-note{border-color:var(--vt-category-border)}
.vt-master-time-date .botanical-note h2,.vt-master-time-date .example-list h3{color:var(--vt-category-deep)}
.vt-master-time-date .vt-master-info-card{background:linear-gradient(120deg,#fff,var(--vt-category-soft))}
.vt-master-time-date .vt-master-detail-grid a{color:var(--vt-category-accent)}
.vt-master-time-date[data-math-pattern] .vt-master-detail-grid a{color:var(--vt-category-accent)}
.vt-master-time-date .faq details[open]{background:var(--vt-category-soft)}
.vt-master-time-date .vt-master-calculator .vetika-dates-result[hidden]{display:none}
@media(max-width:620px){.vt-master-time-date .vt-master-calculator .vetika-dates-fields,.vt-master-time-date .vt-master-calculator .vetika-dates-result dl{grid-template-columns:minmax(0,1fr)}.vt-master-time-date .vt-master-calculator .vetika-dates-result{padding:18px 14px}.vt-master-time-date .vt-master-calculator .vetika-dates-action{width:100%}}

/* The native calendar needs both its controls and live sheet visible at useful width. */
.vt-preview.vt-master-time-date[data-time-date-mode="calendar"] .workspace{grid-template-columns:minmax(0,1fr)}
.vt-preview.vt-master-time-date[data-time-date-mode="calendar"] .side-column{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-top:0}
.vt-preview.vt-master-time-date[data-time-date-mode="calendar"] .side-column .botanical-note{display:block;min-height:170px}
.vt-preview.vt-master-time-date[data-time-date-mode="calendar"] .side-column .example-list{margin-top:0}
.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator .vt-018{--vt-accent:var(--vt-category-accent);--vt-accent-surface:var(--vt-category-soft);--vt-border:var(--vt-category-border);--vt-border-strong:var(--vt-category-border)}
.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator .vt-018>h2{font-size:22px;line-height:1.3;color:var(--vt-category-deep)}
.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator .vt-018>p{font-size:13px;line-height:1.7;margin:7px 0 18px}
.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator .vt-018__workspace{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px}
.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator .vt-018__controls{box-shadow:none}
.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator .vt-018__controls .vt-field{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0}
.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator .vt-018__controls .vt-label{display:block;margin:0;font-size:12px;font-weight:700;line-height:1.4;color:var(--vt-category-deep)}
.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator .vt-018__controls :is(.vt-input,.vt-select){display:block;width:100%;max-width:100%;min-height:44px;margin:0}
.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator :is(.vt-018__controls,.vt-018__preview-wrap){border-color:var(--vt-category-border)}
.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator :is(.vt-button--primary,.vt-018__main-actions .vt-button--primary){background:var(--vt-category-accent);border-color:var(--vt-category-accent);color:#fff}
.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator :is(input,select,button):focus-visible{outline:3px solid var(--vt-category-accent);outline-offset:2px}
.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator .vt-018__preview-wrap{padding:16px;border:1px solid var(--vt-category-border);border-radius:14px;background:linear-gradient(115deg,var(--vt-category-soft),var(--vt-category-tint))}
.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator .vt-018__sheet{background:#fff}
@media(max-width:1080px){.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator .vt-018__workspace{grid-template-columns:1fr}}
@media(max-width:620px){.vt-preview.vt-master-time-date[data-time-date-mode="calendar"] .side-column{grid-template-columns:1fr}.vt-preview.vt-master-time-date[data-time-date-mode="calendar"] .side-column .botanical-note{display:none}.vt-master-time-date[data-time-date-mode="calendar"] .vt-master-calculator .vt-018__preview-wrap{padding:9px}}
@media print{
 body:has(.vt-master-time-date[data-time-date-mode="calendar"]) :is(.vetika-header,.vetika-footer,.skip-link){display:none!important}
 .vt-master-time-date[data-time-date-mode="calendar"] :is(.breadcrumb,.hero,.side-column,.wrap>.section,.bottom-section){display:none!important}
 .vt-preview.vt-master-time-date[data-time-date-mode="calendar"] :is(.wrap,.workspace,.calculator,.vt-018,.vt-018__workspace,.vt-018__preview-wrap,.vt-018__preview-viewport){display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;box-shadow:none!important;overflow:visible!important}
}
