:root{--bg:#08090a;--panel:#161719;--panel2:#202124;--line:#303136;--text:#ffffff;--sub:#aeb0b4;--accent:#f32934;--hot:#ec2733;--mint:#f87279;--shadow:0 30px 70px rgba(0,0,0,.36);--tenant-accent:#f32934}
*{box-sizing:border-box}html{height:100%;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;overflow-x:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:disabled{opacity:.5;cursor:not-allowed}svg{width:20px;height:20px;vertical-align:middle;flex-shrink:0}input,textarea,select{background:#202020;color:var(--text);border:1px solid #420d0f;border-radius:13px;padding:12px 13px;outline:none;min-width:0}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #ff595d20}textarea{resize:vertical;min-height:90px}::placeholder{color:#828282}h1,h2,h3,h4,p{margin-top:0}h2{font-size:24px;line-height:1.25;letter-spacing:-.6px;margin-bottom:8px}h3{font-size:16px;letter-spacing:-.25px;margin-bottom:6px}p{color:var(--sub)}small,.muted{color:var(--sub)}.splash{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px}.splash h2{margin:2px}.brandmark{display:grid;place-items:center;background:linear-gradient(150deg,#ff595d,#f9575b);width:41px;height:41px;border-radius:15px;color:white;font-size:27px;box-shadow:0 10px 22px #ff404545}.brandtext{font-size:18px;letter-spacing:-.7px;font-weight:850}.brandtext span{font-weight:500;color:#ff595d}.logo{display:flex;align-items:center;gap:12px}.app-grid{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr) 276px;max-width:1600px;margin:0 auto}.sidebar{position:sticky;top:0;height:100vh;padding:25px 18px;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#141414}.sidebar .logo{padding:0 12px 25px}.app-nav{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;gap:13px;padding:12px 15px;border-radius:14px;background:transparent;border:0;color:#b5b5b5;text-align:left;font-weight:650;width:100%;transition:.18s}.nav-item:hover{background:#340b0c;color:#ffffff}.nav-item.active{background:linear-gradient(90deg,#ef54572c,#ff595d10);color:#ffffff;box-shadow:inset 3px 0 0 var(--accent)}.nav-item.active svg{color:#ff595d}.nav-count{margin-left:auto;font-size:11px;background:var(--hot);padding:1px 7px;border-radius:8px;color:#ffffff}.spacer{flex:1}.workspace-button{display:flex;gap:9px;align-items:center;text-align:left;background:#252525;border:1px solid #420d0f;border-radius:15px;padding:12px;min-width:0}.workspace-button .w-dot{width:12px;height:12px;background:var(--tenant,#ff595d);border-radius:50%}.workspace-button .two-lines{min-width:0;flex:1}.two-lines b,.two-lines small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.two-lines small{font-size:11px;margin-top:2px}.sidebar-foot{margin-top:14px;padding:10px 8px;text-align:center;color:#818181;font-size:11px}.sidebar-foot b{color:#bbbbbb}.content{height:100vh;overflow:auto;padding:26px clamp(16px,3vw,44px) 46px;scrollbar-color:#490f11 transparent;min-width:0}.rightpanel{height:100vh;position:sticky;top:0;border-left:1px solid var(--line);padding:28px 20px;background:#151515;overflow:auto}.main-header,.sec-head,.subrow,.line-between{display:flex;justify-content:space-between;align-items:center;gap:12px}.main-header{margin-bottom:23px}.top-eyebrow{text-transform:uppercase;letter-spacing:2px;color:var(--mint);font-size:10px;font-weight:850;margin-bottom:4px}.page-title{font-size:31px;font-weight:850;letter-spacing:-1.1px;line-height:1.1;margin:0}.heading-sub{margin:6px 0 0}.headline-actions{display:flex;align-items:center;gap:9px}.icon-btn{width:40px;height:40px;border:1px solid #430e0f;background:#202020;border-radius:13px;display:grid;place-items:center;color:#d3d3d3}.icon-btn:hover{background:#3d0c0e;color:white}.primary{background:linear-gradient(125deg,#ff595d,#eb5256);border:0;border-radius:12px;color:white;padding:11px 17px;font-weight:750;box-shadow:0 10px 22px #da4c4f30}.primary:hover{filter:brightness(1.1)}.secondary{background:#330a0c;border:1px solid #4a0f11;color:#ececec;border-radius:12px;padding:10px 16px;font-weight:650}.secondary:hover{background:#410d0f}.tiny{padding:7px 10px;font-size:12px;border-radius:9px}.link-btn{border:0;background:none;color:#ff595d;font-weight:750;padding:6px}.smallbtn{display:inline-flex;align-items:center;gap:8px}.card{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:19px;margin-bottom:17px;box-shadow:0 12px 25px #0000000d}.card.flat{box-shadow:none}.hero{display:grid;grid-template-columns:1.3fr .7fr;overflow:hidden;background:radial-gradient(circle at 87% 20%,#d34a4d4a,transparent 48%),linear-gradient(130deg,#380b0d,#191919);border:1px solid #5c1315;padding:25px 28px 21px;min-height:210px}.hero h2{font-size:30px;max-width:470px;letter-spacing:-1px}.hero p{max-width:400px;color:#cacaca}.hero-art{position:relative;min-height:150px}.orbit{position:absolute;inset:0;display:grid;place-items:center}.orbit-center{height:85px;width:85px;background:#ffffff14;border:1px solid #ffffff55;display:grid;place-items:center;border-radius:26px;transform:rotate(-10deg);font-size:45px;box-shadow:0 0 60px #ff595d55}.orb{position:absolute;border-radius:50%;display:grid;place-items:center;background:#f8575b;color:#181818;box-shadow:0 6px 30px #00000055}.orb.a{top:6px;right:5%;width:52px;height:52px;font-size:24px}.orb.b{bottom:0;left:10%;width:45px;height:45px;background:#e24f53;font-size:23px}.orb.c{right:12%;bottom:6%;width:36px;height:36px;background:#d2d2d2;font-size:18px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}.stat{border:1px solid #3c0c0e;background:#1c1c1c;border-radius:17px;padding:15px 16px;text-align:left}.stat span{color:#b0b0b0;font-size:12px}.stat b{font-size:25px;display:block;letter-spacing:-.8px;margin:2px 0}.stat:hover{border-color:#be4245}.sec-head{margin:24px 0 13px}.sec-head h3{margin:0;font-size:18px}.story-row{display:flex;gap:14px;overflow:auto;padding:8px 0 15px}.story{background:transparent;border:0;flex:none;display:flex;align-items:center;flex-direction:column;gap:5px;width:68px;text-align:center}.story-ring{padding:3px;border-radius:50%;background:linear-gradient(40deg,#f85559,#ff595d,#ff595d);display:grid;place-items:center}.story-ring .avatar{border:3px solid var(--bg)}.story small{max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.avatar{display:grid;place-items:center;overflow:hidden;flex-shrink:0;border-radius:50%;color:white;font-weight:800;background:linear-gradient(140deg,#ba4144,#ec5356);width:39px;height:39px;letter-spacing:-.5px}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.sm{width:33px;height:33px;font-size:11px}.avatar.lg{width:57px;height:57px;font-size:20px}.avatar.xl{width:83px;height:83px;font-size:28px}.post-head{display:flex;align-items:center;gap:10px;margin-bottom:13px}.post-head .meta{flex:1;min-width:0}.post-head b{display:block}.post-head small{display:block;font-size:11px}.post-body{color:#e4e4e4;white-space:pre-wrap;overflow-wrap:anywhere}.post-media{width:100%;max-height:430px;object-fit:contain;background:#0e0e0e;border-radius:15px;margin:6px 0}.post-toolbar{display:flex;align-items:center;gap:18px;padding-top:12px;color:#b9b9b9}.tool{display:inline-flex;gap:7px;align-items:center;border:0;background:none;color:inherit;padding:0}.tool svg{width:19px;height:19px}.tool.liked{color:#fc585c}.toolbar-right{margin-left:auto}.post-composer{display:flex;gap:11px;align-items:center}.composer-input{width:100%;text-align:left;border:1px solid #460e10;border-radius:15px;padding:13px 17px;background:#222222;color:#909090}.chips{display:flex;gap:9px;overflow:auto;padding:2px 0 15px}.chip{border-radius:20px;padding:9px 13px;white-space:nowrap;background:#222222;border:1px solid #420d0f;color:#c5c5c5}.chip.active{color:white;background:#b640434d;border-color:#ff595d}.searchbox{display:flex;align-items:center;gap:10px;padding:0 12px;background:#1d1d1d;border:1px solid #3c0c0d;border-radius:13px}.searchbox svg{color:#9c9c9c}.searchbox input{width:100%;border:0;background:transparent;padding:12px 0;box-shadow:none!important}.rightcard{background:#1d1d1d;border:1px solid #3c0c0d;border-radius:18px;padding:17px;margin-bottom:17px}.rightcard h3{font-size:15px}.suggestion{display:flex;gap:9px;align-items:center;margin-top:15px}.suggestion .info{min-width:0;flex:1}.suggestion .info b{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px}.suggestion .info small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.spectrum{display:flex;gap:8px;flex-wrap:wrap}.tag{font-size:11px;border-radius:8px;background:#430e0f;padding:5px 8px;color:#cdcdcd}.spot-banner{padding:16px;border-radius:15px;background:linear-gradient(140deg,#4a0f11,#772a2c);border:1px solid #903235}.listrow{display:flex;gap:12px;align-items:center;padding:13px;border-radius:13px;border-bottom:1px solid #370b0c;cursor:pointer}.listrow:hover,.listrow.selected{background:#340b0c}.listrow .info{flex:1;min-width:0}.listrow .info b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.listrow .info small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.listrow .end{align-self:flex-start;font-size:11px;color:#959595}.unread{padding:2px 7px;background:var(--accent);border-radius:10px;color:white;font-size:11px;font-weight:700}.chats-layout{display:grid;grid-template-columns:minmax(210px,.85fr) minmax(270px,1.5fr);height:min(75vh,770px);min-height:500px;border-radius:20px;overflow:hidden;border:1px solid var(--line);background:#171717}.chat-list{border-right:1px solid #360b0c;overflow:auto}.chat-list-title{padding:18px;border-bottom:1px solid #360b0c}.chat-pane{min-width:0;display:flex;flex-direction:column;background:radial-gradient(circle at 50% 100%,#5a121421,transparent 50%),#151515}.chat-header{display:flex;align-items:center;gap:9px;padding:13px 17px;border-bottom:1px solid #360b0c;background:#1c1c1c}.chat-body{overflow:auto;flex:1;padding:18px;display:flex;flex-direction:column;gap:11px}.bubble{max-width:82%;align-self:flex-start;display:block;background:#370b0c;border-radius:17px 17px 17px 4px;padding:10px 13px;overflow-wrap:anywhere}.bubble.mine{align-self:flex-end;background:#ac3c3f;border-radius:17px 17px 4px 17px;color:white}.bubble .sender{color:#dadada;font-size:11px;font-weight:650;margin-bottom:3px}.bubble .stamp{font-size:10px;text-align:right;opacity:.72;padding-top:4px}.bubble img,.bubble video{display:block;max-width:100%;max-height:260px;border-radius:11px}.bubble.deleted{opacity:.65;font-style:italic}.bubble .bubble-actions{display:none;gap:6px;padding:5px 0 0}.bubble:hover .bubble-actions,.bubble:focus-within .bubble-actions{display:flex}.bubble-actions button{background:#ffffff15;border:0;border-radius:7px;font-size:11px;padding:3px 6px}.reply-ref{padding:5px 7px;background:#ffffff10;border-left:3px solid #ff595d;font-size:11px;opacity:.8;border-radius:6px}.composer-chat{padding:11px;border-top:1px solid #360b0c;display:flex;align-items:center;gap:8px}.composer-chat input{flex:1;border-radius:20px}.typing{font-size:11px;color:#ff595d}.empty{display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;gap:10px;height:100%;padding:25px}.empty .illustr{font-size:44px}.empty h3{margin:0}.empty p{max-width:280px}.mobile-back{display:none}.market-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.product-card{padding:0;overflow:hidden}.product-visual{height:170px;background:linear-gradient(135deg,#571214,#370b0c);display:flex;align-items:center;justify-content:center;position:relative;font-size:64px}.product-visual img{width:100%;height:100%;object-fit:cover}.save-heart{position:absolute;top:11px;right:11px;background:#131313ba;border:1px solid #ffffff44;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}.product-details{padding:15px}.product-details h3{margin-bottom:4px}.price{font-size:20px;font-weight:850;color:white;letter-spacing:-.5px}.category-label{font-size:11px;color:#aeaeae}.product-actions{display:flex;gap:8px;margin-top:14px}.product-actions button{flex:1}.orders-list .listrow{background:#1d1d1d;border:1px solid #3c0c0e;margin-bottom:9px}.profile-banner{background:linear-gradient(110deg,#a4393c,#3d0c0e,#782a2c);height:115px;border-radius:17px;position:relative;margin-bottom:46px}.profile-avatar{position:absolute;left:23px;bottom:-34px;border:4px solid var(--panel);border-radius:50%}.profile-info{padding:0 7px}.profile-info h2{margin-bottom:0}.profile-actions{display:flex;gap:9px;flex-wrap:wrap;margin:17px 0}.profile-stats{display:flex;gap:28px}.profile-stats b{display:block;font-size:18px}.settings-group{display:grid;grid-template-columns:1fr 1fr;gap:14px}.setting-row{display:flex;align-items:center;gap:11px;padding:14px;background:#222222;border:1px solid #3b0c0d;border-radius:14px}.setting-row .info{flex:1}.setting-row b{display:block}.setting-row small{font-size:11px;display:block}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.form-field label{font-size:12px;font-weight:650;color:#d8d8d8}.form-field textarea,.form-field input,.form-field select{width:100%}.form-full{grid-column:1/-1}.modal-cover{position:fixed;inset:0;z-index:50;background:#080808d9;backdrop-filter:blur(5px);display:grid;place-items:center;padding:12px}.modal{background:#1f1f1f;border:1px solid #4e1012;border-radius:22px;padding:24px;width:min(520px,96vw);max-height:min(90vh,800px);overflow:auto;box-shadow:var(--shadow)}.modal h2{font-size:21px}.modal-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:18px}.modal-head h2{margin:0}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;flex-wrap:wrap}.picked{border:1px dashed #a0383a;padding:12px;border-radius:12px;margin:12px 0;display:flex;align-items:center;gap:11px}.picked img,.picked video{width:86px;height:70px;object-fit:cover;border-radius:9px}.error-text{color:#ff595d}.success-text{color:var(--mint)}#toast{position:fixed;bottom:25px;right:24px;z-index:99;background:#3c0c0d;color:white;padding:12px 18px;border-radius:12px;border:1px solid #782a2c;box-shadow:var(--shadow);opacity:0;pointer-events:none;transform:translateY(10px);transition:.25s}#toast.show{opacity:1;transform:translateY(0)}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:radial-gradient(circle at 2% 80%,#4f101255,transparent 40%),#0e0e0e}.auth-left{padding:clamp(25px,5vw,80px);position:relative;overflow:hidden;background:radial-gradient(circle at 70% 50%,#ff595d30,transparent 48%);display:flex;flex-direction:column;justify-content:space-between}.auth-left .brandtext{font-size:22px}.auth-left .brandmark{width:48px;height:48px}.auth-hero h1{font-size:clamp(36px,5.1vw,72px);font-weight:900;letter-spacing:-3px;line-height:1.05;max-width:580px;margin:50px 0 16px}.gradient-text{background:linear-gradient(100deg,#ff595d,#f8575b,#dc4d50);background-clip:text;color:transparent}.auth-hero p{max-width:460px;font-size:17px}.auth-bubble-row{display:flex;margin:30px 0;align-items:center;gap:12px}.auth-bubble{padding:15px 19px;background:#ffffff15;border:1px solid #ffffff25;border-radius:19px;box-shadow:0 13px 32px #00000033}.auth-bubble:nth-child(2){transform:translateY(28px)}.auth-bubble:nth-child(3){transform:translateY(-18px)}.auth-right{display:grid;place-items:center;padding:25px}.auth-form{width:min(420px,100%);padding:30px;background:#1c1c1c;border-radius:24px;border:1px solid #420d0f;box-shadow:var(--shadow)}.auth-form h2{font-size:28px}.auth-form .form-field{margin:13px 0}.auth-form .primary{width:100%;padding:14px;margin-top:13px}.auth-foot{padding:24px 0 0;text-align:center;font-size:12px;color:#919191}.mobile-top,.bottom-nav{display:none}.workspace-pill{display:inline-flex;gap:7px;align-items:center;border-radius:22px;border:1px solid #571214;padding:8px 11px;color:#d5d5d5;font-size:11px;font-weight:650}.workspace-pill i{height:8px;width:8px;border-radius:50%;background:var(--tenant,var(--accent))}.capsule{display:inline-block;padding:3px 8px;border-radius:7px;background:#521113;color:#ff595d;font-size:10px;letter-spacing:.5px;text-transform:uppercase;font-weight:750}.divider{border:0;border-top:1px solid #3f0d0e;margin:14px 0}.hint{padding:11px 13px;border-radius:12px;background:#420d0f5c;border:1px solid #76292b;font-size:12px;color:#cecece}.promo{background:linear-gradient(135deg,#3c0c0d,#571214);border:1px solid #5d1315;border-radius:14px;padding:14px}.notice-dot{width:7px;height:7px;border-radius:50%;display:inline-block;background:#ff595d}.message-preview{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.floating-new{position:fixed;bottom:105px;right:22px;z-index:10;width:52px;height:52px;border:0;border-radius:18px;background:linear-gradient(140deg,#ff595d,#f8575b);box-shadow:0 12px 30px #f5565a66;color:white;display:none;place-items:center}
@media(max-width:1250px){.app-grid{grid-template-columns:225px minmax(0,1fr) 232px}.sidebar{padding:22px 11px}.content{padding:25px 20px}.rightpanel{padding:24px 13px}.hero{grid-template-columns:1fr .4fr}.hero h2{font-size:25px}}
@media(max-width:1050px){.app-grid{grid-template-columns:220px minmax(0,1fr)}.rightpanel{display:none}.content{padding:24px clamp(16px,3vw,35px)}.chats-layout{grid-template-columns:minmax(190px,.85fr) minmax(270px,1.5fr)}}
@media(max-width:650px){.app-grid{display:block}.sidebar,.rightpanel{display:none}.content{height:auto;min-height:100vh;padding:82px 14px 107px}.mobile-top{position:fixed;z-index:25;top:0;left:0;right:0;height:66px;display:flex;align-items:center;justify-content:space-between;padding:10px 15px;background:#151515ed;backdrop-filter:blur(18px);border-bottom:1px solid #360b0c}.mobile-top .brandmark{height:34px;width:34px;border-radius:12px;font-size:22px}.mobile-top .brandtext{font-size:16px}.mobile-top .headline-actions{gap:5px}.mobile-top .icon-btn{width:37px;height:37px}.bottom-nav{display:flex;position:fixed;z-index:25;bottom:0;left:0;right:0;justify-content:space-around;align-items:center;background:#1a1a1af5;backdrop-filter:blur(18px);padding:8px 7px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #430e0f}.bottom-nav .nav-item{display:flex;width:auto;min-width:55px;padding:5px 8px;gap:2px;flex-direction:column;align-items:center;justify-content:center;border-radius:12px;font-size:10px}.bottom-nav .nav-item svg{width:20px;height:20px}.bottom-nav .nav-item.active{box-shadow:none;background:#ce484b32}.page-title{font-size:25px}.main-header{margin-bottom:17px}.main-header .headline-actions{gap:5px}.main-header .headline-actions .workspace-pill{display:none}.hero{padding:19px 18px;min-height:166px;grid-template-columns:1fr .23fr}.hero h2{font-size:23px;max-width:295px}.hero p{font-size:12px;max-width:260px}.hero-art{opacity:.6}.orbit-center{width:59px;height:59px;font-size:30px}.orb.a{width:35px;height:35px;font-size:18px}.orb.b{width:29px;height:29px;font-size:16px}.orb.c{display:none}.stats{gap:7px}.stat{padding:11px 10px}.stat b{font-size:21px}.stat span{font-size:11px}.card{padding:15px;margin-bottom:14px}.sec-head{margin:22px 0 13px}.market-grid{gap:10px}.product-visual{height:145px}.product-details{padding:11px}.product-details h3{font-size:14px}.price{font-size:17px}.product-actions{flex-direction:column}.product-actions .tiny{padding:7px 10px}.settings-group,.form-grid{grid-template-columns:1fr}.form-full{grid-column:auto}.chats-layout{display:block;border:0;border-radius:0;height:calc(100dvh - 160px);min-height:450px;background:transparent}.chat-list{border:0;height:100%}.chat-pane{height:100%;border:1px solid var(--line);border-radius:16px;overflow:hidden}.chats-layout.has-chat .chat-list{display:none}.chats-layout:not(.has-chat) .chat-pane{display:none}.mobile-back{display:grid}.bubble{max-width:88%}.auth-page{display:block;min-height:100vh}.auth-left{padding:26px 22px 10px;min-height:285px}.auth-left .auth-hero h1{margin:28px 0 10px;font-size:34px;letter-spacing:-1.5px}.auth-left .auth-hero p{font-size:13px}.auth-bubble-row,.auth-left .auth-foot{display:none}.auth-right{padding:15px 14px 30px}.auth-form{padding:22px}.floating-new{display:grid}.modal{padding:20px}.story-row{gap:9px}.story{width:62px}.post-toolbar{gap:15px}}

/* Chatyo · red / black / white design layer */
body{background:#09090a;color:#fff}
.brandmark{padding:0!important;background:#101113!important;border:1px solid #4d1119!important;box-shadow:0 6px 22px #eb233333!important;overflow:hidden;display:grid;place-items:center}
.brandmark img{display:block;width:100%;height:100%;object-fit:contain}
.brandtext{color:#fff;font-weight:880;letter-spacing:-.65px}
.brandtext span{font-weight:880;color:#f32934}
.primary{background:linear-gradient(135deg,#ff3945,#d91429);box-shadow:0 9px 28px #f3293432;color:#fff}
.primary:hover{background:linear-gradient(135deg,#ff505c,#ed1c31)}
.nav-item.active{background:linear-gradient(90deg,#f3293425,#f3293404);box-shadow:inset 3px 0 0 #f32934}
.nav-item.active svg,.top-eyebrow,.link-btn{color:#ff535c}
.hero{background:radial-gradient(circle at 88% 23%,#93212c8c,transparent 49%),linear-gradient(130deg,#2b1217,#101113);border-color:#722631}
.hero h2{color:#fff}.hero p{color:#d4c4c6}
.gradient-text{background:linear-gradient(105deg,#ffffff 2%,#ff5864 68%,#f32934);background-clip:text;color:transparent}
.story-ring{background:linear-gradient(40deg,#8a0e1c,#ff4f5a,#e32635)}
.orbit-center{overflow:hidden;background:#111114;border:1px solid #ef303e;box-shadow:0 0 45px #f3293444}
.orbit-center img{width:100%;height:100%;object-fit:cover}
.avatar{background:linear-gradient(135deg,#f32934,#6b161f)}
.auth-page{background:#09090a}.auth-left{background:radial-gradient(circle at 80% 48%,#b2172d55,transparent 49%),#0c0b0d}
.auth-form{background:#161719;border-color:#343437}.auth-right{background:#0b0b0d}
input,textarea,select{background:#1b1c1f;color:#fff;border-color:#393a40}
input:focus,textarea:focus,select:focus{border-color:#f32934;box-shadow:0 0 0 3px #f3293425}
::placeholder{color:#99999d}
.chat-pane,.sidebar,.rightpanel{background:#111214}
.card,.rightcard{background:#161719;border-color:#313135}
.profile-banner{background:linear-gradient(110deg,#b92331,#2c1118,#191a1d)}
.chip.active{background:#f3293430;border-color:#e73342;color:#fff}
.chip:hover,.secondary:hover{border-color:#f32934}
.workspace-pill{color:#f5dade;border-color:#693039}
.workspace-pill i{background:var(--tenant-accent)}
.floating-new{background:linear-gradient(140deg,#ff4b52,#da182c);box-shadow:0 12px 30px #b30e2044}
.bottom-nav .nav-item.active{background:#f3293426}
#toast{background:#262022;border-color:#76232e}
:focus-visible{outline:2px solid #ff5a65;outline-offset:2px}
@media(max-width:650px){.mobile-top{background:#111214ef}.bottom-nav{background:#111214f7}.hero-art{opacity:.75}}

/* The official user-supplied circular Chatyo badge (rather than the interim vector). */
.splash .brandmark{width:88px;height:88px;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:50%!important}
.splash .brandmark img{width:100%;height:100%;object-fit:contain}
.logo .brandmark{border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important}
.brandmark img{border-radius:50%}
.logo{min-height:44px}
/* Unified Inbox · platform-aware, local label/pin/star/folder management */
.inbox-banner{background:linear-gradient(105deg,#1f171a,#141517 70%);border:1px solid #603139;border-radius:17px;padding:14px 18px;display:grid;gap:13px;margin-bottom:16px}
.inbox-banner-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.inbox-banner-title b{font-size:14px}
.inbox-banner-title small{color:#b3aeb0;margin-left:auto;font-size:12px}
.inbox-live-dot{width:9px;height:9px;background:#4bdfa5;border-radius:50%;box-shadow:0 0 12px #4bdfa569}
.inbox-connectors{display:flex;gap:8px;overflow-x:auto;padding:1px 0 3px}
.inbox-provider{background:#18191c;border:1px solid #39373b;border-radius:10px;padding:8px 10px;white-space:nowrap;display:flex;align-items:center;gap:7px;color:#e7e2e3;cursor:pointer;font-size:12px}
.inbox-provider:hover{border-color:#f32934}
.inbox-provider small{font-size:10px;color:#f69a9f;background:#4c1c22;border-radius:6px;padding:2px 6px}
.provider-dot{height:12px;width:12px;display:inline-flex;flex:0 0 12px;background:#f32934;border-radius:4px}
.provider-dot.whatsapp{background:#24c860;border-radius:50%}
.provider-dot.instagram{background:linear-gradient(140deg,#744ada,#f33d6c,#f7c05e);border-radius:4px}
.provider-dot.messenger{background:#148bfa;border-radius:50%}
.provider-dot.telegram{background:#29a7df;border-radius:50%}
.inbox-topline{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px;flex-wrap:wrap}
.inbox-filters{display:flex;gap:6px;overflow-x:auto;min-width:0}
.inbox-filter{color:#ccc2c4;font-size:12px;font-weight:650;background:transparent;border:1px solid transparent;border-radius:10px;padding:9px 11px;cursor:pointer;white-space:nowrap}
.inbox-filter.selected{background:#f329342b;color:#fff;border-color:#c333426a}
.inbox-filter:hover{border-color:#a33843}
.inbox-queries{display:grid;grid-template-columns:minmax(175px,1fr) 140px 140px;gap:8px;margin-bottom:14px}
.inbox-search{border:1px solid #3c3a3d;background:#17181a;border-radius:10px;display:flex;align-items:center;gap:7px;padding:0 10px;min-width:0}
.inbox-search input{border:0;background:none;box-shadow:none!important;padding:10px 2px;flex:1;width:100%;min-width:0;font-size:12px}
.inbox-queries select{background:#18191b;border:1px solid #414044;border-radius:10px;padding:8px;color:white;font-size:12px;min-width:0}
.inbox-thread{border-bottom:1px solid #303034;transition:background .2s}
.inbox-thread.chosen{background:#55182466}
.inbox-thread:hover{background:#262024}
.inbox-thread-main{display:flex;width:100%;text-align:left;border:0!important;background:transparent!important;gap:10px;padding:12px 12px 7px!important;cursor:pointer}
.inbox-thread-main .info{flex:1;min-width:0}
.inbox-thread-main .info b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inbox-thread-main .info small{display:block;margin-top:4px}
.inbox-thread-main .end{display:flex;align-items:flex-end;flex-direction:column;gap:5px;white-space:nowrap;min-width:37px;font-size:11px}
.inbox-tools{display:flex;gap:2px;justify-content:flex-end;padding:0 10px 7px}
.inbox-tools button{background:transparent;border:0;color:#aaa3a8;cursor:pointer;padding:5px 6px;border-radius:6px;display:grid;place-items:center;min-width:23px;height:27px;font-size:18px}
.inbox-tools button:hover,.inbox-tools button.set{color:#ff5865;background:#f3293420}
.inbox-tools button svg{width:15px;height:15px}
.inbox-tagrow{display:flex;gap:4px;flex-wrap:wrap;margin-top:7px}
.inbox-source,.inbox-folder,.inbox-label{display:inline-flex;align-items:center;font-size:10px;font-weight:650;line-height:1.3;padding:3px 7px;border-radius:6px}
.inbox-source{background:#521d25;color:#ffc3c7}
.inbox-folder{background:#343437;color:#dbdce0}
.inbox-label{background:color-mix(in srgb,var(--label-color,#f32934) 22%,#18191b);border:1px solid color-mix(in srgb,var(--label-color,#f32934) 50%,#18191b);color:#fff}
.inbox-modal-intro{border:1px solid #5e353b;background:#2c171b;padding:12px;border-radius:12px;font-size:12px;line-height:1.5;margin-bottom:15px;color:#f3d9dc}
.inbox-connection-row{padding:12px 0;border-bottom:1px solid #343235;display:flex;align-items:center;gap:12px}
.inbox-connection-row .info{flex:1;min-width:0}
.inbox-connection-row .info b{display:block;font-size:13px}
.inbox-connection-row .info small{display:block;font-size:11px;color:#aaa;margin-top:3px}
.inbox-status{font-size:10px;font-weight:750;border:1px solid #71343c;padding:5px 8px;border-radius:20px;color:#ff9ca6;white-space:nowrap}
.inbox-status.ok{color:#75e6b4;border-color:#28694f}
.inbox-label-manager{margin-top:20px;max-height:240px;overflow:auto}
.inbox-label-manage-row{display:flex;align-items:center;justify-content:space-between;padding:9px;border-bottom:1px solid #353335}
.inbox-checkbox-row{padding:13px 8px;display:flex;gap:12px;align-items:center;border-bottom:1px solid #363437;cursor:pointer}
.inbox-checkbox-row input{width:17px;height:17px;accent-color:#f32934}
@media(max-width:890px){.inbox-queries{grid-template-columns:minmax(160px,1fr) 120px}.inbox-queries select:last-child{grid-column:2}.inbox-search{grid-row:span 2}.inbox-banner-title small{margin-left:0}}
@media(max-width:650px){.inbox-banner{padding:12px}.inbox-topline{align-items:flex-start;gap:5px}.inbox-filters{width:100%;gap:2px}.inbox-filter{padding:9px 8px;font-size:11px}.inbox-queries{grid-template-columns:1fr 1fr}.inbox-search{grid-column:span 2;grid-row:auto}.inbox-queries select:last-child{grid-column:auto}.inbox-provider{padding:7px 8px}.inbox-thread-main{padding:12px 8px 7px!important}.inbox-tools{padding-right:5px}.inbox-status{max-width:105px;text-align:center;white-space:normal}.main-header .headline-actions{flex-wrap:wrap}}
/* Chatyo v0.5: external-account controls & source-aware threads */
.connector-section-title{font-size:13px;font-weight:800;color:#fff;letter-spacing:.02em;margin:20px 0 10px}
.connector-form{padding:14px;border:1px solid #373136;background:#171618;border-radius:13px;margin-bottom:14px}
.connector-form .form-field{margin:0 0 12px}
.connector-form .form-field label{display:block;font-size:11px;color:#e0d5d7;margin-bottom:6px}
.connector-form .form-field input{width:100%;max-width:100%}
.connector-form p.hint{font-size:11px;line-height:1.5;margin:12px 0 0;color:#a9a4a8}
.inbox-connection-row .secondary,.inbox-connection-row .link-btn{white-space:nowrap}
.inbox-source.telegram{background:#163546;color:#91dfff}
.inbox-source.whatsapp{background:#183c2b;color:#7ee4ad}
.external-avatar.telegram{background:#143446;color:#73caef}
.external-avatar.whatsapp{background:#123d2a;color:#8df0b3}
.external-disclaimer{padding:8px 14px;color:#ada5ab;font-size:11px;line-height:1.4;border-top:1px solid #312d31}
@media(max-width:650px){.connector-form{padding:10px}.inbox-connection-row{flex-wrap:wrap}.inbox-connection-row .info{flex-basis:65%}}

/* Separate native, WhatsApp, and multiple Telegram/WhatsApp accounts. */
.inbox-queries{grid-template-columns:minmax(140px,1fr) 116px 116px 155px}
@media(max-width:1040px){.inbox-queries{grid-template-columns:minmax(150px,1fr) repeat(3,minmax(93px,120px))}}
@media(max-width:730px){.inbox-queries{grid-template-columns:repeat(3,minmax(0,1fr))}.inbox-search{grid-column:span 3;grid-row:auto}.inbox-queries select:last-child{grid-column:auto}}
@media(max-width:440px){.inbox-queries{grid-template-columns:repeat(2,minmax(0,1fr))}.inbox-search{grid-column:span 2}.inbox-queries select:last-child{grid-column:span 2}}

/* Chatyo v0.6 — Connected Social. Native dark/white/red design. */
.social-bridge-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px;margin-bottom:18px;border:1px solid rgba(243,41,52,.32);border-radius:20px;background:linear-gradient(115deg,#1b1318 0%,#151518 64%,#261012 100%)}
.social-bridge-bar .capsule{font-size:10px;text-transform:uppercase;margin-bottom:9px;display:inline-block;color:#ff6974;letter-spacing:.12em}
.social-bridge-bar h3{margin:0 0 6px;font-size:18px;color:#fff}
.social-bridge-bar p{margin:0;font-size:12px;color:#b6afbb;max-width:400px;line-height:1.55}
.social-bridge-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.social-bridge-actions button{white-space:nowrap}
.social-feed-filters{display:flex;gap:6px;overflow-x:auto;margin:13px 0 20px;padding-bottom:5px;scrollbar-width:thin}
.social-feed-filters .inbox-filter{flex:none}
.social-credit{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#ff6d78;font-size:11px;font-weight:700;letter-spacing:.01em;margin:7px 0 12px}
.social-credit span{font-weight:400;color:#b8b8bb}
.social-embed{position:relative;background:#0a0a0b;aspect-ratio:16/9;border-radius:14px;overflow:hidden;width:100%;margin-top:12px;border:1px solid #303033}
.social-embed iframe{display:block;width:100%;height:100%;border:0}
.social-link-card{display:flex;align-items:center;gap:14px;border:1px solid #353136;border-radius:14px;padding:14px;margin:12px 0;background:#1b1b1f;color:#f9f9f9;text-decoration:none;min-height:112px}
.social-link-card:hover{border-color:#f32934;background:#241d21}
.social-link-card>img,.social-link-placeholder{object-fit:cover;width:110px;height:95px;border-radius:9px;background:#30181c;flex:none}
.social-link-placeholder{display:grid;place-items:center;color:#ff4956}
.social-link-card>div:nth-last-child(2){display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}
.social-link-card small{font-size:11px;color:#aeb0b8}
.social-link-card b{font-size:14px}
.social-connected-list{display:grid;gap:9px;margin:16px 0 22px}
.social-account,.social-provider-row{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #343037;border-radius:14px;background:#19191c}
.social-account-icon{display:grid;place-items:center;border-radius:12px;width:40px;height:40px;flex:none;background:linear-gradient(140deg,#ff2d43,#8c111e);color:#fff;font-size:20px;font-weight:900}
.social-account .info,.social-provider-row>div{flex:1;min-width:0;display:grid;gap:5px}
.social-account .info b,.social-provider-row b{font-size:13px;color:#fff;overflow-wrap:anywhere}
.social-account .info small,.social-provider-row small{font-size:11px;color:#a4a5ae;overflow-wrap:anywhere}
.social-account .info .social-account-error{color:#ff6f79}
.social-account-buttons{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.social-provider-row{margin:8px 0}
@media(max-width:780px){.social-bridge-bar{align-items:stretch;flex-direction:column;padding:15px;gap:12px}.social-bridge-actions{justify-content:flex-start}.social-account{align-items:flex-start;flex-wrap:wrap}.social-account-buttons{width:100%;justify-content:flex-start;padding-left:52px}.social-link-card>img,.social-link-placeholder{width:86px;height:83px}}

.social-embed.instagram,.social-embed.vertical{aspect-ratio:3/4;max-width:430px;margin-left:auto;margin-right:auto;background:#fff}
.social-provider-fallback{text-align:center;font-size:12px;margin-top:8px}
.social-provider-fallback a{color:#ff6b77;display:inline-flex;gap:5px;align-items:center;text-decoration:none}

/* Chatyo v0.6.1: YouTube thumbnail-first playback and graceful restricted-embed fallback */
.youtube-card{background:linear-gradient(135deg,#231015,#0b0b0d 70%);color:#fff;isolation:isolate}
.youtube-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.58}
.youtube-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,rgba(0,0,0,.86),rgba(0,0,0,.12) 65%);display:flex;flex-direction:column;gap:13px;align-items:center;justify-content:center;text-align:center;padding:20px}
.youtube-provider{display:flex;align-items:center;gap:7px;font-weight:800;letter-spacing:.01em;text-shadow:0 1px 4px #000}
.youtube-provider svg{color:#fb374c}
.youtube-play{appearance:none;display:flex;align-items:center;gap:9px;padding:13px 22px;background:#f32934;color:#fff;border:none;border-radius:999px;cursor:pointer;font:inherit;font-weight:800;box-shadow:0 8px 30px rgba(243,41,52,.3)}
.youtube-play:hover{background:#ff4956;transform:translateY(-1px)}
.youtube-play:focus-visible,.youtube-external-link:focus-visible,.youtube-floating-external:focus-visible{outline:2px solid #fff;outline-offset:3px}
.youtube-play:disabled{opacity:.75;cursor:wait}
.youtube-external-link{display:inline-flex;align-items:center;gap:6px;color:#fff;text-decoration:none;font-size:13px;font-weight:750;background:rgba(255,255,255,.13);padding:10px 15px;border:1px solid rgba(255,255,255,.25);border-radius:999px}
.youtube-external-link:hover{background:rgba(255,255,255,.21)}
.youtube-floating-external{position:absolute;z-index:4;right:9px;top:9px;display:none;align-items:center;gap:5px;border-radius:100px;padding:6px 10px;background:rgba(15,15,16,.88);color:#fff;font-size:11px;text-decoration:none;box-shadow:0 2px 12px rgba(0,0,0,.4)}
.youtube-card.playing .youtube-floating-external{display:inline-flex}
.youtube-card.playing .youtube-overlay,.youtube-card.playing .youtube-poster{display:none}
.youtube-player-slot,.youtube-card>iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.youtube-unavailable{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;text-align:center;padding:23px;background:radial-gradient(circle at 50% 20%,#42131e,#0b0b0d 72%)}
.youtube-unavailable-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:50%;background:#dc2434}
.youtube-unavailable b{font-size:18px;line-height:1.2}
.youtube-unavailable p{color:#c5bfc2;max-width:390px;font-size:12px;line-height:1.55;margin:0}
@media(max-width:560px){.youtube-overlay{gap:8px;padding:11px}.youtube-play{padding:10px 15px;font-size:12px}.youtube-external-link{padding:8px 11px;font-size:11px}.youtube-unavailable{padding:14px;gap:7px}.youtube-unavailable b{font-size:15px}.youtube-unavailable p{font-size:11px}}

/* Chatyo v0.7 — multi-platform inbox polish and accessible controls */
.external-avatar.instagram{background:linear-gradient(130deg,#9b3ab4,#ff385f,#ffbb60)}
.external-avatar.messenger{background:linear-gradient(130deg,#146cfa,#39b7ff)}
.inbox-connection-row .info small{overflow-wrap:anywhere}
.connector-form input[type=password]{width:100%}
.nav-item,.inbox-thread-main,.inbox-tools button{touch-action:manipulation}
@media(max-width:650px){.bottom-nav .nav-item{min-height:55px}.inbox-thread .inbox-tools button{min-width:35px;height:31px}.inbox-queries select{min-height:41px}.page-title{font-size:26px}}

/* Stable full-height desktop shell, independently scrolling panels */
@media(min-width:901px){html,body{height:100%;overflow:hidden}.app-grid{height:100dvh;min-height:0}.sidebar{height:100dvh;overflow:hidden}.app-nav{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#4b242b transparent}.content,.rightpanel{height:100dvh}}
/* Chatyo v0.8 · Voices & moderated Discussion Rooms */
.community-home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 20px}
.community-home-card{display:flex;align-items:flex-start;flex-direction:column;text-align:left;gap:4px;padding:16px;border:1px solid #5f2630;border-radius:16px;background:linear-gradient(145deg,#281619,#17181a);min-width:0}
.community-home-card>span{font-size:27px}.community-home-card b{font-size:15px}.community-home-card small{font-size:12px}.community-home-card:hover{border-color:#ef3b48;transform:translateY(-1px)}
.voice-hero,.room-intro{position:relative;overflow:hidden;background:linear-gradient(110deg,#291116,#19191d 74%);border-color:#74232e;padding:25px}
.voice-hero{display:flex;justify-content:space-between;align-items:center;gap:12px}.voice-hero h2{font-size:28px;margin:9px 0 10px}.voice-hero p,.room-intro p{max-width:640px}
.voice-hero-icon{font-size:75px;opacity:.5;filter:drop-shadow(0 0 16px #f329347a)}.room-intro h2{margin:10px 0}
.voice-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:15px 0 5px}.voice-actions button{display:inline-flex;align-items:center;gap:7px}
.community-tools{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:18px 0;flex-wrap:wrap}.community-tools .searchbox{flex:1;min-width:200px;border:1px solid #393b41;border-radius:12px;background:#18191c;display:flex;align-items:center;padding:0 10px;gap:8px}.community-tools input{border:0;background:transparent;box-shadow:none!important;width:100%;padding:11px 4px}
.voice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.voice-grid .card{margin:0;min-width:0}
.voice-item,.room-item{min-height:230px;display:flex;flex-direction:column}.voice-item:hover,.room-item:hover{border-color:#92333f}.voice-item h3,.room-item h3{font-size:19px;line-height:1.26;margin:12px 0}.voice-item p,.room-item p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.voice-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:auto;padding-top:12px;color:#b7afb2;font-size:12px;border-top:1px solid #333136}.voice-item-bottom span{display:flex;gap:5px;align-items:center}.voice-item-bottom button{display:flex;align-items:center;gap:6px;flex-shrink:0}
.voice-status-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.voice-chip{font-size:11px;font-weight:750;border:1px solid #54323a;color:#ffc3c9;padding:5px 8px;border-radius:30px;background:#3b1c24}.voice-chip.open,.voice-chip.live{background:#2c1220;border-color:#b83343;color:#ff969e}.voice-chip.addressed{background:#193f32;border-color:#277258;color:#91e1ba}.voice-chip.closed,.voice-chip.ended{background:#242528;border-color:#494a50;color:#aaa}
.voice-goal-mini{font-size:12px;color:#e1d8dc;margin:5px 0 15px;overflow-wrap:anywhere}.voice-goal{background:#261a1d;border-left:3px solid #f32934;border-radius:10px;padding:12px 14px;margin:18px 0}.voice-goal p{margin:5px 0 0;white-space:pre-wrap;color:#ece0e3}.voice-description{white-space:pre-wrap;font-size:15px;line-height:1.7;color:#d7d4d5}.voice-source{color:#ff7b83;display:inline-flex;gap:8px;align-items:center;margin-top:3px;overflow-wrap:anywhere}.voice-private-note{font-size:12px;color:#d7afb3;display:flex;align-items:flex-start;gap:7px}.voice-owner-bar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;background:#23181a;padding:11px;border-radius:10px;margin-top:15px}
.community-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.community-columns .card{min-width:0}.community-columns textarea{width:100%;min-height:75px}.community-columns form{margin-bottom:14px}.community-columns form button{margin-top:8px}.voice-entry,.room-chat-item{border-top:1px solid #363235;padding:12px 0}.voice-entry p,.room-chat-item p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0;color:#dad7d8}.voice-entry small,.room-chat-item small{color:#9a9296}
.room-item-icon{font-size:31px;margin:10px 0 0}.room-stage{background:linear-gradient(132deg,#241115,#171719 70%);border-color:#62313d}.room-stage h2{font-size:25px;margin:13px 0 6px;overflow-wrap:anywhere}.room-audio-panel{background:#101114;border:1px solid #63333e;border-radius:13px;padding:14px;margin-top:15px}.room-audio-panel b,.room-audio-panel small{display:block}.room-audio-panel small{color:#ae9ba1;margin-top:4px}.room-audio-panel .hint{color:#c9aab2}
.room-member-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #343438;padding:10px 0;min-width:0}.room-member-row .info{flex:1;min-width:0}.room-member-row b{font-size:12px;overflow-wrap:anywhere}.room-member-row small{display:block;font-size:11px;color:#aaa}.room-member-row button{max-width:130px;white-space:normal;line-height:1.3}
.room-chat-list{max-height:440px;overflow:auto;scrollbar-color:#571a23 transparent}.room-chat-item b{margin-right:8px}.room-discussion form{display:flex;gap:8px}.room-discussion form input{flex:1;width:100%;min-width:0}.room-discussion form button{margin:0}
@media(max-width:860px){.voice-grid,.community-columns{grid-template-columns:1fr}.voice-item{min-height:200px}.voice-hero-icon{font-size:48px}}
@media(max-width:650px){.voice-hero{padding:17px}.voice-hero h2{font-size:24px}.voice-hero-icon{display:none}.voice-actions button{font-size:12px;padding:10px}.voice-grid{gap:9px}.room-discussion form{flex-wrap:wrap}.room-discussion form button{width:100%}.community-tools{margin:12px 0}.community-home-actions{gap:8px}.community-home-card{padding:11px}.community-home-card b{font-size:13px}.community-home-card small{font-size:11px}.bottom-nav{overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.bottom-nav .nav-item{flex:0 0 57px;min-width:57px;padding:9px 2px}.bottom-nav .nav-item span{font-size:9px;white-space:nowrap;letter-spacing:-.3px}.content{padding-bottom:100px}}

/* Keep desktop workspace switcher reachable as more project modules are added. */
@media(min-width:651px){.sidebar .app-nav{flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-color:#69252e transparent;padding-right:3px}.sidebar .spacer{flex:0 0 10px}.sidebar .workspace-button{flex-shrink:0}.sidebar .sidebar-foot{flex-shrink:0}}

/* Chatyo 0.9: private civic polls, meeting RSVPs, scheduled rooms */
.civic-extras{margin:16px 0 18px}
.civic-extras .card{min-width:0}
.civic-extras .line-between{gap:8px;flex-wrap:wrap}
.civic-tile{padding:14px;margin:13px 0;border:1px solid #393237;background:#19191c;border-radius:14px}
.civic-tile h4{font-size:15px;line-height:1.4;margin:0 0 9px;color:#faf9fa}
.civic-tile p{font-size:13px;line-height:1.6;color:#c9c7cb}
.civic-options{display:grid;gap:8px;margin:10px 0}
.civic-option{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;text-align:left;gap:7px;min-height:50px;padding:10px 11px;border:1px solid #3c353b;background:#242125;border-radius:12px;color:#f5f4f5;font:inherit;font-size:12px;cursor:pointer}
.civic-option:hover:not(:disabled),.civic-option.selected{border-color:#ff4352;background:#361c23}
.civic-option:disabled{opacity:.85;cursor:default}
.civic-option>span:nth-child(2){color:#c4babe}
.civic-meter{width:100%;height:5px;background:#44383e;border-radius:7px;overflow:hidden;display:block}
.civic-meter>i{height:100%;display:block;background:linear-gradient(90deg,#b41121,#ff4352);border-radius:7px}
.civic-meta{color:#f3bdc2!important;overflow-wrap:anywhere}
.voice-chip.scheduled{background:#332b1a;color:#ffe0aa}
@media(max-width:800px){.civic-tile{padding:12px}.civic-extras .card{padding:16px}.civic-option>span:first-child{width:100%}}
/* Chatyo v1.0: Classrooms + Ledger (responsive; consistent dark/red palette) */
.ll-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(120deg,#202024,#3b1018 74%,#151519);border:1px solid #4c242c;border-radius:21px;padding:24px;margin-bottom:20px}.ll-intro h2{font-size:clamp(21px,3vw,30px);margin:10px 0}.ll-intro p{max-width:570px;color:#d7c8cd;font-size:14px;line-height:1.6}.ll-intro small{color:#b9acb2}.ll-intro-icon{font-size:70px;filter:drop-shadow(0 15px 25px #151515)}
.ll-tabs,.ll-ledger-filters{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0 20px}.ll-tabs button,.ll-ledger-filters button{background:#1e1e22;color:#c5bfc5;border:1px solid #343238;border-radius:12px;padding:10px 15px;font:inherit;cursor:pointer}.ll-tabs button.selected,.ll-ledger-filters button.selected{background:#43111a;color:#fff;border-color:#e02b41}
.ll-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ll-course-card{border:1px solid #303035;border-radius:18px;overflow:hidden;background:#19191c;min-width:0}.ll-cover{height:165px;background:radial-gradient(circle at 65% 20%,#762031,#252124 75%);position:relative;display:flex;align-items:center;justify-content:center;color:#fff;font-size:60px}.ll-cover img{width:100%;height:100%;object-fit:cover}.ll-cover-badge{position:absolute;bottom:12px;left:12px;border-radius:9px;background:#0d0c0edc;padding:5px 9px;color:#ffd4dc;font-size:11px}.ll-course-body{padding:17px;display:grid;gap:11px}.ll-course-body h3{font-size:18px;line-height:1.3;margin:0}.ll-course-body p{color:#b7b3bc;margin:0;font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.ll-meta{color:#b5b4bd;font-size:12px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.ll-meta>span:not(.capsule){padding:4px 7px;border-radius:6px;background:#302a2e}.ll-course-detail{margin-bottom:24px}.ll-detail-head{display:flex;justify-content:space-between;gap:20px}.ll-detail-head h2{font-size:clamp(22px,3vw,30px);margin:12px 0}.ll-detail-head p{color:#c7c4c8;line-height:1.6}.ll-detail-head small{color:#999}.ll-detail-cover{width:210px;height:135px;object-fit:cover;border-radius:13px;flex-shrink:0}.ll-blank{display:grid;place-items:center;font-size:60px;background:#38131c}.ll-actions{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0 0}.ll-detail-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:18px}.ll-detail-columns>div>h3{margin:20px 0 12px}.ll-lesson,.ll-small-card{margin-bottom:12px}.ll-lesson h3,.ll-small-card h3{font-size:17px}.ll-notes{white-space:pre-wrap;line-height:1.7;color:#d4cfd2}.ll-muted{color:#b8afb6;font-size:12px;line-height:1.5}.ll-video-box{position:relative;aspect-ratio:16/9}.ll-video-box iframe{border:none;width:100%;height:100%;border-radius:13px}.ll-player{border-radius:13px;overflow:hidden;margin:12px 0;aspect-ratio:16/9;max-height:430px}.ll-external-link{padding:14px;border:1px solid #51242e;border-radius:11px}.ll-player a,.ll-external-link a,.ll-small-card a,.ll-lesson a{color:#ff7180}.ll-modal{max-width:600px}.ll-form{display:grid;gap:12px}.ll-form textarea,.ll-form input,.ll-form select{max-width:100%}.ll-form .form-field{margin:0}.ll-check{display:flex;align-items:flex-start;gap:10px;font-size:13px}.ll-check input{width:auto}.ll-quiz-builder-item{padding:15px;border:1px solid #493039;border-radius:12px;display:grid;gap:10px;margin-bottom:11px}.ll-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ll-choice-grid input{min-width:0}.ll-question{border:1px solid #38333b;border-radius:12px;padding:14px;margin-bottom:13px}.ll-question legend{font-weight:700;padding:0 7px}.ll-answer{display:block;padding:7px 0;font-size:13px}.ll-answer input{width:auto}.ll-certificate{text-align:center;border:3px double #bc3b50;border-radius:14px;background:linear-gradient(145deg,#272027,#101014);padding:32px 16px;margin:15px 0}.ll-certificate>span{color:#f15b6f;letter-spacing:.2em}.ll-certificate h2{margin:15px 0}.ll-certificate p{color:#c6bcc3}.ll-certificate small{display:block;line-height:1.5;overflow-wrap:anywhere}
.ll-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:15px 0 20px}.ll-metric{color:#fff;background:#1b1b1d;border:1px solid #45262d;border-radius:16px;padding:14px;text-align:left;display:flex;flex-direction:column;gap:10px;cursor:pointer;min-width:0;transition:border-color .2s}.ll-metric:hover,.ll-metric.ll-selected{border-color:#ef4154;background:#25191d}.ll-metric small{color:#aaa3a9;font-size:12px}.ll-metric b{font-size:clamp(17px,1.8vw,23px);overflow-wrap:anywhere}.ll-metric span{color:#f88493;font-size:11px}.ll-ledger-columns{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.55fr);gap:16px}.ll-ledger-columns .card{min-width:0}.ll-account-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #343036;gap:10px;padding:13px 0}.ll-account-row b{font-size:13px}.ll-account-row small{display:block;color:#aaa4ab;font-size:11px}.ll-contact-balance{text-align:right}.ll-entry-panel{overflow:hidden}.ll-select-label{display:flex;align-items:center;gap:12px;color:#ad9fa7;font-size:12px;margin:5px 0 15px}.ll-select-label select{flex:1;min-width:0}.ll-entry-list{max-height:640px;overflow-y:auto}.ll-entry{display:flex;gap:10px;align-items:center;padding:13px 0;border-top:1px solid #2c292e}.ll-entry-symbol{display:grid;place-items:center;border-radius:10px;width:35px;height:35px;flex-shrink:0;background:#4c2830;color:#fcb6be}.ll-entry-symbol.in{background:#15392a;color:#6ee1aa}.ll-entry-main{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.ll-entry-main b{text-transform:capitalize;font-size:13px}.ll-entry-main small{font-size:11px;color:#b1aab0;overflow-wrap:anywhere}.ll-entry-right{text-align:right;display:flex;flex-direction:column;gap:4px;align-items:end}.ll-entry-right b{white-space:nowrap}.ll-note{font-size:12px;color:#9f949b;line-height:1.5;margin-top:16px}
@media(max-width:1200px){.ll-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.ll-ledger-columns{grid-template-columns:1fr}}@media(max-width:800px){.ll-course-grid{grid-template-columns:1fr}.ll-detail-columns{grid-template-columns:1fr}.ll-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ll-detail-cover{width:135px;height:110px}.ll-intro{padding:17px}.ll-intro-icon{font-size:47px}.ll-entry-panel{padding:15px}}@media(max-width:440px){.ll-detail-head{flex-direction:column-reverse}.ll-detail-cover{width:100%;height:140px}.ll-metrics{gap:8px}.ll-metric{padding:12px 9px}.ll-metric b{font-size:17px}.ll-entry{gap:7px}.ll-entry-right b{font-size:12px}.ll-choice-grid{grid-template-columns:1fr}}

/* v1.1: course progress and complete, swipeable mobile feature navigation */
.ll-progress{width:100%;height:8px;background:#302125;border:1px solid #673039;border-radius:999px;overflow:hidden;margin:10px 0 5px}
.ll-progress>span{display:block;height:100%;background:linear-gradient(90deg,#e83340,#ff6473);border-radius:999px;transition:width .2s ease}
.ll-progress-text{display:block;color:#cabdc0;margin-bottom:10px;font-size:11px}
@media(max-width:650px){.bottom-nav{overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#b53243 transparent}.bottom-nav .nav-item{scroll-snap-align:start;flex:0 0 69px;min-width:69px}.bottom-nav .nav-item span{white-space:normal;line-height:1.1;min-height:21px;overflow-wrap:anywhere;text-align:center}.main-header{align-items:flex-start;flex-wrap:wrap}.headline-actions{flex-wrap:wrap}}

/* Startup recovery is shown only when the app remains on its splash screen. */
.startup-help{margin:22px 18px 0;max-width:410px;border:1px solid #80383c;border-radius:16px;background:#20191c;padding:18px;text-align:center;display:grid;gap:10px}
.startup-help strong{font-size:17px;color:#fff}.startup-help p,.startup-help small{color:#c9bfc4;margin:0}.startup-help .primary{justify-self:center}
