/* Wardex 9.6.6: explicit shell geometry and scoped working components. */
body.wardex{--wd-sidebar-size:248px;display:block!important}
body.wardex>.sidebar{position:fixed!important;inset:0 auto 0 0!important;width:var(--wd-sidebar-size)!important;display:flex!important;flex-direction:column!important;padding:22px 14px 16px!important;z-index:100!important}
body.wardex>.main{display:block!important;width:calc(100% - var(--wd-sidebar-size))!important;max-width:none!important;min-width:0!important;margin:0 0 0 var(--wd-sidebar-size)!important;padding:0!important}
body.wardex>.main>.content{width:100%!important;max-width:1660px!important;min-width:0!important;margin:0 auto!important;padding:28px 28px 42px!important}
body.wardex>.main>.topbar{position:sticky!important;top:0!important;left:auto!important;width:100%!important;margin:0!important;padding:0 28px!important;z-index:40!important;height:70px!important;min-height:70px!important}
body.wardex .sidebar .sidebar-nav{display:flex!important;flex-direction:column;gap:4px;min-height:0;padding:0!important}
body.wardex .sidebar .nav-item{display:flex!important;align-items:center!important;width:100%!important;min-width:0!important;margin:0!important;padding:10px 12px!important;gap:11px!important;font-size:12px!important;line-height:1.4!important}
body.wardex .sidebar .nav-item>span:last-child{min-width:0;overflow-wrap:break-word}
body.wardex .sidebar .nav-icon{display:grid!important;place-items:center!important;flex:0 0 20px!important;width:20px!important;height:24px!important;padding:0!important;background:none!important;border:0!important}
body.wardex .sidebar-label{padding:12px 12px 5px!important;margin:8px 0 3px!important;line-height:1.3!important;letter-spacing:.06em!important;font-size:10px!important}
body.wardex .sidebar-label-inner{margin-top:12px!important}
body.wardex .sidebar .sidebar-label{flex:0 0 auto!important;min-height:24px!important;overflow:visible!important;white-space:normal!important}
body.wardex .sidebar .sidebar-bottom{margin-top:12px!important;padding-top:12px!important}
body.wardex .sidebar .v7-sidebar-account{padding:10px!important;min-width:0}
body.wardex .sidebar .v7-sidebar-account strong{font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
body.wardex .sidebar .brand.sx860-brand-banner{margin:0 8px 16px!important}
body.wardex .sidebar .sidebar-nav>.nav-item:hover{transform:none!important}
.wd-dashboard .wd-toolbar{display:grid!important;grid-template-columns:minmax(170px,1fr) auto auto;gap:10px;align-items:center}
body.wardex .wd-dashboard .wd-toolbar>input{width:100%!important;min-width:0!important;min-height:44px;padding:11px 14px!important}
.wd-dashboard .wd-server-grid{grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr));gap:18px;margin-top:22px}
.wd-dashboard .wd-server-card{min-width:0;padding:22px!important;border-radius:17px!important;position:relative;display:flex;flex-direction:column;align-items:flex-start}
.wd-dashboard .wd-server-card h2{font-size:19px!important;line-height:1.35!important;letter-spacing:-.02em;margin:16px 0 3px!important;overflow-wrap:anywhere}
.wd-dashboard .wd-server-icon{width:62px!important;height:62px!important;border-radius:18px!important;object-fit:cover;display:grid;place-items:center;font-size:24px}
.wd-dashboard .wd-server-access{position:absolute;top:24px;right:18px;font-size:10px;padding:4px 8px;background:var(--sx-accent-soft);border-radius:6px;color:var(--sx-accent-2)}
.wd-dashboard .wd-server-id{font-size:10px;color:var(--sx-muted);overflow-wrap:anywhere}
.wd-dashboard .wd-server-meta{font-size:12px;margin:14px 0 22px!important;color:var(--sx-text-2)}
.wd-dashboard .wd-server-foot{width:100%;margin-top:auto;gap:8px;flex-wrap:wrap}

