:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#292826;background:#f6f5f2}.sidebar{width:190px;background:#fbfaf8;padding:30px 16px;border-color:#e8e5df}.brand{font-size:18px;letter-spacing:1px}.brand-mark{background:#292826;border-radius:14px}.brand-small{font-size:8px;letter-spacing:.7px}.nav{color:#68645e;border-radius:11px;padding:13px 11px}.nav.active{background:#eae5dd;color:#302b26}.sidebar-note{color:#777069}.identity-box{margin-top:auto;margin-bottom:28px;display:flex;flex-direction:column;gap:8px;padding:0 12px;font-size:12px}.sidebar-note{margin-top:0}.text-button{padding:0;background:none;color:#8b8174;text-align:left;font-size:12px}.sidebar-note .dot{background:#9d8d75}main{margin-left:190px;width:calc(100% - 190px);max-width:none;padding:28px 25px 12px}header{margin-bottom:20px}.eyebrow{color:#978b7b;letter-spacing:1.4px}h1{font-size:27px;letter-spacing:-1px}.badge,.small-badge{background:#f0ede6;border-color:#e5dfd5;color:#82725b}.primary{background:#30302d;border-radius:11px}.primary:hover{background:#151514}.secondary{background:#f6f3ee;border:1px solid #e4dfd6;color:#655c50;border-radius:10px}.secondary:hover{background:#eee7dc}input,textarea,select{border-color:#e0dcd4;border-radius:10px}input:focus-visible,textarea:focus-visible,button:focus-visible{outline:2px solid #9d8766}.hint{color:#89847c}.card{border-color:#e7e2da;border-radius:16px}.inbox-layout{grid-template-columns:290px minmax(280px,1fr) 280px;height:calc(100dvh - 145px);min-height:480px;border-color:#e5dfd5;border-radius:16px}.thread-panel{display:flex;flex-direction:column;border-color:#e8e3db;overflow:hidden}.thread-header{padding:19px 17px 12px;flex:none;border-color:#ede8e0}.list-title{display:flex;align-items:center;justify-content:space-between}.list-title h2{margin:0;font-size:18px}.thread-header input{font-size:12px;padding:10px;margin:15px 0 12px;background:#f8f7f4}.channel-filters{display:flex;gap:4px}.filter{padding:7px 9px;font-size:10px;border-radius:8px;background:transparent;color:#8b8378}.filter.active{background:#eae5dd;color:#423a2f;font-weight:600}#threads{overflow:auto;flex:1}.thread{display:flex;gap:12px;padding:16px;border-color:#f0ece7;color:#36332e}.thread:hover{background:#f9f6f1}.thread.selected{background:#eee8dd;box-shadow:inset 3px 0 #a8916c}.avatar{width:42px;height:42px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#ded4c6;color:#6c5b46;font-size:13px;font-weight:600;position:relative;overflow:hidden}.avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.avatar.large{width:66px;height:66px;font-size:21px}.thread-content{min-width:0;flex:1}.thread-top{display:flex;align-items:baseline;gap:6px;justify-content:space-between}.thread strong{font-size:13px;margin:0;white-space:nowrap}.thread small{font-size:10px;white-space:nowrap;color:#a19789}.thread p{font-size:12px;margin:7px 0;color:#8a8071;line-height:1.4}.thread-bottom{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#a69a89}.channel-tag{font-size:9px;border-radius:5px;padding:3px 5px}.messenger{background:#edf2ff;color:#5877b7}.instagram{background:#faedf3;color:#a8698a}.list-empty{padding:20px;color:#9c9284}.chat-panel{min-height:0}.chat-header{padding:18px 22px;gap:12px;border-color:#e9e5de}.chat-person{flex:1;min-width:0}.chat-person h2{font-size:16px;color:#332e27;overflow-wrap:anywhere}.chat-person .hint{margin-top:3px;font-size:11px}.conversation-info{display:flex;justify-content:space-between;gap:12px;padding:9px 22px;background:#faf8f4;font-size:10px;color:#a4947f;border-bottom:1px solid #eee9e1}.conversation-info span:first-child{color:#7a786b}#messages{background:#fdfcf9;padding:24px;gap:16px;min-height:0}.bubble{background:#f0ece5;color:#474037;border-radius:15px 15px 15px 4px;max-width:85%;box-shadow:0 1px 2px #51412a08}.bubble.out{background:#383936;border-radius:15px 15px 4px 15px}.bubble small{font-size:10px;opacity:.65}.bubble p{font-size:13px;line-height:1.6}.bubble.error{background:#fff0e5;color:#986140}.timeline-event{font-size:10px;text-align:center;color:#a89b89;align-self:center;max-width:85%}.timeline-event p{font-size:10px;margin:3px 0}.timeline-note{align-self:center;background:#faf1d9;border:1px solid #f0e3c5;border-radius:10px;padding:12px 16px;width:85%;color:#88754c}.timeline-note small{font-size:10px}.timeline-note p{font-size:12px;white-space:pre-wrap;margin:5px 0 0}.older-button{align-self:center;font-size:11px;padding:9px 15px;border-radius:20px;background:#eee9df;color:#84735b}#reply-form{border-color:#e7e1d8;padding:17px 22px;background:#fff}.composer-footer .hint{font-size:10px}.customer-panel{border-left:1px solid #e7e2da;background:#fbfaf7;overflow:auto;padding:22px;min-width:0}.customer-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.customer-heading .eyebrow{font-size:9px;margin:0}.customer-panel h2{font-size:19px;margin:15px 0 4px;overflow-wrap:anywhere}.customer-panel .hint{overflow-wrap:anywhere}.customer-dates{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#9e9281;margin:22px 0;border-bottom:1px solid #e9e2d6;padding-bottom:18px}.customer-dates strong{color:#6a5d4b;font-weight:500;font-size:11px}.customer-panel label{font-size:11px;color:#897d6d;margin-top:15px}.customer-panel input,.customer-panel textarea{font-size:12px;background:#fff}.customer-panel .full{margin-top:12px;font-size:11px}.card-divider{height:1px;background:#e6dfd3;margin-top:25px}.icon-button{background:none;color:#918370;font-size:22px;border-radius:8px;padding:4px 8px}#back-list,#close-customer,#show-customer{display:none}.team-row{padding:16px 0;border-bottom:1px solid #eee;display:flex;flex-direction:column;gap:4px}.team-row strong{font-size:14px}#auth-screen{position:fixed;inset:0;display:grid;place-items:center;background:radial-gradient(ellipse at top left,#e8dfd0,transparent 55%),#f8f5ef;padding:25px;overflow:auto;z-index:20}.auth-card{width:min(100%,400px);background:#ffffffd9;border:1px solid #fff;padding:38px;border-radius:24px;box-shadow:0 25px 80px #806e4c10}.auth-brand{font-size:40px;font-weight:300;letter-spacing:-2px;color:#39332b;margin-bottom:42px}.auth-brand span{display:block;font-size:9px;letter-spacing:3px;text-transform:uppercase;margin-top:5px;color:#a0937e}.auth-card h1{font-size:29px}.auth-card p{color:#958773;font-size:13px;margin-top:12px}.auth-card .eyebrow{font-size:9px}.auth-card input{padding:12px}.auth-card .hint{font-size:10px}.auth-card #auth-error{color:#ad4f3f;font-size:12px}.signed-out>.sidebar,.signed-out>main{display:none}#notice{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:30;max-width:620px;width:calc(100% - 40px);box-shadow:0 10px 35px #0001;margin:0;background:#f2eee3;border-color:#e0d5c0;color:#64553e}footer{font-size:9px;color:#b2a593;padding-top:12px}@media(max-width:1300px){.sidebar{width:170px}main{margin-left:170px;width:calc(100% - 170px);padding:24px 18px 10px}.inbox-layout{grid-template-columns:270px minmax(280px,1fr)}.customer-panel{display:none}.customer-open .customer-panel{display:block;position:fixed;right:18px;top:100px;bottom:35px;width:310px;border:1px solid #ddd4c7;border-radius:14px;box-shadow:0 20px 80px #35291930;z-index:8}#show-customer,#close-customer{display:block}h1{font-size:24px}}@media(max-width:780px){.sidebar{position:static;width:100%;padding:13px 16px;gap:12px}.brand{font-size:14px;flex:none}.brand-small,.identity-box,.sidebar-note{display:none}nav{gap:3px}.nav{font-size:10px;padding:9px}main{margin:0;width:100%;padding:16px 12px 8px}header{display:flex;align-items:center;margin-bottom:14px}header h1{font-size:19px;max-width:220px}.eyebrow{font-size:8px}.badge{font-size:9px;padding:7px 9px;margin:0;white-space:normal;max-width:120px}.inbox-layout{grid-template-columns:1fr;height:calc(100dvh - 164px);min-height:420px}.thread-panel{max-height:none;border:0}.chat-panel{display:none;height:100%;min-height:0}.conversation-open .thread-panel{display:none}.conversation-open .chat-panel{display:block}.chat-header{padding:12px;gap:8px}.chat-header h2{font-size:14px}.chat-header .avatar{width:33px;height:33px}.chat-header .secondary{font-size:10px;padding:8px}#back-list{display:block}.conversation-info{padding:8px 14px;font-size:9px}.conversation-info span:last-child{display:none}#messages{padding:16px;gap:12px}.bubble{max-width:90%}.bubble p{font-size:14px}#reply-form{padding:12px}#reply-text{font-size:16px;max-height:100px}.composer-footer .hint{max-width:160px;font-size:9px}.customer-open .customer-panel{top:70px;right:12px;left:12px;bottom:15px;width:auto}.setup-grid{display:block}.auth-card{padding:30px}.auth-card input{font-size:16px}.customer-panel input,.customer-panel textarea{font-size:16px}footer{font-size:8px}.sidebar nav{margin-left:auto}.sidebar .brand-mark{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:780px){.identity-box{display:flex;margin:0;padding:0;gap:0}.identity-box strong{display:none}.sidebar .brand{display:none}.sidebar{gap:8px}.sidebar nav{margin-left:0;flex:1}.identity-box .text-button{font-size:10px;white-space:nowrap}}
