/* Day 10 (23.09.2026): the afisha form "Добавить событие" (templates/afisha-create-new.php).
   Loaded after ct-afisha.N.css on the form page only (ct_event_form_enqueue). The preview cards use the
   storefront styles of ct-afisha.N.css as they are. Blocks: white, border #dcdeed, the shadow of the
   home page (.main-news-all), as the afisha pages after rounds 3-5. Prefix ct-evf-. */
.ct-evf{--f-blue:#1a5fb4;--f-green:#2f7d32;--f-text:#1c2430;--f-muted:#6b7482;--f-line:#dcdeed;--f-chip:#d5dae2;font-family:"Nunito",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--f-text);padding:6px 0 24px}
.ct-evf *,.ct-evf *::before,.ct-evf *::after{box-sizing:border-box}
.ct-evf [hidden]{display:none!important}
.ct-evf-main .ct-ev-crumbs{font-size:14px}
.ct-evf__head{margin:0 0 18px}
.ct-evf__headrow{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-top:8px}
.ct-evf__headtxt{min-width:0}
.ct-ev-main .ct-evf__h1{font-size:30px}
.ct-ev-main .ct-evf__lead{margin-top:6px;font-size:14px}
.ct-evf__lead:empty{display:none}
.ct-evf__steps{display:flex;gap:18px;list-style:none;margin:0;padding:0;flex-shrink:0}
.ct-evf__steps li{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:800;color:#8a93a2;cursor:pointer;white-space:nowrap;margin:0}
.ct-evf__steps li i{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:13px;border:2px solid var(--f-chip);font-style:normal;font-size:12px;flex:none}
.ct-evf__steps li.is-on{color:var(--f-blue)}
.ct-evf__steps li.is-on i{border-color:var(--f-blue);background:var(--f-blue);color:#fff}
.ct-evf__steps li.is-done{color:var(--f-green)}
.ct-evf__steps li.is-done i{border-color:var(--f-green);background:var(--f-green);color:#fff;font-size:0}
.ct-evf__steps li.is-done i::before{content:"✓";font-size:13px}
.ct-evf__progress{display:none;height:4px;background:#eef1f5;border-radius:2px;margin-top:12px;overflow:hidden}
.ct-evf__progress i{display:block;height:100%;background:var(--f-blue);transform:scaleX(.25);transform-origin:left center;transition:transform .25s}
.ct-evf__grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:36px;align-items:start}
.ct-evf__main{min-width:0;display:flex;flex-direction:column;gap:18px}
.ct-evf__form{display:flex;flex-direction:column;gap:18px}
.ct-evf__step{display:flex;flex-direction:column;gap:18px}
.ct-evf--last .ct-evf__grid{grid-template-columns:minmax(0,1fr)}
.ct-evf--last .ct-evf__side{display:none}
.ct-evf__box{background:#fff;border:1px solid var(--f-line);border-radius:15px;padding:24px 26px;box-shadow:0 16px 24px rgba(0,72,141,.06),0 2px 6px rgba(0,0,0,.04),0 0 1px rgba(0,0,0,.04)}
.ct-evf__box--flat{padding:0;overflow:hidden}
.ct-evf__grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}
.ct-evf__field{display:flex;flex-direction:column;gap:6px;min-width:0;position:relative}
.ct-evf__field--full{grid-column:1/-1}
.ct-evf__sep{padding-top:12px;border-top:1px solid #e6e9ee}
.ct-evf__lbl{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline;font-size:13px;font-weight:800;color:var(--f-text);margin:0}
.ct-evf__lbl span{font-size:12px;font-weight:600;color:var(--f-muted)}
.ct-evf__lbl--h{font-size:16px}
.ct-evf .ct-evf__input{display:block;width:100%;height:44px;border:1px solid var(--f-chip);border-radius:10px;padding:0 14px;font:inherit;font-size:15px;color:var(--f-text);background:#fff;outline:0;margin:0;box-shadow:none}
.ct-evf .ct-evf__input:focus{border-color:var(--f-blue);box-shadow:0 0 0 3px rgba(26,95,180,.12)}
.ct-evf .ct-evf__input::placeholder{color:#8a93a2}
.ct-evf .ct-evf__textarea{height:auto;min-height:130px;padding:12px 14px;line-height:1.45;resize:vertical}
.ct-evf .ct-evf__select{appearance:auto;-webkit-appearance:menulist;margin-top:4px;max-width:320px}
.ct-evf__count{position:absolute;right:0;top:0;font-size:12px;font-weight:600;color:#8a93a2}
.ct-evf__hint{font-size:12px;font-weight:600;color:var(--f-muted);margin:0;line-height:1.45}
.ct-evf__hint.is-ok{color:var(--f-green)}
.ct-evf__hint.is-err{color:#c62828}
.ct-evf__center{text-align:center}
.ct-evf__err{display:none;font-size:13px;font-weight:700;color:#c62828;margin:0;line-height:1.4}
.ct-evf__err.is-on{display:block}
.ct-evf__err.is-info{color:var(--f-blue)}
.ct-evf__field.is-err .ct-evf__input{border-color:#c62828}
.ct-evf__field.is-err .ct-evf__chip span{border-color:#e6a1a1}
.ct-evf__dt{display:flex;gap:8px}
.ct-evf__dt .ct-evf__input:first-child{flex:1;min-width:0}
.ct-evf .ct-evf__time{width:118px;flex:none;padding:0 10px}
.ct-evf__row2{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:8px}
/* chips */
.ct-evf__chips{display:flex;flex-wrap:wrap;gap:8px}
.ct-evf__chip{position:relative;display:inline-flex;margin:0;cursor:pointer;user-select:none}
.ct-evf__chip input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.ct-evf__chip span{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:18px;border:1px solid var(--f-chip);background:#fff;font-size:14px;font-weight:700;color:var(--f-text);white-space:nowrap;transition:background .12s,border-color .12s}
.ct-evf__chip:hover span{border-color:var(--f-blue)}
.ct-evf__chip input:checked+span{background:var(--f-blue);border-color:var(--f-blue);color:#fff}
.ct-evf__chip input:focus-visible+span{box-shadow:0 0 0 3px rgba(26,95,180,.25)}
.ct-evf__chip--sm span{height:30px;padding:0 12px;font-size:12px}
.ct-evf__chip--hide{display:none}
.ct-evf__quick{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ct-evf__quick-l{font-size:12px;font-weight:600;color:var(--f-muted)}
.ct-evf .ct-evf__qchip{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:15px;border:1px solid var(--f-chip);background:#fff;font:inherit;font-size:12px;font-weight:700;color:var(--f-text);cursor:pointer;white-space:nowrap}
.ct-evf .ct-evf__qchip:hover{border-color:var(--f-blue);color:var(--f-blue)}
.ct-evf .ct-evf__qchip--link{border-style:dashed;color:var(--f-blue)}
.ct-evf__repeat{display:flex;flex-direction:column;gap:8px;background:#f6f8fb;border-radius:10px;padding:10px 12px}
.ct-evf__until{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;margin:0;flex-wrap:wrap}
.ct-evf__until .ct-evf__input{width:170px;height:36px}
.ct-evf__until span{font-size:12px;font-weight:600;color:var(--f-muted)}
.ct-evf__price{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ct-evf__price-in{display:inline-flex;gap:6px;align-items:center}
.ct-evf .ct-evf__num{width:84px;padding:0 10px}
.ct-evf__dash,.ct-evf__cur{font-size:12px;font-weight:700;color:var(--f-muted)}
.ct-evf__phone{display:flex;gap:10px;align-items:center}
.ct-evf__phone .ct-evf__input{flex:1;min-width:0}
.ct-evf__check,.ct-evf__agree{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:700;cursor:pointer;margin:0;white-space:nowrap}
.ct-evf .ct-evf__check input,.ct-evf .ct-evf__agree input{width:18px;height:18px;margin:0;appearance:auto;-webkit-appearance:checkbox;flex:none;accent-color:var(--f-blue)}
.ct-evf__agree{align-items:flex-start;white-space:normal;font-weight:600;line-height:1.5;font-size:14px;margin-top:4px}
.ct-evf__agree input{margin-top:2px!important}
/* autofill */
.ct-evf__fill{background:#eef4fc;border:1px solid #c9d8ee;border-radius:15px;padding:18px 20px;display:flex;flex-direction:column;gap:10px}
.ct-evf__fill-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.ct-evf__fill-h b{font-size:17px;font-weight:800}
.ct-evf__fill-h span{font-size:12px;font-weight:600;color:var(--f-muted)}
.ct-evf__fill-row{display:flex;gap:10px}
.ct-evf__fill-row .ct-evf__input{flex:1;min-width:0}
.ct-ev-main .ct-evf .ct-evf__fill-btn{height:44px;padding:0 22px;font-size:15px}
.ct-evf .ct-ev-btn[disabled]{opacity:.6;cursor:default}
.ct-evf__fill-msg{margin:0;font-size:13px;font-weight:700;line-height:1.45}
.ct-evf__fill-msg.is-ok{color:var(--f-green)}
.ct-evf__fill-msg.is-err{color:#c62828}
/* photos */
.ct-evf__photolist{display:flex;flex-wrap:wrap;gap:8px}
.ct-evf__photo{position:relative;width:100px;height:66px;border-radius:8px;overflow:hidden;border:1px solid var(--f-line);background:#eef1f5;cursor:grab}
.ct-evf__photo img{width:100%;height:100%;object-fit:cover;display:block;border-radius:0}
.ct-evf__photo.is-main{border-color:var(--f-blue);box-shadow:0 0 0 2px rgba(26,95,180,.25)}
.ct-evf__photo-main{position:absolute;left:4px;bottom:4px;display:none;font-size:10px;font-weight:800;background:var(--f-blue);color:#fff;border-radius:5px;padding:1px 5px}
.ct-evf__photo.is-main .ct-evf__photo-main{display:block}
.ct-evf__photo-src{position:absolute;left:4px;top:4px;font-size:9px;font-weight:800;text-transform:uppercase;background:rgba(255,255,255,.92);color:var(--f-text);border-radius:4px;padding:1px 4px}
.ct-evf__photo.is-main .ct-evf__photo-src{top:auto;bottom:22px}
.ct-evf .ct-evf__photo-x,.ct-evf .ct-evf__photo-star{position:absolute;top:4px;width:22px;height:22px;border-radius:11px;border:0;background:rgba(0,0,0,.6);color:#fff;font-size:14px;line-height:22px;padding:0;cursor:pointer;text-align:center}
.ct-evf .ct-evf__photo-x{right:4px}
.ct-evf .ct-evf__photo-star{right:30px;display:none;font-size:12px}
.ct-evf__photo:hover .ct-evf__photo-star{display:block}
.ct-evf__photo.is-main .ct-evf__photo-star{display:none}
.ct-evf__photo.is-drag{opacity:.45}
.ct-evf__photo.is-loading{display:flex;align-items:center;justify-content:center}
.ct-evf .ct-evf__photo-add{width:100px;height:66px;border:2px dashed var(--f-chip);border-radius:8px;background:#fff;color:#8a93a2;font:inherit;font-size:22px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ct-evf__spin,.ct-evf__go-spin{width:22px;height:22px;border:3px solid #dfe6ef;border-top-color:var(--f-blue);border-radius:50%;animation:ctEvfSpin .8s linear infinite}
@keyframes ctEvfSpin{to{transform:rotate(360deg)}}
/* nav + draft */
.ct-evf__nav{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ct-ev-main .ct-evf__nav .ct-ev-btn{height:44px;padding:0 22px;font-size:15px}
.ct-evf__draftnote{font-size:12px;font-weight:600;color:var(--f-muted);flex:1}
.ct-evf__nav [data-ct-prev]:not([hidden])+.ct-evf__draftnote{text-align:center}
.ct-evf__draftbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;background:#fdecea;border:1px solid #f3b4ae;border-radius:12px;padding:12px 16px;margin:0 0 18px;font-size:15px;font-weight:700;color:#8a1c12}
.ct-evf__draftbar span{flex:1}
.ct-evf__again{margin:0 0 18px;background:#eef4fc;border:1px solid #c9d8ee;border-radius:12px;padding:12px 16px;font-size:14px;font-weight:700;color:var(--f-blue)}
/* step 3 */
.ct-evf__tariffs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-top:11px}
.ct-evf__tariff{position:relative;background:#fff;border:1px solid var(--f-line);border-radius:15px;padding:20px;display:flex;flex-direction:column;gap:10px;box-shadow:0 16px 24px rgba(0,72,141,.06),0 2px 6px rgba(0,0,0,.04)}
.ct-evf__tariff--paid{border:2px solid var(--f-green)}
.ct-evf__tariff.is-on{box-shadow:0 0 0 3px rgba(26,95,180,.18),0 16px 24px rgba(0,72,141,.06)}
.ct-evf__tariff-flag{position:absolute;top:-12px;left:20px;display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 10px 0 6px;border-radius:6px;background:var(--f-green);color:#fff;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.ct-evf__tariff-flag .ct-ev-flame{width:16px;height:16px;border-radius:0}
.ct-evf__tariff-name{font-size:18px;font-weight:800}
.ct-evf__tariff-price b{font-size:26px;font-weight:800}
.ct-evf__tariff-price small{display:block;font-size:13px;font-weight:700;color:var(--f-muted);margin-top:2px}
.ct-evf .ct-evf__tariff-l{margin:0;padding:0 0 0 18px;list-style:disc;font-size:14px;line-height:1.5;color:#4b5564;flex:1}
.ct-evf .ct-evf__tariff-l li{list-style:disc;margin:0 0 2px}
.ct-ev-main .ct-evf__pick{height:44px;font-size:15px;margin-top:auto}
.ct-evf__note{margin:0;font-size:12px;font-weight:600;color:var(--f-muted);line-height:1.5}
/* step 4 */
.ct-evf__boxh{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;padding:10px 16px;background:#eef4fc;font-size:12px;font-weight:800;color:var(--f-blue)}
.ct-evf__edit button{border:0;background:none;padding:0;font:inherit;color:var(--f-blue);text-decoration:underline;cursor:pointer}
.ct-evf__prev--row{padding:16px}
.ct-evf__prev .ct-ev-card{margin:0;box-shadow:none}
.ct-evf__prev a,.ct-evf__prev button{cursor:default}
.ct-evf__final{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}
.ct-evf__final .ct-evf__box{display:flex;flex-direction:column;gap:12px;padding:20px 24px}
.ct-evf__h3{font-size:16px;font-weight:800}
.ct-evf .ct-evf__after{margin:0;padding:0 0 0 18px;list-style:disc;font-size:14px;line-height:1.6;color:#4b5564}
.ct-evf .ct-evf__after li{list-style:disc}
.ct-evf__sum{display:flex;flex-direction:column;gap:10px}
.ct-evf__sum-row{display:flex;justify-content:space-between;gap:12px;font-size:14px}
.ct-evf__sum-row>:last-child{white-space:nowrap}
.ct-evf__prevday{font-size:15px;font-weight:800;color:var(--f-text);margin:0 0 10px}
.ct-evf__sum-row--total{padding-top:10px;border-top:1px solid #e6e9ee;font-size:18px;font-weight:800}
.ct-evf__promo{display:flex;gap:8px}
.ct-evf__promo .ct-evf__input{height:40px;flex:1;min-width:0}
.ct-ev-main .ct-evf__promo .ct-ev-btn{height:40px}
.ct-ev-main .ct-evf__submit{height:46px;font-size:15px;width:100%;white-space:normal;text-align:center;line-height:1.2}
.ct-evf__submit.is-busy{opacity:.6;pointer-events:none}
/* right column */
.ct-evf__side{position:sticky;top:90px;display:flex;flex-direction:column;gap:14px;padding-top:4px}
.ct-evf__side-h{font-size:13px;font-weight:800;color:var(--f-muted);text-transform:uppercase;letter-spacing:.04em}
.ct-evf__prev--tile .ct-ev-card--tile{box-shadow:0 16px 24px rgba(0,72,141,.06),0 2px 6px rgba(0,0,0,.04);border-color:var(--f-line)}
.ct-evf__prev--tile .ct-ev-card--tile.is-paid{border:2px solid #f2a900}
.ct-evf__prev--tile .ct-ev-tile__img{height:200px}
.ct-evf__fillbox{padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.ct-evf__fill-top{display:flex;justify-content:space-between;font-size:13px;font-weight:800}
.ct-evf__fill-top b{color:var(--f-green)}
.ct-evf__bar{height:8px;border-radius:4px;background:#eef1f5;overflow:hidden}
.ct-evf__bar i{display:block;height:100%;background:var(--f-green);transform:scaleX(0);transform-origin:left center;transition:transform .3s}
/* done */
.ct-evf__box--done{display:flex;flex-direction:column;gap:14px;padding:28px 30px}
.ct-evf__done-h{display:flex;align-items:center;gap:12px}
.ct-evf__done-ok{width:44px;height:44px;border-radius:22px;background:var(--f-green);display:flex;align-items:center;justify-content:center;flex:none}
.ct-ev-main .ct-evf__done-title{margin:0;font-size:24px;font-weight:800;color:var(--f-text)}
.ct-evf__done-text{margin:2px 0 0;font-size:14px;color:#4b5564}
.ct-evf__done-link{display:flex;gap:8px}
.ct-evf__done-link .ct-evf__input{flex:1;min-width:0;background:#f6f8fb}
.ct-ev-main .ct-evf__done-link .ct-ev-btn{height:44px}
.ct-evf__next{display:flex;flex-direction:column;gap:10px}
.ct-evf__nextc{display:flex;align-items:center;gap:14px;background:#f8f9fb;border:1px solid #e6e9ee;border-radius:12px;padding:14px 16px}
.ct-evf__nextc div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ct-evf__nextc b{font-size:15px;font-weight:800}
.ct-evf__nextc span{font-size:12px;font-weight:600;color:var(--f-muted)}
/* full-screen progress after the sign-in (round 14) */
.ct-evf__go{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;background:rgba(16,24,35,.55)}
.ct-evf__go.is-on{display:flex}
.ct-evf__go-box{background:#fff;border-radius:14px;padding:22px 26px;min-width:260px;max-width:90vw;text-align:center;box-shadow:0 18px 50px rgba(16,24,35,.25);display:flex;flex-direction:column;align-items:center;gap:10px}
.ct-evf__go-box b{font-size:16px;font-weight:700;color:var(--f-text)}
.ct-evf__go-box span:last-child{font-size:13px;color:var(--f-muted)}
.ct-evf__go-spin{width:28px;height:28px;border-top-color:#0769d6}
body.ct-evf-go{overflow:hidden}
.ct-evf__loginnote{font-size:13px;line-height:1.5;color:#5b6577;margin:0 0 12px;text-align:center}
/* <= 1199: narrower right column */
@media (max-width:1199px){
	.ct-evf__grid{grid-template-columns:minmax(0,1fr) 300px;gap:24px}
	.ct-evf__headrow{flex-direction:column;align-items:flex-start}
	.ct-evf__final{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:991px){
	.ct-evf__grid{grid-template-columns:minmax(0,1fr)}
	.ct-evf__side{display:none}
}
/* mobile 375: one column, the step buttons in a sticky bottom panel, the theme "up" button above it */
@media (max-width:767px){
	.ct-evf{padding-bottom:84px;max-width:100%;overflow-x:hidden}
	.ct-ev-main .ct-evf__h1{font-size:24px}
	.ct-evf__steps{gap:6px;width:100%}
	.ct-evf__steps li span{display:none}
	.ct-evf__steps li.is-on span{display:inline}
	.ct-evf__progress{display:block}
	.ct-evf__box{padding:16px}
	.ct-evf__grid2{grid-template-columns:minmax(0,1fr);gap:16px}
	.ct-evf__row2{grid-template-columns:minmax(0,1fr)}
	.ct-evf__fill{padding:12px;border-radius:12px}
	.ct-evf__fill-h span{display:none}
	.ct-evf__fill-row{flex-direction:column;gap:8px}
	.ct-ev-main .ct-evf .ct-evf__fill-btn{width:100%;height:40px;font-size:13px}
	.ct-evf__chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
	.ct-evf__chips::-webkit-scrollbar{display:none}
	.ct-evf__repeat .ct-evf__chips,.ct-evf__field .ct-evf__chips:has(input[name="languages[]"]),.ct-evf__field .ct-evf__chips:has(input[name="age"]){flex-wrap:wrap;overflow:visible}
	.ct-evf__chip span{height:34px;padding:0 12px;font-size:13px}
	.ct-evf__tariffs{grid-template-columns:minmax(0,1fr);gap:22px}
	.ct-evf__nav{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid #e6e9ee;box-shadow:0 -6px 18px rgba(0,0,0,.08);padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
	.ct-evf__nav .ct-evf__draftnote{display:none}
	.ct-ev-main .ct-evf__nav .ct-ev-btn{height:44px;padding:0 14px;font-size:14px}
	.ct-ev-main .ct-evf__nav [data-ct-next]{flex:1}
	.ct-evf--last .ct-evf__nav [data-ct-prev]{flex:1}
	.ct-evf__prev--row{padding:12px}
	.ct-evf__done-link{flex-wrap:wrap}
	.ct-evf__box--done{padding:18px 16px}
	.ct-evf__nextc{flex-wrap:wrap}
	body:has(.ct-evf__nav) .scrollTop{bottom:80px!important}
	body:has(.ct-evf__done:not([hidden])) .scrollTop{bottom:19px!important}
}

/* ===== 13.10.2026 owner: variant A (claude/formy-razmeshcheniya-ui-varianty-2026-10-12.md). Steps 1-2 are columns of
   sections (.ct-evf__sec) with one field per row; segments (--seg) for 2-5 single choices, tiles (--tiles) for long
   single choices, "+ / ✓" chips for multiple choice. Overrides the rules above; markup: the fields partial. ===== */
.ct-evf{--f-muted:#5d6676;--f-opt:#f2f4f8}
.ct-evf__step{gap:20px}
.ct-evf__req{margin:0 0 -4px;font-size:14px;font-weight:600;color:var(--f-muted);line-height:1.45}
.ct-evf .ct-evf__sec{display:flex;flex-direction:column;gap:28px;padding:28px 32px 32px}
.ct-evf__sech{display:flex;flex-direction:column;gap:4px;min-width:0}
/* optional section: the badge sits right of the title, the subtitle runs under both at full width */
.ct-evf__sech--opt{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px}
.ct-evf__sech--opt>div{display:contents}
.ct-evf__sech--opt .ct-evf__h2{grid-column:1;grid-row:1}
.ct-evf__sech--opt .ct-evf__opt{grid-column:2;grid-row:1}
.ct-evf__sech--opt .ct-evf__secsub{grid-column:1/-1;grid-row:2}
.ct-evf .ct-evf__h2{margin:0;font-size:21px;font-weight:800;line-height:1.25;color:var(--f-text)}
.ct-evf__h2 label{margin:0;font:inherit;color:inherit;cursor:default}
.ct-evf__secsub{margin:0;font-size:14px;font-weight:600;color:var(--f-muted);line-height:1.45}
.ct-evf__opt{flex:none;display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:13px;background:var(--f-opt);color:var(--f-muted);font-size:13px;font-weight:700;white-space:nowrap}
.ct-evf__sec .ct-evf__field{gap:10px}
.ct-evf__sec .ct-evf__lbl{font-size:16px;line-height:1.3}
.ct-evf__sec .ct-evf__lbl span{font-size:14px;font-weight:600;color:var(--f-muted)}
.ct-evf__sec .ct-evf__hint{font-size:13px;color:var(--f-muted)}
.ct-evf__sec .ct-evf__count{font-size:13px;font-weight:700;color:var(--f-muted)}
.ct-evf .ct-evf__sec .ct-evf__input{height:48px;font-size:16px}
.ct-evf .ct-evf__sec .ct-evf__textarea{height:auto;min-height:170px;padding:12px 14px;line-height:1.5}
.ct-evf__field--text .ct-evf__count{position:static;align-self:flex-end;margin-top:-4px}
/* option chips: soft grey, blue when chosen */
.ct-evf__sec .ct-evf__chip span{height:40px;padding:0 16px;gap:7px;border-color:#dfe3ea;background:var(--f-opt);font-size:15px}
.ct-evf__sec .ct-evf__chip:hover span{border-color:var(--f-blue)}
.ct-evf__sec .ct-evf__chip input:checked+span{background:var(--f-blue);border-color:var(--f-blue);color:#fff}
.ct-evf__sec .ct-evf__chip--sm span{height:36px;padding:0 14px;font-size:14px}
/* several allowed: "+" before the label, "✓" when chosen */
.ct-evf__chip:has(>input[type="checkbox"])>span{gap:7px;padding-left:12px}
.ct-evf__chip:has(>input[type="checkbox"])>span::before{content:"";width:16px;height:16px;flex:none;background:currentColor;opacity:.55;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px 16px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px 16px no-repeat}
.ct-evf__chip>input[type="checkbox"]:checked+span::before{opacity:1;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
/* one of 2-5: segments */
.ct-evf__chips--seg{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:12px;background:#edf0f4;align-self:flex-start;max-width:100%;box-sizing:border-box}
.ct-evf__chips--seg .ct-evf__chip{flex:1 1 auto}
.ct-evf__chips--seg .ct-evf__chip span,.ct-evf__sec .ct-evf__chips--seg .ct-evf__chip span{width:100%;justify-content:center;height:40px;padding:0 16px;border:0;border-radius:9px;background:transparent;color:#3c4656;font-size:15px;font-weight:700}
.ct-evf__chips--seg .ct-evf__chip:hover span{background:rgba(255,255,255,.65)}
.ct-evf__chips--seg .ct-evf__chip input:checked+span{background:#fff;color:var(--f-blue);font-weight:800;box-shadow:0 1px 3px rgba(16,32,64,.18)}
.ct-evf__field.is-err .ct-evf__chips--seg{box-shadow:inset 0 0 0 1px #e6a1a1}
/* a radio that can be un-chosen (data-ct-toggle): the input covers its chip, so the mousedown of the form script
   lands on the input and sees the old state (with a 1 px input the second tap never un-chose it) */
.ct-evf__chip input[data-ct-toggle]{top:0;left:0;width:100%;height:100%;pointer-events:auto;cursor:pointer;z-index:1}
/* one of many: tiles with a radio circle */
.ct-evf__chips--tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ct-evf__chips--tiles .ct-evf__chip{display:flex;min-width:0}
.ct-evf__chips--tiles .ct-evf__chip span,.ct-evf__sec .ct-evf__chips--tiles .ct-evf__chip span{width:100%;height:auto;min-height:52px;padding:10px 14px;gap:12px;justify-content:flex-start;border:1px solid #d9dee7;border-radius:12px;background:#fff;color:var(--f-text);font-size:15px;line-height:1.25;white-space:normal;text-align:left}
.ct-evf__chips--tiles .ct-evf__chip span::before{content:"";width:20px;height:20px;flex:none;border-radius:50%;border:2px solid #b3bcc9;background:#fff;box-sizing:border-box}
.ct-evf__chips--tiles .ct-evf__chip:hover span{border-color:var(--f-blue)}
.ct-evf__chips--tiles .ct-evf__chip input:checked+span{background:#eef4fc;border-color:var(--f-blue);box-shadow:inset 0 0 0 1px var(--f-blue);color:#123f7a;font-weight:800}
.ct-evf__chips--tiles .ct-evf__chip input:checked+span::before{border:6px solid var(--f-blue)}
@media (max-width:767px){
	.ct-evf .ct-evf__sec{padding:22px 18px 24px;gap:24px}
	.ct-evf .ct-evf__h2{font-size:20px}
	.ct-evf__sec .ct-evf__chip span{height:40px;padding:0 14px;font-size:15px}
	.ct-evf__chips--seg{display:flex;width:100%}
	.ct-evf__sec .ct-evf__chips--seg .ct-evf__chip span{padding:0 10px;font-size:14px}
	.ct-evf__chips--tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
	.ct-evf__sec .ct-evf__chips--tiles .ct-evf__chip span{min-height:52px;padding:8px 12px;gap:10px;font-size:14px}
	.ct-evf__chips--tiles .ct-evf__chip span::before{width:18px;height:18px}
	.ct-evf__chips--tiles .ct-evf__chip input:checked+span::before{border-width:5px}
}
/* afisha: price row, repeat box, quick chips under date and place */
.ct-evf__sec .ct-evf__price{gap:10px}
.ct-evf .ct-evf__sec .ct-evf__num{width:110px}
.ct-evf__sec .ct-evf__dash,.ct-evf__sec .ct-evf__cur{font-size:14px}
.ct-evf__sec .ct-evf__quick{gap:8px}
.ct-evf__sec .ct-evf__quick-l{font-size:13px}
.ct-evf__sec .ct-evf__qchip{height:34px;padding:0 14px;font-size:13px}
.ct-evf__sec .ct-evf__repeat{padding:12px 14px;gap:10px}
.ct-evf .ct-evf__sec .ct-evf__until .ct-evf__input{height:40px}
.ct-evf__sec .ct-evf__select{margin-top:0}
.ct-evf__sec .ct-evf__photo-add{width:120px;height:80px}
@media (max-width:767px){
	.ct-evf__sec .ct-evf__price-in{width:100%}
	.ct-evf .ct-evf__sec .ct-evf__num{width:100%;min-width:0}
}
.ct-evf .ct-evf__sec .ct-evf__field--text>.ct-evf__lbl{padding-right:0}

/* ===== 13.10 owner, round 3: date and time fields – Safari puts the value at the top of a tall field, the height comes from the padding ===== */
.ct-evf .ct-evf__sec input[type=date].ct-evf__input,.ct-evf .ct-evf__sec input[type=time].ct-evf__input{height:48px;padding-top:12px;padding-bottom:12px;line-height:22px}
.ct-evf .ct-evf__sec .ct-evf__until input[type=date].ct-evf__input{height:40px;padding-top:8px;padding-bottom:8px}

/* ===== 13.10 owner, round 4: the preview header is a plain title (no edit links – the step tabs go back);
   "what happens next" – air between the points ===== */
.ct-evf__boxh{display:block;padding:14px 20px;background:#f6f8fb;border-bottom:1px solid #e3e8f0;font-size:16px;font-weight:800;line-height:1.3;color:var(--f-text)}
.ct-evf .ct-evf__after{line-height:1.5}
.ct-evf .ct-evf__after li+li{margin-top:10px}
