:root{color:#17211b;background:#eef3ee;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px}*{box-sizing:border-box}body{margin:0;font-size:.95rem;line-height:1.42}body.drawer-open{overflow:hidden}button,input,textarea,select{font:inherit}button{border:0;border-radius:7px;background:#1f7a4d;color:#fff;padding:.58rem .82rem;cursor:pointer;font-weight:700;font-size:.92rem;line-height:1.15}button:disabled{opacity:.55;cursor:not-allowed}button.secondary{background:#dbe7df;color:#173b27}button.tiny{padding:.22rem .45rem;font-size:.76rem;background:#9f3a38}input,textarea,select{width:100%;border:1px solid #c7d6cd;border-radius:7px;padding:.58rem .7rem;background:#fff;color:#17211b;font-size:.92rem}textarea{min-height:74px;resize:vertical}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.5rem,3vw,2.2rem)}h2{font-size:1.28rem}h3{font-size:1.05rem}h4{font-size:.98rem}.topbar{background:#123321;color:#fff;padding:1.2rem max(1rem,calc((100vw - 1180px)/2))}.topbar h1{margin-bottom:.2rem;font-size:clamp(1.6rem,3vw,2.4rem)}.topbar p{margin-bottom:0;color:#d6e6da}.app-shell{width:min(1180px,calc(100% - 1.6rem));margin:.75rem auto 2.4rem}.panel{background:#fff;border:1px solid #d9e4dd;border-radius:8px;padding:.78rem;box-shadow:0 6px 18px #162c1f0f;margin-bottom:.75rem}.nick-panel,.section-head,.inline-form,.button-row,.plan-title{display:flex;gap:.62rem;align-items:center;justify-content:space-between}.nick-panel>div{min-width:220px}.language-panel{display:flex;gap:.8rem;align-items:center;justify-content:space-between;flex-wrap:wrap}.language-panel label{font-weight:700}.language-panel select{width:auto;min-width:150px}.translation-provider{color:#64766c;font-size:.78rem}.translation-controls{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:.35rem 0 .55rem;color:#64766c;font-size:.88rem}.translation-controls button{padding:.32rem .55rem;font-size:.82rem}.alert-inline{color:#9f3a38;font-weight:700}.inline-link{width:auto;padding:0;background:transparent;color:inherit;font-size:inherit;font-weight:800}.owner-tools-toggle{display:grid;gap:.3rem;margin-bottom:.7rem}.inline-form{align-items:stretch}.layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:1rem}.chat-panel{min-height:560px;display:flex;flex-direction:column}.messages{height:auto;max-height:460px;min-height:300px;overflow:auto;border:1px solid #e0e9e4;border-radius:8px;padding:.58rem;background:#f8fbf9}.message{max-width:82%;margin:0 0 .55rem;padding:.55rem .65rem;background:#fff;border:1px solid #d9e4dd;border-radius:8px;position:relative}.message.mine{margin-left:auto;background:#e3f3e9;border-color:#b9d8c6}.message.mentioned-me{border-color:#b7791f;background:#fff8df}.mention-chip{display:inline-block;border-radius:6px;background:#dbe7df;color:#173b27;padding:0 .22rem;font-weight:700}.message div,.participants,.trail-grid,.admin-grid{display:flex;gap:.5rem;flex-wrap:wrap}.message>div{align-items:center}.name-button{width:auto;padding:0;background:transparent;color:inherit;font-weight:700}.message-menu-button{margin-left:auto;background:transparent;color:#365342;padding:.1rem .28rem;font-size:1rem;opacity:.72}.message:hover .message-menu-button,.message-menu-button:focus{opacity:1}.edited-label,.desktop-helper{color:#64766c;font-size:.78rem}.inline-edit{display:grid;gap:.45rem;margin-top:.45rem}.inline-edit textarea{min-height:70px}.action-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;display:grid;place-items:end center;background:#0c161038;padding:.75rem}.action-sheet{width:min(420px,100%);display:grid;gap:.35rem;border:1px solid #d9e4dd;border-radius:8px;background:#fff;padding:.55rem;box-shadow:0 16px 44px #162c1f38}.action-sheet button{width:100%;background:#eef5f0;color:#17211b;text-align:left}.user-results{display:grid;gap:.45rem;margin-top:.7rem}.user-result{display:flex;gap:.55rem;align-items:center;justify-content:space-between;border:1px solid #dbe6df;border-radius:8px;padding:.5rem}.success{color:#1f7a4d;font-weight:700}.message time,.muted,.section-head span,.empty{color:#64766c}.message p,.plan p,.trail-card p{margin-bottom:.34rem;line-height:1.38}.chat-form,.plan-form{display:grid;gap:.55rem;margin-top:.62rem}.attachment-picker{display:grid;gap:.45rem}.attach-button{display:inline-flex;align-items:center;gap:.35rem;width:max-content;border-radius:7px;background:#dbe7df;color:#173b27;padding:.5rem .7rem;font-weight:800;cursor:pointer}.attach-button input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.pending-attachments{display:grid;gap:.45rem}.message-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.pending-attachment{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:.45rem;align-items:center;border:1px solid #dbe6df;border-radius:8px;padding:.35rem;background:#fff}.pending-attachment img{width:44px;height:44px;object-fit:cover;border-radius:6px}.pending-attachment span{min-width:0;overflow-wrap:anywhere}.pending-attachment small{display:block;color:#64766c}.file-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:6px;background:#eef5f0;color:#173b27;font-weight:800;font-size:.78rem}.chat-image-attachment{border:0;padding:0;background:transparent;cursor:pointer;border-radius:8px;overflow:hidden;max-width:220px}.chat-image-attachment img{display:block;max-width:220px;max-height:220px;width:auto;height:auto;object-fit:cover;border-radius:8px;border:1px solid #cbd8d0}.chat-file-attachment{display:inline-flex;align-items:center;gap:8px;max-width:260px;padding:8px 10px;border-radius:8px;color:inherit;text-decoration:none;border:1px solid #dbe6df;background:#fbfdfc}.chat-file-attachment small{color:#64766c;font-size:.8rem;white-space:nowrap}.file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-input-wrap{position:relative}.mention-menu{position:absolute;left:0;right:0;bottom:calc(100% + .3rem);z-index:5;max-height:220px;overflow:auto;border:1px solid #c7d6cd;border-radius:8px;background:#fff;box-shadow:0 10px 28px #162c1f24;padding:.25rem}.mention-option{width:100%;display:flex;justify-content:space-between;gap:.5rem;align-items:center;border-radius:6px;background:transparent;color:#17211b;text-align:left;padding:.45rem .55rem}.mention-option.active,.mention-option:hover{background:#e9f1ec}.mention-option small{color:#64766c}.direct-layout{display:grid;grid-template-columns:minmax(220px,.35fr) minmax(0,1fr);gap:.75rem}.direct-list{display:grid;align-content:start;gap:.45rem}.direct-conversation{display:grid;grid-template-columns:1fr auto;gap:.22rem .5rem;width:100%;background:#eef5f0;color:#17211b;text-align:left}.direct-conversation.active{background:#1f7a4d;color:#fff}.direct-conversation small{grid-column:1 / -1;color:inherit;opacity:.8;font-weight:500}.direct-conversation span{border-radius:999px;background:#9f3a38;color:#fff;padding:.05rem .4rem;font-size:.78rem}.direct-chat{min-width:0}.plan-form{grid-template-columns:repeat(2,minmax(0,1fr))}.hidden-date-picker{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.plan-form textarea,.plan-form button,.plan-form input:first-child,.plan-form .section-head,.plan-form .button-row{grid-column:1 / -1}.plan-list{display:grid;gap:.62rem;margin-top:.75rem}.plan,.trail-card,.interest-box{border:1px solid #dbe6df;border-radius:8px;padding:.68rem;background:#fbfdfc}.plan-detail{margin-top:.9rem;border-top:1px solid #dbe6df;padding-top:.9rem;max-height:520px;overflow-y:auto}.clamped-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.checklist-panel{display:grid;gap:.62rem;margin-top:.7rem}.checklist-head{align-items:stretch}.checklist-head h4{margin:0}.checklist-head select{max-width:240px}.checklist-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(90px,.35fr) minmax(160px,.5fr);gap:.65rem}.checklist-form textarea,.checklist-form .button-row{grid-column:1 / -1}.checklist-list{display:grid;gap:.65rem}.checklist-item{border:1px solid #dbe6df;border-radius:8px;padding:.58rem;background:#fff}.checklist-item.done{background:#f1f6f3}.checklist-item.done strong{text-decoration:line-through;color:#64766c}.checklist-meta{display:flex;flex-wrap:wrap;gap:.4rem;margin:.45rem 0}.checklist-meta span{border-radius:999px;background:#e9f1ec;padding:.22rem .55rem;font-size:.86rem}.compact-actions{justify-content:flex-start;gap:.45rem}.admin-plan-list,.admin-plan-item{display:grid;gap:.65rem}.admin-plan-item{border-bottom:1px solid #e7eee9;padding-bottom:.75rem}.admin-plan-item:last-child{border-bottom:0}.text-link{width:auto;display:inline;border:0;border-radius:0;padding:0;background:transparent;color:#1f6f46;font-weight:700;text-decoration:underline}.trail-card.focused{border-color:#1f7a4d;box-shadow:0 0 0 2px #1f7a4d29}.participants span{border-radius:999px;background:#e9f1ec;padding:.28rem .6rem;font-size:.9rem}.map{height:420px;width:100%;border-radius:8px;border:1px solid #cbd8d0;overflow:hidden}.trail-marker span{display:block;width:22px;height:22px;border-radius:50%;border:3px solid #fff;background:#d94d2b;box-shadow:0 2px 8px #00000059}.trail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));margin-top:1rem}.interest-box{margin-top:1rem}.admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin-top:1rem}.admin-grid>div{border:1px solid #dbe6df;border-radius:8px;padding:.8rem;max-height:320px;overflow:auto}.alert{color:#84201e;background:#fde8e7;border:1px solid #f3b9b6;border-radius:8px;padding:.65rem .8rem;margin-bottom:0}@media(max-width:820px){:root{font-size:14px}body{font-size:.9rem}h1{font-size:1.42rem}h2{font-size:1.12rem}h3{font-size:1rem}button{padding:.5rem .65rem;font-size:.86rem;border-radius:7px}input,textarea,select{padding:.52rem .62rem;font-size:.88rem}textarea{min-height:66px}.layout,.plan-form,.checklist-form,.room-form,.nick-panel,.language-panel{grid-template-columns:1fr;display:grid}.language-panel select{width:100%}.room-card{flex-direction:column}.inline-form,.section-head,.plan-title{align-items:stretch;flex-direction:column}.checklist-head select{max-width:none}.message{max-width:100%}.desktop-helper{display:none}.action-backdrop{align-items:end;padding:0}.action-sheet{border-radius:8px 8px 0 0;padding:.7rem}.direct-layout{grid-template-columns:1fr}.messages,.map{height:300px}.panel{padding:.62rem;margin-bottom:.58rem}.plan,.trail-card,.interest-box,.room-card,.room-preview{padding:.55rem}}.legend{display:flex;flex-wrap:wrap;gap:.55rem;margin:0 0 .8rem}.legend span,.check-row{display:inline-flex;align-items:center;gap:.35rem}.legend i{width:.8rem;height:.8rem;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #a9b8af}.trail-admin{border:1px solid #dbe6df;border-radius:8px;padding:.78rem;margin:.75rem 0;background:#fbfdfc}.trail-tools,.trail-edit-form,.import-form{display:grid;gap:.55rem;margin-top:.62rem}.trail-tools{grid-template-columns:220px 1fr}.trail-tools select,.trail-edit-form select{border:1px solid #c7d6cd;border-radius:7px;padding:.58rem .7rem;background:#fff;color:#17211b;font:inherit}.trail-table-wrap{overflow:auto;max-height:min(520px,55vh);margin-top:.8rem;border:1px solid #dbe6df;border-radius:8px}.trail-table{width:100%;min-width:860px;border-collapse:collapse;background:#fff}.trail-table th,.trail-table td{padding:.55rem .65rem;text-align:left;border-bottom:1px solid #e7eee9;vertical-align:top}.trail-table th{position:sticky;top:0;z-index:1;background:#eef6f1;color:#244431;font-size:.9rem}.trail-table input[type=checkbox],.check-row input[type=checkbox]{width:auto}.table-actions{display:flex;gap:.4rem;flex-wrap:wrap}.trail-edit-form{grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #dbe6df;padding-top:.9rem}.trail-edit-form h4,.trail-edit-form textarea,.trail-edit-form .button-row,.trail-edit-form .check-row,.import-form h4,.import-form textarea,.import-form button{grid-column:1 / -1}.import-form{border-top:1px solid #dbe6df;padding-top:.9rem}.import-form textarea{min-height:150px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9rem}.success{color:#195c37;background:#e4f5eb;border:1px solid #aedcc1;border-radius:8px;padding:.65rem .8rem;margin-bottom:0}@media(max-width:820px){.trail-tools,.trail-edit-form{grid-template-columns:1fr}}.map-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.45fr) minmax(190px,.45fr) auto;gap:.55rem;align-items:stretch;margin-bottom:.62rem}.map-toolbar select{border:1px solid #c7d6cd;border-radius:7px;padding:.58rem .7rem;background:#fff;color:#17211b;font:inherit}.map-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:16px;align-items:start}.map-box{min-height:520px}.map-box .map{height:520px}.trails-panel{max-height:520px;overflow-y:auto;padding-right:8px;display:grid;gap:.75rem;align-content:start}.trails-panel .trail-card{margin:0}@media(max-width:900px){.map-toolbar{grid-template-columns:1fr 1fr}.map-toolbar button{grid-column:1 / -1}}@media(max-width:768px){.map-layout{grid-template-columns:1fr}.map-box{min-height:360px}.map-box .map{height:360px}.trails-panel{max-height:320px}}@media(max-width:520px){.map-toolbar{grid-template-columns:1fr}}.rooms-panel{display:grid;gap:.62rem}.room-list{display:grid;gap:.55rem}.room-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:flex-start;border:1px solid #dbe6df;border-radius:8px;padding:.78rem;background:#fbfdfc}.room-card.active{border-color:#1f7a4d;box-shadow:0 0 0 2px #1f7a4d24}.room-card h3,.room-card p{margin-bottom:.35rem}.room-card h3{font-size:1.08rem}.room-card-main{min-width:0}.room-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:.65rem}.room-card-top h3{margin:0 0 .25rem}.room-meta{display:flex;flex-wrap:wrap;gap:.38rem .8rem;color:#415247;font-size:.88rem;line-height:1.3;margin:.45rem 0}.room-full-text{color:#84201e;font-weight:800}.room-badges,.room-actions,.room-management,.room-form,.moderation-box,.invite-box{display:flex;flex-wrap:wrap;gap:.5rem}.room-badges span{border-radius:999px;background:#eef5f0;color:#365342;padding:.16rem .48rem;font-size:.74rem;font-weight:800}.room-actions{justify-content:flex-end}.room-form,.room-management,.moderation-box,.invite-box{display:grid}.room-form{grid-template-columns:repeat(2,minmax(0,1fr))}.room-form h3,.room-form input,.room-form textarea,.room-form button,.moderation-box,.invite-box{grid-column:1 / -1}.app-header{position:sticky;top:0;z-index:30;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.7rem;align-items:center;background:#123321;color:#fff;padding:.56rem max(.8rem,calc((100vw - 1180px)/2))}.app-header h1{margin:0;font-size:1.18rem;text-align:center}.app-header p{margin:.15rem 0 0;color:#d6e6da;text-align:center}.header-user{display:flex;align-items:center;gap:.5rem;justify-content:flex-end}.header-user .theme-toggle{min-width:2.25rem;padding-inline:.55rem}.notification-bell{position:relative}.notification-button{white-space:nowrap}.notification-panel{position:absolute;top:calc(100% + .45rem);right:0;z-index:70;width:min(360px,calc(100vw - 1rem));max-height:520px;overflow:auto;background:#fff;color:#17211b;border:1px solid #d9e4dd;border-radius:8px;padding:.72rem;box-shadow:0 18px 42px #162c1f33}.notification-list,.notification-settings,.notification-preferences,.notification-block{display:grid;gap:.65rem}.notification-item{border:1px solid #dbe6df;border-radius:8px;padding:.62rem;background:#fbfdfc}.notification-item.unread{border-color:#1f7a4d;background:#eef8f1}.notification-item p{margin-bottom:.25rem}.notification-item time{color:#64766c;font-size:.82rem}.landing-page{min-height:100vh;display:grid;place-items:center;padding:1rem;background:#eef3ee}.landing-hero{width:min(560px,100%);background:#fff;border:1px solid #d9e4dd;border-radius:8px;padding:clamp(1.2rem,4vw,2rem);box-shadow:0 16px 48px #162c1f1f}.landing-hero h1{font-size:clamp(2rem,6vw,3.4rem);margin-bottom:.4rem}.landing-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.7rem;margin-top:1rem}.drawer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;padding:0;border-radius:0;background:#0c16106b}.mobile-drawer-overlay,.mobile-drawer,.mobile-title{display:none}.rooms-drawer{position:fixed;inset:0 auto 0 0;z-index:50;width:min(360px,calc(100vw - 1rem));padding:.78rem;overflow:auto;background:#fff;border-right:1px solid #d9e4dd;box-shadow:12px 0 36px #162c1f33;transform:translate(-105%);transition:transform .16s ease;display:grid;gap:.75rem;align-content:start}.rooms-drawer.open{transform:translate(0)}.drawer-head,.room-title-row,.availability-counts,.vote-list,.plan-tools,.two-col{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.drawer-head{justify-content:space-between}.drawer-head h2,.room-title-row h3{margin:0}.room-filters,.room-settings,.availability-box{display:grid;gap:.65rem}.rooms-directory{display:grid;gap:.75rem}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.badge{display:inline-flex;align-items:center;border-radius:999px;background:#dbe7df;color:#173b27;padding:.18rem .5rem;font-size:.78rem;font-weight:800}.badge.danger{background:#fde8e7;color:#84201e}.home-view,.suggested-rooms{display:grid;gap:.8rem}.room-list.compact{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.availability-box{border:1px solid #e1ece5;border-radius:8px;background:#f7fbf8;padding:.58rem;margin:.6rem 0;display:grid;gap:.5rem}.availability-counts span,.vote-list span{border-radius:999px;background:#e9f1ec;padding:.22rem .55rem;font-size:.86rem}.plan-tools{align-items:stretch;margin-top:.8rem}.plan-tools>*{min-width:150px;flex:1}.compact-plan-tools{align-items:center;gap:.45rem}.compact-plan-tools span{min-width:0;flex:0 0 auto;color:#64766c;font-weight:700}.compact-plan-tools select,.compact-plan-tools button{min-width:120px}.plan-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin-top:.55rem}.collapsible-form{margin:.7rem 0;border:1px solid #e1ece5;border-radius:8px;background:#f8fbf9;padding:.7rem}.room-plans-panel,.room-chat-panel{display:flex;flex-direction:column}.room-plans-list{max-height:650px;overflow-y:auto;padding-right:.25rem}.room-chat-messages{height:auto;max-height:460px;min-height:320px;overflow-y:auto}.room-chat-panel .chat-form{margin-top:auto}.room-message{position:relative}.room-message>div{align-items:baseline}.message-delete{opacity:0;margin-left:auto;background:transparent;color:#84201e;padding:.1rem .22rem;font-size:.72rem}.room-message:hover .message-delete,.message-delete:focus{opacity:1}.subtle-danger{background:#ead8d5;color:#84201e}.vote-actions button{min-width:auto}@media(max-width:820px){.app-header{grid-template-columns:1fr;align-items:stretch}.app-header h1,.app-header p{text-align:left}.header-user,.landing-form{display:grid;grid-template-columns:1fr}.rooms-drawer{width:100vw}.two-col{grid-template-columns:1fr}}.navbar{grid-template-columns:auto minmax(0,1fr) auto}.brand-button{background:transparent;color:#fff;padding-left:0;font-size:1.02rem}.brand{display:inline-flex;align-items:center;gap:8px}.brand-icon{width:28px;height:28px;border-radius:8px;display:block;flex:0 0 auto}.main-nav{display:flex;justify-content:center;gap:.45rem;flex-wrap:wrap}.nav-toggle{display:none}.header-user select{width:auto;min-width:76px;padding:.44rem .55rem}.header-user .theme-toggle{padding-inline:.58rem;font-size:.82rem}.room-tabs{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.72rem}.room-workspace-head{display:flex;justify-content:space-between;align-items:center;padding-block:.72rem}.room-workspace-head h2,.room-workspace-head p{margin-bottom:.12rem}.room-overview-grid{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(420px,1.1fr);gap:1rem;align-items:start}@media(max-width:900px){.room-overview-grid{grid-template-columns:1fr}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:1rem;background:#0c161073}.pairing-modal{width:min(520px,100%)}.settings-panel,.pairing-code{display:grid;gap:.8rem}.pairing-code{border:1px solid #dbe6df;border-radius:8px;background:#f7fbf8;padding:1rem}.pairing-code.expired{background:#fff7f5;border-color:#f0c9c1}.pairing-code strong{font-size:2rem;letter-spacing:.08em}@media(max-width:820px){.room-overview-grid{grid-template-columns:1fr}}.room-preview{border:1px solid #dbe6df;border-radius:8px;background:#fbfdfc;padding:1rem;display:grid;gap:.75rem}:root[data-theme=dark]{color:#e7f0ea;background:#0f1712;color-scheme:dark}:root[data-theme=dark] body,:root[data-theme=dark] .landing-page{background:#0f1712;color:#e7f0ea}:root[data-theme=dark] .app-header,:root[data-theme=dark] .topbar{background:#07100b;color:#f3faf5;border-bottom:1px solid #20352a}:root[data-theme=dark] .mobile-drawer{background:#17231b;border-color:#2b4034;color:#e7f0ea}:root[data-theme=dark] .mobile-nav-item{background:transparent;color:#e7f0ea}:root[data-theme=dark] .mobile-nav-item.active,:root[data-theme=dark] .mobile-nav-item:hover{background:#253a2e;color:#dff0e5}:root[data-theme=dark] .panel,:root[data-theme=dark] .landing-hero,:root[data-theme=dark] .rooms-drawer,:root[data-theme=dark] .notification-panel,:root[data-theme=dark] .notification-item,:root[data-theme=dark] .room-preview,:root[data-theme=dark] .plan,:root[data-theme=dark] .trail-card,:root[data-theme=dark] .interest-box,:root[data-theme=dark] .checklist-item,:root[data-theme=dark] .trail-admin,:root[data-theme=dark] .admin-grid>div,:root[data-theme=dark] .room-card,:root[data-theme=dark] .message{background:#17231b;border-color:#2b4034;color:#e7f0ea;box-shadow:0 8px 24px #0000003d}:root[data-theme=dark] input,:root[data-theme=dark] textarea,:root[data-theme=dark] select,:root[data-theme=dark] .trail-tools select,:root[data-theme=dark] .trail-edit-form select,:root[data-theme=dark] .map-toolbar select,:root[data-theme=dark] .trail-table,:root[data-theme=dark] .messages{background:#101912;border-color:#31483a;color:#e7f0ea}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#91a99a}:root[data-theme=dark] button.secondary,:root[data-theme=dark] .badge,:root[data-theme=dark] .participants span,:root[data-theme=dark] .room-badges span,:root[data-theme=dark] .availability-counts span,:root[data-theme=dark] .vote-list span,:root[data-theme=dark] .checklist-meta span{background:#253a2e;color:#dff0e5}:root[data-theme=dark] .message.mine,:root[data-theme=dark] .checklist-item.done,:root[data-theme=dark] .notification-item.unread,:root[data-theme=dark] .availability-box,:root[data-theme=dark] .collapsible-form{background:#1d3326;border-color:#365844}:root[data-theme=dark] .subtle-danger{background:#3f2826;color:#ffd9d7}:root[data-theme=dark] .message time,:root[data-theme=dark] .notification-item time,:root[data-theme=dark] .muted,:root[data-theme=dark] .section-head span,:root[data-theme=dark] .empty,:root[data-theme=dark] .room-meta,:root[data-theme=dark] .translation-provider{color:#a8bdaf}:root[data-theme=dark] .trail-table th{background:#1d3025;color:#dff0e5}:root[data-theme=dark] .text-link,:root[data-theme=dark] a{color:#79d9a2}:root[data-theme=dark] .alert{background:#401f1f;border-color:#7a3634;color:#ffd9d7}:root[data-theme=dark] .success{background:#173522;border-color:#39724f;color:#d4f5df}:root[data-theme=dark] .drawer-overlay,:root[data-theme=dark] .mobile-drawer-overlay,:root[data-theme=dark] .modal-backdrop{background:#0000009e}@media(max-width:820px){.app-header.navbar{grid-template-columns:44px minmax(0,1fr) auto;gap:.35rem;align-items:center;padding:.42rem .55rem;position:sticky;top:0;z-index:30}.brand-button{width:auto!important;min-height:0;padding:.28rem .1rem;font-size:.98rem;line-height:1.1;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-icon{width:26px;height:26px}.desktop-brand{display:none}.mobile-title{display:inline}.nav-toggle{display:inline-flex;align-items:center;justify-content:center;grid-column:1;justify-self:start;width:auto!important;min-width:44px;min-height:44px;padding:0;font-size:1.25rem}.header-user{display:flex;grid-column:3;gap:0;justify-content:flex-end;align-items:center;min-width:0}.header-user select,.header-user span{display:none}.header-user>button,.header-user .theme-toggle{display:none}.header-user .notification-bell{display:block}.header-user .notification-button{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;padding:0;font-size:1rem}.main-nav{display:none}.mobile-drawer-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;padding:0;border-radius:0;background:#0c16107a}.mobile-drawer{position:fixed;inset:0 auto 0 0;z-index:90;display:grid;align-content:start;gap:.9rem;width:82vw;max-width:340px;padding:.9rem;overflow-y:auto;background:#fff;border-right:1px solid #d9e4dd;box-shadow:14px 0 38px #162c1f3d;transform:translate(-105%);transition:transform .22s ease}.mobile-drawer.open{transform:translate(0)}.mobile-drawer-head{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.mobile-drawer-head button{min-width:44px;min-height:44px;padding:0;font-size:1.25rem}.mobile-nav-group{display:grid;gap:.28rem}.mobile-nav-group small{color:#64766c;font-weight:800;text-transform:uppercase;font-size:.72rem;letter-spacing:.03em;margin:.25rem 0}.mobile-room-name{margin:0 0 .35rem;color:#365342;font-weight:800;line-height:1.25}.mobile-nav-item{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:44px;width:100%;border-radius:7px;background:transparent;color:#17211b;text-align:left;padding:.65rem .75rem .65rem .95rem;font-weight:700}.mobile-nav-item.active{background:#e3f3e9;color:#123321;font-weight:900}.mobile-nav-item.active:before{content:"";position:absolute;left:.35rem;top:.55rem;bottom:.55rem;width:3px;border-radius:999px;background:#1f7a4d}.mobile-nav-item span{min-width:1.35rem;border-radius:999px;background:#9f3a38;color:#fff;text-align:center;padding:.05rem .35rem;font-size:.78rem}.app-shell{width:min(100% - .75rem,1180px);margin-top:.42rem}}@media(max-width:420px){.app-header.navbar{padding:.26rem .38rem}.mobile-title{font-size:.92rem}}.hub-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:center;padding:1.15rem;border-color:#b7d7c4;background:linear-gradient(180deg,#f7fbf8,#edf7f1)}.hub-hero h2,.hub-card h2,.hub-section h2{margin-bottom:.25rem}.hub-hero h2{font-size:1.55rem}.hub-hero p{margin-bottom:.22rem}.hero-actions{display:flex;flex-wrap:wrap;gap:.55rem;justify-content:flex-end}.hub-card{display:flex;align-items:center;justify-content:space-between;gap:.9rem}.general-chat-card{border-color:#b9d8c6;background:#f4fbf6}.primary-section{border-color:#c6dbcf}.secondary-section{background:#fcfdfc}.empty-state{border:1px dashed #c7d6cd;border-radius:8px;padding:.75rem;background:#f8fbf9}.empty-state h3{margin-bottom:.3rem}.scroll-list{max-height:420px;overflow:auto;padding-right:.25rem}.hub-section .section-head{align-items:flex-start}:root[data-theme=dark] .hub-hero,:root[data-theme=dark] .general-chat-card,:root[data-theme=dark] .empty-state{background:#142018;border-color:#365844}@media(max-width:820px){.room-card{grid-template-columns:1fr}.room-card-top{align-items:stretch}.room-card-top button,.room-actions button{width:100%}.room-actions{justify-content:stretch}.hub-hero{grid-template-columns:1fr;align-items:stretch;padding:.85rem}.hero-actions{justify-content:stretch}.hero-actions button{flex:1 1 160px}.hub-card{align-items:stretch;flex-direction:column}.scroll-list{max-height:340px}.room-chat-messages{max-height:360px;min-height:260px}.room-plans-list{max-height:650px;overflow-y:auto;padding-right:.2rem}.plan-filters{grid-template-columns:1fr}}.message-reactions{position:relative;display:flex;align-items:center;gap:.28rem;margin-top:.4rem;min-height:1.55rem}.message-reactions:not(.has-reactions){margin-top:.15rem}.reaction-pill,.reaction-add-button,.reaction-choice{width:auto;display:inline-flex;align-items:center;justify-content:center;gap:.22rem;border:1px solid #d6e2db;border-radius:999px;background:#f4f8f5;color:#17211b;padding:.18rem .45rem;min-height:1.45rem;font-size:.86rem;line-height:1}.reaction-pill strong{font-size:.78rem}.reaction-pill.active,.reaction-choice.active{border-color:#1f7a4d;background:#d7efe1;color:#123321}.reaction-add-button{padding:.16rem .38rem;opacity:.78}.message-reactions:not(.has-reactions) .reaction-add-button{opacity:0}.message:hover .reaction-add-button,.message:focus-within .reaction-add-button,.reaction-add-button:focus{opacity:1}.reaction-picker{display:flex;flex-wrap:wrap;gap:.3rem}.reaction-picker.floating{position:absolute;left:0;bottom:calc(100% + .28rem);z-index:8;width:max-content;max-width:min(280px,90vw);padding:.35rem;border:1px solid #d9e4dd;border-radius:8px;background:#fff;box-shadow:0 10px 28px #162c1f29}.reaction-picker.sheet{justify-content:center;padding:.2rem 0 .35rem}.reaction-picker.sheet .reaction-choice{flex:1 1 2.2rem;min-height:2.25rem;font-size:1.05rem}@media(hover:none){.message-reactions:not(.has-reactions) .reaction-add-button{opacity:1}}
