*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,Arial,sans-serif;color:#1f2933;background:#f5f7f8}button,input,select{font:inherit}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:#fff;border-right:1px solid #e7ecef;padding:20px 14px;display:flex;flex-direction:column;z-index:30}.brand,.login-brand{display:flex;align-items:center;gap:12px;padding:0 12px 18px}.brand-mark{width:48px;height:48px;border-radius:16px;background:linear-gradient(145deg,#10b7b0,#0b8f91);color:#fff;display:grid;place-items:center;font-size:25px}.brand strong,.login-brand strong{display:block;font-size:22px}.brand span,.login-brand span{color:#139b9b;font-size:20px;font-weight:700}.main-nav{display:flex;flex-direction:column;gap:4px}.main-nav a{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:10px;text-decoration:none;color:#425466;font-size:14px}.main-nav a i{font-size:18px}.main-nav a.active,.main-nav a:hover{background:linear-gradient(135deg,#0ea8a5,#11c2bd);color:white}.sidebar-promo{margin-top:auto;border:1px solid #e6ecef;border-radius:14px;padding:16px}.sidebar-promo p{font-size:13px;color:#6b7c8e}.sidebar-promo button{border:0;border-radius:8px;background:#10aaa7;color:white;padding:9px 18px}.sidebar-user{display:flex;align-items:center;gap:10px;padding:18px 10px 0}.avatar{width:38px;height:38px;border-radius:50%;background:#eef2f4;display:grid;place-items:center}.sidebar-user strong,.sidebar-user small{display:block}.sidebar-user small{color:#83919f;font-size:12px}.main-content{margin-left:246px;min-width:0;width:calc(100% - 246px)}.topbar{height:90px;background:#fff;border-bottom:1px solid #e7ecef;padding:0 28px;display:flex;justify-content:space-between;align-items:center}.topbar-left{display:flex;align-items:center;gap:18px}.topbar h1{font-size:20px;margin:0 0 6px}.topbar p{margin:0;color:#6d7b88;font-size:14px}.topbar-actions{display:flex;align-items:center;gap:14px}.search-box{width:295px;height:44px;border:1px solid #dfe6ea;border-radius:10px;display:flex;align-items:center;padding:0 14px}.search-box input{border:0;outline:0;width:100%}.icon-button{border:0;background:transparent;font-size:21px;position:relative;cursor:pointer}.notification span{position:absolute;top:-8px;right:-8px;background:#0da4a2;color:#fff;border-radius:999px;font-size:10px;padding:3px 5px}.mobile-menu{display:none}.page-body{padding:22px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat-card,.panel{background:#fff;border:1px solid #e7ecef;border-radius:14px;box-shadow:0 2px 10px rgba(20,44,54,.04)}.stat-card{min-height:126px;padding:22px;display:flex;align-items:flex-start;gap:16px;position:relative;overflow:hidden}.stat-icon{width:50px;height:50px;border-radius:12px;background:linear-gradient(145deg,#0fa7a5,#13c5bf);color:#fff;display:grid;place-items:center;font-size:23px}.stat-main span,.stat-main small{display:block}.stat-main span{color:#52606d;font-size:14px}.stat-main strong{display:block;font-size:25px;margin:7px 0}.stat-main small{color:#138c51}.mini-line{position:absolute;right:17px;bottom:24px;width:72px;height:33px;border-bottom:2px solid #16b3af;transform:skewY(-18deg);opacity:.7}.dashboard-grid{display:grid;grid-template-columns:1.55fr 1.25fr .95fr;gap:16px;margin-top:16px}.panel{padding:18px;min-width:0}.panel-wide{grid-column:span 2}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-heading h2{font-size:16px;margin:0}.panel-heading button,.panel-heading select{border:1px solid #e2e8eb;background:#fff;border-radius:8px;padding:8px 12px;color:#4b5b68}.chart-wrap{height:245px;margin-top:12px}.request-list>div{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;padding:17px 0;border-bottom:1px solid #edf1f3}.request-list b,.request-list small{display:block}.request-list small{color:#84919c;margin-top:4px}.request-list em{font-style:normal;font-size:11px;background:#f3f6f7;padding:6px 8px;border-radius:7px}.amber{color:#e2a11a}.blue{color:#258ccf}.green{color:#1aa679}.events-panel{grid-row:span 2}.event-item{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid #edf1f3}.event-item time{width:58px;height:62px;border-radius:9px;background:#edfafa;color:#169895;font-size:24px;display:flex;flex-direction:column;align-items:center;justify-content:center}.event-item time small{font-size:12px;font-weight:700}.event-item div{display:flex;flex-direction:column;gap:5px}.event-item span{font-size:12px;color:#758391}.structure-panel{min-height:300px}.org-root,.org-level div{background:#effafa;border-radius:8px;padding:10px;text-align:center;font-weight:600}.org-root{max-width:235px;margin:18px auto}.org-root small,.org-level small{display:block;color:#71808c;font-weight:400;margin-top:4px}.org-level{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:34px}.org-level.bottom{grid-template-columns:repeat(2,1fr);max-width:430px;margin:30px auto 0}.dues-content{display:flex;align-items:center;gap:24px;margin-top:22px}.donut{width:170px;height:170px;border-radius:50%;background:conic-gradient(#079d9c 0 65%,#2cc0bd 65% 85%,#87d9d6 85%);position:relative;display:grid;place-items:center}.donut:before{content:"";position:absolute;width:105px;height:105px;border-radius:50%;background:#fff}.donut span{position:relative;text-align:center;font-size:25px;font-weight:700}.donut small{display:block;font-size:13px}.dues-legend p{display:grid;grid-template-columns:10px 1fr auto;gap:10px;align-items:start}.dues-legend i{width:9px;height:9px;border-radius:3px;background:#0aa4a1;margin-top:4px}.dues-legend span,.dues-legend b{display:block}.dues-legend span{font-size:13px}.dues-legend b{margin-top:4px}.dues-legend em{color:#138c51;font-style:normal;font-size:12px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.quick-grid button,.quick-grid a{min-height:98px;border:1px solid #edf1f3;background:#fafcfc;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;cursor:pointer}.quick-grid i{font-size:24px;color:#0fa6a3}.quick-grid span{font-size:12px}footer{padding:14px 24px 24px;display:flex;justify-content:space-between;color:#7b8994;font-size:12px}footer a{color:#0a9b98}.guest-page{display:grid;place-items:center;min-height:100vh;background:linear-gradient(135deg,#eefafa,#f7f9fa)}.login-card{width:min(420px,calc(100% - 32px));background:#fff;border:1px solid #e5ecef;border-radius:18px;padding:30px;box-shadow:0 18px 50px rgba(13,92,93,.12)}.login-card h1{margin:10px 0 8px}.login-card p{color:#71808c}.login-card label{display:block;margin:16px 0 7px;font-weight:600}.login-card input{width:100%;padding:12px 13px;border:1px solid #dbe4e8;border-radius:9px;margin-top:7px}.login-card select{display:block;width:100%;max-width:100%;min-width:0;margin-top:7px;padding:12px 42px 12px 13px;border:1px solid #dbe4e8;border-radius:9px;background-color:#fff;color:#263540;line-height:1.25;appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,#6f8189 50%),linear-gradient(135deg,#6f8189 50%,transparent 50%);background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}.login-card select:focus,.login-card input:focus{outline:0;border-color:#19aaa6;box-shadow:0 0 0 3px rgba(15,169,166,.11)}.login-card label>small{display:block;margin-top:6px;color:#71808c;font-size:12px;font-weight:500;line-height:1.45}.login-card button{width:100%;border:0;border-radius:10px;padding:13px;background:#0fa9a6;color:#fff;font-weight:700;margin-top:18px}.alert{background:#fff2f2;color:#a13b3b;border-radius:9px;padding:11px}
@media(max-width:1200px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr 1fr}.events-panel{grid-row:auto}.panel-wide{grid-column:span 2}}
@media(max-width:820px){.sidebar{transform:translateX(-100%);transition:.25s}.sidebar.open{transform:translateX(0)}.main-content{margin-left:0;width:100%}.mobile-menu{display:block}.topbar{padding:0 16px}.search-box{display:none}.page-body{padding:14px}.stats-grid,.dashboard-grid{grid-template-columns:1fr}.panel-wide{grid-column:auto}.org-level,.org-level.bottom{grid-template-columns:1fr}.dues-content{flex-direction:column;align-items:flex-start}.quick-grid{grid-template-columns:repeat(2,1fr)}footer{flex-direction:column;gap:8px}}

