/* Space formats: partner editor, wp-admin box, public venue page. Light, rounded, no blur. */
.evs { display: grid; gap: 14px; }
.evs-f { border: 1px solid #e4e1ef; border-radius: 16px; padding: 14px 16px; background: #fff; margin: 0; min-width: 0; }
.evs-f.is-on { border-color: #8B84C6; box-shadow: 0 1px 0 rgba(90, 82, 147, .06); }
.evs-on { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; cursor: pointer; }
.evs-on input { margin: 0 4px 0 0; accent-color: #5A5293; }
.evs-name { font-weight: 700; color: #151515; }
.evs-desc { color: #6b6880; font-size: .88rem; flex-basis: 100%; padding-left: 24px; }
.evs-body { margin-top: 14px; display: grid; gap: 16px; }
.evs-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.evs-row label { display: grid; gap: 6px; font-size: .88rem; color: #423C6E; }
.evs-row em { font-style: normal; color: #8a879a; }
.evs input[type=number], .evs select { width: 100%; max-width: none; box-sizing: border-box; border: 1px solid #dcd9ea; border-radius: 10px; padding: 9px 10px; background: #fff; font: inherit; }
.evs-h { display: block; font-weight: 600; color: #423C6E; margin-bottom: 6px; font-size: .92rem; }
.evs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.evs-chip { display: inline-flex; }
.evs-chip input { position: absolute; opacity: 0; pointer-events: none; }
.evs-chip span { border: 1px solid #dcd9ea; border-radius: 999px; padding: 6px 12px; font-size: .88rem; cursor: pointer; background: #fff; }
.evs-chip input:checked + span { background: #5A5293; border-color: #5A5293; color: #fff; }
.evs-chip input:focus-visible + span { outline: 2px solid #8B84C6; outline-offset: 2px; }
.evs-note { margin: 0 0 10px; color: #6b6880; font-size: .86rem; }
.evs-svc { display: grid; gap: 8px; }
.evs-s { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px; align-items: center; font-size: .92rem; }

/* public page */
.evs-pub { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.evs-card { border: 1px solid #e4e1ef; border-radius: 18px; padding: 16px 18px; background: #fff; }
.evs-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.evs-card h4 { margin: 0; font-size: 1.05rem; }
.evs-guests { font-weight: 700; color: #5A5293; }
.evs-guests small { font-weight: 400; color: #6b6880; }
.evs-d { color: #6b6880; font-size: .88rem; margin: 6px 0 10px; }
.evs-meta, .evs-st { margin: 6px 0 0; font-size: .9rem; }
.evs-ok b { color: #2f7a4d; }
.evs-cond b { color: #8a5a00; }
.evs-no b { color: #8a8a96; text-decoration: line-through; }
.evs-no { color: #8a8a96; }
.evs-unk b { color: #5A5293; }
.evs-foot { margin-top: 12px; color: #6b6880; font-size: .84rem; }

@media (max-width: 640px) {
	.evs-row { grid-template-columns: 1fr; }
	.evs-s { grid-template-columns: 1fr; gap: 4px; }
	.evs-desc { padding-left: 0; }
}

/* Public venue page, v2: format picker, detail panel, comparison */
.evs-v2 .evs-sub { color: #6b6880; margin: 4px 0 18px; }
.evs-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 18px; }
.evs-pk { appearance: none; text-align: left; font: inherit; color: inherit; cursor: pointer; background: #fff; border: 1.5px solid #e4e1ef; border-radius: 22px; padding: 18px 20px; display: block; width: 100%; }
.evs-pk:hover { border-color: #8B84C6; }
.evs-pk:focus-visible { outline: 2px solid #8B84C6; outline-offset: 2px; }
.evs-pk.is-sel { border-color: #5A5293; background: linear-gradient(#F6F4FC, #fff); box-shadow: 0 14px 30px -18px rgba(66, 60, 110, .55); }
.evs-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; background: #F1EFF8; color: #5A5293; margin-bottom: 12px; }
.evs-pk.is-sel .evs-ic { background: #5A5293; color: #fff; }
.evs-pn { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 3px; color: #151515; }
.evs-pd { display: block; color: #6b6880; font-size: .84rem; margin-bottom: 12px; min-height: 2.6em; }
.evs-num { display: block; font-size: 1.45rem; color: #5A5293; font-weight: 600; }
.evs-num small { font-size: .78rem; font-weight: 400; color: #6b6880; }
.evs-det { background: #fff; border: 1px solid #e6e3dc; border-radius: 26px; padding: 26px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 30px; }
.evs-det[hidden] { display: none; }
.evs-facts { display: grid; gap: 16px; align-content: start; }
.evs-facts b { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: #8B84C6; margin-bottom: 6px; }
.evs-tag { display: inline-block; background: #F1EFF8; color: #423C6E; border-radius: 999px; padding: 4px 11px; font-size: .84rem; margin: 0 4px 4px 0; }
.evs-big { font-size: 1.4rem; color: #5A5293; font-weight: 600; }
.evs-sv h4 { margin: 0 0 12px; font-size: 1.02rem; }
.evs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.evs-s { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; border-radius: 14px; padding: 12px 14px; font-size: .92rem; font-weight: 600; }
.evs-s i { font-style: normal; font-size: .74rem; font-weight: 600; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.evs-s-ok { background: #E9F5EE; } .evs-s-ok i { background: #2f7a4d; color: #fff; }
.evs-s-cd { background: #FBF1DC; } .evs-s-cd i { background: #C68A12; color: #fff; }
.evs-s-no { background: #F0EFF3; color: #8a8a96; } .evs-s-no span { text-decoration: line-through; } .evs-s-no i { background: #8a8a96; color: #fff; }
.evs-s-un { background: #fff; border: 1px dashed #cfcce0; } .evs-s-un i { background: #F1EFF8; color: #5A5293; }
.evs-cmp { margin-top: 20px; border: 1px solid #e6e3dc; border-radius: 20px; overflow-x: auto; background: #fff; }
.evs-cmp table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 480px; }
.evs-cmp th, .evs-cmp td { padding: 11px 14px; text-align: left; border-top: 1px solid #e6e3dc; }
.evs-cmp th { background: #FAF9FD; color: #423C6E; font-weight: 600; border-top: 0; }
.evs-c-ok { color: #2f7a4d; font-weight: 600; } .evs-c-cd { color: #8a5a00; font-weight: 600; } .evs-c-no { color: #8a8a96; } .evs-c-un { color: #5A5293; }
.evs-v2 .evs-foot { margin-top: 18px; background: #F1EFF8; border-radius: 14px; padding: 12px 16px; color: #423C6E; }
@media (max-width: 760px) {
	.evs-det { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
	.evs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.evs-pd { min-height: 0; }
}
.evs-s > span { min-width: 0; }
.evs-s i { flex-shrink: 0; }

/* 3.20.1: status pills and titles wrap on narrow phones (long Georgian labels used to run out of the card) */
.evs-s { min-width: 0; }
.evs-s i { flex-shrink: 1; max-width: 100%; white-space: normal; overflow-wrap: anywhere; line-height: 1.3; text-align: left; }
.evs-sv h4, .evs-pn, .evs-pd, .evs-tag { overflow-wrap: anywhere; }
.evs-det > * { min-width: 0; }
@media (max-width: 340px) {
	.evs-grid { grid-template-columns: minmax(0, 1fr); }
}
