/* V4 extends the V3 DOM; all original management views remain available. */
:root{--bg:#0b111d;--panel:#101b2c;--line:#2c3d58;--accent:#7099ff;--muted:#a6b7ce}
body{font:14px system-ui,-apple-system,sans-serif}button{min-height:42px}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #9dbcff;outline-offset:2px}.layout{height:100dvh;grid-template-columns:176px 260px minmax(280px,1fr) 280px}.nav{padding:18px 10px}.nav h2{font-size:16px;letter-spacing:.6px}.nav .active{background:#263c63;color:white}.chat{min-height:0}.head{display:flex;align-items:center;justify-content:space-between;gap:8px}.head button{padding:6px 10px}.messages{min-height:0;overscroll-behavior:contain}.message-meta{color:#b6c8e6;font-size:10px;margin-top:5px}.message-media{display:block;width:100%;max-width:300px;max-height:260px;object-fit:contain;border-radius:8px}.bubble audio{max-width:100%;width:270px}.bubble.deleted{font-style:italic;opacity:.65}.bubble .text{white-space:pre-wrap}.compose-v4{padding:10px;border-top:1px solid var(--line);background:#121f33;padding-bottom:max(10px,env(safe-area-inset-bottom))}.compose-v4 textarea{min-height:44px;max-height:110px;height:48px;resize:vertical}.compose-line{display:flex;gap:6px;align-items:end}.compose-line textarea{flex:1;min-width:0}.favourites{display:flex;gap:4px;align-items:center;flex-wrap:wrap;margin-bottom:7px}.favourites button{font-size:17px;border:0;padding:4px 7px;background:transparent;min-height:32px}.media-actions{display:flex;gap:5px;margin-bottom:8px}.media-actions button{font-size:12px;padding:7px;flex:1;min-height:36px}.seeit-bar{display:flex;align-items:center;gap:6px;margin-top:8px}.seeit-bar select{padding:7px;min-width:0}.seeit-bar span{font-size:11px;color:var(--muted)}.seeit-bar button{font-size:12px;padding:8px}.list .searchbox{padding:12px;border-bottom:1px solid var(--line)}.chips{display:flex;gap:4px;flex-wrap:wrap;margin-top:8px}.chips button{font-size:10px;padding:6px 8px;border-radius:20px;min-height:30px}.chips .active{background:#4162b7}.contact{display:block;width:100%;border:0;border-bottom:1px solid #293447;text-align:left;border-radius:0;background:transparent;padding:13px}.contact .line{display:flex;justify-content:space-between;gap:5px}.contact p{margin:6px 0}.contact .money{color:#76dbb3;font-size:12px}.connection{padding:8px;color:#a9bdd8;font-size:11px;line-height:1.5}.connection.error{color:#ffb6aa}.panel-total{font-size:26px;color:#76dbb3;margin:10px 0}.tabs{flex-wrap:wrap}.tabs button{min-width:48px}.overlay{position:fixed;inset:0;background:#000b;display:grid;place-items:center;z-index:100;padding:12px}.modal{width:min(740px,100%);max-height:92dvh;background:#142239;border:1px solid #435b80;border-radius:16px;overflow:auto;padding:18px}.modal .close{float:right}.modal h2{font-size:20px;margin:0 45px 16px 0}.modal input,.modal select{margin:6px 0}.modal label{font-size:12px}.modal-footer{position:sticky;bottom:-18px;background:#142239;padding:12px 0}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.media-card{border:1px solid #334968;border-radius:10px;overflow:hidden;background:#1b2c46;min-width:0}.media-preview{height:120px;width:100%;object-fit:contain;background:#0e192b}.media-card .info{padding:10px}.media-card b{display:block;overflow-wrap:anywhere}.media-card small{color:var(--muted)}.media-card button{padding:7px;font-size:12px;margin-top:7px}.media-card .icon{height:120px;display:grid;place-items:center;font-size:32px;background:#1b304e}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:200;max-width:90vw;width:max-content;background:#314c79;color:white;padding:13px 18px;border-radius:12px;box-shadow:0 8px 30px #0006}.empty{text-align:center;color:var(--muted);padding:35px 16px;line-height:1.7}.demo-banner{background:#273d65;color:#dae7ff;padding:8px 12px;font-size:12px;text-align:center}.demo-banner+ .layout{height:calc(100dvh - 35px)}.mobile-back{display:none}.section{grid-column:2/5}.sale-row{display:flex;gap:10px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 0}.sale-row .detail{flex:1}.sale-row small{display:block;color:var(--muted);margin-top:5px}.amount{font-variant-numeric:tabular-nums}.noteitem a{color:#bad2ff}.upload-progress{line-height:1.7;background:#1b304e;padding:12px;border-radius:8px;margin:10px 0}.total-confirmed{color:#76dbb3}.notice-inline{font-size:12px;color:#c3d1e9;line-height:1.6}.profile-close{display:none}.file-input{display:block;padding:20px;border:1px dashed #6781ac;background:#1b2c46;border-radius:10px;cursor:pointer}.file-input input{max-width:100%}.history-entry{border-bottom:1px solid var(--line);padding:10px 0}.history-entry small{display:block;color:var(--muted)}
@media(max-width:1150px){.layout{grid-template-columns:150px 230px minmax(0,1fr)}.side{display:none}.section{grid-column:2/4}.side.profile-open{display:block;position:fixed;right:0;top:0;bottom:0;width:330px;max-width:100vw;z-index:50;background:#13213a;box-shadow:-10px 0 40px #0009}.profile-close{display:inline-block;float:right}}
@media(max-width:700px){.layout{display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);height:100dvh}.nav{grid-row:1;display:flex;gap:3px;flex-wrap:nowrap;align-items:center;overflow-x:auto;padding:6px;min-height:57px;border-bottom:1px solid var(--line)}.nav h2,.nav #identity,.nav .connection{display:none}.nav button{white-space:nowrap;font-size:11px;padding:8px;min-height:40px;margin:0;flex-shrink:0;width:auto}.nav button.active{color:white;background:#2d4773}.list{grid-row:2;max-height:none;min-height:0;overflow:auto}.chat{grid-row:2;height:auto;min-height:0;display:none}.layout[data-mobile="chat"] .list{display:none}.layout[data-mobile="chat"] .chat{display:flex}.layout[data-mobile="panel"] .list,.layout[data-mobile="panel"] .chat{display:none}.section{grid-column:1;grid-row:2;padding:15px;min-height:0}.mobile-back{display:inline-block}.side{display:none}.head{padding:9px 12px}.head b{font-size:14px}.bubble{max-width:90%;padding:10px}.messages{padding:12px;gap:9px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal{padding:14px}.media-actions button{font-size:11px}.statgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:12px}.stat strong{font-size:22px}.contact{padding:14px}.modal h2{font-size:18px}.compose-v4{padding:8px}.compose-v4 button{min-height:38px}.seeit-bar select{font-size:12px}.favourites{margin-bottom:4px}.compose-line textarea{font-size:16px}.side.profile-open{width:100vw}.filters>div{min-width:110px}.message-media{max-height:230px}.demo-banner{font-size:10px}.demo-banner+ .layout{height:calc(100dvh - 32px)}}

body:has(.demo-banner){display:flex;flex-direction:column;height:100dvh;overflow:hidden}.demo-banner{flex:0 0 auto}.demo-banner~.layout{height:auto;flex:1;min-height:0;width:100%}
.drive-folders{display:grid;gap:8px}.drive-folders button{text-align:left;min-height:44px;overflow-wrap:anywhere}#drive-sync-progress{line-height:1.6}#drive-folder-link{font-size:16px}

/* APEXDIGITALE Conversations — approved composition, real CRM data. */
:root{--bg:#09090b;--panel:#111114;--line:#29262e;--accent:#8531e5;--muted:#a49bad;--cx-soft:#20132e;--cx-green:#32c796;--cx-orange:#e6a05a;color-scheme:dark}
body{background:#08080a;color:#efeaf4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit;background:#101014;border-color:#34303c;color:#efeaf4}button:hover{background:#24202b}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #a76aed;outline-offset:3px}button:disabled{cursor:not-allowed}a{color:#c69ff3}.primary{background:#761bde;border-color:#761bde;color:#fff}.primary:hover{background:#9246e8}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}small{color:var(--muted)}
#login{background:#111015;border:1px solid #302736;box-shadow:0 25px 100px #0006}#login h1{letter-spacing:1.5px;font-size:23px}#login input{min-height:46px}#login .primary{width:100%}
#app{grid-template-columns:minmax(155px,14%) minmax(240px,22%) minmax(0,1fr) minmax(255px,22%);height:100dvh;position:relative;overflow:hidden;background:#080809}#app .nav,#app .list,#app .chat,#app .side{min-width:0;border-color:#252229;background:#101012}#app .nav{grid-column:1;grid-row:1;display:flex;flex-direction:column;padding:25px 10px 14px;background:#09090b}#app .cx-brand{display:flex;gap:10px;align-items:center;padding:0 7px 27px;border-bottom:1px solid #252128;margin-bottom:15px}#app .cx-brand h2{font-size:14px;line-height:1.2;letter-spacing:1.2px;margin:0;color:#f1eaf8}#app .cx-brandmark{color:#8f42e8;font-size:34px;font-weight:750}#app .cx-navclose{display:none}#app .cx-group{font-size:10px;letter-spacing:1.3px;color:#9b91a4;padding:18px 8px 10px}#app .cx-group:before{content:'';display:inline-block;width:6px;height:6px;background:#9159d0;border-radius:50%;margin-right:7px;vertical-align:middle}#app .nav>button,#app .cx-navfoot>button{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:500;min-height:43px;width:100%;margin:2px 0;padding:10px 9px;color:#bcb2c7;border-radius:5px;border:0;background:transparent;text-align:left}#app .nav button:hover{background:#1d1626}#app .nav button.active{color:#d3b5f6;background:#1c1228;border-left:2px solid #9349e8;padding-left:7px}#app .nav button svg{width:17px}#app .cx-navfoot{margin-top:auto;padding-top:35px}#app .connection{padding:10px 7px;margin:0;font-size:11px;color:#8cd3b4}#app .connection.error{color:#f4a188}#app .cx-identity{display:flex;gap:9px;align-items:center;padding:13px 6px 9px;border-top:1px solid #2b2531}#app #identity{font-size:11px;overflow-wrap:anywhere;color:#bcb1c9;margin:0}#app .cx-avatar{display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:50%;background:#29272d;border:1px solid #45404b;color:#e4daef;font-size:14px;flex-shrink:0}#app .cx-identity .cx-avatar{width:31px;height:31px;font-size:12px}#app .cx-mobile-header{display:none}
#app .list{grid-column:2;grid-row:1;overflow:auto;max-height:none;min-height:0}#app .cx-account{height:57px;padding:10px 17px;display:flex;align-items:center;gap:9px;background:#0a0a0c;border-bottom:1px solid #252128}#app .cx-account b{font-size:12px;font-weight:600}#app .cx-account small{display:block;font-size:10px;margin-top:1px}#app .cx-creator{background:linear-gradient(145deg,#423353,#835670);border-color:#594175}#app .cx-account>.cx-statusdot{margin-left:auto}#app .cx-statusdot{display:inline-block;width:7px;height:7px;background:var(--cx-green);border-radius:50%;flex-shrink:0}#app .cx-statusdot.off{background:#7c6e85}#app .searchbox{padding:16px 14px 12px;background:#101012;border-color:#252128;border-radius:12px 0 0 0}#app .cx-search{display:flex;align-items:center;gap:7px;padding-left:11px;background:#08080a;border:1px solid #302b34;border-radius:7px;color:#8d8398}#app .cx-search input{border:0;padding:11px 7px;min-width:0;font-size:12px;background:transparent}#app .cx-inboxtools{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:14px 0 10px}#app .cx-caption{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#bab0c5}#app .cx-outlined{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:31px;padding:5px 10px;border:1px solid #3a323f;background:#0a080c;font-size:11px;border-radius:5px}#app .cx-outlined svg{width:15px}#app .cx-icon{display:inline-flex;align-items:center;justify-content:center;min-height:34px;min-width:32px;gap:0;padding:7px;border:0;background:transparent;color:#b3a6c0;border-radius:6px}#app .cx-icon:hover{background:#271c34;color:#d7c2f0}#app .cx-notify{position:relative}#app #cx-notice-dot{position:absolute;right:4px;top:4px;width:7px;height:7px;background:#ed6d9c;border-radius:50%}#app .chips{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:12px}#app .chips button{min-height:29px;padding:5px 9px;border:1px solid #302833;border-radius:5px;font-size:11px;white-space:nowrap;background:#0a080c}#app .chips button.active{background:#761bde;border-color:#761bde;color:white}#app .chips .cx-icon{margin-left:auto;min-width:28px;padding:5px}#app .contact{display:flex;align-items:center;gap:10px;min-height:82px;width:calc(100% - 14px);margin:3px 7px;border:1px solid transparent;border-radius:7px;padding:13px 11px;background:transparent;text-align:left;box-shadow:none}#app .contact:hover{background:#19151e}#app .contact.active{background:#0c0b0f;border:1px solid #3f334c}#app .cx-contact-main{flex:1;min-width:0}#app .contact .line{display:flex;align-items:center;justify-content:space-between;gap:6px}#app .contact .line b{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#app .contact time{font-size:10px;color:#908499;white-space:nowrap}#app .contact p{font-size:11px;margin:4px 0 0;color:#a194ad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#app .cx-contact-badges{display:flex;align-items:center;gap:6px;margin-top:5px}#app .cx-unread{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;background:#791de3;border-radius:12px;color:#fff;font-size:10px;padding:0 4px}#app .cx-spend{display:inline-block;color:#80dcb8;background:#102a20;border:1px solid #2d674e;border-radius:4px;font-size:10px;padding:1px 5px}
#app .chat{grid-column:3;grid-row:1;display:flex;flex-direction:column;min-height:0;background:#080809;overflow:hidden}#app .cx-open-tabs{display:flex;align-items:flex-end;gap:4px;min-height:57px;height:57px;flex-shrink:0;background:#080809;padding:11px 0 0;overflow-x:auto;scrollbar-width:thin}#app .cx-open-tabs button{display:flex;align-items:center;gap:7px;flex:0 0 auto;min-width:82px;max-width:160px;height:44px;min-height:0;padding:10px 12px;border:1px dashed #3c3443;border-radius:7px 7px 0 0;background:#121015;font-size:11px;color:#a99bb5;white-space:nowrap}#app .cx-open-tabs button span{overflow:hidden;text-overflow:ellipsis}#app .cx-open-tabs .cx-tab-active{border:1px solid #5f378d;background:#1f122e;border-bottom:2px solid #8c3de7;color:#d9bef7}#app .cx-open-empty{padding:12px 15px;color:#82728e;font-size:11px}#app .head{display:flex;align-items:center;gap:9px;min-height:75px;padding:15px 17px;border-top:1px solid #2c2531;border-bottom:1px solid #2b2430;background:#111013;flex-shrink:0}#app .cx-chatidentity{min-width:0;flex:1}#app #chatname{display:block;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#app #cx-chat-handle{display:block;font-size:10px;color:#a395af;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#app .cx-headtools{display:flex;gap:0;align-items:center;flex-shrink:0}#app .cx-headtools .cx-icon{min-width:29px;padding:6px}#app .cx-headtools svg{width:17px}#app .cx-profile-toggle{display:none}#app .cx-headtools .is-pinned{color:#cfaef5;background:#291441}#app .messages{flex:1;min-height:0;padding:24px 22px;gap:16px;background:#080809;scrollbar-width:thin;scrollbar-color:#493b59 #080809}#app .bubble{box-shadow:none;font-size:13px;line-height:1.55;padding:11px 13px;max-width:84%;background:#19151e;border:1px solid #302735;border-radius:15px 15px 15px 3px;color:#e3dcec;overflow-wrap:anywhere}#app .bubble.out{background:#761bde;border-color:#761bde;border-radius:15px 15px 3px 15px;color:#fff}#app .bubble.in{align-self:flex-start}#app .bubble.deleted{background:transparent;border:1px dashed #6c3a45;color:#c498a4;opacity:1}#app .message-meta{color:#b8a5cd;font-size:10px;margin-top:6px}#app .bubble.out .message-meta{color:#e2d0f7;text-align:right}#app .bubble .text:empty{display:none}#app .message-media{background:#100d13;border-radius:9px;max-height:300px;object-fit:contain}#app .cx-date{align-self:center;background:#131016;border:1px solid #2c2332;padding:4px 11px;border-radius:30px;color:#a796b5;font-size:10px;margin:3px 0 8px}#app .cx-message-link{color:inherit;text-decoration:underline;text-underline-offset:3px}#app .compose-v4{padding:12px 14px max(11px,env(safe-area-inset-bottom));border-color:#292231;background:#0d0b10;flex-shrink:0}#app .compose-v4 textarea{width:100%;height:65px;min-height:48px;max-height:150px;padding:12px 13px;border-color:#372a45;border-radius:10px;background:#0a080d;font-size:13px;line-height:1.5}#app .cx-compose-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:6px}#app .cx-compose-icons{display:flex;align-items:center;gap:2px}#app .cx-compose-icons .cx-icon{min-width:32px;padding:7px}#app #send-button{display:inline-flex;align-items:center;gap:9px;padding:8px 13px;min-height:36px;font-size:12px;border-radius:7px}#app .media-actions{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0 0;padding-top:9px;border-top:1px solid #241c2d}#app .media-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #372b45;background:#17101e;color:#c5b5d7;font-size:10px;padding:5px 8px;min-height:28px;flex:0 1 auto;border-radius:5px}#app .media-actions svg{width:13px;height:13px}#app .cx-inline-seeit{display:none}
#app .side{grid-column:4;grid-row:1;display:block;margin-top:57px;overflow:auto;padding:0;background:#101012;border-top:1px solid #2b2430;scrollbar-width:thin}#app .side.profile-open{position:static;width:auto;max-width:none;box-shadow:none;z-index:auto}#app .cx-profile-head{text-align:center;padding:25px 16px 21px}#app .cx-profile-avatar{display:flex;align-items:center;justify-content:center;width:60px;height:60px;margin:0 auto 13px;border:2px solid #8d48db;border-radius:50%;box-shadow:0 0 0 3px #20142e;background:#17121d;font-size:22px;color:#eadef8}#app .cx-profile-head h3{font-size:17px;margin:0 0 6px;color:#ebe3f5}#app .cx-profile-head p{font-size:11px;color:#a395ad;margin:0 0 17px;overflow-wrap:anywhere}#app .cx-profile-close{display:none}#app .cx-profile-tabs{display:flex;border-bottom:1px solid #2a2234;position:sticky;top:0;background:#111014;z-index:1}#app .cx-profile-tabs button{flex:1;border:0;border-radius:0;border-bottom:2px solid transparent;min-height:44px;padding:9px 4px;font-size:11px;color:#aa9bb6}#app .cx-profile-tabs button[aria-selected=true]{color:#e0cbf9;border-bottom-color:#9349e8}#app .cx-profile-body{padding:18px 15px 25px}#app .cx-note{background:#211406;border:1px solid #4e2e0c;border-radius:8px;padding:12px;color:#d8b58e}#app .cx-section-title{display:flex;align-items:center;justify-content:space-between;gap:7px;color:#ac9ab8;font-size:10px;letter-spacing:.7px;margin:0 0 9px;font-weight:500}#app .cx-section-title>span{display:flex;gap:7px;align-items:center}#app .cx-section-title svg{width:14px;height:14px}#app .cx-section-title .cx-icon{min-height:26px;min-width:26px;padding:5px}#app .cx-note .cx-section-title{color:#e7a35f}#app .cx-note p{font-size:12px;font-style:italic;color:#d6b99b;line-height:1.65;margin:0;white-space:pre-wrap}#app .cx-profile-section{margin-top:22px}#app .cx-tag{display:inline-block;background:#133326;border:1px solid #2c644d;padding:3px 8px;color:#8bdbb6;border-radius:4px;font-size:10px}#app .cx-tag.waster{background:#32210c;border-color:#6b4717;color:#e8bc75}#app .cx-finance{display:grid;grid-template-columns:1fr 1fr;gap:7px}#app .cx-finance>div{background:#080709;border:1px solid #2d2533;border-radius:7px;padding:11px 9px;min-width:0}#app .cx-finance small{display:block;font-size:9px;letter-spacing:.4px;color:#a99bb6}#app .cx-finance strong{display:block;margin-top:8px;font-size:19px;color:#ece3f7;font-variant-numeric:tabular-nums}#app .cx-profile-card{margin-top:14px;padding:12px;border:1px solid #2e2638;background:#0a080d;border-radius:8px}#app .cx-detail{display:flex;justify-content:space-between;gap:10px;align-items:start;padding:8px 0;color:#ab9ab7;font-size:11px}#app .cx-detail b{font-weight:500;color:#dcd1e9;text-align:right;overflow-wrap:anywhere}#app .cx-profile-card select{margin-top:6px;padding:8px;font-size:11px;background:#141019;border-color:#3b3047}#app .cx-profile-card button{font-size:11px}#app .cx-inline-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}#app .cx-profile-sale{padding:13px 0;border-bottom:1px solid #2d2437;display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:12px}#app .cx-profile-sale small{display:block;font-size:10px;margin-top:5px}#app .cx-profile-sale .badge{background:#223122;color:#b2dfbc;font-size:10px}
#app .cx-popover{position:absolute;z-index:70;left:calc(14% + 14px);top:171px;width:min(460px,calc(100% - 35%));max-height:75dvh;overflow:auto;background:#111015;border:1px solid #3f314f;border-radius:11px;box-shadow:0 20px 80px #000a;padding:16px}#app .cx-pophead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:13px}#app .cx-pophead .cx-icon{min-height:28px}#app .cx-popup-tabs{display:flex;gap:5px;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px solid #2b2037}#app .cx-popup-tabs button{font-size:11px;padding:6px 9px;min-height:31px;background:#141019;border:1px solid transparent;border-radius:5px}#app .cx-popup-tabs button.active{background:#2c1547;color:#d9bff7}#app .cx-notice-row{display:flex;gap:11px;align-items:start;padding:16px 0;border-bottom:1px solid #2b2235;min-width:0}#app .cx-notice-row>div{flex:1;min-width:0}#app .cx-notice-row b{font-size:12px}#app .cx-notice-row p{font-size:11px;line-height:1.6;color:#b1a3c1;margin:5px 0}#app .cx-notice-row small{font-size:10px;color:#9c8baf}#app .cx-notice-row .cx-avatar{width:31px;height:31px;font-size:12px}#app .cx-popitem{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:11px 8px;border:0;border-bottom:1px solid #2c2337;border-radius:0;font-size:12px;background:transparent;text-align:left}#app .section{grid-column:2/5;grid-row:1;background:#0b090e}#app .section table{background:#141019}#app .stat,#app .card{background:#15101b;border-color:#33293f}#app .badge{background:#2d1e3f;color:#cbb0ea}#app .empty{color:#a899b6}
.overlay{background:#000c;backdrop-filter:blur(4px)}.modal{background:#111014;border-color:#48365c;border-radius:13px;box-shadow:0 20px 100px #0009}.modal .close{display:flex;align-items:center;justify-content:center;padding:7px;border:0;min-height:32px;min-width:32px;background:transparent;color:#b4a5c6}.modal h2{font-size:17px;font-weight:600}.modal h3{font-size:14px}.modal input,.modal select,.modal textarea{background:#0a080d;border-color:#3a2c49}.modal-footer{background:#111014}.media-card{background:#0c0910;border-color:#352943}.media-preview{background:#09070b}.media-card small,.notice-inline{color:#bcaecb}.upload-progress{background:#20132f}.file-input{background:#181022;border-color:#66468b}.history-entry{border-color:#332740}.toast{background:#26153a;border:1px solid #684392;color:#ebdefa;font-size:12px;border-radius:10px}.warn{background:#2a1b0c;color:#e3bc8b;border:1px solid #5e3a16}.cx-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.cx-edit-grid>div{min-width:0}.cx-edit-grid .cx-wide{grid-column:1/-1}.cx-media-source{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#bd9ae4;background:#1f1130;padding:2px 6px;border-radius:4px;margin-top:6px}
@media(max-width:1100px){#app{grid-template-columns:140px 220px minmax(0,1fr) 245px}#app .nav{padding:20px 8px 12px}#app .nav>button,#app .cx-navfoot>button{font-size:11px;gap:8px;padding:10px 7px}#app .cx-brand{padding-left:3px;gap:7px}#app .cx-brand h2{font-size:12px}#app .head{padding:13px 12px}#app .cx-popover{left:150px;width:min(440px,calc(100% - 170px))}#app .cx-finance strong{font-size:17px}}
@media(max-width:900px){#app{grid-template-columns:220px minmax(0,1fr) 245px;grid-template-rows:50px minmax(0,1fr)}#app .cx-mobile-header{display:flex;grid-column:1/-1;grid-row:1;align-items:center;justify-content:space-between;background:#111013;border-bottom:1px solid #2e223b;padding:4px 12px}#app .cx-mobile-header>b{font-size:13px;letter-spacing:1.3px}#app .nav{display:none}#app .nav.cx-nav-open{display:flex;position:absolute;left:0;top:50px;bottom:0;width:205px;z-index:90;box-shadow:10px 0 50px #000b;border-right:1px solid #4d306e}#app .cx-navclose{display:flex;min-height:30px;min-width:30px;padding:5px;background:transparent;border:0;margin-left:auto;color:#b7a2cf}#app .list{grid-column:1;grid-row:2}#app .chat{grid-column:2;grid-row:2}#app .side{grid-column:3;grid-row:2}#app .section{grid-column:1/4;grid-row:2}#app .cx-popover{left:12px;top:185px;width:min(440px,calc(100% - 24px))}}
@media(max-width:700px){#app{display:grid;grid-template-columns:1fr;grid-template-rows:54px minmax(0,1fr);height:100dvh}#app .cx-mobile-header{grid-column:1;grid-row:1;min-height:54px;padding:5px 10px}#app .nav.cx-nav-open{top:54px;width:220px;flex-wrap:nowrap;overflow-x:hidden;align-items:stretch;min-height:0;gap:0;padding:22px 10px 14px}#app .nav.cx-nav-open .cx-brand{padding-bottom:22px;display:flex}#app .nav.cx-nav-open h2{display:block;font-size:13px}#app .nav.cx-nav-open #identity,#app .nav.cx-nav-open .connection{display:block}#app .nav.cx-nav-open button{width:100%;flex-shrink:0;text-align:left;font-size:13px;padding:11px 10px;min-height:44px;margin:2px 0}#app .nav.cx-nav-open .cx-navclose{width:auto;min-height:32px;min-width:32px;padding:5px}#app .nav.cx-nav-open .cx-group{font-size:10px}#app .list{grid-column:1;grid-row:2;display:block;overflow:auto}#app .chat{grid-column:1;grid-row:2;display:none;height:auto;min-height:0}#app[data-mobile=chat] .list{display:none}#app[data-mobile=chat] .chat{display:flex}#app[data-mobile=panel] .list,#app[data-mobile=panel] .chat{display:none}#app .section{grid-column:1;grid-row:2;min-width:0;padding:18px 15px}#app .side{display:none;grid-column:1;grid-row:2;margin-top:0}#app .side.profile-open{display:block;position:absolute;inset:54px 0 0;z-index:60;width:100%;max-width:none;margin:0;background:#111014;overflow:auto}#app .cx-profile-close{display:inline-flex;float:right;margin:8px;min-height:38px;min-width:38px;border:0;background:transparent;color:#baa3d5;align-items:center;justify-content:center}#app .cx-profile-toggle{display:inline-flex}#app .cx-open-tabs{min-height:44px;height:44px;padding-top:6px}#app .cx-open-tabs button{height:37px;padding:7px 11px;max-width:150px;min-width:80px;font-size:11px}#app .cx-open-empty{padding:9px 12px}#app .head{min-height:70px;padding:10px;gap:7px}#app .head .mobile-back{display:inline-flex;min-width:29px;padding:3px}#app .cx-headtools .cx-icon{min-width:33px;min-height:40px;padding:7px}#app #cx-chat-avatar{width:33px;height:33px;font-size:13px}#app #chatname{font-size:13px}#app #cx-chat-handle{font-size:11px}#app .messages{padding:20px 13px;gap:14px}#app .bubble{max-width:90%;padding:10px 12px;font-size:13px}#app .message-meta{font-size:10px}#app .compose-v4{padding:9px 10px max(9px,env(safe-area-inset-bottom))}#app .compose-v4 textarea{font-size:16px;height:56px;min-height:45px;padding:10px 12px}#app .cx-compose-tools{gap:6px}#app .cx-compose-icons{gap:0}#app .cx-compose-icons .cx-icon{min-width:34px;min-height:40px;padding:7px}#app #send-button{min-height:40px;padding:7px 10px;font-size:12px;gap:5px}#app #send-button svg{width:15px}#app .media-actions{margin-top:7px;padding-top:7px;gap:5px}#app .media-actions button{font-size:10px;padding:5px 7px;min-height:32px}#app .cx-account{height:60px;padding:10px 17px}#app .cx-account b{font-size:13px}#app .cx-account small{font-size:11px}#app .cx-search input{font-size:16px}#app .cx-caption{font-size:12px}#app .cx-inboxtools{margin-top:13px}#app .chips{gap:7px}#app .chips button{min-height:35px;font-size:12px;padding:6px 10px}#app .contact{min-height:85px;padding:13px 11px;gap:11px}#app .contact .line b{font-size:14px}#app .contact p{font-size:12px}#app .contact time{font-size:11px}#app .cx-unread,#app .cx-spend{font-size:10px}#app .cx-profile-head{padding:28px 18px 20px}#app .cx-profile-head h3{font-size:19px}#app .cx-profile-body{padding:20px 18px 30px}#app .cx-profile-tabs button{font-size:12px;min-height:47px}#app .cx-note p{font-size:13px}#app .cx-detail{font-size:13px;padding:10px 0}#app .cx-section-title{font-size:11px}#app .cx-finance small{font-size:10px}#app .cx-finance strong{font-size:23px}#app .cx-profile-card{padding:15px}#app .cx-profile-card select{font-size:16px;padding:10px}#app .cx-popover{top:66px;left:9px;width:calc(100% - 18px);max-height:calc(100dvh - 80px)}.modal input,.modal select,.modal textarea{font-size:16px}.modal h2{font-size:16px}.cx-edit-grid{grid-template-columns:1fr}.cx-edit-grid .cx-wide{grid-column:auto}.modal{max-height:94dvh;padding:15px}.media-card .info{padding:10px}.media-card .info>b{font-size:12px}.media-card .info small{font-size:11px}.media-card button{font-size:11px;max-width:100%}.toast{bottom:14px;width:calc(100% - 24px);max-width:420px;font-size:12px}}
@media(max-width:360px){#app .cx-compose-tools{flex-wrap:wrap}#app .cx-compose-icons .cx-icon{min-width:33px;padding:6px}#app #send-button{margin-left:auto}#app .head{gap:5px}#app .head .mobile-back{min-width:25px}#app .media-actions button{font-size:10px}}
@media(pointer:coarse){button{min-height:44px}#app .cx-icon{min-height:44px;min-width:40px}#app .cx-headtools .cx-icon{min-width:37px;min-height:44px}#app .cx-compose-icons .cx-icon{min-width:38px;min-height:44px}#app .chips button{min-height:40px}#app .media-actions button{min-height:40px}#app input,#app select,#app textarea{font-size:16px}.modal button{min-height:44px}}
/* Conversations 4.5: pinned threads, compact media and complete emoji picker. */
.cx-name-line{display:flex;align-items:center;gap:7px;min-width:0}.cx-name-line #chatname{overflow:hidden;text-overflow:ellipsis}.cx-name-line .cx-icon{min-width:30px;min-height:32px;padding:5px}.cx-avatar img{height:100%;width:100%;object-fit:cover;border-radius:50%}#app .cx-avatar.cx-online{border:2px solid #40d587;box-shadow:0 0 0 2px #40d58735}.cx-delivery{display:inline-flex;align-items:center;gap:3px;margin-left:8px;color:#b2a2c5}.cx-delivery svg{width:14px;height:14px}.cx-delivery.cx-seen{color:#6dddac}.cx-inbox-filters{display:flex;flex-wrap:wrap;gap:7px}.cx-agent-allocation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0}.cx-agent-allocation label{display:flex;align-items:center;gap:9px;margin:0}.cx-agent-allocation input[type=checkbox]{width:auto}.cx-agent-allocation input[type=number]{width:85px}.cx-emoji-favorites{display:flex;align-items:center;border-bottom:1px solid #32283d;margin-bottom:12px;padding-bottom:8px;gap:8px}.cx-emoji-favbar{display:flex;overflow-x:auto;gap:4px;flex:1;min-width:0}.cx-emoji-favbar button{position:relative;flex-shrink:0;font-size:23px;padding:3px;background:transparent;border:0;min-width:36px;min-height:38px}.cx-emoji-favbar small{font-size:10px;color:#b988f0}.cx-emoji-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:3px;max-height:42dvh;overflow:auto;margin:12px 0}.cx-emoji-grid button{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:26px;padding:4px;min-height:42px;line-height:1.2;background:transparent;border:1px solid transparent}.cx-emoji-grid .cx-emoji-favorite{border-color:#8d40e4;background:#291442}.cx-emoji-groups{display:flex;overflow-x:auto;gap:5px;margin-top:8px}.cx-emoji-groups button{white-space:nowrap;font-size:11px;min-height:32px;padding:5px 9px}.cx-media-tabs{display:flex;gap:4px;border-bottom:1px solid #30283a;padding-bottom:12px}.cx-media-tabs button{flex:1;border:0;background:transparent;color:#b4a7c3;min-height:44px}.cx-media-tabs button.active{background:#30164e;color:#e8d9fa}.cx-media-owner{display:flex;gap:7px;margin:12px 0}.cx-media-owner button{font-size:11px;padding:6px 9px}.cx-media-folders{display:grid;gap:8px}.cx-media-folders button{display:grid;grid-template-columns:22px 1fr 20px;gap:7px 12px;align-items:center;text-align:left;padding:15px;background:#141018;border:1px solid #2e2638}.cx-media-folders small{grid-column:2}.cx-media-folders button>svg:last-child{grid-column:3;grid-row:1/3}.cx-media-hint{font-size:12px;color:#b5a6c6;margin:17px 0}.cx-media-kinds{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.cx-media-kinds button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;min-height:115px;background:#17101e}.cx-media-kinds svg{width:28px;height:28px}.cx-media-breadcrumb{display:flex;align-items:center;gap:8px;font-size:12px;margin:12px 0}.cx-media-breadcrumb button{border:0;background:transparent;padding:4px;color:#c6a4ed}.cx-media-breadcrumb b{font-weight:500}.cx-media-tabs~.cx-media-owner:empty{display:none}
.cx-consent{display:flex;align-items:flex-start;gap:10px;line-height:1.5;margin:15px 0}.cx-consent input[type=checkbox]{width:auto;flex-shrink:0;margin-top:4px}#cx-tg-error{color:#e7b5bb;font-size:12px;margin-top:10px}#cx-tg-verification{font-size:18px;letter-spacing:3px}
/* V4.6 */
#app .cx-client-tag{display:block;width:max-content;margin-top:4px;padding:2px 7px;border-radius:5px;font-size:10px;line-height:1.5;font-weight:600}#app .cx-client-tag.spender,#app .cx-tag.spender{color:#73e3ae;background:#123225;border:1px solid #245940}#app .cx-client-tag.waster,#app .cx-tag.waster{color:#ff9ba5;background:#35161e;border:1px solid #63303e}#app .cx-note-scroll{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow-y:auto;font-size:13px;line-height:1.6;margin-top:13px;padding-right:6px;scrollbar-width:thin}#app .cx-profile-tabs{display:grid;grid-template-columns:1fr 1fr}.cx-notes-input{width:100%;min-height:220px;max-height:60dvh;overflow:auto;resize:vertical}.cx-media-back{display:inline-flex;align-items:center;gap:6px;margin:10px 0;min-height:44px}.cx-media-back svg{width:18px;height:18px}.cx-sale-alert{position:fixed;top:max(18px,env(safe-area-inset-top));right:18px;z-index:1500;max-width:min(360px,calc(100vw - 32px));padding:15px 18px;display:flex;align-items:center;gap:12px;border:1px solid #26724f;border-radius:12px;background:#12251e;box-shadow:0 8px 35px #0008;color:#edfff4;pointer-events:none;animation:cx-alert-in .18s ease-out}.cx-sale-alert svg{width:26px;height:26px;color:#73e3ae}.cx-sale-alert small{display:block;color:#b5cabf;margin-top:4px}.cx-sale-alert b{font-size:14px}@keyframes cx-alert-in{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.cx-sale-alert{animation:none}}

/* 4.9: client privacy and additional profile fields. */
.cx-photo-hidden{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:min(240px,100%);min-height:126px;padding:24px;background:linear-gradient(135deg,#241c2d,#19131f);border:1px dashed #5c4773;border-radius:12px;color:#e4d6f4;cursor:pointer}.cx-photo-hidden small{color:#a99bb9}.cx-extra-tags{display:flex;gap:18px;border:1px solid #39303f;border-radius:10px;margin-top:16px;padding:14px}.cx-extra-tags label{display:flex;align-items:center;gap:6px}.cx-extra-tags input{width:auto}.cx-client-tag.p_plus{background:#163b37;color:#7de0bd}.cx-client-tag.p_minus{background:#432c2b;color:#f5b7a5}.cx-client-tag{margin-right:4px}.cx-name-fields{margin:0 14px 12px}.cx-telegram-name{display:block;color:#9b90aa;overflow-wrap:anywhere}.cx-protected-media{-webkit-user-drag:none;user-select:none;-webkit-touch-callout:none}#cx-photo-filter.active{color:#c197f2;background:#2f213e}#network-status{position:fixed;bottom:16px;left:16px;max-width:calc(100vw - 32px);padding:12px 16px;z-index:300;background:#2e2439;color:#ede1fb;border:1px solid #6c518a;border-radius:12px;font-size:13px;pointer-events:none}#network-status[hidden]{display:none}

/* V4.10: clear counters, compact sent history and direct assignment. */
#app #cx-notice-dot,.cx-mobile-count{position:absolute;right:-3px;top:-5px;display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:20px;height:20px;padding:0 5px;box-sizing:border-box;border:2px solid #141019;border-radius:20px;background:#e74782;color:#fff;font-size:11px;font-weight:800;line-height:16px;box-shadow:0 1px 5px #0008}#app #cx-notice-dot[hidden],.cx-mobile-count[hidden]{display:none}.cx-mobile-header [aria-label=Notifications]{position:relative}.cx-filter-count{display:inline-flex;justify-content:center;align-items:center;min-width:19px;padding:1px 5px;border-radius:10px;background:#31243f;color:#f3ebfc;font-size:11px;font-weight:700}.chips button.active .cx-filter-count{background:#fff;color:#5d16ae}.cx-caption{font-variant-numeric:tabular-nums}.cx-contact-notice{position:relative;padding:15px 14px;border-bottom:1px solid #332738}.cx-contact-notice.is-unread{background:#1f132c}.cx-contact-notice-head{display:flex;align-items:center;gap:8px;justify-content:space-between}.cx-contact-notice-head button{padding:0;border:0;background:none;text-align:left;font-weight:600}.cx-contact-notice-head time{color:#bfb3cd;font-size:12px}.cx-contact-notice>small{display:block;margin-top:5px;color:#b7a9c8}.cx-assignment{display:flex;align-items:center;gap:10px;margin-top:12px;padding-right:30px}.cx-assignment label{font-size:11px;margin:0;white-space:nowrap}.cx-assignment select{min-width:0;flex:1;padding:7px;font-size:12px}.cx-notice-read{position:absolute;right:10px;bottom:14px;padding:4px;min-width:26px;min-height:30px}.cx-notice-read svg{width:15px;height:15px}.cx-history-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;border-bottom:1px solid #392c47;margin-bottom:8px}.cx-history-tabs button{background:none;border:0;border-radius:0;min-width:0;padding:10px 3px;color:#b4a6c3;font-size:12px}.cx-history-tabs button[aria-selected=true]{border-bottom:2px solid #9851ea;color:#e9dafa}.cx-history-tabs small{display:block;margin-top:4px;font-size:10px}.cx-media-history .cx-history-row,.cx-history-unknown .cx-history-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border:0;border-bottom:1px solid #2c2237;background:none;border-radius:0;margin:0}.cx-history-preview{height:52px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:6px;background:#1c1525}.cx-history-preview img,.cx-history-preview video{width:64px;height:52px;object-fit:cover;max-height:52px}.cx-history-image{padding:0;border:0;background:none;min-height:0}.cx-history-preview>svg{width:21px;height:21px;color:#b89cd8}.cx-history-description{min-width:0}.cx-history-description b{display:block;font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cx-history-description small{display:block;font-size:10px;color:#a999bc;margin-top:4px}.cx-history-description audio{display:block;width:100%;min-width:0;height:30px;margin-top:5px}.cx-history-row time{font-size:10px;color:#bdadcf;text-align:right;white-space:nowrap}.cx-history-row time small{display:block;margin-top:4px}.cx-history-full{max-height:70dvh;max-width:100%;object-fit:contain;display:block;margin:12px auto}.cx-history-unknown{margin-top:14px;font-size:12px}.cx-telegram-invite svg{width:22px!important;height:22px!important}.cx-history-preview>.muted{font-size:9px;text-align:center}

@media(max-width:700px){#app .cx-headtools .cx-icon{min-width:30px;padding:5px}#app .cx-headtools{gap:0}}

.cx-sticker-player,.message-media.cx-sticker{width:160px;max-width:100%;height:160px;object-fit:contain;background:transparent;display:block}.cx-sticker-player canvas{max-width:100%;max-height:100%}.cx-sticker-player{display:flex;align-items:center;justify-content:center;overflow:hidden}

/* Operational pages share the existing APEXDIGITALE design. */
#app .cx-pinned-tab{display:flex;align-items:center;border:1px solid #39303f;border-radius:8px 8px 0 0;background:#110e15;flex-shrink:0;max-width:200px}#app .cx-pinned-tab.cx-tab-active{background:#20132e;border-color:#833dd2;border-bottom:2px solid #954be9}#app .cx-open-tabs .cx-pinned-tab button{margin:0;background:transparent;border:0;border-radius:0;min-width:0;height:42px;max-width:160px}#app .cx-open-tabs .cx-pinned-tab .cx-unpin{min-width:30px;width:30px;padding:5px;height:36px;color:#b6a8c5}#app .cx-unpin svg{width:13px;height:13px}#app .cx-profile-head{padding:14px 14px 12px;display:grid;grid-template-columns:38px minmax(0,1fr);gap:3px 10px;text-align:left;align-items:center}#app .cx-profile-avatar{width:36px;height:36px;font-size:17px;margin:0;grid-row:1/3;box-shadow:none}#app .cx-profile-head h3{font-size:16px;margin:0}#app .cx-profile-head p{font-size:11px;margin:0}#app .cx-profile-head>.cx-outlined{grid-column:2;justify-self:start;font-size:11px;min-height:29px;margin-top:5px;padding:4px 8px}#app .cx-inline-profile input{width:100%;margin:0 0 8px;font-size:13px;min-height:37px}#app .cx-inline-profile label{font-size:11px;color:#ada0b7;margin:8px 0 4px}#app .cx-inline-profile button{font-size:11px;margin-top:6px}#app .chips{flex-wrap:wrap}.media-card .info>b{white-space:pre-wrap;overflow-wrap:anywhere;display:block;max-height:8em;overflow:auto}.ws-pagehead{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:22px}.ws-title{display:flex;gap:14px;align-items:center}.ws-title>svg{width:46px;height:46px;background:#1d1329;border:1px solid #372151;border-radius:13px;padding:11px;color:#a96eed}.ws-title h2{font-size:23px;margin:0 0 7px;letter-spacing:-.5px}.ws-title p,.ws-panel>p,.ws-setting-row p,.ws-setting-card p{color:#a298ac;font-size:12px;line-height:1.6;margin:5px 0}.ws-topfilters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end}.ws-topfilters select,.ws-topfilters input,.ws-topfilters button{width:auto;min-height:35px;font-size:12px;padding:7px 10px}.ws-topfilters input[type=date]{max-width:135px}.ws-segment{display:flex;padding:3px;border:1px solid #302934;border-radius:8px;background:#0e0c11}.ws-segment button{border:0;background:transparent;padding:5px 10px}.ws-segment button.active,.ws-topfilters button.active{background:#2f213e;color:#d6bcf4}.ws-tabs{display:flex;border-bottom:1px solid #2c2631;gap:8px;margin:0 0 22px;overflow-x:auto}.ws-tabs button{white-space:nowrap;background:transparent;border:0;border-radius:0;color:#9f94aa;font-size:13px;padding:13px 16px;border-bottom:2px solid transparent}.ws-tabs button.active{border-color:#944ae9;color:#c9a6f1}.ws-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 18px}.ws-cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}.ws-card{border:1px solid #2b2630;border-radius:12px;padding:20px;background:linear-gradient(135deg,#1b142425,#0b0b0d);min-height:128px;min-width:0;position:relative}.ws-card:after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;right:19px;top:22px;background:#9247e7}.ws-card.green:after,.ws-setting-card.green{--ws-color:#2cb67c}.ws-card.blue:after{background:#378fce}.ws-card.gold:after{background:#deb526}.ws-card.pink:after{background:#d854a8}.ws-card.green:after{background:#2ec795}.ws-card.cyan:after{background:#2eafbd}.ws-card.orange:after{background:#d98535}.ws-card small{display:block;text-transform:uppercase;letter-spacing:.5px;font-size:10px;color:#b0a6b9;padding-right:14px}.ws-card strong{display:block;margin:14px 0 9px;font-size:clamp(22px,2.25vw,32px);letter-spacing:-1px;line-height:1.1;overflow-wrap:anywhere}.ws-card p{font-size:11px;margin:5px 0;color:#998fa3}.ws-pills{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.ws-pills span{font-size:11px;border:1px solid #30263b;background:#1a1223;border-radius:7px;padding:7px 10px;color:#c1acd8}.ws-charts{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:25px}.ws-panel{padding:20px;border:1px solid #2c2631;border-radius:12px;background:#0d0c0f;margin-bottom:18px;min-width:0}.ws-panel h3{font-size:15px;margin:0 0 7px}.ws-chart{display:block;width:100%;height:auto;min-height:180px;margin-top:15px}.ws-chart text{stroke:none;fill:#a39aa9}.ws-donut{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap}.ws-donut svg{width:min(220px,70%);height:auto}.ws-donut p{font-size:11px;display:flex;gap:7px;align-items:center;color:#b8a9c1}.ws-donut b{margin-left:auto}.ws-donut i{width:7px;height:7px;border-radius:50%}.ws-donut text{stroke:none}.ws-tablefilters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:16px}.ws-tablefilters input{flex:1;min-width:170px}.ws-tablefilters select,.ws-tablefilters input,.ws-tablefilters button{font-size:12px;min-height:35px;padding:7px 10px;width:auto}.ws-table-wrap{overflow:auto;max-width:100%;scrollbar-width:thin}.ws-table-wrap table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}.ws-table-wrap th{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:#93889f;font-weight:550;text-align:left;padding:13px 12px;border-bottom:1px solid #302935}.ws-table-wrap td{padding:15px 12px;border-bottom:1px solid #221d27;color:#ccc3d6}.ws-table-wrap tr:nth-child(even){background:#ffffff02}.ws-table-wrap td button{font-size:12px;border:0;background:transparent;padding:0;color:#cba8f4}.ws-status{display:inline-block;padding:4px 9px;border:1px solid #695119;border-radius:20px;color:#edc66b;background:#2c220c;font-size:10px}.ws-status.verified{color:#72dcb0;background:#10291f;border-color:#24513e}.ws-status.refunded{color:#f19ca2;background:#301419;border-color:#5d2e36}.ws-count{font-size:11px;color:#92869d}.ws-method{font-size:11px;color:#9d90a8;line-height:1.7;margin:20px 0}.ws-method summary{cursor:pointer}.ws-forecast{font-size:36px;display:block;margin:28px 0;color:#ba8eec}.ws-calendar{display:grid;grid-template-columns:repeat(var(--days),minmax(145px,1fr));overflow:auto;border:1px solid #2d2537;border-radius:12px;min-height:400px}.ws-calendar-day{border-right:1px solid #2d2537;min-height:400px;padding:0 8px 15px}.ws-calendar-day h3{text-align:center;font-size:12px;color:#b4a6bf;padding:18px 0;margin:0 -8px 13px;border-bottom:1px solid #2d2537;background:#100c15}.ws-calendar-day.today h3{background:#1f122e;color:#ceb2ef}.ws-shift{width:100%;text-align:left;display:flex;flex-direction:column;gap:6px;border-top:3px solid #8a48d5;border-radius:5px;margin:0 0 10px;padding:10px;background:#17121c}.ws-shift b{font-size:12px}.ws-shift small{font-size:10px;white-space:normal;overflow-wrap:anywhere}.ws-shift span{font-size:10px;color:#bb99e1}.ws-shift.attended{border-top-color:#30bf85}.ws-shift.late{border-top-color:#dca82c}.ws-shift.absent,.ws-shift.cancelled{border-top-color:#cc4d60}.ws-calendar-empty{text-align:center;color:#73667d;font-size:11px;margin-top:28px}.ws-clock-button{width:100%;display:flex;align-items:center;gap:8px;background:#18121f;color:#bba0da;font-size:11px;padding:9px 8px;min-height:36px;margin:10px 0 4px}.ws-clock-button.on{color:#63ddb0;border-color:#265541;background:#11231c}.ws-setting-card{--ws-color:#9556dc;border:1px solid #2e2638;border-left:3px solid var(--ws-color);border-radius:12px;margin-bottom:18px;background:#0c0b0e;overflow:hidden}.ws-setting-card.teal{--ws-color:#29afa2}.ws-setting-card.gold{--ws-color:#c18b24}.ws-setting-card.green{--ws-color:#30bc77}.ws-setting-card.blue{--ws-color:#2f99cf}.ws-setting-card header{padding:20px 24px;background:color-mix(in srgb,var(--ws-color) 5%,#0c0b0e);border-bottom:1px solid #27202e}.ws-setting-card h3{font-size:15px;margin:0 0 6px}.ws-setting-body{padding:6px 24px 20px}.ws-setting-body>label{color:#ac9cb8;font-size:11px;text-transform:uppercase;margin-top:20px}.ws-setting-body>select{max-width:420px;width:100%;font-size:13px}.ws-setting-row{display:flex;justify-content:space-between;align-items:center;gap:25px;border-bottom:1px solid #251e2c;padding:20px 0;min-width:0}.ws-setting-row:last-child{border-bottom:0}.ws-setting-row b{font-size:13px}.ws-setting-row select{width:auto;font-size:12px;max-width:230px}.ws-setting-row button{font-size:11px}.ws-switch{position:relative;display:inline-block;flex:0 0 42px;width:42px;height:24px;margin:0!important;cursor:pointer}.ws-switch input{position:absolute;opacity:0;width:1px;height:1px}.ws-switch>span:not(.cx-sr){position:absolute;inset:0;border-radius:20px;background:#3a3041;border:1px solid #4a3d53}.ws-switch>span:not(.cx-sr):after{content:'';position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#eee;transition:transform .15s}.ws-switch input:checked+span{background:var(--ws-color,#8039d1);border-color:transparent}.ws-switch input:checked+span:after{transform:translateX(18px)}.ws-switch input:focus-visible+span{outline:2px solid #ddc6f8;outline-offset:4px}.ws-rolechips{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.ws-rolechips label{display:flex;align-items:center;gap:7px;background:#18121f;border:1px solid #30233f;border-radius:9px;padding:10px 13px;font-size:12px;margin:0}.ws-rolechips input{width:15px;height:15px;margin:0;accent-color:#8e48df}.ws-formgrid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.ws-formgrid label{font-size:11px;color:#9e90a9;text-transform:uppercase}.ws-formgrid select{width:100%;font-size:13px}.ws-savebar{position:sticky;bottom:0;padding:14px 0;background:#0b080fee;display:flex;gap:15px;align-items:center}.ws-savebar span{font-size:12px;color:#6cdfa9}.ws-permissions{display:grid;grid-template-columns:210px minmax(0,1fr);gap:18px}.ws-permissions aside{padding:20px 16px;border:1px solid #2d2537;border-radius:12px;align-self:start}.ws-permissions aside h3{font-size:12px;text-transform:uppercase;color:#9e8cab}.ws-permissions aside button{width:100%;display:flex;gap:10px;text-align:left;margin:6px 0;font-size:12px;padding:12px;border:1px solid transparent;background:transparent}.ws-permissions aside button.active{background:#26123c;border-color:#3f235e;color:#d4b7f6}.ws-permissions aside p{color:#93819e;font-size:11px;line-height:1.8}.ws-permission-row{display:flex;justify-content:space-between;gap:15px;align-items:center;background:#17121c;border-radius:8px;padding:10px 13px;margin-top:9px}.ws-permission-row b{font-size:12px}.ws-permission-row select{max-width:140px;width:auto;font-size:11px;background:#1f1629}.ws-rolechips input,.ws-switch input{padding:0}
@media(min-width:1101px){#app .section{grid-column:2/5;grid-row:1;padding:28px;overflow:auto}}
@media(max-width:1100px){.ws-pagehead{flex-direction:column}.ws-topfilters{justify-content:flex-start}.ws-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-charts{grid-template-columns:1fr}.ws-permissions{grid-template-columns:160px minmax(0,1fr)}}
@media(max-width:700px){.ws-title h2{font-size:20px}.ws-title>svg{width:40px;height:40px;padding:9px}.ws-cards,.ws-cards.three{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ws-card{padding:15px;min-height:114px}.ws-card strong{font-size:24px}.ws-card small{font-size:9px}.ws-tabs{gap:0}.ws-tabs button{font-size:12px;padding:12px}.ws-panel{padding:14px}.ws-topfilters input,.ws-topfilters select{font-size:16px;min-height:42px}.ws-topfilters input[type=date]{max-width:calc(50% - 5px)}.ws-setting-card header{padding:17px}.ws-setting-body{padding:4px 17px 17px}.ws-setting-row{gap:12px;padding:16px 0}.ws-formgrid{grid-template-columns:1fr}.ws-permissions{grid-template-columns:1fr}.ws-permissions aside{display:flex;gap:5px;flex-wrap:wrap;padding:12px}.ws-permissions aside h3,.ws-permissions aside p{width:100%;margin:3px}.ws-permissions aside button{width:auto;padding:8px;font-size:11px;margin:0}.ws-permission-row{padding:10px}.ws-setting-body input,.ws-setting-body select{font-size:16px}.ws-table-wrap th{font-size:9px}.ws-table-wrap td{font-size:12px;padding:13px 9px}.ws-chart{min-height:140px}.ws-clock-button{min-height:42px}#app .cx-pinned-tab{max-width:155px}#app .cx-open-tabs .cx-pinned-tab button{font-size:11px;max-width:120px;height:37px}#app .cx-profile-head{padding:12px 18px}#app .cx-profile-avatar{width:34px;height:34px}#app .cx-profile-head h3{font-size:16px}#app .cx-inline-profile input{font-size:16px}.ws-setting-row select{max-width:160px}}

#app .nav{overflow-y:auto;scrollbar-width:thin}#app .nav>button,#app .nav .cx-navfoot{flex-shrink:0}#app .nav .cx-navfoot{padding-top:15px}.ws-chart circle{opacity:0}.ws-chart circle:hover{opacity:1}
.cx-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
/* V4.8: compact controls, genuine inline media and durable notifications. */
#ws-clock{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px;border-bottom:1px solid #2e2637;background:#1b1422;flex-shrink:0}#ws-clock[hidden]{display:none}#ws-clock .ws-clock-button{width:auto;margin:0;white-space:normal}#ws-clock small{color:#aaa1b5;font-size:11px}.cx-media-history{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;max-height:70vh;overflow:auto}.cx-media-history .history-entry{margin:0;min-width:0;overflow:hidden}.cx-media-history img,.cx-media-history video{width:100%;max-height:260px;object-fit:contain;background:#110c16;border-radius:8px}.cx-media-history audio{width:100%}.cx-media-history p{overflow-wrap:anywhere;margin:5px 0}.media-card{position:relative}.cx-media-sent{display:block;position:static;align-self:start;background:#263b30;color:#a6eac0;border-radius:5px;padding:3px 7px;font-size:11px;line-height:16px;min-height:22px;max-width:max-content;margin:6px 8px}.cx-media-progress{color:#c19ee9;margin:8px 0;font-size:13px}.cx-notification-tools{padding:10px 14px;border-bottom:1px solid #352b3c;display:grid;gap:8px}.cx-notification-tools label{font-size:12px;display:flex;align-items:center;gap:8px;margin:0}.cx-notification-tools input[type=checkbox]{width:auto;margin:0}.cx-notification-tools input[type=range]{width:100%;padding:0;accent-color:#a46ce4}.cx-notification-tools output{margin-left:auto}.cx-notification-list{max-height:46vh;overflow:auto}.cx-notice-row.is-unread{background:#a56de50d;border-left:2px solid #a66de8}.cx-notice-row.is-read{opacity:.78}.cx-notice-row>div{min-width:0;overflow-wrap:anywhere}.cx-notice-actions{display:flex;gap:7px;margin-top:7px;flex-wrap:wrap}.cx-notice-actions button,.cx-notice-actions span{font-size:11px;padding:4px 6px}.cx-popover{max-height:calc(100dvh - 100px);overflow:auto}#cx-notice-dot{position:absolute;top:1px;right:1px;min-width:14px;height:14px;line-height:14px;font-size:8px;text-align:center;border-radius:8px;padding:0 3px}.ws-access-user{display:flex;gap:15px;justify-content:space-between;align-items:center;padding:17px;border:1px solid #32283e;background:#1d1723;border-radius:11px;margin:10px 0}.ws-access-user small{display:block;color:#aaa1b5;margin-top:5px}.ws-access-actions{display:flex;gap:7px;flex-wrap:wrap}.ws-danger{color:#ff9cac;border-color:#8b4655}.cx-profile-section .cx-section-title{margin-top:0}
@media(max-width:700px){#ws-clock{padding:7px 10px;gap:5px;flex-wrap:wrap}#ws-clock .ws-clock-button{font-size:12px;min-height:34px}#ws-clock small{font-size:10px}.cx-media-history{grid-template-columns:1fr}.cx-notification-tools{padding:8px}.cx-notification-list{max-height:38vh}.ws-access-user{align-items:flex-start;flex-direction:column}.ws-access-actions{width:100%}.ws-access-actions button{flex:1}.cx-media-sent{font-size:10px}}

#ws-model-content{max-width:1040px}#ws-model-bio,#ws-approved-links{width:100%;resize:vertical;box-sizing:border-box;line-height:1.65}#ws-model-bio{min-height:300px}.ws-bio-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}#ws-model-content details summary{cursor:pointer;font-weight:600}#ws-model-content details p{color:#b6a9c2}

/* V4.10: short model facts and auditable shift history. */
.ws-bio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ws-bio-card h3{font-size:13px;text-transform:capitalize;color:#d0aff5;margin-bottom:18px}.ws-bio-card dl{margin:0}.ws-bio-card dl>div{display:grid;grid-template-columns:minmax(85px,33%) minmax(0,1fr);gap:16px;padding:9px 0;border-bottom:1px solid #2c2436}.ws-bio-card dt{color:#a492b9;font-size:12px}.ws-bio-card dd{margin:0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.ws-bio-card p{font-size:13px;line-height:1.65}.ws-bio-editor{margin-top:16px}#ws-model-content summary{margin-bottom:14px}.ws-history-method{font-size:12px;line-height:1.6;color:#ac9cba}.ws-session-summary{font-size:13px;line-height:1.7}.ws-idle-periods{padding:0;list-style:none}.ws-idle-periods li{display:flex;gap:16px;justify-content:space-between;border-bottom:1px solid #2f223e;padding:12px 0;font-size:12px}.ws-idle-periods b{white-space:nowrap;color:#e6b17e}@media(max-width:700px){.ws-bio-grid{grid-template-columns:1fr}.ws-bio-card dl>div{grid-template-columns:90px minmax(0,1fr);gap:12px}.ws-idle-periods li{flex-wrap:wrap}}
/* V4.11: team structure and delegated access */
.ws-access-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.ws-access-toolbar input{flex:1;min-width:180px}.ws-access-toolbar select{width:auto;min-width:160px}.ws-access-table{overflow:auto;border:1px solid #332a3c;border-radius:14px}.ws-access-table table{min-width:850px;width:100%;border-collapse:collapse}.ws-access-table td,.ws-access-table th{padding:16px;text-align:left;border-bottom:1px solid #2d2534}.ws-access-table small{display:block;max-width:210px;line-height:1.6}.ws-access-table tr[hidden]{display:none}.ws-member-status{color:#b2a7bd}.ws-member-status.on{color:#78ddaa}.ws-access-actions{display:flex;gap:7px;flex-wrap:wrap}.ws-access-actions button{padding:8px 11px}.ws-team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px}.ws-team-members p{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.ws-team-members small{color:#b4a8be}.ws-member-choices{display:flex;flex-wrap:wrap;gap:10px 22px}.ws-user-form fieldset{border:1px solid #3b3045;border-radius:12px;padding:16px;margin:18px 0}.ws-user-form legend{padding:0 8px;color:#d1bbeb}.ws-user-form input[type=checkbox]{width:16px;height:16px;margin-right:8px;accent-color:#9b5ae5}.ws-member-choices label{display:flex;align-items:center;margin:4px 0}.ws-user-permissions{border:1px solid #3b3045;border-radius:12px;padding:16px;margin-top:20px}.ws-user-permissions summary{cursor:pointer}.ws-team-audit{max-height:360px;overflow:auto}.ws-team-audit p{display:flex;gap:14px;flex-wrap:wrap;border-bottom:1px solid #2e2637;padding:12px 0}.ws-team-audit time{color:#b4a7c3;font-size:12px}.ws-team-audit span{color:#d0c3df}@media(max-width:600px){.ws-access-toolbar{align-items:stretch}.ws-access-toolbar input,.ws-access-toolbar select,.ws-access-toolbar>button{width:100%;flex:auto}.ws-user-form .ws-permission-row{gap:10px}.ws-user-form .ws-permission-row label{max-width:55%}.ws-user-form .ws-permission-row select{width:135px}}
/* Access save feedback remains visible next to the action, including on mobile. */
.ws-user-footer{z-index:5;border-top:1px solid #3f314f}.ws-user-footer [role=alert]{margin:0 0 10px;white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.ws-user-footer [role=alert]:empty{display:none}.ws-user-footer .ws-form-error{color:#ffb5c6;padding:10px;background:#491a2c;border-radius:8px}.ws-member-choices input:disabled+span{opacity:.5}
.ws-single-team{display:flex;gap:12px;align-items:center;background:#1e1528;border:1px solid #3e304d;border-radius:12px;padding:14px;color:#d4c3e8;line-height:1.6}.ws-single-team svg{width:22px;height:22px;flex:none}#ws-supervision-box[hidden]{display:none}

.ws-metric-detail{display:block;color:#ada1b8;font-size:11px;line-height:1.5;margin-top:4px;white-space:normal}

/* Scoped additions: retain the CRM palette, typography and existing components. */
.lf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px}.lf-course{display:flex;flex-direction:column;gap:10px}.lf-course small{display:block}.lf-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.lf-cover{max-height:180px;max-width:100%;object-fit:cover;border-radius:12px}.lf-editor{display:flex;flex-direction:column;gap:12px}.lf-editor label{display:flex;flex-direction:column;gap:6px}.lf-editor input[type=checkbox]{width:auto;align-self:flex-start}.lf-editor textarea{min-height:90px;resize:vertical}.lf-lesson{border-top:1px solid var(--line,#29262e);padding:16px 0;margin-top:12px}.lf-block{border:1px solid var(--line,#29262e);border-radius:10px;padding:12px;margin:12px 0}.lf-pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:450px;overflow:auto}.lf-content video,.lf-content img{max-width:100%;max-height:500px;border-radius:10px}.lf-content{margin:12px 0}.lf-chart{margin:16px 0;padding:16px;border:1px solid var(--line,#29262e);border-radius:12px;color:var(--accent,#822be5)}.lf-chart svg{width:100%;max-height:200px}.lf-chart details{color:var(--text,inherit)}#section.lf-page progress,.modal #lf-upload-progress{width:100%;accent-color:var(--accent,#822be5);height:12px}#section .lf-editor input,#section .lf-editor textarea,#section .lf-editor select{max-width:100%;min-width:0}.lf-actions label{flex:1;min-width:140px}.lf-chart figcaption{color:var(--text,inherit)}@media(max-width:700px){.lf-actions button{min-height:42px}.lf-editor textarea{font-size:16px}.lf-content video{width:100%}.lf-grid{grid-template-columns:1fr}}

/* Scoped Apex components; the rest of the CRM keeps its existing styles. */
.lf-course-reference>.lf-check-icon{color:#67d9a4;background:#193328}
.lf-check-icon{width:18px;height:18px;color:#67d9a4;vertical-align:middle;flex:0 0 18px;display:inline-block}.lf-document-nav button .lf-nav-title{font-size:12px;color:inherit;min-width:0;flex:1}.lf-document-nav button>.lf-check-icon{margin-left:auto}.lf-document-progress{margin-top:18px;max-width:420px}.lf-document-progress>span{display:flex;align-items:center;gap:8px;font-size:11px;color:#b2a1c5;line-height:1.7}.lf-document-progress b{color:#c7b4dc}.lf-document-progress progress{margin-top:8px;max-width:360px;height:7px!important}.lf-chapter-validation{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;border:1px solid #473062;background:#22172e;border-radius:12px;padding:20px;margin-top:34px}.lf-chapter-validation b{font-size:13px;color:#d8c6ed}.lf-chapter-validation p{font-size:11px;color:#a491ba;line-height:1.7;margin:7px 0 0}.lf-chapter-validation button{font-size:12px;display:flex;gap:8px;align-items:center}.lf-chapter-validation.is-complete{background:#142a2040;border-color:#365d48}.lf-chapter-validation.is-complete b{color:#92deb4}.lf-page .lf-completed-button:disabled{opacity:1;background:#193a29;border-color:#3b7455;color:#8de1b3;cursor:default}.lf-chapter-progress{margin-top:16px}.lf-chapter-progress summary{font-size:11px;color:#af96cb;cursor:pointer}.lf-chapter-progress>div{display:flex;gap:9px;align-items:flex-start;border-bottom:1px solid #2b2136;padding:12px 0;font-size:10px;color:#a796ba;line-height:1.7}.lf-chapter-progress>div.is-complete{color:#c5dfd1}.lf-chapter-progress small{display:block;color:#887195;font-size:9px;margin-top:4px}.lf-pending-icon{width:18px;flex:0 0 18px;color:#80678c;text-align:center;font-size:16px}.lf-tracking-period{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:0 0 20px}.lf-tracking-period label{font-size:10px;color:#a794bd;display:flex;flex-direction:column;gap:6px;margin:0}.lf-tracking-period select,.lf-tracking-period input{min-height:35px;width:auto;font-size:12px;min-width:135px;padding:7px 10px}.lf-tracking-period input[type=date]{width:150px}.lf-person-info>div{align-items:start}.lf-person-info dd{max-width:58%;text-align:right;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.lf-person-info dt{font-size:11px;line-height:1.6}.lf-session-active{display:block;color:#7bdaa5;font-size:9px;margin-top:3px}.lf-performance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.lf-performance-grid .ws-panel{margin-bottom:0}.lf-performance-grid small{font-size:10px;color:#a492b9;line-height:1.6;display:block}.lf-performance-grid strong{display:block;font-size:25px;letter-spacing:-.5px;margin-top:14px;overflow-wrap:anywhere}.lf-overview-shifts{margin-top:6px}.lf-overview-shifts .lf-panel-title small{color:#9682ad;font-size:10px}
.lf-page{--lf-accent:#a76ee8;--lf-muted:#a69aaf;--lf-border:#2d2438;--lf-panel:#100d14;--lf-green:#69d6ab;--lf-red:#efa2aa}
.lf-page .lf-back{margin-bottom:18px;background:transparent;border:0;padding-left:0;color:#b8a0d4;font-size:12px}
.lf-eyebrow{font-size:10px;font-weight:600;letter-spacing:1.8px;color:#ae83df}
.lf-button{border:1px solid #3e304e;background:#1e1429;padding:9px 13px;border-radius:8px;color:#d9c7ed;text-decoration:none;font-size:12px;display:inline-flex;align-items:center}
.lf-document-heading{padding:8px 0 22px;border-bottom:1px solid var(--lf-border)}
.lf-document-heading h1{font-size:clamp(25px,3vw,36px);line-height:1.2;letter-spacing:-1px;margin:12px 0}
.lf-document-heading p{font-size:12px;color:var(--lf-muted);margin:0}
.lf-document-tools{display:flex;align-items:center;gap:18px;padding:20px 0}
.lf-document-tools input{width:360px;max-width:100%;font-size:13px;background:#130e19;border-color:#392c48;border-radius:9px;min-height:43px}
.lf-document-tools span{color:var(--lf-muted);font-size:12px}
.lf-document-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;align-items:start;max-width:1380px}
.lf-document-nav{position:sticky;top:0;border:1px solid var(--lf-border);background:#100d14;border-radius:12px;padding:20px 12px;max-height:calc(100dvh - 65px);overflow-y:auto;scrollbar-width:thin}
.lf-document-nav>h3{font-size:13px;margin:0 10px 20px}
.lf-toc-group{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#95869f;margin:25px 10px 9px}
.lf-document-nav button{display:flex;gap:11px;align-items:baseline;width:100%;text-align:left;line-height:1.5;font-size:12px;border:1px solid transparent;border-radius:8px;background:transparent;padding:10px;margin:3px 0;color:#bcafc6}
.lf-document-nav button span{font-size:10px;color:#76667f;min-width:18px}
.lf-document-nav button.active{background:#261835;border-color:#5b4178;color:#e9dbfa}
.lf-document-nav button.active span{color:#b48de0}
.lf-document-nav button:hover{background:#21182c}
.lf-reader{border:1px solid var(--lf-border);background:linear-gradient(150deg,#16101d,#100d14 32%);border-radius:14px;padding:38px clamp(22px,4vw,65px);min-width:0;scroll-margin-top:20px}
.lf-reader>header{border-bottom:1px solid var(--lf-border);padding-bottom:24px;margin-bottom:32px}
.lf-reader>header h2{font-size:clamp(20px,2.4vw,28px);line-height:1.45;letter-spacing:-.5px;margin:15px 0}
.lf-source-page{font-size:11px;color:#93839f}
.lf-reading-content{max-width:820px;margin:0 auto;font-size:14px;line-height:1.9;color:#d2c9dd;overflow-wrap:anywhere}
.lf-reading-content p{margin:0 0 14px}
.lf-reading-content h3{font-size:17px;line-height:1.55;color:#ede5f7;margin:34px 0 16px}
.lf-reading-content h3:first-child{margin-top:0}
.lf-reading-content blockquote{margin:18px 0;padding:15px 20px;border-left:3px solid #9458d8;background:#9765d10c;border-radius:0 8px 8px 0;color:#dbc9ef}
.lf-reader mark{background:#784d1d;color:#fff0b7;border-radius:3px;padding:1px 2px}
.lf-reader-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--lf-border);margin-top:40px;padding-top:24px}
.lf-reader-footer button{font-size:12px}
.lf-reader-footer span{font-size:11px;color:var(--lf-muted)}
.lf-profile-header{display:grid;grid-template-columns:minmax(270px,.95fr) minmax(0,2.4fr);gap:16px;margin-bottom:18px}
.lf-person-card,.lf-kpi{border:1px solid var(--lf-border);background:linear-gradient(135deg,#1e142970,#100d14);border-radius:12px}
.lf-person-card{display:flex;align-items:center;gap:20px;padding:22px;min-width:0}
.lf-person-avatar{width:68px;height:68px;border-radius:50%;background:radial-gradient(circle at 30% 20%,#5f447e,#291a3a);border:2px solid #6e528e;display:flex;align-items:center;justify-content:center;color:#e6d4fa;font-size:22px;flex-shrink:0;font-weight:600}
.lf-person-card h2{font-size:22px;line-height:1.6;margin:0 0 5px;overflow-wrap:anywhere}
.lf-person-tag{display:inline-block;font-size:9px;font-weight:500;border:1px solid #3a654f;background:#153324;color:#a7e4c1;line-height:1.6;vertical-align:middle;padding:2px 8px;border-radius:20px;margin-left:6px}
.lf-person-card p{color:#c2b7cf;font-size:12px;margin:5px 0}
.lf-person-card small{display:block;font-size:10px;color:#96869f;margin-top:12px}
.lf-status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7a657f;margin-right:7px}
.lf-status-dot.on{background:#69d6ab;box-shadow:0 0 10px #69d6ab30}
.lf-summary-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.lf-kpi{position:relative;padding:20px 16px;min-width:0;display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.lf-kpi small{font-size:10px;color:#d6cce2;padding-right:15px}
.lf-kpi strong{font-size:clamp(22px,2.1vw,31px);line-height:1.2;letter-spacing:-.6px;margin:14px 0 8px;color:#ede4f7;overflow-wrap:anywhere}
.lf-kpi:first-child strong{color:#b586eb}
.lf-kpi>span{font-size:9px;color:#9a8aa7;line-height:1.5}
.lf-kpi i{position:absolute;right:13px;top:16px;color:#9966d4;opacity:.65}
.lf-kpi svg{width:15px;height:15px}
.lf-profile-tabs{margin-bottom:20px}
.lf-profile-tabs button{font-size:12px;padding:13px 16px}
.lf-overview{display:grid;grid-template-columns:minmax(230px,.95fr) minmax(350px,1.9fr) minmax(240px,1fr);gap:16px;align-items:start}
.lf-overview>div{min-width:0}
.lf-page .ws-panel{background:linear-gradient(135deg,#18111f40,#100d14);border-color:var(--lf-border);padding:20px}
.lf-page .ws-panel h3{font-size:14px;margin:0 0 17px}
.lf-person-info{margin:0;font-size:12px}
.lf-person-info>div{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #2a213431}
.lf-person-info dt{color:#a99ab5}
.lf-person-info dd{margin:0;color:#e0d5ed}
.lf-skill-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px}
.lf-skill-tags span{font-size:10px;padding:4px 8px;border:1px solid #3e304d;border-radius:20px;background:#20162c;color:#c7b2de}
.lf-rating-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.lf-score-ring{width:126px;height:126px;padding:11px;border-radius:50%;background:conic-gradient(#a76ee8 var(--lf-score),#2f223e 0);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.lf-score-ring>div{width:104px;height:104px;border-radius:50%;background:#100d14;display:flex;flex-direction:column;align-items:center;justify-content:center}
.lf-score-ring strong{font-size:32px;font-weight:600;letter-spacing:-1px}
.lf-score-ring small{font-size:11px;color:#a999b6;margin-top:4px}
.lf-rating-row ul{list-style:none;padding:0;margin:0;flex:1;min-width:120px;font-size:10px;color:#b7aac6}
.lf-rating-row li{display:flex;gap:12px;justify-content:space-between;padding:6px 0;line-height:1.5}
.lf-rating-row li b{color:#e4d7f2;white-space:nowrap}
.lf-score-method{font-size:10px!important;color:#8d7e99!important;line-height:1.65!important;margin:16px 0!important}
.lf-rating .lf-chart{padding:0;border:0;margin:23px 0 0}
.lf-rating .lf-chart figcaption{font-size:12px;color:#d9cbe9}
.lf-rating .lf-chart details{font-size:10px}
.lf-insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.lf-page .lf-strengths{background:linear-gradient(135deg,#15302770,#100d14);border-color:#2d4e40}
.lf-page .lf-strengths h3{color:#8fdfbc}
.lf-page .lf-improvements{background:linear-gradient(135deg,#3c1c2860,#100d14);border-color:#56323e}
.lf-page .lf-improvements h3{color:#edacba}
.lf-insights{list-style:none;padding:0;margin:0;font-size:12px;line-height:1.75;color:#d9e3de}
.lf-insights li{position:relative;padding-left:20px;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.lf-insights li:before{content:'✓';position:absolute;left:0;top:1px;color:#7ed7ae}
.lf-improvements .lf-insights li:before{content:'!';color:#efa2aa}
.lf-empty{color:#8f829a;font-size:12px;line-height:1.7;margin:0}
.lf-panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
.lf-panel-title h3{margin:0!important}
.lf-panel-title button{font-size:9px;white-space:nowrap;padding:5px 8px;min-height:28px;background:#1f162a;border-color:#3e304f;color:#c9b3e2}
.lf-timeline{border-left:1px solid #5c328b;margin-left:5px;padding-left:18px}
.lf-review{position:relative;margin:0 0 25px}
.lf-review:last-child{margin-bottom:0}
.lf-review:before{content:'';position:absolute;width:9px;height:9px;border-radius:50%;background:#a972e8;left:-23px;top:8px;box-shadow:0 0 0 4px #312144}
.lf-review-heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.lf-review h4{font-size:12px;margin:0;line-height:1.5}
.lf-score-badge{background:#322343;border:1px solid #5f4281;color:#ddc8f6;padding:4px 8px;border-radius:6px;font-size:10px;white-space:nowrap}
.lf-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.lf-review-grid>div{padding:12px;border-radius:9px;background:#1f182790;min-width:0}
.lf-review-grid b{font-size:10px;font-weight:600;color:#e0d4ed}
.lf-review-grid p{font-size:11px;color:#bcb0ca;line-height:1.8;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.lf-empty-state{text-align:center;padding:25px 15px;color:#8f829a;font-size:12px}
.lf-empty-state svg{width:28px;height:28px;display:block;margin:0 auto 16px;color:#7e55ad}
.lf-empty-state b{display:block;color:#c5b7d6;font-size:13px}
.lf-empty-state p{max-width:380px;margin:10px auto;line-height:1.8}
.lf-goal{display:grid;grid-template-columns:1fr auto;gap:9px;margin:20px 0;font-size:11px}
.lf-goal b{font-weight:500;color:#d0c4de;overflow-wrap:anywhere;min-width:0}
.lf-goal>span{font-size:10px;color:#ad9ab8;white-space:nowrap}
.lf-page .lf-goal progress{grid-column:1/-1;accent-color:#975bdb;height:8px;border:0;border-radius:10px;overflow:hidden}
.lf-goal progress::-webkit-progress-bar{background:#292033;border-radius:10px}
.lf-goal progress::-webkit-progress-value{background:linear-gradient(90deg,#743cb5,#ae7be9);border-radius:10px}
.lf-goal small{font-size:9px;color:#9883a5;line-height:1.7}
.lf-goal em{font-size:10px;font-style:normal;color:#ad80e0;text-align:right}
.lf-course-reference{display:flex;gap:12px;align-items:center;margin-top:8px}
.lf-course-reference>svg{width:32px;height:32px;border-radius:8px;background:#2a1b3b;color:#b181e7;padding:8px;flex-shrink:0}
.lf-course-reference b{font-size:11px;font-weight:500;display:block;color:#ded1ed}
.lf-course-reference small{display:block;margin-top:6px;font-size:9px;color:#9883a5}
.lf-comment{border-left:2px solid #4c3368;padding:3px 0 3px 14px;margin:18px 0;font-size:12px;color:#c9badb;line-height:1.8}
.lf-comment p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 8px}
.lf-comment small{display:block;color:#8b769b;font-size:9px}
@media(min-width:1500px){.lf-review-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1250px){.lf-profile-header{grid-template-columns:1fr}.lf-person-card{padding:18px}.lf-summary-cards{min-height:140px}.lf-overview{grid-template-columns:minmax(210px,.85fr) minmax(0,1.6fr)}.lf-overview>div:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:16px}.lf-document-layout{grid-template-columns:230px minmax(0,1fr);gap:18px}.lf-reader{padding:30px}}
@media(max-width:850px){.lf-document-layout{grid-template-columns:1fr}.lf-document-nav{position:static;max-height:240px}.lf-document-nav>h3{position:sticky;top:-20px;background:#100d14;padding:10px 0}.lf-overview{grid-template-columns:1fr}.lf-overview>div:last-child{grid-column:auto}.lf-rating-row{flex-wrap:nowrap}.lf-insight-grid{grid-template-columns:1fr 1fr}.lf-reader{padding:25px}}
@media(max-width:600px){.lf-document-heading{padding-top:0}.lf-document-tools{align-items:stretch;flex-direction:column;gap:8px}.lf-document-tools input{width:100%;font-size:16px}.lf-document-layout{gap:16px}.lf-document-nav{max-height:190px}.lf-reader{padding:24px 18px}.lf-reading-content{font-size:14px;line-height:1.9}.lf-reader-footer button{font-size:10px;padding:8px}.lf-reader-footer span{display:none}.lf-summary-cards{grid-template-columns:1fr 1fr;gap:10px}.lf-kpi{padding:16px;min-height:115px}.lf-kpi strong{font-size:26px}.lf-person-card{gap:16px}.lf-person-card h2{font-size:20px}.lf-person-avatar{width:58px;height:58px;font-size:18px}.lf-insight-grid{grid-template-columns:1fr}.lf-overview>div:last-child{display:block}.lf-profile-tabs button{padding:12px 14px;font-size:11px}.lf-panel-title button{min-height:34px}.lf-review-grid{grid-template-columns:1fr}.lf-page .ws-panel{padding:18px}.lf-rating-row{flex-wrap:wrap}.lf-page .ws-topfilters{width:100%}.lf-page .ws-topfilters select{max-width:100%;flex:1}.lf-page .ws-topfilters button{min-height:40px}}

.ax-page-intro{color:#a697b2;font-size:13px;line-height:1.8;margin:0 0 24px}
.ax-settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:18px}.ax-settings-card{display:flex;flex-direction:column;gap:14px;margin-bottom:0!important}.ax-settings-card>svg{width:40px;height:40px;padding:10px;border-radius:10px;background:#2e203d;color:#b58ae7}.ax-settings-card h3{margin:0!important;font-size:16px!important}.ax-settings-card p{font-size:12px;line-height:1.8;flex:1}.ax-settings-card button{font-size:12px;align-self:flex-start}.ax-settings-navigation{position:sticky;top:-28px;z-index:3;padding:12px 0;background:#0d0911f5;border-bottom:1px solid #32263f;margin:0 0 22px;display:flex;gap:18px;align-items:center;flex-wrap:wrap}.ax-settings-navigation>button{background:transparent;border:0;color:#bb9bdf;font-size:12px}.ax-settings-navigation>div{display:flex;gap:6px;flex-wrap:wrap}.ax-settings-navigation>div button{font-size:11px;padding:8px 12px;background:transparent;border-color:transparent}.ax-settings-navigation>div button.active{color:#d8bff5;background:#291a3a;border-color:#5e427f}.ax-analysis-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.ax-analysis-filters label{font-size:11px;color:#ab98c1;margin:0;display:flex;flex-direction:column;gap:7px}.ax-analysis-filters select{min-width:220px;width:auto;font-size:13px}.ax-analysis-filters>input{flex:1;min-width:220px;max-width:460px}
@media(max-width:850px){.lf-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.lf-tracking-period{gap:8px}.lf-tracking-period label{flex:1;min-width:calc(50% - 8px)}.lf-tracking-period label:first-child{min-width:100%}.lf-tracking-period select,.lf-tracking-period input[type=date]{font-size:16px;width:100%;min-width:0;max-width:100%;min-height:42px}.lf-chapter-validation{padding:16px}.lf-chapter-validation button{width:100%;justify-content:center;min-height:44px}.lf-performance-grid{gap:9px}.lf-performance-grid strong{font-size:22px}.ax-analysis-filters label{width:100%}.ax-analysis-filters select{width:100%;font-size:16px;min-height:44px}.ax-analysis-filters>input{font-size:16px;max-width:100%;min-width:0}.ax-settings-navigation{top:-18px;gap:6px}.ax-settings-navigation>div{flex-wrap:nowrap;overflow:auto;max-width:100%;padding-bottom:5px}.ax-settings-navigation>div button{white-space:nowrap}.lf-person-info dd{max-width:60%}}
.ax-readonly{display:inline-block;border:1px solid #54406a;background:#2a1e38;color:#c1a6e0;border-radius:20px;padding:6px 11px;font-size:10px;white-space:nowrap}
.ax-channel-posts{max-width:850px;margin:0 auto}
.ax-channel-post header{display:flex;gap:12px;align-items:center;margin-bottom:20px}
.ax-channel-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #6d508e;border-radius:50%;width:38px;height:38px;background:#302043;font-size:15px;color:#d3bbef}
.ax-channel-post header b{font-size:13px;font-weight:500}
.ax-channel-post header small{display:block;color:#927ca1;font-size:10px;margin-top:6px}
.ax-post-number{margin-left:auto;color:#786286;font-size:10px}
.ax-post-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#d8cee4;font-size:14px;line-height:1.9;margin:0 0 18px}
.ax-channel-post>img,.ax-channel-post>video{display:block;max-width:100%;max-height:650px;margin:12px auto 0;border-radius:10px;background:#0b090e;object-fit:contain}
.ax-channel-post>audio{width:100%;margin:12px 0}
#ax-channel-more{text-align:center;margin:25px auto}
.ax-analysis-filters{margin:20px 0}
.ax-analysis-filters input{max-width:430px;width:100%;font-size:13px}
.ax-analysis-card{display:flex;flex-direction:column;gap:15px}
.ax-analysis-card h3{margin:0!important;font-size:18px!important}
.ax-analysis-card p{margin:0!important;font-size:12px;color:#9c88aa;line-height:1.7}
.ax-analysis-card .ax-analysis-agent{color:#c2b1d6;display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.ax-analysis-agent svg{width:16px;height:16px;color:#9b74c8;flex-shrink:0}
.ax-analysis-card button{margin-top:auto;align-self:flex-start;font-size:11px}
.ax-note-preview{white-space:pre-wrap;overflow-wrap:anywhere;border-left:2px solid #614086;padding-left:12px}
.ax-pick-list{max-height:50dvh;overflow:auto;margin:20px 0;border:1px solid #332840;border-radius:10px;scrollbar-width:thin}
.ax-pick-list label{display:flex;gap:14px;align-items:center;margin:0;padding:14px;border-bottom:1px solid #291e35;font-size:12px;cursor:pointer}
.ax-pick-list label[hidden]{display:none}
.ax-pick-list input[type=checkbox]{width:16px;height:16px;flex-shrink:0;accent-color:#935ad4}
.ax-pick-list b{font-size:12px;font-weight:500;color:#dbcdea}
.ax-pick-list small{display:block;color:#9481aa;margin-top:6px;font-size:10px}
.ax-analysis-heading{margin-bottom:25px;border-bottom:1px solid #2d2438;padding-bottom:25px}
.ax-analysis-heading h2{font-size:24px;margin:0 12px 14px 0;display:inline-block}
.ax-analysis-heading p{font-size:12px;line-height:1.8;color:#c3b3d6;margin:12px 0}
.ax-analysis-heading small{font-size:10px;color:#90799f}
.ax-analysis-layout{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,2fr);gap:22px;align-items:start}
.ax-analysis-notes{position:sticky;top:0}
.ax-analysis-notes label{font-size:11px;color:#ab98c0;margin:17px 0 7px;line-height:1.7}
.ax-analysis-notes input,.ax-analysis-notes textarea{width:100%;font-size:13px;line-height:1.8;box-sizing:border-box}
.ax-analysis-notes textarea{resize:vertical;min-height:200px}
.ax-analysis-notes button{margin-top:16px;font-size:12px}
.ax-analysis-notes [role=status]{font-size:11px;color:#8ddab0;margin-top:12px}
.ax-analysis-messages{display:flex;flex-direction:column;gap:16px;background:#0e0a13!important;max-height:calc(100dvh - 250px);overflow:auto;scrollbar-width:thin;min-height:300px}
.ax-analysis-bubble{align-self:flex-start;max-width:82%;border:1px solid #352a41;border-radius:12px 12px 12px 3px;padding:13px 16px;background:#201927}
.ax-analysis-bubble.out{align-self:flex-end;background:#2f1e42;border-color:#48335f;border-radius:12px 12px 3px 12px}
.ax-analysis-bubble>small{font-size:10px;color:#b78fe4}
.ax-analysis-bubble p{font-size:13px;line-height:1.8;margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#e1d9eb}
.ax-analysis-bubble time{display:block;text-align:right;font-size:9px;color:#a08db6;margin-top:8px}
.ax-analysis-bubble img,.ax-analysis-bubble video{max-width:100%;max-height:380px;border-radius:7px;display:block;margin:10px 0}
.ax-analysis-bubble audio{max-width:100%;margin-top:10px}
.ax-analysis-bubble a{font-size:12px;color:#b794e0}
.ax-team-filters{justify-content:flex-start;margin:20px 0}
.ax-team-filters label{font-size:10px;color:#a996be;display:flex;flex-direction:column;gap:8px}
.ax-team-filters label select,.ax-team-filters label input{font-size:12px;min-width:130px}
#ax-team-stats .ws-panel{border:0;padding:0;margin-top:28px}
#ax-analysis-button{color:#b486e8}
@media(max-width:850px){.ax-analysis-layout{grid-template-columns:1fr}.ax-analysis-notes{position:static}.ax-analysis-messages{max-height:65dvh}}
@media(max-width:600px){.ax-analysis-filters input{font-size:16px}.ax-post-text{font-size:13px}.ax-analysis-bubble{max-width:94%;padding:11px 13px}.ax-analysis-notes input,.ax-analysis-notes textarea{font-size:16px}.ax-team-filters{align-items:stretch}.ax-team-filters label{flex:1;min-width:calc(50% - 10px)}.ax-team-filters label input,.ax-team-filters label select{min-width:0;max-width:100%;width:100%;font-size:16px}.ax-channel-post header b{font-size:12px}.ax-analysis-heading h2{font-size:21px}}

.ax-analysis-card{position:relative;padding-right:65px}.ax-analysis-card .ax-analysis-remove{position:absolute;top:16px;right:16px;margin:0;width:32px;height:32px;padding:7px;align-self:auto;color:#b19cca;border:1px solid #604b7750;background:#251a32;border-radius:9px}.ax-analysis-card .ax-analysis-remove:hover{color:#ff9fac;border-color:#bf657e;background:#4b2336}.ax-analysis-remove svg{width:16px;height:16px}.ax-pick-list label[hidden]{display:none!important}.ax-pick-list label:has(input:disabled){opacity:.65;cursor:default}#ax-pick-status{font-size:12px;color:#b3a3c5;min-height:18px}#ax-analysis-undo:empty{display:none}#ax-analysis-undo{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;margin:18px 0;border:1px solid #5e4878;border-radius:10px;background:#22172f;color:#d3c1e7;font-size:12px}#ax-analysis-undo button{font-size:11px;white-space:nowrap}.lf-person-presence{display:inline-flex;align-items:center;gap:7px}

.ax-online-staff{color:#4ee0a4!important;display:flex;flex-wrap:wrap;gap:5px 10px;font-size:12px;line-height:1.6}.ax-online-staff small{flex-basis:100%;color:#a7a0bb;font-size:10px;letter-spacing:.04em}.ax-online-staff span{overflow-wrap:anywhere}
.cx-telegram-invite.ax-invite-unsent svg circle{fill:#e35265}.cx-telegram-invite.ax-invite-sent svg circle{fill:#25b980}.cx-telegram-invite.ax-invite-unsent{color:#ff8392}.cx-telegram-invite.ax-invite-sent{color:#59e0ac}.cx-telegram-invite:disabled{opacity:.65}
#ax-tips-button{font-size:10px;font-weight:800;letter-spacing:.03em;color:#ebddfb;background:#7f60a329;border:1px solid #a682d04d;border-radius:9px;width:35px;height:30px}#ax-tips-button:disabled{opacity:.4;cursor:not-allowed}.ax-send-gate{font-size:11px;color:#c9b1e5;background:#9469c510;padding:8px 12px;margin:4px 0 0;border-radius:8px}.ax-send-gate[hidden]{display:none}
.ax-today-counter{font-size:10px;color:#bba5d5;display:block;padding:3px 0}.ax-audio-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin:20px 0}.ax-audio-settings>div{border:1px solid #ffffff12;border-radius:12px;padding:16px;background:#ffffff02}.ax-audio-settings label{font-size:12px;margin:8px 0}.ax-audio-settings small{display:block;color:#a5a0b7;min-height:36px;font-size:11px}.ax-audio-settings input[type=range]{width:100%;accent-color:#b686ed}.ax-audio-settings output{float:right;font-size:11px;color:#bfa1e1}.ax-audio-settings button{font-size:11px;margin-top:8px}.ax-rule-settings{margin-top:20px}.ax-rule-settings>header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.ax-rule-settings>header p{color:#aaa4bb;font-size:12px}.ax-rule-card{display:flex;align-items:center;gap:14px;border-top:1px solid #ffffff10;padding:18px 2px}.ax-rule-card>div{flex:1;min-width:0}.ax-rule-card b{font-size:13px}.ax-rule-card small{display:block;color:#aaa4bb;font-size:11px;margin-top:5px}.ax-rule-card button{font-size:11px}.ax-rule-status{font-size:10px;color:#aaa4bb}.ax-rule-dot{width:8px;height:8px;flex-shrink:0;border-radius:50%;background:#656070}.ax-rule-dot.on{background:#4cd69f;box-shadow:0 0 8px #4cd69f20}.ax-rule-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;border:1px solid #ffffff15;padding:12px;border-radius:10px;max-height:220px;overflow:auto}.ax-rule-people[hidden]{display:none}.ax-rule-people label{font-size:12px;margin:6px}.ax-rule-people small{color:#aaa4bb}.ax-rule-private{border-left:2px solid #dd6577;padding:10px 14px;color:#e9a7b1;font-size:12px;line-height:1.6}.ax-restriction-panel{max-width:780px}.ax-restriction-panel p{line-height:1.7}.ax-restriction-panel input[type=number]{max-width:180px}.ax-restriction-panel button{margin-top:14px}
#ax-live-notices{position:fixed;top:20px;right:20px;width:min(410px,calc(100vw - 32px));max-height:80vh;overflow:auto;z-index:1500;display:flex;flex-direction:column;gap:10px;pointer-events:none}.ax-live-notice{pointer-events:auto;display:flex;align-items:flex-start;gap:12px;padding:18px;border:1px solid #b389e252;border-radius:14px;background:#23182f;box-shadow:0 12px 40px #0008;color:#f7f3fc;animation:ax-notice-enter .18s ease-out}.ax-live-symbol{color:#c9a5f2;flex-shrink:0;padding-top:2px}.ax-live-symbol svg{width:22px;height:22px}.ax-live-notice>div{flex:1;min-width:0}.ax-live-notice b{display:block;font-size:11px;color:#c3addd;margin-bottom:5px}.ax-live-notice strong{display:block;font-size:15px;overflow-wrap:anywhere}.ax-live-notice small{display:block;font-size:11px;color:#b6a6c9;margin:6px 0}.ax-live-notice p{font-size:12px;line-height:1.5;color:#dcc5d0;overflow-wrap:anywhere;white-space:pre-wrap;max-height:115px;overflow:auto}.ax-live-notice button:not(.cx-icon){font-size:11px;padding:7px 10px;margin-top:9px;border-color:#af8ad94d}.ax-live-notice>.cx-icon{width:23px;height:23px;flex-shrink:0}.ax-urgent{border-color:#f06a7b80!important;background:#321e2a!important}.ax-urgent .ax-live-symbol,.ax-urgent b{color:#ff99a7!important}.ax-rule-notice blockquote{margin:6px 0;padding:7px 10px;border-left:2px solid #df7182;color:#d2bdc6;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}.ax-highlight-message{outline:2px solid #e67f94;outline-offset:3px}@keyframes ax-notice-enter{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.ax-live-notice{animation:none}}@media(max-width:700px){#ax-live-notices{top:65px;right:12px}.ax-audio-settings{grid-template-columns:1fr}.ax-rule-card{gap:10px}.ax-rule-status{display:none}.ax-rule-people{grid-template-columns:1fr}}

.ax-live-title{display:flex;align-items:center;gap:10px;margin-bottom:5px}.ax-live-title b{flex:1;margin:0}.ax-preview-badge{font-size:9px;color:#d6c1ee;border:1px solid #7f669c70;border-radius:20px;padding:2px 7px;white-space:nowrap}.ax-live-notice.ax-sale{background:#12251e;border-color:#39795a}.ax-sale .ax-live-symbol,.ax-sale b{color:#7ae0ad}.ax-sale strong{font-size:23px;color:#d5ffe7}.ax-sale small{color:#b5cabf}.ax-preview-settings{margin-bottom:20px}.ax-preview-settings p{color:#b2a5c1;font-size:12px;line-height:1.8;max-width:800px}.ax-preview-settings>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.ax-preview-settings button{font-size:12px}.ax-live-notice[data-preview=true] button:disabled{opacity:.8;cursor:default;color:#d7c6ea}.ax-live-notice{flex-shrink:0}#ax-live-notices{max-height:calc(100dvh - 40px)}@media(max-width:700px){#ax-live-notices{max-height:calc(100dvh - 85px)}}

/* Apex Digitale — palette et identité du logo fourni. */
:root{--bg:#090c1e;--panel:#10152b;--line:#282d48;--accent:#9753e9;--muted:#a5abc2;--ax-violet:#9753e9;--ax-lilac:#c186fa;--ax-deep:#0b0f24;accent-color:var(--ax-violet)}
body{background:var(--bg);color:#f0eff8}a{color:#c5a3f5}button,input,select,textarea{border-color:#30354c;background:#101427}button:hover{background:#24203e}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline-color:var(--ax-lilac)}
.primary{background:linear-gradient(125deg,#ae66ee,#7e3ed5);border-color:#9c59e7;box-shadow:0 4px 15px #6833b526}.primary:hover{background:linear-gradient(125deg,#bd7af5,#8f4ce0)}
#login{background:#0d1228;border-color:#2c2d4c}#login h1{margin:0 0 18px}.ax-login-logo{display:block;width:100%;height:auto;max-height:140px;object-fit:contain}
#app{background:#090c1d}#app .nav{background:#090d20;border-color:#252942}#app .list,#app .side{background:#0e1327;border-color:#252942}#app .chat,#app .messages{background:#090e20}#app .section{background:radial-gradient(ellipse at 30% 0,#1a163021,transparent 55%),#0b0f22}#app .head,#app .compose-v4{background:#0d1226;border-color:#252b43}
#app .cx-brand{padding:0 0 20px;border-color:#252b43;justify-content:center;position:relative}#app .ax-brand-logo{display:block;width:100%;max-width:205px;height:auto;object-fit:contain;border-radius:8px}#app .cx-brand .cx-navclose{position:absolute;top:0;right:-2px}
.ax-mobile-logo{width:124px;height:45px;object-fit:contain;display:block}#app .cx-mobile-header{background:#090d20;border-color:#252b43}
#app .nav button.active{color:#e2cbff;background:linear-gradient(90deg,#9453e329,#9453e30a);border-left-color:#a368ee}#app .nav button:hover{background:#201c38}#app .contact:hover,#app .contact.active{background:#221d3c}#app .contact.active{border-left-color:#a368ee}
#app .bubble.out{background:#2c2050}#app .bubble.in{background:#191d32}.ws-panel,.lf-reader,.lf-document-nav{border-color:#2b2f49;background:linear-gradient(150deg,#14182d,#101427)}.ws-tabs button.active,.lf-profile-tabs button.active{color:#d9b8fb;border-color:#a86dea}.lf-eyebrow{color:#ba8df2}.lf-document-nav button.active{background:#8f52d821;color:#dfc7ff;border-color:#a76bea}progress{accent-color:#a061e8}
.lf-intro-videos{margin:4px 0 48px}.lf-intro-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:20px 0 26px}.lf-intro-heading h1{font-size:clamp(24px,2.3vw,34px);line-height:1.2;letter-spacing:-.7px;margin:11px 0 12px}.lf-intro-heading p{color:#a6acc3;line-height:1.8;margin:0;max-width:650px}.lf-intro-summary{flex-shrink:0;white-space:nowrap;border:1px solid #a368ee45;background:#a368ee12;border-radius:999px;padding:9px 14px;font-size:12px;color:#d8b8fc}
.lf-intro-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.lf-intro-card{min-width:0;border:1px solid #454064;border-radius:20px;overflow:hidden;background:linear-gradient(145deg,#18172e,#0f1426);box-shadow:0 14px 40px #0002;display:flex;flex-direction:column}.lf-intro-card>header{padding:26px 26px 22px;min-height:190px}.lf-intro-number{color:#ba8cf1;font-size:11px;font-weight:750;letter-spacing:.14em}.lf-intro-card h2{font-size:clamp(23px,2vw,29px);letter-spacing:-.6px;line-height:1.2;margin:14px 0 16px}.lf-intro-quote{font-size:11px;line-height:1.9;letter-spacing:.055em;color:#bab0d4;margin:0;font-weight:600}.lf-intro-player{background:#060913;border-top:1px solid #36304d;border-bottom:1px solid #36304d}.lf-intro-player video{display:block;width:100%;aspect-ratio:16/9;max-height:540px;background:#060913;object-fit:contain}.lf-intro-player>p{padding:30px;color:#ffc1c7}.lf-intro-card .lf-chapter-validation{margin:0;padding:23px 25px;flex:1;border:0;border-radius:0;background:transparent;align-items:center;flex-wrap:wrap;gap:18px}.lf-intro-card .lf-chapter-validation>div{flex:1;min-width:160px}.lf-intro-card .lf-chapter-validation b{font-size:12px}.lf-intro-card .lf-chapter-validation p{font-size:11px;line-height:1.7;color:#a6abc0;margin-bottom:0}.lf-intro-card .lf-chapter-validation button{font-size:11px;display:flex;align-items:center;justify-content:center;gap:6px;min-height:43px;padding:10px 13px}.lf-completed-button{background:#112e26!important;border-color:#2f6954!important;color:#8ce1b9!important;opacity:1!important}.lf-intro-tracking{border-bottom:1px solid #2b2f49;margin-bottom:20px;padding-bottom:20px}.lf-intro-tracking .lf-chapter-progress{margin-top:14px}
@media(max-width:1100px){.lf-intro-grid{gap:16px}.lf-intro-card>header{padding:22px 20px;min-height:205px}.lf-intro-card .lf-chapter-validation{padding:20px}.lf-intro-card .lf-chapter-validation button{width:100%}}
@media(max-width:850px){.lf-intro-grid{grid-template-columns:1fr}.lf-intro-card>header{min-height:0}.lf-intro-heading{align-items:flex-start;flex-direction:column;gap:16px}.lf-intro-card .lf-chapter-validation button{width:auto}.lf-intro-videos{margin-bottom:34px}}
@media(max-width:700px){.lf-intro-heading h1{font-size:27px}.lf-intro-card h2{font-size:26px}.lf-intro-card>header{padding:23px 20px}.lf-intro-quote{font-size:10px}.lf-intro-card .lf-chapter-validation{padding:20px}.lf-intro-card .lf-chapter-validation button{width:100%}#app .nav.cx-nav-open .ax-brand-logo{max-width:185px}.lf-intro-card{border-radius:16px}}

/* Approved references: Signature sign-in, Flux CRM. Backgrounds are decorative. */
:root{--bg:#080817;--panel:#101024;--line:#302b4b;--accent:#a459ff;--muted:#b0a6cb;--ax-violet:#a459ff;--ax-wallpaper:url('/assets/signature-bg.png?v=4.29.0')}
html,body{min-height:100%;background:#070713}body{position:relative;isolation:isolate;color:#f2edff}body.ax-app-screen{--ax-wallpaper:url('/assets/flux-bg.png?v=4.29.0')}
#ax-atmosphere{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:#080817;contain:strict}#ax-atmosphere:before{content:'';position:absolute;inset:-5%;background-image:var(--ax-wallpaper);background-repeat:no-repeat;background-position:center;background-size:cover;opacity:.96;animation:ax-silk-drift 14s ease-in-out infinite alternate;will-change:transform}#ax-atmosphere:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 48% 35%,transparent 15%,#03030c14 100%);pointer-events:none}#ax-filaments{position:absolute;inset:0;width:100%;height:100%;opacity:.65;pointer-events:none}
@keyframes ax-silk-drift{0%{transform:translate3d(-1.8%,1.2%,0) scale(1.04);filter:brightness(.96)}100%{transform:translate3d(1.8%,-1.5%,0) scale(1.09);filter:brightness(1.06)}}
body.ax-app-screen #ax-atmosphere:before{opacity:.82;animation-duration:18s}body.ax-app-screen #ax-atmosphere:after{background:linear-gradient(90deg,#06061522,transparent 40%,#06061518)}
button,input,select,textarea{color:#eee7ff;border-color:#514169;background:#0d0d20}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid #bd83ff;outline-offset:3px}button{transition:background .18s,border-color .18s,box-shadow .18s}.primary{background:linear-gradient(110deg,#bd61f2 0%,#a23bff 40%,#7718fa 100%);border:1px solid #bf7cff;box-shadow:inset 0 1px 1px #e9b7ff66,0 3px 18px #8b29f53d;color:#fff}.primary:hover{background:linear-gradient(110deg,#cb79fa,#b054ff 45%,#8a30ff);box-shadow:inset 0 1px 1px #f3ceff88,0 4px 25px #8b29f55c}
/* Signature — same real authentication controls, with the approved composition. */
#login:not(.hidden){display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100dvh;width:100%;max-width:none;margin:0;padding:48px 22px 30px;border:0;border-radius:0;background:transparent;box-shadow:none;position:relative}
.ax-login-brand{width:310px;max-width:78vw;margin:0 auto 24px;display:flex;justify-content:center}.ax-login-brand img{display:block;width:100%;height:auto;max-height:155px;object-fit:contain;filter:drop-shadow(0 0 14px #7c20e833)}
.ax-auth-card{position:relative;width:min(548px,100%);padding:45px 38px 32px;border:1px solid #9e5af0;border-radius:20px;background:linear-gradient(145deg,#111128dd,#0a0a1ce8);box-shadow:0 0 0 1px #5c2b8e26,inset 0 1px 18px #aa40ff0c,0 0 28px #833be51f,0 22px 60px #0005;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.ax-auth-card:before{content:'';position:absolute;top:-1px;left:22%;width:56%;height:1px;background:linear-gradient(90deg,transparent,#e6b7ff,transparent);box-shadow:0 0 15px 2px #a449e980;pointer-events:none}
.ax-auth-card header{text-align:center;margin-bottom:34px}#login .ax-auth-card h1{margin:5px 0 9px;font-size:26px;font-weight:650;line-height:1.35;letter-spacing:-.65px;color:#f7f2ff}.ax-auth-card header p{font-size:16px;color:#bcb0e8;line-height:1.5;margin:0}
.ax-auth-card label{display:block;font-size:13px;color:#ded4f6;margin:0 0 10px}.ax-auth-field{position:relative;margin:0 0 27px}.ax-auth-field>svg{position:absolute;left:18px;top:18px;width:21px;height:21px;stroke:#c2a8fa;pointer-events:none}.ax-auth-field input{height:58px;min-height:58px;width:100%;padding:12px 48px;border:1px solid #66509b;border-radius:10px;background:linear-gradient(115deg,#17172ec7,#13142cdd);box-shadow:inset 0 1px 7px #0002;color:#f5f0ff;font-size:16px;caret-color:#d6b7ff}.ax-auth-field input:focus{border-color:#b780fb;box-shadow:0 0 0 3px #9a55e919}
#ax-password-toggle{position:absolute;right:9px;top:9px;display:flex;align-items:center;justify-content:center;width:40px;min-height:40px;height:40px;padding:8px;border:0;background:transparent;box-shadow:none;color:#bea6ef}#ax-password-toggle:hover{background:#bd83ff12}#ax-password-toggle svg{width:21px;height:21px}
#login #error{color:#ffb7c5;font-size:13px;line-height:1.6;white-space:pre-wrap;margin:0 0 14px}#login #error:empty{display:none}#login .ax-login-submit{width:100%;height:59px;display:flex;align-items:center;justify-content:center;position:relative;border-radius:10px;font-size:16px;font-weight:600;margin-top:5px}#login .ax-login-submit svg{position:absolute;right:20px;width:23px;height:23px}
.ax-private-note{display:flex;align-items:center;gap:18px;margin-top:29px}.ax-private-note span{height:1px;flex:1;background:#4c356d80}.ax-private-note p{margin:0;white-space:nowrap;color:#b1a1d6;font-size:12px}.ax-login-footer{margin-top:clamp(35px,6vh,72px);display:flex;align-items:center;gap:20px;justify-content:center;color:#9f90c2;font-size:9px;letter-spacing:.3em}.ax-login-footer a{color:#aa9bc6;letter-spacing:0;text-decoration:none;font-size:10px}.ax-login-footer a:hover{color:#d4b5ff}
/* Flux — keep the existing functional grid and bring the live art behind it. */
#app{position:relative;padding:10px;gap:7px;background:transparent;isolation:isolate}#app .nav,#app .list,#app .chat,#app .side,#app .section{border:1px solid #7554a35c;border-radius:14px;box-shadow:inset 0 1px 0 #d2a9ff05,0 6px 28px #0002}
#app .nav{background:linear-gradient(150deg,#101025ad,#090919b0);padding:24px 10px 14px;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}#app .list{background:linear-gradient(150deg,#101025d1,#0b0b1dcc)}#app .chat{background:#0808184d;overflow:hidden}#app .messages{background:transparent}#app .side{background:linear-gradient(145deg,#111127e0,#090a1de6)}#app .section{background:linear-gradient(145deg,#0e0f24d9,#0a0b1fdc)}
#app .cx-brand{border-color:#5a437b5c;padding:0 0 23px;margin-bottom:17px;min-height:115px}#app .ax-brand-logo{border:0;border-radius:0;background:transparent;width:100%;max-width:185px;max-height:115px;object-fit:contain;filter:drop-shadow(0 0 12px #973eea26)}#app .ax-mobile-logo{background:transparent;border-radius:0;filter:drop-shadow(0 0 7px #973eea22)}
#app .nav>button{border:1px solid transparent;border-radius:9px;color:#ddd3ef;font-size:12px;min-height:45px;margin:4px 0}#app .nav>button:hover{background:#7947c11a;border-color:#9e68e338}#app .nav>button.active{background:linear-gradient(100deg,#9e36ff3d,#6d26c718);border:1px solid #b268edbd;box-shadow:inset 3px 0 3px #c77cfa88,0 0 14px #a13ef52b;color:#fff;padding-left:9px}#app .nav>button.active svg{color:#f0dbff;filter:drop-shadow(0 0 3px #bb70ff88)}#app .cx-identity{border-color:#674f8057}
#app .cx-account{background:#0b0b1bd9;border-color:#5a437b4d}#app .searchbox{background:#0c0c1ed4;border-color:#5a437b4d}#app .cx-search{background:#0809189c;border-color:#71559273}#app .chips button{border-color:#71559266;background:#0c0c1cc2;color:#f0e9fb}#app .chips button.active,#app .chips button[aria-pressed=true]{background:linear-gradient(115deg,#b44fff,#8023f1);border-color:#bd7cff;box-shadow:0 0 10px #9f35f549}
#app .contact{border-color:#664b7d1f;background:transparent}#app .contact:hover{background:#7c3fc71a}#app .contact.active{background:linear-gradient(105deg,#7135ae40,#3b255d7a);border:1px solid #b37de7a3;box-shadow:inset 0 0 20px #ac4afb13,0 0 16px #9b3ee810;border-radius:11px;margin:4px 7px;width:calc(100% - 14px);padding-left:12px}#app .contact b{color:#f3eefa}#app .contact p{color:#b4a5c8}#app .cx-unread{box-shadow:0 0 9px #a344f529}
#app .head{background:linear-gradient(100deg,#141129d9,#101124b5);border-color:#7c55a55e}#app .cx-open-tabs{background:#0b0a1bd1;border-color:#76508c50}#app .cx-pinned-tab{border-color:#7951a670;background:#141027a8}#app .cx-pinned-tab.cx-tab-active{background:linear-gradient(125deg,#60269c45,#151026cc);border-color:#a266df;border-bottom-color:#c586ff}
#app .bubble{border:1px solid #7c5d9b43;box-shadow:inset 0 1px 0 #c9acff05,0 4px 14px #0002;border-radius:16px}#app .bubble.in{background:linear-gradient(140deg,#242139de,#171629e8)}#app .bubble.out{background:linear-gradient(140deg,#402359e8,#2b1a44ed)}#app .compose-v4{background:linear-gradient(140deg,#151127e8,#0e0c20e8);border-color:#73518570}#app .compose-v4 textarea{background:#090919b8;border-color:#8962a57a;border-radius:11px}#app .cx-profile-card{background:linear-gradient(150deg,#0c0a18ce,#151226a6);border-color:#795c8c60;border-radius:12px}#app .cx-profile-tabs{border-color:#75518c55}#app .cx-profile-tabs button{background:transparent}#app .cx-profile-tabs button.active{color:#f3dcff;border-bottom-color:#b86aff}
#app .ws-panel,#app .lf-reader,#app .lf-document-nav{background:linear-gradient(145deg,#15132cdd,#0d0d22e8);border-color:#73508a66;box-shadow:0 8px 26px #0002}#app .ws-head h2{color:#f3eafe}.modal{background:linear-gradient(145deg,#17132a,#0b0b1c);border-color:#a368db80;box-shadow:0 18px 80px #0009,0 0 35px #8634c529}
@media(min-width:1600px){#app{padding:13px;gap:9px}#app .nav>button{font-size:13px}}
@media(max-width:1100px) and (min-width:701px){#app{padding:7px;gap:5px}#app .nav{padding:20px 7px 12px}#app .nav>button{font-size:11px}#app .cx-brand{min-height:94px}#app .ax-brand-logo{max-height:90px}}
@media(max-width:700px){#app{padding:0;gap:0}#app .nav,#app .list,#app .chat,#app .side,#app .section{border-radius:0;border-left:0;border-right:0;box-shadow:none}#app .cx-mobile-header{background:#0b0a1de8;backdrop-filter:blur(10px);border-bottom:1px solid #7554a366}#app .nav.cx-nav-open{border-right:1px solid #9266c180;background:#0d0b20f5}#app .nav.cx-nav-open .cx-brand{min-height:112px;padding-bottom:20px}#app .nav.cx-nav-open .ax-brand-logo{max-height:105px}#app .contact.active{margin:4px 6px;width:calc(100% - 12px)}#app .chat{background:#0808188c}#app .section{background:#0b0a20dc}.ax-auth-card{padding:29px 23px 26px;border-radius:17px}.ax-login-brand{width:260px;margin-bottom:22px;max-width:75vw}.ax-login-brand img{max-height:133px}#login:not(.hidden){padding:32px 18px 25px;justify-content:center}#login .ax-auth-card h1{font-size:22px;letter-spacing:-.5px}.ax-auth-card header p{font-size:14px}.ax-auth-card header{margin-bottom:28px}.ax-auth-field{margin-bottom:23px}.ax-private-note{gap:10px}.ax-private-note p{font-size:10px}.ax-login-footer{font-size:8px;letter-spacing:.2em;margin-top:35px;gap:12px}#ax-atmosphere:before{background-position:55% center}body.ax-app-screen #ax-atmosphere:before{opacity:.57}}
@media(max-height:740px) and (min-width:701px){#login:not(.hidden){padding:24px 20px}.ax-login-brand{width:255px;margin-bottom:17px}.ax-login-brand img{max-height:123px}.ax-auth-card{padding:29px 34px 25px}.ax-auth-card header{margin-bottom:25px}.ax-auth-field{margin-bottom:21px}.ax-login-footer{margin-top:25px}}
 .ax-logo-shell{position:relative;display:block;width:100%;aspect-ratio:1470/660;isolation:isolate;flex-shrink:0}.ax-logo-shell>svg{display:block;width:100%;height:100%;overflow:visible;stroke:none}.ax-logo-sweep{animation:ax-logo-pass 6.5s linear infinite;pointer-events:none;opacity:.92}#app .cx-brand>.ax-logo-shell{max-width:185px}.ax-mobile-brand{width:124px;height:45px;aspect-ratio:auto}.ax-login-brand{width:300px}.ax-login-brand>.ax-logo-shell{width:100%}.ax-motion-paused #ax-atmosphere:before,.ax-motion-paused .ax-logo-sweep{animation-play-state:paused}
@keyframes ax-logo-pass{0%,12%{transform:translateX(0)}88%,100%{transform:translateX(3460px)}}
@media(prefers-reduced-motion:reduce){#ax-atmosphere:before,.ax-logo-sweep{animation:none!important;transform:none!important;will-change:auto}.ax-logo-sweep{opacity:0}button{transition:none}}
/* 4.29.0 — aligned conversation toolbar */
#app .cx-account{height:57px;min-height:57px;padding:8px 12px;gap:8px}
#app .cx-account>div:not(#ws-clock){min-width:0}
#app .cx-account b{white-space:nowrap}
#app .cx-account>.cx-statusdot{margin-left:0}
#app .cx-account #ws-clock{margin-left:auto;padding:0;border:0;background:transparent;display:flex;min-width:0;flex-shrink:1;position:relative}
#app .cx-account #ws-clock[hidden]{display:none}
#app #ws-clock .ws-clock-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 10px;min-height:36px;font-size:11px;line-height:1.2;white-space:normal;color:white;background:linear-gradient(110deg,#bd61f2,#a23bff 40%,#7718fa);border:1px solid #bf7cff;box-shadow:0 2px 12px #8b29f540}
#app #ws-clock .ws-clock-button svg{width:16px;height:16px;flex-shrink:0}
#app #ws-clock small{position:absolute;top:100%;right:0;white-space:nowrap;font-size:9px;color:#d9c6ef;background:#141027;z-index:2;border-radius:3px;padding:2px 5px}
#app .ax-conversation-top{min-width:0;overflow:hidden;border:1px solid #7554a35c;border-radius:14px;background:#0b0a1bd1}
#app .ax-conversation-top .cx-open-tabs{height:55px;min-height:55px;padding:6px 8px;align-items:center;background:transparent;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
#app .ax-conversation-top .cx-pinned-tab{flex:0 0 auto;max-width:210px;border-radius:8px;height:42px;align-items:center}
#app .ax-conversation-top .cx-pinned-tab button{height:40px;border-radius:7px;background:transparent}
#app .ax-conversation-top .cx-unpin{min-width:30px;max-width:30px;padding:6px}
#app:has(#list.hidden)>.ax-conversation-top{display:none}
@media(min-width:701px){
 #app{grid-template-rows:57px minmax(0,1fr)}
 #app .nav,#app .list{grid-row:1/3}
 #app .ax-conversation-top{grid-column:3/5;grid-row:1}
 #app .chat{grid-row:2;grid-column:3}
 #app .side{grid-row:2;grid-column:4;margin-top:0;min-height:0}
 #app .section{grid-row:1/3}
 #app .head{min-height:68px;padding-top:10px;padding-bottom:10px}
}
@media(min-width:701px) and (max-width:900px){
 #app{grid-template-rows:50px 57px minmax(0,1fr)}
 #app .cx-mobile-header{grid-row:1;grid-column:1/-1}
 #app .list{grid-row:2/4;grid-column:1}
 #app .ax-conversation-top{grid-row:2;grid-column:2/4}
 #app .chat{grid-row:3;grid-column:2}
 #app .side{grid-row:3;grid-column:3}
 #app .section{grid-row:2/4;grid-column:1/4}
}
@media(max-width:700px){
 #app .ax-conversation-top{display:none;border-radius:0;border-left:0;border-right:0}
 #app[data-mobile=chat]{grid-template-rows:54px 48px minmax(0,1fr)}
 #app[data-mobile=chat]>.ax-conversation-top{display:block;grid-column:1;grid-row:2}
 #app[data-mobile=chat] .chat{grid-row:3}
 #app .ax-conversation-top .cx-open-tabs{height:46px;min-height:46px;padding:3px 8px}
 #app .ax-conversation-top .cx-pinned-tab{height:38px}
 #app .ax-conversation-top .cx-pinned-tab button{height:36px}
 #app .cx-account{height:60px;min-height:60px}
 #app #ws-clock .ws-clock-button{font-size:12px}
}
/* 4.19: compact identity and visible essential information. */
#cx-message-count{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:10px;font-weight:500;color:#d2b2f0;background:#a459ff14;border:1px solid #a459ff38;border-radius:20px;padding:4px 8px;white-space:nowrap}
#cx-message-count[hidden]{display:none}
#app .cx-name-line{flex-wrap:wrap}
#app .cx-discussion-totals{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
#app .cx-discussion-totals .ax-today-counter{padding:0;font-size:10px;line-height:1.3}
#app .cx-profile-head p:empty{display:none}
#app .cx-profile-body>.cx-inline-profile:first-child{margin-top:0}
@media(max-width:700px){#cx-message-count{font-size:9px;padding:3px 6px}}
#app .cx-note{background:linear-gradient(145deg,#241536cc,#111126e8);border:1px solid #8953bc66;border-radius:12px;color:#e8dcfa;box-shadow:inset 0 1px 0 #d2a9ff0a}
#app .cx-note .cx-section-title{color:#c895f8}
#app .cx-note p,#app .cx-note-scroll{color:#d9c9ee}
#app .cx-note .cx-icon:hover{background:#a459ff20;color:#ead8ff}
/* 4.20: compact profile actions and a usable Tips control. */
#app .cx-profile-actions{grid-column:2;display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0;margin-top:6px}
#app .cx-profile-actions>.cx-outlined,#app .cx-profile-tag-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;font-size:11px;padding:6px 9px;border-radius:8px;max-width:100%}
#app .cx-profile-tag-button{border:1px solid #9d67d166;color:#dbc0f5;background:#a459ff16;flex-wrap:wrap}
#app .cx-profile-tag-button .cx-client-tag{margin:0;padding:2px 5px;font-size:10px}
#app .cx-profile-tag-button>svg{width:12px;height:12px;flex-shrink:0}
#app .cx-profile-head>p{grid-column:2;overflow-wrap:anywhere;word-break:normal}
#app #ax-tips-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto;min-width:68px;height:36px;min-height:36px;padding:7px 10px;margin:0;border-radius:10px;border:1px solid #bc83ff85;background:linear-gradient(135deg,#61328b66,#38205188);color:#f0e1ff;font-size:11px;font-weight:650;letter-spacing:0;line-height:1;box-shadow:inset 0 1px 0 #ffffff0d;flex-shrink:0;white-space:nowrap}
#app #ax-tips-button svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
#app #ax-tips-button:hover:not(:disabled){background:linear-gradient(135deg,#873ec1aa,#542c8488);border-color:#cd9bff;box-shadow:0 0 14px #a459ff26}
#app #ax-tips-button:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:700px){#app #ax-tips-button{min-width:57px;height:36px;padding:6px;gap:4px;font-size:10px}#app #ax-tips-button svg{width:16px;height:16px}}
#app #ws-clock .ws-clock-button:not(.on){background:#a21c37;border-color:#f15b77}
.rw-badge{display:inline-block;background:#be234b;color:#fff;border-radius:20px;padding:1px 6px;margin-left:5px;font-size:.75em}
.rw-badge[hidden]{display:none}
.rw-source{display:inline-block;color:#beaad6;margin-left:8px;font-size:.75em}
.rw-message-report{display:block;margin-top:5px;font-size:.75em;padding:3px 6px}
.rw-selected{outline:2px solid #bc80f5;outline-offset:2px}
.rw-alert{background:#861c35;color:#fff;border-color:#fb7193;margin-bottom:12px}
#rw-pending:empty{display:none}
.rw-page{width:100%;max-width:1150px;margin:auto;color:#f5efff}.rw-page h2{font-size:clamp(2rem,4vw,3rem);margin:0 0 1.4rem}.rw-tabs{display:flex;border-bottom:1px solid #53406d;margin-bottom:1.8rem}.rw-tabs button{border:0;border-bottom:4px solid transparent;border-radius:0;background:transparent;font-size:clamp(.85rem,2vw,1.2rem);padding:.75rem 1rem}.rw-tabs button[aria-pressed=true]{border-bottom-color:#a454fa;font-weight:700}.rw-entry{margin-bottom:1rem;border:1px solid #554074;border-radius:15px;background:linear-gradient(135deg,#20182edb,#141025ec);overflow:hidden}.rw-entry>summary{display:flex;align-items:center;gap:.9rem;cursor:pointer;padding:1rem 1.25rem;font-size:1.35rem;font-weight:700;list-style:none}.rw-entry>summary:after{content:'⌄';margin-left:auto}.rw-entry[open]>summary:after{content:'⌃'}.rw-entry-icon{display:grid;place-items:center;background:#392959;color:#ceb2ff;padding:.55rem;border-radius:.65rem}.rw-entry-icon svg{width:1.25rem;height:1.25rem}.rw-entry summary small{font-size:.8rem;color:#ffd369;border:1px solid #735627;border-radius:99px;padding:.2rem .6rem;background:#46311977}.rw-entry summary small.rw-replied{color:#87fa89;background:#25473388;border-color:#34653b}.rw-entry-body{padding:0 1.3rem 1.3rem}.rw-field{margin:0 0 1rem}.rw-field p{white-space:pre-wrap;overflow-wrap:anywhere;margin:.3rem 0 0;border:1px solid #4c3c65;border-radius:9px;background:#262039;padding:.6rem .9rem}#rw-reports.active{background:#36205d} 

.tc-page{padding:0!important;overflow:hidden!important;min-height:0}.tc-layout{display:grid;grid-template-columns:270px minmax(280px,1fr) 260px;height:100%;min-height:0;gap:10px}.tc-rooms,.tc-conversation,.tc-team{border:1px solid #42335d;border-radius:18px;background:linear-gradient(145deg,#111024e8,#09091bd6);min-height:0;overflow:auto}.tc-rooms>header,.tc-team>header,.tc-conversation>header{padding:22px 18px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #352c4a}.tc-rooms h2,.tc-conversation h2,.tc-team h3{margin:0;font-size:18px}.tc-rooms h2{display:flex;align-items:center;gap:12px}.tc-rooms header button{margin-left:auto}.tc-search{margin:20px 15px;display:flex;gap:8px;align-items:center;border:1px solid #493864;border-radius:10px;padding:0 12px}.tc-search input{border:0;background:transparent;min-width:0;width:100%;padding:14px 0}.tc-eyebrow{font-size:11px;letter-spacing:.1em;color:#b8a8d5;margin:25px 20px 12px}.tc-general,.tc-person{display:flex;align-items:center;gap:13px;text-align:left;width:calc(100% - 24px);margin:7px 12px;padding:14px 12px;border:1px solid transparent;background:transparent;border-radius:12px}.tc-general>span{font-size:28px}.tc-general small,.tc-person small,.tc-member small{display:block;font-size:12px;color:#afa0c8;margin-top:5px}.tc-general.selected,.tc-person.selected{border-color:#b06bfa;background:linear-gradient(120deg,#54287d99,#24183299);box-shadow:inset 0 0 24px #9b44ff16}.tc-general em,.tc-person em{margin-left:auto;background:#9a3aff;padding:3px 6px;border-radius:6px;font-size:12px;font-style:normal}.tc-private-title{display:flex;align-items:center;justify-content:space-between;padding-right:18px}.tc-avatar{position:relative;display:inline-grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:50%;background:linear-gradient(140deg,#352b46,#1a1827);border:1px solid #665578;font-size:20px}.tc-avatar i{position:absolute;right:0;bottom:1px;width:10px;height:10px;border-radius:50%;background:#7c748a;border:2px solid #151125}.tc-avatar i.on{background:#39dba4}.tc-conversation{display:flex;flex-direction:column;overflow:hidden}.tc-conversation>header{flex:none;min-height:90px}.tc-conversation>header small{display:block;color:#b7a9ce;font-size:12px;line-height:1.5;margin-top:7px}.tc-feed{flex:1;overflow:auto;min-height:0;padding:0 24px 22px;scrollbar-color:#70469b #0d0b20}.tc-date{text-align:center;color:#b8a8cc;font-size:12px;margin:30px 0}.tc-message{display:flex;gap:14px;margin:28px 0}.tc-message>div{min-width:0;flex:1}.tc-message header{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:9px}.tc-message header span{font-size:10px;color:#cd9dff;border:1px solid #7944a9;border-radius:20px;padding:2px 7px}.tc-message time{font-size:10px;color:#b5a2cd}.tc-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:18px 16px;border:1px solid #514063;border-radius:14px;background:#211b34b0;line-height:1.65;font-size:14px}.tc-message.mine p{background:linear-gradient(130deg,#482258b5,#241835b5);border-color:#7a3db5}.tc-message footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:9px}.tc-reaction{display:flex;align-items:center;gap:7px;border-radius:25px;color:#c085ff;padding:4px 12px;background:#3d185b55;border:1px solid #8c3bd1}.tc-reaction.liked{background:#6825a066;color:#e2b6ff}.tc-apex{width:25px;height:25px;filter:drop-shadow(0 0 5px #ae50ed77)}.tc-readers{border:0;padding:4px 0;background:transparent;color:#b8a6ca;font-size:11px}.tc-readers:hover{text-decoration:underline}.tc-conversation>footer{padding:16px;border-top:1px solid #443354;background:#100c20b8}.tc-conversation textarea{resize:vertical;min-height:58px;max-height:160px;background:#090817a0;border:1px solid #58406e;border-radius:12px;width:100%;padding:14px}.tc-conversation form>div{display:flex;align-items:center;gap:12px;margin-top:10px}.tc-conversation form .primary{margin-left:auto;display:flex;align-items:center;gap:12px}.tc-conversation form small{font-size:11px;color:#eab8df}.tc-team{display:flex;flex-direction:column}.tc-team>header{justify-content:space-between;flex-wrap:wrap}.tc-team h3{font-size:15px}.tc-team header span{font-size:11px;color:#47e0b3;border:1px solid #266b60;border-radius:20px;padding:6px 8px}.tc-member{display:flex;align-items:center;gap:10px;padding:18px 15px;border-bottom:1px solid #30263e}.tc-member>span:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere}.tc-member b{font-size:13px}.tc-member button{padding:7px}.tc-private-note{margin:auto 14px 20px;text-align:center;padding:25px 15px;border:1px solid #57316e;border-radius:14px;background:#20122d66;color:#c6b3de}.tc-private-note>svg{width:32px;height:32px;margin-bottom:12px}.tc-private-note p{font-size:13px;line-height:1.7}.tc-readers-list>div{display:grid;grid-template-columns:46px 1fr;gap:8px 15px;align-items:center;padding:12px 0;border-bottom:1px solid #3b294e}.tc-readers-list .tc-avatar{grid-row:span 2}.tc-readers-list small{color:#bca6d1}.tc-picker{display:grid;gap:10px}.tc-picker button{text-align:left;padding:15px}.tc-picker small{display:block;color:#bfaad8}.tc-empty{text-align:center;padding:70px 15px;color:#baacd0}.tc-older{display:block;margin:15px auto}.tc-page button:focus-visible{outline:2px solid #cc9aff;outline-offset:3px}
@media(min-width:1500px){.tc-layout{grid-template-columns:300px minmax(400px,1fr) 300px}.tc-feed{padding-left:32px;padding-right:32px}}@media(max-width:1250px){.tc-layout{grid-template-columns:240px minmax(280px,1fr)}.tc-team{display:none}}@media(max-width:760px){.tc-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:8px}.tc-rooms{max-height:220px;overflow:auto}.tc-rooms>header{padding:10px 14px}.tc-search{margin:8px 12px}.tc-eyebrow{margin-top:8px}.tc-person{display:inline-flex;width:auto;min-width:140px;padding:8px}.tc-person .tc-avatar{width:30px;height:30px;flex-basis:30px;font-size:14px}.tc-general{padding:8px}.tc-private-title{display:none}#tc-member-chats{white-space:nowrap;overflow:auto;display:flex}.tc-feed{padding:0 12px 15px}.tc-message{gap:8px}.tc-message>.tc-avatar{width:32px;height:32px;flex-basis:32px;font-size:14px}.tc-conversation>header{padding:10px 14px;min-height:65px}.tc-conversation>header .tc-avatar{width:35px;height:35px;flex-basis:35px}.tc-conversation h2{font-size:16px}}
.ax-shift-calendar{min-width:850px}.ax-shift-calendar .ws-calendar-day{display:flex;flex-direction:column;min-height:450px}.ax-shift-worked{display:grid;gap:8px}.ax-worked-shift{position:relative;display:flex;justify-content:space-between;gap:8px;background:linear-gradient(130deg,#12523d,#143429);border:1px solid #3aba87;border-radius:10px;color:#a8f4cc;padding:12px 9px;font-size:12px}.ax-worked-shift i{position:absolute;right:5px;top:5px;width:5px;height:5px;background:#6bffc3;border-radius:50%}.ax-shift-absent{display:grid;gap:7px;margin-top:auto;padding-top:25px}.ax-shift-absent button{display:flex;justify-content:space-between;gap:8px;background:#262333;border:1px solid #494153;color:#aaa1b7;font-size:11px;padding:10px 8px;border-radius:8px}.ax-date-note{font-size:12px;color:#b6a5cc}.ax-mail-ready{color:#50d3aa}
/* 4.22 — Team com : fond partagé avec Conversations, deux colonnes. */
#app .tc-page{background:transparent!important;backdrop-filter:none!important}.tc-layout{grid-template-columns:285px minmax(0,1fr);gap:10px}.tc-conversation{background:transparent!important;backdrop-filter:none}.tc-rooms{background:linear-gradient(145deg,#151126a6,#09091c99);backdrop-filter:blur(6px)}.tc-feed{background:transparent}.tc-conversation>header,.tc-conversation>footer{background:#100b20a6;backdrop-filter:blur(5px)}.tc-active-count{display:block;margin-top:8px;color:#55dfb1;font-size:11px}.tc-rooms>header>div{min-width:0}.tc-rooms>header{justify-content:space-between}.tc-rooms>.tc-general{margin-top:20px}.tc-reaction{padding:2px 7px;min-height:24px;height:24px;gap:4px;font-size:10px}.tc-reaction .tc-apex{width:15px;height:15px}.tc-message-content{padding:14px 16px;border:1px solid #7655926b;border-radius:14px;background:#201a34a6;line-height:1.65;overflow:hidden}.tc-message.mine .tc-message-content{background:linear-gradient(130deg,#482258a6,#24183599);border-color:#7a3db5}.tc-message .tc-message-content>p{padding:0;margin:0 0 8px;background:transparent;border:0;border-radius:0;white-space:pre-wrap;overflow-wrap:anywhere}.tc-message-content>p:last-child{margin-bottom:0}.tc-photo-link{display:block;max-width:460px}.tc-photo{display:block;max-width:100%;max-height:340px;object-fit:contain;border-radius:10px}.tc-file-name{display:block;font-size:11px;margin:5px 0;color:#d3b3ef;overflow-wrap:anywhere}.tc-file{display:flex;gap:12px;align-items:center;padding:15px;margin:8px 0;background:#171025a8;border:1px solid #6d4889;border-radius:12px;color:#e4d1f5;text-decoration:none}.tc-file>span{flex:1;min-width:0;overflow-wrap:anywhere}.tc-file small{display:block;color:#bca8d3;font-size:11px;margin-top:4px}.tc-shared-client{display:flex;align-items:center;gap:14px;margin-top:8px;padding:16px;border:1px solid #a967e180;border-radius:14px;background:linear-gradient(125deg,#432452b8,#191429aa)}.tc-shared-client>svg{color:#d49bff;flex:none}.tc-shared-client>div{flex:1;min-width:0;overflow-wrap:anywhere}.tc-shared-client b,.tc-shared-client small{display:block}.tc-shared-client small{color:#bea5d3;font-size:9px;letter-spacing:.04em}.tc-shared-client b{font-size:15px;margin-top:4px}.tc-shared-client button{display:flex;align-items:center;gap:8px;font-size:12px;border-color:#a968da;color:#edceff;background:#823abb26;padding:8px 12px}.tc-shared-client button:disabled{opacity:.55}.tc-composer-actions .tc-tool{padding:7px;min-width:34px;min-height:34px;display:inline-flex;gap:1px;align-items:center;justify-content:center;background:transparent;border-color:transparent;color:#c5aedc}.tc-tool svg{width:21px;height:21px}.tc-tool[aria-label="Partager une conversation client"] svg:last-child{width:10px;height:12px;margin-left:-6px;margin-top:-10px}.tc-composer-actions .tc-tool:hover{border-color:#9861bc;background:#6c339c33}.tc-draft-file,.tc-draft-share{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;margin-bottom:8px;border:1px solid #855aa0;border-radius:10px;background:#2816389c;font-size:12px}.tc-draft-file>span,.tc-draft-share>span{overflow-wrap:anywhere;min-width:0}.tc-draft-file svg,.tc-draft-share svg{vertical-align:middle;width:16px;height:16px}.tc-draft-file small{display:block;margin:4px 0 0 21px;font-size:10px;color:#bba5d0}.tc-draft-file button,.tc-draft-share button{flex:none;min-width:26px;padding:2px 5px}.tc-client-options{max-height:440px;overflow:auto;margin-top:15px}.tc-client-options>button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 12px;margin-bottom:7px;border-radius:10px;text-align:left}.tc-client-options>button>span{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.tc-client-options small{font-size:11px;color:#b6a0ce}.tc-client-options b{overflow-wrap:anywhere}#tc-emoji-grid{max-height:340px;overflow:auto}
@media(min-width:1500px){.tc-layout{grid-template-columns:300px minmax(0,1fr)}}@media(max-width:760px){.tc-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.tc-rooms{max-height:240px}.tc-rooms>header{padding:10px 14px}.tc-rooms>.tc-general{margin-top:7px}.tc-rooms>.tc-search{margin:8px 12px}.tc-active-count{margin-top:4px}.tc-message-content{padding:10px}.tc-shared-client{gap:8px;padding:10px;flex-wrap:wrap}.tc-shared-client button{margin-left:auto}.tc-composer-actions{gap:5px!important}.tc-conversation form .primary{gap:5px;padding:9px}.tc-photo{max-height:240px}}
.tc-sale-card{display:grid;justify-items:start;gap:.35rem;border:1px solid #a674ef;padding:1rem;border-radius:12px;background:linear-gradient(120deg,#382054,#211730)}
.tc-sale-card>span{font-size:1.5rem}.tc-sale-card strong{color:#e5c6ff}.tc-sale-card p{margin:0}
@media(prefers-reduced-motion:no-preference){.tc-sale-card>span{animation:tc-celebrate .55s ease-out}@keyframes tc-celebrate{from{transform:scale(.65);opacity:.25}to{transform:scale(1);opacity:1}}}

/* 4.23 — approved Apex coaching layout; all rules scoped to this page/dialog. */
#app .section.ac-section{background:linear-gradient(145deg,#0c0c2070,#090a1d42);padding:24px 24px 30px;border-color:#74549c60;backdrop-filter:none}
.ax-coach{color:#f4edff;max-width:1700px;margin:0 auto;font-size:13px;--ac-line:#7150a18c;--ac-muted:#b2a2cf;--ac-green:#72e8b7}
.ax-coach *{box-sizing:border-box}.ax-coach h1,.ax-coach h2,.ax-coach h3,.ax-coach p{margin:0}.ax-coach button,.ac-dialog button{font-family:inherit;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;border:1px solid #9361c181;border-radius:7px;color:#eee4ff;background:linear-gradient(130deg,#39195180,#22143a72);padding:7px 12px;font-size:12px;line-height:1.35;cursor:pointer;box-shadow:inset 0 1px 0 #d8b3ff0a}.ax-coach button:hover,.ac-dialog button:hover{border-color:#c18cff;background:#7937bb38}.ax-coach button:focus-visible,.ac-dialog button:focus-visible{outline:2px solid #c997ff;outline-offset:3px}.ax-coach button.primary,.ac-dialog button.primary{background:linear-gradient(115deg,#b75afa,#9329fa 70%,#7418e8);border-color:#ca8dff;box-shadow:inset 0 1px 0 #e5c7ff44,0 0 14px #8e2de943;color:white}.ax-coach button:disabled,.ac-dialog button:disabled{opacity:.55;cursor:default}.ax-coach button svg,.ac-dialog button svg{width:17px;height:17px;flex:0 0 17px}
.ac-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.ac-page-head h1{font-size:clamp(26px,2.3vw,38px);font-weight:750;letter-spacing:-1.1px;line-height:1.15}.ac-page-head>div>p{font-size:18px;color:#c2a5ef;margin-top:5px;font-weight:600}.ac-toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.ax-coach select,.ax-coach input,.ac-dialog input,.ac-dialog select,.ac-dialog textarea{background:#111026c9;border:1px solid #79619c99;color:#f0e7ff;border-radius:7px;min-height:36px;padding:8px 11px;font:inherit;max-width:100%}.ac-toolbar select{width:auto;min-width:100px;margin:0;font-size:12px}.ax-coach select option,.ac-dialog select option{background:#141025;color:#f0e7ff}.ac-toolbar .primary{min-height:38px}.ax-coach .ac-icon-button{min-width:35px;padding:7px}.ac-custom-period{display:flex;gap:12px;margin:0 0 15px}.ac-custom-period label{display:flex;gap:7px;align-items:center}.ac-custom-period input{width:155px}.ac-card{border:1px solid var(--ac-line);border-radius:11px;background:linear-gradient(130deg,#171832bd,#10112b94);box-shadow:inset 0 1px 0 #dbb6ff0a,0 6px 22px #0001;padding:16px;min-width:0}.ac-card h3{font-size:18px;font-weight:700;line-height:1.25;letter-spacing:-.3px}.ac-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.ac-card>header p{font-size:12px;color:var(--ac-muted);margin-top:3px}.ac-card>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:15px;flex-wrap:wrap}.ax-coach .ac-text-button{border:0;background:transparent;box-shadow:none;padding:4px 2px;color:#c69aff;font-size:11px;min-height:28px}.ax-coach .ac-text-button:hover{background:transparent;color:#e5caff}.ac-person{display:flex;align-items:center;gap:15px;margin-bottom:9px;padding:14px 18px;background:linear-gradient(105deg,#171932d6,#25163f72)}.ac-avatar{position:relative;display:grid;place-items:center;flex:0 0 60px;width:60px;height:60px;border-radius:50%;background:linear-gradient(145deg,#713ac4,#432486);border:1px solid #c69bff;color:white;font-size:30px;font-weight:700;box-shadow:inset 0 0 15px #b774fa24}.ac-avatar>i{position:absolute;right:0;top:2px;width:11px;height:11px;border-radius:50%;border:2px solid #1a1631;background:#777081}.ac-avatar.is-online>i{background:#5fe6a6;box-shadow:0 0 7px #5fe6a666}.ac-person h2{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:23px;line-height:1.3}.ac-person p{font-size:11px;color:#b9a9ce;margin-top:6px}.ac-person>.ac-text-button{margin-left:auto}.ac-person .lf-person-presence{display:inline-flex;align-items:center;gap:5px;border:1px solid #6b648180;border-radius:20px;padding:3px 7px;font-size:10px;font-weight:500;background:#51475c25;color:#bcb0c8}.ac-person .lf-person-presence:has(.on){border-color:#509c7880;background:#1a513333;color:#8aefb3}.lf-status-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#797080}.lf-status-dot.on{background:#64e4a9}.ac-label{display:inline-flex;align-items:center;gap:5px;border:1px solid #b36aff70;border-radius:20px;background:#8b40cd25;padding:3px 9px;color:#d1a7f6;font-size:10px;font-weight:500;white-space:nowrap;line-height:1.35}
.ac-kpis{display:grid;grid-template-columns:1.13fr 1.13fr repeat(4,1fr);gap:8px}.ac-kpi{border:1px solid #a167db99;border-radius:8px;background:linear-gradient(135deg,#281742aa,#17132994);min-width:0;min-height:112px;padding:13px 10px;display:flex;align-items:flex-start;gap:9px;overflow-wrap:anywhere}.ac-kpi-icon{flex:0 0 27px;color:#c57cff;filter:drop-shadow(0 0 5px #b456ee66)}.ac-kpi-icon svg{width:27px;height:27px}.ac-kpi small{font-size:10px;color:#ddc8f5;display:block;margin:0 0 6px}.ac-kpi strong{display:block;font-size:clamp(19px,1.65vw,27px);line-height:1.1;letter-spacing:-.65px;white-space:normal}.ac-kpi strong span{font-size:14px;font-weight:500;color:#cbbade;letter-spacing:0}.ac-kpi-note{display:block;font-size:9px;color:#b7a2cf;line-height:1.3;margin-top:6px}.ac-score strong{font-size:23px}.ac-score button{font-size:9px;padding:3px 6px;min-height:22px;width:100%;margin-top:6px}.ac-period-caption{display:flex;align-items:center;gap:12px;justify-content:center;color:#b4a0d1;font-size:9px;margin:12px 0}.ac-period-caption:before,.ac-period-caption:after{content:'';height:1px;flex:1;background:#8753bb66}
.ac-summary{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-bottom:10px}.ac-summary .ac-card{display:flex;gap:12px;padding:16px 14px;min-height:112px}.ac-summary-icon{color:#bd77ff;flex:0 0 30px;filter:drop-shadow(0 0 7px #b65cfa55)}.ac-summary-icon svg{width:30px;height:30px}.ac-summary small{display:flex;align-items:center;gap:7px;color:#c296f8;font-size:10px;font-weight:600;letter-spacing:.15px}.ac-summary h3{font-size:19px;margin-top:7px;overflow-wrap:anywhere}.ac-summary p{color:#b8a8ce;font-size:11px;line-height:1.6;margin-top:6px}.ac-positive{border-color:#57c4a187;background:linear-gradient(130deg,#14342f80,#12223280)}.ac-positive small,.ac-positive .ac-summary-icon{color:#90edbe}.ac-priority{background:linear-gradient(130deg,#39205199,#20142f66)}.ac-summary .ac-weekly{display:block}.ac-summary .ac-weekly>div{width:100%}.ax-coach .ac-tiny-action{margin-left:auto;padding:0;background:transparent;border:0;min-height:20px;box-shadow:none}.ac-tiny-action svg{height:14px;width:14px}.ax-coach progress,.ac-dialog progress{height:7px;appearance:none;-webkit-appearance:none;width:100%;display:block;border:1px solid #7553aa80;background:#13182f;border-radius:10px;overflow:hidden;margin:10px 0 0}.ax-coach progress::-webkit-progress-bar,.ac-dialog progress::-webkit-progress-bar{background:#13182f;border-radius:10px}.ax-coach progress::-webkit-progress-value,.ac-dialog progress::-webkit-progress-value{background:linear-gradient(90deg,#8d28e8,#be69fa);border-radius:10px}.ax-coach progress::-moz-progress-bar,.ac-dialog progress::-moz-progress-bar{background:linear-gradient(90deg,#8d28e8,#be69fa);border-radius:10px}
.ac-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px;align-items:stretch}.ac-skills-list{border:1px solid #67499d80;border-radius:7px;overflow:hidden}.ax-coach .ac-skill{display:flex;width:100%;min-height:40px;justify-content:space-between;border:0;border-bottom:1px solid #59437180;border-radius:0;background:#1a173320;box-shadow:none;padding:8px 11px;text-align:left;font-size:11px}.ac-skill:last-child{border-bottom:0}.ac-skill>span{display:flex;align-items:center;gap:11px;min-width:0}.ac-skill svg{width:18px!important;height:18px!important;color:#ccb8e5}.ac-status{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:9px;line-height:1.4;font-weight:500;padding:4px 8px;border-radius:20px;min-width:111px;white-space:nowrap;color:#cfb0f2;background:#7342a538;border:1px solid #a57ade7d}.ac-status i{width:6px;height:6px;display:block;border-radius:50%;background:currentColor}.ac-mastered{color:#8cf2b9;border-color:#68bb9388;background:linear-gradient(90deg,#27604799,#22483688)}.ac-unrated{color:#aaa0bc;background:#5d4e7322;border-color:#7b6c8e60}.ac-working{color:#d6b4fd;background:#6e2fb047}.ac-skills>footer small{color:#b4a0cf;font-size:10px}.ac-diagnostic-list{display:flex;flex-direction:column;gap:8px}.ax-coach .ac-diagnostic{border-radius:7px;background:linear-gradient(110deg,#21203b94,#2b1d4580);border:1px solid #7751a980;min-height:59px;display:flex;align-items:flex-start;text-align:left;padding:10px;gap:10px;width:100%;justify-content:flex-start}.ac-diagnostic-icon{flex:0 0 25px;color:#d5c2ed}.ac-diagnostic-icon svg{width:22px!important;height:22px!important}.ac-diagnostic>span:nth-child(2){flex:1;min-width:0}.ac-diagnostic b{font-size:11px;font-weight:650;display:block;line-height:1.4}.ac-diagnostic small{color:#b9a8d0;font-size:10px;display:block;line-height:1.45;margin-top:2px}.ac-diagnostic strong{font-size:12px;color:#d2a5f8;white-space:nowrap;font-weight:500}.ac-diagnostics>footer{border:1px solid #9860c78f;border-radius:7px;padding:5px 6px 5px 10px;background:#7233ab25;margin-top:9px;gap:6px;flex-wrap:nowrap}.ac-diagnostics>footer>span{display:flex;align-items:center;gap:9px;font-size:9px;color:#d1b3ee;line-height:1.4}.ac-diagnostics>footer svg{width:20px;height:20px;flex:0 0 20px}.ac-diagnostics>footer button{font-size:9px;min-height:28px;padding:5px 8px;white-space:nowrap}.ac-practice-row{grid-template-columns:1fr 1fr}.ac-example>header{justify-content:flex-start;flex-wrap:wrap}.ac-example h3,.ac-plan h3{font-size:18px}.ac-excerpt{border:1px solid #5f478b75;border-radius:8px;background:#13142b50;padding:9px}.ac-excerpt-message{display:flex;align-items:center;gap:9px;margin:5px 0;color:#bcb0d6;font-size:10px;line-height:1.5}.ac-excerpt-message b{font-size:10px;white-space:nowrap;color:#eadff6}.ac-excerpt-message>span{padding:7px 12px;border-radius:12px;background:#383b60c2;color:#f3edff;max-width:75%;white-space:pre-wrap;overflow-wrap:anywhere}.ac-excerpt-message.ac-agent{justify-content:flex-end}.ac-excerpt-message.ac-agent>span{background:linear-gradient(105deg,#7034ab,#59249e)}.ac-excerpt-message small{font-size:9px;white-space:nowrap}.ac-feedback{border:1px solid #ab63e8a0;background:#6b2ca02c;border-radius:7px;padding:10px 12px;margin-top:10px}.ac-feedback small{font-size:9px;color:#d8b2fb;letter-spacing:.2px}.ac-feedback p{font-size:11px;line-height:1.6;margin-top:4px;color:#e5d6f6;white-space:pre-wrap}.ac-feedback summary{font-size:10px;color:#c796f2;margin-top:6px;cursor:pointer}.ac-source{font-size:9px;color:#a28abf!important;margin:7px 0!important}.ac-example>footer{justify-content:flex-start;margin-top:10px}.ac-example>footer button{font-size:10px;min-height:31px}.ac-goal-list{display:flex;flex-direction:column;gap:7px}.ax-coach .ac-goal{display:flex;text-align:left;width:100%;justify-content:flex-start;align-items:center;padding:10px;gap:9px;background:#26203c7a;border:1px solid #6c489d80}.ac-goal-number{display:grid;place-items:center;width:27px;height:27px;flex:0 0 27px;border-radius:50%;background:linear-gradient(135deg,#bb54fa,#7720dc);color:white;font-size:14px}.ac-goal>span:nth-child(2){flex:1;min-width:0}.ac-goal b{display:block;font-size:11px;font-weight:650;line-height:1.45}.ac-goal small{display:block;font-size:10px;color:#bba6d1;margin-top:4px}.ac-goal progress{max-width:95px;flex:0 0 24%;margin:0}.ac-training-link{display:flex;align-items:center;gap:10px;padding:10px;border-radius:7px;border:1px solid #6f4ca086;background:#15182b62;margin-top:10px}.ac-training-link>svg{width:22px;height:22px;color:#ccb2ed;flex:0 0 22px}.ac-training-link>span{font-size:10px;flex:1;color:#cfbee6}.ac-training-link button{font-size:10px;white-space:nowrap}.ac-last-goal{margin:10px 0 0;display:flex;gap:7px;align-items:center;font-size:10px;color:#bbcbbf;line-height:1.5}.ac-last-goal svg{width:17px;height:17px;color:#8bedb8;flex:0 0 17px}.ac-empty{color:#b4a1c8;font-size:12px;padding:16px 2px;line-height:1.8}.ac-empty b{color:#d2c1e8}.ac-empty button{margin-top:10px}
.ac-shifts{margin-top:12px;padding:17px}.ac-table-wrap{overflow:auto;border:1px solid #6f4f9b80;border-radius:8px}.ac-table-wrap table{border-collapse:collapse;width:100%;min-width:660px;color:#e7def4;font-size:11px}.ac-table-wrap th,.ac-table-wrap td{padding:10px 12px;text-align:left;border-bottom:1px solid #644a8d55;white-space:nowrap;font-variant-numeric:tabular-nums}.ac-table-wrap thead{background:#1e193981;color:#c6afd9}.ac-table-wrap thead th{font-size:10px;font-weight:500}.ac-table-wrap tfoot{background:linear-gradient(100deg,#7133a955,#48217c50);font-weight:700}.ac-table-wrap tfoot td,.ac-table-wrap tfoot th{border-bottom:0;color:#f8eeff}.ac-shift-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#7aebaf;margin-right:9px}.ac-table-note{display:block;font-size:9px;color:#a58cbe;line-height:1.6;margin-top:10px}.ac-secondary-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;opacity:.85}.ac-secondary-actions button{font-size:10px}.ac-table-wrap small{display:block;margin-top:4px;color:#ad99c4}
.ac-dialog{font-size:13px;line-height:1.7;color:#e9def5;max-width:900px}.ac-dialog>p{margin:10px 0}.ac-dialog label{display:block;font-size:12px;color:#cdb5e4;margin:12px 0 6px}.ac-dialog input,.ac-dialog select,.ac-dialog textarea{width:100%;display:block;margin-top:5px;font-size:13px}.ac-dialog textarea{min-height:80px;resize:vertical}.ac-dialog input[type=checkbox]{width:17px;height:17px;min-height:17px;flex:0 0 17px;accent-color:#a64ef9}.ac-dialog progress{margin:10px 0}.ac-dialog h4{margin:15px 0 6px}.ac-dialog blockquote{border-left:3px solid #a866ea;margin:14px 0;padding:8px 14px;background:#7344a51e;border-radius:0 7px 7px 0;white-space:pre-wrap}.ac-dialog .ac-score-number{font-size:32px;font-weight:700;line-height:1.3;color:#f4e7ff}.ac-dialog fieldset{border:1px solid #7950a781;border-radius:9px;margin:20px 0;padding:13px}.ac-dialog legend{padding:0 8px;color:#d7b2fa}.ac-form-row{display:flex;gap:12px;align-items:center}.ac-form-row>label,.ac-form-row>input{flex:1;min-width:0}.ac-dialog-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}.ac-reference{border:1px solid #8453ae88;border-radius:8px;background:#7036a222;padding:13px;margin:15px 0}.ac-reference b{font-size:12px;color:#d1aff2}.ac-reference p{font-size:12px;margin:6px 0 10px}.ac-proposed-reply{padding:13px;border-radius:8px;background:#391d5680;border:1px solid #8155ae80;white-space:pre-wrap}.ac-filter-buttons{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.ac-filter-buttons [aria-pressed=true]{background:#7730c477;border-color:#c080ff}.ac-issue{background:#28203862;border:1px solid #8156ac70;border-radius:9px;padding:14px;margin:12px 0}.ac-issue>header{display:flex;align-items:center;gap:10px;justify-content:space-between}.ac-issue p{white-space:pre-wrap;overflow-wrap:anywhere}.ac-issue small{display:block;color:#b89acb}.ac-review-criteria{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.ac-review-criteria>label{border:1px solid #634a8e77;border-radius:8px;padding:10px;margin:0}.ac-review-criteria small{display:block;font-size:11px;line-height:1.5;color:#a995c0;margin-top:6px}.ac-evidence-list{max-height:300px;overflow:auto;background:#0d0e20a6;border:1px solid #6e4c9180;border-radius:8px;margin-top:12px}.ac-dialog label.ac-evidence{display:flex;align-items:flex-start;gap:10px;border-bottom:1px solid #51366360;padding:10px;margin:0;cursor:pointer}.ac-evidence>span{display:flex;flex-direction:column;gap:4px;min-width:0}.ac-evidence b{font-size:10px;color:#c39be6}.ac-evidence span span{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;color:#e0d2ed}.ac-question-list{max-height:330px;overflow:auto}.ac-question-list article{padding:10px;border:1px solid #5c407880;border-radius:7px;margin-bottom:8px;background:#2a1d3c66}.ac-question-list small{display:block;color:#ab8ec0;font-size:10px}.ac-question-list p{white-space:pre-wrap}.ac-dialog [role=alert]{color:#f5a8c5;white-space:pre-wrap}.modal:has(.ac-dialog-wide){max-width:1000px;width:min(1000px,96vw)}.modal:has(.ac-dialog){max-height:91vh;overflow:auto;background:linear-gradient(145deg,#16142bed,#0c0c20fa)}
#app .bubble.ac-message-focus{border:2px solid #c17aff!important;outline:2px solid #9a39f33b;outline-offset:4px;box-shadow:0 0 0 6px #9633ec18,0 0 24px #a64bff70!important;scroll-margin-top:130px}.ac-focus-banner{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:10px;padding:10px 13px;margin:2px 0 20px;border:1px solid #bc7ff1;border-radius:9px;background:#211336f5;color:#e4cafb;box-shadow:0 6px 20px #0005;font-size:11px;line-height:1.6}.ac-focus-banner>span{flex:1}.ac-focus-banner b{display:block;color:#f2dfff;font-size:12px}.ac-focus-banner button{font-size:10px;border-color:#a35dd080;flex-shrink:0}.ac-focus-banner button svg{width:15px;height:15px}
@media(min-width:1700px){#app .section.ac-section{padding:28px 30px}.ax-coach{font-size:14px}.ac-card{padding:19px}.ac-card h3{font-size:21px}.ac-skill{min-height:46px!important;font-size:12px!important}.ac-diagnostic{min-height:66px!important}.ac-diagnostic b{font-size:13px}.ac-diagnostic small{font-size:11px}.ac-kpi small{font-size:12px}.ac-kpi strong{font-size:29px}.ac-kpi{min-height:122px}.ac-summary h3{font-size:22px}.ac-summary p{font-size:12px}}
@media(max-width:1250px){.ac-page-head{align-items:flex-start}.ac-toolbar{max-width:53%}.ac-page-head h1{font-size:29px}.ac-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.ac-summary .ac-card{gap:8px;padding:12px}.ac-summary h3{font-size:17px}.ac-summary-icon{flex-basis:22px}.ac-summary-icon svg{width:22px;height:22px}.ac-two-columns{grid-template-columns:1fr}.ac-summary p{font-size:10px}.ac-card>footer{margin-top:12px}.ac-period-caption{font-size:9px}}
@media(max-width:700px){#app .section.ac-section{padding:19px 12px 25px}.ac-page-head{flex-direction:column;gap:14px}.ac-toolbar{max-width:100%;justify-content:flex-start;width:100%}.ac-toolbar select{flex:1;min-width:110px}.ac-toolbar .primary{flex:1}.ac-page-head h1{font-size:29px}.ac-page-head>div>p{font-size:16px}.ac-person{padding:12px;gap:11px}.ac-avatar{width:49px;height:49px;flex-basis:49px;font-size:25px}.ac-person h2{font-size:20px;gap:6px}.ac-person p{font-size:9px}.ac-person>.ac-text-button{font-size:9px}.ac-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ac-kpi{min-height:100px;padding:12px}.ac-kpi strong{font-size:23px}.ac-summary{grid-template-columns:1fr}.ac-summary .ac-card{padding:15px;min-height:90px}.ac-summary h3{font-size:19px}.ac-summary p{font-size:11px}.ac-summary-icon{flex-basis:28px}.ac-summary-icon svg{width:28px;height:28px}.ac-card{padding:13px}.ac-card h3{font-size:18px}.ac-skill{font-size:10px!important;padding:8px!important;gap:7px}.ac-skill>span{gap:7px}.ac-status{min-width:99px;font-size:8px}.ac-diagnostics>footer{flex-wrap:wrap}.ac-diagnostics>footer button{margin-left:auto}.ac-training-link{flex-wrap:wrap}.ac-review-criteria{grid-template-columns:1fr}.ac-form-row{flex-wrap:wrap}.ac-focus-banner{flex-wrap:wrap}.ac-focus-banner>span{flex:1 0 100%}.ac-excerpt-message{flex-wrap:wrap}.ac-excerpt-message>span{max-width:85%}.ac-period-caption{font-size:8px}.ac-goal progress{max-width:65px}}
@media(prefers-reduced-motion:reduce){.ax-coach *,.ac-dialog *{scroll-behavior:auto!important;transition:none!important}}
/* Ongoing pointages use Apex violet, finished pointages retain green. */
.ax-shift-calendar .ax-worked-shift.is-running{background:linear-gradient(135deg,#432074dd,#722bc0aa);border-color:#b56dff;color:#f3eaff;box-shadow:0 0 15px #a344f033}
.ax-shift-calendar .ax-worked-shift.is-running i{background:#c28aff;box-shadow:0 0 8px #b86aff;animation:acLivePulse 1.6s ease-in-out infinite}
@keyframes acLivePulse{50%{opacity:.45}}
@media(prefers-reduced-motion:reduce){.ax-shift-calendar .ax-worked-shift.is-running i{animation:none}}
.ac-memory-card{padding:16px;border:1px solid #64338a;border-radius:14px;margin:10px 0;background:#1b123288}.ac-memory-card p{white-space:pre-wrap}.ac-skills-editor fieldset{border:1px solid #47315c;border-radius:12px;padding:14px;margin:12px 0}.ac-dialog textarea{min-height:85px}.ac-memory-preview article{border-left:3px solid #ad55ee;padding:10px;margin:10px 0}.ac-inline-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}

#app .cx-profile-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
#ca-pane .ca-head{margin-bottom:16px}#ca-pane h4{font-size:15px;color:#eee7ff;margin:0 0 8px}#ca-pane .ca-head p{font-size:12px;color:#b8a9ce;line-height:1.55;margin:0 0 12px}#ca-pane button svg{width:15px;height:15px}#ca-pane .ca-head button{display:inline-flex;align-items:center;gap:7px;font-size:12px}#ca-pane [hidden]{display:none!important}
.ca-card,#ca-comment-form{border:1px solid #6e429061;border-radius:13px;background:linear-gradient(140deg,#251637b8,#111023c2);padding:13px;margin:0 0 14px;box-shadow:inset 0 1px 0 #d8b1ff09}
.ca-card header{display:flex;align-items:start;justify-content:space-between;gap:8px}.ca-card header b{font-size:12px;color:#cfacfb}.ca-card time{font-size:10px;line-height:1.5;color:#a79bbd;text-align:right}.ca-quote{border-left:2px solid #a65bed;margin:13px 0 11px;padding:9px 10px;background:#07061566;border-radius:0 8px 8px 0}.ca-quote small,.ca-muted{color:#b2a4c4;font-size:10px;line-height:1.5}.ca-quote blockquote,#ca-comment-form blockquote{margin:7px 0 9px;color:#e0d7ef;white-space:pre-wrap;overflow-wrap:anywhere;max-height:190px;overflow:auto;font-size:12px;line-height:1.6}#ca-pane .ca-jump{display:inline-flex;align-items:center;gap:5px;min-height:29px;font-size:11px;padding:5px 8px;border-color:#7949a6;background:#36204b66;color:#d9b8ff}.ca-comment{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:13px;color:#e7ddf5;margin:10px 0}.ca-card footer{display:flex;justify-content:flex-end;gap:8px;margin-top:13px}.ca-card footer button{display:inline-flex;align-items:center;gap:4px;font-size:11px;padding:5px 7px;min-height:29px;background:transparent;border-color:#5b416d;color:#bdaccf}
#ca-comment-form label{font-size:12px;color:#d3c3e8}#ca-comment-form textarea{width:100%;resize:vertical;min-height:125px;max-height:400px;border:1px solid #7a5195;background:#0b0919;color:#f2eaff;border-radius:9px;padding:10px;font-size:13px;line-height:1.6}.ca-form-actions{display:flex;gap:7px;margin-top:10px}.ca-form-actions button{font-size:12px}.ca-empty{font-size:12px;line-height:1.7;color:#a89abb;padding:16px 5px}#ca-form-error,#ca-remove-error{font-size:12px;color:#ffb6d1}#ca-load-status{color:#bda9d5;font-size:12px}
#app .bubble .ca-comment-message{display:flex;align-items:center;gap:4px;min-height:26px;padding:3px 6px;margin:8px 0 0 auto;border:1px solid #8d5faf55;border-radius:6px;background:#25133777;color:#d2b6ec;font-size:10px;opacity:0;transition:opacity .15s}#app .bubble .ca-comment-message svg{width:12px;height:12px}#app .bubble:hover .ca-comment-message,#app .bubble:focus-within .ca-comment-message,#app .ca-picking .ca-comment-message{opacity:1}
#app .bubble.ca-message-focus{outline:3px solid #b46bff;outline-offset:4px;box-shadow:0 0 24px #9e36ef66}#ca-focus-banner,.ca-picking-banner{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #a659e7;border-radius:11px;background:#1a0f2df2;color:#e7d9fa;font-size:12px;box-shadow:0 6px 18px #0005}#ca-focus-banner span{flex:1;min-width:0;overflow-wrap:anywhere}#ca-focus-banner b{display:block;color:#ce9eff;margin-bottom:4px}#ca-focus-banner button,.ca-picking-banner button{flex-shrink:0;font-size:11px;padding:6px 8px}#ca-focus-banner svg{width:14px;height:14px}.ca-picking-banner span{flex:1}
@media(hover:none),(max-width:700px){#app .bubble .ca-comment-message{opacity:1}#ca-comment-form textarea{font-size:16px}#ca-focus-banner{flex-wrap:wrap}#ca-focus-banner span{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){#app .bubble .ca-comment-message{transition:none}}
#ca-pane .ca-jump svg{transform:rotate(45deg)}
/* Keep the normal conversation layout unchanged; selection controls appear on demand. */
#app .bubble .ca-comment-message{display:none}
#app .messages.ca-picking .ca-comment-message{display:flex;opacity:1}

.agency-shell{max-width:1250px;margin:auto}
.agency-filters,.agency-buttons{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:12px 0}
.agency-filters label{margin:0}
.agency-filters input,.agency-filters select{width:auto}
.agency-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin:12px 0}
.agency-task{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:12px;margin:8px 0;border:1px solid #573d6f;border-radius:10px;background:#151020}
.agency-task small{display:block;margin-top:4px;color:#bdaacf}
.agency-task p,.agency-note{white-space:pre-wrap;overflow-wrap:anywhere}
.agency-form{display:grid;gap:8px}
.agency-check{display:flex;align-items:center;gap:8px}
.agency-check input{width:auto}
.agency-social-role .nav button[data-view],.agency-social-role .cx-group{display:none!important}
.media-card img[data-apex-preview]{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#0b0812}
.media-card img[data-apex-preview][hidden]{display:none}
.apex-preview-retry{width:100%;min-height:84px}
@media(max-width:700px){
  .agency-task{flex-direction:column}.agency-task button,.agency-buttons button{min-height:44px}
  .agency-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .agency-filters{align-items:stretch}.agency-filters label{min-width:0;flex:1}
  .agency-filters input{width:100%;min-width:0}
}
.agency-social-account{display:grid;gap:14px;margin-top:16px}
.agency-breadcrumb{color:#cdb0ff;overflow-wrap:anywhere}
.agency-social-panel,.agency-post-card{background:#131123;border:1px solid #8056ae;border-radius:12px;padding:16px;min-width:0}
.agency-social-panel h3{margin:0;overflow-wrap:anywhere}
.agency-social-panel summary,.agency-post-card summary{cursor:pointer;font-weight:700;overflow-wrap:anywhere}
.agency-post-card{margin-top:12px;background:#181529}
.agency-post-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:16px;align-items:start;margin-top:14px}
.agency-views-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.agency-views-table th,.agency-views-table td{padding:9px 7px;text-align:left;border-bottom:1px solid #523d72}
.agency-views-table th{background:#29203e;color:#eadcff}
.agency-view-gain{color:#86ed95;font-weight:700}
.agency-view-loss{color:#ffb6a9}
.agency-inline-reading label{display:grid;gap:5px}
.agency-inline-reading small{color:#cdb9de}
@media(max-width:700px){
  .agency-post-layout{grid-template-columns:minmax(0,1fr)}
  .agency-social-panel,.agency-post-card{padding:12px}
  .agency-post-layout button{min-height:44px;width:100%}
  .agency-views-table{font-size:.85rem}
}
.agency-reference{display:grid;gap:1.1rem;color:#f4efff}.agency-reference .agency-breadcrumb{display:flex;align-items:center;gap:.65rem}.agency-reference svg{width:1.25rem;height:1.25rem;vertical-align:middle}.agency-networks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid #77519e;border-radius:12px;overflow:hidden}.agency-networks button{border:0;border-radius:0;border-right:1px solid #544269}.agency-networks button:last-child{border:0}.agency-reference .agency-social-panel{border:1px solid #8254aa;border-radius:13px;background:linear-gradient(135deg,#191528ed,#101020e8)}.agency-account-notes summary{display:flex;align-items:center;gap:2rem}.agency-account-notes strong{font-size:1.35rem}.agency-account-notes summary span{border-left:1px solid #624983;padding-left:1.25rem}.agency-planning header{display:flex;justify-content:space-between;align-items:start;gap:.5rem;margin-bottom:.7rem}.agency-planning header strong{font-size:1.35rem}.agency-planning header p{margin:.25rem 0}.agency-planning header>span,.agency-plan-row time{border-radius:10px;background:#2c2244;padding:.35rem .65rem;white-space:nowrap}.agency-plan-row{display:grid;grid-template-columns:1.4rem auto minmax(0,1fr) auto;align-items:center;gap:1rem;padding:.45rem .55rem;border-bottom:1px solid #342946}.agency-plan-row.is-done{background:#16352b99}.agency-done{background:#20563a;color:#c3ffda;padding:.35rem .6rem;border-radius:10px}.agency-plan-row summary{cursor:pointer}.agency-plan-row .agency-task{display:block}
@media(max-width:650px){.agency-networks button{font-size:.68rem;padding:.4rem .1rem}.agency-account-notes summary{align-items:start;flex-direction:column;gap:.4rem}.agency-account-notes summary span{border:0;padding:0}.agency-plan-row{gap:.35rem;font-size:.78rem}.agency-plan-row button{padding:.35rem}.agency-plan-row time{padding:.2rem}.agency-planning header>span{font-size:.65rem}}

.apex-pwa-controls{padding:10px 12px;border-top:1px solid rgba(170,120,255,.18)}
.apex-pwa-controls button{width:100%;min-height:42px;border:1px solid rgba(170,120,255,.45);border-radius:9px;background:rgba(109,61,229,.16);color:inherit;font:inherit;cursor:pointer}
.apex-pwa-controls button:focus-visible{outline:2px solid #ba8cff;outline-offset:2px}
.apex-pwa-controls p{font-size:11px;line-height:1.4;opacity:.8;margin:6px 0 0;overflow-wrap:anywhere}

.apex-pwa-controls button+button{margin-top:6px}
html.apex-app-no-zoom,html.apex-app-no-zoom body{touch-action:pan-x pan-y}
@media(max-width:760px){html.apex-app-no-zoom input,html.apex-app-no-zoom textarea,html.apex-app-no-zoom select,html.apex-app-no-zoom [contenteditable="true"]{font-size:max(16px,1em)!important}}

/* Mobile application, aligned with the validated Apex screens. */
.mf-muted{color:#aaa0bc;font-size:13px}.mf-wide{width:100%;margin:12px 0;min-height:44px}.mf-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.mf-head small{font-size:10px;letter-spacing:1.8px;color:#ac89d4}.mf-head h2{font-size:25px;margin:5px 0}.mf-head svg{width:22px;height:22px}.mf-back{border:0;background:none;color:#ba91ed;padding:8px 0;margin:0 0 10px}.mf-two-fields,.mf-two-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mf-two-fields>[hidden]{display:none}.mf-action-list{display:grid;gap:10px}.mf-action-list>button,.mf-action-list>div{padding:16px;border:1px solid #403153;border-radius:15px;text-align:left;min-height:56px;background:#171125}.mf-action-list svg{width:22px;height:22px;vertical-align:middle;margin-right:8px}.mf-action-list small{display:block;color:#a99eb9;margin-top:5px}.mf-danger{color:#ff9fb3;border-color:#7f3551}.mf-switch{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #392c4a;font-size:14px}.mf-switch input[type=checkbox]{flex:none;width:23px;height:23px;margin:0;accent-color:#b141ff}.mf-page input,.mf-page select,.mf-page textarea{max-width:100%;box-sizing:border-box}.mf-notification-switches{margin-bottom:18px}.mf-phone-card{background:linear-gradient(130deg,#2b1744,#151024);border:1px solid #795095;border-radius:18px;padding:18px;margin:12px 0 20px}.mf-phone-card>svg{color:#c382ff;width:28px;height:28px}.mf-phone-card h3{font-size:17px;margin:10px 0}.mf-phone-card p{font-size:13px;color:#c8bdd6}.mf-filter-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mf-filter-options button{min-height:46px}.mf-filter-options .active{border-color:#c080ff;background:#59268a}.mf-role-list{display:grid;gap:11px}.mf-role-list>button{display:flex;justify-content:space-between;align-items:center;padding:18px 14px;min-height:76px;border-radius:16px;background:linear-gradient(130deg,#211530,#100c20);border-color:#4e386b;text-align:left}.mf-role-list>button>span{display:flex;align-items:center;gap:12px}.mf-role-list svg{width:27px;height:27px;color:#c185ff}.mf-role-list b{font-size:15px}.mf-role-list small{font-size:11px;color:#b4a7c2}.mf-role-members>button{display:flex;width:100%;align-items:center;gap:12px;text-align:left;margin:10px 0;padding:13px;border-radius:14px}.mf-role-members>button>span:nth-child(2){flex:1;display:grid;gap:5px}.mf-role-members small{font-size:11px;color:#a99eb9}.mf-right-header,.mf-right-row{display:grid;grid-template-columns:1fr 45px 61px;align-items:center;gap:6px}.mf-right-header small{font-size:10px;text-align:center;color:#bfb0ce}.mf-right-row{font-size:13px;padding:11px 0;border-bottom:1px solid #33263f}.mf-right-row input{width:22px!important;height:22px;justify-self:center;accent-color:#b145ff}.mf-right-row input:disabled{opacity:.4}.mf-stat-detail{border:1px solid #4a365e;border-radius:13px;padding:13px;margin:13px 0}.mf-stat-detail>summary{font-weight:600;cursor:pointer}.mf-stat-detail .ws-panel{padding:10px 0;border:0;background:none}.mf-stat-detail .ws-panel>h3{display:none}.mf-shift-key{display:flex;justify-content:space-between;color:#aaa0b9;font-size:10px;margin:13px 0}.mf-shift-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:3px 7px;font-size:10px}.mf-shift-table th,.mf-shift-table td{padding:0;border:0;overflow:hidden;text-align:center}.mf-shift-table thead th{font-size:10px;color:#c5b8d3;padding:7px 0}.mf-shift-table thead th:first-child,.mf-shift-table tbody th{width:70px;text-align:left}.mf-shift-table th span,.mf-shift-table th b,.mf-shift-table th small{display:block}.mf-shift-table tbody th b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.mf-shift-table tbody th small{font-size:9px;color:#a89bb9;margin-top:6px}.mf-shift-table .today{background:#b344fb0e;border-radius:8px}.mf-shift-value{font-variant-numeric:tabular-nums;display:block;width:100%;padding:10px 0!important;min-height:42px!important;font-size:10px!important;border-radius:8px!important;border:1px solid #43364f!important;white-space:nowrap}.mf-shift-value.done{color:#a0ecc7;background:#153c31;border-color:#32835f!important}.mf-shift-value.running{color:#f4dcff;background:#512478;border-color:#bc6bfc!important}.mf-shift-value.empty{color:#94899e;background:#201a29}.mf-shift-value.future{color:#655e70;background:transparent;border-color:transparent!important}.mf-shift-detail{text-align:center}.mf-shift-detail>strong{font-size:36px}.mf-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:22px}.mf-setting-tile{aspect-ratio:1;padding:12px 5px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;border-radius:18px!important;border:1px solid #553771!important;background:linear-gradient(135deg,#2b1a3f,#151022)!important;text-align:center;box-shadow:inset 0 1px 0 #a36fcb18}.mf-setting-tile svg{width:29px;height:29px;color:#c98cfb}.mf-setting-tile b{font-size:11px;line-height:1.35;font-weight:600}.mf-room-bar{display:flex;overflow-x:auto;gap:15px;scroll-snap-type:x proximity;scrollbar-width:none;padding:7px 1px 17px;-webkit-overflow-scrolling:touch}.mf-room-bar::-webkit-scrollbar{display:none}.mf-room{flex:0 0 65px;scroll-snap-align:start;border:0;background:none!important;padding:0!important;min-width:0!important;text-align:center}.mf-room-avatar{display:flex;position:relative;margin:auto;width:52px;height:52px;align-items:center;justify-content:center;border:1px solid #6b557c;border-radius:50%;background:#282032;font-size:23px}.mf-room.selected .mf-room-avatar{background:linear-gradient(145deg,#a32beb,#6124a2);border:2px solid #d5a4ff;box-shadow:0 0 12px #8c2dda55}.mf-room-avatar>i{position:absolute;bottom:0;right:1px;width:10px;height:10px;border-radius:50%;background:#33d49a;border:2px solid #0c081b}.mf-room-avatar>em{position:absolute;top:-6px;right:-8px;font-size:9px;padding:3px 5px;background:#e9518e;border-radius:10px;font-style:normal}.mf-room>b{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px;margin-top:8px;max-width:65px}.mf-vote{display:inline-flex;gap:7px;align-items:center;padding:6px 12px;border-radius:20px}.mf-vote.chosen{background:#61258b;border-color:#c980ff}.mf-vote b{font-size:12px}.mf-social-phones,.mf-social-platforms{display:flex;gap:8px;overflow-x:auto;padding:4px 0 10px;scrollbar-width:none}.mf-social-phones>button{flex:none;display:flex;align-items:center;gap:5px;font-size:13px}.mf-social-phones svg{width:17px;height:17px}.mf-social-platforms>button{flex:none;font-size:12px;padding:10px}.mf-social .active{border-color:#c37afd;background:linear-gradient(140deg,#b12cf9,#7821db);color:white}.mf-account-head{display:flex;justify-content:space-between;align-items:center;margin:8px 0 16px}.mf-account-head small{font-size:11px;color:#b4a1c8}.mf-account-head h3{font-size:23px;margin:7px 0}.mf-account-head button>svg{width:19px;height:19px}.mf-account-note{padding:10px 12px;border-radius:12px;background:#261932;color:#cabbd8;font-size:13px}.mf-task-section{border:1px solid #684383;border-radius:17px;overflow:hidden;margin:15px 0;background:#151021dc}.mf-task-section>header{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;border-bottom:1px solid #43304f}.mf-task-section>header h3{display:flex;align-items:center;gap:8px;font-size:18px;margin:0}.mf-task-section>header h3 svg{width:22px;height:22px;color:#be79ef}.mf-task-section>header small{color:#a99bb9}.mf-task{padding:14px;border-bottom:1px solid #392a47}.mf-task:last-child{border-bottom:0}.mf-task.done .mf-task-heading>b{color:#9bdfbd}.mf-task-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}.mf-task-heading>b{font-size:14px}.mf-task-heading>small{font-size:10px;flex:none;background:#30203e;color:#dbc2ee;border-radius:15px;padding:5px 9px}.mf-task p{font-size:13px;line-height:1.55;color:#c1b3d0;white-space:pre-wrap}.mf-task-actions{display:flex;gap:7px;margin:12px 0}.mf-task-actions button{font-size:11px;min-height:38px;padding:8px 11px}.mf-task details{font-size:11px;color:#b4a7c4}.mf-task details>summary{padding:7px 0}.mf-task details .mf-switch{font-size:12px}.mf-task-history{margin:9px 0;border-left:2px solid #6b408b;padding-left:9px}.mf-task-history p{font-size:10px}.mf-realization-list{display:grid;gap:7px;margin:9px 0}.mf-realization-list>span{display:flex;align-items:center;gap:8px;font-size:11px}.mf-realization-list em{font-size:10px;font-style:normal;padding:4px 7px;border-radius:9px}.mf-realization-list .full{background:#194834;color:#a5ebca}.mf-realization-list .work{background:#553b1a;color:#f0cb8f}.mf-quality{display:flex;align-items:center;gap:10px;padding:12px;border-radius:12px;border:1px solid #5b416d;margin:8px 0;font-size:13px}.mf-quality input{width:20px;margin:0;accent-color:#ba53ff}.mf-week-choices{display:flex;justify-content:space-between;gap:5px}.mf-week-choices label{display:flex;align-items:center;flex-direction:column;gap:6px;font-size:12px}.mf-week-choices input{width:20px;height:20px;accent-color:#b546fb}.mf-media-choices{max-height:280px;overflow:auto;display:grid;gap:8px}.mf-media-choices>label{display:flex;align-items:center;gap:10px;font-size:12px}.mf-media-choices input{width:20px;height:20px;margin:0}.mf-bundle-pick{display:flex;align-items:center;gap:8px;padding:10px;font-size:11px}.mf-bundle-pick input{width:19px;height:19px;margin:0}.mf-review-log{display:grid;gap:9px;max-height:58vh;overflow:auto}.mf-review-message{display:flex;align-items:flex-start;gap:10px;border:1px solid #463153;border-radius:12px;padding:12px;background:#1d132a}.mf-review-message.in{background:#111021}.mf-review-message input{width:20px;height:20px;flex:none}.mf-review-message>span{font-size:13px;white-space:pre-wrap}.mf-review-message small{display:block;color:#a393b4;font-size:10px;margin-top:7px}
@media(max-width:700px){
 :root{--mf-pad:16px}html,body{overflow-x:hidden}button,input,select,textarea{font:inherit}button{touch-action:manipulation}input,select,textarea{font-size:16px}
 .cx-mobile-header{height:68px!important;min-height:68px!important;padding:7px 16px!important;box-sizing:border-box;background:#0d091c!important;z-index:40}.cx-mobile-header .ax-mobile-brand{max-width:160px!important}.cx-mobile-header .ax-mobile-logo{max-height:54px;width:150px}.cx-mobile-header>.cx-icon{width:36px;height:40px}.layout{padding-top:0!important}.section{padding:20px 16px 34px!important;width:100%;min-width:0;box-sizing:border-box}.section h2{font-size:25px}.section .ws-pagehead{gap:12px;margin-bottom:15px}.section .ws-title>svg{width:36px;height:36px;padding:7px;box-sizing:content-box;border-radius:12px}.section .ws-title h2{font-size:24px;margin:0}.section .ws-title p{font-size:11px;margin-top:8px}.section .ws-topfilters{gap:8px;flex-wrap:wrap}.section .ws-topfilters button,.section .ws-topfilters input,.section .ws-topfilters select{font-size:12px;padding:10px;min-height:39px;max-width:100%}.ws-panel{padding:15px!important;border-radius:16px!important}.ws-tabs{gap:0}.ws-tabs button{padding:12px 10px;font-size:12px;white-space:nowrap}.overlay{padding:12px 8px;box-sizing:border-box}.modal{max-height:calc(100dvh - 28px)!important;width:100%;max-width:460px!important;border-radius:20px!important;padding:20px!important;box-sizing:border-box;overflow:auto}.modal h2{font-size:21px}.modal label{font-size:13px}.modal input,.modal select,.modal textarea{box-sizing:border-box;max-width:100%;border-radius:11px}.modal fieldset{border:1px solid #4a345e;border-radius:13px;padding:12px}.modal legend{font-size:12px;color:#bda7d0}.modal .mf-switch{font-size:12px}
 #list .cx-account{display:flex;align-items:center;gap:10px;padding:13px 14px!important;min-height:70px!important;box-sizing:border-box}#list .cx-account>.cx-avatar{width:42px!important;height:42px!important;flex:none}#list .cx-account>div:not(.mf-conversation-count){min-width:0;flex:0 1 auto}#list .cx-account b{font-size:14px}#list .cx-account .ws-clock,.cx-account #ws-clock-button,.cx-account .ws-clock-button{font-size:10px!important;min-height:40px!important;padding:9px 11px!important;margin-left:auto!important}.mf-conversation-count{display:grid;gap:4px;flex:1;min-width:0;white-space:nowrap;order:1}.mf-conversation-count b{font-size:11px!important}.mf-conversation-count small{font-size:9px;color:#b9a9ca}.cx-account #ws-clock{order:2;flex:0 0 auto!important;margin-left:auto}.cx-account button{order:2}.cx-account .cx-statusdot{width:7px;height:7px}.cx-account .ax-new-conversations-today,#ax-new-conversations-today{display:none!important}#list .searchbox>.cx-search,#list .cx-inboxtools,#list #client-filters{display:none!important}#list .searchbox{padding:12px 14px!important}.mf-inbox-tools{display:flex;align-items:center;gap:9px}.mf-inbox-tools>button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;font-size:12px;padding:8px 12px}.mf-inbox-tools svg{width:17px;height:17px}.mf-inbox-tools .mf-search-icon{margin-left:auto;width:40px;padding:0}.mf-pin-label{display:block;margin:16px 0 7px;color:#9b83b6;font-size:9px;letter-spacing:1.5px}.searchbox #cx-open-tabs{display:flex!important;position:static!important;overflow-x:auto!important;flex-wrap:nowrap!important;max-width:100%;width:100%;padding:0 0 5px;gap:7px;scroll-snap-type:x proximity;scrollbar-width:none;min-height:44px;box-sizing:border-box}.searchbox .cx-pinned-tab{flex:0 0 132px;min-width:132px;max-width:132px;scroll-snap-align:start;border-radius:12px}.searchbox .cx-pinned-tab>button:first-child{font-size:11px;min-width:0;padding:9px 10px;overflow:hidden}.searchbox .cx-pinned-tab>button:first-child span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.searchbox .cx-unpin{width:28px;min-width:28px}.searchbox .cx-open-empty{font-size:11px;padding:9px 0}.ax-conversation-top{display:none!important}#contacts .contact{padding:13px 14px;gap:12px;min-height:85px}#contacts .contact .cx-avatar{width:44px;height:44px;font-size:21px}#contacts .contact b{font-size:15px}#contacts .contact p{font-size:12px;margin-top:6px}#contacts .contact time{font-size:10px}
 .tc-page{padding-top:17px!important}.mf-team-conversation{border:1px solid #4b335e;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;min-height:calc(100dvh - 266px);height:calc(100dvh - 266px);background:#100b20c9}.mf-team-conversation>header{padding:12px 14px;gap:10px;border-bottom:1px solid #392844;display:flex}.mf-team-conversation>header .tc-avatar{width:35px;height:35px;font-size:18px;flex:none}.mf-team-conversation>header h2{font-size:15px!important;margin:0}.mf-team-conversation>header small{font-size:10px}.mf-team-conversation #tc-feed{flex:1;min-height:100px;overflow-y:auto;padding:13px 10px}.mf-team-conversation>.tc-feed .tc-message{gap:8px;margin:10px 0}.mf-team-conversation .tc-message>.tc-avatar{width:26px;height:26px;font-size:12px}.mf-team-conversation .tc-message>div{max-width:calc(100% - 34px)}.mf-team-conversation .tc-message header b{font-size:11px}.mf-team-conversation .tc-message header span{display:none}.mf-team-conversation .tc-message header time{font-size:9px}.mf-team-conversation .tc-message p{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.mf-team-conversation .tc-message footer{gap:6px;display:flex;align-items:center;flex-wrap:wrap}.mf-team-conversation .tc-message footer button{font-size:10px;padding:5px 8px}.mf-team-conversation>footer{padding:12px;border-top:1px solid #443052;background:#100b1e;flex:none}.mf-team-conversation textarea{width:100%;height:62px!important;min-height:62px!important;box-sizing:border-box;font-size:14px;padding:12px}.mf-team-conversation .tc-composer-actions{display:flex;gap:6px;align-items:center;margin-top:8px}.mf-team-conversation .tc-composer-actions>.tc-tool{width:31px;padding:6px;min-width:0}.mf-team-conversation .tc-composer-actions svg{width:19px;height:19px}.mf-team-conversation #tc-send{font-size:12px;margin-left:auto;padding:9px 13px}.mf-team-conversation #tc-send-state{font-size:10px;color:#f2a9bb;flex:1}.mf-team-conversation .tc-date{font-size:9px}.mf-team-conversation .tc-sale{font-size:13px;padding:14px}
 .rw-page h2{font-size:25px!important;margin:0 0 20px}.rw-tabs{gap:0}.rw-tabs button{font-size:12px!important;padding:12px 10px!important;flex:1;white-space:normal}.rw-entry{border-radius:14px!important;margin:10px 0!important;padding:0!important}.rw-entry>summary{font-size:12px!important;padding:13px 12px!important;min-height:57px;box-sizing:border-box;gap:8px!important;display:flex;align-items:center}.rw-entry-icon{width:28px!important;height:28px!important;padding:6px!important;border-radius:9px!important;flex:none}.rw-entry-icon svg{width:17px;height:17px}.rw-entry summary>small{font-size:9px!important;padding:5px 7px!important;margin-left:auto}.rw-entry-body{padding:0 13px 14px!important}.rw-field{margin:10px 0!important}.rw-field strong{font-size:11px!important}.rw-field p{font-size:12px!important;padding:9px!important;min-height:0!important;overflow-wrap:anywhere}.rw-entry-body .agency-buttons{display:flex;gap:6px}.rw-entry-body button{font-size:11px!important;padding:9px 10px!important}.rw-entry-body details>summary{font-size:11px;padding:10px 0}
 .mf-original-stats-filters{display:none!important}.mf-stats-filter-button{min-height:39px;font-size:12px;display:flex;align-items:center;gap:6px}.mf-stats-filter-button svg{width:16px;height:16px}.mf-stats-page .ws-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.mf-stats-page .ws-cards>.ws-card{padding:13px!important;min-height:115px!important;border-radius:14px}.mf-stats-page .ws-card>small{font-size:9px;line-height:1.4;letter-spacing:.7px}.mf-stats-page .ws-card>strong{font-size:26px!important;margin:10px 0}.mf-stats-page .ws-card>p{font-size:10px!important}.mf-stats-page .ws-cards>.ws-card:first-child{grid-column:1/-1;min-height:105px!important;background:linear-gradient(120deg,#40215b,#20112c)}.mf-stats-page .ws-cards>.ws-card:first-child>strong{font-size:34px!important}.mf-stats-page #rw-stat-button{font-size:11px;padding:9px 12px;margin:8px 0 14px}.mf-stats-page .ws-charts{display:block}.mf-stats-page .ws-pills{font-size:10px;gap:5px}.mf-stats-page .ws-tablefilters{display:flex;flex-wrap:wrap;gap:7px}.mf-stats-page .ws-tablefilters>*{font-size:11px;max-width:100%}.ws-table-wrap{overflow-x:auto;max-width:100%}.mf-stats-page #ws-stats-tabs{display:flex;overflow:visible}
 .agency-header h2{font-size:24px!important}.agency-header .agency-controls{display:flex;gap:7px;flex-wrap:wrap}.agency-header select,.agency-header input,.agency-header button{font-size:12px;max-width:100%;padding:9px}.mf-social .agency-post-card,.mf-social .agency-social-panel{padding:13px;border-radius:14px}.mf-social .agency-social-panel>summary{font-size:13px}.mf-social .agency-views-table{font-size:11px}.mf-social .agency-views-table th,.mf-social .agency-views-table td{padding:8px}.lf-profile-header{display:block!important}.lf-profile-header .lf-person-card{padding:14px;margin-bottom:11px}.lf-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.lf-kpi{padding:14px!important;min-height:110px!important}.lf-kpi strong{font-size:28px!important}.lf-kpi small{font-size:10px!important}.lf-kpi span{font-size:10px!important}.lf-kpi i{display:none}.lf-overview{display:block!important}.lf-person-card h2{font-size:20px}.lf-person-card small,.lf-person-card p{font-size:11px}.lf-profile-tabs{overflow-x:auto;flex-wrap:nowrap}.lf-profile-tabs button{font-size:11px;padding:11px 9px}.lf-period-controls{display:flex;gap:8px;flex-wrap:wrap}.lf-period-controls input,.lf-period-controls select{font-size:12px;padding:9px;max-width:100%}
}
@media(max-width:370px){.section{padding-left:12px!important;padding-right:12px!important}.mf-shift-table thead th:first-child,.mf-shift-table tbody th{width:58px}.mf-shift-value{font-size:9px!important}.mf-settings-grid{gap:8px}.mf-setting-tile b{font-size:10px}.mf-conversation-count b{font-size:10px!important}.mf-conversation-count small{font-size:8px}.mf-room-bar{gap:12px}}

@media(max-width:700px){#list .cx-account{position:relative;display:grid!important;grid-template-columns:38px minmax(40px,1fr) 87px 110px;gap:8px}#list .cx-account>.cx-avatar{width:38px!important;height:38px!important}#list .cx-account>div:not(.mf-conversation-count):not(#ws-clock){overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#list .cx-account>div:not(.mf-conversation-count):not(#ws-clock) b{font-size:12px;white-space:nowrap}#list .cx-account .cx-statusdot{position:absolute;left:43px;top:47px}.mf-conversation-count{max-width:87px}#list .cx-account .ws-clock-button{width:110px;max-width:110px;white-space:normal;line-height:1.25;font-size:10px!important;padding:7px!important}#list .cx-account .ws-clock-button svg{flex:none;width:15px;height:15px}.mf-room b{white-space:normal;line-height:1.2;min-height:27px}.mf-team-conversation{height:calc(100dvh - 289px);min-height:calc(100dvh - 289px)}}

@media(max-width:700px){.mf-original-social-filters{display:none!important}.mf-social-period{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 0}.mf-social-period small{font-size:12px;color:#baa9ca}.mf-social-period button{display:flex;align-items:center;gap:6px;font-size:12px;min-height:38px}.mf-social-period svg{width:16px;height:16px}.agency-shell>h2{font-size:24px;line-height:1.2;margin:2px 0 18px}.mf-team-conversation footer button{flex-shrink:0}.mf-shift-key span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px;background:#3cb98c}.mf-shift-key span:nth-child(2):before{background:#b94cf3}.mf-shift-key span:nth-child(3):before{display:none}}

.mf-responsible-shifts p{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #392844}.mf-responsible .ac-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mf-responsible .mf-review-kpi{min-width:0;padding:18px;border:1px solid #49325f;border-radius:16px;background:#1a1127}.mf-responsible .mf-review-kpi small{display:block;font-size:12px;color:#c4a5df}.mf-responsible .mf-review-kpi strong{display:block;font-size:32px;margin:12px 0}.mf-responsible .mf-review-kpi span{font-size:11px;color:#a695b6}

@media(max-width:700px){#list .cx-account .mf-conversation-count b{font-size:10px!important;line-height:1.2;white-space:nowrap}#list .cx-account .mf-conversation-count small{font-size:9px!important;white-space:normal;line-height:1.2}.mf-stats-page #rw-stat-button{display:none}.mf-stats-page .ws-pagehead{margin-bottom:14px}.mf-stats-page .ws-tabs{margin-bottom:18px}.mf-stats-page .ws-cards>.ws-card{min-height:90px!important;padding:11px!important}.mf-stats-page .ws-cards>.ws-card strong{font-size:24px!important;line-height:1.15;margin:10px 0 5px}.mf-stats-page .ws-cards>.ws-card:first-child strong{font-size:31px!important}.mf-stats-page .ws-cards>.ws-card small{font-size:9px!important;letter-spacing:.6px}.mf-stats-page .ws-cards>.ws-card p{font-size:10px!important;line-height:1.3;margin:3px 0 0}.mf-stats-page .ws-cards{gap:8px!important}}

@media(max-width:370px){#list .cx-account{grid-template-columns:32px minmax(36px,1fr) 72px 95px;gap:6px;padding:10px 12px!important}#list .cx-account>.cx-avatar{width:32px!important;height:32px!important}#list .cx-account .ws-clock-button{width:95px;max-width:95px;font-size:9px!important}.mf-conversation-count{max-width:72px}#list .cx-account .mf-conversation-count b{font-size:9px!important}#list .cx-account .mf-conversation-count small{font-size:8px!important}#list .cx-account .cx-statusdot{left:36px;top:38px}}

/* Compact layout and independent page rights, 4.35. */
#apex-pwa-controls[hidden]{display:none!important}
#r35-push-device #apex-pwa-controls{display:grid;gap:9px;margin:12px 0}
#r35-push-device #apex-pwa-controls button{min-height:44px}
.r35-data-scope{display:grid;gap:8px;margin:10px 0 20px;font-size:13px}
.r35-data-scope select{width:100%}
.mf-right-row input{cursor:pointer}
.r35-bell{width:min(620px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px);box-sizing:border-box;padding:14px!important}
.r35-bell>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.r35-bell>header h2{font-size:20px;margin:0}
.r35-bell>header button{width:36px;height:36px;padding:6px}
.r35-bell svg{width:20px;height:20px}
.r35-bell-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.r35-bell-column{min-width:0}
.r35-bell-column h3{display:flex;justify-content:space-between;gap:4px;font-size:12px;margin:0 0 10px;padding:10px 7px;border-radius:9px;background:#322043}
.r35-bell-column>div{max-height:60dvh;overflow-y:auto;overscroll-behavior:contain}
.r35-bell-column h3 small{font-size:10px}
.r35-bell-item{display:grid;gap:5px;text-align:left;width:100%;padding:10px 8px;margin-bottom:8px;min-width:0;border-radius:12px;border:1px solid #4c315f;background:#1c122c;box-sizing:border-box}
.r35-bell-item>*{overflow-wrap:anywhere}
.r35-bell-item b{font-size:12px}
.r35-bell-item strong{font-size:15px;color:#91e1bb}
.r35-bell-item span,.r35-bell-item time{font-size:10px;color:#bca8d2}
.r35-bell-item.read{opacity:.6}
.r35-bell-item.unread{border-left:3px solid #ac41f5}
.r35-bell .mf-wide{font-size:12px;margin-bottom:0}
.mf-account-head h3 a{color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:8px}
.mf-account-head h3 a:hover{text-decoration:underline}
.mf-account-head h3 a svg{width:16px;height:16px;color:#c18de8;flex:none}
.agency-shell>h2>svg{width:25px;height:25px;vertical-align:middle;margin-right:10px;color:#be7cec}
.r35-read-only .compose-v4{display:none!important}
#r35-read-only{font-size:10px;line-height:1.2;color:#c69ae8}
.mf-right-row{display:grid;align-items:center}
.r35-shift-group th{padding:15px 8px 8px!important;text-align:left!important;background:#281a39!important;color:#d8b3f2!important;font-size:12px!important;letter-spacing:.2px}
@media(max-width:700px){
 #app[data-mobile=chat]{grid-template-rows:68px minmax(0,1fr)!important}
 #app[data-mobile=chat] .chat{grid-row:2!important;margin-top:0!important;border-top:0!important}
 #app[data-mobile=chat]>.ax-conversation-top{display:none!important}
 #app[data-mobile=chat] .chat>.head{min-height:52px!important;height:52px!important;padding:4px 8px!important;gap:7px!important;box-sizing:border-box}
 #app[data-mobile=chat] .chat>.head .cx-avatar{width:30px;height:30px;min-width:30px}
 #app[data-mobile=chat] .chat>.head button{min-height:40px;height:40px;min-width:34px;width:34px;padding:7px}
 #app[data-mobile=chat] .chat>.head .cx-chatidentity{min-width:0;flex:1}
 #app[data-mobile=chat] .chat>.head .cx-name-line b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #app[data-mobile=chat] .chat>.head .cx-headtools{gap:2px}
 #app[data-mobile=chat] .chat>.head svg{width:19px;height:19px}
 #app[data-mobile=chat] .chat>.head .cx-chatidentity small{font-size:9px;line-height:1.2}
 #list .cx-account .mf-conversation-count{text-align:center;justify-items:center;align-self:center;gap:3px}
 #list .cx-account .mf-conversation-count b,#list .cx-account .mf-conversation-count small{width:100%;text-align:center}
 #list .searchbox .cx-pinned-tab{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) 30px!important;align-items:center;overflow:hidden!important;border-radius:10px!important;height:42px!important;min-height:42px!important;gap:0}
 #list .searchbox .cx-pinned-tab>button:first-child{position:static!important;display:block;min-width:0;width:100%;height:40px;padding:6px 8px!important;box-sizing:border-box}
 #list .searchbox .cx-pinned-tab>.cx-unpin{position:static!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;margin:0!important;min-width:30px!important;width:30px!important;max-width:30px!important;height:40px;padding:7px!important;border:0;background:transparent}
 #list .searchbox .cx-pinned-tab>.cx-unpin svg{width:16px;height:16px}
 #section.r35-team{display:flex!important;flex-direction:column;height:calc(100dvh - 68px);box-sizing:border-box;padding:5px 10px 8px!important;overflow:hidden}
 #section.r35-team.hidden{display:none!important}
 .r35-team-top{display:flex;align-items:center;gap:9px;flex:none;min-height:65px;max-height:72px;margin:0 0 5px}
 .r35-team-top h2{font-size:16px;line-height:1.15;min-width:43px;margin:0}
 .r35-team-top .mf-room-bar{flex:1;min-width:0;margin:0!important;padding:4px 0 0!important;gap:9px}
 .r35-team-top .mf-room{width:48px;min-width:48px;padding:0;gap:2px}
 .r35-team-top .mf-room-avatar{width:36px;height:36px;font-size:16px;border-width:2px}
 .r35-team-top .mf-room-avatar svg{width:19px;height:19px}
 .r35-team-top .mf-room b{font-size:9px!important;min-height:18px;max-height:18px;overflow:hidden;white-space:nowrap}
 .r35-team .mf-team-conversation{flex:1;min-height:0!important;height:auto!important;border-radius:13px}
 .r35-team .mf-team-conversation>header{min-height:38px;max-height:42px;box-sizing:border-box;padding:5px 9px;gap:7px}
 .r35-team .mf-team-conversation>header .tc-avatar{width:25px;height:25px;font-size:16px}
 .r35-team .mf-team-conversation>header svg{width:16px;height:16px}
 .r35-team .mf-team-conversation>header h2{font-size:13px!important;margin:0}
 .r35-team .tc-feed{flex:1;min-height:0;padding:10px!important;overflow-y:auto}
 .r35-team .mf-team-conversation>footer{padding:7px!important;flex:none}
 .r35-team #tc-draft{min-height:39px!important;height:43px!important;padding:9px!important;font-size:14px;line-height:1.3}
 .r35-team .tc-composer-actions{gap:6px;margin-top:5px}
 .r35-team .tc-composer-actions button{min-height:38px;height:38px;padding:7px 9px}
 .r35-team .tc-composer-actions .tc-tool{width:36px;min-width:36px;padding:7px}
 .r35-team .tc-composer-actions svg{width:20px;height:20px}
 .r35-bell{position:fixed!important;top:70px!important;right:12px!important;left:auto!important}
}
@media(max-width:700px){
 #app{grid-template-rows:68px minmax(0,1fr)!important}
 .r35-team-read-only .mf-team-conversation>footer{display:none!important}
}

.tc-composer-actions .tc-gif-tool{font-weight:800;font-size:11px;letter-spacing:.02em;min-width:38px}
.tc-gif-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;max-height:45vh;overflow-y:auto}
.tc-gif-grid>p{grid-column:1/-1;color:#b9adc9;font-size:13px}
.tc-gif-grid button{min-width:0;padding:4px;border:1px solid #594071;border-radius:10px;background:#171022;overflow:hidden}
.tc-gif-grid img{display:block;width:100%;height:90px;object-fit:contain}
.tc-gif-grid small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;padding:4px}
.tc-gif-message{position:relative;display:inline-block;max-width:100%}
.tc-gif-label{position:absolute;right:7px;top:7px;background:#1c102dcc;color:#fff;border:1px solid #a779da;border-radius:4px;font-size:9px;font-weight:800;padding:2px 4px;pointer-events:none}
.tc-voice-message,.tc-voice-preview{display:grid;gap:6px;max-width:100%;min-width:0}
.tc-voice-message small,.tc-voice-preview small{display:flex;align-items:center;gap:5px;color:#d8bffa;font-size:11px}
.tc-voice-message small svg{width:15px;height:15px}
.tc-voice-message audio,.tc-voice-preview audio{display:block;width:100%;min-width:0;max-width:290px;height:40px}
.tc-voice-message a{font-size:10px;color:#c9a3f0}
.tc-voice-preview{padding:6px 8px;border:1px solid #604077;border-radius:9px;margin-bottom:5px;background:#20142e}
.tc-recording{display:flex;align-items:center;gap:8px;padding:5px 8px;border:1px solid #9d456b;border-radius:9px;background:#2e1226;margin-bottom:5px}
.tc-recording strong{flex:1;font-variant-numeric:tabular-nums;font-size:12px}
.tc-recording button{min-height:40px;padding:5px 10px}
.tc-record-light{width:8px;height:8px;border-radius:50%;background:#ff5b96;box-shadow:0 0 8px #ff5b9680}
.tc-tool.recording{color:#ff84ad!important;border-color:#b54474!important}
#app #section.tc-page #tc-draft-extras{max-height:min(35dvh,240px);overflow-y:auto;overscroll-behavior:contain}
@media(max-width:700px){
 .tc-composer-actions{gap:3px!important;flex-wrap:wrap}
 #app #section .tc-composer-actions .tc-tool{width:38px!important;min-width:38px!important;max-width:38px!important;height:44px!important;min-height:44px!important;padding:8px!important;flex-shrink:0}
 .tc-composer-actions .tc-tool svg{width:19px;height:19px}
 .tc-composer-actions #tc-send{min-height:44px;margin-left:auto;padding:8px 10px}
 .tc-composer-actions #tc-send-state:empty{display:none}
 .tc-gif-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:360px){
 #app #section .tc-composer-actions #tc-send{width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;font-size:0!important;gap:0!important;padding:10px!important;justify-content:center}
 #app #section .tc-composer-actions #tc-send svg{width:20px;height:20px}
}
/* Chosen style 2: one glowing lower edge per pinned card, with gaps. */
[data-apex-pin-style] #cx-open-tabs .cx-pinned-tab{position:relative;border-color:#68458a!important}
[data-apex-pin-style="under"] #cx-open-tabs{padding-bottom:6px!important}
[data-apex-pin-style="under"] #cx-open-tabs .cx-pinned-tab{box-shadow:0 5px 8px -5px #c367ff!important}
[data-apex-pin-style="under"] #cx-open-tabs .cx-pinned-tab::after{content:"";position:absolute;pointer-events:none;bottom:0;left:0;right:0;height:2px;border-radius:0 0 9px 9px;background:#cf8aff;box-shadow:0 0 5px #c367ff,0 -1px 8px #ad40ffa6}

/* Use the actual 4.36 Apex palette; no substitute violet or global recoloring. */
.df-layer{position:fixed;inset:0 0 var(--df-bottom,0px);z-index:1700;display:flex;align-items:flex-end;justify-content:center;isolation:isolate}
.df-shade{position:absolute;inset:0;background:rgba(0,0,0,.18);z-index:-1}
.df-panel{width:100%;max-height:calc(var(--df-height,100dvh) - var(--df-bottom,0px) - 110px);overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:26px 26px 0 0;background:var(--panel);box-shadow:0 -8px 40px #0004;padding:8px 22px 20px;color:var(--text)}
.df-handle{height:4px;width:42px;background:var(--muted);opacity:.65;border-radius:8px;margin:0 auto 9px}
.df-panel header,.df-picker-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.df-panel h2,.df-picker-panel h2{font-size:23px;margin:0;font-weight:750}
.df-panel header button,.df-picker-panel header button{height:40px;width:40px;border:0;background:none;padding:8px;display:grid;place-items:center;color:inherit}
.df-panel svg,.df-picker-panel svg{width:24px;height:24px;stroke:currentColor;fill:none}
.df-panel fieldset{border:0;padding:0;margin:0 0 14px;min-width:0}
.df-panel legend,.df-panel label:not(.cx-sr){display:block;color:var(--muted);font-size:14px;font-weight:600;margin-bottom:5px;padding:0}
.df-panel input,.df-panel select,.df-panel textarea{border:1px solid var(--line);border-radius:12px;background:var(--bg);color:inherit;width:100%;font:inherit;padding:10px 12px;min-height:40px;box-sizing:border-box}
.df-panel textarea{min-height:72px;margin:8px 0 14px;resize:vertical;max-height:25dvh}
.df-media{display:flex;gap:10px;overflow-x:auto;align-items:center;padding:1px}
.df-thumb,.df-add{flex:0 0 68px;width:68px;height:68px;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:var(--bg);padding:0;position:relative;color:var(--muted)}
.df-thumb img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.df-thumb>svg{position:absolute;inset:0;margin:auto}.df-add{display:grid;place-items:center}.df-add{font-size:30px}.df-remove{position:absolute;right:3px;top:3px;border-radius:100%;background:var(--ax-violet);color:#fff;width:22px;height:22px;font-size:20px;line-height:20px;text-align:center}
.df-count{font-size:12px;margin:5px 0 0}.df-price-wrap{position:relative}.df-price-wrap input{padding-right:35px}.df-price-wrap>span{position:absolute;right:14px;top:11px;color:var(--muted)}
.df-conversion,#df-status{font-size:12px;line-height:1.4;margin:6px 0;overflow-wrap:anywhere;color:var(--muted)}#df-status:empty{display:none}#df-status.df-error{color:#ffacb6}
#df-create{width:100%;margin-top:10px;min-height:44px;background:var(--ax-violet);border-color:var(--ax-violet);border-radius:12px;font:inherit;font-weight:650;color:#fff}#df-create:disabled{opacity:.55;cursor:not-allowed}
.df-picker-layer{position:fixed;inset:0;background:#0008;z-index:1800;display:flex;align-items:flex-end;justify-content:center}.df-picker-panel{background:var(--panel);border:1px solid var(--line);border-radius:22px 22px 0 0;padding:20px;width:100%;max-width:600px;max-height:80dvh;overflow:auto}
.df-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:48dvh;overflow:auto;margin:12px 0}.df-library-item{padding:5px;min-width:0;text-align:left;display:flex;flex-direction:column;gap:4px;border:1px solid var(--line);background:var(--bg);border-radius:10px}.df-library-item.selected{outline:2px solid var(--ax-violet);outline-offset:-2px}.df-library-item img{aspect-ratio:1;width:100%;object-fit:cover;border-radius:6px}.df-library-item svg{height:80px;width:100%}.df-library-item span{font-size:12px;word-break:break-word}.df-library-item small{font-size:10px;color:var(--muted)}.df-picker-panel>.primary{width:100%}
.df-settings{max-width:760px}.df-setting-tabs,.df-settings-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.df-template-row{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);padding:12px;border-radius:12px;margin-bottom:10px}.df-template-row>div{flex:1;min-width:0}.df-template-row p{white-space:pre-wrap;font-size:14px;overflow-wrap:anywhere;margin:5px 0}.df-template-row small{color:var(--muted)}.df-fx-form{border-top:1px solid var(--line);padding-top:12px;margin-top:24px}.df-fx-form label,.df-template-form label{display:block;margin:12px 0}.df-fx-form input,.df-template-form input,.df-template-form textarea{display:block;width:100%;margin-top:5px}.df-fx-form p{font-size:13px;color:var(--muted)}.df-import{border:1px solid var(--line);border-radius:10px;padding:10px;cursor:pointer}.df-import input{display:block;max-width:220px;margin-top:5px}
@media(min-width:761px){.df-panel{max-width:470px;border-radius:22px;margin-bottom:12px;max-height:calc(var(--df-height,100dvh) - var(--df-bottom,0px) - 70px)}.df-picker-layer{align-items:center}.df-picker-panel{border-radius:20px}}
@media(max-height:650px){.df-panel{max-height:calc(var(--df-height,100dvh) - var(--df-bottom,0px) - 45px)}.df-panel header{margin-bottom:8px}.df-panel textarea{min-height:56px}.df-panel fieldset{margin-bottom:8px}}
/* Compact folder browser, using the existing Apex palette. */
.df-picker-panel{display:flex;flex-direction:column;box-sizing:border-box}.df-picker-panel>header,.df-picker-panel>input,.df-picker-panel>.primary{flex-shrink:0}.df-picker-panel>input{width:100%;box-sizing:border-box;min-height:42px;font:inherit}.df-picker-panel #df-library{min-height:0;max-height:45dvh;overflow:auto;overscroll-behavior:contain}.df-library .df-library{max-height:none;overflow:visible}.df-folder-list{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.df-folder{display:flex;flex-direction:column;gap:6px;min-width:0;text-align:left;min-height:128px;border:1px solid var(--line);border-radius:12px;background:var(--bg);padding:12px;color:var(--text);font:inherit}.df-folder-icon{color:var(--ax-violet)}.df-folder strong,.df-folder small{overflow-wrap:anywhere}.df-folder small{color:var(--muted);font-size:11px}.df-folder-selected{font-size:11px;color:var(--ax-violet)}.df-picker-nav{display:flex;align-items:center;gap:10px;margin-top:10px}.df-picker-nav[hidden]{display:none}.df-picker-nav button{min-height:40px;flex-shrink:0}.df-picker-nav>span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.df-media-group h3{font-size:14px;margin:12px 0 0}.df-media-group h3 small{color:var(--muted);font-weight:400;margin-left:5px}.df-media-group+.df-media-group{border-top:1px solid var(--line)}.df-library-sections{margin:8px 0}.df-library-sections .df-library{max-height:none;overflow:visible}.df-library-item:has(>img)>svg{display:none}.df-library-item{color:var(--text)}.df-picker-panel>.primary{min-height:44px}

.ax-voice{--voice-progress:0%;display:flex;align-items:center;gap:10px;width:100%;min-width:0;max-width:360px;padding:9px 5px;box-sizing:border-box;touch-action:pan-y}.ax-voice-audio{display:none!important}.ax-voice-toggle{display:grid;place-items:center;flex:none;width:42px;height:42px;min-width:42px;padding:0!important;border-radius:50%;background:var(--ax-violet,#a459ff)!important;border:0!important;color:white}.ax-voice-toggle svg{width:19px;height:19px;pointer-events:none}.ax-voice-toggle:disabled{opacity:.65}.ax-voice-main{min-width:0;flex:1}.ax-voice-track{height:34px;position:relative;display:flex;align-items:center}.ax-voice-wave{width:100%;height:28px;display:flex;gap:2px;align-items:center;overflow:hidden;color:#cab1e5;mask-image:linear-gradient(#fff,#fff)}.ax-voice-wave i{display:block;width:3px;flex:1;max-width:4px;height:var(--voice-bar);border-radius:4px;background:currentColor}.ax-voice-track:before{content:"";pointer-events:none;position:absolute;z-index:1;left:0;top:0;bottom:0;width:var(--voice-progress);background:var(--ax-violet,#a459ff);opacity:.35;border-radius:7px}.ax-voice-track input[type=range]{position:absolute;inset:0;z-index:2;width:100%;height:100%;margin:0;padding:0;opacity:.01;cursor:pointer;touch-action:pan-y}.ax-voice-track input:focus-visible{opacity:.65;outline:2px solid #d2a3ff}.ax-voice-meta{display:flex;align-items:center;gap:7px;min-height:16px;font-size:10px;line-height:1.3;color:#ccb8e0;font-variant-numeric:tabular-nums}.ax-voice-status{min-width:0;overflow-wrap:anywhere}.ax-voice-speed{font-size:11px;min-width:35px;padding:6px 4px!important;flex:none;border:0!important;background:transparent!important;color:#e5cff5}.ax-voice button:focus-visible{outline:2px solid #e6ccff;outline-offset:3px}.tc-protected-media{-webkit-touch-callout:none;user-select:none}.tc-photo-open{border:0!important;background:transparent!important;padding:0!important;display:block;max-width:100%}.tc-protected-media img,.tc-protected-media video{max-width:100%;display:block;border-radius:10px;max-height:360px;-webkit-user-drag:none}.ax-media-viewer{display:grid;place-items:center}.ax-media-viewer img{max-height:70dvh;object-fit:contain}.tc-voice-preview .ax-voice{max-width:none}.tc-voice-preview>small{font-size:10px}.tc-message .ax-voice{width:min(100%,320px)}@media(max-width:420px){.ax-voice{gap:7px;padding:5px 0}.ax-voice-toggle{width:38px;height:38px;min-width:38px}.ax-voice-wave{gap:1px}.ax-voice-meta{font-size:9px}.tc-message-content:has(.ax-voice){padding:8px!important}}
