.smart-month-label{display:block;font-size:14px;font-weight:600;margin:12px 0;min-width:0}
.smart-month{max-width:100%;width:350px;margin-top:7px;color:inherit}
.smart-month-row{display:grid;grid-template-columns:44px minmax(100px,1fr) minmax(76px,.68fr) 44px;gap:6px;align-items:center}
.smart-month select,.smart-month button{font:inherit!important;color:inherit;background:var(--card,#fff);border:1px solid var(--rim2,#afc0c8);border-radius:8px;min-height:44px;box-sizing:border-box;margin:0!important}
.smart-month select{display:block;width:100%;max-width:100%;min-width:0;padding:9px 6px!important}
.smart-month button{cursor:pointer;padding:6px!important;width:100%;line-height:1.2}
.smart-month-shortcuts{display:flex;gap:8px;margin-top:6px}
.smart-month-shortcuts button{width:auto;min-height:36px;padding:6px 12px!important;font-size:12px!important;background:transparent}
.smart-month :focus-visible{outline:3px solid #507c8b;outline-offset:2px}
.smart-month :disabled{opacity:.5;cursor:not-allowed}
.smart-month button:hover:enabled{background:var(--bg,#eff5f6)}
@media(max-width:380px){.smart-month-row{grid-template-columns:36px minmax(85px,1fr) minmax(65px,.65fr) 36px;gap:4px}.smart-month-row button{min-width:0}}

.smart-month-source[hidden]{display:none!important}
@media(max-width:360px){.smart-month-row{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-month-row select:nth-child(2){grid-column:1;grid-row:1}.smart-month-row select:nth-child(3){grid-column:2;grid-row:1}.smart-month-row button:first-child{grid-column:1;grid-row:2}.smart-month-row button:last-child{grid-column:2;grid-row:2}}
