/* ARTIZS.SAY v0.2.5 — compact edge-to-edge cover + finalized clean chat layout */
:root{
  --ink:#16181d;
  --muted:#8c9098;
  --line:#e8eaee;
  --soft:#f4f5f7;
  --panel:#fbfbfc;
  --green:#28a765;
  --sidebar-w:248px;
  --people-w:292px;
  --cover-h:185px;
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden}
body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff;color:var(--ink)}
button,input,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}

/* APP SHELL */
.app-shell{width:100vw;height:100vh;height:100dvh;display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr) var(--people-w);overflow:hidden;background:#fff}
.sidebar,.people-panel{min-width:0;background:var(--panel)}
.sidebar{border-right:1px solid var(--line);padding:17px 14px 14px;display:flex;flex-direction:column;overflow:hidden;z-index:30}
.people-panel{border-left:1px solid var(--line);padding:18px 14px;overflow-y:auto;z-index:25}
.chat-panel{min-width:0;width:100%;height:100%;background:#fff;display:flex;flex-direction:column;overflow:hidden;position:relative}

/* BRAND */
.brand{display:flex;align-items:center;text-decoration:none;color:var(--ink)}
.brand-logo-only{height:48px;padding:4px 7px 15px;flex:0 0 auto}
.brand-logo-image{display:block;width:auto;height:auto;max-width:162px;max-height:28px;object-fit:contain;object-position:left center}
.brand-logo-default{max-width:150px;max-height:26px}
.brand-wordmark{font-family:Montserrat,Mont,Arial,sans-serif;font-size:18px;font-weight:900;letter-spacing:-.035em;line-height:1;color:#111318}

/* ROOM SIDEBAR */
.section-title,.eyebrow,.modal-kicker,.strip-label{font-size:9px;font-weight:900;letter-spacing:.14em;color:#9da1a9;text-transform:uppercase}
.section-title{padding:18px 9px 8px}
.room-list{display:flex;flex-direction:column;gap:4px;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d5d8de transparent}
.room-item{width:100%;border:0;background:transparent;border-radius:12px;padding:8px 9px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;align-items:center;text-align:left;color:#555a63;transition:background .14s,color .14s}
.room-item:hover{background:#f0f2f5}.room-item.active{background:#15171b;color:#fff}
.room-icon-badge{width:26px;height:26px;display:grid;place-items:center;flex:0 0 26px;background:transparent!important;border:0;border-radius:0;font-size:19px;line-height:1;box-shadow:none!important}
.room-item.active .room-icon-badge{background:transparent!important;box-shadow:none!important}
.room-copy{min-width:0}.room-copy strong,.room-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-copy strong{font-size:12px;font-weight:800}.room-copy small{font-size:9px;opacity:.63;margin-top:2px}
.room-count{font-size:9px;min-width:24px;text-align:center;padding:4px 6px;border-radius:999px;background:rgba(127,127,127,.12)}
.sidebar-footer{margin-top:auto;padding-top:12px;border-top:1px solid #f0f1f3}
.profile-chip{border:0;width:100%;background:transparent;border-radius:12px;padding:8px;display:flex;align-items:center;gap:9px;text-align:left;color:inherit}.profile-chip:hover{background:#f0f2f5}
.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#e7e9ee;color:#4b4f58;font-weight:800;font-size:12px;flex:0 0 auto}.avatar-me{background:#15171b;color:#fff}.avatar.has-photo{background:#e7e9ee;color:transparent}.avatar img{width:100%;height:100%;object-fit:cover;display:block}.avatar-xl{width:76px;height:76px;font-size:22px}
.profile-copy{min-width:0}.profile-copy strong,.profile-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-copy strong{font-size:11px}.profile-copy small{font-size:9px;color:#92959c;margin-top:2px}

/* ROOM-TITLE CONTROLS — no separate top bar */
.header-icon-btn{width:30px;height:30px;border:0;background:transparent;color:#555a63;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;padding:0;flex:0 0 auto}.header-icon-btn:hover{background:#f2f3f5}.header-icon-btn svg,.composer-icon-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.room-title-action{margin-left:1px}.rooms-responsive-btn,.people-responsive-btn{display:none!important}

/* ROOM COVER: FULL MAIN-COLUMN WIDTH, IMAGE ONLY */
.room-cover{--room-theme:#15171b;width:100%;height:var(--cover-h);max-height:var(--cover-h);min-height:0;flex:0 0 auto;margin:0;padding:0;border:0;border-bottom:1px solid #eef0f3;background-color:var(--room-theme);background-repeat:no-repeat;background-size:cover;background-position:center;overflow:hidden;transition:max-height .24s ease,opacity .18s ease}
.room-cover:not(.has-cover){background-image:linear-gradient(125deg,var(--room-theme),#353a43)!important}.room-cover.collapsed{max-height:0;opacity:.08;border-bottom:0}
.room-cover-overlay,.room-cover-copy{display:none!important}

/* COMPACT ROOM INFO + ONLINE NOW */
.room-meta-strip{min-height:76px;flex:0 0 auto;border-bottom:1px solid #eef0f3;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 18px}
.room-meta-identity{display:flex;align-items:center;gap:9px;min-width:0;flex:1 1 auto}.room-meta-icon{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;background:transparent!important;border:0;border-radius:0;font-size:21px;box-shadow:none!important}
.room-meta-copy{min-width:0}.room-meta-title-line{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}.room-meta-title-line h1{margin:0;font-size:18px;line-height:1.1;font-weight:850;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.official-badge{font-size:7px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;padding:3px 6px;border-radius:999px;background:#f0f1f4;color:#737780}.live-dot{width:6px;height:6px;border-radius:50%;background:var(--green);flex:0 0 6px}.room-meta-title-line #roomOnline{font-size:9px;color:#888d96;white-space:nowrap}.room-meta-copy p{margin:4px 0 0;color:#92969e;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room-meta-presence{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:0 1 55%}.chips{display:flex;gap:6px;flex-wrap:wrap}.room-meta-presence .chips{justify-content:flex-end}.chip{border:1px solid #e3e6ea;background:#fff;border-radius:999px;padding:5px 8px;font-size:9px;color:#555a63;white-space:nowrap}.chip strong{color:#191b20}

/* MESSAGES */
.messages{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 22px 22px;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#8f9298 transparent}.message{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;padding:10px 0;max-width:820px}.message:hover .msg-actions{opacity:1}.message .avatar{margin-top:1px}
.msg-head{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.msg-name,.msg-expertise{border:0;background:transparent;padding:0;cursor:pointer}.msg-name{font-size:12px;font-weight:800;color:#17191e}.msg-name:hover{text-decoration:underline}.msg-expertise{font-size:9px;border:1px solid #e5e7ea;border-radius:999px;padding:2px 6px;color:#747881}.msg-expertise b{font-weight:900;color:#4f535c}.msg-time{font-size:9px;color:#a2a5ab}.msg-body{font-size:13px;line-height:1.55;color:#30333a;margin-top:4px;white-space:pre-wrap;word-break:break-word}.msg-body.caption{margin-top:8px}.msg-media{margin-top:8px;max-width:390px}.msg-media img{display:block;width:100%;height:auto;border-radius:16px;border:1px solid #eceef3;box-shadow:0 12px 30px rgba(31,34,41,.05)}.msg-sticker{margin-top:6px;font-size:44px;line-height:1}.reply-context{border-left:2px solid #d3d5da;padding-left:7px;color:#8a8d94;font-size:10px;margin:4px 0 6px}
.msg-actions{opacity:0;margin-top:6px;display:flex;align-items:center;gap:10px;transition:.15s}.msg-actions button{border:0;background:transparent;color:#9498a0;font-size:10px;padding:2px 0}.msg-actions button:hover{color:#202329}.reaction-btn{border-radius:999px!important;padding:2px 5px!important}.reaction-btn.active{background:#f0f2f5!important;color:#202329!important;font-weight:800}
.history-marker{text-align:center;margin:10px auto 12px;color:#9a9da4;font-size:10px;max-width:580px}.history-marker:before,.history-marker:after{content:"";display:inline-block;vertical-align:middle;width:20%;height:1px;background:#eceef2;margin:0 10px}.history-marker span{font-size:8px;font-weight:900;letter-spacing:.13em;color:#a7aab0}.history-marker p{margin:4px 0 0;font-size:9px}
.empty-state{text-align:center;color:#a0a3aa;margin:14vh auto}.empty-state.compact{margin:10vh auto}.empty-orb{width:50px;height:50px;border-radius:16px;background:#f1f2f5;display:grid;place-items:center;margin:auto;font-size:22px}.empty-state h2{font-size:14px;color:#555963;margin:12px 0 5px}.empty-state p{font-size:11px;margin:0}

/* COMPOSER */
.composer-wrap{position:relative;z-index:20;flex:0 0 auto;background:#fff;border-top:1px solid #eef0f3;padding:9px 16px 11px}.composer{border:1px solid #dfe2e7;background:#fff;border-radius:15px;display:grid;grid-template-columns:36px 36px minmax(0,1fr) auto;align-items:center;padding:5px;gap:4px;box-shadow:0 6px 24px rgba(30,33,40,.04)}.composer #messageInput{border:0;outline:0;padding:9px 5px;font-size:12px;min-width:0;width:100%;background:transparent}.composer-icon-btn{width:32px;height:32px;border:0;background:#f3f4f6;color:#5b6069;border-radius:10px;display:grid;place-items:center;padding:0}.composer-icon-btn:hover{background:#eceef2}.send-btn{border:0;background:#15171b;color:#fff;border-radius:10px;padding:9px 13px;font-size:10px;font-weight:800}.composer-help{font-size:8px;color:#aaadb3;margin:5px 7px 0}.reply-preview{display:flex;align-items:center;justify-content:space-between;background:#f5f6f8;border:1px solid #e9eaed;border-radius:10px;padding:7px 9px;margin-bottom:6px;font-size:10px;color:#6d717a}.reply-preview button{border:0;background:transparent;color:#7b7f87}

/* STICKERS — ALL 50 VISIBLE, NO SCROLLBARS */
.sticker-popover{position:absolute;left:16px;right:16px;bottom:72px;width:auto;max-width:none;max-height:none;overflow:visible;background:#fff;border:1px solid #e3e5ea;border-radius:18px;box-shadow:0 20px 60px rgba(23,26,32,.14);padding:10px;z-index:50}.sticker-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;width:100%;overflow:visible}.sticker-btn{width:100%;height:42px;min-width:0;border:0;background:#f4f5f7;border-radius:12px;font-size:22px;display:grid;place-items:center;padding:0}.sticker-btn:hover{background:#e9ebef;transform:translateY(-1px)}

/* SOUND POPOVER */
.sound-wrap{position:relative;display:inline-flex;align-items:center}.sound-popover{position:absolute;left:0;right:auto;top:36px;width:270px;background:#fff;border:1px solid #e2e4e8;border-radius:16px;box-shadow:0 18px 50px rgba(28,31,37,.13);padding:13px;z-index:80}.sound-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.sound-row strong{display:block;font-size:12px}.sound-row small{display:block;font-size:9px;color:#8a8d95;margin-top:3px}.mini-toggle{border:0;border-radius:999px;background:#17191e;color:#fff;padding:6px 10px;font-size:9px;font-weight:900}.mini-toggle.off{background:#eef0f3;color:#676b74}.sound-slider-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:12px;font-size:9px;color:#7c818a}.sound-slider-row input[type=range]{width:100%}

/* PEOPLE */
.panel-header{display:flex;align-items:center;justify-content:space-between;padding:5px 5px 15px}.panel-header h2{font-size:15px;margin:3px 0 0}.people-summary{display:flex;flex-wrap:wrap;gap:6px;padding:0 4px 14px}.summary-pill{border-radius:999px;background:#f0f1f4;padding:5px 8px;font-size:9px;color:#666a73}.people-list{display:flex;flex-direction:column}.person{width:100%;border:0;background:transparent;text-align:left;color:inherit;display:flex;gap:9px;align-items:center;padding:8px 5px;border-radius:11px}.person:hover{background:#f1f3f5}.person .avatar{width:36px;height:36px}.presence-wrap{position:relative}.presence-wrap:after{content:"";position:absolute;right:0;bottom:0;width:8px;height:8px;border:2px solid var(--panel);border-radius:50%;background:var(--green)}.person-copy{min-width:0}.person-copy strong,.person-copy span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-copy strong{font-size:11px}.person-copy span{font-size:9px;color:#92959c;margin-top:2px}

/* MODALS / PROFILE */
.modal-backdrop{position:fixed;inset:0;background:rgba(20,22,27,.36);display:grid;place-items:center;padding:18px;z-index:100}.modal{width:min(430px,100%);max-height:92vh;overflow:auto;background:#fff;border:1px solid #e2e4e8;border-radius:20px;box-shadow:0 28px 80px rgba(23,26,32,.18);padding:20px}.modal-wide{width:min(620px,100%)}.modal h2{font-size:21px;letter-spacing:-.03em;margin:5px 0 8px}.modal p{font-size:11px;line-height:1.55;color:#737780;margin:0 0 16px}.modal label{display:block;margin-bottom:12px}.modal label>span{display:block;font-size:10px;font-weight:800;color:#666b75;margin-bottom:6px}.modal input,.modal select{width:100%;border:1px solid #dfe2e7;border-radius:11px;padding:10px 11px;outline:0;background:#fff}.modal input:focus,.modal select:focus{border-color:#aeb3bc;box-shadow:0 0 0 3px #f1f2f4}.primary-btn{width:100%;border:0;background:#17191e;color:#fff;border-radius:11px;padding:11px 13px;font-weight:800;font-size:11px}.primary-btn.recognized{background:#eef1f5;color:#202329;border:1px solid #dfe3e8}.text-btn{width:100%;border:0;background:transparent;color:#747881;padding:10px;font-size:10px}.report-text{color:#a34b4b}.profile-edit-head{display:flex;align-items:center;gap:16px;padding:5px 0 18px}.profile-edit-head>div:last-child{min-width:0}.profile-edit-head strong,.profile-edit-head small{display:block}.profile-edit-head strong{font-size:12px}.profile-edit-head small{font-size:10px;color:#92959c;margin-top:4px}.profile-photo-button{border:0;background:transparent;padding:0;display:flex;flex-direction:column;align-items:center;gap:6px;color:#747881;font-size:9px}.profile-form .field-help{display:block;font-size:9px;color:#9a9da5;margin-top:5px}.profile-form input:disabled,.profile-form select:disabled{background:#f3f4f6;color:#8d9199;cursor:not-allowed}.person-profile{display:flex;align-items:center;gap:14px;margin-bottom:14px}.person-profile h2{margin:3px 0 4px}.person-expertise{display:inline-block;font-size:10px;padding:4px 8px;border:1px solid #e5e7ea;border-radius:999px;color:#646972}.recognition-box{background:#f6f7f9;border:1px solid #eceef2;border-radius:14px;padding:12px;margin:14px 0}.recognition-box strong,.recognition-box span{display:block}.recognition-box strong{font-size:13px}.recognition-box span{font-size:10px;color:#8a8e96;margin-top:3px}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#17191e;color:#fff;border-radius:999px;padding:9px 13px;font-size:10px;box-shadow:0 12px 35px rgba(20,22,27,.22);z-index:150}
.icon-btn{border:1px solid #e3e5e9;background:#fff;border-radius:10px;width:34px;height:34px;color:#4c5059}.mobile-only{display:none}

/* RESPONSIVE */
@media(max-width:1180px){
  :root{--sidebar-w:228px;--people-w:260px}
  .room-meta-presence{flex-basis:48%}
  .sticker-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.sticker-btn{height:38px;font-size:20px}
}
@media(max-width:980px){
  :root{--people-w:0px;--cover-h:165px}
  .app-shell{grid-template-columns:var(--sidebar-w) minmax(0,1fr)}
  .people-panel{position:fixed;top:0;right:0;bottom:0;width:292px;transform:translateX(102%);transition:transform .2s ease;box-shadow:-14px 0 45px rgba(24,27,33,.12)}.people-panel.open{transform:translateX(0)}
  .people-responsive-btn{display:inline-flex!important}.mobile-only{display:inline-grid;place-items:center}
  .room-meta-strip{align-items:flex-start;flex-direction:column;gap:8px;padding:9px 16px}.room-meta-presence{width:100%;flex-basis:auto;justify-content:flex-start}.room-meta-presence .chips{justify-content:flex-start}
}
@media(max-width:700px){
  :root{--sidebar-w:0px;--cover-h:145px}
  .app-shell{display:block;width:100%;height:100dvh}.chat-panel{width:100%;height:100%}
  .sidebar{position:fixed;top:0;left:0;bottom:0;width:248px;transform:translateX(-102%);transition:transform .2s ease;box-shadow:14px 0 45px rgba(24,27,33,.12)}.sidebar.open{transform:translateX(0)}
  .rooms-responsive-btn{display:inline-flex!important}
  .room-meta-strip{padding:8px 12px;min-height:84px}.room-meta-icon{width:26px;height:26px;flex-basis:26px;font-size:19px}.room-meta-title-line h1{font-size:17px}.room-meta-copy p{font-size:9px}.room-meta-presence{gap:7px}.room-meta-presence .chips{gap:5px}
  .messages{padding:10px 14px 18px}.message{max-width:100%}.msg-actions{opacity:1}
  .composer-wrap{padding:8px 10px 9px}.composer{grid-template-columns:34px 34px minmax(0,1fr) auto}.composer-icon-btn{width:30px;height:30px}.send-btn{padding:8px 10px}
  .sticker-popover{left:8px;right:8px;bottom:68px;padding:8px}.sticker-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.sticker-btn{height:34px;border-radius:10px;font-size:19px}
  .sound-popover{right:0;width:min(270px,calc(100vw - 20px))}
  .history-marker:before,.history-marker:after{width:12%}.profile-edit-head{align-items:flex-start}
}

/* v0.2.5 final placement */
.room-meta-title-line{position:relative}
.room-title-sound{z-index:90}
.room-title-sound .sound-popover{z-index:120}
.room-cover{border-top:0}
@media(max-width:980px){.people-responsive-btn{display:inline-flex!important}.room-title-sound .sound-popover{left:auto;right:0}}
@media(max-width:700px){.room-meta-title-line{gap:5px}.room-title-action{width:28px;height:28px}.room-title-sound .sound-popover{left:0;right:auto}}

/* v0.5.0 engagement cards */
.daily-topic-card,.conversation-starter-card{position:relative;margin:12px 18px 0;padding:18px;border-radius:22px;overflow:hidden}.daily-topic-card{border:1px solid #f1dfa2;background:linear-gradient(145deg,#fffdf7,#fff6d7)}.daily-topic-head,.conversation-starter-head{display:flex;align-items:center;gap:10px}.daily-topic-head>div{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1}.daily-topic-head small{background:#fff0b8;color:#9c7000;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:900}.daily-topic-card h3{font-size:20px;line-height:1.18;letter-spacing:-.03em;margin:15px 0 7px}.daily-topic-card p{font-size:12px;line-height:1.5;color:#6f7a8e}.daily-topic-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}.daily-topic-tag{font-size:10px;font-weight:850;color:#9b6f00}.daily-topic-foot button,.conversation-starter-card>button{border:0;border-radius:999px;background:#17191e;color:#fff;padding:9px 13px;font-size:10px;font-weight:900}.support-card-rich{position:relative!important;display:flex!important;align-items:flex-end!important;margin:12px 18px 0!important;padding:18px!important;min-height:196px!important;border:1px solid #dfe7ff!important;border-radius:22px!important;background:linear-gradient(145deg,#fbfcff,#f2f5ff)!important;text-align:left!important;overflow:hidden!important}.support-card-rich.hidden{display:none!important}.support-card-rich-copy{position:relative;z-index:2;width:68%}.support-card-headline{display:flex;align-items:center;gap:7px}.support-card-headline>span{color:#ed7e9e;font-size:18px}.support-card-rich-copy strong{font-size:16px}.support-card-rich-copy p{font-size:11px;line-height:1.45;color:#718099;margin:8px 0}.support-card-rich-copy ul{list-style:none;padding:0;margin:10px 0;display:grid;gap:5px}.support-card-rich-copy li{font-size:10px;color:#5d6a80}.support-card-rich-copy li:before{content:'✓';display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#ddf6e7;color:#2c9a5a;font-weight:900;margin-right:6px}.support-card-cta{border:0;border-radius:999px;background:#17191e;color:#fff;padding:10px 14px;font-size:10px;font-weight:900}.support-card-rich-copy>small{display:block;margin-top:8px;color:#8d85af;font-size:9px}.support-card-rich>img{position:absolute!important;right:0!important;bottom:0!important;width:38%!important;max-height:150px!important;object-fit:contain!important}.conversation-starter-card{border:1px solid #e7e0ff;background:linear-gradient(145deg,#fcfbff,#f4f0ff)}.starter-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#e8defe;color:#725db6;font-weight:900}.conversation-starter-head>div{display:block}.conversation-starter-head strong{font-size:14px}.conversation-starter-head small{display:block;color:#817b92;font-size:10px;margin-top:2px}.conversation-starter-card blockquote{margin:14px 0;background:#fff;border:1px solid #ece7fb;border-radius:16px;padding:13px;font-size:12px;line-height:1.45}.conversation-starter-card>button{background:#ebe5ff;color:#6752a5}.people-panel>.hidden{display:none!important}