/* Reserve real layout before scripts run: no inline module names or glyph fallbacks. */
body.wardex .wd-modules-workspace{display:grid!important;grid-template-columns:254px minmax(0,1fr)!important;gap:18px!important;align-items:start!important}
body.wardex .wd-module-group:not([hidden]){display:flex!important;flex-direction:column!important;gap:5px!important;width:100%!important;overflow:visible!important}
body.wardex .wd-module-row{display:flex!important;width:100%!important;align-items:center!important;gap:8px!important;min-width:0!important;padding:10px!important;margin:0!important;border-radius:11px!important;min-height:59px!important}
body.wardex .wd-module-open{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;flex:1 1 0%!important;overflow:hidden;white-space:normal!important;line-height:1.35!important}
body.wardex .wd-module-copy{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important;flex:1 1 0%!important;text-align:left!important}
body.wardex .wd-module-copy strong{display:block!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;font-size:12px!important;line-height:1.4!important}
body.wardex .wd-module-copy small{display:block!important;font-size:10px!important;line-height:1.3!important}
.wd-sticker{display:block!important;object-fit:contain!important;flex:0 0 auto!important;filter:drop-shadow(0 3px 4px #0002)}
body.wardex .wd-module-open .wd-icon{display:grid!important;place-items:center!important;width:32px!important;height:36px!important;min-width:32px!important;background:none!important}
.wd-module-open .wd-sticker{width:32px!important;height:32px!important}
body.wardex .wd-category .wd-icon{background:none!important;width:42px!important;height:42px!important}
.wd-category .wd-sticker{width:42px!important;height:42px!important}
.wd-module-panel-head .wd-icon{background:none!important}
.wd-module-panel-head .wd-sticker{width:42px!important;height:42px!important}
body.wardex .wd-category strong{font-size:12px!important;line-height:1.4!important;white-space:normal!important;word-break:normal!important}
body.wardex .wd-category small{font-size:10px!important;line-height:1.4!important}
body.wardex .wd-module-panel-head h2{font-size:21px!important;line-height:1.3!important}
body.wardex .wd-module-panel-head p{font-size:12px!important}
.wd-frame-state:not([hidden]){display:flex;align-items:center;gap:10px;min-height:90px}
.wd-module-panel[aria-busy=true] .wd-frame-state:before{content:'';width:17px;height:17px;border:2px solid var(--sx-line-strong);border-top-color:var(--sx-accent-2);border-radius:50%;animation:wd-spin .8s linear infinite;flex:0 0 auto}
@keyframes wd-spin{to{transform:rotate(360deg)}}
body.wardex.wardex-embedded>.main{margin:0!important;width:100%!important;min-height:0!important}
body.wardex.wardex-embedded>.main>.content{padding:18px!important}

/* Member controls are not the legacy site-wide .search/.status/.profile-avatar. */
body.wardex .members-page .tools-row{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(150px,190px) minmax(160px,210px)!important;gap:10px!important;align-items:stretch!important}
body.wardex .members-page .tools-row>.select{width:100%!important;min-width:0!important;max-width:100%!important}
body.wardex .members-page .members-tools{background:var(--sx-panel)!important;top:82px!important;backdrop-filter:none!important}
body.wardex .members-page .wm-search{display:flex!important;align-items:center!important;position:relative!important;min-width:0!important;flex:1 1 240px!important;border:1px solid var(--sx-line)!important;border-radius:11px!important;background:var(--sx-bg-soft)!important;padding:0 12px!important;min-height:44px!important}
body.wardex .members-page .wm-search>svg{width:19px;height:19px;min-width:19px;fill:none;stroke:var(--sx-muted);stroke-width:1.8;flex:0 0 19px}
body.wardex .members-page .wm-search>input{display:block!important;width:100%!important;min-width:0!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:11px 10px!important;font-size:13px!important}
body.wardex .members-page .select{min-height:44px!important;padding:10px 12px!important}
body.wardex .member-panel{width:min(620px,100vw)!important;max-width:100vw!important;background:var(--sx-bg)!important;z-index:150!important}
body.wardex .member-panel .panel-top{padding:24px 24px 20px!important;background:var(--sx-panel)!important}
body.wardex .member-panel .panel-body{padding:20px 24px!important;min-height:0}
body.wardex .member-panel .wm-profile-avatar{display:grid!important;place-items:center!important;width:72px!important;height:72px!important;min-width:72px!important;max-width:72px!important;flex:0 0 72px!important;border-radius:20px!important;overflow:hidden!important;background:var(--sx-panel-3)!important;border:1px solid var(--sx-line)!important;font-size:25px!important}
body.wardex .members-page .wm-avatar{width:44px!important;height:44px!important;min-width:44px!important;flex:0 0 44px!important;display:grid!important;place-items:center!important;border-radius:13px!important;overflow:hidden!important}
.wm-avatar img,.wm-profile-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.wm-avatar-fallback{width:100%;height:100%;display:grid;place-items:center;background:var(--sx-panel-3);color:var(--sx-muted);font-weight:600}
body.wardex .member-panel .wm-status:empty{display:none!important}
body.wardex .member-panel .profile-line{gap:15px!important;align-items:center!important;min-width:0}
body.wardex .member-panel .profile-line>div:last-child{min-width:0}
body.wardex .member-panel .profile-name{font-size:22px!important;line-height:1.3!important;overflow-wrap:anywhere}
body.wardex .member-panel .profile-user{font-size:12px!important;color:var(--sx-muted)!important;overflow-wrap:anywhere}
body.wardex .member-panel .id-copy{font-size:10px!important;white-space:normal;overflow-wrap:anywhere}
body.wardex .member-panel .box{background:var(--sx-panel)!important;border:1px solid var(--sx-line)!important;border-radius:13px!important;padding:16px!important}
body.wardex .member-panel .hierarchy-note{font-size:12px!important;line-height:1.6!important;background:var(--sx-accent-soft)!important;border-color:var(--sx-line)!important;border-radius:11px!important}
body.wardex .member-panel .tab-btn{font-size:12px!important;min-height:40px!important;border-radius:9px!important}
body.wardex .member-panel .owned-role{font-size:12px!important;line-height:1.4;gap:7px;padding:7px 9px!important}
body.wardex .member-panel .available-role-name{font-size:13px!important}.wm-status.err{overflow-wrap:anywhere}
body.wardex .mc .mc-avatar{width:76px!important;height:76px!important;max-width:76px!important}

/* Permission profiles: one chosen profile, inline assignments, actual permissions. */
.wp-page .wp-mode-card{display:grid;grid-template-columns:1fr auto;gap:8px 20px;margin:24px 0 12px;padding:20px 22px;border:1px solid var(--sx-line);background:var(--sx-panel);border-radius:15px}
.wp-mode-copy{display:flex;align-items:center;gap:14px}.wp-page h2{font-size:17px!important;margin:0 0 5px!important;line-height:1.4!important}.wp-page p{font-size:12px!important;line-height:1.6!important;color:var(--sx-muted);margin:0}
.wp-mode-card small{grid-column:1/-1;font-size:11px;color:var(--sx-muted);padding-left:56px}
.wp-mode-switch{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--sx-text-2)}.wp-mode-switch input{width:20px!important;height:20px!important;cursor:pointer}
.wp-owner-note{font-size:12px;color:var(--sx-muted);margin:10px 0 18px}.wp-owner-note summary{cursor:pointer;color:var(--sx-text-2);padding:5px 0}.wp-owner-note p{max-width:750px;margin-top:8px}
.wp-profiles-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:24px 0 16px}
.wp-add-profile{position:relative;flex:0 0 auto}.wp-add-profile>summary{list-style:none;cursor:pointer;background:var(--sx-accent);color:#fff;padding:10px 15px;border-radius:9px;font-size:12px;font-weight:600}.wp-add-profile>summary::-webkit-details-marker{display:none}
.wp-presets{position:absolute;right:0;top:48px;z-index:50;width:260px;padding:8px;border:1px solid var(--sx-line-strong);border-radius:13px;background:var(--sx-panel);box-shadow:0 18px 40px #0004;display:grid;gap:4px}
.wp-presets button{border:0;border-radius:8px;padding:11px 12px;background:none;color:var(--sx-text);font:inherit;font-size:13px;text-align:left;cursor:pointer}.wp-presets button:hover{background:var(--sx-panel-3)}.wp-presets small{display:block;color:var(--sx-muted);font-size:11px;margin-top:3px}
.wp-workspace{display:grid;grid-template-columns:238px minmax(0,1fr);gap:18px;align-items:start}
.wp-profile-list{display:flex;flex-direction:column;gap:7px;min-width:0}.wp-profile-link{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:13px 11px;border:1px solid transparent;border-radius:11px;background:var(--sx-panel);color:var(--sx-text);font:inherit;text-align:left;cursor:pointer}
.wp-profile-link:hover{border-color:var(--sx-line-strong)}.wp-profile-link.is-selected{border-color:var(--sx-accent);background:var(--sx-accent-soft)}.wp-profile-link>span:nth-child(2){min-width:0;flex:1}.wp-profile-link strong{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.wp-profile-link small{display:block;font-size:10px;color:var(--sx-muted);margin-top:4px}.wp-profile-arrow{color:var(--sx-muted)}
.wp-profile{border:1px solid var(--sx-line);border-radius:15px;background:var(--sx-panel);padding:22px;min-width:0}
.wp-editor-heading{display:flex;align-items:flex-start;gap:16px;border-bottom:1px solid var(--sx-line);padding-bottom:20px;margin-bottom:20px}.wp-profile-title{min-width:0;flex:1;display:grid;gap:8px}
body.wardex .wp-profile-title input{width:100%!important;background:transparent!important;border:1px solid transparent!important;padding:5px 8px!important;border-radius:6px!important;font-size:13px!important}
body.wardex .wp-profile-title input[data-name-index]{font-family:Manrope,Inter,sans-serif!important;font-size:21px!important;font-weight:700;color:var(--sx-text)!important;line-height:1.3!important}
body.wardex .wp-profile-title input:hover{border-color:var(--sx-line)!important}.wp-delete{background:none;border:0;color:#f38e9d;font:inherit;font-size:11px;cursor:pointer;padding:8px 0;flex:0 0 auto}
body.wardex #profileName{font-family:Manrope,Inter,sans-serif!important;font-size:21px!important;font-weight:700!important;line-height:1.35!important;padding:3px 0!important;background:transparent!important;border-color:transparent!important}
body.wardex #profileName+input{padding:3px 0!important;background:transparent!important;border-color:transparent!important;color:var(--sx-muted)!important}
body.wardex #profileName:focus,body.wardex #profileName+input:focus{border-color:var(--sx-line-strong)!important}
.wp-assignment-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wp-assignment{padding:15px;background:var(--sx-bg-soft);border:1px solid var(--sx-line);border-radius:11px;min-width:0}
.wp-field-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap}.wp-page .wp-field-heading h3,.wp-page .wp-permissions h3{font-size:12px!important;line-height:1.5!important;margin:0!important;font-weight:600}
.wp-field-heading button{border:0;background:none;color:var(--sx-accent-2);font:inherit;font-size:11px;padding:0;cursor:pointer}.wp-field-heading>span{font-size:11px;color:var(--sx-muted)}
.wp-assignment-chips,.wp-page .v80-capability-chips{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.wp-page .v80-role-chip,.wp-page .v80-capability-chip{display:inline-flex!important;align-items:center;gap:6px;border:1px solid var(--sx-line)!important;background:var(--sx-panel)!important;color:var(--sx-text-2)!important;font-size:11px!important;line-height:1.5!important;padding:5px 8px!important;border-radius:6px!important;max-width:100%;overflow-wrap:anywhere}
.wp-page .v80-role-chip i{width:7px;height:7px;flex:0 0 7px;border-radius:50%}.wp-capabilities{padding:20px 0;border-bottom:1px solid var(--sx-line);margin-bottom:20px}.wp-permissions>p{margin:5px 0 15px}
.wp-page .v80-perm-groups{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
.wp-page .v80-perm-group{border:1px solid var(--sx-line)!important;border-radius:10px!important;background:var(--sx-bg-soft)!important;overflow:hidden}
.wp-page .v80-perm-group>summary{display:flex;align-items:center;justify-content:space-between;padding:13px 15px!important;cursor:pointer;list-style:none}.wp-page .v80-perm-group>summary strong{font-size:12px!important}.wp-page .v80-perm-group>summary small{font-size:10px!important;color:var(--sx-muted);display:block;margin-top:4px}
.wp-page .v80-perm-list{display:grid!important;grid-template-columns:1fr!important;padding:5px 15px 15px!important;gap:5px!important}.wp-page .v80-perm-item{display:flex!important;align-items:flex-start!important;gap:10px!important;padding:10px!important;border:0!important;background:none!important}.wp-page .v80-perm-item strong{font-size:12px!important}.wp-page .v80-perm-item small{display:block;font-size:11px!important;color:var(--sx-muted);line-height:1.5!important;margin-top:3px}
.wp-page .v80-perm-item input{flex:0 0 17px!important;width:17px!important;height:17px!important;margin-top:2px!important}.wp-page .v80-savebar{position:static!important;background:none!important;border:0!important;padding:14px 0!important;margin:0!important;box-shadow:none!important;font-size:11px!important}.wp-page .v80-savebar strong{display:none}.wp-empty{text-align:center;padding:50px 20px;background:var(--sx-panel);border:1px dashed var(--sx-line-strong);border-radius:15px}.wp-empty img{margin:auto}.wp-empty h3{font-size:16px!important;margin:15px 0 5px}
.wp-sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wd-user-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:var(--sx-accent-soft);font-size:12px;color:var(--sx-accent-2);flex:0 0 27px}

/* Legal text stays complete; the long index is optional and outside a scroll box. */
body.wardex .statix-legal-documents .v83-documents-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
.wd-legal-toc{border:1px solid var(--sx-line);border-radius:12px;background:var(--sx-panel);overflow:hidden}.wd-legal-toc>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;font-size:13px;cursor:pointer;list-style:none}.wd-legal-toc>summary::-webkit-details-marker{display:none}
body.wardex .statix-legal-documents .v83-documents-nav{position:static!important;top:auto!important;max-height:none!important;overflow:visible!important;padding:8px 14px 16px!important;border:0!important;border-radius:0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 14px;background:none!important}
.wd-legal-toc .v83-documents-nav strong{grid-column:1/-1}.wd-legal-toc .v83-documents-nav a{font-size:12px!important;padding:7px!important}.statix-legal-documents .v83-documents-content{padding:clamp(20px,4vw,45px)!important}

/* Support: a real inbox and conversation, status labels live on each ticket. */
body.wardex:has(#supportWorkspace)>.main>.content{background:none!important}
body.wardex #supportWorkspace,body.wardex .sp-dialog{--sp-bg:var(--sx-bg);--sp-surface:var(--sx-panel);--sp-inset:var(--sx-bg-soft);--sp-hover:var(--sx-panel-3);--sp-text:var(--sx-text);--sp-muted:var(--sx-muted);--sp-line:var(--sx-line);--sp-accent:var(--sx-accent);--sp-selection:var(--sx-accent-soft);--sp-reply:var(--sx-panel-2);--sp-shadow:none}
body.wardex #supportWorkspace .sp-hero{margin:0 0 20px!important;gap:15px}.sp-conversation-total{font-size:12px;color:var(--sx-muted)}.sp-conversation-total a{color:var(--sx-accent-2)}
body.wardex #supportWorkspace .sp-hero h1{font-size:30px!important;line-height:1.3!important}.sp-hero .sp-eyebrow{font-size:10px!important}body.wardex #supportWorkspace .sp-hero p{font-size:13px!important}
body.wardex #supportWorkspace .sp-toolbar{margin-bottom:14px!important}.sp-live{font-size:11px!important}
body.wardex #supportWorkspace .sp-layout{grid-template-columns:300px minmax(0,1fr)!important;border-radius:16px!important;height:clamp(540px,calc(100dvh - 230px),850px);min-height:540px!important;overflow:hidden}
body.wardex #supportWorkspace .sp-inbox{display:flex;flex-direction:column;min-height:0;overflow:hidden;border-right:1px solid var(--sx-line);padding:0!important}
body.wardex #supportWorkspace .sp-inbox-title{padding:18px 16px 12px!important}#supportWorkspace .sp-inbox-title h2{font-size:13px!important}#supportWorkspace .sp-filters{padding:0 14px 12px!important}
body.wardex #supportWorkspace .sp-ticket-list{display:flex!important;flex-direction:column!important;gap:6px!important;overflow-y:auto!important;min-height:0;padding:5px 8px 14px!important}
body.wardex #supportWorkspace .sp-ticket{display:flex!important;align-items:flex-start;gap:10px!important;flex:0 0 auto;border:1px solid transparent!important;border-radius:11px!important;background:transparent!important;padding:13px 9px!important;margin:0!important;min-width:0}
body.wardex #supportWorkspace .sp-ticket:hover{background:var(--sx-bg-soft)!important}body.wardex #supportWorkspace .sp-ticket.active{background:var(--sx-accent-soft)!important;border-color:var(--sx-line-strong)!important}
.sp-chat-avatar{display:grid;place-items:center;width:34px;height:36px;flex:0 0 34px;border-radius:10px;background:var(--sx-panel-3);color:var(--sx-accent-2)}.sp-chat-avatar svg{width:18px;height:18px}.sp-ticket-copy{min-width:0;flex:1}
body.wardex #supportWorkspace .sp-ticket h3{font-size:12px!important;line-height:1.5!important;font-weight:600!important;letter-spacing:0!important;margin:5px 0!important;overflow-wrap:anywhere}
body.wardex #supportWorkspace .sp-ticket .sp-ticket-id,body.wardex #supportWorkspace .sp-ticket time{font-size:9px!important;color:var(--sx-muted)!important}.sp-chat-preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px!important;line-height:1.5!important;color:var(--sx-muted)!important;max-width:100%}
body.wardex #supportWorkspace .sp-ticket-foot{margin-top:9px!important}.sp-badge{font-size:10px!important;padding:3px 7px!important;line-height:1.4!important;border-radius:5px!important;border:1px solid var(--sx-line)!important;background:var(--sx-panel-3)!important;color:var(--sx-text-2)!important}
#supportWorkspace .sp-badge[data-status=new]{color:#a4b8ff!important;background:#4c6fff1f!important;border-color:#4c6fff40!important}#supportWorkspace .sp-badge[data-status=in_progress]{color:#e9bc73!important;background:#dba34118!important;border-color:#dba34140!important}#supportWorkspace .sp-badge[data-status=waiting_user]{color:#c6acff!important;background:#986aff1a!important;border-color:#986aff40!important}#supportWorkspace .sp-badge[data-status=resolved]{color:#78d9b3!important;background:#35b28218!important;border-color:#35b28240!important}
body.wardex #supportWorkspace .sp-thread{display:flex!important;flex-direction:column!important;min-width:0;min-height:0;overflow:hidden;padding:0!important;height:100%}
body.wardex #supportWorkspace .sp-thread-head{padding:18px 22px 15px!important;flex:0 0 auto;border-bottom:1px solid var(--sx-line);margin:0!important}
body.wardex #supportWorkspace .sp-thread h2{font-size:18px!important;line-height:1.4!important;margin:7px 0 8px!important;letter-spacing:-.02em!important}
#supportWorkspace .sp-thread-person{font-size:11px!important;gap:8px}#supportWorkspace .sp-thread-person .sp-avatar{width:25px!important;height:25px!important;font-size:11px!important}.sp-management{margin-top:8px!important;font-size:11px}
body.wardex #supportWorkspace .sp-messages{display:flex!important;flex-direction:column!important;gap:16px!important;flex:1 1 auto!important;min-height:140px!important;overflow-y:auto!important;padding:22px!important;margin:0!important;background:var(--sx-bg-soft)!important}
body.wardex #supportWorkspace .sp-message{display:flex!important;align-items:flex-end!important;gap:9px!important;max-width:88%!important;width:fit-content!important;border:0!important;border-left:0!important;padding:0!important;margin:0!important;background:none!important;box-shadow:none!important;border-radius:0!important;flex:0 0 auto}
body.wardex #supportWorkspace .sp-message.sp-self{align-self:flex-end!important;flex-direction:row-reverse!important}body.wardex #supportWorkspace .sp-message.sp-incoming{align-self:flex-start!important}
.sp-message-avatar{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;background:var(--sx-panel-3);color:var(--sx-muted);border-radius:9px;font-size:11px}.sp-message-avatar img{width:21px;height:17px;object-fit:contain}
.sp-message-bubble{min-width:0;padding:11px 14px;background:var(--sx-panel);border:1px solid var(--sx-line);border-radius:13px 13px 13px 3px}.sp-self .sp-message-bubble{background:var(--sx-accent-soft);border-color:color-mix(in srgb,var(--sx-accent) 30%,var(--sx-line));border-radius:13px 13px 3px 13px}
body.wardex #supportWorkspace .sp-message header{display:flex!important;align-items:center;justify-content:space-between;gap:16px;margin-bottom:6px!important;flex-wrap:wrap}#supportWorkspace .sp-message .sp-author{font-size:10px!important;font-weight:600!important;color:var(--sx-accent-2)!important}#supportWorkspace .sp-message time{font-size:9px!important;color:var(--sx-muted)!important}#supportWorkspace .sp-message-text{font-size:13px!important;line-height:1.65!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;color:var(--sx-text)!important}
body.wardex #supportWorkspace .sp-delivery{font-size:10px!important;padding:8px 20px!important;margin:0!important;border-top:1px solid var(--sx-line);flex:0 0 auto}
body.wardex #supportWorkspace .sp-composer{padding:12px 18px 14px!important;margin:0!important;border:0!important;background:var(--sx-panel)!important;flex:0 0 auto}#supportWorkspace .sp-composer>label{font-size:10px!important;color:var(--sx-muted)!important;margin-bottom:5px!important}
body.wardex #supportWorkspace .sp-composer textarea{min-height:58px!important;max-height:120px!important;padding:12px!important;font-size:13px!important;line-height:1.5!important;border-radius:11px 11px 0 0!important}
#supportWorkspace .sp-compose-surface{border:1px solid var(--sx-line)!important;border-radius:11px!important;background:var(--sx-bg-soft)!important;overflow:hidden}#supportWorkspace .sp-composer-tools{padding:7px 10px!important;gap:10px!important}#supportWorkspace .sp-button{border-radius:9px!important;min-height:36px!important;padding:8px 12px!important;font-size:12px!important}.sp-composer .sp-upload-hint{display:none!important}#supportWorkspace .sp-close{padding:0 20px 10px!important;margin:0!important}#supportWorkspace .sp-close button{font-size:10px!important}#supportWorkspace .sp-private{padding:10px 20px!important;margin:0!important;border-top:1px solid var(--sx-line);font-size:11px;max-height:180px;overflow:auto;flex:0 0 auto}#supportWorkspace .sp-private summary{cursor:pointer;color:var(--sx-muted)}

@media(min-width:900px){body.wardex>.sidebar{transform:none!important}body.wardex .mobile-nav-toggle{display:none!important}}
@media(max-width:1150px){.wp-workspace{grid-template-columns:210px minmax(0,1fr)}.wp-assignment-grid{grid-template-columns:1fr}body.wardex #supportWorkspace .sp-layout{grid-template-columns:265px minmax(0,1fr)!important}}
@media(max-width:899px){body.wardex>.main{width:100%!important;margin:0!important}body.wardex>.sidebar{width:260px!important;transform:translateX(-110%)!important;z-index:10020!important}body.wardex>.sidebar.open{transform:none!important}body.wardex .mobile-nav-toggle{display:inline-flex!important}body.wardex>.main>.content{padding:22px 20px 35px!important}body.wardex>.main>.topbar{padding:0 20px!important;height:64px!important;min-height:64px!important}.wp-workspace{grid-template-columns:220px minmax(0,1fr)}.wp-assignment-grid{grid-template-columns:1fr}}
@media(max-width:700px){body.wardex>.main>.content{padding:20px 16px 32px!important}.wd-dashboard .wd-toolbar{grid-template-columns:1fr 1fr}.wd-dashboard .wd-toolbar input{grid-column:1/-1}.wd-dashboard .wd-toolbar select{max-width:100%!important;width:100%!important}.wd-dashboard .wd-page-head .wd-home-actions{width:100%}.wd-dashboard .wd-page-head form{flex:1}.wd-dashboard .wd-home-actions .btn{width:100%}body.wardex .wd-modules-workspace{grid-template-columns:minmax(0,1fr)!important}body.wardex .wd-module-group:not([hidden]){display:flex!important}.wd-module-panel-head{padding:16px!important}.wp-workspace{grid-template-columns:1fr}.wp-profile-list{display:grid;grid-template-columns:1fr 1fr;gap:6px}.wp-profile-link{padding:10px 8px;gap:7px}.wp-profile-link .wp-profile-symbol img{width:26px;height:26px}.wp-profile-link small{font-size:9px}.wp-profile{padding:16px}.wp-profiles-heading{align-items:flex-start}.wp-profiles-heading h2{font-size:15px!important}.wp-add-profile>summary{font-size:11px;white-space:nowrap;padding:9px 10px}.wp-mode-card{padding:16px!important}.wp-mode-copy{gap:10px}.wp-mode-copy p{font-size:11px!important}.wp-mode-card small{padding-left:0}.wp-mode-switch{flex-direction:column-reverse;gap:4px}.wp-mode-switch span{font-size:10px}.wp-profile-title input[data-name-index]{font-size:19px!important}.wp-page .v72-settings-tabs{display:none}.wp-page .page-description{font-size:12px!important}.wd-legal-toc .v83-documents-nav{grid-template-columns:1fr!important}.member-panel .profile-line{padding-right:25px!important}.sp-hero{align-items:flex-start!important}body.wardex #supportWorkspace .sp-hero h1{font-size:26px!important}.sp-hero p{max-width:210px}body.wardex #supportWorkspace .sp-layout{grid-template-columns:minmax(0,1fr)!important;height:auto;min-height:440px!important}body.wardex #supportWorkspace .sp-has-ticket .sp-inbox{display:none!important}body.wardex #supportWorkspace .sp-layout:not(.sp-has-ticket) .sp-welcome{display:none!important}body.wardex #supportWorkspace .sp-has-ticket .sp-thread{min-height:610px;height:calc(100dvh - 170px)}body.wardex #supportWorkspace .sp-message{max-width:96%!important}body.wardex #supportWorkspace .sp-thread-head{padding:14px 16px!important}body.wardex #supportWorkspace .sp-messages{padding:16px!important}.sp-chat-preview{max-width:100%}.sp-private-heading p{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){.wd-module-panel[aria-busy=true] .wd-frame-state:before{animation:none}}
@media(max-width:1100px){body.wardex .members-page .tools-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}body.wardex .members-page .wm-search{grid-column:1/-1}body.wardex .members-page .members-tools{top:76px!important}}

/* Full labels remain accessible; narrow lists must never split a word into fragments. */
body.wardex .wd-module-copy strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important;word-break:normal!important;max-width:100%!important}
