:root{font-family:Arial,Helvetica,sans-serif;color:#172231;background:#f4f6f9;font-size:14px;--blue:#0866ff;--line:#e4e8ef;--muted:#788394}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit;border-radius:7px;transition:background .16s}button:disabled{cursor:not-allowed;opacity:.58}button:hover:not(:disabled){background:#edf3ff}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #80b3ff;outline-offset:2px}header{height:64px;background:#2855a1;color:white;display:flex;align-items:center;padding:0 22px;gap:26px}header button:hover:not(:disabled){background:#204783}header a{color:inherit;text-decoration:none}.brand{font-size:23px;font-weight:800;letter-spacing:-.8px;display:flex;align-items:center;gap:5px}.brandmark{border:3px solid white;border-radius:50%;font-size:19px;line-height:22px;width:25px;text-align:center}nav{display:flex;align-self:stretch;gap:5px}nav button{padding:0 21px;color:white;font-weight:600;border-radius:0;font-size:14px}nav button.active{background:#203f68;box-shadow:inset 0 -3px #89bcff}.headright{margin-left:auto;display:flex;align-items:center;gap:14px;white-space:nowrap}.headright button{font-size:24px;color:white}.demo{font-size:10px;letter-spacing:1px;background:#ffffff20;padding:6px 9px;border:1px solid #ffffff40;border-radius:5px}.workspace{height:calc(100dvh - 64px);display:grid;grid-template-columns:60px 300px minmax(340px,1fr) 330px;background:white}.rail{background:#293747;display:flex;flex-direction:column;align-items:center;padding:13px 0;gap:10px}.rail button{width:40px;height:40px;color:#e1e8f3;background:#ffffff0c;font-size:21px;position:relative}.rail button.active{background:#3a69b8}.rail button:hover{background:#415976!important}.rail .bottom{margin-top:auto}.inbox{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.inboxhead{padding:23px 18px 15px}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}h1,h2,h3,p{margin:0}h2{font-size:19px}h3{font-size:16px}.muted{color:var(--muted)}.small{font-size:12px}.search{width:100%;border:1px solid var(--line);background:#fafbfc;padding:12px;border-radius:7px;margin-top:17px}.filters{display:flex;gap:5px;margin-top:12px}.filters button{font-size:11px;padding:7px 9px;background:#f2f4f7;white-space:nowrap}.filters button.active{color:var(--blue);background:#e8f1ff}.conversationlist{overflow:auto;flex:1}.conversation{width:100%;padding:17px 15px;display:flex;align-items:center;gap:11px;text-align:left;border-radius:0;border-left:3px solid transparent;border-bottom:1px solid #f1f3f6}.conversation.active{background:#e9f4ff;border-left-color:var(--blue)}.avatar{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:#dbe9fc;color:#3269a5;font-weight:700;font-size:14px;position:relative}.avatar.a1{background:#ffe5d3;color:#a77043}.avatar.a2{background:#e3e6fc;color:#6b57b1}.avatar.a3{background:#def1e6;color:#318767}.online:after{content:'';height:9px;width:9px;background:#24b876;border:2px solid white;position:absolute;right:0;bottom:0;border-radius:50%}.conversation .copy{min-width:0;flex:1}.name{font-size:14px;font-weight:700}.preview{font-size:12px;color:#7a8594;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:7px}.time{font-size:10px;color:#929aa6}.tag{display:inline-block;border-radius:4px;padding:4px 6px;font-size:10px;line-height:1;white-space:nowrap;color:white;background:#7856c6}.tag.green{background:#13b86c}.tag.cyan{background:#03b9cf}.tag.pink{background:#df72cf}.tag.orange{background:#f69044}.tag.red{background:#ef5a6d}.tag.lilac{background:#a69ce2}.tag.yellow{background:#e3c948;color:#594d05}.tag.selected{box-shadow:0 0 0 2px #172231}.unread{background:var(--blue);border-radius:50%;color:white;font-size:10px;padding:3px 5px}.inboxfoot{padding:14px;border-top:1px solid var(--line);color:#8993a1;font-size:11px;display:flex;align-items:center;justify-content:space-between}.chat{display:flex;flex-direction:column;min-height:0;min-width:0}.chathead{height:85px;padding:17px 23px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.chattools{display:flex;gap:1px}.iconbtn{width:31px;height:32px;font-size:20px;color:#657284}.chatbody{flex:1;overflow:auto;background:#f7f5f0;padding:24px 28px;display:flex;flex-direction:column;gap:15px}.date{text-align:center;font-size:10px;color:#a0a4aa;margin-bottom:13px;letter-spacing:.3px}.message{display:flex;align-items:flex-end;gap:9px;max-width:88%;align-self:flex-start}.message.mine{align-self:flex-end;flex-direction:row-reverse}.message .avatar{height:27px;width:27px;font-size:9px}.bubble{background:white;border:1px solid #eae9e5;border-radius:12px 12px 12px 2px;padding:13px 16px;line-height:1.65;font-size:13px;box-shadow:0 1px 2px #20202003}.mine .bubble{background:#0981f9;color:white;border-color:#0981f9;border-radius:12px 12px 2px 12px}.msgtime{font-size:9px;margin-top:5px;color:#a0a6ad}.mine .msgtime{text-align:right}.productcard{border-top:1px solid #ffffff50;margin-top:10px;padding-top:10px;display:flex;gap:10px;align-items:center}.shirt{width:47px;height:51px;flex-shrink:0;background:#f0f2f5;border-radius:6px;display:grid;place-items:center}.shirt svg{width:36px;height:36px}.composer{padding:14px 18px 13px;border-top:1px solid var(--line);background:white}.tags{display:flex;flex-wrap:wrap;gap:4px}.tags .tag{cursor:pointer;border:0}.composebox{border:1px solid var(--line);border-radius:8px;margin-top:12px;overflow:hidden}.composebox textarea{resize:none;border:0;width:100%;height:72px;padding:12px 14px;outline:none;display:block;font-size:13px}.composebottom{padding:5px 9px 8px;display:flex;align-items:center;gap:6px}.composebottom .hint{margin-left:auto;font-size:10px;color:#929aa7}.primary{background:var(--blue);color:white;padding:10px 17px;border:1px solid var(--blue);font-weight:600}.primary:hover{background:#0055de!important;color:white}.secondary{border:1px solid #cddbf2;color:#2467ca;background:white;padding:10px 14px;font-weight:600}.secondary:hover{background:#edf3ff}.rightpanel{border-left:1px solid var(--line);overflow:auto}.tabs{display:flex;border-bottom:1px solid var(--line);height:58px}.tabs button{flex:1;font-size:12px;border-radius:0;color:#87919e}.tabs button.active{border-bottom:2px solid var(--blue);color:#172231;font-weight:700}.customer{padding:23px 19px}.customer>p{margin:19px 0;font-size:12px;line-height:1.6}.customer .avatar{height:44px;width:44px}.statuspill{background:#e4f7ec;color:#159658;font-size:10px;padding:5px 8px;border-radius:20px}.quickactions{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:22px 0}.quickactions button{font-size:10px;line-height:1.5;padding:7px 2px}.quickactions b{display:block;font-size:20px;font-weight:400;margin-bottom:5px}.label{font-size:11px;font-weight:600;color:#677486}.note{border:1px solid var(--line);width:100%;padding:10px;border-radius:6px;resize:vertical;min-height:85px;margin-top:9px;font-size:12px;line-height:1.6}.sectionline{border-top:1px solid var(--line);padding:19px;margin-top:5px}.order{border:1px solid var(--line);border-radius:8px;padding:13px;margin-top:15px;font-size:12px}.order p{margin:12px 0;line-height:1.7}.order .productrow{display:flex;align-items:center;gap:9px;background:#f7f8fa;padding:8px;margin:10px -4px}.orderbuttons{display:flex;gap:8px}.orderbuttons button{flex:1;font-size:11px;padding:9px}.source{font-size:10px;color:#8d96a4;padding:15px 19px;border-top:1px solid var(--line);line-height:1.6}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a3abb6;margin-right:5px}.settings{height:calc(100dvh - 64px);display:grid;grid-template-columns:250px 1fr}.settingsnav{background:#fff;border-right:1px solid var(--line);padding:24px 16px;overflow:auto}.settingsnav h2{margin:0 10px 18px;font-size:16px}.settingsnav button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:13px 12px;font-size:13px;line-height:1.5;margin-bottom:3px}.settingsnav button.active{background:#e3eeff;color:var(--blue);font-weight:600}.settingsnav button span{font-size:18px;width:20px;text-align:center}.settingscontent{padding:26px 30px 0;overflow:auto}.breadcrumb{font-size:12px;color:#929ba8;margin-bottom:18px}.settingsheading{display:flex;justify-content:space-between;align-items:center}.settingsheading h1{font-size:26px;letter-spacing:-.6px}.settingsheading p{margin-top:8px;font-size:13px;color:#7c8796}.badge{background:#e3f8ee;color:#159362;padding:7px 11px;border-radius:20px;font-size:11px}.profilecard{background:white;border:1px solid var(--line);border-radius:10px;margin-top:24px;padding:24px;display:flex;gap:20px;align-items:center}.profilecard .avatar{width:74px;height:74px;font-size:23px}.profilecard h2{font-size:21px;margin-bottom:9px}.profilecard p{font-size:13px;color:#718094;margin-bottom:12px}.profilecard .secondary{margin-left:auto}.profiletags{display:flex;gap:9px}.profiletags span{font-size:11px;background:#e3eeff;color:#2869cf;padding:6px 10px;border-radius:5px}.profiletags span:last-child{background:#e4f6eb;color:#1e9f5a}.settingsgrid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:24px}.panel h3{margin-bottom:24px}.field{display:grid;grid-template-columns:125px 1fr;align-items:center;gap:14px;margin-bottom:20px;font-size:12px}.field input,.field select,.fullinput{width:100%;padding:11px 12px;border:1px solid #dfe4ec;border-radius:6px;background:white;color:#263448}.field input:disabled{background:#f6f7f9;color:#8c95a3}.securityrow{display:flex;align-items:center;padding:20px 0;gap:13px;border-bottom:1px solid var(--line)}.securityrow:last-child{border:0}.securityrow .symbol{font-size:23px;color:#65768a}.securityrow h4{margin:0 0 7px;font-size:13px}.securityrow p{margin:0;font-size:11px;color:#8a94a1;line-height:1.6}.securityrow button{margin-left:auto;white-space:nowrap;font-size:11px}.securityrow .secondary{padding:8px 10px}.switch{width:42px;height:24px;border-radius:20px;background:#c5ccd7;position:relative;flex-shrink:0}.switch:after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002}.switch.on{background:var(--blue)}.switch.on:after{left:21px}.savebar{margin-top:24px;padding:20px 0;display:flex;gap:10px;align-items:center;border-top:1px solid var(--line)}.savebar p{margin-left:auto;font-size:11px;color:#8b96a4}.notice{background:#edf4ff;border:1px solid #d9e7ff;color:#53749b;padding:13px 15px;font-size:12px;line-height:1.6;border-radius:7px;margin-top:20px}.settinglist{margin-top:22px}.settinglist .panel{margin-bottom:12px}.settinglist .row{padding:5px 0}.settinglist h3{margin-bottom:7px}.settinglist p{line-height:1.8}.settinglist .row>button{margin-left:auto}.empty{text-align:center;padding:55px 20px;color:#8190a2;line-height:1.8}.empty b{display:block;color:#42546b;font-size:16px;margin-bottom:8px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(100px);opacity:0;background:#21374e;color:white;padding:13px 21px;border-radius:8px;box-shadow:0 6px 24px #0002;z-index:10;font-size:13px;transition:.2s;max-width:90vw}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}dialog{border:1px solid var(--line);border-radius:12px;padding:26px;max-width:440px;width:90%;box-shadow:0 20px 70px #14243830}dialog::backdrop{background:#172b4650}dialog h2{margin-bottom:14px}dialog p{line-height:1.8;color:#728093;margin:12px 0}dialog .close{margin-top:17px}.back{display:none}.noresults{padding:30px 17px;color:#8895a3;font-size:12px;line-height:1.8}@media(min-width:1600px){.workspace{grid-template-columns:64px 330px minmax(400px,1fr) 370px}.chatbody{padding:35px 50px}.bubble{font-size:14px}}@media(max-width:1250px){header{gap:18px;padding:0 15px}nav button{padding:0 13px}.workspace{grid-template-columns:52px 270px minmax(320px,1fr) 285px}.chathead{padding:15px}.chattools .optional{display:none}.settingsnav{padding:20px 12px}.settings{grid-template-columns:220px 1fr}.settingscontent{padding:24px 22px}.field{grid-template-columns:100px 1fr;gap:8px}.panel{padding:20px}.securityrow{gap:8px}.securityrow .symbol{display:none}}@media(max-width:1080px){.rightpanel{display:none}.workspace{grid-template-columns:52px 285px minmax(300px,1fr)}.headright .demo{display:none}.settingsgrid{grid-template-columns:1fr}.securityrow .symbol{display:block}.settingscontent{padding:24px}.profilecard{flex-wrap:wrap}.profilecard .secondary{margin-left:94px}}@media(max-width:768px){header{height:auto;min-height:62px;flex-wrap:wrap;padding:12px 16px 0;gap:9px}.brand{font-size:21px}.headright{order:1}nav{order:2;width:100%;overflow-x:auto;height:43px;gap:0}nav button{padding:0 14px;white-space:nowrap;font-size:12px}.workspace{height:calc(100dvh - 105px);grid-template-columns:47px 240px minmax(0,1fr)}.rail button{width:35px}.chathead .chattools{display:none}.chatbody{padding:20px 13px}.message{max-width:95%}.composer{padding:12px}.composebottom .hint{display:none}.settings{height:calc(100dvh - 105px);grid-template-columns:180px 1fr}.settingsnav{padding:20px 8px}.settingsnav button{font-size:12px;padding:11px 9px;gap:8px}.settingscontent{padding:20px 16px}.settingsheading h1{font-size:22px}.settingsheading .badge{display:none}.profilecard{padding:18px;gap:13px}.profilecard h2{font-size:17px}.profilecard .avatar{width:55px;height:55px;font-size:18px}.profilecard .secondary{margin-left:0}.field{grid-template-columns:1fr;gap:8px;margin-bottom:17px}.panel{padding:18px}.savebar{flex-wrap:wrap}.savebar p{margin-left:0}.settingsnav button span{font-size:16px}}@media(max-width:580px){.workspace{grid-template-columns:45px 1fr}.chat{display:none}.workspace.chatopen{display:block}.workspace.chatopen .inbox,.workspace.chatopen .rail{display:none}.workspace.chatopen .chat{display:flex;height:100%}.back{display:block}.chathead{height:74px}.settings{display:block}.settingsnav{padding:13px 12px;display:flex;gap:5px;overflow-x:auto;border-bottom:1px solid var(--line)}.settingsnav h2{display:none}.settingsnav button{width:auto;white-space:nowrap;margin:0;padding:9px 11px}.settingsnav button span{display:none}.settingscontent{height:calc(100% - 64px)}.settingsheading h1{font-size:23px}.profilecard{margin-top:20px}.profilecard .secondary{width:100%}.settingsgrid{gap:14px;margin-top:14px}.securityrow h4{font-size:12px}.securityrow p{font-size:10px}.securityrow{gap:8px}.securityrow .symbol{display:none}.composebox textarea{height:64px}.chatbody{gap:16px}.bubble{font-size:13px}.profiletags span{font-size:10px}.savebar .primary,.savebar .secondary{font-size:12px}.settingsheading p{font-size:12px}.headright .demo{display:block;font-size:9px}.brandmark{width:23px;line-height:20px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Compact menus and complete inbox filters */
nav button{font-size:12px;padding-left:17px;padding-right:17px}.settingsnav button{font-size:12px}.rail{gap:6px;padding:10px 0;overflow:visible}.rail button{width:34px;height:34px;flex-shrink:0;display:grid;place-items:center;font-size:14px}.rail svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.adicon{font-size:13px;letter-spacing:-.5px}.railtooltip{display:none;position:absolute;left:43px;top:50%;transform:translateY(-50%);z-index:5;background:#344153;color:white;padding:8px 10px;border-radius:5px;white-space:nowrap;font-size:11px;font-weight:400;box-shadow:0 3px 12px #0002;max-width:270px;white-space:normal;width:max-content;text-align:left;line-height:1.5}.rail button:hover .railtooltip,.rail button:focus-visible .railtooltip{display:block}.activefilter:empty{display:none}.activefilter{display:flex;align-items:center;gap:6px;background:#f2f7ff;color:#3667a5;font-size:11px;padding:8px 15px;border-block:1px solid #e4edfa}.activefilter span{flex:1;line-height:1.5}.activefilter button{font-size:18px;padding:0 5px}@media(max-height:720px){.rail{gap:3px}.rail button{height:30px;width:32px}.rail svg{width:17px;height:17px}}@media(max-width:768px){nav button{font-size:11px;padding-left:12px;padding-right:12px}.rail button{width:32px;height:32px}.rail svg{width:18px;height:18px}.settingsnav button{font-size:11px}}
/* Compact unified inbox toolbar, matching the approved reference. */
.inboxhead.compact-inboxhead{padding:10px 7px;background:#f5f6f8;border-bottom:1px solid var(--line)}.inbox-searchbar{display:flex;align-items:center;gap:8px;width:100%}.search-combined{display:flex;flex:1;min-width:0;height:42px;background:white;border:1px solid #dce2ea;border-radius:7px;overflow:hidden}.search-options{display:flex;align-items:center;justify-content:center;gap:9px;flex-shrink:0;padding:0 9px;border-right:1px solid #e0e5ed;border-radius:0;color:#65788e}.search-options svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round}.chevron{display:inline-block;width:8px;height:8px;border-right:1.3px solid currentColor;border-bottom:1.3px solid currentColor;transform:rotate(45deg);margin-top:-4px;flex-shrink:0}.compact-inboxhead .search{border:0;background:white;border-radius:0;margin:0;padding:0 10px;min-width:0;height:40px;font-size:12px;outline-offset:-3px}.inbox-config{display:flex;align-items:center;gap:8px;justify-content:center;height:40px;padding:0 3px;color:#172b43;flex-shrink:0}.inbox-config svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.inbox-config .chevron{width:7px;height:7px}.compact-inboxhead .search::placeholder{color:#748195;opacity:1}@media(min-width:1600px){.compact-inboxhead .search{font-size:13px}}@media(max-width:768px){.search-options{gap:7px;padding:0 7px}.search-options svg{width:17px;height:17px}.inbox-searchbar{gap:5px}.inbox-config{gap:5px}.inbox-config svg{width:19px}.compact-inboxhead .search{font-size:11px;padding:0 7px}}
