/* Compact rail with a single centreline and native content to its right. */
body:has(#app.liga111:not(.hidden)){background:#eeedeb}
#app.liga111{--rail111:clamp(188px,16vw,250px);margin:0 0 0 var(--rail111)!important;width:calc(100% - var(--rail111))!important;max-width:none!important;padding:0!important;min-height:100vh}
body.compact111 #app.liga111{--rail111:68px}
#ligaRail111{position:fixed;inset:0 auto 0 0;width:var(--rail111);box-sizing:border-box;background:#efedeb;border-right:1px solid #d9d4d0;z-index:35;display:flex;flex-direction:column;gap:4px;overflow:auto;padding:14px 9px;scrollbar-width:thin}
.brand111{height:48px;display:flex;align-items:center;gap:8px;padding-inline:6px;font:750 21px/1 system-ui}.brand111 img{width:min(73px,90%);height:auto}
#ligaRail111 button,.railChat111 button,.tools111 button{appearance:none;border:0;background:transparent;color:#25211f;cursor:pointer}
#ligaRail111>button{display:grid;grid-template-columns:26px 1fr;align-items:center;gap:10px;text-align:left;min-height:42px;padding:7px 10px;font:500 15px/1.2 system-ui;border-radius:9px}
#ligaRail111>button:hover,#ligaRail111 .sub111 button:hover,.railChat111 button:hover,.tools111 button:hover{background:#e9e4e1}
#ligaRail111>button.current,.railChat111 button[aria-pressed=true]{color:#9b1425;background:#f4e1e2;font-weight:650}
#ligaRail111 .icon,.railChat111 .icon,.tools111 .icon,#ligaDashboard .icon,#ligaDialog111 .icon{width:20px;height:20px;display:inline-block;flex:none}
#ligaRail111>button>.icon{justify-self:center}
.sub111{padding:3px 0 6px 23px}.sub111>div{display:flex}.sub111 button{padding:8px;text-align:left;flex:1;white-space:normal;border-radius:8px}.sub111 .more111{flex:0 0 30px;padding-inline:4px}.sub111 .more111 span{display:none}.space111{flex:1;min-height:24px}
.compact111 #ligaRail111>button{display:grid;grid-template-columns:1fr;padding:9px}.compact111 #ligaRail111>button span,.compact111 .brand111 b{display:none}
.compact111 #ligaRail111 .sub111{position:fixed;left:68px;top:12vh;width:220px;background:#fff;box-shadow:0 8px 30px #33251b2b;border-radius:12px;padding:10px;max-height:76vh;overflow:auto}
#app.liga111>.topbar{position:sticky!important;inset:0 0 auto!important;width:100%!important;margin:0!important;background:#efedeb!important;border:0!important;border-bottom:1px solid #d8d3ce!important;padding:8px clamp(12px,2vw,32px)!important;min-height:60px;box-shadow:none!important;z-index:25}
#app.liga111>.topbar>.brand,#app.liga111>.topbar>#homeButton,#app.liga111>.topbar>#ratingBadge{display:none!important}
#app.liga111>.topbar .meeting-top-button,#app.liga111>.topbar .chat-top-button{display:inline-flex!important;width:auto!important;align-items:center;gap:7px;padding:7px 10px!important;min-width:36px}.meetingLabel111{font-size:14px;font-weight:600}
#app.liga111 #portal:not(.hidden){display:block!important;max-width:1700px!important;margin:0 auto!important;padding:12px clamp(12px,1.6vw,27px) 32px!important}
#app.liga111 #portal:has(#ligaDashboard) #weeklyMotivation,#app.liga111 #portal:has(#ligaDashboard) #home107Overview,#app.liga111 #portal>.portal-section:has(#directionGrid),#app.liga111 #portal>#managementSettingsSection{display:none!important}
#ligaDashboard{min-width:0;margin-bottom:16px}
#ligaDashboard .v2-card h2{margin:0 0 15px}.v2-task-row{border-bottom:1px solid #e0dbd7}.v2-task-row:last-child{border:0}
#ligaDashboard .v2-progress-card{padding:0;margin-bottom:16px}#ligaDashboard progress{display:block;width:100%;height:9px;margin-top:9px;accent-color:#9b1425;border:0;border-radius:20px;overflow:hidden}#ligaDashboard progress::-webkit-progress-bar{background:#e6e1de}#ligaDashboard progress::-webkit-progress-value{background:#9b1425;border-radius:20px}
#ligaDashboard #ligaTools>.portal-section{margin:0!important;background:#fff;border:0;border-radius:19px;padding:18px;min-width:0}
#ligaDashboard .v2-text-button{border:0;background:transparent;cursor:pointer}#ligaDashboard .v2-text-button .icon{vertical-align:middle}
#ligaDialog111{box-sizing:border-box;max-width:min(94vw,580px);max-height:90dvh;width:490px;border:1px solid #e1dbd6;border-radius:18px;padding:0;box-shadow:0 15px 65px #22151933;color:#231f1e;overflow:auto}
#ligaDialog111::backdrop{background:#231c1b55}#ligaDialog111>header{position:sticky;top:0;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 19px;border-bottom:1px solid #e6e2df;z-index:1;font-size:19px}
#ligaDialog111>header button{border:0;background:transparent;font-size:23px;cursor:pointer}#ligaDialog111>section{padding:16px 20px}
#ligaDialog111 label{display:block;margin:10px 0}#ligaDialog111 select{display:block;width:100%;padding:8px;margin-top:5px}
#ligaDialog111.cats111 section{display:grid;grid-template-columns:1fr 1fr;gap:9px}#ligaDialog111 figure{margin:0;padding:10px;background:#f3f0ed;border-radius:12px;text-align:center}#ligaDialog111 figure img{width:100%;height:130px;object-fit:contain}
.chatPage111 #app.liga111{width:100%!important;margin:0!important}.chatPage111 #app>.topbar,.chatPage111 #ligaRail111,.chatPage111 #app>#portal{display:none!important}
body.chatPage111 #modalWrap:has(>#modal.chat-modal){inset:0!important;top:0!important;height:100dvh!important}
body.chatPage111 #modal.chat-modal{inset:0!important;height:100dvh!important;max-height:none!important;display:flex!important;flex-direction:column!important}
body.chatPage111 #modal.chat-modal>.modal-head,body.chatPage111 #modal.chat-modal .chat-mobile-close-v53,body.chatPage111 #modal.chat-modal .chat-mobile-list-head{display:none!important}
body.chatPage111 #modal.chat-modal>.modal-body{height:100%!important;flex:1!important;padding:0!important;overflow:hidden!important}
body.chatPage111 #modal.chat-modal .chat-shell{grid-template-columns:68px minmax(220px,26%) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important}
.railChat111{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:6px;padding:12px 4px;background:#eeedeb;border-right:1px solid #ded9d5}.railChat111 button{border-radius:9px;min-height:45px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;font:500 10px/1.1 system-ui}.railChat111 [data-section=settings]{margin-top:auto}
body.chatPage111 .chat-shell>.chat-sidebar{grid-column:2;grid-row:1}.chatPage111 .chat-shell>.chat-main{grid-column:3;grid-row:1}
body.chatPage111 #modal.chat-modal .chat-sidebar-search{padding:10px!important}
body.chatPage111 #modal.chat-modal .task-chat-tabs96,body.chatPage111 #modal.chat-modal:not(.folders111) .chat-folder-nav-v59,body.chatPage111 #modal.chat-modal .chat-create-button-v16,body.chatPage111 #modal.chat-modal .chat-group-create-button-v14,body.chatPage111 #modal.chat-modal .chat-conversation-actions>button{display:none!important}
body.chatPage111 #modal.chat-modal .chat-conversation-head{padding:8px 12px!important;min-height:54px!important;background:#fff!important;border-bottom:1px solid #ded9d5!important}
body.chatPage111 #modal.chat-modal #chatList{background:linear-gradient(150deg,#f3edeb,#e6dadd)!important}
body.chatPage111 #modal.chat-modal #chatList .chat-message{background:#fff!important;border:1px solid #e3d9d8!important;border-radius:14px!important}
body.chatPage111 #modal.chat-modal #chatList .mine .chat-message{background:#f6dfe3!important}
body.chatPage111 #modal.chat-modal .chat-compose{background:#fff!important;border-top:1px solid #d8c7cb!important}
.tools111{display:flex;align-items:center;gap:2px;flex-wrap:wrap}.tools111 button{font-size:12px;padding:6px;border-radius:7px}.tools111 .info111 span,.tools111 .mobileBack111{display:none}.tools111[hidden]{display:none}
.ctHero111{text-align:center}.ctAvatar111{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:100%;overflow:hidden;background:#ede2df;font-size:24px}.ctAvatar111 img{width:100%;height:100%;object-fit:cover}
.ctHero111 h2{margin:8px 0 4px}.ctHero111 p{color:#655e5a;margin:0 0 14px}.ctActions111,.ctTabs111{display:flex;flex-wrap:wrap;gap:5px}.ctActions111 button,.ctMore111 button,.ctItems111 button,.ctTabs111 button,.blocked111 button{border:0;border-radius:8px;background:#f4efed;padding:9px;cursor:pointer;display:inline-flex;align-items:center;gap:5px}
.ctMore111:not([hidden]),.ctItems111{display:grid;gap:5px;margin:9px 0}.ctTabs111{margin:12px 0}.ctTabs111 button{color:#921c2d}
@media(max-width:900px){#ligaDashboard .v2-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:730px){#app.liga111{--rail111:53px}.compact111 #app.liga111{--rail111:53px}#ligaRail111{padding:8px 3px}#ligaRail111>button{grid-template-columns:1fr;padding:8px 0}#ligaRail111>button span,.brand111 b{display:none}#ligaRail111 .sub111,.compact111 #ligaRail111 .sub111{position:fixed;left:53px;top:10vh;max-height:75vh;overflow:auto;background:#fff;width:210px;padding:10px;box-shadow:0 4px 20px #261d1922}.brand111{padding:0;justify-content:center}.meetingLabel111{display:none}#app.liga111>.topbar{padding:4px!important}.tools111 .mobileBack111{display:inline-flex}.tools111 .mobileBack111 span{display:none}}
@media(max-width:760px){body.chatPage111 #modal.chat-modal .chat-shell{grid-template-columns:53px minmax(0,1fr)!important}.chatPage111 .chat-shell>.chat-main{grid-column:2}.chatPage111 .chat-shell.chat-mobile-conversation .railChat111{display:none}body.chatPage111 #modal.chat-modal .chat-shell.chat-mobile-conversation{grid-template-columns:minmax(0,1fr)!important}.chatPage111 .chat-shell.chat-mobile-conversation>.chat-main{grid-column:1}.tools111{gap:0}.tools111 button{font-size:11px;padding:4px}}
.reopen111{margin:30px;border:0;border-radius:12px;padding:12px 20px;background:white;cursor:pointer;display:inline-flex;align-items:center;gap:10px}.reopen111 svg{width:21px;height:21px}
#app.liga111 #portal>.portal-section:not(.display111):is(:has(#fileCollectionsGrid),:has(#personalSavesGrid)){display:none!important}
#app.liga111[data-board-admin=false] :is([data-action=board-add],[data-action=board-edit],[data-action=board-rename]){display:none!important}
