/* JMT Terminy – kolory strony: grafit #262730, złoto #cbae6a */
.jmtt { scroll-margin-top: 140px; --jmtt-dark: #262730; --jmtt-gold: #cbae6a; color: var(--jmtt-dark); font-size: 15px; }
.jmtt-live { text-align: center; margin: -10px 0 22px; color: #8a6d2b; font-weight: 600; }
.jmtt-box { background: #fff; border-radius: 14px; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); padding: 26px 30px; text-align: left; }
.jmtt button { font: inherit; margin: 0; }
.jmtt-top { display: none; align-items: center; gap: 10px; margin-bottom: 20px; }
.jmtt.is-js .jmtt-top { display: flex; }
.jmtt-years { display: flex; gap: 8px; flex-wrap: wrap; }
.jmtt .jmtt-year { border: 1px solid #ddd; border-radius: 20px; padding: 6px 16px; font-weight: 600; font-size: 14px; color: #555; background: #fff; cursor: pointer; line-height: 1.3; }
.jmtt .jmtt-year.on { background: var(--jmtt-dark); color: var(--jmtt-gold); border-color: var(--jmtt-dark); }
.jmtt-nav { margin-left: auto; display: flex; gap: 8px; }
.jmtt-nav button { width: 40px; height: 40px; border: 1px solid var(--jmtt-gold); border-radius: 50%; background: #fff; color: var(--jmtt-gold); font-size: 20px; line-height: 1; cursor: pointer; padding: 0; }
.jmtt-nav button:disabled { opacity: .35; cursor: default; }
.jmtt-months { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 32px; }
.jmtt-m[hidden] { display: none; }
.jmtt-m h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; text-align: center; color: var(--jmtt-dark); }
.jmtt-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; font-size: 14px; }
.jmtt-dn { color: #b09450; font-size: 12px; font-weight: 600; padding-bottom: 4px; }
.jmtt .jmtt-d { display: block; height: 36px; line-height: 34px; border-radius: 8px; background: #fff; border: 1px solid #ececf0; color: var(--jmtt-dark); font-weight: 500; padding: 0; }
.jmtt button.jmtt-d { cursor: pointer; width: 100%; }
.jmtt button.jmtt-d:hover { border-color: var(--jmtt-gold); }
.jmtt .jmtt-d.past { color: #c8c8ce; border-color: transparent; background: transparent; }
.jmtt .jmtt-d.busy { background: var(--jmtt-gold); border-color: var(--jmtt-gold); color: var(--jmtt-dark); cursor: default; }
.jmtt .jmtt-d.tent { border: 1.5px dashed var(--jmtt-gold); color: #8a6d2b; position: relative; }
.jmtt .jmtt-d.tent::after { content: ''; position: absolute; top: 4px; right: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--jmtt-gold); }
.jmtt .jmtt-d.sel { background: var(--jmtt-dark); border-color: var(--jmtt-dark); color: var(--jmtt-gold); font-weight: 700; box-shadow: 0 0 0 3px rgba(38, 39, 48, .2); }
.jmtt-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 22px; font-size: 14px; color: #555; }
.jmtt-legend i { display: inline-block; width: 16px; height: 16px; border-radius: 5px; vertical-align: -3px; margin-right: 6px; }
.jmtt-legend .free { background: #fff; border: 1px solid #ccc; }
.jmtt-legend .busy { background: var(--jmtt-gold); }
.jmtt-legend .tent { background: #fff; border: 1.5px dashed var(--jmtt-gold); }
.jmtt-legend .sel { background: var(--jmtt-dark); }
.jmtt-cta { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 16px 20px; border: 1px solid #eadfc4; background: #fbf6ea; border-radius: 12px; }
.jmtt-cta[hidden] { display: none; }
.jmtt-cta b { font-size: 17px; }
.jmtt .jmtt-cta-btn { margin-left: auto; background: var(--jmtt-gold); color: var(--jmtt-dark) !important; font-weight: 700; padding: 12px 22px; border-radius: 8px; text-decoration: none !important; white-space: nowrap; }
.jmtt .jmtt-cta-btn:hover { background: var(--jmtt-dark); color: var(--jmtt-gold) !important; }
.jmtt-upd { font-size: 12px; color: #999; margin: 16px 0 0; text-align: center; }
.jmtt-empty { margin: 0; text-align: center; }
@media (max-width: 1000px) { .jmtt-months { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .jmtt-box { padding: 18px 14px; }
    .jmtt-months { grid-template-columns: minmax(0, 1fr); }
    .jmtt .jmtt-d { height: 40px; line-height: 38px; font-size: 15px; }
    .jmtt-cta { flex-direction: column; align-items: stretch; text-align: center; }
    .jmtt .jmtt-cta-btn { margin-left: 0; text-align: center; }
    }
