/* App-specific application of ui-system.css to the current markup. */
body,.app-shell,.screen,.events-screen,.profile-screen,.news-screen,.community-screen,.meetings-screen{background:var(--white)!important}
.topbar{height:auto!important;min-height:52px!important;padding:max(6px,var(--safe-top)) 16px 6px!important;align-items:center!important;border-bottom:1px solid var(--line)!important;background:var(--white)!important}
.topbar>.logo{width:38px!important;height:30px!important;flex:0 0 38px!important}
.topbar .topbar-title{font-size:11px!important;letter-spacing:.08em;color:var(--muted)!important}
.topbar .icon-btn{width:34px!important;height:36px!important}
.topbar .icon-btn .ui-icon,.topbar-actions .ui-icon{width:22px!important;height:22px!important}
.h1,.events-title{font-family:var(--f-display)!important;font-size:32px!important;line-height:30px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:0!important;color:var(--ink)!important;margin:0 0 10px!important}
.h2{font-family:var(--f-display)!important;font-size:22px!important;line-height:24px!important;font-weight:700!important;text-transform:uppercase!important;color:var(--ink)!important}
.lead{font-size:14px!important;line-height:20px!important;color:var(--text)!important}
.eyebrow{font-size:11px!important;line-height:14px!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:var(--muted)!important}
.btn{min-height:48px!important;border-width:1px!important;border-radius:10px!important;font-size:15px!important;font-weight:600!important}
.btn.accent{background:var(--accent)!important;border-color:var(--accent)!important;color:var(--accent-ink)!important}
.screen{padding-left:18px!important;padding-right:18px!important}
/* selected state: one colour everywhere */
.chip.active,.chip.selected,.pill.active,.participant-tabs button.active,.participant-party-filters button.active,.participation-status-actions button.active,.event-detail-tabs .active,.media-filter-strip .active,.chat-filter-tabs button.active,.community-tabs .active,.event-filter-summary button.is-active,.rsvp-row button.active,.save-community-chat.active{background:var(--ink)!important;border-color:var(--ink)!important;color:#fff!important}
/* profile */
.profile-screen{background:var(--white)!important}
.profile-main-card,.profile-preference-card,.profile-preference-card.profile-mood-card,.profile-temperament-card,.profile-experience-card{background:var(--white)!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:none!important}
.profile-main-card{margin:14px 0!important;padding:16px!important}
.profile-summary{grid-template-columns:64px minmax(0,1fr)!important;gap:12px!important}
.profile-summary h2{font-family:var(--f-text)!important;font-size:23px!important;line-height:1.2!important;margin:6px 0 4px!important;text-transform:none!important}
.profile-meta-chips span{background:var(--surface)!important;color:var(--muted)!important;font-size:10px!important;font-weight:600!important}
.profile-copy,.profile-main-card>.profile-copy{color:var(--text)!important;font-size:13px!important;line-height:19px!important}
.profile-preference-card{padding:15px!important;margin:10px 0!important}
.profile-preference-card h2,.profile-card-head h2{font-family:var(--f-display)!important;font-size:20px!important;line-height:22px!important;text-transform:uppercase!important;letter-spacing:0!important}
.profile-preference-card h3{font-size:10px!important;letter-spacing:.06em!important;color:var(--muted)!important}
.profile-card-pills span,.profile-mood-card .profile-card-pills span{background:var(--surface)!important;color:var(--ink)!important;border:0!important;border-radius:999px!important;font-size:12px!important;font-weight:600!important;min-height:34px!important;padding:7px 12px!important}
.profile-preference-card .profile-card-head button,.profile-title button{color:var(--muted)!important;font-size:12px!important;font-weight:500!important}
.profile-action-card{background:var(--white)!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important}
.profile-city-note{background:var(--surface)!important;color:var(--muted)!important;border-radius:12px!important}
.profile-preview-button{border:1px solid var(--line)!important;border-radius:12px!important;background:var(--white)!important;box-shadow:none!important}
/* groups */
.group-card{background:var(--white)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:none!important}
.group-card .group-title{font-family:var(--f-display)!important;font-size:20px!important;line-height:22px!important;text-transform:uppercase!important;color:var(--ink)!important}
.group-card .address,.group-card .muted{color:var(--muted)!important}
.group-card .status{display:inline-flex!important;align-items:center!important;min-height:22px!important;padding:3px 9px!important;border-radius:999px!important;background:var(--accent)!important;color:var(--accent-ink)!important;font-size:10px!important;font-weight:700!important;line-height:1.2!important}
.group-card .pill{background:var(--surface)!important;border:0!important;color:var(--ink)!important}
.group-card .row-next{color:var(--ink)!important}
.group-card.selected{background:var(--ink)!important;border-color:var(--ink)!important}
.group-card.selected .group-title,.group-card.selected .muted,.group-card.selected .address,.group-card.selected .row-next{color:#fff!important}
.group-card.selected .pill{background:#ffffff1a!important;color:#fff!important}
/* event feed */
.compact-event-list{gap:10px!important}
.compact-event-list .event-list-item{padding:0!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--white)!important;box-shadow:none!important;overflow:hidden!important}
.compact-event-list .event-list-card{display:grid!important;grid-template-columns:minmax(0,1fr) 66px!important;gap:6px!important;min-height:0!important;padding:12px!important;background:transparent!important;box-shadow:none!important}
.compact-event-list .event-list-open{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;width:100%!important}
.event-list-date{display:grid!important;align-content:center!important;justify-items:center!important;gap:2px!important;width:58px!important;height:64px!important;border:1px solid var(--line-strong)!important;border-radius:12px!important;background:var(--white)!important}
.event-list-date b{font-family:var(--f-display)!important;font-size:22px!important;line-height:1!important;font-weight:700!important;color:var(--ink)!important}
.event-list-date span{font-size:9px!important;font-weight:600!important;line-height:1.1!important;text-transform:uppercase!important;color:var(--muted)!important}
.event-list-date small{font-size:10px!important;line-height:1.1!important;color:var(--muted)!important}
.event-list-copy{display:grid!important;gap:4px!important;min-width:0!important}
.event-list-meta{display:flex!important;align-items:center!important;gap:6px!important;font-size:10px!important;font-weight:600!important;line-height:1.2!important;letter-spacing:.04em!important;text-transform:uppercase!important;color:var(--muted)!important}
.event-list-price{margin-left:auto!important;padding:3px 7px!important;border-radius:999px!important;background:var(--surface)!important;color:var(--ink)!important;font-size:10px!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important}
.event-list-title{font-family:var(--f-display)!important;font-size:18px!important;line-height:19px!important;font-weight:700!important;text-transform:uppercase!important;color:var(--ink)!important;letter-spacing:0!important}
.event-list-location{display:flex!important;align-items:center!important;gap:4px!important;font-size:10px!important;line-height:1.3!important;color:var(--muted)!important}
.event-list-location .ui-icon{width:12px!important;height:12px!important;flex:0 0 12px!important}
.going-count{display:inline-flex!important;align-items:center!important;gap:5px!important;font-size:10px!important;font-weight:600!important;line-height:1.2!important;color:var(--ink)!important}
.going-count:before{content:""!important;width:7px!important;height:7px!important;border-radius:50%!important;background:var(--accent)!important;box-shadow:0 0 0 3px #8dff0040!important}
.event-owner-tag{font-size:9px!important;font-weight:600!important;color:var(--muted)!important;text-transform:none!important;letter-spacing:0!important}
.compact-event-list .event-card-actions{display:grid!important;align-content:center!important;justify-items:center!important;gap:5px!important;width:66px!important;min-width:0!important;padding:0!important}
.event-save-button{width:28px!important;height:28px!important;color:var(--muted)!important}
.event-save-button .ui-icon{width:20px!important;height:20px!important}
.event-intent-button{width:62px!important;min-width:0!important;height:28px!important;padding:0 4px!important;border:1px solid var(--line-strong)!important;border-radius:999px!important;background:var(--white)!important;color:var(--ink)!important;font-size:9px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important}
.event-intent-button.is-active{background:var(--accent)!important;border-color:var(--accent)!important;color:var(--accent-ink)!important}
/* article */
.news-card{border:1px solid var(--line)!important;border-radius:16px!important;background:var(--white)!important;box-shadow:none!important;overflow:hidden!important}
.news-copy h2{font-family:var(--f-display)!important;font-size:22px!important;line-height:24px!important;text-transform:uppercase!important;color:var(--ink)!important}
.news-copy p{font-size:14px!important;line-height:20px!important;color:var(--text)!important}
.news-copy>span{font-size:10px!important;letter-spacing:.06em!important;color:var(--muted)!important}
.media-event-tag{border:1px solid var(--line)!important;background:var(--white)!important;border-radius:999px!important}
.media-event-cta{min-height:48px!important;border-radius:10px!important}
/* prompts */
.event-intent-coach,.scenario-hint{position:static!important;margin:0 0 14px!important;padding:14px!important;border:0!important;border-radius:16px!important;background:var(--surface)!important;color:var(--ink)!important}
.event-intent-coach strong{font-size:15px!important}.event-intent-coach p{font-size:12px!important;line-height:17px!important;color:var(--muted)!important}
/* dark blocks out */
.event-next,.continue-block,.event-next-block{background:var(--surface)!important;color:var(--ink)!important;border-radius:16px!important;padding:16px!important}
.event-next h2,.event-next .eyebrow{color:var(--ink)!important}
.event-next .eyebrow{color:var(--muted)!important}
.event-next-grid button{background:var(--white)!important;border:1px solid var(--line)!important;color:var(--ink)!important}
.event-next-grid button>span{background:var(--accent)!important;color:var(--accent-ink)!important}
.event-next-grid button small{color:var(--muted)!important}.event-next-grid button:after{color:var(--ink)!important}
.temperament-screen{background:var(--white)!important}.temperament-screen .band{background:var(--surface)!important}
/* bottom nav */
.bottomnav{height:64px!important;min-height:64px!important;border-top:1px solid var(--line)!important;background:var(--white)!important}
.bottomnav .nav-btn,.bottomnav .nav-btn.active{height:64px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--muted)!important;font-size:10px!important;font-weight:600!important}
.bottomnav .nav-btn.active{color:var(--ink)!important;font-weight:700!important}
.bottomnav .nav-btn.active:after{background:var(--ink)!important;width:28px!important;height:3px!important;border-radius:0 0 3px 3px!important}
.bottomnav .nav-icon,.bottomnav .nav-icon svg{width:22px!important;height:22px!important}
.chats-meetings-link{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;min-height:48px!important;margin:0 0 12px!important;padding:10px 12px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--white)!important;color:var(--ink)!important;font:inherit!important;font-size:12px!important;font-weight:600!important;text-align:left!important}
.chats-meetings-link .row-next{margin-left:auto!important;width:16px!important;height:16px!important}
/* empty hero */
.event-hero-empty{display:grid!important;align-content:end!important;padding:18px!important;background:linear-gradient(135deg,#eef3ef,#f8faf7 55%,#e5f6c9)!important;color:var(--ink)!important;min-height:160px!important}
.event-hero-empty span{font-family:var(--f-display)!important;font-size:26px!important;line-height:1!important;text-transform:uppercase!important}
.event-list-meta .event-list-price:before,.event-list-price:before{content:none!important;display:none!important}
.propose-progress{display:flex;align-items:center;gap:10px;margin:0 0 18px;font-size:11px;font-weight:600;color:var(--muted)}
.propose-progress>span{white-space:nowrap}.propose-progress b{color:var(--ink)}
.propose-progress>i{flex:1;height:4px;border-radius:99px;background:var(--surface);overflow:hidden}
.propose-progress>i>span{display:block;height:100%;border-radius:inherit;background:var(--ink);transition:width .2s ease}
.propose-step[hidden]{display:none!important}
.propose-step-actions{display:flex;gap:8px;margin-top:18px}
.propose-step-actions .btn{flex:1;min-height:48px;border-radius:10px}
.after-card{padding:16px!important;margin:0 0 20px!important}
.after-card h2{font-family:var(--f-display)!important;font-size:22px!important;line-height:24px!important;text-transform:uppercase!important;margin:0 0 12px!important}
.after-card h3{font-size:11px!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:var(--muted)!important;margin:18px 0 8px!important}
.after-choices{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
.after-choices button,.after-scale button{min-height:44px!important;border:1px solid var(--line-strong)!important;border-radius:10px!important;background:var(--white)!important;color:var(--ink)!important;font-size:13px!important;font-weight:600!important}
.after-choices button.active,.after-scale button.active{background:var(--ink)!important;border-color:var(--ink)!important;color:#fff!important}
.after-scale{display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:6px!important}
.after-scale button{min-width:0!important;font-family:var(--f-display)!important;font-size:18px!important}
.after-consent{display:flex!important;align-items:flex-start!important;gap:8px!important;margin:16px 0!important;font-size:12px!important;line-height:17px!important;color:var(--text)!important}
.after-consent input{width:20px!important;height:20px!important;margin:0!important;flex:0 0 20px!important}
.after-save{width:100%!important;margin-top:4px!important}
.after-next h2{font-family:var(--f-display)!important;font-size:22px!important;text-transform:uppercase!important;margin:0 0 10px!important}
.after-next-card{display:grid!important;grid-template-columns:52px minmax(0,1fr) 18px!important;gap:10px!important;align-items:center!important;width:100%!important;margin:0 0 8px!important;padding:10px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--white)!important;color:var(--ink)!important;text-align:left!important}
.after-next-card .event-list-date{width:52px!important;height:56px!important}
.after-next-card>span:nth-child(2){display:grid!important;gap:3px!important;min-width:0!important}
.after-next-card small{font-size:10px!important;color:var(--muted)!important}
.after-next-card strong{font-family:var(--f-display)!important;font-size:16px!important;line-height:18px!important;text-transform:uppercase!important}
.after-next-card .row-next{width:16px!important;height:16px!important}
.past-after-links{display:grid;gap:8px;margin-top:12px}
.past-after-links .btn{min-height:44px!important;text-align:left!important;justify-content:flex-start!important;padding:10px 12px!important;font-size:12px!important;white-space:normal!important}
/* admin demo */
.admin-demo-banner{display:flex;align-items:center;gap:8px;padding:7px 14px;background:#f2ffe0;border-bottom:1px solid #d8f0b8;color:#2f4710;font-size:10px;line-height:1.3}
.admin-demo-banner b{font-size:11px;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}
.admin-demo-banner span{color:#4f6630}
.admin-demo .admin-screen{background:var(--white)!important}
.admin-demo .admin-screen form input,.admin-demo .admin-screen form textarea{background:var(--surface)!important;color:var(--muted)!important;cursor:not-allowed}
.admin-demo .admin-screen form select{background:var(--surface)!important;color:var(--muted)!important;cursor:not-allowed}
.admin-demo .admin-screen button:not([data-go]){cursor:not-allowed!important}
.admin-demo .admin-screen form button[type=submit]{opacity:.55}
.admin-demo-empty{display:flex;align-items:center;gap:14px;margin:18px 0;padding:16px;border:1px dashed var(--line-strong);border-radius:16px;background:var(--white)}
.admin-demo-empty .empty-icon{margin:0;flex:0 0 52px;width:52px;height:52px}
.admin-demo-empty h2{font-family:var(--f-display)!important;font-size:20px!important;line-height:22px!important;text-transform:uppercase!important;margin:0 0 4px!important}
.admin-demo-empty p{margin:0;font-size:12px;line-height:17px;color:var(--muted)}
/* desktop admin workspace */
.admin-shell{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100vh;background:#f6f6f4;color:var(--ink);font-family:var(--f-text)}
.admin-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:18px 12px 14px;background:#fff;border-right:1px solid var(--line);z-index:30}
.admin-brand{padding:0 8px 22px}.admin-brand a{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink)}.admin-brand strong{font-family:var(--f-display);font-size:17px;line-height:16px;text-transform:uppercase;letter-spacing:.02em}.admin-brand span{font-size:8px;font-weight:700;letter-spacing:.14em;border:1px solid var(--ink);border-radius:999px;padding:3px 6px}.admin-brand small{display:block;margin-top:8px;color:var(--muted);font-size:10px;letter-spacing:.04em;text-transform:uppercase}
.admin-nav{display:flex;flex-direction:column;gap:18px;overflow:auto;scrollbar-width:none}.admin-nav-group{display:grid;gap:2px}.admin-nav-group>b{padding:0 9px 5px;color:var(--faint);font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.admin-nav-item{display:flex;align-items:center;gap:8px;width:100%;min-height:34px;padding:6px 9px;border:0;border-radius:8px;background:transparent;color:var(--text);font:inherit;font-size:12px;text-align:left;cursor:pointer}.admin-nav-item:hover{background:var(--surface)}.admin-nav-item.is-active{background:var(--ink);color:#fff;font-weight:600}.admin-nav-item em{margin-left:auto;display:grid;place-items:center;min-width:20px;height:18px;padding:0 5px;border-radius:999px;background:var(--surface);color:var(--muted);font-size:9px;font-style:normal;font-weight:700}.admin-nav-item.is-active em{background:#ffffff24;color:#fff}
.admin-sidebar-foot{margin-top:auto;display:grid;gap:8px;padding:14px 8px 0;border-top:1px solid var(--line)}.admin-sidebar-foot>div{display:grid;gap:2px}.admin-sidebar-foot b{font-size:11px}.admin-sidebar-foot small{font-size:9px;color:var(--muted)}.admin-exit{min-height:30px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);font:inherit;font-size:10px;cursor:pointer}.admin-exit:hover{color:var(--ink);border-color:var(--line-strong)}
.admin-main{min-width:0;display:flex;flex-direction:column}
.admin-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:62px;padding:0 28px;background:#fffffff2;border-bottom:1px solid var(--line);backdrop-filter:blur(8px)}
.admin-breadcrumb{display:flex;align-items:center;gap:8px;min-width:0;font-size:11px;color:var(--muted)}.admin-breadcrumb span{white-space:nowrap}.admin-breadcrumb i{font-style:normal;color:var(--line-strong)}.admin-breadcrumb b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:13px;font-weight:600}.admin-demo-badge{margin-left:4px;padding:3px 7px;border-radius:999px;background:#f2ffe0;color:#3c5a10;font-size:9px;font-style:normal;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.admin-header-tools{display:flex;align-items:center;gap:8px}.admin-global-search{display:flex;align-items:center;gap:6px;width:210px;height:34px;padding:0 9px;border:1px solid var(--line-strong);border-radius:8px;background:#fff;color:var(--faint);font-size:10px}.admin-global-search input{min-width:0;flex:1;height:30px;border:0;padding:0;background:transparent;font-size:11px;color:var(--muted);outline:none}.admin-header-user{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);cursor:pointer}
.admin-content{padding:26px 32px 56px;max-width:1500px;width:100%;margin:0 auto;min-width:0}.admin-content .screen{padding:0;max-width:none;min-height:0}.admin-content .h1{font-size:34px!important;line-height:32px!important}.admin-content .lead{max-width:780px}.admin-content .admin-page-head{align-items:center;margin-bottom:18px}.admin-content .admin-add{min-height:38px;padding:8px 13px;border-radius:8px;font-size:11px}
.admin-content .admin-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 20px}.admin-content .admin-metrics>button,.admin-content .admin-metrics>div{padding:16px;border-radius:12px;background:#fff}.admin-content .admin-metrics b{font-family:var(--f-display);font-size:30px;line-height:1;color:var(--ink)}
.admin-content .admin-queue-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.admin-content .admin-queue-grid button{min-height:64px;border-radius:10px;background:#fff}.admin-content .admin-queue-grid b{font-family:var(--f-display);font-size:24px;line-height:1;color:var(--ink)}.admin-content .admin-queue-grid b.has-items{color:var(--danger)}
.admin-content .admin-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.admin-content .admin-actions .choice-card{min-height:82px;padding:12px;border-radius:12px;background:#fff;border:1px solid var(--line)}
.admin-content .admin-record-list{display:grid;gap:0;margin-top:12px;border-top:1px solid var(--ink)}.admin-content .admin-record{display:grid;gap:7px;padding:14px 4px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.admin-content .admin-record:hover{background:#f7f7f5}.admin-content .admin-record h2{font-size:14px;line-height:19px}.admin-content .admin-record p{font-size:11px;line-height:16px}.admin-content .admin-record-head{align-items:center}
.admin-content .admin-inline-actions{gap:6px}.admin-content .admin-inline-actions button{min-height:30px;padding:5px 9px;border-radius:7px;background:#fff;font-size:10px;font-weight:600}.admin-content .admin-inline-actions button.danger{color:var(--danger);border-color:#f0c9c7;background:#fff}
.admin-status{background:none!important;padding:0!important;color:var(--muted)!important;font-size:10px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:6px!important}.admin-status:before{content:"";width:8px;height:8px;border-radius:50%;background:#A7A9A6;flex:0 0 8px}.admin-status.published:before,.admin-status.active:before,.admin-status.resolved:before{background:#4DBB2C}.admin-status.pending:before,.admin-status.draft:before{background:#E8A400}.admin-status.blocked:before,.admin-status.cancelled:before,.admin-status.open:before,.admin-status.rejected:before{background:#C8352F}.admin-status.dismissed:before,.admin-status.closed:before,.admin-status.archived:before{background:#A7A9A6}
.admin-content .admin-funnel{background:#fff!important;color:var(--ink)!important;border:1px solid var(--line);border-radius:12px;padding:16px;margin:18px 0}.admin-content .admin-funnel .eyebrow{color:var(--muted)!important}.admin-content .admin-funnel-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.admin-content .admin-funnel-grid article{padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff}.admin-content .admin-funnel-grid article>span{color:var(--faint)!important}.admin-content .admin-funnel-grid b{font-family:var(--f-display);color:var(--ink)!important;font-size:22px;line-height:1}.admin-content .admin-funnel-grid small{color:var(--muted)!important;font-size:9px}
.admin-content .admin-compose{margin:14px 0 22px;padding:16px;border-radius:12px;background:#fff}
.admin-content .admin-role-row select{height:32px;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:11px}
.admin-wait{display:inline-flex;align-items:center;min-height:20px;padding:2px 7px;border-radius:999px;background:var(--surface);color:var(--muted);font-size:9px;font-weight:600;white-space:nowrap}.admin-wait.is-old{background:#FBEDEC;color:var(--danger)}
.admin-reason-dialog{border:0;padding:0;border-radius:14px;max-width:440px;width:calc(100% - 32px);box-shadow:0 30px 80px #0003}.admin-reason-dialog::backdrop{background:#0a0b0d80}.admin-reason-inner{padding:20px;display:grid;gap:12px}.admin-reason-inner h2{font-family:var(--f-display);font-size:22px;line-height:24px;text-transform:uppercase;margin:0}.admin-reason-inner p{font-size:12px;line-height:17px;color:var(--muted);margin:0}.admin-reason-inner select,.admin-reason-inner textarea{width:100%;min-height:40px;border:1px solid var(--line-strong);border-radius:8px;padding:8px;font:inherit;font-size:12px}.admin-reason-actions{display:flex;gap:8px;justify-content:flex-end}.admin-reason-actions button{min-height:38px;padding:8px 12px;border-radius:8px;border:1px solid var(--line);background:#fff;font:inherit;font-size:12px;font-weight:600}.admin-reason-actions .confirm{background:var(--ink);border-color:var(--ink);color:#fff}
.admin-empty-panel{padding:24px;border:1px dashed var(--line-strong);border-radius:12px;color:var(--muted);font-size:12px;text-align:center}
@media(max-width:1180px){.admin-content .admin-funnel-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-content .admin-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.admin-shell{display:block}.admin-sidebar{position:static;height:auto;padding:10px 12px;border-right:0;border-bottom:1px solid var(--line);overflow-x:auto}.admin-brand{padding:0 0 8px}.admin-brand small{display:none}.admin-nav{display:flex;flex-direction:row;gap:6px;overflow-x:auto;padding-bottom:2px}.admin-nav-group{display:contents}.admin-nav-group>b{display:none}.admin-nav-item{width:auto;min-height:30px;padding:5px 8px;font-size:10px;white-space:nowrap}.admin-nav-item em{display:none}.admin-sidebar-foot{display:none}.admin-header{min-height:56px;padding:0 16px}.admin-global-search{display:none}.admin-content{padding:18px 16px 40px}.admin-content .h1{font-size:28px!important;line-height:27px!important}.admin-content .admin-metrics{grid-template-columns:1fr 1fr}.admin-content .admin-queue-grid{grid-template-columns:1fr 1fr}.admin-content .admin-actions{grid-template-columns:1fr}.admin-content .admin-funnel-grid{grid-template-columns:1fr 1fr}}
.admin-period{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.admin-period button{min-height:26px;padding:4px 8px;border:0;border-radius:5px;background:transparent;color:var(--muted);font:inherit;font-size:9px;font-weight:600}.admin-period button.is-active{background:#fff;color:var(--ink);box-shadow:0 1px 2px #0001}
.admin-funnel-grid article em{display:block;margin-top:3px;color:var(--faint);font-size:8px;font-style:normal}.admin-media-funnel{display:flex;align-items:center;gap:18px;margin-top:10px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.admin-media-funnel span{display:grid;gap:1px}.admin-media-funnel b{font-family:var(--f-display);font-size:18px}.admin-media-funnel small{font-size:9px;color:var(--muted)}.admin-media-funnel em{margin-left:auto;font-size:9px;font-style:normal;color:var(--faint)}
.admin-tabs{display:flex;gap:14px;margin:14px 0 0;border-bottom:1px solid var(--line)}.admin-tabs button{position:relative;min-height:34px;padding:5px 0;border:0;background:transparent;color:var(--muted);font:inherit;font-size:11px;font-weight:600}.admin-tabs button em{margin-left:5px;font-style:normal;font-size:9px;color:var(--faint)}.admin-tabs button.is-active{color:var(--ink)}.admin-tabs button.is-active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--ink)}
.admin-report-context{display:flex;flex-wrap:wrap;gap:6px 18px;padding:8px 10px;border-radius:8px;background:var(--surface)}.admin-report-context p{margin:0!important;font-size:10px!important}.admin-record blockquote{margin:6px 0;padding:9px 11px;border-left:2px solid var(--line-strong);background:var(--surface);border-radius:0 6px 6px 0;font-size:11px;color:var(--text)}
.admin-closed-note{margin:4px 0 0!important;padding:8px 10px;border-radius:7px;background:var(--surface);font-size:10px!important;color:var(--muted)!important}
.admin-news-preview{display:grid;gap:5px;max-width:520px;margin:10px 0 20px;padding:14px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.admin-news-preview small{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.admin-news-preview strong{font-family:var(--f-display);font-size:20px;line-height:1.1;text-transform:uppercase}.admin-news-preview p{margin:0;font-size:11px;line-height:16px;color:var(--text)}
.admin-shell [hidden]{display:none!important}
.admin-club-tools{display:flex;align-items:center;gap:8px}.admin-club-report{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}.admin-club-report h2{font-family:var(--f-display);font-size:22px;line-height:24px;text-transform:uppercase;margin:0}.admin-table{width:100%;border-collapse:collapse;margin:12px 0 6px;font-size:11px}.admin-table th{padding:7px 8px;border-bottom:1px solid var(--ink);text-align:left;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.admin-table td{padding:8px;border-bottom:1px solid var(--line);color:var(--text)}.admin-table td:nth-child(2){font-weight:600;color:var(--ink)}.admin-report-note{margin:6px 0 0;font-size:9px;color:var(--faint)}
@media print{.admin-sidebar,.admin-header,.admin-club-tools,.admin-actions,.admin-demo-banner{display:none!important}.admin-shell{display:block}.admin-content{padding:0}.admin-club-report{border:0}}
.admin-split{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:20px;align-items:start}.admin-table-wrap{min-width:0;overflow-x:auto}.admin-select-table{margin-top:0}.admin-select-table tbody tr{cursor:pointer}.admin-select-table tbody tr:hover,.admin-select-table tbody tr.is-selected{background:#f7f7f5}.admin-select-table tbody tr.is-selected{box-shadow:inset 3px 0 var(--ink)}.admin-select-table td strong{display:block;font-size:12px;color:var(--ink)}.admin-select-table td small{display:block;margin-top:2px;font-size:10px;color:var(--muted)}.admin-panel{position:sticky;top:80px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff;display:grid;gap:10px}.admin-panel-head{display:flex;align-items:center;gap:8px}.admin-panel h2{font-family:var(--f-display);font-size:24px;line-height:24px;text-transform:uppercase;margin:0}.admin-panel-meta{margin:0;color:var(--muted);font-size:11px}.admin-panel-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;border-radius:8px;background:var(--surface)}.admin-panel-facts span{display:grid;gap:1px}.admin-panel-facts small{font-size:9px;color:var(--muted)}.admin-panel-facts b{font-size:11px}.admin-panel-copy{margin:0;font-size:11px;line-height:16px;color:var(--text)}.admin-panel-actions{display:flex;gap:8px;justify-content:flex-end;padding-top:8px;border-top:1px solid var(--line)}.admin-panel-actions .btn{width:auto;min-height:36px;padding:8px 12px;font-size:11px}.admin-row-menu{position:relative;margin-left:auto}.admin-row-menu summary{list-style:none;display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line);border-radius:7px;cursor:pointer}.admin-row-menu summary::-webkit-details-marker{display:none}.admin-row-menu>div{position:absolute;right:0;top:32px;z-index:10;min-width:170px;padding:5px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 12px 30px #0002}.admin-row-menu>div button{width:100%;min-height:32px;border:0;border-radius:6px;background:#fff;color:var(--ink);text-align:left;font:inherit;font-size:10px;padding:6px 8px}.admin-row-menu>div button.danger{color:var(--danger)}.admin-row-menu>div button:hover{background:var(--surface)}
@media(max-width:1180px){.admin-split{grid-template-columns:1fr}.admin-panel{position:static}}
@media(max-width:1180px){.admin-content .admin-funnel-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-content .admin-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.admin-funnel .admin-page-head{display:grid!important;gap:8px!important}.admin-period{flex-wrap:wrap;max-width:100%}.admin-media-funnel{flex-wrap:wrap;gap:8px}.admin-media-funnel em{margin-left:0;flex-basis:100%}.admin-club-tools{flex-wrap:wrap}.admin-split{grid-template-columns:1fr}.admin-panel{position:static}}
body:has(.admin-shell){overflow-x:hidden}
@media(max-width:900px){.admin-content .admin-actions .row-next{display:none!important}}
.admin-web-login{min-height:100svh;display:grid;place-items:center;padding:24px;background:#f6f6f4}.admin-web-login-card{width:min(100%,420px);padding:28px;border:1px solid var(--line);border-radius:16px;background:#fff;display:grid;gap:12px}.admin-web-brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink)}.admin-web-brand strong{font-family:var(--f-display);font-size:22px;line-height:19px;text-transform:uppercase}.admin-web-brand span{font-size:8px;font-weight:700;letter-spacing:.14em;border:1px solid var(--ink);border-radius:999px;padding:3px 6px}.admin-web-login-card h1{font-family:var(--f-display);font-size:30px;line-height:29px;text-transform:uppercase;margin:0}.admin-web-login-card .lead{font-size:13px;line-height:19px;margin:0 0 4px}.admin-web-login-card .btn{width:100%}.admin-web-note{font-size:10px;line-height:15px;color:var(--muted);margin:0}.admin-web-back{font-size:11px;color:var(--muted);text-align:center;text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* R1 B12: category placeholders instead of a grey block */
.event-photo.is-empty.ph-sport{background:linear-gradient(145deg,#dfeae0 0%,#f4f7f2 55%,#d8efb8 100%)}
.event-photo.is-empty.ph-concert{background:linear-gradient(145deg,#f3e6ea 0%,#fbf7f4 55%,#f5c9d8 100%)}
.event-photo.is-empty.ph-festival{background:linear-gradient(145deg,#f6edd6 0%,#fffaf0 55%,#ffd89b 100%)}
.event-photo.is-empty.ph-theatre{background:linear-gradient(145deg,#eee5f5 0%,#faf7ff 55%,#d9c4ef 100%)}
.event-photo.is-empty.ph-show{background:linear-gradient(145deg,#f1e4f4 0%,#fff8ff 55%,#e7b8ef 100%)}
.event-photo.is-empty.ph-exhibition{background:linear-gradient(145deg,#e7eef2 0%,#f8fbfd 55%,#c5dfeb 100%)}
.event-photo.is-empty.ph-business{background:linear-gradient(145deg,#e9ece9 0%,#fafbf8 55%,#d5ddd2 100%)}
.event-photo.is-empty.ph-city{background:linear-gradient(145deg,#e5eceb 0%,#f9fbfa 55%,#bfe3d0 100%)}
.event-photo.is-empty.ph-other{background:linear-gradient(145deg,#e8e8e5 0%,#fafaf8 55%,#d8d8d0 100%)}
.event-photo.is-empty .event-photo-empty{color:#173022;opacity:.82}
.event-photo-empty small{font-size:10px;letter-spacing:.12em;opacity:.7}
.event-photo-empty strong{font-size:clamp(24px,5.2vw,42px);line-height:.95}
.event-hero-empty{display:grid;align-content:end;min-height:280px;padding:22px;background-color:#f3f6ef}
.event-hero-empty.ph-sport{background:linear-gradient(135deg,#e5efe4,#fbfcf7 52%,#d5efb4)}
.event-hero-empty.ph-concert{background:linear-gradient(135deg,#f5e6ec,#fff9f6 52%,#f5ceded)}
.event-hero-empty.ph-festival{background:linear-gradient(135deg,#f7efd9,#fffdf4 52%,#ffdca0)}
.event-hero-empty.ph-theatre{background:linear-gradient(135deg,#f0e7f7,#fcf9ff 52%,#dac7f0)}
.event-hero-empty.ph-show{background:linear-gradient(135deg,#f3e7f6,#fff9ff 52%,#e8bfef)}
.event-hero-empty.ph-exhibition{background:linear-gradient(135deg,#e9f0f4,#fbfdff 52%,#c7e1ec)}
.event-hero-empty.ph-business{background:linear-gradient(135deg,#ebeeea,#fbfcfa 52%,#d7dfd4)}
.event-hero-empty.ph-city{background:linear-gradient(135deg,#e7efed,#fbfdfc 52%,#c2e5d3)}
.event-hero-empty.ph-other{background:linear-gradient(135deg,#eaeae7,#fbfbf9 52%,#dcdcd4)}
.event-hero-empty span{position:relative;z-index:1;color:#173022;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}

/* R2: highlighted, official and past event states */
.event-list-card{position:relative}
.event-list-item.is-highlighted .event-list-card{border-color:#0a0b0d!important;box-shadow:0 0 0 1px #0a0b0d}
.event-list-item.is-official .event-list-card{border-bottom:3px solid #3a3a3c!important}
.event-list-item.is-past .event-list-card{background:#f7f7f5!important;filter:saturate(.35);opacity:.78}
.event-list-flags{display:flex;flex-wrap:wrap;gap:5px;margin:5px 0 4px}
.badge-official,.badge-past{display:inline-flex;align-items:center;gap:5px;min-height:22px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.02em;line-height:1.2}
.badge-official{border:1px solid #ffffffb8;background:#ffffffc7;color:#0A0B0D;box-shadow:0 2px 8px #0a0b0d12;backdrop-filter:blur(10px)}
.badge-official:before{content:"";width:6px;height:6px;border-radius:50%;background:#3a3a3c}
.badge-past{background:#e8e9e6;color:#5d615c}
.event-detail.is-official .event-hero{border-bottom:3px solid #3a3a3c}
.event-detail.is-past .event-hero{filter:saturate(.35);opacity:.8}
.event-detail-head .badge-official,.event-detail-head .badge-past{margin-top:8px}
.admin-event-flag{display:inline-block;padding:1px 6px;border-radius:999px;background:#f4e4d9;color:#8b3b0d;font-size:10px;font-weight:700}
.admin-event-flag.official{background:#e1f7fd;color:#075f73}

/* Compare fixes: event screen, feed guide, profile stats, fallback photos */
.events-first-guide{display:none!important}
.event-detail-head h1{font-family:var(--f-display)!important;text-transform:uppercase!important;letter-spacing:0!important}
.guest-action-card{background:#fff!important;border-color:var(--line)!important}
.matchday-card{background:#fff!important;border-color:var(--line)!important}
.event-info-link{background:#fff!important;color:var(--ink)!important;border:1px solid var(--line-strong)!important}
.event-info-link:hover{background:var(--surface)!important}
.profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px}
.profile-stats span{display:grid;gap:2px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:#fff}
.profile-stats b{font-family:var(--f-display);font-size:28px;line-height:1}
.profile-stats small{color:var(--muted);font-size:11px}
.event-photo.is-empty.ph-sport,.event-hero-empty.ph-sport{background-image:linear-gradient(180deg,#0a0b0d22,#0a0b0d00 55%),url('/assets/ph-sport.jpg')!important;background-size:cover!important;background-position:center!important}
.event-photo.is-empty.ph-concert,.event-hero-empty.ph-concert{background-image:linear-gradient(180deg,#0a0b0d22,#0a0b0d00 55%),url('/assets/ph-concert.jpg')!important;background-size:cover!important;background-position:center!important}
.event-photo.is-empty.ph-festival,.event-hero-empty.ph-festival{background-image:linear-gradient(180deg,#0a0b0d22,#0a0b0d00 55%),url('/assets/ph-festival.jpg')!important;background-size:cover!important;background-position:center!important}
.event-photo.is-empty.ph-theatre,.event-hero-empty.ph-theatre{background-image:linear-gradient(180deg,#0a0b0d22,#0a0b0d00 55%),url('/assets/ph-theatre.jpg')!important;background-size:cover!important;background-position:center!important}
.event-photo.is-empty.ph-show,.event-photo.is-empty.ph-exhibition,.event-photo.is-empty.ph-business,.event-photo.is-empty.ph-city,.event-photo.is-empty.ph-other,.event-hero-empty.ph-show,.event-hero-empty.ph-exhibition,.event-hero-empty.ph-business,.event-hero-empty.ph-city,.event-hero-empty.ph-other{background-image:linear-gradient(180deg,#0a0b0d22,#0a0b0d00 55%),url('/assets/ph-sport.jpg')!important;background-size:cover!important;background-position:center!important}

/* Search tabs and recent queries */
.search-type-tabs{display:flex;gap:6px;overflow:auto;margin:0 0 14px;padding:0 0 2px}
.search-type-tabs .chip{flex:0 0 auto}.search-type-tabs .chip b{font-weight:700;opacity:.65}
.search-recent{margin:26px 0 8px}.search-recent .section-head{margin:0 0 8px}
/* Auto-saved participation and sticky event actions */
.participation-save .btn{display:none!important}
.participation-save .participation-dirty{display:block;margin-top:2px}
.event-sticky-actions{position:fixed;left:12px;right:12px;bottom:calc(78px + var(--safe-bottom));z-index:22;display:flex;gap:8px;padding:6px;border:1px solid var(--line);border-radius:18px;background:#fffffff2;backdrop-filter:blur(14px);box-shadow:0 8px 24px #00000012}
.event-sticky-actions button{flex:1;min-height:42px;border:1px solid var(--line-strong);border-radius:12px;background:#fff;color:var(--ink);font:700 12px/1 "Golos Text",Arial,sans-serif}
.event-sticky-actions button:first-child{background:var(--ink);color:#fff;border-color:var(--ink)}
@media(min-width:900px){.event-sticky-actions{display:none}}
.event-detail .guest-action-card,.event-detail .matchday-card{background:#fff!important;background-image:none!important;border-color:var(--line)!important}

.event-hero .photo-chip{position:absolute;z-index:3;display:flex;align-items:center;gap:5px;border-radius:999px;padding:6px 10px;background:#ffffffd9;border:1px solid #ffffffb8;color:#0A0B0D;font-size:11px;font-weight:700;backdrop-filter:blur(14px);box-shadow:0 4px 16px #0a0b0d1a}
.event-hero .photo-chip.date{left:12px;top:12px;flex-direction:column;align-items:flex-start;gap:0;line-height:1;text-transform:uppercase;font-size:9px;padding:7px 10px}
.event-hero .photo-chip.date b{font-family:var(--f-display);font-size:22px;line-height:.9}
.event-hero .photo-chip.going{right:12px;bottom:12px}
.event-hero .photo-chip.going:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--volt)}
.event-hero-empty .photo-chip,.event-hero-empty>span:not(.photo-chip){color:#0A0B0D}

/* Compact feed photo + glass capsules */
.compact-event-list .event-list-card{grid-template-columns:104px minmax(0,1fr) 32px!important;gap:10px!important;align-items:stretch!important}
.compact-event-list .event-list-open{display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;gap:10px!important;align-items:stretch!important}
.compact-event-list .event-list-photo{position:relative;min-height:86px;border-radius:12px;background-size:cover!important;background-position:center!important;overflow:hidden}
.compact-event-list .event-list-photo .photo-chip{position:absolute;z-index:2;display:flex;align-items:center;gap:4px;border-radius:999px;background:#ffffffd9;border:1px solid #ffffffb8;color:#0A0B0D;font-size:9px;font-weight:700;line-height:1;backdrop-filter:blur(12px)}
.compact-event-list .event-list-photo .photo-chip.date{left:7px;top:7px;flex-direction:column;align-items:flex-start;gap:0;padding:5px 7px;text-transform:uppercase}
.compact-event-list .event-list-photo .photo-chip.date b{font-family:var(--f-display);font-size:17px;line-height:.9}
.compact-event-list .event-list-photo .photo-chip.going{right:7px;bottom:7px;padding:4px 6px;font-size:8px}
.compact-event-list .event-list-photo .photo-chip.going:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--volt)}
.compact-event-list .event-list-copy{padding:2px 0!important;align-content:center}
.compact-event-list .event-list-copy .event-list-meta{margin-bottom:0}
.compact-event-list .event-list-location{margin-top:auto}
.compact-event-list .event-list-title{font-size:16px!important}
@media(max-width:380px){.compact-event-list .event-list-card{grid-template-columns:88px minmax(0,1fr) 28px!important}.compact-event-list .event-list-open{grid-template-columns:88px minmax(0,1fr)!important}.compact-event-list .event-list-photo{min-height:80px}}
.compact-event-list .event-list-card{grid-template-columns:104px minmax(0,1fr) 84px!important}
.compact-event-list .event-list-open{grid-column:1/3!important;display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;gap:10px!important}
.compact-event-list .event-list-card>.event-card-actions{grid-column:3!important;grid-row:1!important;align-self:center!important;width:auto!important;min-width:0!important}
.compact-event-list .event-card-actions button{font-size:10px!important;padding:7px 8px!important}
@media(max-width:380px){.compact-event-list .event-list-card{grid-template-columns:88px minmax(0,1fr) 72px!important}.compact-event-list .event-list-open{grid-template-columns:88px minmax(0,1fr)!important}}

/* Support tickets: full-width cards instead of the 3-column admin grid */
.admin-support-list{grid-template-columns:1fr!important;gap:12px!important;border-top:0!important;margin-top:12px!important}
.admin-support-list .admin-record{border:1px solid var(--line)!important;border-radius:16px!important;background:#fff!important;padding:16px 18px!important;gap:10px!important}
.admin-support-list .admin-record:hover{background:#fbfbf9!important}
.admin-support-list .admin-record .admin-reply{min-height:84px;max-width:760px}
.admin-support-list .admin-record .admin-inline-actions{max-width:760px}

.event-hero .event-hero-image{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;display:block}
.event-hero>span{z-index:2}

/* Feed action column: the intent button must not overflow its 84px column */
.compact-event-list .event-card-actions{justify-items:stretch!important;width:100%!important;align-content:center!important}
.compact-event-list .event-intent-button{width:100%!important;min-width:0!important;min-height:30px!important;height:auto!important;border-radius:999px!important;padding:6px 5px!important;font-size:10px!important;line-height:1!important;white-space:nowrap!important}
.compact-event-list .event-save-button{justify-self:center!important}
@media(max-width:520px){
 .compact-event-list .event-list-card{grid-template-columns:88px minmax(0,1fr) 80px!important;gap:8px!important}
 .compact-event-list .event-list-open{grid-template-columns:88px minmax(0,1fr)!important;gap:8px!important}
 .compact-event-list .event-list-photo{min-height:80px!important}
 .compact-event-list .event-intent-button{font-size:9px!important;padding:6px 4px!important}
 .compact-event-list .event-list-title{font-size:15px!important}
}

@media(max-width:520px){
 .compact-event-list .event-list-card{grid-template-columns:88px minmax(0,1fr) 76px!important;overflow:visible!important}
 .compact-event-list .event-list-open{grid-template-columns:88px minmax(0,1fr)!important}
 .compact-event-list .event-card-actions{width:76px!important;min-width:76px!important;justify-items:stretch!important}
 .compact-event-list .event-intent-button{width:76px!important;max-width:76px!important;font-size:9px!important;padding:6px 4px!important}
 .compact-event-list .event-list-title{font-size:15px!important;line-height:1.12!important}
}

/* iOS: 16px prevents automatic page zoom when a chat input gets focus */
@media(max-width:640px){
 .composer input,.composer textarea,.sector-composer input,.sector-composer textarea,.pair-proposal-form select,.chat-composer input{font-size:16px!important;line-height:1.25!important}
 .composer input{min-height:44px!important}
}

/* Intro 2: keep «ТВОИ ЛЮДИ УЖЕ ТАМ» inside the phone width */
@media(max-width:640px){
 .intro-slide-2 .intro-title{font-size:clamp(72px,21vw,96px)!important}
 .intro-slide-2 .intro-line{max-width:100%!important}
 .intro-slide-2 .intro-line:nth-child(3){transform:none!important}
}

.admin-password-form{display:grid;gap:8px;margin:18px 0 14px}
.admin-password-form label{color:var(--concrete);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.admin-password-form input{width:100%;height:48px;border:1px solid var(--line);border-radius:12px;padding:0 14px;background:#fff;color:var(--ink);font:inherit;font-size:16px}
.admin-password-form .btn{width:100%}
.admin-password-form [data-admin-login-status]{margin:0;min-height:18px;color:var(--concrete);font-size:12px;line-height:1.4}
.admin-password-form [data-admin-login-status].error{color:#3a3a3c}

/* Variant A · feed card (approved 01.11) */
.compact-event-list .event-list-card{grid-template-columns:104px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:10px!important;row-gap:5px!important;align-items:start!important;padding:12px!important}
.compact-event-list .event-list-open{grid-column:1/-1!important;grid-row:1!important;grid-template-columns:104px minmax(0,1fr)!important;gap:10px!important;align-items:start!important}
.compact-event-list .event-card-footer{grid-column:2!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;min-width:0!important;padding:0!important;margin:-2px 0 0!important}
.compact-event-list .event-card-social{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;font-size:10px!important;line-height:1!important;color:var(--ink)!important;white-space:nowrap!important}
.compact-event-list .event-card-social b{font-weight:700!important;white-space:nowrap!important}
.compact-event-list .event-card-avatar-stack{display:flex!important;align-items:center!important;flex:0 0 auto!important}
.compact-event-list .event-card-avatar-stack i{display:grid!important;place-items:center!important;width:22px!important;height:22px!important;margin-left:-6px!important;border:2px solid #fff!important;border-radius:50%!important;background-color:#e7e9e7!important;background-size:cover!important;background-position:center!important;color:#5e6862!important;font-size:8px!important;font-style:normal!important;font-weight:800!important}
.compact-event-list .event-card-avatar-stack i:first-child{margin-left:0!important}
.compact-event-list .event-card-social-empty{color:var(--concrete)!important;font-size:10px!important}
.compact-event-list .event-card-actions{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;width:auto!important;min-width:0!important;padding:0!important}
.compact-event-list .event-intent-button{width:auto!important;max-width:none!important;min-width:0!important;min-height:26px!important;height:auto!important;border:1px solid var(--line)!important;border-radius:999px!important;background:#fff!important;color:var(--ink)!important;padding:5px 8px!important;font-size:10px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important}
.compact-event-list .event-intent-button.is-active{background:var(--volt)!important;border-color:var(--volt)!important;color:#0A0B0D!important}
.compact-event-list .event-save-button{width:26px!important;height:26px!important;min-width:26px!important;border-radius:50%!important}
.compact-event-list .event-save-button .ui-icon{width:19px!important;height:19px!important}
.compact-event-list .event-list-price{padding:0!important;border:0!important;background:none!important;color:var(--concrete)!important;font-size:10px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important}
.compact-event-list .event-list-item.is-highlighted .event-list-card{border-color:#0a0b0d!important;box-shadow:0 0 0 2px #0a0b0d!important}
@media(max-width:520px){
 .compact-event-list .event-list-card{grid-template-columns:88px minmax(0,1fr)!important;column-gap:8px!important;padding:10px!important}
 .compact-event-list .event-list-open{grid-template-columns:88px minmax(0,1fr)!important;gap:8px!important}
 .compact-event-list .event-list-photo{min-height:82px!important}
 .compact-event-list .event-list-title{font-size:15px!important;line-height:1.1!important}
 .compact-event-list .event-card-footer{gap:4px!important}
 .compact-event-list .event-card-social{font-size:9px!important;gap:4px!important}
 .compact-event-list .event-card-avatar-stack i{width:19px!important;height:19px!important;margin-left:-5px!important;font-size:7px!important}
 .compact-event-list .event-intent-button{font-size:9px!important;padding:5px 6px!important;min-height:24px!important}
 .compact-event-list .event-save-button{width:24px!important;height:24px!important;min-width:24px!important}
}

.compact-event-list .event-list-photo{position:relative!important;overflow:hidden!important}
.compact-event-list .event-list-photo-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.compact-event-list .event-list-photo .photo-chip{z-index:3!important}

.event-detail-social{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:9px;color:var(--ink);font-size:12px;line-height:1}
.event-detail-avatars{display:flex;align-items:center}
.event-detail-avatars .photo-avatar{width:24px!important;height:24px!important;margin-left:-6px!important;border:2px solid #fff!important;font-size:9px!important}
.event-detail-avatars .photo-avatar:first-child{margin-left:0!important}
.event-detail-social>i{width:6px;height:6px;border-radius:50%;background:var(--volt)}
.event-detail-social b{font-weight:700}

.event-hero-actions{position:absolute;z-index:3;top:12px;right:12px;display:flex;gap:7px}
.event-hero-action{display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff80;border-radius:50%;background:#ffffffcc;color:var(--ink);font:700 20px/1 "Golos Text",Arial,sans-serif;box-shadow:0 4px 14px #0a0b0d22;backdrop-filter:blur(12px);cursor:pointer}
.event-hero-action .ui-icon{width:19px;height:19px}
.event-hero-action.is-saved .ui-icon svg{fill:currentColor}

.profile-meta-chips .profile-verified.is-verified{background:var(--volt)!important;color:#0A0B0D!important}
.profile-meta-chips .profile-verified.is-verified .ui-icon{width:13px!important;height:13px!important}
.chat-row-photo{flex:0 0 42px!important;width:42px!important;height:42px!important;border-radius:12px!important;background:#eef2ee center/cover no-repeat!important;display:grid!important;place-items:center!important;color:var(--concrete)!important}
.chat-row-photo .ui-icon{width:18px!important;height:18px!important}
.chat-row:has(.chat-row-photo){display:grid!important;grid-template-columns:42px minmax(0,1fr) 18px!important;gap:10px!important;align-items:center!important}

/* Agreed white fade on all large photos: profile preview and media/article */
.person-photo-gallery figure{position:relative}
.person-photo-gallery figure:after,.news-photo:after{content:"";position:absolute;left:0;right:0;bottom:0;height:34%;background:linear-gradient(180deg,transparent,#fff);pointer-events:none;z-index:1}
.news-photo{position:relative}
.person-photo-gallery figure img{position:relative;z-index:0}

/* White fade on every large/photo surface, not only the event detail */
.event-list-photo:after,.event-photo:after,.group-event-photo:after,.dating-card-photo:after{content:"";position:absolute;left:0;right:0;bottom:0;height:34%;background:linear-gradient(180deg,transparent,#fff);pointer-events:none;z-index:1}
.event-list-photo,.event-photo,.group-event-photo,.dating-card-photo{position:relative}

/* My meetings: date block and chat actions alignment */
.meeting-event-card>button{grid-template-columns:58px minmax(0,1fr) 18px!important;gap:12px!important;padding:14px!important;align-items:center!important}
.meeting-event-card .event-list-date{width:58px!important;height:58px!important;padding:7px!important;border-radius:11px!important}
.meeting-event-card .meeting-event-copy{display:grid!important;gap:5px!important;min-width:0!important}
.meeting-event-card .meeting-event-copy small{color:var(--concrete)!important;font-size:11px!important}
.meeting-event-card .meeting-event-copy strong{font-size:17px!important;line-height:1.15!important}
.meeting-event-actions{display:grid!important;grid-template-columns:1fr 1fr!important;border-top:1px solid var(--line)!important}
.meeting-event-actions button{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:44px!important;border:0!important;background:#f4f6f4!important;color:var(--ink)!important;font-size:12px!important;font-weight:800!important}
.meeting-event-actions button+button{border-left:1px solid var(--line)!important}
.meeting-event-actions .ui-icon{width:17px!important;height:17px!important}
.chat-row-photo{overflow:hidden!important;background:#f1f4f1!important}
.chat-row-photo img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}

/* Feed reference: date is a rounded square, social/actions sit at the photo bottom */
.compact-event-list .event-list-photo .photo-chip.date{border-radius:14px!important}
.compact-event-list .event-card-footer{margin-top:-18px!important;position:relative!important;z-index:4!important}
@media(max-width:520px){
 .compact-event-list .event-card-footer{margin-top:-16px!important}
}
