/* Nexo Social Studio — ink blue, warm gold, and coloured identity accents. */
html.nexo-social-studio{--studio-bg:#081421;--studio-panel:#102438;--studio-raised:#172f46;--studio-line:#2e485e;--studio-gold:#f2cf83;--studio-muted:#98aec2}
.nexo-social-studio body{background:radial-gradient(ellipse at 20% 0,#17364c77,transparent 55%),#081421!important}
.nexo-social-studio #workspace{gap:14px!important;padding:16px!important;background:transparent!important}
.nexo-social-studio .server-rail{background:#0e2234!important;border:1px solid #30495c!important;border-radius:20px!important;box-shadow:0 12px 36px #0002!important}
.nexo-social-studio .sidebar,.nexo-social-studio .chat,.nexo-social-studio .members-panel{background:#0c1e2e!important;border-color:#2b4357!important;border-radius:18px!important;box-shadow:0 14px 34px #0002!important}
.nexo-social-studio .sidebar-header{min-height:70px;padding:18px!important;background:linear-gradient(115deg,#1c3b55,#11293d)!important;border-bottom:1px solid #3a5469!important}.nexo-social-studio #server-title{font-weight:850!important;letter-spacing:-.4px;font-size:18px!important}
.nexo-social-studio .chat-header{background:#10273b!important;border-bottom:1px solid #304a5f!important;min-height:72px!important;gap:10px}.nexo-social-studio #channel-title{font-weight:850!important;letter-spacing:-.4px}.nexo-social-studio .chat-header>.hash{background:#294359!important;color:#f2cf83!important;border-radius:13px!important}
.nexo-social-studio #channel-list{padding:4px 12px 18px!important}.nexo-social-studio .channel-category{margin-top:15px!important;padding:0 0 10px!important;border-bottom:1px solid #28425666}.nexo-social-studio .category-heading{display:flex;align-items:center;gap:7px;padding:8px 7px!important;min-height:30px}.nexo-social-studio .category-title{font:750 9px/1.5 system-ui!important;letter-spacing:.12em;color:#a6bdce!important}.studio-category-count{margin-left:auto;display:grid;place-items:center;min-width:19px;height:19px;border:1px solid #38556c;border-radius:6px;font:700 9px system-ui;color:#c4d5e4}.nexo-social-studio .category-heading>button{color:#94aec3!important;margin-left:0!important}
.nexo-social-studio .channel-entry{display:flex;align-items:center;position:relative;border-radius:11px;min-height:39px;margin:3px 0}.nexo-social-studio .channel-entry>.channel-button{display:flex!important;align-items:center;gap:10px!important;min-height:39px!important;padding:10px 12px!important;margin:0!important;border-radius:11px!important;font-size:12px!important;font-weight:650!important;line-height:1.4;color:#b1c3d4!important;background:transparent!important;box-shadow:none!important}.nexo-social-studio .channel-entry:has(.active),.nexo-social-studio .channel-entry:has(.selected){background:linear-gradient(100deg,#254963,#19384f)!important;box-shadow:inset 3px 0 #f2cf83}.nexo-social-studio .channel-entry>.channel-button:is(.active,.selected){color:#ffe1a1!important;background:transparent!important}.nexo-social-studio .channel-entry:hover{background:#18344b}.nexo-social-studio .channel-button svg{width:18px;height:18px;flex:0 0 18px}.nexo-social-studio .channel-capacity{margin-left:auto;border-radius:6px;background:#244354;padding:2px 6px;font-size:9px;color:#a5d9cd}.nexo-social-studio .channel-entry>.channel-settings{width:28px;min-width:28px;height:30px;padding:5px!important;background:transparent!important;opacity:.55}.nexo-social-studio .channel-entry:hover>.channel-settings{opacity:1}
.studio-channel-navigator{padding:16px 18px 10px}.studio-channel-caption{display:flex;justify-content:space-between;align-items:center;margin:0 0 11px;font:700 8px/1.5 system-ui;letter-spacing:.14em;color:#8fa9bd}.studio-channel-caption b{color:#e0c48b;font-size:10px}.studio-channel-search{display:flex!important;align-items:center;gap:8px;padding:0 10px;background:#071825;border:1px solid #30495e;border-radius:10px;margin:0!important;min-height:38px}.studio-channel-search>svg{width:15px;height:15px;flex:0 0 15px;stroke:#92afc2;fill:none}.studio-channel-search input{border:0!important;background:transparent!important;box-shadow:none!important;padding:9px 0!important;margin:0!important;font-size:11px!important;min-width:0;width:100%;color:#d8e5ed!important}.studio-channel-search:focus-within{border-color:#dfbc75;box-shadow:0 0 0 2px #dfbc7517}.studio-channel-empty{font-size:12px;line-height:1.6;color:#9db3c6;padding:12px}.studio-channel-empty[hidden],.nexo-social-studio .channel-entry[hidden],.nexo-social-studio .channel-category[hidden]{display:none!important}#workspace.staff-tools-active #channel-navigator{display:none!important}
.nexo-social-studio .members-card{background:#0e2234!important}.nexo-social-studio .member-row{border:1px solid #304b60!important;border-radius:12px!important;background:#142d43!important;padding:11px!important;margin-bottom:7px!important}.nexo-social-studio .member-role-heading{font-size:9px!important;letter-spacing:.07em;color:#91adc0!important;padding-top:15px!important}
.nexo-social-studio .message-content{border-radius:4px 17px 17px 17px!important;border-color:#35516a!important;background:#142e44!important;box-shadow:0 3px 8px #0001}.nexo-social-studio .message.mine .message-content{border-radius:17px 4px 17px 17px!important;background:#203c55!important}.nexo-social-studio #message-form{border-top:1px solid #2c455b;background:#0d2335!important}.nexo-social-studio .profile{background:#18334a!important;border:1px solid #365168!important;border-radius:14px!important}
/* Badge colours carry identity without changing what the badge grants. */
.nexo-social-studio .badge[data-badge-kind]{display:inline-flex;align-items:center;justify-content:center;color:var(--badge-ink)!important;background:var(--badge-wash)!important;border:1px solid color-mix(in srgb,var(--badge-ink) 40%,transparent)!important;box-shadow:inset 0 1px 0 #ffffff18;border-radius:8px;vertical-align:middle}.nexo-social-studio .badge[data-badge-kind]>svg{stroke:var(--badge-ink)!important;color:var(--badge-ink)!important;fill:none!important;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block}.nexo-social-studio .badge[data-badge-kind]>svg path:first-child{fill:color-mix(in srgb,var(--badge-ink) 19%,transparent)}.nexo-social-studio .badge[data-badge-kind=owner]{background:linear-gradient(140deg,#5c441e,#2b251b)!important}.nexo-social-studio .badge[data-badge-kind=subscriber]{background:linear-gradient(140deg,#4b3169,#251e40)!important}
/* The staff workspace is an operations studio, with stronger hierarchy than community chat. */
.nexo-social-studio #workspace.staff-tools-active .staff-system-page{background:#0b1d2d!important}.nexo-social-studio .staff-system-page .staff-system-body{padding:24px!important;gap:18px;max-width:1500px}.nexo-social-studio .staff-system-page .staff-system-header{background:#10273a!important;min-height:66px;padding:12px 24px!important;border-bottom:1px solid #355168}.nexo-social-studio .staff-system-page .staff-system-header button{font-size:11px!important;min-height:36px;padding:9px 13px!important;border-radius:9px!important}
.nexo-social-studio .staff-system-page .staff-overview-hero{position:relative;overflow:hidden;padding:30px 32px!important;border:1px solid #47647b!important;border-left:4px solid #edc977!important;border-radius:16px!important;background:linear-gradient(110deg,#1e405b 0%,#14324b 65%,#233b4b 100%)!important}.nexo-social-studio .staff-overview-hero::after{content:'';position:absolute;right:-65px;top:-120px;width:360px;height:360px;border:1px solid #e9c87924;border-radius:50%;box-shadow:0 0 0 36px #e9c87905,0 0 0 72px #e9c87905;pointer-events:none}.nexo-social-studio .staff-overview-hero .staff-kicker{font:750 8px/1.5 system-ui!important;letter-spacing:.2em;color:#f4d69b!important}.nexo-social-studio .staff-system-page .staff-overview-hero h2{font-size:32px!important;font-weight:850!important;letter-spacing:-1px;margin:13px 0 9px!important;line-height:1.2}.nexo-social-studio .staff-overview-hero p{font-size:13px!important;max-width:640px;line-height:1.7}.staff-studio-context{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px;font-size:10px;color:#b1c7d6}.staff-studio-role{display:inline-flex;align-items:center;gap:7px;border:1px solid #647264;border-radius:6px;background:#294744;padding:6px 8px;font:750 8px system-ui;letter-spacing:.1em;color:#cce7d8}.staff-studio-role::before{content:'';width:5px;height:5px;border-radius:50%;background:#8ad5b4}
.nexo-social-studio .staff-system-page .staff-metric{position:relative;padding:18px!important;min-height:120px!important;background:#142e44!important;border:1px solid #36516a!important;border-radius:13px!important}.nexo-social-studio .staff-system-page .staff-metric strong{font-size:28px!important;line-height:1.2;color:#ecf3f9!important}.nexo-social-studio .staff-system-page .staff-metric small{font-size:10px;color:#afc6d7}.nexo-social-studio .staff-system-page .staff-metric>span:not(.staff-cube){font-size:10px!important}.nexo-social-studio .staff-metric>.staff-cube{position:absolute;right:16px;top:16px}
.nexo-social-studio .staff-system-page .staff-approval-summary{position:relative;background:linear-gradient(105deg,#243c48,#162e42)!important;border:1px solid #64715d!important;border-left:4px solid #e9c778!important;border-radius:13px!important;padding:20px!important}.nexo-social-studio .staff-approval-summary h2{font-size:16px!important;margin:0!important}.nexo-social-studio .staff-approval-summary p{font-size:12px!important;color:#c0d1dc!important}.nexo-social-studio .staff-approval-summary .primary{background:#f1ce82!important;color:#142b3c!important;border-radius:9px!important;font-size:11px!important}
.nexo-social-studio .staff-system-page .staff-workspace-group{padding:18px!important;border-radius:14px!important;border-color:#36516a!important;background:#10283d!important}.nexo-social-studio .staff-system-page .staff-workspace-group h3{color:#9bb8cd!important;font-size:9px!important;letter-spacing:.13em}.nexo-social-studio .staff-system-page .staff-workspace-link{padding:13px 9px!important;min-height:73px!important;border-radius:9px!important;border-bottom:0!important;margin-top:3px;background:#16324980!important}.nexo-social-studio .staff-workspace-link:hover{background:#25445c!important}.nexo-social-studio .staff-link-copy small{font-size:10px!important;line-height:1.5}.nexo-social-studio .staff-system-page .staff-cube{border-color:#466078!important;background:#203e58!important;color:#9ac9f4!important}.nexo-social-studio .staff-cube[data-staff-icon=approvals],.nexo-social-studio .staff-cube[data-staff-icon=owner]{color:#f3d387!important;background:#493e2a!important;border-color:#756143!important}.nexo-social-studio .staff-cube[data-staff-icon=hr],.nexo-social-studio .staff-cube[data-staff-icon=duty]{color:#8fe0c2!important;background:#203f3d!important;border-color:#426459!important}.nexo-social-studio .staff-cube[data-staff-icon=payroll],.nexo-social-studio .staff-cube[data-staff-icon=finance]{color:#aca9ff!important;background:#303557!important;border-color:#555c81!important}.nexo-social-studio .staff-cube[data-staff-icon=marketing],.nexo-social-studio .staff-cube[data-staff-icon=news]{color:#f0b5cd!important;background:#493448!important;border-color:#725468!important}
.nexo-social-studio #workspace.staff-tools-active .staff-system-nav{padding:8px 10px!important;min-height:42px!important;font-weight:650;gap:11px!important}.nexo-social-studio #workspace.staff-tools-active .staff-system-nav.selected{background:#28465e!important;box-shadow:inset 3px 0 #efcf83!important;border-radius:10px!important}.nexo-social-studio #workspace.staff-tools-active .staff-nav-heading{font-size:8px!important;color:#8daabd!important;margin-top:22px!important;letter-spacing:.13em}.nexo-social-studio .staff-channels-switch{display:flex!important;align-items:center;justify-content:center;min-height:40px!important;border-radius:10px!important;background:#1b3b51!important;border:1px solid #59716a!important;color:#f1d190!important;font-size:11px!important}.nexo-social-studio .staff-owner-centre{border-color:#455a66!important}.nexo-social-studio .staff-owner-centre>h2{font-size:19px!important}.nexo-social-studio .staff-owner-centre .owner-control-group{border-radius:12px!important;background:#0b2032!important}.nexo-social-studio .staff-owner-centre .management-tool-button{background:#19374e!important;border-radius:9px!important;min-height:45px!important}.nexo-social-studio .staff-owner-centre .management-category-heading{font-size:10px!important;letter-spacing:.03em;color:#e0c38a!important}
/* A softer social feed and identity treatment carry the design outside staff tools. */
.nexo-social-studio .social-home-heading{background:radial-gradient(ellipse at 100% 20%,#365c6322,transparent 60%)!important}.nexo-social-studio .social-home-heading h1{letter-spacing:-1.5px!important;font-size:clamp(34px,4vw,54px)!important}.nexo-social-studio .news-feed-card,.nexo-social-studio .social-empty,.nexo-social-studio .feed-composer{border:1px solid #37536b!important;background:#122c42!important;border-radius:18px!important;box-shadow:0 8px 22px #0001!important}.nexo-social-studio .news-feed-card h2{font-size:22px!important;letter-spacing:-.5px}.nexo-social-studio .social-announcement-strip>section{border-radius:16px!important;background:linear-gradient(115deg,#1e3d54,#122a3e)!important;border:1px solid #435b69!important}.nexo-social-studio :is(.account-dialog,.extras-dialog,.settings-dialog){background:#10273b!important;border:1px solid #405a70!important;border-radius:18px!important}.nexo-social-studio button:focus-visible,.nexo-social-studio input:focus-visible{outline:2px solid #f2cf83!important;outline-offset:3px}
@media(max-width:1100px){.nexo-social-studio .staff-system-page .staff-workspace-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.nexo-social-studio .staff-system-page .staff-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.nexo-social-studio #workspace{padding:0!important;gap:0!important}.nexo-social-studio .server-rail{border-radius:0!important;box-shadow:none!important;border-inline:0!important}.nexo-social-studio .sidebar,.nexo-social-studio .chat{border-radius:0!important;box-shadow:none!important}.nexo-social-studio .chat-header{min-height:52px!important;padding:8px 12px!important;gap:8px}.nexo-social-studio .staff-system-page .staff-system-body{padding:14px!important;gap:14px!important}.nexo-social-studio .staff-system-page .staff-overview-hero{padding:22px!important}.nexo-social-studio .staff-system-page .staff-overview-hero h2{font-size:28px!important}.nexo-social-studio .staff-overview-hero p{font-size:12px!important}.staff-studio-context{margin-top:17px;gap:9px;font-size:9px}.nexo-social-studio .staff-system-page .staff-workspace-groups{grid-template-columns:minmax(0,1fr)}.nexo-social-studio .staff-system-page .staff-metric{padding:14px!important;min-height:116px!important}.nexo-social-studio .staff-system-page .staff-metric strong{font-size:24px!important}.nexo-social-studio .staff-metric>.staff-cube{right:12px;top:12px;width:29px!important;height:29px!important}.nexo-social-studio .staff-metric>.staff-cube svg{width:16px!important;height:16px!important}.nexo-social-studio .staff-system-page .staff-system-header{padding:10px 14px!important;gap:8px;min-height:64px}.nexo-social-studio .staff-system-header button{flex:1;justify-content:center;min-height:38px!important}.studio-channel-navigator{padding:14px 16px 8px}.studio-channel-search{min-height:42px}.studio-channel-search input{font-size:16px!important}.nexo-social-studio .channel-entry>.channel-button{min-height:44px!important;padding:11px 12px!important}.nexo-social-studio .news-feed-card{border-radius:15px!important}.nexo-social-studio .member-row{padding:10px!important}.nexo-social-studio .badge[data-badge-kind]{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.nexo-social-studio *{scroll-behavior:auto!important}}

.nexo-social-studio :is(.admin-section,.settings-card,.workforce-card){background:#142c40!important;border:1px solid #37536b!important;border-radius:14px!important}.nexo-social-studio .admin-dialog :is(input,select,textarea){background:#0a1d2e!important;border-color:#37536b!important;color:#e2edf5!important}