/* ===== Молодёжный совет: современный каталог участников ===== */
.members-directory{max-width:1540px;margin:0 auto}.directory-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}.directory-hero .eyebrow{display:inline-block;color:#0b9996;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:7px}.directory-hero h2{margin:0 0 8px;font-size:28px;line-height:1.2}.directory-hero p{margin:0;max-width:760px;color:#71808c;line-height:1.55}.primary-link,.secondary-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;padding:12px 17px;text-decoration:none;font-weight:800;white-space:nowrap;transition:.2s}.primary-link{background:linear-gradient(135deg,#0ea8a5,#13beb9);color:#fff;box-shadow:0 8px 20px rgba(15,169,166,.2)}.primary-link:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(15,169,166,.26)}.secondary-link{background:#fff;color:#425466;border:1px solid #dfe7ea}.success-banner,.error-banner{display:flex;align-items:center;gap:9px;border-radius:11px;padding:13px 15px;margin-bottom:16px}.success-banner{background:#eaf9f2;color:#11744c;border:1px solid #c9efdc}.error-banner{background:#fff0f0;color:#9c3333;border:1px solid #f2cccc}.members-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.members-kpi{background:#fff;border:1px solid #e5ecef;border-radius:14px;padding:17px;display:flex;align-items:center;gap:14px;box-shadow:0 3px 14px rgba(24,48,58,.045)}.members-kpi .kpi-icon{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;font-size:20px}.kpi-icon.teal{background:#e5faf8;color:#0b9794}.kpi-icon.purple{background:#f0ecff;color:#6651b6}.kpi-icon.blue{background:#eaf4ff;color:#3774ad}.kpi-icon.amber{background:#fff5df;color:#a66b09}.members-kpi strong,.members-kpi small{display:block}.members-kpi strong{font-size:24px;line-height:1}.members-kpi small{color:#7a8893;margin-top:6px}.directory-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #e5ecef;border-radius:14px;padding:13px 14px;margin-bottom:16px;box-shadow:0 2px 10px rgba(20,44,54,.035)}.directory-search{min-width:300px;flex:1;display:flex;align-items:center;gap:10px;border:1px solid #dfe7ea;border-radius:10px;padding:0 13px;background:#fafcfc}.directory-search i{color:#82919c}.directory-search input{width:100%;height:43px;border:0;background:transparent;outline:0;color:#263540}.role-filters{display:flex;gap:8px;flex-wrap:wrap}.filter-chip{border:1px solid #e1e8eb;background:#f8fafb;color:#576773;border-radius:999px;padding:9px 12px;cursor:pointer;font-weight:700;transition:.2s}.filter-chip span{display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:5px;border-radius:999px;background:#e9eef0;font-size:11px}.filter-chip:hover,.filter-chip.active{border-color:#0fa9a6;background:#e8f9f8;color:#087f7c}.filter-chip.active span{background:#0fa9a6;color:#fff}.members-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.member-card{background:#fff;border:1px solid #e3eaed;border-radius:16px;padding:18px;box-shadow:0 3px 14px rgba(20,44,54,.045);transition:transform .2s,box-shadow .2s,border-color .2s;min-width:0}.member-card:hover{transform:translateY(-2px);border-color:#c9e4e3;box-shadow:0 11px 28px rgba(20,90,90,.09)}.member-card[hidden]{display:none!important}.member-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.member-identity{display:flex;align-items:center;gap:12px;min-width:0}.member-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:14px;display:grid;place-items:center;font-size:15px;font-weight:900;letter-spacing:.02em}.member-avatar-superadmin,.member-avatar-admin{background:linear-gradient(145deg,#ece8ff,#dcd2ff);color:#6046ac}.member-avatar-chairman{background:linear-gradient(145deg,#dff9f7,#bdeeea);color:#087f7c}.member-avatar-deputy{background:linear-gradient(145deg,#eaf4ff,#d4e9ff);color:#376da7}.member-avatar-member{background:linear-gradient(145deg,#f0f3f5,#e1e7ea);color:#566370}.member-identity h3{margin:0;font-size:16px;line-height:1.35;color:#202d36}.member-login{display:block;margin-top:4px;color:#86939d;font-size:12px}.account-state{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800;white-space:nowrap}.account-state i{width:7px;height:7px;border-radius:50%}.account-state.online{background:#e8f8ef;color:#14784e}.account-state.online i{background:#19a568}.account-state.offline{background:#fff0f0;color:#a13b3b}.account-state.offline i{background:#d05c5c}.member-badges{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:15px 0}.role-badge,.profile-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800}.role-superadmin,.role-admin{background:#eeeafc;color:#5d44a5}.role-chairman{background:#e4f8f7;color:#087f7c}.role-deputy{background:#eef5ff;color:#376da7}.role-member{background:#f1f3f5;color:#566370}.profile-badge.ready{background:#e7f8ef;color:#14784e}.profile-badge.waiting{background:#fff6df;color:#93650a}.member-info-list{display:grid;gap:10px;padding:14px 0;border-top:1px solid #edf1f3;border-bottom:1px solid #edf1f3}.member-info-list>div{display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;align-items:start}.member-info-list i{width:28px;height:28px;border-radius:8px;background:#f0f8f8;color:#0e9996;display:grid;place-items:center}.member-info-list small,.member-info-list b{display:block}.member-info-list small{font-size:10px;text-transform:uppercase;letter-spacing:.055em;color:#8b98a1;margin-bottom:3px}.member-info-list b{font-size:12px;line-height:1.38;color:#3a4954;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-progress{padding:14px 0}.profile-progress>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#778691}.profile-progress strong{color:#41505b}.progress-track{height:6px;border-radius:99px;background:#edf2f3;overflow:hidden;margin-top:8px}.progress-track span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#0fa9a6,#24c3bd)}.member-card-actions{display:flex;align-items:center;gap:9px}.member-card-actions form{margin:0 0 0 auto}.edit-member{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;min-height:39px;border-radius:9px;background:#edf9f8;color:#087f7c;text-decoration:none;font-size:12px;font-weight:800}.edit-member:hover{background:#dff5f3}.toggle-member{width:39px;height:39px;border-radius:9px;border:1px solid #e2e8eb;background:#fff;color:#667580;display:grid;place-items:center;cursor:pointer}.toggle-member:hover{border-color:#efb8b8;color:#b34343;background:#fff6f6}.empty-members-state{background:#fff;border:1px dashed #cfdadd;border-radius:16px;padding:48px 20px;text-align:center;color:#768590}.empty-members-state i{font-size:32px;color:#0fa9a6}.empty-members-state h3{margin:12px 0 5px;color:#34434e}.empty-members-state p{margin:0}.member-form-card{background:#fff;border:1px solid #e5ecef;border-radius:14px;box-shadow:0 2px 10px rgba(20,44,54,.04);padding:20px}.form-section{padding:5px 0 20px;border-bottom:1px solid #edf1f3;margin-bottom:20px}.form-section h3{font-size:16px;margin:0 0 14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:13px}.form-grid label.full{grid-column:1/-1}.form-grid input,.form-grid select{width:100%;border:1px solid #dce5e9;border-radius:9px;padding:12px 13px;outline:none;background:#fff}.form-grid input:focus,.form-grid select:focus{border-color:#0fa9a6;box-shadow:0 0 0 3px rgba(15,169,166,.1)}.form-note{display:flex;align-items:flex-start;gap:11px;background:#f0f9f9;border-radius:10px;padding:13px;color:#3c5960}.form-note i{font-size:20px;color:#0a9996}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:18px}.form-actions a{text-decoration:none;color:#657581}.form-actions button{border:0;border-radius:9px;background:#0fa9a6;color:#fff;padding:12px 17px;font-weight:700;cursor:pointer}.status-pill.pending{background:#fff6df;color:#93650a}.sidebar-user-link{text-decoration:none;color:inherit;border-radius:10px}.sidebar-user-link:hover{background:#f2f8f8}.profile-warning{display:flex;gap:11px;align-items:flex-start;background:#fff6df;color:#77530b;border:1px solid #f0d996;border-radius:11px;padding:14px 15px;margin-bottom:16px}.profile-warning i{font-size:20px}.profile-readonly{display:grid;grid-template-columns:2fr 1.3fr 1fr;gap:12px;margin-bottom:22px}.profile-readonly>div{background:#f7fafb;border:1px solid #e6ecef;border-radius:10px;padding:13px}.profile-readonly span,.profile-readonly b{display:block}.profile-readonly span{font-size:12px;color:#74828e;margin-bottom:5px}
@media(max-width:1280px){.members-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-toolbar{align-items:stretch;flex-direction:column}.directory-search{min-width:0}}
@media(max-width:820px){.directory-hero{flex-direction:column}.directory-hero .primary-link{width:100%}.members-kpi-grid{grid-template-columns:repeat(2,1fr)}.members-card-grid{grid-template-columns:1fr}.directory-toolbar{padding:11px}.role-filters{display:grid;grid-template-columns:1fr 1fr}.filter-chip{text-align:left}.member-card-top{align-items:flex-start}.profile-readonly{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid label.full{grid-column:auto}}
@media(max-width:520px){.members-kpi-grid{grid-template-columns:1fr}.role-filters{grid-template-columns:1fr}.member-card{padding:15px}.member-identity h3{font-size:15px}.account-state{font-size:10px}.member-info-list b{white-space:normal}.directory-hero h2{font-size:24px}}


/* План работы и мероприятия */
.page-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.section-title{margin:0 0 7px;font-size:28px}.section-subtitle{margin:0;color:#73818d}.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;padding:12px 17px;text-decoration:none;cursor:pointer}.primary-action{background:linear-gradient(135deg,#0ea8a5,#11c2bd);color:#fff;font-weight:700}.secondary-action{background:#eef3f4;color:#425466}.success-banner{display:flex;gap:10px;align-items:center;background:#ecfbf5;color:#177555;border:1px solid #ccefe1;padding:13px 16px;border-radius:12px;margin-bottom:16px}.event-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px}.member-search{height:46px;min-width:300px;max-width:480px;flex:1;background:#fff;border:1px solid #dfe7ea;border-radius:11px;display:flex;align-items:center;padding:0 14px;gap:10px}.member-search input{border:0;outline:0;width:100%;background:transparent}.event-filters{display:flex;gap:7px;flex-wrap:wrap}.event-filters button{border:1px solid #dfe7ea;background:#fff;color:#536370;border-radius:9px;padding:9px 12px;cursor:pointer}.event-filters button.active{background:#0fa9a6;border-color:#0fa9a6;color:#fff}.quarter-section{margin-bottom:28px}.quarter-heading{display:flex;align-items:center;gap:11px;margin-bottom:12px}.quarter-heading span{font-size:19px;font-weight:800}.quarter-heading small{background:#e8f8f7;color:#158e8c;border-radius:999px;padding:5px 9px}.event-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.event-plan-card{position:relative;display:grid;grid-template-columns:72px 1fr;background:#fff;border:1px solid #e3eaed;border-radius:15px;padding:18px;box-shadow:0 3px 14px rgba(20,44,54,.045);min-width:0}.event-plan-card[hidden]{display:none}.event-card-date{width:57px;height:66px;border-radius:11px;background:#eaf9f8;color:#128f8d;display:flex;flex-direction:column;align-items:center;justify-content:center}.event-card-date strong{font-size:24px}.event-card-date span{font-size:11px;font-weight:800}.event-card-body{min-width:0}.event-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-right:30px}.event-number{font-size:12px;color:#83909a}.event-status{font-size:11px;border-radius:999px;padding:5px 8px}.status-planned{background:#edf5ff;color:#3578bd}.status-preparing{background:#fff6df;color:#a37112}.status-completed{background:#e9f9f1;color:#1b855b}.status-postponed{background:#fff0e8;color:#b7612e}.status-cancelled{background:#ffeded;color:#b44b4b}.event-card-body h3{font-size:16px;margin:10px 0 7px;line-height:1.35}.event-card-body>p{font-size:13px;color:#687885;line-height:1.45;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.event-meta{display:flex;gap:12px;flex-wrap:wrap;color:#667684;font-size:12px;margin-bottom:12px}.event-meta span{display:flex;gap:5px;align-items:center}.responsible-block{border-top:1px solid #edf1f3;padding-top:10px}.responsible-block span,.responsible-block strong{display:block}.responsible-block span{font-size:11px;color:#87939d;text-transform:uppercase;letter-spacing:.04em}.responsible-block strong{font-size:12px;margin-top:4px;color:#40515e}.event-edit-button{position:absolute;right:14px;top:14px;width:32px;height:32px;border-radius:9px;background:#f0f8f8;color:#0d9f9c;display:grid;place-items:center;text-decoration:none}.empty-state{text-align:center;background:#fff;border:1px solid #e3eaed;border-radius:15px;padding:45px}.empty-state i{font-size:36px;color:#14a6a3}.form-page-head{margin-bottom:17px}.back-link{display:inline-flex;align-items:center;gap:7px;color:#178f8d;text-decoration:none;margin-bottom:12px}.entity-form{display:grid;gap:15px}.form-card{background:#fff;border:1px solid #e3eaed;border-radius:15px;padding:20px}.form-card h2{font-size:17px;margin:0 0 16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid label{font-size:13px;font-weight:700;color:#445461}.form-grid input,.form-grid select,.form-grid textarea{display:block;width:100%;margin-top:7px;border:1px solid #dce5e8;border-radius:9px;padding:11px 12px;outline:none;background:#fff}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:#14aaa7;box-shadow:0 0 0 3px rgba(20,170,167,.1)}.span-2{grid-column:span 2}.responsibility-mode{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:15px}.responsibility-mode label{display:flex;align-items:center;gap:8px}.responsible-select-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.responsible-select-grid.disabled{opacity:.42;pointer-events:none}.responsible-check{display:flex;align-items:flex-start;gap:9px;border:1px solid #e2eaed;border-radius:10px;padding:11px;background:#fbfcfc}.responsible-check span,.responsible-check strong,.responsible-check small{display:block}.responsible-check strong{font-size:12px}.responsible-check small{color:#7b8994;margin-top:3px}.form-actions{display:flex;justify-content:flex-end;gap:10px}.form-errors{background:#fff0f0;border:1px solid #f1cccc;color:#a03d3d;padding:12px 16px;border-radius:10px;margin-bottom:15px}.form-errors p{margin:4px 0}.panel-link{border:1px solid #e2e8eb;background:#fff;border-radius:8px;padding:8px 12px;color:#4b5b68;text-decoration:none;font-size:13px}.event-item-link{text-decoration:none;color:inherit}.dashboard-empty{text-align:center;padding:35px 8px;color:#71808c}.dashboard-empty i{font-size:28px;color:#13a4a1}.dashboard-empty p{margin:8px 0 0}
@media(max-width:1000px){.event-plan-grid{grid-template-columns:1fr}.responsible-select-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.page-title-row,.event-toolbar{flex-direction:column;align-items:stretch}.member-search{min-width:0;max-width:none}.event-filters{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.event-filters button{white-space:nowrap}.event-plan-card{grid-template-columns:60px 1fr;padding:14px}.form-grid,.responsible-select-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.responsibility-mode{flex-direction:column;gap:10px}.section-title{font-size:23px}}
.page-actions-group{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.import-plan-button{display:inline-flex;align-items:center;gap:8px;text-decoration:none}.import-drop-card{text-align:center;padding:38px}.import-icon{width:76px;height:76px;margin:0 auto 18px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(145deg,#eafafa,#d9f4f3);color:#0fa6a3;font-size:38px}.import-drop-card h2{margin:0 0 8px}.import-drop-card>p{max-width:720px;margin:0 auto 24px;color:#71808c;line-height:1.6}.file-picker{display:block;max-width:560px;margin:0 auto;padding:20px;border:2px dashed #a8dcda;border-radius:16px;background:#fbfefe;cursor:pointer}.file-picker input{position:absolute;opacity:0;pointer-events:none}.file-picker span,.file-picker small{display:block}.file-picker span{font-weight:700;color:#0a9693}.file-picker small{margin-top:8px;color:#758391}.import-help-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:28px;text-align:left}.import-help-grid div{padding:18px;border:1px solid #e5eeee;border-radius:13px;background:#fff}.import-help-grid i{font-size:24px;color:#0fa6a3}.import-help-grid strong,.import-help-grid span{display:block}.import-help-grid strong{margin:10px 0 5px}.import-help-grid span{font-size:13px;color:#758391;line-height:1.45}.import-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}.import-summary-grid>div{background:#fff;border:1px solid #e5ecef;border-radius:14px;padding:20px}.import-summary-grid strong,.import-summary-grid span{display:block}.import-summary-grid strong{font-size:28px;color:#0b9c99}.import-summary-grid span{color:#758391;margin-top:5px}.import-summary-grid .has-warning strong{color:#d78b17}.import-preview-list{display:flex;flex-direction:column;gap:14px}.import-preview-card{position:relative;background:#fff;border:1px solid #e5ecef;border-radius:15px;padding:20px;display:grid;grid-template-columns:110px minmax(0,1fr) 310px;gap:18px}.import-preview-card.warning{border-color:#f0cf98}.import-include{position:absolute;right:16px;top:12px;font-size:12px;color:#657480}.import-preview-number{font-weight:700;color:#52606d;padding-top:30px}.import-preview-number input{width:70px;padding:9px;border:1px solid #dce5e8;border-radius:8px}.import-preview-fields{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:12px}.import-preview-fields label{font-size:12px;color:#6e7d89}.import-preview-fields input,.import-preview-fields textarea{display:block;width:100%;margin-top:6px;padding:10px 11px;border:1px solid #dce5e8;border-radius:9px}.import-preview-fields .span-2{grid-column:span 2}.import-responsible-result{padding:28px 0 0 18px;border-left:1px solid #edf1f3}.import-responsible-result span,.import-responsible-result strong{display:block}.import-responsible-result span{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#87949e;margin-bottom:4px}.import-responsible-result strong{font-size:13px;margin-bottom:14px;line-height:1.45}.import-responsible-result .ok{color:#168b66}.import-responsible-result .warn{color:#b57312}.sticky-import-actions{position:sticky;bottom:0;background:rgba(245,247,248,.94);backdrop-filter:blur(8px);padding:16px 0;margin-top:18px;z-index:5}@media(max-width:1050px){.import-preview-card{grid-template-columns:90px 1fr}.import-responsible-result{grid-column:1/-1;border-left:0;border-top:1px solid #edf1f3;padding:15px 0 0}}@media(max-width:720px){.page-actions-group{width:100%}.page-actions-group a{flex:1;justify-content:center}.import-help-grid,.import-summary-grid{grid-template-columns:1fr}.import-drop-card{padding:24px 16px}.import-preview-card{grid-template-columns:1fr;padding-top:48px}.import-preview-number{padding-top:0}.import-preview-fields{grid-template-columns:1fr}.import-preview-fields .span-2{grid-column:auto}.import-responsible-result{grid-column:auto}.import-include{left:18px;right:auto}}

/* Event workspace */
.event-workspace-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.event-title-row{display:flex;gap:14px;align-items:flex-start;margin-top:10px}.event-title-row h1{margin:0;font-size:27px}.event-title-row p{margin:7px 0 0;color:#74838f}.event-number{background:#e8f8f7;color:#078e8d;border-radius:10px;padding:9px 12px;font-weight:800}.event-summary-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.event-summary-cards>div{background:#fff;border:1px solid #e6ecef;border-radius:13px;padding:17px}.event-summary-cards span,.details-grid span{display:block;color:#7a8994;font-size:12px}.event-summary-cards strong{display:block;font-size:20px;margin-top:7px}.workspace-tabs{position:sticky;top:0;z-index:8;background:#f5f7f8;padding:10px 0;display:flex;gap:8px;overflow:auto}.workspace-tabs a{white-space:nowrap;text-decoration:none;color:#425466;background:#fff;border:1px solid #e3eaed;border-radius:9px;padding:9px 13px}.workspace-section{scroll-margin-top:80px;display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:16px 0}.workspace-card{background:#fff;border:1px solid #e6ecef;border-radius:14px;padding:20px;box-shadow:0 2px 10px rgba(20,44,54,.04)}.workspace-card h2{font-size:17px;margin:0 0 16px}.details-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.details-grid .wide{grid-column:1/-1}.details-grid b{display:block;margin-top:6px}.details-grid p{line-height:1.55}.people-chips{display:flex;flex-wrap:wrap;gap:8px}.people-chips span{background:#effafa;border-radius:999px;padding:8px 12px;font-size:13px}.task-list{display:flex;flex-direction:column}.task-row{display:flex;justify-content:space-between;gap:14px;padding:15px 0;border-bottom:1px solid #edf1f3}.task-row:last-child{border:0}.task-title{display:flex;align-items:center;gap:9px}.priority-dot{width:9px;height:9px;border-radius:50%;background:#8da0aa}.priority-dot.high{background:#ec9a22}.priority-dot.urgent{background:#dc4c4c}.priority-dot.low{background:#5cae8b}.task-row small,.document-row small,.participant-row small{display:block;color:#82909b;margin-top:5px}.task-row p{margin:8px 0 0;color:#52616d}.task-row select,.participant-row select,.participant-row input{border:1px solid #dfe7ea;border-radius:8px;padding:8px;background:#fff}.compact-form{align-self:start}.participant-table{margin-top:14px;overflow:auto}.participant-row{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #edf1f3;min-width:800px}.participant-row.header{font-size:12px;color:#7c8b96;font-weight:700}.document-list{display:flex;flex-direction:column}.document-row{display:grid;grid-template-columns:32px 1fr auto;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid #edf1f3}.document-row>i{font-size:24px;color:#0fa6a3}.muted{color:#7b8994}.success-banner{background:#e9f9f2;color:#13734d;border-radius:10px;padding:12px 15px;margin-bottom:14px}.primary-action.small{padding:8px 12px}.my-task-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.my-task-card{display:flex;justify-content:space-between;gap:14px}.my-task-card h2{margin:10px 0 6px}.my-task-card a{color:#0b9b98;text-decoration:none}.task-status{font-size:11px;padding:5px 8px;border-radius:999px;background:#edf2f4}.task-status.status-done{background:#e8f8ef;color:#17764c}.task-status.status-in_progress{background:#fff4dc;color:#946817}
@media(max-width:900px){.event-summary-cards{grid-template-columns:repeat(2,1fr)}.workspace-section{grid-template-columns:1fr}.details-grid{grid-template-columns:repeat(2,1fr)}.my-task-grid{grid-template-columns:1fr}.event-workspace-head{flex-direction:column}.participant-row{min-width:720px}}

.task-row>form{flex:0 0 auto}
.task-row{align-items:flex-start}
.task-delete-button{width:36px;height:36px;border:1px solid #f0caca;border-radius:9px;background:#fff5f5;color:#b94242;display:grid;place-items:center;cursor:pointer;transition:.18s}
.task-delete-button:hover{background:#b94242;color:#fff;border-color:#b94242}

.event-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.event-head-actions form{margin:0}
.danger-action{display:inline-flex;align-items:center;gap:8px;border:1px solid #edbcbc;border-radius:10px;background:#fff4f4;color:#b33939;padding:10px 14px;font:inherit;font-weight:700;cursor:pointer;transition:.18s}
.danger-action:hover{background:#b33939;color:#fff;border-color:#b33939}
@media(max-width:700px){.event-head-actions{width:100%}.event-head-actions>a,.event-head-actions form,.danger-action{width:100%}.danger-action{justify-content:center}}

.qr-registration-card{overflow:hidden}.qr-registration-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:start}.registration-state{padding:7px 12px;border-radius:999px;font-weight:800;font-size:13px}.registration-state.open{background:#e6fbf3;color:#17835d}.registration-state.closed{background:#f2f4f7;color:#667085}.event-qr-code{width:min(100%,360px);aspect-ratio:1;background:#fff;border:1px solid #e5e9ef;border-radius:18px;padding:16px;display:grid;place-items:center;margin:0 auto}.event-qr-code svg{width:100%;height:100%;display:block}.qr-help{text-align:center;color:#667085;max-width:620px;margin:15px auto}.qr-link-box{display:flex;gap:8px;max-width:680px;margin:12px auto}.qr-link-box input{min-width:0;flex:1}.registration-expiry{text-align:center;color:#667085}.registration-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.registration-actions form{margin:0}.qr-empty-state{text-align:center;padding:26px 15px}.qr-empty-state>i{display:block;font-size:64px;color:#14a6a3;margin-bottom:10px}.qr-empty-state strong{font-size:20px}.qr-empty-state p{color:#667085}.open-registration-form{display:flex;align-items:end;justify-content:center;gap:12px;flex-wrap:wrap}.open-registration-form label{min-width:180px}.qr-registration-stats{display:grid;gap:12px}.qr-registration-stats>div{padding:18px;border-radius:14px;background:#f6f8fa}.qr-registration-stats span{display:block;color:#667085;font-size:13px}.qr-registration-stats strong{font-size:30px}.participant-row-qr{grid-template-columns:minmax(220px,1.45fr) minmax(130px,.85fr) minmax(150px,.9fr) 100px minmax(150px,1fr)}.checkin-method{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700}.checkin-method.qr{color:#118a79}.checkin-method.manual{color:#8b5d21}.checkin-result-page{min-height:70vh;display:grid;place-items:center;padding:30px}.checkin-result-card{max-width:620px;width:100%;text-align:center;background:#fff;border-radius:22px;padding:38px;box-shadow:0 18px 55px rgba(28,45,70,.1);border:1px solid #e6ebf0}.checkin-result-icon{font-size:72px}.checkin-result-card.success .checkin-result-icon{color:#18a777}.checkin-result-card.error .checkin-result-icon{color:#d14e4e}.checkin-result-card h1{margin:10px 0}.checkin-event-info{display:grid;gap:8px;text-align:left;background:#f6f8fa;border-radius:14px;padding:18px;margin:22px 0}.checkin-event-info strong{font-size:18px}.checkin-event-info span{color:#667085}.checkin-time{color:#667085}.checkin-result-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}@media(max-width:900px){.qr-registration-grid{grid-template-columns:1fr}.qr-registration-stats{grid-template-columns:repeat(3,1fr)}.participant-row-qr{grid-template-columns:1fr;gap:8px}.participant-row-qr.header{display:none}.checkin-method{padding:6px 0}}@media(max-width:560px){.qr-registration-stats{grid-template-columns:1fr}.qr-link-box{flex-direction:column}.checkin-result-card{padding:25px 18px}.checkin-result-actions>a{width:100%;justify-content:center}}

/* Исправление сетки карточек плана: ссылка на всю карточку не должна быть элементом grid. */
.event-plan-card{position:relative;isolation:isolate;align-items:start;height:auto;min-height:0}
.event-card-open{position:absolute;inset:0;z-index:1;border-radius:inherit;text-decoration:none}
.event-plan-card .event-card-date,
.event-plan-card .event-card-body{position:relative;z-index:2;pointer-events:none}
.event-plan-card .event-edit-button{position:absolute;top:14px;right:14px;z-index:3;pointer-events:auto}
.event-plan-card:hover{border-color:#b9dfdd;box-shadow:0 8px 24px rgba(20,120,118,.10);transform:translateY(-1px)}
.event-plan-card{transition:border-color .18s,box-shadow .18s,transform .18s}
.event-card-body h3,.event-card-body>p,.responsible-block strong{overflow-wrap:anywhere;word-break:normal}
.event-card-body>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.responsible-block strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:700px){.event-plan-card .event-edit-button{top:10px;right:10px}}


/* Meeting module */
.meeting-entry-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;margin:18px 0;border:1px solid #bfe8e4;border-radius:16px;background:#effbf9}.meeting-entry-banner>div{display:flex;align-items:center;gap:14px}.meeting-entry-banner i{font-size:28px;color:#0aa8a3}.meeting-entry-banner strong,.meeting-entry-banner span{display:block}.meeting-entry-banner span{margin-top:4px;color:#718096}.meeting-heading{align-items:flex-start}.meeting-actions{display:flex;gap:10px;flex-wrap:wrap}.meeting-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.meeting-status-grid .workspace-card{padding:18px}.meeting-status-grid span,.meeting-status-grid small{display:block;color:#7b8797}.meeting-status-grid strong{display:block;margin-top:7px;font-size:25px}.quorum-card.ok{border-color:#a8e3c0;background:#f1fcf5}.quorum-card.ok strong{color:#21874d}.quorum-card.no{border-color:#f2c1c1;background:#fff6f6}.quorum-card.no strong{color:#b83c3c}.guest-list{display:grid;gap:10px;margin-top:16px}.guest-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #edf1f5}.guest-row:first-child{border-top:0}.guest-row strong,.guest-row small{display:block}.guest-row small{margin-top:4px;color:#8793a3}.switch-label{display:flex;align-items:center;gap:7px;white-space:nowrap}.agenda-list{display:grid;gap:14px;margin-top:16px}.agenda-card{border:1px solid #dce4eb;border-radius:14px;background:#fff;overflow:hidden}.agenda-card summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:16px;cursor:pointer;background:#f8fafb}.agenda-card summary span{color:#099e99;font-weight:800}.agenda-card summary em{font-style:normal;color:#798697;font-size:13px}.agenda-card>form,.agenda-card>.agenda-read{padding:18px}.agenda-card>.danger-action,.agenda-card>form:last-child{margin:0 18px 18px}.back-link{display:inline-block;margin-bottom:7px;color:#0a9f9a;text-decoration:none}.alert.error{background:#fff0f0;border-color:#efb6b6;color:#a92f2f}
@media(max-width:1100px){.meeting-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.meeting-entry-banner,.meeting-heading{display:block}.meeting-entry-banner .primary-action,.meeting-actions{margin-top:14px}.meeting-status-grid{grid-template-columns:1fr}.guest-row{grid-template-columns:1fr auto}.agenda-card summary{grid-template-columns:1fr}.agenda-card summary em{margin-top:4px}}

/* Исправление блока приглашённых и импорта повестки */
.meeting-guests-layout{grid-template-columns:minmax(0,2fr) minmax(320px,1fr);align-items:start}
.meeting-guests-card{min-width:0}
.meeting-guest-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:16px 0;border-bottom:1px solid #edf1f3}
.meeting-guest-row:last-child{border-bottom:0}
.meeting-guest-person{min-width:0}
.meeting-guest-person strong{display:block;font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.meeting-guest-person small{display:block;margin-top:5px;color:#82909b;line-height:1.45;overflow-wrap:anywhere}
.meeting-guest-row form{margin:0}
.meeting-guest-row label{display:flex;align-items:center;gap:8px;white-space:nowrap;font-weight:700}
.meeting-guest-row input[type=checkbox]{width:20px;height:20px;flex:0 0 20px}
.meeting-agenda-import label{display:flex;flex-direction:column;gap:8px;font-weight:700}
.meeting-agenda-import input[type=file]{width:100%;padding:12px;border:1px dashed #bfd1d7;border-radius:10px;background:#f8fbfc}
.meeting-agenda-import button[disabled]{opacity:.65;cursor:wait}
@media(max-width:900px){.meeting-guests-layout{grid-template-columns:1fr}}
@media(max-width:560px){.meeting-guest-row{grid-template-columns:1fr}.meeting-guest-row label{justify-content:flex-start}}

/* Superadmin meeting test attendance */
.test-attendance-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 20px}
.test-attendance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}
.test-attendance-member{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid #dbe5ea;border-radius:14px;background:#fff;cursor:pointer}
.test-attendance-member input{width:18px;height:18px;margin-top:3px;flex:0 0 auto}
.test-attendance-member span{display:flex;min-width:0;flex-direction:column;gap:2px}
.test-attendance-member strong{line-height:1.25}
.test-attendance-member small{color:#7b8b98;line-height:1.25}
@media(max-width:760px){.test-attendance-grid{grid-template-columns:1fr}.test-attendance-actions>*{width:100%}}


/* Multiple-candidate election voting */
.meeting-protocol-meta{margin-bottom:18px}
.election-block{margin-top:20px;padding:20px;border:1px solid #dbe6ea;border-radius:16px;background:#fbfdfd}
.election-block h3{margin:0 0 12px}
.election-block>p{margin:0 0 16px;line-height:1.55}
.election-block>label{display:flex;flex-direction:column;gap:8px;margin-top:16px;font-weight:700}
.election-block>label small{font-weight:400;color:#7c8994}
.election-block select[multiple]{min-height:190px}
.candidate-vote-list{display:grid;gap:10px;margin:16px 0}
.candidate-vote-row{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(110px,.7fr));gap:12px;align-items:end;padding:14px;border:1px solid #dfe8ec;border-radius:14px;background:#fff}
.candidate-vote-row strong{align-self:center;overflow-wrap:anywhere}
.candidate-vote-row label{display:flex;flex-direction:column;gap:6px;font-size:13px}
.candidate-vote-row input{width:100%}
@media(max-width:900px){.candidate-vote-row{grid-template-columns:1fr 1fr}.candidate-vote-row strong{grid-column:1/-1}}
@media(max-width:560px){.candidate-vote-row{grid-template-columns:1fr}}
.event-rsvp-card{display:flex;flex-direction:column;gap:18px}.event-points-badge{background:#e9fbf8;color:#087f7c;border-radius:999px;padding:8px 12px;font-weight:700}.rsvp-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.rsvp-stat-grid>div{background:#f7fafb;border:1px solid #e5ecef;border-radius:12px;padding:14px}.rsvp-stat-grid span{display:block;color:#71808c;font-size:12px}.rsvp-stat-grid strong{display:block;font-size:24px;margin-top:5px}.rsvp-actions-row{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.rsvp-choice-form,.share-event-box,.manager-announcement-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.rsvp-button{border:1px solid #dfe7ea;background:#fff;border-radius:10px;padding:11px 17px;font-weight:700;cursor:pointer}.rsvp-button.yes.active,.rsvp-button.yes:hover{background:#e8faf2;border-color:#27a86f;color:#137447}.rsvp-button.no.active,.rsvp-button.no:hover{background:#fff0f0;border-color:#d56b6b;color:#a13b3b}.share-event-box input{min-width:280px;padding:10px;border:1px solid #dfe7ea;border-radius:9px}.manager-announcement-actions{padding-top:14px;border-top:1px solid #edf1f3}.rsvp-member-list,.rating-table{border:1px solid #e5ecef;border-radius:12px;overflow:hidden}.rsvp-member-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;padding:12px 14px;border-bottom:1px solid #edf1f3;align-items:center}.rsvp-member-row:last-child{border-bottom:0}.rsvp-member-row.header,.rating-row.header{background:#f5f8f9;font-weight:700}.rsvp-member-row small,.rating-row small{display:block;color:#7a8995;margin-top:3px}.rsvp-status{font-weight:700}.rsvp-status.confirmed{color:#16834f}.rsvp-status.declined{color:#b14545}.rsvp-status.invited{color:#967116}.rating-row{display:grid;grid-template-columns:70px 2fr 1fr 1fr;gap:12px;padding:12px 14px;border-bottom:1px solid #edf1f3;align-items:center}.rating-row:last-child{border-bottom:0}.rating-place{width:34px;height:34px;border-radius:50%;background:#eefafa;color:#0a8d8a;display:grid;place-items:center;font-weight:800}@media(max-width:760px){.rsvp-stat-grid{grid-template-columns:repeat(2,1fr)}.rsvp-member-row{grid-template-columns:1.7fr 1fr}.rsvp-member-row>span:last-child{display:none}.rating-row{grid-template-columns:52px 1fr 70px}.rating-row>span:nth-child(3){display:none}.share-event-box input{min-width:0;width:100%}}

/* Конструктор разделов мероприятий */
.event-template-card > label{max-width:520px;display:block}
.inline-checkbox{display:flex;align-items:center;gap:10px;margin-top:8px}
.event-sections-card .panel-heading{align-items:flex-start;gap:16px}
.event-section-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:18px}
.event-section-option{position:relative;display:grid;grid-template-columns:auto 42px 1fr;align-items:center;gap:10px;padding:14px;border:1px solid var(--border-color,#dfe5ec);border-radius:14px;background:#fff;cursor:pointer;transition:.18s ease}
.event-section-option:hover{border-color:#9ca9b7;transform:translateY(-1px)}
.event-section-option:has(input:checked){border-color:#267a57;background:#f3fbf7;box-shadow:0 0 0 2px rgba(38,122,87,.08)}
.event-section-option input{width:18px;height:18px;margin:0}
.event-section-option-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#eef3f7;font-size:20px}
.event-section-option strong,.event-section-option small{display:block}
.event-section-option small{margin-top:3px;color:#687481;line-height:1.35}
.event-sections-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:18px 0;position:relative}
.add-event-section{position:relative}
.add-event-section>summary{list-style:none;cursor:pointer}
.add-event-section>summary::-webkit-details-marker{display:none}
.add-event-section-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:min(360px,calc(100vw - 32px));padding:16px;border-radius:14px;background:#fff;border:1px solid #dfe5ec;box-shadow:0 18px 45px rgba(22,35,50,.16)}
.add-event-section-popover form{display:grid;gap:12px}
.add-event-section-popover label{display:grid;gap:6px}
.workspace-subsection{margin-top:18px}
.linked-event-section{display:flex;align-items:center;justify-content:space-between;gap:20px}
.linked-event-section>div{display:flex;align-items:center;gap:16px}
.linked-event-section>div>i{width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#eef3f7;font-size:24px}
.linked-event-section h2{margin:0 0 4px}
.linked-event-section p{margin:0}
@media(max-width:720px){.event-sections-toolbar{align-items:stretch;flex-direction:column}.event-sections-toolbar>a,.add-event-section>summary{justify-content:center}.add-event-section-popover{position:fixed;left:16px;right:16px;top:auto;bottom:16px;width:auto}.linked-event-section{align-items:flex-start;flex-direction:column}.linked-event-section .primary-action{width:100%;justify-content:center}.event-section-picker{grid-template-columns:1fr}}

/* Participant invitation: announcement and RSVP in one compact card */
.participant-invitation-page{max-width:920px;margin:0 auto;padding:4px 0 28px}.participant-back-link{display:inline-flex;align-items:center;gap:7px;margin:0 0 14px;color:#60717d;text-decoration:none;font-weight:700}.participant-back-link:hover{color:#078e8d}.participant-event-card{overflow:hidden;background:#fff;border:1px solid #dfe9ec;border-radius:22px;box-shadow:0 18px 48px rgba(23,55,66,.10)}.participant-event-hero{padding:26px 28px 24px;background:linear-gradient(135deg,#effcfb 0%,#f8fbfc 58%,#eef8ff 100%);border-bottom:1px solid #e3edef}.participant-event-kicker{display:inline-flex;align-items:center;gap:8px;color:#087f7c;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.045em}.participant-event-title-line{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-top:14px}.participant-event-title-line>div{min-width:0}.participant-event-title-line h1{margin:8px 0 0;font-size:30px;line-height:1.18;color:#17303a}.participant-event-number{display:inline-flex;background:#fff;color:#078e8d;border:1px solid #cfe9e7;border-radius:9px;padding:5px 9px;font-weight:800;font-size:13px}.participant-event-status{flex:none;background:#fff;border:1px solid #dbe8eb;border-radius:999px;padding:8px 12px;color:#536875;font-size:12px;font-weight:800}.participant-event-main-info{display:grid;grid-template-columns:1fr .8fr 1.5fr;gap:12px;margin-top:22px}.participant-event-main-info>div{display:flex;align-items:center;gap:11px;min-width:0;background:rgba(255,255,255,.76);border:1px solid rgba(213,231,233,.9);border-radius:13px;padding:13px 14px}.participant-event-main-info>div>i{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:#e5f7f5;color:#078e8d;font-size:17px}.participant-event-main-info span{min-width:0}.participant-event-main-info small,.participant-event-details span{display:block;color:#7a8994;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.035em}.participant-event-main-info strong{display:block;margin-top:3px;color:#213943;white-space:normal}.participant-message{display:flex;align-items:flex-start;gap:10px;margin:20px 28px 0;padding:12px 14px;border-radius:11px;font-weight:700}.participant-message.success{background:#e9f9f2;color:#13734d}.participant-message.error{background:#fff0f0;color:#a13b3b}.participant-rsvp-panel{scroll-margin-top:90px;margin:22px 28px 0;padding:22px;border:1px solid #dce9e8;border-radius:17px;background:#fbfefe}.participant-rsvp-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.participant-rsvp-heading>div:first-child>span{color:#078e8d;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.045em}.participant-rsvp-heading h2{margin:5px 0 0;font-size:22px;color:#18323c}.participant-response-state{display:inline-flex;align-items:center;gap:7px;flex:none;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:800}.participant-response-state.invited{background:#fff6df;color:#8e6816}.participant-response-state.confirmed{background:#e7f8ef;color:#17764c}.participant-response-state.declined{background:#fff0f0;color:#a13b3b}.participant-rsvp-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.participant-rsvp-button{display:flex;align-items:center;gap:13px;width:100%;min-height:72px;padding:14px 17px;border:1px solid #dce6e9;border-radius:14px;background:#fff;color:#2b414b;text-align:left;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.participant-rsvp-button:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(25,58,69,.08)}.participant-rsvp-button>i{font-size:27px}.participant-rsvp-button span{display:flex;flex-direction:column;gap:3px}.participant-rsvp-button strong{font-size:17px}.participant-rsvp-button small{color:#7a8994}.participant-rsvp-button.yes:hover,.participant-rsvp-button.yes.active{border-color:#34a873;background:#eaf9f1;color:#146f47}.participant-rsvp-button.no:hover,.participant-rsvp-button.no.active{border-color:#d57676;background:#fff2f2;color:#9f3d3d}.participant-rsvp-button.active{box-shadow:inset 0 0 0 1px currentColor}.participant-rsvp-note{margin:13px 0 0;color:#71818c;font-size:13px}.participant-event-body{padding:24px 28px 28px}.participant-section-title{display:flex;align-items:center;gap:10px}.participant-section-title i{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e9f8f7;color:#078e8d}.participant-section-title h2{margin:0;font-size:18px}.participant-event-description p{margin:13px 0 0;color:#52646f;line-height:1.65}.participant-event-details{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:22px;padding-top:20px;border-top:1px solid #edf1f3}.participant-event-details>div{background:#f8fafb;border:1px solid #e9eef0;border-radius:12px;padding:13px 14px}.participant-event-details .wide{grid-column:1/-1}.participant-event-details strong{display:block;margin-top:5px;color:#263e48}.participant-organizers{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.participant-organizers span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#eaf7f6;color:#35636a;font-size:13px;text-transform:none;letter-spacing:0}
@media(max-width:760px){.participant-invitation-page{padding-bottom:18px}.participant-event-card{border-radius:16px}.participant-event-hero{padding:21px 18px 19px}.participant-event-title-line{flex-direction:column;gap:10px}.participant-event-title-line h1{font-size:25px}.participant-event-main-info{grid-template-columns:1fr;margin-top:17px}.participant-event-main-info>div{padding:11px 12px}.participant-message{margin:16px 18px 0}.participant-rsvp-panel{margin:16px 18px 0;padding:18px}.participant-rsvp-heading{flex-direction:column;gap:10px}.participant-response-state{align-self:flex-start}.participant-rsvp-actions{grid-template-columns:1fr}.participant-event-body{padding:21px 18px 23px}.participant-event-details{grid-template-columns:1fr}.participant-event-details .wide{grid-column:auto}}

/* Invitation-only layout and prominent response controls */
body.event-invitation-layout{min-height:100vh;margin:0;background:linear-gradient(180deg,#f3f8f9 0%,#edf4f6 100%);color:#1f3741}.invitation-topbar{height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 30px;background:rgba(255,255,255,.94);border-bottom:1px solid #dfe9ec;box-shadow:0 4px 16px rgba(29,62,72,.04)}.invitation-brand{display:flex;align-items:center;gap:11px;color:#173a43;text-decoration:none}.invitation-brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#078e8d;color:#fff;font-size:19px}.invitation-brand>span:last-child{display:flex;flex-direction:column;line-height:1.05}.invitation-brand strong{font-size:17px}.invitation-brand small{margin-top:4px;color:#778993;font-size:11px}.invitation-user{display:flex;align-items:center;gap:14px}.invitation-user-name{display:flex;align-items:center;gap:7px;color:#536873;font-weight:700;font-size:13px}.invitation-user form{margin:0}.invitation-user button{display:grid;place-items:center;width:36px;height:36px;border:1px solid #dbe6e9;border-radius:10px;background:#fff;color:#60737d;cursor:pointer}.invitation-main{padding:28px 20px 46px}.event-invitation-layout .participant-invitation-page{max-width:840px}.event-invitation-layout .participant-event-card{box-shadow:0 18px 50px rgba(26,58,68,.11)}.participant-rsvp-panel.participant-rsvp-prominent{margin:20px 0 0;background:#fff;border-color:#cfe4e3;box-shadow:0 9px 24px rgba(26,73,75,.08)}.participant-rsvp-prominent .participant-rsvp-button{min-height:78px}.participant-rsvp-prominent .participant-rsvp-button>i{font-size:30px}.participant-rsvp-prominent .participant-rsvp-button strong{font-size:18px}.participant-rsvp-prominent+.participant-event-main-info{margin-top:16px}
@media(max-width:760px){.invitation-topbar{height:60px;padding:0 15px}.invitation-user-name{display:none}.invitation-main{padding:14px 10px 28px}.event-invitation-layout .participant-invitation-page{padding:0}.event-invitation-layout .participant-back-link{margin-left:4px}.participant-rsvp-panel.participant-rsvp-prominent{margin-top:16px;padding:16px}.participant-rsvp-prominent .participant-rsvp-heading h2{font-size:20px}.participant-rsvp-prominent .participant-rsvp-button{min-height:64px}.participant-rsvp-prominent+.participant-event-main-info{margin-top:14px}}

/* Event address and one-click route */
.participant-event-main-info .participant-location-info{align-items:flex-start}.participant-location-info>span{display:flex;flex-direction:column;align-items:flex-start}.participant-route-button{display:inline-flex;align-items:center;gap:7px;margin-top:10px;padding:8px 11px;border-radius:9px;background:#078e8d;color:#fff;text-decoration:none;font-size:12px;font-weight:800;line-height:1;box-shadow:0 5px 14px rgba(7,142,141,.18);transition:transform .15s ease,background .15s ease}.participant-route-button:hover{transform:translateY(-1px);background:#067a79;color:#fff}.participant-route-button i{display:inline;font-size:14px}.event-route-link{display:inline-flex;align-items:center;gap:6px;margin-top:7px;color:#078e8d;text-decoration:none;font-size:13px;font-weight:800}.event-route-link:hover{text-decoration:underline}.event-route-link.inline{margin-left:10px;margin-top:0}.event-list-route{display:inline-flex;align-items:center;gap:5px;color:inherit;text-decoration:none}.event-list-route:hover{color:#078e8d}.event-list-route .bi-arrow-up-right-square{font-size:11px}
@media(max-width:760px){.participant-route-button{width:100%;justify-content:center;padding:10px 12px}.event-route-link.inline{display:flex;margin:8px 0 0}}

/* Participant materials: photos and downloadable files inside the invitation card */
.participant-materials-section{margin-top:24px;padding-top:22px;border-top:1px solid #e8eff1}.participant-materials-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.participant-materials-heading>span,.participant-material-group-title>span{display:inline-flex;align-items:center;justify-content:center;min-width:29px;height:29px;padding:0 9px;border-radius:999px;background:#eaf7f6;color:#087f7c;font-size:12px;font-weight:800}.participant-materials-intro{margin:10px 0 0;color:#6d7f89;font-size:14px}.participant-material-group{margin-top:19px}.participant-material-group-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.participant-material-group-title h3{margin:0;color:#2c444e;font-size:15px}.participant-photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.participant-photo-item{position:relative;overflow:hidden;aspect-ratio:4/3;padding:0;border:0;border-radius:13px;background:#eaf1f3;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(24,65,75,.06)}.participant-photo-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.participant-photo-item>span{position:absolute;left:8px;right:8px;bottom:8px;display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 9px;border-radius:9px;background:rgba(20,46,55,.78);backdrop-filter:blur(7px);color:#fff;font-size:11px;font-weight:800;opacity:0;transform:translateY(5px);transition:opacity .18s ease,transform .18s ease}.participant-photo-item:hover img{transform:scale(1.04)}.participant-photo-item:hover>span,.participant-photo-item:focus-visible>span{opacity:1;transform:none}.participant-material-files{display:flex;flex-direction:column;gap:9px}.participant-material-file{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid #e3ebee;border-radius:12px;background:#fafcfc}.participant-material-file-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#e8f7f5;color:#078e8d;font-size:20px}.participant-material-file-info{min-width:0}.participant-material-file-info strong{display:block;overflow:hidden;color:#2b424c;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.participant-material-file-info span{display:block;margin-top:4px;color:#82919a;font-size:11px}.participant-material-file-actions{display:flex;align-items:center;gap:7px}.participant-material-file-actions a,.participant-material-file-actions button{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #dbe7e9;border-radius:9px;background:#fff;color:#43606a;text-decoration:none;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.participant-material-file-actions a:hover,.participant-material-file-actions button:hover{border-color:#8dccca;color:#078e8d}.participant-material-file-actions a.download{background:#078e8d;border-color:#078e8d;color:#fff}.participant-material-file-actions a.download:hover{background:#067b7a;color:#fff}.participant-photo-viewer{width:min(920px,calc(100vw - 28px));max-width:none;padding:0;border:0;border-radius:17px;background:transparent;box-shadow:none}.participant-photo-viewer::backdrop{background:rgba(11,27,33,.82);backdrop-filter:blur(4px)}.participant-photo-viewer-card{position:relative;overflow:hidden;border-radius:17px;background:#fff;box-shadow:0 25px 80px rgba(0,0,0,.34)}.participant-photo-viewer-stage{position:relative;background:#102027}.participant-photo-viewer-stage>img{display:block;width:100%;max-height:78vh;object-fit:contain;background:#102027}.participant-photo-viewer-stage>iframe{display:block;width:100%;height:min(78vh,760px);border:0;background:#fff}.participant-gallery-navigation{position:absolute;z-index:3;top:50%;display:grid;place-items:center;width:48px;height:48px;margin-top:-24px;border:1px solid rgba(255,255,255,.2);border-radius:50%;background:rgba(11,29,36,.76);color:#fff;font-size:24px;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.25);backdrop-filter:blur(7px);transition:transform .15s ease,background .15s ease}.participant-gallery-navigation:hover{transform:scale(1.06);background:rgba(7,142,141,.92)}.participant-gallery-navigation.previous{left:14px}.participant-gallery-navigation.next{right:14px}.participant-gallery-counter{position:absolute;z-index:3;left:50%;bottom:12px;transform:translateX(-50%);padding:6px 10px;border-radius:999px;background:rgba(11,29,36,.76);color:#fff;font-size:12px;font-weight:800;line-height:1;backdrop-filter:blur(7px)}.participant-photo-viewer-close{position:absolute;z-index:2;top:12px;right:12px;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:rgba(14,35,42,.78);color:#fff;font-size:17px;cursor:pointer}.participant-photo-viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 15px}.participant-photo-viewer-footer strong{overflow:hidden;color:#2b414a;text-overflow:ellipsis;white-space:nowrap}.participant-photo-viewer-footer a{display:inline-flex;align-items:center;gap:7px;flex:none;padding:9px 12px;border-radius:9px;background:#078e8d;color:#fff;text-decoration:none;font-size:12px;font-weight:800}
@media(max-width:760px){.participant-materials-heading{align-items:flex-start}.participant-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.participant-photo-item>span{opacity:1;transform:none}.participant-material-file{grid-template-columns:38px minmax(0,1fr);gap:10px}.participant-material-file-icon{width:38px;height:38px}.participant-material-file-actions{grid-column:1/-1}.participant-material-file-actions a,.participant-material-file-actions button{flex:1;justify-content:center}.participant-gallery-navigation{width:42px;height:42px;margin-top:-21px;font-size:21px}.participant-gallery-navigation.previous{left:8px}.participant-gallery-navigation.next{right:8px}.participant-gallery-counter{bottom:8px}.participant-photo-viewer-footer{align-items:flex-start;flex-direction:column}.participant-photo-viewer-footer strong{max-width:100%}.participant-photo-viewer-footer a{width:100%;justify-content:center}}

/* Universal participant event card: before, during and after the event */
.participant-event-status-stack{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.participant-event-phase{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:#eaf5f5;color:#087f7c;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.participant-event-phase.during{background:#fff0d8;color:#a26100}.participant-event-phase.after{background:#e7f6eb;color:#26733a}.participant-event-phase.cancelled{background:#fdebec;color:#a33d45}.participant-live-panel,.participant-completed-panel,.participant-cancelled-panel{display:flex;align-items:center;gap:16px;margin-top:20px;padding:18px 19px;border:1px solid #cfe4e3;border-radius:15px;background:#fff;box-shadow:0 9px 24px rgba(26,73,75,.08)}.participant-live-panel>i,.participant-completed-panel>i,.participant-cancelled-panel>i{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:14px;background:#e7f7f5;color:#078e8d;font-size:25px}.participant-live-panel span,.participant-completed-panel span,.participant-cancelled-panel span{display:block;color:#71848d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.participant-live-panel h2,.participant-completed-panel h2,.participant-cancelled-panel h2{margin:3px 0 0;color:#26414b;font-size:19px}.participant-live-panel p{margin:5px 0 0;color:#657983;font-size:13px}.participant-live-panel.registered{border-color:#bfe1c7}.participant-live-panel.registered>i,.participant-completed-panel>i{background:#e7f6eb;color:#2e8647}.participant-cancelled-panel{border-color:#f1cfd2}.participant-cancelled-panel>i{background:#fdebed;color:#b3414a}.participant-outcome-section,.participant-video-section,.participant-certificate-section,.participant-actions-section,.participant-contacts-section{margin-top:24px;padding-top:22px;border-top:1px solid #e8eff1}.participant-outcome-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:15px}.participant-outcome-grid>div{padding:15px 16px;border:1px solid #dfeaec;border-radius:13px;background:#fafcfc}.participant-outcome-grid>div:first-child:last-child,.participant-outcome-grid>div:nth-child(3){grid-column:1/-1}.participant-outcome-grid span{display:block;margin-bottom:7px;color:#078e8d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.participant-outcome-grid p{margin:0;color:#3c555f;font-size:14px;line-height:1.65}.participant-publication-link{display:inline-flex;align-items:center;gap:8px;margin-top:13px;padding:10px 13px;border-radius:10px;background:#eef7f7;color:#078e8d;text-decoration:none;font-size:13px;font-weight:800}.participant-publication-link:hover{background:#e2f2f1}.participant-photo-album-section .participant-photo-gallery{margin-top:14px}.participant-video-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}.participant-video-button{display:flex;align-items:center;gap:13px;width:100%;padding:14px 15px;border:1px solid #dfe9ec;border-radius:13px;background:#fafcfc;color:#29444e;text-align:left;text-decoration:none;font:inherit;cursor:pointer}.participant-video-button:hover{border-color:#9bcfcd;background:#f2f9f8}.participant-video-button>i{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:12px;background:#e8f7f5;color:#078e8d;font-size:22px}.participant-video-button span{min-width:0}.participant-video-button strong,.participant-video-button small{display:block}.participant-video-button strong{font-size:14px}.participant-video-button small{overflow:hidden;margin-top:4px;color:#778a93;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.participant-certificate-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:13px;margin-top:14px;padding:14px 15px;border:1px solid #d9e8db;border-radius:14px;background:linear-gradient(135deg,#f5fbf6,#eef8f0);color:#29483a;text-decoration:none}.participant-certificate-card>i:first-child{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#dff3e4;color:#2d8547;font-size:24px}.participant-certificate-card>i:last-child{color:#2d8547;font-size:19px}.participant-certificate-card strong,.participant-certificate-card small{display:block}.participant-certificate-card small{margin-top:4px;color:#71867a;font-size:12px}.participant-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.participant-actions-grid>div{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #e0e9ec;border-radius:12px;background:#fafcfc}.participant-actions-grid>div>i{font-size:20px}.participant-actions-grid>div.done{border-color:#cce6d2;background:#f3faf5}.participant-actions-grid>div.done>i{color:#2e8a49}.participant-actions-grid>div.pending>i{color:#93a2a9}.participant-actions-grid>div.negative{border-color:#f0d4d7;background:#fff8f8}.participant-actions-grid>div.negative>i{color:#b34850}.participant-actions-grid strong,.participant-actions-grid small{display:block}.participant-actions-grid strong{color:#304a54;font-size:13px}.participant-actions-grid small{margin-top:4px;color:#819098;font-size:11px}.participant-contact-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}.participant-contact-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid #e0e9ec;border-radius:13px;background:#fafcfc}.participant-contact-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#e8f5f5;color:#078e8d;font-size:20px}.participant-contact-info strong,.participant-contact-info span{display:block}.participant-contact-info strong{color:#2f4852;font-size:14px}.participant-contact-info span{margin-top:4px;color:#7a8d95;font-size:11px}.participant-contact-actions{display:flex;align-items:center;gap:7px}.participant-contact-actions a{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #d8e6e8;border-radius:9px;background:#fff;color:#42616b;text-decoration:none;font-size:12px;font-weight:800}.participant-contact-actions a:hover{border-color:#8ecac8;color:#078e8d}.participant-photo-viewer-stage>video{display:block;width:100%;max-height:78vh;background:#09171d}.participant-card-phase-after .participant-event-hero{background:linear-gradient(135deg,#f7fbf8 0%,#eef8f1 100%)}.participant-card-phase-during .participant-event-hero{background:linear-gradient(135deg,#fffaf2 0%,#f6fbfa 100%)}
@media(max-width:760px){.participant-event-status-stack{align-items:flex-start}.participant-event-title-line{align-items:flex-start;flex-direction:column}.participant-outcome-grid,.participant-actions-grid{grid-template-columns:1fr}.participant-outcome-grid>div:nth-child(3){grid-column:auto}.participant-contact-card{grid-template-columns:42px minmax(0,1fr)}.participant-contact-actions{grid-column:1/-1}.participant-contact-actions a{flex:1;justify-content:center}.participant-live-panel,.participant-completed-panel,.participant-cancelled-panel{align-items:flex-start;padding:15px}.participant-live-panel>i,.participant-completed-panel>i,.participant-cancelled-panel>i{width:42px;height:42px;font-size:21px}.participant-live-panel h2,.participant-completed-panel h2,.participant-cancelled-panel h2{font-size:17px}.participant-certificate-card{grid-template-columns:44px minmax(0,1fr) auto}}


/* Member activity belongs to the member profile and Youth Council directory */
.member-activity-dashboard{margin:0 0 20px;padding:22px;border:1px solid #dbe8ea;border-radius:18px;background:linear-gradient(135deg,#f7fbfb,#eef8f7);box-shadow:0 10px 28px rgba(27,75,78,.07)}
.member-activity-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.member-activity-heading h3{margin:3px 0 4px;color:#24424c;font-size:23px}.member-activity-heading p{margin:0;color:#71858e;font-size:13px}.member-total-points{display:flex;align-items:center;gap:12px;min-width:190px;padding:14px 16px;border-radius:15px;background:#078e8d;color:#fff;box-shadow:0 9px 20px rgba(7,142,141,.2)}.member-total-points>i{font-size:27px}.member-total-points strong,.member-total-points small{display:block}.member-total-points strong{font-size:25px;line-height:1}.member-total-points small{margin-top:5px;color:rgba(255,255,255,.82);font-size:11px;font-weight:700}.member-activity-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:16px}.member-activity-kpis>div{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #dce9eb;border-radius:13px;background:#fff}.member-activity-kpis i{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e9f6f5;color:#078e8d;font-size:18px}.member-activity-kpis strong,.member-activity-kpis small{display:block}.member-activity-kpis strong{color:#294751;font-size:18px}.member-activity-kpis small{margin-top:3px;color:#7d8e95;font-size:11px}.member-activity-history{margin-top:17px;padding:15px;border:1px solid #dce8ea;border-radius:14px;background:#fff}.member-activity-history-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.member-activity-history-title h4{margin:0;color:#2a4650;font-size:15px}.member-activity-history-title span{display:grid;place-items:center;min-width:27px;height:27px;padding:0 8px;border-radius:999px;background:#eaf5f5;color:#087f7c;font-size:11px;font-weight:900}.member-activity-history-row{display:grid;grid-template-columns:37px minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px 0;border-top:1px solid #edf2f3}.member-activity-history-row:first-of-type{border-top:0}.member-activity-history-row>i{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#edf7f6;color:#078e8d}.member-activity-history-row strong,.member-activity-history-row small{display:block}.member-activity-history-row strong{color:#314b55;font-size:13px}.member-activity-history-row small{margin-top:3px;color:#89979d;font-size:11px}.member-activity-history-row>b{color:#278344;font-size:14px}.member-activity-empty{display:flex;align-items:center;gap:9px;padding:14px;color:#839399;font-size:13px}.member-card-activity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.member-card-activity>div{display:flex;align-items:center;gap:9px;padding:10px 11px;border:1px solid #dfeaec;border-radius:12px;background:#f8fbfb}.member-card-activity i{color:#078e8d;font-size:18px}.member-card-activity strong,.member-card-activity small{display:block}.member-card-activity strong{color:#294751;font-size:16px;line-height:1}.member-card-activity small{margin-top:4px;color:#819097;font-size:10px}
@media(max-width:760px){.member-activity-heading{align-items:flex-start;flex-direction:column}.member-total-points{width:100%;box-sizing:border-box}.member-activity-kpis{grid-template-columns:1fr}}

/* Stage 8: dynamic participant title and 24-hour member stories */
.participant-event-kicker-invitation{color:#0a7f7e}.participant-event-kicker-registration{color:#b26b00}.participant-event-kicker-card{color:#397148}.participant-registration-finished p{margin:5px 0 0;color:#657983;font-size:13px}
.event-story-composer{margin:20px 0;padding:18px;border:1px solid #dce9ea;border-radius:17px;background:linear-gradient(135deg,#fbfdfd,#f3f9f8);box-shadow:0 8px 24px rgba(34,71,77,.06)}.participant-event-body>.event-story-composer{margin-top:0;margin-bottom:24px}.event-story-composer-heading{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px}.event-story-composer-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(145deg,#0c9b97,#087977);color:#fff;font-size:22px;box-shadow:0 7px 17px rgba(7,142,141,.22)}.event-story-composer-heading span{display:block;color:#078e8d;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.event-story-composer-heading h2{margin:3px 0 0;color:#28464f;font-size:17px}.event-story-composer-heading p{margin:5px 0 0;color:#73878f;font-size:12px;line-height:1.45}.event-story-active-count{display:inline-flex;align-items:center;gap:7px;padding:9px 11px;border-radius:999px;background:#e8f6f5;color:#087f7c;text-decoration:none;font-size:11px;font-weight:900}.event-story-upload-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1.2fr) auto;align-items:end;gap:10px;margin-top:15px}.event-story-file-picker{display:flex;align-items:center;gap:11px;min-height:48px;padding:10px 12px;border:1px dashed #9bc8c7;border-radius:12px;background:#fff;cursor:pointer}.event-story-file-picker:hover{border-color:#078e8d;background:#f7fbfb}.event-story-file-picker input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.event-story-file-picker>i{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e9f6f5;color:#078e8d;font-size:17px}.event-story-file-picker strong,.event-story-file-picker small{display:block}.event-story-file-picker strong{color:#33515a;font-size:12px}.event-story-file-picker small{margin-top:3px;color:#87969c;font-size:10px}.event-story-caption>span{display:block;margin:0 0 6px;color:#60777f;font-size:10px;font-weight:900;text-transform:uppercase}.event-story-caption input{width:100%;height:48px;padding:0 12px;border:1px solid #d8e5e7;border-radius:12px;background:#fff;color:#29444e;font:inherit}.event-story-caption input:focus{outline:2px solid rgba(7,142,141,.16);border-color:#77bdbc}.event-story-publish{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 16px;border:0;border-radius:12px;background:#078e8d;color:#fff;font:inherit;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}.event-story-publish:hover{background:#067b7a}.event-story-disabled{display:flex;align-items:center;gap:8px;margin-top:14px;padding:12px;border-radius:11px;background:#fff4f4;color:#a8464d;font-size:12px;font-weight:800}
.member-story-trigger{position:relative;display:inline-grid;place-items:center;padding:0;border:0;background:transparent;cursor:pointer}.member-story-ring{display:grid;place-items:center;padding:3px;border-radius:50%;background:linear-gradient(145deg,#16aaa5,#7868d8,#f19a49);box-shadow:0 5px 14px rgba(67,93,131,.18)}.member-story-ring .member-avatar{border:3px solid #fff}.member-story-trigger>small{position:absolute;right:-3px;bottom:-2px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#078e8d;color:#fff;font-size:9px;font-weight:900}.member-story-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:0;border-radius:999px;background:#e9f7f5;color:#078e8d;font:inherit;font-size:10px;font-weight:900;cursor:pointer}.member-story-chip:hover{background:#dff2f0}.member-card.has-active-story{border-color:#b8dedb;box-shadow:0 12px 30px rgba(7,142,141,.10)}
.member-story-viewer{width:min(440px,calc(100vw - 24px));max-width:none;padding:0;border:0;border-radius:22px;background:transparent;overflow:visible}.member-story-viewer::backdrop{background:rgba(4,16,22,.84);backdrop-filter:blur(7px)}.member-story-viewer-card{position:relative;overflow:hidden;border-radius:22px;background:#0b171d;color:#fff;box-shadow:0 24px 70px rgba(0,0,0,.48)}.member-story-progress{position:absolute;z-index:4;top:10px;left:12px;right:12px;display:flex;gap:4px}.member-story-progress span{flex:1;height:3px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.28)}.member-story-progress span i{display:block;width:0;height:100%;background:#fff}.member-story-progress span.done i{width:100%}.member-story-progress span.active i{width:100%;animation:memberStoryProgress 7s linear}.member-story-viewer-card>header{position:absolute;z-index:3;top:22px;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:linear-gradient(180deg,rgba(0,0,0,.62),transparent)}.member-story-owner{display:flex;align-items:center;gap:9px;min-width:0}.member-story-owner>span{display:grid;place-items:center;width:36px;height:36px;border:2px solid rgba(255,255,255,.85);border-radius:50%;background:#078e8d;color:#fff;font-size:11px;font-weight:900}.member-story-owner strong,.member-story-owner small{display:block}.member-story-owner strong{overflow:hidden;max-width:240px;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.member-story-owner small{margin-top:3px;color:rgba(255,255,255,.75);font-size:9px}.member-story-viewer-card>header>button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:rgba(0,0,0,.32);color:#fff;font-size:15px;cursor:pointer}.member-story-stage{position:relative;display:grid;place-items:center;aspect-ratio:9/15;max-height:78vh;background:#091116}.member-story-stage img,.member-story-stage video{width:100%;height:100%;object-fit:contain;background:#091116}.member-story-nav{position:absolute;z-index:3;top:45%;display:grid;place-items:center;width:38px;height:48px;border:0;border-radius:12px;background:rgba(0,0,0,.28);color:#fff;font-size:22px;cursor:pointer}.member-story-nav.previous{left:9px}.member-story-nav.next{right:9px}.member-story-viewer-card>footer{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:13px 15px 15px;background:#101f26}.member-story-viewer-card>footer>div{min-width:0}.member-story-viewer-card>footer p{margin:0 0 7px;color:#fff;font-size:12px;line-height:1.45}.member-story-viewer-card>footer a{display:inline-flex;align-items:center;gap:6px;max-width:280px;color:#9edbd7;text-decoration:none;font-size:10px;font-weight:800}.member-story-viewer-card>footer a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-story-viewer-card>footer form button{display:inline-flex;align-items:center;gap:6px;padding:8px 9px;border:0;border-radius:9px;background:#40252a;color:#ffbdc2;font:inherit;font-size:10px;font-weight:800;cursor:pointer}@keyframes memberStoryProgress{from{width:0}to{width:100%}}
@media(max-width:900px){.event-story-upload-form{grid-template-columns:1fr 1fr}.event-story-publish{grid-column:1/-1}}
@media(max-width:650px){.event-story-composer{padding:15px}.event-story-composer-heading{grid-template-columns:42px minmax(0,1fr)}.event-story-composer-icon{width:42px;height:42px}.event-story-active-count{grid-column:1/-1;justify-content:center}.event-story-upload-form{grid-template-columns:1fr}.event-story-publish{grid-column:auto}.member-story-stage{max-height:76vh}.member-story-nav{width:34px;height:44px}.member-story-owner strong{max-width:190px}}

/* Stage 9: story moderation, permanent participant gallery and public event cards */
.event-public-toggle{padding:14px;border:1px solid #cfe6e4;border-radius:13px;background:#f6fbfa}.event-public-toggle .inline-checkbox{font-weight:900;color:#244851}.event-public-toggle small{display:block;margin-top:7px;color:#6f858d;line-height:1.45}
.event-story-own-list{margin-top:18px;padding-top:16px;border-top:1px solid #dce9ea}.event-story-own-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;color:#2d4a54}.event-story-own-heading span{display:grid;place-items:center;min-width:26px;height:26px;padding:0 8px;border-radius:999px;background:#e6f5f4;color:#087f7c;font-size:11px;font-weight:900}.event-story-own-item{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 0;border-top:1px solid #e7efef}.event-story-own-preview{display:grid;place-items:center;overflow:hidden;width:76px;height:76px;padding:0;border:0;border-radius:13px;background:#14262d;color:#fff;font-size:28px;cursor:pointer}.event-story-own-preview img{width:100%;height:100%;object-fit:cover}.event-story-own-content{min-width:0}.event-story-own-content strong,.event-story-own-content small{display:block}.event-story-own-content strong{margin-top:6px;overflow:hidden;color:#2c4852;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.event-story-own-content small{margin-top:4px;color:#829198;font-size:10px}.event-story-own-status{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.event-story-own-status.live{background:#eaf5f5;color:#087f7c}.event-story-own-status.pending{background:#fff4dc;color:#a46b00}.event-story-own-status.approved{background:#e9f7ed;color:#278143}.event-story-own-status.rejected{background:#fff0f0;color:#b44e56}.event-story-rejection-reason{margin:7px 0 0;color:#a04b52;font-size:11px}.event-story-own-actions{display:flex;align-items:center;gap:7px}.event-story-own-actions form{margin:0}.story-propose-button,.story-own-delete{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:10px;font:inherit;font-size:10px;font-weight:900;cursor:pointer}.story-propose-button{padding:9px 11px;background:#078e8d;color:#fff}.story-own-delete{width:36px;height:36px;background:#f4ecee;color:#a6464f}.story-waiting-note,.story-approved-note{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:10px;font-size:10px;font-weight:800}.story-waiting-note{background:#fff5df;color:#9c6805}.story-approved-note{background:#e9f7ed;color:#267b41}.story-simple-preview{width:min(720px,calc(100vw - 24px));max-width:none;padding:0;border:0;border-radius:18px;background:#09171d;overflow:hidden}.story-simple-preview::backdrop{background:rgba(5,18,24,.84)}.story-simple-preview img,.story-simple-preview video{display:block;width:100%;max-height:82vh;object-fit:contain}.story-simple-close{position:absolute;z-index:2;top:12px;right:12px;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;cursor:pointer}
.event-story-moderation-section{display:block!important;margin-top:18px}.event-public-card-settings{display:flex;align-items:center;justify-content:space-between;gap:18px;border-color:#bfe0dd;background:linear-gradient(135deg,#f8fdfc,#eef8f7)}.event-public-eyebrow{display:inline-flex;align-items:center;gap:7px;color:#078e8d;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.event-public-card-settings h2{margin:6px 0 5px;color:#284750}.event-public-link-box{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;gap:7px;width:min(620px,55%)}.event-public-link-box input{min-width:0;padding:10px 11px;border:1px solid #cfe1e2;border-radius:9px;background:#fff;color:#51666e}.event-public-link-box button,.event-public-link-box a{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 11px;border:0;border-radius:9px;background:#fff;color:#36545d;text-decoration:none;font:inherit;font-size:11px;font-weight:900;cursor:pointer}.event-public-link-box a{background:#078e8d;color:#fff}.public-material-control-list{display:flex;flex-direction:column;gap:8px}.public-material-control-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 11px;border:1px solid #e0eaec;border-radius:11px;background:#fafcfc}.public-material-control-row>i{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#eaf6f5;color:#078e8d}.public-material-control-row strong,.public-material-control-row small{display:block}.public-material-control-row strong{color:#314b54;font-size:12px}.public-material-control-row small{margin-top:3px;color:#839198;font-size:10px}.public-material-control-row button{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #d8e6e7;border-radius:9px;background:#fff;color:#657a82;font:inherit;font-size:10px;font-weight:900;cursor:pointer}.public-material-control-row button.active{border-color:#8ec9c5;background:#e9f7f5;color:#087f7c}.story-moderation-empty{display:flex;align-items:center;gap:9px;padding:20px;color:#7e9097}.story-moderation-empty i{font-size:22px}.story-moderation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.story-moderation-card{overflow:hidden;border:1px solid #dfe9eb;border-radius:14px;background:#fff}.story-moderation-media{display:grid;place-items:center;height:250px;background:#0d1c22}.story-moderation-media img,.story-moderation-media video{width:100%;height:100%;object-fit:contain}.story-moderation-body{padding:13px}.story-author-line{display:flex;align-items:center;gap:9px}.story-author-line>i{color:#078e8d;font-size:25px}.story-author-line strong,.story-author-line small{display:block}.story-author-line strong{color:#2c4851;font-size:12px}.story-author-line small{margin-top:3px;color:#819198;font-size:10px}.story-moderation-body p{margin:10px 0;color:#435c64;font-size:12px;line-height:1.45}.story-moderation-body>small{color:#8a999f;font-size:9px}.story-moderation-actions{display:flex;align-items:flex-start;gap:8px;margin-top:12px}.story-moderation-actions form{margin:0}.story-moderation-actions button,.story-moderation-actions summary{display:inline-flex;align-items:center;gap:6px;padding:9px 11px;border:0;border-radius:9px;background:#f3e9eb;color:#a3464e;font:inherit;font-size:10px;font-weight:900;cursor:pointer;list-style:none}.story-moderation-actions button.approve{background:#278747;color:#fff}.story-moderation-actions details{position:relative}.story-moderation-actions details form{position:absolute;z-index:5;top:42px;right:0;width:260px;padding:10px;border:1px solid #e1e8ea;border-radius:11px;background:#fff;box-shadow:0 14px 35px rgba(26,49,58,.18)}.story-moderation-actions textarea{width:100%;box-sizing:border-box;padding:9px;border:1px solid #dbe6e8;border-radius:8px;resize:vertical}.story-moderation-actions details form button{width:100%;justify-content:center;margin-top:7px}.event-story-archive-list{display:flex;flex-direction:column;gap:10px}.event-story-archive-item{display:grid;grid-template-columns:150px minmax(0,1fr) minmax(290px,auto);align-items:center;gap:13px;padding:10px;border:1px solid #dfe9eb;border-radius:13px;background:#fff}.event-story-archive-item.hidden{opacity:.72;background:#f7f8f8}.event-story-archive-item.cover{border-color:#e5c46d;box-shadow:0 0 0 2px rgba(226,179,54,.12)}.event-story-archive-thumb{position:relative;overflow:hidden;height:110px;border-radius:10px;background:#12232a}.event-story-archive-thumb img,.event-story-archive-thumb video{width:100%;height:100%;object-fit:cover}.story-cover-badge,.story-hidden-badge{position:absolute;left:7px;bottom:7px;display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border-radius:999px;background:rgba(27,37,40,.82);color:#fff;font-size:9px;font-weight:900}.story-cover-badge{background:rgba(177,123,0,.9)}.event-story-archive-info strong,.event-story-archive-info span,.event-story-archive-info small{display:block}.event-story-archive-info strong{color:#2d4952;font-size:13px}.event-story-archive-info span{margin-top:5px;color:#768a91;font-size:10px}.event-story-archive-info small{margin-top:7px;color:#a1545a}.event-story-archive-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.event-story-archive-actions form{display:flex;margin:0}.event-story-archive-actions a,.event-story-archive-actions button,.event-story-archive-actions summary{display:inline-flex;align-items:center;gap:5px;padding:7px 8px;border:1px solid #dbe6e8;border-radius:8px;background:#fff;color:#4c666e;text-decoration:none;font:inherit;font-size:9px;font-weight:900;cursor:pointer;list-style:none}.event-story-archive-actions details{position:relative}.event-story-archive-actions details form{position:absolute;z-index:6;right:0;top:36px;display:block;width:230px;padding:10px;border:1px solid #e2e9eb;border-radius:10px;background:#fff;box-shadow:0 15px 35px rgba(31,55,63,.18)}.event-story-archive-actions details input,.event-story-archive-actions details textarea{width:100%;box-sizing:border-box;padding:8px;border:1px solid #dbe5e7;border-radius:8px}.event-story-archive-actions details form button{width:100%;justify-content:center;margin-top:7px}.event-story-archive-actions details.danger summary{color:#a7444d}.story-review-history summary{cursor:pointer;color:#526b73;font-weight:800}.story-review-history p{margin:8px 0;color:#657a82;font-size:11px}
.participant-story-material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:14px}.participant-story-material-card{overflow:hidden;border:1px solid #e0eaec;border-radius:13px;background:#fff}.participant-story-material-preview{position:relative;display:block;width:100%;aspect-ratio:4/3;padding:0;border:0;background:#11242b;cursor:pointer}.participant-story-material-preview img,.participant-story-material-preview video{width:100%;height:100%;object-fit:cover}.participant-story-material-preview .play{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:42px;background:rgba(8,24,31,.22)}.participant-story-material-card>div{padding:10px}.participant-story-material-card strong,.participant-story-material-card span{display:block}.participant-story-material-card strong{overflow:hidden;color:#2c4851;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.participant-story-material-card span{margin-top:5px;color:#819097;font-size:9px}.participant-story-material-card span i{margin-right:4px;color:#078e8d}
body.public-event-layout{margin:0;background:#eef4f5;color:#243f49;font-family:Inter,Arial,sans-serif}.public-event-topbar{display:flex;align-items:center;justify-content:space-between;height:66px;padding:0 28px;background:#fff;border-bottom:1px solid #dfe8ea}.public-event-brand{display:flex;align-items:center;gap:10px;color:#183f48;text-decoration:none}.public-event-brand>span{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#078e8d;color:#fff}.public-event-brand strong,.public-event-brand small{display:block}.public-event-brand small{margin-top:3px;color:#7e8f96;font-size:10px}.public-event-login{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:9px;background:#edf7f6;color:#087f7c;text-decoration:none;font-size:11px;font-weight:900}.public-event-page{max-width:1040px;margin:0 auto;padding:30px 18px 50px}.public-event-card{overflow:hidden;border:1px solid #dce6e8;border-radius:22px;background:#fff;box-shadow:0 20px 55px rgba(28,55,64,.10)}.public-event-hero{position:relative;min-height:310px;display:flex;align-items:flex-end;background:linear-gradient(135deg,#0a8f8c,#154f61)}.public-event-hero.has-cover{background-image:var(--public-cover);background-size:cover;background-position:center}.public-event-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,23,29,.1),rgba(5,23,29,.83))}.public-event-hero-content{position:relative;z-index:1;width:100%;padding:36px;color:#fff}.public-event-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.16);backdrop-filter:blur(8px);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.public-event-hero h1{max-width:760px;margin:15px 0 17px;font-size:38px;line-height:1.08}.public-event-meta{display:flex;flex-wrap:wrap;gap:9px}.public-event-meta span{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border-radius:9px;background:rgba(255,255,255,.14);font-size:11px;font-weight:800}.public-event-body{padding:28px 34px 35px}.public-event-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.public-event-facts>div{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;padding:14px;border:1px solid #e1eaec;border-radius:13px;background:#fafcfc}.public-event-facts>div>i{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#e9f6f5;color:#078e8d;font-size:19px}.public-event-facts small,.public-event-facts strong{display:block}.public-event-facts small{color:#819097;font-size:9px;text-transform:uppercase}.public-event-facts strong{margin-top:4px;color:#2d4952;font-size:12px}.public-event-facts a{padding:8px 9px;border-radius:8px;background:#078e8d;color:#fff;text-decoration:none;font-size:10px;font-weight:900}.public-event-section{margin-top:27px;padding-top:24px;border-top:1px solid #e7edef}.public-event-section-title{display:flex;align-items:center;gap:9px}.public-event-section-title>i{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#e8f6f5;color:#078e8d}.public-event-section-title h2{margin:0;color:#284750;font-size:20px}.public-event-section-title>span{margin-left:auto;display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#e9f6f5;color:#087f7c;font-size:10px;font-weight:900}.public-event-section>p,.public-event-outcome p{color:#526b74;font-size:14px;line-height:1.65}.public-event-outcome>div:not(.public-event-section-title){margin-top:16px;padding:14px;border-radius:12px;background:#f6faf9}.public-event-outcome h3{margin:0 0 7px;color:#30505a;font-size:14px}.public-event-muted{margin:9px 0 14px;color:#7b8e95!important;font-size:12px!important}.public-story-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.public-story-item{position:relative;overflow:hidden;aspect-ratio:9/12;padding:0;border:0;border-radius:13px;background:#12242b;cursor:pointer}.public-story-item img,.public-story-item video{width:100%;height:100%;object-fit:cover}.public-story-item>i{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:42px;background:rgba(7,20,26,.18)}.public-story-item>span{position:absolute;left:0;right:0;bottom:0;padding:25px 9px 9px;background:linear-gradient(transparent,rgba(4,17,22,.85));color:#fff;text-align:left}.public-story-item strong,.public-story-item small{display:block}.public-story-item strong{font-size:10px}.public-story-item small{margin-top:3px;color:rgba(255,255,255,.72);font-size:8px}.public-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.public-photo-grid a{overflow:hidden;aspect-ratio:4/3;border-radius:11px;background:#e7eff1}.public-photo-grid img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.public-photo-grid a:hover img{transform:scale(1.04)}.public-file-list{display:flex;flex-direction:column;gap:8px}.public-file-list a{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border:1px solid #e0eaec;border-radius:11px;background:#fafcfc;color:#304c55;text-decoration:none}.public-file-list>a>i:first-child{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#e8f6f5;color:#078e8d}.public-file-list strong,.public-file-list small{display:block}.public-file-list strong{font-size:12px}.public-file-list small{margin-top:3px;color:#819097;font-size:9px}.public-platform-promo{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:20px;padding:24px 28px;border-radius:18px;background:#153f49;color:#fff;box-shadow:0 16px 38px rgba(20,54,63,.18)}.public-platform-promo span{display:inline-flex;align-items:center;gap:6px;color:#8fe2dc;font-size:10px;font-weight:900;text-transform:uppercase}.public-platform-promo h2{margin:7px 0 5px;font-size:23px}.public-platform-promo p{margin:0;max-width:600px;color:#c7d6da;font-size:12px;line-height:1.5}.public-platform-promo>div:last-child{display:flex;gap:8px}.public-platform-promo a{display:inline-flex;align-items:center;justify-content:center;padding:11px 13px;border:1px solid rgba(255,255,255,.25);border-radius:10px;color:#fff;text-decoration:none;font-size:10px;font-weight:900}.public-platform-promo a.primary{border-color:#11a5a0;background:#0c928f}.public-story-viewer{width:min(860px,calc(100vw - 24px));max-width:none;padding:0;border:0;border-radius:18px;background:transparent}.public-story-viewer::backdrop{background:rgba(3,15,20,.88);backdrop-filter:blur(6px)}.public-story-viewer>div{position:relative;overflow:hidden;border-radius:18px;background:#09171d;color:#fff}.public-story-viewer img,.public-story-viewer video{display:block;width:100%;max-height:80vh;object-fit:contain}.public-story-viewer button{position:absolute;z-index:2;display:grid;place-items:center;border:0;background:rgba(0,0,0,.48);color:#fff;cursor:pointer}.public-story-viewer .close{top:12px;right:12px;width:38px;height:38px;border-radius:50%}.public-story-viewer .prev,.public-story-viewer .next{top:45%;width:44px;height:52px;border-radius:11px;font-size:22px}.public-story-viewer .prev{left:10px}.public-story-viewer .next{right:10px}.public-story-viewer footer{padding:13px 15px;background:#102129}.public-story-viewer footer strong,.public-story-viewer footer span,.public-story-viewer footer small{display:block}.public-story-viewer footer span{margin-top:5px;color:#9edbd7;font-size:11px}.public-story-viewer footer small{margin-top:3px;color:#82979f;font-size:9px}
@media(max-width:900px){.event-public-card-settings{align-items:flex-start;flex-direction:column}.event-public-link-box{width:100%}.story-moderation-grid{grid-template-columns:1fr}.event-story-archive-item{grid-template-columns:120px minmax(0,1fr)}.event-story-archive-actions{grid-column:1/-1;justify-content:flex-start}.public-story-gallery,.public-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.public-platform-promo{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){.event-story-own-item{grid-template-columns:66px minmax(0,1fr)}.event-story-own-preview{width:66px;height:66px}.event-story-own-actions{grid-column:1/-1;justify-content:flex-end}.event-public-link-box{grid-template-columns:1fr 1fr}.event-public-link-box input{grid-column:1/-1}.public-material-control-row{grid-template-columns:34px minmax(0,1fr)}.public-material-control-row form{grid-column:1/-1}.public-material-control-row button{width:100%;justify-content:center}.event-story-archive-item{grid-template-columns:1fr}.event-story-archive-thumb{height:190px}.participant-story-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-event-topbar{height:60px;padding:0 14px}.public-event-page{padding:14px 9px 30px}.public-event-card{border-radius:15px}.public-event-hero{min-height:260px}.public-event-hero-content{padding:24px 18px}.public-event-hero h1{font-size:28px}.public-event-body{padding:20px 15px 25px}.public-event-facts{grid-template-columns:1fr}.public-story-gallery,.public-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-platform-promo{padding:20px}.public-platform-promo>div:last-child{width:100%;flex-direction:column}.public-platform-promo a{width:100%;box-sizing:border-box}}

/* Stage 10: active event stories and editing */
.event-live-stories-section{margin:20px 0;padding:18px;border:1px solid #dce9ea;border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(34,71,77,.06)}
.participant-event-body>.event-live-stories-section{margin-top:0;margin-bottom:24px}
.event-live-stories-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.event-live-stories-heading>div>span{display:inline-flex;align-items:center;gap:6px;color:#078e8d;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.event-live-stories-heading h2{margin:5px 0 4px;color:#294852;font-size:18px}
.event-live-stories-heading p{margin:0;color:#7a8d94;font-size:11px;line-height:1.45}
.event-live-stories-heading>strong{display:grid;place-items:center;min-width:34px;height:34px;padding:0 9px;border-radius:999px;background:#e7f5f4;color:#087f7c;font-size:12px}
.event-live-stories-strip{display:flex;gap:12px;margin-top:15px;padding-bottom:4px;overflow-x:auto;scrollbar-width:thin}
.event-live-story-card{flex:0 0 126px;padding:7px;border:1px solid #e0eaec;border-radius:15px;background:#fafcfc;text-align:left;cursor:pointer;transition:.18s ease}
.event-live-story-card:hover{transform:translateY(-2px);border-color:#9bcac7;box-shadow:0 8px 18px rgba(34,71,77,.1)}
.event-live-story-card.mine{border-color:#71bbb7;background:#f1fbfa;box-shadow:0 0 0 2px rgba(7,142,141,.08)}
.event-live-story-media{position:relative;display:block;overflow:hidden;width:100%;aspect-ratio:9/13;border-radius:11px;background:#10232a}
.event-live-story-media img,.event-live-story-media video{width:100%;height:100%;object-fit:cover}
.event-live-story-media>i{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:34px;background:rgba(6,22,28,.22)}
.event-live-story-meta{display:block;padding:8px 3px 2px;min-width:0}
.event-live-story-meta strong,.event-live-story-meta small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.event-live-story-meta strong{color:#2d4a53;font-size:11px}
.event-live-story-meta small{margin-top:4px;color:#85949a;font-size:9px}
.event-live-story-viewer{width:min(460px,calc(100vw - 20px));max-width:none;padding:0;border:0;border-radius:20px;background:#08171d;color:#fff;overflow:hidden}
.event-live-story-viewer::backdrop{background:rgba(4,14,19,.9)}
.event-live-story-viewer-card{position:relative}
.event-live-story-progress{height:3px;background:linear-gradient(90deg,#22b8b2,#e7f4f3)}
.event-live-story-viewer header{position:absolute;z-index:4;top:3px;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:14px;background:linear-gradient(180deg,rgba(0,0,0,.64),transparent)}
.event-live-story-viewer header>div{display:flex;align-items:center;gap:9px}
.event-live-story-viewer header>div>i{font-size:27px}
.event-live-story-viewer header strong,.event-live-story-viewer header small{display:block;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.event-live-story-viewer header strong{font-size:12px}.event-live-story-viewer header small{margin-top:2px;font-size:9px;opacity:.8}
.event-live-story-close{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:rgba(0,0,0,.4);color:#fff;cursor:pointer}
.event-live-story-stage{position:relative;display:grid;place-items:center;min-height:620px;max-height:82vh;background:#071219}
.event-live-story-stage img,.event-live-story-stage video{display:block;width:100%;height:100%;max-height:82vh;object-fit:contain}
.event-live-story-nav{position:absolute;z-index:4;top:50%;display:grid;place-items:center;width:38px;height:54px;border:0;border-radius:11px;background:rgba(0,0,0,.38);color:#fff;font-size:22px;cursor:pointer;transform:translateY(-50%)}
.event-live-story-nav.previous{left:8px}.event-live-story-nav.next{right:8px}
.event-live-story-viewer footer{position:absolute;z-index:4;left:0;right:0;bottom:0;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:42px 15px 15px;background:linear-gradient(0deg,rgba(0,0,0,.72),transparent)}
.event-live-story-viewer footer p{margin:0;max-width:80%;font-size:12px;line-height:1.45}.event-live-story-viewer footer span{font-size:10px;font-weight:900}
.story-own-view,.story-own-edit>summary{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 10px;border:1px solid #d6e5e6;border-radius:10px;background:#fff;color:#47636b;font:inherit;font-size:10px;font-weight:900;cursor:pointer;list-style:none}
.story-own-edit{position:relative}.story-own-edit>summary::-webkit-details-marker{display:none}
.story-own-edit[open]>summary{border-color:#86c5c1;background:#ebf8f7;color:#087f7c}
.story-own-edit>form{position:absolute;z-index:20;right:0;top:43px;width:320px;padding:13px;border:1px solid #dce7e9;border-radius:13px;background:#fff;box-shadow:0 18px 42px rgba(24,49,58,.2)}
.story-own-edit label,.story-own-edit label>span,.story-own-edit label>small{display:block}
.story-own-edit label+label{margin-top:10px}.story-own-edit label>span{margin-bottom:5px;color:#526d75;font-size:9px;font-weight:900;text-transform:uppercase}
.story-own-edit input[type=text],.story-own-edit input[type=file]{width:100%;box-sizing:border-box;padding:9px;border:1px solid #d8e5e7;border-radius:9px;background:#fff;color:#2f4b54;font:inherit;font-size:11px}
.story-own-edit label>small{margin-top:5px;color:#89979d;font-size:9px}.story-own-edit p{margin:9px 0 0;padding:8px;border-radius:8px;background:#f4f8f8;color:#657b83;font-size:9px;line-height:1.4}
.story-own-edit form>button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:11px;padding:10px;border:0;border-radius:9px;background:#078e8d;color:#fff;font:inherit;font-size:10px;font-weight:900;cursor:pointer}
@media(max-width:650px){.event-live-stories-section{padding:15px}.event-live-story-card{flex-basis:108px}.event-live-story-stage{min-height:70vh}.story-own-edit{position:static}.story-own-edit>form{position:fixed;z-index:100;left:10px;right:10px;top:50%;width:auto;transform:translateY(-50%)}.event-story-own-actions{align-items:stretch;flex-wrap:wrap}.story-own-view,.story-own-edit>summary,.story-propose-button{min-height:38px}.story-own-edit{flex:1}.story-own-edit>summary{width:100%;box-sizing:border-box}}

/* Stage 11: always-visible story viewer in the event card */
.event-live-stories-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.event-live-stories-open-all{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 14px;border:0;border-radius:11px;background:#0b8f8b;color:#fff;font-size:11px;font-weight:900;cursor:pointer;box-shadow:0 7px 16px rgba(11,143,139,.2)}
.event-live-stories-open-all:hover{background:#087d79}
.event-live-stories-empty{display:flex;align-items:center;gap:13px;margin-top:15px;padding:14px;border:1px dashed #c7dcde;border-radius:14px;background:#f8fbfb}
.event-live-stories-empty>div{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:#e8f5f4;color:#0a8b87;font-size:20px}
.event-live-stories-empty>span{min-width:0;flex:1}
.event-live-stories-empty strong,.event-live-stories-empty small{display:block}
.event-live-stories-empty strong{color:#2c4a53;font-size:12px}
.event-live-stories-empty small{margin-top:3px;color:#809198;font-size:10px;line-height:1.4}
.event-live-stories-empty>a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid #b8d7d6;border-radius:10px;background:#fff;color:#087f7c;font-size:10px;font-weight:900;text-decoration:none}
@media(max-width:650px){.event-live-stories-heading{align-items:stretch;flex-direction:column}.event-live-stories-heading-actions{justify-content:space-between}.event-live-stories-open-all{flex:1}.event-live-stories-empty{align-items:flex-start;flex-wrap:wrap}.event-live-stories-empty>a{width:100%}}


/* Stage 12: strict story-to-event binding */
.story-event-binding{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid rgba(47,122,93,.18);background:rgba(47,122,93,.06);border-radius:12px;font-size:13px}.story-event-binding i{color:#2f7a5d}.story-event-binding span{color:#68756f}.story-event-binding strong{color:#20352d}.story-bound-event{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;font-size:12px;color:#2f7a5d;background:rgba(47,122,93,.08);padding:5px 8px;border-radius:999px}.story-rebind-panel{margin-top:14px;border:1px solid #e2e8e5;border-radius:14px;background:#fff}.story-rebind-panel>summary{display:flex;align-items:center;gap:8px;padding:13px 14px;cursor:pointer;font-weight:700;list-style:none}.story-rebind-panel>summary::-webkit-details-marker{display:none}.story-rebind-panel>summary span{margin-left:auto;min-width:25px;height:25px;display:grid;place-items:center;border-radius:999px;background:#eef3f1;color:#385449}.story-rebind-list{padding:0 14px 14px}.story-rebind-list>p{margin:0 0 10px;color:#69756f;font-size:13px}.story-rebind-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #edf1ef}.story-rebind-item>div{min-width:0;flex:1}.story-rebind-item strong,.story-rebind-item small{display:block}.story-rebind-item strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.story-rebind-item small{margin-top:3px;color:#6f7b75}.story-rebind-item button{border:0;border-radius:10px;padding:9px 11px;background:#2f7a5d;color:#fff;font-weight:700;cursor:pointer}.story-rebind-item button i{margin-right:5px}@media(max-width:640px){.story-event-binding{align-items:flex-start;flex-wrap:wrap}.story-event-binding strong{width:100%;padding-left:24px}.story-rebind-item{align-items:stretch;flex-direction:column}.story-rebind-item button{width:100%}}

/* ===== Stage 13: hybrid stories ===== */
.story-publication-modes{border:0;padding:0;margin:2px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.story-publication-modes legend{font-size:13px;font-weight:800;color:#4d6268;margin-bottom:9px}.story-publication-mode{position:relative;display:flex;align-items:flex-start;gap:11px;padding:14px;border:1px solid #dce7e9;border-radius:15px;background:#fff;cursor:pointer;transition:.2s ease}.story-publication-mode:hover,.story-publication-mode.selected{border-color:#0e7d75;box-shadow:0 8px 22px rgba(20,82,79,.1);transform:translateY(-1px)}.story-publication-mode input{position:absolute;opacity:0;pointer-events:none}.story-mode-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#edf7f6;color:#0b756d;font-size:18px;flex:0 0 auto}.story-publication-mode span:last-child{display:flex;flex-direction:column;gap:4px}.story-publication-mode strong{font-size:14px;color:#193236;line-height:1.25}.story-publication-mode small{font-size:12px;line-height:1.35;color:#718489}.story-publication-mode.selected .story-mode-icon{background:#0f7b73;color:#fff}.story-publication-mode.selected:after{content:'✓';position:absolute;right:10px;top:9px;width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#0f7b73;color:#fff;font-size:12px;font-weight:900}

.dashboard-stories{margin-bottom:20px;padding:21px 22px 18px;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f5fbfa 100%);border:1px solid #dce9e8;box-shadow:0 12px 32px rgba(37,74,74,.08)}.dashboard-stories-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.dashboard-stories-heading>div>span{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#08766f}.dashboard-stories-heading h2{font-size:22px;margin:5px 0 2px;color:#183236}.dashboard-stories-heading p{margin:0;color:#718287;font-size:13px}.dashboard-stories-heading>a{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:11px;border:1px solid #d6e5e4;background:#fff;color:#155f5a;text-decoration:none;font-size:13px;font-weight:800}.dashboard-stories-strip{display:flex;gap:15px;overflow-x:auto;padding:4px 2px 8px;scrollbar-width:thin}.dashboard-story-person{position:relative;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;width:92px;min-width:92px;padding:0;cursor:pointer;color:#213a3d}.dashboard-story-ring{width:66px;height:66px;border-radius:50%;padding:3px;background:linear-gradient(135deg,#0c8a80,#4ac1b6,#f1b653);box-shadow:0 6px 18px rgba(16,107,100,.2)}.dashboard-story-ring>span{width:100%;height:100%;display:grid;place-items:center;border-radius:50%;background:#fff;border:3px solid #f6fbfa;font-size:18px;font-weight:900;color:#0b7069}.dashboard-story-person>em{position:absolute;top:0;right:9px;min-width:22px;height:22px;border-radius:11px;display:grid;place-items:center;background:#173e42;color:#fff;font-style:normal;font-size:11px;font-weight:900;border:2px solid #fff}.dashboard-story-person>strong{margin-top:7px;font-size:13px;max-width:90px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-story-person>small{margin-top:2px;font-size:10px;color:#6f8286;line-height:1.2;max-width:90px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dashboard-story-viewer{border:0;padding:0;background:transparent;max-width:none;max-height:none}.dashboard-story-viewer::backdrop{background:rgba(4,18,20,.86);backdrop-filter:blur(6px)}.dashboard-story-viewer-card{width:min(430px,94vw);height:min(780px,92vh);display:flex;flex-direction:column;border-radius:25px;overflow:hidden;background:#102426;color:#fff;box-shadow:0 28px 90px rgba(0,0,0,.45)}.dashboard-story-viewer-card header{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;background:#102426}.dashboard-story-viewer-card header div{display:flex;flex-direction:column}.dashboard-story-viewer-card header span{font-size:15px;font-weight:900}.dashboard-story-viewer-card header small{font-size:11px;color:#a7baba}.dashboard-story-close{width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.1);color:#fff}.dashboard-story-stage{position:relative;flex:1;min-height:0;background:#071315;display:grid;place-items:center}.dashboard-story-stage img,.dashboard-story-stage video{width:100%;height:100%;object-fit:contain}.dashboard-story-nav{position:absolute;top:0;bottom:0;width:20%;border:0;background:transparent;color:#fff;font-size:30px;opacity:.45}.dashboard-story-nav:hover{opacity:1}.dashboard-story-nav.previous{left:0}.dashboard-story-nav.next{right:0}.dashboard-story-viewer-card footer{position:relative;padding:13px 16px 16px;display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center}.dashboard-story-viewer-card footer strong{font-size:14px}.dashboard-story-viewer-card footer p{margin:3px 0 0;font-size:13px;color:#cad6d6}.dashboard-story-viewer-card footer a{grid-row:1/3;grid-column:2;align-self:center;color:#8fe2d9;font-size:12px;font-weight:800;text-decoration:none}.dashboard-story-viewer-card footer>span{position:absolute;right:15px;top:-28px;padding:4px 8px;border-radius:10px;background:rgba(0,0,0,.45);font-size:11px}

.profile-stories-card{margin-bottom:20px;padding:22px;border-radius:22px;background:#fff;border:1px solid #dce7e9;box-shadow:0 10px 30px rgba(41,77,80,.07)}.profile-stories-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.profile-stories-heading h3{margin:4px 0;font-size:22px;color:#183236}.profile-stories-heading p{margin:0;color:#708286;font-size:13px}.profile-stories-count{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:12px;background:#edf7f6;color:#0d756e;font-size:12px;font-weight:900}.profile-story-form{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(220px,1fr) auto;gap:12px;align-items:end;padding:14px;border-radius:17px;background:#f6faf9;border:1px solid #e0ebe9}.profile-story-file{height:58px;border:1px dashed #9abdb8;border-radius:13px;display:flex;align-items:center;gap:11px;padding:0 14px;cursor:pointer;background:#fff}.profile-story-file input{display:none}.profile-story-file>i{font-size:22px;color:#0c7b72}.profile-story-file span{display:flex;flex-direction:column}.profile-story-file strong{font-size:14px}.profile-story-file small{font-size:11px;color:#718286}.profile-story-caption{display:flex;flex-direction:column;gap:5px}.profile-story-caption span{font-size:12px;font-weight:800;color:#53686c}.profile-story-caption input{height:44px;border:1px solid #d4e1e2;border-radius:11px;padding:0 12px;background:#fff}.profile-story-form>button{height:44px;border:0;border-radius:11px;padding:0 17px;background:#0d7b73;color:#fff;font-weight:900;display:inline-flex;align-items:center;gap:7px}.profile-stories-list{display:grid;gap:10px;margin-top:15px}.profile-story-item{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:13px;align-items:center;padding:11px;border:1px solid #e0e9ea;border-radius:15px;background:#fff}.profile-story-preview{width:74px;height:74px;border:0;border-radius:12px;overflow:hidden;background:#172c2f;color:#fff;font-size:27px;display:grid;place-items:center;padding:0}.profile-story-preview img{width:100%;height:100%;object-fit:cover}.profile-story-info{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}.profile-story-info>strong{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.profile-story-info>a{font-size:12px;color:#0d756e;text-decoration:none;display:inline-flex;align-items:center;gap:4px}.profile-story-info>small{font-size:11px;color:#78898d}.profile-story-scope{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:8px;font-size:10px;font-weight:900}.profile-story-scope.event{background:#eaf7f6;color:#08766e}.profile-story-scope.personal{background:#f3eefb;color:#7651a5}.profile-story-status{font-style:normal;font-size:11px;font-weight:800}.profile-story-status.pending{color:#9b6b13}.profile-story-status.approved{color:#167149}.profile-story-status.rejected{color:#a23b43}.profile-story-actions{display:flex;align-items:center;gap:6px;position:relative}.profile-story-actions>button,.profile-story-actions>form>button,.profile-story-actions>details>summary{width:35px;height:35px;border-radius:10px;border:1px solid #dce7e8;background:#fff;color:#31555a;display:grid;place-items:center;cursor:pointer;list-style:none}.profile-story-actions>form>button.delete{color:#a53e45}.profile-story-actions>details{position:relative}.profile-story-actions>details>summary::-webkit-details-marker{display:none}.profile-story-actions>details[open]>form{position:absolute;right:0;top:42px;width:280px;z-index:20;padding:13px;border:1px solid #dbe6e7;border-radius:14px;background:#fff;box-shadow:0 16px 45px rgba(27,57,61,.18);display:grid;gap:9px}.profile-story-actions>details form label{display:grid;gap:4px;font-size:11px;font-weight:800}.profile-story-actions>details form input{height:38px;border:1px solid #d4e1e2;border-radius:9px;padding:0 9px;font-size:12px}.profile-story-actions>details form input[type=file]{height:auto;padding:7px}.profile-story-actions>details form button{height:38px;border:0;border-radius:9px;background:#0e7a72;color:#fff;font-weight:900}.profile-stories-empty{margin-top:14px;padding:18px;border:1px dashed #cbdcdd;border-radius:15px;display:flex;align-items:center;gap:12px;color:#698084}.profile-stories-empty>i{font-size:25px}.profile-stories-empty span{display:flex;flex-direction:column}.profile-stories-empty strong{color:#365257;font-size:14px}.profile-stories-empty small{font-size:12px}

@media(max-width:900px){.story-publication-modes{grid-template-columns:1fr}.profile-story-form{grid-template-columns:1fr}.dashboard-stories-heading{flex-direction:column}.profile-story-item{grid-template-columns:64px minmax(0,1fr)}.profile-story-preview{width:64px;height:64px}.profile-story-actions{grid-column:1/-1;justify-content:flex-end}.profile-story-actions>details[open]>form{right:0;width:min(280px,80vw)}}
@media(max-width:600px){.dashboard-stories{padding:17px 14px}.dashboard-stories-heading h2{font-size:19px}.dashboard-story-person{width:78px;min-width:78px}.dashboard-story-ring{width:59px;height:59px}.profile-stories-card{padding:16px}.profile-stories-heading{flex-direction:column}.story-publication-mode{padding:12px}}

/* Stage 14: stable responsive layout for the hybrid story composer */
.event-story-upload-form{
    grid-template-columns:minmax(260px,.9fr) minmax(300px,1.1fr);
    align-items:end;
    column-gap:16px;
    row-gap:16px;
}
.event-story-upload-form>.event-story-file-picker,
.event-story-upload-form>.event-story-caption,
.event-story-upload-form>.story-publication-modes,
.event-story-upload-form>.story-event-binding,
.event-story-upload-form>.event-story-publish{
    min-width:0;
    box-sizing:border-box;
}
.event-story-upload-form>.story-publication-modes{
    grid-column:1/-1;
    width:100%;
    margin:0;
}
.story-publication-modes{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.story-publication-modes legend{
    width:100%;
    margin:0 0 10px;
}
.story-publication-mode{
    min-width:0;
    min-height:112px;
    box-sizing:border-box;
}
.story-publication-mode>span:last-child{
    min-width:0;
}
.story-publication-mode strong,
.story-publication-mode small{
    overflow-wrap:anywhere;
    word-break:normal;
}
.event-story-upload-form>.story-event-binding{
    grid-column:1/2;
    min-height:58px;
}
.event-story-upload-form>.event-story-publish{
    grid-column:2/3;
    width:100%;
    min-height:58px;
}

@media(max-width:1100px){
    .story-publication-modes{grid-template-columns:1fr}
    .story-publication-mode{min-height:auto}
}
@media(max-width:760px){
    .event-story-upload-form{grid-template-columns:1fr}
    .event-story-upload-form>.story-publication-modes,
    .event-story-upload-form>.story-event-binding,
    .event-story-upload-form>.event-story-publish{grid-column:1}
    .event-story-upload-form>.event-story-publish{width:100%}
}

/* Stage 15: plan work — upcoming first, past events collapsed */
.work-plan-upcoming{margin-bottom:22px}.work-plan-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:0 2px}.work-plan-section-title h2{margin:5px 0 0;color:#243f49;font-size:22px}.work-plan-eyebrow{display:inline-flex;align-items:center;gap:7px;color:#0c918e;font-size:11px;font-weight:900;letter-spacing:.055em;text-transform:uppercase}.work-plan-count{display:grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border-radius:999px;background:#e7f7f6;color:#0b8885;font-size:14px;font-weight:900}.work-plan-no-upcoming{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:160px;margin-bottom:22px;padding:24px;border:1px dashed #c8dddf;border-radius:15px;background:#f9fcfc;text-align:center}.work-plan-no-upcoming i{margin-bottom:9px;color:#0c9a97;font-size:30px}.work-plan-no-upcoming strong{color:#304d56}.work-plan-no-upcoming span{margin-top:5px;color:#7a8b93;font-size:12px}.work-plan-past{margin-top:28px}.work-plan-past-toggle{width:100%;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:14px;padding:15px 17px;border:1px solid #dce6e8;border-radius:15px;background:#fff;color:#2e4a54;text-align:left;cursor:pointer;box-shadow:0 3px 14px rgba(20,44,54,.04);transition:border-color .18s,box-shadow .18s,background .18s}.work-plan-past-toggle:hover,.work-plan-past-toggle.is-open{border-color:#bcd8d8;background:#fbfdfd;box-shadow:0 7px 20px rgba(20,70,74,.07)}.work-plan-past-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:13px;background:#eef4f5;color:#617981;font-size:20px}.work-plan-past-copy strong,.work-plan-past-copy small{display:block}.work-plan-past-copy strong{font-size:17px}.work-plan-past-copy small{margin-top:5px;color:#819098;font-size:11px}.work-plan-past-action{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:10px;background:#edf7f6;color:#087f7c;font-size:11px;font-weight:900}.work-plan-past-action i{transition:transform .2s}.work-plan-past-toggle.is-open .work-plan-past-action i{transform:rotate(180deg)}.work-plan-past-content{margin-top:16px;padding:18px;border:1px solid #e0e8ea;border-radius:16px;background:#f7f9fa}.work-plan-past-content[hidden]{display:none}.work-plan-past-content .quarter-section:last-child{margin-bottom:0}.event-plan-card-past{background:#fbfcfc;border-color:#e1e6e8;box-shadow:none}.event-plan-card-past .event-card-date{background:#f0f3f4;color:#718088}.event-plan-card-past .event-card-body h3{color:#52646c}.event-plan-card-past .event-card-body>p,.event-plan-card-past .event-meta,.event-plan-card-past .responsible-block strong{color:#7a888e}.status-past{background:#eef1f2;color:#68777e;font-weight:800}.event-plan-card-past:hover{border-color:#cad5d8;background:#fff}
@media(max-width:720px){.work-plan-section-title h2{font-size:19px}.work-plan-past-toggle{grid-template-columns:44px minmax(0,1fr);padding:13px}.work-plan-past-icon{width:44px;height:44px}.work-plan-past-action{grid-column:1/-1;width:100%;justify-content:center;box-sizing:border-box}.work-plan-past-content{padding:12px}.work-plan-past-content .event-plan-grid{grid-template-columns:1fr}}

/* Stage 16: password-first authentication and banking-style PIN login */
.pin-login-card,.pin-setup-card{width:min(440px,calc(100% - 28px));padding:28px 32px}.pin-login-card .login-brand,.pin-setup-card .login-brand{justify-content:center;padding-bottom:13px}.pin-user-card{display:flex;align-items:center;gap:13px;padding:12px 14px;margin:0 0 18px;border:1px solid #dce9e9;border-radius:16px;background:#f5fbfa}.pin-user-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#0a8f8b,#12bcb5);color:#fff;font-size:16px;font-weight:900;letter-spacing:.04em}.pin-user-card>div:last-child{display:flex;min-width:0;flex-direction:column}.pin-user-card small{font-size:11px;color:#75868b}.pin-user-card strong{font-size:15px;color:#173b3e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pin-login-card h1,.pin-setup-card h1{text-align:center;font-size:25px;margin:8px 0 5px;color:#173b3e}.pin-login-card>p,.pin-setup-card>p{text-align:center;margin:0 auto 18px;max-width:350px;line-height:1.5;font-size:14px}.pin-entry-form{margin-top:8px}.pin-dots{display:flex;justify-content:center;gap:15px;margin:18px 0 23px}.pin-dots span{width:15px;height:15px;border:2px solid #7e9da0;border-radius:50%;background:#fff;transition:.15s ease}.pin-dots span.filled{border-color:#0a8f88;background:#0a8f88;transform:scale(1.08)}.pin-keypad{display:grid;grid-template-columns:repeat(3,66px);justify-content:center;gap:11px 20px}.pin-keypad button{width:66px;height:58px;margin:0;padding:0;border:1px solid #d7e4e5;border-radius:17px;background:#fff;color:#173b3e;font-size:23px;font-weight:800;box-shadow:0 4px 14px rgba(29,76,78,.05);cursor:pointer;transition:.12s ease}.pin-keypad button:hover{border-color:#75bbb6;background:#f0faf9}.pin-keypad button:active{transform:scale(.94);background:#e4f5f3}.pin-keypad [data-pin-backspace]{font-size:22px;color:#44666a}.pin-submit{margin-top:19px!important}.pin-submit:disabled{cursor:not-allowed;opacity:.45}.pin-login-links{display:flex;align-items:center;justify-content:center;gap:10px 20px;flex-wrap:wrap;margin-top:18px}.pin-login-links a,.pin-login-links button,.password-back-to-pin{border:0!important;background:transparent!important;color:#0a7c76!important;text-decoration:none;font-size:13px;font-weight:800;padding:0!important;margin:0!important;width:auto!important}.pin-login-links button{cursor:pointer}.password-back-to-pin{display:block;text-align:center;margin-top:18px!important}.pin-setup-icon{width:78px;height:54px;margin:0 auto 12px;border-radius:18px;display:grid;place-items:center;background:#e9f7f6;color:#087a73;font-size:24px;font-weight:900;letter-spacing:5px}.pin-setup-form input{font-size:24px;letter-spacing:10px;text-align:center;font-weight:900}.pin-security-note{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:11px 12px;border-radius:11px;background:#f5f8f8;color:#60767a;font-size:12px}.pin-security-note strong{color:#173f42}.pin-security-note span{line-height:1.4}.profile-security-card{overflow:hidden}.profile-security-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.profile-security-heading h3{margin:4px 0 5px}.profile-security-heading p{margin:0;color:#708187}.profile-pin-status{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:8px 11px;border-radius:11px;font-size:12px;font-weight:900}.profile-pin-status.enabled{background:#e8f7ef;color:#157047}.profile-pin-status.disabled{background:#fff5e5;color:#976819}.profile-pin-change-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(130px,.6fr) minmax(130px,.6fr) auto;gap:12px;align-items:end;margin-top:18px}.profile-pin-change-form label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#4b6367}.profile-pin-change-form input{height:43px;border:1px solid #d7e2e4;border-radius:10px;padding:0 11px}.profile-pin-change-form input[name=pin],.profile-pin-change-form input[name=pin_confirmation]{font-size:18px;letter-spacing:5px;text-align:center}.profile-pin-change-form button,.profile-pin-setup-link{height:43px;border:0;border-radius:10px;padding:0 15px;background:#0d8982;color:#fff;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}.profile-pin-setup-link{margin-top:17px}.profile-security-help{margin:10px 0 0;color:#75868a;font-size:12px}
@media(max-width:900px){.profile-pin-change-form{grid-template-columns:1fr 1fr}.profile-pin-change-form label:first-of-type{grid-column:1/-1}.profile-pin-change-form button{grid-column:1/-1}}
@media(max-width:520px){.pin-login-card,.pin-setup-card{padding:22px 18px}.pin-keypad{grid-template-columns:repeat(3,60px);gap:10px 16px}.pin-keypad button{width:60px;height:55px}.profile-security-heading{flex-direction:column}.profile-pin-change-form{grid-template-columns:1fr}.profile-pin-change-form label:first-of-type,.profile-pin-change-form button{grid-column:auto}}

/* PIN account switch: Stage 17 */
.pin-account-switch{margin-top:22px;padding:14px;border:1px solid #d9e7e7;border-radius:16px;background:#f7fbfb;display:grid;gap:12px}.pin-account-switch-text{display:grid;gap:4px;text-align:center}.pin-account-switch-text strong{font-size:14px;color:#173b3e}.pin-account-switch-text span{font-size:12px;line-height:1.45;color:#718589}.pin-account-switch form{margin:0}.pin-switch-account-btn{width:100%!important;min-height:44px;margin:0!important;padding:10px 16px!important;border:1px solid #0a8f88!important;border-radius:12px!important;background:#fff!important;color:#087a73!important;font-size:14px!important;font-weight:900!important;cursor:pointer}.pin-switch-account-btn:hover{background:#ecf8f7!important}.pin-login-links{margin-top:13px}.pin-login-links a{font-size:12px!important;color:#647d80!important}

/* Stage 18: account escape on mandatory PIN setup */
.pin-setup-user{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 18px;padding:11px 14px;max-width:330px;border:1px solid #dce9e9;border-radius:16px;background:#f5fbfa}
.pin-setup-user>div:last-child{display:flex;min-width:0;flex-direction:column;text-align:left}
.pin-setup-user small{font-size:11px;color:#75868b}
.pin-setup-user strong{font-size:15px;color:#173b3e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}
.pin-setup-account-switch{margin-top:16px}

/* Stage 20: profile PIN reset and trusted-device management */
.profile-security-block{margin-top:18px;padding-top:18px;border-top:1px solid #e4ecee}.profile-security-block-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.profile-security-block-title h4{margin:0 0 4px;color:#173b3e;font-size:15px}.profile-security-block-title p{margin:0;color:#718388;font-size:12px;line-height:1.5}.profile-security-danger-zone{padding:16px;border:1px solid #f1dddd;border-radius:14px;background:#fffafa}.profile-security-inline-form,.profile-revoke-all{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px;align-items:end}.profile-security-inline-form label,.profile-revoke-all label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#4b6367}.profile-security-inline-form input,.profile-revoke-all input,.profile-device-revoke input{height:41px;border:1px solid #d7e2e4;border-radius:10px;padding:0 11px;min-width:0}.profile-security-inline-form .danger-action,.profile-revoke-all .danger-action{height:41px;white-space:nowrap}.profile-device-heading{align-items:center}.profile-device-count{min-width:30px;height:30px;padding:0 9px;border-radius:999px;display:grid;place-items:center;background:#edf6f5;color:#126f6a;font-size:12px;font-weight:900}.profile-device-list{display:grid;gap:10px}.profile-device-row{display:grid;grid-template-columns:42px minmax(180px,1fr) minmax(340px,.9fr);gap:12px;align-items:center;padding:12px;border:1px solid #e0e9eb;border-radius:13px;background:#fbfdfd}.profile-device-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#eaf6f5;color:#0b817a;font-size:18px}.profile-device-info{display:grid;gap:4px;min-width:0}.profile-device-info strong{color:#173b3e;font-size:13px}.profile-device-info strong span{display:inline-flex;margin-left:6px;padding:3px 7px;border-radius:999px;background:#e8f7ef;color:#157047;font-size:10px}.profile-device-info small{color:#76898d;font-size:11px}.profile-device-revoke{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:8px;align-items:center}.secondary-danger-action{height:41px;border:1px solid #e4bfc0;border-radius:10px;padding:0 12px;background:#fff;color:#a14043;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}.secondary-danger-action:hover{background:#fff4f4}.profile-revoke-all{margin-top:13px;padding-top:13px;border-top:1px dashed #dce6e7}.profile-device-empty{display:flex;align-items:center;gap:10px;padding:13px;border-radius:12px;background:#f6f9f9;color:#718388;font-size:13px}.profile-device-empty i{font-size:18px;color:#0c837c}@media(max-width:900px){.profile-device-row{grid-template-columns:42px 1fr}.profile-device-revoke{grid-column:1/-1;padding-left:54px}.profile-security-inline-form,.profile-revoke-all{grid-template-columns:1fr}}@media(max-width:560px){.profile-device-row{grid-template-columns:1fr}.profile-device-icon{display:none}.profile-device-revoke{grid-column:auto;padding-left:0;grid-template-columns:1fr}.profile-device-revoke input,.profile-device-revoke button{width:100%}.profile-security-inline-form .danger-action,.profile-revoke-all .danger-action{width:100%}}

/* Stage 21: simple first account activation */
.activation-card{max-width:500px}.activation-card h1{text-align:center;margin:8px 0 6px;color:#173b3e}.activation-card>p{text-align:center;max-width:390px;margin:0 auto 20px;line-height:1.55}.activation-icon{width:64px;height:64px;margin:0 auto 12px;border-radius:20px;display:grid;place-items:center;background:#eaf7f6;color:#0a837c;font-size:27px}.activation-form{display:grid;gap:14px}.activation-form label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#486166}.activation-form select,.activation-form input{width:100%;height:48px;border:1px solid #d4e1e3;border-radius:12px;background:#fff;padding:0 13px;color:#173b3e;font-size:14px;outline:none}.activation-form select:focus,.activation-form input:focus{border-color:#5eb3ad;box-shadow:0 0 0 3px rgba(11,142,134,.1)}.activation-form select{cursor:pointer}.activation-password-wrap{position:relative}.activation-password-wrap input{padding-right:48px}.activation-password-toggle{position:absolute!important;right:5px;top:5px;width:38px!important;height:38px!important;margin:0!important;padding:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#6e8588!important;display:grid!important;place-items:center;font-size:17px!important}.activation-password-toggle:hover{background:#eef7f6!important;color:#0a817a!important}.activation-note{display:flex;gap:10px;align-items:flex-start;padding:12px 13px;border-radius:12px;background:#f3f8f8;color:#61777b;font-size:12px;line-height:1.45}.activation-note i{color:#0a8a82;font-size:16px}.activation-submit{height:48px!important;margin-top:2px!important}.activation-back{display:block;text-align:center;margin-top:18px;color:#0a7d76;text-decoration:none;font-size:13px;font-weight:800}.activation-empty{display:grid;justify-items:center;text-align:center;gap:5px;padding:24px 15px;border-radius:15px;background:#f3f8f7}.activation-empty i{font-size:30px;color:#1b9b72}.activation-empty strong{color:#173b3e}.activation-empty span{font-size:12px;color:#718589}.first-login-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:12px 13px;border-radius:13px;background:#f1f8f7}.first-login-entry span{font-size:12px;color:#667c80;font-weight:700}.first-login-entry a{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border-radius:10px;background:#fff;color:#087d76;text-decoration:none;font-size:12px;font-weight:900;border:1px solid #cfe4e2}.first-login-entry a:hover{background:#eaf7f6}@media(max-width:520px){.activation-card{padding:22px 18px}.first-login-entry{align-items:stretch;flex-direction:column;text-align:center}.first-login-entry a{justify-content:center}.activation-form select{font-size:13px}}


/* Stage 22: compact mobile application header */
@media(max-width:820px){
  .topbar{
    height:auto;
    min-height:76px;
    padding:10px 12px;
    gap:8px;
    align-items:center;
    position:relative;
    z-index:20;
  }
  .topbar-left{
    display:flex;
    align-items:center;
    gap:9px;
    flex:1 1 auto;
    min-width:0;
  }
  .topbar-user-copy{
    min-width:0;
    flex:1 1 auto;
  }
  .topbar h1{
    margin:0 0 3px;
    min-width:0;
    font-size:15px;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .topbar p{
    margin:0;
    max-width:100%;
    color:#74828d;
    font-size:11px;
    line-height:1.25;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .topbar-actions{
    flex:0 0 auto;
    gap:2px;
  }
  .topbar-actions form{
    display:flex;
    margin:0;
  }
  .topbar .icon-button{
    width:38px;
    height:38px;
    padding:0;
    display:grid;
    place-items:center;
    border-radius:11px;
    color:#22333a;
    font-size:22px;
  }
  .topbar .icon-button:active{
    background:#eef5f5;
  }
  .mobile-menu{
    flex:0 0 38px;
    display:grid;
  }
  .notification span{
    top:0;
    right:0;
    min-width:18px;
    height:18px;
    padding:0 4px;
    display:grid;
    place-items:center;
    border:2px solid #fff;
    font-size:9px;
    line-height:1;
  }
  .page-body{
    padding-top:14px;
  }
}

@media(max-width:560px){
  .topbar{
    min-height:66px;
    padding:8px 9px;
    gap:5px;
  }
  .topbar-left{
    gap:6px;
  }
  .topbar .icon-button{
    width:36px;
    height:36px;
    border-radius:10px;
    font-size:21px;
  }
  .mobile-menu{
    flex-basis:36px;
  }
  .topbar-greeting{
    display:none;
  }
  .topbar h1{
    margin-bottom:2px;
    font-size:14px;
    font-weight:800;
  }
  .topbar p{
    display:block;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
    font-size:10px;
  }
  .topbar-actions{
    gap:0;
  }
  .page-body{
    padding:12px;
  }
}

@media(max-width:390px){
  .topbar{
    padding-left:6px;
    padding-right:6px;
  }
  .topbar p{
    display:none;
  }
  .topbar h1{
    margin:0;
    font-size:13px;
  }
  .topbar .icon-button{
    width:34px;
    height:34px;
  }
}

/* Stage 23: personal dashboard for regular union council members */
.member-dashboard{display:grid;gap:16px;margin-top:16px}.member-dashboard-panel{background:#fff;border:1px solid #e2eaed;border-radius:18px;padding:20px;box-shadow:0 4px 18px rgba(20,44,54,.045)}.member-dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.member-dashboard-heading h2{margin:3px 0 0;font-size:21px;color:#223f4b}.member-dashboard-heading>a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 13px;border:1px solid #dce7e9;border-radius:10px;color:#167f7d;text-decoration:none;font-weight:700}.member-dashboard-kicker{display:inline-flex;align-items:center;gap:7px;color:#0c928f;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.055em}.member-dashboard-count{display:grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border-radius:999px;background:#e8f8f7;color:#087f7c;font-weight:800}.attention-list{display:grid;gap:9px}.attention-item{display:grid;grid-template-columns:42px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:13px;border:1px solid #e5ecee;border-radius:13px;text-decoration:none;color:inherit;background:#fbfdfd}.attention-icon{width:42px;height:42px;border-radius:12px;background:#eaf9f8;color:#078f8c;display:grid;place-items:center;font-size:18px}.attention-copy{min-width:0}.attention-copy strong,.attention-copy small{display:block}.attention-copy strong{font-size:14px;color:#25424d}.attention-copy small{margin-top:4px;color:#70808b;font-size:12px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attention-item>.bi-chevron-right{color:#91a0aa}.member-event-list{display:grid;gap:12px}.member-event-card{border:1px solid #e2eaed;border-radius:15px;overflow:hidden;background:#fff}.member-event-main{display:grid;grid-template-columns:62px minmax(0,1fr) 20px;align-items:center;gap:14px;padding:15px;text-decoration:none;color:inherit}.member-event-main time{width:58px;height:64px;border-radius:12px;background:#eaf9f8;color:#0d918e;display:flex;flex-direction:column;align-items:center;justify-content:center}.member-event-main time strong{font-size:24px;line-height:1}.member-event-main time small{margin-top:5px;font-size:11px;font-weight:900}.member-event-copy{min-width:0}.member-event-copy>strong{display:block;font-size:15px;line-height:1.35;color:#223e49;margin-bottom:7px}.member-event-copy span{display:block;color:#71818c;font-size:12px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-event-copy span i{width:16px;color:#0d9794}.member-event-arrow{color:#93a2ab}.member-event-rsvp{border-top:1px solid #edf1f2;padding:11px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fbfdfd}.member-event-response-label{font-size:12px;color:#647681;font-weight:700}.member-event-response-label .bi-check-circle-fill{color:#169766}.member-event-response-label .bi-x-circle-fill{color:#c45d5d}.member-event-rsvp-actions{display:flex;gap:7px}.member-event-rsvp-actions form{margin:0}.member-event-rsvp-actions button{border:1px solid #d9e4e6;border-radius:9px;background:#fff;min-height:36px;padding:0 11px;color:#526570;font-weight:700;font-size:12px;cursor:pointer}.member-event-rsvp-actions .rsvp-yes.active,.member-event-rsvp-actions .rsvp-yes:hover{background:#e7f8f2;border-color:#bce9d9;color:#15875f}.member-event-rsvp-actions .rsvp-no.active,.member-event-rsvp-actions .rsvp-no:hover{background:#fff0f0;border-color:#efcece;color:#b75353}.member-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.member-quick-grid>button,.member-quick-grid>a{border:1px solid #e1e9eb;background:#fbfdfd;border-radius:14px;min-height:86px;padding:13px;display:grid;grid-template-columns:46px minmax(0,1fr) 18px;align-items:center;text-align:left;gap:12px;cursor:pointer;color:#304a55}.member-quick-icon{width:46px;height:46px;border-radius:13px;background:linear-gradient(145deg,#0fa7a5,#13c5bf);color:#fff;display:grid;place-items:center;font-size:20px}.member-quick-grid strong,.member-quick-grid small{display:block}.member-quick-grid strong{font-size:14px}.member-quick-grid small{font-size:11px;color:#75858f;margin-top:4px;line-height:1.35}.member-quick-grid>button>.bi-chevron-right,.member-quick-grid>a>.bi-chevron-right{color:#96a5ad}
@media(max-width:820px){.member-dashboard{margin-top:12px;gap:12px}.member-dashboard-panel{padding:15px;border-radius:16px}.member-dashboard-heading{margin-bottom:13px}.member-dashboard-heading h2{font-size:19px}.member-event-main{grid-template-columns:54px minmax(0,1fr) 16px;gap:11px;padding:13px}.member-event-main time{width:52px;height:58px}.member-event-main time strong{font-size:21px}.member-event-rsvp{align-items:flex-start;flex-direction:column;padding:11px 13px}.member-event-rsvp-actions{width:100%}.member-event-rsvp-actions form{flex:1}.member-event-rsvp-actions button{width:100%;min-height:40px}.member-quick-grid{grid-template-columns:1fr}.member-quick-grid>button,.member-quick-grid>a{min-height:78px}.attention-copy small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.member-dashboard-heading>a{min-height:34px;padding:0 10px;font-size:12px}}

/* Stage 25: mobile menu closing + working in-site notification center */
.sidebar-close,.sidebar-backdrop{display:none}
.notification-center{position:relative;display:flex;align-items:center}
.notification-panel{position:absolute;z-index:90;top:calc(100% + 12px);right:0;width:390px;max-height:min(620px,calc(100vh - 110px));overflow:hidden;border:1px solid #dce7e9;border-radius:16px;background:#fff;box-shadow:0 22px 60px rgba(24,55,64,.20)}
.notification-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px 13px;border-bottom:1px solid #e7edef;background:#fff}
.notification-panel-head>div{display:grid;gap:3px;min-width:0}.notification-panel-head strong{color:#213d45;font-size:15px}.notification-panel-head small{color:#7b8c92;font-size:11px}
.notification-read-all{flex:none;border:0;background:transparent;color:#078e8d;padding:7px 4px;font-size:11px;font-weight:900;cursor:pointer}.notification-read-all:hover{color:#056d6c}.notification-read-all:disabled{color:#aebabc;cursor:default}
.notification-list{max-height:min(530px,calc(100vh - 180px));overflow-y:auto;overscroll-behavior:contain}
.notification-item{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 8px;gap:11px;align-items:flex-start;padding:13px 14px;border-bottom:1px solid #edf1f2;color:inherit;text-decoration:none;background:#fff;transition:background .15s}.notification-item:last-child{border-bottom:0}.notification-item:hover{background:#f6faf9}.notification-item.unread{background:#f0f9f8}.notification-item.unread:hover{background:#e9f6f5}
.notification-item-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e9f6f5;color:#087f7c;font-size:18px}.notification-item-copy{display:grid;gap:4px;min-width:0}.notification-item-copy strong{color:#25444c;font-size:12px;line-height:1.35}.notification-item-copy>span{color:#60757b;font-size:11px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.notification-item-copy small{color:#95a3a7;font-size:9px}.notification-unread-dot{width:7px;height:7px;margin-top:5px;border-radius:50%;background:#0aa19b}
.notification-empty{display:grid;justify-items:center;gap:8px;padding:38px 20px;color:#7f8f94;text-align:center;font-size:12px}.notification-empty i{font-size:25px;color:#9cb2b5}

@media(max-width:820px){
  body.sidebar-open{overflow:hidden}
  .sidebar{z-index:70;box-shadow:18px 0 45px rgba(19,47,55,.18)}
  .sidebar-close{position:absolute;z-index:2;top:14px;right:12px;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:11px;background:#eef6f6;color:#31535b;font-size:19px;cursor:pointer}
  .sidebar .brand{padding-right:43px}
  .sidebar-backdrop{position:fixed;z-index:60;inset:0;display:block;border:0;padding:0;background:rgba(15,36,43,.42);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility .2s}
  body.sidebar-open .sidebar-backdrop{opacity:1;visibility:visible;pointer-events:auto}
  .notification-panel{position:fixed;z-index:95;top:78px;left:10px;right:10px;width:auto;max-height:calc(100vh - 92px);border-radius:15px}
  .notification-list{max-height:calc(100vh - 160px)}
}
@media(max-width:560px){
  .notification-panel{top:68px;left:7px;right:7px;max-height:calc(100vh - 76px)}
  .notification-panel-head{padding:13px 13px 11px}.notification-panel-head strong{font-size:14px}.notification-read-all{font-size:10px}
  .notification-list{max-height:calc(100vh - 140px)}
  .notification-item{grid-template-columns:38px minmax(0,1fr) 7px;gap:9px;padding:12px 11px}.notification-item-icon{width:38px;height:38px;border-radius:11px;font-size:17px}.notification-item-copy strong{font-size:12px}.notification-item-copy>span{font-size:10px}
}


/* Stage 26: reliable mobile shell interactions */
@media(max-width:820px){
  /* Sidebar must stay above its backdrop so close/menu links receive taps. */
  .sidebar{z-index:80}
  .sidebar-backdrop{z-index:70}
  .sidebar-close{z-index:82;pointer-events:auto;touch-action:manipulation}
  .mobile-menu,.notification-center,.notification-center button{touch-action:manipulation}
}


/* Stage 27: superadmin story cleanup */
.story-admin-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(220, 38, 38, .24);
    border-radius: 10px;
    background: rgba(220, 38, 38, .08);
    color: #b91c1c;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.story-admin-delete:hover { background: rgba(220, 38, 38, .14); }
.dashboard-story-footer-actions,
.event-live-story-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.dashboard-story-footer-actions form,
.event-live-story-footer-actions form { margin: 0; }
@media (max-width: 700px) {
    .dashboard-story-footer-actions,
    .event-live-story-footer-actions { width: 100%; justify-content: space-between; }
    .story-admin-delete { min-height: 40px; }
}

/* Stage 28: working quick actions, appeals and internal mailings */
.quick-grid a{text-decoration:none;color:inherit}.quick-grid button:disabled{opacity:.48;cursor:not-allowed}.member-quick-grid>a{text-decoration:none}.section-page-head.compact-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.section-kicker{display:inline-flex;align-items:center;gap:7px;color:#0c928f;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.055em}.compact-page-head .section-title{margin:5px 0 4px}.compact-page-head .muted{margin:0}.action-compose-panel{margin-bottom:16px}.compact-compose-form{margin-top:14px}.appeal-list,.mailing-list{display:grid;gap:12px}.appeal-card,.mailing-card{padding:18px}.appeal-card.is-focus,.mailing-card.is-focus{border-color:#8fd8d5;box-shadow:0 0 0 3px rgba(16,169,166,.08)}.appeal-card-head,.mailing-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.appeal-card-head h2,.mailing-card-head h2{font-size:17px;margin:7px 0 4px}.appeal-card-head small,.appeal-card-head time,.mailing-card-head time{font-size:12px;color:#7b8994}.appeal-status{display:inline-flex;padding:5px 8px;border-radius:999px;background:#edf3f4;color:#5b6d77;font-size:11px;font-weight:800}.status-new{background:#fff4d8;color:#9b6b00}.status-answered{background:#e8f8f2;color:#147c59}.appeal-body,.mailing-body{margin-top:14px;color:#344e59;line-height:1.55}.appeal-response{margin-top:15px;padding:14px;border-radius:12px;background:#f1faf8;border:1px solid #d8eeea}.appeal-response strong{display:block;color:#147c70}.appeal-response p{margin:8px 0 0;line-height:1.5}.appeal-response-form{margin-top:15px;border-top:1px solid #edf1f2;padding-top:14px}.appeal-response-form textarea{width:100%;margin-top:7px}.mailing-author{display:inline-flex;align-items:center;gap:6px;color:#0c8f8c;font-size:12px;font-weight:700}.empty-workspace{text-align:center;padding:34px}.empty-workspace>i{font-size:34px;color:#20aaa6}.empty-workspace h2{margin:10px 0 5px}.empty-workspace p{margin:0;color:#73838d}@media(max-width:820px){.section-page-head.compact-page-head{align-items:stretch;flex-direction:column}.compact-page-head>.primary-action{width:100%;justify-content:center}.appeal-card-head,.mailing-card-head{flex-direction:column;gap:8px}.appeal-card,.mailing-card{padding:15px}}

.request-list .request-row-link{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;padding:17px 0;border-bottom:1px solid #edf1f3;text-decoration:none;color:inherit}.request-list .request-row-link b,.request-list .request-row-link small{display:block}.request-list .request-row-link small{color:#84919c;margin-top:4px}.request-list .request-row-link em{font-style:normal;font-size:11px;background:#f3f6f7;padding:6px 8px;border-radius:7px}.dashboard-empty.compact{padding:18px 0}

/* Stage 29: polished appeals workspace */
.appeals-page{max-width:1480px;margin:0 auto}.appeals-page-head{margin-bottom:14px}.appeals-new-button{box-shadow:0 8px 20px rgba(14,168,165,.18)}
.appeals-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.appeals-summary-item{display:flex;align-items:center;gap:12px;min-height:78px;padding:14px 16px;background:#fff;border:1px solid #e3eaed;border-radius:14px;box-shadow:0 2px 10px rgba(20,44,54,.035)}.appeals-summary-icon{width:44px;height:44px;flex:0 0 44px;border-radius:12px;display:grid;place-items:center;background:#eaf9f8;color:#0b938f;font-size:19px}.appeals-summary-icon.waiting{background:#fff7e6;color:#b47a10}.appeals-summary-icon.answered{background:#eaf8f2;color:#16815d}.appeals-summary-item strong,.appeals-summary-item small{display:block}.appeals-summary-item strong{font-size:22px;line-height:1.05;color:#20333c}.appeals-summary-item small{margin-top:4px;color:#7a8993;font-size:12px}.appeal-flash{display:flex;align-items:center;gap:9px;margin-bottom:14px}.appeal-flash p{margin:0}
.appeal-compose-card{margin-bottom:20px;padding:0;overflow:hidden;border-radius:17px}.appeal-compose-head{display:flex;align-items:flex-start;gap:13px;padding:19px 20px 16px;border-bottom:1px solid #e8edef;background:linear-gradient(135deg,#fbfefe 0%,#f4fbfa 100%)}.appeal-compose-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;display:grid;place-items:center;background:#e3f8f6;color:#0a918d;font-size:18px}.appeal-compose-head h2{margin:1px 0 5px;font-size:18px;color:#20363e}.appeal-compose-head p{margin:0;color:#74858e;font-size:13px;line-height:1.45}.appeal-compose-form{display:grid;gap:16px;padding:20px}.appeal-field{display:grid;gap:7px;color:#43555f;font-size:13px;font-weight:800}.appeal-field>small{color:#87949b;font-size:11px;font-weight:500}.appeal-field input,.appeal-field textarea{width:100%;border:1px solid #dce5e8;border-radius:11px;background:#fff;color:#24353e;outline:none;transition:border-color .16s,box-shadow .16s,background .16s}.appeal-field input{height:47px;padding:0 14px}.appeal-field textarea{display:block;min-height:130px;padding:13px 14px;line-height:1.55;resize:vertical}.appeal-field input::placeholder,.appeal-field textarea::placeholder{color:#a0abb1}.appeal-field input:focus,.appeal-field textarea:focus{border-color:#14aaa7;box-shadow:0 0 0 3px rgba(20,170,167,.10);background:#fff}.appeal-compose-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:2px}.appeal-compose-actions .primary-action,.appeal-compose-actions .secondary-action{min-height:43px}
.appeal-list-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:4px 2px 11px}.appeal-list-heading h2{margin:0 0 3px;font-size:17px;color:#233740}.appeal-list-heading p{margin:0;color:#84919a;font-size:12px}.appeal-total-chip{min-width:30px;height:30px;padding:0 9px;border-radius:999px;display:grid;place-items:center;background:#e8f8f7;color:#0b8f8c;font-size:12px;font-weight:900}.appeal-list{gap:14px}.appeal-card{position:relative;padding:0;overflow:hidden;border-radius:17px;transition:border-color .18s,box-shadow .18s,transform .18s}.appeal-card:hover{border-color:#d8e5e6;box-shadow:0 8px 25px rgba(25,62,70,.065)}.appeal-card.is-focus{border-color:#75cfcb;box-shadow:0 0 0 3px rgba(16,169,166,.08),0 10px 28px rgba(28,83,85,.08)}.appeal-card-head{padding:18px 20px 15px;border-bottom:1px solid #edf1f2;background:#fff}.appeal-card-title-wrap{min-width:0}.appeal-card-meta-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.appeal-status{gap:5px;align-items:center;padding:5px 9px}.appeal-status i{font-size:11px}.status-in_progress{background:#eef5ff;color:#3b73a8}.status-closed{background:#eff2f3;color:#63737c}.appeal-number{color:#94a0a6;font-size:11px;font-weight:700}.appeal-card-head h2{margin:9px 0 0;font-size:19px;line-height:1.35;color:#20323b}.appeal-author{display:flex;align-items:center;gap:9px;margin-top:10px}.appeal-author-avatar{width:31px;height:31px;flex:0 0 31px;border-radius:9px;display:grid;place-items:center;background:#edf7f6;color:#0a817d;font-size:10px;font-weight:900}.appeal-author strong,.appeal-author small{display:block}.appeal-author strong{font-size:12px;color:#475b64}.appeal-author small{margin-top:2px;font-size:10px;color:#95a0a5}.appeal-date{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;color:#809099}.appeal-date i{color:#a0acb1}.appeal-date span{padding-left:1px;color:#a0aab0}.appeal-message{padding:17px 20px 18px}.appeal-message-label{display:inline-flex;align-items:center;gap:6px;margin-bottom:8px;color:#819097;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.055em}.appeal-message-label i{color:#13a09b}.appeal-body{margin:0;color:#304852;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.appeal-response{margin:0 20px 20px;padding:15px 16px 16px;border-radius:13px;background:linear-gradient(135deg,#f1faf8,#f7fcfb);border:1px solid #d5ece8}.appeal-response-head,.appeal-response-form-head{display:flex;align-items:center;gap:10px}.appeal-response-icon{width:34px;height:34px;flex:0 0 34px;border-radius:10px;display:grid;place-items:center;background:#dff4ef;color:#0a7e73;font-size:15px}.appeal-response-head strong,.appeal-response-head small,.appeal-response-form-head strong,.appeal-response-form-head small{display:block}.appeal-response-head strong,.appeal-response-form-head strong{font-size:13px;color:#176f68}.appeal-response-head small,.appeal-response-form-head small{margin-top:2px;font-size:10px;color:#78918e}.appeal-response p{margin:12px 0 0;padding-left:44px;color:#2d474b;font-size:14px;line-height:1.6}.appeal-response-form{margin:0;padding:16px 20px 20px;border-top:1px solid #edf1f2;background:#fbfdfd}.appeal-response-form-head{margin-bottom:11px}.appeal-response-field{margin:0}.appeal-response-field textarea{min-height:96px;background:#fff}.appeal-response-actions{display:flex;justify-content:flex-end;margin-top:10px}.appeal-response-actions .primary-action{min-height:40px}.appeal-waiting{display:flex;align-items:center;gap:10px;margin:0 20px 20px;padding:12px 14px;border-radius:12px;background:#fafbfb;border:1px dashed #dce4e6;color:#75858d}.appeal-waiting>i{font-size:18px;color:#9ca9ae}.appeal-waiting strong,.appeal-waiting small{display:block}.appeal-waiting strong{font-size:12px;color:#53666e}.appeal-waiting small{margin-top:2px;font-size:10px}.appeal-empty{display:grid;justify-items:center;padding:42px 24px}.appeal-empty-icon{width:58px;height:58px;border-radius:17px;display:grid;place-items:center;background:#e9f8f7;color:#0d9893;font-size:25px}.appeal-empty h2{margin:13px 0 5px}.appeal-empty p{max-width:480px;line-height:1.5}.appeal-empty .primary-action{margin-top:15px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:820px){.appeals-page{max-width:none}.appeals-summary{grid-template-columns:1fr 1fr 1fr;gap:8px}.appeals-summary-item{min-height:70px;padding:11px 12px;gap:9px}.appeals-summary-icon{width:38px;height:38px;flex-basis:38px;border-radius:10px;font-size:16px}.appeals-summary-item strong{font-size:19px}.appeals-summary-item small{font-size:10px}.appeal-compose-head{padding:16px}.appeal-compose-form{padding:16px}.appeal-compose-actions{display:grid;grid-template-columns:1fr 1fr}.appeal-compose-actions>*{width:100%}.appeal-card-head{padding:16px;flex-direction:row;gap:12px}.appeal-message{padding:15px 16px 16px}.appeal-response{margin:0 16px 16px}.appeal-response-form{padding:15px 16px 16px}.appeal-waiting{margin:0 16px 16px}.appeal-response p{padding-left:0}.appeal-date{align-self:flex-start}.appeal-card-head h2{font-size:17px}}
@media(max-width:560px){.appeals-summary{grid-template-columns:1fr}.appeals-summary-item{min-height:62px}.appeal-compose-head{gap:10px}.appeal-compose-icon{width:38px;height:38px;flex-basis:38px}.appeal-compose-head h2{font-size:16px}.appeal-compose-head p{font-size:11px}.appeal-compose-actions{grid-template-columns:1fr}.appeal-compose-actions .primary-action{order:-1}.appeal-list-heading{align-items:center}.appeal-card-head{display:grid;grid-template-columns:minmax(0,1fr) auto}.appeal-date{display:grid;grid-template-columns:auto auto;gap:4px;font-size:10px}.appeal-date span{grid-column:2}.appeal-date i{grid-row:1/3;align-self:center}.appeal-author{margin-top:8px}.appeal-response-actions .primary-action{width:100%}.appeal-message,.appeal-response-form{font-size:13px}}

/* ===== Stage 30: mailing center ===== */
.mailing-page-head{align-items:flex-end}.mailing-compose{padding:28px;margin-bottom:26px;overflow:hidden}.mailing-compose-head{display:flex;gap:16px;align-items:center;padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid #e8efef}.mailing-compose-head h2{margin:0 0 5px;font-size:24px}.mailing-compose-head p{margin:0;color:#718086}.mailing-compose-icon{width:50px;height:50px;border-radius:15px;display:grid;place-items:center;background:#e8f8f6;color:#079e96;font-size:22px}.mailing-compose-form{max-width:1050px}.mailing-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.mailing-field{display:flex;flex-direction:column;gap:8px;font-weight:600;color:#27353a}.mailing-field-wide{grid-column:1/-1}.mailing-field>span{font-size:14px}.mailing-field>span small{font-weight:400;color:#8a979c}.mailing-field input[type=text],.mailing-field input:not([type]),.mailing-field select,.mailing-field textarea{width:100%;box-sizing:border-box;border:1px solid #d9e3e4;border-radius:12px;background:#fff;padding:13px 14px;font:inherit;color:#1d2c31;outline:none;transition:.15s}.mailing-field input:focus,.mailing-field select:focus,.mailing-field textarea:focus{border-color:#15b5ad;box-shadow:0 0 0 3px rgba(21,181,173,.10)}.mailing-field textarea{resize:vertical;min-height:150px;line-height:1.55}.mailing-field-note,.mailing-file-field>small{font-size:12px;color:#88979d;font-weight:400}.mailing-file-field{padding:15px;border:1px dashed #c9dada;border-radius:13px;background:#f9fbfb}.mailing-file-field input{font-weight:400}.mailing-recipient-picker{padding:16px;border:1px solid #e0e9e9;border-radius:13px;background:#fafcfc}.mailing-recipient-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:250px;overflow:auto;padding:3px}.mailing-recipient-option{display:flex;gap:9px;align-items:flex-start;padding:10px;border:1px solid #e2eaea;border-radius:10px;background:#fff;cursor:pointer;font-weight:400}.mailing-recipient-option:has(input:checked){border-color:#14afa7;background:#effaf9}.mailing-recipient-option input{margin-top:3px}.mailing-recipient-option span{display:flex;flex-direction:column;min-width:0}.mailing-recipient-option strong{font-size:13px}.mailing-recipient-option small{font-size:11px;color:#839197;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mailing-compose-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.mailing-history-head{display:flex;align-items:end;justify-content:space-between;margin:10px 2px 14px}.mailing-history-head h2{margin:0 0 4px;font-size:21px}.mailing-history-head p{margin:0;color:#7d8b91;font-size:14px}.mailing-history-head>span{color:#7c8a90;font-size:13px}.mailing-center-list{display:grid;gap:12px}.mailing-center-card{display:flex;justify-content:space-between;gap:25px;padding:22px 24px;text-decoration:none;color:inherit;transition:.15s;border-left:4px solid transparent}.mailing-center-card:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(36,71,74,.08)}.mailing-center-card.importance-important{border-left-color:#e9a91d}.mailing-center-card.importance-urgent{border-left-color:#d65b5b}.mailing-center-card.is-unread{background:#fbfefe}.mailing-center-main{min-width:0}.mailing-card-flags{display:flex;gap:8px;align-items:center;margin-bottom:9px}.mailing-importance{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:700;background:#eef3f3;color:#627277}.mailing-importance.important{background:#fff4d8;color:#9b6900}.mailing-importance.urgent{background:#ffe9e9;color:#b33d3d}.mailing-new-dot{font-size:11px;font-weight:700;color:#079d96}.mailing-center-card h3{margin:0 0 7px;font-size:18px;color:#1d2c31}.mailing-center-card p{margin:0 0 13px;color:#62747a;line-height:1.45}.mailing-meta{display:flex;flex-wrap:wrap;gap:13px;color:#839096;font-size:12px}.mailing-meta span{display:flex;gap:5px;align-items:center}.mailing-center-side{display:flex;align-items:center;gap:17px;color:#7b8a90;flex-shrink:0}.mailing-center-side time{display:flex;flex-direction:column;align-items:flex-end;font-size:12px}.mailing-center-side time small{font-size:11px;color:#9aa6aa}.mailing-read-mini{display:flex;align-items:center;gap:5px;padding:6px 9px;border-radius:9px;background:#f0f5f5;font-size:12px;white-space:nowrap}.mailing-read-mini.read{background:#e8f8f2;color:#16805b}.mailing-detail-nav{margin-bottom:15px}.mailing-detail-nav a{display:inline-flex;gap:7px;align-items:center;color:#527078;text-decoration:none;font-weight:600}.mailing-detail{padding:30px;border-top:4px solid #dde6e6}.mailing-detail.importance-important{border-top-color:#e9a91d}.mailing-detail.importance-urgent{border-top-color:#d65b5b}.mailing-detail-head{display:flex;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:1px solid #e9eeee}.mailing-detail-head h1{margin:10px 0 9px;font-size:29px;line-height:1.2}.mailing-detail-meta{display:flex;gap:16px;flex-wrap:wrap;color:#7b898f;font-size:13px}.mailing-detail-meta span{display:flex;align-items:center;gap:6px}.mailing-opened-badge{align-self:flex-start;display:flex;gap:6px;align-items:center;padding:8px 11px;border-radius:10px;background:#e8f8f2;color:#167c59;font-size:12px;font-weight:700}.mailing-event-link{display:flex;align-items:center;gap:13px;margin:20px 0 0;padding:14px 16px;border-radius:13px;background:#f2f8f8;text-decoration:none;color:#1f383d}.mailing-event-link>i:first-child{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#fff;color:#0aa59d}.mailing-event-link span{display:flex;flex-direction:column;flex:1}.mailing-event-link small{font-size:11px;color:#819197}.mailing-event-link strong{font-size:14px}.mailing-event-link em{font-style:normal;font-size:11px;color:#829097}.mailing-detail-body{font-size:16px;line-height:1.7;color:#273a40;padding:26px 2px}.mailing-attachments{padding-top:20px;border-top:1px solid #e9eeee}.mailing-attachments h2{font-size:16px;margin:0 0 12px}.mailing-attachment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mailing-attachment-list a{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #e3ebeb;border-radius:12px;text-decoration:none;color:#25383d}.mailing-attachment-list a>span:nth-child(2){display:flex;flex-direction:column;min-width:0;flex:1}.mailing-attachment-list strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.mailing-attachment-list small{color:#87949a;font-size:11px}.mailing-file-icon{width:37px;height:37px;border-radius:9px;background:#eef8f7;color:#0b9f97;display:grid;place-items:center}.mailing-stat-panel{padding:27px;margin-top:18px}.mailing-stat-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.mailing-stat-head h2{margin:4px 0 4px;font-size:22px}.mailing-stat-head p{margin:0;color:#7e8d92;font-size:13px}.mailing-stat-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.mailing-stat-cards>div{padding:16px;border-radius:13px;background:#f4f7f7;display:flex;justify-content:space-between;align-items:center}.mailing-stat-cards span{font-size:13px;color:#75858b}.mailing-stat-cards strong{font-size:24px}.mailing-stat-cards .read{background:#eaf8f3}.mailing-stat-cards .read strong{color:#16805b}.mailing-stat-cards .unread{background:#fff6e4}.mailing-stat-cards .unread strong{color:#a56c00}.mailing-recipient-status-list{border-top:1px solid #ebefef}.mailing-recipient-status{display:flex;align-items:center;gap:12px;padding:13px 4px;border-bottom:1px solid #edf1f1}.mailing-recipient-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#eaf6f5;color:#087d77;font-weight:700}.mailing-recipient-status>div{display:flex;flex-direction:column;flex:1}.mailing-recipient-status>div strong{font-size:13px}.mailing-recipient-status>div small{font-size:11px;color:#869399}.mailing-recipient-state{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:700;color:#9a6b0d}.mailing-recipient-status.is-read .mailing-recipient-state{color:#157956}.mailing-recipient-state small{font-weight:400;color:#8a969b;margin-left:4px}
@media(max-width:800px){.mailing-page-head{align-items:flex-start}.mailing-page-head .primary-action{width:100%;justify-content:center}.mailing-compose{padding:18px}.mailing-compose-head{align-items:flex-start}.mailing-compose-icon{width:43px;height:43px}.mailing-form-grid{grid-template-columns:1fr}.mailing-field-wide{grid-column:auto}.mailing-recipient-grid{grid-template-columns:1fr}.mailing-compose-actions{display:grid;grid-template-columns:1fr 1fr}.mailing-compose-actions>*{justify-content:center}.mailing-history-head{align-items:flex-start}.mailing-history-head p{display:none}.mailing-center-card{padding:17px;gap:12px;align-items:flex-start}.mailing-center-card p{font-size:13px}.mailing-meta span:nth-child(n+2){display:none}.mailing-center-side{gap:7px}.mailing-read-mini{display:none}.mailing-center-side>i{display:none}.mailing-detail{padding:20px}.mailing-detail-head{flex-direction:column}.mailing-detail-head h1{font-size:23px}.mailing-opened-badge{align-self:flex-start}.mailing-attachment-list{grid-template-columns:1fr}.mailing-stat-head{flex-direction:column;align-items:stretch}.mailing-remind-button{width:100%;justify-content:center}.mailing-stat-cards{grid-template-columns:1fr}.mailing-recipient-status{align-items:flex-start}.mailing-recipient-state{margin-left:auto;flex-direction:column;align-items:flex-end;text-align:right;max-width:120px}.mailing-recipient-state small{margin-left:0}.mailing-event-link{align-items:flex-start}}

/* Stage 32 — задачи: ознакомление, дашборд и детали */
.dashboard-tasks-panel{margin-top:16px}.dashboard-task-list{display:grid;gap:10px}.dashboard-task-item{display:grid;grid-template-columns:44px minmax(0,1fr) 18px;gap:12px;align-items:center;padding:13px 14px;border:1px solid #e2eaed;border-radius:14px;background:#fbfdfd;color:inherit;text-decoration:none;position:relative;overflow:hidden}.dashboard-task-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#9aabb3}.dashboard-task-item.priority-high:before{background:#e5a22a}.dashboard-task-item.priority-urgent:before{background:#d95d5d}.dashboard-task-item.priority-low:before{background:#5cae8b}.dashboard-task-icon{width:44px;height:44px;border-radius:12px;background:#eaf9f8;color:#078f8c;display:grid;place-items:center;font-size:19px}.dashboard-task-copy{min-width:0}.dashboard-task-copy strong,.dashboard-task-copy small{display:block}.dashboard-task-copy strong{font-size:14px;color:#243f4a;margin:4px 0 5px}.dashboard-task-copy small{font-size:12px;color:#71818b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-task-meta{display:flex;align-items:center;gap:7px}.dashboard-task-meta em,.dashboard-task-meta b{font-style:normal;font-size:10px;font-weight:800;padding:4px 7px;border-radius:999px}.dashboard-task-meta em{background:#eef3f5;color:#5d6d76}.dashboard-task-meta b{background:#e7f8f2;color:#13805d}.dashboard-task-item>.bi-chevron-right{color:#93a1a9}
.tasks-page-heading{align-items:flex-end}.tasks-page-summary{display:flex;gap:9px}.tasks-page-summary span{min-width:92px;background:#fff;border:1px solid #e2eaed;border-radius:12px;padding:10px 13px;text-align:center}.tasks-page-summary strong,.tasks-page-summary small{display:block}.tasks-page-summary strong{font-size:20px;color:#193f49}.tasks-page-summary small{font-size:11px;color:#73838d;margin-top:2px}.tasks-empty-state{text-align:center;padding:36px}.tasks-empty-state>i{font-size:34px;color:#0e9a97}.tasks-empty-state h2{margin:10px 0 5px}.tasks-empty-state p{margin:0;color:#788892}.my-task-card{padding:0;overflow:hidden;display:block}.my-task-card-main{display:block;padding:18px;color:inherit;text-decoration:none}.my-task-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.task-priority{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:800;color:#6a7a84}.task-priority.priority-high,.task-priority.priority-urgent{color:#b56d24}.task-priority.priority-urgent{color:#bb4f4f}.my-task-card-title-row{display:flex;align-items:flex-start;gap:8px;margin-top:12px}.my-task-card-title-row h2{margin:0;flex:1;font-size:18px}.task-unread-badge{flex:0 0 auto;font-size:10px;font-weight:900;padding:4px 7px;border-radius:999px;background:#def5ef;color:#0e7e5b}.my-task-event{color:#0b8f8c!important;font-size:13px;margin:9px 0!important}.my-task-card-meta{display:flex;flex-wrap:wrap;gap:12px;color:#73838d;font-size:12px}.my-task-open{display:inline-flex;align-items:center;gap:6px;margin-top:14px;color:#0a8f8c;font-size:12px;font-weight:800}.my-task-status-form{border-top:1px solid #edf1f3;padding:12px 18px;background:#fbfdfd}.my-task-status-form label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:800;color:#63747e}.my-task-status-form select{min-width:145px;border:1px solid #dce6e9;background:#fff;border-radius:9px;padding:8px 10px}.my-task-card.overdue{border-color:#efc6c6}.my-task-card.due-today{border-color:#ecd8a7}
.task-detail-page{max-width:980px;margin:0 auto}.task-detail-back{margin-bottom:12px}.task-detail-back a{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:#178c89;font-weight:800;font-size:13px}.task-detail-card{background:#fff;border:1px solid #e2eaed;border-radius:18px;padding:24px;box-shadow:0 4px 18px rgba(20,44,54,.045)}.task-detail-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.task-detail-head h1{font-size:26px;line-height:1.25;margin:11px 0 8px;color:#203e49}.task-detail-badges{display:flex;gap:7px;align-items:center}.task-detail-event{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:#0c918e;font-weight:700}.task-read-state{display:flex;align-items:center;gap:9px;border-radius:13px;padding:11px 13px;min-width:160px}.task-read-state i{font-size:18px}.task-read-state span strong,.task-read-state span small{display:block}.task-read-state span strong{font-size:12px}.task-read-state span small{font-size:10px;margin-top:2px}.task-read-state.is-read{background:#eaf8f3;color:#14785a}.task-read-state.is-unread{background:#f2f4f5;color:#77858d}.task-detail-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.task-detail-info-grid>div{background:#f8fbfb;border:1px solid #e8eef0;border-radius:12px;padding:12px}.task-detail-info-grid span,.task-detail-description>span{display:block;font-size:11px;color:#7d8b94;margin-bottom:5px}.task-detail-info-grid strong{font-size:13px;color:#314b55}.task-detail-description{border-top:1px solid #edf1f3;padding-top:18px}.task-detail-description p{margin:5px 0 0;line-height:1.6;color:#435963}.task-completion-comment{display:flex;gap:11px;margin-top:18px;padding:14px;border-radius:12px;background:#edf9f4;color:#245d49}.task-completion-comment>i{font-size:20px}.task-completion-comment span{font-size:11px;font-weight:800}.task-completion-comment p{margin:4px 0 0}.task-detail-actions{display:grid;grid-template-columns:220px minmax(0,1fr) auto;gap:12px;align-items:end;border-top:1px solid #edf1f3;margin-top:20px;padding-top:18px}.task-detail-actions label{font-size:11px;font-weight:800;color:#677984}.task-detail-actions select,.task-detail-actions textarea{width:100%;margin-top:6px;border:1px solid #dce6e9;border-radius:10px;padding:10px;background:#fff}.task-detail-actions .primary-action{min-height:42px}.task-ack-state{display:inline-flex;align-items:center;gap:6px;margin-top:7px;font-size:11px;font-weight:700}.task-ack-state.read{color:#168260}.task-ack-state.unread{color:#87959d}.task-row-main{min-width:0;flex:1}.task-row-actions{display:flex;align-items:center;gap:8px}.task-open-link{width:34px;height:34px;border:1px solid #dfe8ea;border-radius:8px;display:grid;place-items:center;text-decoration:none;color:#0a918e;background:#fff}
@media(max-width:820px){.dashboard-tasks-panel{margin-top:12px}.dashboard-task-item{grid-template-columns:40px minmax(0,1fr) 14px;padding:12px}.dashboard-task-icon{width:40px;height:40px}.dashboard-task-copy small{white-space:normal}.tasks-page-heading{align-items:flex-start}.tasks-page-summary{width:100%}.tasks-page-summary span{flex:1}.task-detail-card{padding:16px;border-radius:16px}.task-detail-head{flex-direction:column}.task-read-state{width:100%;box-sizing:border-box}.task-detail-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-detail-actions{grid-template-columns:1fr}.task-row{flex-direction:column}.task-row-actions{width:100%;justify-content:flex-end}.my-task-card-meta{display:grid;gap:5px}}

/* Stage 35 — compact unified event participants */
.participant-workspace-section{grid-template-columns:1fr}.participant-unified-card{overflow:hidden}.participant-unified-heading{align-items:flex-start}.participant-summary-grid{margin-bottom:2px}.participant-my-response{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #e7edef;border-radius:12px;background:#fbfdfd}.participant-my-response>span{font-size:12px;font-weight:800;color:#657680}.participant-unified-list{margin-top:2px;border:1px solid #e2eaed;border-radius:13px;overflow:hidden;background:#fff}.participant-unified-row{display:grid;align-items:center;gap:12px;padding:11px 13px;border-bottom:1px solid #edf1f3}.participant-unified-list.with-attendance .participant-unified-row{grid-template-columns:minmax(190px,1.55fr) minmax(100px,.75fr) minmax(150px,1.05fr) minmax(130px,.85fr) minmax(210px,1.35fr)}.participant-unified-list.rsvp-only .participant-unified-row{grid-template-columns:minmax(220px,2fr) minmax(120px,1fr)}.participant-unified-row.header{background:#f6f9fa;color:#6f7f89;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.025em}.participant-unified-row.is-present{background:#fcfefd}.participant-unified-person{min-width:0}.participant-unified-person strong,.participant-unified-person small{display:block}.participant-unified-person strong{font-size:13px;color:#203a45}.participant-unified-person small{margin-top:3px;color:#82909a;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.participant-status-pill{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.participant-status-pill.confirmed{background:#e9f8f1;color:#137b55}.participant-status-pill.declined{background:#fff0f0;color:#aa4747}.participant-status-pill.invited{background:#fff6e3;color:#966d12}.participant-unified-attendance select,.participant-unified-reason select,.participant-unified-reason input{width:100%;box-sizing:border-box;border:1px solid #dfe7ea;border-radius:9px;background:#fff;padding:8px 9px;font-size:12px;color:#2f454f}.participant-unified-reason{display:grid;grid-template-columns:minmax(115px,.8fr) minmax(120px,1.2fr);gap:7px;align-items:center}.participant-unified-registration{display:grid;gap:4px}.participant-registration-line{display:flex;align-items:center;gap:7px}.participant-registration-line strong{font-size:12px}.participant-unified-registration small{font-size:10px;color:#8a979e}.compact-late-state{font-size:10px;font-weight:800}.compact-late-state.on-time{color:#16805d}.compact-late-state.late{color:#b27412}.participant-empty-value{color:#a3adb2}.participant-attendance-text{font-size:12px;font-weight:700;color:#667780}.participant-attendance-text.present{color:#16805d}.participant-attendance-text.absent{color:#aa4747}.participant-all-details{background:#fbfdfd}.participant-all-details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer;color:#167f7c;font-size:12px;font-weight:800;border-top:0}.participant-all-details>summary::-webkit-details-marker{display:none}.participant-all-details>summary span{display:flex;align-items:center;gap:7px}.participant-all-details>summary strong{min-width:27px;height:27px;border-radius:999px;background:#e7f7f6;color:#087e7b;display:grid;place-items:center;font-size:11px}.participant-all-details[open]>summary{border-bottom:1px solid #e6edef;background:#f4faf9}.participant-collapsed-rows .participant-unified-row:last-child{border-bottom:0}.participant-unified-empty{display:flex;align-items:center;gap:9px;padding:15px;color:#819099;font-size:12px}.participant-unified-empty i{color:#0d9894;font-size:17px}.participant-save-bottom{display:flex;justify-content:flex-end;margin-top:13px}.participant-save-top{white-space:nowrap}
@media(max-width:980px){.participant-unified-list.with-attendance .participant-unified-row{grid-template-columns:minmax(170px,1.4fr) minmax(95px,.75fr) minmax(140px,1fr) minmax(120px,.8fr) minmax(180px,1.25fr)}.participant-unified-reason{grid-template-columns:1fr}}
@media(max-width:760px){.participant-unified-heading{flex-direction:column}.participant-save-top{width:100%;justify-content:center}.participant-unified-list{border:0;background:transparent;overflow:visible}.participant-unified-row.header{display:none}.participant-unified-list.with-attendance .participant-unified-row,.participant-unified-list.rsvp-only .participant-unified-row{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px;padding:13px;border:1px solid #e3eaed;border-radius:12px;background:#fff}.participant-unified-person{grid-column:1/-1;padding-bottom:8px;border-bottom:1px solid #edf1f3}.participant-unified-rsvp,.participant-unified-attendance,.participant-unified-registration,.participant-unified-reason{min-width:0}.participant-unified-reason{grid-column:1/-1;grid-template-columns:1fr 1fr}.participant-unified-rsvp:before,.participant-unified-attendance:before,.participant-unified-registration:before,.participant-unified-reason:before{display:block;margin-bottom:5px;color:#8a969d;font-size:9px;font-weight:800;text-transform:uppercase}.participant-unified-rsvp:before{content:"Ответ"}.participant-unified-attendance:before{content:"Явка"}.participant-unified-registration:before{content:"Регистрация"}.participant-unified-reason:before{content:"Причина / комментарий";grid-column:1/-1}.participant-all-details{background:transparent}.participant-all-details>summary{margin:6px 0 10px;border:1px dashed #cfe0e1;border-radius:11px;background:#f8fbfb}.participant-all-details[open]>summary{border-bottom:1px dashed #cfe0e1}.participant-my-response{align-items:flex-start;flex-direction:column}.participant-my-response .rsvp-choice-form{width:100%}.participant-my-response .rsvp-button{flex:1}.participant-save-bottom .primary-action{width:100%;justify-content:center}}

/* Stage 36: compact visible list of actually registered event participants */
.participant-registered-details{margin:12px 0 2px;border:1px solid #dfe9eb;border-radius:12px;background:#fbfdfd;overflow:hidden}.participant-registered-details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;cursor:pointer;color:#1d4b55;font-size:12px;font-weight:800}.participant-registered-details>summary::-webkit-details-marker{display:none}.participant-registered-details>summary span{display:flex;align-items:center;gap:7px}.participant-registered-details>summary i{color:#0d9894}.participant-registered-details>summary strong{min-width:27px;height:27px;border-radius:999px;background:#e3f5f2;color:#087d78;display:grid;place-items:center;font-size:11px}.participant-registered-details[open]>summary{border-bottom:1px solid #e7edef}.participant-registered-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;padding:10px 12px}.participant-registered-chip{display:flex;align-items:center;gap:9px;min-width:0;padding:8px 9px;border:1px solid #e5ecee;border-radius:10px;background:#fff}.participant-registered-avatar{width:30px;height:30px;flex:0 0 30px;border-radius:50%;display:grid;place-items:center;background:#e8f7f5;color:#0b8581;font-size:12px;font-weight:900}.participant-registered-info{min-width:0}.participant-registered-info strong,.participant-registered-info span{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.participant-registered-info strong{font-size:12px;color:#243f49}.participant-registered-info span{margin-top:2px;font-size:10px;color:#7b8c94}.participant-registered-info span i{margin-right:3px;color:#0d9894}@media(max-width:760px){.participant-registered-list{grid-template-columns:1fr;padding:9px}.participant-registered-details>summary{padding:10px 11px}}

/* Stage 37 — public event hero cover + modal media gallery */
.public-event-hero.has-cover{background-position:center 38%}.public-event-hero.has-cover:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,27,32,.28),rgba(4,27,32,.04) 55%,rgba(4,27,32,.16));pointer-events:none}.public-event-hero-overlay{background:linear-gradient(180deg,rgba(3,19,24,.12),rgba(3,19,24,.86))}.public-photo-grid button{position:relative;overflow:hidden;aspect-ratio:4/3;padding:0;border:0;border-radius:11px;background:#e7eff1;cursor:pointer}.public-photo-grid button img{width:100%;height:100%;object-fit:cover;transition:transform .2s,filter .2s}.public-photo-grid button:hover img{transform:scale(1.04);filter:brightness(.88)}.public-photo-open{position:absolute;inset:0;display:grid;place-items:center;background:rgba(4,25,31,.08);color:#fff;font-size:24px;opacity:0;transition:opacity .2s}.public-photo-grid button:hover .public-photo-open{opacity:1}.public-media-viewer>div{min-height:120px}.public-media-counter{position:absolute;z-index:2;top:14px;left:50%;transform:translateX(-50%);min-width:44px;padding:6px 10px;border-radius:999px;background:rgba(0,0,0,.48);color:#fff;text-align:center;font-size:11px;font-weight:900;letter-spacing:.03em;backdrop-filter:blur(5px)}.public-media-viewer footer:has(strong:empty) strong{display:none}.public-media-viewer footer:has(span:empty) span{display:none}.public-media-viewer footer:has(small:empty) small{display:none}
@media(max-width:650px){.public-event-hero.has-cover{background-position:center}.public-media-viewer{width:calc(100vw - 12px)}.public-media-viewer>div{border-radius:13px}.public-story-viewer .prev,.public-story-viewer .next{width:38px;height:48px}.public-story-viewer .prev{left:6px}.public-story-viewer .next{right:6px}.public-photo-open{display:none}.public-media-counter{top:10px}}

.public-story-viewer button[hidden]{display:none}


/* Stage 38 — возврат к мероприятию после первого входа / PIN */
.auth-return-note{display:flex;align-items:flex-start;gap:11px;margin:0 0 16px;padding:12px 13px;border:1px solid #cfe7e4;border-radius:13px;background:#f0f9f8;color:#315d60;text-align:left}.auth-return-note>i{flex:0 0 auto;width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#dff3f1;color:#087d76;font-size:16px}.auth-return-note span{display:flex;min-width:0;flex-direction:column;gap:3px}.auth-return-note strong{font-size:13px;color:#174b4e}.auth-return-note small{font-size:12px;line-height:1.45;color:#627b7f;font-weight:500}

.event-participant-link-note{display:flex;align-items:center;gap:10px;color:#506b70}.event-participant-link-note>i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#e9f7f6;color:#087e78}.event-participant-link-note span{display:flex;flex-direction:column;gap:2px}.event-participant-link-note strong{font-size:13px;color:#23494d}.event-participant-link-note small{font-size:12px;color:#71868a}


/* Stage 40 — prominent RSVP at the top of the event workspace */
.event-rsvp-hero{scroll-margin-top:88px;display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.9fr);gap:22px;align-items:center;margin:18px 0 20px;padding:24px 26px;border:1px solid #cfe4e3;border-radius:18px;background:linear-gradient(135deg,#f3fffd 0%,#ffffff 58%,#f6fbff 100%);box-shadow:0 10px 30px rgba(31,78,83,.08)}
.event-rsvp-hero-copy{min-width:0}.event-rsvp-hero-kicker{display:inline-flex;align-items:center;gap:8px;color:#087f7c;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.045em}.event-rsvp-hero-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-top:8px}.event-rsvp-hero h2{margin:0;color:#17343d;font-size:25px;line-height:1.15}.event-rsvp-hero p{margin:7px 0 0;color:#6e7f89;font-size:14px}.event-rsvp-current{display:inline-flex;align-items:center;gap:7px;flex:none;padding:8px 11px;border-radius:999px;background:#fff6df;color:#8b681d;font-size:12px;font-weight:800;white-space:nowrap}.event-rsvp-current.confirmed{background:#e8f8ef;color:#16734a}.event-rsvp-current.declined{background:#fff0f0;color:#a23f3f}.event-rsvp-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.event-rsvp-big-button{display:flex;align-items:center;gap:14px;min-height:84px;width:100%;padding:15px 18px;border:1px solid #dbe6e9;border-radius:15px;background:#fff;color:#263f49;text-align:left;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,background .15s ease}.event-rsvp-big-button:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(24,58,69,.10)}.event-rsvp-big-button>i{font-size:30px;flex:none}.event-rsvp-big-button span{display:flex;flex-direction:column;gap:3px}.event-rsvp-big-button strong{font-size:19px;line-height:1.1}.event-rsvp-big-button small{color:#7d8c95;font-size:12px}.event-rsvp-big-button.yes:hover,.event-rsvp-big-button.yes.active{border-color:#33a973;background:#eaf9f1;color:#126f47}.event-rsvp-big-button.no:hover,.event-rsvp-big-button.no.active{border-color:#d57575;background:#fff2f2;color:#9e3d3d}.event-rsvp-big-button.active{box-shadow:inset 0 0 0 1px currentColor,0 6px 18px rgba(24,58,69,.06)}.event-rsvp-big-button.active small{color:inherit;opacity:.78}
@media(max-width:1050px){.event-rsvp-hero{grid-template-columns:1fr}.event-rsvp-hero-title-row{align-items:center}}
@media(max-width:760px){.event-rsvp-hero{margin:12px 0 16px;padding:17px 15px;border-radius:15px;gap:16px}.event-rsvp-hero-title-row{flex-direction:column;align-items:flex-start;gap:10px}.event-rsvp-hero h2{font-size:22px}.event-rsvp-current{white-space:normal}.event-rsvp-hero-actions{grid-template-columns:1fr 1fr;gap:9px}.event-rsvp-big-button{min-height:72px;padding:12px 10px;gap:10px}.event-rsvp-big-button>i{font-size:24px}.event-rsvp-big-button strong{font-size:17px}.event-rsvp-big-button small{font-size:10px}}

/* Stage 42: personal appeal recipient */
.appeal-field select{width:100%;height:47px;padding:0 42px 0 14px;border:1px solid #dce5e8;border-radius:11px;background:#fff;color:#24353e;outline:none;font:inherit;font-weight:650;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#7d8c94 50%),linear-gradient(135deg,#7d8c94 50%,transparent 50%);background-position:calc(100% - 18px) 20px,calc(100% - 13px) 20px;background-size:5px 5px,5px 5px;background-repeat:no-repeat;transition:border-color .16s,box-shadow .16s}.appeal-field select:focus{border-color:#14aaa7;box-shadow:0 0 0 3px rgba(20,170,167,.10)}.appeal-recipient-field{padding:14px;border:1px solid #dff0ee;border-radius:13px;background:#f8fcfc}.appeal-recipient-field>span{display:flex;align-items:center;gap:6px;color:#24434a}.appeal-recipient-warning{display:flex;align-items:center;gap:9px;padding:11px 13px;border-radius:11px;background:#fff6e6;color:#8a6215;font-size:12px;font-weight:700}.appeal-addressed-to{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;margin-top:10px;padding:7px 10px;border-radius:10px;background:#f2f7f7;color:#61747c;font-size:12px}.appeal-addressed-to>i{color:#0a918d;font-size:15px}.appeal-addressed-to span{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap}.appeal-addressed-to strong{color:#314b53}.appeal-addressed-to small{color:#84949b}.appeal-addressed-to small:before{content:'·';margin-right:4px}@media(max-width:640px){.appeal-recipient-field{padding:12px}.appeal-addressed-to{width:100%;align-items:flex-start}.appeal-addressed-to span{display:block}.appeal-addressed-to small{display:block;margin-top:2px}.appeal-addressed-to small:before{display:none}}

/* Stage 43 — режим просмотра ролей для суперадминистратора */
.role-preview-bar{margin:18px 28px 0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px 13px 16px;border:1px solid #d9e4ea;border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(28,48,61,.06)}
.role-preview-copy{display:flex;align-items:center;gap:12px;min-width:0}.role-preview-icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:#eef4f6;color:#34535f;font-size:17px}.role-preview-copy>div{display:flex;flex-direction:column;gap:2px;min-width:0}.role-preview-copy strong{font-size:14px;color:#223640}.role-preview-copy small{font-size:12px;color:#7b8a92;line-height:1.35}
.role-preview-switcher{display:flex;align-items:center;gap:7px;padding:4px;border:1px solid #dfe7eb;border-radius:13px;background:#f6f9fa;flex:0 0 auto}.role-preview-switcher form{margin:0}.role-preview-option{display:flex;align-items:center;gap:7px;min-height:36px;padding:8px 12px;border:0;border-radius:9px;background:transparent;color:#657781;font:inherit;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer;transition:.15s ease}.role-preview-option:hover{background:#fff;color:#263e48}.role-preview-option.active{background:#263f49;color:#fff;box-shadow:0 3px 9px rgba(24,53,64,.17)}
@media(max-width:900px){.role-preview-bar{margin:12px 14px 0;align-items:flex-start;flex-direction:column;gap:10px}.role-preview-switcher{width:100%;overflow-x:auto;justify-content:flex-start}.role-preview-switcher form{flex:1 0 auto}.role-preview-option{width:100%;justify-content:center}.role-preview-copy small{font-size:11px}}
@media(max-width:520px){.role-preview-bar{padding:11px;border-radius:13px}.role-preview-copy small{display:none}.role-preview-switcher{gap:4px}.role-preview-option{padding:8px 9px}.role-preview-option span{font-size:11px}}

/* Stage 44 — Youth Council as a module inside the union-wide system */
.union-home-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:20px;padding:28px 30px;border:1px solid #dfe9ec;border-radius:20px;background:linear-gradient(135deg,#ffffff 0%,#f5fbfb 58%,#eef8f7 100%);box-shadow:0 10px 30px rgba(31,66,75,.055)}
.union-home-hero-copy{max-width:790px}.union-home-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:8px;color:#0a8f8b;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.055em}.union-home-hero h2{margin:0;color:#1d343d;font-size:30px;line-height:1.12}.union-home-hero p{max-width:720px;margin:10px 0 0;color:#71818a;font-size:14px;line-height:1.6}.union-home-mark{width:82px;height:82px;display:grid;place-items:center;flex:0 0 82px;border-radius:24px;background:#e6f7f5;color:#0b8e89;font-size:35px}
.union-module-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:18px}.union-module-card{display:flex;min-width:0;min-height:310px;flex-direction:column;padding:24px;border:1px solid #e0e8eb;border-radius:20px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 7px 24px rgba(26,58,68,.045)}.union-module-card-primary{transition:transform .18s,border-color .18s,box-shadow .18s}.union-module-card-primary:hover{transform:translateY(-2px);border-color:#9bd9d5;box-shadow:0 13px 34px rgba(29,93,94,.10)}.union-module-card-muted{background:#fafcfc}.union-module-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.union-module-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#e7f8f6;color:#0b8d89;font-size:23px}.union-module-card-muted .union-module-icon{background:#eff3f4;color:#657780}.union-module-status{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#e9f8f1;color:#187550;font-size:11px;font-weight:800}.union-module-status.muted{background:#f0f3f4;color:#72818a}.union-module-card-copy{margin-top:22px}.union-module-label{color:#839098;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.union-module-card h3{margin:6px 0 8px;color:#1f353e;font-size:23px}.union-module-card p{margin:0;color:#74848c;font-size:13px;line-height:1.55}.union-module-features{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.union-module-features span{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #e4eeee;border-radius:9px;background:#f8fbfb;color:#536b73;font-size:11px;font-weight:700}.union-module-features i{color:#0b9691}.union-module-open{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:22px;color:#0a8d89;font-size:13px;font-weight:850}.union-module-open.muted{color:#8b979d;font-weight:700}
.council-workspace-bar{margin:18px 28px 0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 14px;border:1px solid #dce7e9;border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(28,55,64,.055)}.role-preview-bar+.council-workspace-bar{margin-top:10px}.council-workspace-title{display:flex;align-items:center;gap:10px;min-width:240px}.council-workspace-back{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border:1px solid #e0e8ea;border-radius:10px;color:#5e727b;background:#fafcfc;text-decoration:none}.council-workspace-back:hover{color:#0b8f8b;border-color:#bfe1df;background:#f3fbfa}.council-workspace-symbol{width:39px;height:39px;display:grid;place-items:center;flex:0 0 39px;border-radius:11px;background:#e8f8f6;color:#0b8f8b;font-size:17px}.council-workspace-title>div{display:flex;min-width:0;flex-direction:column;gap:1px}.council-workspace-title small{color:#87949a;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}.council-workspace-title strong{color:#243a43;font-size:14px;white-space:nowrap}.council-workspace-nav{display:flex;align-items:center;gap:5px;min-width:0}.council-workspace-nav a{display:flex;align-items:center;gap:7px;min-height:38px;padding:8px 11px;border-radius:10px;color:#667983;text-decoration:none;font-size:11px;font-weight:760;white-space:nowrap;transition:.15s ease}.council-workspace-nav a:hover{background:#f2f7f7;color:#25464e}.council-workspace-nav a.active{background:#e6f7f5;color:#087f7b}.council-workspace-nav a i{font-size:13px}
@media(max-width:1120px){.council-workspace-bar{align-items:flex-start;flex-direction:column}.council-workspace-nav{width:100%;overflow-x:auto;padding-bottom:2px}.council-workspace-nav a{flex:0 0 auto}.union-module-grid{grid-template-columns:1fr}}
@media(max-width:820px){.council-workspace-bar{margin:12px 14px 0;padding:11px 12px;border-radius:14px;gap:10px}.role-preview-bar+.council-workspace-bar{margin-top:8px}.council-workspace-title{min-width:0}.council-workspace-nav{margin:0 -2px}.union-home-hero{padding:21px 18px;border-radius:17px}.union-home-mark{width:60px;height:60px;flex-basis:60px;border-radius:18px;font-size:27px}.union-home-hero h2{font-size:25px}.union-module-card{min-height:270px;padding:19px;border-radius:17px}}
@media(max-width:560px){.union-home-hero{align-items:flex-start}.union-home-mark{display:none}.union-home-hero p{font-size:12px}.union-module-grid{gap:12px}.union-module-card{min-height:0}.union-module-features{gap:6px}.union-module-features span{padding:6px 8px;font-size:10px}.council-workspace-title strong{font-size:13px}.council-workspace-nav a{padding:8px 9px}.council-workspace-nav a span{font-size:10px}}

/* Stage 45: Youth Council dashboard contains Youth Council metrics only */
.council-panel-kicker{display:block;margin-bottom:4px;color:#0b908d;font-size:10px;font-weight:850;letter-spacing:.055em;text-transform:uppercase}.council-panel-note{margin:8px 0 0;color:#7a8992;font-size:12px;line-height:1.45}.council-activity-panel .chart-wrap{height:245px;margin-top:8px}.council-plan-panel{min-height:300px}.council-plan-progress-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-top:24px}.council-plan-progress-head>div{display:flex;align-items:baseline;gap:8px}.council-plan-progress-head strong{font-size:34px;line-height:1;color:#173f49}.council-plan-progress-head span,.council-plan-progress-head small{color:#73848d;font-size:11px}.council-plan-progress{height:10px;margin-top:14px;border-radius:999px;background:#edf3f3;overflow:hidden}.council-plan-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0d9f9c,#16c0ba)}.council-plan-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}.council-plan-metrics>div{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #e5ecee;border-radius:12px;background:#fafcfc}.council-plan-metrics i{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#e9f8f7;color:#0a918e;font-size:16px}.council-plan-metrics span{min-width:0;color:#6f7f88;font-size:10px}.council-plan-metrics strong{display:block;margin-top:3px;color:#27434c;font-size:18px}.council-participation-content{align-items:center}.donut.council-participation-donut{background:conic-gradient(#0fa7a5 0 var(--attendance-percent),#e7efef var(--attendance-percent) 100%)}.council-participation-donut:before{width:105px;height:105px}.council-participation-donut span{color:#23434b}.council-participation-donut small{color:#7b8b92;font-weight:650}.council-participation-legend{flex:1;min-width:0}.council-participation-legend p{margin:11px 0}.council-participation-legend p:nth-child(2) i{opacity:.82}.council-participation-legend p:nth-child(3) i{opacity:.64}.council-participation-legend p:nth-child(4) i{opacity:.38}.council-participation-legend b{font-size:16px;color:#2b444c}
@media(max-width:820px){.council-plan-progress-head{align-items:flex-start;flex-direction:column}.council-plan-metrics{grid-template-columns:1fr 1fr}.council-participation-content{align-items:center}.council-activity-panel .chart-wrap{height:220px}}
@media(max-width:480px){.council-plan-metrics{grid-template-columns:1fr}.council-participation-content{align-items:center}.council-participation-legend{width:100%}.council-plan-progress-head strong{font-size:30px}}

/* Stage 48 — public Trade Union news generated from public event cards */
.union-public-topbar{gap:18px}.union-public-nav{display:flex;align-items:center;gap:7px}.union-public-nav a{display:inline-flex;align-items:center;gap:7px;padding:9px 11px;border-radius:9px;color:#536b74;text-decoration:none;font-size:11px;font-weight:850}.union-public-nav a:hover,.union-public-nav a.active{background:#edf7f6;color:#087f7c}.union-news-page{max-width:1180px;margin:0 auto;padding:34px 20px 60px}.union-news-intro{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px}.union-news-kicker{display:inline-flex;align-items:center;gap:7px;color:#0a8d89;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.065em}.union-news-intro h1{margin:7px 0 9px;color:#173740;font-size:36px;line-height:1.08}.union-news-intro p{max-width:760px;margin:0;color:#6e8088;font-size:14px;line-height:1.6}.union-news-featured{position:relative;display:flex;min-height:430px;align-items:flex-end;overflow:hidden;border-radius:24px;background:linear-gradient(135deg,#087f7d,#123d4b);color:#fff;text-decoration:none;box-shadow:0 22px 54px rgba(22,60,70,.15)}.union-news-featured.has-cover{background-image:var(--news-cover);background-size:cover;background-position:center}.union-news-featured-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,20,27,.07) 15%,rgba(4,20,27,.88) 100%)}.union-news-featured-copy{position:relative;z-index:1;max-width:800px;padding:38px}.union-news-source,.union-news-card-source{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.17);backdrop-filter:blur(7px);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.union-news-featured time{display:block;margin-top:17px;color:#a9dcd9;font-size:11px;font-weight:800}.union-news-featured h2{margin:8px 0 10px;font-size:36px;line-height:1.12}.union-news-featured p{max-width:680px;margin:0;color:#d7e4e6;font-size:14px;line-height:1.6}.union-news-open{display:inline-flex;align-items:center;gap:8px;margin-top:19px;font-size:12px;font-weight:900}.union-news-list-head{display:flex;align-items:flex-end;justify-content:space-between;margin:34px 0 14px}.union-news-list-head span{color:#0a908c;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.union-news-list-head h2{margin:4px 0 0;color:#223e47;font-size:25px}.union-news-list-head>strong{display:grid;place-items:center;min-width:38px;height:38px;padding:0 9px;border-radius:999px;background:#e6f5f4;color:#087e7b;font-size:12px}.union-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.union-news-card{overflow:hidden;border:1px solid #dfe8ea;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(31,58,67,.05)}.union-news-card-media{position:relative;display:flex;aspect-ratio:16/9;align-items:center;justify-content:center;background:linear-gradient(135deg,#0c8c88,#183f4c);background-size:cover;background-position:center;color:#fff;text-decoration:none}.union-news-card-media.has-cover{background-image:linear-gradient(rgba(4,23,29,.15),rgba(4,23,29,.35)),var(--news-cover)}.union-news-card-source{position:absolute;left:12px;top:12px;font-size:8px}.union-news-placeholder-icon{font-size:38px;opacity:.45}.union-news-card-body{padding:17px 18px 19px}.union-news-card-body time{color:#0a8e8a;font-size:10px;font-weight:850}.union-news-card-body h3{margin:7px 0 8px;font-size:17px;line-height:1.3}.union-news-card-body h3 a{color:#243f48;text-decoration:none}.union-news-card-body p{display:-webkit-box;overflow:hidden;margin:0;color:#72838b;font-size:12px;line-height:1.55;-webkit-line-clamp:3;-webkit-box-orient:vertical}.union-news-card-link{display:inline-flex;align-items:center;gap:7px;margin-top:13px;color:#078c88;text-decoration:none;font-size:11px;font-weight:900}.union-news-empty{padding:70px 20px;text-align:center;border:1px dashed #cedbdd;border-radius:20px;background:#fff}.union-news-empty>i{display:grid;place-items:center;width:68px;height:68px;margin:0 auto;border-radius:20px;background:#eaf7f6;color:#0a8d89;font-size:28px}.union-news-empty h2{margin:15px 0 7px;color:#29464f}.union-news-empty p{max-width:600px;margin:0 auto;color:#7b8b92;font-size:13px;line-height:1.55}.union-public-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1180px;margin:0 auto;padding:0 20px 28px;color:#8a989e;font-size:10px}.union-public-footer a{color:#608087;text-decoration:none}
@media(max-width:900px){.union-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.union-news-featured{min-height:370px}.union-news-featured h2{font-size:31px}}
@media(max-width:650px){.union-public-topbar{height:auto;min-height:60px;padding-top:8px;padding-bottom:8px}.union-public-nav a{padding:8px}.union-public-nav a i{font-size:14px}.union-public-nav a{font-size:0}.union-news-page{padding:20px 10px 40px}.union-news-intro h1{font-size:29px}.union-news-intro p{font-size:12px}.union-news-featured{min-height:340px;border-radius:17px}.union-news-featured-copy{padding:24px 19px}.union-news-featured h2{font-size:27px}.union-news-featured p{font-size:12px}.union-news-grid{grid-template-columns:1fr;gap:12px}.union-news-card{border-radius:15px}.union-public-footer{padding:0 12px 22px}}

/* Stage 49 — general Trade Union events outside the Youth Council */
.union-events-page,.union-event-form-page,.union-event-admin-page{max-width:1460px;margin:0 auto}.union-events-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px;padding:26px 28px;border:1px solid #dce8e9;border-radius:20px;background:linear-gradient(135deg,#f7fcfb,#eef8f7)}.union-events-kicker{display:inline-flex;align-items:center;gap:8px;color:#0b8f8b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.055em}.union-events-hero h1{margin:7px 0 7px;color:#203b44;font-size:29px}.union-events-hero p{max-width:850px;margin:0;color:#71828b;font-size:13px;line-height:1.55}.union-events-create{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 17px;border-radius:12px;background:#0c9995;color:#fff;text-decoration:none;font-size:12px;font-weight:900;white-space:nowrap;box-shadow:0 10px 24px rgba(12,153,149,.16)}.union-events-empty{display:grid;justify-items:center;padding:64px 22px;border:1px dashed #cfdcde;border-radius:20px;background:#fff;text-align:center}.union-events-empty>i{display:grid;place-items:center;width:66px;height:66px;border-radius:19px;background:#e8f7f6;color:#0b918d;font-size:28px}.union-events-empty h2{margin:15px 0 7px;color:#29444d}.union-events-empty p{max-width:670px;margin:0;color:#7d8c93;font-size:13px;line-height:1.55}.union-events-empty a{margin-top:16px;color:#087f7c;font-size:12px;font-weight:900;text-decoration:none}.union-events-list{display:grid;gap:12px}.union-event-row{display:grid;grid-template-columns:84px minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px 20px;border:1px solid #e0e8ea;border-radius:17px;background:#fff;box-shadow:0 4px 16px rgba(27,56,66,.035)}.union-event-date{display:grid;justify-items:center;align-content:center;min-height:88px;border-radius:15px;background:#edf8f7;color:#0b8884}.union-event-date strong{font-size:26px;line-height:1}.union-event-date span{margin-top:4px;font-size:10px;font-weight:900;letter-spacing:.05em}.union-event-date small{margin-top:2px;color:#76908f;font-size:10px}.union-event-row-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.union-event-row-meta span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:#f2f6f7;color:#60737c;font-size:9px;font-weight:850}.union-event-row-meta .published{background:#e7f8f1;color:#16785b}.union-event-row-meta .public{background:#e7f7f6;color:#087f7b}.union-event-row-main h2{margin:8px 0 5px;font-size:18px;line-height:1.3}.union-event-row-main h2 a{color:#253f48;text-decoration:none}.union-event-row-main p{max-width:900px;margin:0;color:#7a8991;font-size:12px;line-height:1.5}.union-event-row-facts{display:flex;gap:12px;flex-wrap:wrap;margin-top:9px;color:#73858e;font-size:10px}.union-event-row-facts span{display:inline-flex;align-items:center;gap:5px}.union-event-row-actions{display:flex;align-items:flex-end;flex-direction:column;gap:7px}.union-event-row-actions a{display:inline-flex;align-items:center;gap:7px;color:#087f7c;text-decoration:none;font-size:11px;font-weight:900}.union-event-row-actions a.secondary{color:#71838b;font-weight:750}
.union-event-back{display:inline-flex;align-items:center;gap:7px;margin-bottom:12px;color:#667b84;text-decoration:none;font-size:11px;font-weight:800}.union-event-form-head{margin-bottom:16px}.union-event-form-head>span{display:inline-flex;align-items:center;gap:7px;color:#0a8b87;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.055em}.union-event-form-head h1{margin:6px 0 6px;color:#213c45;font-size:29px}.union-event-form-head p{max-width:880px;margin:0;color:#798991;font-size:12px;line-height:1.55}.union-event-form{display:grid;gap:14px}.union-event-form-card{padding:22px;border:1px solid #e0e8ea;border-radius:18px;background:#fff}.union-event-form-card-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.union-event-form-card-title>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#e7f7f6;color:#087f7c;font-size:12px;font-weight:900}.union-event-form-card-title h2{margin:0 0 4px;color:#29434b;font-size:17px}.union-event-form-card-title p{margin:0;color:#839198;font-size:11px;line-height:1.45}.union-event-form-card .form-grid label,.union-event-outcome-form .form-grid label{display:grid;gap:7px;color:#52666f;font-size:11px;font-weight:850}.union-event-form-card input,.union-event-form-card select,.union-event-form-card textarea,.union-event-outcome-form input,.union-event-outcome-form select,.union-event-outcome-form textarea{width:100%;border:1px solid #dce5e7;border-radius:11px;background:#fff;color:#263d46;font:inherit;outline:none}.union-event-form-card input,.union-event-form-card select,.union-event-outcome-form input,.union-event-outcome-form select{min-height:45px;padding:0 12px}.union-event-form-card textarea,.union-event-outcome-form textarea{padding:11px 12px;line-height:1.5;resize:vertical}.union-event-form-card input:focus,.union-event-form-card select:focus,.union-event-form-card textarea:focus,.union-event-outcome-form input:focus,.union-event-outcome-form select:focus,.union-event-outcome-form textarea:focus{border-color:#23aaa7;box-shadow:0 0 0 3px rgba(35,170,167,.09)}.union-event-publish-card{background:linear-gradient(135deg,#fbfefe,#f1faf9)}.union-event-public-switch{display:flex!important;align-items:flex-start;gap:12px;padding:15px 16px;border:1px solid #d9e8e8;border-radius:14px;background:#fff;cursor:pointer}.union-event-public-switch input{width:18px!important;min-height:auto!important;height:18px;margin-top:2px}.union-event-public-switch strong,.union-event-public-switch small{display:block}.union-event-public-switch strong{color:#27434c;font-size:13px}.union-event-public-switch small{margin-top:4px;color:#7c8d94;font-size:10px;font-weight:500;line-height:1.45}.union-event-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.union-event-form-actions a,.union-event-form-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 16px;border-radius:11px;font:inherit;font-size:11px;font-weight:900}.union-event-form-actions a{border:1px solid #dce5e7;background:#fff;color:#657881;text-decoration:none}.union-event-form-actions button{border:0;background:#0c9995;color:#fff;cursor:pointer}
.union-event-admin-hero{margin-bottom:14px;padding:23px 25px;border-radius:20px;background:linear-gradient(135deg,#0d7777,#173e4a);color:#fff}.union-event-admin-breadcrumb{display:flex;align-items:center;gap:9px;margin-bottom:18px}.union-event-admin-breadcrumb a,.union-event-admin-breadcrumb span{font-size:10px;font-weight:800}.union-event-admin-breadcrumb a{display:inline-flex;align-items:center;gap:6px;color:#d4eeee;text-decoration:none}.union-event-admin-breadcrumb span{color:#8fb7bc}.union-event-admin-hero-main{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.union-event-admin-owner{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.13);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.union-event-admin-hero h1{max-width:980px;margin:10px 0 11px;font-size:28px;line-height:1.18}.union-event-admin-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.union-event-admin-meta span{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:9px;background:rgba(255,255,255,.11);color:#e7f4f5;font-size:10px;font-weight:750}.union-event-admin-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.union-event-admin-actions a{display:inline-flex;align-items:center;gap:6px;min-height:39px;padding:0 11px;border:1px solid rgba(255,255,255,.24);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;text-decoration:none;font-size:10px;font-weight:900}.union-event-admin-actions a.primary{border-color:#fff;background:#fff;color:#0a7774}.union-event-admin-place{display:inline-flex;align-items:center;gap:7px;margin-top:14px;color:#cbe3e5;font-size:11px}.union-event-publish-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px;padding:17px 19px;border:1px solid #dce7e8;border-radius:17px;background:#fff}.union-event-publish-panel.enabled{border-color:#bfe2dd;background:linear-gradient(135deg,#f9fefd,#f0faf8)}.union-event-publish-status{display:flex;align-items:flex-start;gap:12px}.union-event-publish-status .icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#e7f7f5;color:#0a8d89;font-size:18px}.union-event-publish-status small{color:#0b918d;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.union-event-publish-status h2{margin:3px 0 4px;color:#2b434b;font-size:16px}.union-event-publish-status p{max-width:730px;margin:0;color:#7a8b92;font-size:10px;line-height:1.45}.union-event-publish-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.union-event-publish-actions>a,.union-event-publish-actions>button,.union-event-publish-actions form button{display:inline-flex;align-items:center;gap:6px;min-height:37px;padding:0 10px;border:1px solid #d8e4e5;border-radius:9px;background:#fff;color:#557078;text-decoration:none;font:inherit;font-size:9px;font-weight:900;cursor:pointer}.union-event-publish-actions form{margin:0}.union-event-publish-actions form button{color:#087f7b}.union-event-publish-actions form button.danger{color:#a54b4b}.union-event-admin-card{margin-bottom:14px;padding:20px;border:1px solid #e0e8ea;border-radius:17px;background:#fff}.union-event-admin-card-title{display:flex;align-items:flex-start;gap:11px;margin-bottom:15px}.union-event-admin-card-title>i{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#eaf7f6;color:#0a8e8a;font-size:15px}.union-event-admin-card-title h2{margin:1px 0 3px;color:#29434c;font-size:16px}.union-event-admin-card-title p{margin:0;color:#819097;font-size:10px;line-height:1.45}.union-event-admin-card-title>span{margin-left:auto;display:grid;place-items:center;min-width:28px;height:28px;padding:0 7px;border-radius:999px;background:#edf7f6;color:#0a817d;font-size:10px;font-weight:900}.union-event-admin-text{margin:0;color:#486069;font-size:12px;line-height:1.65}.union-event-outcome-form{display:grid;gap:13px}.union-event-outcome-form .primary-action{justify-self:end}.union-event-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:14px}.union-event-media-grid article{overflow:hidden;border:1px solid #e1e9ea;border-radius:13px;background:#fbfdfd}.union-event-media-preview{position:relative;aspect-ratio:16/10;overflow:hidden;background:#eaf2f3}.union-event-media-preview img,.union-event-media-preview video{width:100%;height:100%;object-fit:cover}.union-event-media-preview>i{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#fff;font-size:30px;text-shadow:0 2px 10px rgba(0,0,0,.4)}.union-event-media-copy{padding:9px 10px}.union-event-media-copy strong,.union-event-media-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.union-event-media-copy strong{color:#38515a;font-size:10px}.union-event-media-copy small{margin-top:3px;color:#829198;font-size:8px}.union-event-media-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 9px 9px}.union-event-media-actions form{margin:0}.union-event-media-actions button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 8px;border:1px solid #dce6e7;border-radius:8px;background:#fff;color:#567078;font:inherit;font-size:8px;font-weight:850;cursor:pointer}.union-event-media-actions button.delete{color:#a94c4c}.union-event-upload{display:grid;grid-template-columns:160px minmax(0,1fr) auto auto;gap:10px;align-items:end;padding:14px;border:1px dashed #ceddde;border-radius:13px;background:#fafcfc}.union-event-upload label{display:grid;gap:6px;color:#60747c;font-size:9px;font-weight:850}.union-event-upload select,.union-event-upload input[type=file]{min-height:40px;width:100%;border:1px solid #dce5e7;border-radius:9px;background:#fff;padding:8px;font:inherit;font-size:9px}.union-event-upload .publish{display:flex;align-items:center;gap:7px;min-height:40px}.union-event-upload .publish input{width:16px;height:16px}.union-event-upload button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 12px;border:0;border-radius:9px;background:#0c9793;color:#fff;font:inherit;font-size:9px;font-weight:900;cursor:pointer}.union-event-file-list{display:grid;gap:7px;margin-bottom:13px}.union-event-file-list>div{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto auto;gap:8px;align-items:center;padding:9px 10px;border:1px solid #e6ecee;border-radius:10px;background:#fbfcfc}.union-event-file-list>div>i{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#edf7f6;color:#0a8b87}.union-event-file-list strong,.union-event-file-list small{display:block}.union-event-file-list strong{color:#3b535c;font-size:10px}.union-event-file-list small{margin-top:2px;color:#88969c;font-size:8px}.union-event-file-list a,.union-event-file-list button{display:grid;place-items:center;width:31px;height:31px;border:1px solid #dce6e8;border-radius:8px;background:#fff;color:#557078;text-decoration:none;cursor:pointer}.union-event-file-list form{margin:0}.union-event-file-list button.delete{color:#a84f4f}.union-event-danger-zone{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 18px;border:1px solid #f0d9d9;border-radius:15px;background:#fffafa}.union-event-danger-zone strong,.union-event-danger-zone span{display:block}.union-event-danger-zone strong{color:#863f3f;font-size:11px}.union-event-danger-zone span{margin-top:3px;color:#9b7777;font-size:9px}.union-event-danger-zone form{margin:0}.union-event-danger-zone button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 10px;border:1px solid #e9caca;border-radius:9px;background:#fff;color:#a24747;font:inherit;font-size:9px;font-weight:900;cursor:pointer}
@media(max-width:1100px){.union-event-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.union-event-upload{grid-template-columns:140px minmax(0,1fr);}.union-event-upload .publish,.union-event-upload button{grid-column:auto}.union-event-admin-hero-main,.union-event-publish-panel{align-items:flex-start;flex-direction:column}.union-event-admin-actions,.union-event-publish-actions{justify-content:flex-start}}
@media(max-width:820px){.union-events-hero{align-items:stretch;flex-direction:column;padding:20px}.union-events-create{width:100%}.union-event-row{grid-template-columns:68px minmax(0,1fr)}.union-event-row-actions{grid-column:1/-1;align-items:center;flex-direction:row;justify-content:flex-end;border-top:1px solid #edf1f2;padding-top:10px}.union-event-date{min-height:74px}.union-event-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.union-event-upload{grid-template-columns:1fr}.union-event-file-list>div{grid-template-columns:30px minmax(0,1fr) auto auto auto}.union-event-admin-hero{padding:19px}.union-event-admin-hero h1{font-size:23px}}
@media(max-width:560px){.union-events-hero h1,.union-event-form-head h1{font-size:24px}.union-event-row{grid-template-columns:56px minmax(0,1fr);gap:11px;padding:13px}.union-event-date{min-height:64px}.union-event-date strong{font-size:22px}.union-event-row-main h2{font-size:15px}.union-event-row-meta .status{display:none}.union-event-media-grid{grid-template-columns:1fr 1fr}.union-event-form-card{padding:16px}.union-event-form-actions{flex-direction:column-reverse}.union-event-form-actions a,.union-event-form-actions button{width:100%}.union-event-publish-panel{padding:15px}.union-event-publish-actions{width:100%}.union-event-publish-actions>a,.union-event-publish-actions>button,.union-event-publish-actions form,.union-event-publish-actions form button{flex:1}.union-event-file-list>div{grid-template-columns:28px minmax(0,1fr) auto}.union-event-file-list>div>a{display:none}.union-event-file-list>div form{display:inline-block}.union-event-danger-zone{align-items:stretch;flex-direction:column}.union-event-danger-zone button{width:100%;justify-content:center}}

/* Stage 52: public union news cards/list switch */
.union-news-intro-with-tools{gap:24px}.union-news-view-switch{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid #dce7e9;border-radius:12px;background:#fff;box-shadow:0 6px 18px rgba(31,58,67,.05)}.union-news-view-switch button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:#75868d;font:inherit;font-size:11px;font-weight:850;cursor:pointer}.union-news-view-switch button:hover{background:#f2f8f8;color:#087f7c}.union-news-view-switch button.is-active{background:#e4f4f3;color:#087f7c}.union-news-list-head-compact{margin-top:8px}.union-news-collection.is-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.union-news-collection.is-list{display:flex;flex-direction:column;gap:10px}.union-news-collection.is-list .union-news-card{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:150px}.union-news-collection.is-list .union-news-card-media{height:100%;min-height:150px;aspect-ratio:auto}.union-news-collection.is-list .union-news-card-body{display:flex;flex-direction:column;justify-content:center;padding:17px 20px}.union-news-collection.is-list .union-news-card-body h3{margin:7px 0 7px;font-size:18px}.union-news-collection.is-list .union-news-card-body p{-webkit-line-clamp:2}.union-news-collection.is-list .union-news-card-link{margin-top:10px}.union-news-card-meta{display:flex;align-items:center;gap:12px;min-width:0}.union-news-list-source{display:none;align-items:center;gap:5px;min-width:0;color:#778a91;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.union-news-collection.is-list .union-news-list-source{display:inline-flex}.union-news-collection.is-list .union-news-card-source{display:none}
@media(max-width:900px){.union-news-collection.is-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.union-news-collection.is-list .union-news-card{grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:650px){.union-news-intro-with-tools{align-items:flex-start;flex-direction:column;gap:14px}.union-news-view-switch{width:100%;display:grid;grid-template-columns:1fr 1fr}.union-news-view-switch button{width:100%}.union-news-collection.is-cards{grid-template-columns:1fr;gap:12px}.union-news-collection.is-list .union-news-card{grid-template-columns:112px minmax(0,1fr);min-height:116px;border-radius:14px}.union-news-collection.is-list .union-news-card-media{min-height:116px}.union-news-collection.is-list .union-news-card-body{padding:12px}.union-news-collection.is-list .union-news-card-body h3{margin:5px 0 6px;font-size:14px;line-height:1.25}.union-news-collection.is-list .union-news-card-body p{display:none}.union-news-collection.is-list .union-news-card-link{margin-top:6px;font-size:10px}.union-news-collection.is-list .union-news-list-source{display:none}.union-news-card-meta{gap:8px}}

/* Stage 54 — лидер активности Молодёжного совета */
.council-leader-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:18px;margin:0 0 22px;padding:20px 22px;border:1px solid #d9e7e9;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f5fbfa 70%,#ecf8f6 100%);box-shadow:0 10px 28px rgba(32,77,83,.07);overflow:hidden}.council-leader-card:after{content:"";position:absolute;right:-60px;top:-80px;width:190px;height:190px;border-radius:50%;background:rgba(10,154,151,.07);pointer-events:none}.council-leader-emblem{position:relative;z-index:1;display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#0a9794;color:#fff;font-size:26px;box-shadow:0 10px 22px rgba(10,151,148,.22)}.council-leader-copy{position:relative;z-index:1;min-width:0}.council-leader-kicker{display:block;margin-bottom:3px;color:#0a8d8a;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.council-leader-copy h2{margin:0 0 7px;color:#203c46;font-size:21px}.council-leader-copy>strong{display:block;color:#203d47;font-size:16px}.council-leader-copy>small{display:block;margin-top:4px;color:#7b8e95;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.council-leader-score{position:relative;z-index:1;min-width:108px;padding:11px 15px;border-radius:16px;background:#0a9794;color:#fff;text-align:center}.council-leader-score>span{display:block;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.council-leader-score>strong{display:block;margin-top:3px;font-size:28px;line-height:1}.council-leader-score>small{display:block;margin-top:4px;color:rgba(255,255,255,.8);font-size:10px;font-weight:800}.council-leader-stats{position:relative;z-index:1;display:flex;gap:8px}.council-leader-stats>span{min-width:76px;padding:10px 11px;border:1px solid #dce9eb;border-radius:14px;background:#fff;text-align:center}.council-leader-stats b,.council-leader-stats small{display:block}.council-leader-stats b{color:#294851;font-size:18px}.council-leader-stats small{margin-top:2px;color:#809096;font-size:9px}.council-leader-link{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;color:#087f7d;font-size:12px;font-weight:900;white-space:nowrap}.council-leader-card.is-empty{grid-template-columns:auto minmax(0,1fr) auto}.council-leader-card.is-empty .council-leader-link{justify-self:end}
@media(max-width:900px){.council-leader-card{grid-template-columns:auto minmax(0,1fr) auto}.council-leader-stats{grid-column:2/4}.council-leader-link{grid-column:2/4;justify-self:start}.council-leader-card.is-empty{grid-template-columns:auto minmax(0,1fr)}.council-leader-card.is-empty .council-leader-link{grid-column:2;justify-self:start}}
@media(max-width:600px){.council-leader-card{grid-template-columns:52px minmax(0,1fr);gap:13px;padding:17px}.council-leader-emblem{width:52px;height:52px;border-radius:16px;font-size:23px}.council-leader-score{grid-column:1/3;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:7px;text-align:left}.council-leader-score>strong{margin:0;font-size:25px}.council-leader-score>small{margin:0}.council-leader-stats{grid-column:1/3;width:100%}.council-leader-stats>span{flex:1}.council-leader-link{grid-column:1/3}.council-leader-copy h2{font-size:19px}.council-leader-copy>small{white-space:normal}.council-leader-card.is-empty{grid-template-columns:52px minmax(0,1fr)}.council-leader-card.is-empty .council-leader-link{grid-column:1/3}}

/* Stage 55 — организаторские баллы за регистрацию участников */
.task-activity-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:999px;background:#e8f7f2;color:#14785c;font-size:10px;font-weight:900;white-space:nowrap}.task-title{flex-wrap:wrap}.task-activity-hint{display:flex;align-items:flex-start;gap:7px;margin:12px 0 15px;padding:10px 12px;border-radius:10px;background:#f2f8f7;color:#587078;font-size:11px;line-height:1.45}.task-activity-info{display:flex;gap:11px;align-items:flex-start;margin:18px 0;padding:14px;border:1px solid #dcebe7;border-radius:13px;background:#f2faf7;color:#285d4c}.task-activity-info>i{font-size:20px;color:#168260}.task-activity-info strong,.task-activity-info span{display:block}.task-activity-info strong{font-size:12px}.task-activity-info span{margin-top:4px;font-size:11px;line-height:1.5;color:#5c756d}.my-task-card-top{justify-content:flex-start}.my-task-card-top .task-priority{margin-left:auto}

/* Stage 56: podium preview — leader + 2nd/3rd places */
.council-ranking-runnerups{position:relative;z-index:1;grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;padding-top:2px}
.council-ranking-runnerup{display:grid;grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"place person points";align-items:center;column-gap:11px;row-gap:6px;padding:12px 14px;border:1px solid #dce9eb;border-radius:16px;background:rgba(255,255,255,.95);box-shadow:0 4px 12px rgba(32,77,83,.04)}
.council-ranking-place{grid-area:place;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#edf7f6;color:#087f7d;font-size:17px;font-weight:900}
.council-ranking-person{grid-area:person;min-width:0}.council-ranking-person strong,.council-ranking-person small{display:block}.council-ranking-person strong{overflow:hidden;color:#294851;font-size:13px;font-weight:800;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.council-ranking-person small{margin-top:3px;overflow:hidden;color:#82949a;font-size:10px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.council-ranking-points{grid-area:points;display:inline-flex;flex-direction:column;align-items:flex-end;justify-self:end;padding:6px 10px;border-radius:12px;background:#f1fbfa;border:1px solid #d9efee;text-align:right;white-space:nowrap}.council-ranking-points b,.council-ranking-points small{display:block}.council-ranking-points b{color:#0a8d8a;font-size:17px;line-height:1}.council-ranking-points small{margin-top:2px;color:#8a999f;font-size:9px;letter-spacing:.02em}
.council-leader-card>.council-leader-link{grid-column:1/-1;justify-self:start}
@media(max-width:700px){.council-ranking-runnerups{grid-template-columns:1fr}.council-ranking-runnerup{grid-template-columns:40px minmax(0,1fr);grid-template-areas:"place person" "place points";align-items:start;padding:11px 12px}.council-ranking-person strong{font-size:13px;white-space:normal;overflow:visible;text-overflow:clip}.council-ranking-person small{white-space:normal;overflow:visible;text-overflow:clip}.council-ranking-points{justify-self:start;align-items:flex-start;padding:5px 9px}}
@media(max-width:420px){.council-ranking-runnerup{grid-template-columns:36px minmax(0,1fr);column-gap:10px}.council-ranking-place{width:36px;height:36px;font-size:16px}.council-ranking-person strong{font-size:12px}.council-ranking-person small{font-size:10px}.council-ranking-points b{font-size:16px}}

/* Stage 58: transparent activity points ledger */
.council-ranking-explain{position:relative;z-index:1;grid-column:1/-1;display:inline-flex;align-items:center;gap:7px;justify-self:start;padding:8px 11px;border:1px solid #cfe5e4;border-radius:11px;background:rgba(255,255,255,.76);color:#087f7d;font-size:11px;font-weight:900;text-decoration:none}
.council-ranking-explain:hover{background:#fff}.council-ranking-runnerup{grid-template-areas:"place person points" "place details points"}.council-ranking-runnerup-link{grid-area:details;display:inline-flex;align-items:center;gap:5px;justify-self:start;color:#087f7d;font-size:10px;font-weight:900;text-decoration:none}.council-ranking-runnerup-link:hover{text-decoration:underline}
.member-activity-detail-link{display:flex;align-items:center;gap:7px;margin:-4px 0 13px;padding:9px 11px;border:1px solid #dce9eb;border-radius:11px;background:#f6fbfa;color:#087f7d;font-size:11px;font-weight:900;text-decoration:none}.member-activity-detail-link .bi-arrow-right{margin-left:auto}.member-activity-detail-link:hover{background:#edf8f7}
.member-activity-history-actions{display:flex;align-items:center;gap:9px}.member-activity-history-actions>a{display:inline-flex;align-items:center;gap:5px;color:#087f7d;font-size:10px;font-weight:900;text-decoration:none}.member-activity-history-actions>a:hover{text-decoration:underline}
.activity-ledger-page{max-width:1050px;margin:0 auto;padding-bottom:24px}.activity-ledger-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.activity-back-link,.activity-profile-link{display:inline-flex;align-items:center;gap:7px;color:#087f7d;font-size:12px;font-weight:900;text-decoration:none}.activity-back-link:hover,.activity-profile-link:hover{text-decoration:underline}
.activity-ledger-hero{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:16px;padding:22px;border:1px solid #d9e8e8;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f2fbfa 72%,#e8f7f5 100%);box-shadow:0 10px 28px rgba(32,77,83,.07);overflow:hidden}.activity-ledger-hero:after{content:"";position:absolute;right:-60px;top:-100px;width:220px;height:220px;border-radius:50%;background:rgba(10,154,151,.07);pointer-events:none}.activity-ledger-emblem{position:relative;z-index:1;display:grid;place-items:center;width:64px;height:64px;border-radius:19px;background:#0a9794;color:#fff;font-size:28px;box-shadow:0 10px 22px rgba(10,151,148,.22)}.activity-ledger-person{position:relative;z-index:1;min-width:0}.activity-ledger-person>span{display:block;margin-bottom:4px;color:#0a8d8a;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.activity-ledger-person h1{margin:0;color:#203d47;font-size:24px;line-height:1.15}.activity-ledger-person p{margin:6px 0 0;color:#7c8f96;font-size:12px;line-height:1.4}.activity-ledger-score{position:relative;z-index:1;min-width:132px;padding:13px 17px;border-radius:17px;background:#0a9794;color:#fff;text-align:center}.activity-ledger-score small,.activity-ledger-score strong,.activity-ledger-score span{display:block}.activity-ledger-score small{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.activity-ledger-score strong{margin-top:4px;font-size:34px;line-height:1}.activity-ledger-score span{margin-top:4px;color:rgba(255,255,255,.8);font-size:10px;font-weight:800}
.activity-ledger-note{display:flex;align-items:flex-start;gap:10px;margin:13px 0;padding:12px 14px;border:1px solid #dce9eb;border-radius:13px;background:#f8fbfb;color:#6f838b;font-size:12px;line-height:1.45}.activity-ledger-note i{margin-top:1px;color:#0a8d8a;font-size:17px}
.activity-breakdown-card,.activity-ledger-card{margin-top:14px;padding:18px;border:1px solid #dce8ea;border-radius:19px;background:#fff;box-shadow:0 8px 22px rgba(32,77,83,.05)}.activity-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:13px}.activity-section-heading span{display:block;color:#0a8d8a;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.activity-section-heading h2{margin:4px 0 0;color:#294851;font-size:20px}.activity-section-heading>b{display:grid;place-items:center;min-height:29px;padding:0 10px;border-radius:999px;background:#edf7f6;color:#087f7d;font-size:10px}
.activity-breakdown-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.activity-breakdown-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border:1px solid #e1ecee;border-radius:14px;background:#fbfdfd}.activity-breakdown-item>i{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#eaf7f6;color:#0a8d8a;font-size:18px}.activity-breakdown-item strong,.activity-breakdown-item small{display:block}.activity-breakdown-item strong{color:#2d4a53;font-size:12px;line-height:1.25}.activity-breakdown-item small{margin-top:3px;color:#89989d;font-size:9px}.activity-breakdown-item>b{color:#0a8d8a;font-size:22px}
.activity-ledger-list{border-top:1px solid #edf2f3}.activity-ledger-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:start;gap:12px;padding:15px 0;border-bottom:1px solid #edf2f3}.activity-ledger-row:last-child{border-bottom:0}.activity-ledger-row-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#edf7f6;color:#087f7d;font-size:19px}.activity-ledger-row-main{min-width:0}.activity-ledger-row-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.activity-ledger-row-title strong{color:#294851;font-size:13px}.activity-ledger-row-title span{padding:3px 7px;border-radius:999px;background:#f0f7f7;color:#71858c;font-size:9px;font-weight:800}.activity-ledger-row-main>p{margin:5px 0 0;color:#60747c;font-size:12px;line-height:1.45}.activity-ledger-row-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:7px}.activity-ledger-row-meta span,.activity-ledger-row-meta a{display:inline-flex;align-items:center;gap:5px;color:#87969b;font-size:10px;text-decoration:none}.activity-ledger-row-meta a{color:#087f7d;font-weight:800}.activity-ledger-row-meta a:hover{text-decoration:underline}.activity-ledger-row-points{min-width:68px;padding:8px 10px;border-radius:12px;background:#f0fbf5;color:#278344;font-size:18px;font-weight:900;text-align:center;white-space:nowrap}.activity-ledger-row-points small{display:block;margin-top:2px;color:#7ea189;font-size:8px;font-weight:800}.activity-ledger-empty{display:flex;align-items:center;justify-content:center;gap:9px;padding:24px;color:#84959b;text-align:center}.activity-ledger-empty i{font-size:22px}.activity-ledger-empty p{margin:0;font-size:12px}
@media(max-width:800px){.activity-breakdown-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.council-ranking-runnerup{grid-template-areas:"place person" "place points" "place details"}.council-ranking-runnerup-link{margin-top:1px}.council-ranking-explain{width:100%;box-sizing:border-box;justify-content:center}.member-activity-history-title{align-items:flex-start;gap:8px}.member-activity-history-actions{align-items:flex-end;flex-direction:column;gap:4px}.activity-ledger-toolbar{align-items:flex-start;flex-direction:column}.activity-ledger-hero{grid-template-columns:52px minmax(0,1fr);gap:12px;padding:17px}.activity-ledger-emblem{width:52px;height:52px;border-radius:16px;font-size:23px}.activity-ledger-person h1{font-size:19px}.activity-ledger-score{grid-column:1/3;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;min-width:0;text-align:left}.activity-ledger-score strong{margin:0;font-size:28px}.activity-ledger-score span{margin:0}.activity-breakdown-card,.activity-ledger-card{padding:15px}.activity-breakdown-grid{grid-template-columns:1fr}.activity-section-heading{align-items:flex-start;flex-direction:column}.activity-ledger-row{grid-template-columns:38px minmax(0,1fr);gap:10px}.activity-ledger-row-icon{width:38px;height:38px}.activity-ledger-row-points{grid-column:2;justify-self:start;min-width:58px;padding:7px 9px}.activity-ledger-row-meta{align-items:flex-start;flex-direction:column;gap:5px}}

/* Stage 59: live pilot follow-ups — RSVP history, real arrival time, attendance report */
.event-rsvp-locked{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid #dfe8ea;border-radius:15px;background:#f7fafb;color:#526871}.event-rsvp-locked>i{margin-top:2px;color:#83949b}.event-rsvp-locked span,.event-rsvp-locked strong,.event-rsvp-locked small{display:block}.event-rsvp-locked strong{color:#294650;font-size:13px}.event-rsvp-locked small{margin-top:3px;color:#829198;font-size:11px;line-height:1.45}.participant-rsvp-locked-panel{display:flex;align-items:flex-start;gap:12px;margin-top:15px;padding:14px 16px;border:1px solid #dfe8ea;border-radius:16px;background:#f8fbfb}.participant-rsvp-locked-panel>i{color:#819298;font-size:20px}.participant-rsvp-locked-panel span,.participant-rsvp-locked-panel strong,.participant-rsvp-locked-panel small{display:block}.participant-rsvp-locked-panel span{color:#7b8e95;font-size:10px;font-weight:900;text-transform:uppercase}.participant-rsvp-locked-panel strong{margin-top:3px;color:#294650;font-size:14px}.participant-rsvp-locked-panel small{margin-top:4px;color:#829198;font-size:11px;line-height:1.4}
.participant-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.participant-rsvp-history{margin-top:5px}.participant-rsvp-history>summary{list-style:none;display:inline-flex;align-items:center;gap:4px;cursor:pointer;color:#6d838b;font-size:9px;font-weight:800}.participant-rsvp-history>summary::-webkit-details-marker{display:none}.participant-rsvp-history>div{display:grid;gap:4px;margin-top:6px;padding:7px 8px;border:1px solid #e3ebed;border-radius:9px;background:#fbfdfd}.participant-rsvp-history>div span{display:flex;align-items:center;justify-content:space-between;gap:8px}.participant-rsvp-history>div strong{color:#36525b;font-size:10px}.participant-rsvp-history>div small,.participant-rsvp-time{color:#8a989e;font-size:9px}.participant-rsvp-time{display:block;margin-top:4px}
.participant-unified-registration{gap:7px}.participant-arrival-field{display:grid;gap:4px}.participant-arrival-field>span,.participant-reason-label{color:#7d8d94;font-size:9px;font-weight:800;text-transform:uppercase}.participant-arrival-field input{width:100%;box-sizing:border-box;border:1px solid #dfe7ea;border-radius:9px;background:#fff;padding:7px 8px;color:#2f454f;font-size:11px}.participant-arrival-field small{line-height:1.3}.participant-registration-line.arrival{color:#157c5c}.participant-registration-line.technical{color:#526b75}.participant-registration-line.technical .checkin-method{font-size:10px}.participant-unified-reason{display:block}.participant-absence-fields,.participant-lateness-fields{display:grid;gap:5px}.participant-lateness-fields{margin-top:7px;padding-top:7px;border-top:1px dashed #e2e9eb}.participant-unified-reason input,.participant-unified-reason select{width:100%;box-sizing:border-box}.participant-absence-fields[hidden],.participant-lateness-fields[hidden]{display:none!important}
.registration-action-history{margin-top:14px;border:1px solid #dfe9eb;border-radius:13px;background:#fbfdfd;overflow:hidden}.registration-action-history>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;cursor:pointer;color:#274b55;font-size:12px;font-weight:800}.registration-action-history>summary::-webkit-details-marker{display:none}.registration-action-history>summary span{display:flex;align-items:center;gap:7px}.registration-action-history>summary i{color:#0b918e}.registration-action-history>summary strong{min-width:27px;height:27px;display:grid;place-items:center;border-radius:999px;background:#e5f5f3;color:#087d79;font-size:11px}.registration-action-list{display:grid;border-top:1px solid #e6edef}.registration-action-list>div{display:flex;align-items:flex-start;gap:10px;padding:10px 13px;border-bottom:1px solid #edf1f2}.registration-action-list>div:last-child{border-bottom:0}.registration-action-list>div>i{margin-top:2px;color:#0b918e}.registration-action-list span,.registration-action-list strong,.registration-action-list small{display:block}.registration-action-list strong{color:#304d57;font-size:11px}.registration-action-list small{margin-top:2px;color:#839198;font-size:10px}

.attendance-report-page{max-width:1180px;margin:24px auto;padding:0 18px 40px;color:#263f49}.attendance-report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.attendance-report-toolbar a,.attendance-report-toolbar button{display:inline-flex;align-items:center;gap:7px;border:1px solid #dbe6e8;border-radius:12px;background:#fff;padding:10px 14px;color:#187f7d;font:inherit;font-size:13px;font-weight:800;text-decoration:none;cursor:pointer}.attendance-report-header{padding:26px 28px;border:1px solid #dce7e9;border-radius:22px;background:#fff}.attendance-report-brand{color:#0a8f8c;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.attendance-report-header h1{margin:7px 0 3px;font-size:30px;color:#203e48}.attendance-report-header h2{margin:0;color:#38545e;font-size:18px;font-weight:700}.attendance-report-header p{margin:8px 0 0;color:#7b8d94}.attendance-report-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:14px 0}.attendance-report-summary>div{padding:14px;border:1px solid #dfe8ea;border-radius:15px;background:#fff}.attendance-report-summary span,.attendance-report-summary strong{display:block}.attendance-report-summary span{min-height:32px;color:#788b93;font-size:10px;line-height:1.35}.attendance-report-summary strong{margin-top:4px;color:#0a8f8c;font-size:25px}.attendance-report-card{overflow:hidden;border:1px solid #dce7e9;border-radius:20px;background:#fff}.attendance-report-section-title{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid #e6edef}.attendance-report-section-title h3{margin:0;font-size:18px}.attendance-report-section-title span{min-width:30px;height:30px;display:grid;place-items:center;border-radius:999px;background:#e7f6f4;color:#087d79;font-weight:900}.attendance-report-table-wrap{overflow:auto}.attendance-report-table{width:100%;border-collapse:collapse;min-width:950px}.attendance-report-table th,.attendance-report-table td{padding:11px 10px;border-bottom:1px solid #edf1f2;text-align:left;vertical-align:top;font-size:11px}.attendance-report-table th{background:#f6f9fa;color:#6f8188;font-size:9px;text-transform:uppercase;letter-spacing:.04em}.attendance-report-table td strong,.attendance-report-table td small{display:block}.attendance-report-table td strong{color:#294751;font-size:11px}.attendance-report-table td small{margin-top:2px;color:#87959b;font-size:9px}.attendance-report-footer{margin-top:13px;color:#8a979d;font-size:10px;text-align:right}
@media(max-width:900px){.attendance-report-summary{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.participant-heading-actions{width:100%;justify-content:stretch}.participant-heading-actions>*{flex:1;justify-content:center}.participant-unified-list.with-attendance .participant-unified-row{grid-template-columns:1fr}.participant-unified-rsvp,.participant-unified-attendance,.participant-unified-registration,.participant-unified-reason{grid-column:1/-1}.participant-unified-registration:before{content:"Прибытие / регистрация"}.attendance-report-page{margin:10px auto;padding:0 10px 24px}.attendance-report-toolbar{align-items:stretch;flex-direction:column}.attendance-report-toolbar a,.attendance-report-toolbar button{justify-content:center}.attendance-report-header{padding:20px 18px}.attendance-report-header h1{font-size:25px}.attendance-report-summary{grid-template-columns:repeat(2,1fr)}}
@media print{.guest-page{background:#fff!important}.no-print{display:none!important}.attendance-report-page{max-width:none;margin:0;padding:0;color:#000}.attendance-report-header,.attendance-report-summary>div,.attendance-report-card{box-shadow:none;border-color:#bbb}.attendance-report-table-wrap{overflow:visible}.attendance-report-table{min-width:0;font-size:9px}.attendance-report-table th,.attendance-report-table td{padding:6px 5px}.attendance-report-footer{margin-top:8px}}
.event-attendance-outcome-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.event-attendance-outcome-grid>div{padding:13px;border:1px solid #e2eaec;border-radius:13px;background:#fbfdfd}.event-attendance-outcome-grid span,.event-attendance-outcome-grid strong{display:block}.event-attendance-outcome-grid span{min-height:30px;color:#7c8d94;font-size:10px;line-height:1.35}.event-attendance-outcome-grid strong{margin-top:3px;color:#0b8d89;font-size:24px}@media(max-width:900px){.event-attendance-outcome-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:560px){.event-attendance-outcome-grid{grid-template-columns:repeat(2,1fr)}.event-attendance-outcome .panel-heading{align-items:stretch;flex-direction:column}.event-attendance-outcome .panel-heading>a{justify-content:center}}

/* Stage 63 — автоматические письма работодателям */
.event-employer-letter-card{display:flex;align-items:center;gap:14px;margin:18px 0;padding:18px 20px;border:1px solid #dce8ea;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(28,63,72,.06)}
.event-employer-letter-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#e9f7f6;color:#0d9f9b;font-size:22px;flex:0 0 auto}.event-employer-letter-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.event-employer-letter-copy strong{font-size:17px;color:#23434b}.event-employer-letter-copy span{font-size:13px;color:#73878e;line-height:1.45}.event-employer-letter-card .primary-action{white-space:nowrap}
.employer-letters-page{display:flex;flex-direction:column;gap:18px}.employer-letter-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:10px;align-items:stretch}.flow-step{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid #dce8ea;border-radius:16px;background:#fff}.flow-step>b{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#e8f7f6;color:#0b928f;flex:0 0 auto}.flow-step span{display:flex;flex-direction:column;gap:3px}.flow-step strong{font-size:14px;color:#24454d}.flow-step small{font-size:12px;color:#798b91;line-height:1.42}.flow-arrow{display:grid;place-items:center;color:#9bb1b5}
.employer-letter-prepare-card,.employer-letter-batch{display:flex;flex-direction:column;gap:16px}.employer-letter-prepare-card .panel-heading,.employer-letter-batch .panel-heading{align-items:flex-start}.letter-template-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#eef8f7;color:#177f7d;font-size:12px;font-weight:700}.employer-letter-prepare-form{display:grid;grid-template-columns:minmax(160px,220px) minmax(160px,220px) 1fr;gap:14px;align-items:end}.employer-letter-prepare-form label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#566d73}.employer-letter-prepare-form input{width:100%;min-height:44px;border:1px solid #d8e5e7;border-radius:12px;padding:9px 12px;background:#fff}.number-input{display:flex;align-items:center;border:1px solid #d8e5e7;border-radius:12px;background:#fff;overflow:hidden}.number-input input{border:0;border-radius:0;min-width:0}.number-input span{padding:0 12px;color:#526b71;font-weight:700}.employer-letter-main-action{justify-self:end;min-height:46px}.letter-warning{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:13px;background:#fff7e8;color:#7a5c21;font-size:13px;line-height:1.45}.employer-letter-missing summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.employer-letter-missing summary span{display:flex;align-items:center;gap:8px}.missing-letter-list{display:flex;flex-direction:column;gap:8px;margin-top:14px}.missing-letter-list>div{display:flex;justify-content:space-between;gap:14px;padding:11px 12px;border-radius:12px;background:#f7fafb}.missing-letter-list span{display:flex;flex-direction:column;gap:2px}.missing-letter-list small{color:#84959a}.missing-letter-list em{font-style:normal;color:#a15b45;font-size:12px;text-align:right}
.batch-status,.letter-status{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.batch-status.sent,.letter-status.sent{background:#e9f8ef;color:#257044}.batch-status.partial,.letter-status.ready{background:#eaf6f8;color:#18758b}.batch-status.prepared,.letter-status.prepared{background:#f1f4f5;color:#667b80}.letter-status.failed{background:#fff0ee;color:#b44a3c}.employer-letter-list{display:flex;flex-direction:column;gap:10px}.employer-letter-row{display:grid;grid-template-columns:34px 90px minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:14px;border:1px solid #e0eaec;border-radius:14px}.letter-select{display:flex;align-items:center;justify-content:center}.letter-select input{width:19px;height:19px;accent-color:#0da7a3;cursor:pointer}.letter-select i{color:#2e8a5c;font-size:18px}.letter-number{font-weight:800;color:#3d5c64}.letter-main{display:flex;flex-direction:column;gap:4px;min-width:0}.letter-main strong{color:#24454d}.letter-main small{color:#7d9095;overflow-wrap:anywhere}.letter-main small i{margin-right:5px}.letter-main .letter-error{color:#b44a3c}.letter-actions{display:flex;gap:5px}.employer-letter-send-form{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:4px}.employer-letter-send-form small{color:#788c91}.employer-letter-send-all{min-height:48px;padding-inline:22px}
.employer-letter-selection-bar{display:grid;grid-template-columns:auto auto 1fr;gap:12px;align-items:center;padding:12px 14px;border:1px solid #dbe9ea;border-radius:14px;background:#f8fbfb}.employer-letter-select-all{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#31565e;cursor:pointer}.employer-letter-select-all input{width:18px;height:18px;accent-color:#0da7a3}.employer-letter-selection-count{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#eaf7f6;color:#147d79;font-size:12px;font-weight:800;white-space:nowrap}.employer-letter-selection-bar small{color:#7a8e93;line-height:1.4}
.employer-letter-batch-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid #f0dddd;border-radius:14px;background:#fffafa}.employer-letter-batch-tools form{flex:0 0 auto}.employer-letter-batch-tools small{color:#8b7474;line-height:1.45}.employer-letter-reset-batch{white-space:nowrap}.employer-letter-reset-locked{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;border-radius:13px;background:#f6f8f8;color:#73858a;font-size:12px;line-height:1.45}.employer-letter-reset-locked i{margin-top:1px;color:#7f9297}
@media(max-width:900px){.employer-letter-flow{grid-template-columns:1fr}.flow-arrow{display:none}.employer-letter-prepare-form{grid-template-columns:1fr 1fr}.employer-letter-main-action{grid-column:1/-1;justify-self:stretch}.employer-letter-selection-bar{grid-template-columns:auto auto}.employer-letter-selection-bar small{grid-column:1/-1}.employer-letter-row{grid-template-columns:32px 76px minmax(0,1fr) auto}.letter-select{grid-column:1;grid-row:1/3}.letter-number{grid-column:2}.letter-main{grid-column:2/4}.letter-status{grid-column:2;grid-row:3;justify-self:start}.letter-actions{grid-column:4;grid-row:1/4}}
@media(max-width:620px){.event-employer-letter-card{align-items:flex-start;flex-wrap:wrap}.event-employer-letter-copy{flex-basis:calc(100% - 64px)}.event-employer-letter-card .primary-action{width:100%;justify-content:center}.employer-letter-prepare-form{grid-template-columns:1fr}.employer-letter-main-action{grid-column:auto}.employer-letter-selection-bar{grid-template-columns:1fr auto;gap:8px}.employer-letter-select-all{font-size:12px}.employer-letter-selection-bar small{grid-column:1/-1}.employer-letter-row{grid-template-columns:28px 1fr auto;gap:8px}.letter-select{grid-column:1;grid-row:1/4;align-self:start;padding-top:2px}.letter-number{grid-column:2}.letter-main{grid-column:2/-1;grid-row:2}.letter-status{grid-column:2;grid-row:3;justify-self:start}.letter-actions{grid-column:3;grid-row:1;align-self:center}.missing-letter-list>div{flex-direction:column}.missing-letter-list em{text-align:left}.employer-letter-send-form{align-items:stretch;flex-direction:column}.employer-letter-send-all{width:100%;justify-content:center}.employer-letter-batch-tools{align-items:stretch;flex-direction:column}.employer-letter-batch-tools form,.employer-letter-reset-batch{width:100%}.employer-letter-reset-batch{justify-content:center}}

/* Stage 64: letters use the same HTML print logic as protocols; PDF is built client-side. */
.employer-letter-pdf-progress{display:flex;align-items:center;gap:9px;margin-top:10px;padding:10px 12px;border-radius:12px;background:#f1f8f8;color:#496970;font-size:12px}.employer-letter-pdf-progress[hidden]{display:none!important}.employer-letter-pdf-progress i{color:#0a8d8a;font-size:18px}.employer-letter-pdf-renderer{position:fixed;left:0;top:0;width:210mm;height:auto;overflow:visible;pointer-events:none;z-index:-2147483647;background:#fff}.employer-letter-pdf-capture{width:210mm;background:#fff}.employer-letter-send-all:disabled,.employer-letter-main-action:disabled{opacity:.55;cursor:not-allowed}

/* Stage 71 — self-contained pseudo-3D map of Russian regions */
.union-map-body{background:#f5f8f8}.union-map-page{max-width:1480px;margin:0 auto;padding:34px 28px 44px}.union-map-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px}.union-map-kicker{display:inline-flex;align-items:center;gap:7px;color:#0a8d8a;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.union-map-hero h1{margin:8px 0 7px;color:#213f47;font-size:34px;line-height:1.1}.union-map-hero p{max-width:790px;margin:0;color:#6f848b;font-size:14px;line-height:1.55}.union-map-live{display:flex;align-items:center;gap:10px;min-width:265px;padding:11px 13px;border:1px solid #d7e7e7;border-radius:14px;background:#fff}.union-map-live>span{position:relative;width:10px;height:10px;border-radius:50%;background:#14a39d;box-shadow:0 0 0 5px rgba(20,163,157,.12);flex:0 0 auto}.union-map-live>span:after{content:"";position:absolute;inset:-5px;border:1px solid rgba(20,163,157,.22);border-radius:50%;animation:unionMapPulse 2.2s ease-out infinite}.union-map-live strong,.union-map-live small{display:block}.union-map-live strong{color:#31515a;font-size:12px}.union-map-live small{margin-top:2px;color:#8a999e;font-size:10px}.union-map-live.is-new{border-color:#b9dedb;background:#f3fbfa}.union-map-live.is-new>span{background:#0f9d78;box-shadow:0 0 0 5px rgba(15,157,120,.12)}.union-map-live.is-error>span{background:#c87961;box-shadow:0 0 0 5px rgba(200,121,97,.12)}@keyframes unionMapPulse{0%{transform:scale(.75);opacity:1}100%{transform:scale(1.55);opacity:0}}
.union-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}.union-map-panel,.union-map-news-panel{border:1px solid #dce8e9;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(31,67,76,.06)}.union-map-panel{overflow:hidden}.union-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px;border-bottom:1px solid #e6eeee}.union-map-toolbar>div:first-child>span{display:block;margin-bottom:7px;color:#84969c;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.union-map-periods{display:flex;gap:6px;flex-wrap:wrap}.union-map-periods button{border:1px solid #dbe7e8;border-radius:999px;background:#fff;padding:7px 11px;color:#657a81;font:inherit;font-size:11px;font-weight:800;cursor:pointer}.union-map-periods button:hover,.union-map-periods button.is-active{border-color:#a7d9d6;background:#eaf8f7;color:#087f7d}.union-map-period-summary{color:#47636b;font-size:12px;font-weight:800;text-align:right}
.union-map-canvas-wrap{position:relative;min-height:590px;overflow:hidden;background:radial-gradient(ellipse at 50% 58%,#f7fbfb 0,#edf4f4 48%,#e3ecee 100%)}.union-map-canvas{position:relative;width:100%;height:590px;overflow:hidden}.union-map-region-svg{display:block;width:100%;height:100%;overflow:visible;transform:perspective(1200px) rotateX(13deg) rotateZ(-1.1deg) scale(.965);transform-origin:50% 55%;transform-style:preserve-3d}.union-map-floor-shadow{fill:rgba(42,72,79,.08);filter:blur(8px)}.union-map-region-depth{fill:#aabdc0;stroke:#91a6aa;stroke-width:1.1;vector-effect:non-scaling-stroke;transition:fill .18s ease,transform .18s ease}.union-map-region-shape{fill:#e1eaeb;stroke:#fff;stroke-width:1.35;vector-effect:non-scaling-stroke;cursor:default;transition:fill .18s ease,stroke .18s ease,filter .18s ease,transform .18s ease;transform-box:fill-box;transform-origin:center}.union-map-region-shape.is-hovered{fill:#d2e2e3;stroke:#c4d4d6;filter:brightness(1.015)}.union-map-region-shape.has-activity{fill:#65c3bf;stroke:#fff;cursor:pointer;filter:drop-shadow(0 3px 3px rgba(9,125,121,.2))}.union-map-region-depth.has-activity{fill:#268f8c}.union-map-region-shape.has-activity.is-busy{fill:#2eaaa5}.union-map-region-depth.has-activity.is-busy{fill:#187b78}.union-map-region-shape.has-activity.is-hovered,.union-map-region-shape.has-activity.is-card-hovered{fill:#188d89;transform:translateY(-2px);filter:drop-shadow(0 5px 5px rgba(8,108,105,.26))}.union-map-region-shape:focus{outline:none;stroke:#153f49;stroke-width:2.2}.union-map-region-shape.is-fresh{animation:unionRegionFresh 1.1s ease-in-out 3}.union-map-region-depth.is-fresh{animation:unionDepthFresh 1.1s ease-in-out 3}@keyframes unionRegionFresh{50%{fill:#0a9893;filter:drop-shadow(0 0 12px rgba(10,152,147,.55));transform:translateY(-4px)}}@keyframes unionDepthFresh{50%{fill:#126c69}}
.union-map-loading{position:absolute;inset:0;z-index:12;display:flex;align-items:center;justify-content:center;gap:10px;background:#eef3f4;color:#6d838a;font-size:13px}.union-map-loading[hidden]{display:none}.union-map-loading i{font-size:22px;color:#0b8d89}.union-map-tooltip{position:absolute;z-index:30;max-width:225px;padding:8px 10px;border:1px solid #cddcde;border-radius:10px;background:rgba(255,255,255,.97);box-shadow:0 9px 22px rgba(39,70,77,.14);pointer-events:none}.union-map-tooltip[hidden]{display:none}.union-map-tooltip strong,.union-map-tooltip span{display:block}.union-map-tooltip strong{color:#294851;font-size:11px}.union-map-tooltip span{margin-top:2px;color:#7d9096;font-size:9px}.union-map-activity-cards{position:absolute;inset:0;z-index:20;pointer-events:none}.public-map-marker-card{position:absolute;display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;width:228px;min-height:82px;padding:8px;border:1px solid rgba(176,206,207,.96);border-radius:16px;background:rgba(255,255,255,.97);box-shadow:0 10px 26px rgba(33,69,78,.18);cursor:pointer;text-align:left;font:inherit;pointer-events:auto;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.public-map-marker-card:after{content:"";position:absolute;left:18px;bottom:-8px;width:14px;height:14px;border-right:1px solid rgba(176,206,207,.96);border-bottom:1px solid rgba(176,206,207,.96);background:#fff;transform:rotate(45deg)}.public-map-marker-card:hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(24,77,84,.22);border-color:#87c9c5}.public-map-marker-card.is-fresh{border-color:#4db2ad;animation:unionMapFresh 1.05s ease-in-out 3}.public-map-marker-photo{position:relative;z-index:1;width:64px;height:64px;border-radius:11px;overflow:hidden;background:#e8f3f3;color:#8ba4a8;display:grid;place-items:center}.public-map-marker-photo img{width:100%;height:100%;object-fit:cover}.public-map-marker-photo i{font-size:22px}.public-map-marker-copy{position:relative;z-index:1;display:flex;min-width:0;flex-direction:column;justify-content:center}.public-map-marker-copy small{color:#0a8d8a;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.public-map-marker-copy strong{margin-top:2px;color:#25464e;font-size:12px;line-height:1.25}.public-map-marker-copy em{margin-top:5px;color:#71858b;font-size:9px;font-style:normal;font-weight:800}@keyframes unionMapFresh{50%{transform:translateY(-3px) scale(1.025);box-shadow:0 13px 32px rgba(19,143,137,.29)}}
.union-map-legend{position:absolute;left:14px;bottom:13px;z-index:16;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:7px 9px;border:1px solid rgba(204,219,221,.86);border-radius:10px;background:rgba(255,255,255,.88);backdrop-filter:blur(4px);color:#73878e;font-size:9px;font-weight:800}.union-map-legend span{display:inline-flex;align-items:center;gap:5px}.union-map-legend i{width:10px;height:10px;border-radius:3px;background:#dfe9ea;border:1px solid #c6d5d7}.union-map-legend i.is-active{background:#65c3bf;border-color:#46aaa6}.union-map-region-panel{position:absolute;right:14px;bottom:14px;z-index:35;width:min(350px,calc(100% - 28px));max-height:74%;overflow:auto;padding:15px 15px 12px;border:1px solid #cddcde;border-radius:16px;background:rgba(255,255,255,.98);box-shadow:0 15px 35px rgba(32,66,74,.2)}.union-map-region-panel[hidden]{display:none}.union-map-region-panel-close{position:absolute;right:9px;top:9px;display:grid;place-items:center;width:30px;height:30px;border:1px solid #dde7e9;border-radius:9px;background:#fff;color:#688088;cursor:pointer}.union-map-region-panel-kicker{display:block;padding-right:36px;color:#0a8d8a;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.union-map-region-panel h3{margin:3px 36px 9px 0;color:#294851;font-size:17px}.public-map-popup-item{display:block;padding:9px 0;border-top:1px solid #edf1f2;color:inherit;text-decoration:none}.public-map-popup-item span{display:block;color:#87979c;font-size:9px}.public-map-popup-item strong{display:block;margin-top:2px;color:#31525a;font-size:11px;line-height:1.35}.public-map-popup-item:hover strong{color:#087f7d}.public-map-popup-more{display:block;padding-top:7px;color:#829499}.union-map-note{display:flex;align-items:flex-start;gap:8px;padding:11px 15px;border-top:1px solid #e5eeee;background:#fbfdfd;color:#789096;font-size:10px;line-height:1.45}.union-map-note i{margin-top:1px;color:#0a8d8a}
.union-map-news-panel{position:sticky;top:92px;overflow:hidden}.union-map-news-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:17px 17px 13px;border-bottom:1px solid #e6eeee}.union-map-news-head span{display:block;color:#0a8d8a;font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.union-map-news-head h2{margin:3px 0 0;color:#294851;font-size:19px}.union-map-news-head>a{display:inline-flex;align-items:center;gap:5px;color:#087f7d;font-size:10px;font-weight:900;text-decoration:none;white-space:nowrap}.union-map-news-list{display:flex;flex-direction:column}.union-map-news-card{display:grid;grid-template-columns:92px minmax(0,1fr);gap:11px;padding:12px 14px;border-bottom:1px solid #edf2f3;color:inherit;text-decoration:none;transition:background .15s ease}.union-map-news-card:last-child{border-bottom:0}.union-map-news-card:hover{background:#f7fbfb}.union-map-news-thumb{display:grid;place-items:center;width:92px;height:74px;border-radius:12px;background:#edf3f4 center/cover no-repeat;color:#9badb2;font-size:22px;overflow:hidden}.union-map-news-thumb.has-image{background-image:var(--map-news-image)}.union-map-news-copy{min-width:0;display:flex;flex-direction:column;justify-content:center}.union-map-news-copy small{display:block;margin-bottom:4px;color:#0a8d8a;font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.union-map-news-copy strong{display:-webkit-box;overflow:hidden;color:#2d4a53;font-size:12px;line-height:1.35;-webkit-line-clamp:2;-webkit-box-orient:vertical}.union-map-news-copy time{margin-top:5px;color:#8b999e;font-size:9px}.union-map-news-empty{display:flex;align-items:center;justify-content:center;gap:8px;padding:26px;color:#84979c;text-align:center}.union-map-news-empty p{margin:0;font-size:12px}.union-map-news-empty i{font-size:19px}.union-public-footer>div{display:flex;gap:14px;flex-wrap:wrap}
@media(max-width:1100px){.union-map-layout{grid-template-columns:minmax(0,1fr) 320px}.union-map-canvas-wrap,.union-map-canvas{min-height:520px;height:520px}.union-map-news-card{grid-template-columns:76px minmax(0,1fr)}.union-map-news-thumb{width:76px;height:65px}.public-map-marker-card{grid-template-columns:56px minmax(0,1fr);width:210px;min-height:74px}.public-map-marker-photo{width:56px;height:56px}}
@media(max-width:850px){.union-map-page{padding:24px 16px 34px}.union-map-hero{align-items:flex-start;flex-direction:column}.union-map-live{width:100%;box-sizing:border-box;min-width:0}.union-map-layout{grid-template-columns:1fr}.union-map-news-panel{position:static}.union-map-canvas-wrap,.union-map-canvas{min-height:500px;height:500px}.union-map-news-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.union-map-news-card:nth-child(odd){border-right:1px solid #edf2f3}}
@media(max-width:600px){.union-map-region-svg{transform:perspective(900px) rotateX(9deg) rotateZ(-.6deg) scale(.98)}.union-map-page{padding:19px 10px 28px}.union-map-hero h1{font-size:27px}.union-map-hero p{font-size:12px}.union-map-toolbar{align-items:flex-start;flex-direction:column}.union-map-period-summary{text-align:left}.union-map-canvas-wrap,.union-map-canvas{min-height:410px;height:410px}.union-map-news-list{display:flex}.union-map-news-card:nth-child(odd){border-right:0}.public-map-marker-card{grid-template-columns:48px minmax(0,1fr);width:190px;min-height:66px;padding:7px}.public-map-marker-photo{width:48px;height:48px}.public-map-marker-copy strong{font-size:10px}.public-map-marker-copy em{font-size:8px}.union-map-note{font-size:9px}.union-map-legend{right:10px;left:10px;justify-content:center}.union-map-tooltip{display:none!important}}

/* Stage 72 — manual public news with region binding */
.union-news-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.union-news-admin-actions{display:flex;align-items:center;gap:8px}.union-news-admin-actions a{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 14px;border-radius:11px;border:1px solid #dce7e9;background:#fff;color:#4d626b;text-decoration:none;font-size:12px;font-weight:800}.union-news-admin-actions a.primary{border-color:#0fa9a6;background:#0fa9a6;color:#fff}.union-news-region{display:inline-flex;align-items:center;gap:5px;color:#647983}.manual-news-help{display:block;margin:6px 0;color:#7a8991;font-size:12px;font-weight:500;line-height:1.45}.manual-news-publish-switch{margin-top:18px}.manual-news-current-cover{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid #e2eaed;border-radius:12px;background:#f9fbfb}.manual-news-current-cover img{width:150px;height:92px;border-radius:10px;object-fit:cover}.manual-news-current-cover label{display:flex;align-items:center;gap:8px;margin:0!important;font-size:13px}.manual-news-current-cover input{width:auto!important;margin:0!important}.manual-news-manage-page{max-width:1480px;margin:0 auto}.manual-news-manage-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}.manual-news-manage-head>div:first-child>span{display:inline-flex;align-items:center;gap:7px;color:#0b9996;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.manual-news-manage-head h1{margin:7px 0 8px;font-size:30px;color:#173740}.manual-news-manage-head p{margin:0;max-width:780px;color:#71808c;line-height:1.55}.manual-news-head-actions{display:flex;gap:9px;flex-wrap:wrap}.manual-news-empty{background:#fff;border:1px solid #e3eaed;border-radius:16px;padding:38px;text-align:center}.manual-news-empty>i{font-size:34px;color:#0fa6a3}.manual-news-empty h2{margin:12px 0 7px}.manual-news-empty p{color:#71808c}.manual-news-manage-list{display:grid;gap:12px}.manual-news-manage-row{display:grid;grid-template-columns:164px minmax(0,1fr) auto;gap:18px;align-items:center;background:#fff;border:1px solid #e3eaed;border-radius:15px;padding:12px;box-shadow:0 3px 14px rgba(24,48,58,.04)}.manual-news-manage-cover{height:108px;border-radius:11px;background:#eef4f5;display:grid;place-items:center;color:#8fa0a7;font-size:28px;background-size:cover;background-position:center}.manual-news-manage-cover.has-cover{background-image:var(--manual-cover)}.manual-news-manage-main{min-width:0}.manual-news-manage-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#75858d;font-size:12px}.manual-news-manage-meta span{display:inline-flex;align-items:center;gap:5px}.manual-news-manage-meta .is-published,.manual-news-manage-meta .is-draft{padding:4px 8px;border-radius:999px;font-weight:800}.manual-news-manage-meta .is-published{background:#e9f8f1;color:#18704e}.manual-news-manage-meta .is-draft{background:#f0f2f3;color:#66757b}.manual-news-manage-main h2{margin:7px 0 6px;font-size:18px;color:#223d46}.manual-news-manage-main p{margin:0;color:#71808c;font-size:13px;line-height:1.5}.manual-news-manage-actions{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:132px}.manual-news-manage-actions a,.manual-news-manage-actions button{width:100%;display:flex;justify-content:center;align-items:center;gap:6px;border:1px solid #dce6e9;background:#fff;color:#52666f;border-radius:9px;padding:9px 11px;text-decoration:none;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.manual-news-manage-actions form{margin:0}.manual-news-manage-actions button{color:#a04444;border-color:#efd5d5}.manual-news-public-article{max-width:920px;margin:0 auto;padding:28px 20px 50px}.manual-news-public-back{display:inline-flex;align-items:center;gap:7px;color:#557079;text-decoration:none;font-size:13px;font-weight:750;margin-bottom:24px}.manual-news-public-head{text-align:left}.manual-news-public-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#607781;font-size:13px;margin-bottom:12px}.manual-news-public-meta span{display:inline-flex;align-items:center;gap:6px;color:#0b8e8b;font-weight:800}.manual-news-public-head h1{margin:0;color:#173740;font-size:42px;line-height:1.12}.manual-news-public-head>p{margin:18px 0 0;color:#5e737c;font-size:18px;line-height:1.65}.manual-news-public-cover{margin:28px 0 0}.manual-news-public-cover img{display:block;width:100%;max-height:560px;object-fit:cover;border-radius:18px}.manual-news-public-body{margin-top:30px;color:#314b55;font-size:17px;line-height:1.82}.manual-news-public-body p{margin:0 0 18px}.manual-news-public-footer{padding:20px 0 0;border-top:1px solid #e4ebee;margin-top:34px}.manual-news-public-footer a{display:inline-flex;align-items:center;gap:7px;color:#078d8a;text-decoration:none;font-weight:800}
@media(max-width:900px){.union-news-tools{width:100%;justify-content:space-between}.manual-news-manage-head{flex-direction:column}.manual-news-manage-row{grid-template-columns:120px minmax(0,1fr)}.manual-news-manage-actions{grid-column:1/-1;flex-direction:row;min-width:0}.manual-news-public-head h1{font-size:34px}}
@media(max-width:620px){.union-news-admin-actions{width:100%}.union-news-admin-actions a{flex:1;justify-content:center}.union-news-tools{display:grid;grid-template-columns:1fr}.manual-news-manage-row{grid-template-columns:1fr}.manual-news-manage-cover{height:180px}.manual-news-manage-actions{display:grid;grid-template-columns:1fr 1fr}.manual-news-current-cover{align-items:flex-start;flex-direction:column}.manual-news-current-cover img{width:100%;height:170px}.manual-news-public-article{padding:20px 16px 40px}.manual-news-public-head h1{font-size:29px}.manual-news-public-head>p{font-size:16px}.manual-news-public-body{font-size:16px}}

/* Stage 73 — compact map activity markers + manual news photo gallery */
.public-map-marker-card{grid-template-columns:36px minmax(0,1fr) 12px;gap:6px;width:148px;min-height:48px;padding:5px 6px;border-radius:11px;box-shadow:0 6px 16px rgba(33,69,78,.16)}
.public-map-marker-card:after{left:calc(var(--marker-tail-left,18px) - 6px);bottom:-6px;width:11px;height:11px}
.public-map-marker-photo{width:36px;height:36px;border-radius:8px}
.public-map-marker-photo i{font-size:15px}
.public-map-marker-copy{min-width:0;justify-content:center}
.public-map-marker-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:7.5px;line-height:1.15;letter-spacing:.025em}
.public-map-marker-copy strong{display:block;overflow:hidden;margin-top:2px;color:#25464e;font-size:9px;line-height:1.15;white-space:nowrap;text-overflow:ellipsis}
.public-map-marker-copy em{position:absolute;right:-13px;top:50%;margin:0;color:#6d858b;font-size:8px;transform:translateY(-50%)}
.public-map-marker-card:hover{transform:translateY(-1px)}
@keyframes unionMapFresh{50%{transform:translateY(-2px) scale(1.015);box-shadow:0 9px 21px rgba(19,143,137,.25)}}

.manual-news-gallery-editor{padding:14px;border:1px solid #e2eaed;border-radius:14px;background:#f9fbfb}
.manual-news-gallery-editor-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:11px}
.manual-news-gallery-editor-head strong{color:#294851;font-size:13px}
.manual-news-gallery-editor-head small{color:#7e9096;font-size:11px}
.manual-news-gallery-editor-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.manual-news-gallery-editor-item{display:block!important;margin:0!important;padding:0!important;border:1px solid #dfe9eb;border-radius:11px;background:#fff;overflow:hidden}
.manual-news-gallery-editor-item img{display:block;width:100%;height:105px;object-fit:cover}
.manual-news-gallery-editor-item span{display:flex;align-items:center;gap:6px;padding:7px 8px;color:#6e7f86;font-size:11px}
.manual-news-gallery-editor-item input{width:auto!important;margin:0!important}
.manual-news-public-gallery{margin-top:32px;padding-top:23px;border-top:1px solid #e4ebee}
.manual-news-public-gallery-head{display:flex;align-items:center;gap:9px;margin-bottom:14px;color:#294851}
.manual-news-public-gallery-head span{font-size:18px;font-weight:800}
.manual-news-public-gallery-head strong{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:24px;padding:0 7px;border-radius:999px;background:#e7f6f5;color:#087f7d;font-size:11px}
.manual-news-public-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.manual-news-public-gallery-grid a{display:block;overflow:hidden;border-radius:13px;background:#edf3f4;aspect-ratio:4/3}
.manual-news-public-gallery-grid img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s ease}
.manual-news-public-gallery-grid a:hover img{transform:scale(1.025)}

@media(max-width:1100px){.public-map-marker-card{grid-template-columns:34px minmax(0,1fr) 10px;width:140px;min-height:46px}.public-map-marker-photo{width:34px;height:34px}}
@media(max-width:700px){.manual-news-gallery-editor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.manual-news-public-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-map-marker-card{grid-template-columns:30px minmax(0,1fr) 9px;width:126px;min-height:41px;padding:4px 5px;border-radius:9px}.public-map-marker-photo{width:30px;height:30px;border-radius:7px}.public-map-marker-copy small{font-size:6.8px}.public-map-marker-copy strong{font-size:8px}.public-map-marker-copy em{right:-11px;font-size:7px}}
@media(max-width:430px){.manual-news-gallery-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-news-gallery-editor-head{align-items:flex-start;flex-direction:column;gap:3px}.public-map-marker-card{width:118px}}


/* Stage 74 — photo geolocation pins + public news lightbox */
.public-map-marker-card.public-map-photo-pin{display:flex;flex-direction:column;align-items:center;gap:2px;width:58px;min-height:58px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;text-align:center;transform:none}
.public-map-marker-card.public-map-photo-pin:after{display:none}.public-map-marker-card.public-map-photo-pin:hover{transform:translateY(-1px);box-shadow:none}
.public-map-marker-pin{position:relative;display:grid;place-items:center;width:39px;height:39px;border:2px solid #fff;border-radius:50% 50% 50% 0;background:#0a9692;box-shadow:0 4px 10px rgba(23,71,78,.26);transform:rotate(-45deg);transition:transform .16s ease,box-shadow .16s ease}
.public-map-marker-card:hover .public-map-marker-pin,.public-map-marker-card:focus .public-map-marker-pin{transform:rotate(-45deg) scale(1.08);box-shadow:0 6px 13px rgba(17,112,109,.31)}
.public-map-marker-photo{display:grid;place-items:center;width:29px!important;height:29px!important;border-radius:50%!important;overflow:hidden;background:#e7f2f2;color:#76979a;transform:rotate(45deg)}
.public-map-marker-photo img{display:block;width:100%;height:100%;object-fit:cover}.public-map-marker-photo i{font-size:12px!important}
.public-map-marker-count{position:absolute;right:-5px;top:-5px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:#0a8d8a;color:#fff;font-size:7px;font-weight:900;line-height:1;transform:rotate(45deg)}
.public-map-marker-region{display:block;max-width:72px;margin:0 0 1px;padding:1px 4px;border-radius:5px;background:rgba(255,255,255,.88);box-shadow:0 1px 4px rgba(31,67,76,.11);color:#36565e;font-size:7px;font-weight:900;line-height:1.05;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-transform:none;letter-spacing:0}
.public-map-marker-card.is-fresh .public-map-marker-pin{animation:unionMapPinFresh 1.05s ease-in-out 3}@keyframes unionMapPinFresh{50%{transform:rotate(-45deg) translate(2px,-2px) scale(1.12);box-shadow:0 0 0 6px rgba(18,164,159,.12),0 7px 15px rgba(15,122,118,.32)}}
.manual-news-public-cover-button{position:relative;display:block;width:100%;padding:0;border:0;border-radius:18px;background:transparent;cursor:zoom-in;overflow:hidden}.manual-news-public-cover-button>span{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(18,45,53,.72);color:#fff;font-size:16px;opacity:.86;transition:opacity .18s ease,transform .18s ease}.manual-news-public-cover-button:hover>span{opacity:1;transform:scale(1.04)}
.manual-news-public-gallery-grid button{display:block;width:100%;padding:0;border:0;border-radius:13px;background:#edf3f4;overflow:hidden;aspect-ratio:4/3;cursor:zoom-in}.manual-news-public-gallery-grid button:hover img{transform:scale(1.025)}
.manual-news-lightbox-open{overflow:hidden}.manual-news-lightbox{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:24px;background:rgba(5,20,25,.92);backdrop-filter:blur(6px)}.manual-news-lightbox[hidden]{display:none}.manual-news-lightbox-stage{position:relative;display:flex;align-items:center;justify-content:center;width:min(1180px,calc(100vw - 120px));height:min(86vh,820px)}.manual-news-lightbox-stage img{display:block;max-width:100%;max-height:100%;object-fit:contain;border-radius:8px;box-shadow:0 16px 55px rgba(0,0,0,.35)}
.manual-news-lightbox-close,.manual-news-lightbox-nav{position:absolute;z-index:2;display:grid;place-items:center;border:1px solid rgba(255,255,255,.22);background:rgba(15,36,42,.72);color:#fff;cursor:pointer;backdrop-filter:blur(5px)}.manual-news-lightbox-close{right:18px;top:18px;width:44px;height:44px;border-radius:50%;font-size:18px}.manual-news-lightbox-nav{top:50%;width:48px;height:58px;border-radius:14px;font-size:25px;transform:translateY(-50%)}.manual-news-lightbox-nav.prev{left:18px}.manual-news-lightbox-nav.next{right:18px}.manual-news-lightbox-close:hover,.manual-news-lightbox-nav:hover{background:rgba(8,126,122,.88)}.manual-news-lightbox-counter{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);padding:5px 10px;border-radius:999px;background:rgba(11,30,35,.72);color:#fff;font-size:11px;font-weight:800;letter-spacing:.04em}
@media(max-width:700px){.public-map-marker-card.public-map-photo-pin{width:50px;min-height:52px}.public-map-marker-pin{width:34px;height:34px}.public-map-marker-photo{width:25px!important;height:25px!important}.public-map-marker-region{max-width:60px;font-size:6.5px}.manual-news-lightbox{padding:10px}.manual-news-lightbox-stage{width:100%;height:84vh}.manual-news-lightbox-close{right:10px;top:10px;width:40px;height:40px}.manual-news-lightbox-nav{width:40px;height:50px;border-radius:12px;font-size:21px}.manual-news-lightbox-nav.prev{left:8px}.manual-news-lightbox-nav.next{right:8px}.manual-news-lightbox-counter{bottom:8px}}@media(max-width:430px){.public-map-marker-card.public-map-photo-pin{width:46px}.public-map-marker-pin{width:31px;height:31px}.public-map-marker-photo{width:23px!important;height:23px!important}.public-map-marker-region{max-width:54px;font-size:6px}}

/* Stage 75: region filter for the public-map news feed */
.union-map-news-filter{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px 9px;padding:10px 14px;border-bottom:1px solid #edf2f3;background:#fbfdfd}.union-map-news-filter>label{display:inline-flex;align-items:center;gap:5px;color:#526d75;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.union-map-news-filter>label i{color:#0a8d8a;font-size:11px}.union-map-news-filter-select{position:relative;min-width:0}.union-map-news-filter-select select{display:block;width:100%;min-width:0;appearance:none;-webkit-appearance:none;border:1px solid #d7e5e6;border-radius:10px;background:#fff;padding:8px 30px 8px 10px;color:#36565e;font:inherit;font-size:10px;font-weight:800;outline:none;cursor:pointer}.union-map-news-filter-select select:focus{border-color:#8fcfcb;box-shadow:0 0 0 3px rgba(10,141,138,.09)}.union-map-news-filter-select>i{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#779097;font-size:9px;pointer-events:none}.union-map-news-filter>small{grid-column:1/-1;color:#89999e;font-size:8.5px;line-height:1.25}
@media(max-width:850px){.union-map-news-filter{grid-template-columns:92px minmax(0,1fr)}}
@media(max-width:430px){.union-map-news-filter{grid-template-columns:1fr;gap:5px}.union-map-news-filter>small{grid-column:1}.union-map-news-filter-select select{font-size:11px}}

/* Stage 76: permanent organization structure */
.org-structure-page,.org-detail-page{display:grid;gap:22px}.org-structure-hero,.org-detail-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:26px;border:1px solid #dce7e8;border-radius:24px;background:#fff}.org-structure-hero h2,.org-detail-hero h2{margin:4px 0 8px;font-size:28px;color:#203d42}.org-structure-hero p,.org-detail-hero p{margin:0;color:#70868a;max-width:760px}.org-structure-status{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:9px 13px;border-radius:999px;background:#e9f8f5;color:#138d84;font-weight:700;font-size:13px}.org-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.org-kpi-grid article{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid #e0eaeb;border-radius:19px;background:#fff}.org-kpi-grid article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#edf8f7;color:#12968e;font-size:19px}.org-kpi-grid strong{display:block;font-size:25px;color:#26474c}.org-kpi-grid small{display:block;margin-top:2px;color:#789095}.org-republic-card{display:flex;align-items:center;gap:16px;padding:20px;border:1px solid #bfe2df;border-radius:21px;background:linear-gradient(135deg,#f3fbfa,#fff);text-decoration:none;color:#294a4e}.org-republic-icon{display:grid;place-items:center;flex:0 0 54px;height:54px;border-radius:17px;background:#1aa39a;color:#fff;font-size:23px}.org-republic-copy{display:grid;gap:3px;min-width:0;flex:1}.org-republic-copy small{color:#168e86;text-transform:uppercase;letter-spacing:.06em;font-weight:700;font-size:11px}.org-republic-copy strong{font-size:17px}.org-republic-copy em{font-style:normal;color:#789094;font-size:13px}.org-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-top:2px}.org-section-head h3{margin:4px 0 0;color:#29474c;font-size:22px}.org-section-count{display:grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border-radius:12px;background:#edf6f5;color:#147e78;font-weight:800}.org-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.org-card{display:grid;gap:13px;padding:19px;border:1px solid #dfe9ea;border-radius:20px;background:#fff;text-decoration:none;color:#2e4b50;transition:.18s ease}.org-card:hover{border-color:#91cec9;transform:translateY(-2px)}.org-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.org-card-icon{display:grid;place-items:center;width:41px;height:41px;border-radius:13px;background:#eef8f7;color:#149188;font-size:18px}.org-account-state{display:inline-flex;align-items:center;gap:6px;color:#5d777b;font-size:11px;font-weight:700}.org-account-state i{width:7px;height:7px;border-radius:50%;background:#24ad7c}.org-card h3{margin:0;font-size:16px;line-height:1.3;color:#29484d}.org-card p{margin:-6px 0 0;color:#85989b;font-size:13px}.org-card-meta{display:grid;gap:7px;padding:11px 0;border-top:1px solid #edf2f2;border-bottom:1px solid #edf2f2;color:#657e82;font-size:12px}.org-card-meta span{display:flex;align-items:center;gap:7px}.org-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#148b84;font-size:12px;font-weight:700}.org-card-foot code{overflow:hidden;text-overflow:ellipsis;color:#86999c;font-size:10px}.org-next-step{display:flex;gap:13px;padding:17px 19px;border-radius:18px;background:#f4f8f8;color:#587175}.org-next-step>span{color:#159188}.org-next-step strong{display:block;color:#315156}.org-next-step p{margin:4px 0 0;font-size:13px}.org-back-link{display:inline-flex;align-items:center;gap:8px;width:max-content;color:#178f88;text-decoration:none;font-weight:700}.org-detail-title{display:flex;align-items:flex-start;gap:16px}.org-detail-icon{display:grid;place-items:center;flex:0 0 56px;height:56px;border-radius:17px;background:#eaf7f6;color:#14948b;font-size:23px}.org-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.org-info-panel{padding:21px;border:1px solid #dfe9ea;border-radius:20px;background:#fff}.org-info-panel h3{margin:0 0 16px;color:#2c4c50}.org-info-panel dl{display:grid;gap:0;margin:0}.org-info-panel dl div{display:grid;grid-template-columns:180px 1fr;gap:16px;padding:11px 0;border-top:1px solid #edf2f2}.org-info-panel dt{color:#819598}.org-info-panel dd{margin:0;color:#304e53;font-weight:650}.org-panel-head{display:flex;align-items:center;justify-content:space-between}.org-panel-head span{display:grid;place-items:center;min-width:30px;height:30px;border-radius:10px;background:#eef7f6;color:#148c84;font-weight:800}.org-empty-role,.org-empty-children{display:grid;justify-items:center;text-align:center;gap:7px;padding:25px;color:#7b9094}.org-empty-role>i,.org-empty-children>i{font-size:28px;color:#45aaa3}.org-empty-role strong,.org-empty-children strong{color:#405d61}.org-empty-role p,.org-empty-children p{margin:0;max-width:520px;font-size:13px}.org-role-list{display:grid;gap:10px}.org-role-list>div{display:flex;align-items:center;gap:11px;padding:10px;border-radius:14px;background:#f6f9f9}.org-role-list>div>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e7f6f4;color:#148e86}.org-role-list strong,.org-role-list small{display:block}.org-role-list small{margin-top:2px;color:#819497}.org-children-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.org-children-list a{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #dfe9ea;border-radius:17px;background:#fff;color:#315055;text-decoration:none}.org-children-list a>span:nth-child(2){display:grid;gap:3px;min-width:0;flex:1}.org-children-list strong{overflow:hidden;text-overflow:ellipsis}.org-children-list small{color:#81969a}.org-child-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#edf7f6;color:#149087}.org-empty-children{border:1px dashed #cededf;border-radius:20px;background:#fbfcfc}.org-detail-page code{padding:3px 6px;border-radius:7px;background:#f0f4f4;color:#526f73}
@media(max-width:1100px){.org-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.org-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.org-structure-page,.org-detail-page{gap:16px}.org-structure-hero,.org-detail-hero{padding:18px;border-radius:20px;display:grid}.org-structure-hero h2,.org-detail-hero h2{font-size:23px}.org-structure-status{width:max-content}.org-kpi-grid{grid-template-columns:1fr 1fr;gap:9px}.org-kpi-grid article{padding:13px;gap:9px}.org-kpi-grid article>span{width:36px;height:36px}.org-kpi-grid strong{font-size:20px}.org-kpi-grid small{font-size:11px}.org-republic-card{padding:15px}.org-republic-icon{flex-basis:44px;height:44px}.org-republic-copy strong{font-size:14px}.org-republic-copy em{font-size:11px}.org-section-head h3{font-size:19px}.org-card-grid,.org-detail-grid,.org-children-list{grid-template-columns:1fr}.org-card{padding:16px}.org-detail-title{gap:11px}.org-detail-icon{flex-basis:45px;height:45px}.org-info-panel{padding:16px}.org-info-panel dl div{grid-template-columns:1fr;gap:4px}.org-next-step{padding:14px}}

/* Stage 78: device-persistent unread map markers */
.union-map-periods button i{margin-right:4px}.union-map-news-card.is-unread{background:linear-gradient(90deg,rgba(10,141,138,.055),#fff 38%)}.union-map-news-card.is-unread:hover{background:linear-gradient(90deg,rgba(10,141,138,.09),#f7fbfb 42%)}.union-map-news-new-badge{display:inline-flex;align-items:center;margin-left:6px;padding:2px 5px;border-radius:999px;background:#0a8d8a;color:#fff;font-size:7px;font-weight:900;line-height:1;text-transform:uppercase;letter-spacing:.03em;vertical-align:middle}.public-map-popup-item.is-unread strong{color:#087f7d}.public-map-popup-item.is-unread span{color:#5b8588;font-weight:800}
@media(max-width:430px){.union-map-periods button{padding:7px 9px}.union-map-periods button i{margin-right:2px}.union-map-news-new-badge{font-size:6.5px}}

/* Stage 83: primary trade-union organization workspace */
.primary-workspace-page{display:grid;gap:18px}.primary-hero,.primary-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px;border:1px solid #dfe9ea;border-radius:22px;background:#fff}.primary-hero h2,.primary-page-head h2{margin:4px 0 7px;color:#29494e;font-size:26px}.primary-hero p,.primary-page-head p{margin:0;color:#789094}.primary-main-action{display:inline-flex;align-items:center;gap:8px;padding:11px 15px;border-radius:12px;background:#149d95;color:#fff;text-decoration:none;font-weight:800;font-size:13px}.primary-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.primary-kpis article{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #e0eaeb;border-radius:17px;background:#fff}.primary-kpis article>i{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#edf8f7;color:#15968e;font-size:18px}.primary-kpis strong{display:block;font-size:22px;color:#294b50}.primary-kpis span{display:block;margin-top:2px;color:#789094;font-size:11px}.primary-kpis-compact{margin-top:-2px}.primary-module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.primary-module-grid>a,.primary-module-soon{display:grid;gap:6px;min-height:125px;padding:17px;border:1px solid #dfe9ea;border-radius:18px;background:#fff;color:#2d5055;text-decoration:none}.primary-module-grid>a:hover{border-color:#93ccc8;background:#fbfefe}.primary-module-grid i{font-size:21px;color:#15968e}.primary-module-grid strong{font-size:14px}.primary-module-grid span,.primary-module-soon em{color:#7f9498;font-size:11px;font-style:normal;line-height:1.4}.primary-module-soon{opacity:.58}.primary-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.primary-panel{padding:19px;border:1px solid #dfe9ea;border-radius:19px;background:#fff}.primary-panel h3{margin:0 0 13px;color:#2f5055}.primary-panel p{color:#6f878b;line-height:1.55}.primary-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:11px}.primary-panel-head h3{margin:3px 0 0}.primary-panel-head>a{color:#168f88;text-decoration:none;font-size:12px;font-weight:800}.primary-people-list{display:grid;gap:8px}.primary-people-list>div{display:flex;align-items:center;gap:10px;padding:9px;border-radius:13px;background:#f7faf9}.primary-people-list>div>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#e9f6f4;color:#15958e}.primary-people-list strong,.primary-people-list small{display:block}.primary-people-list small{margin-top:2px;color:#819598;font-size:11px}.primary-event-list{display:grid}.primary-event-list>a{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #edf2f2;color:#315156;text-decoration:none}.primary-event-list time{font-size:11px;color:#168d86;font-weight:800}.primary-event-list strong,.primary-event-list small{display:block}.primary-event-list small{margin-top:2px;color:#839699;font-size:10px}.primary-empty{margin:0;color:#829598;font-size:12px}.primary-members-table{display:grid}.primary-members-table>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #edf2f2}.primary-member-avatar{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#edf8f7;color:#15948c}.primary-members-table strong,.primary-members-table small{display:block}.primary-members-table small{margin-top:3px;color:#809598;font-size:11px}.primary-member-contact{display:grid;gap:2px;text-align:right;color:#698185;font-size:11px}.primary-status-chip{display:inline-flex;padding:5px 8px;border-radius:999px;background:#fff6df;color:#a77500;font-size:9px;font-weight:800}.primary-events-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.primary-events-grid>a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:15px;border:1px solid #dfe9ea;border-radius:17px;background:#fff;color:#315156;text-decoration:none}.primary-event-date{display:grid;place-items:center;width:50px;height:54px;border-radius:13px;background:#edf8f7;color:#158d86}.primary-event-date b{font-size:19px}.primary-event-date small{font-size:8px}.primary-events-grid em,.primary-events-grid strong,.primary-events-grid small{display:block}.primary-events-grid em{font-style:normal;color:#159188;font-size:9px;font-weight:900;text-transform:uppercase}.primary-events-grid strong{margin-top:3px}.primary-events-grid small{margin-top:4px;color:#819497;font-size:10px}.primary-form{display:grid;gap:13px}.primary-form label{display:grid;gap:6px;color:#49666b;font-size:12px;font-weight:700}.primary-form input,.primary-form select,.primary-form textarea,.primary-inline-upload input,.primary-inline-upload select{width:100%;min-width:0;border:1px solid #d8e4e5;border-radius:10px;background:#fff;padding:10px 11px;color:#2d4b50}.primary-form textarea{resize:vertical}.primary-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.primary-form-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px}.primary-form-actions a{color:#6d8589;text-decoration:none}.primary-form button,.primary-inline-upload button{border:0;border-radius:10px;background:#149d95;color:#fff;padding:10px 14px;font-weight:800;cursor:pointer}.primary-inline-upload{display:grid;grid-template-columns:170px minmax(0,1fr) auto;gap:9px;margin-top:13px}.primary-document-list{display:grid}.primary-document-list>div,.primary-document-list>a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #edf2f2;color:#315156;text-decoration:none}.primary-document-list>div>i,.primary-document-list>a>i:first-child{font-size:20px;color:#15958e}.primary-document-list strong,.primary-document-list small{display:block}.primary-document-list small{margin-top:3px;color:#819598;font-size:10px}.primary-doc-tabs{display:flex;flex-wrap:wrap;gap:8px}.primary-doc-tabs a{padding:8px 11px;border:1px solid #dce7e8;border-radius:999px;background:#fff;color:#587277;text-decoration:none;font-size:11px;font-weight:800}.primary-doc-tabs a.active{background:#e9f7f5;color:#138b84;border-color:#bcdedb}.primary-org-entry{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px;border:1px solid #bfe0dd;border-radius:19px;background:linear-gradient(135deg,#f0faf8,#fff)}.primary-org-entry h3{margin:4px 0 5px;color:#294b50}.primary-org-entry p{margin:0;color:#71888c;max-width:780px;font-size:12px;line-height:1.45}.primary-org-entry>a{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:10px 13px;border-radius:11px;background:#149d95;color:#fff;text-decoration:none;font-weight:800;font-size:11px}.primary-module-grid-card{grid-template-columns:repeat(4,minmax(0,1fr))}.primary-workspace-bar .council-workspace-symbol{background:#e8f7f5;color:#148f87}
@media(max-width:1000px){.primary-module-grid,.primary-module-grid-card{grid-template-columns:repeat(2,minmax(0,1fr))}.primary-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.primary-events-grid{grid-template-columns:1fr}}
@media(max-width:720px){.primary-workspace-page{gap:14px}.primary-hero,.primary-page-head{display:grid;padding:16px}.primary-hero h2,.primary-page-head h2{font-size:22px}.primary-main-action{width:max-content}.primary-kpis{gap:8px}.primary-kpis article{padding:12px}.primary-kpis article>i{width:34px;height:34px}.primary-kpis strong{font-size:19px}.primary-two-columns{grid-template-columns:1fr}.primary-module-grid,.primary-module-grid-card{grid-template-columns:1fr 1fr;gap:8px}.primary-module-grid>a,.primary-module-soon{min-height:105px;padding:13px}.primary-members-table>div{grid-template-columns:auto minmax(0,1fr)}.primary-member-contact,.primary-status-chip{grid-column:2}.primary-member-contact{text-align:left}.primary-form-grid{grid-template-columns:1fr}.primary-inline-upload{grid-template-columns:1fr}.primary-org-entry{display:grid;padding:15px}.primary-org-entry>a{width:max-content}}
/* Stage 84 — primary organization workspace */
.primary-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.primary-choice-grid label{position:relative}.primary-choice-grid input{position:absolute;opacity:0}.primary-choice-grid label>span{display:block;border:1px solid #e4e8ee;border-radius:16px;padding:18px;background:#fff;cursor:pointer}.primary-choice-grid input:checked+span{border-color:#14a6a3;box-shadow:0 0 0 2px rgba(20,166,163,.08)}.primary-choice-grid i{font-size:22px;color:#14a6a3;margin-right:8px}.primary-choice-grid strong,.primary-choice-grid small{display:block}.primary-choice-grid small{color:#667085;margin-top:6px}.primary-mini-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.primary-mini-stats span{padding:14px;border-radius:14px;background:#f6f8fa;color:#667085}.primary-mini-stats b{display:block;font-size:24px;color:#182230}.primary-invitation{display:flex;justify-content:space-between;gap:18px;align-items:center}.primary-invitation form{display:flex;gap:10px}.primary-invitation button.success{background:#168f72}.primary-invitation button.secondary{background:#eef1f4;color:#344054}.primary-qr-grid{display:grid;grid-template-columns:260px 1fr;gap:24px;align-items:center}.primary-story-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:18px}.primary-story-grid>article{border:1px solid #e6eaf0;border-radius:16px;padding:14px}.primary-story-grid a{display:grid;gap:6px;text-decoration:none;color:inherit}.primary-story-grid form{display:flex;gap:6px;margin-top:10px}.primary-story-grid button{font-size:12px;padding:7px 10px}.primary-member-row{position:relative}.primary-member-edit{margin-left:auto}.primary-member-edit summary{cursor:pointer;list-style:none}.primary-member-edit[open]{position:relative}.primary-member-edit form:first-of-type{position:absolute;right:0;top:30px;z-index:20;width:min(420px,85vw);background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:14px;display:grid;gap:8px;box-shadow:0 16px 44px rgba(16,24,40,.14)}.primary-member-edit form:last-of-type{position:absolute;right:10px;top:300px;z-index:21}.primary-member-edit .danger{background:#fff0f0;color:#b42318}.primary-workspace-nav{overflow-x:auto;scrollbar-width:thin}.primary-workspace-nav a{white-space:nowrap}@media(max-width:800px){.primary-choice-grid,.primary-qr-grid{grid-template-columns:1fr}.primary-invitation{align-items:flex-start;flex-direction:column}.primary-invitation form{width:100%}.primary-invitation form button{flex:1}}

/* Stage 86: member cards and primary-member scoped workspace */
.primary-member-name-link{color:inherit;text-decoration:none}.primary-member-name-link:hover{text-decoration:underline}.primary-member-profile-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:18px;margin-bottom:18px}.primary-member-identity{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start}.primary-member-card-avatar{width:76px;height:76px;border-radius:24px;display:grid;place-items:center;background:var(--surface-soft,#f3f6f8);font-size:2rem}.primary-member-identity h3{margin:10px 0 4px}.primary-member-identity p{margin:4px 0}.primary-member-card-contacts{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px 18px;padding-top:14px;border-top:1px solid rgba(0,0,0,.08)}.primary-member-card-contacts a,.primary-member-card-contacts span{display:inline-flex;gap:7px;align-items:center;color:inherit;text-decoration:none}.primary-member-stat-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.primary-member-stat-cards .primary-panel{display:flex;min-height:110px;flex-direction:column;justify-content:center}.primary-member-stat-cards strong{font-size:1.7rem}.primary-member-stat-cards span{font-size:.86rem;opacity:.72}.primary-activity-list{display:flex;flex-direction:column;gap:8px}.primary-activity-row,.primary-event-mini{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid rgba(0,0,0,.07);color:inherit;text-decoration:none}.primary-activity-row:last-child,.primary-event-mini:last-child{border-bottom:0}.primary-activity-row div,.primary-event-mini div{display:flex;min-width:0;flex-direction:column;gap:3px}.primary-activity-row small,.primary-event-mini small{opacity:.65}.primary-activity-row>span{font-weight:800}.primary-activity-row>span.positive{color:#13854e}.primary-activity-row>span.negative{color:#b23a3a}.primary-muted{opacity:.72}.primary-secondary-action{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:inherit}
@media(max-width:900px){.primary-member-profile-grid{grid-template-columns:1fr}.primary-member-history-grid{grid-template-columns:1fr!important}}@media(max-width:560px){.primary-member-identity{grid-template-columns:58px 1fr}.primary-member-card-avatar{width:58px;height:58px;border-radius:18px}.primary-member-stat-cards{grid-template-columns:1fr 1fr}.primary-member-card-contacts{flex-direction:column}.primary-event-mini{align-items:flex-start;flex-direction:column}}
/* Stage 87: временное делегирование полномочий через задачи */
.delegated-access{display:inline-flex;align-items:center;gap:.35rem;padding:.3rem .55rem;border-radius:999px;background:rgba(100,116,139,.12);font-size:.82rem}.delegated-access.active{background:rgba(22,163,74,.12);font-weight:700}.task-meta{display:flex;flex-wrap:wrap;gap:.65rem 1rem;align-items:center}.task-actions{display:flex;align-items:center;gap:.5rem}.task-actions select{min-width:140px}
/* Stage 88: sport event modules */
.sport-results-table{display:grid;gap:8px;margin:16px 0}.sport-result-row{display:grid;grid-template-columns:1.1fr 1.5fr 1fr .55fr 42px;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--border,#e5e7eb);border-radius:12px}.sport-result-row.header{font-weight:700;background:rgba(0,0,0,.03)}.sport-result-row small{display:block;margin-top:4px;color:var(--muted,#6b7280)}.sport-inline-form{margin-top:18px;padding-top:18px;border-top:1px solid var(--border,#e5e7eb)}@media(max-width:800px){.sport-result-row,.sport-result-row.header{grid-template-columns:1fr}.sport-result-row.header{display:none}}

/* Stage 89: external event participants */
.external-participant-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:16px}.external-participant-form button{align-self:end}.primary-row-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.primary-row-actions form{margin:0}.public-event-page .event-rsvp-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.public-event-page .event-qr-code{max-width:280px;margin:18px auto}.public-event-page .event-qr-code svg{width:100%;height:auto}

/* Stage 91 — discipline-specific sports scoring */
.checkers-tournament-card{margin:18px 0;padding:18px;border:1px solid var(--border,#dfe5eb);border-radius:16px;background:var(--surface,#fff)}
.checkers-tournament-card h3,.checkers-tournament-card h4{margin:0 0 8px}.checkers-tournament-card .panel-heading{margin-bottom:14px}
.checkers-matches{margin-top:16px}.inline-result-form{margin:0}.inline-result-form select{min-width:120px}
.checkers-standings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
.simple-standings{width:100%;border-collapse:collapse}.simple-standings th,.simple-standings td{padding:9px 10px;border-bottom:1px solid var(--border,#e4e8ed);text-align:left}.simple-standings th{font-size:12px;text-transform:uppercase;opacity:.7}
@media(max-width:800px){.checkers-standings-grid{grid-template-columns:1fr}.checkers-matches .sport-result-row{grid-template-columns:1fr}.checkers-matches .sport-result-row.header{display:none}}
.award-actions-inline{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.award-actions-inline .small{white-space:nowrap}

/* Stage 100 — центр наград спортивного мероприятия */
.award-center-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.award-center-card{border:1px solid #dfe8e9;border-radius:16px;padding:16px;background:#fff}.award-center-card h3{margin:0 0 6px;display:flex;gap:8px;align-items:center}.award-recipient-picker{max-height:330px;overflow:auto;border:1px solid #e0e8ea;border-radius:12px;padding:8px;margin:10px 0 14px}.award-person,.award-select-all{display:flex;gap:10px;align-items:center;padding:9px 8px;border-radius:9px;cursor:pointer}.award-person:hover,.award-select-all:hover{background:#f2f8f8}.award-person input,.award-select-all input{width:18px;height:18px;flex:0 0 auto}.award-person span{display:flex;flex-direction:column;min-width:0}.award-person small{color:#758389;margin-top:2px}.award-select-all{font-weight:700;border-bottom:1px solid #e7eeee;margin-bottom:4px}.award-legacy{margin-top:18px}.award-legacy summary{cursor:pointer;font-weight:700;color:#53656b}

/* Stage 102 — deterministic award recipient picker */
.award-selection-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 8px}.award-selection-summary strong{margin-right:auto}.award-select-all-btn,.award-clear-btn{border:1px solid #d4e1e3;background:#f8fbfb;border-radius:9px;padding:7px 10px;font:inherit;cursor:pointer}.award-person-button{width:100%;border:0;background:transparent;text-align:left;font:inherit}.award-person-button.is-selected{background:#e8f7f5;box-shadow:inset 0 0 0 2px #149b91}.award-person-check{width:22px;height:22px;border:2px solid #9fb1b5;border-radius:6px;display:grid!important;place-items:center;flex:0 0 22px;color:transparent}.award-person-button.is-selected .award-person-check{background:#149b91;border-color:#149b91;color:#fff}.award-selected-values{display:none}
.award-saved-archive{margin-top:22px;padding-top:18px;border-top:1px solid rgba(12,102,106,.14)}
.award-saved-archive .document-row{gap:12px;align-items:center}
.public-award-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid rgba(12,102,106,.14);border-radius:14px;background:#fff}.public-award-row>i{font-size:24px;color:#b88a25}.public-award-row span{min-width:0}.public-award-row strong,.public-award-row small{display:block}.public-award-row small{margin-top:3px;color:#68747a}.public-award-row>a{font-weight:700;text-decoration:none;color:#0d666a}.public-award-row .public-award-download{background:#0d666a;color:#fff;padding:8px 11px;border-radius:10px}@media(max-width:620px){.public-award-row{grid-template-columns:auto minmax(0,1fr) auto}.public-award-row .public-award-download{grid-column:2/4;justify-self:start}.public-award-row>a:not(.public-award-download){font-size:13px}}

/* Stage 104: guest team self-registration */
.sport-guest-link-box{margin:14px 0;padding:14px;border:1px solid rgba(37,99,235,.18);border-radius:14px;background:rgba(37,99,235,.045)}
.sport-guest-link-box>div:first-child strong{display:block;margin-bottom:4px}.guest-link-row{display:flex;gap:8px;align-items:center;margin-top:10px}.guest-link-row input{min-width:0;flex:1}.guest-link-actions{margin-top:8px}.guest-register-card,.guest-profile-card{max-width:760px;margin:24px auto}.guest-team-badge{display:inline-flex;gap:8px;align-items:center;padding:9px 12px;border-radius:999px;background:rgba(37,99,235,.08);margin:8px 0 18px}.guest-register-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:18px 0}.guest-register-summary>div{padding:12px;border:1px solid rgba(15,23,42,.09);border-radius:12px}.guest-register-summary small{display:block;color:#64748b;margin-bottom:4px}.guest-register-summary strong{display:block}.guest-register-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.guest-register-form{margin-top:18px}.guest-register-form label{display:block;margin-bottom:12px}
@media(max-width:640px){.guest-link-row{flex-direction:column;align-items:stretch}.guest-link-row .secondary-action{justify-content:center}.guest-register-actions{flex-direction:column}.guest-register-actions a{justify-content:center}.guest-register-card,.guest-profile-card{margin:12px auto}}

/* Stage 108: быстрая ручная регистрация прямо в команду */
.sport-team-manual-register{margin:18px 0;padding:16px;border:1px solid rgba(15,118,110,.18);border-radius:18px;background:rgba(15,118,110,.045)}
.sport-team-manual-register h4{margin:0 0 4px}.manual-register-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:12px}.manual-register-card{margin:0;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:15px;padding:14px}.manual-register-card>strong{font-size:1.05rem}.manual-register-card label{margin-top:10px}
@media(max-width:760px){.manual-register-grid{grid-template-columns:1fr}.manual-register-card .primary-action{width:100%}}

/* Stage 109 — mobile-safe team manual registration */
.sport-team-card,
.sport-team-manual-register,
.manual-register-grid,
.manual-register-card,
.guest-link-row,
.guest-link-actions{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.manual-register-card{display:block;overflow:hidden}
.manual-register-card label{display:block;min-width:0;width:100%;box-sizing:border-box}
.manual-register-card input,
.manual-register-card select,
.manual-register-card textarea,
.guest-link-row input{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
.manual-register-card .primary-action,
.guest-link-row .secondary-action{
  max-width:100%;
  box-sizing:border-box;
  white-space:normal;
  text-align:center;
}
@media(max-width:760px){
  .sport-team-card{padding:14px 12px}
  .sport-team-manual-register{margin-top:16px}
  .manual-register-grid{display:flex;flex-direction:column;gap:12px;width:100%}
  .manual-register-card{width:100%;padding:12px}
  .manual-register-card label{margin-top:10px}
  .manual-register-card input,
  .manual-register-card select{font-size:16px;padding:11px 12px}
  .manual-register-card .primary-action{display:flex;width:100%;justify-content:center;align-items:center;gap:7px;margin-top:12px;line-height:1.25}
  .guest-link-row{display:flex;flex-direction:column;align-items:stretch;width:100%}
  .guest-link-row .secondary-action{width:100%;justify-content:center}
  .guest-link-actions .text-button{max-width:100%;white-space:normal}
}
@media(max-width:420px){
  .workspace-card{padding:14px}
  .sport-team-card{padding:12px 10px}
  .manual-register-card{padding:11px 10px}
  .manual-register-card .primary-action{font-size:14px;padding:10px}
}


/* Stage 110 — hard mobile containment for manual team registration */
@media (max-width: 760px){
  #sport_teams .sport-team-card,
  #sport_teams .sport-team-manual-register,
  #sport_teams .manual-register-grid,
  #sport_teams .manual-register-card{width:100%!important;max-width:100%!important;min-width:0!important;}
  #sport_teams .manual-register-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;}
  #sport_teams .manual-register-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;overflow:hidden!important;}
  #sport_teams .manual-register-card>strong{display:block!important;width:100%!important;}
  #sport_teams .manual-register-card label{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;}
  #sport_teams .manual-register-card input,
  #sport_teams .manual-register-card select,
  #sport_teams .manual-register-card textarea{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;}
  #sport_teams .manual-register-card .primary-action{display:flex!important;width:100%!important;max-width:100%!important;min-width:0!important;justify-content:center!important;white-space:normal!important;}
  #sport_teams .guest-link-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;}
  #sport_teams .guest-link-row input,
  #sport_teams .guest-link-row button{width:100%!important;max-width:100%!important;min-width:0!important;}
}
