/* psiAdres.pl 1.0.49: scoped profile media and moderation improvements. */
.mk-photo-viewer{box-sizing:border-box;padding:76px 76px 54px;border:1px solid #ffffff14;border-radius:18px;background:#1d2119;color:#f4f6f4;width:min(1200px,96vw);max-width:96vw;height:92dvh;max-height:92dvh;overflow:hidden;box-shadow:0 24px 100px #0008}
.mk-photo-viewer::backdrop{background:rgba(14,18,10,.9)}
.mk-photo-viewer,.mk-photo-viewer *{-webkit-user-select:none;user-select:none}
.mk-photo-viewer button{touch-action:manipulation}
.mk-photo-viewer img{-webkit-user-drag:none}
.mk-photo-viewer img{display:block;width:100%;height:100%;object-fit:contain;margin:auto}
.mk-photo-toolbar{position:absolute;top:16px;left:24px;right:16px;display:flex;align-items:center;gap:18px;font-size:13px;font-weight:400;letter-spacing:.02em}
.mk-photo-position{margin-left:auto;color:#bbc8c0;font-variant-numeric:tabular-nums}
.mk-photo-viewer button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff26;border-radius:50%;background:#ffffff0d;color:#fff;cursor:pointer;transition:background .15s,border-color .15s}
.mk-photo-viewer button:hover{background:#ffffff20;border-color:#ffffff70}
.mk-photo-viewer button:focus-visible{outline:2px solid #c9d1b5;outline-offset:4px}
.mk-photo-viewer button[hidden]{display:none}
.mk-photo-prev,.mk-photo-next{position:absolute;top:50%;transform:translateY(-50%)}
.mk-photo-prev{left:16px}.mk-photo-next{right:16px}
.mk-photo-caption{position:absolute;bottom:15px;left:76px;right:76px;margin:0;color:#bcc8c1;font-size:12px;font-weight:400;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:620px){.mk-photo-viewer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:76px 10px 105px}.mk-photo-toolbar{left:16px}.mk-photo-prev,.mk-photo-next{top:auto;bottom:20px;transform:none}.mk-photo-prev{left:calc(50% - 56px)}.mk-photo-next{right:calc(50% - 56px)}.mk-photo-caption{left:16px;right:16px;bottom:79px}}
.admin-card.mk-event-history-item{padding:0;overflow:hidden;margin-bottom:14px;border:1px solid #dddfcf;border-radius:12px;box-shadow:0 3px 14px #183c2605}
.mk-event-history-item summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto 20px;align-items:center;gap:16px;cursor:pointer;padding:20px 24px;list-style:none;background:#fff}
.mk-event-history-item summary::-webkit-details-marker{display:none}
.mk-event-history-item summary::after{content:'⌄';color:#527060;font-size:20px;text-align:center;transition:transform .15s}
.mk-event-history-item[open] summary::after{transform:rotate(180deg)}
.mk-event-history-item summary:hover{background:#f7faf8}
.mk-event-history-item summary:focus-visible{outline:2px solid #68754d;outline-offset:-3px}
.mk-event-history-item summary>span:first-child{font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}
.mk-event-history-item summary .status{font-weight:400;font-size:12px;white-space:nowrap}
.mk-event-history-item summary small{font-size:12px;font-weight:400;color:#68786f}
.mk-event-history-body{padding:24px;border-top:1px solid #e5ece7}
.mk-event-history-kennel{margin:0 0 18px;font-size:13px}
.mk-event-history-dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 22px;padding:16px;background:#f6f5ed;border-radius:8px}
.mk-event-history-dates dt{font-size:11px;color:#66786b;margin-bottom:5px;font-weight:400}
.mk-event-history-dates dd{margin:0;font-size:13px;line-height:1.5}
.mk-event-history-description{font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.mk-event-history-note{margin:20px 0 0;padding:14px 16px;border-left:3px solid #c4c9ac;background:#f8faf8;font-size:13px;line-height:1.65}
.mk-event-history-note span{display:block;color:#64766a;font-size:11px;margin-bottom:4px}
.mk-event-history-item form{display:grid;gap:16px;margin-top:24px;padding-top:24px;border-top:1px solid #e5ece7}
.mk-event-history-item form label{font-size:13px;font-weight:400}
.mk-event-history-item textarea{box-sizing:border-box;display:block;width:100%;margin-top:8px;padding:12px 14px;min-height:90px;border:1px solid #cad8ce;border-radius:8px;background:#fff;font:inherit;resize:vertical}
.mk-event-history-item textarea:focus{outline:2px solid #dbe9df;border-color:#60856c}
.mk-event-history-item button{justify-self:start;font-weight:400;padding:11px 18px;border-radius:8px}
.mk-admin-event-description{display:grid;gap:14px;margin-top:22px;padding-top:20px;border-top:1px solid #e0e8e2}
.mk-admin-event-description label{font-size:13px;font-weight:400}
.mk-admin-event-description textarea{box-sizing:border-box;display:block;width:100%;padding:13px;margin-top:8px;border:1px solid #ccd9d0;border-radius:8px;background:#fff;font:inherit;line-height:1.7;resize:vertical}
.mk-admin-event-description>p{margin:0;color:#63786b;font-size:12px;line-height:1.65}
.mk-admin-event-description button{justify-self:start;font-weight:400}
.admin-card.mk-event-history-intro{padding:20px 24px;background:#f6f5ed;border:1px solid #dddfcf;border-radius:12px;margin-bottom:22px;font-size:13px;line-height:1.75;color:#526659}
.mk-event-history-intro p{margin:0}.mk-event-history-intro p+p{margin-top:10px}
@media(max-width:760px){.mk-event-history-item summary{grid-template-columns:minmax(0,1fr) auto;padding:16px;gap:10px}.mk-event-history-item summary>span:first-child{grid-column:1}.mk-event-history-item summary::after{grid-column:2;grid-row:1}.mk-event-history-item summary .status{justify-self:start}.mk-event-history-item summary small{grid-column:1/-1}.mk-event-history-body{padding:16px}.mk-event-history-dates{grid-template-columns:1fr}.admin-card.mk-event-history-intro{padding:16px}}

.mk-signal.mk-signal-contact{font-weight:400}
.mk-main-photo-button,.mk-main-photo-current{display:block;margin:10px 0;padding:9px 12px;border:1px solid #c1c7ad;border-radius:8px;background:#f5f5ea;color:#4e5c38;font-size:13px;font-weight:400;white-space:normal}
.mk-main-photo-button{cursor:pointer;width:100%}
.mk-main-photo-button:hover,.mk-main-photo-current{background:#e8ecd9}
.mk-main-photo-note{display:block;margin:8px 0;color:#6c715e;font-size:12px}
.mk-main-photo-button:focus-visible{outline:2px solid #566548;outline-offset:3px}
body .mk-kennel-detail .mk-detail-gallery{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;height:450px}
body .mk-kennel-detail .mk-detail-gallery>a{display:block;min-width:0;min-height:0;height:auto;overflow:hidden}
body .mk-kennel-detail .mk-detail-gallery .gallery-main{grid-column:1;grid-row:1 / 3}
body .mk-kennel-detail .mk-detail-gallery .gallery-small{grid-column:2;grid-row:auto}
body .mk-kennel-detail .mk-detail-gallery .gallery-small:nth-child(2):last-child{grid-row:1 / 3}
body .mk-kennel-detail .mk-detail-gallery:has(>a:only-child){grid-template-columns:1fr}
body .mk-kennel-detail .mk-detail-gallery img{width:100%;height:100%;object-fit:cover;display:block}
body .mk-kennel-detail .mk-events-grid.detail{display:grid;grid-template-columns:minmax(0,1fr)}
body .mk-kennel-detail .mk-event-card-body>p{white-space:pre-wrap;overflow-wrap:anywhere}
body .mk-kennel-detail .mk-event-card-body>p,body .mk-kennel-detail .mk-event-kennel,body .mk-kennel-detail .mk-event-meta,body .mk-kennel-detail .mk-event-details :is(dt,dd){font-size:13px}
body .mk-kennel-detail .mk-event-category,body .mk-kennel-detail .mk-event-action{font-weight:400}
body .mk-kennel-detail .mk-event-details .mk-event-tickets{display:block}
body .mk-kennel-detail .mk-event-tickets dd{margin:7px 0 0;width:100%;white-space:normal;overflow-wrap:anywhere}
body .mk-kennel-detail .mk-event-card-body>.mk-event-action{display:block;align-self:start;margin:15px 0;padding:0}
body .mk-kennel-detail .mk-event-card-body:has(>.mk-event-action)>:nth-last-child(2){margin-bottom:0}
@media(max-width:760px){
 body .mk-kennel-detail .detail-layout{grid-template-columns:minmax(0,1fr)}
 body .mk-kennel-detail :is(.detail-main,.detail-sidebar,.mk-event-card-body){min-width:0}
 body .mk-kennel-detail h1{overflow-wrap:anywhere}
 body .mk-kennel-detail .detail-sidebar{display:block}
 body:has(.mk-kennel-detail) .header-inner{flex-wrap:wrap;height:auto;padding-block:12px;gap:12px}
 body:has(.mk-kennel-detail) .header-actions{flex-wrap:wrap;max-width:100%}
 body .mk-kennel-detail .mk-detail-gallery{height:310px;gap:6px;grid-template-columns:2fr 1fr}
 .mk-photo-viewer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:76px 10px 105px}
 .mk-photo-toolbar{left:16px}.mk-photo-prev,.mk-photo-next{top:auto;bottom:20px;transform:none}
 .mk-photo-prev{left:calc(50% - 56px)}.mk-photo-next{right:calc(50% - 56px)}
 .mk-photo-caption{left:16px;right:16px;bottom:79px}
}
