/* Oktool SAC — neutral charcoal / violet, inspired by the supplied references. */
:root{--bg:#101112;--surface:#151617;--raised:#1c1d1f;--line:#2b2c2e;--muted:#909195;--text:#eeeef0;--purple:#a5a0f6;--accent:#655bd0;--green:#4fbe96}
body{background:#101112}.app{grid-template-columns:72px 1fr}.sidebar{width:72px;padding:17px 9px 15px;background:#0d0e0f;border-right:1px solid #28292a;align-items:center;overflow:visible}.logo{font-size:0;padding:0 0 25px;gap:0;letter-spacing:0}.logo small,.workspace,.nav-label,.sidebar .demo,.profile>div{display:none}.logo-mark{width:38px;height:38px;background:transparent;border:1px solid #55545c;transform:none;border-radius:11px;color:#dedde5}.logo-mark svg{transform:none;width:29px;height:29px}.nav{width:48px;height:47px;display:flex;align-items:center;justify-content:center;font-size:0;padding:0;margin:0 0 7px;gap:0;position:relative;border-radius:9px}.nav svg{width:21px;height:21px;color:#737579}.nav:hover{background:#202123}.nav.active{background:#232325;box-shadow:inset 3px 0 #7770dc}.nav.active svg{color:#aaa5f4}.nav .count{position:absolute;right:2px;top:3px;padding:2px 4px;min-width:15px;font-size:8px;border-radius:4px;background:#5f55b7;color:#fff}.nav::after{content:attr(data-tooltip);position:absolute;left:59px;top:9px;padding:8px 12px;background:#29282d;border:1px solid #434047;border-radius:7px;color:#ecebf2;font-size:12px;white-space:nowrap;box-shadow:0 5px 25px #0008;pointer-events:none;opacity:0;transition:opacity .15s;z-index:50}.nav:hover::after,.nav:focus-visible::after{opacity:1}.sidebar-bottom{width:100%;padding:15px 0 0}.profile{padding:14px 0 0;justify-content:center;border-color:#2c2c2e}.profile .avatar{width:34px;height:34px;background:#e8b9d1;color:#30222c}.topbar{height:76px;background:#101112;border-bottom:0;padding:0 36px}.breadcrumb{gap:12px}.welcome-avatar .avatar{width:42px;height:42px;background:#efbfd5;color:#362a31;font-size:14px}.welcome{display:flex;flex-direction:column;gap:5px}.welcome small{font-size:10px;color:#8f8e93}.welcome strong{font-size:14px;color:#ecebef}.welcome-divider{color:#464549;padding:0 10px}.welcome-page{font-weight:400;color:#9c9ba2;font-size:12px}.top-right{gap:11px}.top-right .icon{border:1px solid #2a2a2d;background:linear-gradient(#212123,#19191b);height:35px;width:39px;border-radius:10px}.status{font-size:10px;color:#85868a}.search-top{border:1px solid #2c2d30;background:linear-gradient(#212224,#18191a);border-radius:9px;padding:9px 12px}.content{padding:20px 36px 36px;max-width:1640px}.eyebrow{display:none}.page-head{margin-bottom:23px}.page-head h1{font-size:22px;letter-spacing:-.6px}.page-head .sub{font-size:12px;color:#85878a}.card{border-radius:23px;background:linear-gradient(165deg,#111213 0%,#171819 52%,#1c1d1e 100%);border:1px solid #2c2d2f;box-shadow:0 7px 14px #00000010}.card-head{padding:20px 22px 14px}.card-head h2{font-weight:500;font-size:13px}.card-head small{display:block;margin-top:5px;color:#85858b;font-size:10px}.metrics{gap:15px;margin-bottom:16px}.metric{min-height:126px;padding:23px 19px 20px 77px;border-radius:23px}.metric-label{font-size:12px;color:#b8b8be;display:block}.metric-label svg{position:absolute;left:25px;top:41px;width:38px;height:38px;background:#6158c5;color:#e7e4ff;box-shadow:0 0 0 5px #222236;border:1px solid #7b72df;border-radius:50%;padding:8px;stroke-width:2}.metric-value{font-size:26px;margin:7px 0 5px;line-height:1.2;letter-spacing:-.8px}.trend{font-size:10px}.trend span{font-size:9px;color:#78797e;margin-left:5px}.metric:first-child{background:linear-gradient(120deg,#7669e2,#6354c6);border-color:#8475eb;box-shadow:0 5px 25px #6354c61c;overflow:hidden}.metric:first-child:before{content:'✦';position:absolute;right:17px;top:-43px;font-size:180px;line-height:1.3;color:#ffffff0b;pointer-events:none}.metric:first-child .metric-label{color:#e7e3ff}.metric:first-child .metric-label svg{background:#f4f1ff;color:#6b59ca;border-color:#fff;box-shadow:0 0 0 5px #ffffff12}.metric:first-child .trend{color:#e8e4ff}.metric:first-child .trend span{color:#c5bdf0}.funnel-card{margin-bottom:16px}.funnel-card .card-head{padding-bottom:7px}.funnel-stages{display:grid;grid-template-columns:repeat(5,1fr);padding:9px 22px 18px}.funnel-stage{padding:0 19px;border-right:1px solid #292a2c;min-width:0}.funnel-stage:first-child{padding-left:0}.funnel-stage:last-child{border:0}.funnel-stage>span{font-size:11px;color:#aeb0b5;display:block;margin-bottom:9px}.funnel-stage>strong{font-size:20px;font-weight:500;letter-spacing:-.3px;display:inline-block}.funnel-stage>small{font-size:9px;color:#85868e;margin-left:8px}.funnel-track{height:56px;position:relative;margin-top:12px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 17px,#29292c 18px,transparent 19px);overflow:hidden}.funnel-track>div{position:absolute;bottom:0;left:12%;width:76%;height:var(--stage-height);background:linear-gradient(90deg,#645bce,#51488d);opacity:var(--stage-opacity);clip-path:polygon(0 100%,0 0,60% 0,100% 100%)}.funnel-stage:first-child .funnel-track>div{clip-path:polygon(0 100%,40% 0,100% 0,100% 100%)}.info-dot{display:inline-grid;place-items:center;border-radius:50%;border:1px solid #6a6a72;width:12px;height:12px;font-size:8px;color:#a0a0a9;margin-left:4px}.dashboard-grid{gap:16px;margin-bottom:16px;grid-template-columns:minmax(0,2fr) minmax(270px,1fr)}.chart{height:175px}.chart-wrap{padding:0 22px 17px}.chart path[stroke="#a38af5"]{stroke:#7970da}.chart path[stroke="#27212f"]{stroke:#2b2c30}.chart text{fill:#83858c}.legend{font-size:10px;margin-top:2px}.activity{padding:0 21px 12px}.activity-item{padding:11px 0;border-color:#2a2b2d}.activity-item p{font-size:11px}.activity-item small,.activity-item time{font-size:9px}.tile{border-radius:50%;background:#6258c4;color:#e8e3ff;box-shadow:0 0 0 4px #242334;width:31px;height:31px;flex-shrink:0}.tile svg{width:16px;height:16px}.activity-item{gap:14px}.segment{background:#121314;border:1px solid #2c2c30}.segment button.selected{background:#5e54be;color:white}.card table th{background:#141516;border-color:#2b2b2e;color:#96969e}.card table td{border-color:#2a2b2d;padding:15px 22px}.card tbody tr:hover{background:#242328}.avatar{background:#302d43;color:#c9c3f4}.avatar.blue{background:#283543;color:#b7cde1}.avatar.orange{background:#3c302c;color:#dbb2a1}.avatar.green{background:#253b32;color:#b4d7c3}.badge{background:#302c48;color:#bcb4f4}.badge.green{background:#1d3028;color:#69cba3}.badge.orange{background:#362e22;color:#d3b47a}.badge.red{background:#392428;color:#ef8d99}.badge.gray{background:#2d2d30;color:#b2b0b9}button{border-color:#323235;border-radius:9px;background:linear-gradient(#232426,#1a1b1d)}button:hover{background:#303033}button.primary{background:#655bc7;border-color:#756cdb;box-shadow:0 3px 10px #0002}button.primary:hover{background:#766bd7}button.ghost{background:none}.filters button{background:linear-gradient(#1c1d1f,#161719);color:#a0a0a8;border-color:#303033}.filters button.selected{background:#5950b0;color:#fff;border-color:#6a61c2}.search{background:#171819;border-color:#303134;border-radius:10px}.search input{color:#eaeaf0}.search svg{color:#8f8e98}.mail-list{border-color:#303033}.mail-list-title{border-color:#2c2d30}.mail-row{background:transparent;border-color:#292a2d}.mail-row.active{background:#272535;border-left-color:#8278da}.mail-row:hover{background:#242329}.mail-row small,.mail-row time{color:#949199}.conversation-head{border-color:#2c2d30}.message-body{background:linear-gradient(#1a1b1d,#1f2022);border-color:#333437;border-radius:0 16px 16px;color:#c5c4cc}.message.outgoing .message-body{background:linear-gradient(130deg,#2b2840,#262334);border-color:#46405c}.message.note .message-body{background:#2d291d;border-color:#4b4431}.reply{border-color:#403b50;background:#19191d;border-radius:17px}.reply-tabs{border-color:#303034}.reply-tabs button.selected{color:#b7aef0}.date-line{color:#86838e}.templates{gap:16px}.template{padding:27px;border-radius:25px;min-height:245px}.template .tile{border-radius:14px;width:43px;height:43px;background:#242329;box-shadow:none;color:#aaa1e5}.template p{color:#a8a6af;line-height:1.8}.template h2{font-size:15px}.template footer small{color:#85828c}.settings-body{border-radius:23px}.settings-nav .selected{background:#2a273c;color:#c6bff5}.settings-row{border-color:#303034}.field input,.field select,.field textarea{background:#141516;border-color:#343438;border-radius:10px}.field label{color:#b9b7c1}.modal{background:linear-gradient(140deg,#161719,#202123);border-color:#39393e;border-radius:23px;box-shadow:0 30px 130px #000b}.modal header,.modal footer{border-color:#333337}.modal-backdrop{background:#050607c7}.switch.on{background:#6b60ce}#toast{background:#2b293b;border-color:#595270;border-radius:12px;color:#ded8f3}.table-foot{color:#89868f}#ticket-status{background:#202024;border-color:#34333a}
@media(min-width:1600px){.content{padding:22px 48px 40px}.topbar{padding:0 48px}.metric{min-height:135px;padding-top:27px}.metric-label svg{top:47px}.chart{height:200px}.funnel-track{height:70px}}
@media(max-width:1150px){.app{grid-template-columns:64px 1fr}.sidebar{width:64px;padding-inline:6px}.topbar{padding:0 24px}.content{padding:20px 24px}.metric{padding:20px 15px 18px 63px}.metric-label svg{left:18px;width:32px;height:32px;padding:7px}.metric-value{font-size:23px}.trend span{display:block;margin:4px 0 0}.dashboard-grid{grid-template-columns:minmax(0,1.6fr) minmax(245px,1fr)}.funnel-stage{padding:0 13px}.funnel-stage>small{display:block;margin:5px 0 0}.activity-item time{display:none}.welcome-page,.welcome-divider{display:none}}
@media(max-width:900px){.metrics{grid-template-columns:repeat(2,1fr)}.metric{min-height:118px}.dashboard-grid{grid-template-columns:1fr}.activity-item time{display:block}.top-right .status{display:none}.inbox{grid-template-columns:265px 1fr}.conversation-head{flex-wrap:wrap}}
@media(max-width:760px){.app{display:block}.sidebar{width:64px;transform:translateX(-100%);padding:16px 6px}.sidebar.open{transform:translateX(0)}.sidebar .nav{width:48px}.nav::after{display:none}.topbar{height:70px;padding:0 16px}.welcome-avatar{display:none}.welcome strong{font-size:13px}.welcome small{font-size:9px}.content{padding:15px 16px 28px}.page-head h1{font-size:23px}.metrics{gap:10px;margin-bottom:12px}.metric{padding:18px 12px 16px 57px;min-height:127px;border-radius:19px}.metric-label{font-size:10px;line-height:1.5}.metric-label svg{left:13px;top:37px;width:30px;height:30px;padding:6px;box-shadow:0 0 0 3px #242238}.metric-value{font-size:24px;margin-top:9px}.trend{font-size:9px}.trend span{font-size:8px;line-height:1.5}.funnel-card{margin-bottom:14px}.funnel-stages{overflow-x:auto;grid-template-columns:repeat(5,120px);padding:12px 17px 17px}.funnel-stage>strong{font-size:20px}.funnel-stage>span{font-size:10px}.funnel-track{height:45px}.funnel-card .card-head{padding:17px 17px 5px;align-items:flex-start}.funnel-card .card-head h2{font-size:12px}.funnel-card .card-head small{font-size:9px}.card{border-radius:20px}.chart{height:180px}.card-head{padding:18px 17px 13px}.dashboard-grid{gap:14px}.templates{gap:14px}.template{padding:22px}.inbox{display:block}.mail-row{border-radius:0}.conversation-head{padding:18px}.message-body{border-radius:0 15px 15px}.reply{border-radius:14px}.card table td{padding:14px 17px}.settings-body{padding:20px}.search-top{display:none}.modal{border-radius:19px}.welcome-divider,.welcome-page{display:none}.sidebar .profile{padding-top:12px}}
/* Sidebar: centered icons and an overlapping notification badge. */
.sidebar .nav svg{margin:0;flex-shrink:0;color:#b3b5bd}
.sidebar .nav.active svg{color:#d3cdff}
.sidebar .nav:hover svg{color:#e1e0e7}
.sidebar .nav .count{top:-4px;right:-3px;min-width:17px;height:17px;display:grid;place-items:center;margin:0;padding:0 4px;font-size:9px;line-height:1;border-radius:5px;background:#7569da;color:#fff;box-shadow:0 0 0 2px #0d0e0f}
.sidebar .logo{padding:0 0 25px;display:flex;justify-content:center;width:100%}
.sidebar .brand-logo{display:block;width:43px;height:43px;object-fit:contain;filter:drop-shadow(0 2px 7px #9686ed18)}
/* Flat button surfaces. */
button{background:#1c1d1f}
.search-top,.filters button,.top-right .icon{background:#1c1d1f}
button:hover,.filters button:hover,.top-right .icon:hover{background:#292a2d}
button.primary{background:#655bc7}
button.primary:hover{background:#766bd7}
button.ghost{background:transparent}
.filters button.selected{background:#5950b0}
/* Brand watermark in the highlighted metric. */
.metric:first-child::before{content:'';width:145px;height:145px;right:5px;top:50%;transform:translateY(-50%);background:#fff;opacity:.075;-webkit-mask:url('assets/oktool-logo.svg') center/contain no-repeat;mask:url('assets/oktool-logo.svg') center/contain no-repeat;pointer-events:none}
.metric:first-child::before{background:url('assets/oktool-logo.svg') center/contain no-repeat;-webkit-mask:none;mask:none;filter:brightness(0) invert(1)}
.metric:first-child::before{width:210px;height:210px;right:-23px}
/* The welcome header belongs only to the dashboard. */
.topbar-secondary{display:none}
@media(max-width:760px){.topbar-secondary{display:flex;height:50px;padding:8px 16px;background:transparent}.topbar-secondary .welcome-avatar,.topbar-secondary .welcome,.topbar-secondary .top-right{display:none}.topbar-secondary .breadcrumb{gap:0}}
/* Expand/collapse from the brand, retaining the current page and draft. */
.app{transition:grid-template-columns .28s cubic-bezier(.22,1,.36,1)}
.sidebar{transition:width .28s cubic-bezier(.22,1,.36,1),transform .25s ease}
.sidebar button.logo{border:0;border-radius:0;background:transparent;box-shadow:none;height:63px;flex-shrink:0;align-items:flex-start;padding:0 0 20px;gap:0}
.sidebar button.logo:hover{background:transparent}
.brand-name{display:none}
.sidebar .nav{transition:width .28s cubic-bezier(.22,1,.36,1),background .18s ease}
.app.sidebar-expanded{grid-template-columns:228px 1fr}
.sidebar-expanded .sidebar{width:228px;padding-inline:14px;align-items:stretch}
.sidebar-expanded .logo{justify-content:flex-start;padding-left:7px!important;gap:11px!important}
.sidebar-expanded .brand-name{display:flex;align-items:center;gap:7px;height:43px;font-size:24px;font-weight:650;letter-spacing:-.8px;color:#eceaf4;white-space:nowrap}
.sidebar-expanded .brand-name small{display:block;font-size:9px;padding:3px 4px;letter-spacing:1px;border-color:#494155;color:#b4a7ce}
.sidebar-expanded .nav{width:100%;justify-content:flex-start;gap:12px;padding:0 13px;font-size:12px;white-space:nowrap;color:#b5b5c0}
.sidebar-expanded .nav.active{color:#ded9ff}
.sidebar-expanded .nav svg{flex-shrink:0}
.sidebar-expanded .nav::after{display:none}
.sidebar-expanded .nav .count{position:static;margin-left:auto;box-shadow:none}
.sidebar-expanded .profile{justify-content:flex-start;padding:15px 7px 0}
.sidebar-expanded .profile>div{display:block;white-space:nowrap}
@media(max-width:760px){.app.sidebar-expanded{display:block}.sidebar-expanded .sidebar{width:228px}.sidebar-expanded .sidebar .nav{width:100%}}
.sidebar-expanded .brand-name small{border:0;background:transparent;border-radius:0;padding:0;margin:2px 0 0 2px;font-size:12px;font-weight:400;letter-spacing:1.2px;color:#b4a7ce;line-height:1}
.sidebar .brand-logo{width:34px;height:34px}
.sidebar-expanded .brand-name{height:34px}
.sidebar-expanded .brand-name{align-items:baseline;line-height:34px;white-space:nowrap}
.sidebar-expanded .brand-name small{display:inline-block;align-self:baseline;margin:0 0 0 2px;line-height:1;vertical-align:baseline}
/* Larger sidebar options and centered expanded brand. */
.sidebar .nav{height:52px}
.sidebar .nav svg{width:23px;height:23px}
.sidebar-expanded .nav{font-size:14px;gap:13px}
.sidebar-expanded button.logo{justify-content:center;padding-left:0!important;padding-right:0;gap:10px!important}
.sidebar-expanded .logo .brand-logo{display:none}
.sidebar-expanded button.logo{gap:0!important}
.dashboard-actions{display:flex;justify-content:flex-end;margin-bottom:18px}
.sidebar-expanded .logo .brand-logo{display:block;width:28px;height:28px}
.sidebar-expanded button.logo{gap:9px!important;align-items:center}
/* Inbox — a focused, independently scrolling conversation workspace. */
.content:has(.inbox-page){max-width:none;padding:28px 28px 24px}
.inbox-page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:16px}
.inbox-page-heading h1{font-size:25px;margin-bottom:5px;font-weight:550}
.inbox-live{display:flex;align-items:center;gap:8px;font-size:11px;color:#a09eaa;padding:8px 12px;border:1px solid #2c2c32;border-radius:7px;background:#18181c}
.inbox-workspace{display:grid;grid-template-columns:342px minmax(0,1fr);height:calc(100dvh - 133px);min-height:570px;border-radius:17px;background:#131416;box-shadow:0 12px 40px #00000012}
.inbox-workspace .mail-list{display:flex;flex-direction:column;min-height:0;background:#151618;border-right:1px solid #303035;overflow:hidden}
.inbox-list-controls{padding:19px 17px 17px;border-bottom:1px solid #2b2c30;flex-shrink:0}
.inbox-list-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:10px}
.inbox-list-label h2{font-size:14px;font-weight:550;display:flex;align-items:center;gap:9px}
.inbox-list-label h2 span{font-size:10px;font-weight:400;padding:2px 6px;border:1px solid #39383f;background:#242329;border-radius:5px;color:#aaa6b7}
.inbox-filter{position:relative;display:flex;align-items:center}
.inbox-filter select{appearance:none;color:#d0cbdc;border:1px solid #39363f;border-radius:7px;background:#222126;padding:7px 29px 7px 10px;font-size:11px;cursor:pointer;max-width:130px}
.inbox-filter svg{position:absolute;right:8px;width:13px;height:13px;color:#9a92ac;pointer-events:none}
.inbox-list-controls .search{min-width:0;width:100%;background:#101113;border-color:#2c2d32;padding:10px;border-radius:8px}
.inbox-list-controls .search input{font-size:11px}
.inbox-list-scroll{overflow-y:auto;flex:1;min-height:0;padding:7px}
.inbox-workspace .mail-row{display:flex;gap:11px;padding:16px 10px;border:1px solid transparent;border-bottom-color:#24252a;background:transparent;border-radius:9px;margin-bottom:3px;text-align:left}
.inbox-workspace .mail-row:hover{background:#202024}
.inbox-workspace .mail-row.active{background:#252231;border:1px solid #42384f;box-shadow:inset 2px 0 #9a83e7}
.mail-avatar{position:relative;flex-shrink:0;padding-top:2px}.mail-avatar .avatar{width:33px;height:33px;font-size:11px}.unread-dot{position:absolute;right:-1px;top:0;width:8px;height:8px;border-radius:50%;background:#ad92ff;border:2px solid #252231}
.mail-summary{min-width:0;flex:1}.mail-summary .line strong{font-size:12px;font-weight:550;color:#e0dce8}.mail-summary .line time{font-size:9px;color:#8f879e;white-space:nowrap}.inbox-workspace .mail-row p{font-size:11px;color:#c0b9cd;margin:8px 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inbox-workspace .mail-row small{font-size:10px;color:#87818f;line-height:1.5}.inbox-workspace .mail-row footer{margin-top:10px;align-items:center;gap:5px}.mail-summary footer>span:last-child{font-size:9px;color:#807989;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-summary .badge{font-size:9px;padding:3px 6px}.inbox-list-bottom{border-top:1px solid #2b2b30;padding:13px 17px;flex-shrink:0;color:#77737f;font-size:10px;display:flex;align-items:center;gap:7px}.inbox-list-bottom svg{width:13px;height:13px}
.inbox-workspace .conversation{min-height:0;overflow:hidden;background:radial-gradient(ellipse at 75% 20%,#20192b24,transparent 65%),#121315}
.inbox-workspace .conversation-head{padding:18px 24px;min-height:82px;flex-shrink:0;background:#161719;border-bottom:1px solid #2a2b30;flex-wrap:nowrap}
.conversation-person{display:flex;align-items:center;gap:11px;min-width:0}.conversation-person>div{min-width:0}.conversation-person .avatar{width:37px;height:37px}.conversation-person h2{font-size:13px!important;margin:0 0 5px!important}.conversation-person .sub{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inbox-workspace .conversation-head .actions{flex-shrink:0;gap:8px}.resolve-button{font-size:11px;background:#24202e;border-color:#493e5e;color:#cec0ed;padding:8px 12px}.resolve-button svg{width:14px;height:14px}.inbox-workspace #ticket-status{font-size:10px;padding:8px;color:#aaa2b6;border-color:#343139;background:#1b1b20}
.conversation-topic{display:flex;justify-content:space-between;align-items:center;padding:15px 25px;border-bottom:1px solid #25262b;flex-shrink:0;gap:12px;background:#141517}.topic-label{font-size:8px;letter-spacing:1.4px;color:#77717f;display:block;margin-bottom:6px}.conversation-topic h3{font-size:12px;font-weight:500;color:#bdb7c8}.ticket-number{font-size:10px;color:#6f6b77}
.inbox-workspace .messages{min-height:0;overflow:auto;padding:18px 26px 10px;flex:1;scrollbar-gutter:stable}
.inbox-workspace .date-line{display:flex;align-items:center;gap:15px;margin:0 0 19px;font-size:9px;letter-spacing:.3px}.date-line:before,.date-line:after{content:'';height:1px;background:#26252d;flex:1}.date-line span{background:#1d1b22;border:1px solid #302c38;padding:4px 11px;border-radius:5px;color:#8d859a}
.inbox-workspace .message{max-width:720px;margin:0 0 19px}.inbox-workspace .message.outgoing{margin-left:auto}.inbox-workspace .message-header{margin-bottom:8px;font-size:11px;gap:8px}.inbox-workspace .message-header .avatar{width:24px;height:24px;font-size:8px}.inbox-workspace .message-header strong{font-weight:500;color:#bcb5c9}.inbox-workspace .message-header small{font-size:9px;color:#797281}.message-team{font-size:8px;color:#7f748f}
.inbox-workspace .message-body{margin-left:32px;padding:13px 16px;font-size:12px;line-height:1.75;border-radius:0 11px 11px;background:#1a1b1f;border-color:#2e2d34;color:#c9c3d1}.inbox-workspace .outgoing .message-body{background:#242030;border-color:#3a314d}.inbox-workspace .note .message-body{background:#2b261c;border-color:#494030}
.inbox-workspace .reply{flex-shrink:0;margin:4px 24px 19px;border:1px solid #42384e;background:#19171f;border-radius:12px;box-shadow:0 4px 20px #0002;overflow:hidden}
.inbox-workspace .reply-tabs{padding:9px 11px;gap:5px;border-bottom:1px solid #302a39}.inbox-workspace .reply-tabs button{font-size:10px;padding:6px 9px;border-radius:5px;color:#93899f;white-space:nowrap}.inbox-workspace .reply-tabs button svg{width:13px;height:13px}.inbox-workspace .reply-tabs button.selected{background:#30263f;color:#d3bdf6}.inbox-workspace .reply-template-button{margin-left:auto}.reply-recipient{padding:11px 17px 0;font-size:10px;color:#817789}.reply-recipient span{color:#a69bb3}.inbox-workspace .reply textarea{min-height:65px;height:70px;max-height:180px;padding:12px 17px;font-size:12px;resize:vertical}.inbox-workspace .reply footer{padding:8px 13px 12px}.inbox-workspace .reply footer .primary{font-size:11px;padding:9px 13px}.inbox-workspace .reply footer .primary svg{width:14px;height:14px}.reply-demo{display:flex;align-items:center;gap:5px;font-size:9px;color:#82758e}.reply-demo svg{width:12px;height:12px}
.conversation-placeholder{margin:auto;text-align:center;color:#8c839a;padding:30px}.conversation-placeholder>svg{width:37px;height:37px;color:#76658f;margin-bottom:20px}.conversation-placeholder h2{font-size:15px;color:#beb2cc;margin-bottom:9px}.conversation-placeholder p{font-size:12px}.inbox-empty>svg{width:26px;height:26px;margin-bottom:12px}.inbox-empty h3{color:#b8adc6;margin-bottom:6px}.inbox-empty p{font-size:11px;margin-bottom:12px}
.inbox-workspace *{scrollbar-width:thin;scrollbar-color:#3a3444 transparent}
@media(min-width:1600px){.content:has(.inbox-page){padding:32px 40px 28px}.inbox-workspace{grid-template-columns:370px minmax(0,1fr);height:calc(100dvh - 145px)}.inbox-workspace .messages{padding-left:40px;padding-right:40px}.inbox-workspace .reply{margin-left:40px;margin-right:40px}}
@media(max-width:1100px){.inbox-workspace{grid-template-columns:290px minmax(0,1fr)}.content:has(.inbox-page){padding:23px 20px}.inbox-workspace .conversation-head{padding:16px;flex-wrap:wrap;gap:12px}.inbox-workspace .messages{padding:16px}.inbox-workspace .reply{margin:4px 15px 15px}.reply-demo{font-size:8px}.inbox-workspace .reply-tabs button{padding:6px;font-size:9px}.inbox-workspace .reply-tabs button svg{margin-right:4px}}
@media(max-width:760px){.content:has(.inbox-page){padding:13px 14px 16px}.inbox-page-heading{margin-bottom:17px}.inbox-page-heading h1{font-size:23px}.inbox-page-heading .sub{font-size:10px}.inbox-live{font-size:9px;padding:7px;white-space:nowrap}.inbox-workspace{display:block;height:calc(100dvh - 152px);min-height:460px;border-radius:14px}.inbox-workspace .mail-list{height:100%;border:0}.inbox-workspace .conversation{display:none;height:100%}.inbox-workspace.detail .mail-list{display:none}.inbox-workspace.detail .conversation{display:flex}.inbox-list-controls{padding:17px}.inbox-workspace .mail-row{padding:16px 12px}.inbox-workspace .conversation-head{gap:12px;padding:14px}.conversation-person{gap:9px}.conversation-person .avatar{width:30px;height:30px}.conversation-person .sub{max-width:220px}.inbox-workspace .conversation-head .actions{width:100%;justify-content:flex-end}.inbox-workspace .conversation-head .actions select{margin-right:auto}.conversation-topic{padding:12px 16px}.inbox-workspace .messages{padding:15px 13px}.inbox-workspace .message-body{margin-left:0;font-size:11px;padding:12px}.inbox-workspace .reply{margin:4px 10px 10px}.inbox-workspace .reply-tabs{padding:7px 6px;gap:2px}.inbox-workspace .reply-tabs button{font-size:9px;padding:5px}.inbox-workspace .reply-tabs button svg{display:none}.inbox-workspace .reply textarea{height:64px;min-height:60px}.inbox-workspace .reply footer{padding:6px 10px 10px}.reply-demo{max-width:120px;line-height:1.5}.reply-recipient{padding:9px 12px 0}.inbox-workspace .message-team{display:none}}
.inbox-workspace{height:calc(100dvh - 52px)}
@media(min-width:1600px){.inbox-workspace{height:calc(100dvh - 60px)}}
@media(max-width:1100px){.inbox-workspace{height:calc(100dvh - 46px)}}
@media(max-width:760px){.inbox-workspace{height:calc(100dvh - 79px)}}
/* Custom inbox filter menu. */
.inbox-list-controls{position:relative;z-index:3}
.inbox-filter-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:108px;padding:8px 10px;background:#202024;border:1px solid #38343f;border-radius:8px;color:#c5bdd1;font-size:11px;box-shadow:none}
.inbox-filter-trigger:hover,.inbox-filter-trigger[aria-expanded="true"]{background:#292431;border-color:#66517f;color:#e1d3f4}
.inbox-filter .inbox-filter-trigger svg{position:static;width:13px;height:13px;margin:0;transition:transform .18s;color:#a496b7}
.inbox-filter-trigger[aria-expanded="true"] svg{transform:rotate(180deg)}
.inbox-filter-menu{position:absolute;top:calc(100% + 8px);right:0;width:230px;padding:6px;background:#1b191f;border:1px solid #403748;border-radius:12px;box-shadow:0 16px 45px #0009,0 1px 0 #ffffff04 inset;z-index:30}
.inbox-filter-menu[hidden]{display:none}
.filter-menu-label{padding:10px 10px 8px;font-size:8px;letter-spacing:1.2px;color:#82748e}
.inbox-filter-menu .filter-option{width:100%;display:flex;align-items:center;gap:10px;padding:11px 10px;border:0;border-radius:7px;background:transparent;color:#bdb4c9;font-size:11px;text-align:left;margin:2px 0}
.inbox-filter-menu .filter-option:hover,.inbox-filter-menu .filter-option:focus-visible{background:#2c2536;color:#eee3fa;outline:none}
.inbox-filter-menu .filter-option.selected{background:#332640;color:#dbc5fc}
.filter-option-symbol{width:17px;height:17px;display:grid;place-items:center;flex-shrink:0;color:#a698b7}
.inbox-filter .filter-option-symbol svg,.inbox-filter .filter-option-check svg{position:static;width:15px;height:15px;margin:0;color:inherit}
.filter-option-symbol i{width:6px;height:6px;border-radius:50%;background:#a69aaa}.filter-option-symbol.purple i{background:#a88ae5}.filter-option-symbol.amber i{background:#d6b074}.filter-option-symbol.green i{background:#70c7a0}
.filter-option-check{margin-left:auto;color:#c6a6ef;width:16px;height:16px;display:grid;place-items:center}
.mobile-nav-access{display:none}
@media(max-width:760px){.mobile-nav-access{display:flex;height:50px;align-items:center;padding:8px 16px}}
.content:has(>.metrics){padding-top:36px}
@media(max-width:760px){.content:has(>.metrics){padding-top:20px}}
/* Inbox fills the available workspace, without an outer card. */
.content:has(>.inbox-page){padding:0;max-width:none;margin:0}
.inbox-page{width:100%;height:100dvh}
.card.inbox-workspace{width:100%;height:100%;min-height:0;margin:0;border:0;border-radius:0;box-shadow:none;grid-template-columns:clamp(300px,26%,390px) minmax(0,1fr);background:#121315}
.inbox-workspace .mail-list{border-right:1px solid #2c2c31;background:#141517}
.inbox-list-controls{padding:26px 22px 20px}
.inbox-list-scroll{padding:8px 12px}
.inbox-workspace .conversation{background:#121315}
.inbox-workspace .conversation-head{padding:22px 32px;min-height:88px;background:transparent}
.inbox-workspace .conversation-topic{padding:17px 32px;background:transparent}
.inbox-workspace .messages{padding:24px 32px 12px}
.inbox-workspace .message{max-width:850px}
.inbox-workspace .reply{margin:8px 32px 26px}
@media(max-width:1100px){.card.inbox-workspace{grid-template-columns:290px minmax(0,1fr)}.inbox-list-controls{padding:22px 17px 17px}.inbox-workspace .conversation-head,.inbox-workspace .conversation-topic{padding:18px 22px}.inbox-workspace .messages{padding:20px 22px 10px}.inbox-workspace .reply{margin:6px 22px 20px}}
@media(max-width:760px){.inbox-page{height:calc(100dvh - 50px)}.card.inbox-workspace{display:block;border-radius:0;min-height:0}.inbox-workspace .mail-list{border:0}.inbox-list-controls{padding:18px 17px}.inbox-workspace .conversation-head{padding:15px 17px;min-height:0}.inbox-workspace .conversation-topic{padding:13px 17px}.inbox-workspace .messages{padding:17px 15px 10px}.inbox-workspace .reply{margin:5px 12px 12px}}
/* Inbox follows the dashboard's neutral charcoal palette. */
.card.inbox-workspace,.inbox-workspace .conversation{background:#101112}
.inbox-workspace .mail-list{background:#111213;border-right-color:#292a2c}
.inbox-list-controls,.inbox-workspace .conversation-head,.inbox-workspace .conversation-topic,.inbox-list-bottom{background:transparent;border-color:#292a2c}
.inbox-list-label h2{color:#e5e5e8;font-weight:500}
.inbox-list-label h2 span{background:#202123;border-color:#323336;color:#9d9ea5}
.inbox-list-controls .search{background:#171819;border-color:#303134}
.inbox-list-controls .search svg,.inbox-list-bottom,.inbox-list-bottom svg{color:#85868d}
.inbox-workspace .mail-row{border:1px solid transparent;border-bottom-color:#232426;border-radius:8px;background:transparent;box-shadow:none}
.inbox-workspace .mail-row:hover{background:#1a1b1d}
.inbox-workspace .mail-row.active{background:#202123;border-color:#323136;box-shadow:inset 2px 0 #8278da}
.mail-summary .line strong{color:#dedee3;font-weight:500}
.inbox-workspace .mail-row p{color:#b9bac0}
.inbox-workspace .mail-row small,.mail-summary .line time,.mail-summary footer>span:last-child{color:#81838b}
.inbox-workspace .badge{background:#282631;color:#aaa2d6}
.inbox-workspace .badge.orange{background:#2b271f;color:#bba174}
.inbox-workspace .badge.green{background:#202b26;color:#7bb49a}
.inbox-workspace .avatar{background:#2d2b38;color:#c0bad8}
.inbox-workspace .avatar.blue{background:#28323b;color:#b2c5d4}
.inbox-workspace .avatar.orange{background:#352d29;color:#c6aa9e}
.inbox-workspace .avatar.green{background:#29352f;color:#a5c6b3}
.unread-dot{border-color:#202123;background:#a59ae3}
.conversation-person h2{color:#e5e5e9;font-weight:500}
.conversation-person .sub,.topic-label,.ticket-number{color:#85868e}
.conversation-topic h3{color:#babac2;font-weight:400}
.resolve-button{background:#202123;border-color:#353539;color:#cbcbd2}
.resolve-button:hover{background:#292a2c;border-color:#49474f}
.inbox-workspace #ticket-status{background:#1b1c1e;border-color:#333438;color:#a8a9b0}
.inbox-workspace .date-line:before,.inbox-workspace .date-line:after{background:#242527}
.inbox-workspace .date-line span{background:transparent;border:0;color:#7e8088;padding:0 5px}
.inbox-workspace .message-header strong{color:#bdbdc5}
.inbox-workspace .message-header small,.message-team{color:#7e8088}
.inbox-workspace .message-body{background:#191a1c;border:1px solid #2b2c2f;color:#c5c5cc;border-radius:12px;box-shadow:none;line-height:1.8}
.inbox-workspace .outgoing .message-body{background:#1c1c21;border-color:#34323d}
.inbox-workspace .note .message-body{background:#24221b;border-color:#39352a}
.inbox-workspace .reply{background:#161719;border-color:#343438;box-shadow:none;border-radius:12px}
.inbox-workspace .reply-tabs{border-color:#2b2c2f}
.inbox-workspace .reply-tabs button{color:#8e8f98}
.inbox-workspace .reply-tabs button.selected{background:#292631;color:#c9c3e7}
.reply-recipient,.reply-demo{color:#7f818a}
.reply-recipient span{color:#a4a5ae}
.inbox-workspace .reply textarea{color:#dadbe1}
.inbox-workspace .reply textarea::placeholder{color:#73757e}
.inbox-filter-trigger{background:#202123;border-color:#353539;color:#c1c1ca}
.inbox-filter-trigger:hover,.inbox-filter-trigger[aria-expanded="true"]{background:#27272b;border-color:#56505f;color:#e3e0ed}
.inbox-filter-menu{background:#1a1b1e;border-color:#3a383f;box-shadow:0 15px 40px #0006}
.filter-menu-label{color:#81828b}
.inbox-filter-menu .filter-option{color:#b9b9c2}
.inbox-filter-menu .filter-option:hover,.inbox-filter-menu .filter-option:focus-visible{background:#26262c;color:#e5e3ed}
.inbox-filter-menu .filter-option.selected{background:#302a40;color:#d2c6ee}
.conversation-placeholder{color:#85868e}.conversation-placeholder h2{color:#bfc0c8}
/* One consistent header across every workspace page. */
.app-header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid #292a2d;background:#111213;position:relative;z-index:20;flex-shrink:0}
.app-header-title{display:flex;align-items:center;gap:12px}
.app-header-title h1{font-size:17px;font-weight:500;letter-spacing:-.3px;margin:0;color:#e4e4e9}
.header-menu{position:relative}
button.header-menu-trigger{width:36px;height:36px;display:grid;place-items:center;border:1px solid #323337;background:#1c1d1f;border-radius:9px;color:#bcbcc6}
button.header-menu-trigger svg{margin:0;width:18px;height:18px}
button.header-menu-trigger:hover,button.header-menu-trigger[aria-expanded="true"]{background:#29272f;border-color:#544a64;color:#d9cbf1}
.header-account-menu{position:absolute;right:0;top:calc(100% + 9px);width:186px;background:#1a1b1e;border:1px solid #39373f;border-radius:11px;padding:6px;box-shadow:0 14px 40px #0007}
.header-account-menu[hidden]{display:none}
.header-account-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:11px 10px;border:0;background:transparent;border-radius:6px;color:#c3c0ce;font-size:12px;text-align:left}
.header-account-menu button svg{width:16px;height:16px;margin:0;color:#9d92b0}
.header-account-menu button:hover,.header-account-menu button:focus-visible{background:#2c2638;color:#e2d5f5}
.header-account-menu button:last-child{border-top:1px solid #2d2c32;border-radius:0 0 6px 6px;margin-top:4px;color:#c6afb7}
/* The header supplies the page title; retain only page-level actions. */
.content>.page-head>div:first-child{display:none}
.content>.page-head{justify-content:flex-end;margin-bottom:20px}
.content>.page-head:has(.actions:empty){display:none}
.content:has(>.metrics){padding-top:28px}
.inbox-page{height:calc(100dvh - 72px)}
.demo-entry{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#101112}
.demo-entry>img{width:60px;height:60px}.demo-entry h1{font-size:29px;margin:0}.demo-entry p{color:#9a95a7;font-size:13px}.demo-entry small{font-size:10px;color:#77717f}.demo-entry button{margin-top:10px}
@media(max-width:760px){.app-header{height:60px;padding:0 16px}.app-header-title h1{font-size:15px}.inbox-page{height:calc(100dvh - 60px)}.content:has(>.metrics){padding-top:20px}}

.app-header{border-bottom:0}
