:root{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:#182b48;background:#f1f5fb;font-synthesis:none;--blue:#2563eb;--muted:#66768e;--line:#e3eaf4;--card:#fff}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0;color:inherit;background:none}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #38bdf8;outline-offset:3px}a{color:var(--blue);text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:26px;letter-spacing:-.8px;margin-bottom:8px}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:16px}p{line-height:1.65}small,.muted{color:var(--muted);font-size:13px}.loading{padding:60px;text-align:center}.layout{max-width:1240px;margin:auto;display:grid;grid-template-columns:230px 1fr;min-height:100dvh}.sidebar{padding:32px 20px;position:sticky;top:0;height:100dvh;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:8px;background:#f8faff}.brand{display:flex;align-items:center;gap:12px;margin:0 0 36px;font-weight:800;letter-spacing:-.5px}.brand-mark{width:44px;height:44px;border-radius:14px;background:var(--blue);color:white;display:grid;place-items:center;font-size:19px}.brand small{display:block;font-weight:500;letter-spacing:1.4px;font-size:9px;margin-top:3px}.navbutton{display:flex;gap:12px;align-items:center;text-align:left;padding:13px;border-radius:12px;font-size:14px;font-weight:600;color:var(--muted)}.navbutton.active{background:#e7efff;color:var(--blue)}.sidebar .account{margin-top:auto;padding:14px 8px;border-top:1px solid var(--line)}.content{min-width:0}.topbar{height:80px;padding:0 34px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#ffffffcc;position:sticky;top:0;z-index:5;backdrop-filter:blur(16px)}.topbar h2{margin:0;font-size:18px}.topbar .actions{gap:12px}.workspace{padding:30px 34px 60px;max-width:1000px;margin:auto}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:var(--blue);margin-bottom:10px}.hero{padding:28px;background:linear-gradient(115deg,#1556dd,#347df9);border-radius:22px;color:white;margin-bottom:24px;overflow:hidden;position:relative}.hero .eyebrow,.hero small{color:#d0e2ff}.hero h1{font-size:30px;max-width:600px}.hero p{margin:0;color:#e5eeff;font-size:14px}.hero-badge{display:inline-flex;padding:10px 14px;border-radius:10px;background:#ffffff22;margin-top:18px;font-size:13px}.columns{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px;align-items:start}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px;margin-bottom:16px;box-shadow:0 3px 15px #19365c03}.card p:last-child{margin-bottom:0}.card-heading,.person,.actions,.section-head{display:flex;align-items:center;gap:10px}.section-head{justify-content:space-between;margin-bottom:18px}.section-head h2{margin:0}.person{margin-bottom:15px}.person-copy{flex:1;min-width:0}.person-copy strong,.person-copy small{display:block;overflow-wrap:anywhere}.person-copy strong{font-size:14px;margin-bottom:4px}.avatar{width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;border-radius:13px;background:#eaf1ff;color:var(--blue);font-weight:800}.pill{display:inline-block;border-radius:7px;background:#edf3ff;color:#2863bc;font-size:11px;padding:5px 8px;font-weight:600}.pill.green{background:#e7f8ef;color:#168855}.pill.orange{background:#fff4e2;color:#a76805}.posttext,.pre{white-space:pre-wrap;overflow-wrap:anywhere}.posttext{font-size:14px;margin:12px 0 20px}.post-actions{border-top:1px solid var(--line);padding-top:13px;display:flex;align-items:center;gap:18px}.post-actions button{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px}.post-actions button.liked{color:#e34a76}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border-radius:10px;background:#edf3ff;color:var(--blue);font-size:13px;font-weight:650;min-height:42px}.btn.primary{background:var(--blue);color:#fff}.btn.danger{background:#fff0f0;color:#c83242}.btn.outline{border:1px solid var(--line);background:white;color:var(--muted)}.btn.small{padding:7px 10px;min-height:32px;font-size:12px}.icon-btn{width:38px;height:38px;border-radius:11px;background:#f1f5fc;display:inline-grid;place-items:center;position:relative;color:var(--blue)}.count{position:absolute;top:-3px;right:-3px;min-width:16px;border-radius:10px;background:#e9506b;color:white;font:10px system-ui;padding:2px 4px}.empty{text-align:center;padding:32px 16px;color:var(--muted)}.empty svg{margin-bottom:12px;color:#8ea8ce}.empty p{font-size:13px;margin-bottom:0}.label{display:block;font-size:12px;font-weight:650;color:#52647f;margin:14px 0 6px}input,textarea,select{width:100%;padding:12px 13px;border:1px solid #d9e3f0;border-radius:10px;background:#fff;color:#182b48;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb12}textarea{resize:vertical;min-height:100px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-error{color:#c92c43;font-size:13px;margin-top:12px}.form-actions{margin-top:20px;display:flex;gap:10px;flex-wrap:wrap}.sheet-overlay{position:fixed;inset:0;background:#12274766;backdrop-filter:blur(5px);z-index:30;display:flex;align-items:center;justify-content:center;padding:20px}.sheet{width:100%;max-width:560px;max-height:90dvh;overflow:auto;background:white;border-radius:22px;padding:26px}.sheet .section-head{position:sticky;top:-26px;background:white;padding:12px 0;z-index:1}.listrow{padding:14px 0;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center}.listrow:last-child{border:0}.listrow .grow{flex:1;min-width:0}.listrow strong,.listrow small{display:block}.listrow strong{font-size:14px;margin-bottom:5px}.listrow small{font-size:12px}.listrow.clickable{width:100%;text-align:left}.tabs{display:flex;gap:8px;overflow:auto;margin-bottom:18px;padding:2px}.tabs .btn{white-space:nowrap}.tabs .selected{background:var(--blue);color:#fff}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.grid .card{margin-bottom:0}.stat{font-size:28px;font-weight:800;letter-spacing:-1px}.club-head{height:55px;width:55px;display:grid;place-items:center;background:#edf4ff;border-radius:16px;color:var(--blue);margin-bottom:15px}.meta{font-size:13px;color:var(--muted);line-height:1.9}.meta svg{vertical-align:middle;margin-right:5px}.signin{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;max-width:1100px;margin:auto;align-items:center;padding:40px;gap:70px}.signin-art{background:linear-gradient(140deg,#1654d9,#458bff);border-radius:28px;padding:40px;color:white;min-height:540px;display:flex;flex-direction:column;justify-content:space-between}.signin-art h1{font-size:44px;letter-spacing:-1.8px;line-height:1.15}.signin-art p{color:#d6e5ff}.signin-art .brand{margin:0}.signin-art .brand small{color:#d6e5ff}.signin-art .brand-mark{background:#ffffff33}.signin-form{max-width:380px;width:100%}.signin-form .btn{width:100%;margin-top:20px}.signin-form .muted{line-height:1.7}.notifications .unread{border-left:3px solid var(--blue);padding-left:12px}.chat-layout{display:grid;grid-template-columns:250px minmax(0,1fr);height:calc(100dvh - 165px);border:1px solid var(--line);border-radius:18px;overflow:hidden;background:white}.chat-list{border-right:1px solid var(--line);overflow:auto;padding:12px}.chat-room{display:flex;flex-direction:column;min-height:0;min-width:0}.chat-head{padding:16px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px}.chat-head strong{flex:1}.messages{flex:1;overflow:auto;padding:20px;background:#f6f9fe;display:flex;flex-direction:column;gap:12px}.message{max-width:88%;align-self:flex-start;background:white;border:1px solid var(--line);border-radius:14px;padding:12px;min-width:130px}.message.mine{align-self:flex-end;background:#eaf1ff;border-color:#dbe7ff}.message strong{font-size:11px;color:var(--blue)}.message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;margin:6px 0}.message small{font-size:10px}.message .actions{justify-content:flex-end}.message .actions button{font-size:10px;color:var(--muted)}.composer{padding:12px;display:flex;align-items:center;gap:8px;border-top:1px solid var(--line)}.composer input{min-width:0}.file-link{display:block;padding:10px;background:#fff;border-radius:8px;font-size:12px;margin:8px 0;overflow-wrap:anywhere}.member-option{display:flex;gap:10px;align-items:center;padding:8px 0;font-size:14px}.member-option input{width:auto}.mobile-nav{display:none}.statusbar{font-size:12px;color:var(--muted);margin:0 0 14px}.check{display:flex;align-items:center;gap:10px}.check input{width:18px;height:18px}#toast:not(:empty){position:fixed;bottom:90px;left:50%;transform:translateX(-50%);max-width:90%;padding:13px 20px;border-radius:12px;background:#152d4b;color:white;box-shadow:0 8px 30px #0002;z-index:50;font-size:13px}.dark{--card:#18283e;--line:#2b3c54;--muted:#a5b4cb;background:#0f1b2e;color:#e0e9f8}.dark .sidebar,.dark .topbar,.dark .sheet,.dark input,.dark textarea,.dark select,.dark .chat-layout,.dark .sheet .section-head{background:#18283e;color:#e0e9f8}.dark .messages{background:#101e33}.dark .message{background:#223650}.dark .message.mine{background:#214882}.dark .mobile-nav{background:#18283e}.dark .btn.outline{background:#223650;color:#d9e6fa}.dark .label{color:#b8c9e3}@media(min-width:1400px){.workspace{padding-top:40px}}@media(max-width:1000px){.columns{grid-template-columns:1fr}.columns aside{display:none}.layout{grid-template-columns:200px 1fr}.workspace{padding:24px}.topbar{padding:0 24px}.chat-layout{grid-template-columns:210px 1fr}}@media(max-width:700px){.layout{display:block}.sidebar{display:none}.topbar{height:66px;padding:0 18px}.topbar h2{font-size:16px}.workspace{padding:20px 16px 100px}.hero{padding:24px 20px;border-radius:18px}.hero h1{font-size:26px}.card{padding:18px;border-radius:16px}.grid{grid-template-columns:1fr}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;padding:8px 6px calc(8px + env(safe-area-inset-bottom));background:#fffffff5;backdrop-filter:blur(20px);border-top:1px solid var(--line);z-index:10;justify-content:space-around}.mobile-nav button{font-size:9px;color:var(--muted);display:flex;flex-direction:column;gap:5px;align-items:center;min-width:52px;padding:5px 3px;border-radius:10px}.mobile-nav button.active{color:var(--blue);background:#edf3ff}.signin{grid-template-columns:1fr;gap:28px;padding:26px 22px}.signin-art{min-height:235px;padding:24px}.signin-art h1{font-size:30px;margin-top:25px;margin-bottom:8px}.signin-art p{margin-bottom:0;font-size:13px}.signin-form{max-width:none}.signin-art .brand{font-size:15px}.sheet-overlay{align-items:flex-end;padding:0}.sheet{border-radius:22px 22px 0 0;padding:22px 20px;max-height:92dvh;padding-bottom:calc(22px + env(safe-area-inset-bottom))}.chat-layout{display:block;height:calc(100dvh - 190px)}.chat-list{height:100%;border:0}.chat-layout.open .chat-list{display:none}.chat-room{display:none;height:100%}.chat-layout.open .chat-room{display:flex}.chat-layout .backchat{display:inline-grid}.field-grid{gap:10px}.messages{padding:14px}.post-actions{gap:14px}.section-head{align-items:center}h1{font-size:24px}.btn{font-size:12px}.form-actions .btn{flex:1}}@media(min-width:701px){.backchat{display:none}}

.call-screen{position:fixed;inset:0;z-index:60;background:#10213bf5;color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;overflow:auto}.call-person{text-align:center}.call-person .avatar{margin:0 auto 15px;width:70px;height:70px;font-size:24px}.call-person h2{margin-bottom:8px}.call-person p{color:#b5c9e5;font-size:14px}.call-video{position:relative;width:min(100%,720px);height:min(55dvh,500px);margin:10px 0 20px;background:#081321;border-radius:18px;overflow:hidden}.call-video video{height:100%;width:100%;object-fit:contain}.call-video #local-video{position:absolute;bottom:12px;right:12px;width:25%;height:30%;background:#213d5c;border:1px solid #fff4;border-radius:10px;object-fit:cover;transform:scaleX(-1)}.call-video.audio-only{height:1px;background:transparent;margin:0}.call-controls{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.call-controls .btn{min-height:48px}.call-controls .btn.selected{background:#ffc8c8;color:#8d2131}.call-hint{color:#91a8c8;font-size:12px;margin:16px 0}
