/* kalendarz.css — /kalendarz-adwentowy-do-druku/: what this page adds on top of /assets/polyatic.css and
   the advent maker's /advent-calendar-maker/advent.css (its controls, stage and design buttons). */
.kad .kad-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
.kad .kad-modes button{width:100%}
@media(min-width:640px){.kad .kad-modes{grid-template-columns:repeat(3,minmax(0,1fr))}}
.kad .kad-two button{flex:1 1 40%}
.kad .kad-designs{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:380px){.kad .kad-designs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.kad .kad-check{margin-top:.5rem}
.kad .kad-err:empty,.kad .kad-msg:empty{display:none}
.kad .kad-err{color:var(--danger,#b3282d)}
/* the stage: in the domki mode the built village leads, then the download, then the sheets */
.kad .kad-stage{display:flex;flex-direction:column}
.kad .kad-scene{max-width:40rem;margin:0 auto .75rem;width:100%;line-height:0}
.kad .kad-scene svg{display:block;width:100%;height:auto;border-radius:.625rem}
.kad .kad-stage.is-scene .ac-stage-h{order:0}
.kad .kad-stage.is-scene .kad-scene{order:1}
.kad .kad-stage.is-scene .kad-dl{order:2}
.kad .kad-stage.is-scene .kad-msg,.kad .kad-stage.is-scene .kad-err{order:3}
.kad .kad-stage.is-scene .kad-summary{order:4}
.kad .kad-stage.is-scene .kad-paper{order:5;max-width:18rem;margin-top:.5rem}
.kad .kad-stage.is-scene .kad-pager{order:6}
.kad .kad-facts{margin:.75rem 0 1rem;padding-left:1.1rem}
.kad .kad-facts li{margin:.25rem 0}
.kad [hidden]{display:none!important}
