.chat-search{display:flex;align-items:center;gap:8px;margin-bottom:12px;padding:11px 13px;border:1px solid #35433d;border-radius:12px;background:#151b18;color:#d6aa55}.chat-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#f5f8f6}.chat-list-filters{display:flex;gap:7px;margin-bottom:14px}.chat-list-filters button{padding:7px 11px;border:1px solid #38463f;border-radius:999px;background:#171e1a;color:#aebcb5}.chat-list-filters button.active{background:#8a5429;border-color:#d08a4f;color:#fff}.chat-topic-tabs button:nth-child(1).active,.student-chat>nav button:nth-child(1).active{background:#316b50;border-color:#73ad8e}.chat-topic-tabs button:nth-child(2).active,.student-chat>nav button:nth-child(2).active{background:#285b82;border-color:#69a2ce}.chat-topic-tabs button:nth-child(3).active,.student-chat>nav button:nth-child(3).active{background:#7a4d24;border-color:#d29150}#addChatTopic{border-style:dashed;color:#dfb864}.stat-card:nth-child(1){border-top:3px solid #4ba777}.stat-card:nth-child(2){border-top:3px solid #4b8fc2}.stat-card:nth-child(3){border-top:3px solid #9a71c5}.stat-card:nth-child(4){border-top:3px solid #d39a45}.message.mine,.student-chat-message.mine{box-shadow:inset 3px 0 #77ba94}.course-summary{box-shadow:inset 3px 0 #5f9fd0}.hand-message{box-shadow:inset 3px 0 #d29150}.message audio{width:min(360px,100%)}

/* Thème approuvé : ivoire fumé, vert bouteille, cognac et champagne. */
[hidden]{display:none!important}:root{--bg:#eee9df;--surface:#f8f4eb;--ink:#252822;--muted:#716f67;--line:#d7cdbc;--green:#176347;--green-dark:#0d4936;--green-soft:#dcece3;--nav:#0b4937;--shadow:0 14px 38px rgba(62,49,29,.11);background:var(--bg);color:var(--ink)}body{background:radial-gradient(circle at 75% 0,rgba(199,158,82,.12),transparent 28%),linear-gradient(135deg,#eee9df,#f4f0e8);color:var(--ink)}.app-shell{background:transparent}.sidebar,.student-sidebar{background:linear-gradient(165deg,#0a503b,#073728);border-color:#2d6a56}.sidebar .nav-item:hover,.sidebar .nav-item.active{background:linear-gradient(90deg,rgba(215,175,98,.22),rgba(255,255,255,.08));border-color:#c49a50}.brand strong,.profile strong,.sidebar-bottom,.student-sidebar{color:#fff}.topbar h1,.section-heading h2,.student-topbar h1,.student-corrected-library h2,.upload-panel h2{color:#283029!important;text-shadow:none!important;opacity:1!important}.topbar p,.section-heading p,.student-topbar p{color:#686f68!important}.view>.section-heading{border-color:#d8cebd}.panel,.stat-card,.session-card,.student-card,.card-summary>div,.finance-hero>div,.anki-card,.student-corrected-library,.upload-panel{background:linear-gradient(145deg,#fbf8f1,#f5efe4);border-color:#d8cebd;color:#292d28;box-shadow:0 15px 40px rgba(71,55,31,.09)}.hero,.student-hero{background:radial-gradient(circle at 82% 18%,rgba(207,172,99,.23),transparent 27%),linear-gradient(125deg,#0b4d39,#176347);border-color:#b9924f}.primary{background:linear-gradient(135deg,#19805a,#0e6247);border-color:#3f9574;box-shadow:0 8px 20px rgba(17,91,65,.2)}.secondary,.chip,.icon-button{background:#faf6ee;border-color:#d8cebd;color:#33362f}.chat-layout{height:calc(100vh - 190px);min-height:620px;background:#f7f2e9;border-color:#cfc2ae}.chat-list{background:linear-gradient(180deg,#0b543e,#0a4031);color:#fff;border-color:#2b6a55}.chat-search{background:rgba(255,255,255,.08);border-color:#6f9b89;color:#e7bd68}.chat-search input{color:#fff}.chat-search input::placeholder{color:#d0ddd7}.chat-list-filters button{background:rgba(255,255,255,.07);border-color:#71998a;color:#f0f5f2}.chat-list-filters button.active{background:linear-gradient(135deg,#d5a957,#b77a31);border-color:#eccb86;color:#2a2113}.chat-person.active{background:rgba(255,255,255,.13);border-color:#d0a760}.conversation{min-width:0;min-height:0;overflow:hidden}.conversation-head,.chat-topic-tabs{background:#f7f2e9;border-color:#d9cfbf;color:#252a25}.chat-topic-tabs button{background:#eee8dc;border-color:#d7cdbd;color:#384039}.chat-topic-tabs button:nth-child(1).active,.student-chat>nav button:nth-child(1).active{background:#176347;border-color:#40866d;color:#fff}.chat-topic-tabs button:nth-child(2).active,.student-chat>nav button:nth-child(2).active{background:#667d80;border-color:#91a5a5;color:#fff}.chat-topic-tabs button:nth-child(3).active,.student-chat>nav button:nth-child(3).active{background:#a95831;border-color:#cc8058;color:#fff}#addChatTopic{background:#f1e6d1;color:#805c24;border-color:#c9a667}.messages{min-height:0;overflow:auto;background:radial-gradient(circle at 70% 10%,rgba(204,168,94,.11),transparent 30%),#f2ede4;color:#292c27}.message.theirs{background:#fbf8f1;border-color:#d7cdbd;color:#292c27}.message.mine{background:#dcecdf;color:#25352d}.course-summary{background:#f2eee4;border-color:#98aaa5;color:#292d28}.hand-message{background:#fbf5e8!important;border-color:#c8954c!important;color:#292d28!important}.composer,.premium-composer{flex:0 0 auto;background:#f8f4ec;border-color:#d6cbb9}.premium-composer{display:flex!important;gap:9px}.premium-composer input{display:block!important;flex:1 1 auto;min-width:120px;background:#fffdf8;border-color:#d3c7b5;color:#272a25}.premium-composer .icon-composer-button{display:inline-flex!important;flex:0 0 44px;background:#eee6d8;border-color:#cfc0aa;color:#6f5429}.student-app{background:radial-gradient(circle at 90% 0,rgba(202,166,94,.13),transparent 28%),#eee9df;color:#292d28}.student-main{background:transparent}.student-chat-mode .dialog-card{background:linear-gradient(145deg,#faf6ee,#f2ebdf);color:#292d28;border-color:#cdbfa9}.student-chat>header,.student-chat>nav{border-color:#d7cdbc}.student-chat>nav button{background:#eee7db;border-color:#d2c6b5;color:#384039}.student-chat>section{background:radial-gradient(circle at 75% 10%,rgba(206,167,89,.1),transparent 30%),#f1ece3;border-color:#d4c9b8}.student-chat-message{background:#fffaf2;border-color:#d8cdbc;color:#292d28}.student-chat-message.mine{background:#dcecdf}.student-chat>form{flex:0 0 auto}.student-chat>form input{background:#fffdf8;border-color:#d2c5b2;color:#292d28}.student-corrected-course h3,.student-corrected-course p,.upload-panel p,.replayer-link-send strong{color:#30342e!important;opacity:1!important}@media(max-width:760px){.chat-layout{height:calc(100vh - 130px)}.premium-composer{flex-wrap:wrap}.premium-composer #messageInput{order:-1;flex-basis:100%}}
